tsv2-library 0.2.21 → 0.2.22

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.
@@ -201,6 +201,7 @@ export interface TSDataTableProps {
201
201
  * @default '_id'
202
202
  */
203
203
  childrenDataKey?: string;
204
+ childrenFilters?: DataTableFilterMeta;
204
205
  /**
205
206
  * An array of objects to display in the table.
206
207
  */
@@ -23,6 +23,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
23
23
  type: StringConstructor;
24
24
  required: false;
25
25
  };
26
+ childrenFilters: {
27
+ type: null;
28
+ required: false;
29
+ };
26
30
  data: {
27
31
  type: ArrayConstructor;
28
32
  required: false;
@@ -140,6 +144,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
140
144
  type: StringConstructor;
141
145
  required: false;
142
146
  };
147
+ childrenFilters: {
148
+ type: null;
149
+ required: false;
150
+ };
143
151
  data: {
144
152
  type: ArrayConstructor;
145
153
  required: false;
@@ -57887,6 +57887,7 @@ const bpe = () => JSON.parse(localStorage.getItem("tableConfig") ?? "{}"), gd =
57887
57887
  childrenUseOption: { type: Boolean, default: !0 },
57888
57888
  childrenOptions: {},
57889
57889
  childrenDataKey: { default: "_id" },
57890
+ childrenFilters: { default: void 0 },
57890
57891
  data: { default: void 0 },
57891
57892
  dataKey: {},
57892
57893
  disableKey: { default: "" },
@@ -58433,12 +58434,13 @@ const bpe = () => JSON.parse(localStorage.getItem("tableConfig") ?? "{}"), gd =
58433
58434
  "custom-column": n.childrenUseOption,
58434
58435
  data: me.children,
58435
58436
  "data-key": n.childrenDataKey,
58437
+ filters: n.childrenFilters,
58436
58438
  options: n.childrenOptions,
58437
58439
  "use-option": n.childrenUseOption,
58438
58440
  onToggleOption: Se[1] || (Se[1] = (qe) => r("toggleChildrenOption", qe)),
58439
58441
  "selection-type": "single",
58440
58442
  "table-name": "children-table"
58441
- }, null, 8, ["columns", "custom-column", "data", "data-key", "options", "use-option"])
58443
+ }, null, 8, ["columns", "custom-column", "data", "data-key", "filters", "options", "use-option"])
58442
58444
  ]),
58443
58445
  key: "0"
58444
58446
  } : void 0
@@ -68080,6 +68082,7 @@ const Y1e = /* @__PURE__ */ zh(J1e, [["__scopeId", "data-v-b93b51f9"]]), H1e = (
68080
68082
  childrenUseOption: { type: Boolean },
68081
68083
  childrenOptions: {},
68082
68084
  childrenDataKey: {},
68085
+ childrenFilters: {},
68083
68086
  data: {},
68084
68087
  disableKey: {},
68085
68088
  disableAllRows: { type: Boolean },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "author": "fixedassetv2-fe",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",
@@ -201,6 +201,7 @@ export interface TSDataTableProps {
201
201
  * @default '_id'
202
202
  */
203
203
  childrenDataKey?: string;
204
+ childrenFilters?: DataTableFilterMeta;
204
205
  /**
205
206
  * An array of objects to display in the table.
206
207
  */