@mintplayer/web-components 3.2.0 → 3.3.0

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.
@@ -108,6 +108,9 @@ function y({ view: e, slots: t = {} }) {
108
108
  <input data-mps="datatable" ${i(e.open.comparison.operand)} .value=${e.open.comparison.operandText}>
109
109
  </div>
110
110
  ` : c}
111
+ ${e.open.comparison && e.open.comparison.applied ? s`
112
+ <small data-mps="datatable" ${i(e.open.comparison.applied)}>${e.open.comparison.appliedText}</small>
113
+ ` : c}
111
114
  ${e.open.list ? s`
112
115
  <input data-mps="datatable" ${i(e.open.list.search)} .value=${e.open.list.term}>
113
116
  ` : c}
@@ -352,6 +355,13 @@ var b = class extends o {
352
355
  },
353
356
  hrefFor: { attribute: !1 },
354
357
  distincts: { attribute: !1 },
358
+ filters: { attribute: !1 },
359
+ fetchParams: { attribute: !1 },
360
+ stateKey: {
361
+ type: String,
362
+ converter: a(null),
363
+ attribute: "state-key"
364
+ },
355
365
  headerRenderer: { attribute: !1 },
356
366
  cellRenderer: { attribute: !1 },
357
367
  rowRenderer: { attribute: !1 },
@@ -394,7 +404,10 @@ var b = class extends o {
394
404
  fill: this.fill,
395
405
  resizableColumns: this.resizableColumns,
396
406
  hrefFor: this.hrefFor,
397
- distincts: this.distincts
407
+ distincts: this.distincts,
408
+ filters: this.filters,
409
+ fetchParams: this.fetchParams,
410
+ stateKey: this.stateKey
398
411
  }),
399
412
  hostBag: (e) => ({
400
413
  ...e.view.root,
@@ -405,7 +418,8 @@ var b = class extends o {
405
418
  "page",
406
419
  "perPage",
407
420
  "selectedIds",
408
- "expandedIds"
421
+ "expandedIds",
422
+ "filters"
409
423
  ]
410
424
  });
411
425
  constructor() {
@@ -413,7 +427,7 @@ var b = class extends o {
413
427
  10,
414
428
  20,
415
429
  50
416
- ], this.pagination = !1, this.autoSort = !0, this.selectionMode = "none", this.selectedIds = [], this.cutIds = [], this.focusedRowKey = null, this.rowLabel = null, this.rowKey = null, this.tree = !1, this.idKey = null, this.childCountKey = null, this.treeIndent = 1.25, this.expandedIds = [], this.selectionStrategy = "flat", this.loading = !1, this.emptyMessage = "No data", this.virtualScroll = !1, this.itemSize = 40, this.virtualBuffer = 10, this.fill = !1, this.resizableColumns = !0, this.hrefFor = null, this.distincts = null;
430
+ ], this.pagination = !1, this.autoSort = !0, this.selectionMode = "none", this.selectedIds = [], this.cutIds = [], this.focusedRowKey = null, this.rowLabel = null, this.rowKey = null, this.tree = !1, this.idKey = null, this.childCountKey = null, this.treeIndent = 1.25, this.expandedIds = [], this.selectionStrategy = "flat", this.loading = !1, this.emptyMessage = "No data", this.virtualScroll = !1, this.itemSize = 40, this.virtualBuffer = 10, this.fill = !1, this.resizableColumns = !0, this.hrefFor = null, this.distincts = null, this.filters = {}, this.fetchParams = null, this.stateKey = null;
417
431
  }
418
432
  createRenderRoot() {
419
433
  return this;