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