@mgdis/mg-components 6.25.0 → 6.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mg-action-more_36.cjs.entry.js +77 -12
- package/dist/cjs/mg-components.cjs.js +1 -1
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +9 -11
- package/dist/collection/assets/jodit/jodit.css +5821 -0
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +39 -4
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.css +50 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +3 -3
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.js +4 -0
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +51 -2
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +4 -1
- package/dist/components/mg-button2.js +1 -1
- package/dist/components/mg-card2.js +1 -1
- package/dist/components/mg-illustrated-message.js +1 -1
- package/dist/components/mg-input-password.js +1 -1
- package/dist/components/mg-input-rich-text-editor.js +44 -44
- package/dist/components/mg-input2.js +1 -1
- package/dist/components/mg-message2.js +1 -1
- package/dist/components/mg-popover2.js +1 -1
- package/dist/custom-elements.json +19 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mg-action-more_36.entry.js +77 -12
- package/dist/esm/mg-components.js +1 -1
- package/dist/esm/mg-input-rich-text-editor.entry.js +9 -11
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/{p-ec4bd337.entry.js → p-206505b5.entry.js} +51 -51
- package/dist/mg-components/p-bf2252c9.entry.js +1 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +2 -1
- package/dist/types/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.d.ts +8 -0
- package/dist/types/components/molecules/mg-illustrated-message/mg-illustrated-message.d.ts +9 -1
- package/dist/types/components.d.ts +13 -2
- package/ide/intellij/web-types.json +12 -2
- package/ide/vscode/html-custom-data.json +26 -1
- package/package.json +14 -14
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +0 -212
- package/dist/mg-components/p-4693077a.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{transformTag as t,proxyCustomElement as i,HTMLElement as e,h as s,Host as n}from"@stencil/core/internal/client";import{i as a,t as o,a as r}from"./index2.js";import{n as h}from"./index3.js";import{l,t as m,a as p,c as g,b as c,d as u}from"./mg-input.conf.js";import{d}from"./mg-icon2.js";import{d as b}from"./mg-input-title2.js";import{d as _}from"./mg-tooltip2.js";import{d as f}from"./mg-tooltip-content2.js";const w=i(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.slotLabel="label",this.slotError="error",this.slotHelpText="help-text",this.blockLevelContentRegExp=/<(address|article|aside|blockquote|details|dialog|div|dl|fieldset|figure|figcaption|footer|form|h[1-6]|header|hr|main|nav|ol|p|pre|section|table|ul)[\s/>]/i,this.classInput="mg-c-input",this.classHasError="mg-c-input--has-error",this.classLabelOnTop="mg-c-input--label-on-top",this.classHasHeading="mg-c-input--has-heading",this.classLabelBorderDisplay="mg-c-input--label-border-display",this.classInputsOnBottom="mg-c-input--inputs-on-bottom",this.labelOnTop=!1,this.labelHide=!1,this.labelBorderDisplay=!1,this.tooltipPosition="input",this.required=!1,this.inputsOnBottom=!1,this.ariaDescribedbyIDs=[],this.isFieldset=!1,this.isReadonly=!1,this.isDisabled=!1,this.isVerticalList=!1,this.updateElementAriaDescribedby=(t,i)=>{i.size>0?t.setAttribute("aria-describedby",Array.from(i).join(" ")):t.removeAttribute("aria-describedby")},this.renderTooltip=()=>s("mg-tooltip",{identifier:`${this.identifier}-tooltip`,message:this.tooltip},s("mg-icon",{icon:"info-circle-outline"})),this.inputContainerElements=()=>{const t=[this.helptextMessageSlotElement&&s("div",{class:"mg-c-input__help-text"},s("slot",{name:this.slotHelpText})),!this.isDisabled&&this.errorMessage&&s("div",{class:"mg-c-input__error","aria-live":"assertive"},s("slot",{name:this.slotError}))],i=s("div",{class:"mg-c-input__input"},s("slot",null),this.tooltip&&!this.labelOnTop&&("input"===this.tooltipPosition||this.labelHide)&&this.renderTooltip());return this.inputsOnBottom?[...t,i]:[i,...t]}}watchIdentifier(t){if(!a(t))throw new Error(`<mg-input> prop "identifier" is required and must be a string. Passed value: ${o(t)}.`);r(t)?(this.helpTextId=`${this.identifier}-help-text`,this.helpTextErrorId=`${this.identifier}-error`):console.error(`<mg-input> prop "identifier" value is invalid. Passed value: ${o(t)}.`)}watchLabelOnTop(t){t?this.element.classList.add(this.classLabelOnTop):this.element.classList.remove(this.classLabelOnTop)}watchLabelConfig(){if(this.labelHide&&this.labelOnTop)throw new Error('<mg-input> prop "labelOnTop" must not be paired with the prop "labelHide".')}watchlabelHeading(t){if(this.isFieldset&&this.labelOnTop&&l.includes(t))this.element.classList.add(this.classHasHeading);else{if(!this.isFieldset&&void 0!==t||"string"==typeof t)throw new Error(`<mg-input> prop "labelHeading" must be used with a fieldset and be one of: ${l.join(", ")}. Passed value: ${o(t)}.`);this.labelHeading=void 0,this.element.classList.remove(this.classHasHeading)}}watchLabelBorderDisplay(t){this.isFieldset&&this.labelOnTop&&t?this.element.classList.add(this.classLabelBorderDisplay):this.element.classList.remove(this.classLabelBorderDisplay)}watchTooltipPosition(t){if(!m.includes(t))throw new Error(`<mg-input> prop "tooltipPosition" must be one of: ${m.join(", ")}. Passed value: ${o(t)}.`)}watchErrorMessage(t){var i;void 0!==t?(this.element.classList.add(this.classHasError),this.renderErrorMessage()):(this.element.classList.remove(this.classHasError),null===(i=this.errorMessageSlotElement)||void 0===i||i.remove(),this.errorMessageSlotElement=void 0)}watchHelpText(t){var i;a(t)&&!this.isReadonly?this.renderHelpText():(null===(i=this.helptextMessageSlotElement)||void 0===i||i.remove(),this.helptextMessageSlotElement=void 0)}watchInputsOnBottom(t){t?this.element.classList.add(this.classInputsOnBottom):this.element.classList.remove(this.classInputsOnBottom)}watchAriaDescribedbyIDs(){if(this.isReadonly)return;if("string"==typeof this.ariaDescribedbyIDs)return void(this.ariaDescribedbyIDs=this.ariaDescribedbyIDs.split(" "));if(!Array.isArray(this.ariaDescribedbyIDs)||!this.ariaDescribedbyIDs.every((t=>"string"==typeof t)))return void(this.ariaDescribedbyIDs=[]);const t=new Set(this.ariaDescribedbyIDs);a(this.helpText)&&(this.renderHelpText(),t.has(this.helpTextId)||t.add(this.helpTextId)),a(this.errorMessage)&&(this.renderErrorMessage(),t.has(this.helpTextErrorId)||t.add(this.helpTextErrorId)),this.element.querySelectorAll('input,select,textarea,[role="switch"]').forEach((i=>{this.updateElementAriaDescribedby(i,t)})),setTimeout((()=>{const i=this.element.querySelector("legend");null!==i&&this.updateElementAriaDescribedby(i,t)}))}watchClass(){this.element.classList.contains(this.classInput)||this.element.classList.add(this.classInput),this.isFieldset=this.element.classList.contains(p),this.isReadonly=this.element.classList.contains(g),this.isDisabled=this.element.classList.contains(c),this.isVerticalList=this.element.classList.contains(u)}watchLabel(){if(!a(this.label))throw new Error(`<mg-input> prop "label" is required and must be a string. Passed value: ${o(this.label)}.`);this.watchAriaDescribedbyIDs(),this.renderLabel()}renderLabel(){let t=this.element.querySelector(`[slot=${this.slotLabel}]`);if(null==t||t.remove(),t=document.createElement("mg-input-title"),t.setAttribute("slot",this.slotLabel),t.setAttribute("identifier",this.identifier),t.readonly=this.isReadonly,t.required=this.required&&!this.isDisabled||!1,t.isLegend=this.isFieldset,l.includes(this.labelHeading)){let i=this.element.shadowRoot.querySelector(this.labelHeading);null===i&&(i=document.createElement(this.labelHeading),i.classList.add("mg-c-input-title__text"),t.appendChild(i)),i.textContent=this.label}else t.textContent=this.label;this.element.appendChild(t),this.watchAriaDescribedbyIDs()}getSlotMessageTagName(t){return this.blockLevelContentRegExp.test(t)?"div":"p"}getSlotMessageElement(t,i){let e=this.element.querySelector(`[slot=${t}]`);return null!==e&&e.tagName.toLowerCase()!==i&&(e.remove(),e=null),null===e&&(e=document.createElement(i),e.setAttribute("slot",t),this.element.appendChild(e)),e}renderErrorMessage(){this.errorMessageSlotElement=this.getSlotMessageElement(this.slotError,this.getSlotMessageTagName(this.errorMessage)),this.errorMessageSlotElement.setAttribute("id",this.helpTextErrorId),this.errorMessageSlotElement.innerHTML=this.errorMessage}renderHelpText(){this.helptextMessageSlotElement=this.getSlotMessageElement(this.slotHelpText,this.getSlotMessageTagName(this.helpText)),this.helptextMessageSlotElement.setAttribute("id",this.helpTextId),this.helptextMessageSlotElement.innerHTML=this.helpText}componentWillLoad(){h(this),this.watchIdentifier(this.identifier),this.watchLabel(),this.watchClass(),this.watchLabelOnTop(this.labelOnTop),this.watchLabelConfig(),this.watchTooltipPosition(this.tooltipPosition),this.watchHelpText(this.helpText),this.watchErrorMessage(this.errorMessage),this.watchInputsOnBottom(this.inputsOnBottom),this.watchlabelHeading(this.labelHeading),this.watchLabelBorderDisplay(this.labelBorderDisplay)}componentDidLoad(){if(this.watchAriaDescribedbyIDs(),!this.isReadonly&&!this.isFieldset&&null===this.element.querySelector(`#${this.identifier}`))throw new Error(`<mg-input> "identifier" prop has no target for id: ${this.identifier}. Add an id to the targeted input.`)}render(){const t=this.isFieldset&&!this.isReadonly;return s(n,{key:"e5803717999bac5e4a08910008176baeb426f634",class:this.element.classList.toString(),role:t?"group":void 0,"aria-labelledby":t?`${this.identifier}-title`:void 0},s("div",{key:"32b04b05e8a4352536965fcd792f3c206dad9270",class:{"mg-c-input__title":!0,"mg-u-visually-hidden":this.labelHide}},s("slot",{key:"2bb360ff8b4a86facb0b7f97fdf7dbbb49b5f6c0",name:this.slotLabel}),this.tooltip&&("label"===this.tooltipPosition||this.labelOnTop)&&!this.labelHide&&this.renderTooltip()),s("div",{key:"0c6751757d182029e1ac6ea4f8a4fcc7aeffb85e",class:"mg-c-input__input-container"},this.inputContainerElements()))}get element(){return this}static get watchers(){return{identifier:[{watchIdentifier:0},{watchAriaDescribedbyIDs:0}],labelOnTop:[{watchLabelOnTop:0},{watchLabelConfig:0}],labelHide:[{watchLabelConfig:0}],labelHeading:[{watchlabelHeading:0}],labelBorderDisplay:[{watchLabelBorderDisplay:0}],tooltipPosition:[{watchTooltipPosition:0}],errorMessage:[{watchErrorMessage:0},{watchAriaDescribedbyIDs:0}],helpText:[{watchHelpText:0},{watchAriaDescribedbyIDs:0}],inputsOnBottom:[{watchInputsOnBottom:0}],ariaDescribedbyIDs:[{watchAriaDescribedbyIDs:0}],class:[{watchClass:0},{watchLabel:0}],label:[{watchLabel:0}],required:[{watchLabel:0}],isReadonly:[{watchLabel:0}],isFieldset:[{watchLabel:0}]}}static get style(){return".mg-u-visually-hidden{position:absolute !important;overflow:hidden !important;width:.1rem !important;height:.1rem !important;padding:0 !important;border:0 !important;margin:-0.1rem !important;clip-path:inset(50%) !important;white-space:nowrap !important}.mg-u-visually-hidden *{overflow:hidden !important}*:focus:not(:focus-visible){outline:none}@media (prefers-reduced-motion){*{animation:none !important;transition:none !important}}:host{display:block}.mg-c-input__input mg-icon,.mg-c-input__error mg-icon{display:flex}.mg-c-input{display:flex;min-height:var(--mg-b-size-min-height);align-items:flex-start}.mg-c-input__input-container{width:100%;min-height:var(--mg-b-size-min-height)}.mg-c-input__input-container mg-tooltip{display:inline-flex;width:var(--mg-b-size-16);height:var(--mg-b-size-16);margin-left:var(--mg-b-size-8)}@media print{.mg-c-input__input-container mg-tooltip{display:none}}.mg-c-input__input{display:flex;min-height:var(--mg-b-size-min-height);align-items:center;justify-content:start}.mg-c-input__input mg-tooltip{align-self:baseline;margin-top:calc((var(--mg-b-size-min-height) - var(--mg-b-size-16))/2)}.mg-c-input__input ::slotted(.mg-c-input__button-toggle:disabled){opacity:var(--mg-b-opacity-element-disabled)}.mg-c-input__title{display:flex;width:var(--mg-c-input-title-width, auto);flex-shrink:0;align-items:baseline;justify-content:flex-end;margin-top:calc((var(--mg-b-size-min-height) - var(--mg-b-font-size)*var(--mg-b-line-height))/2);margin-right:var(--mg-c-input-title-horizontal-space, var(--mg-b-size-8));text-align:right}.mg-c-input__title slot[name=label]+mg-tooltip{margin-left:var(--mg-b-size-4)}.mg-c-input__title mg-icon{display:inline-flex;vertical-align:text-bottom}.mg-c-input__error{display:inline-block;padding:var(--mg-b-size-4) var(--mg-b-size-8);border-radius:var(--mg-b-size-radius);background:var(--mg-c-input-error-color-background);color:var(--mg-b-color-danger)}.mg-c-input__error ::slotted(*),.mg-c-input__help-text ::slotted(*){margin:0;font-size:var(--mg-b-font-size-small);text-align:start}:host .mg-c-input__input+.mg-c-input__error,:host .mg-c-input__input+.mg-c-input__help-text{margin-top:var(--mg-b-size-4)}:host(.mg-c-input.mg-c-input--readonly) .mg-c-input__input mg-tooltip{margin-top:calc((var(--mg-b-size-min-height) - var(--mg-b-font-size)*var(--mg-b-line-height))/2)}:host(.mg-c-input){display:flex;margin-bottom:var(--mg-c-input-margin-bottom, 0)}:host(.mg-c-input.mg-c-input--checkbox) .mg-c-input__input,:host(.mg-c-input.mg-c-input--toggle) .mg-c-input__input,:host(.mg-c-input.mg-c-input--radio) .mg-c-input__input{min-height:unset;align-items:flex-start}:host(.mg-c-input.mg-c-input--checkbox,.mg-c-input.mg-c-input--radio) .mg-c-input__input{min-height:unset}:host(.mg-c-input.mg-c-input--fieldset:not(.mg-c-input--checkbox-multi,.mg-c-input--readonly)) .mg-c-input__input-container mg-tooltip{margin-left:var(--mg-b-size-32)}:host(.mg-c-input.mg-c-input--fieldset) ::slotted(.mg-c-input__input-group){min-width:0;flex-grow:1}:host(.mg-c-input.mg-c-input--toggle) .mg-c-input__input-container{min-width:0;flex:1}:host(.mg-c-input.mg-c-input--label-on-top){flex-direction:column}:host(.mg-c-input.mg-c-input--label-on-top) .mg-c-input__title{width:100%;flex:0;justify-content:flex-start;margin-top:0;margin-right:0;margin-bottom:var(--mg-b-size-4);text-align:left}:host(.mg-c-input.mg-c-input--label-on-top) .mg-c-input__title ::slotted(mg-input-title){flex-shrink:1}:host(.mg-c-input.mg-c-input--inputs-on-bottom) .mg-c-input__help-text{margin-top:var(--mg-b-size-4);margin-bottom:var(--mg-b-size-12)}:host(.mg-c-input.mg-c-input--inputs-on-bottom) .mg-c-input__error{margin-bottom:var(--mg-b-size-20)}:host(.mg-c-input.mg-c-input--inputs-on-bottom.mg-c-input--fieldset){--mg-c-input-title-width:var(--mg-c-form-inputs-title-width, calc(28 * var(--mg-b-size-8)));--mg-c-input-title-horizontal-space:var(--mg-b-size-32)}:host(.mg-c-input.mg-c-input--inputs-on-bottom.mg-c-input--fieldset) ::slotted(*){--mg-c-input-margin-bottom:var(--mg-b-size-16)}:host(.mg-c-input.mg-c-input--label-border-display) .mg-c-input__title{border-bottom:var(--mg-b-size-border) solid var(--mg-c-divider-color-background)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__title{margin-bottom:0}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input-title__text{margin-top:var(--mg-b-size-8);margin-bottom:var(--mg-b-size-8)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__help-text,:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__error{margin-top:0;margin-bottom:var(--mg-b-size-4)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__help-text+.mg-c-input__input,:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__error+.mg-c-input__input{margin-top:var(--mg-b-size-12)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__help-text+.mg-c-input__error{margin-top:var(--mg-b-size-4)}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__title{margin-bottom:var(--mg-b-size-16)}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__help-text,:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__error{margin-bottom:0}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__help-text+.mg-c-input__input,:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__error+.mg-c-input__input{margin-top:var(--mg-b-size-16)}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__help-text+.mg-c-input__error{margin-top:var(--mg-b-size-8)}@media screen and (max-width: 767px){:host(.mg-c-input){flex-direction:column}:host(.mg-c-input) .mg-c-input__title{width:100%;flex:0;justify-content:flex-start;margin-top:0;margin-right:0;margin-bottom:var(--mg-b-size-4);text-align:left}:host(.mg-c-input) .mg-c-input__title ::slotted(mg-input-title){flex-shrink:1}}"}},[257,"mg-input",{identifier:[1],label:[1],labelOnTop:[4,"label-on-top"],labelHide:[4,"label-hide"],labelHeading:[1025,"label-heading"],labelBorderDisplay:[4,"label-border-display"],tooltip:[1],tooltipPosition:[1,"tooltip-position"],required:[4],errorMessage:[1,"error-message"],helpText:[1,"help-text"],inputsOnBottom:[4,"inputs-on-bottom"],ariaDescribedbyIDs:[1025,"aria-describedby-i-ds"],isFieldset:[32],isReadonly:[32],isDisabled:[32],isVerticalList:[32]},void 0,{identifier:[{watchIdentifier:0},{watchAriaDescribedbyIDs:0}],labelOnTop:[{watchLabelOnTop:0},{watchLabelConfig:0}],labelHide:[{watchLabelConfig:0}],labelHeading:[{watchlabelHeading:0}],labelBorderDisplay:[{watchLabelBorderDisplay:0}],tooltipPosition:[{watchTooltipPosition:0}],errorMessage:[{watchErrorMessage:0},{watchAriaDescribedbyIDs:0}],helpText:[{watchHelpText:0},{watchAriaDescribedbyIDs:0}],inputsOnBottom:[{watchInputsOnBottom:0}],ariaDescribedbyIDs:[{watchAriaDescribedbyIDs:0}],class:[{watchClass:0},{watchLabel:0}],label:[{watchLabel:0}],required:[{watchLabel:0}],isReadonly:[{watchLabel:0}],isFieldset:[{watchLabel:0}]}]);function v(){"undefined"!=typeof customElements&&["mg-input","mg-icon","mg-input-title","mg-tooltip","mg-tooltip-content"].forEach((i=>{switch(i){case"mg-input":customElements.get(t(i))||customElements.define(t(i),w);break;case"mg-icon":customElements.get(t(i))||d();break;case"mg-input-title":customElements.get(t(i))||b();break;case"mg-tooltip":customElements.get(t(i))||_();break;case"mg-tooltip-content":customElements.get(t(i))||f()}}))}v();export{w as M,v as d}
|
|
1
|
+
import{transformTag as t,proxyCustomElement as i,HTMLElement as e,h as s,Host as n}from"@stencil/core/internal/client";import{i as a,t as o,a as r}from"./index2.js";import{n as h}from"./index3.js";import{l,t as m,a as g,c as p,b as c,d as u}from"./mg-input.conf.js";import{d}from"./mg-icon2.js";import{d as b}from"./mg-input-title2.js";import{d as _}from"./mg-tooltip2.js";import{d as f}from"./mg-tooltip-content2.js";const w=i(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.slotLabel="label",this.slotError="error",this.slotHelpText="help-text",this.blockLevelTags=new Set(["address","article","aside","blockquote","details","dialog","div","dl","fieldset","figure","figcaption","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"]),this.openingTagRegExp=/<([a-z1-6]+)[\s/>]/gi,this.classInput="mg-c-input",this.classHasError="mg-c-input--has-error",this.classLabelOnTop="mg-c-input--label-on-top",this.classHasHeading="mg-c-input--has-heading",this.classLabelBorderDisplay="mg-c-input--label-border-display",this.classInputsOnBottom="mg-c-input--inputs-on-bottom",this.labelOnTop=!1,this.labelHide=!1,this.labelBorderDisplay=!1,this.tooltipPosition="input",this.required=!1,this.inputsOnBottom=!1,this.ariaDescribedbyIDs=[],this.isFieldset=!1,this.isReadonly=!1,this.isDisabled=!1,this.isVerticalList=!1,this.updateElementAriaDescribedby=(t,i)=>{i.size>0?t.setAttribute("aria-describedby",Array.from(i).join(" ")):t.removeAttribute("aria-describedby")},this.renderTooltip=()=>s("mg-tooltip",{identifier:`${this.identifier}-tooltip`,message:this.tooltip},s("mg-icon",{icon:"info-circle-outline"})),this.inputContainerElements=()=>{const t=[this.helptextMessageSlotElement&&s("div",{class:"mg-c-input__help-text"},s("slot",{name:this.slotHelpText})),!this.isDisabled&&this.errorMessage&&s("div",{class:"mg-c-input__error","aria-live":"assertive"},s("slot",{name:this.slotError}))],i=s("div",{class:"mg-c-input__input"},s("slot",null),this.tooltip&&!this.labelOnTop&&("input"===this.tooltipPosition||this.labelHide)&&this.renderTooltip());return this.inputsOnBottom?[...t,i]:[i,...t]}}watchIdentifier(t){if(!a(t))throw new Error(`<mg-input> prop "identifier" is required and must be a string. Passed value: ${o(t)}.`);r(t)?(this.helpTextId=`${this.identifier}-help-text`,this.helpTextErrorId=`${this.identifier}-error`):console.error(`<mg-input> prop "identifier" value is invalid. Passed value: ${o(t)}.`)}watchLabelOnTop(t){t?this.element.classList.add(this.classLabelOnTop):this.element.classList.remove(this.classLabelOnTop)}watchLabelConfig(){if(this.labelHide&&this.labelOnTop)throw new Error('<mg-input> prop "labelOnTop" must not be paired with the prop "labelHide".')}watchlabelHeading(t){if(this.isFieldset&&this.labelOnTop&&l.includes(t))this.element.classList.add(this.classHasHeading);else{if(!this.isFieldset&&void 0!==t||"string"==typeof t)throw new Error(`<mg-input> prop "labelHeading" must be used with a fieldset and be one of: ${l.join(", ")}. Passed value: ${o(t)}.`);this.labelHeading=void 0,this.element.classList.remove(this.classHasHeading)}}watchLabelBorderDisplay(t){this.isFieldset&&this.labelOnTop&&t?this.element.classList.add(this.classLabelBorderDisplay):this.element.classList.remove(this.classLabelBorderDisplay)}watchTooltipPosition(t){if(!m.includes(t))throw new Error(`<mg-input> prop "tooltipPosition" must be one of: ${m.join(", ")}. Passed value: ${o(t)}.`)}watchErrorMessage(t){var i;void 0!==t?(this.element.classList.add(this.classHasError),this.renderErrorMessage()):(this.element.classList.remove(this.classHasError),null===(i=this.errorMessageSlotElement)||void 0===i||i.remove(),this.errorMessageSlotElement=void 0)}watchHelpText(t){var i;a(t)&&!this.isReadonly?this.renderHelpText():(null===(i=this.helptextMessageSlotElement)||void 0===i||i.remove(),this.helptextMessageSlotElement=void 0)}watchInputsOnBottom(t){t?this.element.classList.add(this.classInputsOnBottom):this.element.classList.remove(this.classInputsOnBottom)}watchAriaDescribedbyIDs(){if(this.isReadonly)return;if("string"==typeof this.ariaDescribedbyIDs)return void(this.ariaDescribedbyIDs=this.ariaDescribedbyIDs.split(" "));if(!Array.isArray(this.ariaDescribedbyIDs)||!this.ariaDescribedbyIDs.every((t=>"string"==typeof t)))return void(this.ariaDescribedbyIDs=[]);const t=new Set(this.ariaDescribedbyIDs);a(this.helpText)&&(this.renderHelpText(),t.has(this.helpTextId)||t.add(this.helpTextId)),a(this.errorMessage)&&(this.renderErrorMessage(),t.has(this.helpTextErrorId)||t.add(this.helpTextErrorId)),this.element.querySelectorAll('input,select,textarea,[role="switch"]').forEach((i=>{this.updateElementAriaDescribedby(i,t)})),setTimeout((()=>{const i=this.element.querySelector("legend");null!==i&&this.updateElementAriaDescribedby(i,t)}))}watchClass(){this.element.classList.contains(this.classInput)||this.element.classList.add(this.classInput),this.isFieldset=this.element.classList.contains(g),this.isReadonly=this.element.classList.contains(p),this.isDisabled=this.element.classList.contains(c),this.isVerticalList=this.element.classList.contains(u)}watchLabel(){if(!a(this.label))throw new Error(`<mg-input> prop "label" is required and must be a string. Passed value: ${o(this.label)}.`);this.watchAriaDescribedbyIDs(),this.renderLabel()}renderLabel(){let t=this.element.querySelector(`[slot=${this.slotLabel}]`);if(null==t||t.remove(),t=document.createElement("mg-input-title"),t.setAttribute("slot",this.slotLabel),t.setAttribute("identifier",this.identifier),t.readonly=this.isReadonly,t.required=this.required&&!this.isDisabled||!1,t.isLegend=this.isFieldset,l.includes(this.labelHeading)){let i=this.element.shadowRoot.querySelector(this.labelHeading);null===i&&(i=document.createElement(this.labelHeading),i.classList.add("mg-c-input-title__text"),t.appendChild(i)),i.textContent=this.label}else t.textContent=this.label;this.element.appendChild(t),this.watchAriaDescribedbyIDs()}getSlotMessageTagName(t){for(const[,i]of t.matchAll(this.openingTagRegExp))if(this.blockLevelTags.has(i.toLowerCase()))return"div";return"p"}getSlotMessageElement(t,i){let e=this.element.querySelector(`[slot=${t}]`);return null!==e&&e.tagName.toLowerCase()!==i&&(e.remove(),e=null),null===e&&(e=document.createElement(i),e.setAttribute("slot",t),this.element.appendChild(e)),e}renderErrorMessage(){this.errorMessageSlotElement=this.getSlotMessageElement(this.slotError,this.getSlotMessageTagName(this.errorMessage)),this.errorMessageSlotElement.setAttribute("id",this.helpTextErrorId),this.errorMessageSlotElement.innerHTML=this.errorMessage}renderHelpText(){this.helptextMessageSlotElement=this.getSlotMessageElement(this.slotHelpText,this.getSlotMessageTagName(this.helpText)),this.helptextMessageSlotElement.setAttribute("id",this.helpTextId),this.helptextMessageSlotElement.innerHTML=this.helpText}componentWillLoad(){h(this),this.watchIdentifier(this.identifier),this.watchLabel(),this.watchClass(),this.watchLabelOnTop(this.labelOnTop),this.watchLabelConfig(),this.watchTooltipPosition(this.tooltipPosition),this.watchHelpText(this.helpText),this.watchErrorMessage(this.errorMessage),this.watchInputsOnBottom(this.inputsOnBottom),this.watchlabelHeading(this.labelHeading),this.watchLabelBorderDisplay(this.labelBorderDisplay)}componentDidLoad(){if(this.watchAriaDescribedbyIDs(),!this.isReadonly&&!this.isFieldset&&null===this.element.querySelector(`#${this.identifier}`))throw new Error(`<mg-input> "identifier" prop has no target for id: ${this.identifier}. Add an id to the targeted input.`)}render(){const t=this.isFieldset&&!this.isReadonly;return s(n,{key:"5a321d04d50aa63f86237a1dd72d2ac508b8d4cf",class:this.element.classList.toString(),role:t?"group":void 0,"aria-labelledby":t?`${this.identifier}-title`:void 0},s("div",{key:"5d247500c19370d6ee1de79e14ef0c016fe38f7a",class:{"mg-c-input__title":!0,"mg-u-visually-hidden":this.labelHide}},s("slot",{key:"cf56e42a0b56ab855a1b6089fbbd573ef5676b3d",name:this.slotLabel}),this.tooltip&&("label"===this.tooltipPosition||this.labelOnTop)&&!this.labelHide&&this.renderTooltip()),s("div",{key:"dfc9112bb933c1c536bdb4e9ef462e0f921a0b82",class:"mg-c-input__input-container"},this.inputContainerElements()))}get element(){return this}static get watchers(){return{identifier:[{watchIdentifier:0},{watchAriaDescribedbyIDs:0}],labelOnTop:[{watchLabelOnTop:0},{watchLabelConfig:0}],labelHide:[{watchLabelConfig:0}],labelHeading:[{watchlabelHeading:0}],labelBorderDisplay:[{watchLabelBorderDisplay:0}],tooltipPosition:[{watchTooltipPosition:0}],errorMessage:[{watchErrorMessage:0},{watchAriaDescribedbyIDs:0}],helpText:[{watchHelpText:0},{watchAriaDescribedbyIDs:0}],inputsOnBottom:[{watchInputsOnBottom:0}],ariaDescribedbyIDs:[{watchAriaDescribedbyIDs:0}],class:[{watchClass:0},{watchLabel:0}],label:[{watchLabel:0}],required:[{watchLabel:0}],isReadonly:[{watchLabel:0}],isFieldset:[{watchLabel:0}]}}static get style(){return".mg-u-visually-hidden{position:absolute !important;overflow:hidden !important;width:.1rem !important;height:.1rem !important;padding:0 !important;border:0 !important;margin:-0.1rem !important;clip-path:inset(50%) !important;white-space:nowrap !important}.mg-u-visually-hidden *{overflow:hidden !important}*:focus:not(:focus-visible){outline:none}@media (prefers-reduced-motion){*{animation:none !important;transition:none !important}}:host{display:block}.mg-c-input__input mg-icon,.mg-c-input__error mg-icon{display:flex}.mg-c-input{display:flex;min-height:var(--mg-b-size-min-height);align-items:flex-start}.mg-c-input__input-container{width:100%;min-height:var(--mg-b-size-min-height)}.mg-c-input__input-container mg-tooltip{display:inline-flex;width:var(--mg-b-size-16);height:var(--mg-b-size-16);margin-left:var(--mg-b-size-8)}@media print{.mg-c-input__input-container mg-tooltip{display:none}}.mg-c-input__input{display:flex;min-height:var(--mg-b-size-min-height);align-items:center;justify-content:start}.mg-c-input__input mg-tooltip{align-self:baseline;margin-top:calc((var(--mg-b-size-min-height) - var(--mg-b-size-16))/2)}.mg-c-input__input ::slotted(.mg-c-input__button-toggle:disabled){opacity:var(--mg-b-opacity-element-disabled)}.mg-c-input__title{display:flex;width:var(--mg-c-input-title-width, auto);flex-shrink:0;align-items:baseline;justify-content:flex-end;margin-top:calc((var(--mg-b-size-min-height) - var(--mg-b-font-size)*var(--mg-b-line-height))/2);margin-right:var(--mg-c-input-title-horizontal-space, var(--mg-b-size-8));text-align:right}.mg-c-input__title slot[name=label]+mg-tooltip{margin-left:var(--mg-b-size-4)}.mg-c-input__title mg-icon{display:inline-flex;vertical-align:text-bottom}.mg-c-input__error{display:inline-block;padding:var(--mg-b-size-4) var(--mg-b-size-8);border-radius:var(--mg-b-size-radius);background:var(--mg-c-input-error-color-background);color:var(--mg-b-color-danger)}.mg-c-input__error ::slotted(*),.mg-c-input__help-text ::slotted(*){margin:0;font-size:var(--mg-b-font-size-small);text-align:start}:host .mg-c-input__input+.mg-c-input__error,:host .mg-c-input__input+.mg-c-input__help-text{margin-top:var(--mg-b-size-4)}:host(.mg-c-input.mg-c-input--readonly) .mg-c-input__input mg-tooltip{margin-top:calc((var(--mg-b-size-min-height) - var(--mg-b-font-size)*var(--mg-b-line-height))/2)}:host(.mg-c-input){display:flex;margin-bottom:var(--mg-c-input-margin-bottom, 0)}:host(.mg-c-input.mg-c-input--checkbox) .mg-c-input__input,:host(.mg-c-input.mg-c-input--toggle) .mg-c-input__input,:host(.mg-c-input.mg-c-input--radio) .mg-c-input__input{min-height:unset;align-items:flex-start}:host(.mg-c-input.mg-c-input--checkbox,.mg-c-input.mg-c-input--radio) .mg-c-input__input{min-height:unset}:host(.mg-c-input.mg-c-input--fieldset:not(.mg-c-input--checkbox-multi,.mg-c-input--readonly)) .mg-c-input__input-container mg-tooltip{margin-left:var(--mg-b-size-32)}:host(.mg-c-input.mg-c-input--fieldset) ::slotted(.mg-c-input__input-group){min-width:0;flex-grow:1}:host(.mg-c-input.mg-c-input--toggle) .mg-c-input__input-container{min-width:0;flex:1}:host(.mg-c-input.mg-c-input--label-on-top){flex-direction:column}:host(.mg-c-input.mg-c-input--label-on-top) .mg-c-input__title{width:100%;flex:0;justify-content:flex-start;margin-top:0;margin-right:0;margin-bottom:var(--mg-b-size-4);text-align:left}:host(.mg-c-input.mg-c-input--label-on-top) .mg-c-input__title ::slotted(mg-input-title){flex-shrink:1}:host(.mg-c-input.mg-c-input--inputs-on-bottom) .mg-c-input__help-text{margin-top:var(--mg-b-size-4);margin-bottom:var(--mg-b-size-12)}:host(.mg-c-input.mg-c-input--inputs-on-bottom) .mg-c-input__error{margin-bottom:var(--mg-b-size-20)}:host(.mg-c-input.mg-c-input--inputs-on-bottom.mg-c-input--fieldset){--mg-c-input-title-width:var(--mg-c-form-inputs-title-width, calc(28 * var(--mg-b-size-8)));--mg-c-input-title-horizontal-space:var(--mg-b-size-32)}:host(.mg-c-input.mg-c-input--inputs-on-bottom.mg-c-input--fieldset) ::slotted(*){--mg-c-input-margin-bottom:var(--mg-b-size-16)}:host(.mg-c-input.mg-c-input--label-border-display) .mg-c-input__title{border-bottom:var(--mg-b-size-border) solid var(--mg-c-divider-color-background)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__title{margin-bottom:0}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input-title__text{margin-top:var(--mg-b-size-8);margin-bottom:var(--mg-b-size-8)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__help-text,:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__error{margin-top:0;margin-bottom:var(--mg-b-size-4)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__help-text+.mg-c-input__input,:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__error+.mg-c-input__input{margin-top:var(--mg-b-size-12)}:host(.mg-c-input.mg-c-input--has-heading) .mg-c-input__help-text+.mg-c-input__error{margin-top:var(--mg-b-size-4)}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__title{margin-bottom:var(--mg-b-size-16)}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__help-text,:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__error{margin-bottom:0}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__help-text+.mg-c-input__input,:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__error+.mg-c-input__input{margin-top:var(--mg-b-size-16)}:host(.mg-c-input.mg-c-input--has-heading.mg-c-input--label-border-display) .mg-c-input__help-text+.mg-c-input__error{margin-top:var(--mg-b-size-8)}@media screen and (max-width: 767px){:host(.mg-c-input){flex-direction:column}:host(.mg-c-input) .mg-c-input__title{width:100%;flex:0;justify-content:flex-start;margin-top:0;margin-right:0;margin-bottom:var(--mg-b-size-4);text-align:left}:host(.mg-c-input) .mg-c-input__title ::slotted(mg-input-title){flex-shrink:1}}"}},[257,"mg-input",{identifier:[1],label:[1],labelOnTop:[4,"label-on-top"],labelHide:[4,"label-hide"],labelHeading:[1025,"label-heading"],labelBorderDisplay:[4,"label-border-display"],tooltip:[1],tooltipPosition:[1,"tooltip-position"],required:[4],errorMessage:[1,"error-message"],helpText:[1,"help-text"],inputsOnBottom:[4,"inputs-on-bottom"],ariaDescribedbyIDs:[1025,"aria-describedby-i-ds"],isFieldset:[32],isReadonly:[32],isDisabled:[32],isVerticalList:[32]},void 0,{identifier:[{watchIdentifier:0},{watchAriaDescribedbyIDs:0}],labelOnTop:[{watchLabelOnTop:0},{watchLabelConfig:0}],labelHide:[{watchLabelConfig:0}],labelHeading:[{watchlabelHeading:0}],labelBorderDisplay:[{watchLabelBorderDisplay:0}],tooltipPosition:[{watchTooltipPosition:0}],errorMessage:[{watchErrorMessage:0},{watchAriaDescribedbyIDs:0}],helpText:[{watchHelpText:0},{watchAriaDescribedbyIDs:0}],inputsOnBottom:[{watchInputsOnBottom:0}],ariaDescribedbyIDs:[{watchAriaDescribedbyIDs:0}],class:[{watchClass:0},{watchLabel:0}],label:[{watchLabel:0}],required:[{watchLabel:0}],isReadonly:[{watchLabel:0}],isFieldset:[{watchLabel:0}]}]);function v(){"undefined"!=typeof customElements&&["mg-input","mg-icon","mg-input-title","mg-tooltip","mg-tooltip-content"].forEach((i=>{switch(i){case"mg-input":customElements.get(t(i))||customElements.define(t(i),w);break;case"mg-icon":customElements.get(t(i))||d();break;case"mg-input-title":customElements.get(t(i))||b();break;case"mg-tooltip":customElements.get(t(i))||_();break;case"mg-tooltip-content":customElements.get(t(i))||f()}}))}v();export{w as M,v as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{transformTag as e,proxyCustomElement as s,HTMLElement as a,h as c}from"@stencil/core/internal/client";import{C as g,t as r}from"./index2.js";import{d as m}from"./mg-card2.js";import{d as t}from"./mg-icon2.js";const i=["info","warning","success","danger"],o=["bar-left","background"],n=s(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.classBase="mg-c-message",this.classFullWidth="mg-c-message--full-width",this.variant="info",this.variantStyle="bar-left",this.fullWidth=!1,this.classCollection=new g(["mg-c-message"]),this.hasActions=!1,this.getIcon=()=>{switch(this.variant){case"info":return"info-circle";case"warning":return"exclamation-triangle";case"success":return"check-circle";case"danger":return"exclamation-circle"}}}watchVariant(e,s){if(!i.includes(e))throw new Error(`<mg-message> prop "variant" must be one of: ${i.join(", ")}. Passed value: ${r(e)}.`);void 0!==e&&this.classCollection.add(`${this.classBase}--${e}`),void 0!==s&&this.classCollection.delete(`${this.classBase}--${s}`)}watchVariantStyle(e,s){if(!o.includes(e))throw new Error(`<mg-message> prop "variantStyle" must be one of: ${o.join(", ")}. Passed value: ${r(e)}.`);void 0!==e&&this.classCollection.add(`${this.classBase}--${e}`),void 0!==s&&this.classCollection.delete(`${this.classBase}--${s}`)}watchFullWidth(e){e?this.classCollection.add(this.classFullWidth):this.classCollection.delete(this.classFullWidth)}componentWillLoad(){this.watchVariant(this.variant),this.watchVariantStyle(this.variantStyle),this.watchFullWidth(this.fullWidth),this.hasActions=null!==this.element.querySelector('[slot="actions"]')}render(){return c("div",{key:"a182451917bfe33de32c893d9eeedd52b11f8b15",class:this.classCollection.join()},c("mg-card",{key:"9dd0da031d97f669e885a1681b72e5a086e79c0b",shadow:"background"!==this.variantStyle},c("span",{key:"158c2470a10ab9d677e2031c28ad0d43c09e4cf2",class:"mg-c-message__icon"},c("mg-icon",{key:"f7d0cb02781d2bf5a71fbd7f9498ebf4dca31edf",icon:this.getIcon()})),c("div",{key:"56a7299983c30ea4527bb19a46ac0677b6e8c40e",class:"mg-c-message__content"},c("span",{key:"744ad763177f92bdbac37d43a5a58f221ff97e69",class:"mg-c-message__content-slot"},c("slot",{key:"14b7f22e206bd074336287809574b2a5abfe5bf5"})),this.hasActions&&[c("span",{class:"mg-c-message__content-separator",key:"content-separator"}),c("span",{class:"mg-c-message__content-actions-slot",key:"content-actions-slot"},c("slot",{key:"104be326f73ded002cba9a471491ca614227e3d5",name:"actions"}))])))}get element(){return this}static get watchers(){return{variant:[{watchVariant:0}],variantStyle:[{watchVariantStyle:0}],fullWidth:[{watchFullWidth:0}]}}static get style(){return":host{--mg-c-card-spacing:0;--mg-c-card-border-radius:var(--mg-c-message-border-radius);--mg-c-card-border:none;--mg-c-card-overflow:hidden}.mg-c-message{display:inline-block;min-block-size:var(--mg-b-size-min-height)}.mg-c-message.mg-c-message--danger .mg-c-message__icon{color:var(--mg-b-color-danger)}.mg-c-message.mg-c-message--danger.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-danger)}.mg-c-message.mg-c-message--danger.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-red-20, color-mix(in srgb, var(--mg-b-color-danger), white 80%))}.mg-c-message.mg-c-message--info .mg-c-message__icon{color:var(--mg-b-color-info)}.mg-c-message.mg-c-message--info.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-info)}.mg-c-message.mg-c-message--info.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-blue-20, color-mix(in srgb, var(--mg-b-color-info), white 80%))}.mg-c-message.mg-c-message--success .mg-c-message__icon{color:var(--mg-b-color-success)}.mg-c-message.mg-c-message--success.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-success)}.mg-c-message.mg-c-message--success.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-green-20, color-mix(in srgb, var(--mg-b-color-success), white 80%))}.mg-c-message.mg-c-message--warning .mg-c-message__icon{color:var(--mg-b-color-warning)}.mg-c-message.mg-c-message--warning.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-warning)}.mg-c-message.mg-c-message--warning.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-yellow-20, color-mix(in srgb, var(--mg-b-color-warning), white 80%))}.mg-c-message.mg-c-message--background{--mg-c-card-border-radius:var(--mg-b-size-8)}.mg-c-message ::slotted(*){padding:0;margin:0}.mg-c-message__icon{position:absolute;inset-block-start:calc((var(--mg-b-size-min-height) - var(--mg-b-size-16))/2);inset-inline-start:var(--mg-b-size-8);line-height:1}.mg-c-message.mg-c-message--bar-left .mg-c-message__icon{inset-inline-start:calc(var(--mg-b-size-4) + var(--mg-b-size-8))}.mg-c-message__content{display:flex;box-sizing:border-box;flex-wrap:wrap;padding-block:0;padding-inline:calc(var(--mg-b-size-8) + var(--mg-b-size-16) + var(--mg-b-size-8)) var(--mg-b-size-8);place-content:stretch flex-end}.mg-c-message__content-slot{flex-grow:1;margin:var(--mg-b-size-8) 0}.mg-c-message__content-separator{display:inline-block;block-size:0;inline-size:var(--mg-b-size-40)}.mg-c-message__content-actions-slot{padding:var(--mg-b-size-8) 0;text-align:end}.mg-c-message ::slotted(*:not(mg-panel,mg-message,mg-modal)){--mg-c-card-border:var(--mg-c-card-border-default);--mg-c-card-spacing:var(--mg-c-card-spacing-default);--mg-c-card-border-radius:var(--mg-c-card-border-radius-default);--mg-c-card-color-background:var(--mg-c-card-color-background-default);--mg-c-card-box-shadow:var(--mg-c-card-box-shadow-default);--mg-c-card-max-width:unset;--mg-c-card-min-width:unset;--mg-c-card-max-height:unset;--mg-c-card-overflow:var(--mg-c-card-overflow-default)}.mg-c-message,.mg-c-message mg-message{max-inline-size:100%}.mg-c-message.mg-c-message--full-width{display:block;inline-size:100%}"}},[257,"mg-message",{variant:[1],variantStyle:[1,"variant-style"],fullWidth:[4,"full-width"],classCollection:[32],hasActions:[32]},void 0,{variant:[{watchVariant:0}],variantStyle:[{watchVariantStyle:0}],fullWidth:[{watchFullWidth:0}]}]);function l(){"undefined"!=typeof customElements&&["mg-message","mg-card","mg-icon"].forEach((s=>{switch(s){case"mg-message":customElements.get(e(s))||customElements.define(e(s),n);break;case"mg-card":customElements.get(e(s))||m();break;case"mg-icon":customElements.get(e(s))||t()}}))}l();export{n as M,l as d}
|
|
1
|
+
import{transformTag as e,proxyCustomElement as s,HTMLElement as a,h as c}from"@stencil/core/internal/client";import{C as g,t as r}from"./index2.js";import{d as m}from"./mg-card2.js";import{d as t}from"./mg-icon2.js";const i=["info","warning","success","danger"],o=["bar-left","background"],n=s(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.classBase="mg-c-message",this.classFullWidth="mg-c-message--full-width",this.variant="info",this.variantStyle="bar-left",this.fullWidth=!1,this.classCollection=new g(["mg-c-message"]),this.hasActions=!1,this.getIcon=()=>{switch(this.variant){case"info":return"info-circle";case"warning":return"exclamation-triangle";case"success":return"check-circle";case"danger":return"exclamation-circle"}}}watchVariant(e,s){if(!i.includes(e))throw new Error(`<mg-message> prop "variant" must be one of: ${i.join(", ")}. Passed value: ${r(e)}.`);void 0!==e&&this.classCollection.add(`${this.classBase}--${e}`),void 0!==s&&this.classCollection.delete(`${this.classBase}--${s}`)}watchVariantStyle(e,s){if(!o.includes(e))throw new Error(`<mg-message> prop "variantStyle" must be one of: ${o.join(", ")}. Passed value: ${r(e)}.`);void 0!==e&&this.classCollection.add(`${this.classBase}--${e}`),void 0!==s&&this.classCollection.delete(`${this.classBase}--${s}`)}watchFullWidth(e){e?this.classCollection.add(this.classFullWidth):this.classCollection.delete(this.classFullWidth)}componentWillLoad(){this.watchVariant(this.variant),this.watchVariantStyle(this.variantStyle),this.watchFullWidth(this.fullWidth),this.hasActions=null!==this.element.querySelector('[slot="actions"]')}render(){return c("div",{key:"a182451917bfe33de32c893d9eeedd52b11f8b15",class:this.classCollection.join()},c("mg-card",{key:"9dd0da031d97f669e885a1681b72e5a086e79c0b",shadow:"background"!==this.variantStyle},c("span",{key:"158c2470a10ab9d677e2031c28ad0d43c09e4cf2",class:"mg-c-message__icon"},c("mg-icon",{key:"f7d0cb02781d2bf5a71fbd7f9498ebf4dca31edf",icon:this.getIcon()})),c("div",{key:"56a7299983c30ea4527bb19a46ac0677b6e8c40e",class:"mg-c-message__content"},c("span",{key:"744ad763177f92bdbac37d43a5a58f221ff97e69",class:"mg-c-message__content-slot"},c("slot",{key:"14b7f22e206bd074336287809574b2a5abfe5bf5"})),this.hasActions&&[c("span",{class:"mg-c-message__content-separator",key:"content-separator"}),c("span",{class:"mg-c-message__content-actions-slot",key:"content-actions-slot"},c("slot",{key:"104be326f73ded002cba9a471491ca614227e3d5",name:"actions"}))])))}get element(){return this}static get watchers(){return{variant:[{watchVariant:0}],variantStyle:[{watchVariantStyle:0}],fullWidth:[{watchFullWidth:0}]}}static get style(){return":host{--mg-c-card-spacing:0;--mg-c-card-border-radius:var(--mg-c-message-border-radius);--mg-c-card-border:none;--mg-c-card-overflow:hidden}.mg-c-message{display:inline-block;min-block-size:var(--mg-b-size-min-height)}.mg-c-message.mg-c-message--danger .mg-c-message__icon{color:var(--mg-b-color-danger)}.mg-c-message.mg-c-message--danger.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-danger)}.mg-c-message.mg-c-message--danger.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-red-20, color-mix(in srgb, var(--mg-b-color-danger), white 80%))}.mg-c-message.mg-c-message--info .mg-c-message__icon{color:var(--mg-b-color-info)}.mg-c-message.mg-c-message--info.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-info)}.mg-c-message.mg-c-message--info.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-blue-20, color-mix(in srgb, var(--mg-b-color-info), white 80%))}.mg-c-message.mg-c-message--success .mg-c-message__icon{color:var(--mg-b-color-success)}.mg-c-message.mg-c-message--success.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-success)}.mg-c-message.mg-c-message--success.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-green-20, color-mix(in srgb, var(--mg-b-color-success), white 80%))}.mg-c-message.mg-c-message--warning .mg-c-message__icon{color:var(--mg-b-color-warning)}.mg-c-message.mg-c-message--warning.mg-c-message--bar-left .mg-c-message__content{border-inline-start:var(--mg-b-size-4) solid var(--mg-b-color-warning)}.mg-c-message.mg-c-message--warning.mg-c-message--background{--mg-c-card-color-background:var(--mg-b-color-yellow-20, color-mix(in srgb, var(--mg-b-color-warning), white 80%))}.mg-c-message.mg-c-message--background{--mg-c-card-border-radius:var(--mg-b-size-8)}.mg-c-message ::slotted(*){padding:0;margin:0}.mg-c-message__icon{position:absolute;inset-block-start:calc((var(--mg-b-size-min-height) - var(--mg-b-size-16))/2);inset-inline-start:var(--mg-b-size-8);line-height:1}.mg-c-message.mg-c-message--bar-left .mg-c-message__icon{inset-inline-start:calc(var(--mg-b-size-4) + var(--mg-b-size-8))}.mg-c-message__content{display:flex;box-sizing:border-box;flex-wrap:wrap;min-block-size:var(--mg-b-size-min-height);padding-block:0;padding-inline:calc(var(--mg-b-size-8) + var(--mg-b-size-16) + var(--mg-b-size-8)) var(--mg-b-size-8);place-content:stretch flex-end}.mg-c-message__content-slot{flex-grow:1;margin:var(--mg-b-size-8) 0}.mg-c-message__content-separator{display:inline-block;block-size:0;inline-size:var(--mg-b-size-40)}.mg-c-message__content-actions-slot{padding:var(--mg-b-size-8) 0;text-align:end}.mg-c-message ::slotted(*:not(mg-panel,mg-message,mg-modal)){--mg-c-card-border:var(--mg-c-card-border-default);--mg-c-card-spacing:var(--mg-c-card-spacing-default);--mg-c-card-border-radius:var(--mg-c-card-border-radius-default);--mg-c-card-color-background:var(--mg-c-card-color-background-default);--mg-c-card-box-shadow:var(--mg-c-card-box-shadow-default);--mg-c-card-max-width:unset;--mg-c-card-min-width:unset;--mg-c-card-max-height:unset;--mg-c-card-overflow:var(--mg-c-card-overflow-default)}.mg-c-message,.mg-c-message mg-message{max-inline-size:100%}.mg-c-message.mg-c-message--full-width{display:block;inline-size:100%}"}},[257,"mg-message",{variant:[1],variantStyle:[1,"variant-style"],fullWidth:[4,"full-width"],classCollection:[32],hasActions:[32]},void 0,{variant:[{watchVariant:0}],variantStyle:[{watchVariantStyle:0}],fullWidth:[{watchFullWidth:0}]}]);function l(){"undefined"!=typeof customElements&&["mg-message","mg-card","mg-icon"].forEach((s=>{switch(s){case"mg-message":customElements.get(e(s))||customElements.define(e(s),n);break;case"mg-card":customElements.get(e(s))||m();break;case"mg-icon":customElements.get(e(s))||t()}}))}l();export{n as M,l as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{transformTag as t,proxyCustomElement as e,HTMLElement as s,createEvent as i,h as o,Host as
|
|
1
|
+
import{transformTag as t,proxyCustomElement as e,HTMLElement as s,createEvent as i,h as o,Host as a}from"@stencil/core/internal/client";import{c as n,a as r,t as h,g as c}from"./index2.js";import{d}from"./mg-button2.js";import{d as l}from"./mg-card2.js";import{d as p}from"./mg-icon2.js";import{d as m}from"./mg-popover-content2.js";import{c as g}from"./popper.js";const v=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.displayChange=i(this,"display-change",7),this.componentClose=i(this,"component-close",7),this.identifier=n("mg-popover"),this.placement="bottom-start",this.closeButton=!1,this.display=!1,this.disabled=!1,this.clickOutside=t=>{const e=t.composedPath(),i=e.includes(this.element)||e.some((t=>t instanceof s&&t.dataset.mgPopoverGuard===this.identifier));this.disabled||i||(this.display=!1)},this.show=()=>{this.mgPopover.dataset.show="",this.interactiveElement.setAttribute("aria-expanded","true"),this.setPopperListeners(!0),setTimeout((()=>{this.manageClickOutsideListeners("addEventListener")}))},this.hide=()=>{this.mgPopover.removeAttribute("data-show"),this.interactiveElement.setAttribute("aria-expanded","false"),this.setPopperListeners(!1),this.manageClickOutsideListeners("removeEventListener")},this.setPopperListeners=t=>{this.popper.setOptions((e=>Object.assign(Object.assign({},e),{modifiers:[...e.modifiers,{name:"eventListeners",enabled:t}]})))},this.manageClickOutsideListeners=t=>{var e,s;[...Array.from((null===(s=null===(e=document.querySelector(`[data-mg-popover-guard="${this.identifier}"]`))||void 0===e?void 0:e.shadowRoot)||void 0===s?void 0:s.children)||new Set),...this.windows].forEach((e=>{null!==e&&e[t]("click",this.clickOutside,!1)}))},this.handleHideContent=()=>{this.display=!1,this.componentClose.emit()},this.renderPopoverContent=()=>{const t=this.element.querySelector("mg-popover-content");null===t?(this.mgPopoverContent=document.createElement("mg-popover-content"),this.mgPopoverContent.setAttribute("slot","content"),this.mgPopoverContent.setAttribute("id",this.identifier),this.mgPopoverContent.addEventListener("hide-content",this.handleHideContent),['[slot="title"]','[slot="content"]:not(mg-popover-content)'].forEach((t=>{Array.from(this.element.querySelectorAll(t)).forEach((t=>{this.mgPopoverContent.appendChild(t)}))})),this.element.appendChild(this.mgPopoverContent)):t.setAttribute("id",this.identifier)}}validateIdentifier(t){if(!r(t))throw new Error(`<mg-popover> prop "identifier" value is invalid. Passed value: ${h(t)}.`);this.renderPopoverContent()}validateCloseButton(t){this.mgPopoverContent.closeButton=t}handleDisplay(t){t?this.show():this.hide(),this.displayChange.emit(t)}componentDidUpdate(){this.popper.update()}componentWillLoad(){this.windows=c(window),this.renderPopoverContent(),this.validateCloseButton(this.closeButton),this.validateIdentifier(this.identifier)}componentDidLoad(){this.mgPopover=this.element.querySelector(`#${this.identifier}`),this.interactiveElement=this.element.querySelector(":not([slot])"),this.interactiveElement.setAttribute("aria-controls",this.identifier),this.interactiveElement.setAttribute("aria-expanded",`${this.display}`),this.interactiveElement.setAttribute("data-mg-popover-trigger","");const t=[];void 0!==this.element.dataset.fallbackPlacement&&t.push(this.element.dataset.fallbackPlacement),this.popper=g(this.interactiveElement,this.mgPopover,{placement:this.placement,strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,2]}},{name:"flip",options:{fallbackPlacements:[...t,"auto"]}}]}),[this.interactiveElement,this.element.querySelector("mg-popover-content")].forEach((t=>{new ResizeObserver((()=>{this.popper.update()})).observe(t)})),this.interactiveElement.addEventListener("click",(()=>{this.disabled||(this.display=!this.display)})),this.element.addEventListener("click",(t=>{const e=t.target.closest("[popovertargetaction]");!0===this.display&&null!==e&&"hide"===e.getAttribute("popovertargetaction")&&(this.display=!1)})),this.element.addEventListener("keydown",(t=>{this.disabled||"Escape"!==t.code||(this.display=!1,this.componentClose.emit(),this.interactiveElement.focus())})),this.handleDisplay(this.display)}render(){return o(a,{key:"431539cd450da49af5587372a12cbe33956ec5b1"},o("slot",{key:"30e66567cc00667665b70306b3c9ba2fa541fa1e"}),o("slot",{key:"7fcfcd55904128ef4f7a66e16a31a957e5b7af75",name:"content"}))}get element(){return this}static get watchers(){return{identifier:[{validateIdentifier:0}],closeButton:[{validateCloseButton:0}],display:[{handleDisplay:0}]}}static get style(){return":host{--mg-c-card-spacing:var(--mg-c-popover-spacing-vertical, var(--mg-b-size-16)) var(--mg-c-popover-spacing-horizontal, var(--mg-b-size-16));--mg-c-card-border:none;--mg-c-card-border-radius:var(--mg-c-popover-border-radius);--mg-c-card-color-background:var(--mg-c-popover-color-background);position:relative;display:contents}:host::slotted(*){display:inline-block}"}},[257,"mg-popover",{identifier:[1],placement:[1],arrowHide:[16],closeButton:[4,"close-button"],display:[1028],disabled:[4]},void 0,{identifier:[{validateIdentifier:0}],closeButton:[{validateCloseButton:0}],display:[{handleDisplay:0}]}]);function u(){"undefined"!=typeof customElements&&["mg-popover","mg-button","mg-card","mg-icon","mg-popover-content"].forEach((e=>{switch(e){case"mg-popover":customElements.get(t(e))||customElements.define(t(e),v);break;case"mg-button":customElements.get(t(e))||d();break;case"mg-card":customElements.get(t(e))||l();break;case"mg-icon":customElements.get(t(e))||p();break;case"mg-popover-content":customElements.get(t(e))||m()}}))}u();export{v as M,u as d}
|
|
@@ -1678,6 +1678,15 @@
|
|
|
1678
1678
|
"customElement": true,
|
|
1679
1679
|
"description": "",
|
|
1680
1680
|
"attributes": [
|
|
1681
|
+
{
|
|
1682
|
+
"name": "align",
|
|
1683
|
+
"description": "Define the horizontal alignment of the message inside its container.\nThe message is sized to its content, so `align` positions it in both the vertical and\nhorizontal directions. When the content is wide enough to fill the container there is\nno room left, so `align` has no visible effect.",
|
|
1684
|
+
"type": {
|
|
1685
|
+
"text": "\"center\" | \"left\" | \"right\""
|
|
1686
|
+
},
|
|
1687
|
+
"default": "'center'",
|
|
1688
|
+
"fieldName": "align"
|
|
1689
|
+
},
|
|
1681
1690
|
{
|
|
1682
1691
|
"name": "direction",
|
|
1683
1692
|
"description": "Define component orientation",
|
|
@@ -1698,6 +1707,16 @@
|
|
|
1698
1707
|
}
|
|
1699
1708
|
],
|
|
1700
1709
|
"members": [
|
|
1710
|
+
{
|
|
1711
|
+
"kind": "field",
|
|
1712
|
+
"name": "align",
|
|
1713
|
+
"description": "Define the horizontal alignment of the message inside its container.\nThe message is sized to its content, so `align` positions it in both the vertical and\nhorizontal directions. When the content is wide enough to fill the container there is\nno room left, so `align` has no visible effect.",
|
|
1714
|
+
"type": {
|
|
1715
|
+
"text": "\"center\" | \"left\" | \"right\""
|
|
1716
|
+
},
|
|
1717
|
+
"default": "'center'",
|
|
1718
|
+
"attribute": "align"
|
|
1719
|
+
},
|
|
1701
1720
|
{
|
|
1702
1721
|
"kind": "field",
|
|
1703
1722
|
"name": "direction",
|
package/dist/esm/loader.js
CHANGED
|
@@ -4,7 +4,7 @@ export { s as setNonce } from './index-D4bO_UCn.js';
|
|
|
4
4
|
const defineCustomElements = async (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
6
|
await globalScripts();
|
|
7
|
-
return bootstrapLazy(JSON.parse("[[\"mg-action-more_36\",[[1,\"mg-input-checkbox\",{\"value\":[1040],\"type\":[1025],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"inputVerticalList\":[4,\"input-vertical-list\"],\"required\":[4],\"readonly\":[4],\"displaySelectedValues\":[4,\"display-selected-values\"],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"editButtonMessage\":[1,\"edit-button-message\"],\"showButtonMessage\":[1,\"show-button-message\"],\"selectButtonMessage\":[1,\"select-button-message\"],\"classCollection\":[32],\"errorMessage\":[32],\"checkboxItems\":[32],\"displaySearchInput\":[32],\"searchValue\":[32],\"searchResults\":[32],\"selectValuesButtonKey\":[32],\"activeTab\":[32],\"paginatedLimits\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"type\":[{\"validateType\":0}],\"inputVerticalList\":[{\"watchInputVerticalList\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"displaySelectedValues\":[{\"watchDisplaySelectedValues\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"validateDisabled\":0}],\"checkboxItems\":[{\"validateCheckboxItems\":0}],\"displaySearchInput\":[{\"watchDisplaySearchInput\":0}],\"searchValue\":[{\"validateSearchValue\":0}]}],[1,\"mg-action-more\",{\"items\":[16],\"icon\":[1040],\"button\":[16],\"displayChevron\":[4,\"display-chevron\"],\"expanded\":[32]},null,{\"items\":[{\"validateItems\":0}],\"icon\":[{\"validateIcon\":0}],\"button\":[{\"validateButton\":0}],\"displayChevron\":[{\"validateDisplayChevron\":0}]}],[257,\"mg-panel\",{\"identifier\":[1],\"panelTitle\":[1025,\"panel-title\"],\"titlePattern\":[1,\"title-pattern\"],\"titlePatternErrorMessage\":[1,\"title-pattern-error-message\"],\"titleEditable\":[1028,\"title-editable\"],\"titlePosition\":[1025,\"title-position\"],\"expanded\":[1028],\"expandToggleDisplay\":[1025,\"expand-toggle-display\"],\"expandToggleDisabled\":[4,\"expand-toggle-disabled\"],\"shadow\":[4],\"classCollection\":[32],\"isEditing\":[32],\"updatedPanelTitle\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"panelTitle\":[{\"validatePanelTitle\":0}],\"titlePattern\":[{\"validateTitlePattern\":0}],\"titlePatternErrorMessage\":[{\"validateTitlePattern\":0}],\"titleEditable\":[{\"validateTitleEditable\":0}],\"titlePosition\":[{\"validateTitlePosition\":0}],\"expanded\":[{\"handleExpanded\":0}],\"expandToggleDisplay\":[{\"validateExpandToggleDisplay\":0}]}],[1,\"mg-pagination\",{\"identifier\":[1],\"label\":[1025],\"hideNavigationLabels\":[4,\"hide-navigation-labels\"],\"hidePageCount\":[4,\"hide-page-count\"],\"totalPages\":[2,\"total-pages\"],\"currentPage\":[1538,\"current-page\"],\"messages\":[16]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"totalPages\":[{\"validateTotalPages\":0}],\"currentPage\":[{\"validateCurrentPage\":0}],\"messages\":[{\"watchPaginationMessages\":0}]}],[1,\"mg-input-password\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"maxlength\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"displayPassword\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"handleValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}]}],[1,\"mg-input-textarea\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"maxlength\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"pattern\":[1],\"patternErrorMessage\":[1,\"pattern-error-message\"],\"rows\":[2],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"characterLeftHide\":[4,\"character-left-hide\"],\"helpText\":[1,\"help-text\"],\"resizable\":[1],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"handleValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"validateDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"pattern\":[{\"validatePattern\":0}],\"patternErrorMessage\":[{\"validatePattern\":0}],\"characterLeftHide\":[{\"validatecharacterLeftHide\":0}]}],[1,\"mg-input-date\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"required\":[4],\"readonly\":[4],\"min\":[1],\"max\":[1],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"min\":[{\"validateMinMax\":0},{\"handleValidityChange\":0}],\"max\":[{\"validateMinMax\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}]}],[257,\"mg-input-numeric\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"required\":[4],\"readonly\":[4],\"max\":[2],\"min\":[2],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"type\":[1],\"format\":[1],\"currency\":[1],\"unit\":[1],\"unitDisplay\":[1,\"unit-display\"],\"integerLength\":[2,\"integer-length\"],\"decimalLength\":[2,\"decimal-length\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"hasFocus\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"min\":[{\"handleValidityChange\":0}],\"max\":[{\"handleValidityChange\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"type\":[{\"validateType\":0}],\"format\":[{\"watchFormat\":0}],\"integerLength\":[{\"validateIntegerLength\":0}],\"decimalLength\":[{\"validateDecimalLength\":0}]}],[1,\"mg-input-radio\",{\"value\":[1032],\"items\":[16],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"inputVerticalList\":[4,\"input-vertical-list\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"options\":[32],\"readonlyValue\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0}],\"items\":[{\"validateItems\":0}],\"inputVerticalList\":[{\"watchInputVerticalList\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}]}],[257,\"mg-input-toggle\",{\"value\":[1040],\"items\":[16],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"isOnOff\":[1028,\"is-on-off\"],\"isIcon\":[4,\"is-icon\"],\"readonly\":[4],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"classCollection\":[32],\"options\":[32],\"errorMessage\":[32],\"valid\":[32],\"setFocus\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0}],\"items\":[{\"watchItems\":0}],\"isOnOff\":[{\"watchIsOnOff\":0}],\"isIcon\":[{\"watchIsIcon\":0}],\"readonly\":[{\"watchReadonly\":0}],\"disabled\":[{\"watchDisabled\":0}]}],[257,\"mg-modal\",{\"identifier\":[1],\"dialogRole\":[1,\"dialog-role\"],\"modalTitle\":[1,\"modal-title\"],\"closeButton\":[4,\"close-button\"],\"open\":[1028],\"hasActions\":[32],\"classCollection\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"dialogRole\":[{\"validateDialogRole\":0}],\"modalTitle\":[{\"validateModalTitle\":0}],\"open\":[{\"watchOpen\":0}]}],[257,\"mg-details\",{\"toggleClosed\":[1,\"toggle-closed\"],\"toggleOpened\":[1,\"toggle-opened\"],\"hideSummary\":[4,\"hide-summary\"],\"expanded\":[1028]},null,{\"toggleClosed\":[{\"validateTitles\":0}],\"toggleOpened\":[{\"validateTitles\":0}],\"expanded\":[{\"handleExpanded\":0}]}],[1,\"mg-table\",{\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"borderHide\":[4,\"border-hide\"],\"columns\":[16],\"classCollection\":[32]},null,{\"size\":[{\"watchSize\":0}],\"fullWidth\":[{\"watchFullWidth\":0}],\"borderHide\":[{\"watchBorderHide\":0}],\"columns\":[{\"watchColumns\":0}]}],[257,\"mg-form\",{\"identifier\":[1],\"name\":[1],\"readonly\":[4],\"requiredMessage\":[1,\"required-message\"],\"ariaRole\":[1,\"aria-role\"],\"labelOnTop\":[4,\"label-on-top\"],\"disabled\":[4],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"requiredMessageText\":[32],\"displayError\":[64],\"reset\":[64]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"requiredMessage\":[{\"validateRequiredMessage\":0},{\"handleAttributeChange\":0}],\"ariaRole\":[{\"validateAriaRole\":0}],\"labelOnTop\":[{\"handlelabelOnTop\":0}],\"readonly\":[{\"handleAttributeChange\":0}],\"disabled\":[{\"handleAttributeChange\":0}]}],[257,\"mg-illustrated-message\",{\"size\":[1],\"direction\":[1],\"classCollection\":[32]},null,{\"size\":[{\"watchSize\":0}],\"direction\":[{\"watchDirection\":0}]}],[1,\"mg-skip-links\",{\"links\":[16]},null,{\"links\":[{\"validateLinks\":0}]}],[257,\"mg-tag\",{\"variant\":[1],\"outline\":[4],\"soft\":[4],\"classCollection\":[32]},null,{\"variant\":[{\"validateVariant\":0}],\"outline\":[{\"validateOutline\":0}],\"soft\":[{\"validateSoft\":0}]}],[1,\"mg-input-select\",{\"value\":[1032],\"items\":[16],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1025],\"placeholderHide\":[4,\"placeholder-hide\"],\"placeholderDisabled\":[4,\"placeholder-disabled\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[520,\"mg-width\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"options\":[32],\"valueExist\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"items\":[{\"validateItems\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}]}],[257,\"mg-message\",{\"variant\":[1],\"variantStyle\":[1,\"variant-style\"],\"fullWidth\":[4,\"full-width\"],\"classCollection\":[32],\"hasActions\":[32]},null,{\"variant\":[{\"watchVariant\":0}],\"variantStyle\":[{\"watchVariantStyle\":0}],\"fullWidth\":[{\"watchFullWidth\":0}]}],[257,\"mg-tabs\",{\"identifier\":[1],\"label\":[1],\"size\":[16],\"items\":[16],\"activeTab\":[1538,\"active-tab\"],\"tabs\":[32],\"classCollection\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"label\":[{\"validateLabel\":0}],\"items\":[{\"validateItems\":0}],\"activeTab\":[{\"validateActiveTab\":0}]}],[1,\"mg-divider\",{\"fullWidth\":[4,\"full-width\"],\"direction\":[1025]},null,{\"direction\":[{\"validateDirection\":0}]}],[257,\"mg-input-text\",{\"value\":[1544],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"type\":[1],\"icon\":[1],\"placeholder\":[1],\"datalistoptions\":[16],\"maxlength\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"pattern\":[1],\"patternErrorMessage\":[1,\"pattern-error-message\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"characterLeftHide\":[4,\"character-left-hide\"],\"helpText\":[1025,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"handleValue\":0}],\"type\":[{\"validateType\":0}],\"icon\":[{\"validateIcon\":0}],\"datalistoptions\":[{\"validateDatalistoptions\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"pattern\":[{\"watchPattern\":0}],\"patternErrorMessage\":[{\"watchPattern\":0}],\"characterLeftHide\":[{\"validateCharacterLeftHide\":0}],\"helpText\":[{\"watchHelpText\":0}]}],[1,\"mg-item-more\",{\"icon\":[16],\"slotlabel\":[16],\"parentMenu\":[32]},null,{\"icon\":[{\"validateIcon\":0}],\"slotlabel\":[{\"validateSlotLabel\":0}]}],[257,\"mg-menu\",{\"label\":[1],\"direction\":[513],\"size\":[16],\"itemmore\":[16]},[[0,\"item-loaded\",\"updateItemListener\"]],{\"label\":[{\"validateLabel\":0}],\"direction\":[{\"validateDirection\":0}],\"itemmore\":[{\"validateItemMore\":0}]}],[257,\"mg-menu-item\",{\"identifier\":[513],\"href\":[1],\"target\":[1],\"status\":[1537],\"isIcon\":[1028,\"is-icon\"],\"expanded\":[1028],\"classNavigationButtonClassList\":[32],\"direction\":[32],\"isItemMore\":[32],\"hasChildren\":[32],\"displayNotificationBadge\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"target\":[{\"watchTarget\":0}],\"status\":[{\"watchStatus\":0}],\"isIcon\":[{\"watchIsIcon\":0}],\"expanded\":[{\"watchExpanded\":0}],\"direction\":[{\"validateDirection\":0}],\"hasChildren\":[{\"validateHasChildren\":0}],\"data-style-direction\":[{\"watchDataStyleDirection\":0}],\"data-has-focus\":[{\"watchDataHasFocus\":0}]}],[2,\"mg-character-left\",{\"identifier\":[1],\"characters\":[1],\"maxlength\":[2]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"maxlength\":[{\"validateMaxlength\":0}]}],[257,\"mg-popover\",{\"identifier\":[1],\"placement\":[1],\"arrowHide\":[16],\"closeButton\":[4,\"close-button\"],\"display\":[1028],\"disabled\":[4]},null,{\"identifier\":[{\"validateIdentifier\":0}],\"closeButton\":[{\"validateCloseButton\":0}],\"display\":[{\"handleDisplay\":0}]}],[1,\"mg-badge\",{\"value\":[8],\"label\":[1],\"variant\":[1025],\"outline\":[4],\"classCollection\":[32]},null,{\"value\":[{\"validateValue\":0}],\"label\":[{\"validateLabel\":0}],\"variant\":[{\"validateVariant\":0}],\"outline\":[{\"validateOutline\":0}]}],[257,\"mg-popover-content\",{\"closeButton\":[4,\"close-button\"],\"classCollection\":[32]}],[257,\"mg-card\",{\"shadow\":[4],\"radiusSize\":[1025,\"radius-size\"],\"classCollection\":[32]},null,{\"shadow\":[{\"watchShadow\":0}],\"radiusSize\":[{\"watchRadiusSize\":0}]}],[257,\"mg-button\",{\"variant\":[1025],\"label\":[1],\"type\":[1],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"form\":[1],\"disabled\":[1028],\"isIcon\":[4,\"is-icon\"],\"disableOnClick\":[4,\"disable-on-click\"],\"loading\":[32],\"classCollection\":[32]},null,{\"variant\":[{\"validateVariant\":0}],\"size\":[{\"validateSize\":0}],\"fullWidth\":[{\"validateFullWidth\":0}],\"disabled\":[{\"disabledHandler\":0}],\"isIcon\":[{\"watchIsIcon\":0}],\"loading\":[{\"loadingHandler\":0}]}],[257,\"mg-input\",{\"identifier\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"labelHeading\":[1025,\"label-heading\"],\"labelBorderDisplay\":[4,\"label-border-display\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"required\":[4],\"errorMessage\":[1,\"error-message\"],\"helpText\":[1,\"help-text\"],\"inputsOnBottom\":[4,\"inputs-on-bottom\"],\"ariaDescribedbyIDs\":[1025,\"aria-describedby-i-ds\"],\"isFieldset\":[32],\"isReadonly\":[32],\"isDisabled\":[32],\"isVerticalList\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0},{\"watchAriaDescribedbyIDs\":0}],\"labelOnTop\":[{\"watchLabelOnTop\":0},{\"watchLabelConfig\":0}],\"labelHide\":[{\"watchLabelConfig\":0}],\"labelHeading\":[{\"watchlabelHeading\":0}],\"labelBorderDisplay\":[{\"watchLabelBorderDisplay\":0}],\"tooltipPosition\":[{\"watchTooltipPosition\":0}],\"errorMessage\":[{\"watchErrorMessage\":0},{\"watchAriaDescribedbyIDs\":0}],\"helpText\":[{\"watchHelpText\":0},{\"watchAriaDescribedbyIDs\":0}],\"inputsOnBottom\":[{\"watchInputsOnBottom\":0}],\"ariaDescribedbyIDs\":[{\"watchAriaDescribedbyIDs\":0}],\"class\":[{\"watchClass\":0},{\"watchLabel\":0}],\"label\":[{\"watchLabel\":0}],\"required\":[{\"watchLabel\":0}],\"isReadonly\":[{\"watchLabel\":0}],\"isFieldset\":[{\"watchLabel\":0}]}],[257,\"mg-tooltip\",{\"identifier\":[1],\"message\":[1],\"placement\":[1],\"display\":[1028],\"disabled\":[4]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"message\":[{\"watchMessage\":0}],\"display\":[{\"watchDisplay\":0}],\"disabled\":[{\"watchDisabled\":0}]}],[262,\"mg-input-title\",{\"identifier\":[1],\"required\":[4],\"readonly\":[4],\"isLegend\":[4,\"is-legend\"],\"tagName\":[32]},null,{\"identifier\":[{\"validateIdentifier\":0}],\"isLegend\":[{\"validateIsLegend\":0}]}],[257,\"mg-tooltip-content\",{\"message\":[1]}],[1,\"mg-icon\",{\"icon\":[1],\"size\":[1025],\"variant\":[1],\"variantStyle\":[1025,\"variant-style\"],\"spin\":[4],\"classCollection\":[32]},null,{\"icon\":[{\"validateIcon\":0}],\"size\":[{\"validateSize\":0}],\"variant\":[{\"validateVariant\":0}],\"variantStyle\":[{\"validateVariantStyle\":0}],\"spin\":[{\"handleSpin\":0}]}]]],[\"mg-input-combobox\",[[1,\"mg-input-combobox\",{\"value\":[1537],\"items\":[16],\"itemsLabel\":[1,\"items-label\"],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"popoverPlacement\":[1,\"popover-placement\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"fetchurl\":[1],\"fetchoptions\":[16],\"fetchmappings\":[16],\"valid\":[1028],\"invalid\":[1028],\"isLoading\":[32],\"options\":[32],\"option\":[32],\"filter\":[32],\"classCollection\":[32],\"errorMessage\":[32],\"popoverDisplay\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0}],\"items\":[{\"watchItems\":0}],\"identifier\":[{\"watchIdentifier\":0}],\"readonly\":[{\"watchReadonly\":0},{\"watchValidityChange\":0}],\"required\":[{\"watchValidityChange\":0}],\"disabled\":[{\"watchValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"fetchurl\":[{\"watchFetchUrl\":0}],\"fetchoptions\":[{\"watchFetchOptions\":0}],\"fetchmappings\":[{\"watchFetchMappings\":0}],\"options\":[{\"watchOptions\":0}],\"filter\":[{\"watchFilter\":0}],\"popoverDisplay\":[{\"watchPopoverDisplay\":0}]}]]],[\"mg-input-file\",[[1,\"mg-input-file\",{\"value\":[1032],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"multiple\":[4],\"accept\":[1],\"maxSize\":[2,\"max-size\"],\"capture\":[1],\"required\":[4],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1025,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"files\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0},{\"watchMultiple\":0}],\"multiple\":[{\"watchMultiple\":0}],\"accept\":[{\"watchAccept\":0},{\"watchHelpText\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"helpText\":[{\"watchHelpText\":0}],\"maxSize\":[{\"watchHelpText\":0}],\"files\":[{\"watchFiles\":0}]}]]],[\"mg-fieldset\",[[257,\"mg-fieldset\",{\"identifier\":[1],\"name\":[1],\"legend\":[1],\"legendHide\":[4,\"legend-hide\"],\"legendHeading\":[1,\"legend-heading\"],\"legendBorderDisplay\":[4,\"legend-border-display\"],\"readonly\":[4],\"disabled\":[4],\"tooltip\":[1],\"helpText\":[1,\"help-text\"],\"errorMessage\":[32],\"valid\":[32],\"classCollection\":[32],\"setCustomValidity\":[64],\"displayError\":[64]},null,{\"legendBorderDisplay\":[{\"watchLegendBorderDisplay\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleAttributeChange\":0}],\"disabled\":[{\"handleAttributeChange\":0}]}]]],[\"mg-input-rich-text-editor\",[[1,\"mg-input-rich-text-editor\",{\"value\":[1025],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"rows\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"pattern\":[1],\"patternErrorMessage\":[1,\"pattern-error-message\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"modules\":[1],\"customActions\":[16],\"sanitizerOptions\":[16],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"getEditorHTML\":[64],\"getEditorText\":[64],\"getSelectedText\":[64],\"getSelectedHTML\":[64],\"replaceSelection\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"disabled\":[{\"watchDisabled\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"pattern\":[{\"validatePattern\":0}],\"patternErrorMessage\":[{\"validatePattern\":0}],\"modules\":[{\"watchModules\":0}],\"customActions\":[{\"watchCustomActions\":0}],\"sanitizerOptions\":[{\"watchSanitizerOptions\":0}]}]]],[\"mg-alert\",[[257,\"mg-alert\",{\"delay\":[2],\"variant\":[1],\"variantStyle\":[1,\"variant-style\"],\"fullWidth\":[4,\"full-width\"],\"classCollection\":[32],\"hasActions\":[32]},null,{\"delay\":[{\"watchDelay\":0}],\"variant\":[{\"watchVariant\":0}],\"variantStyle\":[{\"watchVariantStyle\":0}],\"hidden\":[{\"watchHidden\":0}]}]]],[\"mg-breadcrumb\",[[1,\"mg-breadcrumb\",{\"items\":[16]},null,{\"items\":[{\"validateItems\":0}]}]]],[\"mg-illustration\",[[1,\"mg-illustration\",{\"illustration\":[1]},null,{\"illustration\":[{\"validateIllustration\":0}]}]]],[\"mg-progress\",[[1,\"mg-progress\",{\"label\":[1],\"ariaRole\":[1,\"aria-role\"],\"value\":[2],\"min\":[2],\"max\":[2]},null,{\"label\":[{\"watchLabel\":0}],\"ariaRole\":[{\"watchAriaRole\":0}],\"value\":[{\"watchValue\":0}],\"min\":[{\"watchMin\":0}],\"max\":[{\"watchMax\":0}]}]]],[\"mg-loader\",[[1,\"mg-loader\",{\"message\":[1],\"messageHide\":[4,\"message-hide\"]},null,{\"message\":[{\"watchMessage\":0}]}]]]]"), options);
|
|
7
|
+
return bootstrapLazy(JSON.parse("[[\"mg-action-more_36\",[[1,\"mg-input-checkbox\",{\"value\":[1040],\"type\":[1025],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"inputVerticalList\":[4,\"input-vertical-list\"],\"required\":[4],\"readonly\":[4],\"displaySelectedValues\":[4,\"display-selected-values\"],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"editButtonMessage\":[1,\"edit-button-message\"],\"showButtonMessage\":[1,\"show-button-message\"],\"selectButtonMessage\":[1,\"select-button-message\"],\"classCollection\":[32],\"errorMessage\":[32],\"checkboxItems\":[32],\"displaySearchInput\":[32],\"searchValue\":[32],\"searchResults\":[32],\"selectValuesButtonKey\":[32],\"activeTab\":[32],\"paginatedLimits\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"type\":[{\"validateType\":0}],\"inputVerticalList\":[{\"watchInputVerticalList\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"displaySelectedValues\":[{\"watchDisplaySelectedValues\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"validateDisabled\":0}],\"checkboxItems\":[{\"validateCheckboxItems\":0}],\"displaySearchInput\":[{\"watchDisplaySearchInput\":0}],\"searchValue\":[{\"validateSearchValue\":0}]}],[1,\"mg-action-more\",{\"items\":[16],\"icon\":[1040],\"button\":[16],\"displayChevron\":[4,\"display-chevron\"],\"expanded\":[32]},null,{\"items\":[{\"validateItems\":0}],\"icon\":[{\"validateIcon\":0}],\"button\":[{\"validateButton\":0}],\"displayChevron\":[{\"validateDisplayChevron\":0}]}],[257,\"mg-panel\",{\"identifier\":[1],\"panelTitle\":[1025,\"panel-title\"],\"titlePattern\":[1,\"title-pattern\"],\"titlePatternErrorMessage\":[1,\"title-pattern-error-message\"],\"titleEditable\":[1028,\"title-editable\"],\"titlePosition\":[1025,\"title-position\"],\"expanded\":[1028],\"expandToggleDisplay\":[1025,\"expand-toggle-display\"],\"expandToggleDisabled\":[4,\"expand-toggle-disabled\"],\"shadow\":[4],\"classCollection\":[32],\"isEditing\":[32],\"updatedPanelTitle\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"panelTitle\":[{\"validatePanelTitle\":0}],\"titlePattern\":[{\"validateTitlePattern\":0}],\"titlePatternErrorMessage\":[{\"validateTitlePattern\":0}],\"titleEditable\":[{\"validateTitleEditable\":0}],\"titlePosition\":[{\"validateTitlePosition\":0}],\"expanded\":[{\"handleExpanded\":0}],\"expandToggleDisplay\":[{\"validateExpandToggleDisplay\":0}]}],[1,\"mg-pagination\",{\"identifier\":[1],\"label\":[1025],\"hideNavigationLabels\":[4,\"hide-navigation-labels\"],\"hidePageCount\":[4,\"hide-page-count\"],\"totalPages\":[2,\"total-pages\"],\"currentPage\":[1538,\"current-page\"],\"messages\":[16]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"totalPages\":[{\"validateTotalPages\":0}],\"currentPage\":[{\"validateCurrentPage\":0}],\"messages\":[{\"watchPaginationMessages\":0}]}],[1,\"mg-input-password\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"maxlength\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"displayPassword\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"handleValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}]}],[1,\"mg-input-textarea\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"maxlength\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"pattern\":[1],\"patternErrorMessage\":[1,\"pattern-error-message\"],\"rows\":[2],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"characterLeftHide\":[4,\"character-left-hide\"],\"helpText\":[1,\"help-text\"],\"resizable\":[1],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"handleValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"validateDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"pattern\":[{\"validatePattern\":0}],\"patternErrorMessage\":[{\"validatePattern\":0}],\"characterLeftHide\":[{\"validatecharacterLeftHide\":0}]}],[1,\"mg-input-date\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"required\":[4],\"readonly\":[4],\"min\":[1],\"max\":[1],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"min\":[{\"validateMinMax\":0},{\"handleValidityChange\":0}],\"max\":[{\"validateMinMax\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}]}],[257,\"mg-input-numeric\",{\"value\":[1537],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"required\":[4],\"readonly\":[4],\"max\":[2],\"min\":[2],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"type\":[1],\"format\":[1],\"currency\":[1],\"unit\":[1],\"unitDisplay\":[1,\"unit-display\"],\"integerLength\":[2,\"integer-length\"],\"decimalLength\":[2,\"decimal-length\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"hasFocus\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"min\":[{\"handleValidityChange\":0}],\"max\":[{\"handleValidityChange\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"type\":[{\"validateType\":0}],\"format\":[{\"watchFormat\":0}],\"integerLength\":[{\"validateIntegerLength\":0}],\"decimalLength\":[{\"validateDecimalLength\":0}]}],[1,\"mg-input-radio\",{\"value\":[1032],\"items\":[16],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"inputVerticalList\":[4,\"input-vertical-list\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"options\":[32],\"readonlyValue\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0}],\"items\":[{\"validateItems\":0}],\"inputVerticalList\":[{\"watchInputVerticalList\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}]}],[257,\"mg-input-toggle\",{\"value\":[1040],\"items\":[16],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"isOnOff\":[1028,\"is-on-off\"],\"isIcon\":[4,\"is-icon\"],\"readonly\":[4],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"classCollection\":[32],\"options\":[32],\"errorMessage\":[32],\"valid\":[32],\"setFocus\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0}],\"items\":[{\"watchItems\":0}],\"isOnOff\":[{\"watchIsOnOff\":0}],\"isIcon\":[{\"watchIsIcon\":0}],\"readonly\":[{\"watchReadonly\":0}],\"disabled\":[{\"watchDisabled\":0}]}],[257,\"mg-modal\",{\"identifier\":[1],\"dialogRole\":[1,\"dialog-role\"],\"modalTitle\":[1,\"modal-title\"],\"closeButton\":[4,\"close-button\"],\"open\":[1028],\"hasActions\":[32],\"classCollection\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"dialogRole\":[{\"validateDialogRole\":0}],\"modalTitle\":[{\"validateModalTitle\":0}],\"open\":[{\"watchOpen\":0}]}],[257,\"mg-details\",{\"toggleClosed\":[1,\"toggle-closed\"],\"toggleOpened\":[1,\"toggle-opened\"],\"hideSummary\":[4,\"hide-summary\"],\"expanded\":[1028]},null,{\"toggleClosed\":[{\"validateTitles\":0}],\"toggleOpened\":[{\"validateTitles\":0}],\"expanded\":[{\"handleExpanded\":0}]}],[1,\"mg-table\",{\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"borderHide\":[4,\"border-hide\"],\"columns\":[16],\"classCollection\":[32]},null,{\"size\":[{\"watchSize\":0}],\"fullWidth\":[{\"watchFullWidth\":0}],\"borderHide\":[{\"watchBorderHide\":0}],\"columns\":[{\"watchColumns\":0}]}],[257,\"mg-form\",{\"identifier\":[1],\"name\":[1],\"readonly\":[4],\"requiredMessage\":[1,\"required-message\"],\"ariaRole\":[1,\"aria-role\"],\"labelOnTop\":[4,\"label-on-top\"],\"disabled\":[4],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"requiredMessageText\":[32],\"displayError\":[64],\"reset\":[64]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"requiredMessage\":[{\"validateRequiredMessage\":0},{\"handleAttributeChange\":0}],\"ariaRole\":[{\"validateAriaRole\":0}],\"labelOnTop\":[{\"handlelabelOnTop\":0}],\"readonly\":[{\"handleAttributeChange\":0}],\"disabled\":[{\"handleAttributeChange\":0}]}],[257,\"mg-illustrated-message\",{\"size\":[1],\"direction\":[1],\"align\":[1],\"classCollection\":[32]},null,{\"size\":[{\"watchSize\":0}],\"direction\":[{\"watchDirection\":0}],\"align\":[{\"watchAlign\":0}]}],[1,\"mg-skip-links\",{\"links\":[16]},null,{\"links\":[{\"validateLinks\":0}]}],[257,\"mg-tag\",{\"variant\":[1],\"outline\":[4],\"soft\":[4],\"classCollection\":[32]},null,{\"variant\":[{\"validateVariant\":0}],\"outline\":[{\"validateOutline\":0}],\"soft\":[{\"validateSoft\":0}]}],[1,\"mg-input-select\",{\"value\":[1032],\"items\":[16],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1025],\"placeholderHide\":[4,\"placeholder-hide\"],\"placeholderDisabled\":[4,\"placeholder-disabled\"],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[520,\"mg-width\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"options\":[32],\"valueExist\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"validateValue\":0}],\"items\":[{\"validateItems\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}]}],[257,\"mg-message\",{\"variant\":[1],\"variantStyle\":[1,\"variant-style\"],\"fullWidth\":[4,\"full-width\"],\"classCollection\":[32],\"hasActions\":[32]},null,{\"variant\":[{\"watchVariant\":0}],\"variantStyle\":[{\"watchVariantStyle\":0}],\"fullWidth\":[{\"watchFullWidth\":0}]}],[257,\"mg-tabs\",{\"identifier\":[1],\"label\":[1],\"size\":[16],\"items\":[16],\"activeTab\":[1538,\"active-tab\"],\"tabs\":[32],\"classCollection\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"label\":[{\"validateLabel\":0}],\"items\":[{\"validateItems\":0}],\"activeTab\":[{\"validateActiveTab\":0}]}],[1,\"mg-divider\",{\"fullWidth\":[4,\"full-width\"],\"direction\":[1025]},null,{\"direction\":[{\"validateDirection\":0}]}],[257,\"mg-input-text\",{\"value\":[1544],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"type\":[1],\"icon\":[1],\"placeholder\":[1],\"datalistoptions\":[16],\"maxlength\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"pattern\":[1],\"patternErrorMessage\":[1,\"pattern-error-message\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"characterLeftHide\":[4,\"character-left-hide\"],\"helpText\":[1025,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"handleValue\":0}],\"type\":[{\"validateType\":0}],\"icon\":[{\"validateIcon\":0}],\"datalistoptions\":[{\"validateDatalistoptions\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"pattern\":[{\"watchPattern\":0}],\"patternErrorMessage\":[{\"watchPattern\":0}],\"characterLeftHide\":[{\"validateCharacterLeftHide\":0}],\"helpText\":[{\"watchHelpText\":0}]}],[1,\"mg-item-more\",{\"icon\":[16],\"slotlabel\":[16],\"parentMenu\":[32]},null,{\"icon\":[{\"validateIcon\":0}],\"slotlabel\":[{\"validateSlotLabel\":0}]}],[257,\"mg-menu\",{\"label\":[1],\"direction\":[513],\"size\":[16],\"itemmore\":[16]},[[0,\"item-loaded\",\"updateItemListener\"]],{\"label\":[{\"validateLabel\":0}],\"direction\":[{\"validateDirection\":0}],\"itemmore\":[{\"validateItemMore\":0}]}],[257,\"mg-menu-item\",{\"identifier\":[513],\"href\":[1],\"target\":[1],\"status\":[1537],\"isIcon\":[1028,\"is-icon\"],\"expanded\":[1028],\"classNavigationButtonClassList\":[32],\"direction\":[32],\"isItemMore\":[32],\"hasChildren\":[32],\"displayNotificationBadge\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"target\":[{\"watchTarget\":0}],\"status\":[{\"watchStatus\":0}],\"isIcon\":[{\"watchIsIcon\":0}],\"expanded\":[{\"watchExpanded\":0}],\"direction\":[{\"validateDirection\":0}],\"hasChildren\":[{\"validateHasChildren\":0}],\"data-style-direction\":[{\"watchDataStyleDirection\":0}],\"data-has-focus\":[{\"watchDataHasFocus\":0}]}],[2,\"mg-character-left\",{\"identifier\":[1],\"characters\":[1],\"maxlength\":[2]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"maxlength\":[{\"validateMaxlength\":0}]}],[257,\"mg-popover\",{\"identifier\":[1],\"placement\":[1],\"arrowHide\":[16],\"closeButton\":[4,\"close-button\"],\"display\":[1028],\"disabled\":[4]},null,{\"identifier\":[{\"validateIdentifier\":0}],\"closeButton\":[{\"validateCloseButton\":0}],\"display\":[{\"handleDisplay\":0}]}],[1,\"mg-badge\",{\"value\":[8],\"label\":[1],\"variant\":[1025],\"outline\":[4],\"classCollection\":[32]},null,{\"value\":[{\"validateValue\":0}],\"label\":[{\"validateLabel\":0}],\"variant\":[{\"validateVariant\":0}],\"outline\":[{\"validateOutline\":0}]}],[257,\"mg-popover-content\",{\"closeButton\":[4,\"close-button\"],\"classCollection\":[32]}],[257,\"mg-card\",{\"shadow\":[4],\"radiusSize\":[1025,\"radius-size\"],\"classCollection\":[32]},null,{\"shadow\":[{\"watchShadow\":0}],\"radiusSize\":[{\"watchRadiusSize\":0}]}],[257,\"mg-button\",{\"variant\":[1025],\"label\":[1],\"type\":[1],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"form\":[1],\"disabled\":[1028],\"isIcon\":[4,\"is-icon\"],\"disableOnClick\":[4,\"disable-on-click\"],\"loading\":[32],\"classCollection\":[32]},null,{\"variant\":[{\"validateVariant\":0}],\"size\":[{\"validateSize\":0}],\"fullWidth\":[{\"validateFullWidth\":0}],\"disabled\":[{\"disabledHandler\":0}],\"isIcon\":[{\"watchIsIcon\":0}],\"loading\":[{\"loadingHandler\":0}]}],[257,\"mg-input\",{\"identifier\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"labelHeading\":[1025,\"label-heading\"],\"labelBorderDisplay\":[4,\"label-border-display\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"required\":[4],\"errorMessage\":[1,\"error-message\"],\"helpText\":[1,\"help-text\"],\"inputsOnBottom\":[4,\"inputs-on-bottom\"],\"ariaDescribedbyIDs\":[1025,\"aria-describedby-i-ds\"],\"isFieldset\":[32],\"isReadonly\":[32],\"isDisabled\":[32],\"isVerticalList\":[32]},null,{\"identifier\":[{\"watchIdentifier\":0},{\"watchAriaDescribedbyIDs\":0}],\"labelOnTop\":[{\"watchLabelOnTop\":0},{\"watchLabelConfig\":0}],\"labelHide\":[{\"watchLabelConfig\":0}],\"labelHeading\":[{\"watchlabelHeading\":0}],\"labelBorderDisplay\":[{\"watchLabelBorderDisplay\":0}],\"tooltipPosition\":[{\"watchTooltipPosition\":0}],\"errorMessage\":[{\"watchErrorMessage\":0},{\"watchAriaDescribedbyIDs\":0}],\"helpText\":[{\"watchHelpText\":0},{\"watchAriaDescribedbyIDs\":0}],\"inputsOnBottom\":[{\"watchInputsOnBottom\":0}],\"ariaDescribedbyIDs\":[{\"watchAriaDescribedbyIDs\":0}],\"class\":[{\"watchClass\":0},{\"watchLabel\":0}],\"label\":[{\"watchLabel\":0}],\"required\":[{\"watchLabel\":0}],\"isReadonly\":[{\"watchLabel\":0}],\"isFieldset\":[{\"watchLabel\":0}]}],[257,\"mg-tooltip\",{\"identifier\":[1],\"message\":[1],\"placement\":[1],\"display\":[1028],\"disabled\":[4]},null,{\"identifier\":[{\"watchIdentifier\":0}],\"message\":[{\"watchMessage\":0}],\"display\":[{\"watchDisplay\":0}],\"disabled\":[{\"watchDisabled\":0}]}],[262,\"mg-input-title\",{\"identifier\":[1],\"required\":[4],\"readonly\":[4],\"isLegend\":[4,\"is-legend\"],\"tagName\":[32]},null,{\"identifier\":[{\"validateIdentifier\":0}],\"isLegend\":[{\"validateIsLegend\":0}]}],[257,\"mg-tooltip-content\",{\"message\":[1]}],[1,\"mg-icon\",{\"icon\":[1],\"size\":[1025],\"variant\":[1],\"variantStyle\":[1025,\"variant-style\"],\"spin\":[4],\"classCollection\":[32]},null,{\"icon\":[{\"validateIcon\":0}],\"size\":[{\"validateSize\":0}],\"variant\":[{\"validateVariant\":0}],\"variantStyle\":[{\"validateVariantStyle\":0}],\"spin\":[{\"handleSpin\":0}]}]]],[\"mg-input-combobox\",[[1,\"mg-input-combobox\",{\"value\":[1537],\"items\":[16],\"itemsLabel\":[1,\"items-label\"],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"mgWidth\":[8,\"mg-width\"],\"popoverPlacement\":[1,\"popover-placement\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"fetchurl\":[1],\"fetchoptions\":[16],\"fetchmappings\":[16],\"valid\":[1028],\"invalid\":[1028],\"isLoading\":[32],\"options\":[32],\"option\":[32],\"filter\":[32],\"classCollection\":[32],\"errorMessage\":[32],\"popoverDisplay\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0}],\"items\":[{\"watchItems\":0}],\"identifier\":[{\"watchIdentifier\":0}],\"readonly\":[{\"watchReadonly\":0},{\"watchValidityChange\":0}],\"required\":[{\"watchValidityChange\":0}],\"disabled\":[{\"watchValidityChange\":0},{\"watchDisabled\":0}],\"mgWidth\":[{\"watchMgWidth\":0}],\"fetchurl\":[{\"watchFetchUrl\":0}],\"fetchoptions\":[{\"watchFetchOptions\":0}],\"fetchmappings\":[{\"watchFetchMappings\":0}],\"options\":[{\"watchOptions\":0}],\"filter\":[{\"watchFilter\":0}],\"popoverDisplay\":[{\"watchPopoverDisplay\":0}]}]]],[\"mg-input-file\",[[1,\"mg-input-file\",{\"value\":[1032],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"multiple\":[4],\"accept\":[1],\"maxSize\":[2,\"max-size\"],\"capture\":[1],\"required\":[4],\"disabled\":[4],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1025,\"help-text\"],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"files\":[32],\"setFocus\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"value\":[{\"watchValue\":0},{\"watchMultiple\":0}],\"multiple\":[{\"watchMultiple\":0}],\"accept\":[{\"watchAccept\":0},{\"watchHelpText\":0}],\"required\":[{\"handleValidityChange\":0}],\"disabled\":[{\"handleValidityChange\":0},{\"watchDisabled\":0}],\"helpText\":[{\"watchHelpText\":0}],\"maxSize\":[{\"watchHelpText\":0}],\"files\":[{\"watchFiles\":0}]}]]],[\"mg-fieldset\",[[257,\"mg-fieldset\",{\"identifier\":[1],\"name\":[1],\"legend\":[1],\"legendHide\":[4,\"legend-hide\"],\"legendHeading\":[1,\"legend-heading\"],\"legendBorderDisplay\":[4,\"legend-border-display\"],\"readonly\":[4],\"disabled\":[4],\"tooltip\":[1],\"helpText\":[1,\"help-text\"],\"errorMessage\":[32],\"valid\":[32],\"classCollection\":[32],\"setCustomValidity\":[64],\"displayError\":[64]},null,{\"legendBorderDisplay\":[{\"watchLegendBorderDisplay\":0}],\"readonly\":[{\"watchReadonly\":0},{\"handleAttributeChange\":0}],\"disabled\":[{\"handleAttributeChange\":0}]}]]],[\"mg-input-rich-text-editor\",[[1,\"mg-input-rich-text-editor\",{\"value\":[1025],\"identifier\":[1],\"name\":[1],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"labelHide\":[4,\"label-hide\"],\"placeholder\":[1],\"rows\":[2],\"required\":[4],\"readonly\":[4],\"disabled\":[4],\"pattern\":[1],\"patternErrorMessage\":[1,\"pattern-error-message\"],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"helpText\":[1,\"help-text\"],\"modules\":[1],\"customActions\":[16],\"sanitizerOptions\":[16],\"valid\":[1028],\"invalid\":[1028],\"classCollection\":[32],\"errorMessage\":[32],\"setFocus\":[64],\"getEditorHTML\":[64],\"getEditorText\":[64],\"getSelectedText\":[64],\"getSelectedHTML\":[64],\"replaceSelection\":[64],\"displayError\":[64],\"setError\":[64],\"reset\":[64]},null,{\"readonly\":[{\"watchReadonly\":0},{\"handleValidityChange\":0}],\"disabled\":[{\"watchDisabled\":0},{\"handleValidityChange\":0}],\"required\":[{\"handleValidityChange\":0}],\"pattern\":[{\"validatePattern\":0}],\"patternErrorMessage\":[{\"validatePattern\":0}],\"modules\":[{\"watchModules\":0}],\"customActions\":[{\"watchCustomActions\":0}],\"sanitizerOptions\":[{\"watchSanitizerOptions\":0}]}]]],[\"mg-alert\",[[257,\"mg-alert\",{\"delay\":[2],\"variant\":[1],\"variantStyle\":[1,\"variant-style\"],\"fullWidth\":[4,\"full-width\"],\"classCollection\":[32],\"hasActions\":[32]},null,{\"delay\":[{\"watchDelay\":0}],\"variant\":[{\"watchVariant\":0}],\"variantStyle\":[{\"watchVariantStyle\":0}],\"hidden\":[{\"watchHidden\":0}]}]]],[\"mg-breadcrumb\",[[1,\"mg-breadcrumb\",{\"items\":[16]},null,{\"items\":[{\"validateItems\":0}]}]]],[\"mg-illustration\",[[1,\"mg-illustration\",{\"illustration\":[1]},null,{\"illustration\":[{\"validateIllustration\":0}]}]]],[\"mg-progress\",[[1,\"mg-progress\",{\"label\":[1],\"ariaRole\":[1,\"aria-role\"],\"value\":[2],\"min\":[2],\"max\":[2]},null,{\"label\":[{\"watchLabel\":0}],\"ariaRole\":[{\"watchAriaRole\":0}],\"value\":[{\"watchValue\":0}],\"min\":[{\"watchMin\":0}],\"max\":[{\"watchMax\":0}]}]]],[\"mg-loader\",[[1,\"mg-loader\",{\"message\":[1],\"messageHide\":[4,\"message-hide\"]},null,{\"message\":[{\"watchMessage\":0}]}]]]]"), options);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { defineCustomElements };
|