@zeedhi/teknisa-components-vuetify 1.38.0 → 1.42.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,8 +1,8 @@
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, TekGridColumn, TekFilterHelper, 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
8
  import cloneDeep from 'lodash.clonedeep';
@@ -57,7 +57,7 @@ __decorate([
57
57
  TekBreadcrumbHeader = __decorate([
58
58
  Component
59
59
  ], TekBreadcrumbHeader);
60
- var script$e = TekBreadcrumbHeader;
60
+ var script$g = TekBreadcrumbHeader;
61
61
 
62
62
  function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
63
63
  if (typeof shadowMode !== 'boolean') {
@@ -188,20 +188,25 @@ function addStyle(id, css) {
188
188
  }
189
189
 
190
190
  /* script */
191
- const __vue_script__$e = script$e;
191
+ const __vue_script__$g = script$g;
192
192
 
193
193
  /* template */
194
- var __vue_render__$e = function () {
194
+ var __vue_render__$g = function () {
195
195
  var _vm = this;
196
196
  var _h = _vm.$createElement;
197
197
  var _c = _vm._self._c || _h;
198
198
  return _c(
199
199
  "div",
200
- { staticClass: "tek-breadcrumb-header" },
200
+ { staticClass: "tek-breadcrumb-header", attrs: { id: _vm.instance.name } },
201
201
  [
202
202
  _c(
203
203
  "zd-breadcrumbs",
204
- _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
+ )
205
210
  ),
206
211
  _vm._v(" "),
207
212
  _c(
@@ -257,34 +262,34 @@ var __vue_render__$e = function () {
257
262
  1
258
263
  )
259
264
  };
260
- var __vue_staticRenderFns__$e = [];
261
- __vue_render__$e._withStripped = true;
265
+ var __vue_staticRenderFns__$g = [];
266
+ __vue_render__$g._withStripped = true;
262
267
 
263
268
  /* style */
264
- const __vue_inject_styles__$e = function (inject) {
269
+ const __vue_inject_styles__$g = function (inject) {
265
270
  if (!inject) return
266
- 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 });
267
272
 
268
273
  };
269
274
  /* scoped */
270
- const __vue_scope_id__$e = undefined;
275
+ const __vue_scope_id__$g = undefined;
271
276
  /* module identifier */
272
- const __vue_module_identifier__$e = undefined;
277
+ const __vue_module_identifier__$g = undefined;
273
278
  /* functional template */
274
- const __vue_is_functional_template__$e = false;
279
+ const __vue_is_functional_template__$g = false;
275
280
  /* style inject SSR */
276
281
 
277
282
  /* style inject shadow dom */
278
283
 
279
284
 
280
285
 
281
- const __vue_component__$e = /*#__PURE__*/normalizeComponent(
282
- { render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },
283
- __vue_inject_styles__$e,
284
- __vue_script__$e,
285
- __vue_scope_id__$e,
286
- __vue_is_functional_template__$e,
287
- __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,
288
293
  false,
289
294
  createInjector,
290
295
  undefined,
@@ -327,19 +332,22 @@ __decorate([
327
332
  TekCardTitle = __decorate([
328
333
  Component
329
334
  ], TekCardTitle);
330
- var script$d = TekCardTitle;
335
+ var script$f = TekCardTitle;
331
336
 
332
337
  /* script */
333
- const __vue_script__$d = script$d;
338
+ const __vue_script__$f = script$f;
334
339
 
335
340
  /* template */
336
- var __vue_render__$d = function () {
341
+ var __vue_render__$f = function () {
337
342
  var _vm = this;
338
343
  var _h = _vm.$createElement;
339
344
  var _c = _vm._self._c || _h;
340
345
  return _c(
341
346
  "div",
342
- { class: ["tek-card-title", _vm.instance.cssClass] },
347
+ {
348
+ class: ["tek-card-title", _vm.instance.cssClass],
349
+ attrs: { id: _vm.instance.name },
350
+ },
343
351
  [
344
352
  _c(
345
353
  "div",
@@ -430,34 +438,34 @@ var __vue_render__$d = function () {
430
438
  1
431
439
  )
432
440
  };
433
- var __vue_staticRenderFns__$d = [];
434
- __vue_render__$d._withStripped = true;
441
+ var __vue_staticRenderFns__$f = [];
442
+ __vue_render__$f._withStripped = true;
435
443
 
436
444
  /* style */
437
- const __vue_inject_styles__$d = function (inject) {
445
+ const __vue_inject_styles__$f = function (inject) {
438
446
  if (!inject) return
439
- 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 });
440
448
 
441
449
  };
442
450
  /* scoped */
443
- const __vue_scope_id__$d = undefined;
451
+ const __vue_scope_id__$f = undefined;
444
452
  /* module identifier */
445
- const __vue_module_identifier__$d = undefined;
453
+ const __vue_module_identifier__$f = undefined;
446
454
  /* functional template */
447
- const __vue_is_functional_template__$d = false;
455
+ const __vue_is_functional_template__$f = false;
448
456
  /* style inject SSR */
449
457
 
450
458
  /* style inject shadow dom */
451
459
 
452
460
 
453
461
 
454
- const __vue_component__$d = /*#__PURE__*/normalizeComponent(
455
- { render: __vue_render__$d, staticRenderFns: __vue_staticRenderFns__$d },
456
- __vue_inject_styles__$d,
457
- __vue_script__$d,
458
- __vue_scope_id__$d,
459
- __vue_is_functional_template__$d,
460
- __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,
461
469
  false,
462
470
  createInjector,
463
471
  undefined,
@@ -530,13 +538,13 @@ __decorate([
530
538
  TekCrudAddButton = __decorate([
531
539
  Component
532
540
  ], TekCrudAddButton);
533
- var script$c = TekCrudAddButton;
541
+ var script$e = TekCrudAddButton;
534
542
 
535
543
  /* script */
536
- const __vue_script__$c = script$c;
544
+ const __vue_script__$e = script$e;
537
545
 
538
546
  /* template */
539
- var __vue_render__$c = function () {
547
+ var __vue_render__$e = function () {
540
548
  var _vm = this;
541
549
  var _h = _vm.$createElement;
542
550
  var _c = _vm._self._c || _h;
@@ -552,7 +560,7 @@ var __vue_render__$c = function () {
552
560
  return [
553
561
  _c(
554
562
  "span",
555
- _vm._g({}, on),
563
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
556
564
  [
557
565
  _c("zd-button", {
558
566
  attrs: {
@@ -601,17 +609,17 @@ var __vue_render__$c = function () {
601
609
  ]
602
610
  )
603
611
  };
604
- var __vue_staticRenderFns__$c = [];
605
- __vue_render__$c._withStripped = true;
612
+ var __vue_staticRenderFns__$e = [];
613
+ __vue_render__$e._withStripped = true;
606
614
 
607
615
  /* style */
608
- const __vue_inject_styles__$c = undefined;
616
+ const __vue_inject_styles__$e = undefined;
609
617
  /* scoped */
610
- const __vue_scope_id__$c = undefined;
618
+ const __vue_scope_id__$e = undefined;
611
619
  /* module identifier */
612
- const __vue_module_identifier__$c = undefined;
620
+ const __vue_module_identifier__$e = undefined;
613
621
  /* functional template */
614
- const __vue_is_functional_template__$c = false;
622
+ const __vue_is_functional_template__$e = false;
615
623
  /* style inject */
616
624
 
617
625
  /* style inject SSR */
@@ -620,13 +628,13 @@ __vue_render__$c._withStripped = true;
620
628
 
621
629
 
622
630
 
623
- const __vue_component__$c = /*#__PURE__*/normalizeComponent(
624
- { render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
625
- __vue_inject_styles__$c,
626
- __vue_script__$c,
627
- __vue_scope_id__$c,
628
- __vue_is_functional_template__$c,
629
- __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,
630
638
  false,
631
639
  undefined,
632
640
  undefined,
@@ -657,13 +665,13 @@ __decorate([
657
665
  TekCrudCancelButton = __decorate([
658
666
  Component
659
667
  ], TekCrudCancelButton);
660
- var script$b = TekCrudCancelButton;
668
+ var script$d = TekCrudCancelButton;
661
669
 
662
670
  /* script */
663
- const __vue_script__$b = script$b;
671
+ const __vue_script__$d = script$d;
664
672
 
665
673
  /* template */
666
- var __vue_render__$b = function () {
674
+ var __vue_render__$d = function () {
667
675
  var _vm = this;
668
676
  var _h = _vm.$createElement;
669
677
  var _c = _vm._self._c || _h;
@@ -679,7 +687,7 @@ var __vue_render__$b = function () {
679
687
  return [
680
688
  _c(
681
689
  "span",
682
- _vm._g({}, on),
690
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
683
691
  [
684
692
  _c("zd-button", {
685
693
  attrs: {
@@ -728,17 +736,17 @@ var __vue_render__$b = function () {
728
736
  ]
729
737
  )
730
738
  };
731
- var __vue_staticRenderFns__$b = [];
732
- __vue_render__$b._withStripped = true;
739
+ var __vue_staticRenderFns__$d = [];
740
+ __vue_render__$d._withStripped = true;
733
741
 
734
742
  /* style */
735
- const __vue_inject_styles__$b = undefined;
743
+ const __vue_inject_styles__$d = undefined;
736
744
  /* scoped */
737
- const __vue_scope_id__$b = undefined;
745
+ const __vue_scope_id__$d = undefined;
738
746
  /* module identifier */
739
- const __vue_module_identifier__$b = undefined;
747
+ const __vue_module_identifier__$d = undefined;
740
748
  /* functional template */
741
- const __vue_is_functional_template__$b = false;
749
+ const __vue_is_functional_template__$d = false;
742
750
  /* style inject */
743
751
 
744
752
  /* style inject SSR */
@@ -747,13 +755,13 @@ __vue_render__$b._withStripped = true;
747
755
 
748
756
 
749
757
 
750
- const __vue_component__$b = /*#__PURE__*/normalizeComponent(
751
- { render: __vue_render__$b, staticRenderFns: __vue_staticRenderFns__$b },
752
- __vue_inject_styles__$b,
753
- __vue_script__$b,
754
- __vue_scope_id__$b,
755
- __vue_is_functional_template__$b,
756
- __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,
757
765
  false,
758
766
  undefined,
759
767
  undefined,
@@ -792,13 +800,13 @@ __decorate([
792
800
  TekCrudDeleteButton = __decorate([
793
801
  Component
794
802
  ], TekCrudDeleteButton);
795
- var script$a = TekCrudDeleteButton;
803
+ var script$c = TekCrudDeleteButton;
796
804
 
797
805
  /* script */
798
- const __vue_script__$a = script$a;
806
+ const __vue_script__$c = script$c;
799
807
 
800
808
  /* template */
801
- var __vue_render__$a = function () {
809
+ var __vue_render__$c = function () {
802
810
  var _vm = this;
803
811
  var _h = _vm.$createElement;
804
812
  var _c = _vm._self._c || _h;
@@ -814,7 +822,7 @@ var __vue_render__$a = function () {
814
822
  return [
815
823
  _c(
816
824
  "span",
817
- _vm._g({}, on),
825
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
818
826
  [
819
827
  _c("zd-button", {
820
828
  attrs: {
@@ -863,17 +871,17 @@ var __vue_render__$a = function () {
863
871
  ]
864
872
  )
865
873
  };
866
- var __vue_staticRenderFns__$a = [];
867
- __vue_render__$a._withStripped = true;
874
+ var __vue_staticRenderFns__$c = [];
875
+ __vue_render__$c._withStripped = true;
868
876
 
869
877
  /* style */
870
- const __vue_inject_styles__$a = undefined;
878
+ const __vue_inject_styles__$c = undefined;
871
879
  /* scoped */
872
- const __vue_scope_id__$a = undefined;
880
+ const __vue_scope_id__$c = undefined;
873
881
  /* module identifier */
874
- const __vue_module_identifier__$a = undefined;
882
+ const __vue_module_identifier__$c = undefined;
875
883
  /* functional template */
876
- const __vue_is_functional_template__$a = false;
884
+ const __vue_is_functional_template__$c = false;
877
885
  /* style inject */
878
886
 
879
887
  /* style inject SSR */
@@ -882,13 +890,13 @@ __vue_render__$a._withStripped = true;
882
890
 
883
891
 
884
892
 
885
- const __vue_component__$a = /*#__PURE__*/normalizeComponent(
886
- { render: __vue_render__$a, staticRenderFns: __vue_staticRenderFns__$a },
887
- __vue_inject_styles__$a,
888
- __vue_script__$a,
889
- __vue_scope_id__$a,
890
- __vue_is_functional_template__$a,
891
- __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,
892
900
  false,
893
901
  undefined,
894
902
  undefined,
@@ -907,13 +915,13 @@ let TekCrudForm = class TekCrudForm extends ZdForm {
907
915
  TekCrudForm = __decorate([
908
916
  Component
909
917
  ], TekCrudForm);
910
- var script$9 = TekCrudForm;
918
+ var script$b = TekCrudForm;
911
919
 
912
920
  /* script */
913
- const __vue_script__$9 = script$9;
921
+ const __vue_script__$b = script$b;
914
922
 
915
923
  /* template */
916
- var __vue_render__$9 = function () {
924
+ var __vue_render__$b = function () {
917
925
  var _vm = this;
918
926
  var _h = _vm.$createElement;
919
927
  var _c = _vm._self._c || _h;
@@ -930,7 +938,7 @@ var __vue_render__$9 = function () {
930
938
  ],
931
939
  ref: "form",
932
940
  class: ["tek-crud-form", _vm.instance.cssClass],
933
- attrs: { name: _vm.instance.name, tabindex: "0" },
941
+ attrs: { id: _vm.instance.name, name: _vm.instance.name, tabindex: "0" },
934
942
  on: {
935
943
  submit: function ($event) {
936
944
  $event.preventDefault();
@@ -987,34 +995,34 @@ var __vue_render__$9 = function () {
987
995
  2
988
996
  )
989
997
  };
990
- var __vue_staticRenderFns__$9 = [];
991
- __vue_render__$9._withStripped = true;
998
+ var __vue_staticRenderFns__$b = [];
999
+ __vue_render__$b._withStripped = true;
992
1000
 
993
1001
  /* style */
994
- const __vue_inject_styles__$9 = function (inject) {
1002
+ const __vue_inject_styles__$b = function (inject) {
995
1003
  if (!inject) return
996
- 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 });
997
1005
 
998
1006
  };
999
1007
  /* scoped */
1000
- const __vue_scope_id__$9 = undefined;
1008
+ const __vue_scope_id__$b = undefined;
1001
1009
  /* module identifier */
1002
- const __vue_module_identifier__$9 = undefined;
1010
+ const __vue_module_identifier__$b = undefined;
1003
1011
  /* functional template */
1004
- const __vue_is_functional_template__$9 = false;
1012
+ const __vue_is_functional_template__$b = false;
1005
1013
  /* style inject SSR */
1006
1014
 
1007
1015
  /* style inject shadow dom */
1008
1016
 
1009
1017
 
1010
1018
 
1011
- const __vue_component__$9 = /*#__PURE__*/normalizeComponent(
1012
- { render: __vue_render__$9, staticRenderFns: __vue_staticRenderFns__$9 },
1013
- __vue_inject_styles__$9,
1014
- __vue_script__$9,
1015
- __vue_scope_id__$9,
1016
- __vue_is_functional_template__$9,
1017
- __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,
1018
1026
  false,
1019
1027
  createInjector,
1020
1028
  undefined,
@@ -1041,13 +1049,13 @@ __decorate([
1041
1049
  TekCrudSaveButton = __decorate([
1042
1050
  Component
1043
1051
  ], TekCrudSaveButton);
1044
- var script$8 = TekCrudSaveButton;
1052
+ var script$a = TekCrudSaveButton;
1045
1053
 
1046
1054
  /* script */
1047
- const __vue_script__$8 = script$8;
1055
+ const __vue_script__$a = script$a;
1048
1056
 
1049
1057
  /* template */
1050
- var __vue_render__$8 = function () {
1058
+ var __vue_render__$a = function () {
1051
1059
  var _vm = this;
1052
1060
  var _h = _vm.$createElement;
1053
1061
  var _c = _vm._self._c || _h;
@@ -1063,7 +1071,7 @@ var __vue_render__$8 = function () {
1063
1071
  return [
1064
1072
  _c(
1065
1073
  "span",
1066
- _vm._g({}, on),
1074
+ _vm._g({ attrs: { id: _vm.instance.name } }, on),
1067
1075
  [
1068
1076
  _c("zd-button", {
1069
1077
  attrs: {
@@ -1112,17 +1120,17 @@ var __vue_render__$8 = function () {
1112
1120
  ]
1113
1121
  )
1114
1122
  };
1115
- var __vue_staticRenderFns__$8 = [];
1116
- __vue_render__$8._withStripped = true;
1123
+ var __vue_staticRenderFns__$a = [];
1124
+ __vue_render__$a._withStripped = true;
1117
1125
 
1118
1126
  /* style */
1119
- const __vue_inject_styles__$8 = undefined;
1127
+ const __vue_inject_styles__$a = undefined;
1120
1128
  /* scoped */
1121
- const __vue_scope_id__$8 = undefined;
1129
+ const __vue_scope_id__$a = undefined;
1122
1130
  /* module identifier */
1123
- const __vue_module_identifier__$8 = undefined;
1131
+ const __vue_module_identifier__$a = undefined;
1124
1132
  /* functional template */
1125
- const __vue_is_functional_template__$8 = false;
1133
+ const __vue_is_functional_template__$a = false;
1126
1134
  /* style inject */
1127
1135
 
1128
1136
  /* style inject SSR */
@@ -1131,13 +1139,13 @@ __vue_render__$8._withStripped = true;
1131
1139
 
1132
1140
 
1133
1141
 
1134
- const __vue_component__$8 = /*#__PURE__*/normalizeComponent(
1135
- { render: __vue_render__$8, staticRenderFns: __vue_staticRenderFns__$8 },
1136
- __vue_inject_styles__$8,
1137
- __vue_script__$8,
1138
- __vue_scope_id__$8,
1139
- __vue_is_functional_template__$8,
1140
- __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,
1141
1149
  false,
1142
1150
  undefined,
1143
1151
  undefined,
@@ -1149,10 +1157,14 @@ const ZdGridEditable = components$1.ZdGridEditable;
1149
1157
  /**
1150
1158
  * TekGrid component
1151
1159
  */
1152
- let TekGrid = class TekGrid extends ZdGridEditable {
1160
+ let TekGrid$1 = class TekGrid extends ZdGridEditable {
1153
1161
  constructor() {
1154
1162
  super(...arguments);
1155
- this.instanceType = TekGrid$1;
1163
+ this.instanceType = TekGrid$2;
1164
+ /**
1165
+ * Left distance for each column
1166
+ */
1167
+ this.fixedLeft = {};
1156
1168
  this.debouncedDatasourceGet = debounce((instance) => {
1157
1169
  if (instance.events.beforeApplyFilter) {
1158
1170
  instance.events.beforeApplyFilter({ component: instance });
@@ -1199,7 +1211,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1199
1211
  // do nothing
1200
1212
  }
1201
1213
  }
1202
- this.updateFixedColumns();
1214
+ setTimeout(this.updateFixedColumns);
1203
1215
  }
1204
1216
  getFilterActivatorEvents(on, column) {
1205
1217
  const events = {};
@@ -1217,16 +1229,18 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1217
1229
  return this.filterItemChange.bind(this, prop, column, index);
1218
1230
  }
1219
1231
  getFilterValueChange(column, index) {
1220
- 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);
1221
1236
  }
1222
1237
  getComponentType(index) {
1223
- this.operationList.split(';');
1224
1238
  const operationListArray = this.operationList.split(';');
1225
- return ['IN', 'NOT_IN', 'BETWEEN'].includes(operationListArray[index]) ? 'ZdTextInput' : '';
1239
+ return this.isOperationArrayValues(operationListArray[index]) ? 'ZdTextInput' : '';
1226
1240
  }
1227
1241
  getComponentHint(index) {
1228
1242
  const operationListArray = this.operationList.split(';');
1229
- return ['IN', 'NOT_IN', 'BETWEEN'].includes(operationListArray[index]) ? 'TEKGRID_MULTIPLE_VALUE_HINT' : '';
1243
+ return this.isOperationArrayValues(operationListArray[index]) ? 'TEKGRID_MULTIPLE_VALUE_HINT' : '';
1230
1244
  }
1231
1245
  filterItemChange(prop, column, index, { component, event, element }) {
1232
1246
  const { name } = component;
@@ -1247,6 +1261,15 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1247
1261
  if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
1248
1262
  if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
1249
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
+ }
1250
1273
  datasource.dynamicFilter[column.name][index][prop] = component.value;
1251
1274
  if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
1252
1275
  this.debouncedDatasourceGet(this.instance);
@@ -1255,8 +1278,31 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1255
1278
  }
1256
1279
  }
1257
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;
1287
+ }
1288
+ return dayjs(value, dateFormat).format(displayFormat);
1289
+ }
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;
1303
+ }
1258
1304
  filterValueChange(column, index, { component, event, element }) {
1259
- const { value } = component;
1305
+ let { value } = component;
1260
1306
  const { datasource } = this.instance;
1261
1307
  if (!(element === null || element === void 0 ? void 0 : element.offsetParent))
1262
1308
  return;
@@ -1280,6 +1326,10 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1280
1326
  const operationSelectName = name.replace('-filter-value-', '-filter-operation-');
1281
1327
  const operationSelect = Metadata.getInstance(operationSelectName);
1282
1328
  const operation = operationSelect.value;
1329
+ if (this.isOperationArrayValues(operation)) {
1330
+ value = value.split(';');
1331
+ }
1332
+ value = this.checkDateValueFormat(column, value);
1283
1333
  datasource.dynamicFilter[column.name].push({
1284
1334
  relation,
1285
1335
  operation,
@@ -1287,6 +1337,10 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1287
1337
  });
1288
1338
  }
1289
1339
  else {
1340
+ if (this.isOperationArrayValues(datasource.dynamicFilter[column.name][index].operation)) {
1341
+ value = value.split(';');
1342
+ }
1343
+ value = this.checkDateValueFormat(column, value);
1290
1344
  datasource.dynamicFilter[column.name][index].value = value;
1291
1345
  }
1292
1346
  }
@@ -1339,7 +1393,12 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1339
1393
  const dynamicFilter = datasource.dynamicFilter[column.name];
1340
1394
  if (dynamicFilter && dynamicFilter.length > 0) {
1341
1395
  dynamicFilter.forEach((item) => {
1342
- 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 }));
1343
1402
  });
1344
1403
  }
1345
1404
  filterOptions.push({
@@ -1398,7 +1457,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1398
1457
  if (!a.fixed && b.fixed)
1399
1458
  return 1;
1400
1459
  return -1;
1401
- });
1460
+ }).filter((item) => item instanceof TekGridColumn);
1402
1461
  }
1403
1462
  updateFixedColumns() {
1404
1463
  if (this.instance.columns.filter((column) => column.fixed).length === 0)
@@ -1415,104 +1474,163 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1415
1474
  const name = column.getAttribute('column-name');
1416
1475
  if (name && column.classList.contains('zd-table-fixed-column')) {
1417
1476
  column.style.left = `${left}px`;
1477
+ this.$set(this.fixedLeft, name, column.style.left);
1418
1478
  left += column.clientWidth;
1419
1479
  }
1420
1480
  });
1421
1481
  }
1422
- getFixedLeft(column) {
1423
- if (!column.fixed)
1424
- return 'unset';
1425
- const headerElement = this.$refs[`column-${column.name}`];
1426
- if (!headerElement)
1427
- return 'unset';
1428
- 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
+ }
1429
1547
  }
1430
1548
  };
1431
1549
  __decorate([
1432
1550
  Prop({ type: [String], default: '' }),
1433
1551
  __metadata("design:type", String)
1434
- ], TekGrid.prototype, "title", void 0);
1552
+ ], TekGrid$1.prototype, "title", void 0);
1435
1553
  __decorate([
1436
1554
  Prop({ type: [Boolean, String], default: false }),
1437
1555
  __metadata("design:type", Object)
1438
- ], TekGrid.prototype, "addButton", void 0);
1556
+ ], TekGrid$1.prototype, "addButton", void 0);
1439
1557
  __decorate([
1440
1558
  Prop({ type: [String], default: 'none' }),
1441
1559
  __metadata("design:type", String)
1442
- ], TekGrid.prototype, "deleteButton", void 0);
1560
+ ], TekGrid$1.prototype, "deleteButton", void 0);
1443
1561
  __decorate([
1444
1562
  Prop({ type: [Boolean, String], default: false }),
1445
1563
  __metadata("design:type", Object)
1446
- ], TekGrid.prototype, "columnsButton", void 0);
1564
+ ], TekGrid$1.prototype, "columnsButton", void 0);
1447
1565
  __decorate([
1448
1566
  Prop({ type: [Array, String], default: () => [] }),
1449
1567
  __metadata("design:type", Object)
1450
- ], TekGrid.prototype, "columnsButtonIgnore", void 0);
1568
+ ], TekGrid$1.prototype, "columnsButtonIgnore", void 0);
1451
1569
  __decorate([
1452
1570
  Prop({ type: [Boolean, String], default: false }),
1453
1571
  __metadata("design:type", Object)
1454
- ], TekGrid.prototype, "filterButton", void 0);
1572
+ ], TekGrid$1.prototype, "filterButton", void 0);
1455
1573
  __decorate([
1456
1574
  Prop({ type: [Boolean, String], default: false }),
1457
1575
  __metadata("design:type", Object)
1458
- ], TekGrid.prototype, "columnFilterButton", void 0);
1576
+ ], TekGrid$1.prototype, "columnFilterButton", void 0);
1459
1577
  __decorate([
1460
1578
  Prop({ type: [Array], default: () => [] }),
1461
1579
  __metadata("design:type", Array)
1462
- ], TekGrid.prototype, "actions", void 0);
1580
+ ], TekGrid$1.prototype, "actions", void 0);
1463
1581
  __decorate([
1464
1582
  Prop({ type: [String, Boolean], default: true }),
1465
1583
  __metadata("design:type", Object)
1466
- ], TekGrid.prototype, "dragColumns", void 0);
1584
+ ], TekGrid$1.prototype, "dragColumns", void 0);
1467
1585
  __decorate([
1468
1586
  Prop({ type: [String, Boolean], default: true }),
1469
1587
  __metadata("design:type", Object)
1470
- ], TekGrid.prototype, "resizeColumns", void 0);
1588
+ ], TekGrid$1.prototype, "resizeColumns", void 0);
1471
1589
  __decorate([
1472
1590
  Prop({ type: [String, Boolean], default: true }),
1473
1591
  __metadata("design:type", Object)
1474
- ], TekGrid.prototype, "showLayoutOptions", void 0);
1592
+ ], TekGrid$1.prototype, "showLayoutOptions", void 0);
1475
1593
  __decorate([
1476
1594
  Prop({ type: [String, Boolean], default: false }),
1477
1595
  __metadata("design:type", Object)
1478
- ], TekGrid.prototype, "showExport", void 0);
1596
+ ], TekGrid$1.prototype, "showExport", void 0);
1479
1597
  __decorate([
1480
1598
  Prop({ type: [String, Boolean], default: true }),
1481
1599
  __metadata("design:type", Object)
1482
- ], TekGrid.prototype, "showReload", void 0);
1600
+ ], TekGrid$1.prototype, "showReload", void 0);
1483
1601
  __decorate([
1484
1602
  Prop({ type: [String, Array] }),
1485
1603
  __metadata("design:type", Array)
1486
- ], TekGrid.prototype, "exportConfig", void 0);
1604
+ ], TekGrid$1.prototype, "exportConfig", void 0);
1487
1605
  __decorate([
1488
1606
  Prop({ type: [Array] }),
1489
1607
  __metadata("design:type", Array)
1490
- ], TekGrid.prototype, "exportActions", void 0);
1608
+ ], TekGrid$1.prototype, "exportActions", void 0);
1491
1609
  __decorate([
1492
1610
  Prop({ type: [String, Boolean], default: false }),
1493
1611
  __metadata("design:type", Object)
1494
- ], TekGrid.prototype, "groupsOpened", void 0);
1612
+ ], TekGrid$1.prototype, "groupsOpened", void 0);
1495
1613
  __decorate([
1496
1614
  Prop({ type: [String, Boolean], default: true }),
1497
1615
  __metadata("design:type", Object)
1498
- ], TekGrid.prototype, "showSummaryTotal", void 0);
1616
+ ], TekGrid$1.prototype, "showSummaryTotal", void 0);
1499
1617
  __decorate([
1500
1618
  Prop({
1501
1619
  type: Array,
1502
1620
  default: () => undefined,
1503
1621
  }),
1504
1622
  __metadata("design:type", Array)
1505
- ], TekGrid.prototype, "toolbarSlot", void 0);
1506
- TekGrid = __decorate([
1623
+ ], TekGrid$1.prototype, "toolbarSlot", void 0);
1624
+ TekGrid$1 = __decorate([
1507
1625
  Component
1508
- ], TekGrid);
1509
- var script$7 = TekGrid;
1626
+ ], TekGrid$1);
1627
+ var script$9 = TekGrid$1;
1510
1628
 
1511
1629
  /* script */
1512
- const __vue_script__$7 = script$7;
1630
+ const __vue_script__$9 = script$9;
1513
1631
 
1514
1632
  /* template */
1515
- var __vue_render__$7 = function () {
1633
+ var __vue_render__$9 = function () {
1516
1634
  var _vm = this;
1517
1635
  var _h = _vm.$createElement;
1518
1636
  var _c = _vm._self._c || _h;
@@ -1534,12 +1652,13 @@ var __vue_render__$7 = function () {
1534
1652
  ],
1535
1653
  style: [_vm.cssColorVars, _vm.instance.cssStyle],
1536
1654
  attrs: {
1655
+ id: _vm.instance.name,
1537
1656
  "fixed-header": "",
1538
1657
  "disable-pagination": "",
1539
1658
  "hide-default-header": "",
1540
1659
  "hide-default-footer": "",
1541
1660
  name: _vm.instance.name,
1542
- headers: _vm.instance.columns,
1661
+ headers: _vm.headers,
1543
1662
  height: _vm.instance.height,
1544
1663
  items: _vm.getData(),
1545
1664
  search: _vm.instance.datasource.search,
@@ -1547,6 +1666,8 @@ var __vue_render__$7 = function () {
1547
1666
  dense: _vm.instance.dense,
1548
1667
  loading: _vm.instance.datasource.loading,
1549
1668
  "item-key": _vm.instance.datasource.uniqueKey,
1669
+ dark: _vm.instance.dark,
1670
+ light: _vm.instance.light,
1550
1671
  "disable-sort": "",
1551
1672
  "disable-filtering": "",
1552
1673
  tabindex: "0",
@@ -1590,7 +1711,6 @@ var __vue_render__$7 = function () {
1590
1711
  key: "header",
1591
1712
  fn: function (ref) {
1592
1713
  var props = ref.props;
1593
- var on = ref.on;
1594
1714
  return [
1595
1715
  _c("thead", { staticClass: "zd-grid-table-header" }, [
1596
1716
  _c(
@@ -1600,8 +1720,22 @@ var __vue_render__$7 = function () {
1600
1720
  ? _c(
1601
1721
  "th",
1602
1722
  {
1603
- staticClass:
1604
- "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
+ ],
1605
1739
  style:
1606
1740
  "background-color: " +
1607
1741
  _vm.instance.headerBackground,
@@ -1625,7 +1759,7 @@ var __vue_render__$7 = function () {
1625
1759
  on: {
1626
1760
  click: function ($event) {
1627
1761
  $event.stopPropagation();
1628
- on["toggle-select-all"](!props.everyItem);
1762
+ _vm.toggleSelectAll();
1629
1763
  _vm.selectAllClick(
1630
1764
  !props.everyItem,
1631
1765
  $event
@@ -1655,13 +1789,30 @@ var __vue_render__$7 = function () {
1655
1789
  refInFor: true,
1656
1790
  class: [
1657
1791
  "zd-table-cell",
1792
+ "column-th-" +
1793
+ column.name +
1794
+ "-" +
1795
+ _vm.instance.name,
1658
1796
  {
1659
1797
  sortable:
1660
1798
  column.sortable &&
1661
1799
  !_vm.instance.editing,
1662
- sortHandle: _vm.instance.dragColumns,
1800
+ sortHandle:
1801
+ !column.fixed &&
1802
+ _vm.instance.dragColumns,
1663
1803
  "zd-table-fixed-column": column.fixed,
1664
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
+ },
1665
1816
  "text-" + column.align,
1666
1817
  _vm.instance.datasource.getOrderByColumn(
1667
1818
  column.name
@@ -2180,6 +2331,11 @@ var __vue_render__$7 = function () {
2180
2331
  column,
2181
2332
  filterIndex
2182
2333
  ),
2334
+ change:
2335
+ _vm.getFilterValueChange(
2336
+ column,
2337
+ filterIndex
2338
+ ),
2183
2339
  },
2184
2340
  }
2185
2341
  ),
@@ -2296,17 +2452,76 @@ var __vue_render__$7 = function () {
2296
2452
  },
2297
2453
  [
2298
2454
  _vm.instance.selectable
2299
- ? _c("td", {
2300
- staticClass:
2301
- "zd-table-cell selectable zd-table-fixed-column",
2302
- })
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
+ )
2303
2503
  : _vm._e(),
2304
2504
  _vm._v(" "),
2305
2505
  _c(
2306
2506
  "td",
2307
2507
  {
2308
- staticClass:
2309
- "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
+ ],
2310
2525
  style:
2311
2526
  "left: " +
2312
2527
  (_vm.instance.selectable ? 40 : 0) +
@@ -2383,6 +2598,12 @@ var __vue_render__$7 = function () {
2383
2598
  current: _vm.isCurrentRow(item),
2384
2599
  footer: item.groupFooter,
2385
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,
2386
2607
  },
2387
2608
  on: {
2388
2609
  click: function ($event) {
@@ -2395,8 +2616,22 @@ var __vue_render__$7 = function () {
2395
2616
  ? _c(
2396
2617
  "td",
2397
2618
  {
2398
- staticClass:
2399
- "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
+ ],
2400
2635
  },
2401
2636
  [
2402
2637
  _c("v-checkbox", {
@@ -2477,6 +2712,19 @@ var __vue_render__$7 = function () {
2477
2712
  "zd-table-fixed-column":
2478
2713
  column.fixed,
2479
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
+ },
2480
2728
  ],
2481
2729
  style: [
2482
2730
  Object.assign(
@@ -2490,9 +2738,11 @@ var __vue_render__$7 = function () {
2490
2738
  cellProps
2491
2739
  ).cssStyle,
2492
2740
  {
2493
- left: _vm.getFixedLeft(
2494
- column
2495
- ),
2741
+ left: column.fixed
2742
+ ? _vm.fixedLeft[
2743
+ column.name
2744
+ ]
2745
+ : "unset",
2496
2746
  },
2497
2747
  ],
2498
2748
  on: {
@@ -2962,34 +3212,34 @@ var __vue_render__$7 = function () {
2962
3212
  },
2963
3213
  })
2964
3214
  };
2965
- var __vue_staticRenderFns__$7 = [];
2966
- __vue_render__$7._withStripped = true;
3215
+ var __vue_staticRenderFns__$9 = [];
3216
+ __vue_render__$9._withStripped = true;
2967
3217
 
2968
3218
  /* style */
2969
- const __vue_inject_styles__$7 = function (inject) {
3219
+ const __vue_inject_styles__$9 = function (inject) {
2970
3220
  if (!inject) return
2971
- inject("data-v-1f93e5e4_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}\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 });
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 });
2972
3222
 
2973
3223
  };
2974
3224
  /* scoped */
2975
- const __vue_scope_id__$7 = undefined;
3225
+ const __vue_scope_id__$9 = undefined;
2976
3226
  /* module identifier */
2977
- const __vue_module_identifier__$7 = undefined;
3227
+ const __vue_module_identifier__$9 = undefined;
2978
3228
  /* functional template */
2979
- const __vue_is_functional_template__$7 = false;
3229
+ const __vue_is_functional_template__$9 = false;
2980
3230
  /* style inject SSR */
2981
3231
 
2982
3232
  /* style inject shadow dom */
2983
3233
 
2984
3234
 
2985
3235
 
2986
- const __vue_component__$7 = /*#__PURE__*/normalizeComponent(
2987
- { render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 },
2988
- __vue_inject_styles__$7,
2989
- __vue_script__$7,
2990
- __vue_scope_id__$7,
2991
- __vue_is_functional_template__$7,
2992
- __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,
2993
3243
  false,
2994
3244
  createInjector,
2995
3245
  undefined,
@@ -3006,6 +3256,7 @@ let TekGridColumnsOptionsController = class TekGridColumnsOptionsController {
3006
3256
  this.aggregationData = [];
3007
3257
  this.selectedColumnNames = [];
3008
3258
  this.searchValue = '';
3259
+ this.showGroups = true;
3009
3260
  this.updatingSelect = false;
3010
3261
  this.modal = modal;
3011
3262
  }
@@ -3035,6 +3286,7 @@ let TekGridColumnsOptionsController = class TekGridColumnsOptionsController {
3035
3286
  set instance(instance) {
3036
3287
  this.instanceValue = instance;
3037
3288
  this.iterableComponent = instance.iterableComponent;
3289
+ this.showGroups = instance.iterableComponent instanceof TekGrid$2;
3038
3290
  this.aggregationData = instance.getAggregationSelectData();
3039
3291
  this.columnData = {};
3040
3292
  this.iterableComponent.columns.forEach((column) => {
@@ -3623,6 +3875,7 @@ TekGridColumnsOptionsModal.modalDef = {
3623
3875
  {
3624
3876
  name: 'tekGridColumnsOptionsGroupedRow',
3625
3877
  component: 'ZdRow',
3878
+ isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
3626
3879
  children: [
3627
3880
  {
3628
3881
  name: 'tekGridColumnsOptionsGroupedCol',
@@ -3825,6 +4078,7 @@ TekGridColumnsOptionsModal.modalDef = {
3825
4078
  {
3826
4079
  name: 'tekGridColumnsOptionsColumnAggregation',
3827
4080
  component: 'ZdSelect',
4081
+ isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
3828
4082
  autocomplete: false,
3829
4083
  label: 'TEKGRID_COLUMN_AGGREGATION',
3830
4084
  showHelper: false,
@@ -3846,6 +4100,7 @@ TekGridColumnsOptionsModal.modalDef = {
3846
4100
  {
3847
4101
  name: 'tekGridColumnsOptionsColumnGroupOpened',
3848
4102
  component: 'ZdCheckbox',
4103
+ isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
3849
4104
  cssClass: 'zd-form-input-align',
3850
4105
  disabled: `{{${TekGridColumnsOptionsModal.controllerName}.notGroupInSelection}}`,
3851
4106
  label: 'TEKGRID_COLUMN_GROUP_OPENED',
@@ -3940,6 +4195,10 @@ let TekGridColumnsButton = class TekGridColumnsButton extends ZdIterableColumnsB
3940
4195
  this.menuIsOpened = false;
3941
4196
  }
3942
4197
  };
4198
+ __decorate([
4199
+ Prop({ type: [Boolean, String], default: false }),
4200
+ __metadata("design:type", Object)
4201
+ ], TekGridColumnsButton.prototype, "hideGroups", void 0);
3943
4202
  __decorate([
3944
4203
  Watch('menuIsOpened'),
3945
4204
  __metadata("design:type", Function),
@@ -3949,13 +4208,13 @@ __decorate([
3949
4208
  TekGridColumnsButton = __decorate([
3950
4209
  Component
3951
4210
  ], TekGridColumnsButton);
3952
- var script$6 = TekGridColumnsButton;
4211
+ var script$8 = TekGridColumnsButton;
3953
4212
 
3954
4213
  /* script */
3955
- const __vue_script__$6 = script$6;
4214
+ const __vue_script__$8 = script$8;
3956
4215
 
3957
4216
  /* template */
3958
- var __vue_render__$6 = function () {
4217
+ var __vue_render__$8 = function () {
3959
4218
  var _vm = this;
3960
4219
  var _h = _vm.$createElement;
3961
4220
  var _c = _vm._self._c || _h;
@@ -3977,6 +4236,7 @@ var __vue_render__$6 = function () {
3977
4236
  ],
3978
4237
  style: _vm.instance.cssStyle,
3979
4238
  attrs: {
4239
+ id: _vm.instance.name,
3980
4240
  closeOnContentClick: false,
3981
4241
  "offset-y": "",
3982
4242
  "content-class":
@@ -4039,11 +4299,15 @@ var __vue_render__$6 = function () {
4039
4299
  _vm._v(" "),
4040
4300
  _c("th", [_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_VISIBLE")))]),
4041
4301
  _vm._v(" "),
4042
- _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(),
4043
4305
  _vm._v(" "),
4044
- _c("th", [
4045
- _vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_AGGREGATION"))),
4046
- ]),
4306
+ !_vm.instance.hideGroups
4307
+ ? _c("th", [
4308
+ _vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_AGGREGATION"))),
4309
+ ])
4310
+ : _vm._e(),
4047
4311
  ]),
4048
4312
  ]),
4049
4313
  _vm._v(" "),
@@ -4090,77 +4354,81 @@ var __vue_render__$6 = function () {
4090
4354
  1
4091
4355
  ),
4092
4356
  _vm._v(" "),
4093
- _c(
4094
- "td",
4095
- [
4096
- column.type !== "action"
4097
- ? _c("zd-checkbox", {
4098
- attrs: {
4099
- name:
4100
- _vm.instance.name +
4101
- "_column_grouped_" +
4102
- column.name,
4103
- value: column.grouped,
4104
- events: {
4105
- change:
4106
- _vm.instance.controller.changeGroupedColumn.bind(
4107
- _vm.instance.controller,
4108
- column
4109
- ),
4110
- },
4111
- },
4112
- })
4113
- : _vm._e(),
4114
- ],
4115
- 1
4116
- ),
4117
- _vm._v(" "),
4118
- _c(
4119
- "td",
4120
- {
4121
- staticClass:
4122
- "tek-grid-columns-button-column-aggregation",
4123
- },
4124
- [
4125
- column.type !== "action"
4126
- ? _c(
4127
- "zd-select",
4128
- _vm._b(
4129
- {
4357
+ !_vm.instance.hideGroups
4358
+ ? _c(
4359
+ "td",
4360
+ [
4361
+ column.type !== "action"
4362
+ ? _c("zd-checkbox", {
4130
4363
  attrs: {
4131
4364
  name:
4132
4365
  _vm.instance.name +
4133
- "_column_aggregation_" +
4366
+ "_column_grouped_" +
4134
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
+ },
4135
4376
  },
4136
- },
4137
- "zd-select",
4138
- {
4139
- value: column.aggregation,
4140
- disabled: column.grouped,
4141
- events: {
4142
- change:
4143
- _vm.instance.controller.changeAggregationColumn.bind(
4144
- _vm.instance.controller,
4145
- column
4146
- ),
4147
- },
4148
- dataText: "text",
4149
- dataValue: "value",
4150
- autocomplete: false,
4151
- showHelper: false,
4152
- showLabel: false,
4153
- datasource: {
4154
- data: _vm.instance.getAggregationSelectData(),
4155
- },
4156
- },
4157
- false
4158
- )
4159
- )
4160
- : _vm._e(),
4161
- ],
4162
- 1
4163
- ),
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(),
4164
4432
  ]
4165
4433
  )
4166
4434
  }),
@@ -4208,34 +4476,34 @@ var __vue_render__$6 = function () {
4208
4476
  ]
4209
4477
  )
4210
4478
  };
4211
- var __vue_staticRenderFns__$6 = [];
4212
- __vue_render__$6._withStripped = true;
4479
+ var __vue_staticRenderFns__$8 = [];
4480
+ __vue_render__$8._withStripped = true;
4213
4481
 
4214
4482
  /* style */
4215
- const __vue_inject_styles__$6 = function (inject) {
4483
+ const __vue_inject_styles__$8 = function (inject) {
4216
4484
  if (!inject) return
4217
- 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 });
4218
4486
 
4219
4487
  };
4220
4488
  /* scoped */
4221
- const __vue_scope_id__$6 = undefined;
4489
+ const __vue_scope_id__$8 = undefined;
4222
4490
  /* module identifier */
4223
- const __vue_module_identifier__$6 = undefined;
4491
+ const __vue_module_identifier__$8 = undefined;
4224
4492
  /* functional template */
4225
- const __vue_is_functional_template__$6 = false;
4493
+ const __vue_is_functional_template__$8 = false;
4226
4494
  /* style inject SSR */
4227
4495
 
4228
4496
  /* style inject shadow dom */
4229
4497
 
4230
4498
 
4231
4499
 
4232
- const __vue_component__$6 = /*#__PURE__*/normalizeComponent(
4233
- { render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 },
4234
- __vue_inject_styles__$6,
4235
- __vue_script__$6,
4236
- __vue_scope_id__$6,
4237
- __vue_is_functional_template__$6,
4238
- __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,
4239
4507
  false,
4240
4508
  createInjector,
4241
4509
  undefined,
@@ -4279,35 +4547,37 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4279
4547
  const oldFilter = JSON.stringify(grid.datasource.filter);
4280
4548
  const oldDynamicFilter = JSON.stringify(this.datasourceDynamicFilter(grid.datasource));
4281
4549
  if (layout) {
4282
- tableElement.style.width = layout.gridWidth;
4550
+ tableElement.style.width = layout.gridWidth || 'auto';
4283
4551
  grid.datasource.order = layout.order !== undefined ? layout.order : grid.datasource.order;
4284
4552
  grid.datasource.filter = layout.filter !== undefined ? layout.filter : grid.datasource.filter;
4285
4553
  if (grid.datasource instanceof TekRestDatasource && layout.dynamicFilter !== undefined) {
4286
- grid.datasource.dynamicFilter = this.getHelperValues(layout.dynamicFilter, layout.columns);
4554
+ grid.datasource.dynamicFilter = this.getHelperValues(layout.dynamicFilter, layout.columns || grid.columns);
4287
4555
  }
4288
- grid.columns = layout.columns.map((column) => {
4289
- const col = gridColumns[column.name];
4290
- col.label = column.label !== undefined ? column.label : col.label;
4291
- col.align = column.align !== undefined ? column.align : col.align;
4292
- col.isVisible = column.isVisible !== undefined ? column.isVisible : col.isVisible;
4293
- col.fixed = !!column.fixed;
4294
- col.grouped = !!column.grouped;
4295
- col.groupOpened = !!column.groupOpened;
4296
- col.aggregation = column.aggregation;
4297
- col.minWidth = column.minWidth || '';
4298
- col.maxWidth = column.maxWidth || '';
4299
- this.setHelperValue(col, column.filterHelperValue || '');
4300
- return col;
4301
- });
4302
- // wait to change column orders
4303
- this.$nextTick(() => {
4304
- grid.columns.forEach((_column, index) => {
4305
- const columnElement = tableElement.querySelector(`tr th:not(.selectable)[index="${index}"]`);
4306
- if (columnElement) {
4307
- columnElement.style.width = layout.columns[index].width || 'unset';
4308
- }
4556
+ if (layout.columns) {
4557
+ grid.columns = layout.columns.map((column) => {
4558
+ const col = gridColumns[column.name];
4559
+ col.label = column.label !== undefined ? column.label : col.label;
4560
+ col.align = column.align !== undefined ? column.align : col.align;
4561
+ col.isVisible = column.isVisible !== undefined ? column.isVisible : col.isVisible;
4562
+ col.fixed = !!column.fixed;
4563
+ col.grouped = !!column.grouped;
4564
+ col.groupOpened = !!column.groupOpened;
4565
+ col.aggregation = column.aggregation;
4566
+ col.minWidth = column.minWidth || '';
4567
+ col.maxWidth = column.maxWidth || '';
4568
+ this.setHelperValue(col, column.filterHelperValue || '');
4569
+ return col;
4309
4570
  });
4310
- });
4571
+ // wait to change column orders
4572
+ this.$nextTick(() => {
4573
+ grid.columns.forEach((_column, index) => {
4574
+ const columnElement = tableElement.querySelector(`tr th:not(.selectable)[index="${index}"]`);
4575
+ if (columnElement) {
4576
+ columnElement.style.width = layout.columns[index].width || 'unset';
4577
+ }
4578
+ });
4579
+ });
4580
+ }
4311
4581
  }
4312
4582
  else {
4313
4583
  grid.datasource.order = [...this.instance.originalDatasourceOrder];
@@ -4359,26 +4629,26 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4359
4629
  Object.keys(filter).forEach((columnName) => {
4360
4630
  const filterOptions = filter[columnName];
4361
4631
  const column = columns[columns.findIndex((col) => col.name === columnName)];
4362
- const { filterDynamicValue } = column;
4632
+ const { filterHelperValue } = column;
4363
4633
  filterOptions.forEach((item) => {
4364
- let dynamicValue = '';
4365
- if (!Array.isArray(filterDynamicValue)) {
4366
- dynamicValue = filterDynamicValue;
4634
+ if (['IN', 'NOT_IN', 'BETWEEN'].includes(item.operation) && !Array.isArray(item.value)) {
4635
+ item.value = item.value.split(';');
4636
+ }
4637
+ let helperValue = '';
4638
+ if (!Array.isArray(filterHelperValue)) {
4639
+ helperValue = filterHelperValue;
4367
4640
  }
4368
4641
  else {
4369
- Object.keys(filterDynamicValue).forEach((key) => {
4370
- const value = filterDynamicValue[key] || '';
4642
+ Object.keys(filterHelperValue).forEach((key) => {
4643
+ const value = filterHelperValue[key] || '';
4371
4644
  if (`${item.relation || 'AND'}-${item.operation || 'CONTAINS'}` === key) {
4372
- dynamicValue = value;
4645
+ helperValue = value;
4373
4646
  }
4374
4647
  });
4375
4648
  }
4376
- if (dynamicValue) {
4649
+ if (helperValue) {
4377
4650
  const columnObj = this.instance.grid.getColumn(column.name);
4378
- item.value = TekFilterHelper.getValue(dynamicValue, columnObj);
4379
- if (Array.isArray(item.value)) {
4380
- item.value = item.value.join(';');
4381
- }
4651
+ item.value = TekFilterHelper.getValue(helperValue, columnObj);
4382
4652
  }
4383
4653
  });
4384
4654
  });
@@ -4430,13 +4700,13 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4430
4700
  TekGridLayoutOptions = __decorate([
4431
4701
  Component
4432
4702
  ], TekGridLayoutOptions);
4433
- var script$5 = TekGridLayoutOptions;
4703
+ var script$7 = TekGridLayoutOptions;
4434
4704
 
4435
4705
  /* script */
4436
- const __vue_script__$5 = script$5;
4706
+ const __vue_script__$7 = script$7;
4437
4707
 
4438
4708
  /* template */
4439
- var __vue_render__$5 = function () {
4709
+ var __vue_render__$7 = function () {
4440
4710
  var _vm = this;
4441
4711
  var _h = _vm.$createElement;
4442
4712
  var _c = _vm._self._c || _h;
@@ -4455,6 +4725,7 @@ var __vue_render__$5 = function () {
4455
4725
  class: ["tek-grid-layout-options", _vm.instance.cssClass],
4456
4726
  style: _vm.instance.cssStyle,
4457
4727
  attrs: {
4728
+ id: _vm.instance.name,
4458
4729
  name: _vm.instance.name,
4459
4730
  "offset-y": "",
4460
4731
  closeOnContentClick: false,
@@ -4620,7 +4891,10 @@ var __vue_render__$5 = function () {
4620
4891
  _vm._b(
4621
4892
  {
4622
4893
  attrs: {
4623
- name: "tek-grid-layout-item-update_" + item,
4894
+ name:
4895
+ "tek-grid-layout-item-update_" +
4896
+ _vm.instance.name +
4897
+ item,
4624
4898
  },
4625
4899
  },
4626
4900
  "zd-button",
@@ -4644,7 +4918,10 @@ var __vue_render__$5 = function () {
4644
4918
  _vm._b(
4645
4919
  {
4646
4920
  attrs: {
4647
- name: "tek-grid-layout-item-delete_" + item,
4921
+ name:
4922
+ "tek-grid-layout-item-delete_" +
4923
+ _vm.instance.name +
4924
+ item,
4648
4925
  },
4649
4926
  },
4650
4927
  "zd-button",
@@ -4675,34 +4952,34 @@ var __vue_render__$5 = function () {
4675
4952
  1
4676
4953
  )
4677
4954
  };
4678
- var __vue_staticRenderFns__$5 = [];
4679
- __vue_render__$5._withStripped = true;
4955
+ var __vue_staticRenderFns__$7 = [];
4956
+ __vue_render__$7._withStripped = true;
4680
4957
 
4681
4958
  /* style */
4682
- const __vue_inject_styles__$5 = function (inject) {
4959
+ const __vue_inject_styles__$7 = function (inject) {
4683
4960
  if (!inject) return
4684
- 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 });
4961
+ 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 });
4685
4962
 
4686
4963
  };
4687
4964
  /* scoped */
4688
- const __vue_scope_id__$5 = undefined;
4965
+ const __vue_scope_id__$7 = undefined;
4689
4966
  /* module identifier */
4690
- const __vue_module_identifier__$5 = undefined;
4967
+ const __vue_module_identifier__$7 = undefined;
4691
4968
  /* functional template */
4692
- const __vue_is_functional_template__$5 = false;
4969
+ const __vue_is_functional_template__$7 = false;
4693
4970
  /* style inject SSR */
4694
4971
 
4695
4972
  /* style inject shadow dom */
4696
4973
 
4697
4974
 
4698
4975
 
4699
- const __vue_component__$5 = /*#__PURE__*/normalizeComponent(
4700
- { render: __vue_render__$5, staticRenderFns: __vue_staticRenderFns__$5 },
4701
- __vue_inject_styles__$5,
4702
- __vue_script__$5,
4703
- __vue_scope_id__$5,
4704
- __vue_is_functional_template__$5,
4705
- __vue_module_identifier__$5,
4976
+ const __vue_component__$7 = /*#__PURE__*/normalizeComponent(
4977
+ { render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 },
4978
+ __vue_inject_styles__$7,
4979
+ __vue_script__$7,
4980
+ __vue_scope_id__$7,
4981
+ __vue_is_functional_template__$7,
4982
+ __vue_module_identifier__$7,
4706
4983
  false,
4707
4984
  createInjector,
4708
4985
  undefined,
@@ -4729,34 +5006,34 @@ __decorate([
4729
5006
  TekImage = __decorate([
4730
5007
  Component
4731
5008
  ], TekImage);
4732
- var script$4 = TekImage;
5009
+ var script$6 = TekImage;
4733
5010
 
4734
5011
  /* script */
4735
- const __vue_script__$4 = script$4;
5012
+ const __vue_script__$6 = script$6;
4736
5013
 
4737
5014
  /* template */
4738
- var __vue_render__$4 = function () {
5015
+ var __vue_render__$6 = function () {
4739
5016
  var _vm = this;
4740
5017
  var _h = _vm.$createElement;
4741
5018
  var _c = _vm._self._c || _h;
4742
5019
  return _c(
4743
5020
  "router-link",
4744
- { attrs: { to: _vm.instance.to } },
5021
+ { attrs: { id: _vm.instance.name, to: _vm.instance.to } },
4745
5022
  [_c("v-img", { attrs: { src: _vm.instance.src } })],
4746
5023
  1
4747
5024
  )
4748
5025
  };
4749
- var __vue_staticRenderFns__$4 = [];
4750
- __vue_render__$4._withStripped = true;
5026
+ var __vue_staticRenderFns__$6 = [];
5027
+ __vue_render__$6._withStripped = true;
4751
5028
 
4752
5029
  /* style */
4753
- const __vue_inject_styles__$4 = undefined;
5030
+ const __vue_inject_styles__$6 = undefined;
4754
5031
  /* scoped */
4755
- const __vue_scope_id__$4 = undefined;
5032
+ const __vue_scope_id__$6 = undefined;
4756
5033
  /* module identifier */
4757
- const __vue_module_identifier__$4 = undefined;
5034
+ const __vue_module_identifier__$6 = undefined;
4758
5035
  /* functional template */
4759
- const __vue_is_functional_template__$4 = false;
5036
+ const __vue_is_functional_template__$6 = false;
4760
5037
  /* style inject */
4761
5038
 
4762
5039
  /* style inject SSR */
@@ -4765,13 +5042,13 @@ __vue_render__$4._withStripped = true;
4765
5042
 
4766
5043
 
4767
5044
 
4768
- const __vue_component__$4 = /*#__PURE__*/normalizeComponent(
4769
- { render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },
4770
- __vue_inject_styles__$4,
4771
- __vue_script__$4,
4772
- __vue_scope_id__$4,
4773
- __vue_is_functional_template__$4,
4774
- __vue_module_identifier__$4,
5045
+ const __vue_component__$6 = /*#__PURE__*/normalizeComponent(
5046
+ { render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 },
5047
+ __vue_inject_styles__$6,
5048
+ __vue_script__$6,
5049
+ __vue_scope_id__$6,
5050
+ __vue_is_functional_template__$6,
5051
+ __vue_module_identifier__$6,
4775
5052
  false,
4776
5053
  undefined,
4777
5054
  undefined,
@@ -4796,13 +5073,13 @@ __decorate([
4796
5073
  TekIterableCarousel = __decorate([
4797
5074
  Component
4798
5075
  ], TekIterableCarousel);
4799
- var script$3 = TekIterableCarousel;
5076
+ var script$5 = TekIterableCarousel;
4800
5077
 
4801
5078
  /* script */
4802
- const __vue_script__$3 = script$3;
5079
+ const __vue_script__$5 = script$5;
4803
5080
 
4804
5081
  /* template */
4805
- var __vue_render__$3 = function () {
5082
+ var __vue_render__$5 = function () {
4806
5083
  var _vm = this;
4807
5084
  var _h = _vm.$createElement;
4808
5085
  var _c = _vm._self._c || _h;
@@ -4819,7 +5096,7 @@ var __vue_render__$3 = function () {
4819
5096
  ],
4820
5097
  class: ["tek-iterable-carousel", _vm.instance.cssClass],
4821
5098
  style: _vm.instance.cssStyle,
4822
- attrs: { name: _vm.instance.name },
5099
+ attrs: { id: _vm.instance.name, name: _vm.instance.name },
4823
5100
  },
4824
5101
  [
4825
5102
  _vm.instance.iterable.datasource.loading
@@ -4876,17 +5153,17 @@ var __vue_render__$3 = function () {
4876
5153
  1
4877
5154
  )
4878
5155
  };
4879
- var __vue_staticRenderFns__$3 = [];
4880
- __vue_render__$3._withStripped = true;
5156
+ var __vue_staticRenderFns__$5 = [];
5157
+ __vue_render__$5._withStripped = true;
4881
5158
 
4882
5159
  /* style */
4883
- const __vue_inject_styles__$3 = undefined;
5160
+ const __vue_inject_styles__$5 = undefined;
4884
5161
  /* scoped */
4885
- const __vue_scope_id__$3 = undefined;
5162
+ const __vue_scope_id__$5 = undefined;
4886
5163
  /* module identifier */
4887
- const __vue_module_identifier__$3 = undefined;
5164
+ const __vue_module_identifier__$5 = undefined;
4888
5165
  /* functional template */
4889
- const __vue_is_functional_template__$3 = false;
5166
+ const __vue_is_functional_template__$5 = false;
4890
5167
  /* style inject */
4891
5168
 
4892
5169
  /* style inject SSR */
@@ -4895,13 +5172,13 @@ __vue_render__$3._withStripped = true;
4895
5172
 
4896
5173
 
4897
5174
 
4898
- const __vue_component__$3 = /*#__PURE__*/normalizeComponent(
4899
- { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },
4900
- __vue_inject_styles__$3,
4901
- __vue_script__$3,
4902
- __vue_scope_id__$3,
4903
- __vue_is_functional_template__$3,
4904
- __vue_module_identifier__$3,
5175
+ const __vue_component__$5 = /*#__PURE__*/normalizeComponent(
5176
+ { render: __vue_render__$5, staticRenderFns: __vue_staticRenderFns__$5 },
5177
+ __vue_inject_styles__$5,
5178
+ __vue_script__$5,
5179
+ __vue_scope_id__$5,
5180
+ __vue_is_functional_template__$5,
5181
+ __vue_module_identifier__$5,
4905
5182
  false,
4906
5183
  undefined,
4907
5184
  undefined,
@@ -4968,20 +5245,23 @@ __decorate([
4968
5245
  TekIterableComponentRender = __decorate([
4969
5246
  Component
4970
5247
  ], TekIterableComponentRender);
4971
- var script$2 = TekIterableComponentRender;
5248
+ var script$4 = TekIterableComponentRender;
4972
5249
 
4973
5250
  /* script */
4974
- const __vue_script__$2 = script$2;
5251
+ const __vue_script__$4 = script$4;
4975
5252
 
4976
5253
  /* template */
4977
- var __vue_render__$2 = function () {
5254
+ var __vue_render__$4 = function () {
4978
5255
  var _vm = this;
4979
5256
  var _h = _vm.$createElement;
4980
5257
  var _c = _vm._self._c || _h;
4981
5258
  return _vm.instance.isVisible
4982
5259
  ? _c(
4983
5260
  "div",
4984
- { class: ["tek-iterable-component-render", _vm.instance.cssClass] },
5261
+ {
5262
+ class: ["tek-iterable-component-render", _vm.instance.cssClass],
5263
+ attrs: { id: _vm.instance.name },
5264
+ },
4985
5265
  [
4986
5266
  _vm.instance.toolbarSlot.length || !!_vm.$slots.toolbarSlot
4987
5267
  ? _c("div", { staticClass: "tek-iterable-toolbar" }, [
@@ -5150,40 +5430,125 @@ var __vue_render__$2 = function () {
5150
5430
  )
5151
5431
  : _vm._e()
5152
5432
  };
5153
- var __vue_staticRenderFns__$2 = [];
5154
- __vue_render__$2._withStripped = true;
5433
+ var __vue_staticRenderFns__$4 = [];
5434
+ __vue_render__$4._withStripped = true;
5155
5435
 
5156
5436
  /* style */
5157
- const __vue_inject_styles__$2 = function (inject) {
5437
+ const __vue_inject_styles__$4 = function (inject) {
5158
5438
  if (!inject) return
5159
- 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 });
5439
+ 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 });
5160
5440
 
5161
5441
  };
5162
5442
  /* scoped */
5163
- const __vue_scope_id__$2 = "data-v-02c0169b";
5443
+ const __vue_scope_id__$4 = "data-v-42c57cb2";
5164
5444
  /* module identifier */
5165
- const __vue_module_identifier__$2 = undefined;
5445
+ const __vue_module_identifier__$4 = undefined;
5166
5446
  /* functional template */
5167
- const __vue_is_functional_template__$2 = false;
5447
+ const __vue_is_functional_template__$4 = false;
5168
5448
  /* style inject SSR */
5169
5449
 
5170
5450
  /* style inject shadow dom */
5171
5451
 
5172
5452
 
5173
5453
 
5174
- const __vue_component__$2 = /*#__PURE__*/normalizeComponent(
5175
- { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
5176
- __vue_inject_styles__$2,
5177
- __vue_script__$2,
5178
- __vue_scope_id__$2,
5179
- __vue_is_functional_template__$2,
5180
- __vue_module_identifier__$2,
5454
+ const __vue_component__$4 = /*#__PURE__*/normalizeComponent(
5455
+ { render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },
5456
+ __vue_inject_styles__$4,
5457
+ __vue_script__$4,
5458
+ __vue_scope_id__$4,
5459
+ __vue_is_functional_template__$4,
5460
+ __vue_module_identifier__$4,
5181
5461
  false,
5182
5462
  createInjector,
5183
5463
  undefined,
5184
5464
  undefined
5185
5465
  );
5186
5466
 
5467
+ // eslint-disable-next-line
5468
+ const loading = 'data:image/gif;base64,R0lGODlhlgCWAPf/AC1oxPa+ADarUdmsFEB/m0yTcjiMhEafWjFova2SNDZotX10VsOfJDlosFZnge25BnJtXTukVWVmaFh1eIuOZ1x0ZEFopHpyWGFpcS5ow+q2CVNnhmVnZvW9AW5qYUyKXUJnofW+AKWNOV9mcS9owZuGQTporlCGXbWXLmNrazxnqeKyDoGDZVFniFZ6ZNSpGJ+IPoR4Ud+wEURnnmtpY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0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy5cuYM2vezLmz58+gQ4seTbq06dOoU6tezbq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufbjggACH5BAUEAP8ALAAAAAABAAEAAAgEAP8FBAA7';
5469
+ let TekLoading = class TekLoading extends ZdLoading {
5470
+ constructor() {
5471
+ super(...arguments);
5472
+ this.instanceType = Loading;
5473
+ }
5474
+ };
5475
+ __decorate([
5476
+ Prop({ type: String, default: '' }),
5477
+ __metadata("design:type", String)
5478
+ ], TekLoading.prototype, "text", void 0);
5479
+ __decorate([
5480
+ Prop({ type: String, default: loading }),
5481
+ __metadata("design:type", String)
5482
+ ], TekLoading.prototype, "image", void 0);
5483
+ __decorate([
5484
+ Prop({ type: [Number, String], default: 999 }),
5485
+ __metadata("design:type", Object)
5486
+ ], TekLoading.prototype, "zdIndex", void 0);
5487
+ TekLoading = __decorate([
5488
+ Component
5489
+ ], TekLoading);
5490
+ var script$3 = TekLoading;
5491
+
5492
+ /* script */
5493
+ const __vue_script__$3 = script$3;
5494
+
5495
+ /* template */
5496
+ var __vue_render__$3 = function () {
5497
+ var _vm = this;
5498
+ var _h = _vm.$createElement;
5499
+ var _c = _vm._self._c || _h;
5500
+ return _c(
5501
+ "zd-loading",
5502
+ _vm._b(
5503
+ {},
5504
+ "zd-loading",
5505
+ {
5506
+ name: _vm.instance.name,
5507
+ text: _vm.instance.text,
5508
+ image: _vm.instance.image,
5509
+ zIndex: _vm.instance.zIndex,
5510
+ textColor: _vm.textColor,
5511
+ loadingColor: _vm.loadingColor,
5512
+ size: _vm.size,
5513
+ loadingWidth: _vm.loadingWidth,
5514
+ opacity: _vm.opacity,
5515
+ },
5516
+ false
5517
+ )
5518
+ )
5519
+ };
5520
+ var __vue_staticRenderFns__$3 = [];
5521
+ __vue_render__$3._withStripped = true;
5522
+
5523
+ /* style */
5524
+ const __vue_inject_styles__$3 = undefined;
5525
+ /* scoped */
5526
+ const __vue_scope_id__$3 = undefined;
5527
+ /* module identifier */
5528
+ const __vue_module_identifier__$3 = undefined;
5529
+ /* functional template */
5530
+ const __vue_is_functional_template__$3 = false;
5531
+ /* style inject */
5532
+
5533
+ /* style inject SSR */
5534
+
5535
+ /* style inject shadow dom */
5536
+
5537
+
5538
+
5539
+ const __vue_component__$3 = /*#__PURE__*/normalizeComponent(
5540
+ { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },
5541
+ __vue_inject_styles__$3,
5542
+ __vue_script__$3,
5543
+ __vue_scope_id__$3,
5544
+ __vue_is_functional_template__$3,
5545
+ __vue_module_identifier__$3,
5546
+ false,
5547
+ undefined,
5548
+ undefined,
5549
+ undefined
5550
+ );
5551
+
5187
5552
  /**
5188
5553
  * TekNotifications component join an icon, title, rightSlot and a divider
5189
5554
  */
@@ -5206,19 +5571,19 @@ __decorate([
5206
5571
  TekNotifications = __decorate([
5207
5572
  Component
5208
5573
  ], TekNotifications);
5209
- var script$1 = TekNotifications;
5574
+ var script$2 = TekNotifications;
5210
5575
 
5211
5576
  /* script */
5212
- const __vue_script__$1 = script$1;
5577
+ const __vue_script__$2 = script$2;
5213
5578
 
5214
5579
  /* template */
5215
- var __vue_render__$1 = function () {
5580
+ var __vue_render__$2 = function () {
5216
5581
  var _vm = this;
5217
5582
  var _h = _vm.$createElement;
5218
5583
  var _c = _vm._self._c || _h;
5219
5584
  return _c(
5220
5585
  "div",
5221
- { staticClass: "tek-notifications" },
5586
+ { staticClass: "tek-notifications", attrs: { id: _vm.instance.name } },
5222
5587
  [
5223
5588
  _c(
5224
5589
  "tek-card-title",
@@ -5289,34 +5654,34 @@ var __vue_render__$1 = function () {
5289
5654
  1
5290
5655
  )
5291
5656
  };
5292
- var __vue_staticRenderFns__$1 = [];
5293
- __vue_render__$1._withStripped = true;
5657
+ var __vue_staticRenderFns__$2 = [];
5658
+ __vue_render__$2._withStripped = true;
5294
5659
 
5295
5660
  /* style */
5296
- const __vue_inject_styles__$1 = function (inject) {
5661
+ const __vue_inject_styles__$2 = function (inject) {
5297
5662
  if (!inject) return
5298
- 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 });
5663
+ 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 });
5299
5664
 
5300
5665
  };
5301
5666
  /* scoped */
5302
- const __vue_scope_id__$1 = undefined;
5667
+ const __vue_scope_id__$2 = undefined;
5303
5668
  /* module identifier */
5304
- const __vue_module_identifier__$1 = undefined;
5669
+ const __vue_module_identifier__$2 = undefined;
5305
5670
  /* functional template */
5306
- const __vue_is_functional_template__$1 = false;
5671
+ const __vue_is_functional_template__$2 = false;
5307
5672
  /* style inject SSR */
5308
5673
 
5309
5674
  /* style inject shadow dom */
5310
5675
 
5311
5676
 
5312
5677
 
5313
- const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
5314
- { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
5315
- __vue_inject_styles__$1,
5316
- __vue_script__$1,
5317
- __vue_scope_id__$1,
5318
- __vue_is_functional_template__$1,
5319
- __vue_module_identifier__$1,
5678
+ const __vue_component__$2 = /*#__PURE__*/normalizeComponent(
5679
+ { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
5680
+ __vue_inject_styles__$2,
5681
+ __vue_script__$2,
5682
+ __vue_scope_id__$2,
5683
+ __vue_is_functional_template__$2,
5684
+ __vue_module_identifier__$2,
5320
5685
  false,
5321
5686
  createInjector,
5322
5687
  undefined,
@@ -5382,13 +5747,13 @@ __decorate([
5382
5747
  TekProductCard = __decorate([
5383
5748
  Component
5384
5749
  ], TekProductCard);
5385
- var script = TekProductCard;
5750
+ var script$1 = TekProductCard;
5386
5751
 
5387
5752
  /* script */
5388
- const __vue_script__ = script;
5753
+ const __vue_script__$1 = script$1;
5389
5754
 
5390
5755
  /* template */
5391
- var __vue_render__ = function () {
5756
+ var __vue_render__$1 = function () {
5392
5757
  var _vm = this;
5393
5758
  var _h = _vm.$createElement;
5394
5759
  var _c = _vm._self._c || _h;
@@ -5399,9 +5764,16 @@ var __vue_render__ = function () {
5399
5764
  class: [
5400
5765
  "tek-product-card",
5401
5766
  { "tek-product-card--link": _vm.instance.events.click },
5767
+ {
5768
+ "theme--dark":
5769
+ (_vm.$vuetify.theme.dark && !_vm.instance.light) ||
5770
+ _vm.instance.dark,
5771
+ },
5772
+ { "theme--light": !_vm.$vuetify.theme.dark || _vm.instance.light },
5402
5773
  _vm.instance.cssClass,
5403
5774
  ],
5404
5775
  style: { width: _vm.instance.width },
5776
+ attrs: { id: _vm.instance.name },
5405
5777
  on: {
5406
5778
  click: function ($event) {
5407
5779
  return _vm.click($event)
@@ -5414,6 +5786,8 @@ var __vue_render__ = function () {
5414
5786
  {
5415
5787
  attrs: {
5416
5788
  name: _vm.instance.name,
5789
+ dark: _vm.instance.dark,
5790
+ light: _vm.instance.light,
5417
5791
  elevation: 2,
5418
5792
  to: _vm.instance.to,
5419
5793
  },
@@ -5508,13 +5882,1740 @@ var __vue_render__ = function () {
5508
5882
  )
5509
5883
  : _vm._e()
5510
5884
  };
5885
+ var __vue_staticRenderFns__$1 = [];
5886
+ __vue_render__$1._withStripped = true;
5887
+
5888
+ /* style */
5889
+ const __vue_inject_styles__$1 = function (inject) {
5890
+ if (!inject) return
5891
+ 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 });
5892
+
5893
+ };
5894
+ /* scoped */
5895
+ const __vue_scope_id__$1 = undefined;
5896
+ /* module identifier */
5897
+ const __vue_module_identifier__$1 = undefined;
5898
+ /* functional template */
5899
+ const __vue_is_functional_template__$1 = false;
5900
+ /* style inject SSR */
5901
+
5902
+ /* style inject shadow dom */
5903
+
5904
+
5905
+
5906
+ const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
5907
+ { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
5908
+ __vue_inject_styles__$1,
5909
+ __vue_script__$1,
5910
+ __vue_scope_id__$1,
5911
+ __vue_is_functional_template__$1,
5912
+ __vue_module_identifier__$1,
5913
+ false,
5914
+ createInjector,
5915
+ undefined,
5916
+ undefined
5917
+ );
5918
+
5919
+ // eslint-disable-next-line prefer-destructuring
5920
+ const ZdTreeGridEditable = components$1.ZdTreeGridEditable;
5921
+ /**
5922
+ * TekGrid component
5923
+ */
5924
+ let TekGrid = class TekGrid extends ZdTreeGridEditable {
5925
+ constructor() {
5926
+ super(...arguments);
5927
+ this.instanceType = TekTreeGrid;
5928
+ this.debouncedDatasourceGet = debounce((instance) => {
5929
+ if (instance.events.beforeApplyFilter) {
5930
+ instance.events.beforeApplyFilter({ component: instance });
5931
+ }
5932
+ const { datasource } = instance;
5933
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
5934
+ datasource.updateDynamicFilter();
5935
+ }
5936
+ else {
5937
+ datasource.get();
5938
+ }
5939
+ }, 500);
5940
+ this.operationList = '';
5941
+ this.defaultOperation = '';
5942
+ this.defaultRelation = '';
5943
+ this.lastFilter = '';
5944
+ this.tableHeader = null;
5945
+ this.tableBody = null;
5946
+ }
5947
+ mounted() {
5948
+ this.originalChangeLayout = this.instance.changeLayout;
5949
+ this.instance.changeLayout = this.onChangeLayout;
5950
+ this.updateFixedColumns();
5951
+ }
5952
+ minimumColumnWidth(column) {
5953
+ let minWidth = column && column.sortable ? 50 : 34;
5954
+ if (this.instance.columnFilterButton && column && column.filterable) {
5955
+ minWidth += 15;
5956
+ }
5957
+ return minWidth;
5958
+ }
5959
+ onChangeLayout(event, element) {
5960
+ if (this.originalChangeLayout) {
5961
+ this.originalChangeLayout.call(this.instance, event, element);
5962
+ }
5963
+ if (this.instance.showLayoutOptions) {
5964
+ try {
5965
+ const layoutOptions = Metadata.getInstance(`${this.instance.name}_layout_options`);
5966
+ layoutOptions.layoutEdited = true;
5967
+ }
5968
+ catch (_a) {
5969
+ // do nothing
5970
+ }
5971
+ }
5972
+ this.updateFixedColumns();
5973
+ }
5974
+ getFilterActivatorEvents(on, column) {
5975
+ const events = {};
5976
+ Object.keys(on).forEach((eventName) => {
5977
+ events[eventName] = (event) => {
5978
+ this.defaultOperation = 'CONTAINS';
5979
+ this.defaultRelation = 'AND';
5980
+ this.operationList = this.getColumnFilterOptions(column).map((item) => item.operation).join(';');
5981
+ on[eventName](event);
5982
+ };
5983
+ });
5984
+ return events;
5985
+ }
5986
+ getFilterItemChange(prop, column, index) {
5987
+ return this.filterItemChange.bind(this, prop, column, index);
5988
+ }
5989
+ getFilterValueChange(column, index) {
5990
+ return debounce(this.filterValueChange.bind(this, column, index), 1000);
5991
+ }
5992
+ isOperationArrayValues(operation) {
5993
+ return ['IN', 'NOT_IN', 'BETWEEN'].includes(operation);
5994
+ }
5995
+ getComponentType(index) {
5996
+ const operationListArray = this.operationList.split(';');
5997
+ return this.isOperationArrayValues(operationListArray[index]) ? 'ZdTextInput' : '';
5998
+ }
5999
+ getComponentHint(index) {
6000
+ const operationListArray = this.operationList.split(';');
6001
+ return this.isOperationArrayValues(operationListArray[index]) ? 'TEKGRID_MULTIPLE_VALUE_HINT' : '';
6002
+ }
6003
+ filterItemChange(prop, column, index, { component, event, element }) {
6004
+ const { name } = component;
6005
+ const valueInputName = name.replace(`-filter-${prop}-`, '-filter-value-');
6006
+ const valueInput = Metadata.getInstance(valueInputName);
6007
+ const operationListArray = this.operationList.split(';');
6008
+ if (prop === 'operation' && operationListArray[index] !== component.value) {
6009
+ operationListArray[index] = component.value;
6010
+ this.operationList = operationListArray.join(';');
6011
+ }
6012
+ try {
6013
+ valueInput.setFocus();
6014
+ }
6015
+ catch (_a) {
6016
+ // do nothing
6017
+ }
6018
+ const { datasource } = this.instance;
6019
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
6020
+ if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
6021
+ this.lastFilter = JSON.stringify(datasource.dynamicFilter);
6022
+ const { value } = datasource.dynamicFilter[column.name][index];
6023
+ if (prop === 'operation') {
6024
+ if (this.isOperationArrayValues(component.value) && !Array.isArray(value)) {
6025
+ datasource.dynamicFilter[column.name][index].value = [value];
6026
+ }
6027
+ if (!this.isOperationArrayValues(component.value) && Array.isArray(value)) {
6028
+ [datasource.dynamicFilter[column.name][index].value] = value;
6029
+ }
6030
+ }
6031
+ datasource.dynamicFilter[column.name][index][prop] = component.value;
6032
+ if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
6033
+ this.debouncedDatasourceGet(this.instance);
6034
+ this.onChangeLayout(event, element);
6035
+ }
6036
+ }
6037
+ }
6038
+ }
6039
+ convertToDateFormat(column, value, revert) {
6040
+ const dateFormat = column.componentProps.dateFormat || Config.dateFormat;
6041
+ const displayFormat = column.componentProps.displayFormat || Config.displayFormat;
6042
+ if (revert) {
6043
+ if (dayjs(value, displayFormat).isValid() || !dayjs(value, dateFormat).isValid()) {
6044
+ return value;
6045
+ }
6046
+ return dayjs(value, dateFormat).format(displayFormat);
6047
+ }
6048
+ if (dayjs(value, dateFormat).isValid() || !dayjs(value, displayFormat).isValid()) {
6049
+ return value;
6050
+ }
6051
+ return dayjs(value, displayFormat).format(dateFormat);
6052
+ }
6053
+ checkDateValueFormat(column, value, revert = false) {
6054
+ if (['ZdDate', 'ZdDateRange'].includes(column.componentProps.component)) {
6055
+ if (Array.isArray(value)) {
6056
+ return value.map((item) => this.convertToDateFormat(column, item, revert));
6057
+ }
6058
+ return this.convertToDateFormat(column, value, revert);
6059
+ }
6060
+ return value;
6061
+ }
6062
+ filterValueChange(column, index, { component, event, element }) {
6063
+ let { value } = component;
6064
+ const { datasource } = this.instance;
6065
+ if (!(element === null || element === void 0 ? void 0 : element.offsetParent))
6066
+ return;
6067
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
6068
+ this.lastFilter = JSON.stringify(datasource.dynamicFilter);
6069
+ if (value) {
6070
+ if (!datasource.dynamicFilter[column.name]) {
6071
+ datasource.dynamicFilter[column.name] = [];
6072
+ }
6073
+ if (!datasource.dynamicFilter[column.name][index]) {
6074
+ const { name } = component;
6075
+ let relation;
6076
+ if (index > 0) {
6077
+ const relationSelectName = name.replace('-filter-value-', '-filter-relation-');
6078
+ const relationSelect = Metadata.getInstance(relationSelectName);
6079
+ relation = relationSelect.value;
6080
+ }
6081
+ else {
6082
+ relation = 'AND';
6083
+ }
6084
+ const operationSelectName = name.replace('-filter-value-', '-filter-operation-');
6085
+ const operationSelect = Metadata.getInstance(operationSelectName);
6086
+ const operation = operationSelect.value;
6087
+ if (this.isOperationArrayValues(operation)) {
6088
+ value = value.split(';');
6089
+ }
6090
+ value = this.checkDateValueFormat(column, value);
6091
+ datasource.dynamicFilter[column.name].push({
6092
+ relation,
6093
+ operation,
6094
+ value,
6095
+ });
6096
+ }
6097
+ else {
6098
+ if (this.isOperationArrayValues(datasource.dynamicFilter[column.name][index].operation)) {
6099
+ value = value.split(';');
6100
+ }
6101
+ value = this.checkDateValueFormat(column, value);
6102
+ datasource.dynamicFilter[column.name][index].value = value;
6103
+ }
6104
+ }
6105
+ else if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
6106
+ this.defaultOperation = datasource.dynamicFilter[column.name][index].operation;
6107
+ this.defaultRelation = datasource.dynamicFilter[column.name][index].relation;
6108
+ datasource.dynamicFilter[column.name].splice(index, 1);
6109
+ if (datasource.dynamicFilter[column.name].length === 1) {
6110
+ datasource.dynamicFilter[column.name][0].relation = 'AND';
6111
+ }
6112
+ if (!datasource.dynamicFilter[column.name].length) {
6113
+ delete datasource.dynamicFilter[column.name];
6114
+ }
6115
+ }
6116
+ if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
6117
+ this.debouncedDatasourceGet(this.instance);
6118
+ this.onChangeLayout(event, element);
6119
+ this.clearHelperValues(column);
6120
+ }
6121
+ }
6122
+ else {
6123
+ this.lastFilter = JSON.stringify(this.instance.datasource.filter);
6124
+ if (value) {
6125
+ this.instance.datasource.addFilter(column.name, value);
6126
+ }
6127
+ else {
6128
+ this.instance.datasource.removeFilter(column.name);
6129
+ }
6130
+ if (this.lastFilter !== JSON.stringify(this.instance.datasource.filter)) {
6131
+ this.debouncedDatasourceGet(this.instance);
6132
+ this.onChangeLayout(event, element);
6133
+ this.clearHelperValues(column);
6134
+ }
6135
+ }
6136
+ }
6137
+ clearHelperValues(column) {
6138
+ if (!Array.isArray(column.filterProps)) {
6139
+ column.filterProps.helperValue = '';
6140
+ }
6141
+ else {
6142
+ column.filterProps.forEach((prop) => {
6143
+ prop.helperValue = '';
6144
+ });
6145
+ }
6146
+ }
6147
+ getColumnFilterOptions(column) {
6148
+ const filterOptions = [];
6149
+ const { datasource } = this.instance;
6150
+ if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
6151
+ const dynamicFilter = datasource.dynamicFilter[column.name];
6152
+ if (dynamicFilter && dynamicFilter.length > 0) {
6153
+ dynamicFilter.forEach((item) => {
6154
+ let { value } = item;
6155
+ if (this.isOperationArrayValues(item.operation) && Array.isArray(value)) {
6156
+ value = this.checkDateValueFormat(column, value, true);
6157
+ value = value.join(';');
6158
+ }
6159
+ filterOptions.push(Object.assign(Object.assign({}, item), { value }));
6160
+ });
6161
+ }
6162
+ filterOptions.push({
6163
+ operation: this.defaultOperation,
6164
+ relation: this.defaultRelation,
6165
+ value: '',
6166
+ });
6167
+ }
6168
+ else {
6169
+ const option = {
6170
+ operation: undefined,
6171
+ relation: undefined,
6172
+ value: this.instance.datasource.filter[column.name] || '',
6173
+ };
6174
+ filterOptions.push(option);
6175
+ }
6176
+ return filterOptions;
6177
+ }
6178
+ isCurrentRow(row) {
6179
+ const { uniqueKey, currentRow } = this.instance.datasource;
6180
+ return !!((row[uniqueKey] && row[uniqueKey] === currentRow[uniqueKey]));
6181
+ }
6182
+ getVisibleData() {
6183
+ this.scrollData.visibleData = this.instance.datasource.data;
6184
+ return this.scrollData.visibleData;
6185
+ }
6186
+ getData() {
6187
+ if (!this.instance.virtualScroll || !this.scrollData.initialized) {
6188
+ return this.instance.treeDataStructure.searchHasNoData ? [] : this.instance.treeDataStructure.treeData;
6189
+ }
6190
+ return this.renderedData;
6191
+ }
6192
+ rowClick(row, event) {
6193
+ this.instance.rowClick(row, event, this.$el);
6194
+ }
6195
+ orderHeaders(headers) {
6196
+ return headers.sort((a, b) => {
6197
+ if (a.fixed === b.fixed)
6198
+ return 0;
6199
+ if (!a.fixed && b.fixed)
6200
+ return 1;
6201
+ return -1;
6202
+ }).filter((item) => item instanceof TekGridColumn);
6203
+ }
6204
+ updateFixedColumns() {
6205
+ if (this.instance.columns.filter((column) => column.fixed).length === 0)
6206
+ return;
6207
+ if (!this.tableHeader) {
6208
+ this.tableHeader = this.$el.querySelector('table thead tr');
6209
+ this.tableBody = this.$el.querySelector('table tbody');
6210
+ if (!this.tableHeader || !this.tableBody)
6211
+ return;
6212
+ }
6213
+ const headerColumns = Array.from(this.tableHeader.querySelectorAll('th'));
6214
+ let left = this.instance.selectable ? 40 : 0;
6215
+ headerColumns.forEach((column) => {
6216
+ const name = column.getAttribute('column-name');
6217
+ if (name && column.classList.contains('zd-table-fixed-column')) {
6218
+ column.style.left = `${left}px`;
6219
+ left += column.clientWidth;
6220
+ }
6221
+ });
6222
+ }
6223
+ getFixedLeft(column) {
6224
+ if (!column.fixed)
6225
+ return 'unset';
6226
+ const headerElement = this.$refs[`column-${column.name}`];
6227
+ if (!headerElement)
6228
+ return 'unset';
6229
+ return headerElement[0].style.left;
6230
+ }
6231
+ };
6232
+ __decorate([
6233
+ Prop({ type: [String], default: '' }),
6234
+ __metadata("design:type", String)
6235
+ ], TekGrid.prototype, "title", void 0);
6236
+ __decorate([
6237
+ Prop({ type: [Boolean, String], default: false }),
6238
+ __metadata("design:type", Object)
6239
+ ], TekGrid.prototype, "addButton", void 0);
6240
+ __decorate([
6241
+ Prop({ type: [String], default: 'none' }),
6242
+ __metadata("design:type", String)
6243
+ ], TekGrid.prototype, "deleteButton", void 0);
6244
+ __decorate([
6245
+ Prop({ type: [Boolean, String], default: false }),
6246
+ __metadata("design:type", Object)
6247
+ ], TekGrid.prototype, "columnsButton", void 0);
6248
+ __decorate([
6249
+ Prop({ type: [Array, String], default: () => [] }),
6250
+ __metadata("design:type", Object)
6251
+ ], TekGrid.prototype, "columnsButtonIgnore", void 0);
6252
+ __decorate([
6253
+ Prop({ type: [Boolean, String], default: false }),
6254
+ __metadata("design:type", Object)
6255
+ ], TekGrid.prototype, "filterButton", void 0);
6256
+ __decorate([
6257
+ Prop({ type: [Boolean, String], default: false }),
6258
+ __metadata("design:type", Object)
6259
+ ], TekGrid.prototype, "columnFilterButton", void 0);
6260
+ __decorate([
6261
+ Prop({ type: [Array], default: () => [] }),
6262
+ __metadata("design:type", Array)
6263
+ ], TekGrid.prototype, "actions", void 0);
6264
+ __decorate([
6265
+ Prop({ type: [String, Boolean], default: true }),
6266
+ __metadata("design:type", Object)
6267
+ ], TekGrid.prototype, "dragColumns", void 0);
6268
+ __decorate([
6269
+ Prop({ type: [String, Boolean], default: true }),
6270
+ __metadata("design:type", Object)
6271
+ ], TekGrid.prototype, "resizeColumns", void 0);
6272
+ __decorate([
6273
+ Prop({ type: [String, Boolean], default: true }),
6274
+ __metadata("design:type", Object)
6275
+ ], TekGrid.prototype, "showLayoutOptions", void 0);
6276
+ __decorate([
6277
+ Prop({ type: [String, Boolean], default: false }),
6278
+ __metadata("design:type", Object)
6279
+ ], TekGrid.prototype, "showExport", void 0);
6280
+ __decorate([
6281
+ Prop({ type: [String, Boolean], default: true }),
6282
+ __metadata("design:type", Object)
6283
+ ], TekGrid.prototype, "showReload", void 0);
6284
+ __decorate([
6285
+ Prop({ type: [String, Array] }),
6286
+ __metadata("design:type", Array)
6287
+ ], TekGrid.prototype, "exportConfig", void 0);
6288
+ __decorate([
6289
+ Prop({ type: [Array] }),
6290
+ __metadata("design:type", Array)
6291
+ ], TekGrid.prototype, "exportActions", void 0);
6292
+ __decorate([
6293
+ Prop({
6294
+ type: Array,
6295
+ default: () => undefined,
6296
+ }),
6297
+ __metadata("design:type", Array)
6298
+ ], TekGrid.prototype, "toolbarSlot", void 0);
6299
+ TekGrid = __decorate([
6300
+ Component
6301
+ ], TekGrid);
6302
+ var script = TekGrid;
6303
+
6304
+ /* script */
6305
+ const __vue_script__ = script;
6306
+
6307
+ /* template */
6308
+ var __vue_render__ = function () {
6309
+ var _vm = this;
6310
+ var _h = _vm.$createElement;
6311
+ var _c = _vm._self._c || _h;
6312
+ return _c("v-data-table", {
6313
+ directives: [
6314
+ {
6315
+ name: "show",
6316
+ rawName: "v-show",
6317
+ value: _vm.instance.isVisible,
6318
+ expression: "instance.isVisible",
6319
+ },
6320
+ ],
6321
+ ref: "grid",
6322
+ class: [
6323
+ "zd-grid",
6324
+ "zd-tree-grid-editable",
6325
+ "tek-grid",
6326
+ "tek-tree-grid",
6327
+ _vm.instance.cssClass,
6328
+ { "zd-grid-flex": _vm.instance.gridHeight || _vm.instance.gridMaxHeight },
6329
+ ],
6330
+ style: [_vm.cssColorVars, _vm.instance.cssStyle],
6331
+ attrs: {
6332
+ id: _vm.instance.name,
6333
+ "fixed-header": "",
6334
+ "disable-pagination": "",
6335
+ "hide-default-header": "",
6336
+ "hide-default-footer": "",
6337
+ name: _vm.instance.name,
6338
+ headers: _vm.instance.columns,
6339
+ items: _vm.getData(),
6340
+ search: _vm.instance.datasource.search,
6341
+ "show-select": _vm.instance.selectable,
6342
+ dense: _vm.instance.dense,
6343
+ loading: _vm.instance.datasource.loading,
6344
+ "item-key": _vm.instance.datasource.uniqueKey,
6345
+ dark: _vm.instance.dark,
6346
+ light: _vm.instance.light,
6347
+ "disable-sort": "",
6348
+ "disable-filtering": "",
6349
+ tabindex: "0",
6350
+ },
6351
+ on: {
6352
+ "current-items": function ($event) {
6353
+ return _vm.changeData($event)
6354
+ },
6355
+ },
6356
+ scopedSlots: _vm._u(
6357
+ [
6358
+ {
6359
+ key: "top",
6360
+ fn: function () {
6361
+ return [
6362
+ !_vm.$slots.toolbarSlot
6363
+ ? [
6364
+ _c("zd-grid-top", {
6365
+ ref: "treeGridTopSlot",
6366
+ attrs: {
6367
+ name: _vm.instance.name + "_top",
6368
+ toolbarSlot: _vm.instance.toolbarSlot,
6369
+ instance: _vm.instance,
6370
+ },
6371
+ }),
6372
+ ]
6373
+ : _vm._e(),
6374
+ _vm._v(" "),
6375
+ _vm._t("toolbarSlot"),
6376
+ _vm._v(" "),
6377
+ _c("span", {
6378
+ ref: "gridTooltip",
6379
+ staticClass: "zd-grid-cell-tooltip",
6380
+ }),
6381
+ ]
6382
+ },
6383
+ proxy: true,
6384
+ },
6385
+ _vm.instance.showHeader
6386
+ ? {
6387
+ key: "header",
6388
+ fn: function (ref) {
6389
+ var props = ref.props;
6390
+ var on = ref.on;
6391
+ return [
6392
+ _c("thead", { staticClass: "zd-grid-table-header" }, [
6393
+ _c(
6394
+ "tr",
6395
+ [
6396
+ _vm.instance.selectable
6397
+ ? _c(
6398
+ "th",
6399
+ {
6400
+ staticClass:
6401
+ "zd-table-cell selectable zd-table-fixed-column",
6402
+ style:
6403
+ "background-color: " +
6404
+ _vm.instance.headerBackground,
6405
+ },
6406
+ [
6407
+ _c("v-checkbox", {
6408
+ staticClass: "zd-grid-header-checkbox",
6409
+ attrs: {
6410
+ "hide-details": "",
6411
+ color: "primary",
6412
+ disabled: _vm.instance.editing,
6413
+ "on-icon": _vm.$getIcon("checkboxOn"),
6414
+ "off-icon": _vm.$getIcon("checkboxOff"),
6415
+ "indeterminate-icon": _vm.$getIcon(
6416
+ "checkboxIndeterminate"
6417
+ ),
6418
+ value: props.everyItem,
6419
+ indeterminate:
6420
+ !props.everyItem && props.someItems,
6421
+ },
6422
+ on: {
6423
+ click: function ($event) {
6424
+ $event.stopPropagation();
6425
+ on["toggle-select-all"](!props.everyItem);
6426
+ _vm.selectAllClick(
6427
+ !props.everyItem,
6428
+ $event
6429
+ );
6430
+ },
6431
+ },
6432
+ }),
6433
+ ],
6434
+ 1
6435
+ )
6436
+ : _vm._e(),
6437
+ _vm._v(" "),
6438
+ _vm._l(
6439
+ _vm.orderHeaders(props.headers),
6440
+ function (column, index) {
6441
+ return [
6442
+ column.isVisible
6443
+ ? _c(
6444
+ "th",
6445
+ {
6446
+ key: column.name,
6447
+ ref: "column-" + column.name,
6448
+ refInFor: true,
6449
+ class: [
6450
+ "zd-table-cell",
6451
+ "column-th-" +
6452
+ column.name +
6453
+ "-" +
6454
+ _vm.instance.name,
6455
+ {
6456
+ sortable: column.sortable,
6457
+ sortHandle: _vm.instance.dragColumns,
6458
+ "zd-table-fixed-column": column.fixed,
6459
+ },
6460
+ "text-" + column.align,
6461
+ _vm.instance.datasource.getOrderByColumn(
6462
+ column.name
6463
+ ),
6464
+ _vm.instance.datasource.getOrderByColumn(
6465
+ column.name
6466
+ ) !== null
6467
+ ? "active"
6468
+ : "",
6469
+ ],
6470
+ style: {
6471
+ "background-color":
6472
+ _vm.instance.headerBackground,
6473
+ "min-width":
6474
+ _vm.calcWidth(
6475
+ column,
6476
+ column.minWidth
6477
+ ) || "unset",
6478
+ "max-width":
6479
+ _vm.calcWidth(
6480
+ column,
6481
+ column.maxWidth
6482
+ ) || "unset",
6483
+ },
6484
+ attrs: {
6485
+ "column-name": column.name,
6486
+ index: index,
6487
+ },
6488
+ on: {
6489
+ click: function ($event) {
6490
+ return _vm.instance.changeColumnOrder(
6491
+ column
6492
+ )
6493
+ },
6494
+ },
6495
+ },
6496
+ [
6497
+ _c(
6498
+ "span",
6499
+ {
6500
+ staticClass: "zd-table-header-cell",
6501
+ style: {
6502
+ width:
6503
+ _vm.calcHeaderCellWidth(column),
6504
+ },
6505
+ },
6506
+ [
6507
+ column.type !== "action"
6508
+ ? [
6509
+ column.sortable &&
6510
+ column.align === "right"
6511
+ ? _c(
6512
+ "span",
6513
+ {
6514
+ staticClass:
6515
+ "zd-table-cell-sort",
6516
+ },
6517
+ [
6518
+ column.sortable &&
6519
+ column.align === "right"
6520
+ ? _c(
6521
+ "v-icon",
6522
+ {
6523
+ staticClass:
6524
+ "zd-table-cell-sort-icon",
6525
+ attrs: {
6526
+ small: "",
6527
+ },
6528
+ },
6529
+ [
6530
+ _vm._v(
6531
+ _vm._s(
6532
+ _vm.$getIcon(
6533
+ "chevronUp"
6534
+ )
6535
+ )
6536
+ ),
6537
+ ]
6538
+ )
6539
+ : _vm._e(),
6540
+ _vm._v(" "),
6541
+ _vm.instance.datasource.findOrderIndex(
6542
+ column.name
6543
+ ) >= 0
6544
+ ? _c(
6545
+ "span",
6546
+ {
6547
+ staticClass:
6548
+ "zd-table-cell-sort-order left",
6549
+ },
6550
+ [
6551
+ _vm._v(
6552
+ _vm._s(
6553
+ _vm.instance.datasource.findOrderIndex(
6554
+ column.name
6555
+ ) + 1
6556
+ )
6557
+ ),
6558
+ ]
6559
+ )
6560
+ : _vm._e(),
6561
+ ],
6562
+ 1
6563
+ )
6564
+ : _vm._e(),
6565
+ _vm._v(" "),
6566
+ _c(
6567
+ "span",
6568
+ {
6569
+ class: [
6570
+ "zd-table-cell-name",
6571
+ {
6572
+ "overflow-hidden":
6573
+ column.overflow ===
6574
+ "hidden",
6575
+ "overflow-wrap":
6576
+ column.overflow ===
6577
+ "wrap",
6578
+ },
6579
+ !isNaN(column.overflow)
6580
+ ? "overflow-clamp overflow-clamp-" +
6581
+ column.overflow
6582
+ : "",
6583
+ ],
6584
+ style: {
6585
+ "min-width":
6586
+ _vm.calcWidth(
6587
+ column,
6588
+ column.minWidth
6589
+ ) || "unset",
6590
+ "max-width":
6591
+ _vm.calcWidth(
6592
+ column,
6593
+ column.maxWidth
6594
+ ) || "unset",
6595
+ },
6596
+ on: {
6597
+ mouseenter: function (
6598
+ $event
6599
+ ) {
6600
+ return _vm.checkOverflow(
6601
+ $event
6602
+ )
6603
+ },
6604
+ mouseleave: function (
6605
+ $event
6606
+ ) {
6607
+ return _vm.removeTooltip()
6608
+ },
6609
+ },
6610
+ },
6611
+ [
6612
+ _vm._v(
6613
+ _vm._s(
6614
+ _vm.$t(column.label)
6615
+ )
6616
+ ),
6617
+ ]
6618
+ ),
6619
+ _vm._v(" "),
6620
+ column.sortable &&
6621
+ column.align !== "right"
6622
+ ? _c(
6623
+ "span",
6624
+ {
6625
+ staticClass:
6626
+ "zd-table-cell-sort",
6627
+ },
6628
+ [
6629
+ column.sortable &&
6630
+ column.align !== "right"
6631
+ ? _c(
6632
+ "v-icon",
6633
+ {
6634
+ staticClass:
6635
+ "zd-table-cell-sort-icon",
6636
+ attrs: {
6637
+ small: "",
6638
+ },
6639
+ },
6640
+ [
6641
+ _vm._v(
6642
+ _vm._s(
6643
+ _vm.$getIcon(
6644
+ "chevronUp"
6645
+ )
6646
+ )
6647
+ ),
6648
+ ]
6649
+ )
6650
+ : _vm._e(),
6651
+ _vm._v(" "),
6652
+ _vm.instance.datasource.findOrderIndex(
6653
+ column.name
6654
+ ) >= 0
6655
+ ? _c(
6656
+ "span",
6657
+ {
6658
+ staticClass:
6659
+ "zd-table-cell-sort-order",
6660
+ },
6661
+ [
6662
+ _vm._v(
6663
+ _vm._s(
6664
+ _vm.instance.datasource.findOrderIndex(
6665
+ column.name
6666
+ ) + 1
6667
+ )
6668
+ ),
6669
+ ]
6670
+ )
6671
+ : _vm._e(),
6672
+ ],
6673
+ 1
6674
+ )
6675
+ : _vm._e(),
6676
+ ]
6677
+ : [
6678
+ _c(
6679
+ "span",
6680
+ {
6681
+ staticClass:
6682
+ "zd-table-cell-name",
6683
+ },
6684
+ [
6685
+ _vm._v(
6686
+ _vm._s(
6687
+ _vm.$t(column.label)
6688
+ )
6689
+ ),
6690
+ ]
6691
+ ),
6692
+ ],
6693
+ _vm._v(" "),
6694
+ _vm.instance.columnFilterButton &&
6695
+ column.filterable
6696
+ ? _c(
6697
+ "span",
6698
+ {
6699
+ class: [
6700
+ "tek-grid-column-filter-button",
6701
+ {
6702
+ "has-filter-data":
6703
+ _vm.instance.columnHasFilterData(
6704
+ column
6705
+ ),
6706
+ },
6707
+ ],
6708
+ },
6709
+ [
6710
+ _c(
6711
+ "v-menu",
6712
+ {
6713
+ attrs: {
6714
+ "offset-overflow": "",
6715
+ "offset-y": "",
6716
+ "min-width": 200,
6717
+ transition:
6718
+ "scale-transition",
6719
+ "content-class":
6720
+ "tek-grid-column-filter-menu",
6721
+ "close-on-content-click": false,
6722
+ },
6723
+ scopedSlots: _vm._u(
6724
+ [
6725
+ {
6726
+ key: "activator",
6727
+ fn: function (ref) {
6728
+ var on = ref.on;
6729
+ return [
6730
+ _c(
6731
+ "v-icon",
6732
+ _vm._g(
6733
+ {},
6734
+ Object.assign(
6735
+ {},
6736
+ _vm.getFilterActivatorEvents(
6737
+ on,
6738
+ column
6739
+ )
6740
+ )
6741
+ ),
6742
+ [
6743
+ _vm._v(
6744
+ _vm._s(
6745
+ _vm.$getIcon(
6746
+ "filter"
6747
+ )
6748
+ )
6749
+ ),
6750
+ ]
6751
+ ),
6752
+ ]
6753
+ },
6754
+ },
6755
+ ],
6756
+ null,
6757
+ true
6758
+ ),
6759
+ },
6760
+ [
6761
+ _vm._v(" "),
6762
+ _vm._l(
6763
+ _vm.getColumnFilterOptions(
6764
+ column
6765
+ ),
6766
+ function (
6767
+ item,
6768
+ filterIndex
6769
+ ) {
6770
+ return _c(
6771
+ "span",
6772
+ {
6773
+ key: filterIndex,
6774
+ },
6775
+ [
6776
+ filterIndex > 0
6777
+ ? _c(
6778
+ "zd-radio",
6779
+ _vm._b(
6780
+ {
6781
+ attrs: {
6782
+ name:
6783
+ _vm
6784
+ .instance
6785
+ .name +
6786
+ "-" +
6787
+ column.name +
6788
+ "-filter-relation-" +
6789
+ filterIndex,
6790
+ },
6791
+ },
6792
+ "zd-radio",
6793
+ {
6794
+ showLabel: false,
6795
+ showHelper: false,
6796
+ vertical: false,
6797
+ cssClass:
6798
+ "zd-mb-2",
6799
+ datasource:
6800
+ _vm
6801
+ .instance
6802
+ .filterRelationsDatasource,
6803
+ dataValue:
6804
+ "value",
6805
+ dataLabel:
6806
+ "text",
6807
+ value:
6808
+ item.relation,
6809
+ events:
6810
+ {
6811
+ change:
6812
+ _vm.getFilterItemChange(
6813
+ "relation",
6814
+ column,
6815
+ filterIndex
6816
+ ),
6817
+ },
6818
+ },
6819
+ false
6820
+ )
6821
+ )
6822
+ : _vm._e(),
6823
+ _vm._v(" "),
6824
+ item.operation !==
6825
+ undefined
6826
+ ? _c(
6827
+ "zd-select",
6828
+ _vm._b(
6829
+ {
6830
+ attrs: {
6831
+ name:
6832
+ _vm
6833
+ .instance
6834
+ .name +
6835
+ "-" +
6836
+ column.name +
6837
+ "-filter-operation-" +
6838
+ filterIndex,
6839
+ },
6840
+ },
6841
+ "zd-select",
6842
+ {
6843
+ autocomplete: false,
6844
+ showLabel: false,
6845
+ showHelper: false,
6846
+ clearable: false,
6847
+ cssClass:
6848
+ "zd-mb-2",
6849
+ datasource:
6850
+ _vm
6851
+ .instance
6852
+ .filterOperationsDatasource,
6853
+ dataValue:
6854
+ "value",
6855
+ dataText:
6856
+ "text",
6857
+ value:
6858
+ item.operation,
6859
+ events:
6860
+ {
6861
+ change:
6862
+ _vm.getFilterItemChange(
6863
+ "operation",
6864
+ column,
6865
+ filterIndex
6866
+ ),
6867
+ },
6868
+ },
6869
+ false
6870
+ )
6871
+ )
6872
+ : _vm._e(),
6873
+ _vm._v(" "),
6874
+ _c(
6875
+ _vm.getComponentType(
6876
+ filterIndex
6877
+ ) ||
6878
+ column
6879
+ .componentProps
6880
+ .component,
6881
+ _vm._b(
6882
+ {
6883
+ tag: "component",
6884
+ attrs: {
6885
+ name:
6886
+ _vm
6887
+ .instance
6888
+ .name +
6889
+ "-" +
6890
+ column.name +
6891
+ "-filter-value-" +
6892
+ filterIndex,
6893
+ },
6894
+ },
6895
+ "component",
6896
+ Object.assign(
6897
+ {},
6898
+ column.componentProps,
6899
+ {
6900
+ showLabel: false,
6901
+ showHelper: true,
6902
+ autofill: false,
6903
+ cssClass:
6904
+ "zd-mb-2",
6905
+ value:
6906
+ item.value,
6907
+ persistentHint: true,
6908
+ hint: _vm.getComponentHint(
6909
+ filterIndex
6910
+ ),
6911
+ events: {
6912
+ input:
6913
+ _vm.getFilterValueChange(
6914
+ column,
6915
+ filterIndex
6916
+ ),
6917
+ change:
6918
+ _vm.getFilterValueChange(
6919
+ column,
6920
+ filterIndex
6921
+ ),
6922
+ },
6923
+ }
6924
+ ),
6925
+ false
6926
+ )
6927
+ ),
6928
+ ],
6929
+ 1
6930
+ )
6931
+ }
6932
+ ),
6933
+ ],
6934
+ 2
6935
+ ),
6936
+ ],
6937
+ 1
6938
+ )
6939
+ : _vm._e(),
6940
+ _vm._v(" "),
6941
+ _vm.instance.resizeColumns
6942
+ ? _c(
6943
+ "span",
6944
+ {
6945
+ staticClass:
6946
+ "zd-grid-resize-handle",
6947
+ on: {
6948
+ mousedown: function (
6949
+ $event
6950
+ ) {
6951
+ return _vm.resizeMouseDownHandler(
6952
+ column,
6953
+ $event
6954
+ )
6955
+ },
6956
+ click:
6957
+ _vm.resizeClickHandler,
6958
+ },
6959
+ },
6960
+ [_vm._v("‖")]
6961
+ )
6962
+ : _vm._e(),
6963
+ ],
6964
+ 2
6965
+ ),
6966
+ ]
6967
+ )
6968
+ : _vm._e(),
6969
+ ]
6970
+ }
6971
+ ),
6972
+ ],
6973
+ 2
6974
+ ),
6975
+ ]),
6976
+ ]
6977
+ },
6978
+ }
6979
+ : null,
6980
+ _vm.instance.virtualScroll && _vm.scrollData.start > 0
6981
+ ? {
6982
+ key: "body.prepend",
6983
+ fn: function (ref) {
6984
+ var headers = ref.headers;
6985
+ return [
6986
+ _c("tr", [
6987
+ _c("td", {
6988
+ style: "padding-top:" + _vm.scrollData.startHeight + "px",
6989
+ attrs: { colspan: headers.length },
6990
+ }),
6991
+ ]),
6992
+ ]
6993
+ },
6994
+ }
6995
+ : null,
6996
+ _vm.instance.virtualScroll &&
6997
+ _vm.scrollData.start + _vm.scrollData.perPage <
6998
+ (_vm.scrollData.visibleData || []).length
6999
+ ? {
7000
+ key: "body.append",
7001
+ fn: function (ref) {
7002
+ var headers = ref.headers;
7003
+ return [
7004
+ _c("tr", [
7005
+ _c("td", {
7006
+ style: "padding-top:" + _vm.scrollData.endHeight + "px",
7007
+ attrs: { colspan: headers.length },
7008
+ }),
7009
+ ]),
7010
+ ]
7011
+ },
7012
+ }
7013
+ : null,
7014
+ _vm.instance.treeDataStructure.treeData.length
7015
+ ? {
7016
+ key: "item",
7017
+ fn: function (ref) {
7018
+ var item = ref.item;
7019
+ var isSelected = ref.isSelected;
7020
+ var index = ref.index;
7021
+ var headers = ref.headers;
7022
+ return [
7023
+ _c(
7024
+ "tr",
7025
+ {
7026
+ directives: [
7027
+ {
7028
+ name: "show",
7029
+ rawName: "v-show",
7030
+ value: _vm.instance.treeDataStructure.isOpened(item),
7031
+ expression:
7032
+ "instance.treeDataStructure.isOpened(item)",
7033
+ },
7034
+ ],
7035
+ class: {
7036
+ active: isSelected,
7037
+ current: _vm.isCurrentRow(item),
7038
+ },
7039
+ on: {
7040
+ click: function ($event) {
7041
+ return _vm.rowClick(item, $event)
7042
+ },
7043
+ },
7044
+ },
7045
+ [
7046
+ _vm.instance.selectable
7047
+ ? _c(
7048
+ "td",
7049
+ {
7050
+ staticClass:
7051
+ "zd-table-cell selectable zd-table-fixed-column",
7052
+ },
7053
+ [
7054
+ _c("v-checkbox", {
7055
+ staticClass: "zd-grid-row-checkbox",
7056
+ attrs: {
7057
+ "hide-details": "",
7058
+ color: "primary",
7059
+ disabled: _vm.instance.editing,
7060
+ "on-icon": _vm.$getIcon("checkboxOn"),
7061
+ "off-icon": _vm.$getIcon("checkboxOff"),
7062
+ "true-value": true,
7063
+ "false-value": false,
7064
+ value: isSelected,
7065
+ },
7066
+ on: {
7067
+ click: function ($event) {
7068
+ $event.stopPropagation();
7069
+ return _vm.selectClick(
7070
+ index,
7071
+ !isSelected,
7072
+ $event
7073
+ )
7074
+ },
7075
+ },
7076
+ }),
7077
+ ],
7078
+ 1
7079
+ )
7080
+ : _vm._e(),
7081
+ _vm._v(" "),
7082
+ _vm._l(
7083
+ _vm.orderHeaders(headers),
7084
+ function (header, headerIndex) {
7085
+ return [
7086
+ _vm._l(
7087
+ [
7088
+ {
7089
+ column: header,
7090
+ cellProps: (_vm.instance.cellsApplied[
7091
+ _vm.rowKey(item)
7092
+ ] || {})[header.name],
7093
+ },
7094
+ ],
7095
+ function (ref) {
7096
+ var column = ref.column;
7097
+ var cellProps = ref.cellProps;
7098
+ return [
7099
+ column.isVisible && column.type !== "action"
7100
+ ? [
7101
+ _c(
7102
+ "td",
7103
+ {
7104
+ key: column.name,
7105
+ class: [
7106
+ "zd-table-cell",
7107
+ "text-" + column.align,
7108
+ Object.assign(
7109
+ {},
7110
+ column,
7111
+ cellProps
7112
+ ).cssClass,
7113
+ { first: headerIndex === 0 },
7114
+ {
7115
+ "zd-table-column-editable":
7116
+ column.editable,
7117
+ "zd-table-cell-editable":
7118
+ Object.assign(
7119
+ {},
7120
+ column,
7121
+ cellProps
7122
+ ).editable,
7123
+ "zd-table-fixed-column":
7124
+ column.fixed,
7125
+ },
7126
+ ],
7127
+ style: [
7128
+ Object.assign(
7129
+ {},
7130
+ column,
7131
+ cellProps
7132
+ ).style,
7133
+ Object.assign(
7134
+ {},
7135
+ column,
7136
+ cellProps
7137
+ ).cssStyle,
7138
+ {
7139
+ left: _vm.getFixedLeft(column),
7140
+ },
7141
+ ],
7142
+ on: {
7143
+ click: function ($event) {
7144
+ return _vm.cellClick(
7145
+ item,
7146
+ column,
7147
+ $event
7148
+ )
7149
+ },
7150
+ },
7151
+ },
7152
+ [
7153
+ column.loading
7154
+ ? _c("v-skeleton-loader", {
7155
+ staticClass:
7156
+ "zd-skeleton-table-cell",
7157
+ attrs: {
7158
+ loading: "",
7159
+ type: "table-cell",
7160
+ },
7161
+ })
7162
+ : _vm._e(),
7163
+ _vm._v(" "),
7164
+ Object.assign({}, column, cellProps)
7165
+ .editable && _vm.instance.editing
7166
+ ? _c(
7167
+ "span",
7168
+ {
7169
+ directives: [
7170
+ {
7171
+ name: "show",
7172
+ rawName: "v-show",
7173
+ value: !column.loading,
7174
+ expression:
7175
+ "!column.loading",
7176
+ },
7177
+ ],
7178
+ staticClass:
7179
+ "zd-table-cell-inline-edit",
7180
+ style: {
7181
+ width:
7182
+ _vm.calcWidth(
7183
+ column,
7184
+ column.maxWidth ||
7185
+ column.minWidth
7186
+ ) || "unset",
7187
+ "min-width":
7188
+ _vm.calcWidth(
7189
+ column,
7190
+ column.minWidth
7191
+ ) || "unset",
7192
+ "max-width":
7193
+ _vm.calcWidth(
7194
+ column,
7195
+ column.maxWidth
7196
+ ) || "unset",
7197
+ },
7198
+ },
7199
+ [
7200
+ _vm.instance.isEdited(
7201
+ column,
7202
+ item
7203
+ )
7204
+ ? _c(
7205
+ "span",
7206
+ {
7207
+ staticClass:
7208
+ "zd-table-cell-edit-icon",
7209
+ },
7210
+ [
7211
+ _vm.instance.isValid(
7212
+ column,
7213
+ item
7214
+ )
7215
+ ? _c(
7216
+ "v-icon",
7217
+ {
7218
+ attrs: {
7219
+ color:
7220
+ "primary",
7221
+ },
7222
+ },
7223
+ [
7224
+ _vm._v(
7225
+ _vm._s(
7226
+ _vm.$getIcon(
7227
+ "pencil"
7228
+ )
7229
+ )
7230
+ ),
7231
+ ]
7232
+ )
7233
+ : _c(
7234
+ "v-icon",
7235
+ {
7236
+ attrs: {
7237
+ color:
7238
+ "error",
7239
+ },
7240
+ },
7241
+ [
7242
+ _vm._v(
7243
+ _vm._s(
7244
+ _vm.$getIcon(
7245
+ "warning"
7246
+ )
7247
+ )
7248
+ ),
7249
+ ]
7250
+ ),
7251
+ ],
7252
+ 1
7253
+ )
7254
+ : _vm._e(),
7255
+ _vm._v(" "),
7256
+ _c(
7257
+ column.componentProps
7258
+ .component,
7259
+ _vm._b(
7260
+ {
7261
+ key:
7262
+ column.name +
7263
+ _vm.rowKey(item),
7264
+ tag: "component",
7265
+ },
7266
+ "component",
7267
+ _vm.getEditableComponent(
7268
+ column,
7269
+ item,
7270
+ cellProps
7271
+ ),
7272
+ false
7273
+ )
7274
+ ),
7275
+ ],
7276
+ 1
7277
+ )
7278
+ : _vm.hasToggleIcon(column, item)
7279
+ ? _c(
7280
+ "span",
7281
+ [
7282
+ _c("v-icon", [
7283
+ _vm._v(
7284
+ _vm._s(
7285
+ _vm.$getIcon(
7286
+ column.formatterByRow(
7287
+ item,
7288
+ cellProps
7289
+ )
7290
+ )
7291
+ )
7292
+ ),
7293
+ ]),
7294
+ ],
7295
+ 1
7296
+ )
7297
+ : _c(
7298
+ "span",
7299
+ {
7300
+ directives: [
7301
+ {
7302
+ name: "show",
7303
+ rawName: "v-show",
7304
+ value: !column.loading,
7305
+ expression:
7306
+ "!column.loading",
7307
+ },
7308
+ ],
7309
+ class: [
7310
+ "zd-table-cell-text",
7311
+ {
7312
+ "zd-table-cell-text-editable":
7313
+ Object.assign(
7314
+ {},
7315
+ column,
7316
+ cellProps
7317
+ ).editable,
7318
+ "overflow-hidden":
7319
+ column.overflow ===
7320
+ "hidden",
7321
+ "overflow-wrap":
7322
+ column.overflow ===
7323
+ "wrap",
7324
+ },
7325
+ !isNaN(column.overflow)
7326
+ ? "overflow-clamp overflow-clamp-" +
7327
+ column.overflow
7328
+ : "",
7329
+ ],
7330
+ style: {
7331
+ width:
7332
+ _vm.calcWidth(
7333
+ column,
7334
+ column.maxWidth ||
7335
+ column.minWidth
7336
+ ) || "unset",
7337
+ "min-width":
7338
+ _vm.calcWidth(
7339
+ column,
7340
+ column.minWidth
7341
+ ) || "unset",
7342
+ "max-width":
7343
+ _vm.calcWidth(
7344
+ column,
7345
+ column.maxWidth
7346
+ ) || "unset",
7347
+ },
7348
+ on: {
7349
+ mouseenter: function (
7350
+ $event
7351
+ ) {
7352
+ return _vm.checkOverflow(
7353
+ $event
7354
+ )
7355
+ },
7356
+ mouseleave: function (
7357
+ $event
7358
+ ) {
7359
+ return _vm.removeTooltip()
7360
+ },
7361
+ },
7362
+ },
7363
+ [
7364
+ _c(
7365
+ "div",
7366
+ {
7367
+ directives: [
7368
+ {
7369
+ name: "show",
7370
+ rawName: "v-show",
7371
+ value:
7372
+ headerIndex === 0,
7373
+ expression:
7374
+ "headerIndex === 0",
7375
+ },
7376
+ ],
7377
+ class: [
7378
+ "zd-tree-grid-editable-expand",
7379
+ "level" +
7380
+ item.tree__level,
7381
+ ],
7382
+ },
7383
+ [
7384
+ item.tree__children
7385
+ .length > 0
7386
+ ? _c(
7387
+ "v-icon",
7388
+ {
7389
+ class: {
7390
+ opened:
7391
+ item.tree__opened,
7392
+ },
7393
+ attrs: {
7394
+ tabindex:
7395
+ "-1",
7396
+ },
7397
+ on: {
7398
+ click:
7399
+ function (
7400
+ $event
7401
+ ) {
7402
+ return _vm.instance.toggleExpand(
7403
+ item,
7404
+ index
7405
+ )
7406
+ },
7407
+ },
7408
+ },
7409
+ [
7410
+ _vm._v(
7411
+ "\n " +
7412
+ _vm._s(
7413
+ _vm.$getIcon(
7414
+ "chevronRight"
7415
+ )
7416
+ ) +
7417
+ "\n "
7418
+ ),
7419
+ ]
7420
+ )
7421
+ : _vm._e(),
7422
+ ],
7423
+ 1
7424
+ ),
7425
+ _vm._v(" "),
7426
+ _c("span", {
7427
+ key: item.tree__searched
7428
+ ? "a"
7429
+ : "b",
7430
+ domProps: {
7431
+ innerHTML: _vm._s(
7432
+ _vm.formatSearchResult(
7433
+ column.formatterByRow(
7434
+ item,
7435
+ cellProps
7436
+ )
7437
+ )
7438
+ ),
7439
+ },
7440
+ }),
7441
+ ]
7442
+ ),
7443
+ ],
7444
+ 1
7445
+ ),
7446
+ ]
7447
+ : column.isVisible &&
7448
+ column.type === "action"
7449
+ ? [
7450
+ _c(
7451
+ "td",
7452
+ {
7453
+ key: column.name,
7454
+ class: [
7455
+ "zd-table-cell",
7456
+ "text-" + column.align,
7457
+ Object.assign(
7458
+ {},
7459
+ column,
7460
+ cellProps
7461
+ ).cssClass,
7462
+ ],
7463
+ style: [
7464
+ Object.assign(
7465
+ {},
7466
+ column,
7467
+ cellProps
7468
+ ).style,
7469
+ Object.assign(
7470
+ {},
7471
+ column,
7472
+ cellProps
7473
+ ).cssStyle,
7474
+ ],
7475
+ on: {
7476
+ click: function ($event) {
7477
+ return _vm.cellClick(
7478
+ item,
7479
+ column,
7480
+ $event
7481
+ )
7482
+ },
7483
+ },
7484
+ },
7485
+ _vm._l(
7486
+ column.childrenProps,
7487
+ function (child) {
7488
+ return _c(
7489
+ child.component,
7490
+ _vm._b(
7491
+ {
7492
+ key:
7493
+ child.name +
7494
+ _vm.rowKey(item),
7495
+ tag: "component",
7496
+ },
7497
+ "component",
7498
+ Object.assign(
7499
+ {},
7500
+ child,
7501
+ _vm.instance.getActionComponent(
7502
+ child,
7503
+ column,
7504
+ item
7505
+ )
7506
+ ),
7507
+ false
7508
+ )
7509
+ )
7510
+ }
7511
+ ),
7512
+ 1
7513
+ ),
7514
+ ]
7515
+ : _vm._e(),
7516
+ ]
7517
+ }
7518
+ ),
7519
+ ]
7520
+ }
7521
+ ),
7522
+ ],
7523
+ 2
7524
+ ),
7525
+ ]
7526
+ },
7527
+ }
7528
+ : null,
7529
+ {
7530
+ key: "no-data",
7531
+ fn: function () {
7532
+ return [
7533
+ _c("zd-iterable-no-data", {
7534
+ ref: "gridNoData",
7535
+ attrs: {
7536
+ name: _vm.instance.name + "_no_data",
7537
+ instance: _vm.instance,
7538
+ noDataSlot: _vm.instance.noDataSlot,
7539
+ noResultSlot: _vm.instance.noResultSlot,
7540
+ errorSlot: _vm.instance.errorSlot,
7541
+ empty: !_vm.getData().length,
7542
+ },
7543
+ scopedSlots: _vm._u(
7544
+ [
7545
+ {
7546
+ key: "errorSlot",
7547
+ fn: function () {
7548
+ return [_vm._t("errorSlot")]
7549
+ },
7550
+ proxy: true,
7551
+ },
7552
+ {
7553
+ key: "noResultSlot",
7554
+ fn: function () {
7555
+ return [_vm._t("noResultSlot")]
7556
+ },
7557
+ proxy: true,
7558
+ },
7559
+ {
7560
+ key: "noDataSlot",
7561
+ fn: function () {
7562
+ return [_vm._t("noDataSlot")]
7563
+ },
7564
+ proxy: true,
7565
+ },
7566
+ ],
7567
+ null,
7568
+ true
7569
+ ),
7570
+ }),
7571
+ ]
7572
+ },
7573
+ proxy: true,
7574
+ },
7575
+ _vm.instance.showFooter
7576
+ ? {
7577
+ key: "footer",
7578
+ fn: function () {
7579
+ return [
7580
+ !_vm.$slots.footerSlot
7581
+ ? [
7582
+ _c("zd-grid-footer", {
7583
+ ref: "gridFooter",
7584
+ attrs: {
7585
+ name: _vm.instance.name + "_footer",
7586
+ instance: _vm.instance,
7587
+ footerSlot: _vm.instance.footerSlot,
7588
+ },
7589
+ }),
7590
+ ]
7591
+ : _vm._e(),
7592
+ _vm._v(" "),
7593
+ _vm._t("footerSlot"),
7594
+ ]
7595
+ },
7596
+ proxy: true,
7597
+ }
7598
+ : null,
7599
+ ],
7600
+ null,
7601
+ true
7602
+ ),
7603
+ model: {
7604
+ value: _vm.instance.selectedRows,
7605
+ callback: function ($$v) {
7606
+ _vm.$set(_vm.instance, "selectedRows", $$v);
7607
+ },
7608
+ expression: "instance.selectedRows",
7609
+ },
7610
+ })
7611
+ };
5511
7612
  var __vue_staticRenderFns__ = [];
5512
7613
  __vue_render__._withStripped = true;
5513
7614
 
5514
7615
  /* style */
5515
7616
  const __vue_inject_styles__ = function (inject) {
5516
7617
  if (!inject) return
5517
- 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 });
7618
+ 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 });
5518
7619
 
5519
7620
  };
5520
7621
  /* scoped */
@@ -5543,21 +7644,23 @@ __vue_render__._withStripped = true;
5543
7644
  );
5544
7645
 
5545
7646
  const components = {
5546
- TekBreadcrumbHeader: __vue_component__$e,
5547
- TekCardTitle: __vue_component__$d,
5548
- TekCrudAddButton: __vue_component__$c,
5549
- TekCrudCancelButton: __vue_component__$b,
5550
- TekCrudDeleteButton: __vue_component__$a,
5551
- TekCrudForm: __vue_component__$9,
5552
- TekCrudSaveButton: __vue_component__$8,
5553
- TekGrid: __vue_component__$7,
5554
- TekGridColumnsButton: __vue_component__$6,
5555
- TekGridLayoutOptions: __vue_component__$5,
5556
- TekImage: __vue_component__$4,
5557
- TekProductCard: __vue_component__,
5558
- TekIterableComponentRender: __vue_component__$2,
5559
- TekIterableCarousel: __vue_component__$3,
5560
- TekNotifications: __vue_component__$1,
7647
+ TekBreadcrumbHeader: __vue_component__$g,
7648
+ TekCardTitle: __vue_component__$f,
7649
+ TekCrudAddButton: __vue_component__$e,
7650
+ TekCrudCancelButton: __vue_component__$d,
7651
+ TekCrudDeleteButton: __vue_component__$c,
7652
+ TekCrudForm: __vue_component__$b,
7653
+ TekCrudSaveButton: __vue_component__$a,
7654
+ TekGrid: __vue_component__$9,
7655
+ TekGridColumnsButton: __vue_component__$8,
7656
+ TekGridLayoutOptions: __vue_component__$7,
7657
+ TekImage: __vue_component__$6,
7658
+ TekProductCard: __vue_component__$1,
7659
+ TekIterableComponentRender: __vue_component__$4,
7660
+ TekIterableCarousel: __vue_component__$5,
7661
+ TekLoading: __vue_component__$3,
7662
+ TekNotifications: __vue_component__$2,
7663
+ TekTreeGrid: __vue_component__,
5561
7664
  };
5562
7665
 
5563
7666
  Icons.addIcons({
@@ -5578,4 +7681,4 @@ const TeknisaComponents = {
5578
7681
  },
5579
7682
  };
5580
7683
 
5581
- 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 };
7684
+ 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 };