@zeedhi/teknisa-components-vuetify 1.37.0 → 1.41.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,10 +1,11 @@
1
1
  import { Modal, ModalService, Icons } from '@zeedhi/common';
2
2
  import { Prop, Component, Watch } from 'vue-property-decorator';
3
- import { BreadcrumbHeader, CardTitle, CrudButton, CrudAddButton, CrudCancelButton, CrudDeleteButton, CrudForm, CrudSaveButton, TekGrid as TekGrid$1, TekRestDatasource, TekMemoryDatasource, TekGridColumnsButton as TekGridColumnsButton$1, TekGridLayoutOptions as TekGridLayoutOptions$1, Image, IterableCarousel, IterableComponentRender, Notifications, ProductCard } from '@zeedhi/teknisa-components-common';
4
- import { ZdComponent, ZdComponentRender, components as components$1, ZdForm, ZdGrid, ZdIterableColumnsButton, ZdIterable } from '@zeedhi/vuetify';
5
- import { Metadata, Singleton, normalize, I18n, Loader } from '@zeedhi/core';
3
+ 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 } from '@zeedhi/teknisa-components-common';
4
+ import { ZdComponent, ZdComponentRender, components as components$1, ZdForm, ZdGrid, ZdIterableColumnsButton, ZdIterable, ZdLoading } from '@zeedhi/vuetify';
5
+ import { Metadata, Config, dayjs, Singleton, normalize, I18n, Loader } from '@zeedhi/core';
6
6
  import debounce from 'lodash.debounce';
7
7
  import Sortable from 'sortablejs';
8
+ import cloneDeep from 'lodash.clonedeep';
8
9
 
9
10
  /*! *****************************************************************************
10
11
  Copyright (c) Microsoft Corporation.
@@ -56,7 +57,7 @@ __decorate([
56
57
  TekBreadcrumbHeader = __decorate([
57
58
  Component
58
59
  ], TekBreadcrumbHeader);
59
- var script$e = TekBreadcrumbHeader;
60
+ var script$g = TekBreadcrumbHeader;
60
61
 
61
62
  function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
62
63
  if (typeof shadowMode !== 'boolean') {
@@ -187,20 +188,25 @@ function addStyle(id, css) {
187
188
  }
188
189
 
189
190
  /* script */
190
- const __vue_script__$e = script$e;
191
+ const __vue_script__$g = script$g;
191
192
 
192
193
  /* template */
193
- var __vue_render__$e = function () {
194
+ var __vue_render__$g = function () {
194
195
  var _vm = this;
195
196
  var _h = _vm.$createElement;
196
197
  var _c = _vm._self._c || _h;
197
198
  return _c(
198
199
  "div",
199
- { staticClass: "tek-breadcrumb-header" },
200
+ { staticClass: "tek-breadcrumb-header", attrs: { id: _vm.instance.name } },
200
201
  [
201
202
  _c(
202
203
  "zd-breadcrumbs",
203
- _vm._b({}, "zd-breadcrumbs", _vm.instance.breadcrumb, false)
204
+ _vm._b(
205
+ { attrs: { dark: _vm.instance.dark, light: _vm.instance.light } },
206
+ "zd-breadcrumbs",
207
+ _vm.instance.breadcrumb,
208
+ false
209
+ )
204
210
  ),
205
211
  _vm._v(" "),
206
212
  _c(
@@ -256,34 +262,34 @@ var __vue_render__$e = function () {
256
262
  1
257
263
  )
258
264
  };
259
- var __vue_staticRenderFns__$e = [];
260
- __vue_render__$e._withStripped = true;
265
+ var __vue_staticRenderFns__$g = [];
266
+ __vue_render__$g._withStripped = true;
261
267
 
262
268
  /* style */
263
- const __vue_inject_styles__$e = function (inject) {
269
+ const __vue_inject_styles__$g = function (inject) {
264
270
  if (!inject) return
265
- inject("data-v-cb6f4dac_0", { source: ".tek-breadcrumb-header .tek-breadcrumb-header-title-col {\n display: flex;\n padding-top: 5px;\n padding-left: 0;\n}\n.tek-breadcrumb-header .tek-breadcrumb-header-title-col .tek-breadcrumb-header-slot-right {\n margin-left: auto;\n}\n.tek-breadcrumb-header .zd-breadcrumbs {\n padding: 0;\n font-size: var(--zd-font-body2-size);\n}\n.tek-breadcrumb-header .zd-breadcrumbs .v-breadcrumbs__item--disabled {\n color: #667080;\n}\n.tek-breadcrumb-header .zd-text {\n color: #667080;\n}\n.tek-breadcrumb-header .zd-text.tek-breadcrumb-header-title {\n font-size: 32px;\n font-weight: bold;\n line-height: 35px;\n margin-bottom: 10px;\n}\n.tek-breadcrumb-header .zd-text > p {\n margin: 0;\n}", map: undefined, media: undefined });
271
+ inject("data-v-4982d92e_0", { source: ".tek-breadcrumb-header .tek-breadcrumb-header-title-col {\n display: flex;\n padding-top: 5px;\n padding-left: 0;\n}\n.tek-breadcrumb-header .tek-breadcrumb-header-title-col .tek-breadcrumb-header-slot-right {\n margin-left: auto;\n}\n.tek-breadcrumb-header .zd-breadcrumbs {\n padding: 0;\n font-size: var(--zd-font-body2-size);\n}\n.tek-breadcrumb-header .zd-breadcrumbs .v-breadcrumbs__item--disabled {\n color: #667080;\n}\n.tek-breadcrumb-header .zd-text {\n color: #667080;\n}\n.tek-breadcrumb-header .zd-text.tek-breadcrumb-header-title {\n font-size: 32px;\n font-weight: bold;\n line-height: 35px;\n margin-bottom: 10px;\n}\n.tek-breadcrumb-header .zd-text > p {\n margin: 0;\n}", map: undefined, media: undefined });
266
272
 
267
273
  };
268
274
  /* scoped */
269
- const __vue_scope_id__$e = undefined;
275
+ const __vue_scope_id__$g = undefined;
270
276
  /* module identifier */
271
- const __vue_module_identifier__$e = undefined;
277
+ const __vue_module_identifier__$g = undefined;
272
278
  /* functional template */
273
- const __vue_is_functional_template__$e = false;
279
+ const __vue_is_functional_template__$g = false;
274
280
  /* style inject SSR */
275
281
 
276
282
  /* style inject shadow dom */
277
283
 
278
284
 
279
285
 
280
- const __vue_component__$e = /*#__PURE__*/normalizeComponent(
281
- { render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },
282
- __vue_inject_styles__$e,
283
- __vue_script__$e,
284
- __vue_scope_id__$e,
285
- __vue_is_functional_template__$e,
286
- __vue_module_identifier__$e,
286
+ const __vue_component__$g = /*#__PURE__*/normalizeComponent(
287
+ { render: __vue_render__$g, staticRenderFns: __vue_staticRenderFns__$g },
288
+ __vue_inject_styles__$g,
289
+ __vue_script__$g,
290
+ __vue_scope_id__$g,
291
+ __vue_is_functional_template__$g,
292
+ __vue_module_identifier__$g,
287
293
  false,
288
294
  createInjector,
289
295
  undefined,
@@ -326,19 +332,22 @@ __decorate([
326
332
  TekCardTitle = __decorate([
327
333
  Component
328
334
  ], TekCardTitle);
329
- var script$d = TekCardTitle;
335
+ var script$f = TekCardTitle;
330
336
 
331
337
  /* script */
332
- const __vue_script__$d = script$d;
338
+ const __vue_script__$f = script$f;
333
339
 
334
340
  /* template */
335
- var __vue_render__$d = function () {
341
+ var __vue_render__$f = function () {
336
342
  var _vm = this;
337
343
  var _h = _vm.$createElement;
338
344
  var _c = _vm._self._c || _h;
339
345
  return _c(
340
346
  "div",
341
- { class: ["tek-card-title", _vm.instance.cssClass] },
347
+ {
348
+ class: ["tek-card-title", _vm.instance.cssClass],
349
+ attrs: { id: _vm.instance.name },
350
+ },
342
351
  [
343
352
  _c(
344
353
  "div",
@@ -429,34 +438,34 @@ var __vue_render__$d = function () {
429
438
  1
430
439
  )
431
440
  };
432
- var __vue_staticRenderFns__$d = [];
433
- __vue_render__$d._withStripped = true;
441
+ var __vue_staticRenderFns__$f = [];
442
+ __vue_render__$f._withStripped = true;
434
443
 
435
444
  /* style */
436
- const __vue_inject_styles__$d = function (inject) {
445
+ const __vue_inject_styles__$f = function (inject) {
437
446
  if (!inject) return
438
- inject("data-v-520a641c_0", { source: ".tek-card-title-row {\n display: flex;\n align-items: center;\n}\n.tek-card-title-row .tek-card-title-text {\n color: var(--v-primary-base);\n font-weight: bold;\n font-size: 20px;\n}\n.tek-card-title-row .tek-card-subtitle-text {\n padding-left: 10px;\n color: var(--zd-font-color);\n font-size: 13px;\n}\n.tek-card-title-row .tek-card-title-text,\n.tek-card-title-row .tek-card-subtitle-text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: baseline;\n}\n.tek-card-title-row .v-icon {\n color: var(--v-primary-base);\n padding-right: calc(var(--zd-default-padding) / 2);\n}\n.tek-card-title .v-divider {\n margin-bottom: 16px;\n}\n.tek-card-title .tek-card-title-router {\n text-decoration: none;\n}\n.tek-card-title .tek-card-title-no-router {\n text-decoration: none;\n cursor: default;\n}", map: undefined, media: undefined });
447
+ inject("data-v-dc07bd14_0", { source: ".tek-card-title-row {\n display: flex;\n align-items: center;\n}\n.tek-card-title-row .tek-card-title-text {\n color: var(--v-primary-base);\n font-weight: bold;\n font-size: 20px;\n}\n.tek-card-title-row .tek-card-subtitle-text {\n padding-left: 10px;\n color: var(--zd-font-color);\n font-size: 13px;\n}\n.tek-card-title-row .tek-card-title-text,\n.tek-card-title-row .tek-card-subtitle-text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: baseline;\n}\n.tek-card-title-row .v-icon {\n color: var(--v-primary-base);\n padding-right: calc(var(--zd-default-padding) / 2);\n}\n.tek-card-title .v-divider {\n margin-bottom: 16px;\n}\n.tek-card-title .tek-card-title-router {\n text-decoration: none;\n}\n.tek-card-title .tek-card-title-no-router {\n text-decoration: none;\n cursor: default;\n}", map: undefined, media: undefined });
439
448
 
440
449
  };
441
450
  /* scoped */
442
- const __vue_scope_id__$d = undefined;
451
+ const __vue_scope_id__$f = undefined;
443
452
  /* module identifier */
444
- const __vue_module_identifier__$d = undefined;
453
+ const __vue_module_identifier__$f = undefined;
445
454
  /* functional template */
446
- const __vue_is_functional_template__$d = false;
455
+ const __vue_is_functional_template__$f = false;
447
456
  /* style inject SSR */
448
457
 
449
458
  /* style inject shadow dom */
450
459
 
451
460
 
452
461
 
453
- const __vue_component__$d = /*#__PURE__*/normalizeComponent(
454
- { render: __vue_render__$d, staticRenderFns: __vue_staticRenderFns__$d },
455
- __vue_inject_styles__$d,
456
- __vue_script__$d,
457
- __vue_scope_id__$d,
458
- __vue_is_functional_template__$d,
459
- __vue_module_identifier__$d,
462
+ const __vue_component__$f = /*#__PURE__*/normalizeComponent(
463
+ { render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },
464
+ __vue_inject_styles__$f,
465
+ __vue_script__$f,
466
+ __vue_scope_id__$f,
467
+ __vue_is_functional_template__$f,
468
+ __vue_module_identifier__$f,
460
469
  false,
461
470
  createInjector,
462
471
  undefined,
@@ -529,13 +538,13 @@ __decorate([
529
538
  TekCrudAddButton = __decorate([
530
539
  Component
531
540
  ], TekCrudAddButton);
532
- var script$c = TekCrudAddButton;
541
+ var script$e = TekCrudAddButton;
533
542
 
534
543
  /* script */
535
- const __vue_script__$c = script$c;
544
+ const __vue_script__$e = script$e;
536
545
 
537
546
  /* template */
538
- var __vue_render__$c = function () {
547
+ var __vue_render__$e = function () {
539
548
  var _vm = this;
540
549
  var _h = _vm.$createElement;
541
550
  var _c = _vm._self._c || _h;
@@ -551,7 +560,7 @@ var __vue_render__$c = function () {
551
560
  return [
552
561
  _c(
553
562
  "span",
554
- _vm._g({}, on),
563
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
555
564
  [
556
565
  _c("zd-button", {
557
566
  attrs: {
@@ -600,17 +609,17 @@ var __vue_render__$c = function () {
600
609
  ]
601
610
  )
602
611
  };
603
- var __vue_staticRenderFns__$c = [];
604
- __vue_render__$c._withStripped = true;
612
+ var __vue_staticRenderFns__$e = [];
613
+ __vue_render__$e._withStripped = true;
605
614
 
606
615
  /* style */
607
- const __vue_inject_styles__$c = undefined;
616
+ const __vue_inject_styles__$e = undefined;
608
617
  /* scoped */
609
- const __vue_scope_id__$c = undefined;
618
+ const __vue_scope_id__$e = undefined;
610
619
  /* module identifier */
611
- const __vue_module_identifier__$c = undefined;
620
+ const __vue_module_identifier__$e = undefined;
612
621
  /* functional template */
613
- const __vue_is_functional_template__$c = false;
622
+ const __vue_is_functional_template__$e = false;
614
623
  /* style inject */
615
624
 
616
625
  /* style inject SSR */
@@ -619,13 +628,13 @@ __vue_render__$c._withStripped = true;
619
628
 
620
629
 
621
630
 
622
- const __vue_component__$c = /*#__PURE__*/normalizeComponent(
623
- { render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
624
- __vue_inject_styles__$c,
625
- __vue_script__$c,
626
- __vue_scope_id__$c,
627
- __vue_is_functional_template__$c,
628
- __vue_module_identifier__$c,
631
+ const __vue_component__$e = /*#__PURE__*/normalizeComponent(
632
+ { render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },
633
+ __vue_inject_styles__$e,
634
+ __vue_script__$e,
635
+ __vue_scope_id__$e,
636
+ __vue_is_functional_template__$e,
637
+ __vue_module_identifier__$e,
629
638
  false,
630
639
  undefined,
631
640
  undefined,
@@ -656,13 +665,13 @@ __decorate([
656
665
  TekCrudCancelButton = __decorate([
657
666
  Component
658
667
  ], TekCrudCancelButton);
659
- var script$b = TekCrudCancelButton;
668
+ var script$d = TekCrudCancelButton;
660
669
 
661
670
  /* script */
662
- const __vue_script__$b = script$b;
671
+ const __vue_script__$d = script$d;
663
672
 
664
673
  /* template */
665
- var __vue_render__$b = function () {
674
+ var __vue_render__$d = function () {
666
675
  var _vm = this;
667
676
  var _h = _vm.$createElement;
668
677
  var _c = _vm._self._c || _h;
@@ -678,7 +687,7 @@ var __vue_render__$b = function () {
678
687
  return [
679
688
  _c(
680
689
  "span",
681
- _vm._g({}, on),
690
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
682
691
  [
683
692
  _c("zd-button", {
684
693
  attrs: {
@@ -727,17 +736,17 @@ var __vue_render__$b = function () {
727
736
  ]
728
737
  )
729
738
  };
730
- var __vue_staticRenderFns__$b = [];
731
- __vue_render__$b._withStripped = true;
739
+ var __vue_staticRenderFns__$d = [];
740
+ __vue_render__$d._withStripped = true;
732
741
 
733
742
  /* style */
734
- const __vue_inject_styles__$b = undefined;
743
+ const __vue_inject_styles__$d = undefined;
735
744
  /* scoped */
736
- const __vue_scope_id__$b = undefined;
745
+ const __vue_scope_id__$d = undefined;
737
746
  /* module identifier */
738
- const __vue_module_identifier__$b = undefined;
747
+ const __vue_module_identifier__$d = undefined;
739
748
  /* functional template */
740
- const __vue_is_functional_template__$b = false;
749
+ const __vue_is_functional_template__$d = false;
741
750
  /* style inject */
742
751
 
743
752
  /* style inject SSR */
@@ -746,13 +755,13 @@ __vue_render__$b._withStripped = true;
746
755
 
747
756
 
748
757
 
749
- const __vue_component__$b = /*#__PURE__*/normalizeComponent(
750
- { render: __vue_render__$b, staticRenderFns: __vue_staticRenderFns__$b },
751
- __vue_inject_styles__$b,
752
- __vue_script__$b,
753
- __vue_scope_id__$b,
754
- __vue_is_functional_template__$b,
755
- __vue_module_identifier__$b,
758
+ const __vue_component__$d = /*#__PURE__*/normalizeComponent(
759
+ { render: __vue_render__$d, staticRenderFns: __vue_staticRenderFns__$d },
760
+ __vue_inject_styles__$d,
761
+ __vue_script__$d,
762
+ __vue_scope_id__$d,
763
+ __vue_is_functional_template__$d,
764
+ __vue_module_identifier__$d,
756
765
  false,
757
766
  undefined,
758
767
  undefined,
@@ -791,13 +800,13 @@ __decorate([
791
800
  TekCrudDeleteButton = __decorate([
792
801
  Component
793
802
  ], TekCrudDeleteButton);
794
- var script$a = TekCrudDeleteButton;
803
+ var script$c = TekCrudDeleteButton;
795
804
 
796
805
  /* script */
797
- const __vue_script__$a = script$a;
806
+ const __vue_script__$c = script$c;
798
807
 
799
808
  /* template */
800
- var __vue_render__$a = function () {
809
+ var __vue_render__$c = function () {
801
810
  var _vm = this;
802
811
  var _h = _vm.$createElement;
803
812
  var _c = _vm._self._c || _h;
@@ -813,7 +822,7 @@ var __vue_render__$a = function () {
813
822
  return [
814
823
  _c(
815
824
  "span",
816
- _vm._g({}, on),
825
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
817
826
  [
818
827
  _c("zd-button", {
819
828
  attrs: {
@@ -862,17 +871,17 @@ var __vue_render__$a = function () {
862
871
  ]
863
872
  )
864
873
  };
865
- var __vue_staticRenderFns__$a = [];
866
- __vue_render__$a._withStripped = true;
874
+ var __vue_staticRenderFns__$c = [];
875
+ __vue_render__$c._withStripped = true;
867
876
 
868
877
  /* style */
869
- const __vue_inject_styles__$a = undefined;
878
+ const __vue_inject_styles__$c = undefined;
870
879
  /* scoped */
871
- const __vue_scope_id__$a = undefined;
880
+ const __vue_scope_id__$c = undefined;
872
881
  /* module identifier */
873
- const __vue_module_identifier__$a = undefined;
882
+ const __vue_module_identifier__$c = undefined;
874
883
  /* functional template */
875
- const __vue_is_functional_template__$a = false;
884
+ const __vue_is_functional_template__$c = false;
876
885
  /* style inject */
877
886
 
878
887
  /* style inject SSR */
@@ -881,13 +890,13 @@ __vue_render__$a._withStripped = true;
881
890
 
882
891
 
883
892
 
884
- const __vue_component__$a = /*#__PURE__*/normalizeComponent(
885
- { render: __vue_render__$a, staticRenderFns: __vue_staticRenderFns__$a },
886
- __vue_inject_styles__$a,
887
- __vue_script__$a,
888
- __vue_scope_id__$a,
889
- __vue_is_functional_template__$a,
890
- __vue_module_identifier__$a,
893
+ const __vue_component__$c = /*#__PURE__*/normalizeComponent(
894
+ { render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
895
+ __vue_inject_styles__$c,
896
+ __vue_script__$c,
897
+ __vue_scope_id__$c,
898
+ __vue_is_functional_template__$c,
899
+ __vue_module_identifier__$c,
891
900
  false,
892
901
  undefined,
893
902
  undefined,
@@ -906,13 +915,13 @@ let TekCrudForm = class TekCrudForm extends ZdForm {
906
915
  TekCrudForm = __decorate([
907
916
  Component
908
917
  ], TekCrudForm);
909
- var script$9 = TekCrudForm;
918
+ var script$b = TekCrudForm;
910
919
 
911
920
  /* script */
912
- const __vue_script__$9 = script$9;
921
+ const __vue_script__$b = script$b;
913
922
 
914
923
  /* template */
915
- var __vue_render__$9 = function () {
924
+ var __vue_render__$b = function () {
916
925
  var _vm = this;
917
926
  var _h = _vm.$createElement;
918
927
  var _c = _vm._self._c || _h;
@@ -929,7 +938,7 @@ var __vue_render__$9 = function () {
929
938
  ],
930
939
  ref: "form",
931
940
  class: ["tek-crud-form", _vm.instance.cssClass],
932
- attrs: { name: _vm.instance.name, tabindex: "0" },
941
+ attrs: { id: _vm.instance.name, name: _vm.instance.name, tabindex: "0" },
933
942
  on: {
934
943
  submit: function ($event) {
935
944
  $event.preventDefault();
@@ -986,34 +995,34 @@ var __vue_render__$9 = function () {
986
995
  2
987
996
  )
988
997
  };
989
- var __vue_staticRenderFns__$9 = [];
990
- __vue_render__$9._withStripped = true;
998
+ var __vue_staticRenderFns__$b = [];
999
+ __vue_render__$b._withStripped = true;
991
1000
 
992
1001
  /* style */
993
- const __vue_inject_styles__$9 = function (inject) {
1002
+ const __vue_inject_styles__$b = function (inject) {
994
1003
  if (!inject) return
995
- inject("data-v-aa2c2e04_0", { source: ".tek-crud-form {\n outline: none;\n}", map: undefined, media: undefined });
1004
+ inject("data-v-12f9560c_0", { source: ".tek-crud-form {\n outline: none;\n}", map: undefined, media: undefined });
996
1005
 
997
1006
  };
998
1007
  /* scoped */
999
- const __vue_scope_id__$9 = undefined;
1008
+ const __vue_scope_id__$b = undefined;
1000
1009
  /* module identifier */
1001
- const __vue_module_identifier__$9 = undefined;
1010
+ const __vue_module_identifier__$b = undefined;
1002
1011
  /* functional template */
1003
- const __vue_is_functional_template__$9 = false;
1012
+ const __vue_is_functional_template__$b = false;
1004
1013
  /* style inject SSR */
1005
1014
 
1006
1015
  /* style inject shadow dom */
1007
1016
 
1008
1017
 
1009
1018
 
1010
- const __vue_component__$9 = /*#__PURE__*/normalizeComponent(
1011
- { render: __vue_render__$9, staticRenderFns: __vue_staticRenderFns__$9 },
1012
- __vue_inject_styles__$9,
1013
- __vue_script__$9,
1014
- __vue_scope_id__$9,
1015
- __vue_is_functional_template__$9,
1016
- __vue_module_identifier__$9,
1019
+ const __vue_component__$b = /*#__PURE__*/normalizeComponent(
1020
+ { render: __vue_render__$b, staticRenderFns: __vue_staticRenderFns__$b },
1021
+ __vue_inject_styles__$b,
1022
+ __vue_script__$b,
1023
+ __vue_scope_id__$b,
1024
+ __vue_is_functional_template__$b,
1025
+ __vue_module_identifier__$b,
1017
1026
  false,
1018
1027
  createInjector,
1019
1028
  undefined,
@@ -1040,13 +1049,13 @@ __decorate([
1040
1049
  TekCrudSaveButton = __decorate([
1041
1050
  Component
1042
1051
  ], TekCrudSaveButton);
1043
- var script$8 = TekCrudSaveButton;
1052
+ var script$a = TekCrudSaveButton;
1044
1053
 
1045
1054
  /* script */
1046
- const __vue_script__$8 = script$8;
1055
+ const __vue_script__$a = script$a;
1047
1056
 
1048
1057
  /* template */
1049
- var __vue_render__$8 = function () {
1058
+ var __vue_render__$a = function () {
1050
1059
  var _vm = this;
1051
1060
  var _h = _vm.$createElement;
1052
1061
  var _c = _vm._self._c || _h;
@@ -1062,7 +1071,7 @@ var __vue_render__$8 = function () {
1062
1071
  return [
1063
1072
  _c(
1064
1073
  "span",
1065
- _vm._g({}, on),
1074
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
1066
1075
  [
1067
1076
  _c("zd-button", {
1068
1077
  attrs: {
@@ -1111,17 +1120,17 @@ var __vue_render__$8 = function () {
1111
1120
  ]
1112
1121
  )
1113
1122
  };
1114
- var __vue_staticRenderFns__$8 = [];
1115
- __vue_render__$8._withStripped = true;
1123
+ var __vue_staticRenderFns__$a = [];
1124
+ __vue_render__$a._withStripped = true;
1116
1125
 
1117
1126
  /* style */
1118
- const __vue_inject_styles__$8 = undefined;
1127
+ const __vue_inject_styles__$a = undefined;
1119
1128
  /* scoped */
1120
- const __vue_scope_id__$8 = undefined;
1129
+ const __vue_scope_id__$a = undefined;
1121
1130
  /* module identifier */
1122
- const __vue_module_identifier__$8 = undefined;
1131
+ const __vue_module_identifier__$a = undefined;
1123
1132
  /* functional template */
1124
- const __vue_is_functional_template__$8 = false;
1133
+ const __vue_is_functional_template__$a = false;
1125
1134
  /* style inject */
1126
1135
 
1127
1136
  /* style inject SSR */
@@ -1130,13 +1139,13 @@ __vue_render__$8._withStripped = true;
1130
1139
 
1131
1140
 
1132
1141
 
1133
- const __vue_component__$8 = /*#__PURE__*/normalizeComponent(
1134
- { render: __vue_render__$8, staticRenderFns: __vue_staticRenderFns__$8 },
1135
- __vue_inject_styles__$8,
1136
- __vue_script__$8,
1137
- __vue_scope_id__$8,
1138
- __vue_is_functional_template__$8,
1139
- __vue_module_identifier__$8,
1142
+ const __vue_component__$a = /*#__PURE__*/normalizeComponent(
1143
+ { render: __vue_render__$a, staticRenderFns: __vue_staticRenderFns__$a },
1144
+ __vue_inject_styles__$a,
1145
+ __vue_script__$a,
1146
+ __vue_scope_id__$a,
1147
+ __vue_is_functional_template__$a,
1148
+ __vue_module_identifier__$a,
1140
1149
  false,
1141
1150
  undefined,
1142
1151
  undefined,
@@ -1148,10 +1157,14 @@ const ZdGridEditable = components$1.ZdGridEditable;
1148
1157
  /**
1149
1158
  * TekGrid component
1150
1159
  */
1151
- let TekGrid = class TekGrid extends ZdGridEditable {
1160
+ let TekGrid$1 = class TekGrid extends ZdGridEditable {
1152
1161
  constructor() {
1153
1162
  super(...arguments);
1154
- this.instanceType = TekGrid$1;
1163
+ this.instanceType = TekGrid$2;
1164
+ /**
1165
+ * Left distance for each column
1166
+ */
1167
+ this.fixedLeft = {};
1155
1168
  this.debouncedDatasourceGet = debounce((instance) => {
1156
1169
  if (instance.events.beforeApplyFilter) {
1157
1170
  instance.events.beforeApplyFilter({ component: instance });
@@ -1164,7 +1177,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1164
1177
  datasource.get();
1165
1178
  }
1166
1179
  }, 500);
1167
- this.componentType = '';
1180
+ this.operationList = '';
1168
1181
  this.defaultOperation = '';
1169
1182
  this.defaultRelation = '';
1170
1183
  this.lastFilter = '';
@@ -1198,14 +1211,15 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1198
1211
  // do nothing
1199
1212
  }
1200
1213
  }
1201
- this.updateFixedColumns();
1214
+ setTimeout(this.updateFixedColumns);
1202
1215
  }
1203
- getFilterActivatorEvents(on) {
1216
+ getFilterActivatorEvents(on, column) {
1204
1217
  const events = {};
1205
1218
  Object.keys(on).forEach((eventName) => {
1206
1219
  events[eventName] = (event) => {
1207
1220
  this.defaultOperation = 'CONTAINS';
1208
1221
  this.defaultRelation = 'AND';
1222
+ this.operationList = this.getColumnFilterOptions(column).map((item) => item.operation).join(';');
1209
1223
  on[eventName](event);
1210
1224
  };
1211
1225
  });
@@ -1215,35 +1229,83 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1215
1229
  return this.filterItemChange.bind(this, prop, column, index);
1216
1230
  }
1217
1231
  getFilterValueChange(column, index) {
1218
- return this.filterValueChange.bind(this, column, index);
1232
+ return debounce(this.filterValueChange.bind(this, column, index), 1000);
1233
+ }
1234
+ isOperationArrayValues(operation) {
1235
+ return ['IN', 'NOT_IN', 'BETWEEN'].includes(operation);
1236
+ }
1237
+ getComponentType(index) {
1238
+ const operationListArray = this.operationList.split(';');
1239
+ return this.isOperationArrayValues(operationListArray[index]) ? 'ZdTextInput' : '';
1240
+ }
1241
+ getComponentHint(index) {
1242
+ const operationListArray = this.operationList.split(';');
1243
+ return this.isOperationArrayValues(operationListArray[index]) ? 'TEKGRID_MULTIPLE_VALUE_HINT' : '';
1219
1244
  }
1220
1245
  filterItemChange(prop, column, index, { component, event, element }) {
1221
1246
  const { name } = component;
1222
1247
  const valueInputName = name.replace(`-filter-${prop}-`, '-filter-value-');
1223
1248
  const valueInput = Metadata.getInstance(valueInputName);
1224
- if (prop === 'operation') {
1225
- if (['IN', 'NOT_IN', 'BETWEEN'].includes(component.value)) {
1226
- valueInput.hint = 'TEKGRID_MULTIPLE_VALUE_HINT';
1227
- this.componentType = 'ZdTextInput';
1228
- }
1229
- else {
1230
- valueInput.hint = '';
1231
- this.componentType = '';
1232
- }
1249
+ const operationListArray = this.operationList.split(';');
1250
+ if (prop === 'operation' && operationListArray[index] !== component.value) {
1251
+ operationListArray[index] = component.value;
1252
+ this.operationList = operationListArray.join(';');
1253
+ }
1254
+ try {
1255
+ valueInput.setFocus();
1256
+ }
1257
+ catch (_a) {
1258
+ // do nothing
1233
1259
  }
1234
- valueInput.setFocus();
1235
1260
  const { datasource } = this.instance;
1236
1261
  if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
1237
1262
  if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
1263
+ this.lastFilter = JSON.stringify(datasource.dynamicFilter);
1264
+ const { value } = datasource.dynamicFilter[column.name][index];
1265
+ if (prop === 'operation') {
1266
+ if (this.isOperationArrayValues(component.value) && !Array.isArray(value)) {
1267
+ datasource.dynamicFilter[column.name][index].value = [value];
1268
+ }
1269
+ if (!this.isOperationArrayValues(component.value) && Array.isArray(value)) {
1270
+ [datasource.dynamicFilter[column.name][index].value] = value;
1271
+ }
1272
+ }
1238
1273
  datasource.dynamicFilter[column.name][index][prop] = component.value;
1239
- this.debouncedDatasourceGet(this.instance);
1274
+ if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
1275
+ this.debouncedDatasourceGet(this.instance);
1276
+ this.onChangeLayout(event, element);
1277
+ }
1278
+ }
1279
+ }
1280
+ }
1281
+ convertToDateFormat(column, value, revert) {
1282
+ const dateFormat = column.componentProps.dateFormat || Config.dateFormat;
1283
+ const displayFormat = column.componentProps.displayFormat || Config.displayFormat;
1284
+ if (revert) {
1285
+ if (dayjs(value, displayFormat).isValid() || !dayjs(value, dateFormat).isValid()) {
1286
+ return value;
1240
1287
  }
1288
+ return dayjs(value, dateFormat).format(displayFormat);
1241
1289
  }
1242
- this.onChangeLayout(event, element);
1290
+ if (dayjs(value, dateFormat).isValid() || !dayjs(value, displayFormat).isValid()) {
1291
+ return value;
1292
+ }
1293
+ return dayjs(value, displayFormat).format(dateFormat);
1294
+ }
1295
+ checkDateValueFormat(column, value, revert = false) {
1296
+ if (['ZdDate', 'ZdDateRange'].includes(column.componentProps.component)) {
1297
+ if (Array.isArray(value)) {
1298
+ return value.map((item) => this.convertToDateFormat(column, item, revert));
1299
+ }
1300
+ return this.convertToDateFormat(column, value, revert);
1301
+ }
1302
+ return value;
1243
1303
  }
1244
1304
  filterValueChange(column, index, { component, event, element }) {
1245
- const { value } = component;
1305
+ let { value } = component;
1246
1306
  const { datasource } = this.instance;
1307
+ if (!(element === null || element === void 0 ? void 0 : element.offsetParent))
1308
+ return;
1247
1309
  if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
1248
1310
  this.lastFilter = JSON.stringify(datasource.dynamicFilter);
1249
1311
  if (value) {
@@ -1264,6 +1326,10 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1264
1326
  const operationSelectName = name.replace('-filter-value-', '-filter-operation-');
1265
1327
  const operationSelect = Metadata.getInstance(operationSelectName);
1266
1328
  const operation = operationSelect.value;
1329
+ if (this.isOperationArrayValues(operation)) {
1330
+ value = value.split(';');
1331
+ }
1332
+ value = this.checkDateValueFormat(column, value);
1267
1333
  datasource.dynamicFilter[column.name].push({
1268
1334
  relation,
1269
1335
  operation,
@@ -1271,6 +1337,10 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1271
1337
  });
1272
1338
  }
1273
1339
  else {
1340
+ if (this.isOperationArrayValues(datasource.dynamicFilter[column.name][index].operation)) {
1341
+ value = value.split(';');
1342
+ }
1343
+ value = this.checkDateValueFormat(column, value);
1274
1344
  datasource.dynamicFilter[column.name][index].value = value;
1275
1345
  }
1276
1346
  }
@@ -1287,6 +1357,8 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1287
1357
  }
1288
1358
  if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
1289
1359
  this.debouncedDatasourceGet(this.instance);
1360
+ this.onChangeLayout(event, element);
1361
+ this.clearHelperValues(column);
1290
1362
  }
1291
1363
  }
1292
1364
  else {
@@ -1299,9 +1371,20 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1299
1371
  }
1300
1372
  if (this.lastFilter !== JSON.stringify(this.instance.datasource.filter)) {
1301
1373
  this.debouncedDatasourceGet(this.instance);
1374
+ this.onChangeLayout(event, element);
1375
+ this.clearHelperValues(column);
1302
1376
  }
1303
1377
  }
1304
- this.onChangeLayout(event, element);
1378
+ }
1379
+ clearHelperValues(column) {
1380
+ if (!Array.isArray(column.filterProps)) {
1381
+ column.filterProps.helperValue = '';
1382
+ }
1383
+ else {
1384
+ column.filterProps.forEach((prop) => {
1385
+ prop.helperValue = '';
1386
+ });
1387
+ }
1305
1388
  }
1306
1389
  getColumnFilterOptions(column) {
1307
1390
  const filterOptions = [];
@@ -1310,7 +1393,12 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1310
1393
  const dynamicFilter = datasource.dynamicFilter[column.name];
1311
1394
  if (dynamicFilter && dynamicFilter.length > 0) {
1312
1395
  dynamicFilter.forEach((item) => {
1313
- filterOptions.push(item);
1396
+ let { value } = item;
1397
+ if (this.isOperationArrayValues(item.operation) && Array.isArray(value)) {
1398
+ value = this.checkDateValueFormat(column, value, true);
1399
+ value = value.join(';');
1400
+ }
1401
+ filterOptions.push(Object.assign(Object.assign({}, item), { value }));
1314
1402
  });
1315
1403
  }
1316
1404
  filterOptions.push({
@@ -1369,7 +1457,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1369
1457
  if (!a.fixed && b.fixed)
1370
1458
  return 1;
1371
1459
  return -1;
1372
- });
1460
+ }).filter((item) => item instanceof TekGridColumn);
1373
1461
  }
1374
1462
  updateFixedColumns() {
1375
1463
  if (this.instance.columns.filter((column) => column.fixed).length === 0)
@@ -1386,104 +1474,163 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1386
1474
  const name = column.getAttribute('column-name');
1387
1475
  if (name && column.classList.contains('zd-table-fixed-column')) {
1388
1476
  column.style.left = `${left}px`;
1477
+ this.$set(this.fixedLeft, name, column.style.left);
1389
1478
  left += column.clientWidth;
1390
1479
  }
1391
1480
  });
1392
1481
  }
1393
- getFixedLeft(column) {
1394
- if (!column.fixed)
1395
- return 'unset';
1396
- const headerElement = this.$refs[`column-${column.name}`];
1397
- if (!headerElement)
1398
- return 'unset';
1399
- return headerElement[0].style.left;
1482
+ isGroupSelected(item) {
1483
+ return item.children.every((child) => {
1484
+ const { uniqueKey } = this.instance.datasource;
1485
+ const idx = this.instance.selectedRows.findIndex((row) => child[uniqueKey] === row[uniqueKey]);
1486
+ return idx !== -1;
1487
+ });
1488
+ }
1489
+ isGroupSelectIndeterminate(item) {
1490
+ let hasSelected = false;
1491
+ let hasNotSelected = false;
1492
+ const { uniqueKey } = this.instance.datasource;
1493
+ item.children.forEach((child) => {
1494
+ const idx = this.instance.selectedRows.findIndex((row) => child[uniqueKey] === row[uniqueKey]);
1495
+ hasSelected = hasSelected || idx !== -1;
1496
+ hasNotSelected = hasNotSelected || idx === -1;
1497
+ });
1498
+ return hasSelected && hasNotSelected;
1499
+ }
1500
+ selectGroup(item, event) {
1501
+ const { uniqueKey } = this.instance.datasource;
1502
+ const isSelected = this.isGroupSelected(item);
1503
+ if (!isSelected) {
1504
+ item.children.forEach((child) => {
1505
+ const idx = this.instance.selectedRows.findIndex((row) => child[uniqueKey] === row[uniqueKey]);
1506
+ if (idx === -1) {
1507
+ this.instance.selectedRows.push(child);
1508
+ }
1509
+ });
1510
+ }
1511
+ else {
1512
+ this.instance.selectedRows = this.instance.selectedRows.filter((row) => {
1513
+ const idx = item.children.findIndex((child) => child[uniqueKey] === row[uniqueKey]);
1514
+ return idx === -1;
1515
+ });
1516
+ }
1517
+ this.selectGroupRowClick(item, !isSelected, event);
1518
+ }
1519
+ selectGroupRowClick(row, isSelected, event) {
1520
+ this.$nextTick(() => {
1521
+ this.instance.selectGroupClick(row, isSelected, event, this.$el);
1522
+ });
1523
+ }
1524
+ toggleSelectAll() {
1525
+ if (this.instance.selectedRows.length === this.instance.datasource.data.length) {
1526
+ this.instance.selectedRows = [];
1527
+ }
1528
+ else {
1529
+ this.instance.selectedRows = this.instance.datasource.data;
1530
+ }
1531
+ }
1532
+ get headers() {
1533
+ this.$nextTick(() => {
1534
+ if (this.$el)
1535
+ this.updateFixedColumns();
1536
+ });
1537
+ return this.instance.columns;
1538
+ }
1539
+ getColumnsDOMOrder() {
1540
+ return this.orderHeaders(this.instance.columns);
1541
+ }
1542
+ resizeMouseMoveHandler(event) {
1543
+ this.superMethods(ZdGrid).resizeMouseMoveHandler.call(this, event);
1544
+ if (this.resizeColumn.fixed) {
1545
+ this.$nextTick(this.updateFixedColumns);
1546
+ }
1400
1547
  }
1401
1548
  };
1402
1549
  __decorate([
1403
1550
  Prop({ type: [String], default: '' }),
1404
1551
  __metadata("design:type", String)
1405
- ], TekGrid.prototype, "title", void 0);
1552
+ ], TekGrid$1.prototype, "title", void 0);
1406
1553
  __decorate([
1407
1554
  Prop({ type: [Boolean, String], default: false }),
1408
1555
  __metadata("design:type", Object)
1409
- ], TekGrid.prototype, "addButton", void 0);
1556
+ ], TekGrid$1.prototype, "addButton", void 0);
1410
1557
  __decorate([
1411
1558
  Prop({ type: [String], default: 'none' }),
1412
1559
  __metadata("design:type", String)
1413
- ], TekGrid.prototype, "deleteButton", void 0);
1560
+ ], TekGrid$1.prototype, "deleteButton", void 0);
1414
1561
  __decorate([
1415
1562
  Prop({ type: [Boolean, String], default: false }),
1416
1563
  __metadata("design:type", Object)
1417
- ], TekGrid.prototype, "columnsButton", void 0);
1564
+ ], TekGrid$1.prototype, "columnsButton", void 0);
1418
1565
  __decorate([
1419
1566
  Prop({ type: [Array, String], default: () => [] }),
1420
1567
  __metadata("design:type", Object)
1421
- ], TekGrid.prototype, "columnsButtonIgnore", void 0);
1568
+ ], TekGrid$1.prototype, "columnsButtonIgnore", void 0);
1422
1569
  __decorate([
1423
1570
  Prop({ type: [Boolean, String], default: false }),
1424
1571
  __metadata("design:type", Object)
1425
- ], TekGrid.prototype, "filterButton", void 0);
1572
+ ], TekGrid$1.prototype, "filterButton", void 0);
1426
1573
  __decorate([
1427
1574
  Prop({ type: [Boolean, String], default: false }),
1428
1575
  __metadata("design:type", Object)
1429
- ], TekGrid.prototype, "columnFilterButton", void 0);
1576
+ ], TekGrid$1.prototype, "columnFilterButton", void 0);
1430
1577
  __decorate([
1431
1578
  Prop({ type: [Array], default: () => [] }),
1432
1579
  __metadata("design:type", Array)
1433
- ], TekGrid.prototype, "actions", void 0);
1580
+ ], TekGrid$1.prototype, "actions", void 0);
1434
1581
  __decorate([
1435
1582
  Prop({ type: [String, Boolean], default: true }),
1436
1583
  __metadata("design:type", Object)
1437
- ], TekGrid.prototype, "dragColumns", void 0);
1584
+ ], TekGrid$1.prototype, "dragColumns", void 0);
1438
1585
  __decorate([
1439
1586
  Prop({ type: [String, Boolean], default: true }),
1440
1587
  __metadata("design:type", Object)
1441
- ], TekGrid.prototype, "resizeColumns", void 0);
1588
+ ], TekGrid$1.prototype, "resizeColumns", void 0);
1442
1589
  __decorate([
1443
1590
  Prop({ type: [String, Boolean], default: true }),
1444
1591
  __metadata("design:type", Object)
1445
- ], TekGrid.prototype, "showLayoutOptions", void 0);
1592
+ ], TekGrid$1.prototype, "showLayoutOptions", void 0);
1446
1593
  __decorate([
1447
1594
  Prop({ type: [String, Boolean], default: false }),
1448
1595
  __metadata("design:type", Object)
1449
- ], TekGrid.prototype, "showExport", void 0);
1596
+ ], TekGrid$1.prototype, "showExport", void 0);
1450
1597
  __decorate([
1451
1598
  Prop({ type: [String, Boolean], default: true }),
1452
1599
  __metadata("design:type", Object)
1453
- ], TekGrid.prototype, "showReload", void 0);
1600
+ ], TekGrid$1.prototype, "showReload", void 0);
1454
1601
  __decorate([
1455
1602
  Prop({ type: [String, Array] }),
1456
1603
  __metadata("design:type", Array)
1457
- ], TekGrid.prototype, "exportConfig", void 0);
1604
+ ], TekGrid$1.prototype, "exportConfig", void 0);
1458
1605
  __decorate([
1459
1606
  Prop({ type: [Array] }),
1460
1607
  __metadata("design:type", Array)
1461
- ], TekGrid.prototype, "exportActions", void 0);
1608
+ ], TekGrid$1.prototype, "exportActions", void 0);
1462
1609
  __decorate([
1463
1610
  Prop({ type: [String, Boolean], default: false }),
1464
1611
  __metadata("design:type", Object)
1465
- ], TekGrid.prototype, "groupsOpened", void 0);
1612
+ ], TekGrid$1.prototype, "groupsOpened", void 0);
1466
1613
  __decorate([
1467
1614
  Prop({ type: [String, Boolean], default: true }),
1468
1615
  __metadata("design:type", Object)
1469
- ], TekGrid.prototype, "showSummaryTotal", void 0);
1616
+ ], TekGrid$1.prototype, "showSummaryTotal", void 0);
1470
1617
  __decorate([
1471
1618
  Prop({
1472
1619
  type: Array,
1473
1620
  default: () => undefined,
1474
1621
  }),
1475
1622
  __metadata("design:type", Array)
1476
- ], TekGrid.prototype, "toolbarSlot", void 0);
1477
- TekGrid = __decorate([
1623
+ ], TekGrid$1.prototype, "toolbarSlot", void 0);
1624
+ TekGrid$1 = __decorate([
1478
1625
  Component
1479
- ], TekGrid);
1480
- var script$7 = TekGrid;
1626
+ ], TekGrid$1);
1627
+ var script$9 = TekGrid$1;
1481
1628
 
1482
1629
  /* script */
1483
- const __vue_script__$7 = script$7;
1630
+ const __vue_script__$9 = script$9;
1484
1631
 
1485
1632
  /* template */
1486
- var __vue_render__$7 = function () {
1633
+ var __vue_render__$9 = function () {
1487
1634
  var _vm = this;
1488
1635
  var _h = _vm.$createElement;
1489
1636
  var _c = _vm._self._c || _h;
@@ -1505,12 +1652,13 @@ var __vue_render__$7 = function () {
1505
1652
  ],
1506
1653
  style: [_vm.cssColorVars, _vm.instance.cssStyle],
1507
1654
  attrs: {
1655
+ id: _vm.instance.name,
1508
1656
  "fixed-header": "",
1509
1657
  "disable-pagination": "",
1510
1658
  "hide-default-header": "",
1511
1659
  "hide-default-footer": "",
1512
1660
  name: _vm.instance.name,
1513
- headers: _vm.instance.columns,
1661
+ headers: _vm.headers,
1514
1662
  height: _vm.instance.height,
1515
1663
  items: _vm.getData(),
1516
1664
  search: _vm.instance.datasource.search,
@@ -1518,6 +1666,8 @@ var __vue_render__$7 = function () {
1518
1666
  dense: _vm.instance.dense,
1519
1667
  loading: _vm.instance.datasource.loading,
1520
1668
  "item-key": _vm.instance.datasource.uniqueKey,
1669
+ dark: _vm.instance.dark,
1670
+ light: _vm.instance.light,
1521
1671
  "disable-sort": "",
1522
1672
  "disable-filtering": "",
1523
1673
  tabindex: "0",
@@ -1561,7 +1711,6 @@ var __vue_render__$7 = function () {
1561
1711
  key: "header",
1562
1712
  fn: function (ref) {
1563
1713
  var props = ref.props;
1564
- var on = ref.on;
1565
1714
  return [
1566
1715
  _c("thead", { staticClass: "zd-grid-table-header" }, [
1567
1716
  _c(
@@ -1571,8 +1720,22 @@ var __vue_render__$7 = function () {
1571
1720
  ? _c(
1572
1721
  "th",
1573
1722
  {
1574
- staticClass:
1575
- "zd-table-cell selectable zd-table-fixed-column",
1723
+ class: [
1724
+ "zd-table-cell",
1725
+ "selectable",
1726
+ "zd-table-fixed-column",
1727
+ {
1728
+ "theme--dark":
1729
+ (_vm.$vuetify.theme.dark &&
1730
+ !_vm.instance.light) ||
1731
+ _vm.instance.dark,
1732
+ },
1733
+ {
1734
+ "theme--light":
1735
+ !_vm.$vuetify.theme.dark ||
1736
+ _vm.instance.light,
1737
+ },
1738
+ ],
1576
1739
  style:
1577
1740
  "background-color: " +
1578
1741
  _vm.instance.headerBackground,
@@ -1596,7 +1759,7 @@ var __vue_render__$7 = function () {
1596
1759
  on: {
1597
1760
  click: function ($event) {
1598
1761
  $event.stopPropagation();
1599
- on["toggle-select-all"](!props.everyItem);
1762
+ _vm.toggleSelectAll();
1600
1763
  _vm.selectAllClick(
1601
1764
  !props.everyItem,
1602
1765
  $event
@@ -1626,13 +1789,30 @@ var __vue_render__$7 = function () {
1626
1789
  refInFor: true,
1627
1790
  class: [
1628
1791
  "zd-table-cell",
1792
+ "column-th-" +
1793
+ column.name +
1794
+ "-" +
1795
+ _vm.instance.name,
1629
1796
  {
1630
1797
  sortable:
1631
1798
  column.sortable &&
1632
1799
  !_vm.instance.editing,
1633
- sortHandle: _vm.instance.dragColumns,
1800
+ sortHandle:
1801
+ !column.fixed &&
1802
+ _vm.instance.dragColumns,
1634
1803
  "zd-table-fixed-column": column.fixed,
1635
1804
  },
1805
+ {
1806
+ "theme--dark":
1807
+ (_vm.$vuetify.theme.dark &&
1808
+ !_vm.instance.light) ||
1809
+ _vm.instance.dark,
1810
+ },
1811
+ {
1812
+ "theme--light":
1813
+ !_vm.$vuetify.theme.dark ||
1814
+ _vm.instance.light,
1815
+ },
1636
1816
  "text-" + column.align,
1637
1817
  _vm.instance.datasource.getOrderByColumn(
1638
1818
  column.name
@@ -1971,7 +2151,8 @@ var __vue_render__$7 = function () {
1971
2151
  Object.assign(
1972
2152
  {},
1973
2153
  _vm.getFilterActivatorEvents(
1974
- on
2154
+ on,
2155
+ column
1975
2156
  )
1976
2157
  )
1977
2158
  ),
@@ -2108,7 +2289,9 @@ var __vue_render__$7 = function () {
2108
2289
  : _vm._e(),
2109
2290
  _vm._v(" "),
2110
2291
  _c(
2111
- _vm.componentType ||
2292
+ _vm.getComponentType(
2293
+ filterIndex
2294
+ ) ||
2112
2295
  column
2113
2296
  .componentProps
2114
2297
  .component,
@@ -2139,12 +2322,20 @@ var __vue_render__$7 = function () {
2139
2322
  value:
2140
2323
  item.value,
2141
2324
  persistentHint: true,
2325
+ hint: _vm.getComponentHint(
2326
+ filterIndex
2327
+ ),
2142
2328
  events: {
2143
2329
  input:
2144
2330
  _vm.getFilterValueChange(
2145
2331
  column,
2146
2332
  filterIndex
2147
2333
  ),
2334
+ change:
2335
+ _vm.getFilterValueChange(
2336
+ column,
2337
+ filterIndex
2338
+ ),
2148
2339
  },
2149
2340
  }
2150
2341
  ),
@@ -2261,17 +2452,76 @@ var __vue_render__$7 = function () {
2261
2452
  },
2262
2453
  [
2263
2454
  _vm.instance.selectable
2264
- ? _c("td", {
2265
- staticClass:
2266
- "zd-table-cell selectable zd-table-fixed-column",
2267
- })
2455
+ ? _c(
2456
+ "td",
2457
+ {
2458
+ class: [
2459
+ "zd-table-cell",
2460
+ "selectable",
2461
+ "zd-table-fixed-column",
2462
+ {
2463
+ "theme--dark":
2464
+ (_vm.$vuetify.theme.dark &&
2465
+ !_vm.instance.light) ||
2466
+ _vm.instance.dark,
2467
+ },
2468
+ {
2469
+ "theme--light":
2470
+ !_vm.$vuetify.theme.dark ||
2471
+ _vm.instance.light,
2472
+ },
2473
+ ],
2474
+ },
2475
+ [
2476
+ _c("v-checkbox", {
2477
+ staticClass: "zd-grid-row-checkbox",
2478
+ attrs: {
2479
+ "hide-details": "",
2480
+ color: "primary",
2481
+ disabled: _vm.instance.editing,
2482
+ "on-icon": _vm.$getIcon("checkboxOn"),
2483
+ "off-icon": _vm.$getIcon("checkboxOff"),
2484
+ "indeterminate-icon": _vm.$getIcon(
2485
+ "checkboxIndeterminate"
2486
+ ),
2487
+ "true-value": true,
2488
+ "false-value": false,
2489
+ "input-value": _vm.isGroupSelected(item),
2490
+ indeterminate:
2491
+ _vm.isGroupSelectIndeterminate(item),
2492
+ },
2493
+ on: {
2494
+ click: function ($event) {
2495
+ $event.stopPropagation();
2496
+ return _vm.selectGroup(item, $event)
2497
+ },
2498
+ },
2499
+ }),
2500
+ ],
2501
+ 1
2502
+ )
2268
2503
  : _vm._e(),
2269
2504
  _vm._v(" "),
2270
2505
  _c(
2271
2506
  "td",
2272
2507
  {
2273
- staticClass:
2274
- "zd-table-cell text-left zd-table-group-header zd-table-fixed-column",
2508
+ class: [
2509
+ "zd-table-cell",
2510
+ "text-left",
2511
+ "zd-table-group-header",
2512
+ "zd-table-fixed-column",
2513
+ {
2514
+ "theme--dark":
2515
+ (_vm.$vuetify.theme.dark &&
2516
+ !_vm.instance.light) ||
2517
+ _vm.instance.dark,
2518
+ },
2519
+ {
2520
+ "theme--light":
2521
+ !_vm.$vuetify.theme.dark ||
2522
+ _vm.instance.light,
2523
+ },
2524
+ ],
2275
2525
  style:
2276
2526
  "left: " +
2277
2527
  (_vm.instance.selectable ? 40 : 0) +
@@ -2348,6 +2598,12 @@ var __vue_render__$7 = function () {
2348
2598
  current: _vm.isCurrentRow(item),
2349
2599
  footer: item.groupFooter,
2350
2600
  summary: item.groupSummary,
2601
+ "theme--dark":
2602
+ (_vm.$vuetify.theme.dark &&
2603
+ !_vm.instance.light) ||
2604
+ _vm.instance.dark,
2605
+ "theme--light":
2606
+ !_vm.$vuetify.theme.dark || _vm.instance.light,
2351
2607
  },
2352
2608
  on: {
2353
2609
  click: function ($event) {
@@ -2360,8 +2616,22 @@ var __vue_render__$7 = function () {
2360
2616
  ? _c(
2361
2617
  "td",
2362
2618
  {
2363
- staticClass:
2364
- "zd-table-cell selectable zd-table-fixed-column",
2619
+ class: [
2620
+ "zd-table-cell",
2621
+ "selectable",
2622
+ "zd-table-fixed-column",
2623
+ {
2624
+ "theme--dark":
2625
+ (_vm.$vuetify.theme.dark &&
2626
+ !_vm.instance.light) ||
2627
+ _vm.instance.dark,
2628
+ },
2629
+ {
2630
+ "theme--light":
2631
+ !_vm.$vuetify.theme.dark ||
2632
+ _vm.instance.light,
2633
+ },
2634
+ ],
2365
2635
  },
2366
2636
  [
2367
2637
  _c("v-checkbox", {
@@ -2442,6 +2712,19 @@ var __vue_render__$7 = function () {
2442
2712
  "zd-table-fixed-column":
2443
2713
  column.fixed,
2444
2714
  },
2715
+ {
2716
+ "theme--dark":
2717
+ (_vm.$vuetify.theme
2718
+ .dark &&
2719
+ !_vm.instance.light) ||
2720
+ _vm.instance.dark,
2721
+ },
2722
+ {
2723
+ "theme--light":
2724
+ !_vm.$vuetify.theme
2725
+ .dark ||
2726
+ _vm.instance.light,
2727
+ },
2445
2728
  ],
2446
2729
  style: [
2447
2730
  Object.assign(
@@ -2455,9 +2738,11 @@ var __vue_render__$7 = function () {
2455
2738
  cellProps
2456
2739
  ).cssStyle,
2457
2740
  {
2458
- left: _vm.getFixedLeft(
2459
- column
2460
- ),
2741
+ left: column.fixed
2742
+ ? _vm.fixedLeft[
2743
+ column.name
2744
+ ]
2745
+ : "unset",
2461
2746
  },
2462
2747
  ],
2463
2748
  on: {
@@ -2927,34 +3212,34 @@ var __vue_render__$7 = function () {
2927
3212
  },
2928
3213
  })
2929
3214
  };
2930
- var __vue_staticRenderFns__$7 = [];
2931
- __vue_render__$7._withStripped = true;
3215
+ var __vue_staticRenderFns__$9 = [];
3216
+ __vue_render__$9._withStripped = true;
2932
3217
 
2933
3218
  /* style */
2934
- const __vue_inject_styles__$7 = function (inject) {
3219
+ const __vue_inject_styles__$9 = function (inject) {
2935
3220
  if (!inject) return
2936
- inject("data-v-6a084a11_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}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 4;\n background: #f7f7f7 !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 {\n background: #f6f6f6;\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 background: #f7f7f7 !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 background: white;\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}", map: undefined, media: undefined });
3221
+ inject("data-v-6718d0bc_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}\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 });
2937
3222
 
2938
3223
  };
2939
3224
  /* scoped */
2940
- const __vue_scope_id__$7 = undefined;
3225
+ const __vue_scope_id__$9 = undefined;
2941
3226
  /* module identifier */
2942
- const __vue_module_identifier__$7 = undefined;
3227
+ const __vue_module_identifier__$9 = undefined;
2943
3228
  /* functional template */
2944
- const __vue_is_functional_template__$7 = false;
3229
+ const __vue_is_functional_template__$9 = false;
2945
3230
  /* style inject SSR */
2946
3231
 
2947
3232
  /* style inject shadow dom */
2948
3233
 
2949
3234
 
2950
3235
 
2951
- const __vue_component__$7 = /*#__PURE__*/normalizeComponent(
2952
- { render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 },
2953
- __vue_inject_styles__$7,
2954
- __vue_script__$7,
2955
- __vue_scope_id__$7,
2956
- __vue_is_functional_template__$7,
2957
- __vue_module_identifier__$7,
3236
+ const __vue_component__$9 = /*#__PURE__*/normalizeComponent(
3237
+ { render: __vue_render__$9, staticRenderFns: __vue_staticRenderFns__$9 },
3238
+ __vue_inject_styles__$9,
3239
+ __vue_script__$9,
3240
+ __vue_scope_id__$9,
3241
+ __vue_is_functional_template__$9,
3242
+ __vue_module_identifier__$9,
2958
3243
  false,
2959
3244
  createInjector,
2960
3245
  undefined,
@@ -2971,6 +3256,7 @@ let TekGridColumnsOptionsController = class TekGridColumnsOptionsController {
2971
3256
  this.aggregationData = [];
2972
3257
  this.selectedColumnNames = [];
2973
3258
  this.searchValue = '';
3259
+ this.showGroups = true;
2974
3260
  this.updatingSelect = false;
2975
3261
  this.modal = modal;
2976
3262
  }
@@ -3000,6 +3286,7 @@ let TekGridColumnsOptionsController = class TekGridColumnsOptionsController {
3000
3286
  set instance(instance) {
3001
3287
  this.instanceValue = instance;
3002
3288
  this.iterableComponent = instance.iterableComponent;
3289
+ this.showGroups = instance.iterableComponent instanceof TekGrid$2;
3003
3290
  this.aggregationData = instance.getAggregationSelectData();
3004
3291
  this.columnData = {};
3005
3292
  this.iterableComponent.columns.forEach((column) => {
@@ -3588,6 +3875,7 @@ TekGridColumnsOptionsModal.modalDef = {
3588
3875
  {
3589
3876
  name: 'tekGridColumnsOptionsGroupedRow',
3590
3877
  component: 'ZdRow',
3878
+ isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
3591
3879
  children: [
3592
3880
  {
3593
3881
  name: 'tekGridColumnsOptionsGroupedCol',
@@ -3790,6 +4078,7 @@ TekGridColumnsOptionsModal.modalDef = {
3790
4078
  {
3791
4079
  name: 'tekGridColumnsOptionsColumnAggregation',
3792
4080
  component: 'ZdSelect',
4081
+ isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
3793
4082
  autocomplete: false,
3794
4083
  label: 'TEKGRID_COLUMN_AGGREGATION',
3795
4084
  showHelper: false,
@@ -3811,6 +4100,7 @@ TekGridColumnsOptionsModal.modalDef = {
3811
4100
  {
3812
4101
  name: 'tekGridColumnsOptionsColumnGroupOpened',
3813
4102
  component: 'ZdCheckbox',
4103
+ isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
3814
4104
  cssClass: 'zd-form-input-align',
3815
4105
  disabled: `{{${TekGridColumnsOptionsModal.controllerName}.notGroupInSelection}}`,
3816
4106
  label: 'TEKGRID_COLUMN_GROUP_OPENED',
@@ -3905,6 +4195,10 @@ let TekGridColumnsButton = class TekGridColumnsButton extends ZdIterableColumnsB
3905
4195
  this.menuIsOpened = false;
3906
4196
  }
3907
4197
  };
4198
+ __decorate([
4199
+ Prop({ type: [Boolean, String], default: false }),
4200
+ __metadata("design:type", Object)
4201
+ ], TekGridColumnsButton.prototype, "hideGroups", void 0);
3908
4202
  __decorate([
3909
4203
  Watch('menuIsOpened'),
3910
4204
  __metadata("design:type", Function),
@@ -3914,13 +4208,13 @@ __decorate([
3914
4208
  TekGridColumnsButton = __decorate([
3915
4209
  Component
3916
4210
  ], TekGridColumnsButton);
3917
- var script$6 = TekGridColumnsButton;
4211
+ var script$8 = TekGridColumnsButton;
3918
4212
 
3919
4213
  /* script */
3920
- const __vue_script__$6 = script$6;
4214
+ const __vue_script__$8 = script$8;
3921
4215
 
3922
4216
  /* template */
3923
- var __vue_render__$6 = function () {
4217
+ var __vue_render__$8 = function () {
3924
4218
  var _vm = this;
3925
4219
  var _h = _vm.$createElement;
3926
4220
  var _c = _vm._self._c || _h;
@@ -3942,6 +4236,7 @@ var __vue_render__$6 = function () {
3942
4236
  ],
3943
4237
  style: _vm.instance.cssStyle,
3944
4238
  attrs: {
4239
+ id: _vm.instance.name,
3945
4240
  closeOnContentClick: false,
3946
4241
  "offset-y": "",
3947
4242
  "content-class":
@@ -4004,11 +4299,15 @@ var __vue_render__$6 = function () {
4004
4299
  _vm._v(" "),
4005
4300
  _c("th", [_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_VISIBLE")))]),
4006
4301
  _vm._v(" "),
4007
- _c("th", [_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_GROUPED")))]),
4302
+ !_vm.instance.hideGroups
4303
+ ? _c("th", [_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_GROUPED")))])
4304
+ : _vm._e(),
4008
4305
  _vm._v(" "),
4009
- _c("th", [
4010
- _vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_AGGREGATION"))),
4011
- ]),
4306
+ !_vm.instance.hideGroups
4307
+ ? _c("th", [
4308
+ _vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_AGGREGATION"))),
4309
+ ])
4310
+ : _vm._e(),
4012
4311
  ]),
4013
4312
  ]),
4014
4313
  _vm._v(" "),
@@ -4055,77 +4354,81 @@ var __vue_render__$6 = function () {
4055
4354
  1
4056
4355
  ),
4057
4356
  _vm._v(" "),
4058
- _c(
4059
- "td",
4060
- [
4061
- column.type !== "action"
4062
- ? _c("zd-checkbox", {
4063
- attrs: {
4064
- name:
4065
- _vm.instance.name +
4066
- "_column_grouped_" +
4067
- column.name,
4068
- value: column.grouped,
4069
- events: {
4070
- change:
4071
- _vm.instance.controller.changeGroupedColumn.bind(
4072
- _vm.instance.controller,
4073
- column
4074
- ),
4075
- },
4076
- },
4077
- })
4078
- : _vm._e(),
4079
- ],
4080
- 1
4081
- ),
4082
- _vm._v(" "),
4083
- _c(
4084
- "td",
4085
- {
4086
- staticClass:
4087
- "tek-grid-columns-button-column-aggregation",
4088
- },
4089
- [
4090
- column.type !== "action"
4091
- ? _c(
4092
- "zd-select",
4093
- _vm._b(
4094
- {
4357
+ !_vm.instance.hideGroups
4358
+ ? _c(
4359
+ "td",
4360
+ [
4361
+ column.type !== "action"
4362
+ ? _c("zd-checkbox", {
4095
4363
  attrs: {
4096
4364
  name:
4097
4365
  _vm.instance.name +
4098
- "_column_aggregation_" +
4366
+ "_column_grouped_" +
4099
4367
  column.name,
4368
+ value: column.grouped,
4369
+ events: {
4370
+ change:
4371
+ _vm.instance.controller.changeGroupedColumn.bind(
4372
+ _vm.instance.controller,
4373
+ column
4374
+ ),
4375
+ },
4100
4376
  },
4101
- },
4102
- "zd-select",
4103
- {
4104
- value: column.aggregation,
4105
- disabled: column.grouped,
4106
- events: {
4107
- change:
4108
- _vm.instance.controller.changeAggregationColumn.bind(
4109
- _vm.instance.controller,
4110
- column
4111
- ),
4112
- },
4113
- dataText: "text",
4114
- dataValue: "value",
4115
- autocomplete: false,
4116
- showHelper: false,
4117
- showLabel: false,
4118
- datasource: {
4119
- data: _vm.instance.getAggregationSelectData(),
4120
- },
4121
- },
4122
- false
4123
- )
4124
- )
4125
- : _vm._e(),
4126
- ],
4127
- 1
4128
- ),
4377
+ })
4378
+ : _vm._e(),
4379
+ ],
4380
+ 1
4381
+ )
4382
+ : _vm._e(),
4383
+ _vm._v(" "),
4384
+ !_vm.instance.hideGroups
4385
+ ? _c(
4386
+ "td",
4387
+ {
4388
+ staticClass:
4389
+ "tek-grid-columns-button-column-aggregation",
4390
+ },
4391
+ [
4392
+ column.type !== "action"
4393
+ ? _c(
4394
+ "zd-select",
4395
+ _vm._b(
4396
+ {
4397
+ attrs: {
4398
+ name:
4399
+ _vm.instance.name +
4400
+ "_column_aggregation_" +
4401
+ column.name,
4402
+ },
4403
+ },
4404
+ "zd-select",
4405
+ {
4406
+ value: column.aggregation,
4407
+ disabled: column.grouped,
4408
+ events: {
4409
+ change:
4410
+ _vm.instance.controller.changeAggregationColumn.bind(
4411
+ _vm.instance.controller,
4412
+ column
4413
+ ),
4414
+ },
4415
+ dataText: "text",
4416
+ dataValue: "value",
4417
+ autocomplete: false,
4418
+ showHelper: false,
4419
+ showLabel: false,
4420
+ datasource: {
4421
+ data: _vm.instance.getAggregationSelectData(),
4422
+ },
4423
+ },
4424
+ false
4425
+ )
4426
+ )
4427
+ : _vm._e(),
4428
+ ],
4429
+ 1
4430
+ )
4431
+ : _vm._e(),
4129
4432
  ]
4130
4433
  )
4131
4434
  }),
@@ -4173,34 +4476,34 @@ var __vue_render__$6 = function () {
4173
4476
  ]
4174
4477
  )
4175
4478
  };
4176
- var __vue_staticRenderFns__$6 = [];
4177
- __vue_render__$6._withStripped = true;
4479
+ var __vue_staticRenderFns__$8 = [];
4480
+ __vue_render__$8._withStripped = true;
4178
4481
 
4179
4482
  /* style */
4180
- const __vue_inject_styles__$6 = function (inject) {
4483
+ const __vue_inject_styles__$8 = function (inject) {
4181
4484
  if (!inject) return
4182
- inject("data-v-0b148da7_0", { source: ".tek-grid-columns-button-options {\n max-height: 250px;\n display: flex;\n flex-direction: column;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper {\n flex: 1;\n overflow-y: auto;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table {\n padding: 0 var(--spacing-2) var(--spacing-2) var(--spacing-2);\n background-color: white;\n font-size: 13px;\n border-spacing: 0;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table thead tr th {\n padding: var(--spacing-2) var(--spacing-2) var(--spacing-1) var(--spacing-2);\n white-space: nowrap;\n text-align: left;\n background: white;\n position: sticky;\n top: 0;\n z-index: 10;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td {\n padding: var(--spacing-1) var(--spacing-2);\n white-space: nowrap;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td.tek-grid-columns-button-column-name {\n cursor: -webkit-grab;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td.tek-grid-columns-button-column-name > span {\n padding-right: 4px;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td.tek-grid-columns-button-column-aggregation {\n max-width: 150px;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-footer {\n display: flex;\n background: white;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-footer .zd-button {\n flex: 1;\n}\n.tek-grid-columns-button-sortable-drag {\n background: white;\n}\n.tek-grid-column-option-box {\n margin: var(--spacing-1);\n background: #ccc;\n padding: 2px var(--spacing-1);\n cursor: pointer;\n}\n.tek-grid-column-option-box > * {\n display: inline-block;\n}\n.tek-grid-column-option-box > .zd-icon {\n font-size: 0.9rem;\n margin-left: var(--spacing-2);\n}\n.tek-grid-column-option-box.tek-grid-column-option-grouped-true {\n cursor: default;\n background: #fafafa;\n}\n.tek-grid-column-option-box.tek-grid-column-option-grouped-true > .zd-icon {\n display: none;\n}\n.tek-grid-column-option-box.tek-grid-column-option-selected-true {\n background: var(--v-primary-base);\n color: white;\n}\n.tek-grid-column-option-box.tek-grid-column-option-selected-true > .zd-icon {\n color: white;\n}\n.tek-grid-column-option-container-col {\n position: relative;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-container {\n background: #eee;\n padding: var(--spacing-1);\n max-height: 100px;\n min-height: 42px;\n align-content: center;\n position: relative;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-container .tek-iterable-footer {\n display: none !important;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-container .zd-text.no-data {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n font-size: 0.7rem;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-label {\n font-weight: var(--zd-font-body2-weight);\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-select-all {\n position: absolute;\n top: 0.5rem;\n right: var(--spacing-1);\n color: var(--v-primary-base);\n cursor: pointer;\n font-size: 0.8rem;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-drop-here {\n position: absolute;\n z-index: 100;\n left: 50%;\n transform: translateX(-50%);\n top: 35px;\n}\n.tek-grid-column-option-detail-name {\n color: var(--v-primary-base);\n font-weight: var(--zd-font-body2-weight);\n font-size: 1.1rem;\n margin-top: var(--spacing-6);\n}", map: undefined, media: undefined });
4485
+ inject("data-v-8459d5b8_0", { source: ".tek-grid-columns-button-options {\n max-height: 250px;\n display: flex;\n flex-direction: column;\n background-color: #fff;\n}\n.tek-grid-columns-button-options.theme--dark {\n background-color: #1e1e1e;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper {\n flex: 1;\n overflow-y: auto;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table {\n padding: 0 var(--spacing-2) var(--spacing-2) var(--spacing-2);\n font-size: 13px;\n border-spacing: 0;\n width: 100%;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table thead tr th {\n padding: var(--spacing-2) var(--spacing-2) var(--spacing-1) var(--spacing-2);\n white-space: nowrap;\n text-align: left;\n position: sticky;\n top: 0;\n z-index: 10;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td {\n padding: var(--spacing-1) var(--spacing-2);\n white-space: nowrap;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td.tek-grid-columns-button-column-name {\n cursor: -webkit-grab;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td.tek-grid-columns-button-column-name > span {\n padding-right: 4px;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-wrapper .tek-grid-columns-button-table tbody tr td.tek-grid-columns-button-column-aggregation {\n max-width: 150px;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-footer {\n display: flex;\n}\n.tek-grid-columns-button-options .tek-grid-columns-button-table-footer .zd-button {\n flex: 1;\n}\n.tek-grid-columns-button-sortable-drag {\n background: white;\n}\n.tek-grid-column-option-box {\n margin: var(--spacing-1);\n background: #ccc;\n padding: 2px var(--spacing-1);\n cursor: pointer;\n}\n.tek-grid-column-option-box > * {\n display: inline-block;\n}\n.tek-grid-column-option-box > .zd-icon {\n font-size: 0.9rem;\n margin-left: var(--spacing-2);\n}\n.tek-grid-column-option-box.tek-grid-column-option-grouped-true {\n cursor: default;\n background: #fafafa;\n}\n.tek-grid-column-option-box.tek-grid-column-option-grouped-true > .zd-icon {\n display: none;\n}\n.tek-grid-column-option-box.tek-grid-column-option-selected-true {\n background: var(--v-primary-base);\n color: white;\n}\n.tek-grid-column-option-box.tek-grid-column-option-selected-true > .zd-icon {\n color: white;\n}\n.tek-grid-column-option-container-col {\n position: relative;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-container {\n background: #eee;\n padding: var(--spacing-1);\n max-height: 100px;\n min-height: 42px;\n align-content: center;\n position: relative;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-container .tek-iterable-footer {\n display: none !important;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-container .zd-text.no-data {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n font-size: 0.7rem;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-label {\n font-weight: var(--zd-font-body2-weight);\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-select-all {\n position: absolute;\n top: 0.5rem;\n right: var(--spacing-1);\n color: var(--v-primary-base);\n cursor: pointer;\n font-size: 0.8rem;\n}\n.tek-grid-column-option-container-col .tek-grid-column-option-drop-here {\n position: absolute;\n z-index: 100;\n left: 50%;\n transform: translateX(-50%);\n top: 35px;\n}\n.tek-grid-column-option-detail-name {\n color: var(--v-primary-base);\n font-weight: var(--zd-font-body2-weight);\n font-size: 1.1rem;\n margin-top: var(--spacing-6);\n}", map: undefined, media: undefined });
4183
4486
 
4184
4487
  };
4185
4488
  /* scoped */
4186
- const __vue_scope_id__$6 = undefined;
4489
+ const __vue_scope_id__$8 = undefined;
4187
4490
  /* module identifier */
4188
- const __vue_module_identifier__$6 = undefined;
4491
+ const __vue_module_identifier__$8 = undefined;
4189
4492
  /* functional template */
4190
- const __vue_is_functional_template__$6 = false;
4493
+ const __vue_is_functional_template__$8 = false;
4191
4494
  /* style inject SSR */
4192
4495
 
4193
4496
  /* style inject shadow dom */
4194
4497
 
4195
4498
 
4196
4499
 
4197
- const __vue_component__$6 = /*#__PURE__*/normalizeComponent(
4198
- { render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 },
4199
- __vue_inject_styles__$6,
4200
- __vue_script__$6,
4201
- __vue_scope_id__$6,
4202
- __vue_is_functional_template__$6,
4203
- __vue_module_identifier__$6,
4500
+ const __vue_component__$8 = /*#__PURE__*/normalizeComponent(
4501
+ { render: __vue_render__$8, staticRenderFns: __vue_staticRenderFns__$8 },
4502
+ __vue_inject_styles__$8,
4503
+ __vue_script__$8,
4504
+ __vue_scope_id__$8,
4505
+ __vue_is_functional_template__$8,
4506
+ __vue_module_identifier__$8,
4204
4507
  false,
4205
4508
  createInjector,
4206
4509
  undefined,
@@ -4248,7 +4551,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4248
4551
  grid.datasource.order = layout.order !== undefined ? layout.order : grid.datasource.order;
4249
4552
  grid.datasource.filter = layout.filter !== undefined ? layout.filter : grid.datasource.filter;
4250
4553
  if (grid.datasource instanceof TekRestDatasource && layout.dynamicFilter !== undefined) {
4251
- grid.datasource.dynamicFilter = layout.dynamicFilter;
4554
+ grid.datasource.dynamicFilter = this.getHelperValues(layout.dynamicFilter, layout.columns);
4252
4555
  }
4253
4556
  grid.columns = layout.columns.map((column) => {
4254
4557
  const col = gridColumns[column.name];
@@ -4261,6 +4564,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4261
4564
  col.aggregation = column.aggregation;
4262
4565
  col.minWidth = column.minWidth || '';
4263
4566
  col.maxWidth = column.maxWidth || '';
4567
+ this.setHelperValue(col, column.filterHelperValue || '');
4264
4568
  return col;
4265
4569
  });
4266
4570
  // wait to change column orders
@@ -4268,7 +4572,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4268
4572
  grid.columns.forEach((_column, index) => {
4269
4573
  const columnElement = tableElement.querySelector(`tr th:not(.selectable)[index="${index}"]`);
4270
4574
  if (columnElement) {
4271
- columnElement.style.width = layout.columns[index].width;
4575
+ columnElement.style.width = layout.columns[index].width || 'unset';
4272
4576
  }
4273
4577
  });
4274
4578
  });
@@ -4277,7 +4581,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4277
4581
  grid.datasource.order = [...this.instance.originalDatasourceOrder];
4278
4582
  grid.datasource.filter = Object.assign({}, this.instance.originalDatasourceFilter);
4279
4583
  if (grid.datasource instanceof TekRestDatasource) {
4280
- grid.datasource.dynamicFilter = Object.assign({}, this.instance.originalDatasourceDynamicFilter);
4584
+ grid.datasource.dynamicFilter = this.getHelperValues(this.instance.originalDatasourceDynamicFilter, this.instance.originalColumnProps);
4281
4585
  }
4282
4586
  grid.columns = this.instance.originalColumnProps.map((column) => {
4283
4587
  const col = gridColumns[column.name];
@@ -4290,6 +4594,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4290
4594
  col.aggregation = column.aggregation;
4291
4595
  col.minWidth = column.minWidth || '';
4292
4596
  col.maxWidth = column.maxWidth || '';
4597
+ this.setHelperValue(col, column.filterHelperValue || '');
4293
4598
  return col;
4294
4599
  });
4295
4600
  tableElement.style.width = '100%';
@@ -4305,6 +4610,48 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4305
4610
  }
4306
4611
  this.$refs.layoutMenu.isActive = false;
4307
4612
  }
4613
+ setHelperValue(column, value) {
4614
+ if (column instanceof TekGridColumn) {
4615
+ if (!Array.isArray(column.filterProps) && typeof value === 'string') {
4616
+ column.filterProps.helperValue = value;
4617
+ }
4618
+ else if (Array.isArray(column.filterProps) && Array.isArray(value)) {
4619
+ column.filterProps.forEach((prop, index) => {
4620
+ prop.value = value[index];
4621
+ });
4622
+ }
4623
+ }
4624
+ }
4625
+ getHelperValues(dynamicFilter, columns) {
4626
+ const filter = cloneDeep(dynamicFilter);
4627
+ Object.keys(filter).forEach((columnName) => {
4628
+ const filterOptions = filter[columnName];
4629
+ const column = columns[columns.findIndex((col) => col.name === columnName)];
4630
+ const { filterHelperValue } = column;
4631
+ filterOptions.forEach((item) => {
4632
+ if (['IN', 'NOT_IN', 'BETWEEN'].includes(item.operation) && !Array.isArray(item.value)) {
4633
+ item.value = item.value.split(';');
4634
+ }
4635
+ let helperValue = '';
4636
+ if (!Array.isArray(filterHelperValue)) {
4637
+ helperValue = filterHelperValue;
4638
+ }
4639
+ else {
4640
+ Object.keys(filterHelperValue).forEach((key) => {
4641
+ const value = filterHelperValue[key] || '';
4642
+ if (`${item.relation || 'AND'}-${item.operation || 'CONTAINS'}` === key) {
4643
+ helperValue = value;
4644
+ }
4645
+ });
4646
+ }
4647
+ if (helperValue) {
4648
+ const columnObj = this.instance.grid.getColumn(column.name);
4649
+ item.value = TekFilterHelper.getValue(helperValue, columnObj);
4650
+ }
4651
+ });
4652
+ });
4653
+ return filter;
4654
+ }
4308
4655
  getCurrentLayout(layoutName) {
4309
4656
  const { grid } = this.instance;
4310
4657
  const tableElement = this.getParentTable();
@@ -4329,6 +4676,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4329
4676
  grouped: column.grouped,
4330
4677
  groupOpened: column.groupOpened,
4331
4678
  aggregation: column.aggregation,
4679
+ filterHelperValue: this.instance.getHelperValue(column),
4332
4680
  };
4333
4681
  }),
4334
4682
  };
@@ -4350,13 +4698,13 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4350
4698
  TekGridLayoutOptions = __decorate([
4351
4699
  Component
4352
4700
  ], TekGridLayoutOptions);
4353
- var script$5 = TekGridLayoutOptions;
4701
+ var script$7 = TekGridLayoutOptions;
4354
4702
 
4355
4703
  /* script */
4356
- const __vue_script__$5 = script$5;
4704
+ const __vue_script__$7 = script$7;
4357
4705
 
4358
4706
  /* template */
4359
- var __vue_render__$5 = function () {
4707
+ var __vue_render__$7 = function () {
4360
4708
  var _vm = this;
4361
4709
  var _h = _vm.$createElement;
4362
4710
  var _c = _vm._self._c || _h;
@@ -4375,6 +4723,7 @@ var __vue_render__$5 = function () {
4375
4723
  class: ["tek-grid-layout-options", _vm.instance.cssClass],
4376
4724
  style: _vm.instance.cssStyle,
4377
4725
  attrs: {
4726
+ id: _vm.instance.name,
4378
4727
  name: _vm.instance.name,
4379
4728
  "offset-y": "",
4380
4729
  closeOnContentClick: false,
@@ -4540,7 +4889,10 @@ var __vue_render__$5 = function () {
4540
4889
  _vm._b(
4541
4890
  {
4542
4891
  attrs: {
4543
- name: "tek-grid-layout-item-update_" + item,
4892
+ name:
4893
+ "tek-grid-layout-item-update_" +
4894
+ _vm.instance.name +
4895
+ item,
4544
4896
  },
4545
4897
  },
4546
4898
  "zd-button",
@@ -4564,7 +4916,10 @@ var __vue_render__$5 = function () {
4564
4916
  _vm._b(
4565
4917
  {
4566
4918
  attrs: {
4567
- name: "tek-grid-layout-item-delete_" + item,
4919
+ name:
4920
+ "tek-grid-layout-item-delete_" +
4921
+ _vm.instance.name +
4922
+ item,
4568
4923
  },
4569
4924
  },
4570
4925
  "zd-button",
@@ -4595,34 +4950,34 @@ var __vue_render__$5 = function () {
4595
4950
  1
4596
4951
  )
4597
4952
  };
4598
- var __vue_staticRenderFns__$5 = [];
4599
- __vue_render__$5._withStripped = true;
4953
+ var __vue_staticRenderFns__$7 = [];
4954
+ __vue_render__$7._withStripped = true;
4600
4955
 
4601
4956
  /* style */
4602
- const __vue_inject_styles__$5 = function (inject) {
4957
+ const __vue_inject_styles__$7 = function (inject) {
4603
4958
  if (!inject) return
4604
- inject("data-v-29ce02fa_0", { source: ".tek-grid-layout-options-badge .v-badge__badge {\n font-size: var(--zd-font-caption-size);\n font-weight: var(--zd-font-caption-weight);\n line-height: 14px;\n pointer-events: none;\n background-color: var(--zd-badge-background-color) !important;\n}\n.tek-grid-layout-options-badge .v-badge__badge span {\n color: var(--zd-badge-text-color) !important;\n}\n.tek-grid-layout-item {\n font-size: 13px;\n cursor: pointer;\n min-height: 30px;\n}\n.tek-grid-layout-item.selected {\n font-weight: 700;\n}\n.tek-grid-layout-item:hover {\n background: #eee;\n}\n.tek-grid-layout-item:hover .tek-grid-layout-item-buttons {\n display: inherit;\n}\n.tek-grid-layout-item .tek-grid-layout-item-buttons {\n display: none;\n position: absolute;\n right: 5px;\n}\n.tek-grid-layout-item .tek-grid-layout-item-buttons .v-icon {\n font-size: 12px;\n}", map: undefined, media: undefined });
4959
+ inject("data-v-b7689878_0", { source: ".tek-grid-layout-options-badge .v-badge__badge {\n font-size: var(--zd-font-caption-size);\n font-weight: var(--zd-font-caption-weight);\n line-height: 14px;\n pointer-events: none;\n background-color: var(--zd-badge-background-color) !important;\n}\n.tek-grid-layout-options-badge .v-badge__badge span {\n color: var(--zd-badge-text-color) !important;\n}\n.tek-grid-layout-item {\n font-size: 13px;\n cursor: pointer;\n min-height: 30px;\n}\n.tek-grid-layout-item.selected {\n font-weight: 700;\n}\n.tek-grid-layout-item:hover.theme--light {\n background: #eee;\n}\n.tek-grid-layout-item:hover .tek-grid-layout-item-buttons {\n display: inherit;\n}\n.tek-grid-layout-item .tek-grid-layout-item-buttons {\n display: none;\n position: absolute;\n right: 5px;\n}\n.tek-grid-layout-item .tek-grid-layout-item-buttons .v-icon {\n font-size: 12px;\n}", map: undefined, media: undefined });
4605
4960
 
4606
4961
  };
4607
4962
  /* scoped */
4608
- const __vue_scope_id__$5 = undefined;
4963
+ const __vue_scope_id__$7 = undefined;
4609
4964
  /* module identifier */
4610
- const __vue_module_identifier__$5 = undefined;
4965
+ const __vue_module_identifier__$7 = undefined;
4611
4966
  /* functional template */
4612
- const __vue_is_functional_template__$5 = false;
4967
+ const __vue_is_functional_template__$7 = false;
4613
4968
  /* style inject SSR */
4614
4969
 
4615
4970
  /* style inject shadow dom */
4616
4971
 
4617
4972
 
4618
4973
 
4619
- const __vue_component__$5 = /*#__PURE__*/normalizeComponent(
4620
- { render: __vue_render__$5, staticRenderFns: __vue_staticRenderFns__$5 },
4621
- __vue_inject_styles__$5,
4622
- __vue_script__$5,
4623
- __vue_scope_id__$5,
4624
- __vue_is_functional_template__$5,
4625
- __vue_module_identifier__$5,
4974
+ const __vue_component__$7 = /*#__PURE__*/normalizeComponent(
4975
+ { render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 },
4976
+ __vue_inject_styles__$7,
4977
+ __vue_script__$7,
4978
+ __vue_scope_id__$7,
4979
+ __vue_is_functional_template__$7,
4980
+ __vue_module_identifier__$7,
4626
4981
  false,
4627
4982
  createInjector,
4628
4983
  undefined,
@@ -4649,34 +5004,34 @@ __decorate([
4649
5004
  TekImage = __decorate([
4650
5005
  Component
4651
5006
  ], TekImage);
4652
- var script$4 = TekImage;
5007
+ var script$6 = TekImage;
4653
5008
 
4654
5009
  /* script */
4655
- const __vue_script__$4 = script$4;
5010
+ const __vue_script__$6 = script$6;
4656
5011
 
4657
5012
  /* template */
4658
- var __vue_render__$4 = function () {
5013
+ var __vue_render__$6 = function () {
4659
5014
  var _vm = this;
4660
5015
  var _h = _vm.$createElement;
4661
5016
  var _c = _vm._self._c || _h;
4662
5017
  return _c(
4663
5018
  "router-link",
4664
- { attrs: { to: _vm.instance.to } },
5019
+ { attrs: { id: _vm.instance.name, to: _vm.instance.to } },
4665
5020
  [_c("v-img", { attrs: { src: _vm.instance.src } })],
4666
5021
  1
4667
5022
  )
4668
5023
  };
4669
- var __vue_staticRenderFns__$4 = [];
4670
- __vue_render__$4._withStripped = true;
5024
+ var __vue_staticRenderFns__$6 = [];
5025
+ __vue_render__$6._withStripped = true;
4671
5026
 
4672
5027
  /* style */
4673
- const __vue_inject_styles__$4 = undefined;
5028
+ const __vue_inject_styles__$6 = undefined;
4674
5029
  /* scoped */
4675
- const __vue_scope_id__$4 = undefined;
5030
+ const __vue_scope_id__$6 = undefined;
4676
5031
  /* module identifier */
4677
- const __vue_module_identifier__$4 = undefined;
5032
+ const __vue_module_identifier__$6 = undefined;
4678
5033
  /* functional template */
4679
- const __vue_is_functional_template__$4 = false;
5034
+ const __vue_is_functional_template__$6 = false;
4680
5035
  /* style inject */
4681
5036
 
4682
5037
  /* style inject SSR */
@@ -4685,13 +5040,13 @@ __vue_render__$4._withStripped = true;
4685
5040
 
4686
5041
 
4687
5042
 
4688
- const __vue_component__$4 = /*#__PURE__*/normalizeComponent(
4689
- { render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },
4690
- __vue_inject_styles__$4,
4691
- __vue_script__$4,
4692
- __vue_scope_id__$4,
4693
- __vue_is_functional_template__$4,
4694
- __vue_module_identifier__$4,
5043
+ const __vue_component__$6 = /*#__PURE__*/normalizeComponent(
5044
+ { render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 },
5045
+ __vue_inject_styles__$6,
5046
+ __vue_script__$6,
5047
+ __vue_scope_id__$6,
5048
+ __vue_is_functional_template__$6,
5049
+ __vue_module_identifier__$6,
4695
5050
  false,
4696
5051
  undefined,
4697
5052
  undefined,
@@ -4716,13 +5071,13 @@ __decorate([
4716
5071
  TekIterableCarousel = __decorate([
4717
5072
  Component
4718
5073
  ], TekIterableCarousel);
4719
- var script$3 = TekIterableCarousel;
5074
+ var script$5 = TekIterableCarousel;
4720
5075
 
4721
5076
  /* script */
4722
- const __vue_script__$3 = script$3;
5077
+ const __vue_script__$5 = script$5;
4723
5078
 
4724
5079
  /* template */
4725
- var __vue_render__$3 = function () {
5080
+ var __vue_render__$5 = function () {
4726
5081
  var _vm = this;
4727
5082
  var _h = _vm.$createElement;
4728
5083
  var _c = _vm._self._c || _h;
@@ -4739,7 +5094,7 @@ var __vue_render__$3 = function () {
4739
5094
  ],
4740
5095
  class: ["tek-iterable-carousel", _vm.instance.cssClass],
4741
5096
  style: _vm.instance.cssStyle,
4742
- attrs: { name: _vm.instance.name },
5097
+ attrs: { id: _vm.instance.name, name: _vm.instance.name },
4743
5098
  },
4744
5099
  [
4745
5100
  _vm.instance.iterable.datasource.loading
@@ -4796,17 +5151,17 @@ var __vue_render__$3 = function () {
4796
5151
  1
4797
5152
  )
4798
5153
  };
4799
- var __vue_staticRenderFns__$3 = [];
4800
- __vue_render__$3._withStripped = true;
5154
+ var __vue_staticRenderFns__$5 = [];
5155
+ __vue_render__$5._withStripped = true;
4801
5156
 
4802
5157
  /* style */
4803
- const __vue_inject_styles__$3 = undefined;
5158
+ const __vue_inject_styles__$5 = undefined;
4804
5159
  /* scoped */
4805
- const __vue_scope_id__$3 = undefined;
5160
+ const __vue_scope_id__$5 = undefined;
4806
5161
  /* module identifier */
4807
- const __vue_module_identifier__$3 = undefined;
5162
+ const __vue_module_identifier__$5 = undefined;
4808
5163
  /* functional template */
4809
- const __vue_is_functional_template__$3 = false;
5164
+ const __vue_is_functional_template__$5 = false;
4810
5165
  /* style inject */
4811
5166
 
4812
5167
  /* style inject SSR */
@@ -4815,13 +5170,13 @@ __vue_render__$3._withStripped = true;
4815
5170
 
4816
5171
 
4817
5172
 
4818
- const __vue_component__$3 = /*#__PURE__*/normalizeComponent(
4819
- { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },
4820
- __vue_inject_styles__$3,
4821
- __vue_script__$3,
4822
- __vue_scope_id__$3,
4823
- __vue_is_functional_template__$3,
4824
- __vue_module_identifier__$3,
5173
+ const __vue_component__$5 = /*#__PURE__*/normalizeComponent(
5174
+ { render: __vue_render__$5, staticRenderFns: __vue_staticRenderFns__$5 },
5175
+ __vue_inject_styles__$5,
5176
+ __vue_script__$5,
5177
+ __vue_scope_id__$5,
5178
+ __vue_is_functional_template__$5,
5179
+ __vue_module_identifier__$5,
4825
5180
  false,
4826
5181
  undefined,
4827
5182
  undefined,
@@ -4888,20 +5243,23 @@ __decorate([
4888
5243
  TekIterableComponentRender = __decorate([
4889
5244
  Component
4890
5245
  ], TekIterableComponentRender);
4891
- var script$2 = TekIterableComponentRender;
5246
+ var script$4 = TekIterableComponentRender;
4892
5247
 
4893
5248
  /* script */
4894
- const __vue_script__$2 = script$2;
5249
+ const __vue_script__$4 = script$4;
4895
5250
 
4896
5251
  /* template */
4897
- var __vue_render__$2 = function () {
5252
+ var __vue_render__$4 = function () {
4898
5253
  var _vm = this;
4899
5254
  var _h = _vm.$createElement;
4900
5255
  var _c = _vm._self._c || _h;
4901
5256
  return _vm.instance.isVisible
4902
5257
  ? _c(
4903
5258
  "div",
4904
- { class: ["tek-iterable-component-render", _vm.instance.cssClass] },
5259
+ {
5260
+ class: ["tek-iterable-component-render", _vm.instance.cssClass],
5261
+ attrs: { id: _vm.instance.name },
5262
+ },
4905
5263
  [
4906
5264
  _vm.instance.toolbarSlot.length || !!_vm.$slots.toolbarSlot
4907
5265
  ? _c("div", { staticClass: "tek-iterable-toolbar" }, [
@@ -5070,40 +5428,125 @@ var __vue_render__$2 = function () {
5070
5428
  )
5071
5429
  : _vm._e()
5072
5430
  };
5073
- var __vue_staticRenderFns__$2 = [];
5074
- __vue_render__$2._withStripped = true;
5431
+ var __vue_staticRenderFns__$4 = [];
5432
+ __vue_render__$4._withStripped = true;
5075
5433
 
5076
5434
  /* style */
5077
- const __vue_inject_styles__$2 = function (inject) {
5435
+ const __vue_inject_styles__$4 = function (inject) {
5078
5436
  if (!inject) return
5079
- inject("data-v-02c0169b_0", { source: ".tek-iterable-component-render[data-v-02c0169b] {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n -webkit-box-flex: 1;\n flex: 1 1 auto;\n}\n.tek-iterable-component-render .error--text[data-v-02c0169b],\n.tek-iterable-component-render .no--data[data-v-02c0169b] {\n text-align: center;\n width: 100%;\n font-size: 14px;\n}\n.tek-iterable-component-render .no--data[data-v-02c0169b] {\n color: rgba(0, 0, 0, 0.38);\n}\n.tek-iterable-component-render .tek-iterable-toolbar[data-v-02c0169b] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 16px;\n align-items: center;\n width: 100%;\n}\n.tek-iterable-component-render .tek-iterable-footer[data-v-02c0169b] {\n padding: 5px 0;\n display: flex;\n width: 100%;\n}", map: undefined, media: undefined });
5437
+ inject("data-v-42c57cb2_0", { source: ".tek-iterable-component-render[data-v-42c57cb2] {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n -webkit-box-flex: 1;\n flex: 1 1 auto;\n}\n.tek-iterable-component-render .error--text[data-v-42c57cb2],\n.tek-iterable-component-render .no--data[data-v-42c57cb2] {\n text-align: center;\n width: 100%;\n font-size: 14px;\n}\n.tek-iterable-component-render .no--data[data-v-42c57cb2] {\n color: rgba(0, 0, 0, 0.38);\n}\n.tek-iterable-component-render .tek-iterable-toolbar[data-v-42c57cb2] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 16px;\n align-items: center;\n width: 100%;\n}\n.tek-iterable-component-render .tek-iterable-footer[data-v-42c57cb2] {\n padding: 5px 0;\n display: flex;\n width: 100%;\n}", map: undefined, media: undefined });
5080
5438
 
5081
5439
  };
5082
5440
  /* scoped */
5083
- const __vue_scope_id__$2 = "data-v-02c0169b";
5441
+ const __vue_scope_id__$4 = "data-v-42c57cb2";
5084
5442
  /* module identifier */
5085
- const __vue_module_identifier__$2 = undefined;
5443
+ const __vue_module_identifier__$4 = undefined;
5086
5444
  /* functional template */
5087
- const __vue_is_functional_template__$2 = false;
5445
+ const __vue_is_functional_template__$4 = false;
5088
5446
  /* style inject SSR */
5089
5447
 
5090
5448
  /* style inject shadow dom */
5091
5449
 
5092
5450
 
5093
5451
 
5094
- const __vue_component__$2 = /*#__PURE__*/normalizeComponent(
5095
- { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
5096
- __vue_inject_styles__$2,
5097
- __vue_script__$2,
5098
- __vue_scope_id__$2,
5099
- __vue_is_functional_template__$2,
5100
- __vue_module_identifier__$2,
5452
+ const __vue_component__$4 = /*#__PURE__*/normalizeComponent(
5453
+ { render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },
5454
+ __vue_inject_styles__$4,
5455
+ __vue_script__$4,
5456
+ __vue_scope_id__$4,
5457
+ __vue_is_functional_template__$4,
5458
+ __vue_module_identifier__$4,
5101
5459
  false,
5102
5460
  createInjector,
5103
5461
  undefined,
5104
5462
  undefined
5105
5463
  );
5106
5464
 
5465
+ // eslint-disable-next-line
5466
+ const loading = 'data:image/gif;base64,R0lGODlhlgCWAPf/AC1oxPa+ADarUdmsFEB/m0yTcjiMhEafWjFova2SNDZotX10VsOfJDlosFZnge25BnJtXTukVWVmaFh1eIuOZ1x0ZEFopHpyWGFpcS5ow+q2CVNnhmVnZvW9AW5qYUyKXUJnofW+AKWNOV9mcS9owZuGQTporlCGXbWXLmNrazxnqeKyDoGDZVFniFZ6ZNSpGJ+IPoR4Ud+wEURnnmtpYklnlll5YbGUMcagIk5njmhnZWpoZGF0aWBmbkdnmbyaKUtnlEaBfWdmZTNou0WUW5WDRFtmeGZmZ82kHqecTXqIdzRouGJmbPC6BIB2VDxnrGNmakyHYPO8AkxnkUh0qmRpZl9wZVxndmRmaVhnffS9AqmPN09ni96vEUmQWzBowC1ow2FtZVR3gl5ndFGCYEVnnF1mdGR9i1dnf7qZK4l7TnRvXOK1FD6eV8ijIG6Cgl58lF1rfEBnpFVsi1pmeo5+Sk56dz9np5OCRjaqUi5pxNarFndwWmNqZm9sYFx7a098itGnG4d6T7ikPKKLO1Rmg+e1Cr2bKVhme0GbVkpmk5mWW5GBSM+nHLiYLPG7BIp8TUKZWUFsqWJnbltmd0hnmNqtFExtm1tsgaiOOIx9TNuuE6CKP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PPN3gYEACH5BAkEAP8ALAAAAACWAJYAAAj/AP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuXMGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSJMqXcq0qdOnUKNKnUq1qtWrWLNq3cr155ExDjZsyDKiK8weU4R9AcAWTCgTLcyulFBrCdu7eAHITSmhEpi8gPeirJEBcGDBJR0UNpwXMUksChgfdhxyg+TJlD/eudw480cmdjnf9fxxDAnRo0l3vII6teqNZhajfs1xBILWemlrlNAAt+6NNXz/zjji9OzhGSu1Rp6RSW/RzDOaicw5esZJrqpbx4iFiynZd0mYgtiuEQuaSndMmJAzhY4E8vDjy59Pv779+/jz69/Pv7///wAGKOCABBZo4IEIJqjgggw26OCDEEYo4YQUVmjhhRhmqOGGHHbo4YcghijiiCSWaOKJKKao4oostujiizDGKOOMNNZo44045qjjjjz26OOPQAYp5JBEFmnkkUgmqSRVAQEAIfkEBQQA/wAsAAAAAJYAlgAACPEA/wkcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4ocSbKkyZMoU6pcybKly5cwY8qcSbOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy5cuYM2vezLmz58+gQ4seTbq06dOoU6tezbq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufbjggACH5BAUEAP8ALAAAAAABAAEAAAgEAP8FBAA7';
5467
+ let TekLoading = class TekLoading extends ZdLoading {
5468
+ constructor() {
5469
+ super(...arguments);
5470
+ this.instanceType = Loading;
5471
+ }
5472
+ };
5473
+ __decorate([
5474
+ Prop({ type: String, default: '' }),
5475
+ __metadata("design:type", String)
5476
+ ], TekLoading.prototype, "text", void 0);
5477
+ __decorate([
5478
+ Prop({ type: String, default: loading }),
5479
+ __metadata("design:type", String)
5480
+ ], TekLoading.prototype, "image", void 0);
5481
+ __decorate([
5482
+ Prop({ type: [Number, String], default: 999 }),
5483
+ __metadata("design:type", Object)
5484
+ ], TekLoading.prototype, "zdIndex", void 0);
5485
+ TekLoading = __decorate([
5486
+ Component
5487
+ ], TekLoading);
5488
+ var script$3 = TekLoading;
5489
+
5490
+ /* script */
5491
+ const __vue_script__$3 = script$3;
5492
+
5493
+ /* template */
5494
+ var __vue_render__$3 = function () {
5495
+ var _vm = this;
5496
+ var _h = _vm.$createElement;
5497
+ var _c = _vm._self._c || _h;
5498
+ return _c(
5499
+ "zd-loading",
5500
+ _vm._b(
5501
+ {},
5502
+ "zd-loading",
5503
+ {
5504
+ name: _vm.instance.name,
5505
+ text: _vm.instance.text,
5506
+ image: _vm.instance.image,
5507
+ zIndex: _vm.instance.zIndex,
5508
+ textColor: _vm.textColor,
5509
+ loadingColor: _vm.loadingColor,
5510
+ size: _vm.size,
5511
+ loadingWidth: _vm.loadingWidth,
5512
+ opacity: _vm.opacity,
5513
+ },
5514
+ false
5515
+ )
5516
+ )
5517
+ };
5518
+ var __vue_staticRenderFns__$3 = [];
5519
+ __vue_render__$3._withStripped = true;
5520
+
5521
+ /* style */
5522
+ const __vue_inject_styles__$3 = undefined;
5523
+ /* scoped */
5524
+ const __vue_scope_id__$3 = undefined;
5525
+ /* module identifier */
5526
+ const __vue_module_identifier__$3 = undefined;
5527
+ /* functional template */
5528
+ const __vue_is_functional_template__$3 = false;
5529
+ /* style inject */
5530
+
5531
+ /* style inject SSR */
5532
+
5533
+ /* style inject shadow dom */
5534
+
5535
+
5536
+
5537
+ const __vue_component__$3 = /*#__PURE__*/normalizeComponent(
5538
+ { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },
5539
+ __vue_inject_styles__$3,
5540
+ __vue_script__$3,
5541
+ __vue_scope_id__$3,
5542
+ __vue_is_functional_template__$3,
5543
+ __vue_module_identifier__$3,
5544
+ false,
5545
+ undefined,
5546
+ undefined,
5547
+ undefined
5548
+ );
5549
+
5107
5550
  /**
5108
5551
  * TekNotifications component join an icon, title, rightSlot and a divider
5109
5552
  */
@@ -5126,19 +5569,19 @@ __decorate([
5126
5569
  TekNotifications = __decorate([
5127
5570
  Component
5128
5571
  ], TekNotifications);
5129
- var script$1 = TekNotifications;
5572
+ var script$2 = TekNotifications;
5130
5573
 
5131
5574
  /* script */
5132
- const __vue_script__$1 = script$1;
5575
+ const __vue_script__$2 = script$2;
5133
5576
 
5134
5577
  /* template */
5135
- var __vue_render__$1 = function () {
5578
+ var __vue_render__$2 = function () {
5136
5579
  var _vm = this;
5137
5580
  var _h = _vm.$createElement;
5138
5581
  var _c = _vm._self._c || _h;
5139
5582
  return _c(
5140
5583
  "div",
5141
- { staticClass: "tek-notifications" },
5584
+ { staticClass: "tek-notifications", attrs: { id: _vm.instance.name } },
5142
5585
  [
5143
5586
  _c(
5144
5587
  "tek-card-title",
@@ -5209,34 +5652,34 @@ var __vue_render__$1 = function () {
5209
5652
  1
5210
5653
  )
5211
5654
  };
5212
- var __vue_staticRenderFns__$1 = [];
5213
- __vue_render__$1._withStripped = true;
5655
+ var __vue_staticRenderFns__$2 = [];
5656
+ __vue_render__$2._withStripped = true;
5214
5657
 
5215
5658
  /* style */
5216
- const __vue_inject_styles__$1 = function (inject) {
5659
+ const __vue_inject_styles__$2 = function (inject) {
5217
5660
  if (!inject) return
5218
- inject("data-v-552c53cd_0", { source: ".tek-notifications .tek-card-title .mark-read-text {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n display: inline-block;\n}\n.tek-notifications .tek-card-title .mark-read-text p {\n margin-bottom: 0px;\n}\n.tek-notifications .tek-card-title hr.v-divider {\n margin-bottom: 0px;\n}\n.tek-notifications ul.tek-notifications-list {\n list-style: none;\n padding: 0;\n}\n.tek-notifications ul.tek-notifications-list li {\n border-bottom: solid 1px rgba(0, 0, 0, 0.12);\n color: #667080;\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n line-height: 14px;\n padding: 10px 20px 10px 0;\n position: relative;\n}\n.tek-notifications ul.tek-notifications-list li .tek-notification-subject {\n font-weight: 700;\n}\n.tek-notifications ul.tek-notifications-list li .tek-notification-read-mark {\n width: 10px;\n height: 10px;\n background-color: var(--v-primary-base);\n border-radius: 50%;\n position: absolute;\n right: 2px;\n top: 12px;\n}\n.tek-notifications ul.tek-notifications-list li:last-child {\n border-bottom: none;\n}\n.tek-notifications .tek-notification-show-all {\n text-decoration: none;\n text-align: center;\n padding-top: 10px;\n font-weight: 700;\n display: block;\n border-top: solid 1px rgba(0, 0, 0, 0.12);\n}", map: undefined, media: undefined });
5661
+ inject("data-v-30efacc6_0", { source: ".tek-notifications .tek-card-title .mark-read-text {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n display: inline-block;\n}\n.tek-notifications .tek-card-title .mark-read-text p {\n margin-bottom: 0px;\n}\n.tek-notifications .tek-card-title hr.v-divider {\n margin-bottom: 0px;\n}\n.tek-notifications ul.tek-notifications-list {\n list-style: none;\n padding: 0;\n}\n.tek-notifications ul.tek-notifications-list li {\n border-bottom: solid 1px rgba(0, 0, 0, 0.12);\n color: #667080;\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n line-height: 14px;\n padding: 10px 20px 10px 0;\n position: relative;\n}\n.tek-notifications ul.tek-notifications-list li .tek-notification-subject {\n font-weight: 700;\n}\n.tek-notifications ul.tek-notifications-list li .tek-notification-read-mark {\n width: 10px;\n height: 10px;\n background-color: var(--v-primary-base);\n border-radius: 50%;\n position: absolute;\n right: 2px;\n top: 12px;\n}\n.tek-notifications ul.tek-notifications-list li:last-child {\n border-bottom: none;\n}\n.tek-notifications .tek-notification-show-all {\n text-decoration: none;\n text-align: center;\n padding-top: 10px;\n font-weight: 700;\n display: block;\n border-top: solid 1px rgba(0, 0, 0, 0.12);\n}", map: undefined, media: undefined });
5219
5662
 
5220
5663
  };
5221
5664
  /* scoped */
5222
- const __vue_scope_id__$1 = undefined;
5665
+ const __vue_scope_id__$2 = undefined;
5223
5666
  /* module identifier */
5224
- const __vue_module_identifier__$1 = undefined;
5667
+ const __vue_module_identifier__$2 = undefined;
5225
5668
  /* functional template */
5226
- const __vue_is_functional_template__$1 = false;
5669
+ const __vue_is_functional_template__$2 = false;
5227
5670
  /* style inject SSR */
5228
5671
 
5229
5672
  /* style inject shadow dom */
5230
5673
 
5231
5674
 
5232
5675
 
5233
- const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
5234
- { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
5235
- __vue_inject_styles__$1,
5236
- __vue_script__$1,
5237
- __vue_scope_id__$1,
5238
- __vue_is_functional_template__$1,
5239
- __vue_module_identifier__$1,
5676
+ const __vue_component__$2 = /*#__PURE__*/normalizeComponent(
5677
+ { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
5678
+ __vue_inject_styles__$2,
5679
+ __vue_script__$2,
5680
+ __vue_scope_id__$2,
5681
+ __vue_is_functional_template__$2,
5682
+ __vue_module_identifier__$2,
5240
5683
  false,
5241
5684
  createInjector,
5242
5685
  undefined,
@@ -5302,13 +5745,13 @@ __decorate([
5302
5745
  TekProductCard = __decorate([
5303
5746
  Component
5304
5747
  ], TekProductCard);
5305
- var script = TekProductCard;
5748
+ var script$1 = TekProductCard;
5306
5749
 
5307
5750
  /* script */
5308
- const __vue_script__ = script;
5751
+ const __vue_script__$1 = script$1;
5309
5752
 
5310
5753
  /* template */
5311
- var __vue_render__ = function () {
5754
+ var __vue_render__$1 = function () {
5312
5755
  var _vm = this;
5313
5756
  var _h = _vm.$createElement;
5314
5757
  var _c = _vm._self._c || _h;
@@ -5319,9 +5762,16 @@ var __vue_render__ = function () {
5319
5762
  class: [
5320
5763
  "tek-product-card",
5321
5764
  { "tek-product-card--link": _vm.instance.events.click },
5765
+ {
5766
+ "theme--dark":
5767
+ (_vm.$vuetify.theme.dark && !_vm.instance.light) ||
5768
+ _vm.instance.dark,
5769
+ },
5770
+ { "theme--light": !_vm.$vuetify.theme.dark || _vm.instance.light },
5322
5771
  _vm.instance.cssClass,
5323
5772
  ],
5324
5773
  style: { width: _vm.instance.width },
5774
+ attrs: { id: _vm.instance.name },
5325
5775
  on: {
5326
5776
  click: function ($event) {
5327
5777
  return _vm.click($event)
@@ -5334,6 +5784,8 @@ var __vue_render__ = function () {
5334
5784
  {
5335
5785
  attrs: {
5336
5786
  name: _vm.instance.name,
5787
+ dark: _vm.instance.dark,
5788
+ light: _vm.instance.light,
5337
5789
  elevation: 2,
5338
5790
  to: _vm.instance.to,
5339
5791
  },
@@ -5428,13 +5880,1740 @@ var __vue_render__ = function () {
5428
5880
  )
5429
5881
  : _vm._e()
5430
5882
  };
5883
+ var __vue_staticRenderFns__$1 = [];
5884
+ __vue_render__$1._withStripped = true;
5885
+
5886
+ /* style */
5887
+ const __vue_inject_styles__$1 = function (inject) {
5888
+ if (!inject) return
5889
+ inject("data-v-67ead2c4_0", { source: ".tek-product-card * {\n text-decoration: none;\n}\n.tek-product-card .v-card {\n padding: 0%;\n}\n.tek-product-card .v-card .tek-image-content {\n text-align: center;\n}\n.tek-product-card .v-card .tek-product-card-image-container {\n position: relative;\n}\n.tek-product-card .v-card .tek-product-card-info {\n display: flex;\n flex-direction: column;\n padding: 5px 10px 10px 10px;\n color: var(--zd-font-color);\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-title {\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: 16px;\n line-height: 19px;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-supplier {\n font-size: var(--zd-font-body2-size);\n line-height: 14px;\n color: #c4c4c4;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-footer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-top: 10px;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-footer .tek-product-card-brand {\n font-size: var(--zd-font-body2-size);\n line-height: 14px;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-footer .tek-product-card-price {\n font-weight: var(--zd-font-body4-weight);\n font-size: var(--zd-font-body4-size);\n line-height: 16px;\n}\n.tek-product-card--link .v-card {\n cursor: pointer;\n}", map: undefined, media: undefined });
5890
+
5891
+ };
5892
+ /* scoped */
5893
+ const __vue_scope_id__$1 = undefined;
5894
+ /* module identifier */
5895
+ const __vue_module_identifier__$1 = undefined;
5896
+ /* functional template */
5897
+ const __vue_is_functional_template__$1 = false;
5898
+ /* style inject SSR */
5899
+
5900
+ /* style inject shadow dom */
5901
+
5902
+
5903
+
5904
+ const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
5905
+ { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
5906
+ __vue_inject_styles__$1,
5907
+ __vue_script__$1,
5908
+ __vue_scope_id__$1,
5909
+ __vue_is_functional_template__$1,
5910
+ __vue_module_identifier__$1,
5911
+ false,
5912
+ createInjector,
5913
+ undefined,
5914
+ undefined
5915
+ );
5916
+
5917
+ // eslint-disable-next-line prefer-destructuring
5918
+ const ZdTreeGridEditable = components$1.ZdTreeGridEditable;
5919
+ /**
5920
+ * TekGrid component
5921
+ */
5922
+ let TekGrid = class TekGrid extends ZdTreeGridEditable {
5923
+ constructor() {
5924
+ super(...arguments);
5925
+ this.instanceType = TekTreeGrid;
5926
+ this.debouncedDatasourceGet = debounce((instance) => {
5927
+ if (instance.events.beforeApplyFilter) {
5928
+ instance.events.beforeApplyFilter({ component: instance });
5929
+ }
5930
+ const { datasource } = instance;
5931
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
5932
+ datasource.updateDynamicFilter();
5933
+ }
5934
+ else {
5935
+ datasource.get();
5936
+ }
5937
+ }, 500);
5938
+ this.operationList = '';
5939
+ this.defaultOperation = '';
5940
+ this.defaultRelation = '';
5941
+ this.lastFilter = '';
5942
+ this.tableHeader = null;
5943
+ this.tableBody = null;
5944
+ }
5945
+ mounted() {
5946
+ this.originalChangeLayout = this.instance.changeLayout;
5947
+ this.instance.changeLayout = this.onChangeLayout;
5948
+ this.updateFixedColumns();
5949
+ }
5950
+ minimumColumnWidth(column) {
5951
+ let minWidth = column && column.sortable ? 50 : 34;
5952
+ if (this.instance.columnFilterButton && column && column.filterable) {
5953
+ minWidth += 15;
5954
+ }
5955
+ return minWidth;
5956
+ }
5957
+ onChangeLayout(event, element) {
5958
+ if (this.originalChangeLayout) {
5959
+ this.originalChangeLayout.call(this.instance, event, element);
5960
+ }
5961
+ if (this.instance.showLayoutOptions) {
5962
+ try {
5963
+ const layoutOptions = Metadata.getInstance(`${this.instance.name}_layout_options`);
5964
+ layoutOptions.layoutEdited = true;
5965
+ }
5966
+ catch (_a) {
5967
+ // do nothing
5968
+ }
5969
+ }
5970
+ this.updateFixedColumns();
5971
+ }
5972
+ getFilterActivatorEvents(on, column) {
5973
+ const events = {};
5974
+ Object.keys(on).forEach((eventName) => {
5975
+ events[eventName] = (event) => {
5976
+ this.defaultOperation = 'CONTAINS';
5977
+ this.defaultRelation = 'AND';
5978
+ this.operationList = this.getColumnFilterOptions(column).map((item) => item.operation).join(';');
5979
+ on[eventName](event);
5980
+ };
5981
+ });
5982
+ return events;
5983
+ }
5984
+ getFilterItemChange(prop, column, index) {
5985
+ return this.filterItemChange.bind(this, prop, column, index);
5986
+ }
5987
+ getFilterValueChange(column, index) {
5988
+ return debounce(this.filterValueChange.bind(this, column, index), 1000);
5989
+ }
5990
+ isOperationArrayValues(operation) {
5991
+ return ['IN', 'NOT_IN', 'BETWEEN'].includes(operation);
5992
+ }
5993
+ getComponentType(index) {
5994
+ const operationListArray = this.operationList.split(';');
5995
+ return this.isOperationArrayValues(operationListArray[index]) ? 'ZdTextInput' : '';
5996
+ }
5997
+ getComponentHint(index) {
5998
+ const operationListArray = this.operationList.split(';');
5999
+ return this.isOperationArrayValues(operationListArray[index]) ? 'TEKGRID_MULTIPLE_VALUE_HINT' : '';
6000
+ }
6001
+ filterItemChange(prop, column, index, { component, event, element }) {
6002
+ const { name } = component;
6003
+ const valueInputName = name.replace(`-filter-${prop}-`, '-filter-value-');
6004
+ const valueInput = Metadata.getInstance(valueInputName);
6005
+ const operationListArray = this.operationList.split(';');
6006
+ if (prop === 'operation' && operationListArray[index] !== component.value) {
6007
+ operationListArray[index] = component.value;
6008
+ this.operationList = operationListArray.join(';');
6009
+ }
6010
+ try {
6011
+ valueInput.setFocus();
6012
+ }
6013
+ catch (_a) {
6014
+ // do nothing
6015
+ }
6016
+ const { datasource } = this.instance;
6017
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
6018
+ if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
6019
+ this.lastFilter = JSON.stringify(datasource.dynamicFilter);
6020
+ const { value } = datasource.dynamicFilter[column.name][index];
6021
+ if (prop === 'operation') {
6022
+ if (this.isOperationArrayValues(component.value) && !Array.isArray(value)) {
6023
+ datasource.dynamicFilter[column.name][index].value = [value];
6024
+ }
6025
+ if (!this.isOperationArrayValues(component.value) && Array.isArray(value)) {
6026
+ [datasource.dynamicFilter[column.name][index].value] = value;
6027
+ }
6028
+ }
6029
+ datasource.dynamicFilter[column.name][index][prop] = component.value;
6030
+ if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
6031
+ this.debouncedDatasourceGet(this.instance);
6032
+ this.onChangeLayout(event, element);
6033
+ }
6034
+ }
6035
+ }
6036
+ }
6037
+ convertToDateFormat(column, value, revert) {
6038
+ const dateFormat = column.componentProps.dateFormat || Config.dateFormat;
6039
+ const displayFormat = column.componentProps.displayFormat || Config.displayFormat;
6040
+ if (revert) {
6041
+ if (dayjs(value, displayFormat).isValid() || !dayjs(value, dateFormat).isValid()) {
6042
+ return value;
6043
+ }
6044
+ return dayjs(value, dateFormat).format(displayFormat);
6045
+ }
6046
+ if (dayjs(value, dateFormat).isValid() || !dayjs(value, displayFormat).isValid()) {
6047
+ return value;
6048
+ }
6049
+ return dayjs(value, displayFormat).format(dateFormat);
6050
+ }
6051
+ checkDateValueFormat(column, value, revert = false) {
6052
+ if (['ZdDate', 'ZdDateRange'].includes(column.componentProps.component)) {
6053
+ if (Array.isArray(value)) {
6054
+ return value.map((item) => this.convertToDateFormat(column, item, revert));
6055
+ }
6056
+ return this.convertToDateFormat(column, value, revert);
6057
+ }
6058
+ return value;
6059
+ }
6060
+ filterValueChange(column, index, { component, event, element }) {
6061
+ let { value } = component;
6062
+ const { datasource } = this.instance;
6063
+ if (!(element === null || element === void 0 ? void 0 : element.offsetParent))
6064
+ return;
6065
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
6066
+ this.lastFilter = JSON.stringify(datasource.dynamicFilter);
6067
+ if (value) {
6068
+ if (!datasource.dynamicFilter[column.name]) {
6069
+ datasource.dynamicFilter[column.name] = [];
6070
+ }
6071
+ if (!datasource.dynamicFilter[column.name][index]) {
6072
+ const { name } = component;
6073
+ let relation;
6074
+ if (index > 0) {
6075
+ const relationSelectName = name.replace('-filter-value-', '-filter-relation-');
6076
+ const relationSelect = Metadata.getInstance(relationSelectName);
6077
+ relation = relationSelect.value;
6078
+ }
6079
+ else {
6080
+ relation = 'AND';
6081
+ }
6082
+ const operationSelectName = name.replace('-filter-value-', '-filter-operation-');
6083
+ const operationSelect = Metadata.getInstance(operationSelectName);
6084
+ const operation = operationSelect.value;
6085
+ if (this.isOperationArrayValues(operation)) {
6086
+ value = value.split(';');
6087
+ }
6088
+ value = this.checkDateValueFormat(column, value);
6089
+ datasource.dynamicFilter[column.name].push({
6090
+ relation,
6091
+ operation,
6092
+ value,
6093
+ });
6094
+ }
6095
+ else {
6096
+ if (this.isOperationArrayValues(datasource.dynamicFilter[column.name][index].operation)) {
6097
+ value = value.split(';');
6098
+ }
6099
+ value = this.checkDateValueFormat(column, value);
6100
+ datasource.dynamicFilter[column.name][index].value = value;
6101
+ }
6102
+ }
6103
+ else if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
6104
+ this.defaultOperation = datasource.dynamicFilter[column.name][index].operation;
6105
+ this.defaultRelation = datasource.dynamicFilter[column.name][index].relation;
6106
+ datasource.dynamicFilter[column.name].splice(index, 1);
6107
+ if (datasource.dynamicFilter[column.name].length === 1) {
6108
+ datasource.dynamicFilter[column.name][0].relation = 'AND';
6109
+ }
6110
+ if (!datasource.dynamicFilter[column.name].length) {
6111
+ delete datasource.dynamicFilter[column.name];
6112
+ }
6113
+ }
6114
+ if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
6115
+ this.debouncedDatasourceGet(this.instance);
6116
+ this.onChangeLayout(event, element);
6117
+ this.clearHelperValues(column);
6118
+ }
6119
+ }
6120
+ else {
6121
+ this.lastFilter = JSON.stringify(this.instance.datasource.filter);
6122
+ if (value) {
6123
+ this.instance.datasource.addFilter(column.name, value);
6124
+ }
6125
+ else {
6126
+ this.instance.datasource.removeFilter(column.name);
6127
+ }
6128
+ if (this.lastFilter !== JSON.stringify(this.instance.datasource.filter)) {
6129
+ this.debouncedDatasourceGet(this.instance);
6130
+ this.onChangeLayout(event, element);
6131
+ this.clearHelperValues(column);
6132
+ }
6133
+ }
6134
+ }
6135
+ clearHelperValues(column) {
6136
+ if (!Array.isArray(column.filterProps)) {
6137
+ column.filterProps.helperValue = '';
6138
+ }
6139
+ else {
6140
+ column.filterProps.forEach((prop) => {
6141
+ prop.helperValue = '';
6142
+ });
6143
+ }
6144
+ }
6145
+ getColumnFilterOptions(column) {
6146
+ const filterOptions = [];
6147
+ const { datasource } = this.instance;
6148
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
6149
+ const dynamicFilter = datasource.dynamicFilter[column.name];
6150
+ if (dynamicFilter && dynamicFilter.length > 0) {
6151
+ dynamicFilter.forEach((item) => {
6152
+ let { value } = item;
6153
+ if (this.isOperationArrayValues(item.operation) && Array.isArray(value)) {
6154
+ value = this.checkDateValueFormat(column, value, true);
6155
+ value = value.join(';');
6156
+ }
6157
+ filterOptions.push(Object.assign(Object.assign({}, item), { value }));
6158
+ });
6159
+ }
6160
+ filterOptions.push({
6161
+ operation: this.defaultOperation,
6162
+ relation: this.defaultRelation,
6163
+ value: '',
6164
+ });
6165
+ }
6166
+ else {
6167
+ const option = {
6168
+ operation: undefined,
6169
+ relation: undefined,
6170
+ value: this.instance.datasource.filter[column.name] || '',
6171
+ };
6172
+ filterOptions.push(option);
6173
+ }
6174
+ return filterOptions;
6175
+ }
6176
+ isCurrentRow(row) {
6177
+ const { uniqueKey, currentRow } = this.instance.datasource;
6178
+ return !!((row[uniqueKey] && row[uniqueKey] === currentRow[uniqueKey]));
6179
+ }
6180
+ getVisibleData() {
6181
+ this.scrollData.visibleData = this.instance.datasource.data;
6182
+ return this.scrollData.visibleData;
6183
+ }
6184
+ getData() {
6185
+ if (!this.instance.virtualScroll || !this.scrollData.initialized) {
6186
+ return this.instance.treeDataStructure.searchHasNoData ? [] : this.instance.treeDataStructure.treeData;
6187
+ }
6188
+ return this.renderedData;
6189
+ }
6190
+ rowClick(row, event) {
6191
+ this.instance.rowClick(row, event, this.$el);
6192
+ }
6193
+ orderHeaders(headers) {
6194
+ return headers.sort((a, b) => {
6195
+ if (a.fixed === b.fixed)
6196
+ return 0;
6197
+ if (!a.fixed && b.fixed)
6198
+ return 1;
6199
+ return -1;
6200
+ }).filter((item) => item instanceof TekGridColumn);
6201
+ }
6202
+ updateFixedColumns() {
6203
+ if (this.instance.columns.filter((column) => column.fixed).length === 0)
6204
+ return;
6205
+ if (!this.tableHeader) {
6206
+ this.tableHeader = this.$el.querySelector('table thead tr');
6207
+ this.tableBody = this.$el.querySelector('table tbody');
6208
+ if (!this.tableHeader || !this.tableBody)
6209
+ return;
6210
+ }
6211
+ const headerColumns = Array.from(this.tableHeader.querySelectorAll('th'));
6212
+ let left = this.instance.selectable ? 40 : 0;
6213
+ headerColumns.forEach((column) => {
6214
+ const name = column.getAttribute('column-name');
6215
+ if (name && column.classList.contains('zd-table-fixed-column')) {
6216
+ column.style.left = `${left}px`;
6217
+ left += column.clientWidth;
6218
+ }
6219
+ });
6220
+ }
6221
+ getFixedLeft(column) {
6222
+ if (!column.fixed)
6223
+ return 'unset';
6224
+ const headerElement = this.$refs[`column-${column.name}`];
6225
+ if (!headerElement)
6226
+ return 'unset';
6227
+ return headerElement[0].style.left;
6228
+ }
6229
+ };
6230
+ __decorate([
6231
+ Prop({ type: [String], default: '' }),
6232
+ __metadata("design:type", String)
6233
+ ], TekGrid.prototype, "title", void 0);
6234
+ __decorate([
6235
+ Prop({ type: [Boolean, String], default: false }),
6236
+ __metadata("design:type", Object)
6237
+ ], TekGrid.prototype, "addButton", void 0);
6238
+ __decorate([
6239
+ Prop({ type: [String], default: 'none' }),
6240
+ __metadata("design:type", String)
6241
+ ], TekGrid.prototype, "deleteButton", void 0);
6242
+ __decorate([
6243
+ Prop({ type: [Boolean, String], default: false }),
6244
+ __metadata("design:type", Object)
6245
+ ], TekGrid.prototype, "columnsButton", void 0);
6246
+ __decorate([
6247
+ Prop({ type: [Array, String], default: () => [] }),
6248
+ __metadata("design:type", Object)
6249
+ ], TekGrid.prototype, "columnsButtonIgnore", void 0);
6250
+ __decorate([
6251
+ Prop({ type: [Boolean, String], default: false }),
6252
+ __metadata("design:type", Object)
6253
+ ], TekGrid.prototype, "filterButton", void 0);
6254
+ __decorate([
6255
+ Prop({ type: [Boolean, String], default: false }),
6256
+ __metadata("design:type", Object)
6257
+ ], TekGrid.prototype, "columnFilterButton", void 0);
6258
+ __decorate([
6259
+ Prop({ type: [Array], default: () => [] }),
6260
+ __metadata("design:type", Array)
6261
+ ], TekGrid.prototype, "actions", void 0);
6262
+ __decorate([
6263
+ Prop({ type: [String, Boolean], default: true }),
6264
+ __metadata("design:type", Object)
6265
+ ], TekGrid.prototype, "dragColumns", void 0);
6266
+ __decorate([
6267
+ Prop({ type: [String, Boolean], default: true }),
6268
+ __metadata("design:type", Object)
6269
+ ], TekGrid.prototype, "resizeColumns", void 0);
6270
+ __decorate([
6271
+ Prop({ type: [String, Boolean], default: true }),
6272
+ __metadata("design:type", Object)
6273
+ ], TekGrid.prototype, "showLayoutOptions", void 0);
6274
+ __decorate([
6275
+ Prop({ type: [String, Boolean], default: false }),
6276
+ __metadata("design:type", Object)
6277
+ ], TekGrid.prototype, "showExport", void 0);
6278
+ __decorate([
6279
+ Prop({ type: [String, Boolean], default: true }),
6280
+ __metadata("design:type", Object)
6281
+ ], TekGrid.prototype, "showReload", void 0);
6282
+ __decorate([
6283
+ Prop({ type: [String, Array] }),
6284
+ __metadata("design:type", Array)
6285
+ ], TekGrid.prototype, "exportConfig", void 0);
6286
+ __decorate([
6287
+ Prop({ type: [Array] }),
6288
+ __metadata("design:type", Array)
6289
+ ], TekGrid.prototype, "exportActions", void 0);
6290
+ __decorate([
6291
+ Prop({
6292
+ type: Array,
6293
+ default: () => undefined,
6294
+ }),
6295
+ __metadata("design:type", Array)
6296
+ ], TekGrid.prototype, "toolbarSlot", void 0);
6297
+ TekGrid = __decorate([
6298
+ Component
6299
+ ], TekGrid);
6300
+ var script = TekGrid;
6301
+
6302
+ /* script */
6303
+ const __vue_script__ = script;
6304
+
6305
+ /* template */
6306
+ var __vue_render__ = function () {
6307
+ var _vm = this;
6308
+ var _h = _vm.$createElement;
6309
+ var _c = _vm._self._c || _h;
6310
+ return _c("v-data-table", {
6311
+ directives: [
6312
+ {
6313
+ name: "show",
6314
+ rawName: "v-show",
6315
+ value: _vm.instance.isVisible,
6316
+ expression: "instance.isVisible",
6317
+ },
6318
+ ],
6319
+ ref: "grid",
6320
+ class: [
6321
+ "zd-grid",
6322
+ "zd-tree-grid-editable",
6323
+ "tek-grid",
6324
+ "tek-tree-grid",
6325
+ _vm.instance.cssClass,
6326
+ { "zd-grid-flex": _vm.instance.gridHeight || _vm.instance.gridMaxHeight },
6327
+ ],
6328
+ style: [_vm.cssColorVars, _vm.instance.cssStyle],
6329
+ attrs: {
6330
+ id: _vm.instance.name,
6331
+ "fixed-header": "",
6332
+ "disable-pagination": "",
6333
+ "hide-default-header": "",
6334
+ "hide-default-footer": "",
6335
+ name: _vm.instance.name,
6336
+ headers: _vm.instance.columns,
6337
+ items: _vm.getData(),
6338
+ search: _vm.instance.datasource.search,
6339
+ "show-select": _vm.instance.selectable,
6340
+ dense: _vm.instance.dense,
6341
+ loading: _vm.instance.datasource.loading,
6342
+ "item-key": _vm.instance.datasource.uniqueKey,
6343
+ dark: _vm.instance.dark,
6344
+ light: _vm.instance.light,
6345
+ "disable-sort": "",
6346
+ "disable-filtering": "",
6347
+ tabindex: "0",
6348
+ },
6349
+ on: {
6350
+ "current-items": function ($event) {
6351
+ return _vm.changeData($event)
6352
+ },
6353
+ },
6354
+ scopedSlots: _vm._u(
6355
+ [
6356
+ {
6357
+ key: "top",
6358
+ fn: function () {
6359
+ return [
6360
+ !_vm.$slots.toolbarSlot
6361
+ ? [
6362
+ _c("zd-grid-top", {
6363
+ ref: "treeGridTopSlot",
6364
+ attrs: {
6365
+ name: _vm.instance.name + "_top",
6366
+ toolbarSlot: _vm.instance.toolbarSlot,
6367
+ instance: _vm.instance,
6368
+ },
6369
+ }),
6370
+ ]
6371
+ : _vm._e(),
6372
+ _vm._v(" "),
6373
+ _vm._t("toolbarSlot"),
6374
+ _vm._v(" "),
6375
+ _c("span", {
6376
+ ref: "gridTooltip",
6377
+ staticClass: "zd-grid-cell-tooltip",
6378
+ }),
6379
+ ]
6380
+ },
6381
+ proxy: true,
6382
+ },
6383
+ _vm.instance.showHeader
6384
+ ? {
6385
+ key: "header",
6386
+ fn: function (ref) {
6387
+ var props = ref.props;
6388
+ var on = ref.on;
6389
+ return [
6390
+ _c("thead", { staticClass: "zd-grid-table-header" }, [
6391
+ _c(
6392
+ "tr",
6393
+ [
6394
+ _vm.instance.selectable
6395
+ ? _c(
6396
+ "th",
6397
+ {
6398
+ staticClass:
6399
+ "zd-table-cell selectable zd-table-fixed-column",
6400
+ style:
6401
+ "background-color: " +
6402
+ _vm.instance.headerBackground,
6403
+ },
6404
+ [
6405
+ _c("v-checkbox", {
6406
+ staticClass: "zd-grid-header-checkbox",
6407
+ attrs: {
6408
+ "hide-details": "",
6409
+ color: "primary",
6410
+ disabled: _vm.instance.editing,
6411
+ "on-icon": _vm.$getIcon("checkboxOn"),
6412
+ "off-icon": _vm.$getIcon("checkboxOff"),
6413
+ "indeterminate-icon": _vm.$getIcon(
6414
+ "checkboxIndeterminate"
6415
+ ),
6416
+ value: props.everyItem,
6417
+ indeterminate:
6418
+ !props.everyItem && props.someItems,
6419
+ },
6420
+ on: {
6421
+ click: function ($event) {
6422
+ $event.stopPropagation();
6423
+ on["toggle-select-all"](!props.everyItem);
6424
+ _vm.selectAllClick(
6425
+ !props.everyItem,
6426
+ $event
6427
+ );
6428
+ },
6429
+ },
6430
+ }),
6431
+ ],
6432
+ 1
6433
+ )
6434
+ : _vm._e(),
6435
+ _vm._v(" "),
6436
+ _vm._l(
6437
+ _vm.orderHeaders(props.headers),
6438
+ function (column, index) {
6439
+ return [
6440
+ column.isVisible
6441
+ ? _c(
6442
+ "th",
6443
+ {
6444
+ key: column.name,
6445
+ ref: "column-" + column.name,
6446
+ refInFor: true,
6447
+ class: [
6448
+ "zd-table-cell",
6449
+ "column-th-" +
6450
+ column.name +
6451
+ "-" +
6452
+ _vm.instance.name,
6453
+ {
6454
+ sortable: column.sortable,
6455
+ sortHandle: _vm.instance.dragColumns,
6456
+ "zd-table-fixed-column": column.fixed,
6457
+ },
6458
+ "text-" + column.align,
6459
+ _vm.instance.datasource.getOrderByColumn(
6460
+ column.name
6461
+ ),
6462
+ _vm.instance.datasource.getOrderByColumn(
6463
+ column.name
6464
+ ) !== null
6465
+ ? "active"
6466
+ : "",
6467
+ ],
6468
+ style: {
6469
+ "background-color":
6470
+ _vm.instance.headerBackground,
6471
+ "min-width":
6472
+ _vm.calcWidth(
6473
+ column,
6474
+ column.minWidth
6475
+ ) || "unset",
6476
+ "max-width":
6477
+ _vm.calcWidth(
6478
+ column,
6479
+ column.maxWidth
6480
+ ) || "unset",
6481
+ },
6482
+ attrs: {
6483
+ "column-name": column.name,
6484
+ index: index,
6485
+ },
6486
+ on: {
6487
+ click: function ($event) {
6488
+ return _vm.instance.changeColumnOrder(
6489
+ column
6490
+ )
6491
+ },
6492
+ },
6493
+ },
6494
+ [
6495
+ _c(
6496
+ "span",
6497
+ {
6498
+ staticClass: "zd-table-header-cell",
6499
+ style: {
6500
+ width:
6501
+ _vm.calcHeaderCellWidth(column),
6502
+ },
6503
+ },
6504
+ [
6505
+ column.type !== "action"
6506
+ ? [
6507
+ column.sortable &&
6508
+ column.align === "right"
6509
+ ? _c(
6510
+ "span",
6511
+ {
6512
+ staticClass:
6513
+ "zd-table-cell-sort",
6514
+ },
6515
+ [
6516
+ column.sortable &&
6517
+ column.align === "right"
6518
+ ? _c(
6519
+ "v-icon",
6520
+ {
6521
+ staticClass:
6522
+ "zd-table-cell-sort-icon",
6523
+ attrs: {
6524
+ small: "",
6525
+ },
6526
+ },
6527
+ [
6528
+ _vm._v(
6529
+ _vm._s(
6530
+ _vm.$getIcon(
6531
+ "chevronUp"
6532
+ )
6533
+ )
6534
+ ),
6535
+ ]
6536
+ )
6537
+ : _vm._e(),
6538
+ _vm._v(" "),
6539
+ _vm.instance.datasource.findOrderIndex(
6540
+ column.name
6541
+ ) >= 0
6542
+ ? _c(
6543
+ "span",
6544
+ {
6545
+ staticClass:
6546
+ "zd-table-cell-sort-order left",
6547
+ },
6548
+ [
6549
+ _vm._v(
6550
+ _vm._s(
6551
+ _vm.instance.datasource.findOrderIndex(
6552
+ column.name
6553
+ ) + 1
6554
+ )
6555
+ ),
6556
+ ]
6557
+ )
6558
+ : _vm._e(),
6559
+ ],
6560
+ 1
6561
+ )
6562
+ : _vm._e(),
6563
+ _vm._v(" "),
6564
+ _c(
6565
+ "span",
6566
+ {
6567
+ class: [
6568
+ "zd-table-cell-name",
6569
+ {
6570
+ "overflow-hidden":
6571
+ column.overflow ===
6572
+ "hidden",
6573
+ "overflow-wrap":
6574
+ column.overflow ===
6575
+ "wrap",
6576
+ },
6577
+ !isNaN(column.overflow)
6578
+ ? "overflow-clamp overflow-clamp-" +
6579
+ column.overflow
6580
+ : "",
6581
+ ],
6582
+ style: {
6583
+ "min-width":
6584
+ _vm.calcWidth(
6585
+ column,
6586
+ column.minWidth
6587
+ ) || "unset",
6588
+ "max-width":
6589
+ _vm.calcWidth(
6590
+ column,
6591
+ column.maxWidth
6592
+ ) || "unset",
6593
+ },
6594
+ on: {
6595
+ mouseenter: function (
6596
+ $event
6597
+ ) {
6598
+ return _vm.checkOverflow(
6599
+ $event
6600
+ )
6601
+ },
6602
+ mouseleave: function (
6603
+ $event
6604
+ ) {
6605
+ return _vm.removeTooltip()
6606
+ },
6607
+ },
6608
+ },
6609
+ [
6610
+ _vm._v(
6611
+ _vm._s(
6612
+ _vm.$t(column.label)
6613
+ )
6614
+ ),
6615
+ ]
6616
+ ),
6617
+ _vm._v(" "),
6618
+ column.sortable &&
6619
+ column.align !== "right"
6620
+ ? _c(
6621
+ "span",
6622
+ {
6623
+ staticClass:
6624
+ "zd-table-cell-sort",
6625
+ },
6626
+ [
6627
+ column.sortable &&
6628
+ column.align !== "right"
6629
+ ? _c(
6630
+ "v-icon",
6631
+ {
6632
+ staticClass:
6633
+ "zd-table-cell-sort-icon",
6634
+ attrs: {
6635
+ small: "",
6636
+ },
6637
+ },
6638
+ [
6639
+ _vm._v(
6640
+ _vm._s(
6641
+ _vm.$getIcon(
6642
+ "chevronUp"
6643
+ )
6644
+ )
6645
+ ),
6646
+ ]
6647
+ )
6648
+ : _vm._e(),
6649
+ _vm._v(" "),
6650
+ _vm.instance.datasource.findOrderIndex(
6651
+ column.name
6652
+ ) >= 0
6653
+ ? _c(
6654
+ "span",
6655
+ {
6656
+ staticClass:
6657
+ "zd-table-cell-sort-order",
6658
+ },
6659
+ [
6660
+ _vm._v(
6661
+ _vm._s(
6662
+ _vm.instance.datasource.findOrderIndex(
6663
+ column.name
6664
+ ) + 1
6665
+ )
6666
+ ),
6667
+ ]
6668
+ )
6669
+ : _vm._e(),
6670
+ ],
6671
+ 1
6672
+ )
6673
+ : _vm._e(),
6674
+ ]
6675
+ : [
6676
+ _c(
6677
+ "span",
6678
+ {
6679
+ staticClass:
6680
+ "zd-table-cell-name",
6681
+ },
6682
+ [
6683
+ _vm._v(
6684
+ _vm._s(
6685
+ _vm.$t(column.label)
6686
+ )
6687
+ ),
6688
+ ]
6689
+ ),
6690
+ ],
6691
+ _vm._v(" "),
6692
+ _vm.instance.columnFilterButton &&
6693
+ column.filterable
6694
+ ? _c(
6695
+ "span",
6696
+ {
6697
+ class: [
6698
+ "tek-grid-column-filter-button",
6699
+ {
6700
+ "has-filter-data":
6701
+ _vm.instance.columnHasFilterData(
6702
+ column
6703
+ ),
6704
+ },
6705
+ ],
6706
+ },
6707
+ [
6708
+ _c(
6709
+ "v-menu",
6710
+ {
6711
+ attrs: {
6712
+ "offset-overflow": "",
6713
+ "offset-y": "",
6714
+ "min-width": 200,
6715
+ transition:
6716
+ "scale-transition",
6717
+ "content-class":
6718
+ "tek-grid-column-filter-menu",
6719
+ "close-on-content-click": false,
6720
+ },
6721
+ scopedSlots: _vm._u(
6722
+ [
6723
+ {
6724
+ key: "activator",
6725
+ fn: function (ref) {
6726
+ var on = ref.on;
6727
+ return [
6728
+ _c(
6729
+ "v-icon",
6730
+ _vm._g(
6731
+ {},
6732
+ Object.assign(
6733
+ {},
6734
+ _vm.getFilterActivatorEvents(
6735
+ on,
6736
+ column
6737
+ )
6738
+ )
6739
+ ),
6740
+ [
6741
+ _vm._v(
6742
+ _vm._s(
6743
+ _vm.$getIcon(
6744
+ "filter"
6745
+ )
6746
+ )
6747
+ ),
6748
+ ]
6749
+ ),
6750
+ ]
6751
+ },
6752
+ },
6753
+ ],
6754
+ null,
6755
+ true
6756
+ ),
6757
+ },
6758
+ [
6759
+ _vm._v(" "),
6760
+ _vm._l(
6761
+ _vm.getColumnFilterOptions(
6762
+ column
6763
+ ),
6764
+ function (
6765
+ item,
6766
+ filterIndex
6767
+ ) {
6768
+ return _c(
6769
+ "span",
6770
+ {
6771
+ key: filterIndex,
6772
+ },
6773
+ [
6774
+ filterIndex > 0
6775
+ ? _c(
6776
+ "zd-radio",
6777
+ _vm._b(
6778
+ {
6779
+ attrs: {
6780
+ name:
6781
+ _vm
6782
+ .instance
6783
+ .name +
6784
+ "-" +
6785
+ column.name +
6786
+ "-filter-relation-" +
6787
+ filterIndex,
6788
+ },
6789
+ },
6790
+ "zd-radio",
6791
+ {
6792
+ showLabel: false,
6793
+ showHelper: false,
6794
+ vertical: false,
6795
+ cssClass:
6796
+ "zd-mb-2",
6797
+ datasource:
6798
+ _vm
6799
+ .instance
6800
+ .filterRelationsDatasource,
6801
+ dataValue:
6802
+ "value",
6803
+ dataLabel:
6804
+ "text",
6805
+ value:
6806
+ item.relation,
6807
+ events:
6808
+ {
6809
+ change:
6810
+ _vm.getFilterItemChange(
6811
+ "relation",
6812
+ column,
6813
+ filterIndex
6814
+ ),
6815
+ },
6816
+ },
6817
+ false
6818
+ )
6819
+ )
6820
+ : _vm._e(),
6821
+ _vm._v(" "),
6822
+ item.operation !==
6823
+ undefined
6824
+ ? _c(
6825
+ "zd-select",
6826
+ _vm._b(
6827
+ {
6828
+ attrs: {
6829
+ name:
6830
+ _vm
6831
+ .instance
6832
+ .name +
6833
+ "-" +
6834
+ column.name +
6835
+ "-filter-operation-" +
6836
+ filterIndex,
6837
+ },
6838
+ },
6839
+ "zd-select",
6840
+ {
6841
+ autocomplete: false,
6842
+ showLabel: false,
6843
+ showHelper: false,
6844
+ clearable: false,
6845
+ cssClass:
6846
+ "zd-mb-2",
6847
+ datasource:
6848
+ _vm
6849
+ .instance
6850
+ .filterOperationsDatasource,
6851
+ dataValue:
6852
+ "value",
6853
+ dataText:
6854
+ "text",
6855
+ value:
6856
+ item.operation,
6857
+ events:
6858
+ {
6859
+ change:
6860
+ _vm.getFilterItemChange(
6861
+ "operation",
6862
+ column,
6863
+ filterIndex
6864
+ ),
6865
+ },
6866
+ },
6867
+ false
6868
+ )
6869
+ )
6870
+ : _vm._e(),
6871
+ _vm._v(" "),
6872
+ _c(
6873
+ _vm.getComponentType(
6874
+ filterIndex
6875
+ ) ||
6876
+ column
6877
+ .componentProps
6878
+ .component,
6879
+ _vm._b(
6880
+ {
6881
+ tag: "component",
6882
+ attrs: {
6883
+ name:
6884
+ _vm
6885
+ .instance
6886
+ .name +
6887
+ "-" +
6888
+ column.name +
6889
+ "-filter-value-" +
6890
+ filterIndex,
6891
+ },
6892
+ },
6893
+ "component",
6894
+ Object.assign(
6895
+ {},
6896
+ column.componentProps,
6897
+ {
6898
+ showLabel: false,
6899
+ showHelper: true,
6900
+ autofill: false,
6901
+ cssClass:
6902
+ "zd-mb-2",
6903
+ value:
6904
+ item.value,
6905
+ persistentHint: true,
6906
+ hint: _vm.getComponentHint(
6907
+ filterIndex
6908
+ ),
6909
+ events: {
6910
+ input:
6911
+ _vm.getFilterValueChange(
6912
+ column,
6913
+ filterIndex
6914
+ ),
6915
+ change:
6916
+ _vm.getFilterValueChange(
6917
+ column,
6918
+ filterIndex
6919
+ ),
6920
+ },
6921
+ }
6922
+ ),
6923
+ false
6924
+ )
6925
+ ),
6926
+ ],
6927
+ 1
6928
+ )
6929
+ }
6930
+ ),
6931
+ ],
6932
+ 2
6933
+ ),
6934
+ ],
6935
+ 1
6936
+ )
6937
+ : _vm._e(),
6938
+ _vm._v(" "),
6939
+ _vm.instance.resizeColumns
6940
+ ? _c(
6941
+ "span",
6942
+ {
6943
+ staticClass:
6944
+ "zd-grid-resize-handle",
6945
+ on: {
6946
+ mousedown: function (
6947
+ $event
6948
+ ) {
6949
+ return _vm.resizeMouseDownHandler(
6950
+ column,
6951
+ $event
6952
+ )
6953
+ },
6954
+ click:
6955
+ _vm.resizeClickHandler,
6956
+ },
6957
+ },
6958
+ [_vm._v("‖")]
6959
+ )
6960
+ : _vm._e(),
6961
+ ],
6962
+ 2
6963
+ ),
6964
+ ]
6965
+ )
6966
+ : _vm._e(),
6967
+ ]
6968
+ }
6969
+ ),
6970
+ ],
6971
+ 2
6972
+ ),
6973
+ ]),
6974
+ ]
6975
+ },
6976
+ }
6977
+ : null,
6978
+ _vm.instance.virtualScroll && _vm.scrollData.start > 0
6979
+ ? {
6980
+ key: "body.prepend",
6981
+ fn: function (ref) {
6982
+ var headers = ref.headers;
6983
+ return [
6984
+ _c("tr", [
6985
+ _c("td", {
6986
+ style: "padding-top:" + _vm.scrollData.startHeight + "px",
6987
+ attrs: { colspan: headers.length },
6988
+ }),
6989
+ ]),
6990
+ ]
6991
+ },
6992
+ }
6993
+ : null,
6994
+ _vm.instance.virtualScroll &&
6995
+ _vm.scrollData.start + _vm.scrollData.perPage <
6996
+ (_vm.scrollData.visibleData || []).length
6997
+ ? {
6998
+ key: "body.append",
6999
+ fn: function (ref) {
7000
+ var headers = ref.headers;
7001
+ return [
7002
+ _c("tr", [
7003
+ _c("td", {
7004
+ style: "padding-top:" + _vm.scrollData.endHeight + "px",
7005
+ attrs: { colspan: headers.length },
7006
+ }),
7007
+ ]),
7008
+ ]
7009
+ },
7010
+ }
7011
+ : null,
7012
+ _vm.instance.treeDataStructure.treeData.length
7013
+ ? {
7014
+ key: "item",
7015
+ fn: function (ref) {
7016
+ var item = ref.item;
7017
+ var isSelected = ref.isSelected;
7018
+ var index = ref.index;
7019
+ var headers = ref.headers;
7020
+ return [
7021
+ _c(
7022
+ "tr",
7023
+ {
7024
+ directives: [
7025
+ {
7026
+ name: "show",
7027
+ rawName: "v-show",
7028
+ value: _vm.instance.treeDataStructure.isOpened(item),
7029
+ expression:
7030
+ "instance.treeDataStructure.isOpened(item)",
7031
+ },
7032
+ ],
7033
+ class: {
7034
+ active: isSelected,
7035
+ current: _vm.isCurrentRow(item),
7036
+ },
7037
+ on: {
7038
+ click: function ($event) {
7039
+ return _vm.rowClick(item, $event)
7040
+ },
7041
+ },
7042
+ },
7043
+ [
7044
+ _vm.instance.selectable
7045
+ ? _c(
7046
+ "td",
7047
+ {
7048
+ staticClass:
7049
+ "zd-table-cell selectable zd-table-fixed-column",
7050
+ },
7051
+ [
7052
+ _c("v-checkbox", {
7053
+ staticClass: "zd-grid-row-checkbox",
7054
+ attrs: {
7055
+ "hide-details": "",
7056
+ color: "primary",
7057
+ disabled: _vm.instance.editing,
7058
+ "on-icon": _vm.$getIcon("checkboxOn"),
7059
+ "off-icon": _vm.$getIcon("checkboxOff"),
7060
+ "true-value": true,
7061
+ "false-value": false,
7062
+ value: isSelected,
7063
+ },
7064
+ on: {
7065
+ click: function ($event) {
7066
+ $event.stopPropagation();
7067
+ return _vm.selectClick(
7068
+ index,
7069
+ !isSelected,
7070
+ $event
7071
+ )
7072
+ },
7073
+ },
7074
+ }),
7075
+ ],
7076
+ 1
7077
+ )
7078
+ : _vm._e(),
7079
+ _vm._v(" "),
7080
+ _vm._l(
7081
+ _vm.orderHeaders(headers),
7082
+ function (header, headerIndex) {
7083
+ return [
7084
+ _vm._l(
7085
+ [
7086
+ {
7087
+ column: header,
7088
+ cellProps: (_vm.instance.cellsApplied[
7089
+ _vm.rowKey(item)
7090
+ ] || {})[header.name],
7091
+ },
7092
+ ],
7093
+ function (ref) {
7094
+ var column = ref.column;
7095
+ var cellProps = ref.cellProps;
7096
+ return [
7097
+ column.isVisible && column.type !== "action"
7098
+ ? [
7099
+ _c(
7100
+ "td",
7101
+ {
7102
+ key: column.name,
7103
+ class: [
7104
+ "zd-table-cell",
7105
+ "text-" + column.align,
7106
+ Object.assign(
7107
+ {},
7108
+ column,
7109
+ cellProps
7110
+ ).cssClass,
7111
+ { first: headerIndex === 0 },
7112
+ {
7113
+ "zd-table-column-editable":
7114
+ column.editable,
7115
+ "zd-table-cell-editable":
7116
+ Object.assign(
7117
+ {},
7118
+ column,
7119
+ cellProps
7120
+ ).editable,
7121
+ "zd-table-fixed-column":
7122
+ column.fixed,
7123
+ },
7124
+ ],
7125
+ style: [
7126
+ Object.assign(
7127
+ {},
7128
+ column,
7129
+ cellProps
7130
+ ).style,
7131
+ Object.assign(
7132
+ {},
7133
+ column,
7134
+ cellProps
7135
+ ).cssStyle,
7136
+ {
7137
+ left: _vm.getFixedLeft(column),
7138
+ },
7139
+ ],
7140
+ on: {
7141
+ click: function ($event) {
7142
+ return _vm.cellClick(
7143
+ item,
7144
+ column,
7145
+ $event
7146
+ )
7147
+ },
7148
+ },
7149
+ },
7150
+ [
7151
+ column.loading
7152
+ ? _c("v-skeleton-loader", {
7153
+ staticClass:
7154
+ "zd-skeleton-table-cell",
7155
+ attrs: {
7156
+ loading: "",
7157
+ type: "table-cell",
7158
+ },
7159
+ })
7160
+ : _vm._e(),
7161
+ _vm._v(" "),
7162
+ Object.assign({}, column, cellProps)
7163
+ .editable && _vm.instance.editing
7164
+ ? _c(
7165
+ "span",
7166
+ {
7167
+ directives: [
7168
+ {
7169
+ name: "show",
7170
+ rawName: "v-show",
7171
+ value: !column.loading,
7172
+ expression:
7173
+ "!column.loading",
7174
+ },
7175
+ ],
7176
+ staticClass:
7177
+ "zd-table-cell-inline-edit",
7178
+ style: {
7179
+ width:
7180
+ _vm.calcWidth(
7181
+ column,
7182
+ column.maxWidth ||
7183
+ column.minWidth
7184
+ ) || "unset",
7185
+ "min-width":
7186
+ _vm.calcWidth(
7187
+ column,
7188
+ column.minWidth
7189
+ ) || "unset",
7190
+ "max-width":
7191
+ _vm.calcWidth(
7192
+ column,
7193
+ column.maxWidth
7194
+ ) || "unset",
7195
+ },
7196
+ },
7197
+ [
7198
+ _vm.instance.isEdited(
7199
+ column,
7200
+ item
7201
+ )
7202
+ ? _c(
7203
+ "span",
7204
+ {
7205
+ staticClass:
7206
+ "zd-table-cell-edit-icon",
7207
+ },
7208
+ [
7209
+ _vm.instance.isValid(
7210
+ column,
7211
+ item
7212
+ )
7213
+ ? _c(
7214
+ "v-icon",
7215
+ {
7216
+ attrs: {
7217
+ color:
7218
+ "primary",
7219
+ },
7220
+ },
7221
+ [
7222
+ _vm._v(
7223
+ _vm._s(
7224
+ _vm.$getIcon(
7225
+ "pencil"
7226
+ )
7227
+ )
7228
+ ),
7229
+ ]
7230
+ )
7231
+ : _c(
7232
+ "v-icon",
7233
+ {
7234
+ attrs: {
7235
+ color:
7236
+ "error",
7237
+ },
7238
+ },
7239
+ [
7240
+ _vm._v(
7241
+ _vm._s(
7242
+ _vm.$getIcon(
7243
+ "warning"
7244
+ )
7245
+ )
7246
+ ),
7247
+ ]
7248
+ ),
7249
+ ],
7250
+ 1
7251
+ )
7252
+ : _vm._e(),
7253
+ _vm._v(" "),
7254
+ _c(
7255
+ column.componentProps
7256
+ .component,
7257
+ _vm._b(
7258
+ {
7259
+ key:
7260
+ column.name +
7261
+ _vm.rowKey(item),
7262
+ tag: "component",
7263
+ },
7264
+ "component",
7265
+ _vm.getEditableComponent(
7266
+ column,
7267
+ item,
7268
+ cellProps
7269
+ ),
7270
+ false
7271
+ )
7272
+ ),
7273
+ ],
7274
+ 1
7275
+ )
7276
+ : _vm.hasToggleIcon(column, item)
7277
+ ? _c(
7278
+ "span",
7279
+ [
7280
+ _c("v-icon", [
7281
+ _vm._v(
7282
+ _vm._s(
7283
+ _vm.$getIcon(
7284
+ column.formatterByRow(
7285
+ item,
7286
+ cellProps
7287
+ )
7288
+ )
7289
+ )
7290
+ ),
7291
+ ]),
7292
+ ],
7293
+ 1
7294
+ )
7295
+ : _c(
7296
+ "span",
7297
+ {
7298
+ directives: [
7299
+ {
7300
+ name: "show",
7301
+ rawName: "v-show",
7302
+ value: !column.loading,
7303
+ expression:
7304
+ "!column.loading",
7305
+ },
7306
+ ],
7307
+ class: [
7308
+ "zd-table-cell-text",
7309
+ {
7310
+ "zd-table-cell-text-editable":
7311
+ Object.assign(
7312
+ {},
7313
+ column,
7314
+ cellProps
7315
+ ).editable,
7316
+ "overflow-hidden":
7317
+ column.overflow ===
7318
+ "hidden",
7319
+ "overflow-wrap":
7320
+ column.overflow ===
7321
+ "wrap",
7322
+ },
7323
+ !isNaN(column.overflow)
7324
+ ? "overflow-clamp overflow-clamp-" +
7325
+ column.overflow
7326
+ : "",
7327
+ ],
7328
+ style: {
7329
+ width:
7330
+ _vm.calcWidth(
7331
+ column,
7332
+ column.maxWidth ||
7333
+ column.minWidth
7334
+ ) || "unset",
7335
+ "min-width":
7336
+ _vm.calcWidth(
7337
+ column,
7338
+ column.minWidth
7339
+ ) || "unset",
7340
+ "max-width":
7341
+ _vm.calcWidth(
7342
+ column,
7343
+ column.maxWidth
7344
+ ) || "unset",
7345
+ },
7346
+ on: {
7347
+ mouseenter: function (
7348
+ $event
7349
+ ) {
7350
+ return _vm.checkOverflow(
7351
+ $event
7352
+ )
7353
+ },
7354
+ mouseleave: function (
7355
+ $event
7356
+ ) {
7357
+ return _vm.removeTooltip()
7358
+ },
7359
+ },
7360
+ },
7361
+ [
7362
+ _c(
7363
+ "div",
7364
+ {
7365
+ directives: [
7366
+ {
7367
+ name: "show",
7368
+ rawName: "v-show",
7369
+ value:
7370
+ headerIndex === 0,
7371
+ expression:
7372
+ "headerIndex === 0",
7373
+ },
7374
+ ],
7375
+ class: [
7376
+ "zd-tree-grid-editable-expand",
7377
+ "level" +
7378
+ item.tree__level,
7379
+ ],
7380
+ },
7381
+ [
7382
+ item.tree__children
7383
+ .length > 0
7384
+ ? _c(
7385
+ "v-icon",
7386
+ {
7387
+ class: {
7388
+ opened:
7389
+ item.tree__opened,
7390
+ },
7391
+ attrs: {
7392
+ tabindex:
7393
+ "-1",
7394
+ },
7395
+ on: {
7396
+ click:
7397
+ function (
7398
+ $event
7399
+ ) {
7400
+ return _vm.instance.toggleExpand(
7401
+ item,
7402
+ index
7403
+ )
7404
+ },
7405
+ },
7406
+ },
7407
+ [
7408
+ _vm._v(
7409
+ "\n " +
7410
+ _vm._s(
7411
+ _vm.$getIcon(
7412
+ "chevronRight"
7413
+ )
7414
+ ) +
7415
+ "\n "
7416
+ ),
7417
+ ]
7418
+ )
7419
+ : _vm._e(),
7420
+ ],
7421
+ 1
7422
+ ),
7423
+ _vm._v(" "),
7424
+ _c("span", {
7425
+ key: item.tree__searched
7426
+ ? "a"
7427
+ : "b",
7428
+ domProps: {
7429
+ innerHTML: _vm._s(
7430
+ _vm.formatSearchResult(
7431
+ column.formatterByRow(
7432
+ item,
7433
+ cellProps
7434
+ )
7435
+ )
7436
+ ),
7437
+ },
7438
+ }),
7439
+ ]
7440
+ ),
7441
+ ],
7442
+ 1
7443
+ ),
7444
+ ]
7445
+ : column.isVisible &&
7446
+ column.type === "action"
7447
+ ? [
7448
+ _c(
7449
+ "td",
7450
+ {
7451
+ key: column.name,
7452
+ class: [
7453
+ "zd-table-cell",
7454
+ "text-" + column.align,
7455
+ Object.assign(
7456
+ {},
7457
+ column,
7458
+ cellProps
7459
+ ).cssClass,
7460
+ ],
7461
+ style: [
7462
+ Object.assign(
7463
+ {},
7464
+ column,
7465
+ cellProps
7466
+ ).style,
7467
+ Object.assign(
7468
+ {},
7469
+ column,
7470
+ cellProps
7471
+ ).cssStyle,
7472
+ ],
7473
+ on: {
7474
+ click: function ($event) {
7475
+ return _vm.cellClick(
7476
+ item,
7477
+ column,
7478
+ $event
7479
+ )
7480
+ },
7481
+ },
7482
+ },
7483
+ _vm._l(
7484
+ column.childrenProps,
7485
+ function (child) {
7486
+ return _c(
7487
+ child.component,
7488
+ _vm._b(
7489
+ {
7490
+ key:
7491
+ child.name +
7492
+ _vm.rowKey(item),
7493
+ tag: "component",
7494
+ },
7495
+ "component",
7496
+ Object.assign(
7497
+ {},
7498
+ child,
7499
+ _vm.instance.getActionComponent(
7500
+ child,
7501
+ column,
7502
+ item
7503
+ )
7504
+ ),
7505
+ false
7506
+ )
7507
+ )
7508
+ }
7509
+ ),
7510
+ 1
7511
+ ),
7512
+ ]
7513
+ : _vm._e(),
7514
+ ]
7515
+ }
7516
+ ),
7517
+ ]
7518
+ }
7519
+ ),
7520
+ ],
7521
+ 2
7522
+ ),
7523
+ ]
7524
+ },
7525
+ }
7526
+ : null,
7527
+ {
7528
+ key: "no-data",
7529
+ fn: function () {
7530
+ return [
7531
+ _c("zd-iterable-no-data", {
7532
+ ref: "gridNoData",
7533
+ attrs: {
7534
+ name: _vm.instance.name + "_no_data",
7535
+ instance: _vm.instance,
7536
+ noDataSlot: _vm.instance.noDataSlot,
7537
+ noResultSlot: _vm.instance.noResultSlot,
7538
+ errorSlot: _vm.instance.errorSlot,
7539
+ empty: !_vm.getData().length,
7540
+ },
7541
+ scopedSlots: _vm._u(
7542
+ [
7543
+ {
7544
+ key: "errorSlot",
7545
+ fn: function () {
7546
+ return [_vm._t("errorSlot")]
7547
+ },
7548
+ proxy: true,
7549
+ },
7550
+ {
7551
+ key: "noResultSlot",
7552
+ fn: function () {
7553
+ return [_vm._t("noResultSlot")]
7554
+ },
7555
+ proxy: true,
7556
+ },
7557
+ {
7558
+ key: "noDataSlot",
7559
+ fn: function () {
7560
+ return [_vm._t("noDataSlot")]
7561
+ },
7562
+ proxy: true,
7563
+ },
7564
+ ],
7565
+ null,
7566
+ true
7567
+ ),
7568
+ }),
7569
+ ]
7570
+ },
7571
+ proxy: true,
7572
+ },
7573
+ _vm.instance.showFooter
7574
+ ? {
7575
+ key: "footer",
7576
+ fn: function () {
7577
+ return [
7578
+ !_vm.$slots.footerSlot
7579
+ ? [
7580
+ _c("zd-grid-footer", {
7581
+ ref: "gridFooter",
7582
+ attrs: {
7583
+ name: _vm.instance.name + "_footer",
7584
+ instance: _vm.instance,
7585
+ footerSlot: _vm.instance.footerSlot,
7586
+ },
7587
+ }),
7588
+ ]
7589
+ : _vm._e(),
7590
+ _vm._v(" "),
7591
+ _vm._t("footerSlot"),
7592
+ ]
7593
+ },
7594
+ proxy: true,
7595
+ }
7596
+ : null,
7597
+ ],
7598
+ null,
7599
+ true
7600
+ ),
7601
+ model: {
7602
+ value: _vm.instance.selectedRows,
7603
+ callback: function ($$v) {
7604
+ _vm.$set(_vm.instance, "selectedRows", $$v);
7605
+ },
7606
+ expression: "instance.selectedRows",
7607
+ },
7608
+ })
7609
+ };
5431
7610
  var __vue_staticRenderFns__ = [];
5432
7611
  __vue_render__._withStripped = true;
5433
7612
 
5434
7613
  /* style */
5435
7614
  const __vue_inject_styles__ = function (inject) {
5436
7615
  if (!inject) return
5437
- inject("data-v-541eabd6_0", { source: ".tek-product-card * {\n text-decoration: none;\n}\n.tek-product-card .v-card {\n padding: 0%;\n}\n.tek-product-card .v-card .tek-image-content {\n text-align: center;\n}\n.tek-product-card .v-card .tek-product-card-image-container {\n position: relative;\n}\n.tek-product-card .v-card .tek-product-card-info {\n display: flex;\n flex-direction: column;\n padding: 5px 10px 10px 10px;\n color: var(--zd-font-color);\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-title {\n white-space: nowrap;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: 16px;\n line-height: 19px;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-supplier {\n font-size: var(--zd-font-body2-size);\n line-height: 14px;\n color: #c4c4c4;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-footer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-top: 10px;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-footer .tek-product-card-brand {\n font-size: var(--zd-font-body2-size);\n line-height: 14px;\n}\n.tek-product-card .v-card .tek-product-card-info .tek-product-card-footer .tek-product-card-price {\n font-weight: var(--zd-font-body4-weight);\n font-size: var(--zd-font-body4-size);\n line-height: 16px;\n}\n.tek-product-card--link .v-card {\n cursor: pointer;\n}", map: undefined, media: undefined });
7616
+ inject("data-v-097f1242_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}\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 });
5438
7617
 
5439
7618
  };
5440
7619
  /* scoped */
@@ -5463,21 +7642,23 @@ __vue_render__._withStripped = true;
5463
7642
  );
5464
7643
 
5465
7644
  const components = {
5466
- TekBreadcrumbHeader: __vue_component__$e,
5467
- TekCardTitle: __vue_component__$d,
5468
- TekCrudAddButton: __vue_component__$c,
5469
- TekCrudCancelButton: __vue_component__$b,
5470
- TekCrudDeleteButton: __vue_component__$a,
5471
- TekCrudForm: __vue_component__$9,
5472
- TekCrudSaveButton: __vue_component__$8,
5473
- TekGrid: __vue_component__$7,
5474
- TekGridColumnsButton: __vue_component__$6,
5475
- TekGridLayoutOptions: __vue_component__$5,
5476
- TekImage: __vue_component__$4,
5477
- TekProductCard: __vue_component__,
5478
- TekIterableComponentRender: __vue_component__$2,
5479
- TekIterableCarousel: __vue_component__$3,
5480
- TekNotifications: __vue_component__$1,
7645
+ TekBreadcrumbHeader: __vue_component__$g,
7646
+ TekCardTitle: __vue_component__$f,
7647
+ TekCrudAddButton: __vue_component__$e,
7648
+ TekCrudCancelButton: __vue_component__$d,
7649
+ TekCrudDeleteButton: __vue_component__$c,
7650
+ TekCrudForm: __vue_component__$b,
7651
+ TekCrudSaveButton: __vue_component__$a,
7652
+ TekGrid: __vue_component__$9,
7653
+ TekGridColumnsButton: __vue_component__$8,
7654
+ TekGridLayoutOptions: __vue_component__$7,
7655
+ TekImage: __vue_component__$6,
7656
+ TekProductCard: __vue_component__$1,
7657
+ TekIterableComponentRender: __vue_component__$4,
7658
+ TekIterableCarousel: __vue_component__$5,
7659
+ TekLoading: __vue_component__$3,
7660
+ TekNotifications: __vue_component__$2,
7661
+ TekTreeGrid: __vue_component__,
5481
7662
  };
5482
7663
 
5483
7664
  Icons.addIcons({
@@ -5498,4 +7679,4 @@ const TeknisaComponents = {
5498
7679
  },
5499
7680
  };
5500
7681
 
5501
- export { script$e as TekBreadcrumbHeader, script$d as TekCardTitle, script$c as TekCrudAddButton, script$b as TekCrudCancelButton, script$a as TekCrudDeleteButton, script$9 as TekCrudForm, script$8 as TekCrudSaveButton, script$7 as TekGrid, script$6 as TekGridColumnsButton, script$5 as TekGridLayoutOptions, script$4 as TekImage, script$2 as TekIterableComponentRender, script as TekProductCard, TeknisaComponents as default };
7682
+ export { script$g as TekBreadcrumbHeader, script$f as TekCardTitle, script$e as TekCrudAddButton, script$d as TekCrudCancelButton, script$c as TekCrudDeleteButton, script$b as TekCrudForm, script$a as TekCrudSaveButton, script$9 as TekGrid, script$8 as TekGridColumnsButton, script$7 as TekGridLayoutOptions, script$6 as TekImage, script$4 as TekIterableComponentRender, script$1 as TekProductCard, script as TekTreeGrid, TeknisaComponents as default };