@mgdis/mg-components 5.28.0 → 5.28.2

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.
Files changed (65) hide show
  1. package/dist/cjs/{index-d8721674.js → index-792fd1c1.js} +48 -47
  2. package/dist/cjs/index-792fd1c1.js.map +1 -0
  3. package/dist/cjs/mg-action-more_36.cjs.entry.js +91 -91
  4. package/dist/cjs/mg-action-more_36.cjs.entry.js.map +1 -1
  5. package/dist/cjs/mg-loader.cjs.entry.js +2 -2
  6. package/dist/collection/components/atoms/mg-button/mg-button.js +2 -2
  7. package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
  8. package/dist/components/index.es.js +41 -40
  9. package/dist/components/index.es.js.map +1 -1
  10. package/dist/components/index2.js +2 -2
  11. package/dist/components/mg-action-more.js +2 -2
  12. package/dist/components/mg-badge2.js +3 -3
  13. package/dist/components/mg-button2.js +5 -5
  14. package/dist/components/mg-button2.js.map +1 -1
  15. package/dist/components/mg-card2.js +2 -2
  16. package/dist/components/mg-details.js +2 -2
  17. package/dist/components/mg-form.js +3 -3
  18. package/dist/components/mg-icon2.js +2 -2
  19. package/dist/components/mg-illustrated-message.js +2 -2
  20. package/dist/components/mg-input-checkbox.js +4 -4
  21. package/dist/components/mg-input-date.js +11 -11
  22. package/dist/components/mg-input-numeric.js +5 -5
  23. package/dist/components/mg-input-password.js +3 -3
  24. package/dist/components/mg-input-radio.js +4 -4
  25. package/dist/components/mg-input-select2.js +6 -6
  26. package/dist/components/mg-input-text2.js +6 -6
  27. package/dist/components/mg-input-textarea.js +6 -6
  28. package/dist/components/mg-input-title2.js +2 -2
  29. package/dist/components/mg-input-toggle.js +4 -4
  30. package/dist/components/mg-input2.js +3 -3
  31. package/dist/components/mg-item-more2.js +3 -3
  32. package/dist/components/mg-loader.js +2 -2
  33. package/dist/components/mg-menu-item2.js +5 -5
  34. package/dist/components/mg-message.js +3 -3
  35. package/dist/components/mg-modal.js +6 -6
  36. package/dist/components/mg-pagination2.js +2 -2
  37. package/dist/components/mg-panel.js +4 -4
  38. package/dist/components/mg-popover-content2.js +3 -3
  39. package/dist/components/mg-popover2.js +3 -3
  40. package/dist/components/mg-skip-links.js +2 -2
  41. package/dist/components/mg-tabs.js +6 -6
  42. package/dist/components/mg-tag.js +3 -3
  43. package/dist/components/mg-tooltip2.js +6 -6
  44. package/dist/esm/{index-817d7645.js → index-2667a5c4.js} +43 -42
  45. package/dist/esm/index-2667a5c4.js.map +1 -0
  46. package/dist/esm/mg-action-more_36.entry.js +91 -91
  47. package/dist/esm/mg-action-more_36.entry.js.map +1 -1
  48. package/dist/esm/mg-loader.entry.js +2 -2
  49. package/dist/mg-components/mg-components.esm.js +1 -1
  50. package/dist/mg-components/{p-ef541188.entry.js → p-56cce4ec.entry.js} +2 -2
  51. package/dist/mg-components/p-56cce4ec.entry.js.map +1 -0
  52. package/dist/mg-components/{p-c4207303.entry.js → p-64eaef9e.entry.js} +2 -2
  53. package/dist/mg-components/p-7cda52b6.js +2 -0
  54. package/dist/mg-components/p-7cda52b6.js.map +1 -0
  55. package/dist/types/components/atoms/mg-button/mg-button.d.ts +1 -1
  56. package/dist/types/components.d.ts +2 -2
  57. package/ide/intellij/web-types.json +4 -4
  58. package/ide/vscode/html-custom-data.json +3 -3
  59. package/package.json +26 -27
  60. package/dist/cjs/index-d8721674.js.map +0 -1
  61. package/dist/esm/index-817d7645.js.map +0 -1
  62. package/dist/mg-components/p-eb6ec303.js +0 -2
  63. package/dist/mg-components/p-eb6ec303.js.map +0 -1
  64. package/dist/mg-components/p-ef541188.entry.js.map +0 -1
  65. /package/dist/mg-components/{p-c4207303.entry.js.map → p-64eaef9e.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-ce4f7698.js');
6
- const index$1 = require('./index-d8721674.js');
6
+ const index$1 = require('./index-792fd1c1.js');
7
7
 
8
8
  /**
9
9
  * Available menu-item positions
@@ -79,7 +79,7 @@ const MgActionMore = class {
79
79
  ************/
80
80
  this.name = 'mg-action-more';
81
81
  this.classBase = 'mg-c-action-more';
82
- this.mgPopoverIdentifier = index$1.Ce(this.name);
82
+ this.mgPopoverIdentifier = index$1.ze(this.name);
83
83
  /************
84
84
  * Methods *
85
85
  ***********/
@@ -203,7 +203,7 @@ const MgBadge = class {
203
203
  this.label = undefined;
204
204
  this.variant = variants$5[0];
205
205
  this.outline = undefined;
206
- this.classCollection = new index$1.He(['mg-c-badge']);
206
+ this.classCollection = new index$1.Ie(['mg-c-badge']);
207
207
  }
208
208
  validateValue(newValue) {
209
209
  if (/^(\d+\+*|[?*!a-z])$/i.exec(`${newValue}`) === null) {
@@ -211,7 +211,7 @@ const MgBadge = class {
211
211
  }
212
212
  }
213
213
  validateLabel(newValue) {
214
- if (!index$1.Ie(newValue)) {
214
+ if (!index$1.Ze(newValue)) {
215
215
  throw new Error('<mg-badge> prop "label" is required.');
216
216
  }
217
217
  }
@@ -322,7 +322,7 @@ const MgButton = class {
322
322
  this.isIcon = false;
323
323
  this.disableOnClick = false;
324
324
  this.loading = false;
325
- this.classCollection = new index$1.He(['mg-c-button']);
325
+ this.classCollection = new index$1.Ie(['mg-c-button']);
326
326
  }
327
327
  validateVariant(newValue, oldValue) {
328
328
  if (!variants$4.includes(newValue)) {
@@ -381,7 +381,7 @@ const MgButton = class {
381
381
  this.validateFullWidth(this.fullWidth);
382
382
  if (this.isIcon) {
383
383
  this.classCollection.add(`mg-c-button--icon`);
384
- if (!index$1.Ie(this.label)) {
384
+ if (!index$1.Ze(this.label)) {
385
385
  throw new Error(`<mg-button> prop "label" is mandatory when prop "isIcon" is set to true.`);
386
386
  }
387
387
  }
@@ -393,7 +393,7 @@ const MgButton = class {
393
393
  * Add listners
394
394
  */
395
395
  componentDidLoad() {
396
- index$1.Ge(() => {
396
+ index$1.Ye(() => {
397
397
  var _a;
398
398
  const closestForm = this.element.closest('form') || ((_a = this.element.closest('mg-form')) === null || _a === void 0 ? void 0 : _a.shadowRoot.querySelector('form'));
399
399
  // submit buttons should trigger form submition;
@@ -410,7 +410,7 @@ const MgButton = class {
410
410
  */
411
411
  render() {
412
412
  var _a;
413
- return (index.h(index.Host, { key: '8aa45a51510eccbb021e452d540c77844f3f4792', role: "button", tabIndex: 0, type: this.type, form: this.form, "full-width": this.fullWidth, "aria-label": this.label, "aria-disabled": (_a = this.disabled) === null || _a === void 0 ? void 0 : _a.toString(), onClick: this.handleClick, onKeyup: this.handleKeyup, onKeydown: this.handleKeydown }, index.h("div", { key: '9743ead1b9fd1f70ef0690087806a1767c5825b0', class: this.classCollection.join(), id: this.identifier }, this.loading && index.h("mg-icon", { key: '543718fe45ad3e1901c4ef0c39b98705aa9fd64e', icon: "loader", spin: true }), index.h("div", { key: '21bc8c1a14f93db8b2373864a18da5c651e1ac4d', class: "mg-c-button__content" }, index.h("slot", { key: 'd16d710b4cb94ec1b7e3dfee2d4a70ee059528b4' })))));
413
+ return (index.h(index.Host, { key: '1b54d5a3ae7656215f0f60dcebf13caed4afe09e', role: "button", tabIndex: 0, type: this.type, form: this.form, "full-width": this.fullWidth, "aria-label": this.label, "aria-disabled": (_a = this.disabled) === null || _a === void 0 ? void 0 : _a.toString(), onClick: this.handleClick, onKeyup: this.handleKeyup, onKeydown: this.handleKeydown }, index.h("div", { key: 'ee66e5b1d78d7344634e736b39e29640de8c5755', class: this.classCollection.join(), id: this.identifier }, this.loading && index.h("mg-icon", { key: '6da3bfa9accafda3cf1d960d229bf3d75abc9250', icon: "loader", spin: true }), index.h("div", { key: '9ab6e8910210543fc7c0745d63f0e260003aa000', class: "mg-c-button__content" }, index.h("slot", { key: '44ba371bb96f86632f084610cdffb0b0fafa3980' })))));
414
414
  }
415
415
  get element() { return index.getElement(this); }
416
416
  static get watchers() { return {
@@ -452,7 +452,7 @@ const MgCard = class {
452
452
  };
453
453
  this.variant = undefined;
454
454
  this.variantStyle = undefined;
455
- this.classCollection = new index$1.He([this.classBase]);
455
+ this.classCollection = new index$1.Ie([this.classBase]);
456
456
  }
457
457
  validateVariant(newValue, oldValue) {
458
458
  if (newValue && !variants$3.includes(newValue))
@@ -557,7 +557,7 @@ const MgDetails = class {
557
557
  this.expanded = false;
558
558
  }
559
559
  validateTitles(newValue) {
560
- if (!index$1.Ie(newValue)) {
560
+ if (!index$1.Ze(newValue)) {
561
561
  throw new Error('<mg-details> prop "toggleClosed" and "toggleOpened" must be defined.');
562
562
  }
563
563
  }
@@ -715,7 +715,7 @@ const MgForm = class {
715
715
  }
716
716
  });
717
717
  };
718
- this.identifier = index$1.Ce('mg-form');
718
+ this.identifier = index$1.ze('mg-form');
719
719
  this.name = this.identifier;
720
720
  this.readonly = false;
721
721
  this.requiredMessage = undefined;
@@ -724,7 +724,7 @@ const MgForm = class {
724
724
  this.disabled = false;
725
725
  this.valid = undefined;
726
726
  this.invalid = undefined;
727
- this.classCollection = new index$1.He(['mg-c-form']);
727
+ this.classCollection = new index$1.Ie(['mg-c-form']);
728
728
  this.requiredMessageText = undefined;
729
729
  }
730
730
  validateRequiredMessage(newValue) {
@@ -865,7 +865,7 @@ const MgIcon = class {
865
865
  this.variant = undefined;
866
866
  this.variantStyle = undefined;
867
867
  this.spin = false;
868
- this.classCollection = new index$1.He(['mg-c-icon']);
868
+ this.classCollection = new index$1.Ie(['mg-c-icon']);
869
869
  }
870
870
  validateIcon(newValue, oldValue) {
871
871
  if (!Object.keys(icons).includes(newValue))
@@ -964,7 +964,7 @@ const MgIllustratedMessage = class {
964
964
  componentDidLoad() {
965
965
  const headingTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
966
966
  const slottedIllustrations = this.element.querySelectorAll('[slot="illustration"]');
967
- if (!index$1.Be(this.element.querySelector('[slot="title"]'), headingTags)) {
967
+ if (!index$1.Xe(this.element.querySelector('[slot="title"]'), headingTags)) {
968
968
  throw new Error(`<mg-illustrated-message> Slotted title must be a heading: ${headingTags.join(', ')}`);
969
969
  }
970
970
  else if (slottedIllustrations.length !== 1) {
@@ -1065,7 +1065,7 @@ const MgInput = class {
1065
1065
  this.isVerticalList = false;
1066
1066
  }
1067
1067
  watchIdentifier(newValue) {
1068
- if (!index$1.Ie(newValue)) {
1068
+ if (!index$1.Ze(newValue)) {
1069
1069
  throw new Error('<mg-input> prop "identifier" is required.');
1070
1070
  }
1071
1071
  else {
@@ -1150,7 +1150,7 @@ const MgInput = class {
1150
1150
  */
1151
1151
  // eslint-disable-next-line @stencil-community/no-unused-watch
1152
1152
  watchLabel() {
1153
- if (!index$1.Ie(this.label)) {
1153
+ if (!index$1.Ze(this.label)) {
1154
1154
  throw new Error('<mg-input> prop "label" is required.');
1155
1155
  }
1156
1156
  else {
@@ -1464,7 +1464,7 @@ const MgInputCheckbox = class {
1464
1464
  * Method to update searchResults
1465
1465
  */
1466
1466
  this.updateSearchResults = () => {
1467
- this.searchResults = this.checkboxItems.filter(item => index$1.qe(item.title).includes(index$1.qe(this.searchValue)));
1467
+ this.searchResults = this.checkboxItems.filter(item => index$1.Je(item.title).includes(index$1.Je(this.searchValue)));
1468
1468
  };
1469
1469
  /**
1470
1470
  * Method to validate if one of inputs value is checked id required
@@ -1538,7 +1538,7 @@ const MgInputCheckbox = class {
1538
1538
  this.helpText = undefined;
1539
1539
  this.valid = undefined;
1540
1540
  this.invalid = undefined;
1541
- this.classCollection = new index$1.He([this.baseClassName, classFieldset]);
1541
+ this.classCollection = new index$1.Ie([this.baseClassName, classFieldset]);
1542
1542
  this.errorMessage = undefined;
1543
1543
  this.checkboxItems = [];
1544
1544
  this.displaySearchInput = undefined;
@@ -1646,7 +1646,7 @@ const MgInputCheckbox = class {
1646
1646
  if (typeof valid !== 'boolean') {
1647
1647
  throw new Error('<mg-input-checkbox> method "setError()" param "valid" must be a boolean');
1648
1648
  }
1649
- else if (!index$1.Ie(errorMessage)) {
1649
+ else if (!index$1.Ze(errorMessage)) {
1650
1650
  throw new Error('<mg-input-checkbox> method "setError()" param "errorMessage" must be a string');
1651
1651
  }
1652
1652
  else {
@@ -1909,7 +1909,7 @@ const MgInputDate = class {
1909
1909
  * @param value - value to test
1910
1910
  * @returns truthy when value match the pattern
1911
1911
  */
1912
- this.isValidPattern = (value) => index$1.Ie(value) && index$1.he.test(value);
1912
+ this.isValidPattern = (value) => index$1.Ze(value) && index$1.He.test(value);
1913
1913
  /**
1914
1914
  * Format help text to display
1915
1915
  * @param helpText - help text format
@@ -1917,10 +1917,10 @@ const MgInputDate = class {
1917
1917
  */
1918
1918
  this.formatHelpText = (helpText) => {
1919
1919
  const defaultHelpTextVariable = '{defaultHelpText}';
1920
- let text = index$1.Ie(helpText) ? helpText : this.messages.input.date.helpText;
1920
+ let text = index$1.Ze(helpText) ? helpText : this.messages.input.date.helpText;
1921
1921
  if (text.includes(defaultHelpTextVariable))
1922
1922
  text = text.replace(defaultHelpTextVariable, this.formatHelpText(this.messages.input.date.helpText));
1923
- return text.replace('{pattern}', this.renderPattern()).replace('{date}', index$1.ye(index$1.Ze(new Date('2023-12-24')), this.systemLocale));
1923
+ return text.replace('{pattern}', this.renderPattern()).replace('{date}', index$1.Be(index$1.lt(new Date('2023-12-24')), this.systemLocale));
1924
1924
  };
1925
1925
  /**
1926
1926
  * Handle input event
@@ -2012,8 +2012,8 @@ const MgInputDate = class {
2012
2012
  // min, max & minMax
2013
2013
  else if ([InputError$1.MIN, InputError$1.MAX, InputError$1.MINMAX].includes(inputError)) {
2014
2014
  this.errorMessage = this.messages.errors.date[inputError]
2015
- .replace('{min}', index$1.ye(this.min, this.systemLocale))
2016
- .replace('{max}', index$1.ye(this.max, this.systemLocale));
2015
+ .replace('{min}', index$1.Be(this.min, this.systemLocale))
2016
+ .replace('{max}', index$1.Be(this.max, this.systemLocale));
2017
2017
  }
2018
2018
  // wrong date format
2019
2019
  // element.validity.badInput is default error message
@@ -2027,7 +2027,7 @@ const MgInputDate = class {
2027
2027
  * @returns translated html pattern
2028
2028
  */
2029
2029
  this.renderPattern = () => {
2030
- let patternLocal = index$1.Qe(this.systemLocale);
2030
+ let patternLocal = index$1.nt(this.systemLocale);
2031
2031
  for (const key in this.messages.input.date.pattern) {
2032
2032
  patternLocal = patternLocal.replace(key, this.messages.input.date.pattern[key]);
2033
2033
  }
@@ -2049,7 +2049,7 @@ const MgInputDate = class {
2049
2049
  this.helpText = undefined;
2050
2050
  this.valid = undefined;
2051
2051
  this.invalid = undefined;
2052
- this.classCollection = new index$1.He(['mg-c-input--date']);
2052
+ this.classCollection = new index$1.Ie(['mg-c-input--date']);
2053
2053
  this.errorMessage = undefined;
2054
2054
  }
2055
2055
  validateValue(newValue) {
@@ -2057,7 +2057,7 @@ const MgInputDate = class {
2057
2057
  if (newValue === '')
2058
2058
  newValue = null;
2059
2059
  // check value validity
2060
- if (newValue && !index$1.Ie(newValue)) {
2060
+ if (newValue && !index$1.Ze(newValue)) {
2061
2061
  throw new Error("<mg-input-date> props 'value' must be a valid string");
2062
2062
  }
2063
2063
  else if (!newValue || (newValue && this.isValidPattern(newValue))) {
@@ -2114,7 +2114,7 @@ const MgInputDate = class {
2114
2114
  if (typeof valid !== 'boolean') {
2115
2115
  throw new Error('<mg-input-date> method "setError()" param "valid" must be a boolean');
2116
2116
  }
2117
- else if (!index$1.Ie(errorMessage)) {
2117
+ else if (!index$1.Ze(errorMessage)) {
2118
2118
  throw new Error('<mg-input-date> method "setError()" param "errorMessage" must be a string');
2119
2119
  }
2120
2120
  else {
@@ -2168,7 +2168,7 @@ const MgInputDate = class {
2168
2168
  * @returns HTML Element
2169
2169
  */
2170
2170
  render() {
2171
- return (index.h("mg-input", { key: 'f38d79cb71311149b4d15885b65cd8f025dde15d', label: this.label, identifier: this.identifier, class: this.classCollection.join(), ariaDescribedbyIDs: [], labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonlyValue: index$1.ye(this.value, this.locale), tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, index.h("input", { key: '67bf6f0ad58ee1a506ffd0d3d41d5954db68465c', type: "date", class: "mg-c-input__box", min: this.min, max: this.max, value: this.value, id: this.identifier, name: this.name, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
2171
+ return (index.h("mg-input", { key: 'f38d79cb71311149b4d15885b65cd8f025dde15d', label: this.label, identifier: this.identifier, class: this.classCollection.join(), ariaDescribedbyIDs: [], labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonlyValue: index$1.Be(this.value, this.locale), tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, index.h("input", { key: '67bf6f0ad58ee1a506ffd0d3d41d5954db68465c', type: "date", class: "mg-c-input__box", min: this.min, max: this.max, value: this.value, id: this.identifier, name: this.name, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
2172
2172
  if (el !== null)
2173
2173
  this.input = el;
2174
2174
  } })));
@@ -2299,9 +2299,9 @@ const MgInputNumeric = class {
2299
2299
  this.formatValue = (value) => {
2300
2300
  switch (this.format) {
2301
2301
  case 'number':
2302
- return index$1.Ye(value, this.locale, this.type === 'decimal' ? this.decimalLength : undefined);
2302
+ return index$1.at(value, this.locale, this.type === 'decimal' ? this.decimalLength : undefined);
2303
2303
  case 'currency':
2304
- return index$1.Je(value, this.locale, this.currency);
2304
+ return index$1.it(value, this.locale, this.currency);
2305
2305
  case 'none':
2306
2306
  return value.toString();
2307
2307
  }
@@ -2338,7 +2338,7 @@ const MgInputNumeric = class {
2338
2338
  this.decimalLength = 2;
2339
2339
  this.valid = undefined;
2340
2340
  this.invalid = undefined;
2341
- this.classCollection = new index$1.He(['mg-c-input--numeric']);
2341
+ this.classCollection = new index$1.Ie(['mg-c-input--numeric']);
2342
2342
  this.errorMessage = undefined;
2343
2343
  this.hasFocus = undefined;
2344
2344
  }
@@ -2434,7 +2434,7 @@ const MgInputNumeric = class {
2434
2434
  if (typeof valid !== 'boolean') {
2435
2435
  throw new Error('<mg-input-numeric> method "setError()" param "valid" must be a boolean');
2436
2436
  }
2437
- else if (!index$1.Ie(errorMessage)) {
2437
+ else if (!index$1.Ze(errorMessage)) {
2438
2438
  throw new Error('<mg-input-numeric> method "setError()" param "errorMessage" must be a string');
2439
2439
  }
2440
2440
  else {
@@ -2627,7 +2627,7 @@ const MgInputPassword = class {
2627
2627
  this.helpText = undefined;
2628
2628
  this.valid = undefined;
2629
2629
  this.invalid = undefined;
2630
- this.classCollection = new index$1.He(['mg-c-input--password']);
2630
+ this.classCollection = new index$1.Ie(['mg-c-input--password']);
2631
2631
  this.errorMessage = undefined;
2632
2632
  this.displayPassword = false;
2633
2633
  }
@@ -2685,7 +2685,7 @@ const MgInputPassword = class {
2685
2685
  if (typeof valid !== 'boolean') {
2686
2686
  throw new Error('<mg-input-password> method "setError()" param "valid" must be a boolean');
2687
2687
  }
2688
- else if (!index$1.Ie(errorMessage)) {
2688
+ else if (!index$1.Ze(errorMessage)) {
2689
2689
  throw new Error('<mg-input-password> method "setError()" param "errorMessage" must be a string');
2690
2690
  }
2691
2691
  else {
@@ -2832,7 +2832,7 @@ const MgInputRadio = class {
2832
2832
  this.helpText = undefined;
2833
2833
  this.valid = undefined;
2834
2834
  this.invalid = undefined;
2835
- this.classCollection = new index$1.He(['mg-c-input--radio', classFieldset]);
2835
+ this.classCollection = new index$1.Ie(['mg-c-input--radio', classFieldset]);
2836
2836
  this.errorMessage = undefined;
2837
2837
  this.options = undefined;
2838
2838
  }
@@ -2845,7 +2845,7 @@ const MgInputRadio = class {
2845
2845
  throw new Error('<mg-input-radio> prop "items" require at least 2 items.');
2846
2846
  }
2847
2847
  // String array
2848
- else if (index$1.Pe(newValue)) {
2848
+ else if (index$1.Ge(newValue)) {
2849
2849
  this.options = newValue.map(item => ({ title: item, value: item, disabled: this.disabled }));
2850
2850
  }
2851
2851
  // Object array
@@ -2904,7 +2904,7 @@ const MgInputRadio = class {
2904
2904
  if (typeof valid !== 'boolean') {
2905
2905
  throw new Error('<mg-input-radio> method "setError()" param "valid" must be a boolean');
2906
2906
  }
2907
- else if (!index$1.Ie(errorMessage)) {
2907
+ else if (!index$1.Ze(errorMessage)) {
2908
2908
  throw new Error('<mg-input-radio> method "setError()" param "errorMessage" must be a string');
2909
2909
  }
2910
2910
  else {
@@ -3051,7 +3051,7 @@ const MgInputSelect = class {
3051
3051
  if (this.input.value === '') {
3052
3052
  this.setValue(null);
3053
3053
  }
3054
- else if (index$1.Pe(this.items) && this.items.includes(this.input.value)) {
3054
+ else if (index$1.Ge(this.items) && this.items.includes(this.input.value)) {
3055
3055
  this.setValue(this.input.value);
3056
3056
  }
3057
3057
  else if (allItemsAreOptions(this.items) && typeof this.input.value === 'string' && this.items.some(this.isInputValue)) {
@@ -3125,7 +3125,7 @@ const MgInputSelect = class {
3125
3125
  this.helpText = undefined;
3126
3126
  this.valid = undefined;
3127
3127
  this.invalid = undefined;
3128
- this.classCollection = new index$1.He(['mg-c-input--select']);
3128
+ this.classCollection = new index$1.Ie(['mg-c-input--select']);
3129
3129
  this.errorMessage = undefined;
3130
3130
  this.options = undefined;
3131
3131
  this.valueExist = undefined;
@@ -3133,7 +3133,7 @@ const MgInputSelect = class {
3133
3133
  }
3134
3134
  validateValue(newValue) {
3135
3135
  var _a, _b;
3136
- if (index$1.Pe(this.items) && typeof newValue === 'string') {
3136
+ if (index$1.Ge(this.items) && typeof newValue === 'string') {
3137
3137
  this.readonlyValue = ((_a = this.input) === null || _a === void 0 ? void 0 : _a.value) ? this.input.value : newValue;
3138
3138
  }
3139
3139
  else if (allItemsAreOptions(this.items)) {
@@ -3150,7 +3150,7 @@ const MgInputSelect = class {
3150
3150
  this.options = [];
3151
3151
  }
3152
3152
  // String array
3153
- else if (index$1.Pe(newValue)) {
3153
+ else if (index$1.Ge(newValue)) {
3154
3154
  if (typeof this.value === 'string')
3155
3155
  this.valueExist = newValue.includes(this.value);
3156
3156
  this.options = newValue.map(item => ({ title: item, value: item }));
@@ -3222,7 +3222,7 @@ const MgInputSelect = class {
3222
3222
  if (typeof valid !== 'boolean') {
3223
3223
  throw new Error('<mg-input-select> method "setError()" param "valid" must be a boolean');
3224
3224
  }
3225
- else if (!index$1.Ie(errorMessage)) {
3225
+ else if (!index$1.Ze(errorMessage)) {
3226
3226
  throw new Error('<mg-input-select> method "setError()" param "errorMessage" must be a string');
3227
3227
  }
3228
3228
  else {
@@ -3334,7 +3334,7 @@ const MgInputText = class {
3334
3334
  */
3335
3335
  this.handleFocus = () => {
3336
3336
  this.classCollection.add(this.classFocus);
3337
- this.classCollection = new index$1.He(this.classCollection.classes);
3337
+ this.classCollection = new index$1.Ie(this.classCollection.classes);
3338
3338
  };
3339
3339
  /**
3340
3340
  * Handle blur event
@@ -3342,7 +3342,7 @@ const MgInputText = class {
3342
3342
  this.handleBlur = () => {
3343
3343
  // Manage focus
3344
3344
  this.classCollection.delete(this.classFocus);
3345
- this.classCollection = new index$1.He(this.classCollection.classes);
3345
+ this.classCollection = new index$1.Ie(this.classCollection.classes);
3346
3346
  // Display Error
3347
3347
  this.handlerInProgress = Handler.BLUR;
3348
3348
  this.displayError().finally(() => {
@@ -3417,7 +3417,7 @@ const MgInputText = class {
3417
3417
  this.helpText = undefined;
3418
3418
  this.valid = undefined;
3419
3419
  this.invalid = undefined;
3420
- this.classCollection = new index$1.He(['mg-c-input--text']);
3420
+ this.classCollection = new index$1.Ie(['mg-c-input--text']);
3421
3421
  this.errorMessage = undefined;
3422
3422
  }
3423
3423
  handleValue(newValue) {
@@ -3468,7 +3468,7 @@ const MgInputText = class {
3468
3468
  this.classCollection.add(`mg-c-input--width-${this.mgWidth}`);
3469
3469
  }
3470
3470
  validatePattern(newValue) {
3471
- if (newValue !== undefined && !(index$1.Ie(this.pattern) && index$1.Ie(this.patternErrorMessage))) {
3471
+ if (newValue !== undefined && !(index$1.Ze(this.pattern) && index$1.Ze(this.patternErrorMessage))) {
3472
3472
  throw new Error('<mg-input-text> props "pattern" and "patternErrorMessage" must be non-empty string and paired.');
3473
3473
  }
3474
3474
  }
@@ -3498,7 +3498,7 @@ const MgInputText = class {
3498
3498
  if (typeof valid !== 'boolean') {
3499
3499
  throw new Error('<mg-input-text> method "setError()" param "valid" must be a boolean');
3500
3500
  }
3501
- else if (!index$1.Ie(errorMessage)) {
3501
+ else if (!index$1.Ze(errorMessage)) {
3502
3502
  throw new Error('<mg-input-text> method "setError()" param "errorMessage" must be a string');
3503
3503
  }
3504
3504
  else {
@@ -3607,7 +3607,7 @@ const MgInputTextarea = class {
3607
3607
  */
3608
3608
  this.handleFocus = () => {
3609
3609
  this.classCollection.add(this.classFocus);
3610
- this.classCollection = new index$1.He(this.classCollection.classes);
3610
+ this.classCollection = new index$1.Ie(this.classCollection.classes);
3611
3611
  };
3612
3612
  /**
3613
3613
  * Handle blur event
@@ -3615,7 +3615,7 @@ const MgInputTextarea = class {
3615
3615
  this.handleBlur = () => {
3616
3616
  // Manage focus
3617
3617
  this.classCollection.delete(this.classFocus);
3618
- this.classCollection = new index$1.He(this.classCollection.classes);
3618
+ this.classCollection = new index$1.Ie(this.classCollection.classes);
3619
3619
  // Display Error
3620
3620
  this.handlerInProgress = Handler.BLUR;
3621
3621
  this.displayError().finally(() => {
@@ -3678,7 +3678,7 @@ const MgInputTextarea = class {
3678
3678
  this.valid = undefined;
3679
3679
  this.invalid = undefined;
3680
3680
  this.resizable = 'none';
3681
- this.classCollection = new index$1.He(['mg-c-input--textarea']);
3681
+ this.classCollection = new index$1.Ie(['mg-c-input--textarea']);
3682
3682
  this.errorMessage = undefined;
3683
3683
  }
3684
3684
  handleValue(newValue) {
@@ -3717,7 +3717,7 @@ const MgInputTextarea = class {
3717
3717
  this.classCollection.add(`mg-c-input--width-${this.mgWidth}`);
3718
3718
  }
3719
3719
  validatePattern(newValue) {
3720
- if (newValue !== undefined && !(index$1.Ie(this.pattern) && index$1.Ie(this.patternErrorMessage))) {
3720
+ if (newValue !== undefined && !(index$1.Ze(this.pattern) && index$1.Ze(this.patternErrorMessage))) {
3721
3721
  throw new Error('<mg-input-textarea> props "pattern" and "patternErrorMessage" must be non-empty string and paired.');
3722
3722
  }
3723
3723
  }
@@ -3749,7 +3749,7 @@ const MgInputTextarea = class {
3749
3749
  if (typeof valid !== 'boolean') {
3750
3750
  throw new Error('<mg-input-textarea> method "setError()" param "valid" must be a boolean');
3751
3751
  }
3752
- else if (!index$1.Ie(errorMessage)) {
3752
+ else if (!index$1.Ze(errorMessage)) {
3753
3753
  throw new Error('<mg-input-textarea> method "setError()" param "errorMessage" must be a string');
3754
3754
  }
3755
3755
  else {
@@ -3838,7 +3838,7 @@ const MgInputTitle = class {
3838
3838
  this.tagName = 'label';
3839
3839
  }
3840
3840
  validateIdentifier(newValue) {
3841
- if (!index$1.Ie(newValue)) {
3841
+ if (!index$1.Ze(newValue)) {
3842
3842
  throw new Error('<mg-input-title> prop "identifier" is required.');
3843
3843
  }
3844
3844
  }
@@ -3952,7 +3952,7 @@ const MgInputToggle = class {
3952
3952
  this.tooltip = undefined;
3953
3953
  this.tooltipPosition = 'input';
3954
3954
  this.helpText = undefined;
3955
- this.classCollection = new index$1.He(['mg-c-input--toggle']);
3955
+ this.classCollection = new index$1.Ie(['mg-c-input--toggle']);
3956
3956
  this.options = undefined;
3957
3957
  this.errorMessage = undefined;
3958
3958
  this.valid = undefined;
@@ -3969,7 +3969,7 @@ const MgInputToggle = class {
3969
3969
  throw new Error('<mg-input-toggle> prop "items" require 2 items.');
3970
3970
  }
3971
3971
  // String array
3972
- else if (index$1.Pe(newValue)) {
3972
+ else if (index$1.Ge(newValue)) {
3973
3973
  this.options = newValue.map(item => ({ title: item, value: item }));
3974
3974
  }
3975
3975
  // Object array
@@ -4025,7 +4025,7 @@ const MgInputToggle = class {
4025
4025
  if (typeof valid !== 'boolean') {
4026
4026
  throw new Error('<mg-input-toggle> method "setError()" param "valid" must be a boolean');
4027
4027
  }
4028
- else if (!index$1.Ie(errorMessage)) {
4028
+ else if (!index$1.Ze(errorMessage)) {
4029
4029
  throw new Error('<mg-input-toggle> method "setError()" param "errorMessage" must be a string');
4030
4030
  }
4031
4031
  else {
@@ -4256,7 +4256,7 @@ const MgItemMore = class {
4256
4256
  if (!proxy)
4257
4257
  return;
4258
4258
  // remove proxy id to prevent duplicate key. default html id is: '';
4259
- if (index$1.Ie(proxy.id))
4259
+ if (index$1.Ze(proxy.id))
4260
4260
  proxy.id = '';
4261
4261
  const proxyClickHandler = () => {
4262
4262
  this.parentMenu
@@ -4300,7 +4300,7 @@ const MgItemMore = class {
4300
4300
  // create item-more menu items element from main menu-items clones
4301
4301
  this.moreElementMenuItem.querySelector('mg-menu').appendChild(child.cloneNode(true));
4302
4302
  // we need to get all `mg-menu-item` linked to the cloned one to set mirror process
4303
- index$1.Ge(() => {
4303
+ index$1.Ye(() => {
4304
4304
  if (child.querySelector('mg-menu')) {
4305
4305
  child.querySelectorAll('mg-menu-item').forEach(this.setProxyElement);
4306
4306
  }
@@ -4626,7 +4626,7 @@ const MgMenuItem = class {
4626
4626
  throw new Error(`<${this.name}> slot "label" is required.`);
4627
4627
  ['label', 'metadata'].forEach(slot => {
4628
4628
  Array.from(this.element.querySelectorAll(`[slot="${slot}"]`)).forEach(element => {
4629
- if (!index$1.Ie(element.textContent))
4629
+ if (!index$1.Ze(element.textContent))
4630
4630
  throw new Error(`<${this.name}> slot "${slot}" must have text content.`);
4631
4631
  if ((guard && element.getAttribute('title') === null) || !guard)
4632
4632
  element.setAttribute('title', element.textContent);
@@ -4695,13 +4695,13 @@ const MgMenuItem = class {
4695
4695
  * @returns HTML Element
4696
4696
  */
4697
4697
  this.renderSlot = () => index.h("slot", null);
4698
- this.identifier = index$1.Ce('mg-menu-item');
4698
+ this.identifier = index$1.ze('mg-menu-item');
4699
4699
  this.href = undefined;
4700
4700
  this.target = undefined;
4701
4701
  this.status = Status$1.VISIBLE;
4702
4702
  this.expanded = false;
4703
4703
  this.size = 'regular';
4704
- this.navigationButtonClassList = new index$1.He([this.navigationButton]);
4704
+ this.navigationButtonClassList = new index$1.Ie([this.navigationButton]);
4705
4705
  this.direction = undefined;
4706
4706
  this.isInMainMenu = undefined;
4707
4707
  this.isItemMore = undefined;
@@ -4848,7 +4848,7 @@ const MgMenuItem = class {
4848
4848
  * Emit event when component is updated
4849
4849
  */
4850
4850
  componentShouldUpdate() {
4851
- return index$1.Ge(() => {
4851
+ return index$1.Ye(() => {
4852
4852
  this.itemUpdated.emit();
4853
4853
  });
4854
4854
  }
@@ -4955,13 +4955,13 @@ const MgMessage = class {
4955
4955
  return 'exclamation-circle';
4956
4956
  }
4957
4957
  };
4958
- this.identifier = index$1.Ce('mg-message');
4958
+ this.identifier = index$1.ze('mg-message');
4959
4959
  this.delay = undefined;
4960
4960
  this.variant = variants$1[0];
4961
4961
  this.closeButton = false;
4962
4962
  this.hide = false;
4963
4963
  this.noAriaRole = undefined;
4964
- this.classCollection = new index$1.He(['mg-c-message']);
4964
+ this.classCollection = new index$1.Ie(['mg-c-message']);
4965
4965
  this.hasActions = false;
4966
4966
  }
4967
4967
  validateDelay(newValue) {
@@ -5104,12 +5104,12 @@ const MgModal = class {
5104
5104
  */
5105
5105
  this.setFocus = () => {
5106
5106
  // Get all focusable elements
5107
- const slottedFocusableElements = Array.from(this.element.querySelectorAll(index$1.We));
5107
+ const slottedFocusableElements = Array.from(this.element.querySelectorAll(index$1.Ke));
5108
5108
  // If close button is enabled or at least one of the slotted element is focusable
5109
5109
  if (this.closeButton || slottedFocusableElements.length > 0) {
5110
5110
  // Check if slotted focusable elements have shadowDom with focusable elements
5111
5111
  this.modalFocusableElements = slottedFocusableElements.reduce((acc, focusableElement) => {
5112
- acc.push(focusableElement.shadowRoot !== null ? focusableElement.shadowRoot.querySelector(index$1.We) || focusableElement : focusableElement);
5112
+ acc.push(focusableElement.shadowRoot !== null ? focusableElement.shadowRoot.querySelector(index$1.Ke) || focusableElement : focusableElement);
5113
5113
  return acc;
5114
5114
  }, []);
5115
5115
  // When close button is enabled it's the first focusable element.
@@ -5131,21 +5131,21 @@ const MgModal = class {
5131
5131
  this.handleClose = () => {
5132
5132
  this.hide = true;
5133
5133
  };
5134
- this.identifier = index$1.Ce('mg-modal');
5134
+ this.identifier = index$1.ze('mg-modal');
5135
5135
  this.dialogRole = dialogRoles[0];
5136
5136
  this.modalTitle = undefined;
5137
5137
  this.closeButton = false;
5138
5138
  this.hide = undefined;
5139
5139
  this.hasActions = false;
5140
5140
  this.hasContent = false;
5141
- this.classCollection = new index$1.He(['mg-c-modal']);
5141
+ this.classCollection = new index$1.Ie(['mg-c-modal']);
5142
5142
  }
5143
5143
  validateDialogRole(newValue) {
5144
5144
  if (!dialogRoles.includes(newValue))
5145
5145
  throw new Error(`<mg-modal> prop "dialogRole" must be one of: ${dialogRoles.join(', ')}.`);
5146
5146
  }
5147
5147
  validateModalTitle(newValue) {
5148
- if (!index$1.Ie(newValue)) {
5148
+ if (!index$1.Ze(newValue)) {
5149
5149
  throw new Error('<mg-modal> prop "modalTitle" is required.');
5150
5150
  }
5151
5151
  }
@@ -5292,7 +5292,7 @@ const MgPagination = class {
5292
5292
  this.handleGoToPage = (action, disabled) => {
5293
5293
  !disabled && this.goToPage(action === NavigationAction.NEXT ? this.currentPage + 1 : this.currentPage - 1);
5294
5294
  };
5295
- this.identifier = index$1.Ce('mg-pagination');
5295
+ this.identifier = index$1.ze('mg-pagination');
5296
5296
  this.label = undefined;
5297
5297
  this.hideNavigationLabels = undefined;
5298
5298
  this.hidePageCount = undefined;
@@ -5457,7 +5457,7 @@ const MgPanel = class {
5457
5457
  ];
5458
5458
  return this.titlePosition === 'right' ? children.reverse() : children;
5459
5459
  };
5460
- this.identifier = index$1.Ce('mg-panel');
5460
+ this.identifier = index$1.ze('mg-panel');
5461
5461
  this.panelTitle = undefined;
5462
5462
  this.titlePattern = undefined;
5463
5463
  this.titlePatternErrorMessage = undefined;
@@ -5466,12 +5466,12 @@ const MgPanel = class {
5466
5466
  this.expanded = false;
5467
5467
  this.expandToggleDisplay = expandToggleDisplays[0];
5468
5468
  this.expandToggleDisabled = undefined;
5469
- this.classCollection = new index$1.He(['mg-c-panel']);
5469
+ this.classCollection = new index$1.Ie(['mg-c-panel']);
5470
5470
  this.isEditing = false;
5471
5471
  this.updatedPanelTitle = undefined;
5472
5472
  }
5473
5473
  validatePanelTitle(newValue) {
5474
- if (!index$1.Ie(newValue))
5474
+ if (!index$1.Ze(newValue))
5475
5475
  throw new Error('<mg-panel> prop "panelTitle" is required.');
5476
5476
  this.titleChange.emit(newValue);
5477
5477
  }
@@ -7422,7 +7422,7 @@ const MgPopover = class {
7422
7422
  mgPopoverContent.setAttribute('id', this.identifier);
7423
7423
  }
7424
7424
  };
7425
- this.identifier = index$1.Ce('mg-popover');
7425
+ this.identifier = index$1.ze('mg-popover');
7426
7426
  this.placement = 'bottom';
7427
7427
  this.arrowHide = false;
7428
7428
  this.closeButton = false;
@@ -7465,7 +7465,7 @@ const MgPopover = class {
7465
7465
  */
7466
7466
  componentWillLoad() {
7467
7467
  // Get windows to attach events
7468
- this.windows = index$1.ze(window);
7468
+ this.windows = index$1.Qe(window);
7469
7469
  // render mg-popover-content slot
7470
7470
  this.renderPopoverContent();
7471
7471
  this.validateCloseButton(this.closeButton);
@@ -7557,7 +7557,7 @@ const MgPopoverContent = class {
7557
7557
  this.hideContent.emit();
7558
7558
  };
7559
7559
  this.closeButton = false;
7560
- this.classCollection = new index$1.He(['mg-c-popover-content']);
7560
+ this.classCollection = new index$1.Ie(['mg-c-popover-content']);
7561
7561
  }
7562
7562
  /*************
7563
7563
  * Lifecycle *
@@ -7575,7 +7575,7 @@ const MgPopoverContent = class {
7575
7575
  componentDidLoad() {
7576
7576
  const headingTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
7577
7577
  const slottedTitleElement = this.element.querySelector('[slot="title"]');
7578
- if (slottedTitleElement && !index$1.Be(slottedTitleElement, headingTags)) {
7578
+ if (slottedTitleElement && !index$1.Xe(slottedTitleElement, headingTags)) {
7579
7579
  throw new Error(`<mg-popover> Slotted title must be a heading: ${headingTags.join(', ')}`);
7580
7580
  }
7581
7581
  }
@@ -7611,7 +7611,7 @@ const MgSkipLinks = class {
7611
7611
  this.links = undefined;
7612
7612
  }
7613
7613
  validateLinks(links) {
7614
- if (links === undefined || links.length === 0 || links.some(link => !index$1.Ie(link.href) || !link.href.startsWith('#') || !index$1.Ie(link.label))) {
7614
+ if (links === undefined || links.length === 0 || links.some(link => !index$1.Ze(link.href) || !link.href.startsWith('#') || !index$1.Ze(link.label))) {
7615
7615
  throw new Error(`<mg-skip-links> prop "links": Cannot be empty and each link must contains an href starting with a "#" and a non empty label attributes.`);
7616
7616
  }
7617
7617
  }
@@ -7763,7 +7763,7 @@ const MgTabs = class {
7763
7763
  */
7764
7764
  this.resetFocus = () => {
7765
7765
  // update asynchronously tabindex to prevent get focus on new tabindex at then end of event process
7766
- index$1.Ge(() => {
7766
+ index$1.Ye(() => {
7767
7767
  this.tabFocus = undefined;
7768
7768
  Array.from(this.element.shadowRoot.querySelectorAll('[data-index]')).forEach((tab, index) => {
7769
7769
  tab.setAttribute('tabindex', this.activeTab - this.startIndex !== index ? '-1' : '0');
@@ -7778,16 +7778,16 @@ const MgTabs = class {
7778
7778
  if (slots.length !== this.tabs.length)
7779
7779
  throw new Error('<mg-tabs> Must have slots counts equal to tabs count.');
7780
7780
  };
7781
- this.identifier = index$1.Ce('mg-tabs');
7781
+ this.identifier = index$1.ze('mg-tabs');
7782
7782
  this.label = undefined;
7783
7783
  this.size = 'regular';
7784
7784
  this.items = undefined;
7785
7785
  this.activeTab = undefined;
7786
7786
  this.tabs = [];
7787
- this.classCollection = new index$1.He(['mg-c-tabs']);
7787
+ this.classCollection = new index$1.Ie(['mg-c-tabs']);
7788
7788
  }
7789
7789
  validateLabel(newValue) {
7790
- if (!index$1.Ie(newValue)) {
7790
+ if (!index$1.Ze(newValue)) {
7791
7791
  throw new Error('<mg-tabs> prop "label" is required.');
7792
7792
  }
7793
7793
  }
@@ -7799,7 +7799,7 @@ const MgTabs = class {
7799
7799
  }
7800
7800
  validateItems(newValue) {
7801
7801
  // String array
7802
- if (index$1.Pe(newValue))
7802
+ if (index$1.Ge(newValue))
7803
7803
  this.tabs = newValue.map(item => ({ label: item, status: Status.VISIBLE }));
7804
7804
  // Object array
7805
7805
  else if (Array.isArray(newValue) && newValue.length > 0 && newValue.every(isTabItem))
@@ -7899,7 +7899,7 @@ const MgTag = class {
7899
7899
  this.variant = variants[0];
7900
7900
  this.outline = undefined;
7901
7901
  this.soft = undefined;
7902
- this.classCollection = new index$1.He(['mg-c-tag']);
7902
+ this.classCollection = new index$1.Ie(['mg-c-tag']);
7903
7903
  }
7904
7904
  validateVariant(newValue, oldValue) {
7905
7905
  if (!variants.includes(newValue)) {
@@ -7936,7 +7936,7 @@ const MgTag = class {
7936
7936
  * @param textContent - html element textContent property
7937
7937
  */
7938
7938
  validateTextContent(textContent) {
7939
- if (!index$1.Ie(textContent))
7939
+ if (!index$1.Ze(textContent))
7940
7940
  throw new Error('<mg-tag> slot must contain a text content.');
7941
7941
  }
7942
7942
  /*************
@@ -7996,7 +7996,7 @@ const MgTooltip = class {
7996
7996
  // Enable the event listeners
7997
7997
  this.popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [...options.modifiers, { name: 'eventListeners', enabled: true }] })));
7998
7998
  // hide when click outside on nextTick to prevent event to trigger after creation
7999
- index$1.Ge(() => {
7999
+ index$1.Ye(() => {
8000
8000
  this.windows.forEach((localWindow) => {
8001
8001
  localWindow.addEventListener('click', this.handleClickOutside, false);
8002
8002
  localWindow.addEventListener('keydown', this.handlePressEscape, false);
@@ -8186,7 +8186,7 @@ const MgTooltip = class {
8186
8186
  element.setAttribute('aria-describedby', `${[...new Set([...ariaDescribedby.split(' '), this.identifier])].join(' ')}`);
8187
8187
  }
8188
8188
  };
8189
- this.identifier = index$1.Ce('mg-tooltip');
8189
+ this.identifier = index$1.ze('mg-tooltip');
8190
8190
  this.message = undefined;
8191
8191
  this.placement = 'bottom';
8192
8192
  this.display = false;
@@ -8197,7 +8197,7 @@ const MgTooltip = class {
8197
8197
  this.renderTooltipContent();
8198
8198
  }
8199
8199
  watchMessage(newValue) {
8200
- if (!index$1.Ie(newValue)) {
8200
+ if (!index$1.Ze(newValue)) {
8201
8201
  throw new Error('<mg-tooltip> prop "message" is required.');
8202
8202
  }
8203
8203
  this.mgTooltipContent.message = newValue;
@@ -8252,7 +8252,7 @@ const MgTooltip = class {
8252
8252
  */
8253
8253
  componentWillLoad() {
8254
8254
  // Get windows to attach events
8255
- this.windows = index$1.ze(window);
8255
+ this.windows = index$1.Qe(window);
8256
8256
  // Get tooltip element
8257
8257
  this.renderTooltipContent();
8258
8258
  //validate properties
@@ -8270,7 +8270,7 @@ const MgTooltip = class {
8270
8270
  // get slotted element wich is not the tooltip
8271
8271
  const slotElement = this.element.querySelector(`*:not(#${this.identifier})`);
8272
8272
  // Get interactive element
8273
- const interactiveElement = slotElement.matches(index$1.We) ? slotElement : (_a = slotElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(index$1.We);
8273
+ const interactiveElement = slotElement.matches(index$1.Ke) ? slotElement : (_a = slotElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(index$1.Ke);
8274
8274
  this.setTooltipedElement(interactiveElement || slotElement);
8275
8275
  // Check if slotted element is a disabled mg-button
8276
8276
  // In this case we wrap the mg-button into a div to enable the tooltip