eco-vue-js 0.10.27 → 0.10.29
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/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +3 -1
- package/dist/components/Button/WButtonGroup.vue.js +1 -0
- package/dist/components/Button/types.d.ts +1 -0
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +1 -0
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +2 -1
- package/dist/components/MenuItem/WMenuItem.vue.js +1 -1
- package/dist/components/Modal/WModalExport.vue.d.ts +25 -0
- package/dist/components/Modal/WModalExport.vue.d.ts.map +1 -0
- package/dist/components/Modal/WModalExport.vue.js +118 -0
- package/dist/components/Modal/WModalExport.vue2.js +5 -0
- package/dist/components/Modal/WModalImport.vue.d.ts +24 -0
- package/dist/components/Modal/WModalImport.vue.d.ts.map +1 -0
- package/dist/components/Modal/WModalImport.vue.js +98 -0
- package/dist/components/Modal/WModalImport.vue2.js +5 -0
- package/dist/components/Progress/WProgressStriped.vue.d.ts +6 -0
- package/dist/components/Progress/WProgressStriped.vue.d.ts.map +1 -0
- package/dist/components/Progress/WProgressStriped.vue.js +32 -0
- package/dist/components/Progress/WProgressStriped.vue2.js +5 -0
- package/dist/imports/componentsPlugin.d.ts +4 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/main.js +3 -0
- package/package.json +10 -1
- package/tailwind-base/plugins/default.ts +4 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AA6DA;AAsGA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;AAQxC,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AA0CjD,iBAAS,cAAc;WAmIT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;eA3MrB,YAnGgB;;;;;;6EAsTd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
join: { type: Boolean },
|
21
21
|
semanticTypeMap: { default: void 0 },
|
22
22
|
tooltipText: {},
|
23
|
+
download: {},
|
23
24
|
to: { default: void 0 }
|
24
25
|
},
|
25
26
|
emits: ["click"],
|
@@ -45,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
46
|
"first-not:rounded-l-none first-not:border-l-0 first-not:before:rounded-l-none last-not:rounded-r-none last-not:border-r-0 last-not:before:rounded-r-none": _ctx.join
|
46
47
|
}],
|
47
48
|
disabled: !_ctx.loading && _ctx.disabled,
|
49
|
+
download: _ctx.download,
|
48
50
|
type: _ctx.type,
|
49
51
|
onClick: click,
|
50
52
|
onKeypress: withKeys(withModifiers(click, ["stop", "prevent"]), ["enter"])
|
@@ -77,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
77
79
|
}, null, 8, ["text"])) : createCommentVNode("", true)
|
78
80
|
]),
|
79
81
|
_: 3
|
80
|
-
}, 16, ["class", "disabled", "type", "onKeypress"]);
|
82
|
+
}, 16, ["class", "disabled", "download", "type", "onKeypress"]);
|
81
83
|
};
|
82
84
|
}
|
83
85
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,SAAS,CAAC;IACrD,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAA;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAA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,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,IAAI,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,GAAG,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,CAAA;AAEjT,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,iBAAiB,GAAG,WAAW,GAAG,UAAU,CAAC,EAC1J,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,WAAW,GAAG,UAAU,CAAC,CAAC;IAC9E,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
@@ -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":"AAqPA;AAqYA,OAAO,KAAK,EAAC,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AACzH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;AAWzC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAWrB,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,WAAW,SAAS,SAAS,OAAO,EAAE,EAC3I,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW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AAG;2BACC,GAAG;;;;;YACP,GAAG;;cA/nBzB,cAAc,SAAS,QAAQ,KAAG,IAAI;EAksBxC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzuBzE,wBAyuB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -207,6 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
207
207
|
class: "sm-not:hidden mb-[--w-list-gap,1rem]",
|
208
208
|
"allow-select": allowSelect.value,
|
209
209
|
"tooltip-text": _ctx.selectAllTextGetter(unref(selectAllValue) !== true, _ctx.count ?? listCount.value ?? 0),
|
210
|
+
"hide-more": !_ctx.menu,
|
210
211
|
count: _ctx.count ?? listCount.value,
|
211
212
|
selection: unref(selectAllValue),
|
212
213
|
"onToggle:selection": _cache[1] || (_cache[1] = ($event) => $event ? unref(selectAll)() : unref(resetSelection)()),
|
@@ -232,7 +233,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
232
233
|
}, 8, ["fields"])
|
233
234
|
]),
|
234
235
|
_: 2
|
235
|
-
}, 1032, ["allow-select", "tooltip-text", "count", "selection", "onUpdate:header"])) : createCommentVNode("", true)
|
236
|
+
}, 1032, ["allow-select", "tooltip-text", "hide-more", "count", "selection", "onUpdate:header"])) : createCommentVNode("", true)
|
236
237
|
]),
|
237
238
|
default: withCtx(({ item, skeleton, setter, refetch, previous, index, position, value }) => [
|
238
239
|
_ctx.groupBy && (index === 0 || !skeleton && (!previous || !_ctx.groupBy(item, previous))) ? renderSlot(_ctx.$slots, "group", {
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
},
|
12
12
|
setup(__props) {
|
13
13
|
return (_ctx, _cache) => {
|
14
|
-
return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? unref(RouterLink) : _ctx.href ? "a" : "button"), mergeProps(_ctx.to ? { to: _ctx.to } : _ctx.href ? { href: _ctx.href, download: _ctx.download } : void 0, {
|
14
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.to && !_ctx.disabled ? unref(RouterLink) : _ctx.href ? "a" : "button"), mergeProps(_ctx.to && !_ctx.disabled ? { to: _ctx.to } : _ctx.href ? { href: _ctx.href, download: _ctx.download } : void 0, {
|
15
15
|
class: ["text-description relative flex w-full min-w-36 select-none items-center justify-start gap-4 px-6 py-2 text-start outline-none first:pt-4 last:pb-4", {
|
16
16
|
"w-ripple w-ripple-hover hover:text-primary-default dark:hover:text-primary-dark cursor-pointer": !_ctx.disabled,
|
17
17
|
"cursor-not-allowed opacity-50": _ctx.disabled
|
@@ -0,0 +1,25 @@
|
|
1
|
+
declare const _default: <Model, QueryParams, PreparedModel>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
|
+
readonly "onClose:modal"?: (() => any) | undefined;
|
4
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClose:modal"> & {
|
5
|
+
fileName: string;
|
6
|
+
title?: string | ((count: number) => string);
|
7
|
+
cancelText?: string;
|
8
|
+
downloadText?: string;
|
9
|
+
initQueryParams?: QueryParams;
|
10
|
+
useQueryFn: UseQueryPaginated<Model, QueryParams> | UseQueryWithParams<Model[], QueryParams>;
|
11
|
+
prepare?: (item: Model) => PreparedModel;
|
12
|
+
resolve?: () => void;
|
13
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
14
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
15
|
+
attrs: any;
|
16
|
+
slots: {};
|
17
|
+
emit: (e: "close:modal") => void;
|
18
|
+
}>) => import('vue').VNode & {
|
19
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
20
|
+
};
|
21
|
+
export default _default;
|
22
|
+
type __VLS_PrettifyLocal<T> = {
|
23
|
+
[K in keyof T]: T[K];
|
24
|
+
} & {};
|
25
|
+
//# sourceMappingURL=WModalExport.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WModalExport.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalExport.vue"],"names":[],"mappings":"AA0CA;yBAiJiB,KAAK,EAAE,WAAW,EAAE,aAAa,EACjD,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;WAyOO,mBAAmB,CAAC;;;kBAvOhB,MAAM;gBACR,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;qBAC/B,MAAM;uBACJ,MAAM;0BACH,WAAW;oBACjB,iBAAiB,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,kBAAkB,CAAC,KAAK,EAAE,EAAE,WAAW,CAAC;kBAClF,CAAC,IAAI,EAAE,KAAK,KAAK,aAAa;kBAC9B,MAAM,IAAI;mBAgOwE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA7NL,aAAa,KAAG,IAAI;EAiOtB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AApPzE,wBAoP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
import { defineComponent, ref, computed, watch, createBlock, openBlock, withCtx, createElementVNode, createVNode, toDisplayString, unref, createTextVNode } from 'vue';
|
2
|
+
import { keepPreviousData } from '@tanstack/vue-query';
|
3
|
+
import _sfc_main$3 from '../Button/WButton.vue.js';
|
4
|
+
import _sfc_main$1 from './WModalWrapper.vue.js';
|
5
|
+
import { SemanticType } from '../../utils/SemanticType.js';
|
6
|
+
import { dateToQueryString } from '../../utils/dateTime.js';
|
7
|
+
import _sfc_main$2 from '../Progress/WProgressStriped.vue.js';
|
8
|
+
|
9
|
+
const _hoisted_1 = { class: "mb-4" };
|
10
|
+
const _hoisted_2 = { class: "text-description mt-1 text-end text-xs" };
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
+
__name: "WModalExport",
|
13
|
+
props: {
|
14
|
+
fileName: {},
|
15
|
+
title: { type: [String, Function] },
|
16
|
+
cancelText: {},
|
17
|
+
downloadText: {},
|
18
|
+
initQueryParams: {},
|
19
|
+
useQueryFn: {},
|
20
|
+
prepare: { type: Function },
|
21
|
+
resolve: { type: Function }
|
22
|
+
},
|
23
|
+
emits: ["close:modal"],
|
24
|
+
setup(__props, { emit: __emit }) {
|
25
|
+
const props = __props;
|
26
|
+
const emit = __emit;
|
27
|
+
const cache = ref([]);
|
28
|
+
const page = ref(1);
|
29
|
+
const loading = ref(false);
|
30
|
+
const queryParams = computed(() => ({ ...props.initQueryParams ?? {}, page: page.value }));
|
31
|
+
const query = props.useQueryFn(queryParams, {
|
32
|
+
refetchOnMount: true,
|
33
|
+
refetchInterval: false,
|
34
|
+
refetchOnWindowFocus: false,
|
35
|
+
refetchIntervalInBackground: false,
|
36
|
+
refetchOnReconnect: false,
|
37
|
+
placeholderData: keepPreviousData
|
38
|
+
});
|
39
|
+
const count = computed(() => Array.isArray(query.data.value) ? query.data.value.length : query.data.value?.count ?? 0);
|
40
|
+
const pagesCount = computed(() => query.data.value ? "pages_count" in query.data.value ? query.data.value.pages_count : 1 : null);
|
41
|
+
const progress = computed(() => {
|
42
|
+
if (pagesCount.value === null || pagesCount.value < 1) return 0;
|
43
|
+
return page.value / pagesCount.value;
|
44
|
+
});
|
45
|
+
const isDone = computed(() => progress.value === 1);
|
46
|
+
const exportValue = computed(() => {
|
47
|
+
if (!isDone.value) return "";
|
48
|
+
return JSON.stringify(cache.value);
|
49
|
+
});
|
50
|
+
const blob = computed(() => {
|
51
|
+
if (!isDone.value || !exportValue.value) return;
|
52
|
+
return new Blob([exportValue.value], { type: "application/json" });
|
53
|
+
});
|
54
|
+
const urlToBlob = computed(() => blob.value ? URL.createObjectURL(blob.value) : void 0);
|
55
|
+
const handleDownload = () => {
|
56
|
+
loading.value = true;
|
57
|
+
setTimeout(() => {
|
58
|
+
loading.value = false;
|
59
|
+
props.resolve?.();
|
60
|
+
emit("close:modal");
|
61
|
+
}, 500);
|
62
|
+
};
|
63
|
+
watch(query.data, (data) => {
|
64
|
+
const list = Array.isArray(data) ? data : data?.results;
|
65
|
+
if (list?.length) {
|
66
|
+
cache.value.push(...props.prepare ? list.map(props.prepare) : list);
|
67
|
+
}
|
68
|
+
if (pagesCount.value && page.value < pagesCount.value) page.value = page.value + 1;
|
69
|
+
}, { immediate: true });
|
70
|
+
return (_ctx, _cache) => {
|
71
|
+
return openBlock(), createBlock(_sfc_main$1, { class: "w-modal-wrapper-w-[40rem]" }, {
|
72
|
+
title: withCtx(() => [
|
73
|
+
createTextVNode(toDisplayString((typeof _ctx.title === "string" ? _ctx.title : _ctx.title?.(count.value)) ?? `Exporting${unref(query).data.value ? ` ${count.value} item${count.value === 1 ? "" : "s"}` : ""}`), 1)
|
74
|
+
]),
|
75
|
+
actions: withCtx(() => [
|
76
|
+
createVNode(_sfc_main$3, {
|
77
|
+
"semantic-type": unref(SemanticType).SECONDARY,
|
78
|
+
disabled: loading.value,
|
79
|
+
class: "flex-1",
|
80
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
81
|
+
}, {
|
82
|
+
default: withCtx(() => [
|
83
|
+
createTextVNode(toDisplayString(_ctx.cancelText ?? "Close"), 1)
|
84
|
+
]),
|
85
|
+
_: 1
|
86
|
+
}, 8, ["semantic-type", "disabled"]),
|
87
|
+
createVNode(_sfc_main$3, {
|
88
|
+
href: urlToBlob.value,
|
89
|
+
download: `${_ctx.fileName}_${unref(dateToQueryString)(/* @__PURE__ */ new Date())}.json`,
|
90
|
+
"semantic-type": unref(SemanticType).PRIMARY,
|
91
|
+
disabled: !isDone.value,
|
92
|
+
loading: loading.value,
|
93
|
+
tag: "a",
|
94
|
+
class: "flex-1",
|
95
|
+
onClick: handleDownload
|
96
|
+
}, {
|
97
|
+
default: withCtx(() => [
|
98
|
+
createTextVNode(toDisplayString(_ctx.downloadText ?? "Download"), 1)
|
99
|
+
]),
|
100
|
+
_: 1
|
101
|
+
}, 8, ["href", "download", "semantic-type", "disabled", "loading"])
|
102
|
+
]),
|
103
|
+
default: withCtx(() => [
|
104
|
+
createElementVNode("div", _hoisted_1, [
|
105
|
+
createVNode(_sfc_main$2, {
|
106
|
+
"model-value": progress.value * 100,
|
107
|
+
class: "bg-primary-default dark:bg-primary-dark"
|
108
|
+
}, null, 8, ["model-value"]),
|
109
|
+
createElementVNode("div", _hoisted_2, toDisplayString(page.value) + " / " + toDisplayString(pagesCount.value), 1)
|
110
|
+
])
|
111
|
+
]),
|
112
|
+
_: 1
|
113
|
+
});
|
114
|
+
};
|
115
|
+
}
|
116
|
+
});
|
117
|
+
|
118
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const _default: <Item>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
|
+
readonly "onClose:modal"?: (() => any) | undefined;
|
4
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClose:modal"> & {
|
5
|
+
createMethod: (item: Item, config: RequestConfig) => Promise<RequestResponse<unknown>>;
|
6
|
+
items: Item[];
|
7
|
+
title?: string;
|
8
|
+
successText?: string;
|
9
|
+
abortText?: string;
|
10
|
+
resolve?: () => void;
|
11
|
+
reject?: (length: number) => void;
|
12
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
13
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
14
|
+
attrs: any;
|
15
|
+
slots: {};
|
16
|
+
emit: (e: "close:modal") => void;
|
17
|
+
}>) => import('vue').VNode & {
|
18
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
19
|
+
};
|
20
|
+
export default _default;
|
21
|
+
type __VLS_PrettifyLocal<T> = {
|
22
|
+
[K in keyof T]: T[K];
|
23
|
+
} & {};
|
24
|
+
//# sourceMappingURL=WModalImport.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WModalImport.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalImport.vue"],"names":[],"mappings":"AA8BA;yBAgIiB,IAAI,EACpB,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;WA8LO,mBAAmB,CAAC;;;sBA5LZ,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;eAC/E,IAAI,EAAE;gBACL,MAAM;sBACA,MAAM;oBACR,MAAM;kBACR,MAAM,IAAI;iBACX,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;mBAsL2D,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cAnLL,aAAa,KAAG,IAAI;EAuLtB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzMzE,wBAyM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, toDisplayString, unref, createTextVNode } from 'vue';
|
2
|
+
import _sfc_main$3 from '../Button/WButton.vue.js';
|
3
|
+
import _sfc_main$1 from './WModalWrapper.vue.js';
|
4
|
+
import { SemanticType } from '../../utils/SemanticType.js';
|
5
|
+
import { handleApiError } from '../../utils/api.js';
|
6
|
+
import { numberFormatter } from '../../utils/utils.js';
|
7
|
+
import _sfc_main$2 from '../Progress/WProgressStriped.vue.js';
|
8
|
+
|
9
|
+
const _hoisted_1 = { class: "mb-4" };
|
10
|
+
const _hoisted_2 = { class: "text-description mt-1 text-end text-xs" };
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
+
__name: "WModalImport",
|
13
|
+
props: {
|
14
|
+
createMethod: { type: Function },
|
15
|
+
items: {},
|
16
|
+
title: {},
|
17
|
+
successText: {},
|
18
|
+
abortText: {},
|
19
|
+
resolve: { type: Function },
|
20
|
+
reject: { type: Function }
|
21
|
+
},
|
22
|
+
emits: ["close:modal"],
|
23
|
+
setup(__props, { emit: __emit }) {
|
24
|
+
const props = __props;
|
25
|
+
const emit = __emit;
|
26
|
+
const itemIndex = ref(0);
|
27
|
+
const abortList = ref([]);
|
28
|
+
const progress = computed(() => {
|
29
|
+
if (props.items.length === 0) return 0;
|
30
|
+
return itemIndex.value / props.items.length;
|
31
|
+
});
|
32
|
+
const isDone = computed(() => progress.value === 1);
|
33
|
+
const abortUpload = () => {
|
34
|
+
if (!isDone.value) {
|
35
|
+
const length = abortList.value.length;
|
36
|
+
abortList.value.forEach((cb) => cb());
|
37
|
+
abortList.value = [];
|
38
|
+
props.reject?.(length);
|
39
|
+
} else {
|
40
|
+
props.resolve?.();
|
41
|
+
}
|
42
|
+
emit("close:modal");
|
43
|
+
};
|
44
|
+
const doUpload = () => {
|
45
|
+
const promiseList = [];
|
46
|
+
props.items.forEach((item) => {
|
47
|
+
const controller = new AbortController();
|
48
|
+
abortList.value.push(() => controller.abort());
|
49
|
+
const promise = props.createMethod(item, { signal: controller.signal }).catch(handleApiError).finally(() => {
|
50
|
+
itemIndex.value = itemIndex.value + 1;
|
51
|
+
const index = abortList.value.indexOf(controller.abort);
|
52
|
+
if (index !== -1) abortList.value.splice(index, 1);
|
53
|
+
});
|
54
|
+
promiseList.push(promise);
|
55
|
+
});
|
56
|
+
return Promise.all(promiseList);
|
57
|
+
};
|
58
|
+
onMounted(() => {
|
59
|
+
doUpload().then(() => {
|
60
|
+
props.resolve?.();
|
61
|
+
emit("close:modal");
|
62
|
+
});
|
63
|
+
});
|
64
|
+
return (_ctx, _cache) => {
|
65
|
+
return openBlock(), createBlock(_sfc_main$1, { class: "w-modal-wrapper-w-[40rem]" }, {
|
66
|
+
title: withCtx(() => [
|
67
|
+
createTextVNode(toDisplayString(_ctx.title ?? `Importing ${unref(numberFormatter).format(_ctx.items.length)} item${_ctx.items.length === 1 ? "" : "s"}`), 1)
|
68
|
+
]),
|
69
|
+
actions: withCtx(() => [
|
70
|
+
createVNode(_sfc_main$3, {
|
71
|
+
"semantic-type": unref(SemanticType).SECONDARY,
|
72
|
+
class: "flex-1",
|
73
|
+
onClick: abortUpload
|
74
|
+
}, {
|
75
|
+
default: withCtx(() => [
|
76
|
+
createTextVNode(toDisplayString(isDone.value ? _ctx.successText ?? "Done" : _ctx.abortText ?? "Abort upload"), 1)
|
77
|
+
]),
|
78
|
+
_: 1
|
79
|
+
}, 8, ["semantic-type"])
|
80
|
+
]),
|
81
|
+
default: withCtx(() => [
|
82
|
+
createElementVNode("div", null, [
|
83
|
+
createElementVNode("div", _hoisted_1, [
|
84
|
+
createVNode(_sfc_main$2, {
|
85
|
+
"model-value": progress.value,
|
86
|
+
class: "bg-primary-default dark:bg-primary-dark"
|
87
|
+
}, null, 8, ["model-value"]),
|
88
|
+
createElementVNode("div", _hoisted_2, toDisplayString(itemIndex.value) + " / " + toDisplayString(_ctx.items.length), 1)
|
89
|
+
])
|
90
|
+
])
|
91
|
+
]),
|
92
|
+
_: 1
|
93
|
+
});
|
94
|
+
};
|
95
|
+
}
|
96
|
+
});
|
97
|
+
|
98
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,6 @@
|
|
1
|
+
type __VLS_Props = {
|
2
|
+
modelValue: number;
|
3
|
+
};
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
5
|
+
export default _default;
|
6
|
+
//# sourceMappingURL=WProgressStriped.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WProgressStriped.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/WProgressStriped.vue"],"names":[],"mappings":"AAqBA;AA4BA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;;AAwDF,wBAOG"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, createCommentVNode, normalizeStyle } from 'vue';
|
2
|
+
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "WProgressStriped",
|
5
|
+
props: {
|
6
|
+
modelValue: {}
|
7
|
+
},
|
8
|
+
setup(__props) {
|
9
|
+
return (_ctx, _cache) => {
|
10
|
+
return openBlock(), createElementBlock("div", {
|
11
|
+
class: normalizeClass(["relative h-2 w-full cursor-progress select-none overflow-clip rounded-lg", {
|
12
|
+
"button-gradient-primary": _ctx.modelValue > 0,
|
13
|
+
"bg-gray-200 dark:bg-gray-800": _ctx.modelValue <= 0,
|
14
|
+
"w-progress-striped before:animate-move-horizontal": _ctx.modelValue > 0 && _ctx.modelValue < 100,
|
15
|
+
"before:absolute before:inset-0": _ctx.modelValue >= 100 || _ctx.modelValue <= 0,
|
16
|
+
"before:animate-ticker before:via-default/50 before:bg-gradient-to-r before:from-transparent before:to-transparent": _ctx.modelValue <= 0,
|
17
|
+
"before:bg-default/50 before:animate-pulse": _ctx.modelValue >= 100
|
18
|
+
}])
|
19
|
+
}, [
|
20
|
+
_ctx.modelValue < 100 && _ctx.modelValue > 0 ? (openBlock(), createElementBlock("div", {
|
21
|
+
key: 0,
|
22
|
+
class: "absolute right-0 h-full bg-gray-200 transition-[width] dark:bg-gray-800",
|
23
|
+
style: normalizeStyle({
|
24
|
+
width: 100 - _ctx.modelValue + "%"
|
25
|
+
})
|
26
|
+
}, null, 4)) : createCommentVNode("", true)
|
27
|
+
], 2);
|
28
|
+
};
|
29
|
+
}
|
30
|
+
});
|
31
|
+
|
32
|
+
export { _sfc_main as default };
|
@@ -58,6 +58,8 @@ import { default as WListHeader } from '../components/List/WListHeader.vue';
|
|
58
58
|
import { default as WListHeaderItem } from '../components/List/WListHeaderItem.vue';
|
59
59
|
import { default as WMenuItem } from '../components/MenuItem/WMenuItem.vue';
|
60
60
|
import { default as WModal } from '../components/Modal/WModal.vue';
|
61
|
+
import { default as WModalExport } from '../components/Modal/WModalExport.vue';
|
62
|
+
import { default as WModalImport } from '../components/Modal/WModalImport.vue';
|
61
63
|
import { default as WModalStepper } from '../components/Modal/WModalStepper.vue';
|
62
64
|
import { default as WModalWrapper } from '../components/Modal/WModalWrapper.vue';
|
63
65
|
import { default as WNavBar } from '../components/Nav/WNavBar.vue';
|
@@ -71,6 +73,7 @@ import { default as WPageBreadcrumbs } from '../components/Page/WPageBreadcrumbs
|
|
71
73
|
import { default as WPageNumerator } from '../components/Page/WPageNumerator.vue';
|
72
74
|
import { default as WPageTitle } from '../components/Page/WPageTitle.vue';
|
73
75
|
import { default as WProgress } from '../components/Progress/WProgress.vue';
|
76
|
+
import { default as WProgressStriped } from '../components/Progress/WProgressStriped.vue';
|
74
77
|
import { default as WSelect } from '../components/Select/WSelect.vue';
|
75
78
|
import { default as WSelectAsync } from '../components/Select/WSelectAsync.vue';
|
76
79
|
import { default as WSelectAsyncList } from '../components/Select/WSelectAsyncList.vue';
|
@@ -89,5 +92,5 @@ declare const _default: {
|
|
89
92
|
install: (app: App | any) => void;
|
90
93
|
};
|
91
94
|
export default _default;
|
92
|
-
export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WCheckboxGroup, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncCheckboxGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
|
95
|
+
export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WCheckboxGroup, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncCheckboxGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalExport, WModalImport, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WProgressStriped, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
|
93
96
|
//# sourceMappingURL=componentsPlugin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"componentsPlugin.d.ts","sourceRoot":"","sources":["../../../src/imports/componentsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,sBAAsB,MAAM,gDAAgD,CAAA;AACnF,OAAO,qBAAqB,MAAM,+CAA+C,CAAA;AACjF,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,cAAc,MAAM,0CAA0C,CAAA;AACrE,OAAO,KAAK,MAAM,6BAA6B,CAAA;AAC/C,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,QAAQ,MAAM,mCAAmC,CAAA;AACxD,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,SAAS,MAAM,qCAAqC,CAA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61,6 +61,8 @@ export { default as WListHeader } from './components/List/WListHeader.vue.js';
|
|
61
61
|
export { default as WListHeaderItem } from './components/List/WListHeaderItem.vue.js';
|
62
62
|
export { default as WMenuItem } from './components/MenuItem/WMenuItem.vue.js';
|
63
63
|
export { default as WModal } from './components/Modal/WModal.vue.js';
|
64
|
+
export { default as WModalExport } from './components/Modal/WModalExport.vue.js';
|
65
|
+
export { default as WModalImport } from './components/Modal/WModalImport.vue.js';
|
64
66
|
export { default as WModalStepper } from './components/Modal/WModalStepper.vue.js';
|
65
67
|
export { default as WModalWrapper } from './components/Modal/WModalWrapper.vue.js';
|
66
68
|
export { default as WNavBar } from './components/Nav/WNavBar.vue.js';
|
@@ -74,6 +76,7 @@ export { default as WPageBreadcrumbs } from './components/Page/WPageBreadcrumbs.
|
|
74
76
|
export { default as WPageNumerator } from './components/Page/WPageNumerator.vue.js';
|
75
77
|
export { default as WPageTitle } from './components/Page/WPageTitle.vue.js';
|
76
78
|
export { default as WProgress } from './components/Progress/WProgress.vue.js';
|
79
|
+
export { default as WProgressStriped } from './components/Progress/WProgressStriped.vue.js';
|
77
80
|
export { default as WSelect } from './components/Select/WSelect.vue.js';
|
78
81
|
export { default as WSelectAsync } from './components/Select/WSelectAsync.vue.js';
|
79
82
|
export { default as WSelectAsyncList } from './components/Select/WSelectAsyncList.vue.js';
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "git",
|
5
5
|
"url": "https://github.com/rsmple/eco-vue-js.git"
|
6
6
|
},
|
7
|
-
"version": "0.10.
|
7
|
+
"version": "0.10.29",
|
8
8
|
"scripts": {
|
9
9
|
"build": "run-p type-check \"build-only {@}\" --",
|
10
10
|
"dev": "vite build --watch",
|
@@ -313,6 +313,12 @@
|
|
313
313
|
"./dist/components/Modal/WModal.vue": {
|
314
314
|
"import": "./dist/components/Modal/WModal.vue.js"
|
315
315
|
},
|
316
|
+
"./dist/components/Modal/WModalExport.vue": {
|
317
|
+
"import": "./dist/components/Modal/WModalExport.vue.js"
|
318
|
+
},
|
319
|
+
"./dist/components/Modal/WModalImport.vue": {
|
320
|
+
"import": "./dist/components/Modal/WModalImport.vue.js"
|
321
|
+
},
|
316
322
|
"./dist/components/Modal/WModalStepper.vue": {
|
317
323
|
"import": "./dist/components/Modal/WModalStepper.vue.js"
|
318
324
|
},
|
@@ -355,6 +361,9 @@
|
|
355
361
|
"./dist/components/Progress/WProgress.vue": {
|
356
362
|
"import": "./dist/components/Progress/WProgress.vue.js"
|
357
363
|
},
|
364
|
+
"./dist/components/Progress/WProgressStriped.vue": {
|
365
|
+
"import": "./dist/components/Progress/WProgressStriped.vue.js"
|
366
|
+
},
|
358
367
|
"./dist/components/Select/WSelect.vue": {
|
359
368
|
"import": "./dist/components/Select/WSelect.vue.js"
|
360
369
|
},
|