@maropost-ui/liquidsky-ui 0.1.57 → 0.1.58

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/index.js CHANGED
@@ -29210,6 +29210,7 @@ const tk = { class: "truncate-one-line max-view-width" }, nk = { class: "my-auto
29210
29210
  gridView: { type: Boolean, default: !1 },
29211
29211
  disabledRouteParams: { type: Boolean, default: !1 },
29212
29212
  enabledLocalSearch: { type: Boolean, default: !1 },
29213
+ showFilters: { type: Boolean, default: !0 },
29213
29214
  filterComponent: { default: null },
29214
29215
  showSelect: { type: Boolean, default: !1 },
29215
29216
  disabledRecordIds: { default: () => [] },
@@ -29344,7 +29345,8 @@ const tk = { class: "truncate-one-line max-view-width" }, nk = { class: "my-auto
29344
29345
  modelValue: h.value,
29345
29346
  "onUpdate:modelValue": ee[0] || (ee[0] = (Fe) => h.value = Fe)
29346
29347
  }, null, 8, ["modelValue"])) : Se("", !0),
29347
- g(ie(i), {
29348
+ e.showFilters ? (G(), ge(ie(i), {
29349
+ key: 1,
29348
29350
  views: e.service?.savedFilterMappings?.value,
29349
29351
  "filter-component": e.filterComponent,
29350
29352
  "module-name": e.filterModule,
@@ -29434,7 +29436,7 @@ const tk = { class: "truncate-one-line max-view-width" }, nk = { class: "my-auto
29434
29436
  ])
29435
29437
  ]),
29436
29438
  _: 3
29437
- }, 8, ["views", "filter-component", "module-name", "view-store", "save-filter-service"]),
29439
+ }, 8, ["views", "filter-component", "module-name", "view-store", "save-filter-service"])) : Se("", !0),
29438
29440
  g(Le, K({
29439
29441
  modelValue: s.value,
29440
29442
  "onUpdate:modelValue": ee[5] || (ee[5] = (Fe) => s.value = Fe)
@@ -50,6 +50,7 @@ export interface DataTableProps {
50
50
  gridView?: boolean;
51
51
  disabledRouteParams?: boolean;
52
52
  enabledLocalSearch?: boolean;
53
+ showFilters?: boolean;
53
54
  filterComponent?: any;
54
55
  showSelect?: boolean;
55
56
  disabledRecordIds?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maropost-ui/liquidsky-ui",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "description": "Shared UI components, composables, and utils for Vue + Vuetify",
5
5
  "main": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",