@flux-ui/components 3.0.0-next.20 → 3.0.0-next.22
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/FluxMenuItem.vue.d.ts +1 -0
- package/dist/component/FluxMenuItem.vue.d.ts.map +1 -1
- package/dist/component/FluxStatistic.vue.d.ts +3 -1
- package/dist/component/FluxStatistic.vue.d.ts.map +1 -1
- package/dist/component/primitive/SelectBase.vue.d.ts +2 -0
- package/dist/component/primitive/SelectBase.vue.d.ts.map +1 -1
- package/dist/index.css +6 -0
- package/dist/index.js +84 -65
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/component/FluxMenuItem.vue +2 -1
- package/src/component/FluxStatistic.vue +13 -2
- package/src/component/primitive/SelectBase.vue +6 -0
- package/src/css/component/Statistic.module.scss +6 -0
|
@@ -3,6 +3,7 @@ type __VLS_Props = Omit<FluxButtonProps, 'isFilled' | 'isSubmit' | 'size'> & {
|
|
|
3
3
|
readonly command?: string;
|
|
4
4
|
readonly commandIcon?: FluxIconName;
|
|
5
5
|
readonly commandLoading?: boolean;
|
|
6
|
+
readonly imageAlt?: string;
|
|
6
7
|
readonly imageSrc?: string;
|
|
7
8
|
readonly isActive?: boolean;
|
|
8
9
|
readonly isDestructive?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxMenuItem.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxMenuItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FluxMenuItem.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxMenuItem.vue"],"names":[],"mappings":"AAwFI,OAAO,KAAK,EAAmB,eAAe,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AASrF,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC,GAAG;IACzE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;;;;;;;;;;AAkKN,wBAQG"}
|
|
@@ -5,7 +5,9 @@ type __VLS_Props = {
|
|
|
5
5
|
readonly changeValue?: string;
|
|
6
6
|
readonly color?: FluxColor;
|
|
7
7
|
readonly direction?: FluxDirection;
|
|
8
|
-
readonly icon
|
|
8
|
+
readonly icon?: FluxIconName;
|
|
9
|
+
readonly imageSrc?: string;
|
|
10
|
+
readonly imageAlt?: string;
|
|
9
11
|
readonly label: string;
|
|
10
12
|
readonly value: string;
|
|
11
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxStatistic.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxStatistic.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FluxStatistic.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxStatistic.vue"],"names":[],"mappings":"AAiFI,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM7E,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC;;AA4IN,wBAOG"}
|
|
@@ -216,6 +216,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
216
216
|
readonly command?: string;
|
|
217
217
|
readonly commandIcon?: import('@flux-ui/types').FluxIconName;
|
|
218
218
|
readonly commandLoading?: boolean;
|
|
219
|
+
readonly imageAlt?: string;
|
|
219
220
|
readonly imageSrc?: string;
|
|
220
221
|
readonly isActive?: boolean;
|
|
221
222
|
readonly isDestructive?: boolean;
|
|
@@ -242,6 +243,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
242
243
|
readonly command?: string;
|
|
243
244
|
readonly commandIcon?: import('@flux-ui/types').FluxIconName;
|
|
244
245
|
readonly commandLoading?: boolean;
|
|
246
|
+
readonly imageAlt?: string;
|
|
245
247
|
readonly imageSrc?: string;
|
|
246
248
|
readonly isActive?: boolean;
|
|
247
249
|
readonly isDestructive?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBase.vue.d.ts","sourceRoot":"","sources":["../../../src/component/primitive/SelectBase.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectBase.vue.d.ts","sourceRoot":"","sources":["../../../src/component/primitive/SelectBase.vue"],"names":[],"mappings":"AA6VI,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAElF,OAAO,EAAE,uBAAuB,EAAY,QAAQ,EAA4C,MAAM,KAAK,CAAC;AAqC5G,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,qBAAqB,EAAE,CAAC;IAC1C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;CAC7C,CAAC;AA0KN,KAAK,iBAAiB,GAAG;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8KgC,GAAG,8CAC9B,GACpB,yBAAyB,GAAG,6DAEvB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAJuC,GAAG,8CAC9B,GACpB,yBAAyB,GAAG,6DAEvB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2QT,wBAQG"}
|
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -3431,7 +3431,7 @@ const iconBoxedSuccess = `icon-boxed-success icon-boxed-colored icon-boxed ${_0$
|
|
|
3431
3431
|
const iconBoxedWarning = `icon-boxed-warning icon-boxed-colored icon-boxed ${_0$g}`;
|
|
3432
3432
|
const $style$I = { icon: icon$b, fontAwesomeIcon, materialSymbolIcon, iconBoxed: iconBoxed$1, iconBoxedDefault, iconBoxedColored, iconBoxedGray, iconBoxedPrimary, iconBoxedDanger, iconBoxedInfo, iconBoxedSuccess, iconBoxedWarning };
|
|
3433
3433
|
const _hoisted_1$I = ["viewBox"];
|
|
3434
|
-
const _hoisted_2$
|
|
3434
|
+
const _hoisted_2$j = ["d"];
|
|
3435
3435
|
const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
3436
3436
|
__name: "FluxIcon",
|
|
3437
3437
|
props: {
|
|
@@ -3476,7 +3476,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
3476
3476
|
return openBlock(), createElementBlock("path", {
|
|
3477
3477
|
d: path,
|
|
3478
3478
|
fill: "currentColor"
|
|
3479
|
-
}, null, 8, _hoisted_2$
|
|
3479
|
+
}, null, 8, _hoisted_2$j);
|
|
3480
3480
|
}), 256))
|
|
3481
3481
|
], 14, _hoisted_1$I)) : __props.name ? (openBlock(), createElementBlock("i", {
|
|
3482
3482
|
key: 1,
|
|
@@ -3713,12 +3713,12 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
3713
3713
|
};
|
|
3714
3714
|
}
|
|
3715
3715
|
});
|
|
3716
|
-
const { "
|
|
3717
|
-
const action$1 = `action ${
|
|
3716
|
+
const { "buttonLabel": _0$f, "buttonIcon": _1$8, "button": _2$5 } = cssModule0$4;
|
|
3717
|
+
const action$1 = `action ${_2$5}`;
|
|
3718
3718
|
const spinner$5 = `spinner`;
|
|
3719
3719
|
const actionIcon = `action-icon ${_1$8}`;
|
|
3720
3720
|
const isDestructive = `is-destructive`;
|
|
3721
|
-
const actionLabel = `action-label ${
|
|
3721
|
+
const actionLabel = `action-label ${_0$f}`;
|
|
3722
3722
|
const actionBar = `action-bar`;
|
|
3723
3723
|
const separator$4 = `separator`;
|
|
3724
3724
|
const formInput$3 = `form-input`;
|
|
@@ -4964,7 +4964,7 @@ const persona = `persona`;
|
|
|
4964
4964
|
const personaDetails = `persona-details`;
|
|
4965
4965
|
const $style$z = { avatar: avatar$2, avatarImage, avatarFallback, icon: icon$9, avatarFallbackColorized, avatarFallbackNeutral, avatarLoading, spinner: spinner$3, avatarStatus, avatarStatusGray, avatarStatusPrimary, avatarStatusDanger, avatarStatusInfo, avatarStatusSuccess, avatarStatusWarning, avatarClickable, statusAvatar, persona, personaDetails };
|
|
4966
4966
|
const _hoisted_1$F = ["alt", "src"];
|
|
4967
|
-
const _hoisted_2$
|
|
4967
|
+
const _hoisted_2$i = { key: 0 };
|
|
4968
4968
|
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
4969
4969
|
__name: "FluxAvatar",
|
|
4970
4970
|
props: {
|
|
@@ -5041,7 +5041,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
5041
5041
|
key: 1,
|
|
5042
5042
|
class: normalizeClass(__props.fallback === "colorized" ? unref($style$z).avatarFallbackColorized : unref($style$z).avatarFallbackNeutral)
|
|
5043
5043
|
}, [
|
|
5044
|
-
__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5044
|
+
__props.fallbackInitials ? (openBlock(), createElementBlock("span", _hoisted_2$i, toDisplayString(__props.fallbackInitials), 1)) : __props.fallbackIcon ? (openBlock(), createBlock(_sfc_main$2C, {
|
|
5045
5045
|
key: 1,
|
|
5046
5046
|
name: __props.fallbackIcon
|
|
5047
5047
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
@@ -5400,16 +5400,16 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
5400
5400
|
};
|
|
5401
5401
|
}
|
|
5402
5402
|
});
|
|
5403
|
-
const { "buttonIcon": _0$b, "
|
|
5403
|
+
const { "buttonIcon": _0$b, "button": _1$5, "buttonLabel": _2$2 } = cssModule0$4;
|
|
5404
5404
|
const menu$1 = `menu`;
|
|
5405
5405
|
const menuNormal = `menu-normal menu`;
|
|
5406
5406
|
const menuLarge = `menu-large menu`;
|
|
5407
5407
|
const menuGroup$1 = `menu-group`;
|
|
5408
5408
|
const menuGroupHorizontal = `menu-group-horizontal menu-group`;
|
|
5409
5409
|
const menuGroupVertical = `menu-group-vertical menu-group`;
|
|
5410
|
-
const menuItem$2 = `menu-item ${
|
|
5410
|
+
const menuItem$2 = `menu-item ${_1$5}`;
|
|
5411
5411
|
const menuItemIcon = `menu-item-icon ${_0$b}`;
|
|
5412
|
-
const menuItemLabel$2 = `menu-item-label ${
|
|
5412
|
+
const menuItemLabel$2 = `menu-item-label ${_2$2}`;
|
|
5413
5413
|
const menuItemActive = `menu-item-active`;
|
|
5414
5414
|
const menuItemDestructive = `menu-item-destructive`;
|
|
5415
5415
|
const menuItemHighlighted = `menu-item-highlighted`;
|
|
@@ -5429,7 +5429,7 @@ const divider$2 = `divider`;
|
|
|
5429
5429
|
const separator$3 = `separator`;
|
|
5430
5430
|
const expandableBody$1 = `expandable-body`;
|
|
5431
5431
|
const $style$x = { menu: menu$1, menuNormal, menuLarge, menuGroup: menuGroup$1, menuGroupHorizontal, menuGroupVertical, menuItem: menuItem$2, menuItemIcon, menuItemLabel: menuItemLabel$2, menuItemActive, menuItemDestructive, menuItemHighlighted, menuItemIndented, menuItemSelectableIcon, menuItemSelected, menuItemCommand, menuItemCommandIcon, icon: icon$7, menuItemImage, menuTitle, menuSubHeader: menuSubHeader$2, menuSubHeaderIcon, menuSubHeaderLabel, basePane: basePane$2, divider: divider$2, separator: separator$3, expandableBody: expandableBody$1 };
|
|
5432
|
-
const _hoisted_1$E = ["src"];
|
|
5432
|
+
const _hoisted_1$E = ["src", "alt"];
|
|
5433
5433
|
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
5434
5434
|
__name: "FluxMenuItem",
|
|
5435
5435
|
props: {
|
|
@@ -5447,6 +5447,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
5447
5447
|
command: {},
|
|
5448
5448
|
commandIcon: {},
|
|
5449
5449
|
commandLoading: { type: Boolean },
|
|
5450
|
+
imageAlt: {},
|
|
5450
5451
|
imageSrc: {},
|
|
5451
5452
|
isActive: { type: Boolean },
|
|
5452
5453
|
isDestructive: { type: Boolean },
|
|
@@ -5490,7 +5491,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
5490
5491
|
createElementVNode("img", {
|
|
5491
5492
|
class: normalizeClass(unref($style$x).menuItemImage),
|
|
5492
5493
|
src: __props.imageSrc,
|
|
5493
|
-
alt: ""
|
|
5494
|
+
alt: __props.imageAlt ?? ""
|
|
5494
5495
|
}, null, 10, _hoisted_1$E)
|
|
5495
5496
|
]),
|
|
5496
5497
|
key: "1"
|
|
@@ -5598,7 +5599,7 @@ const toggleIconOn = `toggle-icon-on toggle-icon`;
|
|
|
5598
5599
|
const toggleIconOff = `toggle-icon-off toggle-icon`;
|
|
5599
5600
|
const $style$w = { formInputGroup, buttonGroup, button: button$4, formInput: formInput$2, formSelect, formStructureElement, form, pane, formColumn, formSection, formRow, formSectionTitle, formField, formFieldHeader, formFieldLabel: formFieldLabel$1, formFieldOptional, formFieldValue, formFieldCounter, formFieldAddition, formFieldAdditionIcon, formFieldAdditionError, formFieldAdditionHint, isSecondary, formInputDisabled, formInputEnabled, formInputIcon, formInputIconTrailing, formInputIconLeading, formInputIconPasswordToggle, formInputNative, formInputNativeHasIconLeading, formInputNativeHasIconTrailing, formInputAddition, isCondensed, secondaryButton: secondaryButton$1, formDateInput, formDateRangeInput, formDateTimeInput, inputGroup, formTimeInput, isDisabled: isDisabled$4, isFocused, badge, formSelectIcon, formSelectInput, formSelectPlaceholder, formSelectPopup, menuItem: menuItem$1, isKeyboardAction, isSearchable, menuSubHeader: menuSubHeader$1, formSelectSelected, buttonLabel, formTextArea, formTextAreaDisabled, formTextAreaEnabled, checkbox, checkboxElement, checkboxNative, icon: icon$6, checkboxLabel, quantitySelector, quantitySelectorButton, quantitySelectorInput, pinInput, pinInputField, pinInputEnabled, pinInputDisabled, toggle, isChecked, toggleInput, isSwitch, toggleIcon, toggleIconOn, toggleIconOff };
|
|
5600
5601
|
const _hoisted_1$D = ["aria-disabled"];
|
|
5601
|
-
const _hoisted_2$
|
|
5602
|
+
const _hoisted_2$h = ["id", "autocomplete", "autofocus", "aria-disabled", "disabled", "max", "maxlength", "min", "placeholder", "readonly", "step", "type", "value"];
|
|
5602
5603
|
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
5603
5604
|
__name: "FluxFormInput",
|
|
5604
5605
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5755,7 +5756,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
5755
5756
|
onFocus: _cache[1] || (_cache[1] = ($event) => onFocus()),
|
|
5756
5757
|
onInput,
|
|
5757
5758
|
onKeydown: onKeyDown
|
|
5758
|
-
}, null, 42, _hoisted_2$
|
|
5759
|
+
}, null, 42, _hoisted_2$h),
|
|
5759
5760
|
__props.iconLeading ? (openBlock(), createBlock(_sfc_main$2C, {
|
|
5760
5761
|
key: 0,
|
|
5761
5762
|
class: normalizeClass(unref($style$w).formInputIconLeading),
|
|
@@ -6160,9 +6161,11 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
6160
6161
|
command: __props.selected[0].command,
|
|
6161
6162
|
"command-icon": __props.selected[0].commandIcon,
|
|
6162
6163
|
"icon-leading": __props.selected[0].icon,
|
|
6164
|
+
"image-alt": __props.selected[0].imageAlt,
|
|
6165
|
+
"image-src": __props.selected[0].imageSrc,
|
|
6163
6166
|
label: __props.selected[0].label,
|
|
6164
6167
|
tabindex: "-1"
|
|
6165
|
-
}, null, 8, ["class", "command", "command-icon", "icon-leading", "label"])) : __props.isMultiple && __props.selected[0] ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.selected, (option) => {
|
|
6168
|
+
}, null, 8, ["class", "command", "command-icon", "icon-leading", "image-alt", "image-src", "label"])) : __props.isMultiple && __props.selected[0] ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.selected, (option) => {
|
|
6166
6169
|
return openBlock(), createBlock(_sfc_main$1W, {
|
|
6167
6170
|
key: option.value ?? "null option",
|
|
6168
6171
|
label: option.label,
|
|
@@ -6242,12 +6245,14 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
6242
6245
|
command: subItem.command,
|
|
6243
6246
|
"command-icon": subItem.commandIcon,
|
|
6244
6247
|
"icon-leading": subItem.icon,
|
|
6248
|
+
"image-alt": subItem.imageAlt,
|
|
6249
|
+
"image-src": subItem.imageSrc,
|
|
6245
6250
|
"is-active": !!__props.selected.find((so) => so.value === subItem.value),
|
|
6246
6251
|
"is-highlighted": highlightedId.value === subItem.value,
|
|
6247
6252
|
label: subItem.label,
|
|
6248
6253
|
type: "button",
|
|
6249
6254
|
onClick: ($event) => select(subItem.value)
|
|
6250
|
-
}, null, 8, ["command", "command-icon", "icon-leading", "is-active", "is-highlighted", "label", "onClick"])) : createCommentVNode("", true)
|
|
6255
|
+
}, null, 8, ["command", "command-icon", "icon-leading", "image-alt", "image-src", "is-active", "is-highlighted", "label", "onClick"])) : createCommentVNode("", true)
|
|
6251
6256
|
], 64);
|
|
6252
6257
|
}), 256))
|
|
6253
6258
|
]),
|
|
@@ -6260,12 +6265,14 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
6260
6265
|
command: item.command,
|
|
6261
6266
|
"command-icon": item.commandIcon,
|
|
6262
6267
|
"icon-leading": item.icon,
|
|
6268
|
+
"image-alt": item.imageAlt,
|
|
6269
|
+
"image-src": item.imageSrc,
|
|
6263
6270
|
"is-active": !!__props.selected.find((so) => so.value === item.value),
|
|
6264
6271
|
"is-highlighted": highlightedId.value === item.value,
|
|
6265
6272
|
label: item.label,
|
|
6266
6273
|
type: "button",
|
|
6267
6274
|
onClick: ($event) => select(item.value)
|
|
6268
|
-
}, null, 8, ["command", "command-icon", "icon-leading", "is-active", "is-highlighted", "label", "onClick"])) : createCommentVNode("", true)
|
|
6275
|
+
}, null, 8, ["command", "command-icon", "icon-leading", "image-alt", "image-src", "is-active", "is-highlighted", "label", "onClick"])) : createCommentVNode("", true)
|
|
6269
6276
|
], 64);
|
|
6270
6277
|
}), 128))
|
|
6271
6278
|
]),
|
|
@@ -6848,7 +6855,7 @@ const datePickerDay = `date-picker-day`;
|
|
|
6848
6855
|
const button$3 = `button`;
|
|
6849
6856
|
const $style$s = { datePicker, datePickerDates, datePickerMonths, datePickerYears, datePickerHeader, datePickerHeaderView, datePickerHeaderViewButton, datePickerDate, isDisabled: isDisabled$1, isRangeEntry, isRangeEnd, isRangeStart, isSelectionEntry, isSelectionEnd, isSelectionStart, isSelected: isSelected$1, datePickerDatesGrid, datePickerDay, button: button$3 };
|
|
6850
6857
|
const _hoisted_1$z = ["onClick"];
|
|
6851
|
-
const _hoisted_2$
|
|
6858
|
+
const _hoisted_2$g = ["onClick"];
|
|
6852
6859
|
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
6853
6860
|
__name: "FluxCalendar",
|
|
6854
6861
|
props: {
|
|
@@ -6964,7 +6971,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
6964
6971
|
class: normalizeClass(unref($style$t).calendarCurrentYear),
|
|
6965
6972
|
type: "button",
|
|
6966
6973
|
onClick: open2
|
|
6967
|
-
}, toDisplayString(unref(viewYear)), 11, _hoisted_2$
|
|
6974
|
+
}, toDisplayString(unref(viewYear)), 11, _hoisted_2$g)
|
|
6968
6975
|
]),
|
|
6969
6976
|
default: withCtx(({ close: close2 }) => [
|
|
6970
6977
|
createElementVNode("div", {
|
|
@@ -7106,8 +7113,8 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
7106
7113
|
}
|
|
7107
7114
|
});
|
|
7108
7115
|
const _hoisted_1$y = ["for"];
|
|
7109
|
-
const _hoisted_2$
|
|
7110
|
-
const _hoisted_3$
|
|
7116
|
+
const _hoisted_2$f = ["id"];
|
|
7117
|
+
const _hoisted_3$6 = ["aria-checked"];
|
|
7111
7118
|
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
7112
7119
|
__name: "FluxCheckbox",
|
|
7113
7120
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -7139,7 +7146,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
7139
7146
|
type: "checkbox",
|
|
7140
7147
|
class: normalizeClass(unref($style$w).checkboxNative),
|
|
7141
7148
|
id: unref(id)
|
|
7142
|
-
}, null, 10, _hoisted_2$
|
|
7149
|
+
}, null, 10, _hoisted_2$f), [
|
|
7143
7150
|
[vModelCheckbox, modelValue.value]
|
|
7144
7151
|
]),
|
|
7145
7152
|
createElementVNode("button", {
|
|
@@ -7156,7 +7163,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
7156
7163
|
name: "check",
|
|
7157
7164
|
size: 16
|
|
7158
7165
|
}))
|
|
7159
|
-
], 10, _hoisted_3$
|
|
7166
|
+
], 10, _hoisted_3$6),
|
|
7160
7167
|
__props.label ? (openBlock(), createElementBlock("span", {
|
|
7161
7168
|
key: 0,
|
|
7162
7169
|
class: normalizeClass(unref($style$w).checkboxLabel)
|
|
@@ -7275,7 +7282,7 @@ const isTyping = `is-typing`;
|
|
|
7275
7282
|
const commentTyping = `comment-typing`;
|
|
7276
7283
|
const $style$q = { comment, avatar: avatar$1, commentContent, commentFooter, isReceived, isTyping, commentTyping };
|
|
7277
7284
|
const _hoisted_1$x = { key: 0 };
|
|
7278
|
-
const _hoisted_2$
|
|
7285
|
+
const _hoisted_2$e = ["datetime"];
|
|
7279
7286
|
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
7280
7287
|
__name: "FluxComment",
|
|
7281
7288
|
props: {
|
|
@@ -7326,7 +7333,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
7326
7333
|
iso.value && relative.value && !__props.isTyping ? (openBlock(), createElementBlock("time", {
|
|
7327
7334
|
key: 1,
|
|
7328
7335
|
datetime: iso.value
|
|
7329
|
-
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$
|
|
7336
|
+
}, toDisplayString(isJustNowVisible.value ? unref(translate)("flux.justNow") : relative.value), 9, _hoisted_2$e)) : createCommentVNode("", true)
|
|
7330
7337
|
], 2)
|
|
7331
7338
|
], 2);
|
|
7332
7339
|
};
|
|
@@ -8061,7 +8068,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
8061
8068
|
}
|
|
8062
8069
|
});
|
|
8063
8070
|
const _hoisted_1$s = ["onClick"];
|
|
8064
|
-
const _hoisted_2$
|
|
8071
|
+
const _hoisted_2$d = ["onClick"];
|
|
8065
8072
|
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
8066
8073
|
__name: "FluxColorSelect",
|
|
8067
8074
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -8112,7 +8119,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
8112
8119
|
name: "ellipsis-h",
|
|
8113
8120
|
size: 16
|
|
8114
8121
|
})
|
|
8115
|
-
], 10, _hoisted_2$
|
|
8122
|
+
], 10, _hoisted_2$d)
|
|
8116
8123
|
]),
|
|
8117
8124
|
default: withCtx(({ close: close2 }) => [
|
|
8118
8125
|
createVNode(_sfc_main$1D, {
|
|
@@ -8210,15 +8217,15 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
8210
8217
|
};
|
|
8211
8218
|
}
|
|
8212
8219
|
});
|
|
8213
|
-
const { "
|
|
8220
|
+
const { "secondaryButtonIcon": _0$7, "secondaryButton": _1$3, "secondaryButtonLabel": _2$1 } = $style$F;
|
|
8214
8221
|
const pagination = `pagination`;
|
|
8215
8222
|
const paginationButton = `pagination-button ${_1$3}`;
|
|
8216
8223
|
const secondaryButton = `secondary-button`;
|
|
8217
8224
|
const paginationButtonArrow = `pagination-button-arrow`;
|
|
8218
8225
|
const paginationButtonCurrent = `pagination-button-current`;
|
|
8219
8226
|
const paginationButtonSpacer = `pagination-button-spacer`;
|
|
8220
|
-
const paginationButtonIcon = `pagination-button-icon ${
|
|
8221
|
-
const paginationButtonLabel = `pagination-button-label ${
|
|
8227
|
+
const paginationButtonIcon = `pagination-button-icon ${_0$7}`;
|
|
8228
|
+
const paginationButtonLabel = `pagination-button-label ${_2$1}`;
|
|
8222
8229
|
const paginationBar = `pagination-bar`;
|
|
8223
8230
|
const paginationBarLimit = `pagination-bar-limit`;
|
|
8224
8231
|
const paginationBarLimitDisplayingOf = `pagination-bar-limit-displaying-of`;
|
|
@@ -8529,8 +8536,8 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
8529
8536
|
}
|
|
8530
8537
|
});
|
|
8531
8538
|
const _hoisted_1$q = { key: 0 };
|
|
8532
|
-
const _hoisted_2$
|
|
8533
|
-
const _hoisted_3$
|
|
8539
|
+
const _hoisted_2$c = { key: 1 };
|
|
8540
|
+
const _hoisted_3$5 = { key: 2 };
|
|
8534
8541
|
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
8535
8542
|
__name: "FluxTable",
|
|
8536
8543
|
props: {
|
|
@@ -8561,7 +8568,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
8561
8568
|
slots.header ? (openBlock(), createElementBlock("thead", _hoisted_1$q, [
|
|
8562
8569
|
renderSlot(_ctx.$slots, "header")
|
|
8563
8570
|
])) : createCommentVNode("", true),
|
|
8564
|
-
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$
|
|
8571
|
+
slots.default ? (openBlock(), createElementBlock("tbody", _hoisted_2$c, [
|
|
8565
8572
|
renderSlot(_ctx.$slots, "default"),
|
|
8566
8573
|
__props.fillColumns ? (openBlock(), createBlock(_sfc_main$1u, {
|
|
8567
8574
|
key: 0,
|
|
@@ -8575,7 +8582,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
8575
8582
|
_: 1
|
|
8576
8583
|
}, 8, ["class"])) : createCommentVNode("", true)
|
|
8577
8584
|
])) : createCommentVNode("", true),
|
|
8578
|
-
slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_3$
|
|
8585
|
+
slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_3$5, [
|
|
8579
8586
|
renderSlot(_ctx.$slots, "footer")
|
|
8580
8587
|
])) : createCommentVNode("", true),
|
|
8581
8588
|
slots.caption ? (openBlock(), createElementBlock("caption", {
|
|
@@ -8709,8 +8716,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
8709
8716
|
}
|
|
8710
8717
|
});
|
|
8711
8718
|
const _hoisted_1$p = ["id"];
|
|
8712
|
-
const _hoisted_2$
|
|
8713
|
-
const _hoisted_3$
|
|
8719
|
+
const _hoisted_2$b = ["aria-labelledby"];
|
|
8720
|
+
const _hoisted_3$4 = ["onClick", "onMouseover"];
|
|
8714
8721
|
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
8715
8722
|
__name: "FluxDatePicker",
|
|
8716
8723
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -8974,13 +8981,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
8974
8981
|
onClick: ($event) => setDate(date),
|
|
8975
8982
|
onMouseover: ($event) => onDateMouseOver(date),
|
|
8976
8983
|
onMouseout: onDateMouseOut
|
|
8977
|
-
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$
|
|
8984
|
+
}, toDisplayString(date.toLocaleString({ day: "numeric" })), 43, _hoisted_3$4);
|
|
8978
8985
|
}), 128))
|
|
8979
8986
|
], 2))
|
|
8980
8987
|
]),
|
|
8981
8988
|
_: 1
|
|
8982
8989
|
}, 8, ["is-back"])
|
|
8983
|
-
], 10, _hoisted_2$
|
|
8990
|
+
], 10, _hoisted_2$b)) : viewMode.value === "month" ? (openBlock(), createElementBlock("div", {
|
|
8984
8991
|
key: "month",
|
|
8985
8992
|
class: normalizeClass(unref($style$s).datePickerMonths)
|
|
8986
8993
|
}, [
|
|
@@ -9069,8 +9076,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
9069
9076
|
}
|
|
9070
9077
|
});
|
|
9071
9078
|
const _hoisted_1$o = ["id", "width", "height"];
|
|
9072
|
-
const _hoisted_2$
|
|
9073
|
-
const _hoisted_3$
|
|
9079
|
+
const _hoisted_2$a = ["r", "cx", "cy"];
|
|
9080
|
+
const _hoisted_3$3 = ["fill"];
|
|
9074
9081
|
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
9075
9082
|
__name: "FluxDotPattern",
|
|
9076
9083
|
props: {
|
|
@@ -9118,7 +9125,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
9118
9125
|
r: __props.cr,
|
|
9119
9126
|
cx: __props.width / 2 - __props.cx,
|
|
9120
9127
|
cy: __props.height / 2 - __props.cy
|
|
9121
|
-
}, null, 8, _hoisted_2$
|
|
9128
|
+
}, null, 8, _hoisted_2$a)
|
|
9122
9129
|
], 8, _hoisted_1$o)
|
|
9123
9130
|
]),
|
|
9124
9131
|
createElementVNode("rect", {
|
|
@@ -9126,7 +9133,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
9126
9133
|
height: "100%",
|
|
9127
9134
|
"stroke-width": "0",
|
|
9128
9135
|
fill: `url(#${unref(id)})`
|
|
9129
|
-
}, null, 8, _hoisted_3$
|
|
9136
|
+
}, null, 8, _hoisted_3$3)
|
|
9130
9137
|
], 2);
|
|
9131
9138
|
};
|
|
9132
9139
|
}
|
|
@@ -9143,7 +9150,7 @@ const dropZoneBorderAnimation = `drop-zone-border-animation`;
|
|
|
9143
9150
|
const dropZoneLoader = `drop-zone-loader`;
|
|
9144
9151
|
const $style$l = { dropZone, dropZoneContent, avatar, placeholder: placeholder$1, dropZoneActions, dropZoneBorder, isDragging, isDraggingOver, dropZoneBorderAnimation, dropZoneLoader };
|
|
9145
9152
|
const _hoisted_1$n = ["aria-disabled"];
|
|
9146
|
-
const _hoisted_2$
|
|
9153
|
+
const _hoisted_2$9 = ["pathLength"];
|
|
9147
9154
|
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
9148
9155
|
__name: "FluxDropZone",
|
|
9149
9156
|
props: {
|
|
@@ -9261,7 +9268,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
9261
9268
|
"stroke-linecap": "round",
|
|
9262
9269
|
"stroke-linejoin": "round",
|
|
9263
9270
|
pathLength: pathLength.value
|
|
9264
|
-
}, null, 8, _hoisted_2$
|
|
9271
|
+
}, null, 8, _hoisted_2$9)
|
|
9265
9272
|
], 2)),
|
|
9266
9273
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ isDragging: isDragging2.value, isDraggingOver: isDraggingOver2.value, showPicker }))),
|
|
9267
9274
|
createVNode(unref(_sfc_main$2e), null, {
|
|
@@ -9311,7 +9318,7 @@ const basePane$1 = `base-pane`;
|
|
|
9311
9318
|
const expandableGroup = `expandable-group`;
|
|
9312
9319
|
const $style$k = { expandable, expandableOpened, expandableHeader, icon: icon$4, expandableBody, expandableContent, basePane: basePane$1, expandableGroup };
|
|
9313
9320
|
const _hoisted_1$m = ["id", "aria-controls", "aria-expanded"];
|
|
9314
|
-
const _hoisted_2$
|
|
9321
|
+
const _hoisted_2$8 = ["id", "aria-labelledby"];
|
|
9315
9322
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
9316
9323
|
__name: "FluxExpandable",
|
|
9317
9324
|
props: {
|
|
@@ -9410,7 +9417,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
9410
9417
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ label: __props.label, close: close2 })))
|
|
9411
9418
|
], 2)
|
|
9412
9419
|
])
|
|
9413
|
-
], 10, _hoisted_2$
|
|
9420
|
+
], 10, _hoisted_2$8)) : createCommentVNode("", true)
|
|
9414
9421
|
]),
|
|
9415
9422
|
_: 3
|
|
9416
9423
|
})
|
|
@@ -10712,7 +10719,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
10712
10719
|
}
|
|
10713
10720
|
});
|
|
10714
10721
|
const _hoisted_1$h = ["id", "autofocus", "aria-disabled"];
|
|
10715
|
-
const _hoisted_2$
|
|
10722
|
+
const _hoisted_2$7 = ["autocomplete", "autofocus", "disabled", "tabindex", "type", "value"];
|
|
10716
10723
|
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
10717
10724
|
__name: "FluxFormPinInput",
|
|
10718
10725
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10817,7 +10824,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
10817
10824
|
onInput,
|
|
10818
10825
|
onKeydown: onKeyDown,
|
|
10819
10826
|
onPaste
|
|
10820
|
-
}, null, 42, _hoisted_2$
|
|
10827
|
+
}, null, 42, _hoisted_2$7);
|
|
10821
10828
|
}), 128))
|
|
10822
10829
|
], 14, _hoisted_1$h);
|
|
10823
10830
|
};
|
|
@@ -12058,8 +12065,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
12058
12065
|
}
|
|
12059
12066
|
});
|
|
12060
12067
|
const _hoisted_1$e = ["id", "width", "height"];
|
|
12061
|
-
const _hoisted_2$
|
|
12062
|
-
const _hoisted_3$
|
|
12068
|
+
const _hoisted_2$6 = ["d", "stroke-dasharray"];
|
|
12069
|
+
const _hoisted_3$2 = ["fill"];
|
|
12063
12070
|
const _hoisted_4 = {
|
|
12064
12071
|
key: 0,
|
|
12065
12072
|
style: { "overflow": "visible" }
|
|
@@ -12093,7 +12100,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
12093
12100
|
d: `M.5 ${__props.height}V.5H${__props.width}`,
|
|
12094
12101
|
fill: "none",
|
|
12095
12102
|
"stroke-dasharray": __props.strokeDasharray
|
|
12096
|
-
}, null, 8, _hoisted_2$
|
|
12103
|
+
}, null, 8, _hoisted_2$6)
|
|
12097
12104
|
], 8, _hoisted_1$e)
|
|
12098
12105
|
]),
|
|
12099
12106
|
createElementVNode("rect", {
|
|
@@ -12101,7 +12108,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
12101
12108
|
height: "100%",
|
|
12102
12109
|
"stroke-width": "0",
|
|
12103
12110
|
fill: `url(#${unref(id)})`
|
|
12104
|
-
}, null, 8, _hoisted_3$
|
|
12111
|
+
}, null, 8, _hoisted_3$2),
|
|
12105
12112
|
__props.squares ? (openBlock(), createElementBlock("svg", _hoisted_4, [
|
|
12106
12113
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.squares, ([x2, y2]) => {
|
|
12107
12114
|
return openBlock(), createElementBlock("rect", {
|
|
@@ -12162,9 +12169,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
12162
12169
|
};
|
|
12163
12170
|
}
|
|
12164
12171
|
});
|
|
12165
|
-
const { "
|
|
12166
|
-
const legendHorizontal = `legend-horizontal ${
|
|
12167
|
-
const legendVertical = `legend-vertical ${
|
|
12172
|
+
const { "stackVertical": _0$4, "stackHorizontal": _1$1 } = cssModule0$2;
|
|
12173
|
+
const legendHorizontal = `legend-horizontal ${_1$1}`;
|
|
12174
|
+
const legendVertical = `legend-vertical ${_0$4}`;
|
|
12168
12175
|
const legendItem = `legend-item`;
|
|
12169
12176
|
const $style$c = { legendHorizontal, legendVertical, legendItem };
|
|
12170
12177
|
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
@@ -12405,7 +12412,7 @@ const _sfc_main$E = defineComponent({
|
|
|
12405
12412
|
}
|
|
12406
12413
|
});
|
|
12407
12414
|
const _hoisted_1$d = { key: 0 };
|
|
12408
|
-
const _hoisted_2$
|
|
12415
|
+
const _hoisted_2$5 = { key: 1 };
|
|
12409
12416
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
12410
12417
|
__name: "FluxPaneHeader",
|
|
12411
12418
|
props: {
|
|
@@ -12430,7 +12437,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12430
12437
|
class: normalizeClass(unref($style$E).paneHeaderCaption)
|
|
12431
12438
|
}, [
|
|
12432
12439
|
__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$d, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
12433
|
-
__props.subTitle ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
12440
|
+
__props.subTitle ? (openBlock(), createElementBlock("span", _hoisted_2$5, toDisplayString(__props.subTitle), 1)) : createCommentVNode("", true)
|
|
12434
12441
|
], 2)) : createCommentVNode("", true),
|
|
12435
12442
|
renderSlot(_ctx.$slots, "after")
|
|
12436
12443
|
], 2);
|
|
@@ -12845,7 +12852,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
12845
12852
|
}
|
|
12846
12853
|
});
|
|
12847
12854
|
const _hoisted_1$a = { key: 0 };
|
|
12848
|
-
const _hoisted_2$
|
|
12855
|
+
const _hoisted_2$4 = { key: 1 };
|
|
12849
12856
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
12850
12857
|
__name: "FluxPlaceholder",
|
|
12851
12858
|
props: {
|
|
@@ -12882,7 +12889,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
12882
12889
|
class: normalizeClass(unref($style$g).placeholderCaption)
|
|
12883
12890
|
}, [
|
|
12884
12891
|
__props.title ? (openBlock(), createElementBlock("strong", _hoisted_1$a, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
12885
|
-
__props.message ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
12892
|
+
__props.message ? (openBlock(), createElementBlock("p", _hoisted_2$4, toDisplayString(__props.message), 1)) : createCommentVNode("", true)
|
|
12886
12893
|
], 2),
|
|
12887
12894
|
renderSlot(_ctx.$slots, "default")
|
|
12888
12895
|
], 2);
|
|
@@ -13690,10 +13697,13 @@ const isSuccess = `is-success`;
|
|
|
13690
13697
|
const isWarning = `is-warning`;
|
|
13691
13698
|
const statisticChange = `statistic-change`;
|
|
13692
13699
|
const statisticData = `statistic-data`;
|
|
13700
|
+
const statisticImage = `statistic-image`;
|
|
13693
13701
|
const statisticHorizontal = `statistic-horizontal statistic`;
|
|
13694
13702
|
const statisticVertical = `statistic-vertical statistic`;
|
|
13695
|
-
const $style$4 = { statistic, isGray, statisticIcon, isPrimary, isDanger, isInfo, isSuccess, isWarning, statisticChange, statisticData, statisticHorizontal, statisticVertical };
|
|
13696
|
-
const _hoisted_1$5 = { key:
|
|
13703
|
+
const $style$4 = { statistic, isGray, statisticIcon, isPrimary, isDanger, isInfo, isSuccess, isWarning, statisticChange, statisticData, statisticImage, statisticHorizontal, statisticVertical };
|
|
13704
|
+
const _hoisted_1$5 = { key: 1 };
|
|
13705
|
+
const _hoisted_2$3 = ["src", "alt"];
|
|
13706
|
+
const _hoisted_3$1 = { key: 0 };
|
|
13697
13707
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
13698
13708
|
__name: "FluxStatistic",
|
|
13699
13709
|
props: {
|
|
@@ -13703,6 +13713,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
13703
13713
|
color: { default: "gray" },
|
|
13704
13714
|
direction: { default: "horizontal" },
|
|
13705
13715
|
icon: {},
|
|
13716
|
+
imageSrc: {},
|
|
13717
|
+
imageAlt: {},
|
|
13706
13718
|
label: {},
|
|
13707
13719
|
value: {}
|
|
13708
13720
|
},
|
|
@@ -13721,14 +13733,21 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
13721
13733
|
))
|
|
13722
13734
|
}, {
|
|
13723
13735
|
default: withCtx(() => [
|
|
13724
|
-
|
|
13736
|
+
__props.icon ? (openBlock(), createElementBlock("div", {
|
|
13737
|
+
key: 0,
|
|
13725
13738
|
class: normalizeClass(unref($style$4).statisticIcon)
|
|
13726
13739
|
}, [
|
|
13727
13740
|
createVNode(_sfc_main$2C, {
|
|
13728
13741
|
name: __props.icon,
|
|
13729
13742
|
size: 24
|
|
13730
13743
|
}, null, 8, ["name"])
|
|
13731
|
-
], 2),
|
|
13744
|
+
], 2)) : __props.imageSrc ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
13745
|
+
createElementVNode("img", {
|
|
13746
|
+
class: normalizeClass(unref($style$4).statisticImage),
|
|
13747
|
+
src: __props.imageSrc,
|
|
13748
|
+
alt: __props.imageAlt
|
|
13749
|
+
}, null, 10, _hoisted_2$3)
|
|
13750
|
+
])) : createCommentVNode("", true),
|
|
13732
13751
|
createElementVNode("div", {
|
|
13733
13752
|
class: normalizeClass(unref($style$4).statisticData)
|
|
13734
13753
|
}, [
|
|
@@ -13736,7 +13755,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
13736
13755
|
createElementVNode("strong", null, toDisplayString(__props.value), 1)
|
|
13737
13756
|
], 2),
|
|
13738
13757
|
__props.changeIcon || __props.changeValue ? (openBlock(), createElementBlock("div", {
|
|
13739
|
-
key:
|
|
13758
|
+
key: 2,
|
|
13740
13759
|
class: normalizeClass(unref(clsx)(
|
|
13741
13760
|
unref($style$4).statisticChange,
|
|
13742
13761
|
__props.changeColor === "gray" && unref($style$4).isGray,
|
|
@@ -13747,7 +13766,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
13747
13766
|
__props.changeColor === "warning" && unref($style$4).isWarning
|
|
13748
13767
|
))
|
|
13749
13768
|
}, [
|
|
13750
|
-
__props.changeValue ? (openBlock(), createElementBlock("span",
|
|
13769
|
+
__props.changeValue ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(__props.changeValue), 1)) : createCommentVNode("", true),
|
|
13751
13770
|
__props.changeIcon ? (openBlock(), createBlock(_sfc_main$2C, {
|
|
13752
13771
|
key: 1,
|
|
13753
13772
|
name: __props.changeIcon,
|