@zeedhi/vuetify 1.59.0 → 1.61.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.
@@ -767,14 +767,6 @@ function getZIndex(el) {
767
767
  if (!index) return getZIndex(el.parentNode);
768
768
  return index;
769
769
  }
770
- const tagsToReplace = {
771
- '&': '&',
772
- '<': '&lt;',
773
- '>': '&gt;'
774
- };
775
- function escapeHTML(str) {
776
- return str.replace(/[&<>]/g, tag => tagsToReplace[tag] || tag);
777
- }
778
770
  function filterObjectOnKeys(obj, keys) {
779
771
  const filtered = {};
780
772
 
@@ -2221,7 +2213,7 @@ class Vuetify {
2221
2213
  }
2222
2214
  Vuetify.install = install$1;
2223
2215
  Vuetify.installed = false;
2224
- Vuetify.version = "2.6.9";
2216
+ Vuetify.version = "2.6.11";
2225
2217
  Vuetify.config = {
2226
2218
  silent: false
2227
2219
  };
@@ -3379,7 +3371,7 @@ function checkIsActive(e, binding) {
3379
3371
  return isActive(e);
3380
3372
  }
3381
3373
 
3382
- function directive$1(e, el, binding, vnode) {
3374
+ function directive$1(e, el, binding) {
3383
3375
  const handler = typeof binding.value === 'function' ? binding.value : binding.value.handler;
3384
3376
  el._clickOutside.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(() => {
3385
3377
  checkIsActive(e, binding) && handler && handler(e);
@@ -6554,7 +6546,11 @@ var Menuable = baseMixins$r.extend().extend({
6554
6546
  },
6555
6547
 
6556
6548
  checkActivatorFixed() {
6557
- if (this.attach !== false) return;
6549
+ if (this.attach !== false) {
6550
+ this.activatorFixed = false;
6551
+ return;
6552
+ }
6553
+
6558
6554
  let el = this.getActivator();
6559
6555
 
6560
6556
  while (el) {
@@ -8220,13 +8216,13 @@ var VSelectList = mixins(Colorable, Themeable).extend({
8220
8216
 
8221
8217
  genFilteredText(text) {
8222
8218
  text = text || '';
8223
- if (!this.searchInput || this.noFilter) return escapeHTML(text);
8219
+ if (!this.searchInput || this.noFilter) return text;
8224
8220
  const {
8225
8221
  start,
8226
8222
  middle,
8227
8223
  end
8228
8224
  } = this.getMaskedCharacters(text);
8229
- return `${escapeHTML(start)}${this.genHighlight(middle)}${escapeHTML(end)}`;
8225
+ return [start, this.genHighlight(middle), end];
8230
8226
  },
8231
8227
 
8232
8228
  genHeader(props) {
@@ -8236,7 +8232,9 @@ var VSelectList = mixins(Colorable, Themeable).extend({
8236
8232
  },
8237
8233
 
8238
8234
  genHighlight(text) {
8239
- return `<span class="v-list-item__mask">${escapeHTML(text)}</span>`;
8235
+ return this.$createElement('span', {
8236
+ staticClass: 'v-list-item__mask'
8237
+ }, text);
8240
8238
  },
8241
8239
 
8242
8240
  getMaskedCharacters(text) {
@@ -8309,12 +8307,7 @@ var VSelectList = mixins(Colorable, Themeable).extend({
8309
8307
  },
8310
8308
 
8311
8309
  genTileContent(item, index = 0) {
8312
- const innerHTML = this.genFilteredText(this.getText(item));
8313
- return this.$createElement(VListItemContent, [this.$createElement(VListItemTitle, {
8314
- domProps: {
8315
- innerHTML
8316
- }
8317
- })]);
8310
+ return this.$createElement(VListItemContent, [this.$createElement(VListItemTitle, [this.genFilteredText(this.getText(item))])]);
8318
8311
  },
8319
8312
 
8320
8313
  hasItem(item) {
@@ -8871,7 +8864,8 @@ var VInput = baseMixins$m.extend().extend({
8871
8864
  color: this.validationState,
8872
8865
  dark: this.dark,
8873
8866
  disabled: this.isDisabled,
8874
- light: this.light
8867
+ light: this.light,
8868
+ tabindex: type === 'clear' ? -1 : undefined
8875
8869
  },
8876
8870
  on: !hasListener ? undefined : {
8877
8871
  click: e => {
@@ -12040,8 +12034,8 @@ var VDialog = baseMixins$i.extend({
12040
12034
  !this.getOpenDependentElements().some(el => el.contains(target)) // So we must have focused something outside the dialog and its children
12041
12035
  ) {
12042
12036
  // Find and focus the first available element inside the dialog
12043
- const focusable = this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
12044
- const el = [...focusable].find(el => !el.hasAttribute('disabled'));
12037
+ const focusable = this.$refs.dialog.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])');
12038
+ const el = [...focusable].find(el => !el.hasAttribute('disabled') && !el.matches('[tabindex="-1"]'));
12045
12039
  el && el.focus();
12046
12040
  }
12047
12041
  },
@@ -13764,7 +13758,7 @@ var CalendarWithEvents = CalendarBase.extend({
13764
13758
  },
13765
13759
 
13766
13760
  eventNameFunction() {
13767
- return typeof this.eventName === 'function' ? this.eventName : (event, timedEvent) => escapeHTML(event.input[this.eventName] || '');
13761
+ return typeof this.eventName === 'function' ? this.eventName : (event, timedEvent) => event.input[this.eventName] || '';
13768
13762
  },
13769
13763
 
13770
13764
  eventModeFunction() {
@@ -13976,15 +13970,17 @@ var CalendarWithEvents = CalendarBase.extend({
13976
13970
  const name = this.eventNameFunction(event, timedEvent);
13977
13971
 
13978
13972
  if (event.start.hasTime) {
13979
- const eventSummaryClass = 'v-event-summary';
13980
-
13981
13973
  if (timedEvent) {
13982
13974
  const time = timeSummary();
13983
- const delimiter = singline ? ', ' : '<br>';
13984
- return `<span class="${eventSummaryClass}"><strong>${name}</strong>${delimiter}${time}</span>`;
13975
+ const delimiter = singline ? ', ' : this.$createElement('br');
13976
+ return this.$createElement('span', {
13977
+ staticClass: 'v-event-summary'
13978
+ }, [this.$createElement('strong', [name]), delimiter, time]);
13985
13979
  } else {
13986
13980
  const time = formatTime(event.start, true);
13987
- return `<span class="${eventSummaryClass}"><strong>${time}</strong> ${name}</span>`;
13981
+ return this.$createElement('span', {
13982
+ staticClass: 'v-event-summary'
13983
+ }, [this.$createElement('strong', [time]), ' ', name]);
13988
13984
  }
13989
13985
  }
13990
13986
 
@@ -14014,11 +14010,8 @@ var CalendarWithEvents = CalendarBase.extend({
14014
14010
 
14015
14011
  genName(eventSummary) {
14016
14012
  return this.$createElement('div', {
14017
- staticClass: 'pl-1',
14018
- domProps: {
14019
- innerHTML: eventSummary()
14020
- }
14021
- });
14013
+ staticClass: 'pl-1'
14014
+ }, [eventSummary()]);
14022
14015
  },
14023
14016
 
14024
14017
  genPlaceholder(day) {
@@ -29903,7 +29896,7 @@ function checkIsActive(e, binding) {
29903
29896
  return isActive(e);
29904
29897
  }
29905
29898
 
29906
- function directive(e, el, binding, vnode) {
29899
+ function directive(e, el, binding) {
29907
29900
  var handler = typeof binding.value === 'function' ? binding.value : binding.value.handler;
29908
29901
  el._clickOutside.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(function () {
29909
29902
  checkIsActive(e, binding) && handler && handler(e);
@@ -30858,7 +30851,6 @@ exports.getObjectValueByPath = getObjectValueByPath;
30858
30851
  exports.getPropertyFromItem = getPropertyFromItem;
30859
30852
  exports.createRange = createRange;
30860
30853
  exports.getZIndex = getZIndex;
30861
- exports.escapeHTML = escapeHTML;
30862
30854
  exports.filterObjectOnKeys = filterObjectOnKeys;
30863
30855
  exports.convertToUnit = convertToUnit;
30864
30856
  exports.kebabCase = kebabCase;
@@ -31051,18 +31043,6 @@ function getZIndex(el) {
31051
31043
  return index;
31052
31044
  }
31053
31045
 
31054
- var tagsToReplace = {
31055
- '&': '&amp;',
31056
- '<': '&lt;',
31057
- '>': '&gt;'
31058
- };
31059
-
31060
- function escapeHTML(str) {
31061
- return str.replace(/[&<>]/g, function (tag) {
31062
- return tagsToReplace[tag] || tag;
31063
- });
31064
- }
31065
-
31066
31046
  function filterObjectOnKeys(obj, keys) {
31067
31047
  var filtered = {};
31068
31048
 
@@ -36854,7 +36834,7 @@ var Vuetify = /*#__PURE__*/function () {
36854
36834
  exports.default = Vuetify;
36855
36835
  Vuetify.install = install_1.install;
36856
36836
  Vuetify.installed = false;
36857
- Vuetify.version = "2.6.9";
36837
+ Vuetify.version = "2.6.11";
36858
36838
  Vuetify.config = {
36859
36839
  silent: false
36860
36840
  };
@@ -38272,7 +38252,7 @@ __vue_render__$1n._withStripped = true;
38272
38252
  /* style */
38273
38253
  const __vue_inject_styles__$1n = function (inject) {
38274
38254
  if (!inject) return
38275
- inject("data-v-02c50976_0", { source: ".zd-apex-chart .apexcharts-toolbar {\n z-index: 0;\n}\n.zd-apex-chart .apexcharts-toolbar > div {\n transform: scale(0.8) !important;\n}\n.zd-apex-chart.theme--light .apexcharts-toolbar > div > .v-icon {\n color: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-tooltip {\n background: #fdfdfd !important;\n border: 1px solid #fdfdfd !important;\n color: #3b3b3b !important;\n z-index: 1;\n}\n.zd-apex-chart.theme--light .apexcharts-tooltip .apexcharts-tooltip-title {\n background: #eee !important;\n color: #3b3b3b !important;\n border-bottom: none !important;\n}\n.zd-apex-chart.theme--light .apexcharts-text {\n fill: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-title-text {\n fill: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip {\n background: #eee !important;\n border: 1px solid #d4d4d4 !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip .apexcharts-xaxistooltip-text {\n color: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip-bottom::before {\n border-bottom-color: #d4d4d4 !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip-bottom::after {\n border-bottom-color: #d4d4d4 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-toolbar > div > .v-icon {\n color: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-tooltip {\n background: #1e1e1e !important;\n border: 1px solid #1e1e1e !important;\n color: #b8b8b8 !important;\n z-index: 1;\n}\n.zd-apex-chart.theme--dark .apexcharts-tooltip .apexcharts-tooltip-title {\n background: #101010 !important;\n color: #b8b8b8 !important;\n border-bottom: none !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-text {\n fill: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-title-text {\n fill: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip {\n background: #101010 !important;\n border: 1px solid #252525 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip .apexcharts-xaxistooltip-text {\n color: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip-bottom::before {\n border-bottom-color: #252525 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip-bottom::after {\n border-bottom-color: #252525 !important;\n}\n.apexcharts-overlay {\n z-index: 0 !important;\n}\n.apexcharts-container {\n height: 100%;\n}", map: undefined, media: undefined });
38255
+ inject("data-v-0df63fea_0", { source: ".zd-apex-chart .apexcharts-toolbar {\n z-index: 0;\n}\n.zd-apex-chart .apexcharts-toolbar > div {\n transform: scale(0.8) !important;\n}\n.zd-apex-chart.theme--light .apexcharts-toolbar > div > .v-icon {\n color: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-tooltip {\n background: #fdfdfd !important;\n border: 1px solid #fdfdfd !important;\n color: #3b3b3b !important;\n z-index: 1;\n}\n.zd-apex-chart.theme--light .apexcharts-tooltip .apexcharts-tooltip-title {\n background: #eee !important;\n color: #3b3b3b !important;\n border-bottom: none !important;\n}\n.zd-apex-chart.theme--light .apexcharts-title-text {\n fill: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip {\n background: #eee !important;\n border: 1px solid #d4d4d4 !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip .apexcharts-xaxistooltip-text {\n color: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip-bottom::before {\n border-bottom-color: #d4d4d4 !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip-bottom::after {\n border-bottom-color: #d4d4d4 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-toolbar > div > .v-icon {\n color: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-tooltip {\n background: #1e1e1e !important;\n border: 1px solid #1e1e1e !important;\n color: #b8b8b8 !important;\n z-index: 1;\n}\n.zd-apex-chart.theme--dark .apexcharts-tooltip .apexcharts-tooltip-title {\n background: #101010 !important;\n color: #b8b8b8 !important;\n border-bottom: none !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-text {\n fill: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-title-text {\n fill: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip {\n background: #101010 !important;\n border: 1px solid #252525 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip .apexcharts-xaxistooltip-text {\n color: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip-bottom::before {\n border-bottom-color: #252525 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip-bottom::after {\n border-bottom-color: #252525 !important;\n}\n.apexcharts-overlay {\n z-index: 0 !important;\n}\n.apexcharts-container {\n height: 100%;\n}", map: undefined, media: undefined });
38276
38256
 
38277
38257
  };
38278
38258
  /* scoped */
@@ -41902,6 +41882,10 @@ __decorate([
41902
41882
  PropWatch({ type: Array, default: () => undefined }),
41903
41883
  __metadata("design:type", Object)
41904
41884
  ], ZdDashboard.prototype, "cardFooterSlot", void 0);
41885
+ __decorate([
41886
+ Prop({ type: Object, default: () => undefined }),
41887
+ __metadata("design:type", Object)
41888
+ ], ZdDashboard.prototype, "editHeader", void 0);
41905
41889
  ZdDashboard = __decorate([
41906
41890
  Component$1
41907
41891
  ], ZdDashboard);
@@ -41944,13 +41928,15 @@ var __vue_render__$16 = function () {
41944
41928
  },
41945
41929
  },
41946
41930
  [
41947
- _c("zd-header", {
41948
- attrs: {
41949
- name: "headerDashboard" + _vm.instance.name,
41950
- leftSlot: _vm.instance.headerLeftSlot,
41951
- isVisible: _vm.instance.editingMode,
41952
- },
41953
- }),
41931
+ _c(
41932
+ "zd-header",
41933
+ _vm._b(
41934
+ { attrs: { isVisible: _vm.instance.editingMode } },
41935
+ "zd-header",
41936
+ _vm.instance.editHeader,
41937
+ false
41938
+ )
41939
+ ),
41954
41940
  _vm._v(" "),
41955
41941
  _c(
41956
41942
  "div",
@@ -42114,7 +42100,7 @@ __vue_render__$16._withStripped = true;
42114
42100
  /* style */
42115
42101
  const __vue_inject_styles__$16 = function (inject) {
42116
42102
  if (!inject) return
42117
- inject("data-v-29d9be7e_0", { source: ".zd-dashboard {\n display: flex;\n flex-direction: column;\n cursor: auto;\n}\n.zd-dashboard .zd-header {\n margin-bottom: 10px;\n}\n.zd-dashboard .zd-footer {\n bottom: 0;\n right: 10px;\n position: absolute;\n padding: 3px;\n}\n.zd-dashboard .zd-footer.theme--dark {\n background: #1e1e1e;\n}\n.zd-dashboard .zd-footer.theme--light {\n background: #fff;\n}\n.zd-dashboard .zd-icon {\n bottom: 0;\n right: 0;\n position: absolute;\n cursor: nw-resize;\n}\n.zd-dashboard .zd-dashboard-body {\n justify-content: flex-start;\n align-content: flex-start;\n display: flex;\n flex-wrap: wrap;\n height: 100%;\n min-height: 0;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col {\n min-height: 70px;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col .zd-dashboard-card-div {\n height: 100%;\n position: relative;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col .zd-dashboard-card-div > .zd-card {\n height: 100%;\n}\n.ghost-drag {\n border: 2px dashed #772583;\n opacity: 0.5;\n margin: 0;\n}", map: undefined, media: undefined });
42103
+ inject("data-v-8c8b40d8_0", { source: ".zd-dashboard {\n display: flex;\n flex-direction: column;\n cursor: auto;\n}\n.zd-dashboard .zd-header {\n margin-bottom: 10px;\n}\n.zd-dashboard .zd-footer {\n bottom: 0;\n right: 10px;\n position: absolute;\n padding: 3px;\n}\n.zd-dashboard .zd-footer.theme--dark {\n background: #1e1e1e;\n}\n.zd-dashboard .zd-footer.theme--light {\n background: #fff;\n}\n.zd-dashboard .zd-icon {\n bottom: 0;\n right: 0;\n position: absolute;\n cursor: nw-resize;\n}\n.zd-dashboard .zd-dashboard-body {\n justify-content: flex-start;\n align-content: flex-start;\n display: flex;\n flex-wrap: wrap;\n height: 100%;\n min-height: 0;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col {\n min-height: 70px;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col .zd-dashboard-card-div {\n height: 100%;\n position: relative;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col .zd-dashboard-card-div > .zd-card {\n height: 100%;\n}\n.ghost-drag {\n border: 2px dashed #772583;\n opacity: 0.5;\n margin: 0;\n}", map: undefined, media: undefined });
42118
42104
 
42119
42105
  };
42120
42106
  /* scoped */
@@ -42185,7 +42171,7 @@ let ZdDate = class ZdDate extends __vue_component__$19 {
42185
42171
  while (Mask.isMaskDelimiter(inputEl.value[start - 1]) && inputEl.value[start - 1] !== ' ') {
42186
42172
  start -= 1;
42187
42173
  }
42188
- inputEl.value = `${value.slice(0, start - 1)} ${value.substr(start)}`;
42174
+ inputEl.value = `${value.slice(0, start - 1)} ${value.substring(start)}`;
42189
42175
  inputEl.selectionStart = start - 1;
42190
42176
  inputEl.selectionEnd = start - 1;
42191
42177
  if (Mask.getValueWithoutMask(inputEl.value) === '') {
@@ -42196,7 +42182,7 @@ let ZdDate = class ZdDate extends __vue_component__$19 {
42196
42182
  else {
42197
42183
  if ((event.key === 'Backspace' || event.key === 'Delete') && (start !== 0 || end !== value.length)) {
42198
42184
  const selectionText = value.substring(start, end).replace(/[0-9]/g, ' ');
42199
- inputEl.value = value.slice(0, start) + selectionText + value.substr(end);
42185
+ inputEl.value = value.slice(0, start) + selectionText + value.substring(end);
42200
42186
  event.preventDefault();
42201
42187
  }
42202
42188
  else if ((event.key === 'Backspace' || event.key === 'Delete') && (start === 0 && end === value.length)) {
@@ -42210,8 +42196,8 @@ let ZdDate = class ZdDate extends __vue_component__$19 {
42210
42196
  while (Mask.isMaskDelimiter(value[start]) && value[start] !== ' ') {
42211
42197
  start += 1;
42212
42198
  }
42213
- const firstSlice = value.substr(0, start);
42214
- const secondSlice = value.substr(start + 1);
42199
+ const firstSlice = value.substring(0, start);
42200
+ const secondSlice = value.substring(start + 1);
42215
42201
  inputEl.value = firstSlice + secondSlice;
42216
42202
  }
42217
42203
  inputEl.selectionStart = start;
@@ -42622,7 +42608,7 @@ let ZdDateRange = class ZdDateRange extends __vue_component__$19 {
42622
42608
  while (Mask.isMaskDelimiter(inputEl.value[start - 1]) && inputEl.value[start - 1] !== ' ') {
42623
42609
  start -= 1;
42624
42610
  }
42625
- inputEl.value = `${value.slice(0, start - 1)} ${value.substr(start)}`;
42611
+ inputEl.value = `${value.slice(0, start - 1)} ${value.substring(start)}`;
42626
42612
  inputEl.selectionStart = start - 1;
42627
42613
  inputEl.selectionEnd = start - 1;
42628
42614
  if (Mask.getValueWithoutMask(inputEl.value) === '') {
@@ -42633,7 +42619,7 @@ let ZdDateRange = class ZdDateRange extends __vue_component__$19 {
42633
42619
  else {
42634
42620
  if ((event.key === 'Backspace' || event.key === 'Delete') && (start !== 0 || end !== value.length)) {
42635
42621
  const selectionText = value.substring(start, end).replace(/[0-9-]/g, ' ');
42636
- inputEl.value = value.slice(0, start) + selectionText + value.substr(end);
42622
+ inputEl.value = value.slice(0, start) + selectionText + value.substring(end);
42637
42623
  event.preventDefault();
42638
42624
  }
42639
42625
  else if ((event.key === 'Backspace' || event.key === 'Delete') && (start === 0 && end === value.length)) {
@@ -42647,8 +42633,8 @@ let ZdDateRange = class ZdDateRange extends __vue_component__$19 {
42647
42633
  while (Mask.isMaskDelimiter(value[start]) && value[start] !== ' ') {
42648
42634
  start += 1;
42649
42635
  }
42650
- const firstSlice = value.substr(0, start);
42651
- const secondSlice = value.substr(start + 1);
42636
+ const firstSlice = value.substring(0, start);
42637
+ const secondSlice = value.substring(start + 1);
42652
42638
  inputEl.value = firstSlice + secondSlice;
42653
42639
  }
42654
42640
  inputEl.selectionStart = start;
@@ -42805,6 +42791,10 @@ __decorate([
42805
42791
  PropWatch({ type: String, default: '' }),
42806
42792
  __metadata("design:type", String)
42807
42793
  ], ZdDateRange.prototype, "helperValue", void 0);
42794
+ __decorate([
42795
+ PropWatch({ type: [String, Array], default: () => [] }),
42796
+ __metadata("design:type", Object)
42797
+ ], ZdDateRange.prototype, "value", void 0);
42808
42798
  ZdDateRange = __decorate([
42809
42799
  Component$1
42810
42800
  ], ZdDateRange);
@@ -43242,6 +43232,54 @@ __vue_render__$12._withStripped = true;
43242
43232
  undefined
43243
43233
  );
43244
43234
 
43235
+ /**
43236
+ * This function was copied from https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/activatable/index.ts
43237
+ * the only change was to consider ZdDropdown and ZdTooltip as activatable components
43238
+ */
43239
+ const getActivator = (e, comp) => {
43240
+ // If we've already fetched the activator, re-use
43241
+ if (comp.activatorElement)
43242
+ return comp.activatorElement;
43243
+ let activator = null;
43244
+ if (comp.activator) {
43245
+ const target = comp.internalActivator ? comp.$el : document;
43246
+ if (typeof comp.activator === 'string') {
43247
+ // Selector
43248
+ activator = target.querySelector(comp.activator);
43249
+ }
43250
+ else if (comp.activator.$el) {
43251
+ // Component (ref)
43252
+ activator = comp.activator.$el;
43253
+ }
43254
+ else {
43255
+ // HTMLElement | Element
43256
+ activator = comp.activator;
43257
+ }
43258
+ }
43259
+ else if (comp.activatorNode.length === 1 || (comp.activatorNode.length && !e)) {
43260
+ // Use the contents of the activator slot
43261
+ // There's either only one element in it or we
43262
+ // don't have a click event to use as a last resort
43263
+ const vm = comp.activatorNode[0].componentInstance;
43264
+ const isActivatable = (vm.$options.mixins
43265
+ && vm.$options.mixins.some((m) => m.options && ['activatable', 'menuable'].includes(m.options.name))) || ['ZdDropdown', 'ZdTooltip'].includes(vm.$options.name);
43266
+ if (vm && isActivatable) {
43267
+ // Activator is actually another activatible component, use its activator (#8846)
43268
+ activator = vm.getActivator();
43269
+ }
43270
+ else {
43271
+ activator = comp.activatorNode[0].elm;
43272
+ }
43273
+ }
43274
+ else if (e) {
43275
+ // Activated by a click or focus event
43276
+ activator = (e.currentTarget || e.target);
43277
+ }
43278
+ // The activator should only be a valid element (Ignore comments and text nodes)
43279
+ comp.activatorElement = (activator === null || activator === void 0 ? void 0 : activator.nodeType) === Node.ELEMENT_NODE ? activator : null;
43280
+ return comp.activatorElement;
43281
+ };
43282
+
43245
43283
  /**
43246
43284
  * Dropdown component
43247
43285
  */
@@ -43258,6 +43296,16 @@ let ZdDropdown = class ZdDropdown extends ZdComponentRender$1 {
43258
43296
  '--cursor': this.getCursor(this.instance.cursor),
43259
43297
  };
43260
43298
  }
43299
+ getActivator() {
43300
+ const { dropdown } = this.$refs;
43301
+ return (dropdown === null || dropdown === void 0 ? void 0 : dropdown.getActivator()) || null;
43302
+ }
43303
+ mounted() {
43304
+ const { dropdown } = this.$refs;
43305
+ if (dropdown) {
43306
+ dropdown.getActivator = (e) => getActivator(e, dropdown);
43307
+ }
43308
+ }
43261
43309
  };
43262
43310
  __decorate([
43263
43311
  PropWatch({ type: [Boolean, String], default: false }),
@@ -43355,6 +43403,7 @@ var __vue_render__$11 = function () {
43355
43403
  expression: "instance.isVisible",
43356
43404
  },
43357
43405
  ],
43406
+ ref: "dropdown",
43358
43407
  style: _vm.instance.cssStyle,
43359
43408
  attrs: {
43360
43409
  id: _vm.instance.name,
@@ -43384,31 +43433,25 @@ var __vue_render__$11 = function () {
43384
43433
  var dropdown = ref.on;
43385
43434
  return [
43386
43435
  _c(
43387
- "div",
43388
- [
43389
- _c(
43390
- _vm.instance.activator.component,
43391
- _vm._b(
43392
- {
43393
- tag: "component",
43394
- attrs: {
43395
- "dropdown-activator": Object.assign(
43396
- {},
43397
- _vm.$attrs["dropdown-activator"],
43398
- dropdown
43399
- ),
43400
- },
43401
- },
43402
- "component",
43403
- _vm.instance.activator,
43404
- false
43405
- )
43406
- ),
43407
- _vm._v(" "),
43408
- _c("div", { staticStyle: { display: "none" } }),
43409
- ],
43410
- 1
43436
+ _vm.instance.activator.component,
43437
+ _vm._b(
43438
+ {
43439
+ tag: "component",
43440
+ attrs: {
43441
+ "dropdown-activator": Object.assign(
43442
+ {},
43443
+ _vm.$attrs["dropdown-activator"],
43444
+ dropdown
43445
+ ),
43446
+ },
43447
+ },
43448
+ "component",
43449
+ _vm.instance.activator,
43450
+ false
43451
+ )
43411
43452
  ),
43453
+ _vm._v(" "),
43454
+ _c("div", { staticStyle: { display: "none" } }),
43412
43455
  ]
43413
43456
  },
43414
43457
  },
@@ -43467,7 +43510,7 @@ __vue_render__$11._withStripped = true;
43467
43510
  /* style */
43468
43511
  const __vue_inject_styles__$11 = function (inject) {
43469
43512
  if (!inject) return
43470
- inject("data-v-fa06dbd6_0", { source: ".zd-dropdown {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n color: var(--zd-font-color);\n height: auto;\n line-height: unset;\n white-space: unset;\n overflow: auto;\n text-overflow: unset;\n padding: 2px;\n}\n.zd-dropdown .zd-dropdown-component {\n padding: 6px 14px;\n border-radius: var(--border);\n}\n.zd-dropdown-hover:hover {\n background-color: var(--v-grey-lighten5);\n}\n.zd-dropdown-cursor {\n cursor: var(--cursor);\n}\n.zd-dropdown-menu {\n margin: 0 !important;\n padding: 0 !important;\n box-shadow: var(--shadow-8);\n}", map: undefined, media: undefined });
43513
+ inject("data-v-289939c3_0", { source: ".zd-dropdown {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n color: var(--zd-font-color);\n height: auto;\n line-height: unset;\n white-space: unset;\n overflow: auto;\n text-overflow: unset;\n padding: 2px;\n}\n.zd-dropdown .zd-dropdown-component {\n padding: 6px 14px;\n border-radius: var(--border);\n}\n.zd-dropdown-hover:hover {\n background-color: var(--v-grey-lighten5);\n}\n.zd-dropdown-cursor {\n cursor: var(--cursor);\n}\n.zd-dropdown-menu {\n margin: 0 !important;\n padding: 0 !important;\n box-shadow: var(--shadow-8);\n}", map: undefined, media: undefined });
43471
43514
 
43472
43515
  };
43473
43516
  /* scoped */
@@ -44735,6 +44778,7 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
44735
44778
  constructor() {
44736
44779
  super(...arguments);
44737
44780
  this.instanceType = Grid;
44781
+ this.allselectedState = false;
44738
44782
  this.resizeX = 0;
44739
44783
  this.resizeWidth = 0;
44740
44784
  this.resizeTableWidth = 0;
@@ -44756,6 +44800,26 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
44756
44800
  this.destroyDragColumns();
44757
44801
  }
44758
44802
  }
44803
+ change(value) {
44804
+ if (value && this.instance.selectable) {
44805
+ setTimeout(() => {
44806
+ this.$el.querySelector('.column').colSpan = this.instance.columns.length + 1;
44807
+ }, 0);
44808
+ }
44809
+ }
44810
+ updateStates() {
44811
+ setTimeout(() => {
44812
+ this.allselectedState = this.instance.datasource.data.every((row) => {
44813
+ if (this.instance.callDisableSelection(row))
44814
+ return true;
44815
+ return this.instance.selectedRows.some((item) => {
44816
+ const key = this.instance.datasource.uniqueKey;
44817
+ const result = item[key] === row[key];
44818
+ return result;
44819
+ });
44820
+ });
44821
+ }, 0);
44822
+ }
44759
44823
  mounted() {
44760
44824
  this.setHeight();
44761
44825
  if (this.instance.dragColumns) {
@@ -44823,15 +44887,20 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
44823
44887
  });
44824
44888
  });
44825
44889
  }
44826
- calcWidth(column, width) {
44827
- if ((width === null || width === void 0 ? void 0 : width.indexOf('%')) !== -1 && this.$el) {
44890
+ parseWidth(width) {
44891
+ if (width && width.indexOf('%') !== -1 && this.$el) {
44828
44892
  const percent = Number(width === null || width === void 0 ? void 0 : width.replace('%', '')) / 100;
44829
44893
  const tableWidth = this.$el.clientWidth;
44830
- return `${Math
44831
- .max(this.minimumColumnWidth(column), Math
44832
- .trunc(Number(tableWidth) * percent))}px`;
44894
+ const pxWidth = Number(tableWidth) * percent;
44895
+ return pxWidth;
44833
44896
  }
44834
- return width || '';
44897
+ return Number(width === null || width === void 0 ? void 0 : width.replace('px', ''));
44898
+ }
44899
+ calcWidth(column, width) {
44900
+ const min = Math.max(this.minimumColumnWidth(column), this.parseWidth(column.minWidth) || 0);
44901
+ const max = this.parseWidth(column.maxWidth);
44902
+ const pxWidth = this.parseWidth(width);
44903
+ return `${Math.max(min, Math.min(Math.trunc(pxWidth), max || Infinity))}px`;
44835
44904
  }
44836
44905
  sortColumns(event) {
44837
44906
  const { originalEvent } = event;
@@ -44922,21 +44991,26 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
44922
44991
  : MIN_WIDTH_WITH_SORTABLE_FALSE;
44923
44992
  }
44924
44993
  resizeMouseMoveHandler(event) {
44994
+ var _a, _b;
44925
44995
  // Determine how far the mouse has been moved
44926
44996
  const dx = event.clientX - this.resizeX;
44927
- const minimumColumnWidth = this.minimumColumnWidth(this.resizeColumn);
44928
- const width = Math.max(minimumColumnWidth, this.resizeWidth + dx);
44997
+ const min = Math.max(this.minimumColumnWidth(this.resizeColumn), this.parseWidth((_a = this.resizeColumn) === null || _a === void 0 ? void 0 : _a.minWidth) || 0);
44998
+ const max = this.parseWidth((_b = this.resizeColumn) === null || _b === void 0 ? void 0 : _b.maxWidth) || Infinity;
44999
+ const newWidth = this.resizeWidth + dx;
45000
+ const width = Math.max(min, Math.min(newWidth, max));
44929
45001
  if (this.resizeColumn) {
44930
45002
  // Update the width of column
44931
45003
  this.resizeColumn.width = `${width}px`;
44932
- this.resizeColumn.maxWidth = this.resizeColumn.width;
44933
45004
  }
44934
- if (this.resizeWidth + dx >= minimumColumnWidth) {
45005
+ if (newWidth >= max) {
45006
+ return;
45007
+ }
45008
+ if (newWidth >= min) {
44935
45009
  // Update the width of the table
44936
45010
  this.resizeTableElement.style.width = `${this.resizeTableWidth + dx}px`;
44937
45011
  }
44938
45012
  else {
44939
- this.resizeTableElement.style.width = `${this.resizeTableWidth - this.resizeWidth + minimumColumnWidth}px`;
45013
+ this.resizeTableElement.style.width = `${this.resizeTableWidth - this.resizeWidth + min}px`;
44940
45014
  }
44941
45015
  }
44942
45016
  resizeMouseUpHandler(event) {
@@ -44975,6 +45049,7 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
44975
45049
  }
44976
45050
  selectAllClick(isSelected, event) {
44977
45051
  this.$nextTick(() => {
45052
+ this.instance.selectAll(isSelected);
44978
45053
  this.instance.selectAllClick(isSelected, event, this.$el);
44979
45054
  });
44980
45055
  }
@@ -45265,6 +45340,18 @@ __decorate([
45265
45340
  __metadata("design:paramtypes", [Boolean]),
45266
45341
  __metadata("design:returntype", void 0)
45267
45342
  ], ZdGrid.prototype, "update", null);
45343
+ __decorate([
45344
+ Watch('instance.datasource.loading'),
45345
+ __metadata("design:type", Function),
45346
+ __metadata("design:paramtypes", [Boolean]),
45347
+ __metadata("design:returntype", void 0)
45348
+ ], ZdGrid.prototype, "change", null);
45349
+ __decorate([
45350
+ Watch('instance.selectedRows'),
45351
+ __metadata("design:type", Function),
45352
+ __metadata("design:paramtypes", []),
45353
+ __metadata("design:returntype", void 0)
45354
+ ], ZdGrid.prototype, "updateStates", null);
45268
45355
  ZdGrid = __decorate([
45269
45356
  Component$2
45270
45357
  ], ZdGrid);
@@ -45360,7 +45447,7 @@ var __vue_render__$X = function () {
45360
45447
  key: "header",
45361
45448
  fn: function (ref) {
45362
45449
  var props = ref.props;
45363
- var on = ref.on;
45450
+ ref.on;
45364
45451
  return [
45365
45452
  _c("thead", { staticClass: "zd-grid-table-header" }, [
45366
45453
  _c(
@@ -45387,20 +45474,18 @@ var __vue_render__$X = function () {
45387
45474
  "indeterminate-icon": _vm.$getIcon(
45388
45475
  "checkboxIndeterminate"
45389
45476
  ),
45390
- "input-value": props.everyItem,
45477
+ "input-value": _vm.allselectedState,
45391
45478
  indeterminate:
45392
- !props.everyItem && props.someItems,
45479
+ !_vm.allselectedState &&
45480
+ props.someItems,
45393
45481
  },
45394
45482
  on: {
45395
45483
  click: function ($event) {
45396
45484
  $event.stopPropagation();
45397
- on["toggle-select-all"](
45398
- !props.everyItem
45399
- );
45400
- _vm.selectAllClick(
45401
- !props.everyItem,
45485
+ return _vm.selectAllClick(
45486
+ !_vm.allselectedState,
45402
45487
  $event
45403
- );
45488
+ )
45404
45489
  },
45405
45490
  },
45406
45491
  })
@@ -45439,7 +45524,9 @@ var __vue_render__$X = function () {
45439
45524
  width:
45440
45525
  _vm.calcWidth(
45441
45526
  column,
45442
- column.maxWidth || column.minWidth
45527
+ column.width ||
45528
+ column.maxWidth ||
45529
+ column.minWidth
45443
45530
  ) || "unset",
45444
45531
  },
45445
45532
  attrs: {
@@ -45457,7 +45544,10 @@ var __vue_render__$X = function () {
45457
45544
  width:
45458
45545
  _vm.calcWidth(
45459
45546
  column,
45460
- column.maxWidth || column.minWidth
45547
+ column.width ||
45548
+ column.maxWidth ||
45549
+ column.minWidth,
45550
+ true
45461
45551
  ) || "unset",
45462
45552
  color:
45463
45553
  _vm.instance.headerCellTextColor,
@@ -45877,17 +45967,20 @@ var __vue_render__$X = function () {
45877
45967
  width:
45878
45968
  _vm.calcWidth(
45879
45969
  column,
45880
- column.width
45970
+ column.width,
45971
+ true
45881
45972
  ) || "unset",
45882
45973
  "min-width":
45883
45974
  _vm.calcWidth(
45884
45975
  column,
45885
- column.minWidth
45976
+ column.minWidth,
45977
+ true
45886
45978
  ) || "unset",
45887
45979
  "max-width":
45888
45980
  _vm.calcWidth(
45889
45981
  column,
45890
- column.maxWidth
45982
+ column.maxWidth,
45983
+ true
45891
45984
  ) || "unset",
45892
45985
  },
45893
45986
  on: {
@@ -46074,7 +46167,7 @@ __vue_render__$X._withStripped = true;
46074
46167
  /* style */
46075
46168
  const __vue_inject_styles__$X = function (inject) {
46076
46169
  if (!inject) return
46077
- inject("data-v-5e41fd76_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined });
46170
+ inject("data-v-c13aa836_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined });
46078
46171
 
46079
46172
  };
46080
46173
  /* scoped */
@@ -46110,6 +46203,7 @@ let ZdGridEditable = class ZdGridEditable extends ZdGrid$1 {
46110
46203
  super(...arguments);
46111
46204
  this.instanceType = GridEditable;
46112
46205
  this.inputToFocus = '';
46206
+ this.isTrVisible = false;
46113
46207
  this.navigationKeyMapping = {
46114
46208
  enter: {
46115
46209
  event: this.navigateDown.bind(this),
@@ -46157,24 +46251,40 @@ let ZdGridEditable = class ZdGridEditable extends ZdGrid$1 {
46157
46251
  }
46158
46252
  }
46159
46253
  getColWidth(col) {
46160
- this.$nextTick(() => {
46161
- const element = this.$el.querySelector(`.column-th-${col.name}-${this.instance.name}`);
46162
- if (!element) {
46163
- return;
46164
- }
46165
- if (col.maxWidth) {
46166
- element.style.width = this.calcWidth(col, col.maxWidth || '');
46167
- }
46168
- else if (col.minWidth) {
46169
- element.style.width = this.calcWidth(col, col.minWidth || '');
46170
- }
46171
- else {
46172
- element.style.width = `${element.clientWidth}px`;
46173
- }
46174
- });
46254
+ if (this.isTrVisible) {
46255
+ this.$nextTick(() => {
46256
+ const element = this.$el.querySelector(`.column-th-${col.name}-${this.instance.name}`);
46257
+ if (!element) {
46258
+ return;
46259
+ }
46260
+ if (col.width) {
46261
+ element.style.width = this.calcWidth(col, col.width || '');
46262
+ }
46263
+ else if (col.maxWidth) {
46264
+ element.style.width = this.calcWidth(col, col.maxWidth || '');
46265
+ }
46266
+ else if (col.minWidth) {
46267
+ element.style.width = this.calcWidth(col, col.minWidth || '');
46268
+ }
46269
+ else {
46270
+ element.style.width = `${element.clientWidth}px`;
46271
+ }
46272
+ });
46273
+ }
46175
46274
  return true;
46176
46275
  }
46276
+ registerOnVisible() {
46277
+ const headerRow = this.$el.querySelector('thead > tr');
46278
+ if (!headerRow)
46279
+ return;
46280
+ const obs = this.$onVisible(headerRow, () => {
46281
+ this.instance.columns.forEach(this.getColWidth);
46282
+ this.isTrVisible = true;
46283
+ obs.disconnect();
46284
+ }, this.$el);
46285
+ }
46177
46286
  mounted() {
46287
+ this.registerOnVisible();
46178
46288
  KeyMap.bind(this.navigationKeyMapping, this.instance, this.$el);
46179
46289
  }
46180
46290
  beforeDestroy() {
@@ -46339,7 +46449,7 @@ var __vue_render__$W = function () {
46339
46449
  key: "header",
46340
46450
  fn: function (ref) {
46341
46451
  var props = ref.props;
46342
- var on = ref.on;
46452
+ ref.on;
46343
46453
  return [
46344
46454
  _c("thead", { staticClass: "zd-grid-table-header" }, [
46345
46455
  _c(
@@ -46367,20 +46477,18 @@ var __vue_render__$W = function () {
46367
46477
  "indeterminate-icon": _vm.$getIcon(
46368
46478
  "checkboxIndeterminate"
46369
46479
  ),
46370
- "input-value": props.everyItem,
46480
+ "input-value": _vm.allselectedState,
46371
46481
  indeterminate:
46372
- !props.everyItem && props.someItems,
46482
+ !_vm.allselectedState &&
46483
+ props.someItems,
46373
46484
  },
46374
46485
  on: {
46375
46486
  click: function ($event) {
46376
46487
  $event.stopPropagation();
46377
- on["toggle-select-all"](
46378
- !props.everyItem
46379
- );
46380
- _vm.selectAllClick(
46381
- !props.everyItem,
46488
+ return _vm.selectAllClick(
46489
+ !_vm.allselectedState,
46382
46490
  $event
46383
- );
46491
+ )
46384
46492
  },
46385
46493
  },
46386
46494
  })
@@ -46425,7 +46533,9 @@ var __vue_render__$W = function () {
46425
46533
  width:
46426
46534
  _vm.calcWidth(
46427
46535
  column,
46428
- column.maxWidth || column.minWidth
46536
+ column.width ||
46537
+ column.maxWidth ||
46538
+ column.minWidth
46429
46539
  ) || "unset",
46430
46540
  },
46431
46541
  attrs: { index: index },
@@ -46439,7 +46549,9 @@ var __vue_render__$W = function () {
46439
46549
  width:
46440
46550
  _vm.calcWidth(
46441
46551
  column,
46442
- column.maxWidth || column.minWidth
46552
+ column.width ||
46553
+ column.maxWidth ||
46554
+ column.minWidth
46443
46555
  ) || "unset",
46444
46556
  },
46445
46557
  },
@@ -46880,17 +46992,20 @@ var __vue_render__$W = function () {
46880
46992
  _vm.calcWidth(
46881
46993
  column,
46882
46994
  column.maxWidth ||
46883
- column.minWidth
46995
+ column.minWidth,
46996
+ true
46884
46997
  ) || "unset",
46885
46998
  "min-width":
46886
46999
  _vm.calcWidth(
46887
47000
  column,
46888
- column.minWidth
47001
+ column.minWidth,
47002
+ true
46889
47003
  ) || "unset",
46890
47004
  "max-width":
46891
47005
  _vm.calcWidth(
46892
47006
  column,
46893
- column.maxWidth
47007
+ column.maxWidth,
47008
+ true
46894
47009
  ) || "unset",
46895
47010
  },
46896
47011
  },
@@ -47030,17 +47145,20 @@ var __vue_render__$W = function () {
47030
47145
  _vm.calcWidth(
47031
47146
  column,
47032
47147
  column.maxWidth ||
47033
- column.minWidth
47148
+ column.minWidth,
47149
+ true
47034
47150
  ) || "unset",
47035
47151
  "min-width":
47036
47152
  _vm.calcWidth(
47037
47153
  column,
47038
- column.minWidth
47154
+ column.minWidth,
47155
+ true
47039
47156
  ) || "unset",
47040
47157
  "max-width":
47041
47158
  _vm.calcWidth(
47042
47159
  column,
47043
- column.maxWidth
47160
+ column.maxWidth,
47161
+ true
47044
47162
  ) || "unset",
47045
47163
  },
47046
47164
  on: {
@@ -47229,8 +47347,8 @@ __vue_render__$W._withStripped = true;
47229
47347
  /* style */
47230
47348
  const __vue_inject_styles__$W = function (inject) {
47231
47349
  if (!inject) return
47232
- inject("data-v-3833beae_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
47233
- ,inject("data-v-3833beae_1", { source: ".zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable.text-right .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable.text-right .zd-table-cell-inline-edit {\n justify-content: flex-end;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable.text-center .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable.text-center .zd-table-cell-inline-edit {\n justify-content: center;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit {\n display: flex;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon {\n display: flex;\n font-size: 18px;\n margin-right: var(--spacing-1);\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text {\n padding: 0 8px;\n position: relative;\n display: block;\n height: 20px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n content: \"\";\n position: absolute;\n width: 1px;\n height: var(--spacing-1);\n bottom: 0px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before {\n left: 0;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n right: 0px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable {\n cursor: pointer;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable {\n border-bottom: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:after {\n border-left: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot {\n height: 22px;\n}\n.zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot input, .zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot .v-select__selections {\n height: 22px;\n max-height: 22px;\n}", map: undefined, media: undefined });
47350
+ inject("data-v-a2a78194_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
47351
+ ,inject("data-v-a2a78194_1", { source: ".zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable.text-right .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable.text-right .zd-table-cell-inline-edit {\n justify-content: flex-end;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable.text-center .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable.text-center .zd-table-cell-inline-edit {\n justify-content: center;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit {\n display: flex;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon {\n display: flex;\n font-size: 18px;\n margin-right: var(--spacing-1);\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text {\n padding: 0 8px;\n position: relative;\n display: block;\n height: 20px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n content: \"\";\n position: absolute;\n width: 1px;\n height: var(--spacing-1);\n bottom: 0px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before {\n left: 0;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n right: 0px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable {\n cursor: pointer;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable {\n border-bottom: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:after {\n border-left: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot {\n height: 22px;\n}\n.zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot input, .zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot .v-select__selections {\n height: 22px;\n max-height: 22px;\n}", map: undefined, media: undefined });
47234
47352
 
47235
47353
  };
47236
47354
  /* scoped */
@@ -48752,11 +48870,11 @@ __vue_render__$N._withStripped = true;
48752
48870
  /* style */
48753
48871
  const __vue_inject_styles__$N = function (inject) {
48754
48872
  if (!inject) return
48755
- inject("data-v-770adb91_0", { source: ".zd-iterable-component-render[data-v-770adb91] {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n -webkit-box-flex: 1;\n flex: 1 1 auto;\n}\n.zd-iterable-component-render .error--text[data-v-770adb91],\n.zd-iterable-component-render .no--data[data-v-770adb91] {\n text-align: center;\n width: 100%;\n font-size: 14px;\n}\n.zd-iterable-component-render .no--data[data-v-770adb91] {\n color: rgba(0, 0, 0, 0.38);\n}\n.zd-iterable-component-render .zd-iterable-toolbar[data-v-770adb91] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 16px;\n align-items: center;\n width: 100%;\n}\n.zd-iterable-component-render .zd-iterable-footer[data-v-770adb91] {\n padding: 5px 0;\n display: flex;\n width: 100%;\n}", map: undefined, media: undefined });
48873
+ inject("data-v-425f0852_0", { source: ".zd-iterable-component-render[data-v-425f0852] {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n -webkit-box-flex: 1;\n flex: 1 1 auto;\n}\n.zd-iterable-component-render .error--text[data-v-425f0852],\n.zd-iterable-component-render .no--data[data-v-425f0852] {\n text-align: center;\n width: 100%;\n font-size: 14px;\n}\n.zd-iterable-component-render .no--data[data-v-425f0852] {\n color: rgba(0, 0, 0, 0.38);\n}\n.zd-iterable-component-render .zd-iterable-toolbar[data-v-425f0852] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 16px;\n align-items: center;\n width: 100%;\n}\n.zd-iterable-component-render .zd-iterable-footer[data-v-425f0852] {\n padding: 5px 0;\n display: flex;\n width: 100%;\n}", map: undefined, media: undefined });
48756
48874
 
48757
48875
  };
48758
48876
  /* scoped */
48759
- const __vue_scope_id__$N = "data-v-770adb91";
48877
+ const __vue_scope_id__$N = "data-v-425f0852";
48760
48878
  /* module identifier */
48761
48879
  const __vue_module_identifier__$N = undefined;
48762
48880
  /* functional template */
@@ -50712,6 +50830,10 @@ __decorate([
50712
50830
  PropWatch({ type: String, default: '' }),
50713
50831
  __metadata("design:type", String)
50714
50832
  ], ZdLogin.prototype, "poweredByImageCard", void 0);
50833
+ __decorate([
50834
+ PropWatch({ type: [Boolean, String], default: false }),
50835
+ __metadata("design:type", Boolean)
50836
+ ], ZdLogin.prototype, "flatForm", void 0);
50715
50837
  __decorate([
50716
50838
  Prop({ type: Array, default: () => [] }),
50717
50839
  __metadata("design:type", Array)
@@ -50754,13 +50876,25 @@ var __vue_render__$C = function () {
50754
50876
  "position-" + _vm.instance.layout,
50755
50877
  "zd-login-content",
50756
50878
  ],
50757
- style: "background: " + _vm.instance.backgroundStyle + ";",
50879
+ style: {
50880
+ background:
50881
+ !_vm.instance.flatForm || _vm.instance.layout === "center"
50882
+ ? _vm.instance.backgroundStyle
50883
+ : "",
50884
+ "flex-direction":
50885
+ _vm.instance.flatForm && _vm.instance.layout === "right"
50886
+ ? "row-reverse"
50887
+ : "row",
50888
+ },
50758
50889
  },
50759
50890
  [
50760
50891
  _c(
50761
50892
  "v-card",
50762
50893
  {
50763
- staticClass: "zd-login-card",
50894
+ class: [
50895
+ "zd-login-card",
50896
+ _vm.instance.flatForm ? "zd-login-flat-card" : "",
50897
+ ],
50764
50898
  attrs: {
50765
50899
  width: _vm.instance.cardWidth,
50766
50900
  dark: _vm.instance.dark,
@@ -50789,7 +50923,7 @@ var __vue_render__$C = function () {
50789
50923
  {
50790
50924
  key: index,
50791
50925
  tag: "component",
50792
- staticClass: "zd-login-card-content",
50926
+ class: ["zd-login-card-content"],
50793
50927
  attrs: { parent: _vm.instance },
50794
50928
  },
50795
50929
  "component",
@@ -50865,6 +50999,20 @@ var __vue_render__$C = function () {
50865
50999
  attrs: { src: _vm.instance.poweredByImage },
50866
51000
  })
50867
51001
  : _vm._e(),
51002
+ _vm._v(" "),
51003
+ _vm.instance.backgroundStyle &&
51004
+ _vm.instance.flatForm &&
51005
+ _vm.instance.layout !== "center"
51006
+ ? _c("div", {
51007
+ class: ["background-div"],
51008
+ style: [
51009
+ {
51010
+ width: "calc(100% - " + _vm.instance.cardWidth + ")",
51011
+ background: _vm.instance.backgroundStyle,
51012
+ },
51013
+ ],
51014
+ })
51015
+ : _vm._e(),
50868
51016
  ],
50869
51017
  1
50870
51018
  ),
@@ -50877,7 +51025,7 @@ __vue_render__$C._withStripped = true;
50877
51025
  /* style */
50878
51026
  const __vue_inject_styles__$C = function (inject) {
50879
51027
  if (!inject) return
50880
- inject("data-v-557ec43a_0", { source: ".zd-login {\n height: 100vh;\n}\n.zd-login .zd-login-content {\n height: 100%;\n background-size: cover !important;\n}\n@media screen and (max-width: 730px) {\n.zd-login div.zd-login-card {\n border-radius: unset;\n width: 100% !important;\n height: 90%;\n}\n.zd-login .flex {\n height: 100%;\n}\n}\n@media screen and (max-width: 960px) {\n.zd-login .zd-login-powered-by {\n display: none;\n}\n.zd-login .zd-login-powered-by-card {\n display: block;\n}\n}\n.zd-login .zd-login-button {\n width: 100%;\n}\n.zd-login .zd-login-powered-by-card-always-visible {\n display: block !important;\n}\n.zd-login .v-card {\n box-shadow: none;\n margin: 20px;\n}\n.zd-login .position-left {\n justify-content: flex-start;\n}\n.zd-login .position-left .zd-login-powered-by {\n position: absolute;\n bottom: 48px;\n right: 48px;\n}\n.zd-login .position-left .v-sheet {\n border-radius: 0px;\n}\n.zd-login .position-right {\n width: unset;\n justify-content: flex-end;\n}\n.zd-login .position-right .zd-login-powered-by {\n position: absolute;\n bottom: 48px;\n left: 48px;\n}\n.zd-login .position-right .v-sheet {\n border-radius: 0px;\n}\n.zd-login .position-center {\n justify-content: center;\n}\n.zd-login .position-center .zd-login-powered-by {\n position: absolute;\n bottom: 48px;\n left: 48px;\n}\n.zd-login .zd-login-powered-by-card {\n padding: 10px;\n display: none;\n margin-left: auto;\n margin-right: auto;\n}\n.zd-login-card {\n height: 90%;\n padding: 40px;\n background-color: #fff;\n}\n.zd-login-card .zd-login-message {\n font-size: var(--zd-font-headline-size);\n font-weight: var(--zd-font-headline-weight);\n color: var(--zd-font-default-color);\n line-height: 24px;\n margin-bottom: 20px;\n}\n.zd-login-card .zd-login-logo {\n margin-bottom: 20px;\n}\n.zd-login-card .zd-login-toolbar .v-card__title {\n padding: 0;\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n}\n.zd-login-card .zd-login-card-actions {\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n margin-top: 20px;\n margin-bottom: 20px;\n}\n.zd-login-card .zd-login-sign-in {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top: solid var(--regular) #f5f5f5;\n padding-top: 10px;\n text-align: center;\n font-size: var(--zd-font-body1-size);\n}\n.zd-login-card .zd-login-social-buttons {\n padding: 10px;\n}\n.zd-login-card .zd-login-social-buttons > img {\n border: solid var(--regular) #e0e0e0;\n border-radius: 50%;\n vertical-align: top;\n position: relative;\n cursor: pointer;\n align-items: center;\n align-content: center;\n}", map: undefined, media: undefined });
51028
+ inject("data-v-2045fd32_0", { source: ".zd-login {\n height: 100vh;\n}\n.zd-login .zd-login-content {\n height: 100%;\n background-size: cover !important;\n}\n.zd-login .zd-login-card {\n z-index: 1;\n}\n.zd-login .zd-login-flat-card {\n margin: 0px !important;\n height: 100%;\n border-radius: 0px !important;\n}\n.zd-login .zd-login-background-image {\n z-index: 0;\n}\n.zd-login .background-div {\n background-position-x: left !important;\n background-size: cover !important;\n height: 100%;\n}\n.zd-login .zd-login-powered-by {\n z-index: 1;\n}\n.zd-login .zd-login-powered-by-card {\n z-index: 1;\n}\n@media screen and (max-width: 730px) {\n.zd-login div.zd-login-card {\n border-radius: unset;\n width: 100% !important;\n height: 90%;\n}\n.zd-login .zd-login-flat-card {\n margin: 0px !important;\n height: 100% !important;\n border-radius: 0px !important;\n}\n.zd-login .flex {\n height: 100%;\n}\n.zd-login .background-div {\n position: absolute;\n}\n}\n@media screen and (max-width: 960px) {\n.zd-login .zd-login-powered-by {\n display: none;\n}\n.zd-login .zd-login-powered-by-card {\n display: block;\n}\n}\n.zd-login .zd-login-button {\n width: 100%;\n}\n.zd-login .zd-login-powered-by-card-always-visible {\n display: block !important;\n}\n.zd-login .v-card {\n box-shadow: none;\n margin: 20px;\n}\n.zd-login .position-left {\n justify-content: flex-start;\n}\n.zd-login .position-left .zd-login-powered-by {\n position: absolute;\n bottom: 48px;\n right: 48px;\n}\n.zd-login .position-left .v-sheet {\n border-radius: 0px;\n}\n.zd-login .position-left .zd-login-background-image {\n position: absolute;\n right: 0px;\n height: 100%;\n}\n.zd-login .position-right {\n width: unset;\n justify-content: flex-end;\n}\n.zd-login .position-right .zd-login-powered-by {\n position: absolute;\n bottom: 48px;\n left: 48px;\n}\n.zd-login .position-right .v-sheet {\n border-radius: 0px;\n}\n.zd-login .position-right .zd-login-background-image {\n position: absolute;\n left: 0px;\n height: 100%;\n}\n.zd-login .position-center {\n justify-content: center;\n}\n.zd-login .position-center .zd-login-powered-by {\n position: absolute;\n bottom: 48px;\n left: 48px;\n}\n.zd-login .position-center .backgroud-div {\n position: absolute !important;\n}\n.zd-login .position-center .zd-login-background-image {\n position: absolute;\n height: 100%;\n}\n.zd-login .zd-login-powered-by-card {\n padding: 10px;\n display: none;\n margin-left: auto;\n margin-right: auto;\n}\n.zd-login-card {\n height: 90%;\n padding: 40px;\n background-color: #fff;\n}\n.zd-login-card .zd-login-message {\n font-size: var(--zd-font-headline-size);\n font-weight: var(--zd-font-headline-weight);\n color: var(--zd-font-default-color);\n line-height: 24px;\n margin-bottom: 20px;\n}\n.zd-login-card .zd-login-logo {\n margin-bottom: 20px;\n}\n.zd-login-card .zd-login-toolbar .v-card__title {\n padding: 0;\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n}\n.zd-login-card .zd-login-card-actions {\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n margin-top: 20px;\n margin-bottom: 20px;\n}\n.zd-login-card .zd-login-sign-in {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top: solid var(--regular) #f5f5f5;\n padding-top: 10px;\n text-align: center;\n font-size: var(--zd-font-body1-size);\n}\n.zd-login-card .zd-login-social-buttons {\n padding: 10px;\n}\n.zd-login-card .zd-login-social-buttons > img {\n border: solid var(--regular) #e0e0e0;\n border-radius: 50%;\n vertical-align: top;\n position: relative;\n cursor: pointer;\n align-items: center;\n align-content: center;\n}", map: undefined, media: undefined });
50881
51029
 
50882
51030
  };
50883
51031
  /* scoped */
@@ -56946,6 +57094,16 @@ let ZdTooltip = class ZdTooltip extends ZdComponentRender$1 {
56946
57094
  super(...arguments);
56947
57095
  this.instanceType = Tooltip;
56948
57096
  }
57097
+ getActivator() {
57098
+ const { tooltip } = this.$refs;
57099
+ return (tooltip === null || tooltip === void 0 ? void 0 : tooltip.getActivator()) || null;
57100
+ }
57101
+ mounted() {
57102
+ const { tooltip } = this.$refs;
57103
+ if (tooltip) {
57104
+ tooltip.getActivator = (e) => getActivator(e, tooltip);
57105
+ }
57106
+ }
56949
57107
  };
56950
57108
  __decorate([
56951
57109
  PropWatch({ type: [Boolean, String], default: false }),
@@ -57012,6 +57170,7 @@ var __vue_render__$5 = function () {
57012
57170
  "v-tooltip",
57013
57171
  _vm._b(
57014
57172
  {
57173
+ ref: "tooltip",
57015
57174
  style: _vm.instance.cssStyle,
57016
57175
  attrs: { id: _vm.instance.name },
57017
57176
  scopedSlots: _vm._u(
@@ -57021,32 +57180,28 @@ var __vue_render__$5 = function () {
57021
57180
  fn: function (ref) {
57022
57181
  var dropdown = ref.on;
57023
57182
  return [
57024
- _c(
57025
- "div",
57026
- _vm._l(_vm.instance.children, function (child, index) {
57027
- return _c(
57028
- child.component,
57029
- _vm._b(
57030
- {
57031
- key: index,
57032
- tag: "component",
57033
- attrs: {
57034
- "dropdown-activator": Object.assign(
57035
- {},
57036
- _vm.$attrs["dropdown-activator"],
57037
- dropdown
57038
- ),
57039
- parent: _vm.instance.parent,
57040
- },
57183
+ _vm._l(_vm.instance.children, function (child, index) {
57184
+ return _c(
57185
+ child.component,
57186
+ _vm._b(
57187
+ {
57188
+ key: index,
57189
+ tag: "component",
57190
+ attrs: {
57191
+ "dropdown-activator": Object.assign(
57192
+ {},
57193
+ _vm.$attrs["dropdown-activator"],
57194
+ dropdown
57195
+ ),
57196
+ parent: _vm.instance.parent,
57041
57197
  },
57042
- "component",
57043
- child,
57044
- false
57045
- )
57198
+ },
57199
+ "component",
57200
+ child,
57201
+ false
57046
57202
  )
57047
- }),
57048
- 1
57049
- ),
57203
+ )
57204
+ }),
57050
57205
  _vm._v(" "),
57051
57206
  _vm._t("default"),
57052
57207
  ]
@@ -57085,7 +57240,7 @@ __vue_render__$5._withStripped = true;
57085
57240
  /* style */
57086
57241
  const __vue_inject_styles__$5 = function (inject) {
57087
57242
  if (!inject) return
57088
- inject("data-v-17e0820c_0", { source: ".v-tooltip__content {\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n}\n.v-tooltip__content.menuable__content__active {\n opacity: 0.9 !important;\n}", map: undefined, media: undefined });
57243
+ inject("data-v-766faea4_0", { source: ".v-tooltip__content {\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n}\n.v-tooltip__content.menuable__content__active {\n opacity: 0.9 !important;\n}", map: undefined, media: undefined });
57089
57244
 
57090
57245
  };
57091
57246
  /* scoped */
@@ -57335,6 +57490,7 @@ let ZdTree = class ZdTree extends ZdComponentRender$1 {
57335
57490
  this.beforeNodeState = {};
57336
57491
  }
57337
57492
  mounted() {
57493
+ this.setHeight();
57338
57494
  this.instance.setTree(this.$refs.tree);
57339
57495
  this.setAfterTitleMargin();
57340
57496
  this.nodeChange();
@@ -57350,6 +57506,15 @@ let ZdTree = class ZdTree extends ZdComponentRender$1 {
57350
57506
  onNodeDrop(nodes, position, event) {
57351
57507
  this.instance.nodeDrop(nodes, position, event, this.$el);
57352
57508
  }
57509
+ setHeight() {
57510
+ const { grid } = this.$refs;
57511
+ if (this.instance.height) {
57512
+ grid.$el.style.height = this.$formatSize(this.instance.height);
57513
+ }
57514
+ if (this.instance.maxHeight) {
57515
+ grid.$el.style.maxHeight = this.$formatSize(this.instance.maxHeight);
57516
+ }
57517
+ }
57353
57518
  onNodeSelect(nodes, event) {
57354
57519
  const prevSelectCount = Object.keys(this.beforeNodeState).length;
57355
57520
  this.beforeNodeState = {};
@@ -57476,6 +57641,14 @@ __decorate([
57476
57641
  Prop({ type: [Boolean, String], default: false }),
57477
57642
  __metadata("design:type", Boolean)
57478
57643
  ], ZdTree.prototype, "checkbox", void 0);
57644
+ __decorate([
57645
+ Prop({ type: [Number, String], default: '' }),
57646
+ __metadata("design:type", Object)
57647
+ ], ZdTree.prototype, "maxHeight", void 0);
57648
+ __decorate([
57649
+ Prop({ type: [Number, String], default: '' }),
57650
+ __metadata("design:type", Object)
57651
+ ], ZdTree.prototype, "height", void 0);
57479
57652
  __decorate([
57480
57653
  Prop({ type: [String, Number, Boolean], default: false }),
57481
57654
  __metadata("design:type", Object)
@@ -57521,15 +57694,28 @@ var __vue_render__$2 = function () {
57521
57694
  "zd-tree",
57522
57695
  { "theme--dark": _vm.$isDark(this) },
57523
57696
  { "theme--light": _vm.$isLight(this) },
57697
+ { "zd-tree-flex": _vm.instance.height || _vm.instance.maxHeight },
57524
57698
  ],
57525
- style: [_vm.cssColorVars].concat(_vm.$styleObject(_vm.instance.cssStyle)),
57699
+ style: [_vm.cssColorVars].concat(
57700
+ _vm.$styleObject(_vm.instance.cssStyle),
57701
+ [
57702
+ _vm.instance.height
57703
+ ? { height: _vm.$formatSize(_vm.instance.height) }
57704
+ : {},
57705
+ ],
57706
+ [
57707
+ _vm.instance.maxHeight
57708
+ ? { height: _vm.$formatSize(_vm.instance.maxHeight) }
57709
+ : {},
57710
+ ]
57711
+ ),
57526
57712
  attrs: { id: _vm.instance.name },
57527
57713
  },
57528
57714
  [
57529
57715
  _vm.instance.toolbarSlot.length && !_vm.$slots.toolbarSlot
57530
57716
  ? _c(
57531
57717
  "div",
57532
- { staticClass: "zd-mb-4" },
57718
+ { staticClass: "zd-mb-4 zd-tree-toolbar" },
57533
57719
  [
57534
57720
  _vm._l(_vm.instance.toolbarSlot, function (child, index) {
57535
57721
  return _c(
@@ -57553,238 +57739,247 @@ var __vue_render__$2 = function () {
57553
57739
  )
57554
57740
  : _vm._e(),
57555
57741
  _vm._v(" "),
57556
- _c("sl-vue-tree", {
57557
- ref: "tree",
57558
- attrs: {
57559
- allowMultiselect: _vm.instance.allowMultiSelect,
57560
- dark: _vm.instance.dark,
57561
- light: _vm.instance.light,
57562
- },
57563
- on: {
57564
- drop: _vm.onNodeDrop,
57565
- select: _vm.onNodeSelect,
57566
- nodeclick: _vm.onNodeClick,
57567
- nodedblclick: _vm.onNodeDblClick,
57568
- },
57569
- scopedSlots: _vm._u(
57570
- [
57571
- {
57572
- key: "title",
57573
- fn: function (ref) {
57574
- var node = ref.node;
57575
- return [
57576
- _c("span", { staticClass: "align" }),
57577
- _vm._v(" "),
57578
- _vm.instance.checkbox
57579
- ? _c("zd-tree-checkbox", {
57580
- attrs: {
57581
- disabled: _vm.instance.callDisableCheckbox(node),
57582
- node: _vm.instanceNode(node),
57583
- checkedField: _vm.instance.checkedField,
57584
- },
57585
- on: {
57586
- click: function ($event) {
57587
- return _vm.nodeCheck(node, $event)
57588
- },
57589
- },
57590
- })
57591
- : _vm._e(),
57592
- _vm._v(" "),
57593
- _c(
57594
- "span",
57595
- { staticClass: "item-icon" },
57596
- [
57597
- node.isLeaf && _vm.instance.itemIconName
57598
- ? _c(
57599
- "v-icon",
57600
- {
57601
- attrs: {
57602
- dark: _vm.instance.dark,
57603
- light: _vm.instance.light,
57742
+ _c(
57743
+ "div",
57744
+ { staticClass: "zd-tree-container" },
57745
+ [
57746
+ _c("sl-vue-tree", {
57747
+ ref: "tree",
57748
+ attrs: {
57749
+ allowMultiselect: _vm.instance.allowMultiSelect,
57750
+ dark: _vm.instance.dark,
57751
+ light: _vm.instance.light,
57752
+ },
57753
+ on: {
57754
+ drop: _vm.onNodeDrop,
57755
+ select: _vm.onNodeSelect,
57756
+ nodeclick: _vm.onNodeClick,
57757
+ nodedblclick: _vm.onNodeDblClick,
57758
+ },
57759
+ scopedSlots: _vm._u(
57760
+ [
57761
+ {
57762
+ key: "title",
57763
+ fn: function (ref) {
57764
+ var node = ref.node;
57765
+ return [
57766
+ _c("span", { staticClass: "align" }),
57767
+ _vm._v(" "),
57768
+ _vm.instance.checkbox
57769
+ ? _c("zd-tree-checkbox", {
57770
+ attrs: {
57771
+ disabled: _vm.instance.callDisableCheckbox(node),
57772
+ node: _vm.instanceNode(node),
57773
+ checkedField: _vm.instance.checkedField,
57774
+ },
57775
+ on: {
57776
+ click: function ($event) {
57777
+ return _vm.nodeCheck(node, $event)
57604
57778
  },
57605
57779
  },
57606
- [
57607
- _vm._v(
57608
- "\n " +
57609
- _vm._s(
57610
- _vm.$getIcon(_vm.instance.itemIconName)
57611
- ) +
57612
- "\n "
57613
- ),
57614
- ]
57615
- )
57780
+ })
57616
57781
  : _vm._e(),
57617
57782
  _vm._v(" "),
57618
- !node.isLeaf && _vm.instance.groupIconName
57619
- ? _c("v-icon", [
57620
- _vm._v(
57621
- _vm._s(_vm.$getIcon(_vm.instance.groupIconName)) +
57622
- "\n "
57623
- ),
57624
- ])
57625
- : _vm._e(),
57626
- ],
57627
- 1
57628
- ),
57629
- _vm._v(" "),
57630
- !_vm.$slots.titleSlot
57631
- ? [
57632
- _vm.instance.titleSlot.length === 0
57633
- ? _c(
57634
- "span",
57635
- {
57636
- class: [
57637
- "item-title",
57638
- { "has-children": node.children.length },
57639
- ],
57640
- },
57641
- [
57783
+ _c(
57784
+ "span",
57785
+ { staticClass: "item-icon" },
57786
+ [
57787
+ node.isLeaf && _vm.instance.itemIconName
57788
+ ? _c(
57789
+ "v-icon",
57790
+ {
57791
+ attrs: {
57792
+ dark: _vm.instance.dark,
57793
+ light: _vm.instance.light,
57794
+ },
57795
+ },
57796
+ [
57797
+ _vm._v(
57798
+ "\n " +
57799
+ _vm._s(
57800
+ _vm.$getIcon(_vm.instance.itemIconName)
57801
+ ) +
57802
+ "\n "
57803
+ ),
57804
+ ]
57805
+ )
57806
+ : _vm._e(),
57807
+ _vm._v(" "),
57808
+ !node.isLeaf && _vm.instance.groupIconName
57809
+ ? _c("v-icon", [
57642
57810
  _vm._v(
57643
- "\n " +
57644
- _vm._s(node.title) +
57645
- "\n "
57646
- ),
57647
- ]
57648
- )
57649
- : _c(
57650
- "span",
57651
- { staticClass: "zd-display-inline-flex" },
57652
- _vm._l(
57653
- _vm.instance.getSlotComponent(
57654
- _vm.instance.titleSlot,
57655
- node
57811
+ _vm._s(
57812
+ _vm.$getIcon(_vm.instance.groupIconName)
57813
+ ) + "\n "
57656
57814
  ),
57657
- function (comp, index) {
57658
- return _c(
57659
- comp.component,
57660
- _vm._b(
57661
- {
57662
- key: index,
57663
- tag: "component",
57664
- class: [
57665
- "item-title",
57815
+ ])
57816
+ : _vm._e(),
57817
+ ],
57818
+ 1
57819
+ ),
57820
+ _vm._v(" "),
57821
+ !_vm.$slots.titleSlot
57822
+ ? [
57823
+ _vm.instance.titleSlot.length === 0
57824
+ ? _c(
57825
+ "span",
57826
+ {
57827
+ class: [
57828
+ "item-title",
57829
+ { "has-children": node.children.length },
57830
+ ],
57831
+ },
57832
+ [
57833
+ _vm._v(
57834
+ "\n " +
57835
+ _vm._s(node.title) +
57836
+ "\n "
57837
+ ),
57838
+ ]
57839
+ )
57840
+ : _c(
57841
+ "span",
57842
+ { staticClass: "zd-display-inline-flex" },
57843
+ _vm._l(
57844
+ _vm.instance.getSlotComponent(
57845
+ _vm.instance.titleSlot,
57846
+ node
57847
+ ),
57848
+ function (comp, index) {
57849
+ return _c(
57850
+ comp.component,
57851
+ _vm._b(
57666
57852
  {
57667
- "has-children":
57668
- node.children.length,
57853
+ key: index,
57854
+ tag: "component",
57855
+ class: [
57856
+ "item-title",
57857
+ {
57858
+ "has-children":
57859
+ node.children.length,
57860
+ },
57861
+ ],
57669
57862
  },
57670
- ],
57671
- },
57672
- "component",
57673
- comp,
57674
- false
57675
- )
57676
- )
57677
- }
57678
- ),
57679
- 1
57680
- ),
57681
- ]
57682
- : _vm._e(),
57683
- _vm._v(" "),
57684
- _vm._t("titleSlot", null, { node: node }),
57685
- _vm._v(" "),
57686
- _c(
57687
- "zd-tree-after-title",
57688
- {
57689
- ref: node.pathStr,
57690
- attrs: {
57691
- afterTitleSlot: _vm.instance.getSlotComponent(
57692
- _vm.instance.afterTitleSlot,
57693
- node
57694
- )[0],
57695
- },
57696
- on: {
57697
- "hook:mounted": function ($event) {
57698
- return _vm.addObserver(node)
57699
- },
57700
- },
57701
- },
57702
- [_vm._t("afterTitleSlot", null, { node: node })],
57703
- 2
57704
- ),
57705
- ]
57706
- },
57707
- },
57708
- {
57709
- key: "toggle",
57710
- fn: function (ref) {
57711
- var node = ref.node;
57712
- return [
57713
- _c(
57714
- "span",
57715
- [
57716
- node.children.length &&
57717
- node.isExpanded &&
57718
- _vm.instance.openedIconName
57719
- ? _c(
57720
- "v-icon",
57721
- {
57722
- attrs: {
57723
- dark: _vm.instance.dark,
57724
- light: _vm.instance.light,
57725
- },
57726
- },
57727
- [
57728
- _vm._v(
57729
- _vm._s(
57730
- _vm.$getIcon(_vm.instance.openedIconName)
57731
- ) + "\n "
57732
- ),
57733
- ]
57734
- )
57863
+ "component",
57864
+ comp,
57865
+ false
57866
+ )
57867
+ )
57868
+ }
57869
+ ),
57870
+ 1
57871
+ ),
57872
+ ]
57735
57873
  : _vm._e(),
57736
57874
  _vm._v(" "),
57737
- node.children.length &&
57738
- !node.isExpanded &&
57739
- _vm.instance.closedIconName
57740
- ? _c(
57741
- "v-icon",
57742
- {
57743
- attrs: {
57744
- dark: _vm.instance.dark,
57745
- light: _vm.instance.light,
57746
- },
57875
+ _vm._t("titleSlot", null, { node: node }),
57876
+ _vm._v(" "),
57877
+ _c(
57878
+ "zd-tree-after-title",
57879
+ {
57880
+ ref: node.pathStr,
57881
+ attrs: {
57882
+ afterTitleSlot: _vm.instance.getSlotComponent(
57883
+ _vm.instance.afterTitleSlot,
57884
+ node
57885
+ )[0],
57886
+ },
57887
+ on: {
57888
+ "hook:mounted": function ($event) {
57889
+ return _vm.addObserver(node)
57747
57890
  },
57748
- [
57749
- _vm._v(
57750
- _vm._s(
57751
- _vm.$getIcon(_vm.instance.closedIconName)
57752
- ) + "\n "
57753
- ),
57754
- ]
57755
- )
57756
- : _vm._e(),
57757
- ],
57758
- 1
57759
- ),
57760
- ]
57761
- },
57762
- },
57763
- {
57764
- key: "draginfo",
57765
- fn: function () {
57766
- return [
57767
- _vm._v(
57768
- "\n " + _vm._s(_vm.selectedNodesTitle) + "\n "
57769
- ),
57770
- ]
57891
+ },
57892
+ },
57893
+ [_vm._t("afterTitleSlot", null, { node: node })],
57894
+ 2
57895
+ ),
57896
+ ]
57897
+ },
57898
+ },
57899
+ {
57900
+ key: "toggle",
57901
+ fn: function (ref) {
57902
+ var node = ref.node;
57903
+ return [
57904
+ _c(
57905
+ "span",
57906
+ [
57907
+ node.children.length &&
57908
+ node.isExpanded &&
57909
+ _vm.instance.openedIconName
57910
+ ? _c(
57911
+ "v-icon",
57912
+ {
57913
+ attrs: {
57914
+ dark: _vm.instance.dark,
57915
+ light: _vm.instance.light,
57916
+ },
57917
+ },
57918
+ [
57919
+ _vm._v(
57920
+ _vm._s(
57921
+ _vm.$getIcon(_vm.instance.openedIconName)
57922
+ ) + "\n "
57923
+ ),
57924
+ ]
57925
+ )
57926
+ : _vm._e(),
57927
+ _vm._v(" "),
57928
+ node.children.length &&
57929
+ !node.isExpanded &&
57930
+ _vm.instance.closedIconName
57931
+ ? _c(
57932
+ "v-icon",
57933
+ {
57934
+ attrs: {
57935
+ dark: _vm.instance.dark,
57936
+ light: _vm.instance.light,
57937
+ },
57938
+ },
57939
+ [
57940
+ _vm._v(
57941
+ _vm._s(
57942
+ _vm.$getIcon(_vm.instance.closedIconName)
57943
+ ) + "\n "
57944
+ ),
57945
+ ]
57946
+ )
57947
+ : _vm._e(),
57948
+ ],
57949
+ 1
57950
+ ),
57951
+ ]
57952
+ },
57953
+ },
57954
+ {
57955
+ key: "draginfo",
57956
+ fn: function () {
57957
+ return [
57958
+ _vm._v(
57959
+ "\n " +
57960
+ _vm._s(_vm.selectedNodesTitle) +
57961
+ "\n "
57962
+ ),
57963
+ ]
57964
+ },
57965
+ proxy: true,
57966
+ },
57967
+ ],
57968
+ null,
57969
+ true
57970
+ ),
57971
+ model: {
57972
+ value: _vm.instance.nodes,
57973
+ callback: function ($$v) {
57974
+ _vm.$set(_vm.instance, "nodes", $$v);
57771
57975
  },
57772
- proxy: true,
57976
+ expression: "instance.nodes",
57773
57977
  },
57774
- ],
57775
- null,
57776
- true
57777
- ),
57778
- model: {
57779
- value: _vm.instance.nodes,
57780
- callback: function ($$v) {
57781
- _vm.$set(_vm.instance, "nodes", $$v);
57782
- },
57783
- expression: "instance.nodes",
57784
- },
57785
- }),
57786
- ],
57787
- 1
57978
+ }),
57979
+ ],
57980
+ 1
57981
+ ),
57982
+ ]
57788
57983
  )
57789
57984
  };
57790
57985
  var __vue_staticRenderFns__$2 = [];
@@ -57793,7 +57988,7 @@ __vue_render__$2._withStripped = true;
57793
57988
  /* style */
57794
57989
  const __vue_inject_styles__$2 = function (inject) {
57795
57990
  if (!inject) return
57796
- inject("data-v-6a21eeb4_0", { source: ".zd-tree {\n color: var(--zd-font-color);\n font-size: var(--zd-font-body1-size);\n font-weight: normal;\n}\n.zd-tree.theme--light .sl-vue-tree-title {\n color: var(--zd-font-color);\n}\n.zd-tree.theme--light .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item:hover {\n background: #eee;\n}\n.zd-tree.theme--dark .sl-vue-tree-title {\n color: #fff;\n}\n.zd-tree.theme--dark .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item:hover {\n background: #616161;\n}\n.zd-tree .sl-vue-tree-title {\n display: flex;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node {\n padding-top: 3px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item {\n height: 30px;\n line-height: 30px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item {\n background-color: var(--current-row-color);\n color: var(--zd-font-color);\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item .sl-vue-tree-toggle .v-icon {\n color: var(--zd-font-color);\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-toggle span .v-icon {\n margin: 0px 1px 0px 1px;\n padding-bottom: 1.4px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-gap {\n width: 32px;\n}\n.zd-tree .sl-vue-tree-nodes-list .item-title.has-children {\n font-weight: 700;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align {\n padding-left: 26px;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align.is-clickable {\n cursor: pointer;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align.v-icon {\n padding-left: 4px;\n}\n.zd-tree .sl-vue-tree-node-item .zd-tree-checkbox {\n padding: 0px 3px 3px 0px;\n}", map: undefined, media: undefined });
57991
+ inject("data-v-61d810b1_0", { source: ".zd-tree {\n color: var(--zd-font-color);\n font-size: var(--zd-font-body1-size);\n font-weight: normal;\n}\n.zd-tree-toolbar {\n display: flex;\n}\n.zd-tree-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-tree-container {\n overflow: auto;\n}\n.zd-tree.theme--light .sl-vue-tree-title {\n color: var(--zd-font-color);\n}\n.zd-tree.theme--light .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item:hover {\n background: #eee;\n}\n.zd-tree.theme--dark .sl-vue-tree-title {\n color: #fff;\n}\n.zd-tree.theme--dark .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item:hover {\n background: #616161;\n}\n.zd-tree .sl-vue-tree-title {\n display: flex;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node {\n padding-top: 3px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item {\n height: 30px;\n line-height: 30px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item {\n background-color: var(--current-row-color);\n color: var(--zd-font-color);\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item .sl-vue-tree-toggle .v-icon {\n color: var(--zd-font-color);\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-toggle span .v-icon {\n margin: 0px 1px 0px 1px;\n padding-bottom: 1.4px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-gap {\n width: 32px;\n}\n.zd-tree .sl-vue-tree-nodes-list .item-title.has-children {\n font-weight: 700;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align {\n padding-left: 26px;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align.is-clickable {\n cursor: pointer;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align.v-icon {\n padding-left: 4px;\n}\n.zd-tree .sl-vue-tree-node-item .zd-tree-checkbox {\n padding: 0px 3px 3px 0px;\n}", map: undefined, media: undefined });
57797
57992
 
57798
57993
  };
57799
57994
  /* scoped */
@@ -57996,7 +58191,7 @@ var __vue_render__$1 = function () {
57996
58191
  key: "header",
57997
58192
  fn: function (ref) {
57998
58193
  var props = ref.props;
57999
- var on = ref.on;
58194
+ ref.on;
58000
58195
  return [
58001
58196
  _c("thead", { staticClass: "zd-grid-table-header" }, [
58002
58197
  _c(
@@ -58023,20 +58218,18 @@ var __vue_render__$1 = function () {
58023
58218
  "indeterminate-icon": _vm.$getIcon(
58024
58219
  "checkboxIndeterminate"
58025
58220
  ),
58026
- "input-value": props.everyItem,
58221
+ "input-value": _vm.allselectedState,
58027
58222
  indeterminate:
58028
- !props.everyItem && props.someItems,
58223
+ !_vm.allselectedState &&
58224
+ props.someItems,
58029
58225
  },
58030
58226
  on: {
58031
58227
  click: function ($event) {
58032
58228
  $event.stopPropagation();
58033
- on["toggle-select-all"](
58034
- !props.everyItem
58035
- );
58036
- _vm.selectAllClick(
58037
- !props.everyItem,
58229
+ return _vm.selectAllClick(
58230
+ !_vm.allselectedState,
58038
58231
  $event
58039
- );
58232
+ )
58040
58233
  },
58041
58234
  },
58042
58235
  })
@@ -58075,198 +58268,257 @@ var __vue_render__$1 = function () {
58075
58268
  width:
58076
58269
  _vm.calcWidth(
58077
58270
  column,
58078
- column.maxWidth
58079
- ) ||
58080
- _vm.calcWidth(
58081
- column,
58082
- column.minWidth
58083
- ) ||
58084
- "unset",
58271
+ column.width ||
58272
+ column.maxWidth ||
58273
+ column.minWidth
58274
+ ) || "unset",
58085
58275
  },
58086
58276
  attrs: { index: index },
58087
- on: {
58088
- click: function ($event) {
58089
- return _vm.instance.changeColumnOrder(
58090
- column
58091
- )
58092
- },
58093
- },
58094
58277
  },
58095
58278
  [
58096
- column.type !== "action"
58097
- ? [
58098
- column.sortable &&
58099
- column.align === "right"
58100
- ? _c(
58279
+ _c(
58280
+ "span",
58281
+ {
58282
+ staticClass: "zd-table-header-cell",
58283
+ style: {
58284
+ width:
58285
+ _vm.calcWidth(
58286
+ column,
58287
+ column.width ||
58288
+ column.maxWidth ||
58289
+ column.minWidth,
58290
+ true
58291
+ ) || "unset",
58292
+ color:
58293
+ _vm.instance.headerCellTextColor,
58294
+ },
58295
+ },
58296
+ [
58297
+ column.type !== "action"
58298
+ ? [
58299
+ column.sortable &&
58300
+ column.align === "right"
58301
+ ? _c(
58302
+ "span",
58303
+ {
58304
+ staticClass:
58305
+ "zd-table-cell-sort zd-table-cell-sort--left zd-mr-1",
58306
+ on: {
58307
+ click: function (
58308
+ $event
58309
+ ) {
58310
+ return _vm.instance.changeColumnOrder(
58311
+ column
58312
+ )
58313
+ },
58314
+ },
58315
+ },
58316
+ [
58317
+ column.sortable &&
58318
+ column.align === "right"
58319
+ ? _c(
58320
+ "v-icon",
58321
+ {
58322
+ staticClass:
58323
+ "zd-table-cell-sort-icon",
58324
+ attrs: {
58325
+ small: "",
58326
+ },
58327
+ },
58328
+ [
58329
+ _vm._v(
58330
+ "\n " +
58331
+ _vm._s(
58332
+ _vm.$getIcon(
58333
+ "chevronUp"
58334
+ )
58335
+ ) +
58336
+ "\n "
58337
+ ),
58338
+ ]
58339
+ )
58340
+ : _vm._e(),
58341
+ _vm._v(" "),
58342
+ _vm.instance.datasource.findOrderIndex(
58343
+ column.name
58344
+ ) >= 0
58345
+ ? _c(
58346
+ "span",
58347
+ {
58348
+ staticClass:
58349
+ "zd-table-cell-sort-order left",
58350
+ },
58351
+ [
58352
+ _vm._v(
58353
+ "\n " +
58354
+ _vm._s(
58355
+ _vm.instance.datasource.findOrderIndex(
58356
+ column.name
58357
+ ) + 1
58358
+ ) +
58359
+ "\n "
58360
+ ),
58361
+ ]
58362
+ )
58363
+ : _vm._e(),
58364
+ ],
58365
+ 1
58366
+ )
58367
+ : _vm._e(),
58368
+ _vm._v(" "),
58369
+ _c(
58101
58370
  "span",
58102
58371
  {
58103
- staticClass:
58104
- "zd-table-cell-sort",
58105
- },
58106
- [
58107
- column.sortable &&
58108
- column.align === "right"
58109
- ? _c(
58110
- "v-icon",
58111
- {
58112
- staticClass:
58113
- "zd-table-cell-sort-icon",
58114
- attrs: { small: "" },
58115
- },
58116
- [
58117
- _vm._v(
58118
- _vm._s(
58119
- _vm.$getIcon(
58120
- "chevronUp"
58121
- )
58122
- )
58123
- ),
58124
- ]
58372
+ class: [
58373
+ "zd-table-cell-name",
58374
+ {
58375
+ "overflow-hidden":
58376
+ column.overflow ===
58377
+ "hidden",
58378
+ "overflow-wrap":
58379
+ column.overflow ===
58380
+ "wrap",
58381
+ },
58382
+ !isNaN(column.overflow)
58383
+ ? "overflow-clamp overflow-clamp-" +
58384
+ column.overflow
58385
+ : "",
58386
+ ],
58387
+ on: {
58388
+ click: function ($event) {
58389
+ return _vm.instance.changeColumnOrder(
58390
+ column
58125
58391
  )
58126
- : _vm._e(),
58127
- _vm._v(" "),
58128
- _vm.instance.datasource.findOrderIndex(
58129
- column.name
58130
- ) >= 0
58131
- ? _c(
58132
- "span",
58133
- {
58134
- staticClass:
58135
- "zd-table-cell-sort-order left",
58136
- },
58137
- [
58138
- _vm._v(
58139
- _vm._s(
58140
- _vm.instance.datasource.findOrderIndex(
58141
- column.name
58142
- ) + 1
58143
- )
58144
- ),
58145
- ]
58392
+ },
58393
+ mouseenter: function (
58394
+ $event
58395
+ ) {
58396
+ return _vm.checkOverflow(
58397
+ $event
58146
58398
  )
58147
- : _vm._e(),
58148
- ],
58149
- 1
58150
- )
58151
- : _vm._e(),
58152
- _vm._v(" "),
58153
- _c(
58154
- "span",
58155
- {
58156
- class: [
58157
- "zd-table-cell-name",
58158
- {
58159
- "overflow-hidden":
58160
- column.overflow ===
58161
- "hidden",
58162
- "overflow-wrap":
58163
- column.overflow === "wrap",
58164
- },
58165
- !isNaN(column.overflow)
58166
- ? "overflow-clamp overflow-clamp-" +
58167
- column.overflow
58168
- : "",
58169
- ],
58170
- style: {
58171
- "min-width":
58172
- _vm.calcWidth(
58173
- column,
58174
- column.minWidth
58175
- ) || "unset",
58176
- "max-width":
58177
- _vm.calcWidth(
58178
- column,
58179
- column.maxWidth
58180
- ) || "unset",
58181
- },
58182
- on: {
58183
- mouseenter: function ($event) {
58184
- return _vm.checkOverflow(
58185
- $event
58186
- )
58187
- },
58188
- mouseleave: function ($event) {
58189
- return _vm.removeTooltip()
58399
+ },
58400
+ mouseleave: function (
58401
+ $event
58402
+ ) {
58403
+ return _vm.removeTooltip()
58404
+ },
58405
+ },
58190
58406
  },
58191
- },
58192
- },
58193
- [
58194
- _vm._v(
58195
- _vm._s(_vm.$t(column.label))
58407
+ [
58408
+ _vm._v(
58409
+ _vm._s(_vm.$t(column.label))
58410
+ ),
58411
+ ]
58196
58412
  ),
58413
+ _vm._v(" "),
58414
+ column.sortable &&
58415
+ column.align !== "right"
58416
+ ? _c(
58417
+ "span",
58418
+ {
58419
+ staticClass:
58420
+ "zd-table-cell-sort zd-table-cell-sort--right zd-ml-1",
58421
+ on: {
58422
+ click: function (
58423
+ $event
58424
+ ) {
58425
+ return _vm.instance.changeColumnOrder(
58426
+ column
58427
+ )
58428
+ },
58429
+ },
58430
+ },
58431
+ [
58432
+ column.sortable &&
58433
+ column.align !== "right"
58434
+ ? _c(
58435
+ "v-icon",
58436
+ {
58437
+ staticClass:
58438
+ "zd-table-cell-sort-icon",
58439
+ attrs: {
58440
+ small: "",
58441
+ },
58442
+ },
58443
+ [
58444
+ _vm._v(
58445
+ "\n " +
58446
+ _vm._s(
58447
+ _vm.$getIcon(
58448
+ "chevronUp"
58449
+ )
58450
+ ) +
58451
+ "\n "
58452
+ ),
58453
+ ]
58454
+ )
58455
+ : _vm._e(),
58456
+ _vm._v(" "),
58457
+ _vm.instance.datasource.findOrderIndex(
58458
+ column.name
58459
+ ) >= 0
58460
+ ? _c(
58461
+ "span",
58462
+ {
58463
+ staticClass:
58464
+ "zd-table-cell-sort-order",
58465
+ },
58466
+ [
58467
+ _vm._v(
58468
+ "\n " +
58469
+ _vm._s(
58470
+ _vm.instance.datasource.findOrderIndex(
58471
+ column.name
58472
+ ) + 1
58473
+ ) +
58474
+ "\n "
58475
+ ),
58476
+ ]
58477
+ )
58478
+ : _vm._e(),
58479
+ ],
58480
+ 1
58481
+ )
58482
+ : _vm._e(),
58197
58483
  ]
58198
- ),
58199
- _vm._v(" "),
58200
- column.sortable &&
58201
- column.align !== "right"
58202
- ? _c(
58484
+ : [
58485
+ _c(
58203
58486
  "span",
58204
58487
  {
58205
58488
  staticClass:
58206
- "zd-table-cell-sort",
58489
+ "zd-table-cell-name",
58207
58490
  },
58208
58491
  [
58209
- column.sortable &&
58210
- column.align !== "right"
58211
- ? _c(
58212
- "v-icon",
58213
- {
58214
- staticClass:
58215
- "zd-table-cell-sort-icon",
58216
- attrs: { small: "" },
58217
- },
58218
- [
58219
- _vm._v(
58220
- _vm._s(
58221
- _vm.$getIcon(
58222
- "chevronUp"
58223
- )
58224
- )
58225
- ),
58226
- ]
58227
- )
58228
- : _vm._e(),
58229
- _vm._v(" "),
58230
- _vm.instance.datasource.findOrderIndex(
58231
- column.name
58232
- ) >= 0
58233
- ? _c(
58234
- "span",
58235
- {
58236
- staticClass:
58237
- "zd-table-cell-sort-order",
58238
- },
58239
- [
58240
- _vm._v(
58241
- _vm._s(
58242
- _vm.instance.datasource.findOrderIndex(
58243
- column.name
58244
- ) + 1
58245
- )
58246
- ),
58247
- ]
58248
- )
58249
- : _vm._e(),
58250
- ],
58251
- 1
58252
- )
58253
- : _vm._e(),
58254
- ]
58255
- : [
58256
- _c(
58257
- "span",
58258
- {
58259
- staticClass: "zd-table-cell-name",
58260
- },
58261
- [
58262
- _vm._v(
58263
- _vm._s(_vm.$t(column.label))
58492
+ _vm._v(
58493
+ _vm._s(_vm.$t(column.label))
58494
+ ),
58495
+ ]
58264
58496
  ),
58265
- ]
58266
- ),
58267
- ],
58268
- ],
58269
- 2
58497
+ ],
58498
+ _vm._v(" "),
58499
+ _vm.instance.resizeColumns
58500
+ ? _c(
58501
+ "span",
58502
+ {
58503
+ staticClass:
58504
+ "zd-grid-resize-handle",
58505
+ on: {
58506
+ mousedown: function ($event) {
58507
+ return _vm.resizeMouseDownHandler(
58508
+ column,
58509
+ $event
58510
+ )
58511
+ },
58512
+ click: _vm.resizeClickHandler,
58513
+ },
58514
+ },
58515
+ [_vm._v("‖")]
58516
+ )
58517
+ : _vm._e(),
58518
+ ],
58519
+ 2
58520
+ ),
58521
+ ]
58270
58522
  )
58271
58523
  : _vm._e(),
58272
58524
  ]
@@ -58305,7 +58557,7 @@ var __vue_render__$1 = function () {
58305
58557
  return [
58306
58558
  _c("tr", [
58307
58559
  _c("td", {
58308
- style: "padding-top:" + _vm.scrollData.endHeight + "px",
58560
+ style: "padding-top: " + _vm.scrollData.endHeight + "px",
58309
58561
  attrs: { colspan: headers.length },
58310
58562
  }),
58311
58563
  ]),
@@ -58469,15 +58721,23 @@ var __vue_render__$1 = function () {
58469
58721
  : "",
58470
58722
  ],
58471
58723
  style: {
58724
+ width:
58725
+ _vm.calcWidth(
58726
+ column,
58727
+ column.width,
58728
+ true
58729
+ ) || "unset",
58472
58730
  "min-width":
58473
58731
  _vm.calcWidth(
58474
58732
  column,
58475
- column.minWidth
58733
+ column.minWidth,
58734
+ true
58476
58735
  ) || "unset",
58477
58736
  "max-width":
58478
58737
  _vm.calcWidth(
58479
58738
  column,
58480
- column.maxWidth
58739
+ column.maxWidth,
58740
+ true
58481
58741
  ) || "unset",
58482
58742
  },
58483
58743
  on: {
@@ -58549,6 +58809,7 @@ var __vue_render__$1 = function () {
58549
58809
  ],
58550
58810
  1
58551
58811
  ),
58812
+ _vm._v(" "),
58552
58813
  _c("span", {
58553
58814
  key: item.tree__searched
58554
58815
  ? "a"
@@ -58598,34 +58859,92 @@ var __vue_render__$1 = function () {
58598
58859
  },
58599
58860
  },
58600
58861
  },
58601
- _vm._l(
58602
- column.childrenProps,
58603
- function (child) {
58604
- return _c(
58605
- child.component,
58606
- _vm._b(
58862
+ [
58863
+ _c(
58864
+ "div",
58865
+ {
58866
+ directives: [
58607
58867
  {
58608
- key:
58609
- child.name +
58610
- _vm.rowKey(item),
58611
- tag: "component",
58868
+ name: "show",
58869
+ rawName: "v-show",
58870
+ value: headerIndex === 0,
58871
+ expression:
58872
+ "headerIndex === 0",
58612
58873
  },
58613
- "component",
58614
- Object.assign(
58615
- {},
58616
- child,
58617
- _vm.instance.getActionComponent(
58618
- child,
58619
- column,
58620
- item
58874
+ ],
58875
+ class: [
58876
+ "zd-tree-grid-expand",
58877
+ "level" + item.tree__level,
58878
+ ],
58879
+ },
58880
+ [
58881
+ (item.tree__children || [])
58882
+ .length > 0
58883
+ ? _c(
58884
+ "v-icon",
58885
+ {
58886
+ class: {
58887
+ opened:
58888
+ item.tree__opened,
58889
+ },
58890
+ attrs: { tabindex: "-1" },
58891
+ on: {
58892
+ click: function (
58893
+ $event
58894
+ ) {
58895
+ return _vm.instance.toggleExpand(
58896
+ item,
58897
+ index
58898
+ )
58899
+ },
58900
+ },
58901
+ },
58902
+ [
58903
+ _vm._v(
58904
+ "\n " +
58905
+ _vm._s(
58906
+ _vm.$getIcon(
58907
+ "chevronRight"
58908
+ )
58909
+ ) +
58910
+ "\n "
58911
+ ),
58912
+ ]
58621
58913
  )
58622
- ),
58623
- false
58914
+ : _vm._e(),
58915
+ ],
58916
+ 1
58917
+ ),
58918
+ _vm._v(" "),
58919
+ _vm._l(
58920
+ column.childrenProps,
58921
+ function (child) {
58922
+ return _c(
58923
+ child.component,
58924
+ _vm._b(
58925
+ {
58926
+ key:
58927
+ child.name +
58928
+ _vm.rowKey(item),
58929
+ tag: "component",
58930
+ },
58931
+ "component",
58932
+ Object.assign(
58933
+ {},
58934
+ child,
58935
+ _vm.instance.getActionComponent(
58936
+ child,
58937
+ column,
58938
+ item
58939
+ )
58940
+ ),
58941
+ false
58942
+ )
58624
58943
  )
58625
- )
58626
- }
58627
- ),
58628
- 1
58944
+ }
58945
+ ),
58946
+ ],
58947
+ 2
58629
58948
  ),
58630
58949
  ]
58631
58950
  : _vm._e(),
@@ -58730,8 +59049,8 @@ __vue_render__$1._withStripped = true;
58730
59049
  /* style */
58731
59050
  const __vue_inject_styles__$1 = function (inject) {
58732
59051
  if (!inject) return
58733
- inject("data-v-34a8a2e4_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
58734
- ,inject("data-v-34a8a2e4_1", { source: ".zd-tree-grid.theme--light tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-tree-grid.theme--dark tbody td.zd-table-cell {\n color: #fff;\n}\n.zd-tree-grid tbody td.zd-table-cell.first {\n padding-left: 5px !important;\n}\n.zd-tree-grid tbody td.zd-table-cell .zd-table-cell-text .search-result {\n background: var(--v-grey-lighten4);\n}\n.zd-tree-grid .zd-tree-grid-expand {\n display: inline-block;\n text-align: end;\n vertical-align: baseline;\n height: 10px;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon {\n transition: transform 0.3s ease;\n -webkit-transition: transform 0.3s ease;\n font-size: 20px;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon::after {\n content: none;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon.opened {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.zd-tree-grid .zd-tree-grid-expand.level1 {\n width: 20px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level2 {\n width: 40px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level3 {\n width: 60px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level4 {\n width: 80px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level5 {\n width: 100px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level6 {\n width: 120px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level7 {\n width: 140px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level8 {\n width: 160px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level9 {\n width: 180px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level10 {\n width: 200px;\n}", map: undefined, media: undefined });
59052
+ inject("data-v-37f68802_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
59053
+ ,inject("data-v-37f68802_1", { source: ".zd-tree-grid.theme--light tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-tree-grid.theme--dark tbody td.zd-table-cell {\n color: #fff;\n}\n.zd-tree-grid tbody td.zd-table-cell.first {\n padding-left: 5px !important;\n}\n.zd-tree-grid tbody td.zd-table-cell .zd-table-cell-text .search-result {\n background: var(--v-grey-lighten4);\n}\n.zd-tree-grid .zd-tree-grid-expand {\n display: inline-block;\n text-align: end;\n vertical-align: baseline;\n height: 10px;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon {\n transition: transform 0.3s ease;\n -webkit-transition: transform 0.3s ease;\n font-size: 20px;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon::after {\n content: none;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon.opened {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.zd-tree-grid .zd-tree-grid-expand.level1 {\n width: 20px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level2 {\n width: 40px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level3 {\n width: 60px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level4 {\n width: 80px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level5 {\n width: 100px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level6 {\n width: 120px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level7 {\n width: 140px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level8 {\n width: 160px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level9 {\n width: 180px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level10 {\n width: 200px;\n}", map: undefined, media: undefined });
58735
59054
 
58736
59055
  };
58737
59056
  /* scoped */
@@ -58767,6 +59086,7 @@ let ZdTreeGridEditable = class ZdTreeGridEditable extends ZdTreeGrid$1 {
58767
59086
  super(...arguments);
58768
59087
  this.instanceType = TreeGridEditable;
58769
59088
  this.inputToFocus = '';
59089
+ this.isTrVisible = false;
58770
59090
  this.navigationKeyMapping = {
58771
59091
  enter: {
58772
59092
  event: this.navigateDown.bind(this),
@@ -58813,24 +59133,41 @@ let ZdTreeGridEditable = class ZdTreeGridEditable extends ZdTreeGrid$1 {
58813
59133
  this.$nextTick(() => { input.focus(); });
58814
59134
  }
58815
59135
  }
58816
- setColumnsWidth() {
58817
- this.columns.forEach((col) => {
58818
- const element = document.querySelector(`.column-th-${col.name}-${this.instance.name}`);
58819
- if (element) {
58820
- if (col.maxWidth) {
58821
- element.style.width = this.calcWidth(col, col.maxWidth);
59136
+ getColWidth(col) {
59137
+ if (this.isTrVisible) {
59138
+ this.$nextTick(() => {
59139
+ const element = this.$el.querySelector(`.column-th-${col.name}-${this.instance.name}`);
59140
+ if (!element) {
59141
+ return;
59142
+ }
59143
+ if (col.width) {
59144
+ element.style.width = this.calcWidth(col, col.width || '');
59145
+ }
59146
+ else if (col.maxWidth) {
59147
+ element.style.width = this.calcWidth(col, col.maxWidth || '');
58822
59148
  }
58823
59149
  else if (col.minWidth) {
58824
- element.style.width = this.calcWidth(col, col.minWidth);
59150
+ element.style.width = this.calcWidth(col, col.minWidth || '');
58825
59151
  }
58826
59152
  else {
58827
59153
  element.style.width = `${element.clientWidth}px`;
58828
59154
  }
58829
- }
58830
- });
59155
+ });
59156
+ }
59157
+ return true;
59158
+ }
59159
+ registerOnVisible() {
59160
+ const headerRow = this.$el.querySelector('thead > tr');
59161
+ if (!headerRow)
59162
+ return;
59163
+ const obs = this.$onVisible(headerRow, () => {
59164
+ this.instance.columns.forEach(this.getColWidth);
59165
+ this.isTrVisible = true;
59166
+ obs.disconnect();
59167
+ }, this.$el);
58831
59168
  }
58832
59169
  mounted() {
58833
- this.setColumnsWidth();
59170
+ this.registerOnVisible();
58834
59171
  KeyMap.bind(this.navigationKeyMapping, this.instance, this.$el);
58835
59172
  }
58836
59173
  beforeDestroy() {
@@ -58931,6 +59268,7 @@ var __vue_render__ = function () {
58931
59268
  ref: "grid",
58932
59269
  class: [
58933
59270
  "zd-grid",
59271
+ "zd-tree-grid",
58934
59272
  "zd-tree-grid-editable",
58935
59273
  _vm.instance.cssClass,
58936
59274
  { "zd-grid-flex": _vm.instance.gridHeight || _vm.instance.gridMaxHeight },
@@ -58996,7 +59334,7 @@ var __vue_render__ = function () {
58996
59334
  key: "header",
58997
59335
  fn: function (ref) {
58998
59336
  var props = ref.props;
58999
- var on = ref.on;
59337
+ ref.on;
59000
59338
  return [
59001
59339
  _c("thead", { staticClass: "zd-grid-table-header" }, [
59002
59340
  _c(
@@ -59023,18 +59361,17 @@ var __vue_render__ = function () {
59023
59361
  "indeterminate-icon": _vm.$getIcon(
59024
59362
  "checkboxIndeterminate"
59025
59363
  ),
59026
- value: props.everyItem,
59364
+ value: _vm.allselectedState,
59027
59365
  indeterminate:
59028
- !props.everyItem && props.someItems,
59366
+ !_vm.allselectedState && props.someItems,
59029
59367
  },
59030
59368
  on: {
59031
59369
  click: function ($event) {
59032
59370
  $event.stopPropagation();
59033
- on["toggle-select-all"](!props.everyItem);
59034
- _vm.selectAllClick(
59035
- !props.everyItem,
59371
+ return _vm.selectAllClick(
59372
+ !_vm.allselectedState,
59036
59373
  $event
59037
- );
59374
+ )
59038
59375
  },
59039
59376
  },
59040
59377
  }),
@@ -59045,7 +59382,7 @@ var __vue_render__ = function () {
59045
59382
  _vm._v(" "),
59046
59383
  _vm._l(props.headers, function (column, index) {
59047
59384
  return [
59048
- column.isVisible
59385
+ column.isVisible && _vm.getColWidth(column)
59049
59386
  ? _c(
59050
59387
  "th",
59051
59388
  {
@@ -59073,201 +59410,260 @@ var __vue_render__ = function () {
59073
59410
  style: {
59074
59411
  "background-color":
59075
59412
  _vm.instance.headerBackground,
59076
- "min-width":
59077
- _vm.calcWidth(
59078
- column,
59079
- column.minWidth
59080
- ) || "unset",
59081
- "max-width":
59413
+ width:
59082
59414
  _vm.calcWidth(
59083
59415
  column,
59084
- column.maxWidth
59416
+ column.width ||
59417
+ column.maxWidth ||
59418
+ column.minWidth
59085
59419
  ) || "unset",
59086
59420
  },
59087
59421
  attrs: { index: index },
59088
- on: {
59089
- click: function ($event) {
59090
- return _vm.instance.changeColumnOrder(
59091
- column
59092
- )
59093
- },
59094
- },
59095
59422
  },
59096
59423
  [
59097
- column.type !== "action"
59098
- ? [
59099
- column.sortable &&
59100
- column.align === "right"
59101
- ? _c(
59424
+ _c(
59425
+ "span",
59426
+ {
59427
+ staticClass: "zd-table-header-cell",
59428
+ style: {
59429
+ width:
59430
+ _vm.calcWidth(
59431
+ column,
59432
+ column.width ||
59433
+ column.maxWidth ||
59434
+ column.minWidth,
59435
+ true
59436
+ ) || "unset",
59437
+ color:
59438
+ _vm.instance.headerCellTextColor,
59439
+ },
59440
+ },
59441
+ [
59442
+ column.type !== "action"
59443
+ ? [
59444
+ column.sortable &&
59445
+ column.align === "right"
59446
+ ? _c(
59447
+ "span",
59448
+ {
59449
+ staticClass:
59450
+ "zd-table-cell-sort zd-table-cell-sort--left zd-mr-1",
59451
+ on: {
59452
+ click: function (
59453
+ $event
59454
+ ) {
59455
+ return _vm.instance.changeColumnOrder(
59456
+ column
59457
+ )
59458
+ },
59459
+ },
59460
+ },
59461
+ [
59462
+ column.sortable &&
59463
+ column.align === "right"
59464
+ ? _c(
59465
+ "v-icon",
59466
+ {
59467
+ staticClass:
59468
+ "zd-table-cell-sort-icon",
59469
+ attrs: {
59470
+ small: "",
59471
+ },
59472
+ },
59473
+ [
59474
+ _vm._v(
59475
+ "\n " +
59476
+ _vm._s(
59477
+ _vm.$getIcon(
59478
+ "chevronUp"
59479
+ )
59480
+ ) +
59481
+ "\n "
59482
+ ),
59483
+ ]
59484
+ )
59485
+ : _vm._e(),
59486
+ _vm._v(" "),
59487
+ _vm.instance.datasource.findOrderIndex(
59488
+ column.name
59489
+ ) >= 0
59490
+ ? _c(
59491
+ "span",
59492
+ {
59493
+ staticClass:
59494
+ "zd-table-cell-sort-order left",
59495
+ },
59496
+ [
59497
+ _vm._v(
59498
+ "\n " +
59499
+ _vm._s(
59500
+ _vm.instance.datasource.findOrderIndex(
59501
+ column.name
59502
+ ) + 1
59503
+ ) +
59504
+ "\n "
59505
+ ),
59506
+ ]
59507
+ )
59508
+ : _vm._e(),
59509
+ ],
59510
+ 1
59511
+ )
59512
+ : _vm._e(),
59513
+ _vm._v(" "),
59514
+ _c(
59102
59515
  "span",
59103
59516
  {
59104
- staticClass:
59105
- "zd-table-cell-sort",
59106
- },
59107
- [
59108
- column.sortable &&
59109
- column.align === "right"
59110
- ? _c(
59111
- "v-icon",
59112
- {
59113
- staticClass:
59114
- "zd-table-cell-sort-icon",
59115
- attrs: { small: "" },
59116
- },
59117
- [
59118
- _vm._v(
59119
- _vm._s(
59120
- _vm.$getIcon(
59121
- "chevronUp"
59122
- )
59123
- )
59124
- ),
59125
- ]
59517
+ class: [
59518
+ "zd-table-cell-name",
59519
+ {
59520
+ "overflow-hidden":
59521
+ column.overflow ===
59522
+ "hidden",
59523
+ "overflow-wrap":
59524
+ column.overflow ===
59525
+ "wrap",
59526
+ },
59527
+ !isNaN(column.overflow)
59528
+ ? "overflow-clamp overflow-clamp-" +
59529
+ column.overflow
59530
+ : "",
59531
+ ],
59532
+ on: {
59533
+ click: function ($event) {
59534
+ return _vm.instance.changeColumnOrder(
59535
+ column
59126
59536
  )
59127
- : _vm._e(),
59128
- _vm._v(" "),
59129
- _vm.instance.datasource.findOrderIndex(
59130
- column.name
59131
- ) >= 0
59132
- ? _c(
59133
- "span",
59134
- {
59135
- staticClass:
59136
- "zd-table-cell-sort-order left",
59137
- },
59138
- [
59139
- _vm._v(
59140
- _vm._s(
59141
- _vm.instance.datasource.findOrderIndex(
59142
- column.name
59143
- ) + 1
59144
- )
59145
- ),
59146
- ]
59537
+ },
59538
+ mouseenter: function (
59539
+ $event
59540
+ ) {
59541
+ return _vm.checkOverflow(
59542
+ $event
59147
59543
  )
59148
- : _vm._e(),
59149
- ],
59150
- 1
59151
- )
59152
- : _vm._e(),
59153
- _vm._v(" "),
59154
- _c(
59155
- "span",
59156
- {
59157
- class: [
59158
- "zd-table-cell-name",
59159
- {
59160
- "overflow-hidden":
59161
- column.overflow ===
59162
- "hidden",
59163
- "overflow-wrap":
59164
- column.overflow === "wrap",
59165
- },
59166
- !isNaN(column.overflow)
59167
- ? "overflow-clamp overflow-clamp-" +
59168
- column.overflow
59169
- : "",
59170
- ],
59171
- style: {
59172
- "min-width":
59173
- _vm.calcWidth(
59174
- column,
59175
- column.minWidth
59176
- ) || "unset",
59177
- "max-width":
59178
- _vm.calcWidth(
59179
- column,
59180
- column.maxWidth
59181
- ) || "unset",
59182
- },
59183
- on: {
59184
- mouseenter: function ($event) {
59185
- return _vm.checkOverflow(
59186
- $event
59187
- )
59188
- },
59189
- mouseleave: function ($event) {
59190
- return _vm.removeTooltip()
59544
+ },
59545
+ mouseleave: function (
59546
+ $event
59547
+ ) {
59548
+ return _vm.removeTooltip()
59549
+ },
59550
+ },
59191
59551
  },
59192
- },
59193
- },
59194
- [
59195
- _vm._v(
59196
- _vm._s(_vm.$t(column.label))
59552
+ [
59553
+ _vm._v(
59554
+ _vm._s(_vm.$t(column.label))
59555
+ ),
59556
+ ]
59197
59557
  ),
59558
+ _vm._v(" "),
59559
+ column.sortable &&
59560
+ column.align !== "right"
59561
+ ? _c(
59562
+ "span",
59563
+ {
59564
+ staticClass:
59565
+ "zd-table-cell-sort zd-table-cell-sort--right zd-ml-1",
59566
+ on: {
59567
+ click: function (
59568
+ $event
59569
+ ) {
59570
+ return _vm.instance.changeColumnOrder(
59571
+ column
59572
+ )
59573
+ },
59574
+ },
59575
+ },
59576
+ [
59577
+ column.sortable &&
59578
+ column.align !== "right"
59579
+ ? _c(
59580
+ "v-icon",
59581
+ {
59582
+ staticClass:
59583
+ "zd-table-cell-sort-icon",
59584
+ attrs: {
59585
+ small: "",
59586
+ },
59587
+ },
59588
+ [
59589
+ _vm._v(
59590
+ "\n " +
59591
+ _vm._s(
59592
+ _vm.$getIcon(
59593
+ "chevronUp"
59594
+ )
59595
+ ) +
59596
+ "\n "
59597
+ ),
59598
+ ]
59599
+ )
59600
+ : _vm._e(),
59601
+ _vm._v(" "),
59602
+ _vm.instance.datasource.findOrderIndex(
59603
+ column.name
59604
+ ) >= 0
59605
+ ? _c(
59606
+ "span",
59607
+ {
59608
+ staticClass:
59609
+ "zd-table-cell-sort-order",
59610
+ },
59611
+ [
59612
+ _vm._v(
59613
+ "\n " +
59614
+ _vm._s(
59615
+ _vm.instance.datasource.findOrderIndex(
59616
+ column.name
59617
+ ) + 1
59618
+ ) +
59619
+ "\n "
59620
+ ),
59621
+ ]
59622
+ )
59623
+ : _vm._e(),
59624
+ ],
59625
+ 1
59626
+ )
59627
+ : _vm._e(),
59198
59628
  ]
59199
- ),
59200
- _vm._v(" "),
59201
- column.sortable &&
59202
- column.align !== "right"
59203
- ? _c(
59629
+ : [
59630
+ _c(
59204
59631
  "span",
59205
59632
  {
59206
59633
  staticClass:
59207
- "zd-table-cell-sort",
59634
+ "zd-table-cell-name",
59208
59635
  },
59209
59636
  [
59210
- column.sortable &&
59211
- column.align !== "right"
59212
- ? _c(
59213
- "v-icon",
59214
- {
59215
- staticClass:
59216
- "zd-table-cell-sort-icon",
59217
- attrs: { small: "" },
59218
- },
59219
- [
59220
- _vm._v(
59221
- _vm._s(
59222
- _vm.$getIcon(
59223
- "chevronUp"
59224
- )
59225
- )
59226
- ),
59227
- ]
59228
- )
59229
- : _vm._e(),
59230
- _vm._v(" "),
59231
- _vm.instance.datasource.findOrderIndex(
59232
- column.name
59233
- ) >= 0
59234
- ? _c(
59235
- "span",
59236
- {
59237
- staticClass:
59238
- "zd-table-cell-sort-order",
59239
- },
59240
- [
59241
- _vm._v(
59242
- _vm._s(
59243
- _vm.instance.datasource.findOrderIndex(
59244
- column.name
59245
- ) + 1
59246
- )
59247
- ),
59248
- ]
59249
- )
59250
- : _vm._e(),
59251
- ],
59252
- 1
59253
- )
59254
- : _vm._e(),
59255
- ]
59256
- : [
59257
- _c(
59258
- "span",
59259
- {
59260
- staticClass: "zd-table-cell-name",
59261
- },
59262
- [
59263
- _vm._v(
59264
- _vm._s(_vm.$t(column.label))
59637
+ _vm._v(
59638
+ _vm._s(_vm.$t(column.label))
59639
+ ),
59640
+ ]
59265
59641
  ),
59266
- ]
59267
- ),
59268
- ],
59269
- ],
59270
- 2
59642
+ ],
59643
+ _vm._v(" "),
59644
+ _vm.instance.resizeColumns
59645
+ ? _c(
59646
+ "span",
59647
+ {
59648
+ staticClass:
59649
+ "zd-grid-resize-handle",
59650
+ on: {
59651
+ mousedown: function ($event) {
59652
+ return _vm.resizeMouseDownHandler(
59653
+ column,
59654
+ $event
59655
+ )
59656
+ },
59657
+ click: _vm.resizeClickHandler,
59658
+ },
59659
+ },
59660
+ [_vm._v("‖")]
59661
+ )
59662
+ : _vm._e(),
59663
+ ],
59664
+ 2
59665
+ ),
59666
+ ]
59271
59667
  )
59272
59668
  : _vm._e(),
59273
59669
  ]
@@ -59288,7 +59684,8 @@ var __vue_render__ = function () {
59288
59684
  return [
59289
59685
  _c("tr", [
59290
59686
  _c("td", {
59291
- style: "padding-top:" + _vm.scrollData.startHeight + "px",
59687
+ style:
59688
+ "padding-top: " + _vm.scrollData.startHeight + "px",
59292
59689
  attrs: { colspan: headers.length },
59293
59690
  }),
59294
59691
  ]),
@@ -59306,7 +59703,7 @@ var __vue_render__ = function () {
59306
59703
  return [
59307
59704
  _c("tr", [
59308
59705
  _c("td", {
59309
- style: "padding-top:" + _vm.scrollData.endHeight + "px",
59706
+ style: "padding-top: " + _vm.scrollData.endHeight + "px",
59310
59707
  attrs: { colspan: headers.length },
59311
59708
  }),
59312
59709
  ]),
@@ -59466,288 +59863,538 @@ var __vue_render__ = function () {
59466
59863
  })
59467
59864
  : _vm._e(),
59468
59865
  _vm._v(" "),
59469
- Object.assign({}, column, cellProps)
59470
- .editable &&
59471
- _vm.canEditRowValues[
59472
- _vm.rowKey(item)
59473
- ] &&
59474
- _vm.instance.editing
59475
- ? _c(
59476
- "span",
59477
- {
59478
- directives: [
59866
+ _c(
59867
+ "span",
59868
+ {
59869
+ staticClass:
59870
+ "zd-tree-grid-editable-cell-wrapper",
59871
+ },
59872
+ [
59873
+ Object.assign(
59874
+ {},
59875
+ column,
59876
+ cellProps
59877
+ ).editable &&
59878
+ _vm.canEditRowValues[
59879
+ _vm.rowKey(item)
59880
+ ] &&
59881
+ _vm.instance.editing
59882
+ ? _c(
59883
+ "span",
59479
59884
  {
59480
- name: "show",
59481
- rawName: "v-show",
59482
- value: !column.loading,
59483
- expression:
59484
- "!column.loading",
59885
+ directives: [
59886
+ {
59887
+ name: "show",
59888
+ rawName: "v-show",
59889
+ value:
59890
+ !column.loading,
59891
+ expression:
59892
+ "!column.loading",
59893
+ },
59894
+ ],
59895
+ staticClass:
59896
+ "zd-table-cell-inline-edit",
59897
+ style: {
59898
+ width:
59899
+ _vm.calcWidth(
59900
+ column,
59901
+ column.width,
59902
+ true
59903
+ ) || "unset",
59904
+ "min-width":
59905
+ _vm.calcWidth(
59906
+ column,
59907
+ column.minWidth,
59908
+ true
59909
+ ) || "unset",
59910
+ "max-width":
59911
+ _vm.calcWidth(
59912
+ column,
59913
+ column.maxWidth,
59914
+ true
59915
+ ) || "unset",
59916
+ },
59485
59917
  },
59486
- ],
59487
- staticClass:
59488
- "zd-table-cell-inline-edit",
59489
- style: {
59490
- width:
59491
- _vm.calcWidth(
59492
- column,
59493
- column.maxWidth ||
59494
- column.minWidth
59495
- ) || "unset",
59496
- "min-width":
59497
- _vm.calcWidth(
59498
- column,
59499
- column.minWidth
59500
- ) || "unset",
59501
- "max-width":
59502
- _vm.calcWidth(
59918
+ [
59919
+ _vm.instance.isEdited(
59503
59920
  column,
59504
- column.maxWidth
59505
- ) || "unset",
59506
- },
59507
- },
59508
- [
59509
- _vm.instance.isEdited(
59921
+ item
59922
+ )
59923
+ ? _c(
59924
+ "span",
59925
+ {
59926
+ staticClass:
59927
+ "zd-table-cell-edit-icon",
59928
+ },
59929
+ [
59930
+ _vm.instance.isValid(
59931
+ column,
59932
+ item
59933
+ )
59934
+ ? _c(
59935
+ "v-icon",
59936
+ {
59937
+ attrs: {
59938
+ color:
59939
+ "primary",
59940
+ },
59941
+ },
59942
+ [
59943
+ _vm._v(
59944
+ _vm._s(
59945
+ _vm.$getIcon(
59946
+ "pencil"
59947
+ )
59948
+ )
59949
+ ),
59950
+ ]
59951
+ )
59952
+ : _c(
59953
+ "v-icon",
59954
+ {
59955
+ attrs: {
59956
+ color:
59957
+ "error",
59958
+ },
59959
+ },
59960
+ [
59961
+ _vm._v(
59962
+ _vm._s(
59963
+ _vm.$getIcon(
59964
+ "warning"
59965
+ )
59966
+ )
59967
+ ),
59968
+ ]
59969
+ ),
59970
+ ],
59971
+ 1
59972
+ )
59973
+ : _vm._e(),
59974
+ _vm._v(" "),
59975
+ _c(
59976
+ column.componentProps
59977
+ .component,
59978
+ _vm._b(
59979
+ {
59980
+ key:
59981
+ column.name +
59982
+ _vm.rowKey(item),
59983
+ tag: "component",
59984
+ },
59985
+ "component",
59986
+ _vm.getEditableComponent(
59987
+ column,
59988
+ item,
59989
+ cellProps
59990
+ ),
59991
+ false
59992
+ )
59993
+ ),
59994
+ ],
59995
+ 1
59996
+ )
59997
+ : _vm.hasToggleIcon(
59510
59998
  column,
59511
59999
  item
59512
60000
  )
59513
- ? _c(
59514
- "span",
60001
+ ? _c(
60002
+ "span",
60003
+ [
60004
+ _c("v-icon", [
60005
+ _vm._v(
60006
+ _vm._s(
60007
+ _vm.$getIcon(
60008
+ column.formatterByRow(
60009
+ item,
60010
+ cellProps
60011
+ )
60012
+ )
60013
+ )
60014
+ ),
60015
+ ]),
60016
+ ],
60017
+ 1
60018
+ )
60019
+ : _c(
60020
+ "span",
60021
+ {
60022
+ directives: [
59515
60023
  {
59516
- staticClass:
59517
- "zd-table-cell-edit-icon",
60024
+ name: "show",
60025
+ rawName: "v-show",
60026
+ value:
60027
+ !column.loading,
60028
+ expression:
60029
+ "!column.loading",
59518
60030
  },
59519
- [
59520
- _vm.instance.isValid(
60031
+ ],
60032
+ class: [
60033
+ "zd-table-cell-text",
60034
+ {
60035
+ "zd-table-cell-text-editable":
60036
+ Object.assign(
60037
+ {},
60038
+ column,
60039
+ cellProps
60040
+ ).editable,
60041
+ "overflow-hidden":
60042
+ column.overflow ===
60043
+ "hidden",
60044
+ "overflow-wrap":
60045
+ column.overflow ===
60046
+ "wrap",
60047
+ },
60048
+ !isNaN(column.overflow)
60049
+ ? "overflow-clamp overflow-clamp-" +
60050
+ column.overflow
60051
+ : "",
60052
+ ],
60053
+ style: {
60054
+ width:
60055
+ _vm.calcWidth(
59521
60056
  column,
59522
- item
60057
+ column.width,
60058
+ true
60059
+ ) || "unset",
60060
+ "min-width":
60061
+ _vm.calcWidth(
60062
+ column,
60063
+ column.minWidth,
60064
+ true
60065
+ ) || "unset",
60066
+ "max-width":
60067
+ _vm.calcWidth(
60068
+ column,
60069
+ column.maxWidth,
60070
+ true
60071
+ ) || "unset",
60072
+ },
60073
+ on: {
60074
+ mouseenter: function (
60075
+ $event
60076
+ ) {
60077
+ return _vm.checkOverflow(
60078
+ $event
59523
60079
  )
60080
+ },
60081
+ mouseleave: function (
60082
+ $event
60083
+ ) {
60084
+ return _vm.removeTooltip()
60085
+ },
60086
+ },
60087
+ },
60088
+ [
60089
+ _c(
60090
+ "div",
60091
+ {
60092
+ directives: [
60093
+ {
60094
+ name: "show",
60095
+ rawName: "v-show",
60096
+ value:
60097
+ headerIndex ===
60098
+ 0,
60099
+ expression:
60100
+ "headerIndex === 0",
60101
+ },
60102
+ ],
60103
+ class: [
60104
+ "zd-tree-grid-editable-expand",
60105
+ "level" +
60106
+ item.tree__level,
60107
+ ],
60108
+ },
60109
+ [
60110
+ item.tree__children
60111
+ .length > 0
59524
60112
  ? _c(
59525
60113
  "v-icon",
59526
60114
  {
60115
+ class: {
60116
+ opened:
60117
+ item.tree__opened,
60118
+ },
59527
60119
  attrs: {
59528
- color:
59529
- "primary",
60120
+ tabindex:
60121
+ "-1",
60122
+ },
60123
+ on: {
60124
+ click:
60125
+ function (
60126
+ $event
60127
+ ) {
60128
+ $event.stopPropagation();
60129
+ return _vm.instance.toggleExpand(
60130
+ item,
60131
+ index
60132
+ )
60133
+ },
59530
60134
  },
59531
60135
  },
59532
60136
  [
59533
60137
  _vm._v(
59534
- _vm._s(
59535
- _vm.$getIcon(
59536
- "pencil"
59537
- )
59538
- )
60138
+ "\n " +
60139
+ _vm._s(
60140
+ _vm.$getIcon(
60141
+ "chevronRight"
60142
+ )
60143
+ ) +
60144
+ "\n "
59539
60145
  ),
59540
60146
  ]
59541
60147
  )
59542
- : _c(
59543
- "v-icon",
60148
+ : _vm._e(),
60149
+ ],
60150
+ 1
60151
+ ),
60152
+ _vm._v(" "),
60153
+ Object.assign(
60154
+ {},
60155
+ column,
60156
+ cellProps
60157
+ ).editable &&
60158
+ _vm.canEditRowValues[
60159
+ _vm.rowKey(item)
60160
+ ] &&
60161
+ _vm.instance.editing
60162
+ ? _c(
60163
+ "span",
60164
+ {
60165
+ directives: [
59544
60166
  {
59545
- attrs: {
59546
- color:
59547
- "error",
59548
- },
60167
+ name: "show",
60168
+ rawName:
60169
+ "v-show",
60170
+ value:
60171
+ !column.loading,
60172
+ expression:
60173
+ "!column.loading",
59549
60174
  },
59550
- [
59551
- _vm._v(
59552
- _vm._s(
59553
- _vm.$getIcon(
59554
- "warning"
60175
+ ],
60176
+ staticClass:
60177
+ "zd-table-cell-inline-edit",
60178
+ style: {
60179
+ width:
60180
+ _vm.calcWidth(
60181
+ column,
60182
+ column.maxWidth ||
60183
+ column.minWidth
60184
+ ) || "unset",
60185
+ "min-width":
60186
+ _vm.calcWidth(
60187
+ column,
60188
+ column.minWidth
60189
+ ) || "unset",
60190
+ "max-width":
60191
+ _vm.calcWidth(
60192
+ column,
60193
+ column.maxWidth
60194
+ ) || "unset",
60195
+ },
60196
+ },
60197
+ [
60198
+ _vm.instance.isEdited(
60199
+ column,
60200
+ item
60201
+ )
60202
+ ? _c(
60203
+ "span",
60204
+ {
60205
+ staticClass:
60206
+ "zd-table-cell-edit-icon",
60207
+ },
60208
+ [
60209
+ _vm.instance.isValid(
60210
+ column,
60211
+ item
59555
60212
  )
59556
- )
60213
+ ? _c(
60214
+ "v-icon",
60215
+ {
60216
+ attrs:
60217
+ {
60218
+ color:
60219
+ "primary",
60220
+ },
60221
+ },
60222
+ [
60223
+ _vm._v(
60224
+ _vm._s(
60225
+ _vm.$getIcon(
60226
+ "pencil"
60227
+ )
60228
+ )
60229
+ ),
60230
+ ]
60231
+ )
60232
+ : _c(
60233
+ "v-icon",
60234
+ {
60235
+ attrs:
60236
+ {
60237
+ color:
60238
+ "error",
60239
+ },
60240
+ },
60241
+ [
60242
+ _vm._v(
60243
+ _vm._s(
60244
+ _vm.$getIcon(
60245
+ "warning"
60246
+ )
60247
+ )
60248
+ ),
60249
+ ]
60250
+ ),
60251
+ ],
60252
+ 1
60253
+ )
60254
+ : _vm._e(),
60255
+ _vm._v(" "),
60256
+ _c(
60257
+ column
60258
+ .componentProps
60259
+ .component,
60260
+ _vm._b(
60261
+ {
60262
+ key:
60263
+ column.name +
60264
+ _vm.rowKey(
60265
+ item
60266
+ ),
60267
+ tag: "component",
60268
+ },
60269
+ "component",
60270
+ _vm.getEditableComponent(
60271
+ column,
60272
+ item,
60273
+ cellProps
59557
60274
  ),
59558
- ]
60275
+ false
60276
+ )
59559
60277
  ),
59560
- ],
59561
- 1
59562
- )
59563
- : _vm._e(),
59564
- _vm._v(" "),
59565
- _c(
59566
- column.componentProps
59567
- .component,
59568
- _vm._b(
59569
- {
59570
- key:
59571
- column.name +
59572
- _vm.rowKey(item),
59573
- tag: "component",
59574
- },
59575
- "component",
59576
- _vm.getEditableComponent(
59577
- column,
59578
- item,
59579
- cellProps
59580
- ),
59581
- false
59582
- )
59583
- ),
59584
- ],
59585
- 1
59586
- )
59587
- : _vm.hasToggleIcon(column, item)
59588
- ? _c(
59589
- "span",
59590
- [
59591
- _c("v-icon", [
59592
- _vm._v(
59593
- _vm._s(
59594
- _vm.$getIcon(
59595
- column.formatterByRow(
59596
- item,
59597
- cellProps
60278
+ ],
60279
+ 1
60280
+ )
60281
+ : _vm.hasToggleIcon(
60282
+ column,
60283
+ item
59598
60284
  )
59599
- )
59600
- )
59601
- ),
59602
- ]),
59603
- ],
59604
- 1
59605
- )
59606
- : _c(
59607
- "span",
59608
- {
59609
- directives: [
59610
- {
59611
- name: "show",
59612
- rawName: "v-show",
59613
- value: !column.loading,
59614
- expression:
59615
- "!column.loading",
59616
- },
59617
- ],
59618
- class: [
59619
- "zd-table-cell-text",
59620
- {
59621
- "zd-table-cell-text-editable":
59622
- Object.assign(
59623
- {},
59624
- column,
59625
- cellProps
59626
- ).editable,
59627
- "overflow-hidden":
59628
- column.overflow ===
59629
- "hidden",
59630
- "overflow-wrap":
59631
- column.overflow ===
59632
- "wrap",
59633
- },
59634
- !isNaN(column.overflow)
59635
- ? "overflow-clamp overflow-clamp-" +
59636
- column.overflow
59637
- : "",
59638
- ],
59639
- style: {
59640
- width:
59641
- _vm.calcWidth(
59642
- column,
59643
- column.maxWidth ||
59644
- column.minWidth
59645
- ) || "unset",
59646
- "min-width":
59647
- _vm.calcWidth(
59648
- column,
59649
- column.minWidth
59650
- ) || "unset",
59651
- "max-width":
59652
- _vm.calcWidth(
59653
- column,
59654
- column.maxWidth
59655
- ) || "unset",
59656
- },
59657
- on: {
59658
- mouseenter: function (
59659
- $event
59660
- ) {
59661
- return _vm.checkOverflow(
59662
- $event
59663
- )
59664
- },
59665
- mouseleave: function (
59666
- $event
59667
- ) {
59668
- return _vm.removeTooltip()
59669
- },
59670
- },
59671
- },
59672
- [
59673
- _c(
59674
- "div",
59675
- {
59676
- directives: [
59677
- {
59678
- name: "show",
59679
- rawName: "v-show",
59680
- value:
59681
- headerIndex === 0,
59682
- expression:
59683
- "headerIndex === 0",
59684
- },
59685
- ],
59686
- class: [
59687
- "zd-tree-grid-editable-expand",
59688
- "level" +
59689
- item.tree__level,
59690
- ],
59691
- },
59692
- [
59693
- item.tree__children
59694
- .length > 0
59695
60285
  ? _c(
59696
- "v-icon",
60286
+ "span",
60287
+ [
60288
+ _c("v-icon", [
60289
+ _vm._v(
60290
+ _vm._s(
60291
+ _vm.$getIcon(
60292
+ column.formatterByRow(
60293
+ item,
60294
+ cellProps
60295
+ )
60296
+ )
60297
+ )
60298
+ ),
60299
+ ]),
60300
+ ],
60301
+ 1
60302
+ )
60303
+ : _c(
60304
+ "span",
59697
60305
  {
59698
- class: {
59699
- opened:
59700
- item.tree__opened,
59701
- },
59702
- attrs: {
59703
- tabindex: "-1",
60306
+ directives: [
60307
+ {
60308
+ name: "show",
60309
+ rawName:
60310
+ "v-show",
60311
+ value:
60312
+ !column.loading,
60313
+ expression:
60314
+ "!column.loading",
60315
+ },
60316
+ ],
60317
+ class: [
60318
+ "zd-table-cell-text",
60319
+ {
60320
+ "zd-table-cell-text-editable":
60321
+ Object.assign(
60322
+ {},
60323
+ column,
60324
+ cellProps
60325
+ ).editable,
60326
+ "overflow-hidden":
60327
+ column.overflow ===
60328
+ "hidden",
60329
+ "overflow-wrap":
60330
+ column.overflow ===
60331
+ "wrap",
60332
+ },
60333
+ !isNaN(
60334
+ column.overflow
60335
+ )
60336
+ ? "overflow-clamp overflow-clamp-" +
60337
+ column.overflow
60338
+ : "",
60339
+ ],
60340
+ style: {
60341
+ width:
60342
+ _vm.calcWidth(
60343
+ column,
60344
+ column.maxWidth ||
60345
+ column.minWidth
60346
+ ) || "unset",
60347
+ "min-width":
60348
+ _vm.calcWidth(
60349
+ column,
60350
+ column.minWidth
60351
+ ) || "unset",
60352
+ "max-width":
60353
+ _vm.calcWidth(
60354
+ column,
60355
+ column.maxWidth
60356
+ ) || "unset",
59704
60357
  },
59705
60358
  on: {
59706
- click:
60359
+ mouseenter:
59707
60360
  function (
59708
60361
  $event
59709
60362
  ) {
59710
- return _vm.instance.toggleExpand(
59711
- item,
59712
- index
60363
+ return _vm.checkOverflow(
60364
+ $event
59713
60365
  )
59714
60366
  },
60367
+ mouseleave:
60368
+ function (
60369
+ $event
60370
+ ) {
60371
+ return _vm.removeTooltip()
60372
+ },
59715
60373
  },
59716
60374
  },
59717
60375
  [
59718
- _vm._v(
59719
- "\n " +
59720
- _vm._s(
59721
- _vm.$getIcon(
59722
- "chevronRight"
59723
- )
59724
- ) +
59725
- "\n "
59726
- ),
60376
+ _c("span", {
60377
+ key: item.tree__searched
60378
+ ? "a"
60379
+ : "b",
60380
+ domProps: {
60381
+ innerHTML:
60382
+ _vm._s(
60383
+ _vm.formatSearchResult(
60384
+ column.formatterByRow(
60385
+ item,
60386
+ cellProps
60387
+ )
60388
+ )
60389
+ ),
60390
+ },
60391
+ }),
59727
60392
  ]
59728
- )
59729
- : _vm._e(),
59730
- ],
59731
- 1
60393
+ ),
60394
+ ]
59732
60395
  ),
59733
- _vm._v(" "),
59734
- _c("span", {
59735
- key: item.tree__searched
59736
- ? "a"
59737
- : "b",
59738
- domProps: {
59739
- innerHTML: _vm._s(
59740
- _vm.formatSearchResult(
59741
- column.formatterByRow(
59742
- item,
59743
- cellProps
59744
- )
59745
- )
59746
- ),
59747
- },
59748
- }),
59749
- ]
59750
- ),
60396
+ ]
60397
+ ),
59751
60398
  ],
59752
60399
  1
59753
60400
  ),
@@ -59780,34 +60427,92 @@ var __vue_render__ = function () {
59780
60427
  },
59781
60428
  },
59782
60429
  },
59783
- _vm._l(
59784
- column.childrenProps,
59785
- function (child) {
59786
- return _c(
59787
- child.component,
59788
- _vm._b(
60430
+ [
60431
+ _c(
60432
+ "div",
60433
+ {
60434
+ directives: [
59789
60435
  {
59790
- key:
59791
- child.name +
59792
- _vm.rowKey(item),
59793
- tag: "component",
60436
+ name: "show",
60437
+ rawName: "v-show",
60438
+ value: headerIndex === 0,
60439
+ expression:
60440
+ "headerIndex === 0",
59794
60441
  },
59795
- "component",
59796
- Object.assign(
59797
- {},
59798
- child,
59799
- _vm.instance.getActionComponent(
59800
- child,
59801
- column,
59802
- item
60442
+ ],
60443
+ class: [
60444
+ "zd-tree-grid-expand",
60445
+ "level" + item.tree__level,
60446
+ ],
60447
+ },
60448
+ [
60449
+ (item.tree__children || [])
60450
+ .length > 0
60451
+ ? _c(
60452
+ "v-icon",
60453
+ {
60454
+ class: {
60455
+ opened:
60456
+ item.tree__opened,
60457
+ },
60458
+ attrs: { tabindex: "-1" },
60459
+ on: {
60460
+ click: function (
60461
+ $event
60462
+ ) {
60463
+ return _vm.instance.toggleExpand(
60464
+ item,
60465
+ index
60466
+ )
60467
+ },
60468
+ },
60469
+ },
60470
+ [
60471
+ _vm._v(
60472
+ "\n " +
60473
+ _vm._s(
60474
+ _vm.$getIcon(
60475
+ "chevronRight"
60476
+ )
60477
+ ) +
60478
+ "\n "
60479
+ ),
60480
+ ]
59803
60481
  )
59804
- ),
59805
- false
60482
+ : _vm._e(),
60483
+ ],
60484
+ 1
60485
+ ),
60486
+ _vm._v(" "),
60487
+ _vm._l(
60488
+ column.childrenProps,
60489
+ function (child) {
60490
+ return _c(
60491
+ child.component,
60492
+ _vm._b(
60493
+ {
60494
+ key:
60495
+ child.name +
60496
+ _vm.rowKey(item),
60497
+ tag: "component",
60498
+ },
60499
+ "component",
60500
+ Object.assign(
60501
+ {},
60502
+ child,
60503
+ _vm.instance.getActionComponent(
60504
+ child,
60505
+ column,
60506
+ item
60507
+ )
60508
+ ),
60509
+ false
60510
+ )
59806
60511
  )
59807
- )
59808
- }
59809
- ),
59810
- 1
60512
+ }
60513
+ ),
60514
+ ],
60515
+ 2
59811
60516
  ),
59812
60517
  ]
59813
60518
  : _vm._e(),
@@ -59912,8 +60617,8 @@ __vue_render__._withStripped = true;
59912
60617
  /* style */
59913
60618
  const __vue_inject_styles__ = function (inject) {
59914
60619
  if (!inject) return
59915
- inject("data-v-3cea1c94_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
59916
- ,inject("data-v-3cea1c94_1", { source: ".zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable.text-right .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable.text-right .zd-table-cell-inline-edit {\n justify-content: flex-end;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable.text-center .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable.text-center .zd-table-cell-inline-edit {\n justify-content: center;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit {\n display: flex;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon {\n display: flex;\n font-size: 18px;\n margin-right: var(--spacing-1);\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text {\n padding: 0 8px;\n position: relative;\n display: block;\n height: 20px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n content: \"\";\n position: absolute;\n width: 1px;\n height: var(--spacing-1);\n bottom: 0px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before {\n left: 0;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n right: 0px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable {\n cursor: pointer;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable {\n border-bottom: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:after {\n border-left: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand {\n display: inline-block;\n text-align: end;\n vertical-align: baseline;\n height: 10px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon {\n transition: transform 0.3s ease;\n -webkit-transition: transform 0.3s ease;\n font-size: 20px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon::after {\n content: none;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon.opened {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level1 {\n width: 20px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level2 {\n width: 40px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level3 {\n width: 60px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level4 {\n width: 80px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level5 {\n width: 100px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level6 {\n width: 120px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level7 {\n width: 140px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level8 {\n width: 160px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level9 {\n width: 180px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level10 {\n width: 200px;\n}\n.zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot {\n height: 22px;\n}\n.zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot input, .zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot .v-select__selections {\n height: 22px;\n max-height: 22px;\n}", map: undefined, media: undefined });
60620
+ inject("data-v-7871e6ca_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
60621
+ ,inject("data-v-7871e6ca_1", { source: ".zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable.text-right .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable.text-right .zd-table-cell-inline-edit {\n justify-content: flex-end;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable.text-center .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable.text-center .zd-table-cell-inline-edit {\n justify-content: center;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit {\n display: flex;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon {\n display: flex;\n font-size: 18px;\n margin-right: var(--spacing-1);\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-tree-grid-editable-cell-wrapper, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-tree-grid-editable-cell-wrapper {\n display: flex;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text {\n width: 100%;\n padding: 0 8px;\n position: relative;\n display: block;\n height: 20px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n content: \"\";\n position: absolute;\n width: 1px;\n height: var(--spacing-1);\n bottom: 0px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before {\n left: 0;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n right: 0px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable {\n cursor: pointer;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable {\n border-bottom: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:after {\n border-left: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand {\n display: inline-block;\n text-align: end;\n vertical-align: baseline;\n height: 10px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon {\n transition: transform 0.3s ease;\n -webkit-transition: transform 0.3s ease;\n font-size: 20px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon::after {\n content: none;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon.opened {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level1 {\n width: 20px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level2 {\n width: 40px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level3 {\n width: 60px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level4 {\n width: 80px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level5 {\n width: 100px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level6 {\n width: 120px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level7 {\n width: 140px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level8 {\n width: 160px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level9 {\n width: 180px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level10 {\n width: 200px;\n}\n.zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot {\n height: 22px;\n}\n.zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot input, .zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot .v-select__selections {\n height: 22px;\n max-height: 22px;\n}", map: undefined, media: undefined });
59917
60622
 
59918
60623
  };
59919
60624
  /* scoped */
@@ -60097,6 +60802,23 @@ var styleObjectPlugin = (style) => {
60097
60802
  return objectStyle;
60098
60803
  };
60099
60804
 
60805
+ /**
60806
+ * Register an observer that calls `callback` when the `element` becomes visible
60807
+ */
60808
+ var onVisiblePlugin = (element, callback, root) => {
60809
+ const options = {
60810
+ root,
60811
+ };
60812
+ const observer = new IntersectionObserver((entries) => {
60813
+ entries.forEach((entry) => {
60814
+ if (entry.intersectionRatio > 0)
60815
+ callback();
60816
+ });
60817
+ }, options);
60818
+ observer.observe(element);
60819
+ return observer;
60820
+ };
60821
+
60100
60822
  // tslint:disable: variable-name
60101
60823
  const VueTreeSelect = require('@zeedhi/zd-vue-treeselect');
60102
60824
  const Hooper = require('hooper');
@@ -60233,6 +60955,8 @@ const Zeedhi = {
60233
60955
  Vue.prototype.$doubleClick = doubleClickPlugin;
60234
60956
  // isMobile
60235
60957
  Vue.prototype.$isMobile = isMobilePlugin;
60958
+ // onVisible
60959
+ Vue.prototype.$onVisible = onVisiblePlugin;
60236
60960
  // isDark
60237
60961
  Vue.prototype.$isDark = isDarkPlugin;
60238
60962
  // isLight