eco-vue-js 0.10.26 → 0.10.28
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/WButtonAction.vue.js +2 -2
- package/dist/components/Button/WButtonGroup.vue.d.ts +4 -0
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +72 -47
- 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/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 +116 -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 +30 -0
- package/dist/components/Progress/WProgressStriped.vue2.js +5 -0
- package/dist/components/Tabs/components/TabTitleButton.vue.js +1 -1
- 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
@@ -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
|
});
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
emits: ["click"],
|
25
25
|
setup(__props) {
|
26
26
|
const semanticTypeStylesMap = {
|
27
|
-
[SemanticType.SECONDARY]: "text-description bg-default dark:bg-default-dark hover:text-primary-default dark:hover:text-primary-dark",
|
27
|
+
[SemanticType.SECONDARY]: "text-description bg-default dark:bg-default-dark [not:(:disabled)]:hover:text-primary-default [not:(:disabled)]:dark:hover:text-primary-dark",
|
28
28
|
[SemanticType.PRIMARY]: "text-default bg-primary-default dark:bg-primary-dark",
|
29
29
|
[SemanticType.POSITIVE]: "text-default dark:text-default-dark bg-positive dark:bg-positive-dark",
|
30
30
|
[SemanticType.WARNING]: "text-default dark:text-default-dark bg-warning dark:bg-warning-dark",
|
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
32
|
[SemanticType.INFO]: "text-default dark:text-default-dark bg-info dark:bg-info-dark"
|
33
33
|
};
|
34
34
|
const semanticTypeOutlineStylesMap = {
|
35
|
-
[SemanticType.SECONDARY]: "text-description bg-default dark:bg-default-dark hover:text-primary-default dark:hover:text-primary-dark",
|
35
|
+
[SemanticType.SECONDARY]: "text-description bg-default dark:bg-default-dark [not:(:disabled)]:hover:text-primary-default [not:(:disabled)]:dark:hover:text-primary-dark",
|
36
36
|
[SemanticType.PRIMARY]: "text-primary-default text-primary-dark",
|
37
37
|
[SemanticType.POSITIVE]: "text-positive dark:text-positive-dark",
|
38
38
|
[SemanticType.WARNING]: "text-warning dark:text-warning-dark",
|
@@ -10,6 +10,10 @@ declare const _default: <Model extends number | string | null | boolean, Entity
|
|
10
10
|
slots: {
|
11
11
|
title?(_: {}): any;
|
12
12
|
subtitle?(_: {}): any;
|
13
|
+
option?(_: {
|
14
|
+
option: Model | Entity;
|
15
|
+
selected: boolean;
|
16
|
+
}): any;
|
13
17
|
option?(_: {
|
14
18
|
option: ValueGetter extends undefined ? Model : Entity;
|
15
19
|
selected: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAgGA;AA4IA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;yBAU5B,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EACpL,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;;yMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAvCgB,GAAG;0BACA,GAAG;;;;YACL,GAAG;;;;YACF,GAAG;uBACJ,GAAG;;cAjMzB,oBAAoB,SAAS,KAAK,KAAG,IAAI;EAwO3C,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"}
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { defineComponent, ref, createBlock, openBlock, mergeProps, createSlots, withCtx,
|
1
|
+
import { defineComponent, ref, computed, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createElementVNode, createElementBlock, createCommentVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, normalizeClass, renderList, unref } from 'vue';
|
2
2
|
import _sfc_main$1 from '../FieldWrapper/WFieldWrapper.vue.js';
|
3
3
|
import { SemanticType } from '../../utils/SemanticType.js';
|
4
4
|
import _sfc_main$2 from './WButton.vue.js';
|
5
5
|
|
6
|
+
const _hoisted_1 = { class: "flex gap-1" };
|
6
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
8
|
...{ inheritAttrs: false },
|
8
9
|
__name: "WButtonGroup",
|
@@ -38,6 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
39
|
subgrid: { type: Boolean },
|
39
40
|
loading: { type: Boolean },
|
40
41
|
semanticTypeMap: {},
|
42
|
+
download: {},
|
41
43
|
to: {}
|
42
44
|
},
|
43
45
|
emits: ["update:model-value"],
|
@@ -52,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
54
|
return item;
|
53
55
|
}
|
54
56
|
};
|
57
|
+
const modelValueItem = computed(() => props.list.find((item) => getValue(item) === props.modelValue));
|
55
58
|
const emitUpdateModelValue = (value) => {
|
56
59
|
loadingItem.value = value;
|
57
60
|
emit("update:model-value", value);
|
@@ -63,51 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
66
|
return (_ctx, _cache) => {
|
64
67
|
return openBlock(), createBlock(_sfc_main$1, mergeProps(props, {
|
65
68
|
class: _ctx.$attrs.class
|
66
|
-
}), createSlots({
|
67
|
-
field: withCtx(() => [
|
68
|
-
createElementVNode("div", {
|
69
|
-
class: normalizeClass(["flex", {
|
70
|
-
"flex-wrap gap-2": _ctx.wrap,
|
71
|
-
"flex-col gap-2": _ctx.col,
|
72
|
-
"items-start": _ctx.col && !_ctx.stretch
|
73
|
-
}])
|
74
|
-
}, [
|
75
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item, index) => {
|
76
|
-
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
77
|
-
key: index,
|
78
|
-
ref_for: true
|
79
|
-
}, {
|
80
|
-
...props,
|
81
|
-
semanticType: getValue(item) === _ctx.modelValue ? _ctx.semanticType ?? unref(SemanticType).PRIMARY : unref(SemanticType).SECONDARY,
|
82
|
-
loading: _ctx.loading && getValue(item) === loadingItem.value,
|
83
|
-
disabled: _ctx.disabled || _ctx.loading && getValue(item) !== loadingItem.value,
|
84
|
-
join: !_ctx.wrap && !_ctx.col,
|
85
|
-
tooltipText: void 0
|
86
|
-
}, {
|
87
|
-
class: {
|
88
|
-
"flex-1": _ctx.stretch
|
89
|
-
},
|
90
|
-
onClick: ($event) => updateModelValue(getValue(item))
|
91
|
-
}), {
|
92
|
-
default: withCtx(() => [
|
93
|
-
renderSlot(_ctx.$slots, "option", {
|
94
|
-
option: item,
|
95
|
-
selected: getValue(item) === _ctx.modelValue
|
96
|
-
}, () => [
|
97
|
-
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
98
|
-
key: 0,
|
99
|
-
option: item,
|
100
|
-
selected: getValue(item) === _ctx.modelValue
|
101
|
-
}, null, 8, ["option", "selected"])) : createCommentVNode("", true)
|
102
|
-
])
|
103
|
-
]),
|
104
|
-
_: 2
|
105
|
-
}, 1040, ["class", "onClick"]);
|
106
|
-
}), 128))
|
107
|
-
], 2)
|
108
|
-
]),
|
109
|
-
_: 2
|
110
|
-
}, [
|
69
|
+
}), createSlots({ _: 2 }, [
|
111
70
|
_ctx.$slots.title ? {
|
112
71
|
name: "title",
|
113
72
|
fn: withCtx(() => [
|
@@ -122,12 +81,78 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
122
81
|
]),
|
123
82
|
key: "1"
|
124
83
|
} : void 0,
|
84
|
+
_ctx.readonly ? {
|
85
|
+
name: "default",
|
86
|
+
fn: withCtx(() => [
|
87
|
+
createElementVNode("div", _hoisted_1, [
|
88
|
+
modelValueItem.value !== void 0 ? renderSlot(_ctx.$slots, "option", {
|
89
|
+
key: 0,
|
90
|
+
option: modelValueItem.value,
|
91
|
+
selected: true
|
92
|
+
}, () => [
|
93
|
+
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
94
|
+
key: 0,
|
95
|
+
option: modelValueItem.value,
|
96
|
+
selected: true
|
97
|
+
}, null, 8, ["option"])) : createCommentVNode("", true)
|
98
|
+
]) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
99
|
+
createTextVNode(toDisplayString(_ctx.emptyValue), 1)
|
100
|
+
], 64))
|
101
|
+
])
|
102
|
+
]),
|
103
|
+
key: "2"
|
104
|
+
} : {
|
105
|
+
name: "field",
|
106
|
+
fn: withCtx(() => [
|
107
|
+
createElementVNode("div", {
|
108
|
+
class: normalizeClass(["flex", {
|
109
|
+
"flex-wrap gap-2": _ctx.wrap,
|
110
|
+
"flex-col gap-2": _ctx.col,
|
111
|
+
"items-start": _ctx.col && !_ctx.stretch
|
112
|
+
}])
|
113
|
+
}, [
|
114
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item, index) => {
|
115
|
+
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
116
|
+
key: index,
|
117
|
+
ref_for: true
|
118
|
+
}, {
|
119
|
+
...props,
|
120
|
+
semanticType: getValue(item) === _ctx.modelValue ? _ctx.semanticType ?? unref(SemanticType).PRIMARY : unref(SemanticType).SECONDARY,
|
121
|
+
loading: _ctx.loading && getValue(item) === loadingItem.value,
|
122
|
+
disabled: _ctx.disabled || _ctx.loading && getValue(item) !== loadingItem.value,
|
123
|
+
join: !_ctx.wrap && !_ctx.col,
|
124
|
+
tooltipText: void 0
|
125
|
+
}, {
|
126
|
+
class: {
|
127
|
+
"flex-1": _ctx.stretch
|
128
|
+
},
|
129
|
+
onClick: ($event) => updateModelValue(getValue(item))
|
130
|
+
}), {
|
131
|
+
default: withCtx(() => [
|
132
|
+
renderSlot(_ctx.$slots, "option", {
|
133
|
+
option: item,
|
134
|
+
selected: getValue(item) === _ctx.modelValue
|
135
|
+
}, () => [
|
136
|
+
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
137
|
+
key: 0,
|
138
|
+
option: item,
|
139
|
+
selected: getValue(item) === _ctx.modelValue
|
140
|
+
}, null, 8, ["option", "selected"])) : createCommentVNode("", true)
|
141
|
+
])
|
142
|
+
]),
|
143
|
+
_: 2
|
144
|
+
}, 1040, ["class", "onClick"]);
|
145
|
+
}), 128))
|
146
|
+
], 2)
|
147
|
+
]),
|
148
|
+
key: "3"
|
149
|
+
},
|
125
150
|
_ctx.$slots.right ? {
|
126
151
|
name: "right",
|
127
152
|
fn: withCtx(() => [
|
128
153
|
renderSlot(_ctx.$slots, "right")
|
129
154
|
]),
|
130
|
-
key: "
|
155
|
+
key: "4"
|
131
156
|
} : void 0
|
132
157
|
]), 1040, ["class"]);
|
133
158
|
};
|
@@ -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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G,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"}
|
@@ -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;yBA8IiB,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;WAwOO,mBAAmB,CAAC;;;kBAtOhB,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;mBA+NwE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA5NL,aAAa,KAAG,IAAI;EAgOtB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnPzE,wBAmP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
import { defineComponent, ref, computed, watch, 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 { dateToQueryString } from '../../utils/dateTime.js';
|
6
|
+
import _sfc_main$2 from '../Progress/WProgressStriped.vue.js';
|
7
|
+
|
8
|
+
const _hoisted_1 = { class: "mb-4" };
|
9
|
+
const _hoisted_2 = { class: "text-description mt-1 text-end text-xs" };
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
|
+
__name: "WModalExport",
|
12
|
+
props: {
|
13
|
+
fileName: {},
|
14
|
+
title: { type: [String, Function] },
|
15
|
+
cancelText: {},
|
16
|
+
downloadText: {},
|
17
|
+
initQueryParams: {},
|
18
|
+
useQueryFn: {},
|
19
|
+
prepare: { type: Function },
|
20
|
+
resolve: { type: Function }
|
21
|
+
},
|
22
|
+
emits: ["close:modal"],
|
23
|
+
setup(__props, { emit: __emit }) {
|
24
|
+
const props = __props;
|
25
|
+
const emit = __emit;
|
26
|
+
const cache = ref([]);
|
27
|
+
const page = ref(1);
|
28
|
+
const loading = ref(false);
|
29
|
+
const queryParams = computed(() => ({ ...props.initQueryParams ?? {}, page: page.value }));
|
30
|
+
const query = props.useQueryFn(queryParams, {
|
31
|
+
refetchOnMount: true,
|
32
|
+
refetchInterval: false,
|
33
|
+
refetchOnWindowFocus: false,
|
34
|
+
refetchIntervalInBackground: false,
|
35
|
+
refetchOnReconnect: false
|
36
|
+
});
|
37
|
+
const count = computed(() => Array.isArray(query.data.value) ? query.data.value.length : query.data.value?.count ?? 0);
|
38
|
+
const pagesCount = computed(() => query.data.value ? "pages_count" in query.data.value ? query.data.value.pages_count : 1 : null);
|
39
|
+
const progress = computed(() => {
|
40
|
+
if (pagesCount.value === null || pagesCount.value < 1) return 0;
|
41
|
+
return page.value / pagesCount.value;
|
42
|
+
});
|
43
|
+
const isDone = computed(() => progress.value === 1);
|
44
|
+
const exportValue = computed(() => {
|
45
|
+
if (!isDone.value) return "";
|
46
|
+
return JSON.stringify(cache.value);
|
47
|
+
});
|
48
|
+
const blob = computed(() => {
|
49
|
+
if (!isDone.value || !exportValue.value) return;
|
50
|
+
return new Blob([exportValue.value], { type: "application/json" });
|
51
|
+
});
|
52
|
+
const urlToBlob = computed(() => blob.value ? URL.createObjectURL(blob.value) : void 0);
|
53
|
+
const handleDownload = () => {
|
54
|
+
loading.value = true;
|
55
|
+
setTimeout(() => {
|
56
|
+
loading.value = false;
|
57
|
+
props.resolve?.();
|
58
|
+
emit("close:modal");
|
59
|
+
}, 500);
|
60
|
+
};
|
61
|
+
watch(query.data, (data) => {
|
62
|
+
const list = Array.isArray(data) ? data : data?.results;
|
63
|
+
if (list?.length) {
|
64
|
+
cache.value.push(...props.prepare ? list.map(props.prepare) : list);
|
65
|
+
}
|
66
|
+
if (pagesCount.value && page.value < pagesCount.value) page.value = page.value + 1;
|
67
|
+
}, { immediate: true });
|
68
|
+
return (_ctx, _cache) => {
|
69
|
+
return openBlock(), createBlock(_sfc_main$1, { class: "w-modal-wrapper-w-[40rem]" }, {
|
70
|
+
title: withCtx(() => [
|
71
|
+
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)
|
72
|
+
]),
|
73
|
+
actions: withCtx(() => [
|
74
|
+
createVNode(_sfc_main$3, {
|
75
|
+
"semantic-type": unref(SemanticType).SECONDARY,
|
76
|
+
disabled: loading.value,
|
77
|
+
class: "flex-1",
|
78
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
79
|
+
}, {
|
80
|
+
default: withCtx(() => [
|
81
|
+
createTextVNode(toDisplayString(_ctx.cancelText ?? "Close"), 1)
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
}, 8, ["semantic-type", "disabled"]),
|
85
|
+
createVNode(_sfc_main$3, {
|
86
|
+
href: urlToBlob.value,
|
87
|
+
download: `${_ctx.fileName}_${unref(dateToQueryString)(/* @__PURE__ */ new Date())}.json`,
|
88
|
+
"semantic-type": unref(SemanticType).PRIMARY,
|
89
|
+
disabled: !isDone.value,
|
90
|
+
loading: loading.value,
|
91
|
+
tag: "a",
|
92
|
+
class: "flex-1",
|
93
|
+
onClick: handleDownload
|
94
|
+
}, {
|
95
|
+
default: withCtx(() => [
|
96
|
+
createTextVNode(toDisplayString(_ctx.downloadText ?? "Download"), 1)
|
97
|
+
]),
|
98
|
+
_: 1
|
99
|
+
}, 8, ["href", "download", "semantic-type", "disabled", "loading"])
|
100
|
+
]),
|
101
|
+
default: withCtx(() => [
|
102
|
+
createElementVNode("div", _hoisted_1, [
|
103
|
+
createVNode(_sfc_main$2, {
|
104
|
+
"model-value": progress.value * 100,
|
105
|
+
class: "bg-primary-default dark:bg-primary-dark"
|
106
|
+
}, null, 8, ["model-value"]),
|
107
|
+
createElementVNode("div", _hoisted_2, toDisplayString(page.value) + " / " + toDisplayString(pagesCount.value), 1)
|
108
|
+
])
|
109
|
+
]),
|
110
|
+
_: 1
|
111
|
+
});
|
112
|
+
};
|
113
|
+
}
|
114
|
+
});
|
115
|
+
|
116
|
+
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":"AAmBA;AA0BA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;;AAsDF,wBAOG"}
|
@@ -0,0 +1,30 @@
|
|
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:animate-ticker before:absolute before:inset-0": _ctx.modelValue >= 100 || _ctx.modelValue <= 0
|
16
|
+
}])
|
17
|
+
}, [
|
18
|
+
_ctx.modelValue < 100 && _ctx.modelValue > 0 ? (openBlock(), createElementBlock("div", {
|
19
|
+
key: 0,
|
20
|
+
class: "absolute right-0 h-full bg-gray-200 transition-[width] dark:bg-gray-800",
|
21
|
+
style: normalizeStyle({
|
22
|
+
width: 100 - _ctx.modelValue + "%"
|
23
|
+
})
|
24
|
+
}, null, 4)) : createCommentVNode("", true)
|
25
|
+
], 2);
|
26
|
+
};
|
27
|
+
}
|
28
|
+
});
|
29
|
+
|
30
|
+
export { _sfc_main as default };
|
@@ -122,7 +122,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
122
122
|
], 2)
|
123
123
|
])) : createCommentVNode("", true),
|
124
124
|
createElementVNode("div", {
|
125
|
-
class: normalizeClass(["relative col-start-2", {
|
125
|
+
class: normalizeClass(["relative col-start-2 self-start", {
|
126
126
|
"mt-3": _ctx.stepper,
|
127
127
|
"w-ripple w-ripple-hover": !_ctx.disabled
|
128
128
|
}])
|
@@ -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":"components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,EACf,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,cAAc,EACd,KAAK,EACL,aAAa,EACb,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,cAAc,EACd,KAAK,EACL,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
|
package/dist/main.js
CHANGED
@@ -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.28",
|
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
|
},
|