@flux-ui/components 3.0.0-next.64 → 3.0.0-next.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component/FluxDataTable.vue.d.ts +9 -3
- package/dist/component/FluxTableRow.vue.d.ts +4 -1
- package/dist/index.css +47 -12
- package/dist/index.js +403 -311
- package/dist/index.js.map +1 -1
- package/package.json +7 -3
- package/src/component/FluxCheckbox.vue +2 -2
- package/src/component/FluxDataTable.vue +151 -5
- package/src/component/FluxTable.vue +1 -1
- package/src/component/FluxTableRow.vue +6 -1
- package/src/css/component/Form.module.scss +8 -5
- package/src/css/component/LayerPane.module.scss +4 -0
- package/src/css/component/Overlay.module.scss +1 -1
- package/src/css/component/Tab.module.scss +3 -3
- package/src/css/component/Table.module.scss +33 -3
package/dist/index.js
CHANGED
|
@@ -2557,6 +2557,48 @@ var freeSelf = typeof self == "object" && self && self.Object === Object && self
|
|
|
2557
2557
|
/** Built-in value references. */
|
|
2558
2558
|
var Symbol$1 = (freeGlobal || freeSelf || Function("return this")()).Symbol;
|
|
2559
2559
|
//#endregion
|
|
2560
|
+
//#region ../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
2561
|
+
/**
|
|
2562
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
2563
|
+
* shorthands.
|
|
2564
|
+
*
|
|
2565
|
+
* @private
|
|
2566
|
+
* @param {Array} [array] The array to iterate over.
|
|
2567
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
2568
|
+
* @returns {Array} Returns the new mapped array.
|
|
2569
|
+
*/
|
|
2570
|
+
function arrayMap(array, iteratee) {
|
|
2571
|
+
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
2572
|
+
while (++index < length) result[index] = iteratee(array[index], index, array);
|
|
2573
|
+
return result;
|
|
2574
|
+
}
|
|
2575
|
+
//#endregion
|
|
2576
|
+
//#region ../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
2577
|
+
/**
|
|
2578
|
+
* Checks if `value` is classified as an `Array` object.
|
|
2579
|
+
*
|
|
2580
|
+
* @static
|
|
2581
|
+
* @memberOf _
|
|
2582
|
+
* @since 0.1.0
|
|
2583
|
+
* @category Lang
|
|
2584
|
+
* @param {*} value The value to check.
|
|
2585
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
2586
|
+
* @example
|
|
2587
|
+
*
|
|
2588
|
+
* _.isArray([1, 2, 3]);
|
|
2589
|
+
* // => true
|
|
2590
|
+
*
|
|
2591
|
+
* _.isArray(document.body.children);
|
|
2592
|
+
* // => false
|
|
2593
|
+
*
|
|
2594
|
+
* _.isArray('abc');
|
|
2595
|
+
* // => false
|
|
2596
|
+
*
|
|
2597
|
+
* _.isArray(_.noop);
|
|
2598
|
+
* // => false
|
|
2599
|
+
*/
|
|
2600
|
+
var isArray = Array.isArray;
|
|
2601
|
+
//#endregion
|
|
2560
2602
|
//#region ../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
|
|
2561
2603
|
/** Used for built-in method references. */
|
|
2562
2604
|
var objectProto = Object.prototype;
|
|
@@ -2677,48 +2719,6 @@ function isSymbol(value) {
|
|
|
2677
2719
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
2678
2720
|
}
|
|
2679
2721
|
//#endregion
|
|
2680
|
-
//#region ../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
2681
|
-
/**
|
|
2682
|
-
* A specialized version of `_.map` for arrays without support for iteratee
|
|
2683
|
-
* shorthands.
|
|
2684
|
-
*
|
|
2685
|
-
* @private
|
|
2686
|
-
* @param {Array} [array] The array to iterate over.
|
|
2687
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
2688
|
-
* @returns {Array} Returns the new mapped array.
|
|
2689
|
-
*/
|
|
2690
|
-
function arrayMap(array, iteratee) {
|
|
2691
|
-
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
2692
|
-
while (++index < length) result[index] = iteratee(array[index], index, array);
|
|
2693
|
-
return result;
|
|
2694
|
-
}
|
|
2695
|
-
//#endregion
|
|
2696
|
-
//#region ../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
2697
|
-
/**
|
|
2698
|
-
* Checks if `value` is classified as an `Array` object.
|
|
2699
|
-
*
|
|
2700
|
-
* @static
|
|
2701
|
-
* @memberOf _
|
|
2702
|
-
* @since 0.1.0
|
|
2703
|
-
* @category Lang
|
|
2704
|
-
* @param {*} value The value to check.
|
|
2705
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
2706
|
-
* @example
|
|
2707
|
-
*
|
|
2708
|
-
* _.isArray([1, 2, 3]);
|
|
2709
|
-
* // => true
|
|
2710
|
-
*
|
|
2711
|
-
* _.isArray(document.body.children);
|
|
2712
|
-
* // => false
|
|
2713
|
-
*
|
|
2714
|
-
* _.isArray('abc');
|
|
2715
|
-
* // => false
|
|
2716
|
-
*
|
|
2717
|
-
* _.isArray(_.noop);
|
|
2718
|
-
* // => false
|
|
2719
|
-
*/
|
|
2720
|
-
var isArray = Array.isArray;
|
|
2721
|
-
//#endregion
|
|
2722
2722
|
//#region ../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
|
|
2723
2723
|
/** Used as references for various `Number` constants. */
|
|
2724
2724
|
var INFINITY = Infinity;
|
|
@@ -9068,32 +9068,32 @@ function useTreeView(params) {
|
|
|
9068
9068
|
}
|
|
9069
9069
|
//#endregion
|
|
9070
9070
|
//#region src/css/component/Button.module.scss
|
|
9071
|
-
var { "
|
|
9071
|
+
var { "button": _0$14, "buttonIcon": _1$5, "buttonLabel": _2$4 } = Button_module_default$1;
|
|
9072
9072
|
var Button_module_default = {
|
|
9073
|
-
primaryButton: `primary-button ${
|
|
9073
|
+
primaryButton: `primary-button ${_0$14}`,
|
|
9074
9074
|
spinner: `spinner`,
|
|
9075
|
-
primaryButtonIcon: `primary-button-icon ${
|
|
9076
|
-
primaryButtonLabel: `primary-button-label ${
|
|
9077
|
-
secondaryButton: `secondary-button ${
|
|
9078
|
-
secondaryButtonIcon: `secondary-button-icon ${
|
|
9079
|
-
secondaryButtonLabel: `secondary-button-label ${
|
|
9080
|
-
destructiveButton: `destructive-button ${
|
|
9081
|
-
destructiveButtonIcon: `destructive-button-icon ${
|
|
9082
|
-
destructiveButtonLabel: `destructive-button-label ${
|
|
9083
|
-
baseLinkButton: `base-link-button ${
|
|
9084
|
-
primaryLinkButton: `primary-link-button base-link-button ${
|
|
9085
|
-
primaryLinkButtonIcon: `primary-link-button-icon ${
|
|
9086
|
-
primaryLinkButtonLabel: `primary-link-button-label ${
|
|
9087
|
-
secondaryLinkButton: `secondary-link-button base-link-button ${
|
|
9088
|
-
secondaryLinkButtonIcon: `secondary-link-button-icon ${
|
|
9089
|
-
secondaryLinkButtonLabel: `secondary-link-button-label ${
|
|
9090
|
-
linkButton: `link-button ${
|
|
9091
|
-
linkButtonIcon: `link-button-icon ${
|
|
9075
|
+
primaryButtonIcon: `primary-button-icon ${_1$5}`,
|
|
9076
|
+
primaryButtonLabel: `primary-button-label ${_2$4}`,
|
|
9077
|
+
secondaryButton: `secondary-button ${_0$14}`,
|
|
9078
|
+
secondaryButtonIcon: `secondary-button-icon ${_1$5}`,
|
|
9079
|
+
secondaryButtonLabel: `secondary-button-label ${_2$4}`,
|
|
9080
|
+
destructiveButton: `destructive-button ${_0$14}`,
|
|
9081
|
+
destructiveButtonIcon: `destructive-button-icon ${_1$5}`,
|
|
9082
|
+
destructiveButtonLabel: `destructive-button-label ${_2$4}`,
|
|
9083
|
+
baseLinkButton: `base-link-button ${_0$14}`,
|
|
9084
|
+
primaryLinkButton: `primary-link-button base-link-button ${_0$14}`,
|
|
9085
|
+
primaryLinkButtonIcon: `primary-link-button-icon ${_1$5}`,
|
|
9086
|
+
primaryLinkButtonLabel: `primary-link-button-label ${_2$4}`,
|
|
9087
|
+
secondaryLinkButton: `secondary-link-button base-link-button ${_0$14}`,
|
|
9088
|
+
secondaryLinkButtonIcon: `secondary-link-button-icon ${_1$5}`,
|
|
9089
|
+
secondaryLinkButtonLabel: `secondary-link-button-label ${_2$4}`,
|
|
9090
|
+
linkButton: `link-button ${_0$14}`,
|
|
9091
|
+
linkButtonIcon: `link-button-icon ${_1$5}`,
|
|
9092
9092
|
icon: `icon`,
|
|
9093
|
-
linkButtonLabel: `link-button-label ${
|
|
9094
|
-
publishButton: `publish-button primary-button ${
|
|
9095
|
-
publishButtonIcon: `publish-button-icon primary-button-icon ${
|
|
9096
|
-
publishButtonLabel: `publish-button-label primary-button-label ${
|
|
9093
|
+
linkButtonLabel: `link-button-label ${_2$4}`,
|
|
9094
|
+
publishButton: `publish-button primary-button ${_0$14}`,
|
|
9095
|
+
publishButtonIcon: `publish-button-icon primary-button-icon ${_1$5}`,
|
|
9096
|
+
publishButtonLabel: `publish-button-label primary-button-label ${_2$4}`,
|
|
9097
9097
|
publishButtonAnimation: `publish-button-animation`,
|
|
9098
9098
|
isDone: `is-done`,
|
|
9099
9099
|
publishButtonAnimationArrow: `publish-button-animation-arrow`,
|
|
@@ -11536,6 +11536,8 @@ var LayerPane_module_default = {
|
|
|
11536
11536
|
layerPane: `layer-pane`,
|
|
11537
11537
|
basePaneStructure: `base-pane-structure`,
|
|
11538
11538
|
paneFooter: `pane-footer`,
|
|
11539
|
+
paneHeader: `pane-header`,
|
|
11540
|
+
button: `button`,
|
|
11539
11541
|
layerPaneSecondary: `layer-pane-secondary`
|
|
11540
11542
|
};
|
|
11541
11543
|
//#endregion
|
|
@@ -12231,11 +12233,11 @@ var FluxCheckbox_default = /* @__PURE__ */ defineComponent({
|
|
|
12231
12233
|
}, [isIndeterminate.value ? (openBlock(), createBlock(FluxIcon_default, {
|
|
12232
12234
|
key: 0,
|
|
12233
12235
|
name: "minus",
|
|
12234
|
-
size:
|
|
12236
|
+
size: 12
|
|
12235
12237
|
})) : (openBlock(), createBlock(FluxIcon_default, {
|
|
12236
12238
|
key: 1,
|
|
12237
12239
|
name: "check",
|
|
12238
|
-
size:
|
|
12240
|
+
size: 12
|
|
12239
12241
|
}))], 2),
|
|
12240
12242
|
__props.label ? (openBlock(), createElementBlock("span", {
|
|
12241
12243
|
key: 0,
|
|
@@ -13615,7 +13617,7 @@ var FilterBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
13615
13617
|
});
|
|
13616
13618
|
//#endregion
|
|
13617
13619
|
//#region src/css/component/Menu.module.scss
|
|
13618
|
-
var { "
|
|
13620
|
+
var { "button": _0$9, "buttonLabel": _1$3, "buttonIcon": _2$2 } = Button_module_default$1;
|
|
13619
13621
|
var Menu_module_default = {
|
|
13620
13622
|
menu: `menu`,
|
|
13621
13623
|
menuNormal: `menu-normal menu`,
|
|
@@ -13623,10 +13625,10 @@ var Menu_module_default = {
|
|
|
13623
13625
|
menuGroup: `menu-group`,
|
|
13624
13626
|
menuGroupHorizontal: `menu-group-horizontal menu-group`,
|
|
13625
13627
|
menuGroupVertical: `menu-group-vertical menu-group`,
|
|
13626
|
-
menuItem: `menu-item ${
|
|
13628
|
+
menuItem: `menu-item ${_0$9}`,
|
|
13627
13629
|
badge: `badge`,
|
|
13628
13630
|
menuItemIcon: `menu-item-icon ${_2$2}`,
|
|
13629
|
-
menuItemLabel: `menu-item-label ${
|
|
13631
|
+
menuItemLabel: `menu-item-label ${_1$3}`,
|
|
13630
13632
|
menuItemActive: `menu-item-active`,
|
|
13631
13633
|
menuItemDestructive: `menu-item-destructive`,
|
|
13632
13634
|
menuItemHighlighted: `menu-item-highlighted`,
|
|
@@ -13652,6 +13654,20 @@ var Menu_module_default = {
|
|
|
13652
13654
|
expandableBody: `expandable-body`
|
|
13653
13655
|
};
|
|
13654
13656
|
//#endregion
|
|
13657
|
+
//#region src/component/FluxMenuGroup.vue
|
|
13658
|
+
var FluxMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
13659
|
+
__name: "FluxMenuGroup",
|
|
13660
|
+
props: { isHorizontal: { type: Boolean } },
|
|
13661
|
+
setup(__props) {
|
|
13662
|
+
return (_ctx, _cache) => {
|
|
13663
|
+
return openBlock(), createElementBlock("div", {
|
|
13664
|
+
class: normalizeClass(__props.isHorizontal ? unref(Menu_module_default).menuGroupHorizontal : unref(Menu_module_default).menuGroupVertical),
|
|
13665
|
+
role: "group"
|
|
13666
|
+
}, [renderSlot(_ctx.$slots, "default")], 2);
|
|
13667
|
+
};
|
|
13668
|
+
}
|
|
13669
|
+
});
|
|
13670
|
+
//#endregion
|
|
13655
13671
|
//#region src/component/FluxMenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
13656
13672
|
var _hoisted_1$41 = ["src", "alt"];
|
|
13657
13673
|
//#endregion
|
|
@@ -13764,76 +13780,6 @@ var FluxMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
|
13764
13780
|
}
|
|
13765
13781
|
});
|
|
13766
13782
|
//#endregion
|
|
13767
|
-
//#region src/component/primitive/FilterItem.vue
|
|
13768
|
-
var FilterItem_default = /* @__PURE__ */ defineComponent({
|
|
13769
|
-
__name: "FilterItem",
|
|
13770
|
-
props: {
|
|
13771
|
-
item: {},
|
|
13772
|
-
value: { type: [
|
|
13773
|
-
Object,
|
|
13774
|
-
String,
|
|
13775
|
-
Boolean,
|
|
13776
|
-
Number,
|
|
13777
|
-
null,
|
|
13778
|
-
Array
|
|
13779
|
-
] },
|
|
13780
|
-
disabled: { type: Boolean }
|
|
13781
|
-
},
|
|
13782
|
-
emits: ["click"],
|
|
13783
|
-
setup(__props, { emit: __emit }) {
|
|
13784
|
-
const emit = __emit;
|
|
13785
|
-
const { isLoading, loaded } = Z$1();
|
|
13786
|
-
const getValueLabel = computed(() => loaded(__props.item.getValueLabel));
|
|
13787
|
-
const valueLabel = ref();
|
|
13788
|
-
function onClick(evt) {
|
|
13789
|
-
emit("click", evt);
|
|
13790
|
-
}
|
|
13791
|
-
watch([() => __props.item, () => __props.value], async ([, nextValue], _prev, onCleanup) => {
|
|
13792
|
-
let cancelled = false;
|
|
13793
|
-
onCleanup(() => {
|
|
13794
|
-
cancelled = true;
|
|
13795
|
-
});
|
|
13796
|
-
const nextLabel = await unref(getValueLabel)(nextValue);
|
|
13797
|
-
if (!cancelled) valueLabel.value = nextLabel ?? void 0;
|
|
13798
|
-
}, {
|
|
13799
|
-
deep: true,
|
|
13800
|
-
immediate: true
|
|
13801
|
-
});
|
|
13802
|
-
return (_ctx, _cache) => {
|
|
13803
|
-
return openBlock(), createBlock(FluxMenuItem_default, {
|
|
13804
|
-
command: valueLabel.value,
|
|
13805
|
-
"command-icon": "angle-right",
|
|
13806
|
-
"command-loading": unref(isLoading),
|
|
13807
|
-
disabled: __props.disabled,
|
|
13808
|
-
"icon-leading": __props.item.icon,
|
|
13809
|
-
label: __props.item.label,
|
|
13810
|
-
type: "button",
|
|
13811
|
-
onClick
|
|
13812
|
-
}, null, 8, [
|
|
13813
|
-
"command",
|
|
13814
|
-
"command-loading",
|
|
13815
|
-
"disabled",
|
|
13816
|
-
"icon-leading",
|
|
13817
|
-
"label"
|
|
13818
|
-
]);
|
|
13819
|
-
};
|
|
13820
|
-
}
|
|
13821
|
-
});
|
|
13822
|
-
//#endregion
|
|
13823
|
-
//#region src/component/FluxMenuGroup.vue
|
|
13824
|
-
var FluxMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
13825
|
-
__name: "FluxMenuGroup",
|
|
13826
|
-
props: { isHorizontal: { type: Boolean } },
|
|
13827
|
-
setup(__props) {
|
|
13828
|
-
return (_ctx, _cache) => {
|
|
13829
|
-
return openBlock(), createElementBlock("div", {
|
|
13830
|
-
class: normalizeClass(__props.isHorizontal ? unref(Menu_module_default).menuGroupHorizontal : unref(Menu_module_default).menuGroupVertical),
|
|
13831
|
-
role: "group"
|
|
13832
|
-
}, [renderSlot(_ctx.$slots, "default")], 2);
|
|
13833
|
-
};
|
|
13834
|
-
}
|
|
13835
|
-
});
|
|
13836
|
-
//#endregion
|
|
13837
13783
|
//#region src/component/FluxMenuSubHeader.vue
|
|
13838
13784
|
var FluxMenuSubHeader_default = /* @__PURE__ */ defineComponent({
|
|
13839
13785
|
__name: "FluxMenuSubHeader",
|
|
@@ -14476,6 +14422,62 @@ var FluxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
14476
14422
|
}
|
|
14477
14423
|
});
|
|
14478
14424
|
//#endregion
|
|
14425
|
+
//#region src/component/primitive/FilterItem.vue
|
|
14426
|
+
var FilterItem_default = /* @__PURE__ */ defineComponent({
|
|
14427
|
+
__name: "FilterItem",
|
|
14428
|
+
props: {
|
|
14429
|
+
item: {},
|
|
14430
|
+
value: { type: [
|
|
14431
|
+
Object,
|
|
14432
|
+
String,
|
|
14433
|
+
Boolean,
|
|
14434
|
+
Number,
|
|
14435
|
+
null,
|
|
14436
|
+
Array
|
|
14437
|
+
] },
|
|
14438
|
+
disabled: { type: Boolean }
|
|
14439
|
+
},
|
|
14440
|
+
emits: ["click"],
|
|
14441
|
+
setup(__props, { emit: __emit }) {
|
|
14442
|
+
const emit = __emit;
|
|
14443
|
+
const { isLoading, loaded } = Z$1();
|
|
14444
|
+
const getValueLabel = computed(() => loaded(__props.item.getValueLabel));
|
|
14445
|
+
const valueLabel = ref();
|
|
14446
|
+
function onClick(evt) {
|
|
14447
|
+
emit("click", evt);
|
|
14448
|
+
}
|
|
14449
|
+
watch([() => __props.item, () => __props.value], async ([, nextValue], _prev, onCleanup) => {
|
|
14450
|
+
let cancelled = false;
|
|
14451
|
+
onCleanup(() => {
|
|
14452
|
+
cancelled = true;
|
|
14453
|
+
});
|
|
14454
|
+
const nextLabel = await unref(getValueLabel)(nextValue);
|
|
14455
|
+
if (!cancelled) valueLabel.value = nextLabel ?? void 0;
|
|
14456
|
+
}, {
|
|
14457
|
+
deep: true,
|
|
14458
|
+
immediate: true
|
|
14459
|
+
});
|
|
14460
|
+
return (_ctx, _cache) => {
|
|
14461
|
+
return openBlock(), createBlock(FluxMenuItem_default, {
|
|
14462
|
+
command: valueLabel.value,
|
|
14463
|
+
"command-icon": "angle-right",
|
|
14464
|
+
"command-loading": unref(isLoading),
|
|
14465
|
+
disabled: __props.disabled,
|
|
14466
|
+
"icon-leading": __props.item.icon,
|
|
14467
|
+
label: __props.item.label,
|
|
14468
|
+
type: "button",
|
|
14469
|
+
onClick
|
|
14470
|
+
}, null, 8, [
|
|
14471
|
+
"command",
|
|
14472
|
+
"command-loading",
|
|
14473
|
+
"disabled",
|
|
14474
|
+
"icon-leading",
|
|
14475
|
+
"label"
|
|
14476
|
+
]);
|
|
14477
|
+
};
|
|
14478
|
+
}
|
|
14479
|
+
});
|
|
14480
|
+
//#endregion
|
|
14479
14481
|
//#region src/component/primitive/FilterMenuRenderer.ts
|
|
14480
14482
|
var FilterMenuRenderer = defineComponent({
|
|
14481
14483
|
props: {
|
|
@@ -15494,14 +15496,15 @@ var FluxPaginationBar_default = /* @__PURE__ */ defineComponent({
|
|
|
15494
15496
|
});
|
|
15495
15497
|
//#endregion
|
|
15496
15498
|
//#region src/css/component/Table.module.scss
|
|
15497
|
-
var { "
|
|
15499
|
+
var { "basePaneElement": _0$7, "basePaneLoader": _1$1 } = Pane_module_default$1;
|
|
15498
15500
|
var Table_module_default = {
|
|
15499
|
-
table: `table ${
|
|
15501
|
+
table: `table ${_0$7}`,
|
|
15500
15502
|
tableBase: `table-base`,
|
|
15501
15503
|
tableFill: `table-fill`,
|
|
15502
15504
|
tablePagination: `table-pagination`,
|
|
15503
|
-
tableLoader: `table-loader ${
|
|
15505
|
+
tableLoader: `table-loader ${_1$1}`,
|
|
15504
15506
|
tableRow: `table-row`,
|
|
15507
|
+
isSelectableRow: `is-selectable-row`,
|
|
15505
15508
|
tableCell: `table-cell`,
|
|
15506
15509
|
tableCellContent: `table-cell-content`,
|
|
15507
15510
|
tableHeader: `table-header table-cell`,
|
|
@@ -15509,10 +15512,12 @@ var Table_module_default = {
|
|
|
15509
15512
|
isSticky: `is-sticky`,
|
|
15510
15513
|
tableHeaderContent: `table-header-content table-cell-content`,
|
|
15511
15514
|
isStriped: `is-striped`,
|
|
15515
|
+
isSelected: `is-selected`,
|
|
15512
15516
|
isHoverable: `is-hoverable`,
|
|
15513
15517
|
isBordered: `is-bordered`,
|
|
15514
15518
|
isSeparated: `is-separated`,
|
|
15515
15519
|
tableActions: `table-actions`,
|
|
15520
|
+
tableCellSelection: `table-cell-selection`,
|
|
15516
15521
|
tableBar: `table-bar table-cell`,
|
|
15517
15522
|
tableBarContent: `table-bar-content table-cell-content`,
|
|
15518
15523
|
tableSort: `table-sort`,
|
|
@@ -15546,9 +15551,10 @@ var FluxTableCell_default = /* @__PURE__ */ defineComponent({
|
|
|
15546
15551
|
//#region src/component/FluxTableRow.vue
|
|
15547
15552
|
var FluxTableRow_default = /* @__PURE__ */ defineComponent({
|
|
15548
15553
|
__name: "FluxTableRow",
|
|
15554
|
+
props: { isSelected: { type: Boolean } },
|
|
15549
15555
|
setup(__props) {
|
|
15550
15556
|
return (_ctx, _cache) => {
|
|
15551
|
-
return openBlock(), createElementBlock("tr", { class: normalizeClass(unref(Table_module_default).tableRow) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
15557
|
+
return openBlock(), createElementBlock("tr", { class: normalizeClass(unref(clsx)(unref(Table_module_default).tableRow, __props.isSelected && unref(Table_module_default).isSelected)) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
15552
15558
|
};
|
|
15553
15559
|
}
|
|
15554
15560
|
});
|
|
@@ -15594,7 +15600,7 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15594
15600
|
isStriped: __props.isStriped
|
|
15595
15601
|
});
|
|
15596
15602
|
return (_ctx, _cache) => {
|
|
15597
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(Table_module_default).table) }, [
|
|
15603
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass([unref(Table_module_default).table, __props.isBordered && unref(Table_module_default).isBordered]) }, [
|
|
15598
15604
|
createElementVNode("table", { class: normalizeClass(unref(Table_module_default).tableBase) }, [
|
|
15599
15605
|
renderSlot(_ctx.$slots, "colgroups"),
|
|
15600
15606
|
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$35, [renderSlot(_ctx.$slots, "header")])) : createCommentVNode("", true),
|
|
@@ -15629,10 +15635,83 @@ var FluxTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15629
15635
|
}
|
|
15630
15636
|
});
|
|
15631
15637
|
//#endregion
|
|
15638
|
+
//#region src/component/FluxTableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
15639
|
+
var _hoisted_1$34 = ["aria-sort"];
|
|
15640
|
+
var _hoisted_2$12 = ["aria-label", "onClick"];
|
|
15641
|
+
//#endregion
|
|
15642
|
+
//#region src/component/FluxTableHeader.vue
|
|
15643
|
+
var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
15644
|
+
__name: "FluxTableHeader",
|
|
15645
|
+
props: {
|
|
15646
|
+
isShrinking: { type: Boolean },
|
|
15647
|
+
isSortable: { type: Boolean },
|
|
15648
|
+
isSticky: { type: Boolean },
|
|
15649
|
+
minWidth: { default: 0 },
|
|
15650
|
+
sort: {}
|
|
15651
|
+
},
|
|
15652
|
+
emits: ["sort"],
|
|
15653
|
+
setup(__props, { emit: $emit }) {
|
|
15654
|
+
const { isBordered } = useTableInjection_default();
|
|
15655
|
+
const translate = useTranslate_default();
|
|
15656
|
+
const sortingIcon = computed(() => {
|
|
15657
|
+
switch (__props.sort) {
|
|
15658
|
+
case "ascending": return "arrow-down-a-z";
|
|
15659
|
+
case "descending": return "arrow-up-a-z";
|
|
15660
|
+
default: return "arrow-up-arrow-down";
|
|
15661
|
+
}
|
|
15662
|
+
});
|
|
15663
|
+
return (_ctx, _cache) => {
|
|
15664
|
+
return openBlock(), createElementBlock("th", {
|
|
15665
|
+
class: normalizeClass(unref(clsx)(unref(Table_module_default).tableHeader, unref(isBordered) && unref(Table_module_default).isBordered, __props.isShrinking && unref(Table_module_default).isShrinking, __props.isSticky && unref(Table_module_default).isSticky)),
|
|
15666
|
+
scope: "col",
|
|
15667
|
+
"aria-sort": __props.isSortable ? __props.sort ?? "none" : void 0,
|
|
15668
|
+
style: normalizeStyle({ minWidth: `${__props.minWidth}px` })
|
|
15669
|
+
}, [createElementVNode("div", { class: normalizeClass(unref(Table_module_default).tableHeaderContent) }, [renderSlot(_ctx.$slots, "default"), __props.isSortable ? (openBlock(), createBlock(FluxFlyout_default, { key: 0 }, {
|
|
15670
|
+
opener: withCtx(({ open }) => [createElementVNode("button", {
|
|
15671
|
+
class: normalizeClass(unref(Table_module_default).tableSort),
|
|
15672
|
+
"aria-label": unref(translate)("flux.sort"),
|
|
15673
|
+
tabindex: "-1",
|
|
15674
|
+
type: "button",
|
|
15675
|
+
onClick: open
|
|
15676
|
+
}, [createVNode(FluxIcon_default, {
|
|
15677
|
+
size: 16,
|
|
15678
|
+
name: sortingIcon.value
|
|
15679
|
+
}, null, 8, ["name"])], 10, _hoisted_2$12)]),
|
|
15680
|
+
default: withCtx(() => [createVNode(FluxMenu_default, null, {
|
|
15681
|
+
default: withCtx(() => [createVNode(FluxMenuGroup_default, null, {
|
|
15682
|
+
default: withCtx(() => [createVNode(FluxMenuItem_default, {
|
|
15683
|
+
"is-highlighted": __props.sort === "ascending",
|
|
15684
|
+
"icon-leading": "arrow-down-a-z",
|
|
15685
|
+
label: unref(translate)("flux.sortAscending"),
|
|
15686
|
+
onClick: _cache[0] || (_cache[0] = ($event) => $emit("sort", "ascending"))
|
|
15687
|
+
}, null, 8, ["is-highlighted", "label"]), createVNode(FluxMenuItem_default, {
|
|
15688
|
+
"is-highlighted": __props.sort === "descending",
|
|
15689
|
+
"icon-leading": "arrow-up-a-z",
|
|
15690
|
+
label: unref(translate)("flux.sortDescending"),
|
|
15691
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $emit("sort", "descending"))
|
|
15692
|
+
}, null, 8, ["is-highlighted", "label"])]),
|
|
15693
|
+
_: 1
|
|
15694
|
+
}), __props.sort ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createVNode(FluxSeparator_default), createVNode(FluxMenuGroup_default, null, {
|
|
15695
|
+
default: withCtx(() => [createVNode(FluxMenuItem_default, {
|
|
15696
|
+
"icon-leading": "circle-xmark",
|
|
15697
|
+
"is-destructive": "",
|
|
15698
|
+
label: unref(translate)("flux.sortRemove"),
|
|
15699
|
+
onClick: _cache[2] || (_cache[2] = ($event) => $emit("sort", null))
|
|
15700
|
+
}, null, 8, ["label"])]),
|
|
15701
|
+
_: 1
|
|
15702
|
+
})], 64)) : createCommentVNode("", true)]),
|
|
15703
|
+
_: 1
|
|
15704
|
+
})]),
|
|
15705
|
+
_: 1
|
|
15706
|
+
})) : createCommentVNode("", true)], 2)], 14, _hoisted_1$34);
|
|
15707
|
+
};
|
|
15708
|
+
}
|
|
15709
|
+
});
|
|
15710
|
+
//#endregion
|
|
15632
15711
|
//#region src/component/FluxDataTable.vue
|
|
15633
15712
|
var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
15634
15713
|
__name: "FluxDataTable",
|
|
15635
|
-
props: {
|
|
15714
|
+
props: /* @__PURE__ */ mergeModels({
|
|
15636
15715
|
fillColumns: {},
|
|
15637
15716
|
isBordered: {
|
|
15638
15717
|
type: Boolean,
|
|
@@ -15658,10 +15737,14 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15658
15737
|
limits: {},
|
|
15659
15738
|
page: {},
|
|
15660
15739
|
perPage: {},
|
|
15740
|
+
selectionMode: {},
|
|
15661
15741
|
total: {},
|
|
15662
15742
|
uniqueKey: {}
|
|
15663
|
-
},
|
|
15664
|
-
|
|
15743
|
+
}, {
|
|
15744
|
+
"selected": {},
|
|
15745
|
+
"selectedModifiers": {}
|
|
15746
|
+
}),
|
|
15747
|
+
emits: /* @__PURE__ */ mergeModels(["limit", "navigate"], ["update:selected"]),
|
|
15665
15748
|
setup(__props, { emit: __emit }) {
|
|
15666
15749
|
const IGNORED_SLOTS = [
|
|
15667
15750
|
"filter",
|
|
@@ -15671,8 +15754,60 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15671
15754
|
"pagination"
|
|
15672
15755
|
];
|
|
15673
15756
|
const emit = __emit;
|
|
15757
|
+
const selected = useModel(__props, "selected");
|
|
15674
15758
|
const slots = useSlots();
|
|
15675
15759
|
const limitedItems = computed(() => __props.items.slice(0, __props.perPage));
|
|
15760
|
+
const currentPageIds = computed(() => {
|
|
15761
|
+
if (!__props.uniqueKey) return [];
|
|
15762
|
+
return unref(limitedItems).map((item) => item[__props.uniqueKey]);
|
|
15763
|
+
});
|
|
15764
|
+
const selectAllState = computed(() => {
|
|
15765
|
+
const ids = unref(currentPageIds);
|
|
15766
|
+
const value = unref(selected);
|
|
15767
|
+
if (ids.length === 0 || !Array.isArray(value)) return false;
|
|
15768
|
+
const selectedOnPage = ids.filter((id) => value.includes(id)).length;
|
|
15769
|
+
if (selectedOnPage === 0) return false;
|
|
15770
|
+
if (selectedOnPage === ids.length) return true;
|
|
15771
|
+
return null;
|
|
15772
|
+
});
|
|
15773
|
+
function getItemId(item) {
|
|
15774
|
+
if (!__props.uniqueKey) return;
|
|
15775
|
+
return item[__props.uniqueKey];
|
|
15776
|
+
}
|
|
15777
|
+
function isItemSelected(item) {
|
|
15778
|
+
if (!__props.selectionMode) return false;
|
|
15779
|
+
const id = getItemId(item);
|
|
15780
|
+
if (id === void 0) return false;
|
|
15781
|
+
const value = unref(selected);
|
|
15782
|
+
if (Array.isArray(value)) return value.includes(id);
|
|
15783
|
+
return value === id;
|
|
15784
|
+
}
|
|
15785
|
+
function onRowClick(item, event) {
|
|
15786
|
+
if (!__props.selectionMode) return;
|
|
15787
|
+
if (event.target?.closest("a, button, input, label, select, textarea, [role=\"button\"]")) return;
|
|
15788
|
+
onSelectRow(item);
|
|
15789
|
+
}
|
|
15790
|
+
function onSelectRow(item) {
|
|
15791
|
+
const id = getItemId(item);
|
|
15792
|
+
if (id === void 0) return;
|
|
15793
|
+
if (__props.selectionMode === "multiple") {
|
|
15794
|
+
const current = Array.isArray(unref(selected)) ? unref(selected) : [];
|
|
15795
|
+
selected.value = current.includes(id) ? current.filter((v) => v !== id) : [...current, id];
|
|
15796
|
+
return;
|
|
15797
|
+
}
|
|
15798
|
+
if (__props.selectionMode === "single") selected.value = isItemSelected(item) ? null : id;
|
|
15799
|
+
}
|
|
15800
|
+
function onSelectAll(value) {
|
|
15801
|
+
if (__props.selectionMode !== "multiple") return;
|
|
15802
|
+
const ids = unref(currentPageIds);
|
|
15803
|
+
const current = Array.isArray(unref(selected)) ? unref(selected) : [];
|
|
15804
|
+
if (value) {
|
|
15805
|
+
const additions = ids.filter((id) => !current.includes(id));
|
|
15806
|
+
selected.value = [...current, ...additions];
|
|
15807
|
+
return;
|
|
15808
|
+
}
|
|
15809
|
+
selected.value = current.filter((id) => !ids.includes(id));
|
|
15810
|
+
}
|
|
15676
15811
|
return (_ctx, _cache) => {
|
|
15677
15812
|
return openBlock(), createBlock(FluxTable_default, {
|
|
15678
15813
|
"fill-columns": __props.fillColumns,
|
|
@@ -15683,8 +15818,22 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15683
15818
|
"is-striped": __props.isStriped
|
|
15684
15819
|
}, createSlots({
|
|
15685
15820
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(limitedItems.value, (item, index) => {
|
|
15686
|
-
return openBlock(), createBlock(FluxTableRow_default, {
|
|
15687
|
-
|
|
15821
|
+
return openBlock(), createBlock(FluxTableRow_default, {
|
|
15822
|
+
key: __props.uniqueKey ? item[__props.uniqueKey] : index,
|
|
15823
|
+
class: normalizeClass(__props.selectionMode && unref(Table_module_default).isSelectableRow),
|
|
15824
|
+
"is-selected": __props.selectionMode ? isItemSelected(item) : false,
|
|
15825
|
+
onClick: ($event) => onRowClick(item, $event)
|
|
15826
|
+
}, {
|
|
15827
|
+
default: withCtx(() => [__props.selectionMode ? (openBlock(), createBlock(FluxTableCell_default, {
|
|
15828
|
+
key: 0,
|
|
15829
|
+
class: normalizeClass(unref(Table_module_default).tableCellSelection)
|
|
15830
|
+
}, {
|
|
15831
|
+
default: withCtx(() => [createVNode(FluxCheckbox_default, {
|
|
15832
|
+
"model-value": isItemSelected(item),
|
|
15833
|
+
"onUpdate:modelValue": ($event) => onSelectRow(item)
|
|
15834
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
15835
|
+
_: 2
|
|
15836
|
+
}, 1032, ["class"])) : createCommentVNode("", true), (openBlock(), createElementBlock(Fragment, null, renderList(slots, (_, name) => {
|
|
15688
15837
|
return openBlock(), createElementBlock(Fragment, null, [!IGNORED_SLOTS.includes(name) ? renderSlot(_ctx.$slots, name, mergeProps({
|
|
15689
15838
|
key: 0,
|
|
15690
15839
|
ref_for: true
|
|
@@ -15694,11 +15843,16 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15694
15843
|
items: limitedItems.value,
|
|
15695
15844
|
page: __props.page,
|
|
15696
15845
|
perPage: __props.perPage,
|
|
15697
|
-
total: __props.total
|
|
15846
|
+
total: __props.total,
|
|
15847
|
+
isSelected: isItemSelected(item)
|
|
15698
15848
|
})) : createCommentVNode("", true)], 64);
|
|
15699
15849
|
}), 64))]),
|
|
15700
15850
|
_: 2
|
|
15701
|
-
},
|
|
15851
|
+
}, 1032, [
|
|
15852
|
+
"class",
|
|
15853
|
+
"is-selected",
|
|
15854
|
+
"onClick"
|
|
15855
|
+
]);
|
|
15702
15856
|
}), 128))]),
|
|
15703
15857
|
_: 2
|
|
15704
15858
|
}, [
|
|
@@ -15707,7 +15861,7 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15707
15861
|
fn: withCtx(() => [renderSlot(_ctx.$slots, "colgroups")]),
|
|
15708
15862
|
key: "0"
|
|
15709
15863
|
} : void 0,
|
|
15710
|
-
"header" in slots ? {
|
|
15864
|
+
"header" in slots || __props.selectionMode ? {
|
|
15711
15865
|
name: "header",
|
|
15712
15866
|
fn: withCtx(() => [renderSlot(_ctx.$slots, "filter", normalizeProps(guardReactiveProps({
|
|
15713
15867
|
page: __props.page,
|
|
@@ -15715,7 +15869,18 @@ var FluxDataTable_default = /* @__PURE__ */ defineComponent({
|
|
|
15715
15869
|
items: limitedItems.value,
|
|
15716
15870
|
total: __props.total
|
|
15717
15871
|
}))), createVNode(FluxTableRow_default, null, {
|
|
15718
|
-
default: withCtx(() => [
|
|
15872
|
+
default: withCtx(() => [__props.selectionMode ? (openBlock(), createBlock(FluxTableHeader_default, {
|
|
15873
|
+
key: 0,
|
|
15874
|
+
"is-shrinking": "",
|
|
15875
|
+
class: normalizeClass(unref(Table_module_default).tableCellSelection)
|
|
15876
|
+
}, {
|
|
15877
|
+
default: withCtx(() => [__props.selectionMode === "multiple" ? (openBlock(), createBlock(FluxCheckbox_default, {
|
|
15878
|
+
key: 0,
|
|
15879
|
+
"model-value": selectAllState.value,
|
|
15880
|
+
"onUpdate:modelValue": onSelectAll
|
|
15881
|
+
}, null, 8, ["model-value"])) : createCommentVNode("", true)]),
|
|
15882
|
+
_: 1
|
|
15883
|
+
}, 8, ["class"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
|
|
15719
15884
|
page: __props.page,
|
|
15720
15885
|
perPage: __props.perPage,
|
|
15721
15886
|
items: limitedItems.value,
|
|
@@ -15789,7 +15954,7 @@ var FluxDisabled_default = /* @__PURE__ */ defineComponent({
|
|
|
15789
15954
|
});
|
|
15790
15955
|
//#endregion
|
|
15791
15956
|
//#region src/component/FluxDivider.vue?vue&type=script&setup=true&lang.ts
|
|
15792
|
-
var _hoisted_1$
|
|
15957
|
+
var _hoisted_1$33 = ["aria-orientation"];
|
|
15793
15958
|
//#endregion
|
|
15794
15959
|
//#region src/component/FluxDivider.vue
|
|
15795
15960
|
var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
@@ -15811,18 +15976,18 @@ var FluxDivider_default = /* @__PURE__ */ defineComponent({
|
|
|
15811
15976
|
}, [renderSlot(_ctx.$slots, "default")], 2)) : (openBlock(), createElementBlock("hr", {
|
|
15812
15977
|
key: 1,
|
|
15813
15978
|
class: normalizeClass(unref(Divider_module_default).dividerLine)
|
|
15814
|
-
}, null, 2))], 10, _hoisted_1$
|
|
15979
|
+
}, null, 2))], 10, _hoisted_1$33);
|
|
15815
15980
|
};
|
|
15816
15981
|
}
|
|
15817
15982
|
});
|
|
15818
15983
|
//#endregion
|
|
15819
15984
|
//#region src/component/FluxDotPattern.vue?vue&type=script&setup=true&lang.ts
|
|
15820
|
-
var _hoisted_1$
|
|
15985
|
+
var _hoisted_1$32 = [
|
|
15821
15986
|
"id",
|
|
15822
15987
|
"width",
|
|
15823
15988
|
"height"
|
|
15824
15989
|
];
|
|
15825
|
-
var _hoisted_2$
|
|
15990
|
+
var _hoisted_2$11 = [
|
|
15826
15991
|
"r",
|
|
15827
15992
|
"cx",
|
|
15828
15993
|
"cy"
|
|
@@ -15872,7 +16037,7 @@ var FluxDotPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
15872
16037
|
r: __props.cr,
|
|
15873
16038
|
cx: __props.width / 2 - __props.cx,
|
|
15874
16039
|
cy: __props.height / 2 - __props.cy
|
|
15875
|
-
}, null, 8, _hoisted_2$
|
|
16040
|
+
}, null, 8, _hoisted_2$11)], 8, _hoisted_1$32)]), createElementVNode("rect", {
|
|
15876
16041
|
width: "100%",
|
|
15877
16042
|
height: "100%",
|
|
15878
16043
|
"stroke-width": "0",
|
|
@@ -15895,12 +16060,12 @@ var DropZone_module_default = {
|
|
|
15895
16060
|
};
|
|
15896
16061
|
//#endregion
|
|
15897
16062
|
//#region src/component/FluxDropZone.vue?vue&type=script&setup=true&lang.ts
|
|
15898
|
-
var _hoisted_1$
|
|
16063
|
+
var _hoisted_1$31 = [
|
|
15899
16064
|
"aria-disabled",
|
|
15900
16065
|
"aria-label",
|
|
15901
16066
|
"tabindex"
|
|
15902
16067
|
];
|
|
15903
|
-
var _hoisted_2$
|
|
16068
|
+
var _hoisted_2$10 = ["pathLength"];
|
|
15904
16069
|
//#endregion
|
|
15905
16070
|
//#region src/component/FluxDropZone.vue
|
|
15906
16071
|
var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16014,7 +16179,7 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
16014
16179
|
"stroke-linecap": "round",
|
|
16015
16180
|
"stroke-linejoin": "round",
|
|
16016
16181
|
pathLength: pathLength.value
|
|
16017
|
-
}, null, 8, _hoisted_2$
|
|
16182
|
+
}, null, 8, _hoisted_2$10)], 2)),
|
|
16018
16183
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
16019
16184
|
isDragging: isDragging.value,
|
|
16020
16185
|
isDraggingOver: isDraggingOver.value,
|
|
@@ -16041,7 +16206,7 @@ var FluxDropZone_default = /* @__PURE__ */ defineComponent({
|
|
|
16041
16206
|
isDraggingOver: isDraggingOver.value,
|
|
16042
16207
|
showPicker
|
|
16043
16208
|
})))
|
|
16044
|
-
], 42, _hoisted_1$
|
|
16209
|
+
], 42, _hoisted_1$31);
|
|
16045
16210
|
};
|
|
16046
16211
|
}
|
|
16047
16212
|
});
|
|
@@ -16071,12 +16236,12 @@ var Expandable_module_default = {
|
|
|
16071
16236
|
};
|
|
16072
16237
|
//#endregion
|
|
16073
16238
|
//#region src/component/FluxExpandable.vue?vue&type=script&setup=true&lang.ts
|
|
16074
|
-
var _hoisted_1$
|
|
16239
|
+
var _hoisted_1$30 = [
|
|
16075
16240
|
"id",
|
|
16076
16241
|
"aria-controls",
|
|
16077
16242
|
"aria-expanded"
|
|
16078
16243
|
];
|
|
16079
|
-
var _hoisted_2$
|
|
16244
|
+
var _hoisted_2$9 = ["id", "aria-labelledby"];
|
|
16080
16245
|
//#endregion
|
|
16081
16246
|
//#region src/component/FluxExpandable.vue
|
|
16082
16247
|
var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16167,9 +16332,9 @@ var FluxExpandable_default = /* @__PURE__ */ defineComponent({
|
|
|
16167
16332
|
})), () => [createElementVNode("div", { class: normalizeClass(unref(Expandable_module_default).expandableContent) }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
16168
16333
|
label: __props.label,
|
|
16169
16334
|
close
|
|
16170
|
-
})))], 2)])], 10, _hoisted_2$
|
|
16335
|
+
})))], 2)])], 10, _hoisted_2$9)) : createCommentVNode("", true)]),
|
|
16171
16336
|
_: 3
|
|
16172
|
-
})], 10, _hoisted_1$
|
|
16337
|
+
})], 10, _hoisted_1$30);
|
|
16173
16338
|
};
|
|
16174
16339
|
}
|
|
16175
16340
|
});
|
|
@@ -17388,7 +17553,7 @@ var FocalPoint_module_default = {
|
|
|
17388
17553
|
};
|
|
17389
17554
|
//#endregion
|
|
17390
17555
|
//#region src/component/FluxFocalPointEditor.vue?vue&type=script&setup=true&lang.ts
|
|
17391
|
-
var _hoisted_1$
|
|
17556
|
+
var _hoisted_1$29 = ["src"];
|
|
17392
17557
|
//#endregion
|
|
17393
17558
|
//#region src/component/FluxFocalPointEditor.vue
|
|
17394
17559
|
var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17457,7 +17622,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
17457
17622
|
src: __props.src,
|
|
17458
17623
|
alt: "",
|
|
17459
17624
|
onLoad: onImageLoaded
|
|
17460
|
-
}, null, 42, _hoisted_1$
|
|
17625
|
+
}, null, 42, _hoisted_1$29), createElementVNode("div", {
|
|
17461
17626
|
class: normalizeClass(unref(FocalPoint_module_default).focalPointEditorArea),
|
|
17462
17627
|
style: normalizeStyle({
|
|
17463
17628
|
top: `${focalPointY.value}%`,
|
|
@@ -17486,7 +17651,7 @@ var FluxFocalPointEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
17486
17651
|
});
|
|
17487
17652
|
//#endregion
|
|
17488
17653
|
//#region src/component/FluxFocalPointImage.vue?vue&type=script&setup=true&lang.ts
|
|
17489
|
-
var _hoisted_1$
|
|
17654
|
+
var _hoisted_1$28 = ["src", "alt"];
|
|
17490
17655
|
//#endregion
|
|
17491
17656
|
//#region src/component/FluxFocalPointImage.vue
|
|
17492
17657
|
var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17505,13 +17670,13 @@ var FluxFocalPointImage_default = /* @__PURE__ */ defineComponent({
|
|
|
17505
17670
|
style: normalizeStyle({ objectPosition: `${x.value}% ${y.value}%` }),
|
|
17506
17671
|
src: __props.src,
|
|
17507
17672
|
alt: __props.alt
|
|
17508
|
-
}, null, 14, _hoisted_1$
|
|
17673
|
+
}, null, 14, _hoisted_1$28);
|
|
17509
17674
|
};
|
|
17510
17675
|
}
|
|
17511
17676
|
});
|
|
17512
17677
|
//#endregion
|
|
17513
17678
|
//#region src/component/FluxForm.vue?vue&type=script&setup=true&lang.ts
|
|
17514
|
-
var _hoisted_1$
|
|
17679
|
+
var _hoisted_1$27 = ["aria-disabled"];
|
|
17515
17680
|
//#endregion
|
|
17516
17681
|
//#region src/component/FluxForm.vue
|
|
17517
17682
|
var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17534,7 +17699,7 @@ var FluxForm_default = /* @__PURE__ */ defineComponent({
|
|
|
17534
17699
|
}, [createVNode(FluxDisabled_default, { disabled: __props.disabled }, {
|
|
17535
17700
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
17536
17701
|
_: 3
|
|
17537
|
-
}, 8, ["disabled"])], 42, _hoisted_1$
|
|
17702
|
+
}, 8, ["disabled"])], 42, _hoisted_1$27);
|
|
17538
17703
|
};
|
|
17539
17704
|
}
|
|
17540
17705
|
});
|
|
@@ -17646,7 +17811,7 @@ var FluxFormDateInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17646
17811
|
});
|
|
17647
17812
|
//#endregion
|
|
17648
17813
|
//#region src/component/FluxFormDateRangeInput.vue?vue&type=script&setup=true&lang.ts
|
|
17649
|
-
var _hoisted_1$
|
|
17814
|
+
var _hoisted_1$26 = { key: 0 };
|
|
17650
17815
|
//#endregion
|
|
17651
17816
|
//#region src/component/FluxFormDateRangeInput.vue
|
|
17652
17817
|
var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17692,7 +17857,7 @@ var FluxFormDateRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17692
17857
|
default: withCtx(() => [createElementVNode("div", {
|
|
17693
17858
|
class: normalizeClass(unref(clsx)(unref(Form_module_default).formDateRangeInput, unref(disabled) && unref(Form_module_default).isDisabled, __props.isCondensed && unref(Form_module_default).isCondensed, __props.isSecondary && unref(Form_module_default).isSecondary, __props.error && unref(Form_module_default).isInvalid)),
|
|
17694
17859
|
role: "presentation"
|
|
17695
|
-
}, [label.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
17860
|
+
}, [label.value ? (openBlock(), createElementBlock("span", _hoisted_1$26, toDisplayString(label.value), 1)) : __props.placeholder ? (openBlock(), createElementBlock("span", {
|
|
17696
17861
|
key: 1,
|
|
17697
17862
|
class: normalizeClass(unref(Form_module_default).formSelectPlaceholder)
|
|
17698
17863
|
}, toDisplayString(__props.placeholder), 3)) : createCommentVNode("", true)], 2), createVNode(FluxSecondaryButton_default, {
|
|
@@ -17864,7 +18029,7 @@ var FluxFormGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
17864
18029
|
});
|
|
17865
18030
|
//#endregion
|
|
17866
18031
|
//#region src/component/FluxFormInputAddition.vue?vue&type=script&setup=true&lang.ts
|
|
17867
|
-
var _hoisted_1$
|
|
18032
|
+
var _hoisted_1$25 = { key: 1 };
|
|
17868
18033
|
//#endregion
|
|
17869
18034
|
//#region src/component/FluxFormInputAddition.vue
|
|
17870
18035
|
var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17881,7 +18046,7 @@ var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
17881
18046
|
name: __props.icon,
|
|
17882
18047
|
size: 18
|
|
17883
18048
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
17884
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
18049
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$25, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
17885
18050
|
renderSlot(_ctx.$slots, "default")
|
|
17886
18051
|
], 2);
|
|
17887
18052
|
};
|
|
@@ -17889,14 +18054,14 @@ var FluxFormInputAddition_default = /* @__PURE__ */ defineComponent({
|
|
|
17889
18054
|
});
|
|
17890
18055
|
//#endregion
|
|
17891
18056
|
//#region src/component/FluxFormPinInput.vue?vue&type=script&setup=true&lang.ts
|
|
17892
|
-
var _hoisted_1$
|
|
18057
|
+
var _hoisted_1$24 = [
|
|
17893
18058
|
"id",
|
|
17894
18059
|
"name",
|
|
17895
18060
|
"autofocus",
|
|
17896
18061
|
"aria-disabled",
|
|
17897
18062
|
"aria-invalid"
|
|
17898
18063
|
];
|
|
17899
|
-
var _hoisted_2$
|
|
18064
|
+
var _hoisted_2$8 = [
|
|
17900
18065
|
"aria-label",
|
|
17901
18066
|
"autocomplete",
|
|
17902
18067
|
"autofocus",
|
|
@@ -18012,8 +18177,8 @@ var FluxFormPinInput_default = /* @__PURE__ */ defineComponent({
|
|
|
18012
18177
|
onInput,
|
|
18013
18178
|
onKeydown: onKeyDown,
|
|
18014
18179
|
onPaste
|
|
18015
|
-
}, null, 42, _hoisted_2$
|
|
18016
|
-
}), 128))], 14, _hoisted_1$
|
|
18180
|
+
}, null, 42, _hoisted_2$8);
|
|
18181
|
+
}), 128))], 14, _hoisted_1$24);
|
|
18017
18182
|
};
|
|
18018
18183
|
}
|
|
18019
18184
|
});
|
|
@@ -18309,7 +18474,7 @@ var FluxFormSelectAsync_default = /* @__PURE__ */ defineComponent({
|
|
|
18309
18474
|
});
|
|
18310
18475
|
//#endregion
|
|
18311
18476
|
//#region src/component/FluxFormTextArea.vue?vue&type=script&setup=true&lang.ts
|
|
18312
|
-
var _hoisted_1$
|
|
18477
|
+
var _hoisted_1$23 = [
|
|
18313
18478
|
"id",
|
|
18314
18479
|
"name",
|
|
18315
18480
|
"autocomplete",
|
|
@@ -18371,7 +18536,7 @@ var FluxFormTextArea_default = /* @__PURE__ */ defineComponent({
|
|
|
18371
18536
|
"aria-invalid": __props.error ? true : void 0,
|
|
18372
18537
|
onBlur: _cache[1] || (_cache[1] = ($event) => emit("blur")),
|
|
18373
18538
|
onFocus: _cache[2] || (_cache[2] = ($event) => emit("focus"))
|
|
18374
|
-
}, null, 46, _hoisted_1$
|
|
18539
|
+
}, null, 46, _hoisted_1$23)), [[vModelText, modelValue.value]]);
|
|
18375
18540
|
};
|
|
18376
18541
|
}
|
|
18377
18542
|
});
|
|
@@ -19098,7 +19263,7 @@ var TreeViewSelect_module_default = {
|
|
|
19098
19263
|
};
|
|
19099
19264
|
//#endregion
|
|
19100
19265
|
//#region src/component/FluxFormTreeViewSelect.vue?vue&type=script&setup=true&lang.ts
|
|
19101
|
-
var _hoisted_1$
|
|
19266
|
+
var _hoisted_1$22 = [
|
|
19102
19267
|
"role",
|
|
19103
19268
|
"tabindex",
|
|
19104
19269
|
"aria-selected",
|
|
@@ -19339,7 +19504,7 @@ var FluxFormTreeViewSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
19339
19504
|
"expanded",
|
|
19340
19505
|
"level-colors",
|
|
19341
19506
|
"onExpandClick"
|
|
19342
|
-
])], 42, _hoisted_1$
|
|
19507
|
+
])], 42, _hoisted_1$22);
|
|
19343
19508
|
}), 128))], 2)]),
|
|
19344
19509
|
_: 1
|
|
19345
19510
|
}, 8, ["class", "anchor"])) : createCommentVNode("", true)]),
|
|
@@ -19354,7 +19519,7 @@ var Remove_module_default = {
|
|
|
19354
19519
|
};
|
|
19355
19520
|
//#endregion
|
|
19356
19521
|
//#region src/component/FluxRemove.vue?vue&type=script&setup=true&lang.ts
|
|
19357
|
-
var _hoisted_1$
|
|
19522
|
+
var _hoisted_1$21 = ["aria-label"];
|
|
19358
19523
|
//#endregion
|
|
19359
19524
|
//#region src/component/FluxRemove.vue
|
|
19360
19525
|
var FluxRemove_default = /* @__PURE__ */ defineComponent({
|
|
@@ -19377,7 +19542,7 @@ var FluxRemove_default = /* @__PURE__ */ defineComponent({
|
|
|
19377
19542
|
key: 0,
|
|
19378
19543
|
name: __props.icon,
|
|
19379
19544
|
size: 16
|
|
19380
|
-
}, null, 8, ["name"])) : createCommentVNode("", true)], 10, _hoisted_1$
|
|
19545
|
+
}, null, 8, ["name"])) : createCommentVNode("", true)], 10, _hoisted_1$21);
|
|
19381
19546
|
};
|
|
19382
19547
|
}
|
|
19383
19548
|
});
|
|
@@ -19450,7 +19615,7 @@ var FluxGalleryItem_default = /* @__PURE__ */ defineComponent({
|
|
|
19450
19615
|
});
|
|
19451
19616
|
//#endregion
|
|
19452
19617
|
//#region src/component/FluxGallery.vue?vue&type=script&setup=true&lang.ts
|
|
19453
|
-
var _hoisted_1$
|
|
19618
|
+
var _hoisted_1$20 = ["onClick"];
|
|
19454
19619
|
//#endregion
|
|
19455
19620
|
//#region src/component/FluxGallery.vue
|
|
19456
19621
|
var FluxGallery_default = /* @__PURE__ */ defineComponent({
|
|
@@ -19528,7 +19693,7 @@ var FluxGallery_default = /* @__PURE__ */ defineComponent({
|
|
|
19528
19693
|
class: normalizeClass(unref(Gallery_module_default).galleryAdd),
|
|
19529
19694
|
type: "button",
|
|
19530
19695
|
onClick: ($event) => showPicker()
|
|
19531
|
-
}, [createVNode(FluxIcon_default, { name: "plus" })], 10, _hoisted_1$
|
|
19696
|
+
}, [createVNode(FluxIcon_default, { name: "plus" })], 10, _hoisted_1$20)) : createCommentVNode("", true)
|
|
19532
19697
|
]),
|
|
19533
19698
|
_: 2
|
|
19534
19699
|
}, 1032, ["class", "move-class"])]),
|
|
@@ -19603,12 +19768,12 @@ var FluxGridColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
19603
19768
|
});
|
|
19604
19769
|
//#endregion
|
|
19605
19770
|
//#region src/component/FluxGridPattern.vue?vue&type=script&setup=true&lang.ts
|
|
19606
|
-
var _hoisted_1$
|
|
19771
|
+
var _hoisted_1$19 = [
|
|
19607
19772
|
"id",
|
|
19608
19773
|
"width",
|
|
19609
19774
|
"height"
|
|
19610
19775
|
];
|
|
19611
|
-
var _hoisted_2$
|
|
19776
|
+
var _hoisted_2$7 = ["d", "stroke-dasharray"];
|
|
19612
19777
|
var _hoisted_3$3 = ["fill"];
|
|
19613
19778
|
var _hoisted_4 = {
|
|
19614
19779
|
key: 0,
|
|
@@ -19648,7 +19813,7 @@ var FluxGridPattern_default = /* @__PURE__ */ defineComponent({
|
|
|
19648
19813
|
d: `M.5 ${__props.height}V.5H${__props.width}`,
|
|
19649
19814
|
fill: "none",
|
|
19650
19815
|
"stroke-dasharray": __props.strokeDasharray
|
|
19651
|
-
}, null, 8, _hoisted_2$
|
|
19816
|
+
}, null, 8, _hoisted_2$7)], 8, _hoisted_1$19)]),
|
|
19652
19817
|
createElementVNode("rect", {
|
|
19653
19818
|
width: "100%",
|
|
19654
19819
|
height: "100%",
|
|
@@ -19715,7 +19880,7 @@ var Kanban_module_default = {
|
|
|
19715
19880
|
};
|
|
19716
19881
|
//#endregion
|
|
19717
19882
|
//#region src/component/FluxKanban.vue?vue&type=script&setup=true&lang.ts
|
|
19718
|
-
var _hoisted_1$
|
|
19883
|
+
var _hoisted_1$18 = ["aria-label"];
|
|
19719
19884
|
//#endregion
|
|
19720
19885
|
//#region src/component/FluxKanban.vue
|
|
19721
19886
|
var FluxKanban_default = /* @__PURE__ */ defineComponent({
|
|
@@ -19782,14 +19947,14 @@ var FluxKanban_default = /* @__PURE__ */ defineComponent({
|
|
|
19782
19947
|
"aria-live": "polite",
|
|
19783
19948
|
"aria-atomic": "true",
|
|
19784
19949
|
class: normalizeClass(unref(Kanban_module_default).kanbanLiveRegion)
|
|
19785
|
-
}, toDisplayString(liveMessage.value), 3)], 10, _hoisted_1$
|
|
19950
|
+
}, toDisplayString(liveMessage.value), 3)], 10, _hoisted_1$18);
|
|
19786
19951
|
};
|
|
19787
19952
|
}
|
|
19788
19953
|
});
|
|
19789
19954
|
//#endregion
|
|
19790
19955
|
//#region src/component/FluxKanbanColumn.vue?vue&type=script&setup=true&lang.ts
|
|
19791
|
-
var _hoisted_1$
|
|
19792
|
-
var _hoisted_2$
|
|
19956
|
+
var _hoisted_1$17 = ["aria-label", "aria-disabled"];
|
|
19957
|
+
var _hoisted_2$6 = ["draggable", "tabindex"];
|
|
19793
19958
|
//#endregion
|
|
19794
19959
|
//#region src/component/FluxKanbanColumn.vue
|
|
19795
19960
|
var FluxKanbanColumn_default = /* @__PURE__ */ defineComponent({
|
|
@@ -19941,7 +20106,7 @@ var FluxKanbanColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
19941
20106
|
key: 1,
|
|
19942
20107
|
label: String(__props.count)
|
|
19943
20108
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
19944
|
-
], 2), renderSlot(_ctx.$slots, "actions")], 42, _hoisted_2$
|
|
20109
|
+
], 2), renderSlot(_ctx.$slots, "actions")], 42, _hoisted_2$6),
|
|
19945
20110
|
createElementVNode("main", {
|
|
19946
20111
|
ref_key: "body",
|
|
19947
20112
|
ref: body,
|
|
@@ -19970,13 +20135,13 @@ var FluxKanbanColumn_default = /* @__PURE__ */ defineComponent({
|
|
|
19970
20135
|
key: 0,
|
|
19971
20136
|
class: normalizeClass(unref(Kanban_module_default).kanbanColumnFooter)
|
|
19972
20137
|
}, [hasFooter.value ? renderSlot(_ctx.$slots, "footer", { key: 0 }) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)
|
|
19973
|
-
], 10, _hoisted_1$
|
|
20138
|
+
], 10, _hoisted_1$17);
|
|
19974
20139
|
};
|
|
19975
20140
|
}
|
|
19976
20141
|
});
|
|
19977
20142
|
//#endregion
|
|
19978
20143
|
//#region src/component/FluxKanbanItem.vue?vue&type=script&setup=true&lang.ts
|
|
19979
|
-
var _hoisted_1$
|
|
20144
|
+
var _hoisted_1$16 = [
|
|
19980
20145
|
"aria-disabled",
|
|
19981
20146
|
"draggable",
|
|
19982
20147
|
"tabindex"
|
|
@@ -20102,7 +20267,7 @@ var FluxKanbanItem_default = /* @__PURE__ */ defineComponent({
|
|
|
20102
20267
|
onDragover: withModifiers(onDragOver, ["stop"]),
|
|
20103
20268
|
onFocus,
|
|
20104
20269
|
onKeydown: _cache[0] || (_cache[0] = (...args) => unref(handleKeyDown) && unref(handleKeyDown)(...args))
|
|
20105
|
-
}, [renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$
|
|
20270
|
+
}, [renderSlot(_ctx.$slots, "default")], 42, _hoisted_1$16);
|
|
20106
20271
|
};
|
|
20107
20272
|
}
|
|
20108
20273
|
});
|
|
@@ -20299,7 +20464,7 @@ var FluxLink_default = /* @__PURE__ */ defineComponent({
|
|
|
20299
20464
|
});
|
|
20300
20465
|
//#endregion
|
|
20301
20466
|
//#region src/component/FluxMenuCollapsible.vue?vue&type=script&setup=true&lang.ts
|
|
20302
|
-
var _hoisted_1$
|
|
20467
|
+
var _hoisted_1$15 = ["id"];
|
|
20303
20468
|
//#endregion
|
|
20304
20469
|
//#region src/component/FluxMenuCollapsible.vue
|
|
20305
20470
|
var FluxMenuCollapsible_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20409,7 +20574,7 @@ var FluxMenuCollapsible_default = /* @__PURE__ */ defineComponent({
|
|
|
20409
20574
|
id: unref(bodyId),
|
|
20410
20575
|
class: normalizeClass(unref(Menu_module_default).menuCollapsibleBody),
|
|
20411
20576
|
role: "group"
|
|
20412
|
-
}, [createElementVNode("div", { class: normalizeClass(unref(Menu_module_default).menuCollapsibleContent) }, [renderSlot(_ctx.$slots, "default")], 2)], 10, _hoisted_1$
|
|
20577
|
+
}, [createElementVNode("div", { class: normalizeClass(unref(Menu_module_default).menuCollapsibleContent) }, [renderSlot(_ctx.$slots, "default")], 2)], 10, _hoisted_1$15)) : createCommentVNode("", true)]),
|
|
20413
20578
|
_: 3
|
|
20414
20579
|
})], 2);
|
|
20415
20580
|
};
|
|
@@ -20487,7 +20652,7 @@ var Notice_module_default = {
|
|
|
20487
20652
|
};
|
|
20488
20653
|
//#endregion
|
|
20489
20654
|
//#region src/component/FluxNotice.vue?vue&type=script&setup=true&lang.ts
|
|
20490
|
-
var _hoisted_1$
|
|
20655
|
+
var _hoisted_1$14 = ["aria-label"];
|
|
20491
20656
|
//#endregion
|
|
20492
20657
|
//#region src/component/FluxNotice.vue
|
|
20493
20658
|
var FluxNotice_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20538,7 +20703,7 @@ var FluxNotice_default = /* @__PURE__ */ defineComponent({
|
|
|
20538
20703
|
type: "button",
|
|
20539
20704
|
"aria-label": unref(translate)("flux.close"),
|
|
20540
20705
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
20541
|
-
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$
|
|
20706
|
+
}, [createVNode(FluxIcon_default, { name: "xmark" })], 10, _hoisted_1$14)) : createCommentVNode("", true)
|
|
20542
20707
|
], 2);
|
|
20543
20708
|
};
|
|
20544
20709
|
}
|
|
@@ -20791,7 +20956,7 @@ var FluxPaneIllustration_default = /* @__PURE__ */ defineComponent({
|
|
|
20791
20956
|
});
|
|
20792
20957
|
//#endregion
|
|
20793
20958
|
//#region src/component/FluxPaneMedia.vue?vue&type=script&setup=true&lang.ts
|
|
20794
|
-
var _hoisted_1$
|
|
20959
|
+
var _hoisted_1$13 = ["src", "alt"];
|
|
20795
20960
|
//#endregion
|
|
20796
20961
|
//#region src/component/FluxPaneMedia.vue
|
|
20797
20962
|
var FluxPaneMedia_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20816,7 +20981,7 @@ var FluxPaneMedia_default = /* @__PURE__ */ defineComponent({
|
|
|
20816
20981
|
}),
|
|
20817
20982
|
src: __props.imageUrl,
|
|
20818
20983
|
alt: __props.imageAlt
|
|
20819
|
-
}, null, 14, _hoisted_1$
|
|
20984
|
+
}, null, 14, _hoisted_1$13)) : createCommentVNode("", true)], 2);
|
|
20820
20985
|
};
|
|
20821
20986
|
}
|
|
20822
20987
|
});
|
|
@@ -20861,7 +21026,7 @@ var FluxPercentageBar_default = /* @__PURE__ */ defineComponent({
|
|
|
20861
21026
|
});
|
|
20862
21027
|
//#endregion
|
|
20863
21028
|
//#region src/component/FluxPersona.vue?vue&type=script&setup=true&lang.ts
|
|
20864
|
-
var _hoisted_1$
|
|
21029
|
+
var _hoisted_1$12 = { key: 0 };
|
|
20865
21030
|
//#endregion
|
|
20866
21031
|
//#region src/component/FluxPersona.vue
|
|
20867
21032
|
var FluxPersona_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20901,14 +21066,14 @@ var FluxPersona_default = /* @__PURE__ */ defineComponent({
|
|
|
20901
21066
|
]), !__props.isCompact ? (openBlock(), createElementBlock("div", {
|
|
20902
21067
|
key: 0,
|
|
20903
21068
|
class: normalizeClass(unref(Avatar_module_default).personaDetails)
|
|
20904
|
-
}, [createElementVNode("strong", null, toDisplayString(__props.name), 1), __props.title ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
21069
|
+
}, [createElementVNode("strong", null, toDisplayString(__props.name), 1), __props.title ? (openBlock(), createElementBlock("span", _hoisted_1$12, toDisplayString(__props.title), 1)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)], 2);
|
|
20905
21070
|
};
|
|
20906
21071
|
}
|
|
20907
21072
|
});
|
|
20908
21073
|
//#endregion
|
|
20909
21074
|
//#region src/component/FluxPlaceholder.vue?vue&type=script&setup=true&lang.ts
|
|
20910
|
-
var _hoisted_1$
|
|
20911
|
-
var _hoisted_2$
|
|
21075
|
+
var _hoisted_1$11 = { key: 0 };
|
|
21076
|
+
var _hoisted_2$5 = { key: 1 };
|
|
20912
21077
|
//#endregion
|
|
20913
21078
|
//#region src/component/FluxPlaceholder.vue
|
|
20914
21079
|
var FluxPlaceholder_default = /* @__PURE__ */ defineComponent({
|
|
@@ -20937,7 +21102,7 @@ var FluxPlaceholder_default = /* @__PURE__ */ defineComponent({
|
|
|
20937
21102
|
class: normalizeClass(unref(Placeholder_module_default).placeholderIcon),
|
|
20938
21103
|
name: __props.icon
|
|
20939
21104
|
}, null, 8, ["class", "name"])) : createCommentVNode("", true),
|
|
20940
|
-
createElementVNode("div", { class: normalizeClass(unref(Placeholder_module_default).placeholderCaption) }, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$
|
|
21105
|
+
createElementVNode("div", { class: normalizeClass(unref(Placeholder_module_default).placeholderCaption) }, [__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$11, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.message ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(__props.message), 1)) : createCommentVNode("", true)], 2),
|
|
20941
21106
|
renderSlot(_ctx.$slots, "default")
|
|
20942
21107
|
], 2);
|
|
20943
21108
|
};
|
|
@@ -21163,7 +21328,7 @@ var FluxPublishButton_default = /* @__PURE__ */ defineComponent({
|
|
|
21163
21328
|
});
|
|
21164
21329
|
//#endregion
|
|
21165
21330
|
//#region src/component/FluxQuantitySelector.vue?vue&type=script&setup=true&lang.ts
|
|
21166
|
-
var _hoisted_1$
|
|
21331
|
+
var _hoisted_1$10 = [
|
|
21167
21332
|
"disabled",
|
|
21168
21333
|
"max",
|
|
21169
21334
|
"min",
|
|
@@ -21236,7 +21401,7 @@ var FluxQuantitySelector_default = /* @__PURE__ */ defineComponent({
|
|
|
21236
21401
|
max: __props.max,
|
|
21237
21402
|
min: __props.min,
|
|
21238
21403
|
step: __props.step
|
|
21239
|
-
}, null, 14, _hoisted_1$
|
|
21404
|
+
}, null, 14, _hoisted_1$10), [[vModelText, modelValue.value]]),
|
|
21240
21405
|
createVNode(FluxSecondaryButton_default, {
|
|
21241
21406
|
class: normalizeClass(unref(Form_module_default).quantitySelectorButton),
|
|
21242
21407
|
disabled: unref(disabled) || modelValue.value >= __props.max,
|
|
@@ -21283,7 +21448,7 @@ var Snackbar_module_default = {
|
|
|
21283
21448
|
};
|
|
21284
21449
|
//#endregion
|
|
21285
21450
|
//#region src/component/FluxSnackbar.vue?vue&type=script&setup=true&lang.ts
|
|
21286
|
-
var _hoisted_1$
|
|
21451
|
+
var _hoisted_1$9 = ["onClick"];
|
|
21287
21452
|
//#endregion
|
|
21288
21453
|
//#region src/component/FluxSnackbar.vue
|
|
21289
21454
|
var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
@@ -21399,7 +21564,7 @@ var FluxSnackbar_default = /* @__PURE__ */ defineComponent({
|
|
|
21399
21564
|
tabindex: "-1",
|
|
21400
21565
|
type: "button",
|
|
21401
21566
|
onClick: ($event) => onAction(actionKey)
|
|
21402
|
-
}, [createElementVNode("span", null, toDisplayString(actionLabel), 1)], 10, _hoisted_1$
|
|
21567
|
+
}, [createElementVNode("span", null, toDisplayString(actionLabel), 1)], 10, _hoisted_1$9);
|
|
21403
21568
|
}), 128))], 2)) : createCommentVNode("", true),
|
|
21404
21569
|
__props.isCloseable ? (openBlock(), createBlock(FluxAction_default, {
|
|
21405
21570
|
key: 1,
|
|
@@ -21602,7 +21767,7 @@ var Root_module_default = {
|
|
|
21602
21767
|
};
|
|
21603
21768
|
//#endregion
|
|
21604
21769
|
//#region src/component/FluxRoot.vue?vue&type=script&setup=true&lang.ts
|
|
21605
|
-
var _hoisted_1$
|
|
21770
|
+
var _hoisted_1$8 = ["inert"];
|
|
21606
21771
|
//#endregion
|
|
21607
21772
|
//#region src/component/FluxRoot.vue
|
|
21608
21773
|
var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
@@ -21620,7 +21785,7 @@ var FluxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
21620
21785
|
createElementVNode("div", mergeProps($attrs, {
|
|
21621
21786
|
class: unref(Root_module_default).root,
|
|
21622
21787
|
inert: unref(inertMain)
|
|
21623
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
21788
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$8),
|
|
21624
21789
|
createVNode(FluxOverlayProvider_default),
|
|
21625
21790
|
createVNode(FluxSnackbarProvider_default),
|
|
21626
21791
|
createVNode(FluxTooltipProvider_default)
|
|
@@ -21758,8 +21923,8 @@ var SegmentedControl_module_default = {
|
|
|
21758
21923
|
};
|
|
21759
21924
|
//#endregion
|
|
21760
21925
|
//#region src/component/FluxSegmentedControl.vue?vue&type=script&setup=true&lang.ts
|
|
21761
|
-
var _hoisted_1$
|
|
21762
|
-
var _hoisted_2$
|
|
21926
|
+
var _hoisted_1$7 = ["aria-label"];
|
|
21927
|
+
var _hoisted_2$4 = [
|
|
21763
21928
|
"aria-checked",
|
|
21764
21929
|
"aria-label",
|
|
21765
21930
|
"tabindex",
|
|
@@ -21865,8 +22030,8 @@ var FluxSegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
21865
22030
|
key: 0,
|
|
21866
22031
|
name: item.icon,
|
|
21867
22032
|
size: 15
|
|
21868
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), item.label ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(item.label), 1)) : createCommentVNode("", true)], 10, _hoisted_2$
|
|
21869
|
-
}), 256))], 42, _hoisted_1$
|
|
22033
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), item.label ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(item.label), 1)) : createCommentVNode("", true)], 10, _hoisted_2$4)], 64);
|
|
22034
|
+
}), 256))], 42, _hoisted_1$7);
|
|
21870
22035
|
};
|
|
21871
22036
|
}
|
|
21872
22037
|
});
|
|
@@ -21995,7 +22160,7 @@ var FluxSplitViewPane_default = /* @__PURE__ */ defineComponent({
|
|
|
21995
22160
|
});
|
|
21996
22161
|
//#endregion
|
|
21997
22162
|
//#region src/component/FluxSplitView.vue?vue&type=script&setup=true&lang.ts
|
|
21998
|
-
var _hoisted_1$
|
|
22163
|
+
var _hoisted_1$6 = [
|
|
21999
22164
|
"aria-orientation",
|
|
22000
22165
|
"aria-valuenow",
|
|
22001
22166
|
"tabindex",
|
|
@@ -22060,7 +22225,7 @@ var FluxSplitView_default = /* @__PURE__ */ defineComponent({
|
|
|
22060
22225
|
tabindex: pane.isResizable ? 0 : -1,
|
|
22061
22226
|
onPointerdown: ($event) => unref(onHandlePointerDown)($event, index),
|
|
22062
22227
|
onKeydown: ($event) => unref(onHandleKeyDown)($event, index)
|
|
22063
|
-
}, null, 42, _hoisted_1$
|
|
22228
|
+
}, null, 42, _hoisted_1$6)) : createCommentVNode("", true)], 64);
|
|
22064
22229
|
}), 128))]),
|
|
22065
22230
|
_: 1
|
|
22066
22231
|
}, 8, ["class", "style"]);
|
|
@@ -22085,8 +22250,8 @@ var Statistic_module_default = {
|
|
|
22085
22250
|
};
|
|
22086
22251
|
//#endregion
|
|
22087
22252
|
//#region src/component/FluxStatistic.vue?vue&type=script&setup=true&lang.ts
|
|
22088
|
-
var _hoisted_1$
|
|
22089
|
-
var _hoisted_2$
|
|
22253
|
+
var _hoisted_1$5 = { key: 1 };
|
|
22254
|
+
var _hoisted_2$3 = ["src", "alt"];
|
|
22090
22255
|
var _hoisted_3$1 = { key: 0 };
|
|
22091
22256
|
//#endregion
|
|
22092
22257
|
//#region src/component/FluxStatistic.vue
|
|
@@ -22122,11 +22287,11 @@ var FluxStatistic_default = /* @__PURE__ */ defineComponent({
|
|
|
22122
22287
|
"class",
|
|
22123
22288
|
"color",
|
|
22124
22289
|
"name"
|
|
22125
|
-
])) : __props.imageSrc ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22290
|
+
])) : __props.imageSrc ? (openBlock(), createElementBlock("div", _hoisted_1$5, [createElementVNode("img", {
|
|
22126
22291
|
class: normalizeClass(unref(Statistic_module_default).statisticImage),
|
|
22127
22292
|
src: __props.imageSrc,
|
|
22128
22293
|
alt: __props.imageAlt
|
|
22129
|
-
}, null, 10, _hoisted_2$
|
|
22294
|
+
}, null, 10, _hoisted_2$3)])) : createCommentVNode("", true),
|
|
22130
22295
|
createElementVNode("div", { class: normalizeClass(unref(Statistic_module_default).statisticData) }, [createElementVNode("span", null, toDisplayString(__props.label), 1), createElementVNode("strong", null, toDisplayString(__props.value ?? unref(Z$2)), 1)], 2),
|
|
22131
22296
|
__props.changeIcon || __props.changeValue ? (openBlock(), createElementBlock("div", {
|
|
22132
22297
|
key: 2,
|
|
@@ -22144,7 +22309,7 @@ var FluxStatistic_default = /* @__PURE__ */ defineComponent({
|
|
|
22144
22309
|
});
|
|
22145
22310
|
//#endregion
|
|
22146
22311
|
//#region src/css/component/Stepper.module.scss
|
|
22147
|
-
var { "
|
|
22312
|
+
var { "sparklesContainerActive": _0$2, "sparklesContainer": _1, "sparklesParticles": _2 } = {
|
|
22148
22313
|
sparklesContainer: `sparkles-container`,
|
|
22149
22314
|
sparklesParticles: `sparkles-particles`,
|
|
22150
22315
|
sparklesContainerActive: `sparkles-container-active`,
|
|
@@ -22155,17 +22320,17 @@ var { "sparklesContainer": _0$2, "sparklesContainerActive": _1, "sparklesParticl
|
|
|
22155
22320
|
var Stepper_module_default = {
|
|
22156
22321
|
stepperStep: `stepper-step`,
|
|
22157
22322
|
stepperSteps: `stepper-steps`,
|
|
22158
|
-
stepperStepsItem: `stepper-steps-item ${
|
|
22323
|
+
stepperStepsItem: `stepper-steps-item ${_1}`,
|
|
22159
22324
|
icon: `icon`,
|
|
22160
|
-
stepperStepsItemComplete: `stepper-steps-item-complete ${
|
|
22161
|
-
stepperStepsItemCurrent: `stepper-steps-item-current stepper-steps-item ${
|
|
22162
|
-
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${
|
|
22325
|
+
stepperStepsItemComplete: `stepper-steps-item-complete ${_0$2} stepper-steps-item ${_1}`,
|
|
22326
|
+
stepperStepsItemCurrent: `stepper-steps-item-current stepper-steps-item ${_1}`,
|
|
22327
|
+
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${_1}`,
|
|
22163
22328
|
stepperStepsItemParticles: `stepper-steps-item-particles ${_2}`
|
|
22164
22329
|
};
|
|
22165
22330
|
//#endregion
|
|
22166
22331
|
//#region src/component/FluxStepperSteps.vue?vue&type=script&setup=true&lang.ts
|
|
22167
|
-
var _hoisted_1$
|
|
22168
|
-
var _hoisted_2$
|
|
22332
|
+
var _hoisted_1$4 = ["onClick"];
|
|
22333
|
+
var _hoisted_2$2 = { key: 1 };
|
|
22169
22334
|
//#endregion
|
|
22170
22335
|
//#region src/component/FluxStepperSteps.vue
|
|
22171
22336
|
var FluxStepperSteps_default = /* @__PURE__ */ defineComponent({
|
|
@@ -22196,9 +22361,9 @@ var FluxStepperSteps_default = /* @__PURE__ */ defineComponent({
|
|
|
22196
22361
|
default: withCtx(() => [__props.current > step ? (openBlock(), createBlock(FluxIcon_default, {
|
|
22197
22362
|
key: 0,
|
|
22198
22363
|
name: "check"
|
|
22199
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
22364
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(step), 1))]),
|
|
22200
22365
|
_: 2
|
|
22201
|
-
}, 1024)], 10, _hoisted_1$
|
|
22366
|
+
}, 1024)], 10, _hoisted_1$4);
|
|
22202
22367
|
}), 128))], 6);
|
|
22203
22368
|
};
|
|
22204
22369
|
}
|
|
@@ -22485,7 +22650,7 @@ var FluxTabBar_default = /* @__PURE__ */ defineComponent({
|
|
|
22485
22650
|
});
|
|
22486
22651
|
//#endregion
|
|
22487
22652
|
//#region src/component/FluxTabBarItem.vue?vue&type=script&setup=true&lang.ts
|
|
22488
|
-
var _hoisted_1$
|
|
22653
|
+
var _hoisted_1$3 = { key: 1 };
|
|
22489
22654
|
//#endregion
|
|
22490
22655
|
//#region src/component/FluxTabBarItem.vue
|
|
22491
22656
|
var FluxTabBarItem_default = /* @__PURE__ */ defineComponent({
|
|
@@ -22577,7 +22742,7 @@ var FluxTabBarItem_default = /* @__PURE__ */ defineComponent({
|
|
|
22577
22742
|
key: 0,
|
|
22578
22743
|
name: __props.icon,
|
|
22579
22744
|
size: 16
|
|
22580
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), __props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
22745
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), __props.label ? (openBlock(), createElementBlock("span", _hoisted_1$3, toDisplayString(__props.label), 1)) : createCommentVNode("", true)]),
|
|
22581
22746
|
_: 1
|
|
22582
22747
|
}, 8, [
|
|
22583
22748
|
"component-type",
|
|
@@ -22696,79 +22861,6 @@ var FluxTableBar_default = /* @__PURE__ */ defineComponent({
|
|
|
22696
22861
|
}
|
|
22697
22862
|
});
|
|
22698
22863
|
//#endregion
|
|
22699
|
-
//#region src/component/FluxTableHeader.vue?vue&type=script&setup=true&lang.ts
|
|
22700
|
-
var _hoisted_1$3 = ["aria-sort"];
|
|
22701
|
-
var _hoisted_2$2 = ["aria-label", "onClick"];
|
|
22702
|
-
//#endregion
|
|
22703
|
-
//#region src/component/FluxTableHeader.vue
|
|
22704
|
-
var FluxTableHeader_default = /* @__PURE__ */ defineComponent({
|
|
22705
|
-
__name: "FluxTableHeader",
|
|
22706
|
-
props: {
|
|
22707
|
-
isShrinking: { type: Boolean },
|
|
22708
|
-
isSortable: { type: Boolean },
|
|
22709
|
-
isSticky: { type: Boolean },
|
|
22710
|
-
minWidth: { default: 0 },
|
|
22711
|
-
sort: {}
|
|
22712
|
-
},
|
|
22713
|
-
emits: ["sort"],
|
|
22714
|
-
setup(__props, { emit: $emit }) {
|
|
22715
|
-
const { isBordered } = useTableInjection_default();
|
|
22716
|
-
const translate = useTranslate_default();
|
|
22717
|
-
const sortingIcon = computed(() => {
|
|
22718
|
-
switch (__props.sort) {
|
|
22719
|
-
case "ascending": return "arrow-down-a-z";
|
|
22720
|
-
case "descending": return "arrow-up-a-z";
|
|
22721
|
-
default: return "arrow-up-arrow-down";
|
|
22722
|
-
}
|
|
22723
|
-
});
|
|
22724
|
-
return (_ctx, _cache) => {
|
|
22725
|
-
return openBlock(), createElementBlock("th", {
|
|
22726
|
-
class: normalizeClass(unref(clsx)(unref(Table_module_default).tableHeader, unref(isBordered) && unref(Table_module_default).isBordered, __props.isShrinking && unref(Table_module_default).isShrinking, __props.isSticky && unref(Table_module_default).isSticky)),
|
|
22727
|
-
scope: "col",
|
|
22728
|
-
"aria-sort": __props.isSortable ? __props.sort ?? "none" : void 0,
|
|
22729
|
-
style: normalizeStyle({ minWidth: `${__props.minWidth}px` })
|
|
22730
|
-
}, [createElementVNode("div", { class: normalizeClass(unref(Table_module_default).tableHeaderContent) }, [renderSlot(_ctx.$slots, "default"), __props.isSortable ? (openBlock(), createBlock(FluxFlyout_default, { key: 0 }, {
|
|
22731
|
-
opener: withCtx(({ open }) => [createElementVNode("button", {
|
|
22732
|
-
class: normalizeClass(unref(Table_module_default).tableSort),
|
|
22733
|
-
"aria-label": unref(translate)("flux.sort"),
|
|
22734
|
-
tabindex: "-1",
|
|
22735
|
-
type: "button",
|
|
22736
|
-
onClick: open
|
|
22737
|
-
}, [createVNode(FluxIcon_default, {
|
|
22738
|
-
size: 16,
|
|
22739
|
-
name: sortingIcon.value
|
|
22740
|
-
}, null, 8, ["name"])], 10, _hoisted_2$2)]),
|
|
22741
|
-
default: withCtx(() => [createVNode(FluxMenu_default, null, {
|
|
22742
|
-
default: withCtx(() => [createVNode(FluxMenuGroup_default, null, {
|
|
22743
|
-
default: withCtx(() => [createVNode(FluxMenuItem_default, {
|
|
22744
|
-
"is-highlighted": __props.sort === "ascending",
|
|
22745
|
-
"icon-leading": "arrow-down-a-z",
|
|
22746
|
-
label: unref(translate)("flux.sortAscending"),
|
|
22747
|
-
onClick: _cache[0] || (_cache[0] = ($event) => $emit("sort", "ascending"))
|
|
22748
|
-
}, null, 8, ["is-highlighted", "label"]), createVNode(FluxMenuItem_default, {
|
|
22749
|
-
"is-highlighted": __props.sort === "descending",
|
|
22750
|
-
"icon-leading": "arrow-up-a-z",
|
|
22751
|
-
label: unref(translate)("flux.sortDescending"),
|
|
22752
|
-
onClick: _cache[1] || (_cache[1] = ($event) => $emit("sort", "descending"))
|
|
22753
|
-
}, null, 8, ["is-highlighted", "label"])]),
|
|
22754
|
-
_: 1
|
|
22755
|
-
}), __props.sort ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createVNode(FluxSeparator_default), createVNode(FluxMenuGroup_default, null, {
|
|
22756
|
-
default: withCtx(() => [createVNode(FluxMenuItem_default, {
|
|
22757
|
-
"icon-leading": "circle-xmark",
|
|
22758
|
-
"is-destructive": "",
|
|
22759
|
-
label: unref(translate)("flux.sortRemove"),
|
|
22760
|
-
onClick: _cache[2] || (_cache[2] = ($event) => $emit("sort", null))
|
|
22761
|
-
}, null, 8, ["label"])]),
|
|
22762
|
-
_: 1
|
|
22763
|
-
})], 64)) : createCommentVNode("", true)]),
|
|
22764
|
-
_: 1
|
|
22765
|
-
})]),
|
|
22766
|
-
_: 1
|
|
22767
|
-
})) : createCommentVNode("", true)], 2)], 14, _hoisted_1$3);
|
|
22768
|
-
};
|
|
22769
|
-
}
|
|
22770
|
-
});
|
|
22771
|
-
//#endregion
|
|
22772
22864
|
//#region src/component/FluxTagStack.vue
|
|
22773
22865
|
var FluxTagStack_default = /* @__PURE__ */ defineComponent({
|
|
22774
22866
|
__name: "FluxTagStack",
|