eco-vue-js 0.11.50 → 0.11.51
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/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +5 -2
- package/dist/components/List/WListHeader.vue.js +1 -1
- package/dist/components/List/use/useListConfig.d.ts +1 -0
- package/dist/components/List/use/useListConfig.d.ts.map +1 -1
- package/dist/components/List/use/useListConfig.js +4 -1
- package/dist/components/Modal/WModalWrapper.vue.d.ts +1 -0
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.js +4 -2
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +7 -3
- package/dist/components/Modal/types.d.ts +1 -0
- package/dist/components/Modal/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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":"AAwTA;AAggBA,OAAO,KAAK,EAAC,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,kBAAkB,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAChK,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;AAezC,OAAO,EAAuB,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAW3C,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,WAAW,SAAS,SAAS,OAA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oBACxC,OAAO;2BACA,OAAO;oBACd,OAAO;mBAs5BuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YA/EiB,GAAG;2BACC,GAAG;;;;;YACP,GAAG;uBACF,GAAG;;;YAnzB1B,cAAc,SAAS,QAAQ,GAAG,IAAI;YACtC,cAAc,SAAS,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI;YACpD,qBAAqB,SAAS,WAAW,GAAG,IAAI;YAChD,cAAc,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;;EAg4BlD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAp8BzE,wBAo8B4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -16,7 +16,7 @@ import _sfc_main$9 from './components/HeaderFieldNested.vue.js';
|
|
|
16
16
|
import _sfc_main$7 from './components/HeaderSettings.vue.js';
|
|
17
17
|
import _sfc_main$6 from './components/HeaderSort.vue.js';
|
|
18
18
|
import _sfc_main$3 from './components/ListCardFieldNested.vue.js';
|
|
19
|
-
import { filterFields, useListConfig, getFieldVariable, getFieldStylesWidth, getFieldStylesFixed, sortFields } from './use/useListConfig.js';
|
|
19
|
+
import { filterFields, useListConfig, getFieldVariable, getFieldWidthSumStyles, getFieldStylesWidth, getFieldStylesFixed, sortFields } from './use/useListConfig.js';
|
|
20
20
|
|
|
21
21
|
const _hoisted_1 = {
|
|
22
22
|
key: 1,
|
|
@@ -266,6 +266,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
266
266
|
"hide-more": !_ctx.menu,
|
|
267
267
|
count: _ctx.count ?? listCount.value,
|
|
268
268
|
selection: unref(selectAllValue),
|
|
269
|
+
style: normalizeStyle({
|
|
270
|
+
"--list-header-width": unref(getFieldWidthSumStyles)(unref(fieldConfigMap))
|
|
271
|
+
}),
|
|
269
272
|
"onToggle:selection": _cache[3] || (_cache[3] = ($event) => $event ? unref(selectAll)() : unref(resetSelection)()),
|
|
270
273
|
"onUpdate:header": updateHeader
|
|
271
274
|
}, {
|
|
@@ -305,7 +308,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
305
308
|
}, 8, ["fields", "field-config-map"])
|
|
306
309
|
]),
|
|
307
310
|
_: 2
|
|
308
|
-
}, 1032, ["allow-select", "tooltip-text", "hide-more", "count", "selection", "onUpdate:header"])) : createCommentVNode("", true)
|
|
311
|
+
}, 1032, ["allow-select", "tooltip-text", "hide-more", "count", "selection", "style", "onUpdate:header"])) : createCommentVNode("", true)
|
|
309
312
|
]),
|
|
310
313
|
default: withCtx(({ item, skeleton, setter, refetch, previous, index, position, value }) => [
|
|
311
314
|
_ctx.groupBy && (index === 0 || !skeleton && (!previous || !_ctx.groupBy(item, previous))) ? renderSlot(_ctx.$slots, "group", {
|
|
@@ -3,7 +3,7 @@ import _sfc_main$1 from '../Checkbox/WCheckbox.vue.js';
|
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = { class: "flex h-[--w-list-header-height,2rem]" };
|
|
5
5
|
const _hoisted_2 = { class: "-left--left-inner bg-default dark:bg-default-dark sticky z-[1]" };
|
|
6
|
-
const _hoisted_3 = { class: "bg-primary-light dark:bg-primary-darkest flex flex-1 border-y border-solid border-gray-300 dark:border-gray-700" };
|
|
6
|
+
const _hoisted_3 = { class: "bg-primary-light dark:bg-primary-darkest flex min-w-[--list-header-width] flex-1 border-y border-solid border-gray-300 dark:border-gray-700" };
|
|
7
7
|
const _hoisted_4 = { class: "-right--right-inner bg-default dark:bg-default-dark sticky z-[1]" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "WListHeader",
|
|
@@ -24,4 +24,5 @@ export declare const forEachField: <Fields extends ListFields<any, any>>(fields:
|
|
|
24
24
|
export declare const getFieldVariable: <T extends "width" | "left" | "right", Label extends string>(type: T, label: Label) => `--w-list-field-${T}-${Label}`;
|
|
25
25
|
export declare const getFieldStylesWidth: <Fields extends ListFields<any, any>>(fields: Fields, fieldConfigMap: Record<string, FieldConfig>) => Record<string, string>;
|
|
26
26
|
export declare const getFieldStylesFixed: <Fields extends ListFields<any, any>>(fields: Fields, fieldConfigMap: Record<string, FieldConfig>) => Record<string, string>;
|
|
27
|
+
export declare const getFieldWidthSumStyles: (fieldConfigMap: Record<string, FieldConfig>) => string;
|
|
27
28
|
//# sourceMappingURL=useListConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListConfig.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/use/useListConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,QAAQ,EAA8C,MAAM,KAAK,CAAA;AAM9E,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;AAEtC,OAAO,EAAC,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAC,MAAM,UAAU,CAAA;AAEhH,eAAO,MAAM,YAAY,YAGxB,CAAA;AAUD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,YAAY,CAG1D,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAGrD,CAAA;AAqED,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,OAAO,KAAG,CAUxH,CAAA;AAGD,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,G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|
|
174
174
|
});
|
|
175
175
|
return styles;
|
|
176
176
|
};
|
|
177
|
+
const getFieldWidthSumStyles = (fieldConfigMap) => {
|
|
178
|
+
return "calc(" + Object.keys(fieldConfigMap).filter((key) => fieldConfigMap[key].visible).map((label) => `var(${getFieldVariable("width", label)})`).join(" + ") + ")";
|
|
179
|
+
};
|
|
177
180
|
|
|
178
|
-
export { filterFields, forEachField, getFieldStylesFixed, getFieldStylesWidth, getFieldVariable, getFirstFieldLabel, listModeIconMap, listModeLabelMap, listModeList, sortFields, useListConfig };
|
|
181
|
+
export { filterFields, forEachField, getFieldStylesFixed, getFieldStylesWidth, getFieldVariable, getFieldWidthSumStyles, getFirstFieldLabel, listModeIconMap, listModeLabelMap, listModeList, sortFields, useListConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"AAuDA;AA0FA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAeF,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACA,GAAG;yBACJ,GAAG;yBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoDknW,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;EAlCvwW;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuB6nW,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;kBAftwW,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -8,7 +8,8 @@ const _hoisted_2 = { class: "sm:-px--w-modal-wrapper-padding" };
|
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "WModalWrapper",
|
|
10
10
|
props: {
|
|
11
|
-
maximized: { type: Boolean }
|
|
11
|
+
maximized: { type: Boolean },
|
|
12
|
+
actionsCol: { type: Boolean }
|
|
12
13
|
},
|
|
13
14
|
setup(__props) {
|
|
14
15
|
const headerRef = useTemplateRef("header");
|
|
@@ -50,7 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
51
|
ref: "footer",
|
|
51
52
|
class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sticky bottom-0 left-0 flex w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))] justify-center", {
|
|
52
53
|
"sm-not:flex-col sm-not:w-full": !_ctx.maximized,
|
|
53
|
-
"sm-not:w-screen": _ctx.maximized
|
|
54
|
+
"sm-not:w-screen": _ctx.maximized,
|
|
55
|
+
"flex-col": _ctx.actionsCol
|
|
54
56
|
}]),
|
|
55
57
|
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_DROPDOWN) })
|
|
56
58
|
}, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmModal.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modal/modals/Confirm/ConfirmModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmModal.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Modal/modals/Confirm/ConfirmModal.vue"],"names":[],"mappings":"AAmFA;AA+JA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,aAAa,CAAA;AAOlD,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;;;;;;;;;;;AAkRjD,wBASG"}
|
|
@@ -18,7 +18,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
onIntermediate: {},
|
|
19
19
|
onCancel: {},
|
|
20
20
|
acceptTo: {},
|
|
21
|
-
intermediateTo: {}
|
|
21
|
+
intermediateTo: {},
|
|
22
|
+
actionsCol: { type: Boolean }
|
|
22
23
|
},
|
|
23
24
|
emits: ["close:modal"],
|
|
24
25
|
setup(__props, { emit: __emit }) {
|
|
@@ -59,7 +60,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
60
|
emit("close:modal");
|
|
60
61
|
};
|
|
61
62
|
return (_ctx, _cache) => {
|
|
62
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
63
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
64
|
+
"actions-col": _ctx.actionsCol,
|
|
65
|
+
class: "w-modal-wrapper-w-[--w-modal-confirm-width,40rem]"
|
|
66
|
+
}, {
|
|
63
67
|
title: withCtx(() => [
|
|
64
68
|
typeof _ctx.title === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
65
69
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
@@ -119,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
123
|
])
|
|
120
124
|
]),
|
|
121
125
|
_: 1
|
|
122
|
-
});
|
|
126
|
+
}, 8, ["actions-col"]);
|
|
123
127
|
};
|
|
124
128
|
}
|
|
125
129
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,E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