@vc-shell/framework 1.0.159 → 1.0.160

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.0.160](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.159...v1.0.160) (2024-02-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * filter reset ([49aec1b](https://github.com/VirtoCommerce/vc-shell/commit/49aec1b7ee488d86f0248a10e933fd132bf6ec10))
7
+
8
+
9
+
1
10
  ## [1.0.159](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.158...v1.0.159) (2024-02-09)
2
11
 
3
12
 
package/dist/framework.js CHANGED
@@ -51352,7 +51352,7 @@ const kz = { class: "change-password tw-p-3 tw-overflow-scroll" }, Cz = { class:
51352
51352
  );
51353
51353
  }
51354
51354
  async function y() {
51355
- Object.keys(i).forEach((w) => i.value[w] = void 0), d.value = {};
51355
+ Object.keys(i.value).forEach((w) => i.value[w] = void 0), d.value = {};
51356
51356
  }
51357
51357
  return {
51358
51358
  filterComponent: v,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/composables/useFilterBuilder/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,QAAQ,EAKR,eAAe,EACf,YAAY,EACZ,KAAK,EACL,WAAW,EAIZ,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAI9D,OAAO,EAAE,UAAU,EAAmC,MAAM,aAAa,CAAC;AAU1E,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,wBAiNE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/composables/useFilterBuilder/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,QAAQ,EAIR,eAAe,EACf,YAAY,EACZ,KAAK,EACL,WAAW,EAIZ,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAI9D,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,wBAiNE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.159",
3
+ "version": "1.0.160",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -53,9 +53,9 @@
53
53
  "whatwg-fetch": "^3.6.19"
54
54
  },
55
55
  "devDependencies": {
56
- "@vc-shell/api-client-generator": "^1.0.159",
57
- "@vc-shell/config-generator": "^1.0.159",
58
- "@vc-shell/ts-config": "^1.0.159",
56
+ "@vc-shell/api-client-generator": "^1.0.160",
57
+ "@vc-shell/config-generator": "^1.0.160",
58
+ "@vc-shell/ts-config": "^1.0.160",
59
59
  "@vitejs/plugin-vue": "^5.0.3",
60
60
  "sass": "^1.69.6",
61
61
  "typescript": "^5.3.3",
@@ -7,7 +7,6 @@ import {
7
7
  unref,
8
8
  Component,
9
9
  onMounted,
10
- reactive,
11
10
  RendererElement,
12
11
  RendererNode,
13
12
  VNode,
@@ -23,7 +22,6 @@ import { VcButton, VcCol, VcContainer, VcRow } from "../../../../../ui/component
23
22
  import { createUnrefFn } from "@vueuse/core";
24
23
  import { useI18n } from "vue-i18n";
25
24
  import { FilterBase, FilterCheckbox, FilterDateInput } from "../../types";
26
- import { onBeforeUnmount } from "vue";
27
25
 
28
26
  interface Control {
29
27
  title: string;
@@ -247,7 +245,7 @@ export default <Query>(args: {
247
245
  }
248
246
 
249
247
  async function reset() {
250
- Object.keys(filter).forEach((key: string) => (filter.value[key] = undefined));
248
+ Object.keys(filter.value).forEach((key: string) => (filter.value[key] = undefined));
251
249
 
252
250
  appliedFilter.value = {};
253
251
  }