eco-vue-js 0.8.38 → 0.8.39
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +1 -2
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +1 -3
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +0 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +1 -2
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +0 -2
- package/dist/components/List/WList.vue.d.ts +1 -0
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +3 -1
- package/dist/components/Modal/WModalStepper.vue.d.ts +143 -1
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +5 -2
- package/dist/components/Tabs/WTabs.vue.d.ts +144 -2
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +10 -3
- package/package.json +1 -1
@@ -12,7 +12,6 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
12
12
|
skeletonLength?: number;
|
13
13
|
hidePageTitle?: boolean;
|
14
14
|
headerMargin?: number;
|
15
|
-
skipScrollTarget?: boolean;
|
16
15
|
wrap?: boolean;
|
17
16
|
noGap?: boolean;
|
18
17
|
transition?: boolean;
|
@@ -25,7 +24,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
25
24
|
pageClass?: string;
|
26
25
|
maxPages?: number;
|
27
26
|
refetchInterval?: number | false;
|
28
|
-
queryOptions?: Partial<
|
27
|
+
queryOptions?: Partial<QueryOptions<PaginatedResponse<Data>>>;
|
29
28
|
pageLength?: number;
|
30
29
|
count?: number;
|
31
30
|
allowSelect?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"yBA+OiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA8YxD,mBAAmB,CAAC;;;;;;;;oBA1Yd,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;yBACP,MAAM;wBACP,OAAO;uBACR,MAAM;eACd,OAAO;gBACN,OAAO;qBACF,OAAO;2BACD,OAAO,GAAG,IAAI;0BACf,OAAO;oBACb,OAAO;oBACP,OAAO;wBACH,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,MAAM;oBACN,MAAM;mBACP,MAAM;0BACC,MAAM,GAAG,KAAK;uBACjB,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;qBAEhD,MAAM;gBACX,MAAM;sBAEA,OAAO;2BACF,OAAO;sBAEZ,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;mBACxB,K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Ac,MAAM,UAgEzB;YACjB,cAAc,iBAA6B;SAC5C,KAAK,IAAI;;;YAjFN,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,uBAAuB,SAAS,MAAM,GAAG,IAAI;YAC7C,cAAc,SAAS,MAAM,GAAG,IAAI;YAEpC,QAAQ,UAAU,KAAK,EAAE,GAAG,IAAI;YAChC,gBAAgB,UAAU,KAAK,EAAE,GAAG,IAAI;YACxC,cAAc,SAAS,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI;;;;;YAkVZ,OAAO,CAAC,OAAO,WAAW,CAAC;;AAxZvE,wBAwZ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -14,7 +14,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
skeletonLength: { default: void 0 },
|
15
15
|
hidePageTitle: { type: Boolean },
|
16
16
|
headerMargin: { default: 0 },
|
17
|
-
skipScrollTarget: { type: Boolean },
|
18
17
|
wrap: { type: Boolean },
|
19
18
|
noGap: { type: Boolean },
|
20
19
|
transition: { type: Boolean },
|
@@ -104,7 +103,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
104
103
|
"query-params": _ctx.queryParams,
|
105
104
|
"use-query-fn": _ctx.useQueryFn,
|
106
105
|
"scrolling-element": _ctx.scrollingElement,
|
107
|
-
"skip-scroll-target": _ctx.skipScrollTarget,
|
108
106
|
"skeleton-length": _ctx.skeletonLength,
|
109
107
|
"hide-page-title": _ctx.hidePageTitle,
|
110
108
|
wrap: _ctx.wrap,
|
@@ -161,7 +159,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
161
159
|
}, 1064, ["selected", "selected-between", "onUpdate:selected", "onUpdate:selectedRange", "onUpdate:selectedRangeHover"]))
|
162
160
|
]),
|
163
161
|
_: 2
|
164
|
-
}, 1032, ["query-params", "use-query-fn", "scrolling-element", "
|
162
|
+
}, 1032, ["query-params", "use-query-fn", "scrolling-element", "skeleton-length", "hide-page-title", "wrap", "no-gap", "transition", "page-length", "header-top", "header-height", "min-height", "last-child", "exclude-params", "empty-stub", "page-class", "max-pages", "refetch-interval", "query-options", "selected", "value-getter", "select-only", "unselect-only", "reverse-selection", "allow-page-selection"])
|
165
163
|
]),
|
166
164
|
_: 3
|
167
165
|
}, 40, ["scrolling-element", "header-margin", "init-is-intersecting"]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfiniteListWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteListWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfiniteListWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteListWrapper.vue"],"names":[],"mappings":"AA6GA,iBAAS,cAAc;;wBAsCK,GAAG;;;;YACF,GAAG;;;;;;WAWlB,OAAO,IAA6B;EAEjD;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;mBApHF,MAAM;uBACF,OAAO,GAAG,IAAI;yBACZ,OAAO;;;;mBAFb,MAAM;uBACF,OAAO,GAAG,IAAI;yBACZ,OAAO;;;;sBADT,OAAO,GAAG,IAAI;kBADlB,MAAM;6EA8HvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -16,7 +16,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
16
16
|
pageClass?: string;
|
17
17
|
refetchInterval?: number | false;
|
18
18
|
scrollingElement?: Element | null;
|
19
|
-
queryOptions?: Partial<
|
19
|
+
queryOptions?: Partial<QueryOptions<PaginatedResponse<Data>>>;
|
20
20
|
selected?: Model[];
|
21
21
|
valueGetter: (data: Data) => Model;
|
22
22
|
selectOnly?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"yBA2WiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;
|
1
|
+
{"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"yBA2WiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA8cxD,mBAAmB,CAAC;qBA1cb,WAAW;oBACZ,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;wBAChC,MAAM;mBACX,OAAO;kBACR,OAAO;wBACD,OAAO;e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SACd,KAAK,IAAI;;;YA7LN,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,kBAAkB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;YAC/C,sBAAsB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;YACnD,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,aAAa,SAAS,MAAM,GAAG,IAAI;YACnC,SAAS,GAAG,IAAI;YAChB,2BAA2B,GAAG,IAAI;YAClC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;YACzC,SAAS,GAAG,IAAI;;;;;YAgasB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAxdvE,wBAwd4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -264,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
264
264
|
], 64)) : (openBlock(), createElementBlock("div", {
|
265
265
|
key: 1,
|
266
266
|
class: normalizeClass(["text-accent text-base font-normal", {
|
267
|
-
"py-16 px-8 text-center flex justify-center": !_ctx.minHeight,
|
267
|
+
"py-16 px-8 text-center flex justify-center sm:sticky sm:left-inner sm:max-w-inner": !_ctx.minHeight,
|
268
268
|
"pt-4 px-[1.0625rem]": _ctx.minHeight,
|
269
269
|
"pb-4": _ctx.minHeight && _ctx.lastChild,
|
270
270
|
"pb-2": _ctx.minHeight && !_ctx.lastChild
|
@@ -8,7 +8,6 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
8
8
|
queryParams: QueryParams;
|
9
9
|
skeletonLength?: number;
|
10
10
|
hidePageTitle?: boolean;
|
11
|
-
skipScrollTarget?: boolean;
|
12
11
|
wrap?: boolean;
|
13
12
|
noGap?: boolean;
|
14
13
|
transition?: boolean;
|
@@ -23,7 +22,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
23
22
|
pageClass?: string;
|
24
23
|
maxPages?: number;
|
25
24
|
refetchInterval?: number | false;
|
26
|
-
queryOptions?: Partial<
|
25
|
+
queryOptions?: Partial<QueryOptions<PaginatedResponse<Data>>>;
|
27
26
|
selected?: Model[];
|
28
27
|
valueGetter: (data: Data) => Model;
|
29
28
|
selectOnly?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPages.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPages.vue"],"names":[],"mappings":"yBAyTiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA2kBxD,mBAAmB,CAAC;;;;;oBAvkBd,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;yBACP,MAAM;wBACP,OAAO;eAChB,OAAO;gBACN,OAAO;qBACF,OAAO;qBACP,MAAM;2BACA,OAAO,GAAG,IAAI;oBACrB,MAAM;uBACH,MAAM;oBACT,OAAO;oBACP,OAAO;wBACH,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,MAAM;oBACN,MAAM;mBACP,MAAM;0BACC,MAAM,GAAG,KAAK;uBACjB,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;mBAElD,KAA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AO,CAAC,OAAO,WAAW,CAAC;;AArlBvE,wBAqlB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -13,7 +13,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
queryParams: {},
|
14
14
|
skeletonLength: { default: void 0 },
|
15
15
|
hidePageTitle: { type: Boolean },
|
16
|
-
skipScrollTarget: { type: Boolean },
|
17
16
|
wrap: { type: Boolean },
|
18
17
|
noGap: { type: Boolean },
|
19
18
|
transition: { type: Boolean },
|
@@ -121,7 +120,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
121
120
|
pages.value = [page];
|
122
121
|
nextPage.value = null;
|
123
122
|
previousPage.value = null;
|
124
|
-
if (!props.skipScrollTarget) (props.scrollingElement ?? document.scrollingElement)?.scrollTo(0, props.headerTop);
|
125
123
|
};
|
126
124
|
watch(toRef(props, "queryParams"), (newValue, oldValue) => {
|
127
125
|
if (isEqualObj(newValue, oldValue, ["page", ...props.excludeParams ?? []])) return;
|
@@ -8,6 +8,7 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
8
8
|
expansion?: FieldComponent<Data>;
|
9
9
|
useQueryFn: UseQueryPaginated<Data, QueryParams>;
|
10
10
|
queryParams: QueryParams;
|
11
|
+
queryOptions?: Partial<QueryOptions<PaginatedResponse<Data>>>;
|
11
12
|
bulkDisableMessage?: string;
|
12
13
|
selectionTitle: string;
|
13
14
|
bulk?: BulkComponent<QueryParams>[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AA+TA,OAAO,KAAK,EAAC,aAAa,EA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AAloBvE,wBAkoB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
21
|
expansion: {},
|
22
22
|
useQueryFn: {},
|
23
23
|
queryParams: {},
|
24
|
+
queryOptions: {},
|
24
25
|
bulkDisableMessage: {},
|
25
26
|
selectionTitle: {},
|
26
27
|
bulk: {},
|
@@ -103,6 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
103
104
|
return openBlock(), createBlock(_sfc_main$1, {
|
104
105
|
"use-query-fn": _ctx.useQueryFn,
|
105
106
|
"query-params": _ctx.queryParams,
|
107
|
+
"query-options": _ctx.queryOptions,
|
106
108
|
"skeleton-length": _ctx.count ?? listCount.value ?? unref(PAGE_LENGTH),
|
107
109
|
"header-margin": unref(isMobile) ? 0 : 24,
|
108
110
|
"hide-page-title": "",
|
@@ -282,7 +284,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
282
284
|
]), 1032, ["disabled", "disable-more", "mobile", "card-class", "card-wrapper-class", "has-border", "more-bottom", "allow-open", "align-top"])
|
283
285
|
]),
|
284
286
|
_: 3
|
285
|
-
}, 8, ["use-query-fn", "query-params", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "page-length", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
|
287
|
+
}, 8, ["use-query-fn", "query-params", "query-options", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "page-length", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
|
286
288
|
};
|
287
289
|
}
|
288
290
|
});
|
@@ -27,7 +27,149 @@ declare function __VLS_template(): {
|
|
27
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
28
28
|
"update:has-changes": (value: boolean) => any;
|
29
29
|
"update:current": (value: number) => any;
|
30
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
30
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
31
|
+
buttonContainer: HTMLDivElement;
|
32
|
+
button: HTMLButtonElement;
|
33
|
+
tabItem: (({
|
34
|
+
$: import('vue').ComponentInternalInstance;
|
35
|
+
$data: {};
|
36
|
+
$props: {
|
37
|
+
readonly isActive: boolean;
|
38
|
+
readonly "onUpdate:height"?: ((value: number) => any) | undefined;
|
39
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
40
|
+
$attrs: {
|
41
|
+
[x: string]: unknown;
|
42
|
+
};
|
43
|
+
$refs: {
|
44
|
+
[x: string]: unknown;
|
45
|
+
};
|
46
|
+
$slots: Readonly<{
|
47
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
48
|
+
}>;
|
49
|
+
$root: import('vue').ComponentPublicInstance | null;
|
50
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
51
|
+
$host: Element | null;
|
52
|
+
$emit: (event: "update:height", value: number) => void;
|
53
|
+
$el: any;
|
54
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
55
|
+
isActive: boolean;
|
56
|
+
}> & Readonly<{
|
57
|
+
"onUpdate:height"?: ((value: number) => any) | undefined;
|
58
|
+
}>, {
|
59
|
+
emitHeight: () => void;
|
60
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
61
|
+
"update:height": (value: number) => any;
|
62
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
63
|
+
beforeCreate?: (() => void) | (() => void)[];
|
64
|
+
created?: (() => void) | (() => void)[];
|
65
|
+
beforeMount?: (() => void) | (() => void)[];
|
66
|
+
mounted?: (() => void) | (() => void)[];
|
67
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
68
|
+
updated?: (() => void) | (() => void)[];
|
69
|
+
activated?: (() => void) | (() => void)[];
|
70
|
+
deactivated?: (() => void) | (() => void)[];
|
71
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
72
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
73
|
+
destroyed?: (() => void) | (() => void)[];
|
74
|
+
unmounted?: (() => void) | (() => void)[];
|
75
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
76
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
77
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
78
|
+
};
|
79
|
+
$forceUpdate: () => void;
|
80
|
+
$nextTick: typeof import('vue').nextTick;
|
81
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
82
|
+
} & Readonly<{}> & Omit<Readonly<{
|
83
|
+
isActive: boolean;
|
84
|
+
}> & Readonly<{
|
85
|
+
"onUpdate:height"?: ((value: number) => any) | undefined;
|
86
|
+
}>, "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
87
|
+
emitHeight: () => void;
|
88
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
89
|
+
$slots: {
|
90
|
+
default?(_: {}): any;
|
91
|
+
};
|
92
|
+
}) | null)[];
|
93
|
+
form: (({
|
94
|
+
$: import('vue').ComponentInternalInstance;
|
95
|
+
$data: {};
|
96
|
+
$props: {
|
97
|
+
readonly name?: string | undefined;
|
98
|
+
readonly title?: string | undefined;
|
99
|
+
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
100
|
+
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
101
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
102
|
+
$attrs: {
|
103
|
+
[x: string]: unknown;
|
104
|
+
};
|
105
|
+
$refs: {
|
106
|
+
[x: string]: unknown;
|
107
|
+
};
|
108
|
+
$slots: Readonly<{
|
109
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
110
|
+
}>;
|
111
|
+
$root: import('vue').ComponentPublicInstance | null;
|
112
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
113
|
+
$host: Element | null;
|
114
|
+
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void);
|
115
|
+
$el: any;
|
116
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
117
|
+
name?: string;
|
118
|
+
title?: string;
|
119
|
+
}> & Readonly<{
|
120
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
121
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
122
|
+
}>, {
|
123
|
+
isValid: import('vue').ComputedRef<boolean>;
|
124
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
125
|
+
invalidate: (payload: {
|
126
|
+
[x: string]: string | string[] | undefined;
|
127
|
+
}) => void;
|
128
|
+
initModel: () => void;
|
129
|
+
errorMessage: import('vue').ComputedRef<string>;
|
130
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
131
|
+
"update:has-changes": (value: boolean) => any;
|
132
|
+
"update:is-valid": (value: boolean | undefined) => any;
|
133
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
134
|
+
beforeCreate?: (() => void) | (() => void)[];
|
135
|
+
created?: (() => void) | (() => void)[];
|
136
|
+
beforeMount?: (() => void) | (() => void)[];
|
137
|
+
mounted?: (() => void) | (() => void)[];
|
138
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
139
|
+
updated?: (() => void) | (() => void)[];
|
140
|
+
activated?: (() => void) | (() => void)[];
|
141
|
+
deactivated?: (() => void) | (() => void)[];
|
142
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
143
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
144
|
+
destroyed?: (() => void) | (() => void)[];
|
145
|
+
unmounted?: (() => void) | (() => void)[];
|
146
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
147
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
148
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
149
|
+
};
|
150
|
+
$forceUpdate: () => void;
|
151
|
+
$nextTick: typeof import('vue').nextTick;
|
152
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
153
|
+
} & Readonly<{}> & Omit<Readonly<{
|
154
|
+
name?: string;
|
155
|
+
title?: string;
|
156
|
+
}> & Readonly<{
|
157
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
158
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
159
|
+
}>, "errorMessage" | "isValid" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
160
|
+
isValid: import('vue').ComputedRef<boolean>;
|
161
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
162
|
+
invalidate: (payload: {
|
163
|
+
[x: string]: string | string[] | undefined;
|
164
|
+
}) => void;
|
165
|
+
initModel: () => void;
|
166
|
+
errorMessage: import('vue').ComputedRef<string>;
|
167
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
168
|
+
$slots: {
|
169
|
+
default?(_: {}): any;
|
170
|
+
};
|
171
|
+
}) | null)[];
|
172
|
+
}, any, import('vue').ComponentProvideOptions, {
|
31
173
|
P: {};
|
32
174
|
B: {};
|
33
175
|
D: {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAuNA,iBAAS,cAAc;;uBA6MI,GAAG
|
1
|
+
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAuNA,iBAAS,cAAc;;uBA6MI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAuEozS,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA7D17S,OAAO,IAA6B;EAEjD;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAzTX,MAAM,EAAE;cACN,OAAO;eACN,OAAO;mBACH,OAAO;;gBA2BP,IAAI;oBANA,IAAI;;;;;;;;;YAxBf,MAAM,EAAE;cACN,OAAO;eACN,OAAO;mBACH,OAAO;;;;;;;;kFAqUtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AAkaA,OAAO,KAAK,EAAC,WAAW,EAAE,qBAAqB,EAA6B,MAAM,SAAS,CAAA;yBAI1E,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,kBAAkB,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eACnI,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA8qBxD,mBAAmB,CAAC;;;;;;;wRAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;;2BArevB,MAAM,KAAG,IAAI;MAqegC,GAAG,IAAI;WACpE,GAAG;;gBAzbH,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;YACnB,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;YACd,MAAM,CAAC,EAAE,MAAM,CAAA;SAChB,KAAK,IAAI;gBACF,MAAM,IAAI;;gBATV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;YACnB,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;YACd,MAAM,CAAC,EAAE,MAAM,CAAA;SAChB,KAAK,IAAI;gBACF,MAAM,IAAI;;;YAvPd,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC9D,YAAY,GAAG,IAAI;;;;;YAuqBmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAxrBvE,wBAwrB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -89,8 +89,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
89
89
|
const optionsPrepared = computed(() => !data.value ? [] : props.filterOptions ? data.value.filter((option) => props.filterOptions?.(option) ?? true) : data.value);
|
90
90
|
const optionsWithCreated = computed(() => {
|
91
91
|
if (!props.createdData) {
|
92
|
-
if (createdOptions.value.length) return
|
93
|
-
else return
|
92
|
+
if (!createdOptions.value.length) return optionsPrepared.value;
|
93
|
+
else return [
|
94
|
+
...optionsPrepared.value,
|
95
|
+
...createdOptions.value
|
96
|
+
].filter((option, index, array) => array.findIndex((item) => props.valueGetter(item) === props.valueGetter(option)) === index);
|
94
97
|
}
|
95
98
|
return [
|
96
99
|
...optionsPrepared.value,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VNode } from 'vue';
|
1
|
+
import { nextTick, VNode } from 'vue';
|
2
2
|
import { default as WForm } from '../Form/WForm.vue';
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
4
4
|
names?: string[] | Record<number, string>;
|
@@ -33,6 +33,148 @@ declare const _default: import('vue').DefineComponent<{
|
|
33
33
|
}> & Readonly<{
|
34
34
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
35
35
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
36
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
36
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
37
|
+
buttonContainer: HTMLDivElement;
|
38
|
+
button: HTMLButtonElement;
|
39
|
+
tabItem: (({
|
40
|
+
$: import('vue').ComponentInternalInstance;
|
41
|
+
$data: {};
|
42
|
+
$props: {
|
43
|
+
readonly isActive: boolean;
|
44
|
+
readonly "onUpdate:height"?: ((value: number) => any) | undefined;
|
45
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
46
|
+
$attrs: {
|
47
|
+
[x: string]: unknown;
|
48
|
+
};
|
49
|
+
$refs: {
|
50
|
+
[x: string]: unknown;
|
51
|
+
};
|
52
|
+
$slots: Readonly<{
|
53
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
54
|
+
}>;
|
55
|
+
$root: import('vue').ComponentPublicInstance | null;
|
56
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
57
|
+
$host: Element | null;
|
58
|
+
$emit: (event: "update:height", value: number) => void;
|
59
|
+
$el: any;
|
60
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
61
|
+
isActive: boolean;
|
62
|
+
}> & Readonly<{
|
63
|
+
"onUpdate:height"?: ((value: number) => any) | undefined;
|
64
|
+
}>, {
|
65
|
+
emitHeight: () => void;
|
66
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
67
|
+
"update:height": (value: number) => any;
|
68
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
69
|
+
beforeCreate?: (() => void) | (() => void)[];
|
70
|
+
created?: (() => void) | (() => void)[];
|
71
|
+
beforeMount?: (() => void) | (() => void)[];
|
72
|
+
mounted?: (() => void) | (() => void)[];
|
73
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
74
|
+
updated?: (() => void) | (() => void)[];
|
75
|
+
activated?: (() => void) | (() => void)[];
|
76
|
+
deactivated?: (() => void) | (() => void)[];
|
77
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
78
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
79
|
+
destroyed?: (() => void) | (() => void)[];
|
80
|
+
unmounted?: (() => void) | (() => void)[];
|
81
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
82
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
83
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
84
|
+
};
|
85
|
+
$forceUpdate: () => void;
|
86
|
+
$nextTick: typeof nextTick;
|
87
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
88
|
+
} & Readonly<{}> & Omit<Readonly<{
|
89
|
+
isActive: boolean;
|
90
|
+
}> & Readonly<{
|
91
|
+
"onUpdate:height"?: ((value: number) => any) | undefined;
|
92
|
+
}>, "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
93
|
+
emitHeight: () => void;
|
94
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
95
|
+
$slots: {
|
96
|
+
default?(_: {}): any;
|
97
|
+
};
|
98
|
+
}) | null)[];
|
99
|
+
form: (({
|
100
|
+
$: import('vue').ComponentInternalInstance;
|
101
|
+
$data: {};
|
102
|
+
$props: {
|
103
|
+
readonly name?: string | undefined;
|
104
|
+
readonly title?: string | undefined;
|
105
|
+
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
106
|
+
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
107
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
108
|
+
$attrs: {
|
109
|
+
[x: string]: unknown;
|
110
|
+
};
|
111
|
+
$refs: {
|
112
|
+
[x: string]: unknown;
|
113
|
+
};
|
114
|
+
$slots: Readonly<{
|
115
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
116
|
+
}>;
|
117
|
+
$root: import('vue').ComponentPublicInstance | null;
|
118
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
119
|
+
$host: Element | null;
|
120
|
+
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void);
|
121
|
+
$el: any;
|
122
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
123
|
+
name?: string;
|
124
|
+
title?: string;
|
125
|
+
}> & Readonly<{
|
126
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
127
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
128
|
+
}>, {
|
129
|
+
isValid: import('vue').ComputedRef<boolean>;
|
130
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
131
|
+
invalidate: (payload: {
|
132
|
+
[x: string]: string | string[] | undefined;
|
133
|
+
}) => void;
|
134
|
+
initModel: () => void;
|
135
|
+
errorMessage: import('vue').ComputedRef<string>;
|
136
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
137
|
+
"update:has-changes": (value: boolean) => any;
|
138
|
+
"update:is-valid": (value: boolean | undefined) => any;
|
139
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
140
|
+
beforeCreate?: (() => void) | (() => void)[];
|
141
|
+
created?: (() => void) | (() => void)[];
|
142
|
+
beforeMount?: (() => void) | (() => void)[];
|
143
|
+
mounted?: (() => void) | (() => void)[];
|
144
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
145
|
+
updated?: (() => void) | (() => void)[];
|
146
|
+
activated?: (() => void) | (() => void)[];
|
147
|
+
deactivated?: (() => void) | (() => void)[];
|
148
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
149
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
150
|
+
destroyed?: (() => void) | (() => void)[];
|
151
|
+
unmounted?: (() => void) | (() => void)[];
|
152
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
153
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
154
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
155
|
+
};
|
156
|
+
$forceUpdate: () => void;
|
157
|
+
$nextTick: typeof nextTick;
|
158
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
159
|
+
} & Readonly<{}> & Omit<Readonly<{
|
160
|
+
name?: string;
|
161
|
+
title?: string;
|
162
|
+
}> & Readonly<{
|
163
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
164
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
165
|
+
}>, "errorMessage" | "isValid" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
166
|
+
isValid: import('vue').ComputedRef<boolean>;
|
167
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
168
|
+
invalidate: (payload: {
|
169
|
+
[x: string]: string | string[] | undefined;
|
170
|
+
}) => void;
|
171
|
+
initModel: () => void;
|
172
|
+
errorMessage: import('vue').ComputedRef<string>;
|
173
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
174
|
+
$slots: {
|
175
|
+
default?(_: {}): any;
|
176
|
+
};
|
177
|
+
}) | null)[];
|
178
|
+
}, any>;
|
37
179
|
export default _default;
|
38
180
|
//# sourceMappingURL=WTabs.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"AA2QA,OAAO,EAAwB,QAAQ,EAAE,KAAK,KAAK,EAAoE,MAAM,KAAK,CAAA;AAElI,OAAO,KAAK,MAAM,6BAA6B,CAAA;;YAOrC,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACrC,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;YAC7C,KAAK,EAAE;sBACG,OAAO;cACf,MAAM;WACT,OAAO;uBACK,OAAO;;yBA0CA,MAAM;gBAajB,IAAI;oBAIA,IAAI;sBAkCA,MAAM,6GAAqE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;wBAIhI,MAAM;;UAAuE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC;uBAIvI,MAAM,KAAsE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC;;;;;YA5GpJ,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACrC,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;YAC7C,KAAK,EAAE;sBACG,OAAO;cACf,MAAM;WACT,OAAO;uBACK,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAmWjB,GAAG,8CACD,GAAG,yBAChB,GAAE,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAF7B,GAAG,8CACD,GAAG,yBAChB,GAAE,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;AAsFxC,wBAYG"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useSlots, computed, ref, reactive, inject, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, Fragment, renderList, unref, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, Transition, withCtx, normalizeStyle, TransitionGroup, nextTick } from 'vue';
|
1
|
+
import { defineComponent, useSlots, computed, ref, useTemplateRef, reactive, inject, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, Fragment, renderList, unref, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, Transition, withCtx, normalizeStyle, TransitionGroup, nextTick } from 'vue';
|
2
2
|
import _sfc_main$1 from './components/TabItem.vue.js';
|
3
3
|
import _sfc_main$2 from '../Form/WForm.vue.js';
|
4
4
|
import { throttle, debounce } from '../../utils/utils.js';
|
@@ -31,6 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
const minHeight = ref(0);
|
32
32
|
const tabItem = ref([]);
|
33
33
|
const form = ref([]);
|
34
|
+
const buttonContainerRef = useTemplateRef("buttonContainer");
|
34
35
|
const isValidMap = reactive({});
|
35
36
|
const hasChangesMap = reactive({});
|
36
37
|
const hasChanges = computed(() => Object.values(hasChangesMap).includes(true));
|
@@ -97,14 +98,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
97
98
|
watch(current, (value) => {
|
98
99
|
emit("update:current", value);
|
99
100
|
updateIndicator();
|
100
|
-
button.value[value]
|
101
|
+
if (buttonContainerRef.value && button.value[value]) {
|
102
|
+
if (props.side) {
|
103
|
+
buttonContainerRef.value.scrollTo({ top: (button.value[value].offsetTop - buttonContainerRef.value.offsetTop) / 2, behavior: "smooth" });
|
104
|
+
} else {
|
105
|
+
buttonContainerRef.value.scrollTo({ left: (button.value[value].offsetLeft - buttonContainerRef.value.offsetLeft) / 2, behavior: "smooth" });
|
106
|
+
}
|
107
|
+
}
|
101
108
|
}, { immediate: true });
|
102
109
|
watch(hasChanges, (value) => {
|
103
110
|
emit("update:has-changes", value);
|
104
111
|
}, { immediate: true });
|
105
112
|
onMounted(() => {
|
106
113
|
updateIndicator();
|
107
|
-
button.value[current.value]?.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
108
114
|
tabItemListenerInjected?.(updateIndicator);
|
109
115
|
});
|
110
116
|
onUnmounted(() => {
|
@@ -127,6 +133,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
127
133
|
}, [
|
128
134
|
_ctx.names ? (openBlock(), createElementBlock("div", {
|
129
135
|
key: 0,
|
136
|
+
ref: "buttonContainer",
|
130
137
|
class: normalizeClass(["relative flex overflow-x-auto overscroll-x-contain no-scrollbar snap-x snap-always snap-mandatory", {
|
131
138
|
"flex-col": _ctx.side
|
132
139
|
}])
|