@vc-shell/framework 1.0.190 → 1.0.191
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/composables/useFilterBuilder/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,QAAQ,EAIR,eAAe,EACf,YAAY,EACZ,KAAK,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/composables/useFilterBuilder/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,QAAQ,EAIR,eAAe,EACf,YAAY,EACZ,KAAK,EACL,WAAW,EAKZ,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG9D,OAAO,EAAE,UAAU,EAAmC,MAAM,aAAa,CAAC;AAS1E,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,CAAC,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,KAChD,KAAK,CACH,YAAY,EACZ,eAAe,EACf;QAEE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CACF,GACD,SAAS,CAAC;IACd,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACtC;;UAGO,UAAU,GAAG,SAAS;;;WAGrB,YAAY,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,SAAS;MACjD,gBAAgB;AALpB,wBAgNE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.191",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/dompurify": "^3.0.5",
|
|
61
61
|
"@types/quill": "^2.0.14",
|
|
62
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
63
|
-
"@vc-shell/config-generator": "^1.0.
|
|
64
|
-
"@vc-shell/ts-config": "^1.0.
|
|
62
|
+
"@vc-shell/api-client-generator": "^1.0.191",
|
|
63
|
+
"@vc-shell/config-generator": "^1.0.191",
|
|
64
|
+
"@vc-shell/ts-config": "^1.0.191",
|
|
65
65
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
66
66
|
"sass": "^1.69.6",
|
|
67
67
|
"shx": "^0.3.4",
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
readonly,
|
|
16
16
|
toValue,
|
|
17
17
|
Ref,
|
|
18
|
+
watchPostEffect,
|
|
18
19
|
} from "vue";
|
|
19
20
|
import * as _ from "lodash-es";
|
|
20
21
|
import { Checkbox, InputField } from "../../components/factories";
|
|
@@ -71,7 +72,9 @@ export default <Query>(args: {
|
|
|
71
72
|
return filterKeys.length === 0 || filterKeys.every((key) => !filterObj[key]);
|
|
72
73
|
});
|
|
73
74
|
|
|
74
|
-
|
|
75
|
+
watchPostEffect(() => {
|
|
76
|
+
createFilterControls();
|
|
77
|
+
});
|
|
75
78
|
|
|
76
79
|
function isItemSelected(value: string, field: string) {
|
|
77
80
|
const item = filter.value[field];
|
|
@@ -195,7 +198,7 @@ export default <Query>(args: {
|
|
|
195
198
|
() => [
|
|
196
199
|
h(VcRow, () =>
|
|
197
200
|
Object.values(controls.value).map(({ title, fields }) =>
|
|
198
|
-
h(VcCol, { class: "tw-p-2" }, () => [
|
|
201
|
+
h(VcCol, { class: "tw-p-2 !tw-flex-auto" }, () => [
|
|
199
202
|
h(
|
|
200
203
|
"div",
|
|
201
204
|
{ class: "tw-mb-4 tw-text-[#a1c0d4] tw-font-bold tw-text-[17px]" },
|
|
@@ -214,7 +217,7 @@ export default <Query>(args: {
|
|
|
214
217
|
),
|
|
215
218
|
),
|
|
216
219
|
h(VcRow, () =>
|
|
217
|
-
h(VcCol, { class: "tw-p-2" }, () =>
|
|
220
|
+
h(VcCol, { class: "tw-p-2 !tw-flex-auto" }, () =>
|
|
218
221
|
h("div", { class: "tw-flex tw-justify-end" }, [
|
|
219
222
|
h(
|
|
220
223
|
VcButton,
|