@zeedhi/teknisa-components-vuetify 1.130.0 → 1.132.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.
@@ -2,7 +2,7 @@ import { ModalService, IterableComponentRender, Icons } from '@zeedhi/common';
2
2
  import { ZdUserInfo } from '@zeedhi/zd-user-info-vue';
3
3
  import { Metadata, Config, dayjs, Singleton, Utils, I18n, Loader, VersionService } from '@zeedhi/core';
4
4
  import { Prop, Component, Watch } from 'vue-property-decorator';
5
- import { BreadcrumbHeader, CardTitle, CrudButton, CrudAddButton, CrudCancelButton, CrudDeleteButton, CrudForm, CrudSaveButton, TekGrid as TekGrid$2, TekRestDatasource, TekMemoryDatasource, TekGridColumn, TekGridColumnsButton as TekGridColumnsButton$1, TekGridFilterButton as TekGridFilterButton$1, TekGridLayoutOptions as TekGridLayoutOptions$1, TekFilterHelper, Image, ProductCard, TekTreeGrid as TekTreeGrid$1, TekUserInfo as TekUserInfo$1, TekUserInfoList as TekUserInfoList$1, TekDragGrid as TekDragGrid$1, IterableCarousel, Loading, Notifications } from '@zeedhi/teknisa-components-common';
5
+ import { BreadcrumbHeader, CardTitle, CrudButton, CrudAddButton, CrudCancelButton, CrudDeleteButton, CrudForm, CrudSaveButton, TekGrid as TekGrid$2, TekRestDatasource, TekMemoryDatasource, TekGridColumn, TekGridColumnsButton as TekGridColumnsButton$1, TekGridExportButton as TekGridExportButton$1, TekGridFilterButton as TekGridFilterButton$1, TekGridLayoutOptions as TekGridLayoutOptions$1, TekFilterHelper, Image, ProductCard, TekTreeGrid as TekTreeGrid$1, TekUserInfo as TekUserInfo$1, TekUserInfoList as TekUserInfoList$1, TekDragGrid as TekDragGrid$1, IterableCarousel, Loading, Notifications } from '@zeedhi/teknisa-components-common';
6
6
  import { PropWatch, ZdComponent, ZdComponentRender, components as components$1, ZdForm, EditableMixin, NavigableTableMixin, ZdGrid, ZdIterableColumnsButton, FillHeightMixin, ZdIterableComponentRender, ZdLoading, ZdIterable } from '@zeedhi/vuetify';
7
7
  import debounce from 'lodash.debounce';
8
8
  import Vue from 'vue';
@@ -56,7 +56,7 @@ __decorate([
56
56
  TekBreadcrumbHeader = __decorate([
57
57
  Component
58
58
  ], TekBreadcrumbHeader);
59
- var script$m = TekBreadcrumbHeader;
59
+ var script$n = TekBreadcrumbHeader;
60
60
 
61
61
  function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
62
62
  if (typeof shadowMode !== 'boolean') {
@@ -187,10 +187,10 @@ function addStyle(id, css) {
187
187
  }
188
188
 
189
189
  /* script */
190
- const __vue_script__$n = script$m;
190
+ const __vue_script__$o = script$n;
191
191
 
192
192
  /* template */
193
- var __vue_render__$n = function () {
193
+ var __vue_render__$o = function () {
194
194
  var _vm = this;
195
195
  var _h = _vm.$createElement;
196
196
  var _c = _vm._self._c || _h;
@@ -261,34 +261,34 @@ var __vue_render__$n = function () {
261
261
  1
262
262
  )
263
263
  };
264
- var __vue_staticRenderFns__$n = [];
265
- __vue_render__$n._withStripped = true;
264
+ var __vue_staticRenderFns__$o = [];
265
+ __vue_render__$o._withStripped = true;
266
266
 
267
267
  /* style */
268
- const __vue_inject_styles__$n = function (inject) {
268
+ const __vue_inject_styles__$o = function (inject) {
269
269
  if (!inject) return
270
270
  inject("data-v-73099341_0", { source: ".tek-breadcrumb-header .tek-breadcrumb-header-title-col {\n display: flex;\n padding-top: 5px;\n padding-left: 0;\n}\n.tek-breadcrumb-header .tek-breadcrumb-header-title-col .tek-breadcrumb-header-slot-right {\n margin-left: auto;\n}\n.tek-breadcrumb-header .zd-breadcrumbs {\n padding: 0;\n font-size: var(--zd-font-body2-size);\n}\n.tek-breadcrumb-header .zd-breadcrumbs .v-breadcrumbs__item--disabled {\n color: #667080;\n}\n.tek-breadcrumb-header .zd-text {\n color: #667080;\n}\n.tek-breadcrumb-header .zd-text.tek-breadcrumb-header-title {\n font-size: 32px;\n font-weight: bold;\n line-height: 35px;\n margin-bottom: 10px;\n}\n.tek-breadcrumb-header .zd-text > p {\n margin: 0;\n}", map: undefined, media: undefined });
271
271
 
272
272
  };
273
273
  /* scoped */
274
- const __vue_scope_id__$n = undefined;
274
+ const __vue_scope_id__$o = undefined;
275
275
  /* module identifier */
276
- const __vue_module_identifier__$n = undefined;
276
+ const __vue_module_identifier__$o = undefined;
277
277
  /* functional template */
278
- const __vue_is_functional_template__$n = false;
278
+ const __vue_is_functional_template__$o = false;
279
279
  /* style inject SSR */
280
280
 
281
281
  /* style inject shadow dom */
282
282
 
283
283
 
284
284
 
285
- const __vue_component__$n = /*#__PURE__*/normalizeComponent(
286
- { render: __vue_render__$n, staticRenderFns: __vue_staticRenderFns__$n },
287
- __vue_inject_styles__$n,
288
- __vue_script__$n,
289
- __vue_scope_id__$n,
290
- __vue_is_functional_template__$n,
291
- __vue_module_identifier__$n,
285
+ const __vue_component__$o = /*#__PURE__*/normalizeComponent(
286
+ { render: __vue_render__$o, staticRenderFns: __vue_staticRenderFns__$o },
287
+ __vue_inject_styles__$o,
288
+ __vue_script__$o,
289
+ __vue_scope_id__$o,
290
+ __vue_is_functional_template__$o,
291
+ __vue_module_identifier__$o,
292
292
  false,
293
293
  createInjector,
294
294
  undefined,
@@ -325,13 +325,13 @@ __decorate([
325
325
  TekCardTitle = __decorate([
326
326
  Component
327
327
  ], TekCardTitle);
328
- var script$l = TekCardTitle;
328
+ var script$m = TekCardTitle;
329
329
 
330
330
  /* script */
331
- const __vue_script__$m = script$l;
331
+ const __vue_script__$n = script$m;
332
332
 
333
333
  /* template */
334
- var __vue_render__$m = function () {
334
+ var __vue_render__$n = function () {
335
335
  var _vm = this;
336
336
  var _h = _vm.$createElement;
337
337
  var _c = _vm._self._c || _h;
@@ -431,34 +431,34 @@ var __vue_render__$m = function () {
431
431
  1
432
432
  )
433
433
  };
434
- var __vue_staticRenderFns__$m = [];
435
- __vue_render__$m._withStripped = true;
434
+ var __vue_staticRenderFns__$n = [];
435
+ __vue_render__$n._withStripped = true;
436
436
 
437
437
  /* style */
438
- const __vue_inject_styles__$m = function (inject) {
438
+ const __vue_inject_styles__$n = function (inject) {
439
439
  if (!inject) return
440
440
  inject("data-v-c08ce4fa_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 });
441
441
 
442
442
  };
443
443
  /* scoped */
444
- const __vue_scope_id__$m = undefined;
444
+ const __vue_scope_id__$n = undefined;
445
445
  /* module identifier */
446
- const __vue_module_identifier__$m = undefined;
446
+ const __vue_module_identifier__$n = undefined;
447
447
  /* functional template */
448
- const __vue_is_functional_template__$m = false;
448
+ const __vue_is_functional_template__$n = false;
449
449
  /* style inject SSR */
450
450
 
451
451
  /* style inject shadow dom */
452
452
 
453
453
 
454
454
 
455
- const __vue_component__$m = /*#__PURE__*/normalizeComponent(
456
- { render: __vue_render__$m, staticRenderFns: __vue_staticRenderFns__$m },
457
- __vue_inject_styles__$m,
458
- __vue_script__$m,
459
- __vue_scope_id__$m,
460
- __vue_is_functional_template__$m,
461
- __vue_module_identifier__$m,
455
+ const __vue_component__$n = /*#__PURE__*/normalizeComponent(
456
+ { render: __vue_render__$n, staticRenderFns: __vue_staticRenderFns__$n },
457
+ __vue_inject_styles__$n,
458
+ __vue_script__$n,
459
+ __vue_scope_id__$n,
460
+ __vue_is_functional_template__$n,
461
+ __vue_module_identifier__$n,
462
462
  false,
463
463
  createInjector,
464
464
  undefined,
@@ -526,13 +526,13 @@ __decorate([
526
526
  TekCrudAddButton = __decorate([
527
527
  Component
528
528
  ], TekCrudAddButton);
529
- var script$k = TekCrudAddButton;
529
+ var script$l = TekCrudAddButton;
530
530
 
531
531
  /* script */
532
- const __vue_script__$l = script$k;
532
+ const __vue_script__$m = script$l;
533
533
 
534
534
  /* template */
535
- var __vue_render__$l = function () {
535
+ var __vue_render__$m = function () {
536
536
  var _vm = this;
537
537
  var _h = _vm.$createElement;
538
538
  var _c = _vm._self._c || _h;
@@ -597,17 +597,17 @@ var __vue_render__$l = function () {
597
597
  ]
598
598
  )
599
599
  };
600
- var __vue_staticRenderFns__$l = [];
601
- __vue_render__$l._withStripped = true;
600
+ var __vue_staticRenderFns__$m = [];
601
+ __vue_render__$m._withStripped = true;
602
602
 
603
603
  /* style */
604
- const __vue_inject_styles__$l = undefined;
604
+ const __vue_inject_styles__$m = undefined;
605
605
  /* scoped */
606
- const __vue_scope_id__$l = undefined;
606
+ const __vue_scope_id__$m = undefined;
607
607
  /* module identifier */
608
- const __vue_module_identifier__$l = undefined;
608
+ const __vue_module_identifier__$m = undefined;
609
609
  /* functional template */
610
- const __vue_is_functional_template__$l = false;
610
+ const __vue_is_functional_template__$m = false;
611
611
  /* style inject */
612
612
 
613
613
  /* style inject SSR */
@@ -616,13 +616,13 @@ __vue_render__$l._withStripped = true;
616
616
 
617
617
 
618
618
 
619
- const __vue_component__$l = /*#__PURE__*/normalizeComponent(
620
- { render: __vue_render__$l, staticRenderFns: __vue_staticRenderFns__$l },
621
- __vue_inject_styles__$l,
622
- __vue_script__$l,
623
- __vue_scope_id__$l,
624
- __vue_is_functional_template__$l,
625
- __vue_module_identifier__$l,
619
+ const __vue_component__$m = /*#__PURE__*/normalizeComponent(
620
+ { render: __vue_render__$m, staticRenderFns: __vue_staticRenderFns__$m },
621
+ __vue_inject_styles__$m,
622
+ __vue_script__$m,
623
+ __vue_scope_id__$m,
624
+ __vue_is_functional_template__$m,
625
+ __vue_module_identifier__$m,
626
626
  false,
627
627
  undefined,
628
628
  undefined,
@@ -650,13 +650,13 @@ __decorate([
650
650
  TekCrudCancelButton = __decorate([
651
651
  Component
652
652
  ], TekCrudCancelButton);
653
- var script$j = TekCrudCancelButton;
653
+ var script$k = TekCrudCancelButton;
654
654
 
655
655
  /* script */
656
- const __vue_script__$k = script$j;
656
+ const __vue_script__$l = script$k;
657
657
 
658
658
  /* template */
659
- var __vue_render__$k = function () {
659
+ var __vue_render__$l = function () {
660
660
  var _vm = this;
661
661
  var _h = _vm.$createElement;
662
662
  var _c = _vm._self._c || _h;
@@ -721,17 +721,17 @@ var __vue_render__$k = function () {
721
721
  ]
722
722
  )
723
723
  };
724
- var __vue_staticRenderFns__$k = [];
725
- __vue_render__$k._withStripped = true;
724
+ var __vue_staticRenderFns__$l = [];
725
+ __vue_render__$l._withStripped = true;
726
726
 
727
727
  /* style */
728
- const __vue_inject_styles__$k = undefined;
728
+ const __vue_inject_styles__$l = undefined;
729
729
  /* scoped */
730
- const __vue_scope_id__$k = undefined;
730
+ const __vue_scope_id__$l = undefined;
731
731
  /* module identifier */
732
- const __vue_module_identifier__$k = undefined;
732
+ const __vue_module_identifier__$l = undefined;
733
733
  /* functional template */
734
- const __vue_is_functional_template__$k = false;
734
+ const __vue_is_functional_template__$l = false;
735
735
  /* style inject */
736
736
 
737
737
  /* style inject SSR */
@@ -740,13 +740,13 @@ __vue_render__$k._withStripped = true;
740
740
 
741
741
 
742
742
 
743
- const __vue_component__$k = /*#__PURE__*/normalizeComponent(
744
- { render: __vue_render__$k, staticRenderFns: __vue_staticRenderFns__$k },
745
- __vue_inject_styles__$k,
746
- __vue_script__$k,
747
- __vue_scope_id__$k,
748
- __vue_is_functional_template__$k,
749
- __vue_module_identifier__$k,
743
+ const __vue_component__$l = /*#__PURE__*/normalizeComponent(
744
+ { render: __vue_render__$l, staticRenderFns: __vue_staticRenderFns__$l },
745
+ __vue_inject_styles__$l,
746
+ __vue_script__$l,
747
+ __vue_scope_id__$l,
748
+ __vue_is_functional_template__$l,
749
+ __vue_module_identifier__$l,
750
750
  false,
751
751
  undefined,
752
752
  undefined,
@@ -780,13 +780,13 @@ __decorate([
780
780
  TekCrudDeleteButton = __decorate([
781
781
  Component
782
782
  ], TekCrudDeleteButton);
783
- var script$i = TekCrudDeleteButton;
783
+ var script$j = TekCrudDeleteButton;
784
784
 
785
785
  /* script */
786
- const __vue_script__$j = script$i;
786
+ const __vue_script__$k = script$j;
787
787
 
788
788
  /* template */
789
- var __vue_render__$j = function () {
789
+ var __vue_render__$k = function () {
790
790
  var _vm = this;
791
791
  var _h = _vm.$createElement;
792
792
  var _c = _vm._self._c || _h;
@@ -851,17 +851,17 @@ var __vue_render__$j = function () {
851
851
  ]
852
852
  )
853
853
  };
854
- var __vue_staticRenderFns__$j = [];
855
- __vue_render__$j._withStripped = true;
854
+ var __vue_staticRenderFns__$k = [];
855
+ __vue_render__$k._withStripped = true;
856
856
 
857
857
  /* style */
858
- const __vue_inject_styles__$j = undefined;
858
+ const __vue_inject_styles__$k = undefined;
859
859
  /* scoped */
860
- const __vue_scope_id__$j = undefined;
860
+ const __vue_scope_id__$k = undefined;
861
861
  /* module identifier */
862
- const __vue_module_identifier__$j = undefined;
862
+ const __vue_module_identifier__$k = undefined;
863
863
  /* functional template */
864
- const __vue_is_functional_template__$j = false;
864
+ const __vue_is_functional_template__$k = false;
865
865
  /* style inject */
866
866
 
867
867
  /* style inject SSR */
@@ -870,13 +870,13 @@ __vue_render__$j._withStripped = true;
870
870
 
871
871
 
872
872
 
873
- const __vue_component__$j = /*#__PURE__*/normalizeComponent(
874
- { render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
875
- __vue_inject_styles__$j,
876
- __vue_script__$j,
877
- __vue_scope_id__$j,
878
- __vue_is_functional_template__$j,
879
- __vue_module_identifier__$j,
873
+ const __vue_component__$k = /*#__PURE__*/normalizeComponent(
874
+ { render: __vue_render__$k, staticRenderFns: __vue_staticRenderFns__$k },
875
+ __vue_inject_styles__$k,
876
+ __vue_script__$k,
877
+ __vue_scope_id__$k,
878
+ __vue_is_functional_template__$k,
879
+ __vue_module_identifier__$k,
880
880
  false,
881
881
  undefined,
882
882
  undefined,
@@ -895,13 +895,13 @@ let TekCrudForm = class TekCrudForm extends ZdForm {
895
895
  TekCrudForm = __decorate([
896
896
  Component
897
897
  ], TekCrudForm);
898
- var script$h = TekCrudForm;
898
+ var script$i = TekCrudForm;
899
899
 
900
900
  /* script */
901
- const __vue_script__$i = script$h;
901
+ const __vue_script__$j = script$i;
902
902
 
903
903
  /* template */
904
- var __vue_render__$i = function () {
904
+ var __vue_render__$j = function () {
905
905
  var _vm = this;
906
906
  var _h = _vm.$createElement;
907
907
  var _c = _vm._self._c || _h;
@@ -987,34 +987,34 @@ var __vue_render__$i = function () {
987
987
  2
988
988
  )
989
989
  };
990
- var __vue_staticRenderFns__$i = [];
991
- __vue_render__$i._withStripped = true;
990
+ var __vue_staticRenderFns__$j = [];
991
+ __vue_render__$j._withStripped = true;
992
992
 
993
993
  /* style */
994
- const __vue_inject_styles__$i = function (inject) {
994
+ const __vue_inject_styles__$j = function (inject) {
995
995
  if (!inject) return
996
996
  inject("data-v-58e74857_0", { source: ".tek-crud-form {\n outline: none;\n overflow-x: hidden;\n padding-bottom: 4px;\n}\n.tek-crud-form > .row {\n height: 100%;\n align-content: flex-start;\n margin: 0 -12px;\n}\n.tek-crud-form > .row.row--dense {\n margin: 0 -4px;\n}", map: undefined, media: undefined });
997
997
 
998
998
  };
999
999
  /* scoped */
1000
- const __vue_scope_id__$i = undefined;
1000
+ const __vue_scope_id__$j = undefined;
1001
1001
  /* module identifier */
1002
- const __vue_module_identifier__$i = undefined;
1002
+ const __vue_module_identifier__$j = undefined;
1003
1003
  /* functional template */
1004
- const __vue_is_functional_template__$i = false;
1004
+ const __vue_is_functional_template__$j = false;
1005
1005
  /* style inject SSR */
1006
1006
 
1007
1007
  /* style inject shadow dom */
1008
1008
 
1009
1009
 
1010
1010
 
1011
- const __vue_component__$i = /*#__PURE__*/normalizeComponent(
1012
- { render: __vue_render__$i, staticRenderFns: __vue_staticRenderFns__$i },
1013
- __vue_inject_styles__$i,
1014
- __vue_script__$i,
1015
- __vue_scope_id__$i,
1016
- __vue_is_functional_template__$i,
1017
- __vue_module_identifier__$i,
1011
+ const __vue_component__$j = /*#__PURE__*/normalizeComponent(
1012
+ { render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
1013
+ __vue_inject_styles__$j,
1014
+ __vue_script__$j,
1015
+ __vue_scope_id__$j,
1016
+ __vue_is_functional_template__$j,
1017
+ __vue_module_identifier__$j,
1018
1018
  false,
1019
1019
  createInjector,
1020
1020
  undefined,
@@ -1039,13 +1039,13 @@ __decorate([
1039
1039
  TekCrudSaveButton = __decorate([
1040
1040
  Component
1041
1041
  ], TekCrudSaveButton);
1042
- var script$g = TekCrudSaveButton;
1042
+ var script$h = TekCrudSaveButton;
1043
1043
 
1044
1044
  /* script */
1045
- const __vue_script__$h = script$g;
1045
+ const __vue_script__$i = script$h;
1046
1046
 
1047
1047
  /* template */
1048
- var __vue_render__$h = function () {
1048
+ var __vue_render__$i = function () {
1049
1049
  var _vm = this;
1050
1050
  var _h = _vm.$createElement;
1051
1051
  var _c = _vm._self._c || _h;
@@ -1110,17 +1110,17 @@ var __vue_render__$h = function () {
1110
1110
  ]
1111
1111
  )
1112
1112
  };
1113
- var __vue_staticRenderFns__$h = [];
1114
- __vue_render__$h._withStripped = true;
1113
+ var __vue_staticRenderFns__$i = [];
1114
+ __vue_render__$i._withStripped = true;
1115
1115
 
1116
1116
  /* style */
1117
- const __vue_inject_styles__$h = undefined;
1117
+ const __vue_inject_styles__$i = undefined;
1118
1118
  /* scoped */
1119
- const __vue_scope_id__$h = undefined;
1119
+ const __vue_scope_id__$i = undefined;
1120
1120
  /* module identifier */
1121
- const __vue_module_identifier__$h = undefined;
1121
+ const __vue_module_identifier__$i = undefined;
1122
1122
  /* functional template */
1123
- const __vue_is_functional_template__$h = false;
1123
+ const __vue_is_functional_template__$i = false;
1124
1124
  /* style inject */
1125
1125
 
1126
1126
  /* style inject SSR */
@@ -1129,13 +1129,13 @@ __vue_render__$h._withStripped = true;
1129
1129
 
1130
1130
 
1131
1131
 
1132
- const __vue_component__$h = /*#__PURE__*/normalizeComponent(
1133
- { render: __vue_render__$h, staticRenderFns: __vue_staticRenderFns__$h },
1134
- __vue_inject_styles__$h,
1135
- __vue_script__$h,
1136
- __vue_scope_id__$h,
1137
- __vue_is_functional_template__$h,
1138
- __vue_module_identifier__$h,
1132
+ const __vue_component__$i = /*#__PURE__*/normalizeComponent(
1133
+ { render: __vue_render__$i, staticRenderFns: __vue_staticRenderFns__$i },
1134
+ __vue_inject_styles__$i,
1135
+ __vue_script__$i,
1136
+ __vue_scope_id__$i,
1137
+ __vue_is_functional_template__$i,
1138
+ __vue_module_identifier__$i,
1139
1139
  false,
1140
1140
  undefined,
1141
1141
  undefined,
@@ -1177,8 +1177,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1177
1177
  }
1178
1178
  }
1179
1179
  mounted() {
1180
- this.originalChangeLayout = this.instance.changeLayout;
1181
- this.instance.changeLayout = this.onChangeLayout;
1180
+ this.instance.addEvent('changeLayout', this.updateFixedColumnsAfterLayoutChange.bind(this));
1182
1181
  this.instance.viewUpdateScrollData = this.calcScrollData;
1183
1182
  this.instance.viewUpdateFixedColumns = this.updateFixedColumns.bind(this);
1184
1183
  }
@@ -1189,19 +1188,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1189
1188
  }
1190
1189
  return minWidth;
1191
1190
  }
1192
- onChangeLayout(event, element) {
1193
- if (this.originalChangeLayout) {
1194
- this.originalChangeLayout.call(this.instance, event, element);
1195
- }
1196
- if (this.instance.showLayoutOptions) {
1197
- try {
1198
- const layoutOptions = Metadata.getInstance(`${this.instance.name}_layout_options`);
1199
- layoutOptions.layoutEdited = true;
1200
- }
1201
- catch (_a) {
1202
- // do nothing
1203
- }
1204
- }
1191
+ updateFixedColumnsAfterLayoutChange() {
1205
1192
  setTimeout(this.updateFixedColumns.bind(this));
1206
1193
  }
1207
1194
  getFilterActivatorEvents(on, column) {
@@ -1264,7 +1251,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1264
1251
  datasource.dynamicFilter[column.name][index][prop] = component.value;
1265
1252
  if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
1266
1253
  this.debouncedDatasourceGet(this.instance);
1267
- this.onChangeLayout(event, element);
1254
+ this.instance.changeLayout(event, element);
1268
1255
  }
1269
1256
  }
1270
1257
  }
@@ -1348,7 +1335,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1348
1335
  }
1349
1336
  if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
1350
1337
  this.debouncedDatasourceGet(this.instance);
1351
- this.onChangeLayout(event, element);
1338
+ this.instance.changeLayout(event, element);
1352
1339
  this.clearHelperValues(column);
1353
1340
  }
1354
1341
  }
@@ -1362,7 +1349,7 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1362
1349
  }
1363
1350
  if (this.lastFilter !== JSON.stringify(this.instance.datasource.filter)) {
1364
1351
  this.debouncedDatasourceGet(this.instance);
1365
- this.onChangeLayout(event, element);
1352
+ this.instance.changeLayout(event, element);
1366
1353
  this.clearHelperValues(column);
1367
1354
  }
1368
1355
  }
@@ -1418,6 +1405,13 @@ let TekGrid = class TekGrid extends ZdGridEditable {
1418
1405
  return !this.instance.cellSelection && (!!((row.group && row.groupValue === currentRow.groupValue)
1419
1406
  || (row[uniqueKey] && row[uniqueKey] === currentRow[uniqueKey])));
1420
1407
  }
1408
+ isNavigableRow(element) {
1409
+ return window.getComputedStyle(element).display !== 'none'
1410
+ && !element.classList.contains('footer')
1411
+ && !element.classList.contains('summary')
1412
+ && !element.querySelector('.zd-table-group-header')
1413
+ && !!element.querySelector('td.zd-table-cell');
1414
+ }
1421
1415
  getVisibleData() {
1422
1416
  const groupColumns = !!this.instance.groupColumnNames.length;
1423
1417
  if (groupColumns || (this.instance.showSummaryTotal && this.instance.summaryColumns.length)) {
@@ -1677,10 +1671,10 @@ TekGrid = __decorate([
1677
1671
  var TekGrid$1 = TekGrid;
1678
1672
 
1679
1673
  /* script */
1680
- const __vue_script__$g = TekGrid$1;
1674
+ const __vue_script__$h = TekGrid$1;
1681
1675
 
1682
1676
  /* template */
1683
- var __vue_render__$g = function () {
1677
+ var __vue_render__$h = function () {
1684
1678
  var _vm = this;
1685
1679
  var _h = _vm.$createElement;
1686
1680
  var _c = _vm._self._c || _h;
@@ -2889,34 +2883,34 @@ var __vue_render__$g = function () {
2889
2883
  },
2890
2884
  })
2891
2885
  };
2892
- var __vue_staticRenderFns__$g = [];
2893
- __vue_render__$g._withStripped = true;
2886
+ var __vue_staticRenderFns__$h = [];
2887
+ __vue_render__$h._withStripped = true;
2894
2888
 
2895
2889
  /* style */
2896
- const __vue_inject_styles__$g = function (inject) {
2890
+ const __vue_inject_styles__$h = function (inject) {
2897
2891
  if (!inject) return
2898
2892
  inject("data-v-d96b7840_0", { source: ".tek-grid .zd-table-cell-text-first {\n display: inline-flex;\n width: 100%;\n}\n.tek-grid .zd-grid-toolbar {\n height: auto;\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 flex-grow: 1;\n line-height: 22px;\n color: var(--v-primary-base);\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 .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: var(--row-active-color);\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-first-group-cell {\n display: flex;\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 .zd-table-group-two-plus-container {\n display: flex;\n height: 100%;\n align-items: center;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation {\n top: unset;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation :not(.first-group) {\n margin-left: 10px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation.first-group {\n width: 14px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\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 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.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 .zd-table-two-plus-groups {\n display: flex !important;\n}\n.tek-grid table .zd-table-two-plus-groups .zd-table-cell-text {\n position: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation {\n top: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\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: 1rem;\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 top: -10%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid table .footer .zd-grid-row-checkbox {\n display: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tek-grid-export-landscape i {\n transform: rotate(-90deg);\n}\n.tek-grid-export-multioption-text {\n padding-left: 3px;\n font-size: var(--zd-font-body4-size);\n font-weight: var(--zd-font-body4-weight);\n cursor: default;\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}\n.is-rotated {\n transform: rotate(180deg);\n transition: transform 0.3s ease;\n}\n.toolbar-visible {\n width: 0;\n overflow: hidden;\n white-space: nowrap;\n}", map: undefined, media: undefined });
2899
2893
 
2900
2894
  };
2901
2895
  /* scoped */
2902
- const __vue_scope_id__$g = undefined;
2896
+ const __vue_scope_id__$h = undefined;
2903
2897
  /* module identifier */
2904
- const __vue_module_identifier__$g = undefined;
2898
+ const __vue_module_identifier__$h = undefined;
2905
2899
  /* functional template */
2906
- const __vue_is_functional_template__$g = false;
2900
+ const __vue_is_functional_template__$h = false;
2907
2901
  /* style inject SSR */
2908
2902
 
2909
2903
  /* style inject shadow dom */
2910
2904
 
2911
2905
 
2912
2906
 
2913
- const __vue_component__$g = /*#__PURE__*/normalizeComponent(
2914
- { render: __vue_render__$g, staticRenderFns: __vue_staticRenderFns__$g },
2915
- __vue_inject_styles__$g,
2916
- __vue_script__$g,
2917
- __vue_scope_id__$g,
2918
- __vue_is_functional_template__$g,
2919
- __vue_module_identifier__$g,
2907
+ const __vue_component__$h = /*#__PURE__*/normalizeComponent(
2908
+ { render: __vue_render__$h, staticRenderFns: __vue_staticRenderFns__$h },
2909
+ __vue_inject_styles__$h,
2910
+ __vue_script__$h,
2911
+ __vue_scope_id__$h,
2912
+ __vue_is_functional_template__$h,
2913
+ __vue_module_identifier__$h,
2920
2914
  false,
2921
2915
  createInjector,
2922
2916
  undefined,
@@ -2940,13 +2934,13 @@ __decorate([
2940
2934
  TekGridCellIdentation = __decorate([
2941
2935
  Component
2942
2936
  ], TekGridCellIdentation);
2943
- var script$f = TekGridCellIdentation;
2937
+ var script$g = TekGridCellIdentation;
2944
2938
 
2945
2939
  /* script */
2946
- const __vue_script__$f = script$f;
2940
+ const __vue_script__$g = script$g;
2947
2941
 
2948
2942
  /* template */
2949
- var __vue_render__$f = function () {
2943
+ var __vue_render__$g = function () {
2950
2944
  var _vm = this;
2951
2945
  var _h = _vm.$createElement;
2952
2946
  var _c = _vm._self._c || _h;
@@ -2963,34 +2957,34 @@ var __vue_render__$f = function () {
2963
2957
  ],
2964
2958
  })
2965
2959
  };
2966
- var __vue_staticRenderFns__$f = [];
2967
- __vue_render__$f._withStripped = true;
2960
+ var __vue_staticRenderFns__$g = [];
2961
+ __vue_render__$g._withStripped = true;
2968
2962
 
2969
2963
  /* style */
2970
- const __vue_inject_styles__$f = function (inject) {
2964
+ const __vue_inject_styles__$g = function (inject) {
2971
2965
  if (!inject) return
2972
2966
  inject("data-v-d107dce8_0", { source: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", map: undefined, media: undefined });
2973
2967
 
2974
2968
  };
2975
2969
  /* scoped */
2976
- const __vue_scope_id__$f = undefined;
2970
+ const __vue_scope_id__$g = undefined;
2977
2971
  /* module identifier */
2978
- const __vue_module_identifier__$f = undefined;
2972
+ const __vue_module_identifier__$g = undefined;
2979
2973
  /* functional template */
2980
- const __vue_is_functional_template__$f = false;
2974
+ const __vue_is_functional_template__$g = false;
2981
2975
  /* style inject SSR */
2982
2976
 
2983
2977
  /* style inject shadow dom */
2984
2978
 
2985
2979
 
2986
2980
 
2987
- const __vue_component__$f = /*#__PURE__*/normalizeComponent(
2988
- { render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },
2989
- __vue_inject_styles__$f,
2990
- __vue_script__$f,
2991
- __vue_scope_id__$f,
2992
- __vue_is_functional_template__$f,
2993
- __vue_module_identifier__$f,
2981
+ const __vue_component__$g = /*#__PURE__*/normalizeComponent(
2982
+ { render: __vue_render__$g, staticRenderFns: __vue_staticRenderFns__$g },
2983
+ __vue_inject_styles__$g,
2984
+ __vue_script__$g,
2985
+ __vue_scope_id__$g,
2986
+ __vue_is_functional_template__$g,
2987
+ __vue_module_identifier__$g,
2994
2988
  false,
2995
2989
  createInjector,
2996
2990
  undefined,
@@ -3008,13 +3002,13 @@ __decorate([
3008
3002
  TekGridHeaderIndentation = __decorate([
3009
3003
  Component$1
3010
3004
  ], TekGridHeaderIndentation);
3011
- var script$e = TekGridHeaderIndentation;
3005
+ var script$f = TekGridHeaderIndentation;
3012
3006
 
3013
3007
  /* script */
3014
- const __vue_script__$e = script$e;
3008
+ const __vue_script__$f = script$f;
3015
3009
 
3016
3010
  /* template */
3017
- var __vue_render__$e = function () {
3011
+ var __vue_render__$f = function () {
3018
3012
  var _vm = this;
3019
3013
  var _h = _vm.$createElement;
3020
3014
  var _c = _vm._self._c || _h;
@@ -3028,17 +3022,17 @@ var __vue_render__$e = function () {
3028
3022
  ],
3029
3023
  })
3030
3024
  };
3031
- var __vue_staticRenderFns__$e = [];
3032
- __vue_render__$e._withStripped = true;
3025
+ var __vue_staticRenderFns__$f = [];
3026
+ __vue_render__$f._withStripped = true;
3033
3027
 
3034
3028
  /* style */
3035
- const __vue_inject_styles__$e = undefined;
3029
+ const __vue_inject_styles__$f = undefined;
3036
3030
  /* scoped */
3037
- const __vue_scope_id__$e = undefined;
3031
+ const __vue_scope_id__$f = undefined;
3038
3032
  /* module identifier */
3039
- const __vue_module_identifier__$e = undefined;
3033
+ const __vue_module_identifier__$f = undefined;
3040
3034
  /* functional template */
3041
- const __vue_is_functional_template__$e = false;
3035
+ const __vue_is_functional_template__$f = false;
3042
3036
  /* style inject */
3043
3037
 
3044
3038
  /* style inject SSR */
@@ -3047,13 +3041,13 @@ __vue_render__$e._withStripped = true;
3047
3041
 
3048
3042
 
3049
3043
 
3050
- const __vue_component__$e = /*#__PURE__*/normalizeComponent(
3051
- { render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },
3052
- __vue_inject_styles__$e,
3053
- __vue_script__$e,
3054
- __vue_scope_id__$e,
3055
- __vue_is_functional_template__$e,
3056
- __vue_module_identifier__$e,
3044
+ const __vue_component__$f = /*#__PURE__*/normalizeComponent(
3045
+ { render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },
3046
+ __vue_inject_styles__$f,
3047
+ __vue_script__$f,
3048
+ __vue_scope_id__$f,
3049
+ __vue_is_functional_template__$f,
3050
+ __vue_module_identifier__$f,
3057
3051
  false,
3058
3052
  undefined,
3059
3053
  undefined,
@@ -3098,13 +3092,13 @@ __decorate([
3098
3092
  TekGridColumnFilter = __decorate([
3099
3093
  Component$1
3100
3094
  ], TekGridColumnFilter);
3101
- var script$d = TekGridColumnFilter;
3095
+ var script$e = TekGridColumnFilter;
3102
3096
 
3103
3097
  /* script */
3104
- const __vue_script__$d = script$d;
3098
+ const __vue_script__$e = script$e;
3105
3099
 
3106
3100
  /* template */
3107
- var __vue_render__$d = function () {
3101
+ var __vue_render__$e = function () {
3108
3102
  var _vm = this;
3109
3103
  var _h = _vm.$createElement;
3110
3104
  var _c = _vm._self._c || _h;
@@ -3283,17 +3277,17 @@ var __vue_render__$d = function () {
3283
3277
  1
3284
3278
  )
3285
3279
  };
3286
- var __vue_staticRenderFns__$d = [];
3287
- __vue_render__$d._withStripped = true;
3280
+ var __vue_staticRenderFns__$e = [];
3281
+ __vue_render__$e._withStripped = true;
3288
3282
 
3289
3283
  /* style */
3290
- const __vue_inject_styles__$d = undefined;
3284
+ const __vue_inject_styles__$e = undefined;
3291
3285
  /* scoped */
3292
- const __vue_scope_id__$d = undefined;
3286
+ const __vue_scope_id__$e = undefined;
3293
3287
  /* module identifier */
3294
- const __vue_module_identifier__$d = undefined;
3288
+ const __vue_module_identifier__$e = undefined;
3295
3289
  /* functional template */
3296
- const __vue_is_functional_template__$d = false;
3290
+ const __vue_is_functional_template__$e = false;
3297
3291
  /* style inject */
3298
3292
 
3299
3293
  /* style inject SSR */
@@ -3302,13 +3296,13 @@ __vue_render__$d._withStripped = true;
3302
3296
 
3303
3297
 
3304
3298
 
3305
- const __vue_component__$d = /*#__PURE__*/normalizeComponent(
3306
- { render: __vue_render__$d, staticRenderFns: __vue_staticRenderFns__$d },
3307
- __vue_inject_styles__$d,
3308
- __vue_script__$d,
3309
- __vue_scope_id__$d,
3310
- __vue_is_functional_template__$d,
3311
- __vue_module_identifier__$d,
3299
+ const __vue_component__$e = /*#__PURE__*/normalizeComponent(
3300
+ { render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },
3301
+ __vue_inject_styles__$e,
3302
+ __vue_script__$e,
3303
+ __vue_scope_id__$e,
3304
+ __vue_is_functional_template__$e,
3305
+ __vue_module_identifier__$e,
3312
3306
  false,
3313
3307
  undefined,
3314
3308
  undefined,
@@ -4277,6 +4271,9 @@ let TekGridColumnsButton = class TekGridColumnsButton extends ZdIterableColumnsB
4277
4271
  this.menuIsOpened = false;
4278
4272
  }
4279
4273
  };
4274
+ __decorate([
4275
+ PropWatch({ type: String, default: '' })
4276
+ ], TekGridColumnsButton.prototype, "gridName", void 0);
4280
4277
  __decorate([
4281
4278
  PropWatch({ type: [Boolean, String], default: false })
4282
4279
  ], TekGridColumnsButton.prototype, "hideGroups", void 0);
@@ -4286,7 +4283,52 @@ __decorate([
4286
4283
  TekGridColumnsButton = __decorate([
4287
4284
  Component
4288
4285
  ], TekGridColumnsButton);
4289
- var script$c = TekGridColumnsButton;
4286
+ var script$d = TekGridColumnsButton;
4287
+
4288
+ /**
4289
+ * TekGrid export button/dropdown component.
4290
+ */
4291
+ let TekGridExportButton = class TekGridExportButton extends ZdComponentRender {
4292
+ constructor() {
4293
+ super(...arguments);
4294
+ this.instanceType = TekGridExportButton$1;
4295
+ }
4296
+ get buttonName() {
4297
+ return this.instance.gridName
4298
+ ? `${this.instance.gridName}_exportButton`
4299
+ : `${this.instance.name}_button`;
4300
+ }
4301
+ mounted() {
4302
+ this.$nextTick(() => this.loadGrid());
4303
+ }
4304
+ loadGrid() {
4305
+ this.instance.loadGrid();
4306
+ this.$forceUpdate();
4307
+ }
4308
+ getActivatorEvents(on) {
4309
+ return Object.assign(Object.assign({}, on), { click: (event) => {
4310
+ this.loadGrid();
4311
+ if (on.click)
4312
+ on.click(event);
4313
+ } });
4314
+ }
4315
+ };
4316
+ __decorate([
4317
+ PropWatch({ type: [String], default: '' })
4318
+ ], TekGridExportButton.prototype, "gridName", void 0);
4319
+ __decorate([
4320
+ PropWatch({ type: [Object, String], default: () => { } })
4321
+ ], TekGridExportButton.prototype, "grid", void 0);
4322
+ __decorate([
4323
+ PropWatch({ type: [Array], default: undefined })
4324
+ ], TekGridExportButton.prototype, "exportConfig", void 0);
4325
+ __decorate([
4326
+ PropWatch({ type: [Array], default: undefined })
4327
+ ], TekGridExportButton.prototype, "exportActions", void 0);
4328
+ TekGridExportButton = __decorate([
4329
+ Component
4330
+ ], TekGridExportButton);
4331
+ var script$c = TekGridExportButton;
4290
4332
 
4291
4333
  // eslint-disable-next-line prefer-destructuring
4292
4334
  const ZdButton = components$1.ZdButton;
@@ -4353,19 +4395,19 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4353
4395
  var _a, _b;
4354
4396
  if ((_b = (_a = this.instance.grid) === null || _a === void 0 ? void 0 : _a.datasource) === null || _b === void 0 ? void 0 : _b.filter) {
4355
4397
  this.updateFilterWatcher = false;
4356
- this.instance.grid.datasource.filter = this.createFilterProxy(this.instance.grid.datasource.filter);
4398
+ this.instance.grid.datasource.filter = this.createFilterChangeProxy(this.instance.grid.datasource.filter);
4357
4399
  this.$nextTick(() => { this.updateFilterWatcher = true; });
4358
- if (this.instance.grid.datasource instanceof TekRestDatasource) {
4400
+ if (this.isDynamicFilterDatasource(this.instance.grid.datasource)) {
4359
4401
  this.updateDynamicFilterWatcher = false;
4360
- this.instance.grid.datasource.dynamicFilter = this.createDynamicFilterProxy(this.instance.grid.datasource.dynamicFilter);
4402
+ this.instance.grid.datasource.dynamicFilter = this.createFilterChangeProxy(this.instance.grid.datasource.dynamicFilter);
4361
4403
  this.$nextTick(() => { this.updateDynamicFilterWatcher = true; });
4362
4404
  }
4363
4405
  }
4364
4406
  });
4365
4407
  }
4366
- createFilterProxy(filter) {
4408
+ createFilterChangeProxy(filter) {
4367
4409
  const self = this;
4368
- return new Proxy(filter, {
4410
+ const handler = {
4369
4411
  set(target, prop, value) {
4370
4412
  if (target[prop] !== value) {
4371
4413
  target[prop] = value;
@@ -4373,14 +4415,9 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4373
4415
  }
4374
4416
  return true;
4375
4417
  },
4376
- });
4377
- }
4378
- createDynamicFilterProxy(filter) {
4379
- const self = this;
4380
- const handler = {
4381
- set(target, prop, value) {
4382
- if (target[prop] !== value) {
4383
- target[prop] = value;
4418
+ deleteProperty(target, prop) {
4419
+ if (prop in target) {
4420
+ delete target[prop];
4384
4421
  self.checkFilterChanged();
4385
4422
  }
4386
4423
  return true;
@@ -4396,8 +4433,8 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4396
4433
  return new Proxy(filter, handler);
4397
4434
  }
4398
4435
  checkFilterChanged() {
4399
- if (!this.applying && this.layoutHasFilter(this.instance.currentLayoutName)) {
4400
- this.instance.layoutEdited = true;
4436
+ if (!this.applying) {
4437
+ this.instance.layoutEdited = this.instance.hasLayoutChanges();
4401
4438
  }
4402
4439
  }
4403
4440
  datasourceFilterChanged() {
@@ -4405,7 +4442,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4405
4442
  return;
4406
4443
  this.updateFilterWatcher = false;
4407
4444
  this.checkFilterChanged();
4408
- this.instance.grid.datasource.filter = this.createFilterProxy(this.instance.grid.datasource.filter);
4445
+ this.instance.grid.datasource.filter = this.createFilterChangeProxy(this.instance.grid.datasource.filter);
4409
4446
  this.$nextTick(() => { this.updateFilterWatcher = true; });
4410
4447
  }
4411
4448
  datasourceDynamicFilterChanged() {
@@ -4413,8 +4450,8 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4413
4450
  return;
4414
4451
  this.updateDynamicFilterWatcher = false;
4415
4452
  this.checkFilterChanged();
4416
- if (this.instance.grid.datasource instanceof TekRestDatasource) {
4417
- this.instance.grid.datasource.dynamicFilter = this.createDynamicFilterProxy(this.instance.grid.datasource.dynamicFilter);
4453
+ if (this.isDynamicFilterDatasource(this.instance.grid.datasource)) {
4454
+ this.instance.grid.datasource.dynamicFilter = this.createFilterChangeProxy(this.instance.grid.datasource.dynamicFilter);
4418
4455
  }
4419
4456
  this.$nextTick(() => { this.updateDynamicFilterWatcher = true; });
4420
4457
  }
@@ -4428,10 +4465,14 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4428
4465
  component.value = '';
4429
4466
  }
4430
4467
  datasourceDynamicFilter(datasource) {
4431
- if (datasource instanceof TekRestDatasource)
4468
+ if (this.isDynamicFilterDatasource(datasource))
4432
4469
  return datasource.dynamicFilter;
4433
4470
  return {};
4434
4471
  }
4472
+ isDynamicFilterDatasource(datasource) {
4473
+ return datasource instanceof TekRestDatasource
4474
+ || datasource instanceof TekMemoryDatasource;
4475
+ }
4435
4476
  applyLayout(layout) {
4436
4477
  var _a;
4437
4478
  let groupParamsChanged = false;
@@ -4468,10 +4509,10 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4468
4509
  if (layoutChanged) {
4469
4510
  this.instance.updateLayout(layout.name, this.getCurrentLayout(layout.name));
4470
4511
  }
4471
- tableElement.style.width = layout.gridWidth || 'auto';
4512
+ tableElement.style.width = this.getAppliedGridWidth(layout.gridWidth);
4472
4513
  grid.datasource.order = layout.order !== undefined ? [...layout.order] : grid.datasource.order;
4473
4514
  grid.datasource.filter = layout.filter !== undefined ? Object.assign({}, layout.filter) : grid.datasource.filter;
4474
- if (grid.datasource instanceof TekRestDatasource
4515
+ if (this.isDynamicFilterDatasource(grid.datasource)
4475
4516
  && layout.dynamicFilter !== undefined) {
4476
4517
  grid.datasource.dynamicFilter = this.getHelperValues(layout.dynamicFilter, layout.columns || grid.columns);
4477
4518
  }
@@ -4505,7 +4546,7 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4505
4546
  else {
4506
4547
  grid.datasource.order = [...this.instance.originalDatasourceOrder];
4507
4548
  grid.datasource.filter = Object.assign({}, this.instance.originalDatasourceFilter);
4508
- if (grid.datasource instanceof TekRestDatasource) {
4549
+ if (this.isDynamicFilterDatasource(grid.datasource)) {
4509
4550
  grid.datasource.dynamicFilter = this.getHelperValues(this.instance.originalDatasourceDynamicFilter, this.instance.originalColumnProps);
4510
4551
  }
4511
4552
  grid.columns = this.instance.originalColumnProps.map((column) => {
@@ -4596,37 +4637,26 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4596
4637
  getCurrentLayout(layoutName) {
4597
4638
  const { grid } = this.instance;
4598
4639
  const tableElement = this.getParentTable();
4599
- const gridWidth = tableElement
4600
- ? window.getComputedStyle(tableElement).width
4601
- : 'auto';
4640
+ const tableWidth = tableElement === null || tableElement === void 0 ? void 0 : tableElement.style.width;
4641
+ const gridWidth = tableWidth && tableWidth !== '100%' ? tableWidth : 'auto';
4602
4642
  return {
4603
4643
  name: layoutName,
4604
4644
  gridWidth,
4605
- order: grid.datasource.order,
4606
- filter: grid.datasource.filter,
4607
- dynamicFilter: this.datasourceDynamicFilter(grid.datasource),
4608
- columns: grid.columns.map((column, index) => {
4609
- const columnElement = tableElement === null || tableElement === void 0 ? void 0 : tableElement.querySelector(`tr th:not(.selectable)[index="${index}"]`);
4610
- return {
4611
- name: column.name,
4612
- label: column.label,
4613
- align: column.align,
4614
- width: columnElement ? window.getComputedStyle(columnElement).width : 'unset',
4615
- minWidth: column.minWidth,
4616
- maxWidth: column.maxWidth,
4617
- isVisible: column.isVisible,
4618
- fixed: column.fixed,
4619
- grouped: column.grouped,
4620
- groupOpened: column.groupOpened,
4621
- aggregation: column.aggregation,
4622
- filterHelperValue: this.instance.getHelperValue(column),
4623
- };
4624
- }),
4645
+ order: [...grid.datasource.order],
4646
+ filter: cloneDeep(grid.datasource.filter),
4647
+ dynamicFilter: cloneDeep(this.datasourceDynamicFilter(grid.datasource)),
4648
+ columns: grid.columns.map((column) => this.instance.getLayoutColumnSnapshot(column)),
4625
4649
  };
4626
4650
  }
4651
+ getAppliedGridWidth(gridWidth) {
4652
+ const normalizedGridWidth = (gridWidth || '').trim();
4653
+ if (!normalizedGridWidth || normalizedGridWidth === 'auto')
4654
+ return '100%';
4655
+ return normalizedGridWidth;
4656
+ }
4627
4657
  getParentTable() {
4628
4658
  var _a;
4629
- return (_a = this.$el.closest('.zd-grid')) === null || _a === void 0 ? void 0 : _a.getElementsByTagName('table')[0];
4659
+ return (_a = document.getElementById(this.instance.grid.name)) === null || _a === void 0 ? void 0 : _a.getElementsByTagName('table')[0];
4630
4660
  }
4631
4661
  applyOrUpdateLayout(event, layoutName) {
4632
4662
  if (this.instance.layoutEdited) {
@@ -4649,10 +4679,13 @@ let TekGridLayoutOptions = class TekGridLayoutOptions extends ZdComponentRender
4649
4679
  }
4650
4680
  };
4651
4681
  __decorate([
4652
- Watch('instance.grid.datasource.filter')
4682
+ PropWatch({ type: [String], default: '' })
4683
+ ], TekGridLayoutOptions.prototype, "gridName", void 0);
4684
+ __decorate([
4685
+ Watch('instance.grid.datasource.filter', { deep: true })
4653
4686
  ], TekGridLayoutOptions.prototype, "datasourceFilterChanged", null);
4654
4687
  __decorate([
4655
- Watch('instance.grid.datasource.dynamicFilter')
4688
+ Watch('instance.grid.datasource.dynamicFilter', { deep: true })
4656
4689
  ], TekGridLayoutOptions.prototype, "datasourceDynamicFilterChanged", null);
4657
4690
  TekGridLayoutOptions = __decorate([
4658
4691
  Component
@@ -4814,8 +4847,7 @@ let TekTreeGrid = class TekTreeGrid extends ZdTreeGridEditable {
4814
4847
  }
4815
4848
  }
4816
4849
  mounted() {
4817
- this.originalChangeTekGridLayout = this.instance.changeLayout;
4818
- this.instance.changeLayout = this.onChangeTekGridLayout;
4850
+ this.instance.addEvent('changeLayout', this.updateFixedColumnsAfterLayoutChange.bind(this));
4819
4851
  this.updateFixedColumns();
4820
4852
  this.orderColumnVisibility();
4821
4853
  }
@@ -4826,19 +4858,7 @@ let TekTreeGrid = class TekTreeGrid extends ZdTreeGridEditable {
4826
4858
  }
4827
4859
  return minWidth;
4828
4860
  }
4829
- onChangeTekGridLayout(event, element) {
4830
- if (this.originalChangeTekGridLayout) {
4831
- this.originalChangeTekGridLayout.call(this.instance, event, element);
4832
- }
4833
- if (this.instance.showLayoutOptions) {
4834
- try {
4835
- const layoutOptions = Metadata.getInstance(`${this.instance.name}_layout_options`);
4836
- layoutOptions.layoutEdited = true;
4837
- }
4838
- catch (_a) {
4839
- // do nothing
4840
- }
4841
- }
4861
+ updateFixedColumnsAfterLayoutChange() {
4842
4862
  this.updateFixedColumns();
4843
4863
  }
4844
4864
  getFilterActivatorEvents(on, column) {
@@ -4901,7 +4921,7 @@ let TekTreeGrid = class TekTreeGrid extends ZdTreeGridEditable {
4901
4921
  datasource.dynamicFilter[column.name][index][prop] = component.value;
4902
4922
  if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
4903
4923
  this.debouncedDatasourceGet(this.instance);
4904
- this.onChangeTekGridLayout(event, element);
4924
+ this.instance.changeLayout(event, element);
4905
4925
  }
4906
4926
  }
4907
4927
  }
@@ -5000,7 +5020,7 @@ let TekTreeGrid = class TekTreeGrid extends ZdTreeGridEditable {
5000
5020
  }
5001
5021
  if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
5002
5022
  this.debouncedDatasourceGet(this.instance);
5003
- this.onChangeTekGridLayout(event, element);
5023
+ this.instance.changeLayout(event, element);
5004
5024
  this.clearHelperValues(column);
5005
5025
  }
5006
5026
  }
@@ -5014,7 +5034,7 @@ let TekTreeGrid = class TekTreeGrid extends ZdTreeGridEditable {
5014
5034
  }
5015
5035
  if (this.lastFilter !== JSON.stringify(this.instance.datasource.filter)) {
5016
5036
  this.debouncedDatasourceGet(this.instance);
5017
- this.onChangeTekGridLayout(event, element);
5037
+ this.instance.changeLayout(event, element);
5018
5038
  this.clearHelperValues(column);
5019
5039
  }
5020
5040
  }
@@ -5286,10 +5306,10 @@ TekDragGrid = __decorate([
5286
5306
  var script$3 = TekDragGrid;
5287
5307
 
5288
5308
  /* script */
5289
- const __vue_script__$c = script$3;
5309
+ const __vue_script__$d = script$3;
5290
5310
 
5291
5311
  /* template */
5292
- var __vue_render__$c = function () {
5312
+ var __vue_render__$d = function () {
5293
5313
  var _vm = this;
5294
5314
  var _h = _vm.$createElement;
5295
5315
  var _c = _vm._self._c || _h;
@@ -6469,34 +6489,34 @@ var __vue_render__$c = function () {
6469
6489
  },
6470
6490
  })
6471
6491
  };
6472
- var __vue_staticRenderFns__$c = [];
6473
- __vue_render__$c._withStripped = true;
6492
+ var __vue_staticRenderFns__$d = [];
6493
+ __vue_render__$d._withStripped = true;
6474
6494
 
6475
6495
  /* style */
6476
- const __vue_inject_styles__$c = function (inject) {
6496
+ const __vue_inject_styles__$d = function (inject) {
6477
6497
  if (!inject) return
6478
6498
  inject("data-v-e984cc8c_0", { source: ".tek-grid .zd-table-cell-text-first {\n display: inline-flex;\n width: 100%;\n}\n.tek-grid .zd-grid-toolbar {\n height: auto;\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 flex-grow: 1;\n line-height: 22px;\n color: var(--v-primary-base);\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 .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: var(--row-active-color);\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-first-group-cell {\n display: flex;\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 .zd-table-group-two-plus-container {\n display: flex;\n height: 100%;\n align-items: center;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation {\n top: unset;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation :not(.first-group) {\n margin-left: 10px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation.first-group {\n width: 14px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\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 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.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 .zd-table-two-plus-groups {\n display: flex !important;\n}\n.tek-grid table .zd-table-two-plus-groups .zd-table-cell-text {\n position: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation {\n top: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\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: 1rem;\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 top: -10%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid table .footer .zd-grid-row-checkbox {\n display: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tek-grid-export-landscape i {\n transform: rotate(-90deg);\n}\n.tek-grid-export-multioption-text {\n padding-left: 3px;\n font-size: var(--zd-font-body4-size);\n font-weight: var(--zd-font-body4-weight);\n cursor: default;\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}\n.is-rotated {\n transform: rotate(180deg);\n transition: transform 0.3s ease;\n}\n.toolbar-visible {\n width: 0;\n overflow: hidden;\n white-space: nowrap;\n}", map: undefined, media: undefined });
6479
6499
 
6480
6500
  };
6481
6501
  /* scoped */
6482
- const __vue_scope_id__$c = undefined;
6502
+ const __vue_scope_id__$d = undefined;
6483
6503
  /* module identifier */
6484
- const __vue_module_identifier__$c = undefined;
6504
+ const __vue_module_identifier__$d = undefined;
6485
6505
  /* functional template */
6486
- const __vue_is_functional_template__$c = false;
6506
+ const __vue_is_functional_template__$d = false;
6487
6507
  /* style inject SSR */
6488
6508
 
6489
6509
  /* style inject shadow dom */
6490
6510
 
6491
6511
 
6492
6512
 
6493
- const __vue_component__$c = /*#__PURE__*/normalizeComponent(
6494
- { render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
6495
- __vue_inject_styles__$c,
6496
- __vue_script__$c,
6497
- __vue_scope_id__$c,
6498
- __vue_is_functional_template__$c,
6499
- __vue_module_identifier__$c,
6513
+ const __vue_component__$d = /*#__PURE__*/normalizeComponent(
6514
+ { render: __vue_render__$d, staticRenderFns: __vue_staticRenderFns__$d },
6515
+ __vue_inject_styles__$d,
6516
+ __vue_script__$d,
6517
+ __vue_scope_id__$d,
6518
+ __vue_is_functional_template__$d,
6519
+ __vue_module_identifier__$d,
6500
6520
  false,
6501
6521
  createInjector,
6502
6522
  undefined,
@@ -6504,10 +6524,10 @@ __vue_render__$c._withStripped = true;
6504
6524
  );
6505
6525
 
6506
6526
  /* script */
6507
- const __vue_script__$b = script$c;
6527
+ const __vue_script__$c = script$d;
6508
6528
 
6509
6529
  /* template */
6510
- var __vue_render__$b = function () {
6530
+ var __vue_render__$c = function () {
6511
6531
  var _vm = this;
6512
6532
  var _h = _vm.$createElement;
6513
6533
  var _c = _vm._self._c || _h;
@@ -6762,13 +6782,128 @@ var __vue_render__$b = function () {
6762
6782
  ]
6763
6783
  )
6764
6784
  };
6785
+ var __vue_staticRenderFns__$c = [];
6786
+ __vue_render__$c._withStripped = true;
6787
+
6788
+ /* style */
6789
+ const __vue_inject_styles__$c = function (inject) {
6790
+ if (!inject) return
6791
+ inject("data-v-9bb538a0_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 background-color: var(--zd-background-base);\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-2);\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 });
6792
+
6793
+ };
6794
+ /* scoped */
6795
+ const __vue_scope_id__$c = undefined;
6796
+ /* module identifier */
6797
+ const __vue_module_identifier__$c = undefined;
6798
+ /* functional template */
6799
+ const __vue_is_functional_template__$c = false;
6800
+ /* style inject SSR */
6801
+
6802
+ /* style inject shadow dom */
6803
+
6804
+
6805
+
6806
+ const __vue_component__$c = /*#__PURE__*/normalizeComponent(
6807
+ { render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
6808
+ __vue_inject_styles__$c,
6809
+ __vue_script__$c,
6810
+ __vue_scope_id__$c,
6811
+ __vue_is_functional_template__$c,
6812
+ __vue_module_identifier__$c,
6813
+ false,
6814
+ createInjector,
6815
+ undefined,
6816
+ undefined
6817
+ );
6818
+
6819
+ /* script */
6820
+ const __vue_script__$b = script$c;
6821
+
6822
+ /* template */
6823
+ var __vue_render__$b = function () {
6824
+ var _vm = this;
6825
+ var _h = _vm.$createElement;
6826
+ var _c = _vm._self._c || _h;
6827
+ return _c(
6828
+ "v-menu",
6829
+ {
6830
+ directives: [
6831
+ {
6832
+ name: "show",
6833
+ rawName: "v-show",
6834
+ value: _vm.instance.isVisible,
6835
+ expression: "instance.isVisible",
6836
+ },
6837
+ ],
6838
+ class: _vm.instance.cssClass,
6839
+ style: _vm.instance.cssStyle,
6840
+ attrs: { id: _vm.instance.name, name: _vm.instance.name, "offset-y": "" },
6841
+ scopedSlots: _vm._u([
6842
+ {
6843
+ key: "activator",
6844
+ fn: function (ref) {
6845
+ var on = ref.on;
6846
+ return [
6847
+ _c(
6848
+ "zd-button",
6849
+ _vm._g(
6850
+ {
6851
+ directives: [
6852
+ {
6853
+ name: "show",
6854
+ rawName: "v-show",
6855
+ value: _vm.instance.isVisible,
6856
+ expression: "instance.isVisible",
6857
+ },
6858
+ ],
6859
+ attrs: {
6860
+ name: _vm.buttonName,
6861
+ "icon-name": "fileDownload",
6862
+ icon: "",
6863
+ },
6864
+ },
6865
+ _vm.getActivatorEvents(on)
6866
+ )
6867
+ ),
6868
+ ]
6869
+ },
6870
+ },
6871
+ ]),
6872
+ },
6873
+ [
6874
+ _vm._v(" "),
6875
+ _c(
6876
+ "v-list",
6877
+ { class: ["tekgrid-actions-dropdown", _vm.instance.cssClass] },
6878
+ _vm._l(_vm.instance.children, function (child, index) {
6879
+ return _c(
6880
+ child.component,
6881
+ _vm._b(
6882
+ {
6883
+ key: index,
6884
+ tag: "component",
6885
+ staticClass: "zd-dropdown-component",
6886
+ attrs: { parent: _vm.instance },
6887
+ },
6888
+ "component",
6889
+ child,
6890
+ false
6891
+ )
6892
+ )
6893
+ }),
6894
+ 1
6895
+ ),
6896
+ ],
6897
+ 1
6898
+ )
6899
+ };
6765
6900
  var __vue_staticRenderFns__$b = [];
6766
6901
  __vue_render__$b._withStripped = true;
6767
6902
 
6768
6903
  /* style */
6769
6904
  const __vue_inject_styles__$b = function (inject) {
6770
6905
  if (!inject) return
6771
- inject("data-v-9bb538a0_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 background-color: var(--zd-background-base);\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-2);\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 });
6906
+ inject("data-v-2a5c13a2_0", { source: ".tekgrid-actions-dropdown .zd-dropdown-component {\n box-sizing: border-box;\n width: 100%;\n}\n.tekgrid-actions-dropdown > .tek-grid-export-multioption-row {\n box-sizing: border-box;\n min-height: 44px;\n padding: 6px 14px 6px 14px;\n}\n.tekgrid-actions-dropdown > .zd-button {\n justify-content: flex-start;\n}", map: undefined, media: undefined });
6772
6907
 
6773
6908
  };
6774
6909
  /* scoped */
@@ -6813,7 +6948,7 @@ var __vue_render__$a = function () {
6813
6948
  icon: true,
6814
6949
  cssClass: "tek-grid-filter-button",
6815
6950
  iconName: "filter",
6816
- isVisible: _vm.instance.grid.filterButton,
6951
+ isVisible: _vm.instance.isVisible,
6817
6952
  events: Object.assign({}, _vm.getEvents(), { click: _vm.filterClick }),
6818
6953
  },
6819
6954
  false
@@ -6826,7 +6961,7 @@ __vue_render__$a._withStripped = true;
6826
6961
  /* style */
6827
6962
  const __vue_inject_styles__$a = function (inject) {
6828
6963
  if (!inject) return
6829
- inject("data-v-ba50cc2a_0", { source: ".zd-container.tek-grid-filter-content-container {\n position: relative;\n left: calc(var(--zd-default-padding) * -1) !important;\n padding-left: var(--zd-default-padding) !important;\n width: calc(100% + var(--zd-default-padding) * 2) !important;\n padding-right: var(--zd-default-padding) !important;\n max-width: none !important;\n overflow-x: clip !important;\n}", map: undefined, media: undefined });
6964
+ inject("data-v-806cc316_0", { source: ".zd-container.tek-grid-filter-content-container {\n position: relative;\n left: calc(var(--zd-default-padding) * -1) !important;\n padding-left: var(--zd-default-padding) !important;\n width: calc(100% + var(--zd-default-padding) * 2) !important;\n padding-right: var(--zd-default-padding) !important;\n max-width: none !important;\n overflow-x: clip !important;\n}", map: undefined, media: undefined });
6830
6965
 
6831
6966
  };
6832
6967
  /* scoped */
@@ -8978,19 +9113,20 @@ __vue_render__._withStripped = true;
8978
9113
  );
8979
9114
 
8980
9115
  const components = {
8981
- TekBreadcrumbHeader: __vue_component__$n,
8982
- TekCardTitle: __vue_component__$m,
8983
- TekCrudAddButton: __vue_component__$l,
8984
- TekCrudCancelButton: __vue_component__$k,
8985
- TekCrudDeleteButton: __vue_component__$j,
8986
- TekCrudForm: __vue_component__$i,
8987
- TekCrudSaveButton: __vue_component__$h,
8988
- TekGrid: __vue_component__$g,
8989
- TekGridCellIdentation: __vue_component__$f,
8990
- TekGridHeaderIndentation: __vue_component__$e,
8991
- TekGridColumnFilter: __vue_component__$d,
8992
- TekDragGrid: __vue_component__$c,
8993
- TekGridColumnsButton: __vue_component__$b,
9116
+ TekBreadcrumbHeader: __vue_component__$o,
9117
+ TekCardTitle: __vue_component__$n,
9118
+ TekCrudAddButton: __vue_component__$m,
9119
+ TekCrudCancelButton: __vue_component__$l,
9120
+ TekCrudDeleteButton: __vue_component__$k,
9121
+ TekCrudForm: __vue_component__$j,
9122
+ TekCrudSaveButton: __vue_component__$i,
9123
+ TekGrid: __vue_component__$h,
9124
+ TekGridCellIdentation: __vue_component__$g,
9125
+ TekGridHeaderIndentation: __vue_component__$f,
9126
+ TekGridColumnFilter: __vue_component__$e,
9127
+ TekDragGrid: __vue_component__$d,
9128
+ TekGridColumnsButton: __vue_component__$c,
9129
+ TekGridExportButton: __vue_component__$b,
8994
9130
  TekGridFilterButton: __vue_component__$a,
8995
9131
  TekGridLayoutOptions: __vue_component__$9,
8996
9132
  TekImage: __vue_component__$8,
@@ -9026,4 +9162,4 @@ const TeknisaComponents = {
9026
9162
  const packageContent = require('../package.json');
9027
9163
  VersionService.addPackageVersion(packageContent.name, packageContent.version);
9028
9164
 
9029
- export { script$m as TekBreadcrumbHeader, script$l as TekCardTitle, script$k as TekCrudAddButton, script$j as TekCrudCancelButton, script$i as TekCrudDeleteButton, script$h as TekCrudForm, script$g as TekCrudSaveButton, script$3 as TekDragGrid, TekGrid$1 as TekGrid, script$f as TekGridCellIdentation, script$d as TekGridColumnFilter, script$c as TekGridColumnsButton, script$b as TekGridFilterButton, script$e as TekGridHeaderIndentation, script$a as TekGridLayoutOptions, script$9 as TekImage, script$8 as TekIterableComponentRender, script$7 as TekProductCard, script$6 as TekTreeGrid, script$5 as TekUserInfo, script$4 as TekUserInfoList, TeknisaComponents as default };
9165
+ export { script$n as TekBreadcrumbHeader, script$m as TekCardTitle, script$l as TekCrudAddButton, script$k as TekCrudCancelButton, script$j as TekCrudDeleteButton, script$i as TekCrudForm, script$h as TekCrudSaveButton, script$3 as TekDragGrid, TekGrid$1 as TekGrid, script$g as TekGridCellIdentation, script$e as TekGridColumnFilter, script$d as TekGridColumnsButton, script$c as TekGridExportButton, script$b as TekGridFilterButton, script$f as TekGridHeaderIndentation, script$a as TekGridLayoutOptions, script$9 as TekImage, script$8 as TekIterableComponentRender, script$7 as TekProductCard, script$6 as TekTreeGrid, script$5 as TekUserInfo, script$4 as TekUserInfoList, TeknisaComponents as default };