@mgdis/mg-components 5.23.1 → 5.23.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 (168) hide show
  1. package/dist/cjs/{index-0cf3e6d5.js → index-775fad7b.js} +13 -2
  2. package/dist/cjs/index-775fad7b.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/mg-action-more_34.cjs.entry.js +44 -44
  5. package/dist/cjs/mg-action-more_34.cjs.entry.js.map +1 -1
  6. package/dist/cjs/mg-components.cjs.js +2 -2
  7. package/dist/cjs/mg-components.cjs.js.map +1 -1
  8. package/dist/cjs/mg-item-more.cjs.entry.js +2 -2
  9. package/dist/cjs/mg-item-more.cjs.entry.js.map +1 -1
  10. package/dist/collection/collection-manifest.json +1 -1
  11. package/dist/collection/components/atoms/mg-badge/mg-badge.js +1 -1
  12. package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +1 -1
  13. package/dist/collection/components/atoms/mg-button/mg-button.js +1 -1
  14. package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
  15. package/dist/collection/components/atoms/mg-card/mg-card.js +1 -1
  16. package/dist/collection/components/atoms/mg-card/mg-card.js.map +1 -1
  17. package/dist/collection/components/atoms/mg-character-left/mg-character-left.js +1 -1
  18. package/dist/collection/components/atoms/mg-character-left/mg-character-left.js.map +1 -1
  19. package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
  20. package/dist/collection/components/atoms/mg-divider/mg-divider.js.map +1 -1
  21. package/dist/collection/components/atoms/mg-input-title/mg-input-title.js +1 -1
  22. package/dist/collection/components/atoms/mg-input-title/mg-input-title.js.map +1 -1
  23. package/dist/collection/components/atoms/mg-tag/mg-tag.js +1 -1
  24. package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +1 -1
  25. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -1
  26. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js.map +1 -1
  27. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +1 -1
  28. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js.map +1 -1
  29. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +2 -2
  30. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +1 -1
  31. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +1 -1
  32. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +1 -1
  33. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +1 -1
  34. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +1 -1
  35. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +2 -2
  36. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +1 -1
  37. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +1 -1
  38. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +1 -1
  39. package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +1 -1
  40. package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js.map +1 -1
  41. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +1 -1
  42. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +1 -1
  43. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +3 -3
  44. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +1 -1
  45. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +1 -1
  46. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +1 -1
  47. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +1 -1
  48. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +1 -1
  49. package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js +1 -1
  50. package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js.map +1 -1
  51. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js +1 -1
  52. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js.map +1 -1
  53. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +3 -3
  54. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +1 -1
  55. package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
  56. package/dist/collection/components/molecules/mg-details/mg-details.js.map +1 -1
  57. package/dist/collection/components/molecules/mg-form/mg-form.js +1 -1
  58. package/dist/collection/components/molecules/mg-form/mg-form.js.map +1 -1
  59. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +3 -3
  60. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js.map +1 -1
  61. package/dist/collection/components/molecules/mg-item-more/mg-item-more.js +1 -1
  62. package/dist/collection/components/molecules/mg-item-more/mg-item-more.js.map +1 -1
  63. package/dist/collection/components/molecules/mg-message/mg-message.js +1 -1
  64. package/dist/collection/components/molecules/mg-message/mg-message.js.map +1 -1
  65. package/dist/collection/components/molecules/mg-modal/mg-modal.js +2 -2
  66. package/dist/collection/components/molecules/mg-modal/mg-modal.js.map +1 -1
  67. package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +2 -2
  68. package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +1 -1
  69. package/dist/collection/components/molecules/mg-panel/mg-panel.js +1 -1
  70. package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +1 -1
  71. package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
  72. package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js.map +1 -1
  73. package/dist/collection/components/molecules/mg-popover/mg-popover.js +1 -1
  74. package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +1 -1
  75. package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +1 -1
  76. package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js.map +1 -1
  77. package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +1 -1
  78. package/dist/collection/components/molecules/mg-tabs/mg-tabs.js.map +1 -1
  79. package/dist/components/mg-action-more.js +3 -3
  80. package/dist/components/mg-action-more.js.map +1 -1
  81. package/dist/components/mg-badge2.js +1 -1
  82. package/dist/components/mg-badge2.js.map +1 -1
  83. package/dist/components/mg-button2.js +1 -1
  84. package/dist/components/mg-button2.js.map +1 -1
  85. package/dist/components/mg-card2.js +1 -1
  86. package/dist/components/mg-card2.js.map +1 -1
  87. package/dist/components/mg-character-left2.js +1 -1
  88. package/dist/components/mg-character-left2.js.map +1 -1
  89. package/dist/components/mg-details.js +1 -1
  90. package/dist/components/mg-details.js.map +1 -1
  91. package/dist/components/mg-divider.js +1 -1
  92. package/dist/components/mg-divider.js.map +1 -1
  93. package/dist/components/mg-form.js +1 -1
  94. package/dist/components/mg-form.js.map +1 -1
  95. package/dist/components/mg-illustrated-message.js +3 -3
  96. package/dist/components/mg-illustrated-message.js.map +1 -1
  97. package/dist/components/mg-input-checkbox-paginated2.js +2 -2
  98. package/dist/components/mg-input-checkbox-paginated2.js.map +1 -1
  99. package/dist/components/mg-input-checkbox.js +1 -1
  100. package/dist/components/mg-input-checkbox.js.map +1 -1
  101. package/dist/components/mg-input-date.js +1 -1
  102. package/dist/components/mg-input-date.js.map +1 -1
  103. package/dist/components/mg-input-numeric.js +2 -2
  104. package/dist/components/mg-input-numeric.js.map +1 -1
  105. package/dist/components/mg-input-password.js +1 -1
  106. package/dist/components/mg-input-password.js.map +1 -1
  107. package/dist/components/mg-input-radio.js +1 -1
  108. package/dist/components/mg-input-radio.js.map +1 -1
  109. package/dist/components/mg-input-select2.js +1 -1
  110. package/dist/components/mg-input-select2.js.map +1 -1
  111. package/dist/components/mg-input-text2.js +3 -3
  112. package/dist/components/mg-input-text2.js.map +1 -1
  113. package/dist/components/mg-input-textarea.js +1 -1
  114. package/dist/components/mg-input-textarea.js.map +1 -1
  115. package/dist/components/mg-input-title2.js +1 -1
  116. package/dist/components/mg-input-title2.js.map +1 -1
  117. package/dist/components/mg-input-toggle.js +1 -1
  118. package/dist/components/mg-input-toggle.js.map +1 -1
  119. package/dist/components/mg-item-more.js +1 -1
  120. package/dist/components/mg-item-more.js.map +1 -1
  121. package/dist/components/mg-menu-item2.js +1 -1
  122. package/dist/components/mg-menu-item2.js.map +1 -1
  123. package/dist/components/mg-menu2.js +1 -1
  124. package/dist/components/mg-menu2.js.map +1 -1
  125. package/dist/components/mg-message.js +1 -1
  126. package/dist/components/mg-message.js.map +1 -1
  127. package/dist/components/mg-modal.js +2 -2
  128. package/dist/components/mg-modal.js.map +1 -1
  129. package/dist/components/mg-pagination2.js +2 -2
  130. package/dist/components/mg-pagination2.js.map +1 -1
  131. package/dist/components/mg-panel.js +1 -1
  132. package/dist/components/mg-panel.js.map +1 -1
  133. package/dist/components/mg-popover-content2.js +1 -1
  134. package/dist/components/mg-popover-content2.js.map +1 -1
  135. package/dist/components/mg-popover2.js +1 -1
  136. package/dist/components/mg-popover2.js.map +1 -1
  137. package/dist/components/mg-skip-links.js +1 -1
  138. package/dist/components/mg-skip-links.js.map +1 -1
  139. package/dist/components/mg-tabs.js +1 -1
  140. package/dist/components/mg-tabs.js.map +1 -1
  141. package/dist/components/mg-tag.js +1 -1
  142. package/dist/components/mg-tag.js.map +1 -1
  143. package/dist/components/mg-tooltip-content2.js +1 -1
  144. package/dist/components/mg-tooltip-content2.js.map +1 -1
  145. package/dist/components/mg-tooltip2.js +1 -1
  146. package/dist/components/mg-tooltip2.js.map +1 -1
  147. package/dist/esm/{index-91977c3d.js → index-9aa447a7.js} +13 -2
  148. package/dist/esm/index-9aa447a7.js.map +1 -0
  149. package/dist/esm/loader.js +2 -2
  150. package/dist/esm/mg-action-more_34.entry.js +44 -44
  151. package/dist/esm/mg-action-more_34.entry.js.map +1 -1
  152. package/dist/esm/mg-components.js +3 -3
  153. package/dist/esm/mg-components.js.map +1 -1
  154. package/dist/esm/mg-item-more.entry.js +2 -2
  155. package/dist/esm/mg-item-more.entry.js.map +1 -1
  156. package/dist/mg-components/mg-components.esm.js +1 -1
  157. package/dist/mg-components/mg-components.esm.js.map +1 -1
  158. package/dist/mg-components/{p-6c68c7eb.entry.js → p-06715c36.entry.js} +2 -2
  159. package/dist/mg-components/p-06715c36.entry.js.map +1 -0
  160. package/dist/mg-components/{p-49e1ffcb.js → p-4e7a7f68.js} +1 -1
  161. package/dist/mg-components/{p-49e1ffcb.js.map → p-4e7a7f68.js.map} +1 -1
  162. package/dist/mg-components/p-fee35953.entry.js +2 -0
  163. package/dist/mg-components/{p-896da866.entry.js.map → p-fee35953.entry.js.map} +1 -1
  164. package/package.json +22 -22
  165. package/dist/cjs/index-0cf3e6d5.js.map +0 -1
  166. package/dist/esm/index-91977c3d.js.map +0 -1
  167. package/dist/mg-components/p-6c68c7eb.entry.js.map +0 -1
  168. package/dist/mg-components/p-896da866.entry.js +0 -2
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-91977c3d.js';
2
- export { s as setNonce } from './index-91977c3d.js';
1
+ import { b as bootstrapLazy } from './index-9aa447a7.js';
2
+ export { s as setNonce } from './index-9aa447a7.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-91977c3d.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-9aa447a7.js';
2
2
  import { j as je, i as initLocales, D as Direction, F as Fe, H as He, P as Pe, _ as _e, C as Ce, b as be, A as Ae, E as Ee, S as Se, R as Re, M as Me, a as De, s as sizes$2, B as Be, N as Ne } from './mg-menu.conf-4b2d2eab.js';
3
3
 
4
4
  /**
@@ -140,12 +140,12 @@ const MgActionMore = class {
140
140
  const buttonLabel = this.button.label || this.messages.label;
141
141
  const buttonContent = [buttonLabel];
142
142
  if (!this.button.isIcon && this.displayChevron) {
143
- buttonContent.push(h("span", { class: {
143
+ buttonContent.push(h("span", { key: 'f96c9e7fc99997a3eb3720ebac5803787a69c00d', class: {
144
144
  [`${this.classBase}__chevron`]: true,
145
145
  [`${this.classBase}__chevron--rotate`]: this.expanded === true,
146
- } }, h("mg-icon", { icon: "chevron-down", size: "small" })));
146
+ } }, h("mg-icon", { key: '54bc38e860c770b15a736fa1ee61df2c2688a82d', icon: "chevron-down", size: "small" })));
147
147
  }
148
- return (h(Host, { "data-mg-popover-guard": this.mgPopoverIdentifier }, h("span", { class: "mg-action-more" }, h("mg-popover", { identifier: this.mgPopoverIdentifier, display: this.expanded, "onDisplay-change": this.handleDisplayChange }, h("mg-button", { variant: this.button.variant, isIcon: this.button.isIcon, disabled: this.button.disabled, type: "button", label: buttonLabel, onClick: this.handleButton }, this.icon && h("mg-icon", Object.assign({}, this.icon)), !this.button.isIcon && buttonContent), h("div", { slot: "content" }, h("mg-menu", { direction: Direction.VERTICAL, label: this.messages.label }, this.items.map(item => {
148
+ return (h(Host, { key: 'fe5774abbf2421fa73a7dbac85f6eb0153efd13a', "data-mg-popover-guard": this.mgPopoverIdentifier }, h("span", { key: 'ea3a898f62fea432231c2925b711af3607f2f6f1', class: "mg-action-more" }, h("mg-popover", { key: 'efe6b86dd602e0e4d77ae27c61541a81e3cc6d3a', identifier: this.mgPopoverIdentifier, display: this.expanded, "onDisplay-change": this.handleDisplayChange }, h("mg-button", { key: '48c8d385af91f17eb26809ffece1dcb95d30a644', variant: this.button.variant, isIcon: this.button.isIcon, disabled: this.button.disabled, type: "button", label: buttonLabel, onClick: this.handleButton }, this.icon && h("mg-icon", Object.assign({}, this.icon)), !this.button.isIcon && buttonContent), h("div", { key: 'cbc5f675b6b7f66e0a8c3f5b1ba5375816c0d065', slot: "content" }, h("mg-menu", { key: 'e6b0abe44a108b5125c46816a705c5198b62267d', direction: Direction.VERTICAL, label: this.messages.label }, this.items.map(item => {
149
149
  var _a;
150
150
  return (
151
151
  // eslint-disable-next-line react/jsx-no-bind
@@ -225,7 +225,7 @@ const MgBadge = class {
225
225
  * @returns HTML Element
226
226
  */
227
227
  render() {
228
- return (h("span", { class: this.classCollection.join() }, h("span", { class: "mg-c-badge__value" }, this.value), h("span", { class: "mg-u-visually-hidden" }, this.label)));
228
+ return (h("span", { key: '570b40e6abb6c0da8b9b2b8825f862612531fe51', class: this.classCollection.join() }, h("span", { key: 'b2c9bb13d21cf985a02a8cb35d76014e4631a5e4', class: "mg-c-badge__value" }, this.value), h("span", { key: 'e8180432ca14df201d5ab94b13341795191452ce', class: "mg-u-visually-hidden" }, this.label)));
229
229
  }
230
230
  static get watchers() { return {
231
231
  "value": ["validateValue"],
@@ -389,7 +389,7 @@ const MgButton = class {
389
389
  */
390
390
  render() {
391
391
  var _a;
392
- return (h(Host, { 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 }, h("div", { class: this.classCollection.join(), id: this.identifier }, this.loading && h("mg-icon", { icon: "loader", spin: true }), h("div", { class: "mg-c-button__content" }, h("slot", null)))));
392
+ return (h(Host, { key: '2a3bfeaf58c2519d31672c75361e6f981dcbe51c', 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 }, h("div", { key: '3393c295dbee6c9655a163db475e18cd56e5b2ba', class: this.classCollection.join(), id: this.identifier }, this.loading && h("mg-icon", { icon: "loader", spin: true }), h("div", { key: '1974ebcd1f11bec41b83bea3eab516eee85c4f0d', class: "mg-c-button__content" }, h("slot", { key: '7a00d7b9ad83a0ca157d65874f9bfa1b554a0dc8' })))));
393
393
  }
394
394
  get element() { return getElement(this); }
395
395
  static get watchers() { return {
@@ -469,7 +469,7 @@ const MgCard = class {
469
469
  */
470
470
  render() {
471
471
  var _a;
472
- return (h("div", { class: this.classCollection.join() }, ((_a = this.variantStyle) === null || _a === void 0 ? void 0 : _a.startsWith('bar-')) && h("span", { class: "mg-c-card__bar" }), h("slot", null)));
472
+ return (h("div", { key: '4d2a509e9c4d834d5d70068fa2d7515d8044ba7e', class: this.classCollection.join() }, ((_a = this.variantStyle) === null || _a === void 0 ? void 0 : _a.startsWith('bar-')) && h("span", { class: "mg-c-card__bar" }), h("slot", { key: 'e3b08a0e5997533ceb4c5d24463a1e748a789683' })));
473
473
  }
474
474
  static get watchers() { return {
475
475
  "variant": ["validateVariant"],
@@ -508,7 +508,7 @@ const MgCharacterLeft = class {
508
508
  * @returns HTML Element
509
509
  */
510
510
  render() {
511
- return (h("span", { id: this.identifier, "aria-live": "polite" }, h("span", { "aria-hidden": "true" }, this.maxlength - this.characters.length, "/", this.maxlength), h("span", { class: "mg-u-visually-hidden" }, this.messages.nbCharLeft.replace('{counter}', this.maxlength - this.characters.length))));
511
+ return (h("span", { key: '6b4b475c61f5183961a263187cfad0c6609a2c6f', id: this.identifier, "aria-live": "polite" }, h("span", { key: '85fba95f7f827ee9f4ddb1fc3dd5751c04473ccc', "aria-hidden": "true" }, this.maxlength - this.characters.length, "/", this.maxlength), h("span", { key: 'ef1da0c4d3b361670718726a59ba71a4d0a119b2', class: "mg-u-visually-hidden" }, this.messages.nbCharLeft.replace('{counter}', this.maxlength - this.characters.length))));
512
512
  }
513
513
  get element() { return getElement(this); }
514
514
  static get watchers() { return {
@@ -558,7 +558,7 @@ const MgDetails = class {
558
558
  * @returns HTML Element
559
559
  */
560
560
  render() {
561
- return (h("details", { class: "mg-c-details", onToggle: this.handleToggle, open: this.expanded, ref: (el) => (this.details = el) }, h("summary", null, h("slot", { name: "summary" }), h("span", { class: "mg-c-details__toggle" }, h("mg-icon", { icon: "chevron-up", size: "small", class: { 'mg-c-details__toggle-icon': true, 'mg-c-details__toggle-icon--reverse': !this.expanded } }), h("span", { class: { 'mg-u-visually-hidden': this.hideSummary } }, this.expanded ? this.toggleOpened : this.toggleClosed))), h("div", { class: "mg-c-details__details" }, h("slot", { name: "details" }))));
561
+ return (h("details", { key: '21565155c214af9779d1a18822f53a991460176a', class: "mg-c-details", onToggle: this.handleToggle, open: this.expanded, ref: (el) => (this.details = el) }, h("summary", { key: '9206eb7628f8363fdb8f495cd482911a20bf5a2b' }, h("slot", { key: 'b802325ea921079bf640da9c8e30f19738deb43f', name: "summary" }), h("span", { key: '7a1d0e60ace5e83cd8300937e2ac6155e976ee58', class: "mg-c-details__toggle" }, h("mg-icon", { key: '1b12014f3cc8be340a4667a4fa754ad464be5dd1', icon: "chevron-up", size: "small", class: { 'mg-c-details__toggle-icon': true, 'mg-c-details__toggle-icon--reverse': !this.expanded } }), h("span", { key: 'c273ce19819bc58a3c6387c7677b45516d431f7b', class: { 'mg-u-visually-hidden': this.hideSummary } }, this.expanded ? this.toggleOpened : this.toggleClosed))), h("div", { key: 'd1e6666b6b019d0a5cededf269f3591f459f6bc1', class: "mg-c-details__details" }, h("slot", { key: '557858c76e718877ba7949b187a6b4b1e5f9c3be', name: "details" }))));
562
562
  }
563
563
  static get watchers() { return {
564
564
  "toggleClosed": ["validateTitles"],
@@ -581,7 +581,7 @@ const MgDivider = class {
581
581
  * @returns HTML Element
582
582
  */
583
583
  render() {
584
- return (h("div", { class: {
584
+ return (h("div", { key: '7250dfa7ca66ea0831292a25ea7e76c29ca36500', class: {
585
585
  'mg-c-divider': true,
586
586
  'mg-c-divider--full': this.size === 'full',
587
587
  } }));
@@ -766,7 +766,7 @@ const MgForm = class {
766
766
  * @returns HTML Element
767
767
  */
768
768
  render() {
769
- return (h("form", { class: this.classCollection.join(), id: this.identifier, name: this.name, onSubmit: this.handleFormSubmit, role: this.ariaRole }, this.requiredMessageText && h("p", { innerHTML: this.requiredMessageText }), h("slot", null), !this.readonly && !this.disabled && h("slot", { name: "actions" })));
769
+ return (h("form", { key: 'b398087ca0ce5b911130a473669540daf267c214', class: this.classCollection.join(), id: this.identifier, name: this.name, onSubmit: this.handleFormSubmit, role: this.ariaRole }, this.requiredMessageText && h("p", { innerHTML: this.requiredMessageText }), h("slot", { key: 'ee961f5fe0138af53826b8a2e415873316015497' }), !this.readonly && !this.disabled && h("slot", { name: "actions" })));
770
770
  }
771
771
  get element() { return getElement(this); }
772
772
  static get watchers() { return {
@@ -1324,13 +1324,13 @@ const MgIllustratedMessage = class {
1324
1324
  * @returns HTML Element
1325
1325
  */
1326
1326
  render() {
1327
- return (h("div", { class: {
1327
+ return (h("div", { key: '2fdba6c8f99b0db0955f4f6e85c90e6b73aeb506', class: {
1328
1328
  'mg-c-illustrated-message': true,
1329
1329
  'mg-c-illustrated-message--horizontal': this.direction === 'horizontal',
1330
- } }, h("div", { class: {
1330
+ } }, h("div", { key: 'c41ca15c897ae3f855ce0e922e1afc6f0475c014', class: {
1331
1331
  'mg-c-illustrated-message__illustration': true,
1332
1332
  'mg-c-illustrated-message__illustration--small': this.size === 'small',
1333
- } }, h("slot", { name: "illustration" })), h("div", { class: "mg-c-illustrated-message__slots" }, h("div", { class: "mg-c-illustrated-message__title" }, h("slot", { name: "title" })), h("div", { class: "mg-c-illustrated-message__details" }, h("slot", { name: "details" })))));
1333
+ } }, h("slot", { key: 'c0f9308201945fae94d13afc45596ba45efdd890', name: "illustration" })), h("div", { key: '5c020c6c0154a527485662dd47eda0ad141e2efc', class: "mg-c-illustrated-message__slots" }, h("div", { key: 'e5ff38b7a081232af9382c6bda756bdd31360f86', class: "mg-c-illustrated-message__title" }, h("slot", { key: '39b3ff01828d05780bd18f04a9971acc0b47a684', name: "title" })), h("div", { key: 'f0cc3464ff7c28ad6a26445ffeca1a0dc40d51ce', class: "mg-c-illustrated-message__details" }, h("slot", { key: '32f4165453cc3dba7b78d1ad0addc63cf35d246d', name: "details" })))));
1334
1334
  }
1335
1335
  get element() { return getElement(this); }
1336
1336
  };
@@ -1929,7 +1929,7 @@ const MgInputCheckbox = class {
1929
1929
  */
1930
1930
  render() {
1931
1931
  var _a;
1932
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: !this.readonly ? this.required : undefined, readonly: undefined, mgWidth: undefined, disabled: this.disabled, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), readonlyValue: undefined, tooltip: !this.readonly ? this.tooltip : undefined, helpText: !this.readonly ? this.helpText : undefined, errorMessage: !this.readonly ? this.errorMessage : undefined, isFieldset: true }, this.type === 'checkbox' || this.readonly ? (h(MgInputCheckboxList, { checkboxes: this.checkboxItems, inputVerticalList: this.inputVerticalList, type: this.type, readonly: this.readonly, displaySearchInput: this.displaySearchInput, messages: this.messages.input.checkbox, id: "checkboxes-list", disabled: this.disabled, name: this.name, invalid: this.invalid })) : (this.renderCheckboxMulti())));
1932
+ return (h(MgInput, { key: '30d2be938b51f423015a2fba6f70c9a424402c8f', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: !this.readonly ? this.required : undefined, readonly: undefined, mgWidth: undefined, disabled: this.disabled, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), readonlyValue: undefined, tooltip: !this.readonly ? this.tooltip : undefined, helpText: !this.readonly ? this.helpText : undefined, errorMessage: !this.readonly ? this.errorMessage : undefined, isFieldset: true }, this.type === 'checkbox' || this.readonly ? (h(MgInputCheckboxList, { checkboxes: this.checkboxItems, inputVerticalList: this.inputVerticalList, type: this.type, readonly: this.readonly, displaySearchInput: this.displaySearchInput, messages: this.messages.input.checkbox, id: "checkboxes-list", disabled: this.disabled, name: this.name, invalid: this.invalid })) : (this.renderCheckboxMulti())));
1933
1933
  }
1934
1934
  get element() { return getElement(this); }
1935
1935
  static get watchers() { return {
@@ -2041,10 +2041,10 @@ const MgInputCheckboxPaginated = class {
2041
2041
  * @returns HTML Element
2042
2042
  */
2043
2043
  render() {
2044
- const getText = (checkboxes) => (h("em", { class: "mg-c-input__input-checkbox-multi-section-header-label" }, `${this.messages[checkboxes.length > 1 ? 'titlePlurial' : 'title']} (${checkboxes.length})`));
2044
+ const getText = (checkboxes) => (h("em", { key: '28eedd949445bc6c7a5a750359af7159055657d8', class: "mg-c-input__input-checkbox-multi-section-header-label" }, `${this.messages[checkboxes.length > 1 ? 'titlePlurial' : 'title']} (${checkboxes.length})`));
2045
2045
  const [from, to] = this.getFromToIndexes();
2046
2046
  const itemsContainerId = `items-${this.sectionKind}-container`;
2047
- return (h(Host, { hidden: this.checkboxes.length < 1 }, h("div", { class: "mg-c-input__input-checkbox-multi-section-header" }, this.titleKind === SectionTitleKind.BUTTON ? (h("mg-button", { variant: "flat", onClick: this.handleToggleClick, "aria-controls": itemsContainerId, "aria-expanded": this.expanded.toString() }, h("mg-icon", { icon: this.expanded ? 'chevron-up' : 'chevron-down', size: "small" }), h("span", { class: "mg-c-input__input-checkbox-multi-text" }, getText(this.checkboxes)))) : (h("p", { class: "mg-c-input__input-checkbox-multi-title" }, getText(this.checkboxes))), ((this.sectionKind === SectionKind.SELECTED && this.expanded) || this.sectionKind === SectionKind.NOT_SELECTED) && (h("mg-tooltip", { class: "mg-c-input__input-checkbox-multi-section-header-tootlip", message: this.messages.tooltip, "data-popper-strategy": "absolute" }, h("mg-button", { variant: "link", onClick: this.massActionHandler }, this.messages.action))), this.expanded && this.getPageCount(this.checkboxes) > 1 && (h("mg-pagination", { key: "search-pagination", totalPages: this.getPageCount(this.checkboxes), currentPage: this.currentPage, "onCurrent-page-change": this.handleCurrentPageChange, hideNavigationLabels: true, hidePageCount: true, identifier: `input-checkbox-pagination-${this.sectionKind}` }))), h("div", { hidden: !this.expanded, id: itemsContainerId, class: "mg-c-input__input-checkbox-multi-section-content" }, h(MgInputCheckboxList, { checkboxes: this.getArrayRange(this.checkboxes, from, to), inputVerticalList: true, type: 'multi', displaySearchInput: true, messages: this.messages, id: `items-${this.sectionKind}`, readonly: this.readonly, disabled: this.disabled, name: this.name, invalid: this.invalid }))));
2047
+ return (h(Host, { key: 'a7ade87a72bb1cba4d0c20dde425cefc5c7fbff4', hidden: this.checkboxes.length < 1 }, h("div", { key: '38711edade3945e940ba29b44492424c3e5b7063', class: "mg-c-input__input-checkbox-multi-section-header" }, this.titleKind === SectionTitleKind.BUTTON ? (h("mg-button", { variant: "flat", onClick: this.handleToggleClick, "aria-controls": itemsContainerId, "aria-expanded": this.expanded.toString() }, h("mg-icon", { icon: this.expanded ? 'chevron-up' : 'chevron-down', size: "small" }), h("span", { class: "mg-c-input__input-checkbox-multi-text" }, getText(this.checkboxes)))) : (h("p", { class: "mg-c-input__input-checkbox-multi-title" }, getText(this.checkboxes))), ((this.sectionKind === SectionKind.SELECTED && this.expanded) || this.sectionKind === SectionKind.NOT_SELECTED) && (h("mg-tooltip", { class: "mg-c-input__input-checkbox-multi-section-header-tootlip", message: this.messages.tooltip, "data-popper-strategy": "absolute" }, h("mg-button", { variant: "link", onClick: this.massActionHandler }, this.messages.action))), this.expanded && this.getPageCount(this.checkboxes) > 1 && (h("mg-pagination", { key: "search-pagination", totalPages: this.getPageCount(this.checkboxes), currentPage: this.currentPage, "onCurrent-page-change": this.handleCurrentPageChange, hideNavigationLabels: true, hidePageCount: true, identifier: `input-checkbox-pagination-${this.sectionKind}` }))), h("div", { key: '3a514d5711da9ebb57d21e70609b7f6f2d1e621e', hidden: !this.expanded, id: itemsContainerId, class: "mg-c-input__input-checkbox-multi-section-content" }, h(MgInputCheckboxList, { key: 'd86fc1faa7ae0312b402a2fc26a1ef04c30cd410', checkboxes: this.getArrayRange(this.checkboxes, from, to), inputVerticalList: true, type: 'multi', displaySearchInput: true, messages: this.messages, id: `items-${this.sectionKind}`, readonly: this.readonly, disabled: this.disabled, name: this.name, invalid: this.invalid }))));
2048
2048
  }
2049
2049
  static get watchers() { return {
2050
2050
  "checkboxes": ["validateCheckboxes"],
@@ -2293,7 +2293,7 @@ const MgInputDate = class {
2293
2293
  * @returns HTML Element
2294
2294
  */
2295
2295
  render() {
2296
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: undefined, disabled: this.disabled, value: this.value, readonlyValue: be(this.value, this.locale), tooltip: this.tooltip, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage, isFieldset: false }, h("input", { 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, ref: (el) => {
2296
+ return (h(MgInput, { key: 'df122ee015066947069fa0d33125646ec1996c61', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: undefined, disabled: this.disabled, value: this.value, readonlyValue: be(this.value, this.locale), tooltip: this.tooltip, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage, isFieldset: false }, h("input", { key: '27f23c33b27978c0fca6dc7ee9996f6fc1163c72', 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, ref: (el) => {
2297
2297
  if (el !== null)
2298
2298
  this.input = el;
2299
2299
  } })));
@@ -2611,10 +2611,10 @@ const MgInputNumeric = class {
2611
2611
  * @returns HTML Element
2612
2612
  */
2613
2613
  render() {
2614
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: this.readonlyValue, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("input", { type: "text", class: "mg-c-input__box", value: this.displayValue(), id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
2614
+ return (h(MgInput, { key: 'ea7d502132b6ccefcf4a1ff46fda06373f0b82ae', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: this.readonlyValue, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("input", { key: 'ff9d44dfef430d97d0e9366a8014bc7cac9a34c9', type: "text", class: "mg-c-input__box", value: this.displayValue(), id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
2615
2615
  if (el !== null)
2616
2616
  this.input = el;
2617
- } }), h("slot", { name: "append-input" })));
2617
+ } }), h("slot", { key: '58e457b44ba4e81261d125afcd906225322e3c48', name: "append-input" })));
2618
2618
  }
2619
2619
  get element() { return getElement(this); }
2620
2620
  static get watchers() { return {
@@ -2779,7 +2779,7 @@ const MgInputPassword = class {
2779
2779
  * @returns HTML Element
2780
2780
  */
2781
2781
  render() {
2782
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: this.value !== undefined ? '•'.repeat(this.value.length) : undefined, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("input", { type: "password", class: "mg-c-input__box", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
2782
+ return (h(MgInput, { key: 'a08f2c0e08f397a1e4752504575d5ee91e5b8b7c', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: this.value !== undefined ? '•'.repeat(this.value.length) : undefined, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("input", { key: 'a427fd83bf6be171e30619770c83fb5662c746ad', type: "password", class: "mg-c-input__box", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
2783
2783
  if (el !== null)
2784
2784
  this.input = el;
2785
2785
  } })));
@@ -2975,7 +2975,7 @@ const MgInputRadio = class {
2975
2975
  * @returns HTML Element
2976
2976
  */
2977
2977
  render() {
2978
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, disabled: this.disabled, readonly: this.readonly, mgWidth: undefined, value: this.value, readonlyValue: this.value, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: true }, h("ul", { class: { 'mg-c-input__input-group-container': true, 'mg-c-input__input-group-container--vertical': this.inputVerticalList }, role: "list" }, this.options.map((input, index) => (h("li", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
2978
+ return (h(MgInput, { key: '91d5ef8fa79a5d3dc2a6eabf25b5de4fb2aa3f76', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, disabled: this.disabled, readonly: this.readonly, mgWidth: undefined, value: this.value, readonlyValue: this.value, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: true }, h("ul", { key: 'd257731ca06a3ebbc3d1e31117eac14adbfd389a', class: { 'mg-c-input__input-group-container': true, 'mg-c-input__input-group-container--vertical': this.inputVerticalList }, role: "list" }, this.options.map((input, index) => (h("li", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
2979
2979
  if (el !== null)
2980
2980
  this.inputs[index] = el;
2981
2981
  } }), h("label", { htmlFor: this.identifier + '_' + index }, input.title)))))));
@@ -3272,7 +3272,7 @@ const MgInputSelect = class {
3272
3272
  * @returns HTML Element
3273
3273
  */
3274
3274
  render() {
3275
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: undefined, readonlyValue: this.readonlyValue, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("select", { class: "mg-c-input__box", id: this.identifier, name: this.name, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
3275
+ return (h(MgInput, { key: '66555a93c6c993b20b050eb22248c72b77cccf43', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: undefined, readonlyValue: this.readonlyValue, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("select", { key: '5d4c2980b2949df96b0e3be85636fc463069e801', class: "mg-c-input__box", id: this.identifier, name: this.name, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
3276
3276
  if (el !== null)
3277
3277
  this.input = el;
3278
3278
  } }, (!this.placeholderHide || !this.valueExist) && ( // In case passed value does not match any option we display the placeholder
@@ -3516,14 +3516,14 @@ const MgInputText = class {
3516
3516
  * @returns HTML Element
3517
3517
  */
3518
3518
  render() {
3519
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [this.characterLeftId], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: undefined, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("div", { class: "mg-c-input__with-character-left", style: {
3519
+ return (h(MgInput, { key: 'cb20a38ce93389f724b1e97cadd12e8c70b9d1da', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [this.characterLeftId], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: undefined, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("div", { key: '87607c013e38407eeb9f5c42d25fd5164eb065ec', class: "mg-c-input__with-character-left", style: {
3520
3520
  '--mg-character-left-message-length': (this.displayCharacterLeft
3521
3521
  ? (this.maxlength - (this.value || '').length).toString().length + this.maxlength.toString().length + 1
3522
3522
  : 0).toString(),
3523
- } }, this.icon !== undefined && h("mg-icon", { icon: this.icon }), h("input", { type: this.type, class: "mg-c-input__box", value: this.value, id: this.identifier, list: this.hasDatalist() ? this.datalistId : undefined, autocomplete: this.hasDatalist() ? 'off' : undefined, name: this.name, placeholder: this.placeholder, title: this.placeholder, maxlength: this.maxlength, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), pattern: this.pattern, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
3523
+ } }, this.icon !== undefined && h("mg-icon", { icon: this.icon }), h("input", { key: 'c12cf678c274d58c84618c7b7d7d7bca4740359c', type: this.type, class: "mg-c-input__box", value: this.value, id: this.identifier, list: this.hasDatalist() ? this.datalistId : undefined, autocomplete: this.hasDatalist() ? 'off' : undefined, name: this.name, placeholder: this.placeholder, title: this.placeholder, maxlength: this.maxlength, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), pattern: this.pattern, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
3524
3524
  if (el !== null)
3525
3525
  this.input = el;
3526
- } }), this.hasDatalist() && (h("datalist", { id: this.datalistId }, this.datalistoptions.map(option => (h("option", { value: option, key: option }))))), this.displayCharacterLeft && this.maxlength > 0 && (h("mg-character-left", { identifier: this.characterLeftId, characters: this.value, maxlength: this.maxlength }))), h("slot", { name: "append-input" })));
3526
+ } }), this.hasDatalist() && (h("datalist", { id: this.datalistId }, this.datalistoptions.map(option => (h("option", { value: option, key: option }))))), this.displayCharacterLeft && this.maxlength > 0 && (h("mg-character-left", { identifier: this.characterLeftId, characters: this.value, maxlength: this.maxlength }))), h("slot", { key: 'be764e76497ea2bc31e574c264f98d26fae9accd', name: "append-input" })));
3527
3527
  }
3528
3528
  get element() { return getElement(this); }
3529
3529
  static get watchers() { return {
@@ -3739,7 +3739,7 @@ const MgInputTextarea = class {
3739
3739
  * @returns HTML Element
3740
3740
  */
3741
3741
  render() {
3742
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [this.characterLeftId], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: undefined, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("div", { class: "mg-c-input__with-character-left" }, h("textarea", { class: {
3742
+ return (h(MgInput, { key: 'c77be56541d90814c1b829182dcccfbdb4321f15', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [this.characterLeftId], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, readonly: this.readonly, mgWidth: this.mgWidth, disabled: this.disabled, value: this.value, readonlyValue: undefined, tooltip: this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("div", { key: '5380abe8e0fcf53da64108a2ea05de407ca63885', class: "mg-c-input__with-character-left" }, h("textarea", { key: '75065e3b389fd60796a7f83232b50fdae06e3b4f', class: {
3743
3743
  'mg-c-input__box': true,
3744
3744
  'mg-c-input__box--resizable': this.resizable === 'both',
3745
3745
  'mg-c-input__box--resizable-horizontal': this.resizable === 'horizontal',
@@ -3799,7 +3799,7 @@ const MgInputTitle = class {
3799
3799
  render() {
3800
3800
  const TagName = this.readonly ? 'span' : this.tagName;
3801
3801
  // \u00A0 represent a &nbsp;
3802
- return (h(TagName, { class: "mg-c-input-title", htmlFor: this.isLegend ? undefined : this.identifier }, h("slot", null), this.required && (h("span", { class: "mg-c-input-title__required" }, "\u00A0", h("span", { class: "mg-u-is-asterisk" }, "*")))));
3802
+ return (h(TagName, { key: '6d9a02cd0ebaede9bcb6aa92368c89cf0da83cd6', class: "mg-c-input-title", htmlFor: this.isLegend ? undefined : this.identifier }, h("slot", { key: 'e5b41b42d0988f21896a11a1dea864b025b2a9eb' }), this.required && (h("span", { class: "mg-c-input-title__required" }, "\u00A0", h("span", { class: "mg-u-is-asterisk" }, "*")))));
3803
3803
  }
3804
3804
  static get watchers() { return {
3805
3805
  "identifier": ["validateIdentifier"],
@@ -4004,7 +4004,7 @@ const MgInputToggle = class {
4004
4004
  * @returns HTML Element
4005
4005
  */
4006
4006
  render() {
4007
- return (h(MgInput, { identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: undefined, readonly: undefined, mgWidth: undefined, disabled: this.disabled, value: this.value, readonlyValue: undefined, tooltip: !this.readonly && this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("button", { type: "button", role: "switch", "aria-checked": this.checked.toString(), "aria-readonly": this.disabled || this.readonly, id: this.identifier, class: "mg-c-input__button-toggle", disabled: this.disabled || this.readonly, onClick: this.toggleChecked }, h("span", { "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { name: "item-1" })), h("span", { "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { name: "item-2" })))));
4007
+ return (h(MgInput, { key: '2637550cb5e98dc92cba8c362610a246e537473d', identifier: this.identifier, classCollection: this.classCollection, ariaDescribedbyIDs: [], label: this.label, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: undefined, readonly: undefined, mgWidth: undefined, disabled: this.disabled, value: this.value, readonlyValue: undefined, tooltip: !this.readonly && this.tooltip, helpText: this.helpText, errorMessage: this.errorMessage, isFieldset: false }, h("button", { key: '63e4399d445ce876c767a045c6bab8d4f20da1be', type: "button", role: "switch", "aria-checked": this.checked.toString(), "aria-readonly": this.disabled || this.readonly, id: this.identifier, class: "mg-c-input__button-toggle", disabled: this.disabled || this.readonly, onClick: this.toggleChecked }, h("span", { key: 'b38f16ddaaa4c0ce8f32a46d5ca22fe0b0656ad5', "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { key: 'dd910979d5043a56f98358b2443507440cec8a93', name: "item-1" })), h("span", { key: 'acc65197a4f30f7b65c070f9f9299e7a5e913040', "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { key: 'dee4de86838005833bfa1a613b21f065354ca2f4', name: "item-2" })))));
4008
4008
  }
4009
4009
  get element() { return getElement(this); }
4010
4010
  static get watchers() { return {
@@ -4176,7 +4176,7 @@ const MgMenu = class {
4176
4176
  * @returns HTML Element
4177
4177
  */
4178
4178
  render() {
4179
- return (h(Host, { role: "list", "aria-label": this.label }, h("slot", null)));
4179
+ return (h(Host, { key: '22c0f16663ac432526aef9d0ec1c3d9152b8ca3a', role: "list", "aria-label": this.label }, h("slot", { key: 'de77bd6471725518cf14b9a75fb513a3d65a8033' })));
4180
4180
  }
4181
4181
  get element() { return getElement(this); }
4182
4182
  static get watchers() { return {
@@ -4469,7 +4469,7 @@ const MgMenuItem = class {
4469
4469
  ['mg-c-menu-item__collapse-container']: true,
4470
4470
  ['mg-c-menu-item__collapse-container--first-level']: (this.isInMainMenu || this.isItemMore) && this.isDirection(Direction.HORIZONTAL),
4471
4471
  });
4472
- return (h(Host, { role: this.isItemMore ? 'presentation' : 'listitem' }, this.displayPopover() ? (h("mg-popover", { display: this.expanded, placement: "bottom-start", arrowHide: true, "onDisplay-change": this.handlePopoverDisplay, identifier: this.getPopoverIdentifier() }, this.renderInteractiveElement(), h("div", { class: getContainerClasses(), slot: "content" }, this.renderSlot()))) : ([
4472
+ return (h(Host, { key: 'b3932a090814940718c7f3dd0bc9a9636e2fcb88', role: this.isItemMore ? 'presentation' : 'listitem' }, this.displayPopover() ? (h("mg-popover", { display: this.expanded, placement: "bottom-start", arrowHide: true, "onDisplay-change": this.handlePopoverDisplay, identifier: this.getPopoverIdentifier() }, this.renderInteractiveElement(), h("div", { class: getContainerClasses(), slot: "content" }, this.renderSlot()))) : ([
4473
4473
  this.renderInteractiveElement(),
4474
4474
  h("div", { key: "vertical-container", class: getContainerClasses(), hidden: !this.expanded }, this.renderSlot()),
4475
4475
  ])));
@@ -4646,7 +4646,7 @@ const MgMessage = class {
4646
4646
  let role;
4647
4647
  if (!this.noAriaRole)
4648
4648
  role = this.variant === 'info' ? 'status' : 'alert';
4649
- return (h("div", { id: this.identifier, class: this.classCollection.join(), role: role }, h("mg-card", { variant: this.variant, "variant-style": "bar-left" }, h("span", { class: "mg-c-message__icon" }, h("mg-icon", { icon: this.getIcon() })), h("div", { class: "mg-c-message__content" }, h("span", { class: "mg-c-message__content-slot" }, h("slot", null)), this.hasActions && h("span", { class: "mg-c-message__content-separator" }), this.hasActions && (h("span", { class: "mg-c-message__content-actions-slot" }, h("slot", { name: "actions" })))), this.closeButton && (h("span", { class: "mg-c-message__close-button" }, h("mg-button", { identifier: this.closeButtonId, "is-icon": true, variant: "flat", label: this.messages.message.closeButton, onClick: this.handleClose }, h("mg-icon", { icon: "cross" })))))));
4649
+ return (h("div", { key: 'e322f37d30825ef3a35487c0073d88690468a3c5', id: this.identifier, class: this.classCollection.join(), role: role }, h("mg-card", { key: 'fde621ad12803042b0521f663e046fa9e8554123', variant: this.variant, "variant-style": "bar-left" }, h("span", { key: '7b58b099e831bd6c21c9d2e5227f348982164e56', class: "mg-c-message__icon" }, h("mg-icon", { key: '213105901e4bbd702464a458dab131824a70904b', icon: this.getIcon() })), h("div", { key: '0084693dfc77abb64296ce4d85e1e30b24122623', class: "mg-c-message__content" }, h("span", { key: '8b17d62709ebde902e2ca52764ed7d053cbd0c51', class: "mg-c-message__content-slot" }, h("slot", { key: '0f63025c6b86b318b60b6a32bc75af366d439536' })), this.hasActions && h("span", { class: "mg-c-message__content-separator" }), this.hasActions && (h("span", { class: "mg-c-message__content-actions-slot" }, h("slot", { name: "actions" })))), this.closeButton && (h("span", { class: "mg-c-message__close-button" }, h("mg-button", { identifier: this.closeButtonId, "is-icon": true, variant: "flat", label: this.messages.message.closeButton, onClick: this.handleClose }, h("mg-icon", { icon: "cross" })))))));
4650
4650
  }
4651
4651
  get element() { return getElement(this); }
4652
4652
  static get watchers() { return {
@@ -4819,14 +4819,14 @@ const MgModal = class {
4819
4819
  * @returns HTML Element
4820
4820
  */
4821
4821
  render() {
4822
- return (h("div", { role: this.dialogRole, id: this.identifier, class: this.classCollection.join(), tabindex: "-1", "aria-labelledby": this.titleId, "aria-modal": "true", "aria-hidden": this.hide }, h("mg-card", null, h("div", { class: "mg-c-modal__dialog" }, h("header", { class: "mg-c-modal__header" }, this.closeButton && (h("span", { class: "mg-c-modal__close-button" }, h("mg-button", { identifier: `${this.identifier}-close-button`, "is-icon": true, variant: "flat", label: this.messages.modal.closeButton, onClick: this.handleClose, ref: (el) => {
4822
+ return (h("div", { key: '0175582c259397c75a0c859db678e59318be9f64', role: this.dialogRole, id: this.identifier, class: this.classCollection.join(), tabindex: "-1", "aria-labelledby": this.titleId, "aria-modal": "true", "aria-hidden": this.hide }, h("mg-card", { key: '6ba0b633bed3c94e0931ea9123b891f3439bf5db' }, h("div", { key: '111e1557f32cbe74868254a91684d4df302b4724', class: "mg-c-modal__dialog" }, h("header", { key: '0f5c843e91f2f5d9ccffe5235c799517edd71f08', class: "mg-c-modal__header" }, this.closeButton && (h("span", { class: "mg-c-modal__close-button" }, h("mg-button", { identifier: `${this.identifier}-close-button`, "is-icon": true, variant: "flat", label: this.messages.modal.closeButton, onClick: this.handleClose, ref: (el) => {
4823
4823
  if (el !== null) {
4824
4824
  // store closeButton Element
4825
4825
  this.closeButtonElement = el;
4826
4826
  // add close button element to modalFocusableElements when it is render
4827
4827
  this.modalFocusableElements.unshift(this.closeButtonElement);
4828
4828
  }
4829
- } }, h("mg-icon", { icon: "cross" })))), h("h1", { class: "mg-c-modal__title", id: this.titleId }, this.modalTitle)), this.hasContent && (h("article", { class: "mg-c-modal__content" }, h("slot", { name: "content" }))), this.hasActions && (h("footer", { class: "mg-c-modal__footer" }, h("slot", { name: "actions" })))))));
4829
+ } }, h("mg-icon", { icon: "cross" })))), h("h1", { key: 'a53e0fbf3aa30611f1713b7a54f7fb30a6a3efe2', class: "mg-c-modal__title", id: this.titleId }, this.modalTitle)), this.hasContent && (h("article", { class: "mg-c-modal__content" }, h("slot", { name: "content" }))), this.hasActions && (h("footer", { class: "mg-c-modal__footer" }, h("slot", { name: "actions" })))))));
4830
4830
  }
4831
4831
  get element() { return getElement(this); }
4832
4832
  static get watchers() { return {
@@ -4941,10 +4941,10 @@ const MgPagination = class {
4941
4941
  * @returns HTML Element
4942
4942
  */
4943
4943
  render() {
4944
- const navigationActionButton = (disabled, action) => (h("mg-button", { identifier: `${this.identifier}-button-${action}`, label: this.messages.pagination[`${action}Page`],
4944
+ const navigationActionButton = (disabled, action) => (h("mg-button", { key: 'fae66f3fc39b3f567b3b6ae53afac3c135fdd9a6', identifier: `${this.identifier}-button-${action}`, label: this.messages.pagination[`${action}Page`],
4945
4945
  // eslint-disable-next-line react/jsx-no-bind
4946
4946
  onClick: () => this.handleGoToPage(action, disabled), disabled: disabled, variant: "flat", isIcon: this.hideNavigationLabels }, action === NavigationAction.PREVIOUS && h("mg-icon", { icon: "chevron-left" }), !this.hideNavigationLabels && this.messages.general[action], action === NavigationAction.NEXT && h("mg-icon", { icon: "chevron-right" })));
4947
- return (h(Host, { hidden: this.totalPages < 2 }, h("nav", { role: "navigation", "aria-label": this.label, id: this.identifier, class: { 'mg-c-pagination': true, 'mg-c-pagination--hide-page-count': this.hidePageCount } }, navigationActionButton(this.currentPage <= 1, NavigationAction.PREVIOUS), !this.hidePageCount && (h("mg-input-select", { identifier: `${this.identifier}-select`, items: range(1, this.totalPages).map(page => page.toString()), label: this.messages.pagination.selectPage, "label-hide": true, "on-value-change": this.handleSelect, value: this.currentPage.toString(), "placeholder-hide": true })), h("span", { class: "mg-u-visually-hidden" }, this.messages.pagination.page, " ", this.currentPage), h("span", { class: { 'mg-u-visually-hidden': this.hidePageCount } }, "/ ", this.totalPages, " ", this.totalPages > 1 ? this.messages.pagination.pages : this.messages.pagination.page), navigationActionButton(this.currentPage >= this.totalPages, NavigationAction.NEXT))));
4947
+ return (h(Host, { key: '912c267aae01f5a47c974ec022989fb419d8d5f5', hidden: this.totalPages < 2 }, h("nav", { key: 'e35ec4da6ca6b3bc873b7f4e0652c0f8f58f7e67', role: "navigation", "aria-label": this.label, id: this.identifier, class: { 'mg-c-pagination': true, 'mg-c-pagination--hide-page-count': this.hidePageCount } }, navigationActionButton(this.currentPage <= 1, NavigationAction.PREVIOUS), !this.hidePageCount && (h("mg-input-select", { identifier: `${this.identifier}-select`, items: range(1, this.totalPages).map(page => page.toString()), label: this.messages.pagination.selectPage, "label-hide": true, "on-value-change": this.handleSelect, value: this.currentPage.toString(), "placeholder-hide": true })), h("span", { key: '9ab8adf0d144ac80dda6115817bed6542a7a0b75', class: "mg-u-visually-hidden" }, this.messages.pagination.page, " ", this.currentPage), h("span", { key: 'fb0ff50457a99efd3e4663e798b92379bc4a7328', class: { 'mg-u-visually-hidden': this.hidePageCount } }, "/ ", this.totalPages, " ", this.totalPages > 1 ? this.messages.pagination.pages : this.messages.pagination.page), navigationActionButton(this.currentPage >= this.totalPages, NavigationAction.NEXT))));
4948
4948
  }
4949
4949
  get element() { return getElement(this); }
4950
4950
  static get watchers() { return {
@@ -5128,7 +5128,7 @@ const MgPanel = class {
5128
5128
  */
5129
5129
  render() {
5130
5130
  const headerId = `${this.identifier}-header`;
5131
- return (h("section", { class: this.classCollection.join(), id: this.identifier }, h("mg-card", null, h("header", { class: { 'mg-c-panel__header': true, 'mg-c-panel__header--reverse': this.titlePosition === 'right' }, id: headerId }, this.renderHeaderChildren()), h("article", { class: "mg-c-panel__content", id: `${this.identifier}-content`, "aria-labelledby": headerId, hidden: !this.expanded }, h("slot", null)))));
5131
+ return (h("section", { key: '99eacbda239db3efc037c733b4f075df90ebf640', class: this.classCollection.join(), id: this.identifier }, h("mg-card", { key: '7ac8b66fdbdefb7c95fbb9624b5355c774387590' }, h("header", { key: 'd91141917f84c9170fe4df928239d7bfcf13007f', class: { 'mg-c-panel__header': true, 'mg-c-panel__header--reverse': this.titlePosition === 'right' }, id: headerId }, this.renderHeaderChildren()), h("article", { key: 'f5b321a6ea10d27bb418fd44069de156e9b8fda2', class: "mg-c-panel__content", id: `${this.identifier}-content`, "aria-labelledby": headerId, hidden: !this.expanded }, h("slot", { key: '73fe045e630f46d950496af0aa28a88778a4f7b4' })))));
5132
5132
  }
5133
5133
  get element() { return getElement(this); }
5134
5134
  static get watchers() { return {
@@ -7133,7 +7133,7 @@ const MgPopover = class {
7133
7133
  * @returns HTML Element
7134
7134
  */
7135
7135
  render() {
7136
- return (h(Host, null, h("slot", null), h("slot", { name: "content" })));
7136
+ return (h(Host, { key: 'a3228ac886665c7c8e384bda6d18c4525111ecc9' }, h("slot", { key: '067e65b7c0d917afe2bce54787bc1501309118b4' }), h("slot", { key: 'b8c0b73a5d93558d038fa2b00c18aa390fbe4466', name: "content" })));
7137
7137
  }
7138
7138
  get element() { return getElement(this); }
7139
7139
  static get watchers() { return {
@@ -7186,7 +7186,7 @@ const MgPopoverContent = class {
7186
7186
  * @returns HTML Element
7187
7187
  */
7188
7188
  render() {
7189
- return (h(Host, null, h("mg-card", { class: this.classCollection.join() }, this.closeButton && (h("mg-button", { "is-icon": true, variant: "flat", label: this.messages.general.close, onClick: this.handleCloseButton }, h("mg-icon", { icon: "cross" }))), h("div", { class: "mg-c-popover-content__title" }, h("slot", { name: "title" })), h("slot", { name: "content" })), h("slot", { name: "arrow" })));
7189
+ return (h(Host, { key: 'fed1eed9b8f3523f811db3e79513b96b1b4087c7' }, h("mg-card", { key: '4ab3bc4772afd16ec2ba0aec416870d37da034c9', class: this.classCollection.join() }, this.closeButton && (h("mg-button", { "is-icon": true, variant: "flat", label: this.messages.general.close, onClick: this.handleCloseButton }, h("mg-icon", { icon: "cross" }))), h("div", { key: '05b96b09f510092abe5b49666eabd595f4afbcae', class: "mg-c-popover-content__title" }, h("slot", { key: 'cbefee4aa0785437bdcf19ae60eb83cca210953f', name: "title" })), h("slot", { key: 'cdcfa55e9277cff737eccc3930d9ee6e6f5d56fc', name: "content" })), h("slot", { key: '29d748fdb01335b11ae6c3ff08e45966675ca8d9', name: "arrow" })));
7190
7190
  }
7191
7191
  get element() { return getElement(this); }
7192
7192
  };
@@ -7232,7 +7232,7 @@ const MgSkipLinks = class {
7232
7232
  * @returns HTML Element
7233
7233
  */
7234
7234
  render() {
7235
- return (h("nav", { class: "mg-c-skip-links", role: "navigation", "aria-label": this.messages.skipLinks.navLabel }, h("ul", { class: "mg-c-skip-links__list", role: "list" }, this.links.map(link => (h("li", { key: link.href }, h("a", { class: "mg-c-skip-links__link", href: link.href, onClick: this.handleLinkCLick }, link.label)))))));
7235
+ return (h("nav", { key: '07531692764bd78b31166f7a1ed28ae2c51a5519', class: "mg-c-skip-links", role: "navigation", "aria-label": this.messages.skipLinks.navLabel }, h("ul", { key: '2faca0734ba02eaed7c7c2e22510d5e00cbe3e42', class: "mg-c-skip-links__list", role: "list" }, this.links.map(link => (h("li", { key: link.href }, h("a", { class: "mg-c-skip-links__link", href: link.href, onClick: this.handleLinkCLick }, link.label)))))));
7236
7236
  }
7237
7237
  get element() { return getElement(this); }
7238
7238
  static get watchers() { return {
@@ -7463,7 +7463,7 @@ const MgTabs = class {
7463
7463
  * @returns HTML Element
7464
7464
  */
7465
7465
  render() {
7466
- return (h("div", { class: this.classCollection.join() }, h("header", { role: "tablist", "aria-label": this.label, class: "mg-c-tabs__header" }, this.tabs.map((tab, index) => (h("button", { key: tab.label, role: "tab", id: this.getElementId(this.identifier, index), class: {
7466
+ return (h("div", { key: 'a48c7591210f5d2a4e4ba9f56ea3b72797fe3c92', class: this.classCollection.join() }, h("header", { key: '74f35071efd4edaa25c9d92faa45e89bd89a1c27', role: "tablist", "aria-label": this.label, class: "mg-c-tabs__header" }, this.tabs.map((tab, index) => (h("button", { key: tab.label, role: "tab", id: this.getElementId(this.identifier, index), class: {
7467
7467
  [`${this.buttonTabBaseClass}`]: true,
7468
7468
  [`${this.buttonTabBaseClass}--horizontal`]: true,
7469
7469
  [`${this.getNavigationButtonClass(Status.ACTIVE)}`]: this.tabHasStatus(tab, Status.ACTIVE),
@@ -7558,7 +7558,7 @@ const MgTag = class {
7558
7558
  * @returns HTML Element
7559
7559
  */
7560
7560
  render() {
7561
- return (h("span", { class: this.classCollection.join() }, h("slot", null)));
7561
+ return (h("span", { key: '15dd499acdc87ca43c277bb7561646fa9c44f4c0', class: this.classCollection.join() }, h("slot", { key: '3237e437f07cede09a85997be8a73e98f26d78b2' })));
7562
7562
  }
7563
7563
  get element() { return getElement(this); }
7564
7564
  static get watchers() { return {
@@ -7873,7 +7873,7 @@ const MgTooltip = class {
7873
7873
  * @returns HTML Element
7874
7874
  */
7875
7875
  render() {
7876
- return (h(Host, null, h("slot", null), h("slot", { name: "content" })));
7876
+ return (h(Host, { key: '39e72edae07252421d527bfbeede585a27d2663c' }, h("slot", { key: '0402c8ea5aa2dea27e66a621e3d905356786dd27' }), h("slot", { key: 'e194462c062b565a6cb0e6330fa841a29746445d', name: "content" })));
7877
7877
  }
7878
7878
  get element() { return getElement(this); }
7879
7879
  static get watchers() { return {
@@ -7901,7 +7901,7 @@ const MgTooltipContent = class {
7901
7901
  * @returns HTML Element
7902
7902
  */
7903
7903
  render() {
7904
- return (h(Host, { role: "tooltip" }, h("span", { innerHTML: this.message, class: "mg-tooltip-content__message" }), h("slot", { name: "arrow" })));
7904
+ return (h(Host, { key: 'a26eb86dd6c3461563b2c532b1330f8897eb2da6', role: "tooltip" }, h("span", { key: 'eff274511b40c5e60429ebc387e32717854f7ffc', innerHTML: this.message, class: "mg-tooltip-content__message" }), h("slot", { key: '3b26eabf4471f34ae3997faa81e667341d26bee5', name: "arrow" })));
7905
7905
  }
7906
7906
  };
7907
7907
  MgTooltipContent.style = MgTooltipContentStyle0;