@zeedhi/teknisa-components-vuetify 1.37.0 → 1.41.0

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