eco-vue-js 0.11.56 → 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/ApiClient.d.ts +5 -1
- package/dist/utils/ApiClient.d.ts.map +1 -1
- package/dist/utils/useQueryUpdater.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useTemplateRef, onMounted, provide, createBlock, openBlock, normalizeStyle, normalizeClass,
|
|
1
|
+
import { defineComponent, useTemplateRef, onMounted, provide, createBlock, openBlock, normalizeStyle, normalizeClass, withCtx, createElementVNode, renderSlot, unref } from 'vue';
|
|
2
2
|
import _sfc_main$1 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
|
3
3
|
import { BASE_ZINDEX_DROPDOWN } from '../../utils/utils.js';
|
|
4
4
|
import { wModalHeaderHeight } from './models/injection.js';
|
|
@@ -23,20 +23,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
24
24
|
ref: "content",
|
|
25
25
|
class: normalizeClass(["bg-default dark:bg-default-dark w-modal-wrapper grid max-h-[calc(100%-var(--inner-margin,2rem)*2)] w-[--w-modal-wrapper-width,35rem] max-w-[calc(100%-var(--inner-margin,2rem)*2)] grid-cols-[1fr] grid-rows-[auto,1fr,auto] overflow-auto overscroll-contain rounded-[--w-modal-wrapper-rounded,1.5rem] shadow-md", {
|
|
26
|
-
"sm-not:max-w-full sm-not:h-full sm-not:rounded-none sm-not:max-h-full":
|
|
26
|
+
"sm-not:max-w-full sm-not:h-full sm-not:rounded-none sm-not:max-h-full": __props.maximized
|
|
27
27
|
}]),
|
|
28
28
|
style: normalizeStyle({
|
|
29
|
-
"--w-modal-header-height": (
|
|
30
|
-
"--w-modal-footer-height": (
|
|
31
|
-
"--w-modal-content-height": (
|
|
29
|
+
"--w-modal-header-height": (headerRef.value?.offsetHeight ?? 0) + "px",
|
|
30
|
+
"--w-modal-footer-height": (footerRef.value?.offsetHeight ?? 0) + "px",
|
|
31
|
+
"--w-modal-content-height": (contentRef.value?.$el.offsetHeight ?? 0) + "px"
|
|
32
32
|
})
|
|
33
33
|
}, {
|
|
34
34
|
default: withCtx(() => [
|
|
35
35
|
createElementVNode("div", {
|
|
36
36
|
ref: "header",
|
|
37
37
|
class: normalizeClass(["bg-default dark:bg-default-dark sticky left-0 top-0 z-[1] w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))]", {
|
|
38
|
-
"sm-not:w-full": !
|
|
39
|
-
"sm-not:w-screen":
|
|
38
|
+
"sm-not:w-full": !__props.maximized,
|
|
39
|
+
"sm-not:w-screen": __props.maximized
|
|
40
40
|
}])
|
|
41
41
|
}, [
|
|
42
42
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -50,9 +50,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
createElementVNode("div", {
|
|
51
51
|
ref: "footer",
|
|
52
52
|
class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sticky bottom-0 left-0 flex w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))] justify-center", {
|
|
53
|
-
"sm-not:flex-col sm-not:w-full": !
|
|
54
|
-
"sm-not:w-screen":
|
|
55
|
-
"flex-col":
|
|
53
|
+
"sm-not:flex-col sm-not:w-full": !__props.maximized,
|
|
54
|
+
"sm-not:w-screen": __props.maximized,
|
|
55
|
+
"flex-col": __props.actionsCol
|
|
56
56
|
}]),
|
|
57
57
|
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_DROPDOWN) })
|
|
58
58
|
}, [
|
|
@@ -62,13 +62,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
};
|
|
63
63
|
return (_ctx, _cache) => {
|
|
64
64
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
65
|
-
"actions-col":
|
|
66
|
-
class: normalizeClass(["w-modal-wrapper-w-[--w-modal-confirm-width,40rem]",
|
|
65
|
+
"actions-col": __props.actionsCol,
|
|
66
|
+
class: normalizeClass(["w-modal-wrapper-w-[--w-modal-confirm-width,40rem]", __props.wrapperClass])
|
|
67
67
|
}, {
|
|
68
68
|
title: withCtx(() => [
|
|
69
|
-
typeof
|
|
70
|
-
createTextVNode(toDisplayString(
|
|
71
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(
|
|
69
|
+
typeof __props.title === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
70
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
71
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(__props.title), { key: 1 }))
|
|
72
72
|
]),
|
|
73
73
|
actions: withCtx(() => [
|
|
74
74
|
createVNode(_sfc_main$2, {
|
|
@@ -78,49 +78,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
78
|
onClick: withModifiers(cancel, ["stop", "prevent"])
|
|
79
79
|
}, {
|
|
80
80
|
default: withCtx(() => [
|
|
81
|
-
typeof
|
|
82
|
-
createTextVNode(toDisplayString(
|
|
83
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(
|
|
81
|
+
typeof __props.cancelText === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
82
|
+
createTextVNode(toDisplayString(__props.cancelText), 1)
|
|
83
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(__props.cancelText), { key: 1 }))
|
|
84
84
|
]),
|
|
85
85
|
_: 1
|
|
86
86
|
}, 8, ["semantic-type", "disabled"]),
|
|
87
|
-
|
|
87
|
+
__props.intermediateText ? (openBlock(), createBlock(_sfc_main$2, {
|
|
88
88
|
key: 0,
|
|
89
|
-
to:
|
|
90
|
-
"semantic-type":
|
|
89
|
+
to: __props.intermediateTo,
|
|
90
|
+
"semantic-type": __props.intermediateSemanticType,
|
|
91
91
|
loading: loadingIntermediate.value,
|
|
92
92
|
disabled: loadingAccept.value,
|
|
93
93
|
class: "w-full",
|
|
94
94
|
onClick: withModifiers(intermediate, ["stop", "prevent"])
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
97
|
-
typeof
|
|
98
|
-
createTextVNode(toDisplayString(
|
|
99
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(
|
|
97
|
+
typeof __props.intermediateText === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
98
|
+
createTextVNode(toDisplayString(__props.intermediateText), 1)
|
|
99
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(__props.intermediateText), { key: 1 }))
|
|
100
100
|
]),
|
|
101
101
|
_: 1
|
|
102
102
|
}, 8, ["to", "semantic-type", "loading", "disabled"])) : createCommentVNode("", true),
|
|
103
103
|
createVNode(_sfc_main$2, {
|
|
104
|
-
to:
|
|
105
|
-
"semantic-type":
|
|
104
|
+
to: __props.acceptTo,
|
|
105
|
+
"semantic-type": __props.acceptSemanticType,
|
|
106
106
|
loading: loadingAccept.value,
|
|
107
107
|
disabled: loadingIntermediate.value,
|
|
108
108
|
class: "w-full",
|
|
109
109
|
onClick: withModifiers(accept, ["stop", "prevent"])
|
|
110
110
|
}, {
|
|
111
111
|
default: withCtx(() => [
|
|
112
|
-
typeof
|
|
113
|
-
createTextVNode(toDisplayString(
|
|
114
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(
|
|
112
|
+
typeof __props.acceptText === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
113
|
+
createTextVNode(toDisplayString(__props.acceptText), 1)
|
|
114
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(__props.acceptText), { key: 1 }))
|
|
115
115
|
]),
|
|
116
116
|
_: 1
|
|
117
117
|
}, 8, ["to", "semantic-type", "loading", "disabled"])
|
|
118
118
|
]),
|
|
119
119
|
default: withCtx(() => [
|
|
120
120
|
createElementVNode("div", _hoisted_1, [
|
|
121
|
-
typeof
|
|
122
|
-
createTextVNode(toDisplayString(
|
|
123
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(
|
|
121
|
+
typeof __props.description === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
122
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
123
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(__props.description), { key: 1 }))
|
|
124
124
|
])
|
|
125
125
|
]),
|
|
126
126
|
_: 1
|
|
@@ -38,9 +38,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
class: "bg-primary-light/40 dark:bg-primary-darkest/40 no-scrollbar fixed left-0 top-0 size-full overflow-y-auto overflow-x-hidden overscroll-contain backdrop-blur print:hidden",
|
|
39
39
|
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_NAV_BAR) }),
|
|
40
40
|
onClick: withModifiers(close, ["stop", "prevent"])
|
|
41
|
-
}, _cache[0] || (_cache[0] = [
|
|
41
|
+
}, [..._cache[0] || (_cache[0] = [
|
|
42
42
|
createElementVNode("div", { class: "h-[calc(100%+1px)]" }, null, -1)
|
|
43
|
-
]), 4)) : createCommentVNode("", true)
|
|
43
|
+
])], 4)) : createCommentVNode("", true)
|
|
44
44
|
]),
|
|
45
45
|
_: 1
|
|
46
46
|
}),
|
|
@@ -54,12 +54,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
});
|
|
55
55
|
return (_ctx, _cache) => {
|
|
56
56
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
57
|
-
to:
|
|
57
|
+
to: __props.to,
|
|
58
58
|
class: normalizeClass(["w-ripple-trigger relative block py-1 no-underline", {
|
|
59
59
|
"text-primary dark:text-primary-dark": isTextColor.value,
|
|
60
60
|
"text-accent": !isTextColor.value,
|
|
61
|
-
"px-1":
|
|
62
|
-
"xl-not:pr-1 pl-2": !
|
|
61
|
+
"px-1": __props.even,
|
|
62
|
+
"xl-not:pr-1 pl-2": !__props.even
|
|
63
63
|
}])
|
|
64
64
|
}, {
|
|
65
65
|
default: withCtx(() => [
|
|
@@ -70,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
"leave-to-class": "-translate-x-1"
|
|
71
71
|
}, {
|
|
72
72
|
default: withCtx(() => [
|
|
73
|
-
!
|
|
73
|
+
!__props.indent && (isActive.value || __props.hasActive) ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true)
|
|
74
74
|
]),
|
|
75
75
|
_: 1
|
|
76
76
|
}),
|
|
@@ -81,22 +81,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
"leave-to-class": "opacity-0"
|
|
82
82
|
}, {
|
|
83
83
|
default: withCtx(() => [
|
|
84
|
-
|
|
84
|
+
__props.indent && !__props.expand && isActive.value ? (openBlock(), createElementBlock("div", _hoisted_2, [..._cache[0] || (_cache[0] = [
|
|
85
85
|
createElementVNode("div", { class: "square-1.5 rounded-full bg-[var(--w-nav-item-dot-color)]" }, null, -1)
|
|
86
|
-
]))) : createCommentVNode("", true)
|
|
86
|
+
])])) : createCommentVNode("", true)
|
|
87
87
|
]),
|
|
88
88
|
_: 1
|
|
89
89
|
}),
|
|
90
90
|
createElementVNode("div", _hoisted_3, [
|
|
91
91
|
createElementVNode("div", {
|
|
92
92
|
class: normalizeClass(["w-ripple w-ripple-hover relative grid grid-cols-[1.5rem,1fr,auto] items-center rounded-lg pr-2", {
|
|
93
|
-
"before:opacity-10":
|
|
94
|
-
"pl-4":
|
|
95
|
-
"pl-2": !
|
|
93
|
+
"before:opacity-10": __props.hovered,
|
|
94
|
+
"pl-4": __props.indent,
|
|
95
|
+
"pl-2": !__props.indent
|
|
96
96
|
}])
|
|
97
97
|
}, [
|
|
98
98
|
createElementVNode("div", _hoisted_4, [
|
|
99
|
-
|
|
99
|
+
__props.icon ?? routeTo.value?.meta?.icon ? (openBlock(), createBlock(resolveDynamicComponent(__props.icon ?? routeTo.value?.meta?.icon), {
|
|
100
100
|
key: 0,
|
|
101
101
|
class: "square-[1.25em]"
|
|
102
102
|
})) : renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
@@ -105,15 +105,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
createElementVNode("span", _hoisted_6, [
|
|
106
106
|
createElementVNode("span", _hoisted_7, [
|
|
107
107
|
createElementVNode("span", _hoisted_8, toDisplayString(titleLocal.value), 1),
|
|
108
|
-
_cache[1] || (_cache[1] = createTextVNode(" ")),
|
|
109
|
-
!
|
|
108
|
+
_cache[1] || (_cache[1] = createTextVNode(" ", -1)),
|
|
109
|
+
!__props.skeleton ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(typeof __props.count === "number" ? `(${unref(numberCompactFormatter).format(__props.count)})` : ""), 1)) : (openBlock(), createBlock(_sfc_main$2, {
|
|
110
110
|
key: 1,
|
|
111
111
|
class: "inline-flex max-w-10"
|
|
112
112
|
}))
|
|
113
113
|
]),
|
|
114
|
-
!
|
|
114
|
+
!__props.skeleton && __props.counter !== void 0 && __props.counter !== 0 ? (openBlock(), createBlock(_sfc_main$3, {
|
|
115
115
|
key: 0,
|
|
116
|
-
count:
|
|
116
|
+
count: __props.counter,
|
|
117
117
|
trigger: 1,
|
|
118
118
|
class: "text-2xs absolute -top-2.5 left-[calc(100%-1em)]"
|
|
119
119
|
}, null, 8, ["count"])) : createCommentVNode("", true)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"AAmFA;AA8KA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAA;AAE/C,OAAO,EAAC,KAAK,KAAK,EAAY,QAAQ,EAAwD,MAAM,KAAK,CAAA;AA2FzG,iBAAS,cAAc;WA2MT,OAAO,IAA6B;;kBAxNtC,MAAM,KAAK,EAAE;eAChB,MAAM,KAAK,EAAE;;kBADV,MAAM,KAAK,EAAE;eAChB,MAAM,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"AAmFA;AA8KA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAA;AAE/C,OAAO,EAAC,KAAK,KAAK,EAAY,QAAQ,EAAwD,MAAM,KAAK,CAAA;AA2FzG,iBAAS,cAAc;WA2MT,OAAO,IAA6B;;kBAxNtC,MAAM,KAAK,EAAE;eAChB,MAAM,KAAK,EAAE;;kBADV,MAAM,KAAK,EAAE;eAChB,MAAM,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA2Q87P,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;EA/CzkQ;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwB+7P,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;kBAfxkQ,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"}
|
|
@@ -73,22 +73,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
"horizontal-align": unref(HorizontalAlign).RIGHT_OUTER
|
|
74
74
|
}, {
|
|
75
75
|
toggle: withCtx(() => [
|
|
76
|
-
createVNode(_sfc_main$3, mergeProps(unref(isMobile) || hasActive.value ||
|
|
76
|
+
createVNode(_sfc_main$3, mergeProps(unref(isMobile) || hasActive.value || __props.even ? void 0 : {
|
|
77
77
|
onmouseenter: showDropdown,
|
|
78
78
|
onmouseleave: hideDropdown
|
|
79
79
|
}, {
|
|
80
80
|
ref: "component",
|
|
81
|
-
to:
|
|
82
|
-
title:
|
|
83
|
-
icon:
|
|
84
|
-
skeleton:
|
|
85
|
-
count:
|
|
86
|
-
counter:
|
|
81
|
+
to: __props.to ?? slotsDefault.value?.[0]?.props?.to,
|
|
82
|
+
title: __props.title,
|
|
83
|
+
icon: __props.icon,
|
|
84
|
+
skeleton: __props.skeleton,
|
|
85
|
+
count: __props.count,
|
|
86
|
+
counter: __props.counter,
|
|
87
87
|
"has-active": hasActive.value,
|
|
88
|
-
indent:
|
|
89
|
-
even:
|
|
90
|
-
expand: !
|
|
91
|
-
"query-fields":
|
|
88
|
+
indent: __props.indent,
|
|
89
|
+
even: __props.even,
|
|
90
|
+
expand: !__props.to,
|
|
91
|
+
"query-fields": __props.queryFields,
|
|
92
92
|
hovered: isDropdownOpen.value && !hasActive.value
|
|
93
93
|
}), {
|
|
94
94
|
icon: withCtx(() => [
|
|
@@ -97,7 +97,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
97
|
right: withCtx(() => [
|
|
98
98
|
createVNode(unref(IconArrow), {
|
|
99
99
|
class: normalizeClass(["square-3 transition-transform", {
|
|
100
|
-
"-rotate-90": !hasActive.value && !
|
|
100
|
+
"-rotate-90": !hasActive.value && !__props.even
|
|
101
101
|
}])
|
|
102
102
|
}, null, 8, ["class"])
|
|
103
103
|
]),
|
|
@@ -128,7 +128,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
128
|
_: 3
|
|
129
129
|
}, 8, ["is-open", "horizontal-align"]),
|
|
130
130
|
createVNode(_sfc_main$4, {
|
|
131
|
-
"is-shown": isActive.value ||
|
|
131
|
+
"is-shown": isActive.value || __props.even
|
|
132
132
|
}, {
|
|
133
133
|
default: withCtx(() => [
|
|
134
134
|
createVNode(WNavItemTransition, null, {
|
|
@@ -138,8 +138,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
138
|
key: index,
|
|
139
139
|
ref_for: true,
|
|
140
140
|
ref: "inner",
|
|
141
|
-
even:
|
|
142
|
-
indent: !
|
|
141
|
+
even: __props.even,
|
|
142
|
+
indent: !__props.even
|
|
143
143
|
}, null, 8, ["even", "indent"]);
|
|
144
144
|
}), 128))
|
|
145
145
|
]),
|
|
@@ -62,31 +62,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
createElementVNode("div", _hoisted_1, [
|
|
63
63
|
withDirectives(createVNode(_sfc_main$1, {
|
|
64
64
|
class: "absolute left-[-0.625em] top-[-0.625em] text-xs shadow-md",
|
|
65
|
-
count:
|
|
65
|
+
count: __props.count
|
|
66
66
|
}, null, 8, ["count"]), [
|
|
67
|
-
[vShow,
|
|
67
|
+
[vShow, __props.count > 1]
|
|
68
68
|
]),
|
|
69
69
|
createElementVNode("div", _hoisted_2, [
|
|
70
|
-
|
|
70
|
+
__props.type === unref(NotifyType).DANGER ? (openBlock(), createBlock(unref(IconDanger), {
|
|
71
71
|
key: 0,
|
|
72
72
|
class: "square-6 text-negative dark:text-negative-dark"
|
|
73
|
-
})) :
|
|
73
|
+
})) : __props.type === unref(NotifyType).WARN ? (openBlock(), createBlock(unref(IconWarn), {
|
|
74
74
|
key: 1,
|
|
75
75
|
class: "square-6 text-warning dark:text-warning-dark"
|
|
76
|
-
})) :
|
|
76
|
+
})) : __props.type === unref(NotifyType).SUCCESS ? (openBlock(), createBlock(unref(IconSuccess), {
|
|
77
77
|
key: 2,
|
|
78
78
|
class: "square-6 text-positive dark:text-positive-dark"
|
|
79
79
|
})) : createCommentVNode("", true)
|
|
80
80
|
]),
|
|
81
81
|
createElementVNode("div", _hoisted_3, [
|
|
82
|
-
createElementVNode("div", _hoisted_4, toDisplayString(
|
|
83
|
-
|
|
84
|
-
createTextVNode(toDisplayString(
|
|
85
|
-
createElementVNode("span", _hoisted_6, toDisplayString(
|
|
82
|
+
createElementVNode("div", _hoisted_4, toDisplayString(__props.title), 1),
|
|
83
|
+
__props.caption || __props.userInput ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
84
|
+
createTextVNode(toDisplayString(__props.caption ? __props.caption + " " : ""), 1),
|
|
85
|
+
createElementVNode("span", _hoisted_6, toDisplayString(__props.userInput), 1)
|
|
86
86
|
])) : createCommentVNode("", true),
|
|
87
|
-
|
|
87
|
+
__props.to ? (openBlock(), createBlock(_sfc_main$2, {
|
|
88
88
|
key: 1,
|
|
89
|
-
to:
|
|
89
|
+
to: __props.to,
|
|
90
90
|
"semantic-type": unref(SemanticType).SECONDARY,
|
|
91
91
|
class: "mt-4 justify-self-start"
|
|
92
92
|
}, {
|
|
@@ -17,13 +17,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
const formattedCompact = computed(() => (props.percent ? percentCompactFormatter : numberCompactFormatter).format(props.modelValue));
|
|
18
18
|
const formatted = computed(() => (props.percent ? percentFormatter : numberFormatter).format(props.modelValue));
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(resolveDynamicComponent(
|
|
20
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.tag ?? _sfc_main$1), null, {
|
|
21
21
|
default: withCtx(() => [
|
|
22
|
-
createTextVNode(toDisplayString(
|
|
23
|
-
|
|
22
|
+
createTextVNode(toDisplayString(__props.compact ? formattedCompact.value : formatted.value) + " ", 1),
|
|
23
|
+
__props.compact && formattedCompact.value !== formatted.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
24
24
|
key: 0,
|
|
25
25
|
text: formatted.value,
|
|
26
|
-
"no-touch":
|
|
26
|
+
"no-touch": __props.noTouch
|
|
27
27
|
}, null, 8, ["text", "no-touch"])) : createCommentVNode("", true)
|
|
28
28
|
]),
|
|
29
29
|
_: 1
|
|
@@ -153,12 +153,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
153
|
createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
154
154
|
ref: "element",
|
|
155
155
|
class: ["not-print:shadow-md bg-default text-black-default light relative isolate grid h-[29.62cm] w-[21.01cm] break-before-page grid-cols-1 grid-rows-[auto,1fr] overflow-hidden px-[1cm] py-[2cm]", {
|
|
156
|
-
"[counter-increment:page] after:absolute after:bottom-[1cm] after:right-[1cm] after:text-xs after:[--tw-content:counter(page)]": !
|
|
156
|
+
"[counter-increment:page] after:absolute after:bottom-[1cm] after:right-[1cm] after:text-xs after:[--tw-content:counter(page)]": !__props.empty
|
|
157
157
|
}]
|
|
158
158
|
}), [
|
|
159
|
-
|
|
159
|
+
__props.title && !__props.topTitle ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
160
160
|
createVNode(_sfc_main$1, {
|
|
161
|
-
title:
|
|
161
|
+
title: __props.title,
|
|
162
162
|
big: ""
|
|
163
163
|
}, null, 8, ["title"])
|
|
164
164
|
])) : createCommentVNode("", true),
|
|
@@ -167,33 +167,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
167
167
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ updateOverflow, INNER_CLASS })))
|
|
168
168
|
], 512),
|
|
169
169
|
createElementVNode("div", _hoisted_3, [
|
|
170
|
-
|
|
170
|
+
__props.logoComponent || _ctx.$slots.logo ? (openBlock(), createElementBlock("div", {
|
|
171
171
|
key: 0,
|
|
172
172
|
class: normalizeClass(["grid grid-cols-[auto,1fr] items-center gap-3", {
|
|
173
|
-
"col-start-2":
|
|
174
|
-
"col-start-1": !
|
|
173
|
+
"col-start-2": __props.centerLogo,
|
|
174
|
+
"col-start-1": !__props.centerLogo
|
|
175
175
|
}])
|
|
176
176
|
}, [
|
|
177
177
|
renderSlot(_ctx.$slots, "logo", {}, () => [
|
|
178
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
178
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.logoComponent)))
|
|
179
179
|
])
|
|
180
180
|
], 2)) : createCommentVNode("", true),
|
|
181
|
-
!
|
|
181
|
+
!__props.centerLogo && __props.date ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(unref(dateFormat)(__props.date)), 1)) : createCommentVNode("", true)
|
|
182
182
|
]),
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
createElementVNode("div", _hoisted_7, toDisplayString(
|
|
183
|
+
__props.title && __props.topTitle ? (openBlock(), createElementBlock("span", _hoisted_5, " " + toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
184
|
+
__props.watermark ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
185
|
+
createElementVNode("div", _hoisted_7, toDisplayString(__props.watermark), 1)
|
|
186
186
|
])) : createCommentVNode("", true)
|
|
187
187
|
], 16),
|
|
188
188
|
overflow.value.length !== 0 ? (openBlock(), createBlock(_component_WPage, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
189
189
|
prerendered: overflow.value,
|
|
190
|
-
title:
|
|
190
|
+
title: __props.title,
|
|
191
191
|
"top-title": "",
|
|
192
|
-
"center-logo":
|
|
193
|
-
"logo-component":
|
|
194
|
-
date:
|
|
195
|
-
empty:
|
|
196
|
-
watermark:
|
|
192
|
+
"center-logo": __props.centerLogo,
|
|
193
|
+
"logo-component": __props.logoComponent,
|
|
194
|
+
date: __props.date,
|
|
195
|
+
empty: __props.empty,
|
|
196
|
+
watermark: __props.watermark
|
|
197
197
|
}), createSlots({ _: 2 }, [
|
|
198
198
|
_ctx.$slots.header ? {
|
|
199
199
|
name: "header",
|
|
@@ -10,10 +10,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
return (_ctx, _cache) => {
|
|
11
11
|
return openBlock(), createElementBlock("span", {
|
|
12
12
|
class: normalizeClass(["text-black-default tracking-tight [counter-increment:section] before:[--tw-content:counters(section,'.',var(--w-report-counter-style,null))]", {
|
|
13
|
-
"font-semibold before:text-gray-400": !
|
|
14
|
-
"text-6xl font-bold before:text-gray-300 before:[--w-report-counter-style:decimal-leading-zero]":
|
|
13
|
+
"font-semibold before:text-gray-400": !__props.big,
|
|
14
|
+
"text-6xl font-bold before:text-gray-300 before:[--w-report-counter-style:decimal-leading-zero]": __props.big
|
|
15
15
|
}])
|
|
16
|
-
}, " " + toDisplayString(
|
|
16
|
+
}, " " + toDisplayString(__props.title), 3);
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
createElementVNode("div", {
|
|
13
13
|
class: "bg-primary dark:bg-primary-dark h-full transition-[width]",
|
|
14
14
|
style: normalizeStyle({
|
|
15
|
-
width:
|
|
15
|
+
width: __props.modelValue + "%"
|
|
16
16
|
})
|
|
17
17
|
}, null, 4)
|
|
18
18
|
]);
|
|
@@ -9,21 +9,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
return (_ctx, _cache) => {
|
|
10
10
|
return openBlock(), createElementBlock("div", {
|
|
11
11
|
class: normalizeClass(["relative w-full select-none overflow-clip rounded-full", {
|
|
12
|
-
"bg-primary dark:bg-primary-dark":
|
|
13
|
-
"bg-gray-200 dark:bg-gray-800":
|
|
14
|
-
"w-progress-striped before:animate-move-horizontal cursor-progress":
|
|
15
|
-
"before:absolute before:inset-0":
|
|
16
|
-
"before:animate-ticker before:via-default/50 before:bg-gradient-to-r before:from-transparent before:to-transparent":
|
|
17
|
-
"before:bg-default/50 before:animate-pulse":
|
|
12
|
+
"bg-primary dark:bg-primary-dark": __props.modelValue > 0,
|
|
13
|
+
"bg-gray-200 dark:bg-gray-800": __props.modelValue <= 0,
|
|
14
|
+
"w-progress-striped before:animate-move-horizontal cursor-progress": __props.modelValue > 0 && __props.modelValue < 100,
|
|
15
|
+
"before:absolute before:inset-0": __props.modelValue >= 100 || __props.modelValue <= 0,
|
|
16
|
+
"before:animate-ticker before:via-default/50 before:bg-gradient-to-r before:from-transparent before:to-transparent": __props.modelValue <= 0,
|
|
17
|
+
"before:bg-default/50 before:animate-pulse": __props.modelValue >= 100
|
|
18
18
|
}])
|
|
19
19
|
}, [
|
|
20
|
-
|
|
20
|
+
__props.modelValue < 100 && __props.modelValue > 0 ? (openBlock(), createElementBlock("div", {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: normalizeClass(["absolute right-0 h-full bg-gray-200 transition-[width] dark:bg-gray-800", {
|
|
23
|
-
"w-progress-striped before:animate-move-horizontal":
|
|
23
|
+
"w-progress-striped before:animate-move-horizontal": __props.modelValue === 0
|
|
24
24
|
}]),
|
|
25
25
|
style: normalizeStyle({
|
|
26
|
-
width: 100 -
|
|
26
|
+
width: 100 - __props.modelValue + "%"
|
|
27
27
|
})
|
|
28
28
|
}, null, 6)) : createCommentVNode("", true)
|
|
29
29
|
], 2);
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
RouterLinkComponent = null;
|
|
15
15
|
}
|
|
16
16
|
return (_ctx, _cache) => {
|
|
17
|
-
return openBlock(), createBlock(resolveDynamicComponent(unref(RouterLinkComponent) ?? "a"), normalizeProps(guardReactiveProps(
|
|
17
|
+
return openBlock(), createBlock(resolveDynamicComponent(unref(RouterLinkComponent) ?? "a"), normalizeProps(guardReactiveProps(__props.to ? { to: __props.to } : { href: __props.href })), {
|
|
18
18
|
default: withCtx(() => [
|
|
19
19
|
renderSlot(_ctx.$slots, "default")
|
|
20
20
|
]),
|
|
@@ -266,14 +266,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
266
266
|
return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "input" }, {
|
|
267
267
|
...props,
|
|
268
268
|
modelValue: search.value,
|
|
269
|
-
loading:
|
|
270
|
-
hideInput:
|
|
271
|
-
filterValue:
|
|
272
|
-
placeholder:
|
|
269
|
+
loading: __props.loading || unref(isLoading) || loadingCreate.value,
|
|
270
|
+
hideInput: __props.modelValue.length === 0 && !__props.emptyValue ? false : unref(isMobile) ? !focused.value : !isOpen.value,
|
|
271
|
+
filterValue: __props.filterValue === void 0 ? __props.modelValue : __props.filterValue,
|
|
272
|
+
placeholder: __props.emptyValue || focused.value || __props.modelValue.length ? void 0 : __props.placeholder,
|
|
273
273
|
emptyValue: void 0
|
|
274
274
|
}, {
|
|
275
275
|
class: _ctx.$attrs.class,
|
|
276
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => !
|
|
276
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => !__props.loading && !unref(isLoading) && (search.value = $event ?? "")),
|
|
277
277
|
"onKeypress:enter": withModifiers(selectCursor, ["stop", "prevent"]),
|
|
278
278
|
"onKeypress:up": withModifiers(cursorUp, ["prevent"]),
|
|
279
279
|
"onKeypress:down": withModifiers(cursorDown, ["prevent"]),
|
|
@@ -291,17 +291,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
291
291
|
}), createSlots({
|
|
292
292
|
prefix: withCtx(({ unclickable }) => [
|
|
293
293
|
renderSlot(_ctx.$slots, "prefix"),
|
|
294
|
-
(
|
|
294
|
+
(__props.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(!__props.emptyValue || __props.modelValue.length !== 0 ? __props.modelValue : __props.emptyValue, (value, index) => {
|
|
295
295
|
return openBlock(), createBlock(_sfc_main$3, {
|
|
296
296
|
key: value,
|
|
297
|
-
option: optionsWithCreated.value.find((item) =>
|
|
298
|
-
"option-component":
|
|
299
|
-
"option-component-props":
|
|
297
|
+
option: optionsWithCreated.value.find((item) => __props.valueGetter(item) === value),
|
|
298
|
+
"option-component": __props.optionComponent,
|
|
299
|
+
"option-component-props": __props.optionComponentProps,
|
|
300
300
|
index,
|
|
301
|
-
loading:
|
|
301
|
+
loading: __props.loading || unref(isLoading),
|
|
302
302
|
disabled: unref(isDisabled),
|
|
303
303
|
readonly: unref(isReadonly),
|
|
304
|
-
"disable-clear":
|
|
304
|
+
"disable-clear": __props.disableClear || unref(isReadonly) || __props.seamless && !focused.value || __props.modelValue.length === 0,
|
|
305
305
|
search: value,
|
|
306
306
|
skeleton: optionsWithCreated.value.length === 0,
|
|
307
307
|
class: normalizeClass({
|
|
@@ -330,17 +330,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
330
330
|
key: 0,
|
|
331
331
|
"is-selected": false,
|
|
332
332
|
"is-cursor": cursor.value === optionsFiltered.value.length,
|
|
333
|
-
loading: (loadingCreate.value || loadingOptionIndex.value === optionsFiltered.value.length) &&
|
|
333
|
+
loading: (loadingCreate.value || loadingOptionIndex.value === optionsFiltered.value.length) && __props.loading,
|
|
334
334
|
scroll: isCursorLocked.value,
|
|
335
|
-
"hide-option-icon":
|
|
335
|
+
"hide-option-icon": __props.hideOptionIcon,
|
|
336
336
|
disabled: !search.value || isModelValueSearch.value,
|
|
337
337
|
class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
|
|
338
338
|
onSelect: _cache[0] || (_cache[0] = ($event) => create(search.value)),
|
|
339
339
|
onMouseenter: _cache[1] || (_cache[1] = ($event) => setCursor(optionsFiltered.value.length))
|
|
340
340
|
}, {
|
|
341
|
-
prefix: withCtx(() => _cache[6] || (_cache[6] = [
|
|
341
|
+
prefix: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
342
342
|
createElementVNode("div", { class: "w-option flex items-center pr-2" }, " Create: ", -1)
|
|
343
|
-
])),
|
|
343
|
+
])]),
|
|
344
344
|
default: withCtx(() => [
|
|
345
345
|
search.value && !isModelValueSearch.value ? renderSlot(_ctx.$slots, "option", {
|
|
346
346
|
key: 0,
|
|
@@ -351,7 +351,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
351
351
|
index: void 0,
|
|
352
352
|
skeleton: false
|
|
353
353
|
}, () => [
|
|
354
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
354
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.optionComponent), mergeProps(__props.optionComponentProps, {
|
|
355
355
|
option: null,
|
|
356
356
|
search: search.value,
|
|
357
357
|
selected: false,
|
|
@@ -361,24 +361,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
361
361
|
]),
|
|
362
362
|
_: 3
|
|
363
363
|
}, 8, ["is-cursor", "loading", "scroll", "hide-option-icon", "disabled"])) : createCommentVNode("", true),
|
|
364
|
-
!optionsFiltered.value.length && !isModelValueSearch.value && (!
|
|
365
|
-
createElementVNode("div", _hoisted_4, toDisplayString(!search.value &&
|
|
364
|
+
!optionsFiltered.value.length && !isModelValueSearch.value && (!__props.createOption || optionsWithCreated.value.length) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
365
|
+
createElementVNode("div", _hoisted_4, toDisplayString(!search.value && __props.emptyStub ? __props.emptyStub : search.value ? "No match" : "Nothing to show"), 1)
|
|
366
366
|
])) : createCommentVNode("", true),
|
|
367
367
|
(openBlock(true), createElementBlock(Fragment, null, renderList(optionsFiltered.value, (option, index) => {
|
|
368
368
|
return openBlock(), createBlock(_sfc_main$2, {
|
|
369
|
-
key:
|
|
370
|
-
"is-selected":
|
|
369
|
+
key: __props.valueGetter(option),
|
|
370
|
+
"is-selected": __props.modelValue.includes(__props.valueGetter(option)),
|
|
371
371
|
"is-cursor": index === cursor.value,
|
|
372
|
-
loading: loadingOptionIndex.value === index &&
|
|
372
|
+
loading: loadingOptionIndex.value === index && __props.loading,
|
|
373
373
|
scroll: isCursorLocked.value,
|
|
374
|
-
"hide-option-icon":
|
|
374
|
+
"hide-option-icon": __props.hideOptionIcon,
|
|
375
375
|
class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
|
|
376
376
|
onSelect: ($event) => {
|
|
377
|
-
select(
|
|
377
|
+
select(__props.valueGetter(option));
|
|
378
378
|
setLoadingOptionIndex(index);
|
|
379
379
|
},
|
|
380
380
|
onUnselect: ($event) => {
|
|
381
|
-
unselect(
|
|
381
|
+
unselect(__props.valueGetter(option));
|
|
382
382
|
setLoadingOptionIndex(index);
|
|
383
383
|
},
|
|
384
384
|
onMouseenter: ($event) => setCursor(index)
|
|
@@ -392,7 +392,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
392
392
|
skeleton: false,
|
|
393
393
|
search: search.value
|
|
394
394
|
}, () => [
|
|
395
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
395
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.optionComponent), mergeProps({ ref_for: true }, __props.optionComponentProps, {
|
|
396
396
|
option,
|
|
397
397
|
selected,
|
|
398
398
|
model: false
|