eco-vue-js 0.10.42 → 0.10.43
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/InfoCard/WInfoCard.vue.d.ts +1 -0
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCard.vue.js +2 -1
- package/dist/components/List/components/ListFilterLocal.vue.d.ts.map +1 -1
- package/dist/components/List/components/ListFilterLocal.vue.js +11 -10
- package/dist/components/Page/WPage.vue.js +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfoCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoCard/WInfoCard.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfoCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoCard/WInfoCard.vue"],"names":[],"mappings":"AA4BA;AA8CA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAIjD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B,CAAC;AAKF,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;qBAZzB,GAAG;yBACC,GAAG;wBACJ,GAAG;;;;EAe9B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListFilterLocal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/ListFilterLocal.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ListFilterLocal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/ListFilterLocal.vue"],"names":[],"mappings":"AAqFA;AA6JA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAA;yBAiB5B,WAAW,EAC3B,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;WA4UO,mBAAmB,CAAC;;;gBA1UlB,eAAe,CAAC,WAAW,CAAC,EAAE,GAAG,SAAS;sBACpC,eAAe,CAAC,WAAW,CAAC,GAAG,SAAS;gBAC9C,OAAO;qBACF,WAAW;8BACF,KAAK,CAAC,MAAM,WAAW,CAAC;mBAsU8C,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cAnUL,qBAAqB,SAAS,WAAW,KAAG,IAAI;EAuUlD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvVzE,wBAuV4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, ref, computed, createElementBlock, openBlock, createVNode, markRaw, unref, withCtx, createCommentVNode, createElementVNode,
|
1
|
+
import { defineComponent, ref, computed, createElementBlock, openBlock, createVNode, markRaw, unref, withCtx, createBlock, createCommentVNode, createElementVNode, resolveDynamicComponent, Fragment, renderList } from 'vue';
|
2
2
|
import _sfc_main$1 from '../../Expansion/WExpansionItem.vue.js';
|
3
3
|
import _sfc_main$4 from '../../Input/WInput.vue.js';
|
4
4
|
import _sfc_main$2 from '../../Tabs/WTabs.vue.js';
|
@@ -35,12 +35,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
35
|
return !fields.some((field) => props.disabledFilterFields.includes(field));
|
36
36
|
}) ?? [];
|
37
37
|
});
|
38
|
-
const selected = ref(
|
39
|
-
|
40
|
-
);
|
38
|
+
const selected = ref([]);
|
39
|
+
const shown = computed(() => filterList.value.filter((item) => getItemProp(props.queryParams, item, "fields")?.some((field) => field in props.queryParams)).map((item) => props.filter?.indexOf(item) ?? -1));
|
40
|
+
const allShown = computed(() => [...selected.value, ...shown.value]);
|
41
41
|
const excluded = computed(() => {
|
42
42
|
const hidden = props.filter?.filter((item) => !filterList.value.includes(item)).map((item) => props.filter?.indexOf(item) ?? -1) ?? [];
|
43
|
-
return [...
|
43
|
+
return [...allShown.value, ...hidden];
|
44
44
|
});
|
45
45
|
const clearFilterItem = (item) => {
|
46
46
|
const result = {};
|
@@ -69,7 +69,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
69
69
|
class: "w-tabs-side-width-72"
|
70
70
|
}, {
|
71
71
|
default: withCtx(() => [
|
72
|
-
|
72
|
+
_ctx.search ? (openBlock(), createBlock(_sfc_main$3, {
|
73
|
+
key: 0,
|
73
74
|
name: "search",
|
74
75
|
title: "Search",
|
75
76
|
icon: markRaw(unref(IconSearch))
|
@@ -96,9 +97,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
97
|
])
|
97
98
|
]),
|
98
99
|
_: 1
|
99
|
-
}, 8, ["icon"]),
|
100
|
-
_ctx.filter ? (openBlock(), createElementBlock(Fragment, { key:
|
101
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value.filter((item) =>
|
100
|
+
}, 8, ["icon"])) : createCommentVNode("", true),
|
101
|
+
_ctx.filter ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
102
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value.filter((item) => allShown.value.includes(_ctx.filter?.indexOf(item) ?? -1)), (item) => {
|
102
103
|
return openBlock(), createBlock(_sfc_main$3, {
|
103
104
|
key: _ctx.filter.indexOf(item),
|
104
105
|
name: _ctx.filter.indexOf(item).toString(),
|
@@ -126,7 +127,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
126
127
|
_: 2
|
127
128
|
}, 1032, ["name", "title", "icon"]);
|
128
129
|
}), 128)),
|
129
|
-
|
130
|
+
allShown.value.length < filterList.value.length ? (openBlock(), createBlock(_sfc_main$5, {
|
130
131
|
key: 0,
|
131
132
|
filter: _ctx.filter,
|
132
133
|
exclude: excluded.value,
|
@@ -169,7 +169,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
169
169
|
createElementVNode("div", _hoisted_3, [
|
170
170
|
_ctx.logoComponent || _ctx.$slots.logo ? (openBlock(), createElementBlock("div", {
|
171
171
|
key: 0,
|
172
|
-
class: normalizeClass(["grid grid-cols-[auto,
|
172
|
+
class: normalizeClass(["grid grid-cols-[auto,1fr] items-center gap-3", {
|
173
173
|
"col-start-2": _ctx.centerLogo,
|
174
174
|
"col-start-1": !_ctx.centerLogo
|
175
175
|
}])
|
package/package.json
CHANGED