eco-vue-js 0.10.35 → 0.10.37
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/components/ActionsBar/WActionsBar.vue.d.ts +1 -0
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +4 -3
- package/dist/components/Button/WButtonAction.vue.d.ts +1 -0
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue.js +17 -6
- package/dist/components/Button/WButtonDropdown.vue.js +0 -2
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +0 -1
- package/dist/components/Button/WButtonSelection.vue.js +1 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts +6 -11
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +1 -1
- package/dist/components/Dropdown/types.d.ts +9 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +18 -32
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +5 -9
- package/dist/components/DropdownMenu/types.d.ts +0 -2
- package/dist/components/DropdownMenu/types.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.d.ts +4 -0
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.js +11 -2
- package/dist/components/Form/WFormValidator.vue.d.ts +2 -0
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +24 -25
- package/dist/components/Form/models/injection.d.ts +1 -0
- package/dist/components/Form/models/injection.d.ts.map +1 -1
- package/dist/components/Form/models/injection.js +2 -1
- package/dist/components/Form/use/useFormValueMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValueMap.js +2 -6
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +0 -2
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +0 -2
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +0 -2
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +0 -2
- package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts +3 -1
- package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncToggle.vue.js +10 -2
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +0 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +2 -5
- package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.d.ts +25 -0
- package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.js +23 -0
- package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue2.js +5 -0
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts +0 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +8 -5
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +0 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +5 -4
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +0 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +7 -8
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +3 -6
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +8 -10
- package/dist/components/InfiniteList/models/injection.d.ts +3 -0
- package/dist/components/InfiniteList/models/injection.d.ts.map +1 -0
- package/dist/components/InfiniteList/models/injection.js +3 -0
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +1 -1
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useInfiniteListHeader.js +5 -3
- package/dist/components/Input/WInput.vue.js +1 -1
- package/dist/components/Input/WInputDate.vue.js +0 -2
- package/dist/components/Input/WInputOptions.vue.js +0 -2
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +17 -18
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +5 -5
- package/dist/components/List/WListHeader.vue.js +4 -4
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.js +3 -3
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.js +5 -1
- package/dist/components/Modal/WModalImport.vue.js +2 -2
- package/dist/components/Modal/WModalStepper.vue.d.ts +40 -8
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.d.ts +8 -2
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.js +35 -21
- package/dist/components/Modal/models/injection.d.ts +4 -0
- package/dist/components/Modal/models/injection.d.ts.map +1 -0
- package/dist/components/Modal/models/injection.js +4 -0
- package/dist/components/Progress/WProgressStriped.vue.js +2 -2
- package/dist/components/Select/WSelect.vue.js +0 -2
- package/dist/components/Select/WSelectAsync.vue.js +0 -2
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncList.vue.js +41 -41
- package/dist/components/Select/WSelectAsyncSingle.vue.js +0 -2
- package/dist/components/Select/WSelectSingle.vue.js +0 -2
- package/dist/components/Select/WSelectStringified.vue.js +0 -2
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +0 -1
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.js +1 -3
- package/dist/components/Tabs/WTabs.vue.d.ts +48 -24
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +2 -2
- package/dist/components/Tabs/components/TabItem.vue.d.ts +20 -4
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.d.ts +3 -1
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +10 -6
- package/dist/imports/componentsPlugin.d.ts +2 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/main.js +1 -0
- package/package.json +4 -1
- package/tailwind-base/plugins/default.ts +11 -18
- package/tailwind-base/theme/sizes.ts +5 -0
@@ -1,13 +1,15 @@
|
|
1
|
-
import { ref, onMounted, onBeforeUnmount } from 'vue';
|
1
|
+
import { ref, inject, onMounted, onBeforeUnmount } from 'vue';
|
2
2
|
import { isClientSide } from '../../../utils/utils.js';
|
3
|
+
import { wScrollingElement } from '../models/injection.js';
|
3
4
|
|
4
|
-
const useInfiniteListHeader = (headerElementHeight,
|
5
|
+
const useInfiniteListHeader = (headerElementHeight, initIsIntersecting = true) => {
|
5
6
|
const indicator = ref();
|
6
7
|
const header = ref();
|
7
8
|
const headerHeight = ref(0);
|
8
9
|
const headerTop = ref(0);
|
9
10
|
const isIntersecting = ref(initIsIntersecting);
|
10
11
|
let observer = null;
|
12
|
+
const scrollingElement = inject(wScrollingElement, null);
|
11
13
|
const observerCb = (entries) => {
|
12
14
|
isIntersecting.value = entries.some((entry) => {
|
13
15
|
if (entry.target === indicator.value) {
|
@@ -19,7 +21,7 @@ const useInfiniteListHeader = (headerElementHeight, scrollingElement = document.
|
|
19
21
|
if (!header.value) return;
|
20
22
|
const rect = header.value.getBoundingClientRect();
|
21
23
|
headerHeight.value = rect.height;
|
22
|
-
headerTop.value = rect.top + (scrollingElement?.scrollTop ?? 0) - headerElementHeight.value;
|
24
|
+
headerTop.value = rect.top + (scrollingElement?.value?.scrollTop ?? document.scrollingElement?.scrollTop ?? 0) - headerElementHeight.value;
|
23
25
|
};
|
24
26
|
onMounted(() => {
|
25
27
|
if (!isClientSide) return;
|
@@ -221,7 +221,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
221
221
|
name: "field",
|
222
222
|
fn: withCtx(({ id, setFocused, focused }) => [
|
223
223
|
createElementVNode("div", {
|
224
|
-
class: normalizeClass(["relative grid min-h-[--w-input-height,2.75rem] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid transition-colors duration-75", {
|
224
|
+
class: normalizeClass(["relative grid min-h-[--w-input-min-height,var(--w-input-height,2.75rem)] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid transition-colors duration-75", {
|
225
225
|
"focus-within:border-primary dark:focus-within:border-primary-dark focus-within:outline-primary/20 dark:focus-within:outline-primary-dark/20 focus-within:outline focus-within:outline-2": !_ctx.disabled && !_ctx.readonly && !_ctx.unclickable,
|
226
226
|
"cursor-text": !_ctx.disabled,
|
227
227
|
"border-negative dark:border-negative-dark": _ctx.errorMessage,
|
@@ -58,8 +58,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
subgrid: { type: Boolean },
|
59
59
|
seamless: { type: Boolean },
|
60
60
|
teleport: { type: Boolean },
|
61
|
-
noZIndex: { type: Boolean },
|
62
|
-
zIndex: {},
|
63
61
|
parentElement: {},
|
64
62
|
maxHeight: { default: 440 },
|
65
63
|
maxWidth: { default: 480 },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AA6GA;AA2MA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAY5C,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA+XO,mBAAmB,CAAC,2CAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;gBAnTD,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;SAAC,KAAK,IAAI;gBAChD,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;kBACpC,CAAC,KAAK,CAAC,EAAE;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,KAAK,EAAE;;gBAJnD,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;SAAC,KAAK,IAAI;gBAChD,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;kBACpC,CAAC,KAAK,CAAC,EAAE;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,KAAK,EAAE;;;YAlEvD,mBAAmB,mDAAsB,IAAI;YAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;EA4WlC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1YzE,wBA0Y4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx,
|
1
|
+
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createVNode, normalizeClass, createElementBlock, createCommentVNode, Fragment, renderList, createSlots, renderSlot } from 'vue';
|
2
2
|
import _sfc_main$1 from '../BottomSheet/WBottomSheet.vue.js';
|
3
3
|
import _sfc_main$2 from '../DropdownMenu/WDropdownMenu.vue.js';
|
4
|
-
import _sfc_main$3 from '
|
4
|
+
import _sfc_main$3 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
5
|
+
import _sfc_main$4 from './WInput.vue.js';
|
5
6
|
import IconArrow from '../../assets/icons/default/IconArrow.svg.js';
|
6
7
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
7
8
|
import { useIsMobile } from '../../utils/mobile.js';
|
@@ -58,8 +59,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
59
|
subgrid: { type: Boolean },
|
59
60
|
seamless: { type: Boolean },
|
60
61
|
teleport: { type: Boolean },
|
61
|
-
noZIndex: { type: Boolean },
|
62
|
-
zIndex: {},
|
63
62
|
parentElement: {},
|
64
63
|
maxHeight: { default: 320 },
|
65
64
|
maxWidth: { default: 600 },
|
@@ -72,7 +71,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
72
71
|
const isOpen = ref(false);
|
73
72
|
const dropdownMenuRef = useTemplateRef("dropdownMenu");
|
74
73
|
const inputRef = useTemplateRef("input");
|
75
|
-
const contentRef = useTemplateRef("content");
|
76
74
|
const { isMobile } = useIsMobile();
|
77
75
|
const isDisabled = computed(() => props.readonly || props.disabled);
|
78
76
|
const open = () => {
|
@@ -111,11 +109,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
109
|
horizontalAlign: _ctx.horizontalAlign,
|
112
110
|
updateAlign: true,
|
113
111
|
teleport: _ctx.teleport,
|
114
|
-
noZIndex: _ctx.noZIndex,
|
115
112
|
parentElement: unref(inputRef)?.fieldRef
|
116
113
|
}), {
|
117
114
|
toggle: withCtx((toggleScope) => [
|
118
|
-
createVNode(_sfc_main$
|
115
|
+
createVNode(_sfc_main$4, mergeProps({ ref: "input" }, {
|
119
116
|
...props,
|
120
117
|
..._ctx.$attrs,
|
121
118
|
title: toggleScope?.unclickable ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
|
@@ -181,22 +178,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
181
178
|
]), 1040, ["class", "onFocus", "onBlur", "onClick", "onClick:suffix"])
|
182
179
|
]),
|
183
180
|
content: withCtx((contentScope) => [
|
184
|
-
|
185
|
-
|
181
|
+
createVNode(_sfc_main$3, {
|
182
|
+
parent: unref(isMobile),
|
186
183
|
class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
|
187
184
|
"pb-[50vh]": unref(isMobile),
|
188
185
|
"overflow-y-overlay max-h-[inherit] overflow-x-hidden overscroll-contain rounded-xl shadow-md dark:border dark:border-solid dark:border-gray-800": !unref(isMobile),
|
189
186
|
"mt-5": "istop" in contentScope && contentScope.istop === false && (_ctx.errorMessage || _ctx.maxLength)
|
190
187
|
}])
|
191
|
-
},
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
188
|
+
}, {
|
189
|
+
default: withCtx(() => [
|
190
|
+
_ctx.$slots.content ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.$slots.content(), (slot, index) => {
|
191
|
+
return openBlock(), createBlock(resolveDynamicComponent(slot), {
|
192
|
+
key: index,
|
193
|
+
onClose: close
|
194
|
+
}, null, 32);
|
195
|
+
}), 128)) : createCommentVNode("", true)
|
196
|
+
]),
|
197
|
+
_: 2
|
198
|
+
}, 1032, ["parent", "class"])
|
200
199
|
]),
|
201
200
|
_: 3
|
202
201
|
}, 16);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAwMA;AAkRA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAgB5C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,SAAS,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,WA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AQ,EAAE,OAAO,CAAA;IAEjB,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,gBAAgB,EAAE,OAAO,CAAA;CAC1B,CAAC;AAwCF,iBAAS,cAAc;WAoYT,OAAO,IAA6B;;;;;;YAjBpB,GAAG;sBACN,GAAG;sBACH,GAAG;2BACE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA1ET,GAAG,8CAC7B,GAAE,yBAAyB,GAC1B,6DACoB,GAAG;;;;;;;;;;;;;;;;;;EA0FvB;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAzHK,GAAG,8CAC7B,GAAE,yBAAyB,GAC1B,6DACoB,GAAG;;;;;;;;;;;;;;;;OA8HtB,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"}
|
@@ -92,11 +92,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
92
92
|
}),
|
93
93
|
!_ctx.card ? (openBlock(), createElementBlock("div", {
|
94
94
|
key: 0,
|
95
|
-
class: normalizeClass(["left-inner bg-default dark:bg-default-dark @not-lg:hidden sticky z-[1]", {
|
95
|
+
class: normalizeClass(["-left--left-inner bg-default dark:bg-default-dark @not-lg:hidden sticky z-[1]", {
|
96
96
|
"width-[--w-list-header-rounded,1rem]": !_ctx.allowSelect
|
97
97
|
}])
|
98
98
|
}, [
|
99
|
-
_cache[5] || (_cache[5] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute right-full top-0 z-[-1] h-full
|
99
|
+
_cache[5] || (_cache[5] = createElementVNode("div", { class: "bg-default dark:bg-default-dark -w--left-inner absolute right-full top-0 z-[-1] h-full" }, null, -1)),
|
100
100
|
createElementVNode("div", {
|
101
101
|
class: normalizeClass(["h-full rounded-l-[--w-list-rounded,unset]", {
|
102
102
|
"border border-r-0": _ctx.hasBorder,
|
@@ -176,12 +176,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
176
176
|
}, 16, ["class"])),
|
177
177
|
!_ctx.card ? (openBlock(), createElementBlock("div", {
|
178
178
|
key: 1,
|
179
|
-
class: normalizeClass(["right-inner bg-default dark:bg-default-dark sticky z-[1]", {
|
179
|
+
class: normalizeClass(["-right--right-inner bg-default dark:bg-default-dark sticky z-[1]", {
|
180
180
|
"width-[calc(var(--w-list-padding,1rem)*2+1.25em)]": _ctx.$slots.more,
|
181
181
|
"width-[--w-list-header-rounded,1rem]": !_ctx.$slots.more
|
182
182
|
}])
|
183
183
|
}, [
|
184
|
-
_cache[6] || (_cache[6] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute left-full top-0 z-[-1] h-full
|
184
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "bg-default dark:bg-default-dark -w--right-inner absolute left-full top-0 z-[-1] h-full" }, null, -1)),
|
185
185
|
createElementVNode("div", {
|
186
186
|
class: normalizeClass(["h-full rounded-r-[--w-list-rounded,unset]", {
|
187
187
|
"rounded-tr-[--w-list-rounded,unset] border border-l-0": _ctx.hasBorder,
|
@@ -221,7 +221,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
221
221
|
_ctx.$slots.expansion ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
222
222
|
isOpen.value ? (openBlock(), createElementBlock("div", {
|
223
223
|
key: 0,
|
224
|
-
class: normalizeClass(["sm
|
224
|
+
class: normalizeClass(["sm:-w--width-inner sm:-left--left-inner col-span-full sm:sticky", {
|
225
225
|
"border-gray-300 dark:border-gray-700": _ctx.hasBorder && !_ctx.selected,
|
226
226
|
"border-primary dark:border-primary-dark": _ctx.hasBorder && _ctx.selected,
|
227
227
|
"mt-[calc(var(--w-list-gap,1rem)*-1)] border border-t-0 px-5": !_ctx.card && _ctx.hasBorder,
|
@@ -2,9 +2,9 @@ import { defineComponent, onMounted, onUnmounted, createElementBlock, openBlock,
|
|
2
2
|
import _sfc_main$1 from '../Checkbox/WCheckbox.vue.js';
|
3
3
|
|
4
4
|
const _hoisted_1 = { class: "flex h-[--w-list-header-height,3rem]" };
|
5
|
-
const _hoisted_2 = { class: "left-inner bg-default dark:bg-default-dark sticky z-[1]" };
|
5
|
+
const _hoisted_2 = { class: "-left--left-inner bg-default dark:bg-default-dark sticky z-[1]" };
|
6
6
|
const _hoisted_3 = { class: "bg-primary-light dark:bg-primary-darkest flex flex-1 border-y border-solid border-gray-300 dark:border-gray-700" };
|
7
|
-
const _hoisted_4 = { class: "right-inner bg-default dark:bg-default-dark sticky z-[1]" };
|
7
|
+
const _hoisted_4 = { class: "-right--right-inner bg-default dark:bg-default-dark sticky z-[1]" };
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "WListHeader",
|
10
10
|
props: {
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
return (_ctx, _cache) => {
|
28
28
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
29
29
|
createElementVNode("div", _hoisted_2, [
|
30
|
-
_cache[1] || (_cache[1] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute right-full top-0 z-[-1] h-full
|
30
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "bg-default dark:bg-default-dark -w--left-inner absolute right-full top-0 z-[-1] h-full" }, null, -1)),
|
31
31
|
createElementVNode("div", {
|
32
32
|
class: normalizeClass(["bg-primary-light dark:bg-primary-darkest h-full rounded-l-[--w-list-header-rounded,1rem] border-y border-l border-solid border-gray-300 dark:border-gray-700", {
|
33
33
|
"width-[--w-list-header-rounded,1rem]": !_ctx.allowSelect
|
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
renderSlot(_ctx.$slots, "default")
|
49
49
|
]),
|
50
50
|
createElementVNode("div", _hoisted_4, [
|
51
|
-
_cache[2] || (_cache[2] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute left-full top-0 z-[-1] h-full
|
51
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "bg-default dark:bg-default-dark -w--right-inner absolute left-full top-0 z-[-1] h-full" }, null, -1)),
|
52
52
|
createElementVNode("div", {
|
53
53
|
class: normalizeClass(["bg-primary-light dark:bg-primary-darkest h-full rounded-r-[--w-list-header-rounded,0.75rem] border-y border-r border-solid border-gray-300 dark:border-gray-700", {
|
54
54
|
"width-[calc(var(--w-list-padding,1rem)*2+1.25em)]": !_ctx.hideMore,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuItem/WMenuItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuItem/WMenuItem.vue"],"names":[],"mappings":"AAsBA;AAyCA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAI5C,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAYD,iBAAS,cAAc;WA2DT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,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"}
|
@@ -22,9 +22,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
}), {
|
23
23
|
default: withCtx(() => [
|
24
24
|
createElementVNode("div", {
|
25
|
-
class: normalizeClass({
|
26
|
-
"w-ripple w-ripple-hover
|
27
|
-
})
|
25
|
+
class: normalizeClass(["relative flex w-full gap-4 rounded-lg px-2 py-1", {
|
26
|
+
"w-ripple w-ripple-hover": !_ctx.disabled
|
27
|
+
}])
|
28
28
|
}, [
|
29
29
|
renderSlot(_ctx.$slots, "default")
|
30
30
|
], 2)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModal.vue"],"names":[],"mappings":"AAyCA;;
|
1
|
+
{"version":3,"file":"WModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModal.vue"],"names":[],"mappings":"AAyCA;;AA0YA,wBAMG"}
|
@@ -1,13 +1,17 @@
|
|
1
|
-
import { defineComponent, ref, reactive, watch, onBeforeMount, onBeforeUnmount, createElementBlock, openBlock, createVNode, Transition, withCtx, createCommentVNode, unref, normalizeStyle, TransitionGroup, Fragment, renderList, createElementVNode, createBlock, withModifiers, resolveDynamicComponent, mergeProps } from 'vue';
|
1
|
+
import { defineComponent, provide, ref, reactive, watch, onBeforeMount, onBeforeUnmount, createElementBlock, openBlock, createVNode, Transition, withCtx, createCommentVNode, unref, normalizeStyle, TransitionGroup, Fragment, renderList, createElementVNode, createBlock, withModifiers, resolveDynamicComponent, mergeProps } from 'vue';
|
2
2
|
import { Modal, initModal } from '../../utils/Modal.js';
|
3
3
|
import { SemanticType } from '../../utils/SemanticType.js';
|
4
4
|
import _sfc_main$1 from './components/ModalCloseButton.vue.js';
|
5
|
+
import { wBaseZInfex, wIsModal } from './models/injection.js';
|
5
6
|
import { useIsBackdrop } from './use/useIsBackdrop.js';
|
6
7
|
|
7
8
|
const _hoisted_1 = { class: "z-[1000]" };
|
9
|
+
const MODAL_Z_INDEX = 1e3;
|
8
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
11
|
__name: "WModal",
|
10
12
|
setup(__props) {
|
13
|
+
provide(wBaseZInfex, MODAL_Z_INDEX);
|
14
|
+
provide(wIsModal, true);
|
11
15
|
const key = ref(0);
|
12
16
|
const modalMetaList = ref([]);
|
13
17
|
const isBackdrop = useIsBackdrop();
|
@@ -27,9 +27,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
const abortList = ref([]);
|
28
28
|
const progress = computed(() => {
|
29
29
|
if (props.items.length === 0) return 0;
|
30
|
-
return itemIndex.value / props.items.length;
|
30
|
+
return 100 * itemIndex.value / props.items.length;
|
31
31
|
});
|
32
|
-
const isDone = computed(() => progress.value ===
|
32
|
+
const isDone = computed(() => progress.value === 100);
|
33
33
|
const abortUpload = () => {
|
34
34
|
if (!isDone.value) {
|
35
35
|
const length = abortList.value.length;
|
@@ -51,6 +51,7 @@ declare function __VLS_template(): {
|
|
51
51
|
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
52
52
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
53
53
|
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
54
|
+
readonly "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
54
55
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
55
56
|
$attrs: {
|
56
57
|
[x: string]: unknown;
|
@@ -64,7 +65,7 @@ declare function __VLS_template(): {
|
|
64
65
|
$root: import('vue').ComponentPublicInstance | null;
|
65
66
|
$parent: import('vue').ComponentPublicInstance | null;
|
66
67
|
$host: Element | null;
|
67
|
-
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
68
|
+
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void) & ((event: "update:has-shown", value: boolean) => void);
|
68
69
|
$el: any;
|
69
70
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
70
71
|
name?: string;
|
@@ -74,12 +75,15 @@ declare function __VLS_template(): {
|
|
74
75
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
75
76
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
76
77
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
78
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
77
79
|
}>, {
|
78
80
|
isValid: import('vue').ComputedRef<boolean>;
|
79
81
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
80
82
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
81
83
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
82
84
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
85
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
86
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
83
87
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
84
88
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
85
89
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -92,6 +96,7 @@ declare function __VLS_template(): {
|
|
92
96
|
"update:is-valid": (value: boolean | undefined) => any;
|
93
97
|
"update:has-changes": (value: boolean) => any;
|
94
98
|
"update:has-value": (value: boolean | null) => any;
|
99
|
+
"update:has-shown": (value: boolean) => any;
|
95
100
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
96
101
|
beforeCreate?: (() => void) | (() => void)[];
|
97
102
|
created?: (() => void) | (() => void)[];
|
@@ -120,12 +125,15 @@ declare function __VLS_template(): {
|
|
120
125
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
121
126
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
122
127
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
123
|
-
|
128
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
129
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
|
124
130
|
isValid: import('vue').ComputedRef<boolean>;
|
125
131
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
126
132
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
127
133
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
128
134
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
135
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
136
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
129
137
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
130
138
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
131
139
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -308,6 +316,7 @@ declare function __VLS_template(): {
|
|
308
316
|
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
309
317
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
310
318
|
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
319
|
+
readonly "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
311
320
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
312
321
|
$attrs: {
|
313
322
|
[x: string]: unknown;
|
@@ -321,7 +330,7 @@ declare function __VLS_template(): {
|
|
321
330
|
$root: import('vue').ComponentPublicInstance | null;
|
322
331
|
$parent: import('vue').ComponentPublicInstance | null;
|
323
332
|
$host: Element | null;
|
324
|
-
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
333
|
+
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void) & ((event: "update:has-shown", value: boolean) => void);
|
325
334
|
$el: any;
|
326
335
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
327
336
|
name?: string;
|
@@ -331,12 +340,15 @@ declare function __VLS_template(): {
|
|
331
340
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
332
341
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
333
342
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
343
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
334
344
|
}>, {
|
335
345
|
isValid: import('vue').ComputedRef<boolean>;
|
336
346
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
337
347
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
338
348
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
339
349
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
350
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
351
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
340
352
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
341
353
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
342
354
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -349,6 +361,7 @@ declare function __VLS_template(): {
|
|
349
361
|
"update:is-valid": (value: boolean | undefined) => any;
|
350
362
|
"update:has-changes": (value: boolean) => any;
|
351
363
|
"update:has-value": (value: boolean | null) => any;
|
364
|
+
"update:has-shown": (value: boolean) => any;
|
352
365
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
353
366
|
beforeCreate?: (() => void) | (() => void)[];
|
354
367
|
created?: (() => void) | (() => void)[];
|
@@ -377,12 +390,15 @@ declare function __VLS_template(): {
|
|
377
390
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
378
391
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
379
392
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
380
|
-
|
393
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
394
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
|
381
395
|
isValid: import('vue').ComputedRef<boolean>;
|
382
396
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
383
397
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
384
398
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
385
399
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
400
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
401
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
386
402
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
387
403
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
388
404
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -598,6 +614,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
598
614
|
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
599
615
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
600
616
|
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
617
|
+
readonly "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
601
618
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
602
619
|
$attrs: {
|
603
620
|
[x: string]: unknown;
|
@@ -611,7 +628,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
611
628
|
$root: import('vue').ComponentPublicInstance | null;
|
612
629
|
$parent: import('vue').ComponentPublicInstance | null;
|
613
630
|
$host: Element | null;
|
614
|
-
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
631
|
+
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void) & ((event: "update:has-shown", value: boolean) => void);
|
615
632
|
$el: any;
|
616
633
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
617
634
|
name?: string;
|
@@ -621,12 +638,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
621
638
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
622
639
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
623
640
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
641
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
624
642
|
}>, {
|
625
643
|
isValid: import('vue').ComputedRef<boolean>;
|
626
644
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
627
645
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
628
646
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
629
647
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
648
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
649
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
630
650
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
631
651
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
632
652
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -639,6 +659,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
639
659
|
"update:is-valid": (value: boolean | undefined) => any;
|
640
660
|
"update:has-changes": (value: boolean) => any;
|
641
661
|
"update:has-value": (value: boolean | null) => any;
|
662
|
+
"update:has-shown": (value: boolean) => any;
|
642
663
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
643
664
|
beforeCreate?: (() => void) | (() => void)[];
|
644
665
|
created?: (() => void) | (() => void)[];
|
@@ -667,12 +688,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
667
688
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
668
689
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
669
690
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
670
|
-
|
691
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
692
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
|
671
693
|
isValid: import('vue').ComputedRef<boolean>;
|
672
694
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
673
695
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
674
696
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
675
697
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
698
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
699
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
676
700
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
677
701
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
678
702
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -855,6 +879,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
855
879
|
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
856
880
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
857
881
|
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
882
|
+
readonly "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
858
883
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
859
884
|
$attrs: {
|
860
885
|
[x: string]: unknown;
|
@@ -868,7 +893,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
868
893
|
$root: import('vue').ComponentPublicInstance | null;
|
869
894
|
$parent: import('vue').ComponentPublicInstance | null;
|
870
895
|
$host: Element | null;
|
871
|
-
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
896
|
+
$emit: ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-changes", value: boolean) => void) & ((event: "update:has-value", value: boolean | null) => void) & ((event: "update:has-shown", value: boolean) => void);
|
872
897
|
$el: any;
|
873
898
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
874
899
|
name?: string;
|
@@ -878,12 +903,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
878
903
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
879
904
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
880
905
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
906
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
881
907
|
}>, {
|
882
908
|
isValid: import('vue').ComputedRef<boolean>;
|
883
909
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
884
910
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
885
911
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
886
912
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
913
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
914
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
887
915
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
888
916
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
889
917
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -896,6 +924,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
896
924
|
"update:is-valid": (value: boolean | undefined) => any;
|
897
925
|
"update:has-changes": (value: boolean) => any;
|
898
926
|
"update:has-value": (value: boolean | null) => any;
|
927
|
+
"update:has-shown": (value: boolean) => any;
|
899
928
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
900
929
|
beforeCreate?: (() => void) | (() => void)[];
|
901
930
|
created?: (() => void) | (() => void)[];
|
@@ -924,12 +953,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
924
953
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
925
954
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
926
955
|
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
927
|
-
|
956
|
+
"onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
|
957
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
|
928
958
|
isValid: import('vue').ComputedRef<boolean>;
|
929
959
|
hasChanges: import('vue').Ref<boolean, boolean>;
|
930
960
|
hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
931
961
|
hasValue: import('vue').Ref<boolean | null, boolean | null>;
|
932
962
|
hasValueMap: import('vue').Ref<Record<string, boolean | null>, Record<string, boolean | null>>;
|
963
|
+
hasShown: import('vue').Ref<boolean, boolean>;
|
964
|
+
hasShownMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
933
965
|
validate: import('vue').Ref<(silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>;
|
934
966
|
validateMap: import('vue').Ref<Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>, Record<string, (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined>>;
|
935
967
|
invalidate: import('vue').Ref<(messages: Record<string, string | string[] | undefined>) => void, (messages: Record<string, string | string[] | undefined>) => void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAs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;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAfrsY,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"}
|
@@ -9,11 +9,17 @@ declare function __VLS_template(): {
|
|
9
9
|
default?(_: {}): any;
|
10
10
|
actions?(_: {}): any;
|
11
11
|
};
|
12
|
-
refs: {
|
12
|
+
refs: {
|
13
|
+
header: HTMLDivElement;
|
14
|
+
footer: HTMLDivElement;
|
15
|
+
};
|
13
16
|
rootEl: HTMLDivElement;
|
14
17
|
};
|
15
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
20
|
+
header: HTMLDivElement;
|
21
|
+
footer: HTMLDivElement;
|
22
|
+
}, HTMLDivElement>;
|
17
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
18
24
|
export default _default;
|
19
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"AA2CA;AA8DA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAQF,iBAAS,cAAc;WA+ET,OAAO,IAA6B;;uBAfvB,GAAG;0BACA,GAAG;yBACJ,GAAG;yBACH,GAAG;;;;;;;EAiB/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;kBAQnB,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"}
|