quasar-factory-lib 0.0.10 → 0.0.11

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.
@@ -827,6 +827,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
827
827
  localStore: Record<string, any>;
828
828
  }, {}, {
829
829
  inputFocus(): void;
830
+ cleanTableFilter(): void;
830
831
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
831
832
  store: {
832
833
  type: ObjectConstructor;
@@ -7,6 +7,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
7
  localStore: Record<string, any>;
8
8
  }, {}, {
9
9
  inputFocus(): void;
10
+ cleanTableFilter(): void;
10
11
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
12
  store: {
12
13
  type: ObjectConstructor;
@@ -1112,6 +1112,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
1112
1112
  localStore: Record<string, any>;
1113
1113
  }, {}, {
1114
1114
  inputFocus(): void;
1115
+ cleanTableFilter(): void;
1115
1116
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1116
1117
  store: {
1117
1118
  type: ObjectConstructor;
@@ -7355,16 +7355,17 @@ const Uv = /* @__PURE__ */ yt(Mv, [["render", qv]]), $v = {
7355
7355
  localStore: this.store
7356
7356
  };
7357
7357
  },
7358
- beforeMount() {
7359
- this.localStore.cleanTableFilter();
7360
- },
7361
7358
  mounted() {
7359
+ this.cleanTableFilter();
7362
7360
  },
7363
7361
  methods: {
7364
7362
  inputFocus() {
7365
7363
  setTimeout(() => {
7366
7364
  this.$refs.filterRef.focus();
7367
7365
  }, 10);
7366
+ },
7367
+ cleanTableFilter() {
7368
+ this.localStore.cleanTableFilter();
7368
7369
  }
7369
7370
  }
7370
7371
  };
@@ -7373,8 +7374,8 @@ function Hv(e, t, n, o, l, r) {
7373
7374
  ref: "filterRef",
7374
7375
  modelValue: l.localStore.filterValue,
7375
7376
  "onUpdate:modelValue": [
7376
- t[1] || (t[1] = (a) => l.localStore.filterValue = a),
7377
- t[2] || (t[2] = (a) => {
7377
+ t[0] || (t[0] = (a) => l.localStore.filterValue = a),
7378
+ t[1] || (t[1] = (a) => {
7378
7379
  l.localStore.setFilterValue(a);
7379
7380
  })
7380
7381
  ],
@@ -7394,10 +7395,8 @@ function Hv(e, t, n, o, l, r) {
7394
7395
  key: 1,
7395
7396
  name: "clear",
7396
7397
  class: "cursor-pointer",
7397
- onClick: t[0] || (t[0] = () => {
7398
- l.localStore.cleanTableFilter();
7399
- })
7400
- }))
7398
+ onClick: r.cleanTableFilter
7399
+ }, null, 8, ["onClick"]))
7401
7400
  ]),
7402
7401
  _: 1
7403
7402
  }, 8, ["modelValue"]);