eco-vue-js 0.11.57 → 0.11.58
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/assets/icons/IconAdd.svg.js +2 -2
- package/dist/assets/icons/IconAddCircle.svg.js +2 -2
- package/dist/assets/icons/IconAddSquare.svg.js +2 -2
- package/dist/assets/icons/IconAlarm.svg.js +2 -2
- package/dist/assets/icons/IconArchiveBook.svg.js +2 -2
- package/dist/assets/icons/IconArrow.svg.js +2 -2
- package/dist/assets/icons/IconBack.svg.js +2 -2
- package/dist/assets/icons/IconBold.svg.js +2 -2
- package/dist/assets/icons/IconCancel.svg.js +2 -2
- package/dist/assets/icons/IconCandle.svg.js +2 -2
- package/dist/assets/icons/IconCelery.svg.js +2 -2
- package/dist/assets/icons/IconChart.svg.js +2 -2
- package/dist/assets/icons/IconCheck.svg.js +2 -2
- package/dist/assets/icons/IconCheckCircle.svg.js +2 -2
- package/dist/assets/icons/IconClose.svg.js +2 -2
- package/dist/assets/icons/IconCloseCircle.svg.js +2 -2
- package/dist/assets/icons/IconCodeBlock.svg.js +2 -2
- package/dist/assets/icons/IconCodeInline.svg.js +2 -2
- package/dist/assets/icons/IconCopy.svg.js +2 -2
- package/dist/assets/icons/IconCopySuccess.svg.js +2 -2
- package/dist/assets/icons/IconCopyright.svg.js +2 -2
- package/dist/assets/icons/IconDanger.svg.js +2 -2
- package/dist/assets/icons/IconDojo.svg.js +2 -2
- package/dist/assets/icons/IconDrag.svg.js +2 -2
- package/dist/assets/icons/IconEdit.svg.js +2 -2
- package/dist/assets/icons/IconEditCircle.svg.js +2 -2
- package/dist/assets/icons/IconEditSquare.svg.js +2 -2
- package/dist/assets/icons/IconElement.svg.js +2 -2
- package/dist/assets/icons/IconExport.svg.js +2 -2
- package/dist/assets/icons/IconEye.svg.js +2 -2
- package/dist/assets/icons/IconEyeSlash.svg.js +2 -2
- package/dist/assets/icons/IconFilter.svg.js +2 -2
- package/dist/assets/icons/IconFilterRemove.svg.js +2 -2
- package/dist/assets/icons/IconFinding.svg.js +2 -2
- package/dist/assets/icons/IconFolder.svg.js +2 -2
- package/dist/assets/icons/IconFolderAdd.svg.js +2 -2
- package/dist/assets/icons/IconFolderCross.svg.js +2 -2
- package/dist/assets/icons/IconGrid.svg.js +2 -2
- package/dist/assets/icons/IconHeading.svg.js +2 -2
- package/dist/assets/icons/IconItalic.svg.js +2 -2
- package/dist/assets/icons/IconJira.svg.js +2 -2
- package/dist/assets/icons/IconKey.svg.js +2 -2
- package/dist/assets/icons/IconKeySquare.svg.js +2 -2
- package/dist/assets/icons/IconLayer.svg.js +2 -2
- package/dist/assets/icons/IconLink.svg.js +2 -2
- package/dist/assets/icons/IconLinkBold.svg.js +2 -2
- package/dist/assets/icons/IconLinkOutline.svg.js +2 -2
- package/dist/assets/icons/IconLinkedIn.svg.js +2 -2
- package/dist/assets/icons/IconList.svg.js +2 -2
- package/dist/assets/icons/IconListBullet.svg.js +2 -2
- package/dist/assets/icons/IconListCheckbox.svg.js +2 -2
- package/dist/assets/icons/IconListDecrease.svg.js +2 -2
- package/dist/assets/icons/IconListIncrease.svg.js +2 -2
- package/dist/assets/icons/IconListNumbered.svg.js +2 -2
- package/dist/assets/icons/IconListSettings.svg.js +2 -2
- package/dist/assets/icons/IconLock.svg.js +2 -2
- package/dist/assets/icons/IconLockOff.svg.js +2 -2
- package/dist/assets/icons/IconLogout.svg.js +2 -2
- package/dist/assets/icons/IconMenu.svg.js +2 -2
- package/dist/assets/icons/IconMinusCircle.svg.js +2 -2
- package/dist/assets/icons/IconMoon.svg.js +2 -2
- package/dist/assets/icons/IconMore.svg.js +2 -2
- package/dist/assets/icons/IconNegate.svg.js +2 -2
- package/dist/assets/icons/IconNegativeInfo.svg.js +2 -2
- package/dist/assets/icons/IconNote.svg.js +2 -2
- package/dist/assets/icons/IconPaste.svg.js +2 -2
- package/dist/assets/icons/IconProfile.svg.js +2 -2
- package/dist/assets/icons/IconQuote.svg.js +2 -2
- package/dist/assets/icons/IconRadar.svg.js +2 -2
- package/dist/assets/icons/IconRange.svg.js +2 -2
- package/dist/assets/icons/IconRedo.svg.js +2 -2
- package/dist/assets/icons/IconRefresh.svg.js +2 -2
- package/dist/assets/icons/IconSearch.svg.js +2 -2
- package/dist/assets/icons/IconSettings.svg.js +2 -2
- package/dist/assets/icons/IconShift.svg.js +2 -2
- package/dist/assets/icons/IconSlash.svg.js +2 -2
- package/dist/assets/icons/IconSort.svg.js +2 -2
- package/dist/assets/icons/IconStar.svg.js +2 -2
- package/dist/assets/icons/IconStrikethrough.svg.js +2 -2
- package/dist/assets/icons/IconSuccess.svg.js +2 -2
- package/dist/assets/icons/IconSummary.svg.js +2 -2
- package/dist/assets/icons/IconSun.svg.js +2 -2
- package/dist/assets/icons/IconTable.svg.js +2 -2
- package/dist/assets/icons/IconTableCollapsed.svg.js +2 -2
- package/dist/assets/icons/IconTag.svg.js +2 -2
- package/dist/assets/icons/IconTask.svg.js +2 -2
- package/dist/assets/icons/IconTime.svg.js +2 -2
- package/dist/assets/icons/IconTrash.svg.js +2 -2
- package/dist/assets/icons/IconUnderline.svg.js +2 -2
- package/dist/assets/icons/IconUndo.svg.js +2 -2
- package/dist/assets/icons/IconUser.svg.js +2 -2
- package/dist/assets/icons/IconVersionControl.svg.js +2 -2
- package/dist/assets/icons/IconWarn.svg.js +2 -2
- package/dist/assets/icons/IconWeight.svg.js +2 -2
- package/dist/components/ActionsBar/WActionsBar.vue.js +3 -3
- package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -1
- package/dist/components/Button/WButton.vue.js +15 -15
- package/dist/components/Button/WButtonAction.vue.js +21 -21
- package/dist/components/Button/WButtonDropdown.vue.js +9 -9
- package/dist/components/Button/WButtonGroup.vue.js +16 -19
- package/dist/components/Button/WButtonInput.vue.js +11 -11
- package/dist/components/Button/WButtonMore.vue.js +17 -17
- package/dist/components/Button/WButtonMoreItem.vue.js +6 -6
- package/dist/components/Button/WButtonSelection.vue.js +3 -3
- package/dist/components/Button/WButtonSelectionAction.vue.js +14 -14
- package/dist/components/Button/WButtonTab.vue.js +38 -38
- package/dist/components/Button/WButtonUnselect.vue.js +7 -7
- package/dist/components/Chart/WChartLine.vue.js +18 -18
- package/dist/components/Chart/WChartLinear.vue.js +9 -9
- package/dist/components/Chart/components/ChartAxis.vue.js +6 -6
- package/dist/components/Checkbox/WCheckbox.vue.js +30 -30
- package/dist/components/Checkbox/WCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckboxGroup.vue.js +17 -20
- package/dist/components/Checkbox/WCheckboxGroupMultiple.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckboxGroupMultiple.vue.js +16 -19
- package/dist/components/Chip/WChip.vue.js +2 -2
- package/dist/components/Counter/WCounter.vue.js +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +2 -2
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +2 -2
- package/dist/components/DatePicker/components/CalendarDay.vue.js +9 -9
- package/dist/components/DatePicker/components/CalendarMonth.vue.js +7 -7
- package/dist/components/DatePicker/components/CalendarToggle.vue.js +2 -2
- package/dist/components/DatePicker/components/CalendarValue.vue.js +3 -3
- package/dist/components/DatePicker/components/CalendarWeek.vue.js +7 -7
- package/dist/components/Dismissable/WDismissable.vue.js +2 -2
- package/dist/components/DragContainer/WDragContainer.vue.js +2 -2
- package/dist/components/DragContainer/components/DragItem.vue.js +5 -5
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +8 -8
- package/dist/components/Expansion/WExpansion.vue.js +2 -2
- package/dist/components/Expansion/WExpansionItem.vue.js +7 -7
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +37 -37
- package/dist/components/FieldWrapper/components/FilterButton.vue.js +5 -5
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +17 -17
- package/dist/components/FilePicker/components/FilePickerItem.vue.js +2 -2
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.js +7 -7
- package/dist/components/FilterWrapper/WFilterWrapper.vue.js +1 -1
- package/dist/components/Form/WForm.vue.js +1 -1
- package/dist/components/Form/WFormValidator.vue.js +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +5 -5
- package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +5 -5
- package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts +2 -2
- package/dist/components/FormAsync/WFormAsyncInput.vue.js +5 -5
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncToggle.vue.js +2 -2
- package/dist/components/HeaderBar/WHeaderBar.vue.js +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +6 -6
- package/dist/components/ImageViewer/components/ImageModal.vue2.js +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +20 -20
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +3 -3
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +3 -3
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +16 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +15 -15
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +2 -2
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +23 -23
- package/dist/components/InfoCard/WInfoCard.vue.js +5 -5
- package/dist/components/InfoCard/WInfoCardNegative.vue.js +2 -2
- package/dist/components/Input/WInput.vue.d.ts +15 -1
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +70 -80
- package/dist/components/Input/WInputAsync.vue.d.ts +2 -2
- package/dist/components/Input/WInputAsync.vue.js +16 -16
- package/dist/components/Input/WInputDate.vue.js +7 -7
- package/dist/components/Input/WInputOptions.vue.js +6 -6
- package/dist/components/Input/WInputSuggest.vue.d.ts +12 -1
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +18 -18
- package/dist/components/Input/WInputToolbarButton.vue.js +14 -14
- package/dist/components/Input/components/ContentEditable.vue2.js +1 -1
- package/dist/components/Input/components/InputActions.vue.js +12 -12
- package/dist/components/Input/components/InputActionsButton.vue.js +12 -12
- package/dist/components/Input/components/InputToolbar.vue2.js +7 -13
- package/dist/components/Input/components/InputToolbarButton.vue.js +11 -11
- package/dist/components/Link/WLink.vue.js +5 -5
- package/dist/components/Link/WLinkArrow.vue.js +2 -2
- package/dist/components/List/WList.vue.js +49 -49
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +57 -57
- package/dist/components/List/WListCardField.vue.js +3 -3
- package/dist/components/List/WListFilter.vue.js +8 -8
- package/dist/components/List/WListHeader.vue.js +7 -7
- package/dist/components/List/WListHeaderItem.vue.js +14 -14
- package/dist/components/List/components/HeaderFieldNested.vue.js +6 -6
- package/dist/components/List/components/HeaderSettings.vue.js +13 -13
- package/dist/components/List/components/HeaderSettingsList.vue.js +16 -16
- package/dist/components/List/components/HeaderSettingsModeButton.vue.js +5 -5
- package/dist/components/List/components/HeaderSort.vue.js +5 -5
- package/dist/components/List/components/HeaderSortItem.vue.js +5 -5
- package/dist/components/List/components/ListCardAction.vue.js +3 -3
- package/dist/components/List/components/ListCardFieldNested.vue.js +20 -20
- package/dist/components/List/components/ListCardFieldNestedItem.vue.js +2 -2
- package/dist/components/List/components/ListFilterGlobal.vue2.js +13 -13
- package/dist/components/List/components/ListFilterGlobalItem.vue.js +14 -14
- package/dist/components/List/components/ListFilterLocal.vue2.js +13 -14
- package/dist/components/List/components/ListFilterSearch.vue.js +2 -2
- package/dist/components/List/components/ListFilterSelect.vue.js +4 -4
- package/dist/components/MenuItem/WMenuItem.vue.js +12 -12
- package/dist/components/Modal/WModal.vue.js +1 -1
- package/dist/components/Modal/WModalExport.vue.js +4 -4
- package/dist/components/Modal/WModalExportSimple.vue.js +4 -4
- package/dist/components/Modal/WModalImport.vue.js +3 -3
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue.js +20 -20
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.js +10 -10
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +22 -22
- package/dist/components/Nav/WNavBar.vue.js +2 -2
- package/dist/components/Nav/WNavItem.vue.js +14 -14
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.js +15 -15
- package/dist/components/Notify/components/NotifyCard.vue.js +11 -11
- package/dist/components/NumberFormatter/WNumberFormatter.vue.js +4 -4
- package/dist/components/Page/WPage.vue.js +17 -17
- package/dist/components/Page/WPageTitle.vue.js +3 -3
- package/dist/components/Progress/WProgress.vue.js +1 -1
- package/dist/components/Progress/WProgressStriped.vue.js +9 -9
- package/dist/components/RouterLink/WRouterLink.vue.js +1 -1
- package/dist/components/Select/WSelect.vue.js +25 -25
- package/dist/components/Select/WSelectAsync.vue.js +27 -27
- package/dist/components/Select/WSelectAsyncList.vue.js +12 -12
- package/dist/components/Select/WSelectAsyncSingle.vue.js +7 -7
- package/dist/components/Select/WSelectSingle.vue.js +6 -6
- package/dist/components/Select/WSelectStringified.vue.js +2 -2
- package/dist/components/Select/components/SelectAsyncList.vue.js +33 -33
- package/dist/components/Select/components/SelectAsyncPrefix.vue.js +17 -17
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +10 -10
- package/dist/components/Select/components/SelectOption.vue.d.ts +15 -1
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOption.vue.js +10 -10
- package/dist/components/Select/components/SelectOptionPrefix.vue.js +14 -14
- package/dist/components/Shine/WShine.vue.js +1 -1
- package/dist/components/Shine/WShineEffect.vue.js +2 -2
- package/dist/components/Slider/WSlider.vue.js +6 -6
- package/dist/components/Slider/WSliderRange.vue.js +6 -6
- package/dist/components/Spinner/WSpinner.vue.js +2 -2
- package/dist/components/Status/WStatusIcon.vue.js +2 -2
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +22 -22
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +5 -5
- package/dist/components/Tabs/components/TabTitleButton.vue.js +14 -14
- package/dist/components/Toggle/WToggle.vue.js +17 -17
- package/dist/components/Toggle/WToggleTheme.vue.js +2 -2
- package/dist/components/Tooltip/WTooltip.vue.js +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.js +2 -2
- package/dist/components/Tooltip/components/TooltipContainer.vue.js +11 -11
- package/dist/components/VirtualScroll/WVirtualScroll.vue.js +9 -9
- package/dist/components/VirtualScroll/components/VirtualScrollPage.vue.d.ts +1 -1
- package/dist/components/VirtualScroll/components/VirtualScrollPage.vue.js +3 -3
- package/dist/utils/useQueryUpdater.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -11,10 +11,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
emits: ["click"],
|
|
12
12
|
setup(__props) {
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
|
-
return openBlock(), createBlock(resolveDynamicComponent(
|
|
14
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.tag), mergeProps(__props.props, {
|
|
15
15
|
class: ["w-ripple-list w-ripple-hover-list absolute inset-0 cursor-pointer select-none", {
|
|
16
|
-
"sm:w-ripple-rounded-[--w-list-rounded,unset] sm:rounded-[--w-list-rounded,unset]":
|
|
17
|
-
[
|
|
16
|
+
"sm:w-ripple-rounded-[--w-list-rounded,unset] sm:rounded-[--w-list-rounded,unset]": __props.card,
|
|
17
|
+
[__props.opacityClass ?? "w-ripple-opacity-[0.05]"]: true
|
|
18
18
|
}],
|
|
19
19
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
20
20
|
}), null, 16, ["class"]);
|
|
@@ -19,46 +19,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
const config = { width: null, visible: true, order: 0, sticky: false };
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
21
|
const _component_ListCardFieldNested = resolveComponent("ListCardFieldNested", true);
|
|
22
|
-
return openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
22
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(__props.card ? __props.fields : unref(sortFields)(__props.fields, __props.fieldConfigMap), (field) => {
|
|
23
23
|
return openBlock(), createElementBlock(Fragment, {
|
|
24
24
|
key: unref(getFirstFieldLabel)(field)
|
|
25
25
|
}, [
|
|
26
26
|
unref(isField)(field) ? renderSlot(_ctx.$slots, "default", {
|
|
27
27
|
key: 0,
|
|
28
28
|
field,
|
|
29
|
-
item:
|
|
30
|
-
nested:
|
|
29
|
+
item: __props.item,
|
|
30
|
+
nested: __props.nested === true
|
|
31
31
|
}) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
32
32
|
"keyArray" in field.meta || "getterArray" in field.meta ? (openBlock(), createBlock(resolveDynamicComponent(field.default ?? "div"), mergeProps({
|
|
33
33
|
key: 0,
|
|
34
34
|
ref_for: true
|
|
35
|
-
}, field.default ? { item:
|
|
35
|
+
}, field.default ? { item: __props.item, skeleton: __props.skeleton, card: __props.card, readonly: __props.readonly, config } : void 0, {
|
|
36
36
|
class: field.meta.cssClassArray
|
|
37
37
|
}), {
|
|
38
38
|
default: withCtx(() => [
|
|
39
39
|
createVNode(_sfc_main$1, {
|
|
40
|
-
items:
|
|
40
|
+
items: __props.skeleton ? [__props.item] : "keyArray" in field.meta ? __props.item[field.meta.keyArray] : field.meta.getterArray(__props.item)
|
|
41
41
|
}, {
|
|
42
42
|
default: withCtx(({ inner, index, last, first }) => [
|
|
43
|
-
(openBlock(), createBlock(resolveDynamicComponent(field.meta.componentItem ?? _sfc_main$2), mergeProps({ ref_for: true }, field.meta.componentItem ? { item:
|
|
43
|
+
(openBlock(), createBlock(resolveDynamicComponent(field.meta.componentItem ?? _sfc_main$2), mergeProps({ ref_for: true }, field.meta.componentItem ? { item: __props.item, skeleton: __props.skeleton, card: __props.card, index, last, first } : void 0), {
|
|
44
44
|
default: withCtx(() => [
|
|
45
45
|
createElementVNode("div", {
|
|
46
46
|
class: normalizeClass(["flex", field.meta.cssClass])
|
|
47
47
|
}, [
|
|
48
48
|
createVNode(_component_ListCardFieldNested, {
|
|
49
49
|
fields: field.meta.fields,
|
|
50
|
-
"field-config-map":
|
|
50
|
+
"field-config-map": __props.fieldConfigMap,
|
|
51
51
|
item: inner,
|
|
52
|
-
skeleton:
|
|
53
|
-
card:
|
|
54
|
-
readonly:
|
|
52
|
+
skeleton: __props.skeleton,
|
|
53
|
+
card: __props.card,
|
|
54
|
+
readonly: __props.readonly,
|
|
55
55
|
nested: ""
|
|
56
56
|
}, {
|
|
57
57
|
default: withCtx((defaultScope) => [
|
|
58
58
|
renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
|
|
59
59
|
]),
|
|
60
|
-
_:
|
|
61
|
-
},
|
|
60
|
+
_: 3
|
|
61
|
+
}, 8, ["fields", "field-config-map", "item", "skeleton", "card", "readonly"])
|
|
62
62
|
], 2)
|
|
63
63
|
]),
|
|
64
64
|
_: 2
|
|
@@ -71,24 +71,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
71
|
}, 1040, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent(field.default ?? "div"), mergeProps({
|
|
72
72
|
key: 1,
|
|
73
73
|
ref_for: true
|
|
74
|
-
}, field.default ? { item:
|
|
74
|
+
}, field.default ? { item: __props.item, skeleton: __props.skeleton, card: __props.card, readonly: __props.readonly, config } : void 0, {
|
|
75
75
|
class: [field.meta.cssClass, "flex"]
|
|
76
76
|
}), {
|
|
77
77
|
default: withCtx(() => [
|
|
78
78
|
createVNode(_component_ListCardFieldNested, {
|
|
79
79
|
fields: field.meta.fields,
|
|
80
|
-
"field-config-map":
|
|
81
|
-
item: "keyEntity" in field.meta ?
|
|
82
|
-
skeleton:
|
|
83
|
-
card:
|
|
84
|
-
readonly:
|
|
80
|
+
"field-config-map": __props.fieldConfigMap,
|
|
81
|
+
item: "keyEntity" in field.meta ? __props.item[field.meta.keyEntity] : "getterEntity" in field.meta ? field.meta.getterEntity(__props.item) : __props.item,
|
|
82
|
+
skeleton: __props.skeleton,
|
|
83
|
+
card: __props.card,
|
|
84
|
+
readonly: __props.readonly,
|
|
85
85
|
nested: ""
|
|
86
86
|
}, {
|
|
87
87
|
default: withCtx((defaultScope) => [
|
|
88
88
|
renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
|
|
89
89
|
]),
|
|
90
|
-
_:
|
|
91
|
-
},
|
|
90
|
+
_: 3
|
|
91
|
+
}, 8, ["fields", "field-config-map", "item", "skeleton", "card", "readonly"])
|
|
92
92
|
]),
|
|
93
93
|
_: 2
|
|
94
94
|
}, 1040, ["class"]))
|
|
@@ -7,11 +7,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7
7
|
},
|
|
8
8
|
setup(__props) {
|
|
9
9
|
return (_ctx, _cache) => {
|
|
10
|
-
return openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
10
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (inner, index) => {
|
|
11
11
|
return renderSlot(_ctx.$slots, "default", mergeProps({
|
|
12
12
|
key: inner.id,
|
|
13
13
|
ref_for: true
|
|
14
|
-
}, { inner, index, last: index ===
|
|
14
|
+
}, { inner, index, last: index === __props.items.length - 1, first: index === 0 }));
|
|
15
15
|
}), 128);
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -47,37 +47,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
};
|
|
48
48
|
return (_ctx, _cache) => {
|
|
49
49
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
50
|
-
|
|
50
|
+
__props.search ? (openBlock(), createBlock(_sfc_main$1, {
|
|
51
51
|
key: 0,
|
|
52
|
-
shown: !!
|
|
52
|
+
shown: !!__props.queryParams.search
|
|
53
53
|
}, {
|
|
54
54
|
default: withCtx(({ visible, hide }) => [
|
|
55
|
-
(openBlock(), createBlock(resolveDynamicComponent(!
|
|
56
|
-
"query-params":
|
|
57
|
-
autofocus: !
|
|
58
|
-
readonly:
|
|
55
|
+
(openBlock(), createBlock(resolveDynamicComponent(!__props.filterSearch ? _sfc_main$2 : Array.isArray(__props.filterSearch) ? __props.filterSearch[0].default : __props.filterSearch.default), {
|
|
56
|
+
"query-params": __props.queryParams,
|
|
57
|
+
autofocus: !__props.queryParams.search && visible,
|
|
58
|
+
readonly: __props.readonly,
|
|
59
59
|
global: "",
|
|
60
60
|
"onUpdate:queryParams": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:query-params", $event)),
|
|
61
|
-
onClose: ($event) => !
|
|
61
|
+
onClose: ($event) => !__props.queryParams.search && hide?.()
|
|
62
62
|
}, null, 40, ["query-params", "autofocus", "readonly", "onClose"]))
|
|
63
63
|
]),
|
|
64
64
|
_: 1
|
|
65
65
|
}, 8, ["shown"])) : createCommentVNode("", true),
|
|
66
|
-
|
|
66
|
+
__props.filter ? (openBlock(), createBlock(_sfc_main$3, {
|
|
67
67
|
key: 1,
|
|
68
68
|
count: count.value
|
|
69
69
|
}, {
|
|
70
70
|
default: withCtx(() => [
|
|
71
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
71
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.filter, (item, index) => {
|
|
72
72
|
return openBlock(), createBlock(_sfc_main$4, {
|
|
73
73
|
key: index,
|
|
74
74
|
ref_for: true,
|
|
75
75
|
ref: "filterItem",
|
|
76
76
|
item,
|
|
77
|
-
"query-params":
|
|
77
|
+
"query-params": __props.queryParams,
|
|
78
78
|
"is-open": open.value === index,
|
|
79
|
-
"disabled-filter-fields":
|
|
80
|
-
readonly:
|
|
79
|
+
"disabled-filter-fields": __props.disabledFilterFields,
|
|
80
|
+
readonly: __props.readonly,
|
|
81
81
|
class: "-px--inner-margin",
|
|
82
82
|
onToggle: ($event) => open.value = open.value === index ? null : index,
|
|
83
83
|
"onUpdate:queryParams": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:query-params", $event))
|
|
@@ -94,7 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
94
94
|
}, {
|
|
95
95
|
default: withCtx(() => [
|
|
96
96
|
createVNode(unref(IconFilterRemove)),
|
|
97
|
-
_cache[2] || (_cache[2] = createTextVNode(" Reset Filters "))
|
|
97
|
+
_cache[2] || (_cache[2] = createTextVNode(" Reset Filters ", -1))
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
100
|
}, 8, ["semantic-type", "disabled"])
|
|
@@ -30,37 +30,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
getDefaultQuery
|
|
31
31
|
});
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
return !unref(getMetaValue)(meta.value.hidden,
|
|
33
|
+
return !unref(getMetaValue)(meta.value.hidden, __props.queryParams) && !fields.value.some((field) => __props.disabledFilterFields.includes(field)) ? (openBlock(), createBlock(_sfc_main$1, {
|
|
34
34
|
key: 0,
|
|
35
|
-
title: unref(getMetaValue)(meta.value.title,
|
|
36
|
-
icon: unref(getMetaValue)(meta.value.icon,
|
|
37
|
-
"is-open":
|
|
35
|
+
title: unref(getMetaValue)(meta.value.title, __props.queryParams),
|
|
36
|
+
icon: unref(getMetaValue)(meta.value.icon, __props.queryParams),
|
|
37
|
+
"is-open": __props.isOpen,
|
|
38
38
|
"has-flag": hasChanges.value,
|
|
39
39
|
onToggle: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("toggle"))
|
|
40
40
|
}, {
|
|
41
41
|
default: withCtx(() => [
|
|
42
|
-
Array.isArray(
|
|
43
|
-
"query-params":
|
|
44
|
-
readonly:
|
|
42
|
+
Array.isArray(__props.item) ? (openBlock(), createBlock(resolveDynamicComponent(__props.item[0].default), mergeProps({ key: 0 }, __props.item[1], {
|
|
43
|
+
"query-params": __props.queryParams,
|
|
44
|
+
readonly: __props.readonly,
|
|
45
45
|
global: "",
|
|
46
46
|
"onUpdate:queryParams": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:query-params", $event))
|
|
47
|
-
}), null, 16, ["query-params", "readonly"])) : (openBlock(), createBlock(resolveDynamicComponent(
|
|
47
|
+
}), null, 16, ["query-params", "readonly"])) : (openBlock(), createBlock(resolveDynamicComponent(__props.item.default), {
|
|
48
48
|
key: 1,
|
|
49
|
-
"query-params":
|
|
50
|
-
readonly:
|
|
49
|
+
"query-params": __props.queryParams,
|
|
50
|
+
readonly: __props.readonly,
|
|
51
51
|
global: "",
|
|
52
52
|
"onUpdate:queryParams": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:query-params", $event))
|
|
53
53
|
}, null, 40, ["query-params", "readonly"])),
|
|
54
|
-
!
|
|
54
|
+
!__props.readonly && hasChanges.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
55
55
|
key: 2,
|
|
56
56
|
"semantic-type": unref(SemanticType).SECONDARY,
|
|
57
57
|
disabled: !hasChanges.value,
|
|
58
58
|
class: "mt-4 w-full",
|
|
59
59
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:query-params", getDefaultQuery()))
|
|
60
60
|
}, {
|
|
61
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
62
|
-
createTextVNode(" Reset ")
|
|
63
|
-
])),
|
|
61
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
62
|
+
createTextVNode(" Reset ", -1)
|
|
63
|
+
])]),
|
|
64
64
|
_: 1
|
|
65
65
|
}, 8, ["semantic-type", "disabled"])) : createCommentVNode("", true)
|
|
66
66
|
]),
|
|
@@ -56,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
};
|
|
57
57
|
return (_ctx, _cache) => {
|
|
58
58
|
return openBlock(), createBlock(_sfc_main$2, {
|
|
59
|
-
title:
|
|
59
|
+
title: __props.title?.(shown.value.length) ?? `Filters (${shown.value.length})`,
|
|
60
60
|
icon: markRaw(unref(IconFilter)),
|
|
61
61
|
"is-open": isOpen.value,
|
|
62
62
|
"toggle-class": "sm:px-3",
|
|
@@ -72,17 +72,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
72
|
class: "w-tabs-side-width-72"
|
|
73
73
|
}, {
|
|
74
74
|
default: withCtx(() => [
|
|
75
|
-
|
|
75
|
+
__props.filter || __props.search ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
76
76
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value.filter((item) => allShown.value.includes(filterAll.value.indexOf(item))), (item, index) => {
|
|
77
77
|
return openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
78
78
|
key: filterAll.value.indexOf(item),
|
|
79
79
|
name: filterAll.value.indexOf(item).toString(),
|
|
80
|
-
title: unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).title,
|
|
81
|
-
icon: unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).icon,
|
|
82
|
-
init: index === 0 && !
|
|
83
|
-
"has-value": shown.value.includes(filterAll.value.indexOf(item))
|
|
84
|
-
|
|
85
|
-
}, !_ctx.readonly ? {
|
|
80
|
+
title: unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).title, __props.queryParams),
|
|
81
|
+
icon: unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).icon, __props.queryParams),
|
|
82
|
+
init: index === 0 && !__props.queryParams.search,
|
|
83
|
+
"has-value": shown.value.includes(filterAll.value.indexOf(item))
|
|
84
|
+
}, { ref_for: true }, !__props.readonly ? {
|
|
86
85
|
onClose: () => clearFilterItem(item)
|
|
87
86
|
} : void 0), {
|
|
88
87
|
default: withCtx(() => [
|
|
@@ -91,14 +90,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
90
|
key: 0,
|
|
92
91
|
ref_for: true
|
|
93
92
|
}, item[1], {
|
|
94
|
-
"query-params":
|
|
95
|
-
readonly:
|
|
93
|
+
"query-params": __props.queryParams,
|
|
94
|
+
readonly: __props.readonly,
|
|
96
95
|
global: false,
|
|
97
96
|
"onUpdate:queryParams": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:query-params", $event))
|
|
98
97
|
}), null, 16, ["query-params", "readonly"])) : (openBlock(), createBlock(resolveDynamicComponent(item.default), {
|
|
99
98
|
key: 1,
|
|
100
|
-
"query-params":
|
|
101
|
-
readonly:
|
|
99
|
+
"query-params": __props.queryParams,
|
|
100
|
+
readonly: __props.readonly,
|
|
102
101
|
global: false,
|
|
103
102
|
"onUpdate:queryParams": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:query-params", $event))
|
|
104
103
|
}, null, 40, ["query-params", "readonly"]))
|
|
@@ -107,11 +106,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
106
|
_: 2
|
|
108
107
|
}, 1040, ["name", "title", "icon", "init", "has-value"]);
|
|
109
108
|
}), 128)),
|
|
110
|
-
!
|
|
109
|
+
!__props.readonly && allShown.value.length < filterList.value.length ? (openBlock(), createBlock(_sfc_main$5, {
|
|
111
110
|
key: 0,
|
|
112
111
|
filter: filterAll.value,
|
|
113
112
|
exclude: excluded.value,
|
|
114
|
-
"query-params":
|
|
113
|
+
"query-params": __props.queryParams,
|
|
115
114
|
onSelect: _cache[2] || (_cache[2] = ($event) => selected.value.push($event))
|
|
116
115
|
}, null, 8, ["filter", "exclude", "query-params"])) : createCommentVNode("", true)
|
|
117
116
|
], 64)) : createCommentVNode("", true)
|
|
@@ -19,11 +19,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
default: withCtx(() => [
|
|
20
20
|
createVNode(_sfc_main$2, {
|
|
21
21
|
ref: "input",
|
|
22
|
-
"model-value":
|
|
22
|
+
"model-value": __props.queryParams.search,
|
|
23
23
|
placeholder: "Search..",
|
|
24
24
|
"allow-clear": "",
|
|
25
25
|
class: "w-full",
|
|
26
|
-
"no-margin":
|
|
26
|
+
"no-margin": __props.global,
|
|
27
27
|
icon: markRaw(unref(IconSearch)),
|
|
28
28
|
"onClick:clear": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close")),
|
|
29
29
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:query-params", { search: $event || void 0 }))
|
|
@@ -37,9 +37,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
onClick: _cache[1] || (_cache[1] = ($event) => isOpen.value = false)
|
|
38
38
|
}, {
|
|
39
39
|
default: withCtx(() => [
|
|
40
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
40
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.filter, (item, index) => {
|
|
41
41
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
42
|
-
!
|
|
42
|
+
!__props.exclude?.includes(index) ? (openBlock(), createBlock(_sfc_main$3, {
|
|
43
43
|
key: 0,
|
|
44
44
|
onClick: ($event) => {
|
|
45
45
|
_ctx.$emit("select", index);
|
|
@@ -48,8 +48,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
}, {
|
|
49
49
|
default: withCtx(() => [
|
|
50
50
|
createElementVNode("div", null, [
|
|
51
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).icon,
|
|
52
|
-
createTextVNode(" " + toDisplayString(unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).title,
|
|
51
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).icon, __props.queryParams)), { class: "square-[1.25em] -mt-1 inline" })),
|
|
52
|
+
createTextVNode(" " + toDisplayString(unref(getMetaValue)((Array.isArray(item) ? item[0].meta : item.meta).title, __props.queryParams) ?? ""), 1)
|
|
53
53
|
])
|
|
54
54
|
]),
|
|
55
55
|
_: 2
|
|
@@ -19,29 +19,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
emits: ["click"],
|
|
20
20
|
setup(__props) {
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
|
-
return openBlock(), createBlock(resolveDynamicComponent(
|
|
22
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.disabled ? "div" : __props.to ? _sfc_main$1 : __props.href ? "a" : "button"), mergeProps(__props.disabled ? void 0 : __props.to ? { to: __props.to } : __props.href ? { href: __props.href, download: __props.download } : void 0, {
|
|
23
23
|
class: ["w-ripple-trigger block w-full select-none items-center justify-start px-2 text-start outline-none first:pt-2 last:pb-2", {
|
|
24
|
-
"hover:text-primary dark:hover:text-primary-dark cursor-pointer": !
|
|
25
|
-
"cursor-not-allowed opacity-50":
|
|
26
|
-
"text-primary dark:text-primary-dark":
|
|
27
|
-
"text-description": !
|
|
24
|
+
"hover:text-primary dark:hover:text-primary-dark cursor-pointer": !__props.disabled,
|
|
25
|
+
"cursor-not-allowed opacity-50": __props.disabled,
|
|
26
|
+
"text-primary dark:text-primary-dark": __props.active && !__props.disabled,
|
|
27
|
+
"text-description": !__props.active || __props.disabled
|
|
28
28
|
}],
|
|
29
|
-
disabled:
|
|
30
|
-
onClick: _cache[0] || (_cache[0] = ($event) => !
|
|
29
|
+
disabled: __props.disabled,
|
|
30
|
+
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && _ctx.$emit("click", $event))
|
|
31
31
|
}), {
|
|
32
32
|
default: withCtx(() => [
|
|
33
33
|
createElementVNode("div", {
|
|
34
34
|
class: normalizeClass(["relative grid w-full rounded-lg px-2 py-1", {
|
|
35
|
-
"w-ripple w-ripple-hover": !
|
|
36
|
-
"before:opacity-10":
|
|
37
|
-
"grid-cols-[1fr,1.25rem] gap-4":
|
|
38
|
-
"grid-cols-[1fr]":
|
|
35
|
+
"w-ripple w-ripple-hover": !__props.disabled,
|
|
36
|
+
"before:opacity-10": __props.active && !__props.disabled,
|
|
37
|
+
"grid-cols-[1fr,1.25rem] gap-4": __props.active !== void 0,
|
|
38
|
+
"grid-cols-[1fr]": __props.active === void 0
|
|
39
39
|
}])
|
|
40
40
|
}, [
|
|
41
41
|
createElementVNode("div", _hoisted_1, [
|
|
42
42
|
renderSlot(_ctx.$slots, "default")
|
|
43
43
|
]),
|
|
44
|
-
|
|
44
|
+
__props.active ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
45
45
|
createVNode(unref(IconCheck), { class: "square-[1.25em]" })
|
|
46
46
|
])) : createCommentVNode("", true)
|
|
47
47
|
], 2)
|
|
@@ -111,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
(openBlock(), createBlock(resolveDynamicComponent(modalMeta.component), mergeProps({
|
|
112
112
|
ref_for: true,
|
|
113
113
|
ref: "modalComponent"
|
|
114
|
-
}, modalMeta.props, {
|
|
114
|
+
}, { ref_for: true }, modalMeta.props, {
|
|
115
115
|
"onClose:modal": ($event) => closeModal(modalMeta)
|
|
116
116
|
}), null, 16, ["onClose:modal"]))
|
|
117
117
|
], 4);
|
|
@@ -70,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
return (_ctx, _cache) => {
|
|
71
71
|
return openBlock(), createBlock(_sfc_main$1, { class: "w-modal-wrapper-w-[40rem]" }, {
|
|
72
72
|
title: withCtx(() => [
|
|
73
|
-
createTextVNode(toDisplayString((typeof
|
|
73
|
+
createTextVNode(toDisplayString((typeof __props.title === "string" ? __props.title : __props.title?.(count.value)) ?? `Exporting${unref(query).data.value ? ` ${count.value} item${count.value === 1 ? "" : "s"}` : ""}`), 1)
|
|
74
74
|
]),
|
|
75
75
|
actions: withCtx(() => [
|
|
76
76
|
createVNode(_sfc_main$3, {
|
|
@@ -80,13 +80,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
80
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
|
81
81
|
}, {
|
|
82
82
|
default: withCtx(() => [
|
|
83
|
-
createTextVNode(toDisplayString(
|
|
83
|
+
createTextVNode(toDisplayString(__props.cancelText ?? "Close"), 1)
|
|
84
84
|
]),
|
|
85
85
|
_: 1
|
|
86
86
|
}, 8, ["semantic-type", "disabled"]),
|
|
87
87
|
createVNode(_sfc_main$3, {
|
|
88
88
|
href: urlToBlob.value,
|
|
89
|
-
download: `${
|
|
89
|
+
download: `${__props.fileName}_${unref(dateToQueryString)(/* @__PURE__ */ new Date())}.json`,
|
|
90
90
|
"semantic-type": unref(SemanticType).PRIMARY,
|
|
91
91
|
disabled: !isDone.value,
|
|
92
92
|
loading: loading.value,
|
|
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
onClick: handleDownload
|
|
96
96
|
}, {
|
|
97
97
|
default: withCtx(() => [
|
|
98
|
-
createTextVNode(toDisplayString(
|
|
98
|
+
createTextVNode(toDisplayString(__props.downloadText ?? "Download"), 1)
|
|
99
99
|
]),
|
|
100
100
|
_: 1
|
|
101
101
|
}, 8, ["href", "download", "semantic-type", "disabled", "loading"])
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
return (_ctx, _cache) => {
|
|
44
44
|
return openBlock(), createBlock(_sfc_main$1, { class: "w-modal-wrapper-w-[40rem]" }, {
|
|
45
45
|
title: withCtx(() => [
|
|
46
|
-
createTextVNode(toDisplayString(
|
|
46
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
47
47
|
]),
|
|
48
48
|
actions: withCtx(() => [
|
|
49
49
|
createVNode(_sfc_main$2, {
|
|
@@ -53,13 +53,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
|
54
54
|
}, {
|
|
55
55
|
default: withCtx(() => [
|
|
56
|
-
createTextVNode(toDisplayString(
|
|
56
|
+
createTextVNode(toDisplayString(__props.cancelText ?? "Close"), 1)
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
}, 8, ["semantic-type", "disabled"]),
|
|
60
60
|
createVNode(_sfc_main$2, {
|
|
61
61
|
href: urlToBlob.value,
|
|
62
|
-
download: `${
|
|
62
|
+
download: `${__props.fileName}_${(/* @__PURE__ */ new Date()).toISOString()}.json`,
|
|
63
63
|
"semantic-type": unref(SemanticType).PRIMARY,
|
|
64
64
|
disabled: !data.value,
|
|
65
65
|
loading: loading.value,
|
|
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
68
|
onClick: handleDownload
|
|
69
69
|
}, {
|
|
70
70
|
default: withCtx(() => [
|
|
71
|
-
createTextVNode(toDisplayString(
|
|
71
|
+
createTextVNode(toDisplayString(__props.downloadText ?? "Download"), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 1
|
|
74
74
|
}, 8, ["href", "download", "semantic-type", "disabled", "loading"])
|
|
@@ -64,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
64
|
return (_ctx, _cache) => {
|
|
65
65
|
return openBlock(), createBlock(_sfc_main$1, { class: "w-modal-wrapper-w-[40rem]" }, {
|
|
66
66
|
title: withCtx(() => [
|
|
67
|
-
createTextVNode(toDisplayString(
|
|
67
|
+
createTextVNode(toDisplayString(__props.title ?? `Importing ${unref(numberFormatter).format(__props.items.length)} item${__props.items.length === 1 ? "" : "s"}`), 1)
|
|
68
68
|
]),
|
|
69
69
|
actions: withCtx(() => [
|
|
70
70
|
createVNode(_sfc_main$3, {
|
|
@@ -73,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
onClick: abortUpload
|
|
74
74
|
}, {
|
|
75
75
|
default: withCtx(() => [
|
|
76
|
-
createTextVNode(toDisplayString(isDone.value ?
|
|
76
|
+
createTextVNode(toDisplayString(isDone.value ? __props.successText ?? "Done" : __props.abortText ?? "Abort upload"), 1)
|
|
77
77
|
]),
|
|
78
78
|
_: 1
|
|
79
79
|
}, 8, ["semantic-type"])
|
|
@@ -85,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
"model-value": progress.value,
|
|
86
86
|
class: "bg-primary dark:bg-primary-dark"
|
|
87
87
|
}, null, 8, ["model-value"]),
|
|
88
|
-
createElementVNode("div", _hoisted_2, toDisplayString(itemIndex.value) + " / " + toDisplayString(
|
|
88
|
+
createElementVNode("div", _hoisted_2, toDisplayString(itemIndex.value) + " / " + toDisplayString(__props.items.length), 1)
|
|
89
89
|
])
|
|
90
90
|
])
|
|
91
91
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAsEA;AA2HA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAoCF,iBAAS,cAAc;WAiOT,OAAO,IAA6B;;uBAZvB,GAAG;yBACA,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"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"}
|
|
@@ -42,50 +42,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
actions: withCtx(() => [
|
|
43
43
|
first.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
44
44
|
key: 0,
|
|
45
|
-
disabled:
|
|
45
|
+
disabled: __props.loading || __props.disabled,
|
|
46
46
|
"semantic-type": unref(SemanticType).SECONDARY,
|
|
47
47
|
class: "w-full",
|
|
48
48
|
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("close:modal"))
|
|
49
49
|
}, {
|
|
50
|
-
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
51
|
-
createTextVNode(" Close ")
|
|
52
|
-
])),
|
|
50
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
51
|
+
createTextVNode(" Close ", -1)
|
|
52
|
+
])]),
|
|
53
53
|
_: 1
|
|
54
54
|
}, 8, ["disabled", "semantic-type"])) : (openBlock(), createBlock(_sfc_main$3, {
|
|
55
55
|
key: 1,
|
|
56
|
-
disabled:
|
|
56
|
+
disabled: __props.loading || __props.disabled,
|
|
57
57
|
"semantic-type": unref(SemanticType).SECONDARY,
|
|
58
58
|
class: "w-full",
|
|
59
|
-
onClick: _cache[6] || (_cache[6] = ($event) =>
|
|
59
|
+
onClick: _cache[6] || (_cache[6] = ($event) => tabsStepperRef.value?.previous())
|
|
60
60
|
}, {
|
|
61
|
-
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
62
|
-
createTextVNode(" Back ")
|
|
63
|
-
])),
|
|
61
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
62
|
+
createTextVNode(" Back ", -1)
|
|
63
|
+
])]),
|
|
64
64
|
_: 1
|
|
65
65
|
}, 8, ["disabled", "semantic-type"])),
|
|
66
66
|
last.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
67
67
|
key: 2,
|
|
68
68
|
"semantic-type": unref(SemanticType).PRIMARY,
|
|
69
|
-
loading:
|
|
70
|
-
disabled:
|
|
69
|
+
loading: __props.loading,
|
|
70
|
+
disabled: __props.disabled || __props.disabledNext,
|
|
71
71
|
class: "w-full",
|
|
72
72
|
onClick: _cache[7] || (_cache[7] = ($event) => _ctx.$emit("submit"))
|
|
73
73
|
}, {
|
|
74
|
-
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
75
|
-
createTextVNode(" Submit ")
|
|
76
|
-
])),
|
|
74
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
75
|
+
createTextVNode(" Submit ", -1)
|
|
76
|
+
])]),
|
|
77
77
|
_: 1
|
|
78
78
|
}, 8, ["semantic-type", "loading", "disabled"])) : (openBlock(), createBlock(_sfc_main$3, {
|
|
79
79
|
key: 3,
|
|
80
80
|
"semantic-type": unref(SemanticType).PRIMARY,
|
|
81
|
-
loading:
|
|
82
|
-
disabled:
|
|
81
|
+
loading: __props.loading,
|
|
82
|
+
disabled: __props.disabled || __props.disabledNext,
|
|
83
83
|
class: "w-full",
|
|
84
|
-
onClick: _cache[8] || (_cache[8] = ($event) =>
|
|
84
|
+
onClick: _cache[8] || (_cache[8] = ($event) => tabsStepperRef.value?.next())
|
|
85
85
|
}, {
|
|
86
|
-
default: withCtx(() => _cache[12] || (_cache[12] = [
|
|
87
|
-
createTextVNode(" Next ")
|
|
88
|
-
])),
|
|
86
|
+
default: withCtx(() => [..._cache[12] || (_cache[12] = [
|
|
87
|
+
createTextVNode(" Next ", -1)
|
|
88
|
+
])]),
|
|
89
89
|
_: 1
|
|
90
90
|
}, 8, ["semantic-type", "loading", "disabled"]))
|
|
91
91
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"AAuDA;AA0FA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAeF,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACA,GAAG;yBACJ,GAAG;yBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"AAuDA;AA0FA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAeF,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACA,GAAG;yBACJ,GAAG;yBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoDi1W,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;EAlCt+W;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuB41W,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;kBAfr+W,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|