@zeedhi/teknisa-components-vuetify 1.38.0 → 1.39.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.
- package/dist/tek-components-vuetify.esm.js +2143 -370
- package/dist/tek-components-vuetify.umd.js +2154 -380
- package/package.json +2 -2
- package/types/components/public.d.ts +2 -1
- package/types/components/tek-grid/TekGrid.d.ts +6 -1
- package/types/components/tek-grid/TekGridColumnsButton.d.ts +1 -0
- package/types/components/tek-grid/TekGridColumnsOptionsController.d.ts +1 -0
- package/types/components/tek-tree-grid/TekTreeGrid.d.ts +58 -0
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
TekBreadcrumbHeader = __decorate([
|
|
61
61
|
vuePropertyDecorator.Component
|
|
62
62
|
], TekBreadcrumbHeader);
|
|
63
|
-
var script$
|
|
63
|
+
var script$f = TekBreadcrumbHeader;
|
|
64
64
|
|
|
65
65
|
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
66
66
|
if (typeof shadowMode !== 'boolean') {
|
|
@@ -191,10 +191,10 @@
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/* script */
|
|
194
|
-
const __vue_script__$
|
|
194
|
+
const __vue_script__$f = script$f;
|
|
195
195
|
|
|
196
196
|
/* template */
|
|
197
|
-
var __vue_render__$
|
|
197
|
+
var __vue_render__$f = function () {
|
|
198
198
|
var _vm = this;
|
|
199
199
|
var _h = _vm.$createElement;
|
|
200
200
|
var _c = _vm._self._c || _h;
|
|
@@ -260,34 +260,34 @@
|
|
|
260
260
|
1
|
|
261
261
|
)
|
|
262
262
|
};
|
|
263
|
-
var __vue_staticRenderFns__$
|
|
264
|
-
__vue_render__$
|
|
263
|
+
var __vue_staticRenderFns__$f = [];
|
|
264
|
+
__vue_render__$f._withStripped = true;
|
|
265
265
|
|
|
266
266
|
/* style */
|
|
267
|
-
const __vue_inject_styles__$
|
|
267
|
+
const __vue_inject_styles__$f = function (inject) {
|
|
268
268
|
if (!inject) return
|
|
269
269
|
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 });
|
|
270
270
|
|
|
271
271
|
};
|
|
272
272
|
/* scoped */
|
|
273
|
-
const __vue_scope_id__$
|
|
273
|
+
const __vue_scope_id__$f = undefined;
|
|
274
274
|
/* module identifier */
|
|
275
|
-
const __vue_module_identifier__$
|
|
275
|
+
const __vue_module_identifier__$f = undefined;
|
|
276
276
|
/* functional template */
|
|
277
|
-
const __vue_is_functional_template__$
|
|
277
|
+
const __vue_is_functional_template__$f = false;
|
|
278
278
|
/* style inject SSR */
|
|
279
279
|
|
|
280
280
|
/* style inject shadow dom */
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
|
|
284
|
-
const __vue_component__$
|
|
285
|
-
{ render: __vue_render__$
|
|
286
|
-
__vue_inject_styles__$
|
|
287
|
-
__vue_script__$
|
|
288
|
-
__vue_scope_id__$
|
|
289
|
-
__vue_is_functional_template__$
|
|
290
|
-
__vue_module_identifier__$
|
|
284
|
+
const __vue_component__$f = /*#__PURE__*/normalizeComponent(
|
|
285
|
+
{ render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },
|
|
286
|
+
__vue_inject_styles__$f,
|
|
287
|
+
__vue_script__$f,
|
|
288
|
+
__vue_scope_id__$f,
|
|
289
|
+
__vue_is_functional_template__$f,
|
|
290
|
+
__vue_module_identifier__$f,
|
|
291
291
|
false,
|
|
292
292
|
createInjector,
|
|
293
293
|
undefined,
|
|
@@ -330,13 +330,13 @@
|
|
|
330
330
|
TekCardTitle = __decorate([
|
|
331
331
|
vuePropertyDecorator.Component
|
|
332
332
|
], TekCardTitle);
|
|
333
|
-
var script$
|
|
333
|
+
var script$e = TekCardTitle;
|
|
334
334
|
|
|
335
335
|
/* script */
|
|
336
|
-
const __vue_script__$
|
|
336
|
+
const __vue_script__$e = script$e;
|
|
337
337
|
|
|
338
338
|
/* template */
|
|
339
|
-
var __vue_render__$
|
|
339
|
+
var __vue_render__$e = function () {
|
|
340
340
|
var _vm = this;
|
|
341
341
|
var _h = _vm.$createElement;
|
|
342
342
|
var _c = _vm._self._c || _h;
|
|
@@ -433,34 +433,34 @@
|
|
|
433
433
|
1
|
|
434
434
|
)
|
|
435
435
|
};
|
|
436
|
-
var __vue_staticRenderFns__$
|
|
437
|
-
__vue_render__$
|
|
436
|
+
var __vue_staticRenderFns__$e = [];
|
|
437
|
+
__vue_render__$e._withStripped = true;
|
|
438
438
|
|
|
439
439
|
/* style */
|
|
440
|
-
const __vue_inject_styles__$
|
|
440
|
+
const __vue_inject_styles__$e = function (inject) {
|
|
441
441
|
if (!inject) return
|
|
442
442
|
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 });
|
|
443
443
|
|
|
444
444
|
};
|
|
445
445
|
/* scoped */
|
|
446
|
-
const __vue_scope_id__$
|
|
446
|
+
const __vue_scope_id__$e = undefined;
|
|
447
447
|
/* module identifier */
|
|
448
|
-
const __vue_module_identifier__$
|
|
448
|
+
const __vue_module_identifier__$e = undefined;
|
|
449
449
|
/* functional template */
|
|
450
|
-
const __vue_is_functional_template__$
|
|
450
|
+
const __vue_is_functional_template__$e = false;
|
|
451
451
|
/* style inject SSR */
|
|
452
452
|
|
|
453
453
|
/* style inject shadow dom */
|
|
454
454
|
|
|
455
455
|
|
|
456
456
|
|
|
457
|
-
const __vue_component__$
|
|
458
|
-
{ render: __vue_render__$
|
|
459
|
-
__vue_inject_styles__$
|
|
460
|
-
__vue_script__$
|
|
461
|
-
__vue_scope_id__$
|
|
462
|
-
__vue_is_functional_template__$
|
|
463
|
-
__vue_module_identifier__$
|
|
457
|
+
const __vue_component__$e = /*#__PURE__*/normalizeComponent(
|
|
458
|
+
{ render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },
|
|
459
|
+
__vue_inject_styles__$e,
|
|
460
|
+
__vue_script__$e,
|
|
461
|
+
__vue_scope_id__$e,
|
|
462
|
+
__vue_is_functional_template__$e,
|
|
463
|
+
__vue_module_identifier__$e,
|
|
464
464
|
false,
|
|
465
465
|
createInjector,
|
|
466
466
|
undefined,
|
|
@@ -533,13 +533,13 @@
|
|
|
533
533
|
TekCrudAddButton = __decorate([
|
|
534
534
|
vuePropertyDecorator.Component
|
|
535
535
|
], TekCrudAddButton);
|
|
536
|
-
var script$
|
|
536
|
+
var script$d = TekCrudAddButton;
|
|
537
537
|
|
|
538
538
|
/* script */
|
|
539
|
-
const __vue_script__$
|
|
539
|
+
const __vue_script__$d = script$d;
|
|
540
540
|
|
|
541
541
|
/* template */
|
|
542
|
-
var __vue_render__$
|
|
542
|
+
var __vue_render__$d = function () {
|
|
543
543
|
var _vm = this;
|
|
544
544
|
var _h = _vm.$createElement;
|
|
545
545
|
var _c = _vm._self._c || _h;
|
|
@@ -604,17 +604,17 @@
|
|
|
604
604
|
]
|
|
605
605
|
)
|
|
606
606
|
};
|
|
607
|
-
var __vue_staticRenderFns__$
|
|
608
|
-
__vue_render__$
|
|
607
|
+
var __vue_staticRenderFns__$d = [];
|
|
608
|
+
__vue_render__$d._withStripped = true;
|
|
609
609
|
|
|
610
610
|
/* style */
|
|
611
|
-
const __vue_inject_styles__$
|
|
611
|
+
const __vue_inject_styles__$d = undefined;
|
|
612
612
|
/* scoped */
|
|
613
|
-
const __vue_scope_id__$
|
|
613
|
+
const __vue_scope_id__$d = undefined;
|
|
614
614
|
/* module identifier */
|
|
615
|
-
const __vue_module_identifier__$
|
|
615
|
+
const __vue_module_identifier__$d = undefined;
|
|
616
616
|
/* functional template */
|
|
617
|
-
const __vue_is_functional_template__$
|
|
617
|
+
const __vue_is_functional_template__$d = false;
|
|
618
618
|
/* style inject */
|
|
619
619
|
|
|
620
620
|
/* style inject SSR */
|
|
@@ -623,13 +623,13 @@
|
|
|
623
623
|
|
|
624
624
|
|
|
625
625
|
|
|
626
|
-
const __vue_component__$
|
|
627
|
-
{ render: __vue_render__$
|
|
628
|
-
__vue_inject_styles__$
|
|
629
|
-
__vue_script__$
|
|
630
|
-
__vue_scope_id__$
|
|
631
|
-
__vue_is_functional_template__$
|
|
632
|
-
__vue_module_identifier__$
|
|
626
|
+
const __vue_component__$d = /*#__PURE__*/normalizeComponent(
|
|
627
|
+
{ render: __vue_render__$d, staticRenderFns: __vue_staticRenderFns__$d },
|
|
628
|
+
__vue_inject_styles__$d,
|
|
629
|
+
__vue_script__$d,
|
|
630
|
+
__vue_scope_id__$d,
|
|
631
|
+
__vue_is_functional_template__$d,
|
|
632
|
+
__vue_module_identifier__$d,
|
|
633
633
|
false,
|
|
634
634
|
undefined,
|
|
635
635
|
undefined,
|
|
@@ -660,13 +660,13 @@
|
|
|
660
660
|
TekCrudCancelButton = __decorate([
|
|
661
661
|
vuePropertyDecorator.Component
|
|
662
662
|
], TekCrudCancelButton);
|
|
663
|
-
var script$
|
|
663
|
+
var script$c = TekCrudCancelButton;
|
|
664
664
|
|
|
665
665
|
/* script */
|
|
666
|
-
const __vue_script__$
|
|
666
|
+
const __vue_script__$c = script$c;
|
|
667
667
|
|
|
668
668
|
/* template */
|
|
669
|
-
var __vue_render__$
|
|
669
|
+
var __vue_render__$c = function () {
|
|
670
670
|
var _vm = this;
|
|
671
671
|
var _h = _vm.$createElement;
|
|
672
672
|
var _c = _vm._self._c || _h;
|
|
@@ -731,17 +731,17 @@
|
|
|
731
731
|
]
|
|
732
732
|
)
|
|
733
733
|
};
|
|
734
|
-
var __vue_staticRenderFns__$
|
|
735
|
-
__vue_render__$
|
|
734
|
+
var __vue_staticRenderFns__$c = [];
|
|
735
|
+
__vue_render__$c._withStripped = true;
|
|
736
736
|
|
|
737
737
|
/* style */
|
|
738
|
-
const __vue_inject_styles__$
|
|
738
|
+
const __vue_inject_styles__$c = undefined;
|
|
739
739
|
/* scoped */
|
|
740
|
-
const __vue_scope_id__$
|
|
740
|
+
const __vue_scope_id__$c = undefined;
|
|
741
741
|
/* module identifier */
|
|
742
|
-
const __vue_module_identifier__$
|
|
742
|
+
const __vue_module_identifier__$c = undefined;
|
|
743
743
|
/* functional template */
|
|
744
|
-
const __vue_is_functional_template__$
|
|
744
|
+
const __vue_is_functional_template__$c = false;
|
|
745
745
|
/* style inject */
|
|
746
746
|
|
|
747
747
|
/* style inject SSR */
|
|
@@ -750,13 +750,13 @@
|
|
|
750
750
|
|
|
751
751
|
|
|
752
752
|
|
|
753
|
-
const __vue_component__$
|
|
754
|
-
{ render: __vue_render__$
|
|
755
|
-
__vue_inject_styles__$
|
|
756
|
-
__vue_script__$
|
|
757
|
-
__vue_scope_id__$
|
|
758
|
-
__vue_is_functional_template__$
|
|
759
|
-
__vue_module_identifier__$
|
|
753
|
+
const __vue_component__$c = /*#__PURE__*/normalizeComponent(
|
|
754
|
+
{ render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
|
|
755
|
+
__vue_inject_styles__$c,
|
|
756
|
+
__vue_script__$c,
|
|
757
|
+
__vue_scope_id__$c,
|
|
758
|
+
__vue_is_functional_template__$c,
|
|
759
|
+
__vue_module_identifier__$c,
|
|
760
760
|
false,
|
|
761
761
|
undefined,
|
|
762
762
|
undefined,
|
|
@@ -795,13 +795,13 @@
|
|
|
795
795
|
TekCrudDeleteButton = __decorate([
|
|
796
796
|
vuePropertyDecorator.Component
|
|
797
797
|
], TekCrudDeleteButton);
|
|
798
|
-
var script$
|
|
798
|
+
var script$b = TekCrudDeleteButton;
|
|
799
799
|
|
|
800
800
|
/* script */
|
|
801
|
-
const __vue_script__$
|
|
801
|
+
const __vue_script__$b = script$b;
|
|
802
802
|
|
|
803
803
|
/* template */
|
|
804
|
-
var __vue_render__$
|
|
804
|
+
var __vue_render__$b = function () {
|
|
805
805
|
var _vm = this;
|
|
806
806
|
var _h = _vm.$createElement;
|
|
807
807
|
var _c = _vm._self._c || _h;
|
|
@@ -866,17 +866,17 @@
|
|
|
866
866
|
]
|
|
867
867
|
)
|
|
868
868
|
};
|
|
869
|
-
var __vue_staticRenderFns__$
|
|
870
|
-
__vue_render__$
|
|
869
|
+
var __vue_staticRenderFns__$b = [];
|
|
870
|
+
__vue_render__$b._withStripped = true;
|
|
871
871
|
|
|
872
872
|
/* style */
|
|
873
|
-
const __vue_inject_styles__$
|
|
873
|
+
const __vue_inject_styles__$b = undefined;
|
|
874
874
|
/* scoped */
|
|
875
|
-
const __vue_scope_id__$
|
|
875
|
+
const __vue_scope_id__$b = undefined;
|
|
876
876
|
/* module identifier */
|
|
877
|
-
const __vue_module_identifier__$
|
|
877
|
+
const __vue_module_identifier__$b = undefined;
|
|
878
878
|
/* functional template */
|
|
879
|
-
const __vue_is_functional_template__$
|
|
879
|
+
const __vue_is_functional_template__$b = false;
|
|
880
880
|
/* style inject */
|
|
881
881
|
|
|
882
882
|
/* style inject SSR */
|
|
@@ -885,13 +885,13 @@
|
|
|
885
885
|
|
|
886
886
|
|
|
887
887
|
|
|
888
|
-
const __vue_component__$
|
|
889
|
-
{ render: __vue_render__$
|
|
890
|
-
__vue_inject_styles__$
|
|
891
|
-
__vue_script__$
|
|
892
|
-
__vue_scope_id__$
|
|
893
|
-
__vue_is_functional_template__$
|
|
894
|
-
__vue_module_identifier__$
|
|
888
|
+
const __vue_component__$b = /*#__PURE__*/normalizeComponent(
|
|
889
|
+
{ render: __vue_render__$b, staticRenderFns: __vue_staticRenderFns__$b },
|
|
890
|
+
__vue_inject_styles__$b,
|
|
891
|
+
__vue_script__$b,
|
|
892
|
+
__vue_scope_id__$b,
|
|
893
|
+
__vue_is_functional_template__$b,
|
|
894
|
+
__vue_module_identifier__$b,
|
|
895
895
|
false,
|
|
896
896
|
undefined,
|
|
897
897
|
undefined,
|
|
@@ -910,13 +910,13 @@
|
|
|
910
910
|
TekCrudForm = __decorate([
|
|
911
911
|
vuePropertyDecorator.Component
|
|
912
912
|
], TekCrudForm);
|
|
913
|
-
var script$
|
|
913
|
+
var script$a = TekCrudForm;
|
|
914
914
|
|
|
915
915
|
/* script */
|
|
916
|
-
const __vue_script__$
|
|
916
|
+
const __vue_script__$a = script$a;
|
|
917
917
|
|
|
918
918
|
/* template */
|
|
919
|
-
var __vue_render__$
|
|
919
|
+
var __vue_render__$a = function () {
|
|
920
920
|
var _vm = this;
|
|
921
921
|
var _h = _vm.$createElement;
|
|
922
922
|
var _c = _vm._self._c || _h;
|
|
@@ -990,34 +990,34 @@
|
|
|
990
990
|
2
|
|
991
991
|
)
|
|
992
992
|
};
|
|
993
|
-
var __vue_staticRenderFns__$
|
|
994
|
-
__vue_render__$
|
|
993
|
+
var __vue_staticRenderFns__$a = [];
|
|
994
|
+
__vue_render__$a._withStripped = true;
|
|
995
995
|
|
|
996
996
|
/* style */
|
|
997
|
-
const __vue_inject_styles__$
|
|
997
|
+
const __vue_inject_styles__$a = function (inject) {
|
|
998
998
|
if (!inject) return
|
|
999
999
|
inject("data-v-aa2c2e04_0", { source: ".tek-crud-form {\n outline: none;\n}", map: undefined, media: undefined });
|
|
1000
1000
|
|
|
1001
1001
|
};
|
|
1002
1002
|
/* scoped */
|
|
1003
|
-
const __vue_scope_id__$
|
|
1003
|
+
const __vue_scope_id__$a = undefined;
|
|
1004
1004
|
/* module identifier */
|
|
1005
|
-
const __vue_module_identifier__$
|
|
1005
|
+
const __vue_module_identifier__$a = undefined;
|
|
1006
1006
|
/* functional template */
|
|
1007
|
-
const __vue_is_functional_template__$
|
|
1007
|
+
const __vue_is_functional_template__$a = false;
|
|
1008
1008
|
/* style inject SSR */
|
|
1009
1009
|
|
|
1010
1010
|
/* style inject shadow dom */
|
|
1011
1011
|
|
|
1012
1012
|
|
|
1013
1013
|
|
|
1014
|
-
const __vue_component__$
|
|
1015
|
-
{ render: __vue_render__$
|
|
1016
|
-
__vue_inject_styles__$
|
|
1017
|
-
__vue_script__$
|
|
1018
|
-
__vue_scope_id__$
|
|
1019
|
-
__vue_is_functional_template__$
|
|
1020
|
-
__vue_module_identifier__$
|
|
1014
|
+
const __vue_component__$a = /*#__PURE__*/normalizeComponent(
|
|
1015
|
+
{ render: __vue_render__$a, staticRenderFns: __vue_staticRenderFns__$a },
|
|
1016
|
+
__vue_inject_styles__$a,
|
|
1017
|
+
__vue_script__$a,
|
|
1018
|
+
__vue_scope_id__$a,
|
|
1019
|
+
__vue_is_functional_template__$a,
|
|
1020
|
+
__vue_module_identifier__$a,
|
|
1021
1021
|
false,
|
|
1022
1022
|
createInjector,
|
|
1023
1023
|
undefined,
|
|
@@ -1044,13 +1044,13 @@
|
|
|
1044
1044
|
TekCrudSaveButton = __decorate([
|
|
1045
1045
|
vuePropertyDecorator.Component
|
|
1046
1046
|
], TekCrudSaveButton);
|
|
1047
|
-
var script$
|
|
1047
|
+
var script$9 = TekCrudSaveButton;
|
|
1048
1048
|
|
|
1049
1049
|
/* script */
|
|
1050
|
-
const __vue_script__$
|
|
1050
|
+
const __vue_script__$9 = script$9;
|
|
1051
1051
|
|
|
1052
1052
|
/* template */
|
|
1053
|
-
var __vue_render__$
|
|
1053
|
+
var __vue_render__$9 = function () {
|
|
1054
1054
|
var _vm = this;
|
|
1055
1055
|
var _h = _vm.$createElement;
|
|
1056
1056
|
var _c = _vm._self._c || _h;
|
|
@@ -1115,17 +1115,17 @@
|
|
|
1115
1115
|
]
|
|
1116
1116
|
)
|
|
1117
1117
|
};
|
|
1118
|
-
var __vue_staticRenderFns__$
|
|
1119
|
-
__vue_render__$
|
|
1118
|
+
var __vue_staticRenderFns__$9 = [];
|
|
1119
|
+
__vue_render__$9._withStripped = true;
|
|
1120
1120
|
|
|
1121
1121
|
/* style */
|
|
1122
|
-
const __vue_inject_styles__$
|
|
1122
|
+
const __vue_inject_styles__$9 = undefined;
|
|
1123
1123
|
/* scoped */
|
|
1124
|
-
const __vue_scope_id__$
|
|
1124
|
+
const __vue_scope_id__$9 = undefined;
|
|
1125
1125
|
/* module identifier */
|
|
1126
|
-
const __vue_module_identifier__$
|
|
1126
|
+
const __vue_module_identifier__$9 = undefined;
|
|
1127
1127
|
/* functional template */
|
|
1128
|
-
const __vue_is_functional_template__$
|
|
1128
|
+
const __vue_is_functional_template__$9 = false;
|
|
1129
1129
|
/* style inject */
|
|
1130
1130
|
|
|
1131
1131
|
/* style inject SSR */
|
|
@@ -1134,13 +1134,13 @@
|
|
|
1134
1134
|
|
|
1135
1135
|
|
|
1136
1136
|
|
|
1137
|
-
const __vue_component__$
|
|
1138
|
-
{ render: __vue_render__$
|
|
1139
|
-
__vue_inject_styles__$
|
|
1140
|
-
__vue_script__$
|
|
1141
|
-
__vue_scope_id__$
|
|
1142
|
-
__vue_is_functional_template__$
|
|
1143
|
-
__vue_module_identifier__$
|
|
1137
|
+
const __vue_component__$9 = /*#__PURE__*/normalizeComponent(
|
|
1138
|
+
{ render: __vue_render__$9, staticRenderFns: __vue_staticRenderFns__$9 },
|
|
1139
|
+
__vue_inject_styles__$9,
|
|
1140
|
+
__vue_script__$9,
|
|
1141
|
+
__vue_scope_id__$9,
|
|
1142
|
+
__vue_is_functional_template__$9,
|
|
1143
|
+
__vue_module_identifier__$9,
|
|
1144
1144
|
false,
|
|
1145
1145
|
undefined,
|
|
1146
1146
|
undefined,
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
/**
|
|
1153
1153
|
* TekGrid component
|
|
1154
1154
|
*/
|
|
1155
|
-
let TekGrid = class TekGrid extends ZdGridEditable {
|
|
1155
|
+
let TekGrid$1 = class TekGrid extends ZdGridEditable {
|
|
1156
1156
|
constructor() {
|
|
1157
1157
|
super(...arguments);
|
|
1158
1158
|
this.instanceType = teknisaComponentsCommon.TekGrid;
|
|
@@ -1401,7 +1401,7 @@
|
|
|
1401
1401
|
if (!a.fixed && b.fixed)
|
|
1402
1402
|
return 1;
|
|
1403
1403
|
return -1;
|
|
1404
|
-
});
|
|
1404
|
+
}).filter((item) => item instanceof teknisaComponentsCommon.TekGridColumn);
|
|
1405
1405
|
}
|
|
1406
1406
|
updateFixedColumns() {
|
|
1407
1407
|
if (this.instance.columns.filter((column) => column.fixed).length === 0)
|
|
@@ -1430,92 +1430,142 @@
|
|
|
1430
1430
|
return 'unset';
|
|
1431
1431
|
return headerElement[0].style.left;
|
|
1432
1432
|
}
|
|
1433
|
+
isGroupSelected(item) {
|
|
1434
|
+
return item.children.every((child) => {
|
|
1435
|
+
const { uniqueKey } = this.instance.datasource;
|
|
1436
|
+
const idx = this.instance.selectedRows.findIndex((row) => child[uniqueKey] === row[uniqueKey]);
|
|
1437
|
+
return idx !== -1;
|
|
1438
|
+
});
|
|
1439
|
+
}
|
|
1440
|
+
isGroupSelectIndeterminate(item) {
|
|
1441
|
+
let hasSelected = false;
|
|
1442
|
+
let hasNotSelected = false;
|
|
1443
|
+
const { uniqueKey } = this.instance.datasource;
|
|
1444
|
+
item.children.forEach((child) => {
|
|
1445
|
+
const idx = this.instance.selectedRows.findIndex((row) => child[uniqueKey] === row[uniqueKey]);
|
|
1446
|
+
hasSelected = hasSelected || idx !== -1;
|
|
1447
|
+
hasNotSelected = hasNotSelected || idx === -1;
|
|
1448
|
+
});
|
|
1449
|
+
return hasSelected && hasNotSelected;
|
|
1450
|
+
}
|
|
1451
|
+
selectGroup(item, event) {
|
|
1452
|
+
const { uniqueKey } = this.instance.datasource;
|
|
1453
|
+
const isSelected = this.isGroupSelected(item);
|
|
1454
|
+
if (!isSelected) {
|
|
1455
|
+
item.children.forEach((child) => {
|
|
1456
|
+
const idx = this.instance.selectedRows.findIndex((row) => child[uniqueKey] === row[uniqueKey]);
|
|
1457
|
+
if (idx === -1) {
|
|
1458
|
+
this.instance.selectedRows.push(child);
|
|
1459
|
+
}
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1462
|
+
else {
|
|
1463
|
+
this.instance.selectedRows = this.instance.selectedRows.filter((row) => {
|
|
1464
|
+
const idx = item.children.findIndex((child) => child[uniqueKey] === row[uniqueKey]);
|
|
1465
|
+
return idx === -1;
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
this.selectGroupRowClick(item, !isSelected, event);
|
|
1469
|
+
}
|
|
1470
|
+
selectGroupRowClick(row, isSelected, event) {
|
|
1471
|
+
this.$nextTick(() => {
|
|
1472
|
+
this.instance.selectGroupClick(row, isSelected, event, this.$el);
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
toggleSelectAll() {
|
|
1476
|
+
if (this.instance.selectedRows.length === this.instance.datasource.data.length) {
|
|
1477
|
+
this.instance.selectedRows = [];
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
this.instance.selectedRows = this.instance.datasource.data;
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1433
1483
|
};
|
|
1434
1484
|
__decorate([
|
|
1435
1485
|
vuePropertyDecorator.Prop({ type: [String], default: '' }),
|
|
1436
1486
|
__metadata("design:type", String)
|
|
1437
|
-
], TekGrid.prototype, "title", void 0);
|
|
1487
|
+
], TekGrid$1.prototype, "title", void 0);
|
|
1438
1488
|
__decorate([
|
|
1439
1489
|
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
1440
1490
|
__metadata("design:type", Object)
|
|
1441
|
-
], TekGrid.prototype, "addButton", void 0);
|
|
1491
|
+
], TekGrid$1.prototype, "addButton", void 0);
|
|
1442
1492
|
__decorate([
|
|
1443
1493
|
vuePropertyDecorator.Prop({ type: [String], default: 'none' }),
|
|
1444
1494
|
__metadata("design:type", String)
|
|
1445
|
-
], TekGrid.prototype, "deleteButton", void 0);
|
|
1495
|
+
], TekGrid$1.prototype, "deleteButton", void 0);
|
|
1446
1496
|
__decorate([
|
|
1447
1497
|
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
1448
1498
|
__metadata("design:type", Object)
|
|
1449
|
-
], TekGrid.prototype, "columnsButton", void 0);
|
|
1499
|
+
], TekGrid$1.prototype, "columnsButton", void 0);
|
|
1450
1500
|
__decorate([
|
|
1451
1501
|
vuePropertyDecorator.Prop({ type: [Array, String], default: () => [] }),
|
|
1452
1502
|
__metadata("design:type", Object)
|
|
1453
|
-
], TekGrid.prototype, "columnsButtonIgnore", void 0);
|
|
1503
|
+
], TekGrid$1.prototype, "columnsButtonIgnore", void 0);
|
|
1454
1504
|
__decorate([
|
|
1455
1505
|
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
1456
1506
|
__metadata("design:type", Object)
|
|
1457
|
-
], TekGrid.prototype, "filterButton", void 0);
|
|
1507
|
+
], TekGrid$1.prototype, "filterButton", void 0);
|
|
1458
1508
|
__decorate([
|
|
1459
1509
|
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
1460
1510
|
__metadata("design:type", Object)
|
|
1461
|
-
], TekGrid.prototype, "columnFilterButton", void 0);
|
|
1511
|
+
], TekGrid$1.prototype, "columnFilterButton", void 0);
|
|
1462
1512
|
__decorate([
|
|
1463
1513
|
vuePropertyDecorator.Prop({ type: [Array], default: () => [] }),
|
|
1464
1514
|
__metadata("design:type", Array)
|
|
1465
|
-
], TekGrid.prototype, "actions", void 0);
|
|
1515
|
+
], TekGrid$1.prototype, "actions", void 0);
|
|
1466
1516
|
__decorate([
|
|
1467
1517
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
1468
1518
|
__metadata("design:type", Object)
|
|
1469
|
-
], TekGrid.prototype, "dragColumns", void 0);
|
|
1519
|
+
], TekGrid$1.prototype, "dragColumns", void 0);
|
|
1470
1520
|
__decorate([
|
|
1471
1521
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
1472
1522
|
__metadata("design:type", Object)
|
|
1473
|
-
], TekGrid.prototype, "resizeColumns", void 0);
|
|
1523
|
+
], TekGrid$1.prototype, "resizeColumns", void 0);
|
|
1474
1524
|
__decorate([
|
|
1475
1525
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
1476
1526
|
__metadata("design:type", Object)
|
|
1477
|
-
], TekGrid.prototype, "showLayoutOptions", void 0);
|
|
1527
|
+
], TekGrid$1.prototype, "showLayoutOptions", void 0);
|
|
1478
1528
|
__decorate([
|
|
1479
1529
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: false }),
|
|
1480
1530
|
__metadata("design:type", Object)
|
|
1481
|
-
], TekGrid.prototype, "showExport", void 0);
|
|
1531
|
+
], TekGrid$1.prototype, "showExport", void 0);
|
|
1482
1532
|
__decorate([
|
|
1483
1533
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
1484
1534
|
__metadata("design:type", Object)
|
|
1485
|
-
], TekGrid.prototype, "showReload", void 0);
|
|
1535
|
+
], TekGrid$1.prototype, "showReload", void 0);
|
|
1486
1536
|
__decorate([
|
|
1487
1537
|
vuePropertyDecorator.Prop({ type: [String, Array] }),
|
|
1488
1538
|
__metadata("design:type", Array)
|
|
1489
|
-
], TekGrid.prototype, "exportConfig", void 0);
|
|
1539
|
+
], TekGrid$1.prototype, "exportConfig", void 0);
|
|
1490
1540
|
__decorate([
|
|
1491
1541
|
vuePropertyDecorator.Prop({ type: [Array] }),
|
|
1492
1542
|
__metadata("design:type", Array)
|
|
1493
|
-
], TekGrid.prototype, "exportActions", void 0);
|
|
1543
|
+
], TekGrid$1.prototype, "exportActions", void 0);
|
|
1494
1544
|
__decorate([
|
|
1495
1545
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: false }),
|
|
1496
1546
|
__metadata("design:type", Object)
|
|
1497
|
-
], TekGrid.prototype, "groupsOpened", void 0);
|
|
1547
|
+
], TekGrid$1.prototype, "groupsOpened", void 0);
|
|
1498
1548
|
__decorate([
|
|
1499
1549
|
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
1500
1550
|
__metadata("design:type", Object)
|
|
1501
|
-
], TekGrid.prototype, "showSummaryTotal", void 0);
|
|
1551
|
+
], TekGrid$1.prototype, "showSummaryTotal", void 0);
|
|
1502
1552
|
__decorate([
|
|
1503
1553
|
vuePropertyDecorator.Prop({
|
|
1504
1554
|
type: Array,
|
|
1505
1555
|
default: () => undefined,
|
|
1506
1556
|
}),
|
|
1507
1557
|
__metadata("design:type", Array)
|
|
1508
|
-
], TekGrid.prototype, "toolbarSlot", void 0);
|
|
1509
|
-
TekGrid = __decorate([
|
|
1558
|
+
], TekGrid$1.prototype, "toolbarSlot", void 0);
|
|
1559
|
+
TekGrid$1 = __decorate([
|
|
1510
1560
|
vuePropertyDecorator.Component
|
|
1511
|
-
], TekGrid);
|
|
1512
|
-
var script$
|
|
1561
|
+
], TekGrid$1);
|
|
1562
|
+
var script$8 = TekGrid$1;
|
|
1513
1563
|
|
|
1514
1564
|
/* script */
|
|
1515
|
-
const __vue_script__$
|
|
1565
|
+
const __vue_script__$8 = script$8;
|
|
1516
1566
|
|
|
1517
1567
|
/* template */
|
|
1518
|
-
var __vue_render__$
|
|
1568
|
+
var __vue_render__$8 = function () {
|
|
1519
1569
|
var _vm = this;
|
|
1520
1570
|
var _h = _vm.$createElement;
|
|
1521
1571
|
var _c = _vm._self._c || _h;
|
|
@@ -1593,7 +1643,6 @@
|
|
|
1593
1643
|
key: "header",
|
|
1594
1644
|
fn: function (ref) {
|
|
1595
1645
|
var props = ref.props;
|
|
1596
|
-
var on = ref.on;
|
|
1597
1646
|
return [
|
|
1598
1647
|
_c("thead", { staticClass: "zd-grid-table-header" }, [
|
|
1599
1648
|
_c(
|
|
@@ -1628,7 +1677,7 @@
|
|
|
1628
1677
|
on: {
|
|
1629
1678
|
click: function ($event) {
|
|
1630
1679
|
$event.stopPropagation();
|
|
1631
|
-
|
|
1680
|
+
_vm.toggleSelectAll();
|
|
1632
1681
|
_vm.selectAllClick(
|
|
1633
1682
|
!props.everyItem,
|
|
1634
1683
|
$event
|
|
@@ -1658,6 +1707,10 @@
|
|
|
1658
1707
|
refInFor: true,
|
|
1659
1708
|
class: [
|
|
1660
1709
|
"zd-table-cell",
|
|
1710
|
+
"column-th-" +
|
|
1711
|
+
column.name +
|
|
1712
|
+
"-" +
|
|
1713
|
+
_vm.instance.name,
|
|
1661
1714
|
{
|
|
1662
1715
|
sortable:
|
|
1663
1716
|
column.sortable &&
|
|
@@ -2299,33 +2352,63 @@
|
|
|
2299
2352
|
},
|
|
2300
2353
|
[
|
|
2301
2354
|
_vm.instance.selectable
|
|
2302
|
-
? _c(
|
|
2303
|
-
|
|
2304
|
-
"zd-table-cell selectable zd-table-fixed-column",
|
|
2305
|
-
})
|
|
2306
|
-
: _vm._e(),
|
|
2307
|
-
_vm._v(" "),
|
|
2308
|
-
_c(
|
|
2309
|
-
"td",
|
|
2310
|
-
{
|
|
2311
|
-
staticClass:
|
|
2312
|
-
"zd-table-cell text-left zd-table-group-header zd-table-fixed-column",
|
|
2313
|
-
style:
|
|
2314
|
-
"left: " +
|
|
2315
|
-
(_vm.instance.selectable ? 40 : 0) +
|
|
2316
|
-
"px",
|
|
2317
|
-
attrs: { colspan: 999 },
|
|
2318
|
-
},
|
|
2319
|
-
[
|
|
2320
|
-
_c(
|
|
2321
|
-
"span",
|
|
2355
|
+
? _c(
|
|
2356
|
+
"td",
|
|
2322
2357
|
{
|
|
2323
|
-
staticClass:
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2358
|
+
staticClass:
|
|
2359
|
+
"zd-table-cell selectable zd-table-fixed-column",
|
|
2360
|
+
},
|
|
2361
|
+
[
|
|
2362
|
+
_c("v-checkbox", {
|
|
2363
|
+
staticClass: "zd-grid-row-checkbox",
|
|
2364
|
+
attrs: {
|
|
2365
|
+
"hide-details": "",
|
|
2366
|
+
color: "primary",
|
|
2367
|
+
disabled: _vm.instance.editing,
|
|
2368
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
|
2369
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
|
2370
|
+
"indeterminate-icon": _vm.$getIcon(
|
|
2371
|
+
"checkboxIndeterminate"
|
|
2372
|
+
),
|
|
2373
|
+
"true-value": true,
|
|
2374
|
+
"false-value": false,
|
|
2375
|
+
"input-value": _vm.isGroupSelected(item),
|
|
2376
|
+
indeterminate:
|
|
2377
|
+
_vm.isGroupSelectIndeterminate(item),
|
|
2378
|
+
},
|
|
2379
|
+
on: {
|
|
2380
|
+
click: function ($event) {
|
|
2381
|
+
$event.stopPropagation();
|
|
2382
|
+
return _vm.selectGroup(item, $event)
|
|
2383
|
+
},
|
|
2384
|
+
},
|
|
2385
|
+
}),
|
|
2386
|
+
],
|
|
2387
|
+
1
|
|
2388
|
+
)
|
|
2389
|
+
: _vm._e(),
|
|
2390
|
+
_vm._v(" "),
|
|
2391
|
+
_c(
|
|
2392
|
+
"td",
|
|
2393
|
+
{
|
|
2394
|
+
staticClass:
|
|
2395
|
+
"zd-table-cell text-left zd-table-group-header zd-table-fixed-column",
|
|
2396
|
+
style:
|
|
2397
|
+
"left: " +
|
|
2398
|
+
(_vm.instance.selectable ? 40 : 0) +
|
|
2399
|
+
"px",
|
|
2400
|
+
attrs: { colspan: 999 },
|
|
2401
|
+
},
|
|
2402
|
+
[
|
|
2403
|
+
_c(
|
|
2404
|
+
"span",
|
|
2405
|
+
{
|
|
2406
|
+
staticClass: "zd-table-group-container",
|
|
2407
|
+
style:
|
|
2408
|
+
"left: " +
|
|
2409
|
+
(_vm.instance.selectable ? 48 : 8) +
|
|
2410
|
+
"px",
|
|
2411
|
+
},
|
|
2329
2412
|
[
|
|
2330
2413
|
_vm._l(
|
|
2331
2414
|
item.groupHeaders,
|
|
@@ -2965,34 +3048,34 @@
|
|
|
2965
3048
|
},
|
|
2966
3049
|
})
|
|
2967
3050
|
};
|
|
2968
|
-
var __vue_staticRenderFns__$
|
|
2969
|
-
__vue_render__$
|
|
3051
|
+
var __vue_staticRenderFns__$8 = [];
|
|
3052
|
+
__vue_render__$8._withStripped = true;
|
|
2970
3053
|
|
|
2971
3054
|
/* style */
|
|
2972
|
-
const __vue_inject_styles__$
|
|
3055
|
+
const __vue_inject_styles__$8 = function (inject) {
|
|
2973
3056
|
if (!inject) return
|
|
2974
|
-
inject("data-v-
|
|
3057
|
+
inject("data-v-7c368a9c_0", { source: ".tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 4;\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: inline-block;\n vertical-align: middle;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 10px;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n position: relative;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n background: white;\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
2975
3058
|
|
|
2976
3059
|
};
|
|
2977
3060
|
/* scoped */
|
|
2978
|
-
const __vue_scope_id__$
|
|
3061
|
+
const __vue_scope_id__$8 = undefined;
|
|
2979
3062
|
/* module identifier */
|
|
2980
|
-
const __vue_module_identifier__$
|
|
3063
|
+
const __vue_module_identifier__$8 = undefined;
|
|
2981
3064
|
/* functional template */
|
|
2982
|
-
const __vue_is_functional_template__$
|
|
3065
|
+
const __vue_is_functional_template__$8 = false;
|
|
2983
3066
|
/* style inject SSR */
|
|
2984
3067
|
|
|
2985
3068
|
/* style inject shadow dom */
|
|
2986
3069
|
|
|
2987
3070
|
|
|
2988
3071
|
|
|
2989
|
-
const __vue_component__$
|
|
2990
|
-
{ render: __vue_render__$
|
|
2991
|
-
__vue_inject_styles__$
|
|
2992
|
-
__vue_script__$
|
|
2993
|
-
__vue_scope_id__$
|
|
2994
|
-
__vue_is_functional_template__$
|
|
2995
|
-
__vue_module_identifier__$
|
|
3072
|
+
const __vue_component__$8 = /*#__PURE__*/normalizeComponent(
|
|
3073
|
+
{ render: __vue_render__$8, staticRenderFns: __vue_staticRenderFns__$8 },
|
|
3074
|
+
__vue_inject_styles__$8,
|
|
3075
|
+
__vue_script__$8,
|
|
3076
|
+
__vue_scope_id__$8,
|
|
3077
|
+
__vue_is_functional_template__$8,
|
|
3078
|
+
__vue_module_identifier__$8,
|
|
2996
3079
|
false,
|
|
2997
3080
|
createInjector,
|
|
2998
3081
|
undefined,
|
|
@@ -3009,6 +3092,7 @@
|
|
|
3009
3092
|
this.aggregationData = [];
|
|
3010
3093
|
this.selectedColumnNames = [];
|
|
3011
3094
|
this.searchValue = '';
|
|
3095
|
+
this.showGroups = true;
|
|
3012
3096
|
this.updatingSelect = false;
|
|
3013
3097
|
this.modal = modal;
|
|
3014
3098
|
}
|
|
@@ -3038,6 +3122,7 @@
|
|
|
3038
3122
|
set instance(instance) {
|
|
3039
3123
|
this.instanceValue = instance;
|
|
3040
3124
|
this.iterableComponent = instance.iterableComponent;
|
|
3125
|
+
this.showGroups = instance.iterableComponent instanceof teknisaComponentsCommon.TekGrid;
|
|
3041
3126
|
this.aggregationData = instance.getAggregationSelectData();
|
|
3042
3127
|
this.columnData = {};
|
|
3043
3128
|
this.iterableComponent.columns.forEach((column) => {
|
|
@@ -3626,6 +3711,7 @@
|
|
|
3626
3711
|
{
|
|
3627
3712
|
name: 'tekGridColumnsOptionsGroupedRow',
|
|
3628
3713
|
component: 'ZdRow',
|
|
3714
|
+
isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
|
|
3629
3715
|
children: [
|
|
3630
3716
|
{
|
|
3631
3717
|
name: 'tekGridColumnsOptionsGroupedCol',
|
|
@@ -3828,6 +3914,7 @@
|
|
|
3828
3914
|
{
|
|
3829
3915
|
name: 'tekGridColumnsOptionsColumnAggregation',
|
|
3830
3916
|
component: 'ZdSelect',
|
|
3917
|
+
isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
|
|
3831
3918
|
autocomplete: false,
|
|
3832
3919
|
label: 'TEKGRID_COLUMN_AGGREGATION',
|
|
3833
3920
|
showHelper: false,
|
|
@@ -3849,6 +3936,7 @@
|
|
|
3849
3936
|
{
|
|
3850
3937
|
name: 'tekGridColumnsOptionsColumnGroupOpened',
|
|
3851
3938
|
component: 'ZdCheckbox',
|
|
3939
|
+
isVisible: `{{${TekGridColumnsOptionsModal.controllerName}.showGroups}}`,
|
|
3852
3940
|
cssClass: 'zd-form-input-align',
|
|
3853
3941
|
disabled: `{{${TekGridColumnsOptionsModal.controllerName}.notGroupInSelection}}`,
|
|
3854
3942
|
label: 'TEKGRID_COLUMN_GROUP_OPENED',
|
|
@@ -3943,6 +4031,10 @@
|
|
|
3943
4031
|
this.menuIsOpened = false;
|
|
3944
4032
|
}
|
|
3945
4033
|
};
|
|
4034
|
+
__decorate([
|
|
4035
|
+
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
4036
|
+
__metadata("design:type", Object)
|
|
4037
|
+
], TekGridColumnsButton.prototype, "hideGroups", void 0);
|
|
3946
4038
|
__decorate([
|
|
3947
4039
|
vuePropertyDecorator.Watch('menuIsOpened'),
|
|
3948
4040
|
__metadata("design:type", Function),
|
|
@@ -3952,13 +4044,13 @@
|
|
|
3952
4044
|
TekGridColumnsButton = __decorate([
|
|
3953
4045
|
vuePropertyDecorator.Component
|
|
3954
4046
|
], TekGridColumnsButton);
|
|
3955
|
-
var script$
|
|
4047
|
+
var script$7 = TekGridColumnsButton;
|
|
3956
4048
|
|
|
3957
4049
|
/* script */
|
|
3958
|
-
const __vue_script__$
|
|
4050
|
+
const __vue_script__$7 = script$7;
|
|
3959
4051
|
|
|
3960
4052
|
/* template */
|
|
3961
|
-
var __vue_render__$
|
|
4053
|
+
var __vue_render__$7 = function () {
|
|
3962
4054
|
var _vm = this;
|
|
3963
4055
|
var _h = _vm.$createElement;
|
|
3964
4056
|
var _c = _vm._self._c || _h;
|
|
@@ -4042,11 +4134,15 @@
|
|
|
4042
4134
|
_vm._v(" "),
|
|
4043
4135
|
_c("th", [_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_VISIBLE")))]),
|
|
4044
4136
|
_vm._v(" "),
|
|
4045
|
-
|
|
4137
|
+
!_vm.instance.hideGroups
|
|
4138
|
+
? _c("th", [_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_GROUPED")))])
|
|
4139
|
+
: _vm._e(),
|
|
4046
4140
|
_vm._v(" "),
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4141
|
+
!_vm.instance.hideGroups
|
|
4142
|
+
? _c("th", [
|
|
4143
|
+
_vm._v(_vm._s(_vm.$t("TEKGRID_COLUMN_AGGREGATION"))),
|
|
4144
|
+
])
|
|
4145
|
+
: _vm._e(),
|
|
4050
4146
|
]),
|
|
4051
4147
|
]),
|
|
4052
4148
|
_vm._v(" "),
|
|
@@ -4093,77 +4189,81 @@
|
|
|
4093
4189
|
1
|
|
4094
4190
|
),
|
|
4095
4191
|
_vm._v(" "),
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
name:
|
|
4103
|
-
_vm.instance.name +
|
|
4104
|
-
"_column_grouped_" +
|
|
4105
|
-
column.name,
|
|
4106
|
-
value: column.grouped,
|
|
4107
|
-
events: {
|
|
4108
|
-
change:
|
|
4109
|
-
_vm.instance.controller.changeGroupedColumn.bind(
|
|
4110
|
-
_vm.instance.controller,
|
|
4111
|
-
column
|
|
4112
|
-
),
|
|
4113
|
-
},
|
|
4114
|
-
},
|
|
4115
|
-
})
|
|
4116
|
-
: _vm._e(),
|
|
4117
|
-
],
|
|
4118
|
-
1
|
|
4119
|
-
),
|
|
4120
|
-
_vm._v(" "),
|
|
4121
|
-
_c(
|
|
4122
|
-
"td",
|
|
4123
|
-
{
|
|
4124
|
-
staticClass:
|
|
4125
|
-
"tek-grid-columns-button-column-aggregation",
|
|
4126
|
-
},
|
|
4127
|
-
[
|
|
4128
|
-
column.type !== "action"
|
|
4129
|
-
? _c(
|
|
4130
|
-
"zd-select",
|
|
4131
|
-
_vm._b(
|
|
4132
|
-
{
|
|
4192
|
+
!_vm.instance.hideGroups
|
|
4193
|
+
? _c(
|
|
4194
|
+
"td",
|
|
4195
|
+
[
|
|
4196
|
+
column.type !== "action"
|
|
4197
|
+
? _c("zd-checkbox", {
|
|
4133
4198
|
attrs: {
|
|
4134
4199
|
name:
|
|
4135
4200
|
_vm.instance.name +
|
|
4136
|
-
"
|
|
4201
|
+
"_column_grouped_" +
|
|
4137
4202
|
column.name,
|
|
4203
|
+
value: column.grouped,
|
|
4204
|
+
events: {
|
|
4205
|
+
change:
|
|
4206
|
+
_vm.instance.controller.changeGroupedColumn.bind(
|
|
4207
|
+
_vm.instance.controller,
|
|
4208
|
+
column
|
|
4209
|
+
),
|
|
4210
|
+
},
|
|
4138
4211
|
},
|
|
4139
|
-
}
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4212
|
+
})
|
|
4213
|
+
: _vm._e(),
|
|
4214
|
+
],
|
|
4215
|
+
1
|
|
4216
|
+
)
|
|
4217
|
+
: _vm._e(),
|
|
4218
|
+
_vm._v(" "),
|
|
4219
|
+
!_vm.instance.hideGroups
|
|
4220
|
+
? _c(
|
|
4221
|
+
"td",
|
|
4222
|
+
{
|
|
4223
|
+
staticClass:
|
|
4224
|
+
"tek-grid-columns-button-column-aggregation",
|
|
4225
|
+
},
|
|
4226
|
+
[
|
|
4227
|
+
column.type !== "action"
|
|
4228
|
+
? _c(
|
|
4229
|
+
"zd-select",
|
|
4230
|
+
_vm._b(
|
|
4231
|
+
{
|
|
4232
|
+
attrs: {
|
|
4233
|
+
name:
|
|
4234
|
+
_vm.instance.name +
|
|
4235
|
+
"_column_aggregation_" +
|
|
4236
|
+
column.name,
|
|
4237
|
+
},
|
|
4238
|
+
},
|
|
4239
|
+
"zd-select",
|
|
4240
|
+
{
|
|
4241
|
+
value: column.aggregation,
|
|
4242
|
+
disabled: column.grouped,
|
|
4243
|
+
events: {
|
|
4244
|
+
change:
|
|
4245
|
+
_vm.instance.controller.changeAggregationColumn.bind(
|
|
4246
|
+
_vm.instance.controller,
|
|
4247
|
+
column
|
|
4248
|
+
),
|
|
4249
|
+
},
|
|
4250
|
+
dataText: "text",
|
|
4251
|
+
dataValue: "value",
|
|
4252
|
+
autocomplete: false,
|
|
4253
|
+
showHelper: false,
|
|
4254
|
+
showLabel: false,
|
|
4255
|
+
datasource: {
|
|
4256
|
+
data: _vm.instance.getAggregationSelectData(),
|
|
4257
|
+
},
|
|
4258
|
+
},
|
|
4259
|
+
false
|
|
4260
|
+
)
|
|
4261
|
+
)
|
|
4262
|
+
: _vm._e(),
|
|
4263
|
+
],
|
|
4264
|
+
1
|
|
4265
|
+
)
|
|
4266
|
+
: _vm._e(),
|
|
4167
4267
|
]
|
|
4168
4268
|
)
|
|
4169
4269
|
}),
|
|
@@ -4211,34 +4311,34 @@
|
|
|
4211
4311
|
]
|
|
4212
4312
|
)
|
|
4213
4313
|
};
|
|
4214
|
-
var __vue_staticRenderFns__$
|
|
4215
|
-
__vue_render__$
|
|
4314
|
+
var __vue_staticRenderFns__$7 = [];
|
|
4315
|
+
__vue_render__$7._withStripped = true;
|
|
4216
4316
|
|
|
4217
4317
|
/* style */
|
|
4218
|
-
const __vue_inject_styles__$
|
|
4318
|
+
const __vue_inject_styles__$7 = function (inject) {
|
|
4219
4319
|
if (!inject) return
|
|
4220
|
-
inject("data-v-
|
|
4320
|
+
inject("data-v-6c9f5d6a_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 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 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 });
|
|
4221
4321
|
|
|
4222
4322
|
};
|
|
4223
4323
|
/* scoped */
|
|
4224
|
-
const __vue_scope_id__$
|
|
4324
|
+
const __vue_scope_id__$7 = undefined;
|
|
4225
4325
|
/* module identifier */
|
|
4226
|
-
const __vue_module_identifier__$
|
|
4326
|
+
const __vue_module_identifier__$7 = undefined;
|
|
4227
4327
|
/* functional template */
|
|
4228
|
-
const __vue_is_functional_template__$
|
|
4328
|
+
const __vue_is_functional_template__$7 = false;
|
|
4229
4329
|
/* style inject SSR */
|
|
4230
4330
|
|
|
4231
4331
|
/* style inject shadow dom */
|
|
4232
4332
|
|
|
4233
4333
|
|
|
4234
4334
|
|
|
4235
|
-
const __vue_component__$
|
|
4236
|
-
{ render: __vue_render__$
|
|
4237
|
-
__vue_inject_styles__$
|
|
4238
|
-
__vue_script__$
|
|
4239
|
-
__vue_scope_id__$
|
|
4240
|
-
__vue_is_functional_template__$
|
|
4241
|
-
__vue_module_identifier__$
|
|
4335
|
+
const __vue_component__$7 = /*#__PURE__*/normalizeComponent(
|
|
4336
|
+
{ render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 },
|
|
4337
|
+
__vue_inject_styles__$7,
|
|
4338
|
+
__vue_script__$7,
|
|
4339
|
+
__vue_scope_id__$7,
|
|
4340
|
+
__vue_is_functional_template__$7,
|
|
4341
|
+
__vue_module_identifier__$7,
|
|
4242
4342
|
false,
|
|
4243
4343
|
createInjector,
|
|
4244
4344
|
undefined,
|
|
@@ -4433,13 +4533,13 @@
|
|
|
4433
4533
|
TekGridLayoutOptions = __decorate([
|
|
4434
4534
|
vuePropertyDecorator.Component
|
|
4435
4535
|
], TekGridLayoutOptions);
|
|
4436
|
-
var script$
|
|
4536
|
+
var script$6 = TekGridLayoutOptions;
|
|
4437
4537
|
|
|
4438
4538
|
/* script */
|
|
4439
|
-
const __vue_script__$
|
|
4539
|
+
const __vue_script__$6 = script$6;
|
|
4440
4540
|
|
|
4441
4541
|
/* template */
|
|
4442
|
-
var __vue_render__$
|
|
4542
|
+
var __vue_render__$6 = function () {
|
|
4443
4543
|
var _vm = this;
|
|
4444
4544
|
var _h = _vm.$createElement;
|
|
4445
4545
|
var _c = _vm._self._c || _h;
|
|
@@ -4678,34 +4778,34 @@
|
|
|
4678
4778
|
1
|
|
4679
4779
|
)
|
|
4680
4780
|
};
|
|
4681
|
-
var __vue_staticRenderFns__$
|
|
4682
|
-
__vue_render__$
|
|
4781
|
+
var __vue_staticRenderFns__$6 = [];
|
|
4782
|
+
__vue_render__$6._withStripped = true;
|
|
4683
4783
|
|
|
4684
4784
|
/* style */
|
|
4685
|
-
const __vue_inject_styles__$
|
|
4785
|
+
const __vue_inject_styles__$6 = function (inject) {
|
|
4686
4786
|
if (!inject) return
|
|
4687
4787
|
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 });
|
|
4688
4788
|
|
|
4689
4789
|
};
|
|
4690
4790
|
/* scoped */
|
|
4691
|
-
const __vue_scope_id__$
|
|
4791
|
+
const __vue_scope_id__$6 = undefined;
|
|
4692
4792
|
/* module identifier */
|
|
4693
|
-
const __vue_module_identifier__$
|
|
4793
|
+
const __vue_module_identifier__$6 = undefined;
|
|
4694
4794
|
/* functional template */
|
|
4695
|
-
const __vue_is_functional_template__$
|
|
4795
|
+
const __vue_is_functional_template__$6 = false;
|
|
4696
4796
|
/* style inject SSR */
|
|
4697
4797
|
|
|
4698
4798
|
/* style inject shadow dom */
|
|
4699
4799
|
|
|
4700
4800
|
|
|
4701
4801
|
|
|
4702
|
-
const __vue_component__$
|
|
4703
|
-
{ render: __vue_render__$
|
|
4704
|
-
__vue_inject_styles__$
|
|
4705
|
-
__vue_script__$
|
|
4706
|
-
__vue_scope_id__$
|
|
4707
|
-
__vue_is_functional_template__$
|
|
4708
|
-
__vue_module_identifier__$
|
|
4802
|
+
const __vue_component__$6 = /*#__PURE__*/normalizeComponent(
|
|
4803
|
+
{ render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 },
|
|
4804
|
+
__vue_inject_styles__$6,
|
|
4805
|
+
__vue_script__$6,
|
|
4806
|
+
__vue_scope_id__$6,
|
|
4807
|
+
__vue_is_functional_template__$6,
|
|
4808
|
+
__vue_module_identifier__$6,
|
|
4709
4809
|
false,
|
|
4710
4810
|
createInjector,
|
|
4711
4811
|
undefined,
|
|
@@ -4732,13 +4832,13 @@
|
|
|
4732
4832
|
TekImage = __decorate([
|
|
4733
4833
|
vuePropertyDecorator.Component
|
|
4734
4834
|
], TekImage);
|
|
4735
|
-
var script$
|
|
4835
|
+
var script$5 = TekImage;
|
|
4736
4836
|
|
|
4737
4837
|
/* script */
|
|
4738
|
-
const __vue_script__$
|
|
4838
|
+
const __vue_script__$5 = script$5;
|
|
4739
4839
|
|
|
4740
4840
|
/* template */
|
|
4741
|
-
var __vue_render__$
|
|
4841
|
+
var __vue_render__$5 = function () {
|
|
4742
4842
|
var _vm = this;
|
|
4743
4843
|
var _h = _vm.$createElement;
|
|
4744
4844
|
var _c = _vm._self._c || _h;
|
|
@@ -4749,17 +4849,17 @@
|
|
|
4749
4849
|
1
|
|
4750
4850
|
)
|
|
4751
4851
|
};
|
|
4752
|
-
var __vue_staticRenderFns__$
|
|
4753
|
-
__vue_render__$
|
|
4852
|
+
var __vue_staticRenderFns__$5 = [];
|
|
4853
|
+
__vue_render__$5._withStripped = true;
|
|
4754
4854
|
|
|
4755
4855
|
/* style */
|
|
4756
|
-
const __vue_inject_styles__$
|
|
4856
|
+
const __vue_inject_styles__$5 = undefined;
|
|
4757
4857
|
/* scoped */
|
|
4758
|
-
const __vue_scope_id__$
|
|
4858
|
+
const __vue_scope_id__$5 = undefined;
|
|
4759
4859
|
/* module identifier */
|
|
4760
|
-
const __vue_module_identifier__$
|
|
4860
|
+
const __vue_module_identifier__$5 = undefined;
|
|
4761
4861
|
/* functional template */
|
|
4762
|
-
const __vue_is_functional_template__$
|
|
4862
|
+
const __vue_is_functional_template__$5 = false;
|
|
4763
4863
|
/* style inject */
|
|
4764
4864
|
|
|
4765
4865
|
/* style inject SSR */
|
|
@@ -4768,13 +4868,13 @@
|
|
|
4768
4868
|
|
|
4769
4869
|
|
|
4770
4870
|
|
|
4771
|
-
const __vue_component__$
|
|
4772
|
-
{ render: __vue_render__$
|
|
4773
|
-
__vue_inject_styles__$
|
|
4774
|
-
__vue_script__$
|
|
4775
|
-
__vue_scope_id__$
|
|
4776
|
-
__vue_is_functional_template__$
|
|
4777
|
-
__vue_module_identifier__$
|
|
4871
|
+
const __vue_component__$5 = /*#__PURE__*/normalizeComponent(
|
|
4872
|
+
{ render: __vue_render__$5, staticRenderFns: __vue_staticRenderFns__$5 },
|
|
4873
|
+
__vue_inject_styles__$5,
|
|
4874
|
+
__vue_script__$5,
|
|
4875
|
+
__vue_scope_id__$5,
|
|
4876
|
+
__vue_is_functional_template__$5,
|
|
4877
|
+
__vue_module_identifier__$5,
|
|
4778
4878
|
false,
|
|
4779
4879
|
undefined,
|
|
4780
4880
|
undefined,
|
|
@@ -4799,13 +4899,13 @@
|
|
|
4799
4899
|
TekIterableCarousel = __decorate([
|
|
4800
4900
|
vuePropertyDecorator.Component
|
|
4801
4901
|
], TekIterableCarousel);
|
|
4802
|
-
var script$
|
|
4902
|
+
var script$4 = TekIterableCarousel;
|
|
4803
4903
|
|
|
4804
4904
|
/* script */
|
|
4805
|
-
const __vue_script__$
|
|
4905
|
+
const __vue_script__$4 = script$4;
|
|
4806
4906
|
|
|
4807
4907
|
/* template */
|
|
4808
|
-
var __vue_render__$
|
|
4908
|
+
var __vue_render__$4 = function () {
|
|
4809
4909
|
var _vm = this;
|
|
4810
4910
|
var _h = _vm.$createElement;
|
|
4811
4911
|
var _c = _vm._self._c || _h;
|
|
@@ -4879,17 +4979,17 @@
|
|
|
4879
4979
|
1
|
|
4880
4980
|
)
|
|
4881
4981
|
};
|
|
4882
|
-
var __vue_staticRenderFns__$
|
|
4883
|
-
__vue_render__$
|
|
4982
|
+
var __vue_staticRenderFns__$4 = [];
|
|
4983
|
+
__vue_render__$4._withStripped = true;
|
|
4884
4984
|
|
|
4885
4985
|
/* style */
|
|
4886
|
-
const __vue_inject_styles__$
|
|
4986
|
+
const __vue_inject_styles__$4 = undefined;
|
|
4887
4987
|
/* scoped */
|
|
4888
|
-
const __vue_scope_id__$
|
|
4988
|
+
const __vue_scope_id__$4 = undefined;
|
|
4889
4989
|
/* module identifier */
|
|
4890
|
-
const __vue_module_identifier__$
|
|
4990
|
+
const __vue_module_identifier__$4 = undefined;
|
|
4891
4991
|
/* functional template */
|
|
4892
|
-
const __vue_is_functional_template__$
|
|
4992
|
+
const __vue_is_functional_template__$4 = false;
|
|
4893
4993
|
/* style inject */
|
|
4894
4994
|
|
|
4895
4995
|
/* style inject SSR */
|
|
@@ -4898,13 +4998,13 @@
|
|
|
4898
4998
|
|
|
4899
4999
|
|
|
4900
5000
|
|
|
4901
|
-
const __vue_component__$
|
|
4902
|
-
{ render: __vue_render__$
|
|
4903
|
-
__vue_inject_styles__$
|
|
4904
|
-
__vue_script__$
|
|
4905
|
-
__vue_scope_id__$
|
|
4906
|
-
__vue_is_functional_template__$
|
|
4907
|
-
__vue_module_identifier__$
|
|
5001
|
+
const __vue_component__$4 = /*#__PURE__*/normalizeComponent(
|
|
5002
|
+
{ render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },
|
|
5003
|
+
__vue_inject_styles__$4,
|
|
5004
|
+
__vue_script__$4,
|
|
5005
|
+
__vue_scope_id__$4,
|
|
5006
|
+
__vue_is_functional_template__$4,
|
|
5007
|
+
__vue_module_identifier__$4,
|
|
4908
5008
|
false,
|
|
4909
5009
|
undefined,
|
|
4910
5010
|
undefined,
|
|
@@ -4971,13 +5071,13 @@
|
|
|
4971
5071
|
TekIterableComponentRender = __decorate([
|
|
4972
5072
|
vuePropertyDecorator.Component
|
|
4973
5073
|
], TekIterableComponentRender);
|
|
4974
|
-
var script$
|
|
5074
|
+
var script$3 = TekIterableComponentRender;
|
|
4975
5075
|
|
|
4976
5076
|
/* script */
|
|
4977
|
-
const __vue_script__$
|
|
5077
|
+
const __vue_script__$3 = script$3;
|
|
4978
5078
|
|
|
4979
5079
|
/* template */
|
|
4980
|
-
var __vue_render__$
|
|
5080
|
+
var __vue_render__$3 = function () {
|
|
4981
5081
|
var _vm = this;
|
|
4982
5082
|
var _h = _vm.$createElement;
|
|
4983
5083
|
var _c = _vm._self._c || _h;
|
|
@@ -5153,34 +5253,34 @@
|
|
|
5153
5253
|
)
|
|
5154
5254
|
: _vm._e()
|
|
5155
5255
|
};
|
|
5156
|
-
var __vue_staticRenderFns__$
|
|
5157
|
-
__vue_render__$
|
|
5256
|
+
var __vue_staticRenderFns__$3 = [];
|
|
5257
|
+
__vue_render__$3._withStripped = true;
|
|
5158
5258
|
|
|
5159
5259
|
/* style */
|
|
5160
|
-
const __vue_inject_styles__$
|
|
5260
|
+
const __vue_inject_styles__$3 = function (inject) {
|
|
5161
5261
|
if (!inject) return
|
|
5162
5262
|
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 });
|
|
5163
5263
|
|
|
5164
5264
|
};
|
|
5165
5265
|
/* scoped */
|
|
5166
|
-
const __vue_scope_id__$
|
|
5266
|
+
const __vue_scope_id__$3 = "data-v-02c0169b";
|
|
5167
5267
|
/* module identifier */
|
|
5168
|
-
const __vue_module_identifier__$
|
|
5268
|
+
const __vue_module_identifier__$3 = undefined;
|
|
5169
5269
|
/* functional template */
|
|
5170
|
-
const __vue_is_functional_template__$
|
|
5270
|
+
const __vue_is_functional_template__$3 = false;
|
|
5171
5271
|
/* style inject SSR */
|
|
5172
5272
|
|
|
5173
5273
|
/* style inject shadow dom */
|
|
5174
5274
|
|
|
5175
5275
|
|
|
5176
5276
|
|
|
5177
|
-
const __vue_component__$
|
|
5178
|
-
{ render: __vue_render__$
|
|
5179
|
-
__vue_inject_styles__$
|
|
5180
|
-
__vue_script__$
|
|
5181
|
-
__vue_scope_id__$
|
|
5182
|
-
__vue_is_functional_template__$
|
|
5183
|
-
__vue_module_identifier__$
|
|
5277
|
+
const __vue_component__$3 = /*#__PURE__*/normalizeComponent(
|
|
5278
|
+
{ render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },
|
|
5279
|
+
__vue_inject_styles__$3,
|
|
5280
|
+
__vue_script__$3,
|
|
5281
|
+
__vue_scope_id__$3,
|
|
5282
|
+
__vue_is_functional_template__$3,
|
|
5283
|
+
__vue_module_identifier__$3,
|
|
5184
5284
|
false,
|
|
5185
5285
|
createInjector,
|
|
5186
5286
|
undefined,
|
|
@@ -5209,13 +5309,13 @@
|
|
|
5209
5309
|
TekNotifications = __decorate([
|
|
5210
5310
|
vuePropertyDecorator.Component
|
|
5211
5311
|
], TekNotifications);
|
|
5212
|
-
var script$
|
|
5312
|
+
var script$2 = TekNotifications;
|
|
5213
5313
|
|
|
5214
5314
|
/* script */
|
|
5215
|
-
const __vue_script__$
|
|
5315
|
+
const __vue_script__$2 = script$2;
|
|
5216
5316
|
|
|
5217
5317
|
/* template */
|
|
5218
|
-
var __vue_render__$
|
|
5318
|
+
var __vue_render__$2 = function () {
|
|
5219
5319
|
var _vm = this;
|
|
5220
5320
|
var _h = _vm.$createElement;
|
|
5221
5321
|
var _c = _vm._self._c || _h;
|
|
@@ -5292,34 +5392,34 @@
|
|
|
5292
5392
|
1
|
|
5293
5393
|
)
|
|
5294
5394
|
};
|
|
5295
|
-
var __vue_staticRenderFns__$
|
|
5296
|
-
__vue_render__$
|
|
5395
|
+
var __vue_staticRenderFns__$2 = [];
|
|
5396
|
+
__vue_render__$2._withStripped = true;
|
|
5297
5397
|
|
|
5298
5398
|
/* style */
|
|
5299
|
-
const __vue_inject_styles__$
|
|
5399
|
+
const __vue_inject_styles__$2 = function (inject) {
|
|
5300
5400
|
if (!inject) return
|
|
5301
5401
|
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 });
|
|
5302
5402
|
|
|
5303
5403
|
};
|
|
5304
5404
|
/* scoped */
|
|
5305
|
-
const __vue_scope_id__$
|
|
5405
|
+
const __vue_scope_id__$2 = undefined;
|
|
5306
5406
|
/* module identifier */
|
|
5307
|
-
const __vue_module_identifier__$
|
|
5407
|
+
const __vue_module_identifier__$2 = undefined;
|
|
5308
5408
|
/* functional template */
|
|
5309
|
-
const __vue_is_functional_template__$
|
|
5409
|
+
const __vue_is_functional_template__$2 = false;
|
|
5310
5410
|
/* style inject SSR */
|
|
5311
5411
|
|
|
5312
5412
|
/* style inject shadow dom */
|
|
5313
5413
|
|
|
5314
5414
|
|
|
5315
5415
|
|
|
5316
|
-
const __vue_component__$
|
|
5317
|
-
{ render: __vue_render__$
|
|
5318
|
-
__vue_inject_styles__$
|
|
5319
|
-
__vue_script__$
|
|
5320
|
-
__vue_scope_id__$
|
|
5321
|
-
__vue_is_functional_template__$
|
|
5322
|
-
__vue_module_identifier__$
|
|
5416
|
+
const __vue_component__$2 = /*#__PURE__*/normalizeComponent(
|
|
5417
|
+
{ render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
|
|
5418
|
+
__vue_inject_styles__$2,
|
|
5419
|
+
__vue_script__$2,
|
|
5420
|
+
__vue_scope_id__$2,
|
|
5421
|
+
__vue_is_functional_template__$2,
|
|
5422
|
+
__vue_module_identifier__$2,
|
|
5323
5423
|
false,
|
|
5324
5424
|
createInjector,
|
|
5325
5425
|
undefined,
|
|
@@ -5385,13 +5485,13 @@
|
|
|
5385
5485
|
TekProductCard = __decorate([
|
|
5386
5486
|
vuePropertyDecorator.Component
|
|
5387
5487
|
], TekProductCard);
|
|
5388
|
-
var script = TekProductCard;
|
|
5488
|
+
var script$1 = TekProductCard;
|
|
5389
5489
|
|
|
5390
5490
|
/* script */
|
|
5391
|
-
const __vue_script__ = script;
|
|
5491
|
+
const __vue_script__$1 = script$1;
|
|
5392
5492
|
|
|
5393
5493
|
/* template */
|
|
5394
|
-
var __vue_render__ = function () {
|
|
5494
|
+
var __vue_render__$1 = function () {
|
|
5395
5495
|
var _vm = this;
|
|
5396
5496
|
var _h = _vm.$createElement;
|
|
5397
5497
|
var _c = _vm._self._c || _h;
|
|
@@ -5511,14 +5611,1686 @@
|
|
|
5511
5611
|
)
|
|
5512
5612
|
: _vm._e()
|
|
5513
5613
|
};
|
|
5514
|
-
var __vue_staticRenderFns__ = [];
|
|
5515
|
-
__vue_render__._withStripped = true;
|
|
5614
|
+
var __vue_staticRenderFns__$1 = [];
|
|
5615
|
+
__vue_render__$1._withStripped = true;
|
|
5516
5616
|
|
|
5517
5617
|
/* style */
|
|
5518
|
-
const __vue_inject_styles__ = function (inject) {
|
|
5618
|
+
const __vue_inject_styles__$1 = function (inject) {
|
|
5519
5619
|
if (!inject) return
|
|
5520
5620
|
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 });
|
|
5521
5621
|
|
|
5622
|
+
};
|
|
5623
|
+
/* scoped */
|
|
5624
|
+
const __vue_scope_id__$1 = undefined;
|
|
5625
|
+
/* module identifier */
|
|
5626
|
+
const __vue_module_identifier__$1 = undefined;
|
|
5627
|
+
/* functional template */
|
|
5628
|
+
const __vue_is_functional_template__$1 = false;
|
|
5629
|
+
/* style inject SSR */
|
|
5630
|
+
|
|
5631
|
+
/* style inject shadow dom */
|
|
5632
|
+
|
|
5633
|
+
|
|
5634
|
+
|
|
5635
|
+
const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
|
|
5636
|
+
{ render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
|
|
5637
|
+
__vue_inject_styles__$1,
|
|
5638
|
+
__vue_script__$1,
|
|
5639
|
+
__vue_scope_id__$1,
|
|
5640
|
+
__vue_is_functional_template__$1,
|
|
5641
|
+
__vue_module_identifier__$1,
|
|
5642
|
+
false,
|
|
5643
|
+
createInjector,
|
|
5644
|
+
undefined,
|
|
5645
|
+
undefined
|
|
5646
|
+
);
|
|
5647
|
+
|
|
5648
|
+
// eslint-disable-next-line prefer-destructuring
|
|
5649
|
+
const ZdTreeGridEditable = vuetify.components.ZdTreeGridEditable;
|
|
5650
|
+
/**
|
|
5651
|
+
* TekGrid component
|
|
5652
|
+
*/
|
|
5653
|
+
let TekGrid = class TekGrid extends ZdTreeGridEditable {
|
|
5654
|
+
constructor() {
|
|
5655
|
+
super(...arguments);
|
|
5656
|
+
this.instanceType = teknisaComponentsCommon.TekTreeGrid;
|
|
5657
|
+
this.debouncedDatasourceGet = debounce__default["default"]((instance) => {
|
|
5658
|
+
if (instance.events.beforeApplyFilter) {
|
|
5659
|
+
instance.events.beforeApplyFilter({ component: instance });
|
|
5660
|
+
}
|
|
5661
|
+
const { datasource } = instance;
|
|
5662
|
+
if (datasource instanceof teknisaComponentsCommon.TekRestDatasource || datasource instanceof teknisaComponentsCommon.TekMemoryDatasource) {
|
|
5663
|
+
datasource.updateDynamicFilter();
|
|
5664
|
+
}
|
|
5665
|
+
else {
|
|
5666
|
+
datasource.get();
|
|
5667
|
+
}
|
|
5668
|
+
}, 500);
|
|
5669
|
+
this.operationList = '';
|
|
5670
|
+
this.defaultOperation = '';
|
|
5671
|
+
this.defaultRelation = '';
|
|
5672
|
+
this.lastFilter = '';
|
|
5673
|
+
this.tableHeader = null;
|
|
5674
|
+
this.tableBody = null;
|
|
5675
|
+
}
|
|
5676
|
+
mounted() {
|
|
5677
|
+
this.originalChangeLayout = this.instance.changeLayout;
|
|
5678
|
+
this.instance.changeLayout = this.onChangeLayout;
|
|
5679
|
+
this.updateFixedColumns();
|
|
5680
|
+
}
|
|
5681
|
+
minimumColumnWidth(column) {
|
|
5682
|
+
let minWidth = column && column.sortable ? 50 : 34;
|
|
5683
|
+
if (this.instance.columnFilterButton && column && column.filterable) {
|
|
5684
|
+
minWidth += 15;
|
|
5685
|
+
}
|
|
5686
|
+
return minWidth;
|
|
5687
|
+
}
|
|
5688
|
+
onChangeLayout(event, element) {
|
|
5689
|
+
if (this.originalChangeLayout) {
|
|
5690
|
+
this.originalChangeLayout.call(this.instance, event, element);
|
|
5691
|
+
}
|
|
5692
|
+
if (this.instance.showLayoutOptions) {
|
|
5693
|
+
try {
|
|
5694
|
+
const layoutOptions = core.Metadata.getInstance(`${this.instance.name}_layout_options`);
|
|
5695
|
+
layoutOptions.layoutEdited = true;
|
|
5696
|
+
}
|
|
5697
|
+
catch (_a) {
|
|
5698
|
+
// do nothing
|
|
5699
|
+
}
|
|
5700
|
+
}
|
|
5701
|
+
this.updateFixedColumns();
|
|
5702
|
+
}
|
|
5703
|
+
getFilterActivatorEvents(on, column) {
|
|
5704
|
+
const events = {};
|
|
5705
|
+
Object.keys(on).forEach((eventName) => {
|
|
5706
|
+
events[eventName] = (event) => {
|
|
5707
|
+
this.defaultOperation = 'CONTAINS';
|
|
5708
|
+
this.defaultRelation = 'AND';
|
|
5709
|
+
this.operationList = this.getColumnFilterOptions(column).map((item) => item.operation).join(';');
|
|
5710
|
+
on[eventName](event);
|
|
5711
|
+
};
|
|
5712
|
+
});
|
|
5713
|
+
return events;
|
|
5714
|
+
}
|
|
5715
|
+
getFilterItemChange(prop, column, index) {
|
|
5716
|
+
return this.filterItemChange.bind(this, prop, column, index);
|
|
5717
|
+
}
|
|
5718
|
+
getFilterValueChange(column, index) {
|
|
5719
|
+
return this.filterValueChange.bind(this, column, index);
|
|
5720
|
+
}
|
|
5721
|
+
getComponentType(index) {
|
|
5722
|
+
this.operationList.split(';');
|
|
5723
|
+
const operationListArray = this.operationList.split(';');
|
|
5724
|
+
return ['IN', 'NOT_IN', 'BETWEEN'].includes(operationListArray[index]) ? 'ZdTextInput' : '';
|
|
5725
|
+
}
|
|
5726
|
+
getComponentHint(index) {
|
|
5727
|
+
const operationListArray = this.operationList.split(';');
|
|
5728
|
+
return ['IN', 'NOT_IN', 'BETWEEN'].includes(operationListArray[index]) ? 'TEKGRID_MULTIPLE_VALUE_HINT' : '';
|
|
5729
|
+
}
|
|
5730
|
+
filterItemChange(prop, column, index, { component, event, element }) {
|
|
5731
|
+
const { name } = component;
|
|
5732
|
+
const valueInputName = name.replace(`-filter-${prop}-`, '-filter-value-');
|
|
5733
|
+
const valueInput = core.Metadata.getInstance(valueInputName);
|
|
5734
|
+
const operationListArray = this.operationList.split(';');
|
|
5735
|
+
if (prop === 'operation' && operationListArray[index] !== component.value) {
|
|
5736
|
+
operationListArray[index] = component.value;
|
|
5737
|
+
this.operationList = operationListArray.join(';');
|
|
5738
|
+
}
|
|
5739
|
+
try {
|
|
5740
|
+
valueInput.setFocus();
|
|
5741
|
+
}
|
|
5742
|
+
catch (_a) {
|
|
5743
|
+
// do nothing
|
|
5744
|
+
}
|
|
5745
|
+
const { datasource } = this.instance;
|
|
5746
|
+
if (datasource instanceof teknisaComponentsCommon.TekRestDatasource || datasource instanceof teknisaComponentsCommon.TekMemoryDatasource) {
|
|
5747
|
+
if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
|
|
5748
|
+
this.lastFilter = JSON.stringify(datasource.dynamicFilter);
|
|
5749
|
+
datasource.dynamicFilter[column.name][index][prop] = component.value;
|
|
5750
|
+
if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
|
|
5751
|
+
this.debouncedDatasourceGet(this.instance);
|
|
5752
|
+
this.onChangeLayout(event, element);
|
|
5753
|
+
}
|
|
5754
|
+
}
|
|
5755
|
+
}
|
|
5756
|
+
}
|
|
5757
|
+
filterValueChange(column, index, { component, event, element }) {
|
|
5758
|
+
const { value } = component;
|
|
5759
|
+
const { datasource } = this.instance;
|
|
5760
|
+
if (!(element === null || element === void 0 ? void 0 : element.offsetParent))
|
|
5761
|
+
return;
|
|
5762
|
+
if (datasource instanceof teknisaComponentsCommon.TekRestDatasource || datasource instanceof teknisaComponentsCommon.TekMemoryDatasource) {
|
|
5763
|
+
this.lastFilter = JSON.stringify(datasource.dynamicFilter);
|
|
5764
|
+
if (value) {
|
|
5765
|
+
if (!datasource.dynamicFilter[column.name]) {
|
|
5766
|
+
datasource.dynamicFilter[column.name] = [];
|
|
5767
|
+
}
|
|
5768
|
+
if (!datasource.dynamicFilter[column.name][index]) {
|
|
5769
|
+
const { name } = component;
|
|
5770
|
+
let relation;
|
|
5771
|
+
if (index > 0) {
|
|
5772
|
+
const relationSelectName = name.replace('-filter-value-', '-filter-relation-');
|
|
5773
|
+
const relationSelect = core.Metadata.getInstance(relationSelectName);
|
|
5774
|
+
relation = relationSelect.value;
|
|
5775
|
+
}
|
|
5776
|
+
else {
|
|
5777
|
+
relation = 'AND';
|
|
5778
|
+
}
|
|
5779
|
+
const operationSelectName = name.replace('-filter-value-', '-filter-operation-');
|
|
5780
|
+
const operationSelect = core.Metadata.getInstance(operationSelectName);
|
|
5781
|
+
const operation = operationSelect.value;
|
|
5782
|
+
datasource.dynamicFilter[column.name].push({
|
|
5783
|
+
relation,
|
|
5784
|
+
operation,
|
|
5785
|
+
value,
|
|
5786
|
+
});
|
|
5787
|
+
}
|
|
5788
|
+
else {
|
|
5789
|
+
datasource.dynamicFilter[column.name][index].value = value;
|
|
5790
|
+
}
|
|
5791
|
+
}
|
|
5792
|
+
else if (datasource.dynamicFilter[column.name] && datasource.dynamicFilter[column.name][index]) {
|
|
5793
|
+
this.defaultOperation = datasource.dynamicFilter[column.name][index].operation;
|
|
5794
|
+
this.defaultRelation = datasource.dynamicFilter[column.name][index].relation;
|
|
5795
|
+
datasource.dynamicFilter[column.name].splice(index, 1);
|
|
5796
|
+
if (datasource.dynamicFilter[column.name].length === 1) {
|
|
5797
|
+
datasource.dynamicFilter[column.name][0].relation = 'AND';
|
|
5798
|
+
}
|
|
5799
|
+
if (!datasource.dynamicFilter[column.name].length) {
|
|
5800
|
+
delete datasource.dynamicFilter[column.name];
|
|
5801
|
+
}
|
|
5802
|
+
}
|
|
5803
|
+
if (this.lastFilter !== JSON.stringify(datasource.dynamicFilter)) {
|
|
5804
|
+
this.debouncedDatasourceGet(this.instance);
|
|
5805
|
+
this.onChangeLayout(event, element);
|
|
5806
|
+
this.clearHelperValues(column);
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
else {
|
|
5810
|
+
this.lastFilter = JSON.stringify(this.instance.datasource.filter);
|
|
5811
|
+
if (value) {
|
|
5812
|
+
this.instance.datasource.addFilter(column.name, value);
|
|
5813
|
+
}
|
|
5814
|
+
else {
|
|
5815
|
+
this.instance.datasource.removeFilter(column.name);
|
|
5816
|
+
}
|
|
5817
|
+
if (this.lastFilter !== JSON.stringify(this.instance.datasource.filter)) {
|
|
5818
|
+
this.debouncedDatasourceGet(this.instance);
|
|
5819
|
+
this.onChangeLayout(event, element);
|
|
5820
|
+
this.clearHelperValues(column);
|
|
5821
|
+
}
|
|
5822
|
+
}
|
|
5823
|
+
}
|
|
5824
|
+
clearHelperValues(column) {
|
|
5825
|
+
if (!Array.isArray(column.filterProps)) {
|
|
5826
|
+
column.filterProps.helperValue = '';
|
|
5827
|
+
}
|
|
5828
|
+
else {
|
|
5829
|
+
column.filterProps.forEach((prop) => {
|
|
5830
|
+
prop.helperValue = '';
|
|
5831
|
+
});
|
|
5832
|
+
}
|
|
5833
|
+
}
|
|
5834
|
+
getColumnFilterOptions(column) {
|
|
5835
|
+
const filterOptions = [];
|
|
5836
|
+
const { datasource } = this.instance;
|
|
5837
|
+
if (datasource instanceof teknisaComponentsCommon.TekRestDatasource || datasource instanceof teknisaComponentsCommon.TekMemoryDatasource) {
|
|
5838
|
+
const dynamicFilter = datasource.dynamicFilter[column.name];
|
|
5839
|
+
if (dynamicFilter && dynamicFilter.length > 0) {
|
|
5840
|
+
dynamicFilter.forEach((item) => {
|
|
5841
|
+
filterOptions.push(item);
|
|
5842
|
+
});
|
|
5843
|
+
}
|
|
5844
|
+
filterOptions.push({
|
|
5845
|
+
operation: this.defaultOperation,
|
|
5846
|
+
relation: this.defaultRelation,
|
|
5847
|
+
value: '',
|
|
5848
|
+
});
|
|
5849
|
+
}
|
|
5850
|
+
else {
|
|
5851
|
+
const option = {
|
|
5852
|
+
operation: undefined,
|
|
5853
|
+
relation: undefined,
|
|
5854
|
+
value: this.instance.datasource.filter[column.name] || '',
|
|
5855
|
+
};
|
|
5856
|
+
filterOptions.push(option);
|
|
5857
|
+
}
|
|
5858
|
+
return filterOptions;
|
|
5859
|
+
}
|
|
5860
|
+
isCurrentRow(row) {
|
|
5861
|
+
const { uniqueKey, currentRow } = this.instance.datasource;
|
|
5862
|
+
return !!((row[uniqueKey] && row[uniqueKey] === currentRow[uniqueKey]));
|
|
5863
|
+
}
|
|
5864
|
+
getVisibleData() {
|
|
5865
|
+
this.scrollData.visibleData = this.instance.datasource.data;
|
|
5866
|
+
return this.scrollData.visibleData;
|
|
5867
|
+
}
|
|
5868
|
+
getData() {
|
|
5869
|
+
if (!this.instance.virtualScroll || !this.scrollData.initialized) {
|
|
5870
|
+
return this.instance.treeDataStructure.searchHasNoData ? [] : this.instance.treeDataStructure.treeData;
|
|
5871
|
+
}
|
|
5872
|
+
return this.renderedData;
|
|
5873
|
+
}
|
|
5874
|
+
rowClick(row, event) {
|
|
5875
|
+
this.instance.rowClick(row, event, this.$el);
|
|
5876
|
+
}
|
|
5877
|
+
orderHeaders(headers) {
|
|
5878
|
+
return headers.sort((a, b) => {
|
|
5879
|
+
if (a.fixed === b.fixed)
|
|
5880
|
+
return 0;
|
|
5881
|
+
if (!a.fixed && b.fixed)
|
|
5882
|
+
return 1;
|
|
5883
|
+
return -1;
|
|
5884
|
+
}).filter((item) => item instanceof teknisaComponentsCommon.TekGridColumn);
|
|
5885
|
+
}
|
|
5886
|
+
updateFixedColumns() {
|
|
5887
|
+
if (this.instance.columns.filter((column) => column.fixed).length === 0)
|
|
5888
|
+
return;
|
|
5889
|
+
if (!this.tableHeader) {
|
|
5890
|
+
this.tableHeader = this.$el.querySelector('table thead tr');
|
|
5891
|
+
this.tableBody = this.$el.querySelector('table tbody');
|
|
5892
|
+
if (!this.tableHeader || !this.tableBody)
|
|
5893
|
+
return;
|
|
5894
|
+
}
|
|
5895
|
+
const headerColumns = Array.from(this.tableHeader.querySelectorAll('th'));
|
|
5896
|
+
let left = this.instance.selectable ? 40 : 0;
|
|
5897
|
+
headerColumns.forEach((column) => {
|
|
5898
|
+
const name = column.getAttribute('column-name');
|
|
5899
|
+
if (name && column.classList.contains('zd-table-fixed-column')) {
|
|
5900
|
+
column.style.left = `${left}px`;
|
|
5901
|
+
left += column.clientWidth;
|
|
5902
|
+
}
|
|
5903
|
+
});
|
|
5904
|
+
}
|
|
5905
|
+
getFixedLeft(column) {
|
|
5906
|
+
if (!column.fixed)
|
|
5907
|
+
return 'unset';
|
|
5908
|
+
const headerElement = this.$refs[`column-${column.name}`];
|
|
5909
|
+
if (!headerElement)
|
|
5910
|
+
return 'unset';
|
|
5911
|
+
return headerElement[0].style.left;
|
|
5912
|
+
}
|
|
5913
|
+
};
|
|
5914
|
+
__decorate([
|
|
5915
|
+
vuePropertyDecorator.Prop({ type: [String], default: '' }),
|
|
5916
|
+
__metadata("design:type", String)
|
|
5917
|
+
], TekGrid.prototype, "title", void 0);
|
|
5918
|
+
__decorate([
|
|
5919
|
+
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
5920
|
+
__metadata("design:type", Object)
|
|
5921
|
+
], TekGrid.prototype, "addButton", void 0);
|
|
5922
|
+
__decorate([
|
|
5923
|
+
vuePropertyDecorator.Prop({ type: [String], default: 'none' }),
|
|
5924
|
+
__metadata("design:type", String)
|
|
5925
|
+
], TekGrid.prototype, "deleteButton", void 0);
|
|
5926
|
+
__decorate([
|
|
5927
|
+
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
5928
|
+
__metadata("design:type", Object)
|
|
5929
|
+
], TekGrid.prototype, "columnsButton", void 0);
|
|
5930
|
+
__decorate([
|
|
5931
|
+
vuePropertyDecorator.Prop({ type: [Array, String], default: () => [] }),
|
|
5932
|
+
__metadata("design:type", Object)
|
|
5933
|
+
], TekGrid.prototype, "columnsButtonIgnore", void 0);
|
|
5934
|
+
__decorate([
|
|
5935
|
+
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
5936
|
+
__metadata("design:type", Object)
|
|
5937
|
+
], TekGrid.prototype, "filterButton", void 0);
|
|
5938
|
+
__decorate([
|
|
5939
|
+
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
5940
|
+
__metadata("design:type", Object)
|
|
5941
|
+
], TekGrid.prototype, "columnFilterButton", void 0);
|
|
5942
|
+
__decorate([
|
|
5943
|
+
vuePropertyDecorator.Prop({ type: [Array], default: () => [] }),
|
|
5944
|
+
__metadata("design:type", Array)
|
|
5945
|
+
], TekGrid.prototype, "actions", void 0);
|
|
5946
|
+
__decorate([
|
|
5947
|
+
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
5948
|
+
__metadata("design:type", Object)
|
|
5949
|
+
], TekGrid.prototype, "dragColumns", void 0);
|
|
5950
|
+
__decorate([
|
|
5951
|
+
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
5952
|
+
__metadata("design:type", Object)
|
|
5953
|
+
], TekGrid.prototype, "resizeColumns", void 0);
|
|
5954
|
+
__decorate([
|
|
5955
|
+
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
5956
|
+
__metadata("design:type", Object)
|
|
5957
|
+
], TekGrid.prototype, "showLayoutOptions", void 0);
|
|
5958
|
+
__decorate([
|
|
5959
|
+
vuePropertyDecorator.Prop({ type: [String, Boolean], default: false }),
|
|
5960
|
+
__metadata("design:type", Object)
|
|
5961
|
+
], TekGrid.prototype, "showExport", void 0);
|
|
5962
|
+
__decorate([
|
|
5963
|
+
vuePropertyDecorator.Prop({ type: [String, Boolean], default: true }),
|
|
5964
|
+
__metadata("design:type", Object)
|
|
5965
|
+
], TekGrid.prototype, "showReload", void 0);
|
|
5966
|
+
__decorate([
|
|
5967
|
+
vuePropertyDecorator.Prop({ type: [String, Array] }),
|
|
5968
|
+
__metadata("design:type", Array)
|
|
5969
|
+
], TekGrid.prototype, "exportConfig", void 0);
|
|
5970
|
+
__decorate([
|
|
5971
|
+
vuePropertyDecorator.Prop({ type: [Array] }),
|
|
5972
|
+
__metadata("design:type", Array)
|
|
5973
|
+
], TekGrid.prototype, "exportActions", void 0);
|
|
5974
|
+
__decorate([
|
|
5975
|
+
vuePropertyDecorator.Prop({
|
|
5976
|
+
type: Array,
|
|
5977
|
+
default: () => undefined,
|
|
5978
|
+
}),
|
|
5979
|
+
__metadata("design:type", Array)
|
|
5980
|
+
], TekGrid.prototype, "toolbarSlot", void 0);
|
|
5981
|
+
TekGrid = __decorate([
|
|
5982
|
+
vuePropertyDecorator.Component
|
|
5983
|
+
], TekGrid);
|
|
5984
|
+
var script = TekGrid;
|
|
5985
|
+
|
|
5986
|
+
/* script */
|
|
5987
|
+
const __vue_script__ = script;
|
|
5988
|
+
|
|
5989
|
+
/* template */
|
|
5990
|
+
var __vue_render__ = function () {
|
|
5991
|
+
var _vm = this;
|
|
5992
|
+
var _h = _vm.$createElement;
|
|
5993
|
+
var _c = _vm._self._c || _h;
|
|
5994
|
+
return _c("v-data-table", {
|
|
5995
|
+
directives: [
|
|
5996
|
+
{
|
|
5997
|
+
name: "show",
|
|
5998
|
+
rawName: "v-show",
|
|
5999
|
+
value: _vm.instance.isVisible,
|
|
6000
|
+
expression: "instance.isVisible",
|
|
6001
|
+
},
|
|
6002
|
+
],
|
|
6003
|
+
ref: "grid",
|
|
6004
|
+
class: [
|
|
6005
|
+
"zd-grid",
|
|
6006
|
+
"zd-tree-grid-editable",
|
|
6007
|
+
"tek-grid",
|
|
6008
|
+
"tek-tree-grid",
|
|
6009
|
+
_vm.instance.cssClass,
|
|
6010
|
+
{ "zd-grid-flex": _vm.instance.gridHeight || _vm.instance.gridMaxHeight },
|
|
6011
|
+
],
|
|
6012
|
+
style: [_vm.cssColorVars, _vm.instance.cssStyle],
|
|
6013
|
+
attrs: {
|
|
6014
|
+
"fixed-header": "",
|
|
6015
|
+
"disable-pagination": "",
|
|
6016
|
+
"hide-default-header": "",
|
|
6017
|
+
"hide-default-footer": "",
|
|
6018
|
+
name: _vm.instance.name,
|
|
6019
|
+
headers: _vm.instance.columns,
|
|
6020
|
+
items: _vm.getData(),
|
|
6021
|
+
search: _vm.instance.datasource.search,
|
|
6022
|
+
"show-select": _vm.instance.selectable,
|
|
6023
|
+
dense: _vm.instance.dense,
|
|
6024
|
+
loading: _vm.instance.datasource.loading,
|
|
6025
|
+
"item-key": _vm.instance.datasource.uniqueKey,
|
|
6026
|
+
"disable-sort": "",
|
|
6027
|
+
"disable-filtering": "",
|
|
6028
|
+
tabindex: "0",
|
|
6029
|
+
},
|
|
6030
|
+
on: {
|
|
6031
|
+
"current-items": function ($event) {
|
|
6032
|
+
return _vm.changeData($event)
|
|
6033
|
+
},
|
|
6034
|
+
},
|
|
6035
|
+
scopedSlots: _vm._u(
|
|
6036
|
+
[
|
|
6037
|
+
{
|
|
6038
|
+
key: "top",
|
|
6039
|
+
fn: function () {
|
|
6040
|
+
return [
|
|
6041
|
+
!_vm.$slots.toolbarSlot
|
|
6042
|
+
? [
|
|
6043
|
+
_c("zd-grid-top", {
|
|
6044
|
+
ref: "treeGridTopSlot",
|
|
6045
|
+
attrs: {
|
|
6046
|
+
name: _vm.instance.name + "_top",
|
|
6047
|
+
toolbarSlot: _vm.instance.toolbarSlot,
|
|
6048
|
+
instance: _vm.instance,
|
|
6049
|
+
},
|
|
6050
|
+
}),
|
|
6051
|
+
]
|
|
6052
|
+
: _vm._e(),
|
|
6053
|
+
_vm._v(" "),
|
|
6054
|
+
_vm._t("toolbarSlot"),
|
|
6055
|
+
_vm._v(" "),
|
|
6056
|
+
_c("span", {
|
|
6057
|
+
ref: "gridTooltip",
|
|
6058
|
+
staticClass: "zd-grid-cell-tooltip",
|
|
6059
|
+
}),
|
|
6060
|
+
]
|
|
6061
|
+
},
|
|
6062
|
+
proxy: true,
|
|
6063
|
+
},
|
|
6064
|
+
_vm.instance.showHeader
|
|
6065
|
+
? {
|
|
6066
|
+
key: "header",
|
|
6067
|
+
fn: function (ref) {
|
|
6068
|
+
var props = ref.props;
|
|
6069
|
+
var on = ref.on;
|
|
6070
|
+
return [
|
|
6071
|
+
_c("thead", { staticClass: "zd-grid-table-header" }, [
|
|
6072
|
+
_c(
|
|
6073
|
+
"tr",
|
|
6074
|
+
[
|
|
6075
|
+
_vm.instance.selectable
|
|
6076
|
+
? _c(
|
|
6077
|
+
"th",
|
|
6078
|
+
{
|
|
6079
|
+
staticClass:
|
|
6080
|
+
"zd-table-cell selectable zd-table-fixed-column",
|
|
6081
|
+
style:
|
|
6082
|
+
"background-color: " +
|
|
6083
|
+
_vm.instance.headerBackground,
|
|
6084
|
+
},
|
|
6085
|
+
[
|
|
6086
|
+
_c("v-checkbox", {
|
|
6087
|
+
staticClass: "zd-grid-header-checkbox",
|
|
6088
|
+
attrs: {
|
|
6089
|
+
"hide-details": "",
|
|
6090
|
+
color: "primary",
|
|
6091
|
+
disabled: _vm.instance.editing,
|
|
6092
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
|
6093
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
|
6094
|
+
"indeterminate-icon": _vm.$getIcon(
|
|
6095
|
+
"checkboxIndeterminate"
|
|
6096
|
+
),
|
|
6097
|
+
value: props.everyItem,
|
|
6098
|
+
indeterminate:
|
|
6099
|
+
!props.everyItem && props.someItems,
|
|
6100
|
+
},
|
|
6101
|
+
on: {
|
|
6102
|
+
click: function ($event) {
|
|
6103
|
+
$event.stopPropagation();
|
|
6104
|
+
on["toggle-select-all"](!props.everyItem);
|
|
6105
|
+
_vm.selectAllClick(
|
|
6106
|
+
!props.everyItem,
|
|
6107
|
+
$event
|
|
6108
|
+
);
|
|
6109
|
+
},
|
|
6110
|
+
},
|
|
6111
|
+
}),
|
|
6112
|
+
],
|
|
6113
|
+
1
|
|
6114
|
+
)
|
|
6115
|
+
: _vm._e(),
|
|
6116
|
+
_vm._v(" "),
|
|
6117
|
+
_vm._l(
|
|
6118
|
+
_vm.orderHeaders(props.headers),
|
|
6119
|
+
function (column, index) {
|
|
6120
|
+
return [
|
|
6121
|
+
column.isVisible
|
|
6122
|
+
? _c(
|
|
6123
|
+
"th",
|
|
6124
|
+
{
|
|
6125
|
+
key: column.name,
|
|
6126
|
+
ref: "column-" + column.name,
|
|
6127
|
+
refInFor: true,
|
|
6128
|
+
class: [
|
|
6129
|
+
"zd-table-cell",
|
|
6130
|
+
"column-th-" +
|
|
6131
|
+
column.name +
|
|
6132
|
+
"-" +
|
|
6133
|
+
_vm.instance.name,
|
|
6134
|
+
{
|
|
6135
|
+
sortable: column.sortable,
|
|
6136
|
+
sortHandle: _vm.instance.dragColumns,
|
|
6137
|
+
"zd-table-fixed-column": column.fixed,
|
|
6138
|
+
},
|
|
6139
|
+
"text-" + column.align,
|
|
6140
|
+
_vm.instance.datasource.getOrderByColumn(
|
|
6141
|
+
column.name
|
|
6142
|
+
),
|
|
6143
|
+
_vm.instance.datasource.getOrderByColumn(
|
|
6144
|
+
column.name
|
|
6145
|
+
) !== null
|
|
6146
|
+
? "active"
|
|
6147
|
+
: "",
|
|
6148
|
+
],
|
|
6149
|
+
style: {
|
|
6150
|
+
"background-color":
|
|
6151
|
+
_vm.instance.headerBackground,
|
|
6152
|
+
"min-width":
|
|
6153
|
+
_vm.calcWidth(
|
|
6154
|
+
column,
|
|
6155
|
+
column.minWidth
|
|
6156
|
+
) || "unset",
|
|
6157
|
+
"max-width":
|
|
6158
|
+
_vm.calcWidth(
|
|
6159
|
+
column,
|
|
6160
|
+
column.maxWidth
|
|
6161
|
+
) || "unset",
|
|
6162
|
+
},
|
|
6163
|
+
attrs: {
|
|
6164
|
+
"column-name": column.name,
|
|
6165
|
+
index: index,
|
|
6166
|
+
},
|
|
6167
|
+
on: {
|
|
6168
|
+
click: function ($event) {
|
|
6169
|
+
return _vm.instance.changeColumnOrder(
|
|
6170
|
+
column
|
|
6171
|
+
)
|
|
6172
|
+
},
|
|
6173
|
+
},
|
|
6174
|
+
},
|
|
6175
|
+
[
|
|
6176
|
+
_c(
|
|
6177
|
+
"span",
|
|
6178
|
+
{
|
|
6179
|
+
staticClass: "zd-table-header-cell",
|
|
6180
|
+
style: {
|
|
6181
|
+
width:
|
|
6182
|
+
_vm.calcHeaderCellWidth(column),
|
|
6183
|
+
},
|
|
6184
|
+
},
|
|
6185
|
+
[
|
|
6186
|
+
column.type !== "action"
|
|
6187
|
+
? [
|
|
6188
|
+
column.sortable &&
|
|
6189
|
+
column.align === "right"
|
|
6190
|
+
? _c(
|
|
6191
|
+
"span",
|
|
6192
|
+
{
|
|
6193
|
+
staticClass:
|
|
6194
|
+
"zd-table-cell-sort",
|
|
6195
|
+
},
|
|
6196
|
+
[
|
|
6197
|
+
column.sortable &&
|
|
6198
|
+
column.align === "right"
|
|
6199
|
+
? _c(
|
|
6200
|
+
"v-icon",
|
|
6201
|
+
{
|
|
6202
|
+
staticClass:
|
|
6203
|
+
"zd-table-cell-sort-icon",
|
|
6204
|
+
attrs: {
|
|
6205
|
+
small: "",
|
|
6206
|
+
},
|
|
6207
|
+
},
|
|
6208
|
+
[
|
|
6209
|
+
_vm._v(
|
|
6210
|
+
_vm._s(
|
|
6211
|
+
_vm.$getIcon(
|
|
6212
|
+
"chevronUp"
|
|
6213
|
+
)
|
|
6214
|
+
)
|
|
6215
|
+
),
|
|
6216
|
+
]
|
|
6217
|
+
)
|
|
6218
|
+
: _vm._e(),
|
|
6219
|
+
_vm._v(" "),
|
|
6220
|
+
_vm.instance.datasource.findOrderIndex(
|
|
6221
|
+
column.name
|
|
6222
|
+
) >= 0
|
|
6223
|
+
? _c(
|
|
6224
|
+
"span",
|
|
6225
|
+
{
|
|
6226
|
+
staticClass:
|
|
6227
|
+
"zd-table-cell-sort-order left",
|
|
6228
|
+
},
|
|
6229
|
+
[
|
|
6230
|
+
_vm._v(
|
|
6231
|
+
_vm._s(
|
|
6232
|
+
_vm.instance.datasource.findOrderIndex(
|
|
6233
|
+
column.name
|
|
6234
|
+
) + 1
|
|
6235
|
+
)
|
|
6236
|
+
),
|
|
6237
|
+
]
|
|
6238
|
+
)
|
|
6239
|
+
: _vm._e(),
|
|
6240
|
+
],
|
|
6241
|
+
1
|
|
6242
|
+
)
|
|
6243
|
+
: _vm._e(),
|
|
6244
|
+
_vm._v(" "),
|
|
6245
|
+
_c(
|
|
6246
|
+
"span",
|
|
6247
|
+
{
|
|
6248
|
+
class: [
|
|
6249
|
+
"zd-table-cell-name",
|
|
6250
|
+
{
|
|
6251
|
+
"overflow-hidden":
|
|
6252
|
+
column.overflow ===
|
|
6253
|
+
"hidden",
|
|
6254
|
+
"overflow-wrap":
|
|
6255
|
+
column.overflow ===
|
|
6256
|
+
"wrap",
|
|
6257
|
+
},
|
|
6258
|
+
!isNaN(column.overflow)
|
|
6259
|
+
? "overflow-clamp overflow-clamp-" +
|
|
6260
|
+
column.overflow
|
|
6261
|
+
: "",
|
|
6262
|
+
],
|
|
6263
|
+
style: {
|
|
6264
|
+
"min-width":
|
|
6265
|
+
_vm.calcWidth(
|
|
6266
|
+
column,
|
|
6267
|
+
column.minWidth
|
|
6268
|
+
) || "unset",
|
|
6269
|
+
"max-width":
|
|
6270
|
+
_vm.calcWidth(
|
|
6271
|
+
column,
|
|
6272
|
+
column.maxWidth
|
|
6273
|
+
) || "unset",
|
|
6274
|
+
},
|
|
6275
|
+
on: {
|
|
6276
|
+
mouseenter: function (
|
|
6277
|
+
$event
|
|
6278
|
+
) {
|
|
6279
|
+
return _vm.checkOverflow(
|
|
6280
|
+
$event
|
|
6281
|
+
)
|
|
6282
|
+
},
|
|
6283
|
+
mouseleave: function (
|
|
6284
|
+
$event
|
|
6285
|
+
) {
|
|
6286
|
+
return _vm.removeTooltip()
|
|
6287
|
+
},
|
|
6288
|
+
},
|
|
6289
|
+
},
|
|
6290
|
+
[
|
|
6291
|
+
_vm._v(
|
|
6292
|
+
_vm._s(
|
|
6293
|
+
_vm.$t(column.label)
|
|
6294
|
+
)
|
|
6295
|
+
),
|
|
6296
|
+
]
|
|
6297
|
+
),
|
|
6298
|
+
_vm._v(" "),
|
|
6299
|
+
column.sortable &&
|
|
6300
|
+
column.align !== "right"
|
|
6301
|
+
? _c(
|
|
6302
|
+
"span",
|
|
6303
|
+
{
|
|
6304
|
+
staticClass:
|
|
6305
|
+
"zd-table-cell-sort",
|
|
6306
|
+
},
|
|
6307
|
+
[
|
|
6308
|
+
column.sortable &&
|
|
6309
|
+
column.align !== "right"
|
|
6310
|
+
? _c(
|
|
6311
|
+
"v-icon",
|
|
6312
|
+
{
|
|
6313
|
+
staticClass:
|
|
6314
|
+
"zd-table-cell-sort-icon",
|
|
6315
|
+
attrs: {
|
|
6316
|
+
small: "",
|
|
6317
|
+
},
|
|
6318
|
+
},
|
|
6319
|
+
[
|
|
6320
|
+
_vm._v(
|
|
6321
|
+
_vm._s(
|
|
6322
|
+
_vm.$getIcon(
|
|
6323
|
+
"chevronUp"
|
|
6324
|
+
)
|
|
6325
|
+
)
|
|
6326
|
+
),
|
|
6327
|
+
]
|
|
6328
|
+
)
|
|
6329
|
+
: _vm._e(),
|
|
6330
|
+
_vm._v(" "),
|
|
6331
|
+
_vm.instance.datasource.findOrderIndex(
|
|
6332
|
+
column.name
|
|
6333
|
+
) >= 0
|
|
6334
|
+
? _c(
|
|
6335
|
+
"span",
|
|
6336
|
+
{
|
|
6337
|
+
staticClass:
|
|
6338
|
+
"zd-table-cell-sort-order",
|
|
6339
|
+
},
|
|
6340
|
+
[
|
|
6341
|
+
_vm._v(
|
|
6342
|
+
_vm._s(
|
|
6343
|
+
_vm.instance.datasource.findOrderIndex(
|
|
6344
|
+
column.name
|
|
6345
|
+
) + 1
|
|
6346
|
+
)
|
|
6347
|
+
),
|
|
6348
|
+
]
|
|
6349
|
+
)
|
|
6350
|
+
: _vm._e(),
|
|
6351
|
+
],
|
|
6352
|
+
1
|
|
6353
|
+
)
|
|
6354
|
+
: _vm._e(),
|
|
6355
|
+
]
|
|
6356
|
+
: [
|
|
6357
|
+
_c(
|
|
6358
|
+
"span",
|
|
6359
|
+
{
|
|
6360
|
+
staticClass:
|
|
6361
|
+
"zd-table-cell-name",
|
|
6362
|
+
},
|
|
6363
|
+
[
|
|
6364
|
+
_vm._v(
|
|
6365
|
+
_vm._s(
|
|
6366
|
+
_vm.$t(column.label)
|
|
6367
|
+
)
|
|
6368
|
+
),
|
|
6369
|
+
]
|
|
6370
|
+
),
|
|
6371
|
+
],
|
|
6372
|
+
_vm._v(" "),
|
|
6373
|
+
_vm.instance.columnFilterButton &&
|
|
6374
|
+
column.filterable
|
|
6375
|
+
? _c(
|
|
6376
|
+
"span",
|
|
6377
|
+
{
|
|
6378
|
+
class: [
|
|
6379
|
+
"tek-grid-column-filter-button",
|
|
6380
|
+
{
|
|
6381
|
+
"has-filter-data":
|
|
6382
|
+
_vm.instance.columnHasFilterData(
|
|
6383
|
+
column
|
|
6384
|
+
),
|
|
6385
|
+
},
|
|
6386
|
+
],
|
|
6387
|
+
},
|
|
6388
|
+
[
|
|
6389
|
+
_c(
|
|
6390
|
+
"v-menu",
|
|
6391
|
+
{
|
|
6392
|
+
attrs: {
|
|
6393
|
+
"offset-overflow": "",
|
|
6394
|
+
"offset-y": "",
|
|
6395
|
+
"min-width": 200,
|
|
6396
|
+
transition:
|
|
6397
|
+
"scale-transition",
|
|
6398
|
+
"content-class":
|
|
6399
|
+
"tek-grid-column-filter-menu",
|
|
6400
|
+
"close-on-content-click": false,
|
|
6401
|
+
},
|
|
6402
|
+
scopedSlots: _vm._u(
|
|
6403
|
+
[
|
|
6404
|
+
{
|
|
6405
|
+
key: "activator",
|
|
6406
|
+
fn: function (ref) {
|
|
6407
|
+
var on = ref.on;
|
|
6408
|
+
return [
|
|
6409
|
+
_c(
|
|
6410
|
+
"v-icon",
|
|
6411
|
+
_vm._g(
|
|
6412
|
+
{},
|
|
6413
|
+
Object.assign(
|
|
6414
|
+
{},
|
|
6415
|
+
_vm.getFilterActivatorEvents(
|
|
6416
|
+
on,
|
|
6417
|
+
column
|
|
6418
|
+
)
|
|
6419
|
+
)
|
|
6420
|
+
),
|
|
6421
|
+
[
|
|
6422
|
+
_vm._v(
|
|
6423
|
+
_vm._s(
|
|
6424
|
+
_vm.$getIcon(
|
|
6425
|
+
"filter"
|
|
6426
|
+
)
|
|
6427
|
+
)
|
|
6428
|
+
),
|
|
6429
|
+
]
|
|
6430
|
+
),
|
|
6431
|
+
]
|
|
6432
|
+
},
|
|
6433
|
+
},
|
|
6434
|
+
],
|
|
6435
|
+
null,
|
|
6436
|
+
true
|
|
6437
|
+
),
|
|
6438
|
+
},
|
|
6439
|
+
[
|
|
6440
|
+
_vm._v(" "),
|
|
6441
|
+
_vm._l(
|
|
6442
|
+
_vm.getColumnFilterOptions(
|
|
6443
|
+
column
|
|
6444
|
+
),
|
|
6445
|
+
function (
|
|
6446
|
+
item,
|
|
6447
|
+
filterIndex
|
|
6448
|
+
) {
|
|
6449
|
+
return _c(
|
|
6450
|
+
"span",
|
|
6451
|
+
{
|
|
6452
|
+
key: filterIndex,
|
|
6453
|
+
},
|
|
6454
|
+
[
|
|
6455
|
+
filterIndex > 0
|
|
6456
|
+
? _c(
|
|
6457
|
+
"zd-radio",
|
|
6458
|
+
_vm._b(
|
|
6459
|
+
{
|
|
6460
|
+
attrs: {
|
|
6461
|
+
name:
|
|
6462
|
+
_vm
|
|
6463
|
+
.instance
|
|
6464
|
+
.name +
|
|
6465
|
+
"-" +
|
|
6466
|
+
column.name +
|
|
6467
|
+
"-filter-relation-" +
|
|
6468
|
+
filterIndex,
|
|
6469
|
+
},
|
|
6470
|
+
},
|
|
6471
|
+
"zd-radio",
|
|
6472
|
+
{
|
|
6473
|
+
showLabel: false,
|
|
6474
|
+
showHelper: false,
|
|
6475
|
+
vertical: false,
|
|
6476
|
+
cssClass:
|
|
6477
|
+
"zd-mb-2",
|
|
6478
|
+
datasource:
|
|
6479
|
+
_vm
|
|
6480
|
+
.instance
|
|
6481
|
+
.filterRelationsDatasource,
|
|
6482
|
+
dataValue:
|
|
6483
|
+
"value",
|
|
6484
|
+
dataLabel:
|
|
6485
|
+
"text",
|
|
6486
|
+
value:
|
|
6487
|
+
item.relation,
|
|
6488
|
+
events:
|
|
6489
|
+
{
|
|
6490
|
+
change:
|
|
6491
|
+
_vm.getFilterItemChange(
|
|
6492
|
+
"relation",
|
|
6493
|
+
column,
|
|
6494
|
+
filterIndex
|
|
6495
|
+
),
|
|
6496
|
+
},
|
|
6497
|
+
},
|
|
6498
|
+
false
|
|
6499
|
+
)
|
|
6500
|
+
)
|
|
6501
|
+
: _vm._e(),
|
|
6502
|
+
_vm._v(" "),
|
|
6503
|
+
item.operation !==
|
|
6504
|
+
undefined
|
|
6505
|
+
? _c(
|
|
6506
|
+
"zd-select",
|
|
6507
|
+
_vm._b(
|
|
6508
|
+
{
|
|
6509
|
+
attrs: {
|
|
6510
|
+
name:
|
|
6511
|
+
_vm
|
|
6512
|
+
.instance
|
|
6513
|
+
.name +
|
|
6514
|
+
"-" +
|
|
6515
|
+
column.name +
|
|
6516
|
+
"-filter-operation-" +
|
|
6517
|
+
filterIndex,
|
|
6518
|
+
},
|
|
6519
|
+
},
|
|
6520
|
+
"zd-select",
|
|
6521
|
+
{
|
|
6522
|
+
autocomplete: false,
|
|
6523
|
+
showLabel: false,
|
|
6524
|
+
showHelper: false,
|
|
6525
|
+
clearable: false,
|
|
6526
|
+
cssClass:
|
|
6527
|
+
"zd-mb-2",
|
|
6528
|
+
datasource:
|
|
6529
|
+
_vm
|
|
6530
|
+
.instance
|
|
6531
|
+
.filterOperationsDatasource,
|
|
6532
|
+
dataValue:
|
|
6533
|
+
"value",
|
|
6534
|
+
dataText:
|
|
6535
|
+
"text",
|
|
6536
|
+
value:
|
|
6537
|
+
item.operation,
|
|
6538
|
+
events:
|
|
6539
|
+
{
|
|
6540
|
+
change:
|
|
6541
|
+
_vm.getFilterItemChange(
|
|
6542
|
+
"operation",
|
|
6543
|
+
column,
|
|
6544
|
+
filterIndex
|
|
6545
|
+
),
|
|
6546
|
+
},
|
|
6547
|
+
},
|
|
6548
|
+
false
|
|
6549
|
+
)
|
|
6550
|
+
)
|
|
6551
|
+
: _vm._e(),
|
|
6552
|
+
_vm._v(" "),
|
|
6553
|
+
_c(
|
|
6554
|
+
_vm.getComponentType(
|
|
6555
|
+
filterIndex
|
|
6556
|
+
) ||
|
|
6557
|
+
column
|
|
6558
|
+
.componentProps
|
|
6559
|
+
.component,
|
|
6560
|
+
_vm._b(
|
|
6561
|
+
{
|
|
6562
|
+
tag: "component",
|
|
6563
|
+
attrs: {
|
|
6564
|
+
name:
|
|
6565
|
+
_vm
|
|
6566
|
+
.instance
|
|
6567
|
+
.name +
|
|
6568
|
+
"-" +
|
|
6569
|
+
column.name +
|
|
6570
|
+
"-filter-value-" +
|
|
6571
|
+
filterIndex,
|
|
6572
|
+
},
|
|
6573
|
+
},
|
|
6574
|
+
"component",
|
|
6575
|
+
Object.assign(
|
|
6576
|
+
{},
|
|
6577
|
+
column.componentProps,
|
|
6578
|
+
{
|
|
6579
|
+
showLabel: false,
|
|
6580
|
+
showHelper: true,
|
|
6581
|
+
autofill: false,
|
|
6582
|
+
cssClass:
|
|
6583
|
+
"zd-mb-2",
|
|
6584
|
+
value:
|
|
6585
|
+
item.value,
|
|
6586
|
+
persistentHint: true,
|
|
6587
|
+
hint: _vm.getComponentHint(
|
|
6588
|
+
filterIndex
|
|
6589
|
+
),
|
|
6590
|
+
events: {
|
|
6591
|
+
input:
|
|
6592
|
+
_vm.getFilterValueChange(
|
|
6593
|
+
column,
|
|
6594
|
+
filterIndex
|
|
6595
|
+
),
|
|
6596
|
+
},
|
|
6597
|
+
}
|
|
6598
|
+
),
|
|
6599
|
+
false
|
|
6600
|
+
)
|
|
6601
|
+
),
|
|
6602
|
+
],
|
|
6603
|
+
1
|
|
6604
|
+
)
|
|
6605
|
+
}
|
|
6606
|
+
),
|
|
6607
|
+
],
|
|
6608
|
+
2
|
|
6609
|
+
),
|
|
6610
|
+
],
|
|
6611
|
+
1
|
|
6612
|
+
)
|
|
6613
|
+
: _vm._e(),
|
|
6614
|
+
_vm._v(" "),
|
|
6615
|
+
_vm.instance.resizeColumns
|
|
6616
|
+
? _c(
|
|
6617
|
+
"span",
|
|
6618
|
+
{
|
|
6619
|
+
staticClass:
|
|
6620
|
+
"zd-grid-resize-handle",
|
|
6621
|
+
on: {
|
|
6622
|
+
mousedown: function (
|
|
6623
|
+
$event
|
|
6624
|
+
) {
|
|
6625
|
+
return _vm.resizeMouseDownHandler(
|
|
6626
|
+
column,
|
|
6627
|
+
$event
|
|
6628
|
+
)
|
|
6629
|
+
},
|
|
6630
|
+
click:
|
|
6631
|
+
_vm.resizeClickHandler,
|
|
6632
|
+
},
|
|
6633
|
+
},
|
|
6634
|
+
[_vm._v("‖")]
|
|
6635
|
+
)
|
|
6636
|
+
: _vm._e(),
|
|
6637
|
+
],
|
|
6638
|
+
2
|
|
6639
|
+
),
|
|
6640
|
+
]
|
|
6641
|
+
)
|
|
6642
|
+
: _vm._e(),
|
|
6643
|
+
]
|
|
6644
|
+
}
|
|
6645
|
+
),
|
|
6646
|
+
],
|
|
6647
|
+
2
|
|
6648
|
+
),
|
|
6649
|
+
]),
|
|
6650
|
+
]
|
|
6651
|
+
},
|
|
6652
|
+
}
|
|
6653
|
+
: null,
|
|
6654
|
+
_vm.instance.virtualScroll && _vm.scrollData.start > 0
|
|
6655
|
+
? {
|
|
6656
|
+
key: "body.prepend",
|
|
6657
|
+
fn: function (ref) {
|
|
6658
|
+
var headers = ref.headers;
|
|
6659
|
+
return [
|
|
6660
|
+
_c("tr", [
|
|
6661
|
+
_c("td", {
|
|
6662
|
+
style: "padding-top:" + _vm.scrollData.startHeight + "px",
|
|
6663
|
+
attrs: { colspan: headers.length },
|
|
6664
|
+
}),
|
|
6665
|
+
]),
|
|
6666
|
+
]
|
|
6667
|
+
},
|
|
6668
|
+
}
|
|
6669
|
+
: null,
|
|
6670
|
+
_vm.instance.virtualScroll &&
|
|
6671
|
+
_vm.scrollData.start + _vm.scrollData.perPage <
|
|
6672
|
+
(_vm.scrollData.visibleData || []).length
|
|
6673
|
+
? {
|
|
6674
|
+
key: "body.append",
|
|
6675
|
+
fn: function (ref) {
|
|
6676
|
+
var headers = ref.headers;
|
|
6677
|
+
return [
|
|
6678
|
+
_c("tr", [
|
|
6679
|
+
_c("td", {
|
|
6680
|
+
style: "padding-top:" + _vm.scrollData.endHeight + "px",
|
|
6681
|
+
attrs: { colspan: headers.length },
|
|
6682
|
+
}),
|
|
6683
|
+
]),
|
|
6684
|
+
]
|
|
6685
|
+
},
|
|
6686
|
+
}
|
|
6687
|
+
: null,
|
|
6688
|
+
_vm.instance.treeDataStructure.treeData.length
|
|
6689
|
+
? {
|
|
6690
|
+
key: "item",
|
|
6691
|
+
fn: function (ref) {
|
|
6692
|
+
var item = ref.item;
|
|
6693
|
+
var isSelected = ref.isSelected;
|
|
6694
|
+
var index = ref.index;
|
|
6695
|
+
var headers = ref.headers;
|
|
6696
|
+
return [
|
|
6697
|
+
_c(
|
|
6698
|
+
"tr",
|
|
6699
|
+
{
|
|
6700
|
+
directives: [
|
|
6701
|
+
{
|
|
6702
|
+
name: "show",
|
|
6703
|
+
rawName: "v-show",
|
|
6704
|
+
value: _vm.instance.treeDataStructure.isOpened(item),
|
|
6705
|
+
expression:
|
|
6706
|
+
"instance.treeDataStructure.isOpened(item)",
|
|
6707
|
+
},
|
|
6708
|
+
],
|
|
6709
|
+
class: {
|
|
6710
|
+
active: isSelected,
|
|
6711
|
+
current: _vm.isCurrentRow(item),
|
|
6712
|
+
},
|
|
6713
|
+
on: {
|
|
6714
|
+
click: function ($event) {
|
|
6715
|
+
return _vm.rowClick(item, $event)
|
|
6716
|
+
},
|
|
6717
|
+
},
|
|
6718
|
+
},
|
|
6719
|
+
[
|
|
6720
|
+
_vm.instance.selectable
|
|
6721
|
+
? _c(
|
|
6722
|
+
"td",
|
|
6723
|
+
{
|
|
6724
|
+
staticClass:
|
|
6725
|
+
"zd-table-cell selectable zd-table-fixed-column",
|
|
6726
|
+
},
|
|
6727
|
+
[
|
|
6728
|
+
_c("v-checkbox", {
|
|
6729
|
+
staticClass: "zd-grid-row-checkbox",
|
|
6730
|
+
attrs: {
|
|
6731
|
+
"hide-details": "",
|
|
6732
|
+
color: "primary",
|
|
6733
|
+
disabled: _vm.instance.editing,
|
|
6734
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
|
6735
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
|
6736
|
+
"true-value": true,
|
|
6737
|
+
"false-value": false,
|
|
6738
|
+
value: isSelected,
|
|
6739
|
+
},
|
|
6740
|
+
on: {
|
|
6741
|
+
click: function ($event) {
|
|
6742
|
+
$event.stopPropagation();
|
|
6743
|
+
return _vm.selectClick(
|
|
6744
|
+
index,
|
|
6745
|
+
!isSelected,
|
|
6746
|
+
$event
|
|
6747
|
+
)
|
|
6748
|
+
},
|
|
6749
|
+
},
|
|
6750
|
+
}),
|
|
6751
|
+
],
|
|
6752
|
+
1
|
|
6753
|
+
)
|
|
6754
|
+
: _vm._e(),
|
|
6755
|
+
_vm._v(" "),
|
|
6756
|
+
_vm._l(
|
|
6757
|
+
_vm.orderHeaders(headers),
|
|
6758
|
+
function (header, headerIndex) {
|
|
6759
|
+
return [
|
|
6760
|
+
_vm._l(
|
|
6761
|
+
[
|
|
6762
|
+
{
|
|
6763
|
+
column: header,
|
|
6764
|
+
cellProps: (_vm.instance.cellsApplied[
|
|
6765
|
+
_vm.rowKey(item)
|
|
6766
|
+
] || {})[header.name],
|
|
6767
|
+
},
|
|
6768
|
+
],
|
|
6769
|
+
function (ref) {
|
|
6770
|
+
var column = ref.column;
|
|
6771
|
+
var cellProps = ref.cellProps;
|
|
6772
|
+
return [
|
|
6773
|
+
column.isVisible && column.type !== "action"
|
|
6774
|
+
? [
|
|
6775
|
+
_c(
|
|
6776
|
+
"td",
|
|
6777
|
+
{
|
|
6778
|
+
key: column.name,
|
|
6779
|
+
class: [
|
|
6780
|
+
"zd-table-cell",
|
|
6781
|
+
"text-" + column.align,
|
|
6782
|
+
Object.assign(
|
|
6783
|
+
{},
|
|
6784
|
+
column,
|
|
6785
|
+
cellProps
|
|
6786
|
+
).cssClass,
|
|
6787
|
+
{ first: headerIndex === 0 },
|
|
6788
|
+
{
|
|
6789
|
+
"zd-table-column-editable":
|
|
6790
|
+
column.editable,
|
|
6791
|
+
"zd-table-cell-editable":
|
|
6792
|
+
Object.assign(
|
|
6793
|
+
{},
|
|
6794
|
+
column,
|
|
6795
|
+
cellProps
|
|
6796
|
+
).editable,
|
|
6797
|
+
"zd-table-fixed-column":
|
|
6798
|
+
column.fixed,
|
|
6799
|
+
},
|
|
6800
|
+
],
|
|
6801
|
+
style: [
|
|
6802
|
+
Object.assign(
|
|
6803
|
+
{},
|
|
6804
|
+
column,
|
|
6805
|
+
cellProps
|
|
6806
|
+
).style,
|
|
6807
|
+
Object.assign(
|
|
6808
|
+
{},
|
|
6809
|
+
column,
|
|
6810
|
+
cellProps
|
|
6811
|
+
).cssStyle,
|
|
6812
|
+
{
|
|
6813
|
+
left: _vm.getFixedLeft(column),
|
|
6814
|
+
},
|
|
6815
|
+
],
|
|
6816
|
+
on: {
|
|
6817
|
+
click: function ($event) {
|
|
6818
|
+
return _vm.cellClick(
|
|
6819
|
+
item,
|
|
6820
|
+
column,
|
|
6821
|
+
$event
|
|
6822
|
+
)
|
|
6823
|
+
},
|
|
6824
|
+
},
|
|
6825
|
+
},
|
|
6826
|
+
[
|
|
6827
|
+
column.loading
|
|
6828
|
+
? _c("v-skeleton-loader", {
|
|
6829
|
+
staticClass:
|
|
6830
|
+
"zd-skeleton-table-cell",
|
|
6831
|
+
attrs: {
|
|
6832
|
+
loading: "",
|
|
6833
|
+
type: "table-cell",
|
|
6834
|
+
},
|
|
6835
|
+
})
|
|
6836
|
+
: _vm._e(),
|
|
6837
|
+
_vm._v(" "),
|
|
6838
|
+
Object.assign({}, column, cellProps)
|
|
6839
|
+
.editable && _vm.instance.editing
|
|
6840
|
+
? _c(
|
|
6841
|
+
"span",
|
|
6842
|
+
{
|
|
6843
|
+
directives: [
|
|
6844
|
+
{
|
|
6845
|
+
name: "show",
|
|
6846
|
+
rawName: "v-show",
|
|
6847
|
+
value: !column.loading,
|
|
6848
|
+
expression:
|
|
6849
|
+
"!column.loading",
|
|
6850
|
+
},
|
|
6851
|
+
],
|
|
6852
|
+
staticClass:
|
|
6853
|
+
"zd-table-cell-inline-edit",
|
|
6854
|
+
style: {
|
|
6855
|
+
width:
|
|
6856
|
+
_vm.calcWidth(
|
|
6857
|
+
column,
|
|
6858
|
+
column.maxWidth ||
|
|
6859
|
+
column.minWidth
|
|
6860
|
+
) || "unset",
|
|
6861
|
+
"min-width":
|
|
6862
|
+
_vm.calcWidth(
|
|
6863
|
+
column,
|
|
6864
|
+
column.minWidth
|
|
6865
|
+
) || "unset",
|
|
6866
|
+
"max-width":
|
|
6867
|
+
_vm.calcWidth(
|
|
6868
|
+
column,
|
|
6869
|
+
column.maxWidth
|
|
6870
|
+
) || "unset",
|
|
6871
|
+
},
|
|
6872
|
+
},
|
|
6873
|
+
[
|
|
6874
|
+
_vm.instance.isEdited(
|
|
6875
|
+
column,
|
|
6876
|
+
item
|
|
6877
|
+
)
|
|
6878
|
+
? _c(
|
|
6879
|
+
"span",
|
|
6880
|
+
{
|
|
6881
|
+
staticClass:
|
|
6882
|
+
"zd-table-cell-edit-icon",
|
|
6883
|
+
},
|
|
6884
|
+
[
|
|
6885
|
+
_vm.instance.isValid(
|
|
6886
|
+
column,
|
|
6887
|
+
item
|
|
6888
|
+
)
|
|
6889
|
+
? _c(
|
|
6890
|
+
"v-icon",
|
|
6891
|
+
{
|
|
6892
|
+
attrs: {
|
|
6893
|
+
color:
|
|
6894
|
+
"primary",
|
|
6895
|
+
},
|
|
6896
|
+
},
|
|
6897
|
+
[
|
|
6898
|
+
_vm._v(
|
|
6899
|
+
_vm._s(
|
|
6900
|
+
_vm.$getIcon(
|
|
6901
|
+
"pencil"
|
|
6902
|
+
)
|
|
6903
|
+
)
|
|
6904
|
+
),
|
|
6905
|
+
]
|
|
6906
|
+
)
|
|
6907
|
+
: _c(
|
|
6908
|
+
"v-icon",
|
|
6909
|
+
{
|
|
6910
|
+
attrs: {
|
|
6911
|
+
color:
|
|
6912
|
+
"error",
|
|
6913
|
+
},
|
|
6914
|
+
},
|
|
6915
|
+
[
|
|
6916
|
+
_vm._v(
|
|
6917
|
+
_vm._s(
|
|
6918
|
+
_vm.$getIcon(
|
|
6919
|
+
"warning"
|
|
6920
|
+
)
|
|
6921
|
+
)
|
|
6922
|
+
),
|
|
6923
|
+
]
|
|
6924
|
+
),
|
|
6925
|
+
],
|
|
6926
|
+
1
|
|
6927
|
+
)
|
|
6928
|
+
: _vm._e(),
|
|
6929
|
+
_vm._v(" "),
|
|
6930
|
+
_c(
|
|
6931
|
+
column.componentProps
|
|
6932
|
+
.component,
|
|
6933
|
+
_vm._b(
|
|
6934
|
+
{
|
|
6935
|
+
key:
|
|
6936
|
+
column.name +
|
|
6937
|
+
_vm.rowKey(item),
|
|
6938
|
+
tag: "component",
|
|
6939
|
+
},
|
|
6940
|
+
"component",
|
|
6941
|
+
_vm.getEditableComponent(
|
|
6942
|
+
column,
|
|
6943
|
+
item,
|
|
6944
|
+
cellProps
|
|
6945
|
+
),
|
|
6946
|
+
false
|
|
6947
|
+
)
|
|
6948
|
+
),
|
|
6949
|
+
],
|
|
6950
|
+
1
|
|
6951
|
+
)
|
|
6952
|
+
: _vm.hasToggleIcon(column, item)
|
|
6953
|
+
? _c(
|
|
6954
|
+
"span",
|
|
6955
|
+
[
|
|
6956
|
+
_c("v-icon", [
|
|
6957
|
+
_vm._v(
|
|
6958
|
+
_vm._s(
|
|
6959
|
+
_vm.$getIcon(
|
|
6960
|
+
column.formatterByRow(
|
|
6961
|
+
item,
|
|
6962
|
+
cellProps
|
|
6963
|
+
)
|
|
6964
|
+
)
|
|
6965
|
+
)
|
|
6966
|
+
),
|
|
6967
|
+
]),
|
|
6968
|
+
],
|
|
6969
|
+
1
|
|
6970
|
+
)
|
|
6971
|
+
: _c(
|
|
6972
|
+
"span",
|
|
6973
|
+
{
|
|
6974
|
+
directives: [
|
|
6975
|
+
{
|
|
6976
|
+
name: "show",
|
|
6977
|
+
rawName: "v-show",
|
|
6978
|
+
value: !column.loading,
|
|
6979
|
+
expression:
|
|
6980
|
+
"!column.loading",
|
|
6981
|
+
},
|
|
6982
|
+
],
|
|
6983
|
+
class: [
|
|
6984
|
+
"zd-table-cell-text",
|
|
6985
|
+
{
|
|
6986
|
+
"zd-table-cell-text-editable":
|
|
6987
|
+
Object.assign(
|
|
6988
|
+
{},
|
|
6989
|
+
column,
|
|
6990
|
+
cellProps
|
|
6991
|
+
).editable,
|
|
6992
|
+
"overflow-hidden":
|
|
6993
|
+
column.overflow ===
|
|
6994
|
+
"hidden",
|
|
6995
|
+
"overflow-wrap":
|
|
6996
|
+
column.overflow ===
|
|
6997
|
+
"wrap",
|
|
6998
|
+
},
|
|
6999
|
+
!isNaN(column.overflow)
|
|
7000
|
+
? "overflow-clamp overflow-clamp-" +
|
|
7001
|
+
column.overflow
|
|
7002
|
+
: "",
|
|
7003
|
+
],
|
|
7004
|
+
style: {
|
|
7005
|
+
width:
|
|
7006
|
+
_vm.calcWidth(
|
|
7007
|
+
column,
|
|
7008
|
+
column.maxWidth ||
|
|
7009
|
+
column.minWidth
|
|
7010
|
+
) || "unset",
|
|
7011
|
+
"min-width":
|
|
7012
|
+
_vm.calcWidth(
|
|
7013
|
+
column,
|
|
7014
|
+
column.minWidth
|
|
7015
|
+
) || "unset",
|
|
7016
|
+
"max-width":
|
|
7017
|
+
_vm.calcWidth(
|
|
7018
|
+
column,
|
|
7019
|
+
column.maxWidth
|
|
7020
|
+
) || "unset",
|
|
7021
|
+
},
|
|
7022
|
+
on: {
|
|
7023
|
+
mouseenter: function (
|
|
7024
|
+
$event
|
|
7025
|
+
) {
|
|
7026
|
+
return _vm.checkOverflow(
|
|
7027
|
+
$event
|
|
7028
|
+
)
|
|
7029
|
+
},
|
|
7030
|
+
mouseleave: function (
|
|
7031
|
+
$event
|
|
7032
|
+
) {
|
|
7033
|
+
return _vm.removeTooltip()
|
|
7034
|
+
},
|
|
7035
|
+
},
|
|
7036
|
+
},
|
|
7037
|
+
[
|
|
7038
|
+
_c(
|
|
7039
|
+
"div",
|
|
7040
|
+
{
|
|
7041
|
+
directives: [
|
|
7042
|
+
{
|
|
7043
|
+
name: "show",
|
|
7044
|
+
rawName: "v-show",
|
|
7045
|
+
value:
|
|
7046
|
+
headerIndex === 0,
|
|
7047
|
+
expression:
|
|
7048
|
+
"headerIndex === 0",
|
|
7049
|
+
},
|
|
7050
|
+
],
|
|
7051
|
+
class: [
|
|
7052
|
+
"zd-tree-grid-editable-expand",
|
|
7053
|
+
"level" +
|
|
7054
|
+
item.tree__level,
|
|
7055
|
+
],
|
|
7056
|
+
},
|
|
7057
|
+
[
|
|
7058
|
+
item.tree__children
|
|
7059
|
+
.length > 0
|
|
7060
|
+
? _c(
|
|
7061
|
+
"v-icon",
|
|
7062
|
+
{
|
|
7063
|
+
class: {
|
|
7064
|
+
opened:
|
|
7065
|
+
item.tree__opened,
|
|
7066
|
+
},
|
|
7067
|
+
attrs: {
|
|
7068
|
+
tabindex:
|
|
7069
|
+
"-1",
|
|
7070
|
+
},
|
|
7071
|
+
on: {
|
|
7072
|
+
click:
|
|
7073
|
+
function (
|
|
7074
|
+
$event
|
|
7075
|
+
) {
|
|
7076
|
+
return _vm.instance.toggleExpand(
|
|
7077
|
+
item,
|
|
7078
|
+
index
|
|
7079
|
+
)
|
|
7080
|
+
},
|
|
7081
|
+
},
|
|
7082
|
+
},
|
|
7083
|
+
[
|
|
7084
|
+
_vm._v(
|
|
7085
|
+
"\n " +
|
|
7086
|
+
_vm._s(
|
|
7087
|
+
_vm.$getIcon(
|
|
7088
|
+
"chevronRight"
|
|
7089
|
+
)
|
|
7090
|
+
) +
|
|
7091
|
+
"\n "
|
|
7092
|
+
),
|
|
7093
|
+
]
|
|
7094
|
+
)
|
|
7095
|
+
: _vm._e(),
|
|
7096
|
+
],
|
|
7097
|
+
1
|
|
7098
|
+
),
|
|
7099
|
+
_vm._v(" "),
|
|
7100
|
+
_c("span", {
|
|
7101
|
+
key: item.tree__searched
|
|
7102
|
+
? "a"
|
|
7103
|
+
: "b",
|
|
7104
|
+
domProps: {
|
|
7105
|
+
innerHTML: _vm._s(
|
|
7106
|
+
_vm.formatSearchResult(
|
|
7107
|
+
column.formatterByRow(
|
|
7108
|
+
item,
|
|
7109
|
+
cellProps
|
|
7110
|
+
)
|
|
7111
|
+
)
|
|
7112
|
+
),
|
|
7113
|
+
},
|
|
7114
|
+
}),
|
|
7115
|
+
]
|
|
7116
|
+
),
|
|
7117
|
+
],
|
|
7118
|
+
1
|
|
7119
|
+
),
|
|
7120
|
+
]
|
|
7121
|
+
: column.isVisible &&
|
|
7122
|
+
column.type === "action"
|
|
7123
|
+
? [
|
|
7124
|
+
_c(
|
|
7125
|
+
"td",
|
|
7126
|
+
{
|
|
7127
|
+
key: column.name,
|
|
7128
|
+
class: [
|
|
7129
|
+
"zd-table-cell",
|
|
7130
|
+
"text-" + column.align,
|
|
7131
|
+
Object.assign(
|
|
7132
|
+
{},
|
|
7133
|
+
column,
|
|
7134
|
+
cellProps
|
|
7135
|
+
).cssClass,
|
|
7136
|
+
],
|
|
7137
|
+
style: [
|
|
7138
|
+
Object.assign(
|
|
7139
|
+
{},
|
|
7140
|
+
column,
|
|
7141
|
+
cellProps
|
|
7142
|
+
).style,
|
|
7143
|
+
Object.assign(
|
|
7144
|
+
{},
|
|
7145
|
+
column,
|
|
7146
|
+
cellProps
|
|
7147
|
+
).cssStyle,
|
|
7148
|
+
],
|
|
7149
|
+
on: {
|
|
7150
|
+
click: function ($event) {
|
|
7151
|
+
return _vm.cellClick(
|
|
7152
|
+
item,
|
|
7153
|
+
column,
|
|
7154
|
+
$event
|
|
7155
|
+
)
|
|
7156
|
+
},
|
|
7157
|
+
},
|
|
7158
|
+
},
|
|
7159
|
+
_vm._l(
|
|
7160
|
+
column.childrenProps,
|
|
7161
|
+
function (child) {
|
|
7162
|
+
return _c(
|
|
7163
|
+
child.component,
|
|
7164
|
+
_vm._b(
|
|
7165
|
+
{
|
|
7166
|
+
key:
|
|
7167
|
+
child.name +
|
|
7168
|
+
_vm.rowKey(item),
|
|
7169
|
+
tag: "component",
|
|
7170
|
+
},
|
|
7171
|
+
"component",
|
|
7172
|
+
Object.assign(
|
|
7173
|
+
{},
|
|
7174
|
+
child,
|
|
7175
|
+
_vm.instance.getActionComponent(
|
|
7176
|
+
child,
|
|
7177
|
+
column,
|
|
7178
|
+
item
|
|
7179
|
+
)
|
|
7180
|
+
),
|
|
7181
|
+
false
|
|
7182
|
+
)
|
|
7183
|
+
)
|
|
7184
|
+
}
|
|
7185
|
+
),
|
|
7186
|
+
1
|
|
7187
|
+
),
|
|
7188
|
+
]
|
|
7189
|
+
: _vm._e(),
|
|
7190
|
+
]
|
|
7191
|
+
}
|
|
7192
|
+
),
|
|
7193
|
+
]
|
|
7194
|
+
}
|
|
7195
|
+
),
|
|
7196
|
+
],
|
|
7197
|
+
2
|
|
7198
|
+
),
|
|
7199
|
+
]
|
|
7200
|
+
},
|
|
7201
|
+
}
|
|
7202
|
+
: null,
|
|
7203
|
+
{
|
|
7204
|
+
key: "no-data",
|
|
7205
|
+
fn: function () {
|
|
7206
|
+
return [
|
|
7207
|
+
_c("zd-iterable-no-data", {
|
|
7208
|
+
ref: "gridNoData",
|
|
7209
|
+
attrs: {
|
|
7210
|
+
name: _vm.instance.name + "_no_data",
|
|
7211
|
+
instance: _vm.instance,
|
|
7212
|
+
noDataSlot: _vm.instance.noDataSlot,
|
|
7213
|
+
noResultSlot: _vm.instance.noResultSlot,
|
|
7214
|
+
errorSlot: _vm.instance.errorSlot,
|
|
7215
|
+
empty: !_vm.getData().length,
|
|
7216
|
+
},
|
|
7217
|
+
scopedSlots: _vm._u(
|
|
7218
|
+
[
|
|
7219
|
+
{
|
|
7220
|
+
key: "errorSlot",
|
|
7221
|
+
fn: function () {
|
|
7222
|
+
return [_vm._t("errorSlot")]
|
|
7223
|
+
},
|
|
7224
|
+
proxy: true,
|
|
7225
|
+
},
|
|
7226
|
+
{
|
|
7227
|
+
key: "noResultSlot",
|
|
7228
|
+
fn: function () {
|
|
7229
|
+
return [_vm._t("noResultSlot")]
|
|
7230
|
+
},
|
|
7231
|
+
proxy: true,
|
|
7232
|
+
},
|
|
7233
|
+
{
|
|
7234
|
+
key: "noDataSlot",
|
|
7235
|
+
fn: function () {
|
|
7236
|
+
return [_vm._t("noDataSlot")]
|
|
7237
|
+
},
|
|
7238
|
+
proxy: true,
|
|
7239
|
+
},
|
|
7240
|
+
],
|
|
7241
|
+
null,
|
|
7242
|
+
true
|
|
7243
|
+
),
|
|
7244
|
+
}),
|
|
7245
|
+
]
|
|
7246
|
+
},
|
|
7247
|
+
proxy: true,
|
|
7248
|
+
},
|
|
7249
|
+
_vm.instance.showFooter
|
|
7250
|
+
? {
|
|
7251
|
+
key: "footer",
|
|
7252
|
+
fn: function () {
|
|
7253
|
+
return [
|
|
7254
|
+
!_vm.$slots.footerSlot
|
|
7255
|
+
? [
|
|
7256
|
+
_c("zd-grid-footer", {
|
|
7257
|
+
ref: "gridFooter",
|
|
7258
|
+
attrs: {
|
|
7259
|
+
name: _vm.instance.name + "_footer",
|
|
7260
|
+
instance: _vm.instance,
|
|
7261
|
+
footerSlot: _vm.instance.footerSlot,
|
|
7262
|
+
},
|
|
7263
|
+
}),
|
|
7264
|
+
]
|
|
7265
|
+
: _vm._e(),
|
|
7266
|
+
_vm._v(" "),
|
|
7267
|
+
_vm._t("footerSlot"),
|
|
7268
|
+
]
|
|
7269
|
+
},
|
|
7270
|
+
proxy: true,
|
|
7271
|
+
}
|
|
7272
|
+
: null,
|
|
7273
|
+
],
|
|
7274
|
+
null,
|
|
7275
|
+
true
|
|
7276
|
+
),
|
|
7277
|
+
model: {
|
|
7278
|
+
value: _vm.instance.selectedRows,
|
|
7279
|
+
callback: function ($$v) {
|
|
7280
|
+
_vm.$set(_vm.instance, "selectedRows", $$v);
|
|
7281
|
+
},
|
|
7282
|
+
expression: "instance.selectedRows",
|
|
7283
|
+
},
|
|
7284
|
+
})
|
|
7285
|
+
};
|
|
7286
|
+
var __vue_staticRenderFns__ = [];
|
|
7287
|
+
__vue_render__._withStripped = true;
|
|
7288
|
+
|
|
7289
|
+
/* style */
|
|
7290
|
+
const __vue_inject_styles__ = function (inject) {
|
|
7291
|
+
if (!inject) return
|
|
7292
|
+
inject("data-v-29a40362_0", { source: ".tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n}\n.tek-grid table thead tr th {\n padding-right: 15px !important;\n}\n.tek-grid table thead tr th.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 4;\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: inline-block;\n vertical-align: middle;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 10px;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n position: relative;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n background: white;\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
7293
|
+
|
|
5522
7294
|
};
|
|
5523
7295
|
/* scoped */
|
|
5524
7296
|
const __vue_scope_id__ = undefined;
|
|
@@ -5546,21 +7318,22 @@
|
|
|
5546
7318
|
);
|
|
5547
7319
|
|
|
5548
7320
|
const components = {
|
|
5549
|
-
TekBreadcrumbHeader: __vue_component__$
|
|
5550
|
-
TekCardTitle: __vue_component__$
|
|
5551
|
-
TekCrudAddButton: __vue_component__$
|
|
5552
|
-
TekCrudCancelButton: __vue_component__$
|
|
5553
|
-
TekCrudDeleteButton: __vue_component__$
|
|
5554
|
-
TekCrudForm: __vue_component__$
|
|
5555
|
-
TekCrudSaveButton: __vue_component__$
|
|
5556
|
-
TekGrid: __vue_component__$
|
|
5557
|
-
TekGridColumnsButton: __vue_component__$
|
|
5558
|
-
TekGridLayoutOptions: __vue_component__$
|
|
5559
|
-
TekImage: __vue_component__$
|
|
5560
|
-
TekProductCard: __vue_component__,
|
|
5561
|
-
TekIterableComponentRender: __vue_component__$
|
|
5562
|
-
TekIterableCarousel: __vue_component__$
|
|
5563
|
-
TekNotifications: __vue_component__$
|
|
7321
|
+
TekBreadcrumbHeader: __vue_component__$f,
|
|
7322
|
+
TekCardTitle: __vue_component__$e,
|
|
7323
|
+
TekCrudAddButton: __vue_component__$d,
|
|
7324
|
+
TekCrudCancelButton: __vue_component__$c,
|
|
7325
|
+
TekCrudDeleteButton: __vue_component__$b,
|
|
7326
|
+
TekCrudForm: __vue_component__$a,
|
|
7327
|
+
TekCrudSaveButton: __vue_component__$9,
|
|
7328
|
+
TekGrid: __vue_component__$8,
|
|
7329
|
+
TekGridColumnsButton: __vue_component__$7,
|
|
7330
|
+
TekGridLayoutOptions: __vue_component__$6,
|
|
7331
|
+
TekImage: __vue_component__$5,
|
|
7332
|
+
TekProductCard: __vue_component__$1,
|
|
7333
|
+
TekIterableComponentRender: __vue_component__$3,
|
|
7334
|
+
TekIterableCarousel: __vue_component__$4,
|
|
7335
|
+
TekNotifications: __vue_component__$2,
|
|
7336
|
+
TekTreeGrid: __vue_component__,
|
|
5564
7337
|
};
|
|
5565
7338
|
|
|
5566
7339
|
common.Icons.addIcons({
|
|
@@ -5581,19 +7354,20 @@
|
|
|
5581
7354
|
},
|
|
5582
7355
|
};
|
|
5583
7356
|
|
|
5584
|
-
exports.TekBreadcrumbHeader = script$
|
|
5585
|
-
exports.TekCardTitle = script$
|
|
5586
|
-
exports.TekCrudAddButton = script$
|
|
5587
|
-
exports.TekCrudCancelButton = script$
|
|
5588
|
-
exports.TekCrudDeleteButton = script$
|
|
5589
|
-
exports.TekCrudForm = script$
|
|
5590
|
-
exports.TekCrudSaveButton = script$
|
|
5591
|
-
exports.TekGrid = script$
|
|
5592
|
-
exports.TekGridColumnsButton = script$
|
|
5593
|
-
exports.TekGridLayoutOptions = script$
|
|
5594
|
-
exports.TekImage = script$
|
|
5595
|
-
exports.TekIterableComponentRender = script$
|
|
5596
|
-
exports.TekProductCard = script;
|
|
7357
|
+
exports.TekBreadcrumbHeader = script$f;
|
|
7358
|
+
exports.TekCardTitle = script$e;
|
|
7359
|
+
exports.TekCrudAddButton = script$d;
|
|
7360
|
+
exports.TekCrudCancelButton = script$c;
|
|
7361
|
+
exports.TekCrudDeleteButton = script$b;
|
|
7362
|
+
exports.TekCrudForm = script$a;
|
|
7363
|
+
exports.TekCrudSaveButton = script$9;
|
|
7364
|
+
exports.TekGrid = script$8;
|
|
7365
|
+
exports.TekGridColumnsButton = script$7;
|
|
7366
|
+
exports.TekGridLayoutOptions = script$6;
|
|
7367
|
+
exports.TekImage = script$5;
|
|
7368
|
+
exports.TekIterableComponentRender = script$3;
|
|
7369
|
+
exports.TekProductCard = script$1;
|
|
7370
|
+
exports.TekTreeGrid = script;
|
|
5597
7371
|
exports["default"] = TeknisaComponents;
|
|
5598
7372
|
|
|
5599
7373
|
Object.defineProperty(exports, '__esModule', { value: true });
|