@zeedhi/vuetify 1.105.1 → 1.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import VueI18Next from '@panter/vue-i18next';
2
- import { Metadata, Utils, Config, I18n, Mask, DateHelper, Router, InstanceNotFoundError, FormatterParserProvider, KeyMap, dayjs, VersionService, ViewService } from '@zeedhi/core';
2
+ import { Metadata, Utils, Config, I18n, Mask, DateHelper, Router, InstanceNotFoundError, FormatterParserProvider, KeyMap, Messages, dayjs, VersionService, ViewService } from '@zeedhi/core';
3
3
  import VueApexCharts from 'vue-apexcharts';
4
4
  import SlVueTree from 'sl-vue-tree';
5
5
  import 'sl-vue-tree/dist/sl-vue-tree-minimal.css';
@@ -160,7 +160,7 @@ var VApp = mixins(Themeable$1).extend({
160
160
 
161
161
  beforeCreate() {
162
162
  if (!this.$vuetify || this.$vuetify === this.$root) {
163
- throw new Error('Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object');
163
+ throw new Error('Vuetify is not properly initialized, see https://vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object');
164
164
  }
165
165
  },
166
166
 
@@ -1197,7 +1197,7 @@ const icons$2 = {
1197
1197
  clear: 'fas fa-times-circle',
1198
1198
  success: 'fas fa-check-circle',
1199
1199
  info: 'fas fa-info-circle',
1200
- warning: 'fas fa-exclamation-circle',
1200
+ warning: 'fas fa-exclamation',
1201
1201
  error: 'fas fa-exclamation-triangle',
1202
1202
  prev: 'fas fa-chevron-left',
1203
1203
  next: 'fas fa-chevron-right',
@@ -2213,7 +2213,7 @@ class Vuetify {
2213
2213
  }
2214
2214
  Vuetify.install = install$1;
2215
2215
  Vuetify.installed = false;
2216
- Vuetify.version = "2.6.16";
2216
+ Vuetify.version = "2.6.13";
2217
2217
  Vuetify.config = {
2218
2218
  silent: false
2219
2219
  };
@@ -8398,10 +8398,9 @@ var VLabel = mixins(Themeable$1).extend({
8398
8398
  const {
8399
8399
  children,
8400
8400
  listeners,
8401
- props,
8402
- data
8401
+ props
8403
8402
  } = ctx;
8404
- const newData = mergeData({
8403
+ const data = {
8405
8404
  staticClass: 'v-label',
8406
8405
  class: {
8407
8406
  'v-label--active': props.value,
@@ -8419,8 +8418,8 @@ var VLabel = mixins(Themeable$1).extend({
8419
8418
  position: props.absolute ? 'absolute' : 'relative'
8420
8419
  },
8421
8420
  ref: 'label'
8422
- }, data);
8423
- return h('label', Colorable.options.methods.setTextColor(props.focused && props.color, newData), children);
8421
+ };
8422
+ return h('label', Colorable.options.methods.setTextColor(props.focused && props.color, data), children);
8424
8423
  }
8425
8424
 
8426
8425
  });
@@ -10095,12 +10094,6 @@ var VSelect = baseMixins$j.extend().extend({
10095
10094
  (_a = this.$refs.menu) === null || _a === void 0 ? void 0 : _a.updateDimensions();
10096
10095
  });
10097
10096
  }
10098
-
10099
- if (this.hideSelected) {
10100
- this.$nextTick(() => {
10101
- this.onScroll();
10102
- });
10103
- }
10104
10097
  },
10105
10098
 
10106
10099
  isMenuActive(val) {
@@ -10329,18 +10322,19 @@ var VSelect = baseMixins$j.extend().extend({
10329
10322
 
10330
10323
  genMenu() {
10331
10324
  const props = this.$_menuProps;
10332
- props.activator = this.$refs['input-slot'];
10333
- if ('attach' in props) ;else if ( // TODO: make this a computed property or helper or something
10325
+ props.activator = this.$refs['input-slot']; // Attach to root el so that
10326
+ // menu covers prepend/append icons
10327
+
10328
+ if ( // TODO: make this a computed property or helper or something
10334
10329
  this.attach === '' || // If used as a boolean prop (<v-menu attach>)
10335
10330
  this.attach === true || // If bound to a boolean (<v-menu :attach="true">)
10336
10331
  this.attach === 'attach' // If bound as boolean prop in pug (v-menu(attach))
10337
10332
  ) {
10338
- // Attach to root el so that
10339
- // menu covers prepend/append icons
10340
10333
  props.attach = this.$el;
10341
10334
  } else {
10342
10335
  props.attach = this.attach;
10343
10336
  }
10337
+
10344
10338
  return this.$createElement(VMenu, {
10345
10339
  attrs: {
10346
10340
  role: undefined
@@ -10454,7 +10448,7 @@ var VSelect = baseMixins$j.extend().extend({
10454
10448
  },
10455
10449
 
10456
10450
  onKeyPress(e) {
10457
- if (this.multiple || !this.isInteractive || this.disableLookup || e.key.length > 1 || e.ctrlKey || e.metaKey || e.altKey) return;
10451
+ if (this.multiple || !this.isInteractive || this.disableLookup) return;
10458
10452
  const KEYBOARD_LOOKUP_THRESHOLD = 1000; // milliseconds
10459
10453
 
10460
10454
  const now = performance.now();
@@ -11771,7 +11765,7 @@ var Overlayable = Vue.extend().extend({
11771
11765
  if (!alreadyAtStart && scrollingUp) return true;
11772
11766
  if (!alreadyAtEnd && scrollingDown) return true;
11773
11767
 
11774
- if ((alreadyAtStart || alreadyAtEnd) && el.parentNode) {
11768
+ if (alreadyAtStart || alreadyAtEnd) {
11775
11769
  return this.shouldScroll(el.parentNode, e);
11776
11770
  }
11777
11771
 
@@ -19554,13 +19548,13 @@ var VDataIterator = mixins(Mobile, Themeable$1).extend({
19554
19548
 
19555
19549
  methods: {
19556
19550
  onKeyDown(e) {
19557
- this.shiftKeyDown = e.keyCode === keyCodes.shift || e.shiftKey;
19551
+ if (e.keyCode !== keyCodes.shift) return;
19552
+ this.shiftKeyDown = true;
19558
19553
  },
19559
19554
 
19560
19555
  onKeyUp(e) {
19561
- if (e.keyCode === keyCodes.shift || !e.shiftKey) {
19562
- this.shiftKeyDown = false;
19563
- }
19556
+ if (e.keyCode !== keyCodes.shift) return;
19557
+ this.shiftKeyDown = false;
19564
19558
  },
19565
19559
 
19566
19560
  toggleSelectAll(value) {
@@ -20856,8 +20850,7 @@ var VDataTable = mixins(VDataIterator, Loadable).extend({
20856
20850
  return this.$createElement(VSimpleTable, {
20857
20851
  props: simpleProps,
20858
20852
  class: {
20859
- 'v-data-table--mobile': this.isMobile,
20860
- 'v-data-table--selectable': this.showSelect
20853
+ 'v-data-table--mobile': this.isMobile
20861
20854
  }
20862
20855
  }, [this.proxySlot('top', getSlot(this, 'top', { ...props,
20863
20856
  isMobile: this.isMobile
@@ -31593,7 +31586,7 @@ var icons = {
31593
31586
  clear: 'fas fa-times-circle',
31594
31587
  success: 'fas fa-check-circle',
31595
31588
  info: 'fas fa-info-circle',
31596
- warning: 'fas fa-exclamation-circle',
31589
+ warning: 'fas fa-exclamation',
31597
31590
  error: 'fas fa-exclamation-triangle',
31598
31591
  prev: 'fas fa-chevron-left',
31599
31592
  next: 'fas fa-chevron-right',
@@ -32012,23 +32005,23 @@ var _default = {
32012
32005
  badge: 'شارة',
32013
32006
  close: 'إغلاق',
32014
32007
  dataIterator: {
32015
- noResultsText: 'لم يتم إيجاد نتائج',
32016
- loadingText: 'يتم جلب العناصر...'
32008
+ noResultsText: 'لا توجد سجلات مطابقة',
32009
+ loadingText: 'تحميل العنصر...'
32017
32010
  },
32018
32011
  dataTable: {
32019
- itemsPerPageText: 'عدد الصفوف لكل صفحة:',
32012
+ itemsPerPageText: 'الصفوف لكل صفحة:',
32020
32013
  ariaLabel: {
32021
- sortDescending: 'مرتب تنازلياً.',
32022
- sortAscending: 'مرتب تصاعدياً.',
32023
- sortNone: 'غير مرتب.',
32024
- activateNone: 'نشط لإزالة الترتيب.',
32025
- activateDescending: 'نشط للترتيب تنازلياً.',
32026
- activateAscending: 'نشط للترتيب تصاعدياً.'
32014
+ sortDescending: 'مفروز تنازلي. تنشيط لإزالة الفرز.',
32015
+ sortAscending: 'مفروز تصاعدي. تنشيط للفرز التنازلي.',
32016
+ sortNone: 'غير مفروزة. تفعيل لفرز تصاعدي.',
32017
+ activateNone: 'Activate to remove sorting.',
32018
+ activateDescending: 'Activate to sort descending.',
32019
+ activateAscending: 'Activate to sort ascending.'
32027
32020
  },
32028
- sortBy: 'رتب حسب'
32021
+ sortBy: 'مفروزة حسب'
32029
32022
  },
32030
32023
  dataFooter: {
32031
- itemsPerPageText: 'عدد العناصر لكل صفحة:',
32024
+ itemsPerPageText: 'العناصر لكل صفحة:',
32032
32025
  itemsPerPageAll: 'الكل',
32033
32026
  nextPage: 'الصفحة التالية',
32034
32027
  prevPage: 'الصفحة السابقة',
@@ -32037,18 +32030,18 @@ var _default = {
32037
32030
  pageText: '{0}-{1} من {2}'
32038
32031
  },
32039
32032
  datePicker: {
32040
- itemsSelected: 'تم تحديد {0}',
32033
+ itemsSelected: '{0} مختارة',
32041
32034
  nextMonthAriaLabel: 'الشهر القادم',
32042
32035
  nextYearAriaLabel: 'العام القادم',
32043
32036
  prevMonthAriaLabel: 'الشهر الماضى',
32044
32037
  prevYearAriaLabel: 'السنة الماضية'
32045
32038
  },
32046
- noDataText: 'لا توجد بيانات',
32039
+ noDataText: 'لا توجد بيانات متاحة',
32047
32040
  carousel: {
32048
- prev: 'المعروض السابق',
32049
- next: 'المعروض التالي',
32041
+ prev: 'البصري السابق',
32042
+ next: 'البصري التالي',
32050
32043
  ariaLabel: {
32051
- delimiter: 'المعروض رقم {0} من {1}'
32044
+ delimiter: 'Carousel slide {0} of {1}'
32052
32045
  }
32053
32046
  },
32054
32047
  calendar: {
@@ -32064,16 +32057,16 @@ var _default = {
32064
32057
  },
32065
32058
  pagination: {
32066
32059
  ariaLabel: {
32067
- wrapper: 'الإنتقال بين الصفحات',
32060
+ wrapper: 'ترقيم الصفحات الملاحة',
32068
32061
  next: 'الصفحة التالية',
32069
32062
  previous: 'الصفحة السابقة',
32070
- page: '{0} انتقل إلى الصفحة',
32071
- currentPage: '{0} الصفحة الحالية رقمها'
32063
+ page: '{0} انتقل إلى صفحة',
32064
+ currentPage: '{0} الصفحة الحالية ، الصفحة'
32072
32065
  }
32073
32066
  },
32074
32067
  rating: {
32075
32068
  ariaLabel: {
32076
- icon: 'القييم {0} من {1}'
32069
+ icon: 'Rating {0} of {1}'
32077
32070
  }
32078
32071
  }
32079
32072
  };
@@ -36846,7 +36839,7 @@ var Vuetify = /*#__PURE__*/function () {
36846
36839
  exports.default = Vuetify;
36847
36840
  Vuetify.install = install_1.install;
36848
36841
  Vuetify.installed = false;
36849
- Vuetify.version = "2.6.16";
36842
+ Vuetify.version = "2.6.13";
36850
36843
  Vuetify.config = {
36851
36844
  silent: false
36852
36845
  };
@@ -40562,7 +40555,10 @@ __decorate([
40562
40555
  __metadata("design:type", String)
40563
40556
  ], ZdInput.prototype, "storePath", void 0);
40564
40557
  __decorate([
40565
- Prop({ type: [Object, String], default: () => ({}) }),
40558
+ Prop({
40559
+ type: [Object, String],
40560
+ default: () => ({ required: false }),
40561
+ }),
40566
40562
  __metadata("design:type", Object)
40567
40563
  ], ZdInput.prototype, "validations", void 0);
40568
40564
  __decorate([
@@ -42243,6 +42239,7 @@ var __vue_render__$1m = function () {
42243
42239
  "zd-no-border": !_vm.instance.showBorder,
42244
42240
  "zd-no-helper":
42245
42241
  !_vm.instance.showHelper &&
42242
+ !_vm.instance.persistentHint &&
42246
42243
  !(
42247
42244
  _vm.instance.alwaysShowError &&
42248
42245
  _vm.$refs.instance &&
@@ -42380,7 +42377,7 @@ __vue_render__$1m._withStripped = true;
42380
42377
  /* style */
42381
42378
  const __vue_inject_styles__$1m = function (inject) {
42382
42379
  if (!inject) return
42383
- inject("data-v-28353e64_0", { source: ".zd-text-input__affix, .v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append .zd-text-input__append__suffix, .v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__prefix {\n font-weight: var(--zd-font-body2-weight);\n color: var(--v-grey-lighten2);\n font-size: var(--zd-font-body2-size);\n line-height: 15px;\n padding: 3px 0 4px 0;\n}\n.zd-input.v-input.v-input--is-readonly > .v-input__control > .v-input__slot {\n background-color: var(--v-grey-lighten5);\n}\n.zd-input.v-input.v-input--is-readonly.theme--dark > .v-input__control > .v-input__slot {\n background-color: var(--v-grey-darken2);\n}\n.v-input.zd-text-input {\n padding-top: var(--spacing-4);\n}\n.v-input.zd-text-input .v-input__prepend-outer {\n margin-right: var(--spacing-1);\n}\n.v-input.zd-text-input .v-input__append-outer {\n margin-left: var(--spacing-1);\n}\n.v-input.zd-text-input .v-input__prepend-outer, .v-input.zd-text-input .v-input__append-outer {\n margin-top: calc(var(--spacing-7) / 2 - var(--icon-size) / 2);\n margin-bottom: calc(var(--spacing-7) / 2 - var(--icon-size) / 2);\n}\n.v-input.zd-text-input .v-input__append-inner, .v-input.zd-text-input .v-input__prepend-inner {\n padding: 0;\n margin: 0;\n align-self: unset;\n}\n.v-input.zd-text-input .v-input__prepend-outer .v-icon, .v-input.zd-text-input .v-input__append-outer .v-icon, .v-input.zd-text-input .v-input__append-inner .v-icon, .v-input.zd-text-input .v-input__prepend-inner .v-icon {\n font-size: var(--icon-size);\n}\n.v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__prefix {\n padding-left: var(--spacing-2);\n}\n.v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__slot {\n position: static;\n}\n.v-input.zd-text-input.v-text-field--reverse > .v-input__control > .v-input__slot label {\n left: auto !important;\n}\n.v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append {\n align-items: center;\n display: inline-flex;\n flex: 1 0 auto;\n justify-content: center;\n}\n.v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append .zd-text-input__append__suffix {\n padding-right: var(--spacing-2);\n}\n.v-input.zd-text-input.zd-text-input--prepend-icon > .v-input__control > .v-input__slot > .v-input__prepend-inner {\n padding: 0;\n}\n.v-input.zd-text-input.zd-text-input--append-icon > .v-input__control > .v-input__slot > .v-input__append-inner {\n padding: 0;\n}\n.v-input.zd-text-input.zd-dense .v-input__prepend-outer, .v-input.zd-text-input.zd-dense .v-input__append-outer {\n margin-top: calc(var(--icon-size) / 2 - var(--icon-size) / 2);\n margin-bottom: calc(var(--icon-size) / 2 - var(--icon-size) / 2);\n}\n.v-input.zd-text-input.zd-dense .v-input__prepend-outer .v-icon, .v-input.zd-text-input.zd-dense .v-input__append-outer .v-icon, .v-input.zd-text-input.zd-dense .v-input__append-inner .v-icon, .v-input.zd-text-input.zd-dense .v-input__prepend-inner .v-icon {\n font-size: var(--icon-size-small);\n}\n.v-input.zd-text-input.zd-dense .v-input__slot .v-text-field__prefix {\n height: auto;\n}\n.v-input.zd-text-input.zd-no-border:not(.error--text) .v-input__append-inner:last-child,\n.v-input.zd-text-input.zd-no-border:not(.error--text) .v-input__prepend-inner:first-child {\n margin: 0;\n}\n.v-input.zd-text-input.zd-no-border:not(.error--text) > .v-input__control > .v-input__slot input {\n padding: 0;\n}\n.v-input.zd-text-input.zd-text-align-left > .v-input__control > .v-input__slot input {\n text-align: left;\n}\n.v-input.zd-text-input.zd-color-type > .v-input__control > .v-input__slot input {\n padding: 0;\n cursor: pointer;\n max-height: 22px;\n}\n.v-input.zd-text-input.zd-color-type:not(.zd-dense) > .v-input__control > .v-input__slot input {\n max-height: 34px;\n}\n.v-input.zd-text-input.zd-text-align-center > .v-input__control > .v-input__slot input {\n text-align: center;\n}\n.v-input.zd-text-input.zd-text-align-right > .v-input__control > .v-input__slot input {\n text-align: right;\n}", map: undefined, media: undefined });
42380
+ inject("data-v-ecb32ef8_0", { source: ".zd-text-input__affix, .v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append .zd-text-input__append__suffix, .v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__prefix {\n font-weight: var(--zd-font-body2-weight);\n color: var(--v-grey-lighten2);\n font-size: var(--zd-font-body2-size);\n line-height: 15px;\n padding: 3px 0 4px 0;\n}\n.zd-input.v-input.v-input--is-readonly > .v-input__control > .v-input__slot {\n background-color: var(--v-grey-lighten5);\n}\n.zd-input.v-input.v-input--is-readonly.theme--dark > .v-input__control > .v-input__slot {\n background-color: var(--v-grey-darken2);\n}\n.v-input.zd-text-input {\n padding-top: var(--spacing-4);\n}\n.v-input.zd-text-input .v-input__prepend-outer {\n margin-right: var(--spacing-1);\n}\n.v-input.zd-text-input .v-input__append-outer {\n margin-left: var(--spacing-1);\n}\n.v-input.zd-text-input .v-input__prepend-outer, .v-input.zd-text-input .v-input__append-outer {\n margin-top: calc(var(--spacing-7) / 2 - var(--icon-size) / 2);\n margin-bottom: calc(var(--spacing-7) / 2 - var(--icon-size) / 2);\n}\n.v-input.zd-text-input .v-input__append-inner, .v-input.zd-text-input .v-input__prepend-inner {\n padding: 0;\n margin: 0;\n align-self: unset;\n}\n.v-input.zd-text-input .v-input__prepend-outer .v-icon, .v-input.zd-text-input .v-input__append-outer .v-icon, .v-input.zd-text-input .v-input__append-inner .v-icon, .v-input.zd-text-input .v-input__prepend-inner .v-icon {\n font-size: var(--icon-size);\n}\n.v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__prefix {\n padding-left: var(--spacing-2);\n}\n.v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__slot {\n position: static;\n}\n.v-input.zd-text-input.v-text-field--reverse > .v-input__control > .v-input__slot label {\n left: auto !important;\n}\n.v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append {\n align-items: center;\n display: inline-flex;\n flex: 1 0 auto;\n justify-content: center;\n}\n.v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append .zd-text-input__append__suffix {\n padding-right: var(--spacing-2);\n}\n.v-input.zd-text-input.zd-text-input--prepend-icon > .v-input__control > .v-input__slot > .v-input__prepend-inner {\n padding: 0;\n}\n.v-input.zd-text-input.zd-text-input--append-icon > .v-input__control > .v-input__slot > .v-input__append-inner {\n padding: 0;\n}\n.v-input.zd-text-input.zd-dense .v-input__prepend-outer, .v-input.zd-text-input.zd-dense .v-input__append-outer {\n margin-top: calc(var(--icon-size) / 2 - var(--icon-size) / 2);\n margin-bottom: calc(var(--icon-size) / 2 - var(--icon-size) / 2);\n}\n.v-input.zd-text-input.zd-dense .v-input__prepend-outer .v-icon, .v-input.zd-text-input.zd-dense .v-input__append-outer .v-icon, .v-input.zd-text-input.zd-dense .v-input__append-inner .v-icon, .v-input.zd-text-input.zd-dense .v-input__prepend-inner .v-icon {\n font-size: var(--icon-size-small);\n}\n.v-input.zd-text-input.zd-dense .v-input__slot .v-text-field__prefix {\n height: auto;\n}\n.v-input.zd-text-input.zd-no-border:not(.error--text) .v-input__append-inner:last-child,\n.v-input.zd-text-input.zd-no-border:not(.error--text) .v-input__prepend-inner:first-child {\n margin: 0;\n}\n.v-input.zd-text-input.zd-no-border:not(.error--text) > .v-input__control > .v-input__slot input {\n padding: 0;\n}\n.v-input.zd-text-input.zd-text-align-left > .v-input__control > .v-input__slot input {\n text-align: left;\n}\n.v-input.zd-text-input.zd-color-type > .v-input__control > .v-input__slot input {\n padding: 0;\n cursor: pointer;\n max-height: 22px;\n}\n.v-input.zd-text-input.zd-color-type:not(.zd-dense) > .v-input__control > .v-input__slot input {\n max-height: 34px;\n}\n.v-input.zd-text-input.zd-text-align-center > .v-input__control > .v-input__slot input {\n text-align: center;\n}\n.v-input.zd-text-input.zd-text-align-right > .v-input__control > .v-input__slot input {\n text-align: right;\n}", map: undefined, media: undefined });
42384
42381
 
42385
42382
  };
42386
42383
  /* scoped */
@@ -45982,6 +45979,10 @@ __decorate([
45982
45979
  Prop({ type: [String, Boolean], default: () => { var _a; return ((_a = Config.iterableSearchVisibleOnly) !== null && _a !== void 0 ? _a : true); } }),
45983
45980
  __metadata("design:type", Object)
45984
45981
  ], ZdIterable.prototype, "searchVisibleOnly", void 0);
45982
+ __decorate([
45983
+ Prop({ type: [String, Boolean], default: undefined }),
45984
+ __metadata("design:type", Object)
45985
+ ], ZdIterable.prototype, "searchIn", void 0);
45985
45986
  ZdIterable = __decorate([
45986
45987
  Component$1
45987
45988
  ], ZdIterable);
@@ -52347,6 +52348,9 @@ let ZdSelect = class ZdSelect extends __vue_component__$1m {
52347
52348
  this.originalOnScroll = this.componentRef.onScroll;
52348
52349
  this.componentRef.onScroll = this.onScroll;
52349
52350
  this.applyAutofocus();
52351
+ this.instance.viewCloseMenu = () => {
52352
+ this.$refs.instance.isMenuActive = false;
52353
+ };
52350
52354
  }
52351
52355
  mouseenter(event) {
52352
52356
  this.instance.mouseenter(event, this.$el);
@@ -52447,7 +52451,7 @@ let ZdSelect = class ZdSelect extends __vue_component__$1m {
52447
52451
  checkOverflow(element) {
52448
52452
  if (!element)
52449
52453
  return;
52450
- const overflow = element.clientWidth < element.scrollWidth;
52454
+ const overflow = element.clientWidth < element.scrollWidth - 5;
52451
52455
  const tooltip = this.$refs.tooltip;
52452
52456
  if (overflow && tooltip) {
52453
52457
  tooltip.classList.add('zd-select-tooltip-show');
@@ -52564,6 +52568,40 @@ let ZdSelect = class ZdSelect extends __vue_component__$1m {
52564
52568
  setMenuVisibility(visibility) {
52565
52569
  this.componentRef.isMenuActive = visibility && visibility !== 'hide';
52566
52570
  }
52571
+ get showModalButton() {
52572
+ return this.instance.modalSelection
52573
+ && this.instance.modalSelectionColumns
52574
+ && this.instance.modalSelectionColumns.length > 0;
52575
+ }
52576
+ getSelectIconClickEvents() {
52577
+ const events = {};
52578
+ if (this.instance.events.appendIconClick || this.showModalButton) {
52579
+ events['click:append'] = (event) => {
52580
+ this.appendIconClick(event);
52581
+ if (this.showModalButton) {
52582
+ this.instance.openModalSelection();
52583
+ }
52584
+ };
52585
+ }
52586
+ if (this.instance.events.appendOuterIconClick) {
52587
+ events['click:append-outer'] = this.appendOuterIconClick;
52588
+ }
52589
+ if (this.instance.events.prependOuterIconClick) {
52590
+ events['click:prepend'] = this.prependOuterIconClick;
52591
+ }
52592
+ if (this.instance.events.prependIconClick) {
52593
+ events['click:prepend-inner'] = this.prependIconClick;
52594
+ }
52595
+ return events;
52596
+ }
52597
+ getPlaceHolder() {
52598
+ if (this.instance.placeholder)
52599
+ return I18n.translate(this.instance.placeholder);
52600
+ if (this.showModalButton) {
52601
+ return I18n.translate('SELECT_MODAL_KEYMAP');
52602
+ }
52603
+ return '';
52604
+ }
52567
52605
  };
52568
52606
  __decorate([
52569
52607
  PropWatch({ type: String, default: 'expand' }),
@@ -52657,6 +52695,14 @@ __decorate([
52657
52695
  PropWatch({ type: [String, Boolean], default: true }),
52658
52696
  __metadata("design:type", Boolean)
52659
52697
  ], ZdSelect.prototype, "closeOnScroll", void 0);
52698
+ __decorate([
52699
+ PropWatch({ type: [String, Boolean], default: false }),
52700
+ __metadata("design:type", Boolean)
52701
+ ], ZdSelect.prototype, "modalSelection", void 0);
52702
+ __decorate([
52703
+ PropWatch({ type: [String, Array], default: () => [] }),
52704
+ __metadata("design:type", Array)
52705
+ ], ZdSelect.prototype, "modalSelectionColumns", void 0);
52660
52706
  __decorate([
52661
52707
  Watch('instance.closeOnScroll'),
52662
52708
  __metadata("design:type", Function),
@@ -52714,6 +52760,7 @@ var __vue_render__$K = function () {
52714
52760
  "zd-dense": _vm.instance.dense,
52715
52761
  "zd-select-autocomplete": _vm.instance.autocomplete,
52716
52762
  "zd-input-required": _vm.instance.validations.required,
52763
+ "zd-select-modal-selection": _vm.showModalButton,
52717
52764
  },
52718
52765
  "zd-select-align-" +
52719
52766
  (_vm.instance.reverse ? "right" : _vm.instance.align),
@@ -52744,7 +52791,7 @@ var __vue_render__$K = function () {
52744
52791
  label: _vm.instance.showLabel
52745
52792
  ? _vm.$t(_vm.instance.label)
52746
52793
  : undefined,
52747
- placeholder: _vm.$t(_vm.instance.placeholder),
52794
+ placeholder: _vm.getPlaceHolder(),
52748
52795
  hint: _vm.$t(_vm.instance.hint),
52749
52796
  persistentHint: _vm.instance.persistentHint,
52750
52797
  reverse: _vm.instance.reverse,
@@ -52761,7 +52808,9 @@ var __vue_render__$K = function () {
52761
52808
  maxHeight: _vm.instance.menuMaxHeight,
52762
52809
  },
52763
52810
  "search-input": _vm.instance.search,
52764
- "append-icon": _vm.$getIcon(_vm.instance.appendIcon),
52811
+ "append-icon": _vm.$getIcon(
52812
+ _vm.showModalButton ? "tableSearch" : _vm.instance.appendIcon
52813
+ ),
52765
52814
  "append-outer-icon": _vm.$getIcon(_vm.instance.appendOuterIcon),
52766
52815
  "prepend-icon": _vm.$getIcon(_vm.instance.prependOuterIcon),
52767
52816
  "prepend-inner-icon": _vm.$getIcon(_vm.instance.prependIcon),
@@ -53031,7 +53080,7 @@ var __vue_render__$K = function () {
53031
53080
  expression: "instance.selectValue",
53032
53081
  },
53033
53082
  },
53034
- _vm.getIconClickEvents()
53083
+ _vm.getSelectIconClickEvents()
53035
53084
  )
53036
53085
  )
53037
53086
  };
@@ -53041,7 +53090,7 @@ __vue_render__$K._withStripped = true;
53041
53090
  /* style */
53042
53091
  const __vue_inject_styles__$K = function (inject) {
53043
53092
  if (!inject) return
53044
- inject("data-v-f3af3d18_0", { source: ".zd-select .v-input__control .v-input__slot .v-select__slot {\n position: static;\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__prepend-outer {\n margin-right: var(--spacing-1);\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__append-outer {\n margin-left: var(--spacing-1);\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__prepend-outer, .zd-select .v-input__control .v-input__slot .v-select__slot .v-input__append-outer {\n margin-top: 5px;\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__append-inner, .zd-select .v-input__control .v-input__slot .v-select__slot .v-input__prepend-inner {\n padding-left: 0;\n padding-right: 0;\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot input {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.zd-select.zd-select-align-left > .v-input__control > .v-input__slot input {\n text-align: left;\n}\n.zd-select.zd-select-align-center > .v-input__control > .v-input__slot input {\n text-align: center;\n}\n.zd-select.zd-select-align-right > .v-input__control > .v-input__slot input {\n text-align: right;\n}\n.zd-select .v-select__selections {\n padding: 0;\n width: 172px;\n}\n.zd-select .v-select__selections .v-select__selection {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n margin: 0;\n max-width: none;\n}\n.zd-select .v-select__selections .v-select__selection--disabled {\n opacity: 0.5;\n}\n.zd-select.theme--light {\n color: var(--zd-font-color);\n}\n.zd-select.zd-dense .v-input__append-inner, .zd-select.zd-dense .v-input__prepend-inner {\n margin-top: 0;\n}\n.zd-select-append-item .v-list-item__content {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-size);\n color: var(--v-primary-base);\n}\n.zd-select-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-select-tooltip.zd-select-tooltip-show {\n display: block;\n white-space: normal;\n}\n.v-menu__content.zd-select-menu {\n box-shadow: var(--shadow-2);\n max-height: 40vh !important;\n}\n.v-menu__content.zd-select-menu .v-select-list {\n padding: 0;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item {\n height: auto;\n min-height: 40px;\n padding: 0 var(--spacing-4);\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item__content {\n padding: var(--spacing-2) 0;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item:not(.theme--dark) {\n color: var(--zd-font-color);\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item__title {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n height: auto;\n line-height: unset;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item.v-list-item--disabled .v-list-item__title {\n opacity: 0.5;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item.v-list-item--disabled.primary--text .v-list-item__title {\n color: inherit;\n}\n.v-menu__content.zd-select-menu.zd-dense .v-list-item {\n height: auto;\n min-height: 24px;\n padding: 0 var(--spacing-4);\n}\n.v-menu__content.zd-select-menu.zd-select-align-left .v-list-item__content .v-list-item__title {\n text-align: left;\n}\n.v-menu__content.zd-select-menu.zd-select-align-center .v-list-item__content .v-list-item__title {\n text-align: center;\n}\n.v-menu__content.zd-select-menu.zd-select-align-right .v-list-item__content .v-list-item__title {\n text-align: right;\n}\n.zd-select-overflow {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}", map: undefined, media: undefined });
53093
+ inject("data-v-0e3a3adf_0", { source: ".zd-select .v-input__control .v-input__slot .v-select__slot {\n position: static;\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__prepend-outer {\n margin-right: var(--spacing-1);\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__append-outer {\n margin-left: var(--spacing-1);\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__prepend-outer, .zd-select .v-input__control .v-input__slot .v-select__slot .v-input__append-outer {\n margin-top: 5px;\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot .v-input__append-inner, .zd-select .v-input__control .v-input__slot .v-select__slot .v-input__prepend-inner {\n padding-left: 0;\n padding-right: 0;\n}\n.zd-select .v-input__control .v-input__slot .v-select__slot input {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.zd-select.zd-select-align-left > .v-input__control > .v-input__slot input {\n text-align: left;\n}\n.zd-select.zd-select-align-center > .v-input__control > .v-input__slot input {\n text-align: center;\n}\n.zd-select.zd-select-align-right > .v-input__control > .v-input__slot input {\n text-align: right;\n}\n.zd-select .v-select__selections {\n padding: 0;\n width: 172px;\n}\n.zd-select .v-select__selections .v-select__selection {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n margin: 0;\n max-width: none;\n}\n.zd-select .v-select__selections .v-select__selection--disabled {\n opacity: 0.5;\n}\n.zd-select.theme--light {\n color: var(--zd-font-color);\n}\n.zd-select.zd-dense .v-input__append-inner, .zd-select.zd-dense .v-input__prepend-inner {\n margin-top: 0;\n}\n.zd-select-append-item .v-list-item__content {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-size);\n color: var(--v-primary-base);\n}\n.zd-select.zd-select-modal-selection .v-input__append-inner .v-input__icon--append .v-icon {\n background-color: var(--v-primary-base) !important;\n color: white !important;\n border-radius: 3px !important;\n margin-right: 2px !important;\n transform: rotate(0) !important;\n}\n.zd-select-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-select-tooltip.zd-select-tooltip-show {\n display: block;\n white-space: normal;\n}\n.v-menu__content.zd-select-menu {\n box-shadow: var(--shadow-2);\n max-height: 40vh !important;\n}\n.v-menu__content.zd-select-menu .v-select-list {\n padding: 0;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item {\n height: auto;\n min-height: 40px;\n padding: 0 var(--spacing-4);\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item__content {\n padding: var(--spacing-2) 0;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item:not(.theme--dark) {\n color: var(--zd-font-color);\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item__title {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n height: auto;\n line-height: unset;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item.v-list-item--disabled .v-list-item__title {\n opacity: 0.5;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item.v-list-item--disabled.primary--text .v-list-item__title {\n color: inherit;\n}\n.v-menu__content.zd-select-menu.zd-dense .v-list-item {\n height: auto;\n min-height: 24px;\n padding: 0 var(--spacing-4);\n}\n.v-menu__content.zd-select-menu.zd-select-align-left .v-list-item__content .v-list-item__title {\n text-align: left;\n}\n.v-menu__content.zd-select-menu.zd-select-align-center .v-list-item__content .v-list-item__title {\n text-align: center;\n}\n.v-menu__content.zd-select-menu.zd-select-align-right .v-list-item__content .v-list-item__title {\n text-align: right;\n}\n.zd-select-overflow {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.zd-select-modal-selection-grid {\n margin-top: 0 !important;\n}", map: undefined, media: undefined });
53045
53094
 
53046
53095
  };
53047
53096
  /* scoped */
@@ -54120,6 +54169,16 @@ let ZdLogin = class ZdLogin extends ZdComponentRender$1 {
54120
54169
  super(...arguments);
54121
54170
  this.instanceType = Login;
54122
54171
  }
54172
+ get socialLoginComponents() {
54173
+ return (this.instance.socialLogin || []).map((item, index) => {
54174
+ const defaultComponent = {
54175
+ name: `${this.instance.name}_social_login_${index}`,
54176
+ component: 'ZdImage',
54177
+ src: item.icon,
54178
+ };
54179
+ return Object.assign(Object.assign({}, defaultComponent), item);
54180
+ });
54181
+ }
54123
54182
  };
54124
54183
  __decorate([
54125
54184
  PropWatch({ type: String, default: '' }),
@@ -54269,18 +54328,29 @@ var __vue_render__$C = function () {
54269
54328
  2
54270
54329
  ),
54271
54330
  _vm._v(" "),
54272
- _vm.instance.socialLogin.length
54331
+ _vm.socialLoginComponents.length
54273
54332
  ? _c(
54274
54333
  "div",
54275
54334
  { staticClass: "zd-login-card-actions" },
54276
- _vm._l(_vm.instance.socialLogin, function (child, index) {
54335
+ _vm._l(_vm.socialLoginComponents, function (child, index) {
54277
54336
  return _c(
54278
- "div",
54279
- { key: index, staticClass: "zd-login-social-buttons" },
54280
- [_c("img", { attrs: { src: child.icon } })]
54337
+ child.component,
54338
+ _vm._b(
54339
+ {
54340
+ key: index,
54341
+ tag: "component",
54342
+ staticClass: "zd-login-social-buttons",
54343
+ attrs: { parent: _vm.instance },
54344
+ },
54345
+ "component",
54346
+ child,
54347
+ false
54348
+ ),
54349
+ [_vm._t("default")],
54350
+ 2
54281
54351
  )
54282
54352
  }),
54283
- 0
54353
+ 1
54284
54354
  )
54285
54355
  : _vm._e(),
54286
54356
  _vm._v(" "),
@@ -54356,7 +54426,7 @@ __vue_render__$C._withStripped = true;
54356
54426
  /* style */
54357
54427
  const __vue_inject_styles__$C = function (inject) {
54358
54428
  if (!inject) return
54359
- 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 });
54429
+ inject("data-v-53f58ebc_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 });
54360
54430
 
54361
54431
  };
54362
54432
  /* scoped */
@@ -56904,11 +56974,68 @@ let ZdSearch = class ZdSearch extends __vue_component__$1m {
56904
56974
  constructor() {
56905
56975
  super(...arguments);
56906
56976
  this.instanceType = Search;
56977
+ this.dropdownProps = {
56978
+ openOnClick: true,
56979
+ openOnHover: false,
56980
+ openOnFocus: false,
56981
+ offsetY: true,
56982
+ };
56983
+ }
56984
+ selectSearchField({ component }) {
56985
+ const searchField = component.userProperties.fieldName === '__ALL' ? undefined : component.userProperties.fieldName;
56986
+ const changed = this.instance.iterableComponent.searchIn !== searchField;
56987
+ this.instance.iterableComponent.searchIn = searchField;
56988
+ this.$forceUpdate();
56989
+ this.$nextTick(() => {
56990
+ this.instance.hint = this.getHintText();
56991
+ if (changed)
56992
+ this.instance.iterableComponent.setSearch(this.instance.value);
56993
+ });
56994
+ }
56995
+ getHintText() {
56996
+ return this.instance.iterableComponent.searchIn
56997
+ ? this.instance.iterableComponent.getColumn(this.instance.iterableComponent.searchIn).label
56998
+ : this.$t('ALL_FIELDS');
56999
+ }
57000
+ mounted() {
57001
+ var _a;
57002
+ if (!this.$refs.dropdown)
57003
+ return;
57004
+ const dropdown = this.$refs.dropdown.instance;
57005
+ dropdown.children = [{
57006
+ name: `${this.instance.name}_search_all`,
57007
+ component: 'ZdButton',
57008
+ label: 'SEARCH_ALL_FIELDS',
57009
+ cssClass: 'zd-search-buttons',
57010
+ flat: true,
57011
+ events: { click: this.selectSearchField },
57012
+ fieldName: '__ALL',
57013
+ }];
57014
+ (_a = this.instance.iterableComponent) === null || _a === void 0 ? void 0 : _a.columns.forEach((column) => {
57015
+ var _a;
57016
+ if (!((_a = this.instance.iterableComponent) === null || _a === void 0 ? void 0 : _a.isColumnSearchable(column)))
57017
+ return;
57018
+ dropdown.children.push({
57019
+ name: `${this.instance.name}_search_${column.name}`,
57020
+ component: 'ZdButton',
57021
+ label: column.label,
57022
+ cssClass: 'zd-search-buttons',
57023
+ flat: true,
57024
+ events: { click: this.selectSearchField },
57025
+ fieldName: column.name,
57026
+ });
57027
+ });
56907
57028
  }
56908
57029
  getSearchValue() {
56909
57030
  var _a;
56910
57031
  return ((_a = this.instance.iterableComponent) === null || _a === void 0 ? void 0 : _a.datasource.search) || '';
56911
57032
  }
57033
+ toggleDropdown() {
57034
+ const dropdown = Metadata.getInstance(`${this.instance.name}_dropdown`);
57035
+ if (!dropdown)
57036
+ return;
57037
+ dropdown.value = !dropdown.value;
57038
+ }
56912
57039
  };
56913
57040
  __decorate([
56914
57041
  PropWatch({ type: String }),
@@ -56937,7 +57064,27 @@ __decorate([
56937
57064
  ZdSearch = __decorate([
56938
57065
  Component$1
56939
57066
  ], ZdSearch);
56940
- var script$j = ZdSearch;
57067
+ var script$j = ZdSearch;
57068
+ Messages.add({
57069
+ 'pt-BR': {
57070
+ translation: {
57071
+ ALL_FIELDS: 'Todos os Campos',
57072
+ SEARCH_ALL_FIELDS: 'Todos os Campos',
57073
+ },
57074
+ },
57075
+ 'en-US': {
57076
+ translation: {
57077
+ ALL_FIELDS: 'All Fields',
57078
+ SEARCH_ALL_FIELDS: 'All Fields',
57079
+ },
57080
+ },
57081
+ 'es-ES': {
57082
+ translation: {
57083
+ ALL_FIELDS: 'Todos los Campos',
57084
+ SEARCH_ALL_FIELDS: 'Todos los Campos',
57085
+ },
57086
+ },
57087
+ });
56941
57088
 
56942
57089
  /* script */
56943
57090
  const __vue_script__$m = script$j;
@@ -56947,21 +57094,34 @@ var __vue_render__$m = function () {
56947
57094
  var _vm = this;
56948
57095
  var _h = _vm.$createElement;
56949
57096
  var _c = _vm._self._c || _h;
56950
- return _c("zd-text-input", {
56951
- class: ["zd-search", "zd-float-right", _vm.instance.cssClass],
56952
- style: _vm.instance.cssStyle,
56953
- attrs: {
56954
- id: _vm.instance.name,
56955
- name: "zdGridSearch",
56956
- value: _vm.getSearchValue(),
56957
- "instance-object": _vm.instance,
56958
- },
56959
- on: {
56960
- "update:value": function ($event) {
56961
- return _vm.instance.debounceSetSearch($event)
57097
+ return _c(
57098
+ "zd-dropdown",
57099
+ _vm._b(
57100
+ {
57101
+ ref: "dropdown",
57102
+ attrs: {
57103
+ name: _vm.instance.name + "_dropdown",
57104
+ activator: {
57105
+ name: "zdGridSearch",
57106
+ component: "ZdTextInput",
57107
+ class: ["zd-search", "zd-float-right", _vm.instance.cssClass],
57108
+ persistentHint: true,
57109
+ hint: _vm.getHintText(),
57110
+ style: _vm.instance.cssStyle,
57111
+ value: _vm.getSearchValue(),
57112
+ events: {
57113
+ input: _vm.instance.debounceSetSearch,
57114
+ appendIconClick: _vm.toggleDropdown,
57115
+ },
57116
+ "instance-object": _vm.instance,
57117
+ },
57118
+ },
56962
57119
  },
56963
- },
56964
- })
57120
+ "zd-dropdown",
57121
+ _vm.dropdownProps,
57122
+ false
57123
+ )
57124
+ )
56965
57125
  };
56966
57126
  var __vue_staticRenderFns__$m = [];
56967
57127
  __vue_render__$m._withStripped = true;
@@ -56969,7 +57129,7 @@ __vue_render__$m._withStripped = true;
56969
57129
  /* style */
56970
57130
  const __vue_inject_styles__$m = function (inject) {
56971
57131
  if (!inject) return
56972
- inject("data-v-3a30d9cc_0", { source: ".zd-search {\n width: 100%;\n}", map: undefined, media: undefined });
57132
+ inject("data-v-7fb067f0_0", { source: ".zd-search {\n width: 100%;\n}\n.zd-search.zd-input.v-input.zd-no-helper > .v-input__control > .v-text-field__details {\n display: flex;\n}\n.zd-search .v-input__append-inner .v-input__icon--append .v-icon {\n background-color: var(--v-primary-base) !important;\n color: white !important;\n border-radius: 3px !important;\n margin-right: 2px !important;\n}\n.zd-search-buttons {\n display: block;\n width: 100%;\n justify-content: left;\n}", map: undefined, media: undefined });
56973
57133
 
56974
57134
  };
56975
57135
  /* scoped */
@@ -57502,213 +57662,329 @@ var __vue_render__$k = function () {
57502
57662
  "div",
57503
57663
  { staticClass: "zd-select-multiple-container" },
57504
57664
  [
57505
- _c(_vm.instance.autocomplete ? "v-autocomplete" : "v-select", {
57506
- directives: [
57507
- {
57508
- name: "show",
57509
- rawName: "v-show",
57510
- value: _vm.instance.isVisible,
57511
- expression: "instance.isVisible",
57512
- },
57513
- ],
57514
- ref: "instance",
57515
- tag: "component",
57516
- class: [
57517
- _vm.instance.cssClass,
57518
- "zd-input",
57519
- "zd-text-input",
57520
- "zd-select",
57521
- "zd-select-multiple",
57665
+ _c(
57666
+ _vm.instance.autocomplete ? "v-autocomplete" : "v-select",
57667
+ _vm._g(
57522
57668
  {
57523
- "zd-no-label": !_vm.instance.showLabel,
57524
- "zd-no-helper":
57525
- !_vm.instance.showHelper &&
57526
- !(
57527
- _vm.instance.alwaysShowError &&
57528
- _vm.$refs.instance &&
57529
- _vm.$refs.instance.errorBucket.length
57669
+ directives: [
57670
+ {
57671
+ name: "show",
57672
+ rawName: "v-show",
57673
+ value: _vm.instance.isVisible,
57674
+ expression: "instance.isVisible",
57675
+ },
57676
+ ],
57677
+ ref: "instance",
57678
+ tag: "component",
57679
+ class: [
57680
+ _vm.instance.cssClass,
57681
+ "zd-input",
57682
+ "zd-text-input",
57683
+ "zd-select",
57684
+ "zd-select-multiple",
57685
+ {
57686
+ "zd-no-label": !_vm.instance.showLabel,
57687
+ "zd-no-helper":
57688
+ !_vm.instance.showHelper &&
57689
+ !(
57690
+ _vm.instance.alwaysShowError &&
57691
+ _vm.$refs.instance &&
57692
+ _vm.$refs.instance.errorBucket.length
57693
+ ),
57694
+ "zd-no-border": !_vm.instance.showBorder,
57695
+ "zd-dense": _vm.instance.dense,
57696
+ "zd-select-multiple-autocomplete": _vm.instance.autocomplete,
57697
+ "zd-input-required": _vm.instance.validations.required,
57698
+ "zd-select-modal-selection": _vm.showModalButton,
57699
+ },
57700
+ "zd-select-align-" +
57701
+ (_vm.instance.reverse ? "right" : _vm.instance.align),
57702
+ ],
57703
+ style: _vm.instance.cssStyle,
57704
+ attrs: {
57705
+ id: _vm.instance.name,
57706
+ "return-object": "",
57707
+ "validate-on-blur": "",
57708
+ "no-data-text": _vm.$t("NO_DATA"),
57709
+ multiple: "",
57710
+ name: _vm.instance.name,
57711
+ loading: _vm.instance.datasource.loading,
57712
+ clearable:
57713
+ _vm.instance.clearable &&
57714
+ !_vm.instance.readonly &&
57715
+ !_vm.instance.disabled,
57716
+ color: _vm.instance.color,
57717
+ "item-color": _vm.instance.color,
57718
+ dark: _vm.instance.dark,
57719
+ disabled: _vm.instance.disabled,
57720
+ readonly: _vm.instance.readonly,
57721
+ items: _vm.formattedData,
57722
+ "item-text": "text",
57723
+ "item-value": "value",
57724
+ "item-disabled": "disabled",
57725
+ label: _vm.instance.showLabel
57726
+ ? _vm.$t(_vm.instance.label)
57727
+ : undefined,
57728
+ placeholder: _vm.getPlaceHolder(),
57729
+ hint: _vm.$t(_vm.instance.hint),
57730
+ persistentHint: _vm.instance.persistentHint,
57731
+ prependInnerIcon: _vm.$getIcon(_vm.instance.prependIcon),
57732
+ reverse: _vm.instance.reverse,
57733
+ rules: _vm.rules,
57734
+ light: _vm.instance.light,
57735
+ maxLength: _vm.instance.maxLength,
57736
+ tabindex: _vm.instance.tabStop ? "" : "-1",
57737
+ "menu-props": {
57738
+ contentClass:
57739
+ "zd-select-menu zd-select-align-" +
57740
+ (_vm.instance.reverse ? "right" : _vm.instance.align),
57741
+ dark: _vm.instance.dark,
57742
+ offsetY: true,
57743
+ offsetOverflow: true,
57744
+ fixed: true,
57745
+ "max-width": _vm.parentWidth,
57746
+ closeOnContentClick: false,
57747
+ maxHeight: _vm.instance.menuMaxHeight,
57748
+ },
57749
+ "search-input": _vm.instance.search,
57750
+ "append-icon": _vm.$getIcon(
57751
+ _vm.showModalButton ? "tableSearch" : _vm.instance.appendIcon
57530
57752
  ),
57531
- "zd-no-border": !_vm.instance.showBorder,
57532
- "zd-dense": _vm.instance.dense,
57533
- "zd-select-multiple-autocomplete": _vm.instance.autocomplete,
57534
- "zd-input-required": _vm.instance.validations.required,
57535
- },
57536
- "zd-select-align-" +
57537
- (_vm.instance.reverse ? "right" : _vm.instance.align),
57538
- ],
57539
- style: _vm.instance.cssStyle,
57540
- attrs: {
57541
- id: _vm.instance.name,
57542
- "return-object": "",
57543
- "validate-on-blur": "",
57544
- "no-data-text": _vm.$t("NO_DATA"),
57545
- multiple: "",
57546
- name: _vm.instance.name,
57547
- loading: _vm.instance.datasource.loading,
57548
- clearable:
57549
- _vm.instance.clearable &&
57550
- !_vm.instance.readonly &&
57551
- !_vm.instance.disabled,
57552
- color: _vm.instance.color,
57553
- "item-color": _vm.instance.color,
57554
- dark: _vm.instance.dark,
57555
- disabled: _vm.instance.disabled,
57556
- readonly: _vm.instance.readonly,
57557
- items: _vm.formattedData,
57558
- "item-text": "text",
57559
- "item-value": "value",
57560
- "item-disabled": "disabled",
57561
- label: _vm.instance.showLabel
57562
- ? _vm.$t(_vm.instance.label)
57563
- : undefined,
57564
- placeholder: _vm.$t(_vm.instance.placeholder),
57565
- hint: _vm.$t(_vm.instance.hint),
57566
- persistentHint: _vm.instance.persistentHint,
57567
- prependInnerIcon: _vm.$getIcon(_vm.instance.prependIcon),
57568
- reverse: _vm.instance.reverse,
57569
- rules: _vm.rules,
57570
- light: _vm.instance.light,
57571
- maxLength: _vm.instance.maxLength,
57572
- tabindex: _vm.instance.tabStop ? "" : "-1",
57573
- "menu-props": {
57574
- contentClass:
57575
- "zd-select-menu zd-select-align-" +
57576
- (_vm.instance.reverse ? "right" : _vm.instance.align),
57577
- dark: _vm.instance.dark,
57578
- offsetY: true,
57579
- offsetOverflow: true,
57580
- fixed: true,
57581
- "max-width": _vm.parentWidth,
57582
- closeOnContentClick: false,
57583
- maxHeight: _vm.instance.menuMaxHeight,
57584
- },
57585
- "search-input": _vm.instance.search,
57586
- "append-icon": _vm.$getIcon(_vm.instance.appendIcon),
57587
- "append-outer-icon": _vm.$getIcon(_vm.instance.appendOuterIcon),
57588
- "prepend-icon": _vm.$getIcon(_vm.instance.prependOuterIcon),
57589
- "prepend-inner-icon": _vm.$getIcon(_vm.instance.prependIcon),
57590
- },
57591
- on: {
57592
- "click:append": function ($event) {
57593
- return _vm.toggle()
57594
- },
57595
- click: function ($event) {
57596
- return _vm.selectClick($event)
57597
- },
57598
- mouseenter: function ($event) {
57599
- return _vm.mouseenter($event)
57600
- },
57601
- mouseleave: function ($event) {
57602
- return _vm.mouseleave($event)
57603
- },
57604
- change: function ($event) {
57605
- return _vm.selectChange($event)
57606
- },
57607
- blur: function ($event) {
57608
- return _vm.selectBlur($event)
57609
- },
57610
- focus: function ($event) {
57611
- return _vm.selectFocus($event)
57612
- },
57613
- "update:search-input": [
57614
- function ($event) {
57615
- return _vm.selectInput($event)
57753
+ "append-outer-icon": _vm.$getIcon(_vm.instance.appendOuterIcon),
57754
+ "prepend-icon": _vm.$getIcon(_vm.instance.prependOuterIcon),
57755
+ "prepend-inner-icon": _vm.$getIcon(_vm.instance.prependIcon),
57616
57756
  },
57617
- function ($event) {
57618
- return _vm.$set(_vm.instance, "search", $event)
57757
+ on: {
57758
+ "click:append": function ($event) {
57759
+ return _vm.toggle()
57760
+ },
57761
+ click: function ($event) {
57762
+ return _vm.selectClick($event)
57763
+ },
57764
+ mouseenter: function ($event) {
57765
+ return _vm.mouseenter($event)
57766
+ },
57767
+ mouseleave: function ($event) {
57768
+ return _vm.mouseleave($event)
57769
+ },
57770
+ change: function ($event) {
57771
+ return _vm.selectChange($event)
57772
+ },
57773
+ blur: function ($event) {
57774
+ return _vm.selectBlur($event)
57775
+ },
57776
+ focus: function ($event) {
57777
+ return _vm.selectFocus($event)
57778
+ },
57779
+ "update:search-input": [
57780
+ function ($event) {
57781
+ return _vm.selectInput($event)
57782
+ },
57783
+ function ($event) {
57784
+ return _vm.$set(_vm.instance, "search", $event)
57785
+ },
57786
+ ],
57787
+ keyup: function ($event) {
57788
+ return _vm.instance.keyup($event)
57789
+ },
57790
+ keydown: function ($event) {
57791
+ return _vm.instance.keydown($event)
57792
+ },
57793
+ "update:searchInput": function ($event) {
57794
+ return _vm.$set(_vm.instance, "search", $event)
57795
+ },
57619
57796
  },
57620
- ],
57621
- keyup: function ($event) {
57622
- return _vm.instance.keyup($event)
57623
- },
57624
- keydown: function ($event) {
57625
- return _vm.instance.keydown($event)
57626
- },
57627
- "update:searchInput": function ($event) {
57628
- return _vm.$set(_vm.instance, "search", $event)
57629
- },
57630
- },
57631
- scopedSlots: _vm._u(
57632
- [
57633
- _vm.instance.itemBeforeSlot.length || _vm.instance.showSelectAll
57634
- ? {
57635
- key: "prepend-item",
57636
- fn: function () {
57637
- return [
57638
- _vm.instance.showSelectAll
57639
- ? [
57640
- _c(
57641
- "div",
57642
- { staticClass: "zd-select-append-item" },
57643
- [
57797
+ scopedSlots: _vm._u(
57798
+ [
57799
+ _vm.instance.itemBeforeSlot.length || _vm.instance.showSelectAll
57800
+ ? {
57801
+ key: "prepend-item",
57802
+ fn: function () {
57803
+ return [
57804
+ _vm.instance.showSelectAll
57805
+ ? [
57644
57806
  _c(
57645
- "v-list-item",
57646
- {
57647
- attrs: { ripple: "" },
57648
- on: {
57649
- click: function ($event) {
57650
- $event.stopPropagation();
57651
- return _vm.onSelectAll($event)
57652
- },
57653
- },
57654
- },
57807
+ "div",
57808
+ { staticClass: "zd-select-append-item" },
57655
57809
  [
57656
57810
  _c(
57657
- "v-list-item-action",
57658
- [
57659
- _c("v-checkbox", {
57660
- ref: "checkboxAll",
57661
- staticClass: "zd-checkbox-all",
57662
- attrs: {
57663
- "hide-details": "",
57664
- color: "primary",
57665
- readonly: "",
57666
- "on-icon":
57667
- _vm.$getIcon("checkboxOn"),
57668
- "off-icon":
57669
- _vm.$getIcon("checkboxOff"),
57670
- "indeterminate-icon": _vm.$getIcon(
57671
- "checkboxIndeterminate"
57672
- ),
57673
- },
57674
- model: {
57675
- value: _vm.allSelected,
57676
- callback: function ($$v) {
57677
- _vm.allSelected = $$v;
57678
- },
57679
- expression: "allSelected",
57811
+ "v-list-item",
57812
+ {
57813
+ attrs: { ripple: "" },
57814
+ on: {
57815
+ click: function ($event) {
57816
+ $event.stopPropagation();
57817
+ return _vm.onSelectAll($event)
57680
57818
  },
57681
- }),
57819
+ },
57820
+ },
57821
+ [
57822
+ _c(
57823
+ "v-list-item-action",
57824
+ [
57825
+ _c("v-checkbox", {
57826
+ ref: "checkboxAll",
57827
+ staticClass: "zd-checkbox-all",
57828
+ attrs: {
57829
+ "hide-details": "",
57830
+ color: "primary",
57831
+ readonly: "",
57832
+ "on-icon":
57833
+ _vm.$getIcon("checkboxOn"),
57834
+ "off-icon":
57835
+ _vm.$getIcon("checkboxOff"),
57836
+ "indeterminate-icon":
57837
+ _vm.$getIcon(
57838
+ "checkboxIndeterminate"
57839
+ ),
57840
+ },
57841
+ model: {
57842
+ value: _vm.allSelected,
57843
+ callback: function ($$v) {
57844
+ _vm.allSelected = $$v;
57845
+ },
57846
+ expression: "allSelected",
57847
+ },
57848
+ }),
57849
+ ],
57850
+ 1
57851
+ ),
57852
+ _vm._v(" "),
57853
+ _c(
57854
+ "v-list-item-content",
57855
+ [
57856
+ _c("v-list-item-title", [
57857
+ _vm._v(
57858
+ "\n " +
57859
+ _vm._s(_vm.$t("SELECT_ALL")) +
57860
+ "\n "
57861
+ ),
57862
+ ]),
57863
+ ],
57864
+ 1
57865
+ ),
57682
57866
  ],
57683
57867
  1
57684
57868
  ),
57685
- _vm._v(" "),
57869
+ ],
57870
+ 1
57871
+ ),
57872
+ _vm._v(" "),
57873
+ _c("v-divider"),
57874
+ ]
57875
+ : _vm._e(),
57876
+ _vm._v(" "),
57877
+ _vm.instance.itemBeforeSlot.length
57878
+ ? [
57879
+ _c(
57880
+ "div",
57881
+ { staticClass: "zd-select-append-item" },
57882
+ [
57686
57883
  _c(
57687
- "v-list-item-content",
57884
+ "v-list-item",
57688
57885
  [
57689
- _c("v-list-item-title", [
57690
- _vm._v(
57691
- "\n " +
57692
- _vm._s(_vm.$t("SELECT_ALL")) +
57693
- "\n "
57694
- ),
57695
- ]),
57886
+ _c(
57887
+ "v-list-item-content",
57888
+ { staticClass: "v-list-item__title" },
57889
+ [
57890
+ !_vm.$slots.itemBeforeSlot
57891
+ ? _vm._l(
57892
+ _vm.instance.itemBeforeSlot,
57893
+ function (child, index) {
57894
+ return _c(
57895
+ child.component,
57896
+ _vm._b(
57897
+ {
57898
+ key: index,
57899
+ ref: "itemBefore",
57900
+ refInFor: true,
57901
+ tag: "component",
57902
+ attrs: {
57903
+ parent:
57904
+ _vm.instance,
57905
+ },
57906
+ },
57907
+ "component",
57908
+ child,
57909
+ false
57910
+ )
57911
+ )
57912
+ }
57913
+ )
57914
+ : _vm._e(),
57915
+ _vm._v(" "),
57916
+ _vm._t("itemBeforeSlot"),
57917
+ ],
57918
+ 2
57919
+ ),
57696
57920
  ],
57697
57921
  1
57698
57922
  ),
57699
57923
  ],
57700
57924
  1
57701
57925
  ),
57702
- ],
57703
- 1
57704
- ),
57705
- _vm._v(" "),
57706
- _c("v-divider"),
57707
- ]
57926
+ _vm._v(" "),
57927
+ _c("v-divider"),
57928
+ ]
57929
+ : _vm._e(),
57930
+ ]
57931
+ },
57932
+ proxy: true,
57933
+ }
57934
+ : null,
57935
+ {
57936
+ key: "selection",
57937
+ fn: function (props) {
57938
+ return [
57939
+ _vm.isChipVisible(props.index)
57940
+ ? _c(
57941
+ "v-chip",
57942
+ {
57943
+ attrs: {
57944
+ small: !_vm.instance.dense,
57945
+ "x-small": _vm.instance.dense,
57946
+ disabled: _vm.instance.disabled,
57947
+ close: !_vm.instance.readonly,
57948
+ },
57949
+ on: {
57950
+ "click:close": function ($event) {
57951
+ return _vm.removeItem(props.item)
57952
+ },
57953
+ },
57954
+ },
57955
+ [
57956
+ _c("div", { staticClass: "chip-text" }, [
57957
+ _vm._v(
57958
+ _vm._s(
57959
+ _vm.formattedDataDiscreteText(
57960
+ props.item.originalRow
57961
+ )
57962
+ )
57963
+ ),
57964
+ ]),
57965
+ ]
57966
+ )
57708
57967
  : _vm._e(),
57709
57968
  _vm._v(" "),
57710
- _vm.instance.itemBeforeSlot.length
57969
+ _vm.isMoreVisible(props.index)
57970
+ ? _c(
57971
+ "span",
57972
+ { staticClass: "more-items grey--text caption" },
57973
+ [_vm._v(_vm._s(_vm.moreItemsText))]
57974
+ )
57975
+ : _vm._e(),
57976
+ ]
57977
+ },
57978
+ },
57979
+ {
57980
+ key: "append-item",
57981
+ fn: function () {
57982
+ return [
57983
+ _vm.instance.itemAfterSlot.length ||
57984
+ !!_vm.$slots.itemAfterSlot
57711
57985
  ? [
57986
+ _c("v-divider"),
57987
+ _vm._v(" "),
57712
57988
  _c(
57713
57989
  "div",
57714
57990
  { staticClass: "zd-select-append-item" },
@@ -57720,17 +57996,15 @@ var __vue_render__$k = function () {
57720
57996
  "v-list-item-content",
57721
57997
  { staticClass: "v-list-item__title" },
57722
57998
  [
57723
- !_vm.$slots.itemBeforeSlot
57999
+ !_vm.$slots.itemAfterSlot
57724
58000
  ? _vm._l(
57725
- _vm.instance.itemBeforeSlot,
58001
+ _vm.instance.itemAfterSlot,
57726
58002
  function (child, index) {
57727
58003
  return _c(
57728
58004
  child.component,
57729
58005
  _vm._b(
57730
58006
  {
57731
58007
  key: index,
57732
- ref: "itemBefore",
57733
- refInFor: true,
57734
58008
  tag: "component",
57735
58009
  attrs: {
57736
58010
  parent: _vm.instance,
@@ -57745,7 +58019,7 @@ var __vue_render__$k = function () {
57745
58019
  )
57746
58020
  : _vm._e(),
57747
58021
  _vm._v(" "),
57748
- _vm._t("itemBeforeSlot"),
58022
+ _vm._t("itemAfterSlot"),
57749
58023
  ],
57750
58024
  2
57751
58025
  ),
@@ -57755,164 +58029,61 @@ var __vue_render__$k = function () {
57755
58029
  ],
57756
58030
  1
57757
58031
  ),
57758
- _vm._v(" "),
57759
- _c("v-divider"),
57760
58032
  ]
57761
58033
  : _vm._e(),
57762
- ]
57763
- },
57764
- proxy: true,
57765
- }
57766
- : null,
57767
- {
57768
- key: "selection",
57769
- fn: function (props) {
57770
- return [
57771
- _vm.isChipVisible(props.index)
57772
- ? _c(
57773
- "v-chip",
57774
- {
57775
- attrs: {
57776
- small: !_vm.instance.dense,
57777
- "x-small": _vm.instance.dense,
57778
- disabled: _vm.instance.disabled,
57779
- close: !_vm.instance.readonly,
57780
- },
57781
- on: {
57782
- "click:close": function ($event) {
57783
- return _vm.removeItem(props.item)
57784
- },
57785
- },
57786
- },
57787
- [
57788
- _c("div", { staticClass: "chip-text" }, [
57789
- _vm._v(
57790
- _vm._s(
57791
- _vm.formattedDataDiscreteText(
57792
- props.item.originalRow
57793
- )
57794
- )
57795
- ),
57796
- ]),
57797
- ]
57798
- )
57799
- : _vm._e(),
57800
- _vm._v(" "),
57801
- _vm.isMoreVisible(props.index)
57802
- ? _c(
57803
- "span",
57804
- { staticClass: "more-items grey--text caption" },
57805
- [_vm._v(_vm._s(_vm.moreItemsText))]
57806
- )
57807
- : _vm._e(),
57808
- ]
57809
- },
57810
- },
57811
- {
57812
- key: "append-item",
57813
- fn: function () {
57814
- return [
57815
- _vm.instance.itemAfterSlot.length ||
57816
- !!_vm.$slots.itemAfterSlot
57817
- ? [
57818
- _c("v-divider"),
57819
- _vm._v(" "),
57820
- _c(
57821
- "div",
57822
- { staticClass: "zd-select-append-item" },
57823
- [
58034
+ _vm._v(" "),
58035
+ _vm.instance.showLoadMore()
58036
+ ? [
58037
+ _c("v-divider"),
58038
+ _vm._v(" "),
57824
58039
  _c(
57825
- "v-list-item",
58040
+ "div",
58041
+ {
58042
+ staticClass: "zd-select-append-item",
58043
+ on: {
58044
+ mousedown: function ($event) {
58045
+ $event.preventDefault();
58046
+ return _vm.loadMore()
58047
+ },
58048
+ },
58049
+ },
57826
58050
  [
57827
58051
  _c(
57828
- "v-list-item-content",
57829
- { staticClass: "v-list-item__title" },
58052
+ "v-list-item",
58053
+ { attrs: { link: "" } },
57830
58054
  [
57831
- !_vm.$slots.itemAfterSlot
57832
- ? _vm._l(
57833
- _vm.instance.itemAfterSlot,
57834
- function (child, index) {
57835
- return _c(
57836
- child.component,
57837
- _vm._b(
57838
- {
57839
- key: index,
57840
- tag: "component",
57841
- attrs: {
57842
- parent: _vm.instance,
57843
- },
57844
- },
57845
- "component",
57846
- child,
57847
- false
57848
- )
57849
- )
57850
- }
57851
- )
57852
- : _vm._e(),
57853
- _vm._v(" "),
57854
- _vm._t("itemAfterSlot"),
58055
+ _c("v-list-item-content", [
58056
+ _c("span", [
58057
+ _vm._v(_vm._s(_vm.$t("LOAD_MORE"))),
58058
+ ]),
58059
+ ]),
57855
58060
  ],
57856
- 2
58061
+ 1
57857
58062
  ),
57858
58063
  ],
57859
58064
  1
57860
58065
  ),
57861
- ],
57862
- 1
57863
- ),
57864
- ]
57865
- : _vm._e(),
57866
- _vm._v(" "),
57867
- _vm.instance.showLoadMore()
57868
- ? [
57869
- _c("v-divider"),
57870
- _vm._v(" "),
57871
- _c(
57872
- "div",
57873
- {
57874
- staticClass: "zd-select-append-item",
57875
- on: {
57876
- mousedown: function ($event) {
57877
- $event.preventDefault();
57878
- return _vm.loadMore()
57879
- },
57880
- },
57881
- },
57882
- [
57883
- _c(
57884
- "v-list-item",
57885
- { attrs: { link: "" } },
57886
- [
57887
- _c("v-list-item-content", [
57888
- _c("span", [
57889
- _vm._v(_vm._s(_vm.$t("LOAD_MORE"))),
57890
- ]),
57891
- ]),
57892
- ],
57893
- 1
57894
- ),
57895
- ],
57896
- 1
57897
- ),
57898
- ]
57899
- : _vm._e(),
57900
- ]
58066
+ ]
58067
+ : _vm._e(),
58068
+ ]
58069
+ },
58070
+ proxy: true,
58071
+ },
58072
+ ],
58073
+ null,
58074
+ true
58075
+ ),
58076
+ model: {
58077
+ value: _vm.formattedValue,
58078
+ callback: function ($$v) {
58079
+ _vm.formattedValue = $$v;
57901
58080
  },
57902
- proxy: true,
58081
+ expression: "formattedValue",
57903
58082
  },
57904
- ],
57905
- null,
57906
- true
57907
- ),
57908
- model: {
57909
- value: _vm.formattedValue,
57910
- callback: function ($$v) {
57911
- _vm.formattedValue = $$v;
57912
58083
  },
57913
- expression: "formattedValue",
57914
- },
57915
- }),
58084
+ _vm.getSelectIconClickEvents()
58085
+ )
58086
+ ),
57916
58087
  _vm._v(" "),
57917
58088
  _vm.instance.showCheckboxAll
57918
58089
  ? _c("v-checkbox", {
@@ -57938,7 +58109,7 @@ __vue_render__$k._withStripped = true;
57938
58109
  /* style */
57939
58110
  const __vue_inject_styles__$k = function (inject) {
57940
58111
  if (!inject) return
57941
- inject("data-v-7bb88de0_0", { source: ".zd-select-multiple-container {\n height: auto;\n min-height: auto;\n max-height: none;\n display: flex;\n flex: 0 0 100%;\n flex-direction: row;\n}\n.zd-select-multiple .v-select__slot .v-select__selections {\n flex-wrap: wrap;\n padding-bottom: 0 !important;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip {\n margin-bottom: 0.2rem;\n margin-top: 0.2rem;\n}\n.zd-select-multiple .v-select__slot .v-select__selections input {\n position: relative;\n min-width: 0 !important;\n}\n.zd-select-multiple .v-select__slot .v-select__selections {\n padding: 0px 7px 0px 7px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip {\n margin: 5px var(--spacing-1) 5px 0;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip.v-size--x-small {\n height: 15px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip.v-size--x-small .chip-text {\n font-size: 12px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip--removable.v-size--x-small .v-chip__content .v-chip__close {\n font-size: 14px !important;\n margin-left: var(--spacing-2);\n margin-right: -6px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .more-items {\n line-height: 15px;\n}\n.zd-select-multiple .v-input__slot {\n min-height: 24px;\n}\n.zd-select-multiple.zd-dense .v-input__slot {\n min-height: 24px;\n}\n.zd-select-multiple.zd-dense .v-select__slot .v-select__selections {\n padding: 0 var(--spacing-1);\n}\n.zd-select-multiple.zd-dense .v-select__slot .v-select__selections input, .zd-select-multiple.zd-dense .v-select__slot .v-select__selections .v-chip {\n margin-bottom: 0.2rem;\n margin-top: 0.2rem;\n}\n.zd-select-multiple.zd-dense.zd-input.v-input > .v-input__control > .v-input__slot input {\n padding: 0 4px;\n}\n.zd-select-multiple.zd-dense.zd-select-multiple-autocomplete.v-input:not(.v-input--is-focused) > .v-input__control > .v-input__slot > .v-select__slot input {\n padding: 0;\n}\n.zd-select-multiple.zd-dense.zd-select-multiple-autocomplete.v-input > .v-input__control > .v-input__slot > .v-select__slot input {\n padding: 0 var(--spacing-1);\n}\n.zd-select-multiple.v-input--is-focused .v-select__slot .v-select__selections .v-chip .v-chip__content .chip-text {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.v-menu__content.zd-select-menu .v-select-list div.v-list-item__action {\n margin: 0 var(--zd-default-padding) 0 0;\n}\n.v-menu__content.zd-select-menu .v-select-list > .v-list-item .v-input--selection-controls__ripple {\n margin: 0;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item--disabled .v-simple-checkbox .v-icon {\n opacity: 0.5;\n}\n.zd-select-multiple--checkbox-all {\n margin: 0;\n padding: 0;\n}\n.zd-select-multiple--checkbox-all .v-label {\n font-weight: var(--zd-font-body1-weight);\n color: var(--zd-font-color);\n font-size: var(--zd-font-body1-size);\n}", map: undefined, media: undefined });
58112
+ inject("data-v-255ae888_0", { source: ".zd-select-multiple-container {\n height: auto;\n min-height: auto;\n max-height: none;\n display: flex;\n flex: 0 0 100%;\n flex-direction: row;\n}\n.zd-select-multiple .v-select__slot .v-select__selections {\n flex-wrap: wrap;\n padding-bottom: 0 !important;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip {\n margin-bottom: 0.2rem;\n margin-top: 0.2rem;\n}\n.zd-select-multiple .v-select__slot .v-select__selections input {\n position: relative;\n min-width: 0 !important;\n}\n.zd-select-multiple .v-select__slot .v-select__selections {\n padding: 0px 7px 0px 7px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip {\n margin: 5px var(--spacing-1) 5px 0;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip.v-size--x-small {\n height: 15px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip.v-size--x-small .chip-text {\n font-size: 12px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .v-chip--removable.v-size--x-small .v-chip__content .v-chip__close {\n font-size: 14px !important;\n margin-left: var(--spacing-2);\n margin-right: -6px;\n}\n.zd-select-multiple .v-select__slot .v-select__selections .more-items {\n line-height: 15px;\n}\n.zd-select-multiple .v-input__slot {\n min-height: 24px;\n}\n.zd-select-multiple.zd-dense .v-input__slot {\n min-height: 24px;\n}\n.zd-select-multiple.zd-dense .v-select__slot .v-select__selections {\n padding: 0 var(--spacing-1);\n}\n.zd-select-multiple.zd-dense .v-select__slot .v-select__selections input, .zd-select-multiple.zd-dense .v-select__slot .v-select__selections .v-chip {\n margin-bottom: 0.2rem;\n margin-top: 0.2rem;\n}\n.zd-select-multiple.zd-dense.zd-input.v-input > .v-input__control > .v-input__slot input {\n padding: 0 4px;\n}\n.zd-select-multiple.zd-dense.zd-select-multiple-autocomplete.v-input:not(.v-input--is-focused) > .v-input__control > .v-input__slot > .v-select__slot input {\n padding: 0;\n}\n.zd-select-multiple.zd-dense.zd-select-multiple-autocomplete.v-input > .v-input__control > .v-input__slot > .v-select__slot input {\n padding: 0 var(--spacing-1);\n}\n.zd-select-multiple.v-input--is-focused .v-select__slot .v-select__selections .v-chip .v-chip__content .chip-text {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.v-menu__content.zd-select-menu .v-select-list div.v-list-item__action {\n margin: 0 var(--zd-default-padding) 0 0;\n}\n.v-menu__content.zd-select-menu .v-select-list > .v-list-item .v-input--selection-controls__ripple {\n margin: 0;\n}\n.v-menu__content.zd-select-menu .v-select-list .v-list-item--disabled .v-simple-checkbox .v-icon {\n opacity: 0.5;\n}\n.zd-select-multiple--checkbox-all {\n margin: 0;\n padding: 0;\n}\n.zd-select-multiple--checkbox-all .v-label {\n font-weight: var(--zd-font-body1-weight);\n color: var(--zd-font-color);\n font-size: var(--zd-font-body1-size);\n}", map: undefined, media: undefined });
57942
58113
 
57943
58114
  };
57944
58115
  /* scoped */