@zeedhi/teknisa-components-vuetify 1.53.0 → 1.56.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.
@@ -1,4 +1,4 @@
1
- import { Modal, ModalService, Icons } from '@zeedhi/common';
1
+ import { ModalService, Icons } from '@zeedhi/common';
2
2
  import { ZdUserInfo } from '@zeedhi/zd-user-info-vue';
3
3
  import { Prop, Component, Watch } from 'vue-property-decorator';
4
4
  import { BreadcrumbHeader, CardTitle, CrudButton, CrudAddButton, CrudCancelButton, CrudDeleteButton, CrudForm, CrudSaveButton, TekGrid as TekGrid$2, TekRestDatasource, TekMemoryDatasource, TekGridColumn, TekGridColumnsButton as TekGridColumnsButton$1, TekGridLayoutOptions as TekGridLayoutOptions$1, TekFilterHelper, Image, IterableCarousel, IterableComponentRender, Loading, Notifications, ProductCard, TekTreeGrid, TekUserInfo as TekUserInfo$1, TekUserInfoList as TekUserInfoList$1 } from '@zeedhi/teknisa-components-common';
@@ -28,10 +28,6 @@ function __decorate(decorators, target, key, desc) {
28
28
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
29
29
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
30
30
  return c > 3 && r && Object.defineProperty(target, key, r), r;
31
- }
32
-
33
- function __metadata(metadataKey, metadataValue) {
34
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
35
31
  }
36
32
 
37
33
  /**
@@ -44,16 +40,13 @@ let TekBreadcrumbHeader = class TekBreadcrumbHeader extends ZdComponent {
44
40
  }
45
41
  };
46
42
  __decorate([
47
- PropWatch({ type: String, default: '' }),
48
- __metadata("design:type", String)
43
+ PropWatch({ type: String, default: '' })
49
44
  ], TekBreadcrumbHeader.prototype, "title", void 0);
50
45
  __decorate([
51
- Prop({ type: Object, default: {} }),
52
- __metadata("design:type", Object)
46
+ Prop({ type: Object, default: {} })
53
47
  ], TekBreadcrumbHeader.prototype, "breadcrumb", void 0);
54
48
  __decorate([
55
- Prop({ type: Array, default: () => [] }),
56
- __metadata("design:type", Array)
49
+ Prop({ type: Array, default: () => [] })
57
50
  ], TekBreadcrumbHeader.prototype, "rightSlot", void 0);
58
51
  TekBreadcrumbHeader = __decorate([
59
52
  Component
@@ -307,28 +300,22 @@ let TekCardTitle = class TekCardTitle extends ZdComponentRender {
307
300
  }
308
301
  };
309
302
  __decorate([
310
- PropWatch({ type: String, default: '' }),
311
- __metadata("design:type", String)
303
+ PropWatch({ type: String, default: '' })
312
304
  ], TekCardTitle.prototype, "title", void 0);
313
305
  __decorate([
314
- PropWatch({ type: String, default: '' }),
315
- __metadata("design:type", String)
306
+ PropWatch({ type: String, default: '' })
316
307
  ], TekCardTitle.prototype, "subtitle", void 0);
317
308
  __decorate([
318
- PropWatch({ type: String, default: '' }),
319
- __metadata("design:type", String)
309
+ PropWatch({ type: String, default: '' })
320
310
  ], TekCardTitle.prototype, "iconName", void 0);
321
311
  __decorate([
322
- Prop({ type: Array, default: () => [] }),
323
- __metadata("design:type", Array)
312
+ Prop({ type: Array, default: () => [] })
324
313
  ], TekCardTitle.prototype, "rightSlot", void 0);
325
314
  __decorate([
326
- PropWatch({ type: [Boolean, String], default: true }),
327
- __metadata("design:type", Boolean)
315
+ PropWatch({ type: [Boolean, String], default: true })
328
316
  ], TekCardTitle.prototype, "showDivider", void 0);
329
317
  __decorate([
330
- PropWatch({ type: String, default: '' }),
331
- __metadata("design:type", String)
318
+ PropWatch({ type: String, default: '' })
332
319
  ], TekCardTitle.prototype, "to", void 0);
333
320
  TekCardTitle = __decorate([
334
321
  Component
@@ -517,24 +504,19 @@ let TekCrudAddButton = class TekCrudAddButton extends TekCrudButton$1 {
517
504
  }
518
505
  };
519
506
  __decorate([
520
- PropWatch({ type: [String, Boolean], default: true }),
521
- __metadata("design:type", Object)
507
+ PropWatch({ type: [String, Boolean], default: true })
522
508
  ], TekCrudAddButton.prototype, "flat", void 0);
523
509
  __decorate([
524
- PropWatch({ type: [String, Boolean], default: true }),
525
- __metadata("design:type", Object)
510
+ PropWatch({ type: [String, Boolean], default: true })
526
511
  ], TekCrudAddButton.prototype, "icon", void 0);
527
512
  __decorate([
528
- PropWatch({ type: String, default: 'plus' }),
529
- __metadata("design:type", String)
513
+ PropWatch({ type: String, default: 'plus' })
530
514
  ], TekCrudAddButton.prototype, "iconName", void 0);
531
515
  __decorate([
532
- PropWatch({ type: String, default: '#666' }),
533
- __metadata("design:type", String)
516
+ PropWatch({ type: String, default: '#666' })
534
517
  ], TekCrudAddButton.prototype, "color", void 0);
535
518
  __decorate([
536
- PropWatch({ type: String, default: 'f2' }),
537
- __metadata("design:type", String)
519
+ PropWatch({ type: String, default: 'f2' })
538
520
  ], TekCrudAddButton.prototype, "clickShortcutKey", void 0);
539
521
  TekCrudAddButton = __decorate([
540
522
  Component
@@ -652,16 +634,13 @@ let TekCrudCancelButton = class TekCrudCancelButton extends TekCrudButton$1 {
652
634
  }
653
635
  };
654
636
  __decorate([
655
- PropWatch({ type: String, default: 'CANCEL' }),
656
- __metadata("design:type", String)
637
+ PropWatch({ type: String, default: 'CANCEL' })
657
638
  ], TekCrudCancelButton.prototype, "label", void 0);
658
639
  __decorate([
659
- PropWatch({ type: [String, Boolean], default: true }),
660
- __metadata("design:type", Object)
640
+ PropWatch({ type: [String, Boolean], default: true })
661
641
  ], TekCrudCancelButton.prototype, "outline", void 0);
662
642
  __decorate([
663
- PropWatch({ type: String, default: 'esc' }),
664
- __metadata("design:type", String)
643
+ PropWatch({ type: String, default: 'esc' })
665
644
  ], TekCrudCancelButton.prototype, "clickShortcutKey", void 0);
666
645
  TekCrudCancelButton = __decorate([
667
646
  Component
@@ -779,24 +758,19 @@ let TekCrudDeleteButton = class TekCrudDeleteButton extends TekCrudButton$1 {
779
758
  }
780
759
  };
781
760
  __decorate([
782
- PropWatch({ type: [String, Boolean], default: true }),
783
- __metadata("design:type", Object)
761
+ PropWatch({ type: [String, Boolean], default: true })
784
762
  ], TekCrudDeleteButton.prototype, "flat", void 0);
785
763
  __decorate([
786
- PropWatch({ type: [String, Boolean], default: true }),
787
- __metadata("design:type", Object)
764
+ PropWatch({ type: [String, Boolean], default: true })
788
765
  ], TekCrudDeleteButton.prototype, "icon", void 0);
789
766
  __decorate([
790
- PropWatch({ type: String, default: 'trashCanOutline' }),
791
- __metadata("design:type", String)
767
+ PropWatch({ type: String, default: 'trashCanOutline' })
792
768
  ], TekCrudDeleteButton.prototype, "iconName", void 0);
793
769
  __decorate([
794
- PropWatch({ type: String, default: '#666' }),
795
- __metadata("design:type", String)
770
+ PropWatch({ type: String, default: '#666' })
796
771
  ], TekCrudDeleteButton.prototype, "color", void 0);
797
772
  __decorate([
798
- PropWatch({ type: String, default: 'ctrl+d' }),
799
- __metadata("design:type", String)
773
+ PropWatch({ type: String, default: 'ctrl+d' })
800
774
  ], TekCrudDeleteButton.prototype, "clickShortcutKey", void 0);
801
775
  TekCrudDeleteButton = __decorate([
802
776
  Component
@@ -1040,12 +1014,10 @@ let TekCrudSaveButton = class TekCrudSaveButton extends TekCrudButton$1 {
1040
1014
  }
1041
1015
  };
1042
1016
  __decorate([
1043
- PropWatch({ type: String, default: 'SAVE' }),
1044
- __metadata("design:type", String)
1017
+ PropWatch({ type: String, default: 'SAVE' })
1045
1018
  ], TekCrudSaveButton.prototype, "label", void 0);
1046
1019
  __decorate([
1047
- PropWatch({ type: String, default: 'ctrl+enter' }),
1048
- __metadata("design:type", String)
1020
+ PropWatch({ type: String, default: 'ctrl+enter' })
1049
1021
  ], TekCrudSaveButton.prototype, "clickShortcutKey", void 0);
1050
1022
  TekCrudSaveButton = __decorate([
1051
1023
  Component
@@ -1548,83 +1520,67 @@ let TekGrid$1 = class TekGrid extends ZdGridEditable {
1548
1520
  }
1549
1521
  };
1550
1522
  __decorate([
1551
- PropWatch({ type: [String], default: '' }),
1552
- __metadata("design:type", String)
1523
+ PropWatch({ type: [String], default: '' })
1553
1524
  ], TekGrid$1.prototype, "title", void 0);
1554
1525
  __decorate([
1555
- PropWatch({ type: [Boolean, String], default: false }),
1556
- __metadata("design:type", Object)
1526
+ PropWatch({ type: [Boolean, String], default: false })
1557
1527
  ], TekGrid$1.prototype, "addButton", void 0);
1558
1528
  __decorate([
1559
- PropWatch({ type: [String], default: 'none' }),
1560
- __metadata("design:type", String)
1529
+ PropWatch({ type: [String], default: 'none' })
1561
1530
  ], TekGrid$1.prototype, "deleteButton", void 0);
1562
1531
  __decorate([
1563
- PropWatch({ type: [Boolean, String], default: false }),
1564
- __metadata("design:type", Object)
1532
+ PropWatch({ type: [Boolean, String], default: false })
1565
1533
  ], TekGrid$1.prototype, "columnsButton", void 0);
1566
1534
  __decorate([
1567
- Prop({ type: [Array, String], default: () => [] }),
1568
- __metadata("design:type", Object)
1535
+ Prop({ type: [Array, String], default: () => [] })
1569
1536
  ], TekGrid$1.prototype, "columnsButtonIgnore", void 0);
1570
1537
  __decorate([
1571
- PropWatch({ type: [Boolean, String], default: false }),
1572
- __metadata("design:type", Object)
1538
+ PropWatch({ type: [Boolean, String], default: false })
1573
1539
  ], TekGrid$1.prototype, "filterButton", void 0);
1574
1540
  __decorate([
1575
- PropWatch({ type: [Boolean, String], default: true }),
1576
- __metadata("design:type", Object)
1541
+ PropWatch({ type: [Boolean, String], default: true })
1577
1542
  ], TekGrid$1.prototype, "showSearch", void 0);
1578
1543
  __decorate([
1579
- PropWatch({ type: [Boolean, String], default: false }),
1580
- __metadata("design:type", Object)
1544
+ PropWatch({ type: [Boolean, String], default: false })
1581
1545
  ], TekGrid$1.prototype, "columnFilterButton", void 0);
1582
1546
  __decorate([
1583
- Prop({ type: [Array], default: () => [] }),
1584
- __metadata("design:type", Array)
1547
+ Prop({ type: [Array], default: () => [] })
1585
1548
  ], TekGrid$1.prototype, "actions", void 0);
1586
1549
  __decorate([
1587
- PropWatch({ type: [String, Boolean], default: true }),
1588
- __metadata("design:type", Object)
1550
+ PropWatch({ type: [String, Boolean], default: true })
1589
1551
  ], TekGrid$1.prototype, "dragColumns", void 0);
1590
1552
  __decorate([
1591
- PropWatch({ type: [String, Boolean], default: true }),
1592
- __metadata("design:type", Object)
1553
+ PropWatch({ type: [String, Boolean], default: true })
1593
1554
  ], TekGrid$1.prototype, "resizeColumns", void 0);
1594
1555
  __decorate([
1595
- PropWatch({ type: [String, Boolean], default: true }),
1596
- __metadata("design:type", Object)
1556
+ PropWatch({ type: [String, Boolean], default: true })
1597
1557
  ], TekGrid$1.prototype, "showLayoutOptions", void 0);
1598
1558
  __decorate([
1599
- PropWatch({ type: [String, Boolean], default: false }),
1600
- __metadata("design:type", Object)
1559
+ PropWatch({ type: [String, Boolean], default: false })
1601
1560
  ], TekGrid$1.prototype, "showExport", void 0);
1602
1561
  __decorate([
1603
- PropWatch({ type: [String, Boolean], default: true }),
1604
- __metadata("design:type", Object)
1562
+ PropWatch({ type: [String, Boolean], default: true })
1605
1563
  ], TekGrid$1.prototype, "showReload", void 0);
1606
1564
  __decorate([
1607
- PropWatch({ type: [String, Array] }),
1608
- __metadata("design:type", Array)
1565
+ PropWatch({ type: [String, Array] })
1609
1566
  ], TekGrid$1.prototype, "exportConfig", void 0);
1610
1567
  __decorate([
1611
- Prop({ type: [Array] }),
1612
- __metadata("design:type", Array)
1568
+ Prop({ type: [Array] })
1613
1569
  ], TekGrid$1.prototype, "exportActions", void 0);
1614
1570
  __decorate([
1615
- PropWatch({ type: [String, Boolean], default: false }),
1616
- __metadata("design:type", Object)
1571
+ PropWatch({ type: [String, Boolean], default: false })
1617
1572
  ], TekGrid$1.prototype, "groupsOpened", void 0);
1618
1573
  __decorate([
1619
- PropWatch({ type: [String, Boolean], default: true }),
1620
- __metadata("design:type", Object)
1574
+ PropWatch({ type: [String, Boolean], default: true })
1621
1575
  ], TekGrid$1.prototype, "showSummaryTotal", void 0);
1576
+ __decorate([
1577
+ PropWatch({ type: [String, Boolean], default: false })
1578
+ ], TekGrid$1.prototype, "mainGrid", void 0);
1622
1579
  __decorate([
1623
1580
  Prop({
1624
1581
  type: Array,
1625
1582
  default: () => undefined,
1626
- }),
1627
- __metadata("design:type", Array)
1583
+ })
1628
1584
  ], TekGrid$1.prototype, "toolbarSlot", void 0);
1629
1585
  TekGrid$1 = __decorate([
1630
1586
  Component
@@ -1668,7 +1624,6 @@ var __vue_render__$b = function () {
1668
1624
  height: _vm.instance.height,
1669
1625
  items: _vm.getData(),
1670
1626
  search: _vm.instance.datasource.search,
1671
- "show-select": _vm.instance.selectable,
1672
1627
  dense: _vm.instance.dense,
1673
1628
  loading: _vm.instance.datasource.loading,
1674
1629
  "item-key": _vm.instance.datasource.uniqueKey,
@@ -1680,6 +1635,7 @@ var __vue_render__$b = function () {
1680
1635
  "loading-text": _vm.$t(_vm.instance.loadingText),
1681
1636
  "no-data-text": _vm.$t(_vm.instance.noDataText),
1682
1637
  "no-results-text": _vm.$t(_vm.instance.noResultText),
1638
+ set: (_vm.canEditRowValues = {}),
1683
1639
  },
1684
1640
  on: {
1685
1641
  "current-items": function ($event) {
@@ -1750,32 +1706,34 @@ var __vue_render__$b = function () {
1750
1706
  _vm.instance.headerBackground,
1751
1707
  },
1752
1708
  [
1753
- _c("v-checkbox", {
1754
- staticClass: "zd-grid-header-checkbox",
1755
- attrs: {
1756
- "hide-details": "",
1757
- color: "primary",
1758
- disabled: _vm.instance.editing,
1759
- "on-icon": _vm.$getIcon("checkboxOn"),
1760
- "off-icon": _vm.$getIcon("checkboxOff"),
1761
- "indeterminate-icon": _vm.$getIcon(
1762
- "checkboxIndeterminate"
1763
- ),
1764
- "input-value": props.everyItem,
1765
- indeterminate:
1766
- !props.everyItem && props.someItems,
1767
- },
1768
- on: {
1769
- click: function ($event) {
1770
- $event.stopPropagation();
1771
- _vm.toggleSelectAll();
1772
- _vm.selectAllClick(
1773
- !props.everyItem,
1774
- $event
1775
- );
1776
- },
1777
- },
1778
- }),
1709
+ _vm.instance.showSelectAll
1710
+ ? _c("v-checkbox", {
1711
+ staticClass: "zd-grid-header-checkbox",
1712
+ attrs: {
1713
+ "hide-details": "",
1714
+ color: "primary",
1715
+ disabled: _vm.instance.editing,
1716
+ "on-icon": _vm.$getIcon("checkboxOn"),
1717
+ "off-icon": _vm.$getIcon("checkboxOff"),
1718
+ "indeterminate-icon": _vm.$getIcon(
1719
+ "checkboxIndeterminate"
1720
+ ),
1721
+ "input-value": props.everyItem,
1722
+ indeterminate:
1723
+ !props.everyItem && props.someItems,
1724
+ },
1725
+ on: {
1726
+ click: function ($event) {
1727
+ $event.stopPropagation();
1728
+ _vm.toggleSelectAll();
1729
+ _vm.selectAllClick(
1730
+ !props.everyItem,
1731
+ $event
1732
+ );
1733
+ },
1734
+ },
1735
+ })
1736
+ : _vm._e(),
1779
1737
  ],
1780
1738
  1
1781
1739
  )
@@ -2485,7 +2443,9 @@ var __vue_render__$b = function () {
2485
2443
  attrs: {
2486
2444
  "hide-details": "",
2487
2445
  color: "primary",
2488
- disabled: _vm.instance.editing,
2446
+ disabled:
2447
+ _vm.instance.editing ||
2448
+ _vm.instance.callDisableSelection(item),
2489
2449
  "on-icon": _vm.$getIcon("checkboxOn"),
2490
2450
  "off-icon": _vm.$getIcon("checkboxOff"),
2491
2451
  "indeterminate-icon": _vm.$getIcon(
@@ -2582,9 +2542,9 @@ var __vue_render__$b = function () {
2582
2542
  [
2583
2543
  _vm._v(
2584
2544
  _vm._s(
2585
- item.groupLabel +
2586
- ": " +
2587
- item.groupValue
2545
+ (item.groupLabel
2546
+ ? item.groupLabel + ": "
2547
+ : "") + item.groupValue
2588
2548
  )
2589
2549
  ),
2590
2550
  ]
@@ -2612,6 +2572,10 @@ var __vue_render__$b = function () {
2612
2572
  "theme--light":
2613
2573
  !_vm.$vuetify.theme.dark || _vm.instance.light,
2614
2574
  },
2575
+ attrs: {
2576
+ set: (_vm.canEditRowValues[_vm.rowKey(item)] =
2577
+ _vm.instance.callCanEditRow(item)),
2578
+ },
2615
2579
  on: {
2616
2580
  click: function ($event) {
2617
2581
  return _vm.rowClick(item, $event)
@@ -2646,7 +2610,9 @@ var __vue_render__$b = function () {
2646
2610
  attrs: {
2647
2611
  "hide-details": "",
2648
2612
  color: "primary",
2649
- disabled: _vm.instance.editing,
2613
+ disabled:
2614
+ _vm.instance.editing ||
2615
+ _vm.instance.callDisableSelection(item),
2650
2616
  "on-icon": _vm.$getIcon("checkboxOn"),
2651
2617
  "off-icon": _vm.$getIcon("checkboxOff"),
2652
2618
  "true-value": true,
@@ -2715,7 +2681,10 @@ var __vue_render__$b = function () {
2715
2681
  {},
2716
2682
  column,
2717
2683
  cellProps
2718
- ).editable,
2684
+ ).editable &&
2685
+ _vm.canEditRowValues[
2686
+ _vm.rowKey(item)
2687
+ ],
2719
2688
  "zd-table-fixed-column":
2720
2689
  column.fixed,
2721
2690
  },
@@ -2754,11 +2723,14 @@ var __vue_render__$b = function () {
2754
2723
  ],
2755
2724
  on: {
2756
2725
  click: function ($event) {
2757
- return _vm.cellClick(
2726
+ _vm.cellClick(
2758
2727
  item,
2759
2728
  column,
2760
- $event
2761
- )
2729
+ $event,
2730
+ _vm.canEditRowValues[
2731
+ _vm.rowKey(item)
2732
+ ]
2733
+ );
2762
2734
  },
2763
2735
  },
2764
2736
  },
@@ -2813,6 +2785,9 @@ var __vue_render__$b = function () {
2813
2785
  column,
2814
2786
  cellProps
2815
2787
  ).editable &&
2788
+ _vm.canEditRowValues[
2789
+ _vm.rowKey(item)
2790
+ ] &&
2816
2791
  _vm.instance.editing &&
2817
2792
  !item.groupFooter
2818
2793
  ? _c(
@@ -3223,7 +3198,7 @@ __vue_render__$b._withStripped = true;
3223
3198
  /* style */
3224
3199
  const __vue_inject_styles__$b = function (inject) {
3225
3200
  if (!inject) return
3226
- inject("data-v-7cb50338_0", { source: ".tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: inline-block;\n vertical-align: middle;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 10px;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n position: relative;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
3201
+ inject("data-v-5d126417_0", { source: ".tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: inline-block;\n vertical-align: middle;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 10px;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n position: relative;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
3227
3202
 
3228
3203
  };
3229
3204
  /* scoped */
@@ -3644,8 +3619,7 @@ let TekGridColumnsOptionsController = class TekGridColumnsOptionsController {
3644
3619
  }
3645
3620
  };
3646
3621
  TekGridColumnsOptionsController = __decorate([
3647
- Singleton,
3648
- __metadata("design:paramtypes", [Modal])
3622
+ Singleton
3649
3623
  ], TekGridColumnsOptionsController);
3650
3624
  var TekGridColumnsOptionsController$1 = TekGridColumnsOptionsController;
3651
3625
 
@@ -4201,14 +4175,10 @@ let TekGridColumnsButton = class TekGridColumnsButton extends ZdIterableColumnsB
4201
4175
  }
4202
4176
  };
4203
4177
  __decorate([
4204
- PropWatch({ type: [Boolean, String], default: false }),
4205
- __metadata("design:type", Object)
4178
+ PropWatch({ type: [Boolean, String], default: false })
4206
4179
  ], TekGridColumnsButton.prototype, "hideGroups", void 0);
4207
4180
  __decorate([
4208
- Watch('menuIsOpened'),
4209
- __metadata("design:type", Function),
4210
- __metadata("design:paramtypes", []),
4211
- __metadata("design:returntype", void 0)
4181
+ Watch('menuIsOpened')
4212
4182
  ], TekGridColumnsButton.prototype, "menuOpenedChange", null);
4213
4183
  TekGridColumnsButton = __decorate([
4214
4184
  Component
@@ -5023,12 +4993,10 @@ let TekImage = class TekImage extends ZdComponent {
5023
4993
  }
5024
4994
  };
5025
4995
  __decorate([
5026
- PropWatch({ type: String, default: '' }),
5027
- __metadata("design:type", String)
4996
+ PropWatch({ type: String, default: '' })
5028
4997
  ], TekImage.prototype, "to", void 0);
5029
4998
  __decorate([
5030
- PropWatch({ type: String, default: '' }),
5031
- __metadata("design:type", String)
4999
+ PropWatch({ type: String, default: '' })
5032
5000
  ], TekImage.prototype, "src", void 0);
5033
5001
  TekImage = __decorate([
5034
5002
  Component
@@ -5094,8 +5062,7 @@ let TekIterableCarousel = class TekIterableCarousel extends ZdCarousel {
5094
5062
  }
5095
5063
  };
5096
5064
  __decorate([
5097
- Prop({ type: Object }),
5098
- __metadata("design:type", Object)
5065
+ Prop({ type: Object })
5099
5066
  ], TekIterableCarousel.prototype, "iterable", void 0);
5100
5067
  TekIterableCarousel = __decorate([
5101
5068
  Component
@@ -5222,24 +5189,19 @@ let TekIterableComponentRender = class TekIterableComponentRender extends ZdIter
5222
5189
  }
5223
5190
  };
5224
5191
  __decorate([
5225
- Prop({ type: Array, default: () => [] }),
5226
- __metadata("design:type", Array)
5192
+ Prop({ type: Array, default: () => [] })
5227
5193
  ], TekIterableComponentRender.prototype, "footerSlot", void 0);
5228
5194
  __decorate([
5229
- Prop({ type: Array, default: () => [] }),
5230
- __metadata("design:type", Array)
5195
+ Prop({ type: Array, default: () => [] })
5231
5196
  ], TekIterableComponentRender.prototype, "toolbarSlot", void 0);
5232
5197
  __decorate([
5233
- Prop({ type: [Object, String] }),
5234
- __metadata("design:type", Object)
5198
+ Prop({ type: [Object, String] })
5235
5199
  ], TekIterableComponentRender.prototype, "componentMetadata", void 0);
5236
5200
  __decorate([
5237
- PropWatch({ type: String, default: 'row' }),
5238
- __metadata("design:type", String)
5201
+ PropWatch({ type: String, default: 'row' })
5239
5202
  ], TekIterableComponentRender.prototype, "rowPropName", void 0);
5240
5203
  __decorate([
5241
- Prop({ type: Array, default: () => ([]) }),
5242
- __metadata("design:type", Array)
5204
+ Prop({ type: Array, default: () => ([]) })
5243
5205
  ], TekIterableComponentRender.prototype, "errorSlot", void 0);
5244
5206
  __decorate([
5245
5207
  Prop({
@@ -5252,8 +5214,7 @@ __decorate([
5252
5214
  text: 'NO_DATA',
5253
5215
  },
5254
5216
  ]),
5255
- }),
5256
- __metadata("design:type", Array)
5217
+ })
5257
5218
  ], TekIterableComponentRender.prototype, "noDataSlot", void 0);
5258
5219
  __decorate([
5259
5220
  Prop({
@@ -5266,20 +5227,16 @@ __decorate([
5266
5227
  text: 'NO_RESULT',
5267
5228
  },
5268
5229
  ]),
5269
- }),
5270
- __metadata("design:type", Array)
5230
+ })
5271
5231
  ], TekIterableComponentRender.prototype, "noResultSlot", void 0);
5272
5232
  __decorate([
5273
- PropWatch({ type: [Number, String], default: 'auto' }),
5274
- __metadata("design:type", Object)
5233
+ PropWatch({ type: [Number, String], default: 'auto' })
5275
5234
  ], TekIterableComponentRender.prototype, "height", void 0);
5276
5235
  __decorate([
5277
- PropWatch({ type: [Number, String], default: 'none' }),
5278
- __metadata("design:type", Object)
5236
+ PropWatch({ type: [Number, String], default: 'none' })
5279
5237
  ], TekIterableComponentRender.prototype, "maxHeight", void 0);
5280
5238
  __decorate([
5281
- PropWatch({ type: [Number, String], default: 'none' }),
5282
- __metadata("design:type", Object)
5239
+ PropWatch({ type: [Number, String], default: 'none' })
5283
5240
  ], TekIterableComponentRender.prototype, "minHeight", void 0);
5284
5241
  TekIterableComponentRender = __decorate([
5285
5242
  Component
@@ -5521,16 +5478,13 @@ let TekLoading = class TekLoading extends ZdLoading {
5521
5478
  }
5522
5479
  };
5523
5480
  __decorate([
5524
- PropWatch({ type: String, default: '' }),
5525
- __metadata("design:type", String)
5481
+ PropWatch({ type: String, default: '' })
5526
5482
  ], TekLoading.prototype, "text", void 0);
5527
5483
  __decorate([
5528
- PropWatch({ type: String, default: loading }),
5529
- __metadata("design:type", String)
5484
+ PropWatch({ type: String, default: loading })
5530
5485
  ], TekLoading.prototype, "image", void 0);
5531
5486
  __decorate([
5532
- PropWatch({ type: [Number, String], default: 999 }),
5533
- __metadata("design:type", Object)
5487
+ PropWatch({ type: [Number, String], default: 999 })
5534
5488
  ], TekLoading.prototype, "zdIndex", void 0);
5535
5489
  TekLoading = __decorate([
5536
5490
  Component
@@ -5613,8 +5567,7 @@ let TekNotifications = class TekNotifications extends ZdIterable {
5613
5567
  }
5614
5568
  };
5615
5569
  __decorate([
5616
- PropWatch({ type: String, default: '' }),
5617
- __metadata("design:type", String)
5570
+ PropWatch({ type: String, default: '' })
5618
5571
  ], TekNotifications.prototype, "allNotificationsPath", void 0);
5619
5572
  TekNotifications = __decorate([
5620
5573
  Component
@@ -5753,56 +5706,43 @@ let TekProductCard = class TekProductCard extends ZdComponentRender {
5753
5706
  }
5754
5707
  };
5755
5708
  __decorate([
5756
- PropWatch({ type: String, default: '' }),
5757
- __metadata("design:type", String)
5709
+ PropWatch({ type: String, default: '' })
5758
5710
  ], TekProductCard.prototype, "id", void 0);
5759
5711
  __decorate([
5760
- PropWatch({ type: String, default: '' }),
5761
- __metadata("design:type", String)
5712
+ PropWatch({ type: String, default: '' })
5762
5713
  ], TekProductCard.prototype, "to", void 0);
5763
5714
  __decorate([
5764
- PropWatch({ type: String, default: '' }),
5765
- __metadata("design:type", String)
5715
+ PropWatch({ type: String, default: '' })
5766
5716
  ], TekProductCard.prototype, "src", void 0);
5767
5717
  __decorate([
5768
- PropWatch({ type: String, default: '' }),
5769
- __metadata("design:type", String)
5718
+ PropWatch({ type: String, default: '' })
5770
5719
  ], TekProductCard.prototype, "errorImagePath", void 0);
5771
5720
  __decorate([
5772
- PropWatch({ type: String, default: 'UNAVAILABLE_IMAGE' }),
5773
- __metadata("design:type", String)
5721
+ PropWatch({ type: String, default: 'UNAVAILABLE_IMAGE' })
5774
5722
  ], TekProductCard.prototype, "errorImageText", void 0);
5775
5723
  __decorate([
5776
- PropWatch({ type: String, default: '' }),
5777
- __metadata("design:type", String)
5724
+ PropWatch({ type: String, default: '' })
5778
5725
  ], TekProductCard.prototype, "productName", void 0);
5779
5726
  __decorate([
5780
- PropWatch({ type: String }),
5781
- __metadata("design:type", String)
5727
+ PropWatch({ type: String })
5782
5728
  ], TekProductCard.prototype, "productSupplier", void 0);
5783
5729
  __decorate([
5784
- PropWatch({ type: String }),
5785
- __metadata("design:type", String)
5730
+ PropWatch({ type: String })
5786
5731
  ], TekProductCard.prototype, "productBrand", void 0);
5787
5732
  __decorate([
5788
- PropWatch({ type: [String, Number] }),
5789
- __metadata("design:type", Object)
5733
+ PropWatch({ type: [String, Number] })
5790
5734
  ], TekProductCard.prototype, "productPrice", void 0);
5791
5735
  __decorate([
5792
- PropWatch({ type: String, default: '' }),
5793
- __metadata("design:type", String)
5736
+ PropWatch({ type: String, default: '' })
5794
5737
  ], TekProductCard.prototype, "width", void 0);
5795
5738
  __decorate([
5796
- PropWatch({ type: [Number, String], default: 'auto' }),
5797
- __metadata("design:type", Object)
5739
+ PropWatch({ type: [Number, String], default: 'auto' })
5798
5740
  ], TekProductCard.prototype, "height", void 0);
5799
5741
  __decorate([
5800
- PropWatch({ type: [Number, String], default: 'none' }),
5801
- __metadata("design:type", Object)
5742
+ PropWatch({ type: [Number, String], default: 'none' })
5802
5743
  ], TekProductCard.prototype, "maxHeight", void 0);
5803
5744
  __decorate([
5804
- PropWatch({ type: [Number, String], default: 'none' }),
5805
- __metadata("design:type", Object)
5745
+ PropWatch({ type: [Number, String], default: 'none' })
5806
5746
  ], TekProductCard.prototype, "minHeight", void 0);
5807
5747
  TekProductCard = __decorate([
5808
5748
  Component
@@ -6299,75 +6239,58 @@ let TekGrid = class TekGrid extends ZdTreeGridEditable {
6299
6239
  }
6300
6240
  };
6301
6241
  __decorate([
6302
- PropWatch({ type: [String], default: '' }),
6303
- __metadata("design:type", String)
6242
+ PropWatch({ type: [String], default: '' })
6304
6243
  ], TekGrid.prototype, "title", void 0);
6305
6244
  __decorate([
6306
- PropWatch({ type: [Boolean, String], default: false }),
6307
- __metadata("design:type", Object)
6245
+ PropWatch({ type: [Boolean, String], default: false })
6308
6246
  ], TekGrid.prototype, "addButton", void 0);
6309
6247
  __decorate([
6310
- PropWatch({ type: [String], default: 'none' }),
6311
- __metadata("design:type", String)
6248
+ PropWatch({ type: [String], default: 'none' })
6312
6249
  ], TekGrid.prototype, "deleteButton", void 0);
6313
6250
  __decorate([
6314
- PropWatch({ type: [Boolean, String], default: false }),
6315
- __metadata("design:type", Object)
6251
+ PropWatch({ type: [Boolean, String], default: false })
6316
6252
  ], TekGrid.prototype, "columnsButton", void 0);
6317
6253
  __decorate([
6318
- Prop({ type: [Array, String], default: () => [] }),
6319
- __metadata("design:type", Object)
6254
+ Prop({ type: [Array, String], default: () => [] })
6320
6255
  ], TekGrid.prototype, "columnsButtonIgnore", void 0);
6321
6256
  __decorate([
6322
- PropWatch({ type: [Boolean, String], default: false }),
6323
- __metadata("design:type", Object)
6257
+ PropWatch({ type: [Boolean, String], default: false })
6324
6258
  ], TekGrid.prototype, "filterButton", void 0);
6325
6259
  __decorate([
6326
- PropWatch({ type: [Boolean, String], default: true }),
6327
- __metadata("design:type", Object)
6260
+ PropWatch({ type: [Boolean, String], default: true })
6328
6261
  ], TekGrid.prototype, "showSearch", void 0);
6329
6262
  __decorate([
6330
- PropWatch({ type: [Boolean, String], default: false }),
6331
- __metadata("design:type", Object)
6263
+ PropWatch({ type: [Boolean, String], default: false })
6332
6264
  ], TekGrid.prototype, "columnFilterButton", void 0);
6333
6265
  __decorate([
6334
- Prop({ type: [Array], default: () => [] }),
6335
- __metadata("design:type", Array)
6266
+ Prop({ type: [Array], default: () => [] })
6336
6267
  ], TekGrid.prototype, "actions", void 0);
6337
6268
  __decorate([
6338
- PropWatch({ type: [String, Boolean], default: true }),
6339
- __metadata("design:type", Object)
6269
+ PropWatch({ type: [String, Boolean], default: true })
6340
6270
  ], TekGrid.prototype, "dragColumns", void 0);
6341
6271
  __decorate([
6342
- PropWatch({ type: [String, Boolean], default: true }),
6343
- __metadata("design:type", Object)
6272
+ PropWatch({ type: [String, Boolean], default: true })
6344
6273
  ], TekGrid.prototype, "resizeColumns", void 0);
6345
6274
  __decorate([
6346
- PropWatch({ type: [String, Boolean], default: true }),
6347
- __metadata("design:type", Object)
6275
+ PropWatch({ type: [String, Boolean], default: true })
6348
6276
  ], TekGrid.prototype, "showLayoutOptions", void 0);
6349
6277
  __decorate([
6350
- PropWatch({ type: [String, Boolean], default: false }),
6351
- __metadata("design:type", Object)
6278
+ PropWatch({ type: [String, Boolean], default: false })
6352
6279
  ], TekGrid.prototype, "showExport", void 0);
6353
6280
  __decorate([
6354
- PropWatch({ type: [String, Boolean], default: true }),
6355
- __metadata("design:type", Object)
6281
+ PropWatch({ type: [String, Boolean], default: true })
6356
6282
  ], TekGrid.prototype, "showReload", void 0);
6357
6283
  __decorate([
6358
- Prop({ type: [String, Array] }),
6359
- __metadata("design:type", Array)
6284
+ Prop({ type: [String, Array] })
6360
6285
  ], TekGrid.prototype, "exportConfig", void 0);
6361
6286
  __decorate([
6362
- Prop({ type: [Array] }),
6363
- __metadata("design:type", Array)
6287
+ Prop({ type: [Array] })
6364
6288
  ], TekGrid.prototype, "exportActions", void 0);
6365
6289
  __decorate([
6366
6290
  Prop({
6367
6291
  type: Array,
6368
6292
  default: () => undefined,
6369
- }),
6370
- __metadata("design:type", Array)
6293
+ })
6371
6294
  ], TekGrid.prototype, "toolbarSlot", void 0);
6372
6295
  TekGrid = __decorate([
6373
6296
  Component
@@ -6412,7 +6335,6 @@ var __vue_render__$2 = function () {
6412
6335
  headers: _vm.instance.columns,
6413
6336
  items: _vm.getData(),
6414
6337
  search: _vm.instance.datasource.search,
6415
- "show-select": _vm.instance.selectable,
6416
6338
  dense: _vm.instance.dense,
6417
6339
  loading: _vm.instance.datasource.loading,
6418
6340
  "item-key": _vm.instance.datasource.uniqueKey,
@@ -6424,6 +6346,7 @@ var __vue_render__$2 = function () {
6424
6346
  "loading-text": _vm.$t(_vm.instance.loadingText),
6425
6347
  "no-data-text": _vm.$t(_vm.instance.noDataText),
6426
6348
  "no-results-text": _vm.$t(_vm.instance.noResultText),
6349
+ set: (_vm.canEditRowValues = {}),
6427
6350
  },
6428
6351
  on: {
6429
6352
  "current-items": function ($event) {
@@ -6481,32 +6404,36 @@ var __vue_render__$2 = function () {
6481
6404
  _vm.instance.headerBackground,
6482
6405
  },
6483
6406
  [
6484
- _c("v-checkbox", {
6485
- staticClass: "zd-grid-header-checkbox",
6486
- attrs: {
6487
- "hide-details": "",
6488
- color: "primary",
6489
- disabled: _vm.instance.editing,
6490
- "on-icon": _vm.$getIcon("checkboxOn"),
6491
- "off-icon": _vm.$getIcon("checkboxOff"),
6492
- "indeterminate-icon": _vm.$getIcon(
6493
- "checkboxIndeterminate"
6494
- ),
6495
- value: props.everyItem,
6496
- indeterminate:
6497
- !props.everyItem && props.someItems,
6498
- },
6499
- on: {
6500
- click: function ($event) {
6501
- $event.stopPropagation();
6502
- on["toggle-select-all"](!props.everyItem);
6503
- _vm.selectAllClick(
6504
- !props.everyItem,
6505
- $event
6506
- );
6507
- },
6508
- },
6509
- }),
6407
+ _vm.instance.showSelectAll
6408
+ ? _c("v-checkbox", {
6409
+ staticClass: "zd-grid-header-checkbox",
6410
+ attrs: {
6411
+ "hide-details": "",
6412
+ color: "primary",
6413
+ disabled: _vm.instance.editing,
6414
+ "on-icon": _vm.$getIcon("checkboxOn"),
6415
+ "off-icon": _vm.$getIcon("checkboxOff"),
6416
+ "indeterminate-icon": _vm.$getIcon(
6417
+ "checkboxIndeterminate"
6418
+ ),
6419
+ value: props.everyItem,
6420
+ indeterminate:
6421
+ !props.everyItem && props.someItems,
6422
+ },
6423
+ on: {
6424
+ click: function ($event) {
6425
+ $event.stopPropagation();
6426
+ on["toggle-select-all"](
6427
+ !props.everyItem
6428
+ );
6429
+ _vm.selectAllClick(
6430
+ !props.everyItem,
6431
+ $event
6432
+ );
6433
+ },
6434
+ },
6435
+ })
6436
+ : _vm._e(),
6510
6437
  ],
6511
6438
  1
6512
6439
  )
@@ -7113,6 +7040,10 @@ var __vue_render__$2 = function () {
7113
7040
  active: isSelected,
7114
7041
  current: _vm.isCurrentRow(item),
7115
7042
  },
7043
+ attrs: {
7044
+ set: (_vm.canEditRowValues[_vm.rowKey(item)] =
7045
+ _vm.instance.callCanEditRow(item)),
7046
+ },
7116
7047
  on: {
7117
7048
  click: function ($event) {
7118
7049
  return _vm.rowClick(item, $event)
@@ -7133,12 +7064,17 @@ var __vue_render__$2 = function () {
7133
7064
  attrs: {
7134
7065
  "hide-details": "",
7135
7066
  color: "primary",
7136
- disabled: _vm.instance.editing,
7067
+ disabled:
7068
+ _vm.instance.editing ||
7069
+ _vm.instance.callDisableSelection(item),
7137
7070
  "on-icon": _vm.$getIcon("checkboxOn"),
7138
7071
  "off-icon": _vm.$getIcon("checkboxOff"),
7139
7072
  "true-value": true,
7140
7073
  "false-value": false,
7141
7074
  value: isSelected,
7075
+ indeterminate:
7076
+ !_vm.checkEvery(item) &&
7077
+ _vm.checkSome(item),
7142
7078
  },
7143
7079
  on: {
7144
7080
  click: function ($event) {
@@ -7196,7 +7132,10 @@ var __vue_render__$2 = function () {
7196
7132
  {},
7197
7133
  column,
7198
7134
  cellProps
7199
- ).editable,
7135
+ ).editable &&
7136
+ _vm.canEditRowValues[
7137
+ _vm.rowKey(item)
7138
+ ],
7200
7139
  "zd-table-fixed-column":
7201
7140
  column.fixed,
7202
7141
  },
@@ -7218,11 +7157,14 @@ var __vue_render__$2 = function () {
7218
7157
  ],
7219
7158
  on: {
7220
7159
  click: function ($event) {
7221
- return _vm.cellClick(
7160
+ _vm.cellClick(
7222
7161
  item,
7223
7162
  column,
7224
- $event
7225
- )
7163
+ $event,
7164
+ _vm.canEditRowValues[
7165
+ _vm.rowKey(item)
7166
+ ]
7167
+ );
7226
7168
  },
7227
7169
  },
7228
7170
  },
@@ -7239,7 +7181,11 @@ var __vue_render__$2 = function () {
7239
7181
  : _vm._e(),
7240
7182
  _vm._v(" "),
7241
7183
  Object.assign({}, column, cellProps)
7242
- .editable && _vm.instance.editing
7184
+ .editable &&
7185
+ _vm.canEditRowValues[
7186
+ _vm.rowKey(item)
7187
+ ] &&
7188
+ _vm.instance.editing
7243
7189
  ? _c(
7244
7190
  "span",
7245
7191
  {
@@ -7691,7 +7637,7 @@ __vue_render__$2._withStripped = true;
7691
7637
  /* style */
7692
7638
  const __vue_inject_styles__$2 = function (inject) {
7693
7639
  if (!inject) return
7694
- inject("data-v-dd43cdf2_0", { source: ".tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: inline-block;\n vertical-align: middle;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 10px;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n position: relative;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
7640
+ inject("data-v-a33ce1b6_0", { source: ".tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: inline-block;\n vertical-align: middle;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 10px;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n position: relative;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
7695
7641
 
7696
7642
  };
7697
7643
  /* scoped */
@@ -7726,24 +7672,19 @@ let TekUserInfo = class TekUserInfo extends ZdUserInfo {
7726
7672
  }
7727
7673
  };
7728
7674
  __decorate([
7729
- PropWatch({ type: [String], default: '' }),
7730
- __metadata("design:type", String)
7675
+ PropWatch({ type: [String], default: '' })
7731
7676
  ], TekUserInfo.prototype, "aboutImage", void 0);
7732
7677
  __decorate([
7733
- PropWatch({ type: [String], default: '' }),
7734
- __metadata("design:type", String)
7678
+ PropWatch({ type: [String], default: '' })
7735
7679
  ], TekUserInfo.prototype, "defaultEmail", void 0);
7736
7680
  __decorate([
7737
- PropWatch({ type: [Object, String], default: null }),
7738
- __metadata("design:type", Object)
7681
+ PropWatch({ type: [Object, String], default: null })
7739
7682
  ], TekUserInfo.prototype, "versionInfo", void 0);
7740
7683
  __decorate([
7741
- PropWatch({ type: [String], default: '' }),
7742
- __metadata("design:type", String)
7684
+ PropWatch({ type: [String], default: '' })
7743
7685
  ], TekUserInfo.prototype, "versionUrl", void 0);
7744
7686
  __decorate([
7745
- Prop({ type: [Array], default: undefined }),
7746
- __metadata("design:type", Object)
7687
+ Prop({ type: [Array], default: undefined })
7747
7688
  ], TekUserInfo.prototype, "bottomSlot", void 0);
7748
7689
  TekUserInfo = __decorate([
7749
7690
  Component
@@ -7843,12 +7784,10 @@ let TekUserInfoList = class TekUserInfoList extends ZdList {
7843
7784
  }
7844
7785
  };
7845
7786
  __decorate([
7846
- PropWatch({ type: [String], default: '' }),
7847
- __metadata("design:type", String)
7787
+ PropWatch({ type: [String], default: '' })
7848
7788
  ], TekUserInfoList.prototype, "parentName", void 0);
7849
7789
  __decorate([
7850
- PropWatch({ type: [Boolean, String], default: true }),
7851
- __metadata("design:type", Boolean)
7790
+ PropWatch({ type: [Boolean, String], default: true })
7852
7791
  ], TekUserInfoList.prototype, "dense", void 0);
7853
7792
  TekUserInfoList = __decorate([
7854
7793
  Component