@mgdis/mg-components 6.10.0 → 6.11.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.
Files changed (142) hide show
  1. package/dist/cjs/{index-CfIlskRh.js → index-B_WwxtkQ.js} +4 -4
  2. package/dist/cjs/{index-CfIlskRh.js.map → index-B_WwxtkQ.js.map} +1 -1
  3. package/dist/cjs/{index.es-BCLy9yYb.js → index.es-C-3Gv8Eu.js} +85 -81
  4. package/dist/cjs/index.es-C-3Gv8Eu.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/mg-action-more_37.cjs.entry.js +1915 -1909
  7. package/dist/cjs/mg-action-more_37.cjs.entry.js.map +1 -1
  8. package/dist/cjs/mg-alert.cjs.entry.js +6 -6
  9. package/dist/cjs/mg-components.cjs.js +1 -1
  10. package/dist/cjs/mg-input-combobox.cjs.entry.js +75 -72
  11. package/dist/cjs/mg-input-combobox.cjs.entry.js.map +1 -1
  12. package/dist/cjs/mg-input-combobox.entry.cjs.js.map +1 -1
  13. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +12 -12
  14. package/dist/cjs/mg-loader.cjs.entry.js +4 -4
  15. package/dist/cjs/mg-progress.cjs.entry.js +10 -10
  16. package/dist/collection/components/atoms/mg-button/mg-button.js +1 -1
  17. package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
  18. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.conf.js +0 -1
  19. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.conf.js.map +1 -1
  20. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +43 -63
  21. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js.map +1 -1
  22. package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.js.map +1 -1
  23. package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +67 -45
  24. package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js.map +1 -1
  25. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +25 -30
  26. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +1 -1
  27. package/dist/collection/components/molecules/mg-details/mg-details.js +5 -1
  28. package/dist/collection/components/molecules/mg-details/mg-details.js.map +1 -1
  29. package/dist/collection/components/molecules/mg-popover/mg-popover.js +47 -97
  30. package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +1 -1
  31. package/dist/components/index.es.js +71 -68
  32. package/dist/components/index.es.js.map +1 -1
  33. package/dist/components/index2.js +2 -2
  34. package/dist/components/mg-action-more.js +6 -6
  35. package/dist/components/mg-alert.js +5 -5
  36. package/dist/components/mg-badge2.js +6 -6
  37. package/dist/components/mg-button2.js +7 -7
  38. package/dist/components/mg-button2.js.map +1 -1
  39. package/dist/components/mg-character-left2.js +4 -4
  40. package/dist/components/mg-details.js +8 -4
  41. package/dist/components/mg-details.js.map +1 -1
  42. package/dist/components/mg-form.js +7 -7
  43. package/dist/components/mg-icon2.js +6 -6
  44. package/dist/components/mg-illustrated-message.js +5 -5
  45. package/dist/components/mg-input-checkbox.js +9 -9
  46. package/dist/components/mg-input-combobox.js +74 -71
  47. package/dist/components/mg-input-combobox.js.map +1 -1
  48. package/dist/components/mg-input-date.js +17 -17
  49. package/dist/components/mg-input-numeric.js +13 -13
  50. package/dist/components/mg-input-password.js +3 -3
  51. package/dist/components/mg-input-radio.js +7 -7
  52. package/dist/components/mg-input-rich-text-editor.js +11 -11
  53. package/dist/components/mg-input-select2.js +32 -37
  54. package/dist/components/mg-input-select2.js.map +1 -1
  55. package/dist/components/mg-input-text2.js +9 -9
  56. package/dist/components/mg-input-textarea.js +7 -7
  57. package/dist/components/mg-input-title2.js +4 -4
  58. package/dist/components/mg-input-toggle.js +6 -6
  59. package/dist/components/mg-input2.js +8 -8
  60. package/dist/components/mg-item-more2.js +7 -7
  61. package/dist/components/mg-loader2.js +3 -3
  62. package/dist/components/mg-menu-item2.js +11 -11
  63. package/dist/components/mg-message2.js +4 -4
  64. package/dist/components/mg-modal.js +8 -8
  65. package/dist/components/mg-pagination2.js +6 -6
  66. package/dist/components/mg-panel.js +9 -9
  67. package/dist/components/mg-popover-content2.js +4 -4
  68. package/dist/components/mg-popover-content2.js.map +1 -1
  69. package/dist/components/mg-popover2.js +48 -96
  70. package/dist/components/mg-popover2.js.map +1 -1
  71. package/dist/components/mg-progress.js +10 -10
  72. package/dist/components/mg-skip-links.js +2 -2
  73. package/dist/components/mg-table.js +6 -6
  74. package/dist/components/mg-tabs.js +12 -12
  75. package/dist/components/mg-tag.js +4 -4
  76. package/dist/components/mg-tooltip-content2.js +1 -1
  77. package/dist/components/mg-tooltip-content2.js.map +1 -1
  78. package/dist/components/mg-tooltip2.js +47 -66
  79. package/dist/components/mg-tooltip2.js.map +1 -1
  80. package/dist/components/popper.js +1793 -0
  81. package/dist/components/popper.js.map +1 -0
  82. package/dist/esm/{index-DmsGewMC.js → index-DHpyFawS.js} +4 -4
  83. package/dist/esm/{index-DmsGewMC.js.map → index-DHpyFawS.js.map} +1 -1
  84. package/dist/esm/{index.es-rLV3KFPd.js → index.es-lyrZ9KRh.js} +73 -70
  85. package/dist/esm/index.es-lyrZ9KRh.js.map +1 -0
  86. package/dist/esm/loader.js +1 -1
  87. package/dist/esm/mg-action-more_37.entry.js +1915 -1909
  88. package/dist/esm/mg-action-more_37.entry.js.map +1 -1
  89. package/dist/esm/mg-alert.entry.js +6 -6
  90. package/dist/esm/mg-components.js +1 -1
  91. package/dist/esm/mg-input-combobox.entry.js +75 -72
  92. package/dist/esm/mg-input-combobox.entry.js.map +1 -1
  93. package/dist/esm/mg-input-rich-text-editor.entry.js +12 -12
  94. package/dist/esm/mg-loader.entry.js +4 -4
  95. package/dist/esm/mg-progress.entry.js +10 -10
  96. package/dist/mg-components/mg-components.esm.js +1 -1
  97. package/dist/mg-components/mg-input-combobox.entry.esm.js.map +1 -1
  98. package/dist/mg-components/{p-ad66e7b3.entry.js → p-596c0e08.entry.js} +2 -2
  99. package/dist/mg-components/p-8a3bd8ad.entry.js +2 -0
  100. package/dist/mg-components/p-8a3bd8ad.entry.js.map +1 -0
  101. package/dist/mg-components/p-98a74b62.entry.js +2 -0
  102. package/dist/mg-components/{p-cdbe689e.entry.js.map → p-98a74b62.entry.js.map} +1 -1
  103. package/dist/mg-components/{p-DK9teKTo.js → p-C-vIqOyI.js} +2 -2
  104. package/dist/mg-components/{p-DK9teKTo.js.map → p-C-vIqOyI.js.map} +1 -1
  105. package/dist/mg-components/{p-73099ed7.entry.js → p-d4ed3aad.entry.js} +2 -2
  106. package/dist/mg-components/p-e822bd96.entry.js +2 -0
  107. package/dist/mg-components/{p-88f77de2.entry.js.map → p-e822bd96.entry.js.map} +1 -1
  108. package/dist/mg-components/p-fc7b96e6.entry.js +2 -0
  109. package/dist/mg-components/p-fc7b96e6.entry.js.map +1 -0
  110. package/dist/mg-components/p-lyrZ9KRh.js +2 -0
  111. package/dist/mg-components/p-lyrZ9KRh.js.map +1 -0
  112. package/dist/types/components/atoms/mg-tooltip/mg-tooltip.conf.d.ts +0 -6
  113. package/dist/types/components/atoms/mg-tooltip/mg-tooltip.d.ts +6 -8
  114. package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.d.ts +1 -1
  115. package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.d.ts +5 -0
  116. package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +0 -9
  117. package/dist/types/components/molecules/mg-details/mg-details.d.ts +1 -0
  118. package/dist/types/components/molecules/mg-popover/mg-popover.d.ts +8 -22
  119. package/dist/types/components.d.ts +11 -8
  120. package/ide/intellij/web-types.json +6 -2
  121. package/ide/vscode/html-custom-data.json +1 -1
  122. package/package.json +12 -12
  123. package/dist/cjs/index.es-BCLy9yYb.js.map +0 -1
  124. package/dist/collection/components/molecules/mg-popover/mg-popover.conf.js +0 -2
  125. package/dist/collection/components/molecules/mg-popover/mg-popover.conf.js.map +0 -1
  126. package/dist/collection/utils/floating-ui.utils.js +0 -74
  127. package/dist/collection/utils/floating-ui.utils.js.map +0 -1
  128. package/dist/components/floating-ui.utils.js +0 -1721
  129. package/dist/components/floating-ui.utils.js.map +0 -1
  130. package/dist/esm/index.es-rLV3KFPd.js.map +0 -1
  131. package/dist/mg-components/p-0f761c6c.entry.js +0 -2
  132. package/dist/mg-components/p-0f761c6c.entry.js.map +0 -1
  133. package/dist/mg-components/p-88f77de2.entry.js +0 -2
  134. package/dist/mg-components/p-cdbe689e.entry.js +0 -2
  135. package/dist/mg-components/p-d3a868f0.entry.js +0 -2
  136. package/dist/mg-components/p-d3a868f0.entry.js.map +0 -1
  137. package/dist/mg-components/p-rLV3KFPd.js +0 -2
  138. package/dist/mg-components/p-rLV3KFPd.js.map +0 -1
  139. package/dist/types/components/molecules/mg-popover/mg-popover.conf.d.ts +0 -6
  140. package/dist/types/utils/floating-ui.utils.d.ts +0 -28
  141. /package/dist/mg-components/{p-ad66e7b3.entry.js.map → p-596c0e08.entry.js.map} +0 -0
  142. /package/dist/mg-components/{p-73099ed7.entry.js.map → p-d4ed3aad.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty;var e=t=>{throw TypeError(t)};var s=(e,s,r)=>s in e?t(e,s,{enumerable:true,configurable:true,writable:true,value:r}):e[s]=r;var r=(t,e,r)=>s(t,typeof e!="symbol"?e+"":e,r),i=(t,s,r)=>s.has(t)||e("Cannot "+r);var n=(t,e,s)=>(i(t,e,"read from private field"),s?s.call(t):e.get(t)),a=(t,s,r)=>s.has(t)?e("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(t):s.set(t,r),o=(t,e,s,r)=>(i(t,e,"write to private field"),e.set(t,s),s);const u=t=>t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((t,e)=>(e>0?"-":"")+t.toLowerCase())).replace(/[^a-z0-9-]+/g,"-").replace(/--+/g,"-").replace(/(?:^-)|(?:-$)/g,""),h=(t="",e=10)=>{const s=new Uint8Array(e);crypto.getRandomValues(s);const r=Array.from(s).map((t=>t.toString(16).padStart(2,"0"))).join("").slice(0,e);return t!==""?`${t}-${r}`:r},l=t=>d(t)&&/^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(t)!==null,c=t=>{let e;return typeof t=="string"?e=t:t&&(A(t)||Array.isArray(t))?e=JSON.stringify(t):t!=null&&typeof t!="boolean"&&(e=String(t)),e&&u(e)};class f{constructor(t=[]){r(this,"classes");r(this,"add",(t=>{this.has(t)||this.classes.push(t)}));r(this,"delete",(t=>{const e=this.classes.indexOf(t);e>-1&&this.classes.splice(e,1)}));r(this,"has",(t=>this.classes.includes(t)));r(this,"join",(()=>this.classes.join(" ")));this.classes=t}}const m=t=>Array.isArray(t)&&t.every((t=>typeof t=="string")),p=(t,e)=>e.includes(t==null?void 0:t.tagName.toLowerCase()),y='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [identifier], mg-button',g=t=>{const e=v(t),s=b(t);return[t,...e,...s]},v=(t,e=[])=>{if(t.self!==t.top)try{const s=t.parent;return s?(e.push(s),v(s,e)):e}catch(t){return console.error("Different hosts between iframes:",t),e}return e},b=(t,e=[])=>{if(t.frames.length>0)for(const s of Array.from(t.frames))e.push(s),b(s,e);return e},d=t=>typeof t=="string"&&t.trim()!=="",w=t=>typeof t=="object"?JSON.stringify(t):`${t}`,O=t=>typeof t=="number"&&!Number.isNaN(t),x=t=>typeof t=="string"?t.toLocaleLowerCase().normalize("NFD").replaceAll(/[\u0300-\u036f]/g,""):t,S=async t=>{if(t)return t()},A=t=>typeof t=="object"&&!Array.isArray(t)&&t!==null,N=(t,e,s)=>{const r=".";if(!A(t)||typeof e!="string")return s;const[i,...n]=e.split(r);return n.length?N(t[i],n.join(r)):t[i]},I={FIRST:"first",NEXT:"next",PREVIOUS:"previous",LAST:"last"},D=10;class J{constructor(t){r(this,"items",[]);r(this,"total");r(this,"top",D);r(this,"next");r(this,"baseIndex",1);r(this,"getIndexFromCursor",((t="first",e)=>{if(!Array.isArray(this.items)||!this.items.length)return null;const s=this.items.length-this.baseIndex;let r=0,i=0;if(["previous","next"].includes(t)&&e){const t=this.items.findIndex((t=>JSON.stringify(t)===JSON.stringify(e)));if(t===-1)return 0;i=t}return t==="first"?r=0:t==="last"?r=s:t==="previous"?r=JSON.stringify(this.items[i])===JSON.stringify(this.items[0])?s:i-this.baseIndex:t==="next"&&(r=JSON.stringify(this.items[i])===JSON.stringify(this.items[s])?0:i+this.baseIndex),r}));if(A(t))Array.isArray(t.items)&&(this.items=t.items),typeof t.top=="number"&&(this.top=t.top),this.total=typeof t.total=="number"?t.total:this.items.length,this.next=t.next;else throw new Error("Page - init must match IPage type.")}}var F,k,E;class ${constructor(t,e){r(this,"items",[]);a(this,F,D);a(this,k);a(this,E);r(this,"getPage",((t=0,e)=>{const s=typeof e=="function"?this.items.filter(e):this.items;let r;return n(this,k)?r=n(this,k):s.length>t+n(this,F)&&(r=()=>this.getPage(t+n(this,F),e)),new J({items:s.slice(t,t+n(this,F)),total:n(this,E),top:n(this,F),next:r})}));Array.isArray(t)&&(this.items=t),e&&(["string","function"].includes(typeof e.next)||A(e.next)&&URL.canParse(e.next))&&o(this,k,e.next),typeof(e==null?void 0:e.top)=="number"&&o(this,F,e.top),typeof(e==null?void 0:e.total)=="number"&&o(this,E,e.total)}}F=new WeakMap,k=new WeakMap,E=new WeakMap;var j=Object.defineProperty,P=(t,e)=>{for(var s in e)j(t,s,{get:e[s],enumerable:true})},T={};P(T,{err:()=>C,map:()=>U,ok:()=>z,unwrap:()=>W,unwrapErr:()=>Z});var z=t=>({isOk:true,isErr:false,value:t}),C=t=>({isOk:false,isErr:true,value:t});function U(t,e){if(t.isOk){const s=e(t.value);return s instanceof Promise?s.then((t=>z(t))):z(s)}if(t.isErr){const e=t.value;return C(e)}throw"should never get here"}var W=t=>{if(t.isOk)return t.value;throw t.value},Z=t=>{if(t.isErr)return t.value;throw t.value};const M=t=>{const e={value:"2023",pattern:"yyyy"},s={value:"12",pattern:"mm"},r={value:"24",pattern:"dd"};return H([e.value,s.value,r.value].join("-"),t,{timeZone:"UTC"}).replace(e.value,e.pattern).replace(s.value,s.pattern).replace(r.value,r.pattern)},R=t=>t.toISOString().split("T")[0],L=(t,e,s)=>{const r=t.closest("[lang]"),i=Intl.NumberFormat.supportedLocalesOf(r==null?void 0:r.lang),n=i.length>0&&typeof i[0]=="string"?i[0]:navigator.language||s,a=n.split("-").shift();return Object.keys(e).length===0?{locale:n,messages:{lang:s}}:{locale:n,messages:e[a]||e[s]||{lang:s}}},V=(t,e,s)=>new Intl.NumberFormat(e,{style:"currency",currency:s}).format(t),X=(t,e,s=0)=>new Intl.NumberFormat(e,{minimumFractionDigits:s}).format(Number(t)),q=(t,e,s=0)=>new Intl.NumberFormat(e,{style:"percent",minimumFractionDigits:s,maximumFractionDigits:s}).format(t),B=(t,e,s,r="short",i=0)=>new Intl.NumberFormat(e,{style:"unit",unit:s,unitDisplay:r,minimumFractionDigits:i,maximumFractionDigits:i}).format(t),G=/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/,H=(t,e,s)=>typeof t!="string"||t===""||!G.test(t)?"":new Intl.DateTimeFormat(e,s).format(new Date(t)),Q=(t,e)=>s=>L(s,t,e);export{q as $,l as B,h as D,N as G,c as H,J,A as K,G as P,O as Q,x as V,y as X,w as Y,H as Z,m as a,d as b,p as c,B as d,S as e,M as f,X as g,Q as h,g as i,V as p,f as q,$ as r,I as t,R as u};
2
+ //# sourceMappingURL=p-lyrZ9KRh.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-lyrZ9KRh.js","sources":["../stencil-helpers/dist/index.es.js"],"sourcesContent":["var De = Object.defineProperty;\nvar ce = (e) => {\n throw TypeError(e);\n};\nvar Be = (e, t, r) => t in e ? De(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;\nvar d = (e, t, r) => Be(e, typeof t != \"symbol\" ? t + \"\" : t, r), fe = (e, t, r) => t.has(e) || ce(\"Cannot \" + r);\nvar v = (e, t, r) => (fe(e, t, \"read from private field\"), r ? r.call(e) : t.get(e)), k = (e, t, r) => t.has(e) ? ce(\"Cannot add the same private member more than once\") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Z = (e, t, r, s) => (fe(e, t, \"write to private field\"), s ? s.call(e, r) : t.set(e, r), r);\nconst He = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, r) => (r > 0 ? \"-\" : \"\") + t.toLowerCase()).replace(/[^a-z0-9-]+/g, \"-\").replace(/--+/g, \"-\").replace(/(?:^-)|(?:-$)/g, \"\"), Dt = (e = \"\", t = 10) => {\n const r = new Uint8Array(t);\n crypto.getRandomValues(r);\n const s = Array.from(r).map((n) => n.toString(16).padStart(2, \"0\")).join(\"\").slice(0, t);\n return e !== \"\" ? `${e}-${s}` : s;\n}, Bt = (e) => qe(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null, Ht = (e) => {\n let t;\n return typeof e == \"string\" ? t = e : e && (K(e) || Array.isArray(e)) ? t = JSON.stringify(e) : e != null && typeof e != \"boolean\" && (t = String(e)), t && He(t);\n};\nclass qt {\n constructor(t = []) {\n /**\n * Available classes\n */\n d(this, \"classes\");\n /**\n * Add class\n * @param className - class name to add\n */\n d(this, \"add\", (t) => {\n this.has(t) || this.classes.push(t);\n });\n /**\n * Delete class\n * @param className - class name to delete\n */\n d(this, \"delete\", (t) => {\n const r = this.classes.indexOf(t);\n r > -1 && this.classes.splice(r, 1);\n });\n /**\n * Check if class exist in list\n * @param className - class name to check\n * @returns class name is in the list\n */\n d(this, \"has\", (t) => this.classes.includes(t));\n /**\n * Join classes seperated by spaces\n * @returns joined values\n */\n d(this, \"join\", () => this.classes.join(\" \"));\n this.classes = t;\n }\n}\nconst Gt = (e) => Array.isArray(e) && e.every((t) => typeof t == \"string\"), Jt = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), Xt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), [identifier], mg-button', Kt = (e) => {\n const t = _e(e), r = be(e);\n return [e, ...t, ...r];\n}, _e = (e, t = []) => {\n if (e.self !== e.top)\n try {\n const r = e.parent;\n return r ? (t.push(r), _e(r, t)) : t;\n } catch (r) {\n return console.error(\"Different hosts between iframes:\", r), t;\n }\n return t;\n}, be = (e, t = []) => {\n if (e.frames.length > 0)\n for (const r of Array.from(e.frames))\n t.push(r), be(r, t);\n return t;\n}, qe = (e) => typeof e == \"string\" && e.trim() !== \"\", Yt = (e) => typeof e == \"object\" ? JSON.stringify(e) : `${e}`, Qt = (e) => typeof e == \"number\" && !Number.isNaN(e), Vt = (e) => typeof e == \"string\" ? e.toLocaleLowerCase().normalize(\"NFD\").replaceAll(/[\\u0300-\\u036f]/g, \"\") : e, er = async (e) => {\n if (e) return e();\n}, K = (e) => typeof e == \"object\" && !Array.isArray(e) && e !== null, Ge = (e, t, r) => {\n const s = \".\";\n if (!K(e) || typeof t != \"string\")\n return r;\n const [n, ...i] = t.split(s);\n return i.length ? Ge(e[n], i.join(s)) : e[n];\n}, tr = {\n FIRST: \"first\",\n NEXT: \"next\",\n PREVIOUS: \"previous\",\n LAST: \"last\"\n}, ve = 10;\nclass Je {\n constructor(t) {\n /**\n * Define items\n */\n d(this, \"items\", []);\n /**\n * Define total\n */\n d(this, \"total\");\n /**\n * Define top\n */\n d(this, \"top\", ve);\n /**\n * Define next\n */\n d(this, \"next\");\n /**\n * Define base index\n */\n d(this, \"baseIndex\", 1);\n /**\n * Get index of items from cursor\n * @param cursor - cursor to find\n * @param oldItem - previous item\n * @returns item index\n */\n d(this, \"getIndexFromCursor\", (t = \"first\", r) => {\n if (!Array.isArray(this.items) || !this.items.length) return null;\n const n = this.items.length - this.baseIndex;\n let i = 0, o = 0;\n if ([\"previous\", \"next\"].includes(t) && r) {\n const f = this.items.findIndex((c) => JSON.stringify(c) === JSON.stringify(r));\n if (f === -1) return 0;\n o = f;\n }\n return t === \"first\" ? i = 0 : t === \"last\" ? i = n : t === \"previous\" ? i = JSON.stringify(this.items[o]) === JSON.stringify(this.items[0]) ? n : o - this.baseIndex : t === \"next\" && (i = JSON.stringify(this.items[o]) === JSON.stringify(this.items[n]) ? 0 : o + this.baseIndex), i;\n });\n if (K(t))\n Array.isArray(t.items) && (this.items = t.items), typeof t.top == \"number\" && (this.top = t.top), this.total = typeof t.total == \"number\" ? t.total : this.items.length, this.next = t.next;\n else\n throw new Error(\"Page - init must match IPage type.\");\n }\n}\nvar O, N, C;\nclass rr {\n constructor(t, r) {\n /**\n * Define paginated items\n */\n d(this, \"items\", []);\n /* Privates */\n k(this, O, ve);\n k(this, N);\n k(this, C);\n /**\n * Get page\n * @param offset - pagiantion offset\n * @param filter - filter methode\n * @returns formated page\n */\n d(this, \"getPage\", (t = 0, r) => {\n const s = typeof r == \"function\" ? this.items.filter(r) : this.items;\n let n;\n return v(this, N) ? n = v(this, N) : s.length > t + v(this, O) && (n = () => this.getPage(t + v(this, O), r)), new Je({\n items: s.slice(t, t + v(this, O)),\n total: v(this, C),\n top: v(this, O),\n next: n\n });\n });\n Array.isArray(t) && (this.items = t), r && ([\"string\", \"function\"].includes(typeof r.next) || K(r.next) && URL.canParse(r.next)) && Z(this, N, r.next), typeof (r == null ? void 0 : r.top) == \"number\" && Z(this, O, r.top), typeof (r == null ? void 0 : r.total) == \"number\" && Z(this, C, r.total);\n }\n}\nO = new WeakMap(), N = new WeakMap(), C = new WeakMap();\nvar Y = {\n updatable: !0,\n slotRelocation: !0,\n // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior\n experimentalSlotFixes: !1\n}, Xe = Object.defineProperty, Ke = (e, t) => {\n for (var r in t)\n Xe(e, r, { get: t[r], enumerable: !0 });\n}, Ye = \"http://www.w3.org/2000/svg\", Qe = \"http://www.w3.org/1999/xhtml\", ue = (e, t) => t in e, pe = \"http://www.w3.org/1999/xlink\", A = typeof window < \"u\" ? window : {}, z = {\n $flags$: 0,\n $resourcesUrl$: \"\",\n jmp: (e) => e(),\n raf: (e) => requestAnimationFrame(e),\n ael: (e, t, r, s) => e.addEventListener(t, r, s),\n rel: (e, t, r, s) => e.removeEventListener(t, r, s),\n ce: (e, t) => new CustomEvent(e, t)\n}, Ve = (e) => e != null && e !== void 0, we = (e) => (e = typeof e, e === \"object\" || e === \"function\"), et = {};\nKe(et, {\n err: () => me,\n map: () => tt,\n ok: () => V,\n unwrap: () => rt,\n unwrapErr: () => st\n});\nvar V = (e) => ({\n isOk: !0,\n isErr: !1,\n value: e\n}), me = (e) => ({\n isOk: !1,\n isErr: !0,\n value: e\n});\nfunction tt(e, t) {\n if (e.isOk) {\n const r = t(e.value);\n return r instanceof Promise ? r.then((s) => V(s)) : V(r);\n }\n if (e.isErr) {\n const r = e.value;\n return me(r);\n }\n throw \"should never get here\";\n}\nvar rt = (e) => {\n if (e.isOk)\n return e.value;\n throw e.value;\n}, st = (e) => {\n if (e.isErr)\n return e.value;\n throw e.value;\n}, xe = (e) => {\n const t = $e(e, \"childNodes\");\n e.tagName && e.tagName.includes(\"-\") && e[\"s-cr\"] && e.tagName !== \"SLOT-FB\" && Ee(t, e.tagName).forEach((s) => {\n s.nodeType === 1 && s.tagName === \"SLOT-FB\" && (it(s, ie(s), !1).length ? s.hidden = !0 : s.hidden = !1);\n });\n let r = 0;\n for (r = 0; r < t.length; r++) {\n const s = t[r];\n s.nodeType === 1 && $e(s, \"childNodes\").length && xe(s);\n }\n}, nt = (e) => {\n const t = [];\n for (let r = 0; r < e.length; r++) {\n const s = e[r][\"s-nr\"] || void 0;\n s && s.isConnected && t.push(s);\n }\n return t;\n};\nfunction Ee(e, t, r) {\n let s = 0, n = [], i;\n for (; s < e.length; s++)\n i = e[s], i[\"s-sr\"] && (!t || i[\"s-hn\"] === t) && r === void 0 && n.push(i), n = [...n, ...Ee(i.childNodes, t, r)];\n return n;\n}\nvar it = (e, t, r = !0) => {\n const s = [];\n (r && e[\"s-sr\"] || !e[\"s-sr\"]) && s.push(e);\n let n = e;\n for (; n = n.nextSibling; )\n ie(n) === t && (r || !n[\"s-sr\"]) && s.push(n);\n return s;\n}, ge = (e, t) => e.nodeType === 1 ? e.getAttribute(\"slot\") === null && t === \"\" || e.getAttribute(\"slot\") === t : e[\"s-sn\"] === t ? !0 : t === \"\", ie = (e) => typeof e[\"s-sn\"] == \"string\" ? e[\"s-sn\"] : e.nodeType === 1 && e.getAttribute(\"slot\") || void 0;\nfunction ot(e) {\n if (e.assignedElements || e.assignedNodes || !e[\"s-sr\"]) return;\n const t = (r) => (function(s) {\n const n = [], i = this[\"s-sn\"];\n s != null && s.flatten && console.error(`\n Flattening is not supported for Stencil non-shadow slots. \n You can use \\`.childNodes\\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `);\n const o = this[\"s-cr\"].parentElement;\n return (o.__childNodes ? o.childNodes : nt(o.childNodes)).forEach((c) => {\n i === ie(c) && n.push(c);\n }), r ? n.filter(\n (c) => c.nodeType === 1\n /* ElementNode */\n ) : n;\n }).bind(e);\n e.assignedElements = t(!0), e.assignedNodes = t(!1);\n}\nfunction $e(e, t) {\n if (\"__\" + t in e) {\n const r = e[\"__\" + t];\n return typeof r != \"function\" ? r : r.bind(e);\n } else\n return typeof e[t] != \"function\" ? e[t] : e[t].bind(e);\n}\nvar at = (e, t, ...r) => {\n let s = null, n = null, i = null, o = !1, f = !1;\n const c = [], l = (a) => {\n for (let g = 0; g < a.length; g++)\n s = a[g], Array.isArray(s) ? l(s) : s != null && typeof s != \"boolean\" && ((o = !we(s)) && (s = String(s)), o && f ? c[c.length - 1].$text$ += s : c.push(o ? ee(null, s) : s), f = o);\n };\n l(r);\n const p = ee(e, null);\n return p.$attrs$ = t, c.length > 0 && (p.$children$ = c), p.$key$ = n, p.$name$ = i, p;\n}, ee = (e, t) => {\n const r = {\n $flags$: 0,\n $tag$: e,\n $text$: t,\n $elm$: null,\n $children$: null\n };\n return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;\n}, lt = {}, ct = (e) => e && e.$tag$ === lt, de = (e, t, r, s, n, i, o) => {\n if (r === s)\n return;\n let f = ue(e, t), c = t.toLowerCase();\n if (t === \"class\") {\n const l = e.classList, p = he(r);\n let a = he(s);\n l.remove(...p.filter((g) => g && !a.includes(g))), l.add(...a.filter((g) => g && !p.includes(g)));\n } else if (t === \"style\") {\n for (const l in r)\n (!s || s[l] == null) && (l.includes(\"-\") ? e.style.removeProperty(l) : e.style[l] = \"\");\n for (const l in s)\n (!r || s[l] !== r[l]) && (l.includes(\"-\") ? e.style.setProperty(l, s[l]) : e.style[l] = s[l]);\n } else if (t !== \"key\") if (t === \"ref\")\n s && s(e);\n else if (!e.__lookupSetter__(t) && t[0] === \"o\" && t[1] === \"n\") {\n if (t[2] === \"-\" ? t = t.slice(3) : ue(A, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || s) {\n const l = t.endsWith(Se);\n t = t.replace(ut, \"\"), r && z.rel(e, t, r, l), s && z.ael(e, t, s, l);\n }\n } else {\n const l = we(s);\n if ((f || l && s !== null) && !n)\n try {\n if (e.tagName.includes(\"-\"))\n e[t] !== s && (e[t] = s);\n else {\n const a = s ?? \"\";\n t === \"list\" ? f = !1 : (r == null || e[t] != a) && (typeof e.__lookupSetter__(t) == \"function\" ? e[t] = a : e.setAttribute(t, a));\n }\n } catch {\n }\n let p = !1;\n c !== (c = c.replace(/^xlink\\:?/, \"\")) && (t = c, p = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === \"\") && (p ? e.removeAttributeNS(pe, t) : e.removeAttribute(t)) : (!f || i & 4 || n) && !l && e.nodeType === 1 && (s = s === !0 ? \"\" : s, p ? e.setAttributeNS(pe, t, s) : e.setAttribute(t, s));\n }\n}, ft = /\\s/, he = (e) => (typeof e == \"object\" && e && \"baseVal\" in e && (e = e.baseVal), !e || typeof e != \"string\" ? [] : e.split(ft)), Se = \"Capture\", ut = new RegExp(Se + \"$\"), te = (e, t, r, s) => {\n const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, o = t.$attrs$ || {};\n for (const f of ye(Object.keys(i)))\n f in o || de(\n n,\n f,\n i[f],\n void 0,\n r,\n t.$flags$\n );\n for (const f of ye(Object.keys(o)))\n de(\n n,\n f,\n i[f],\n o[f],\n r,\n t.$flags$\n );\n};\nfunction ye(e) {\n return e.includes(\"ref\") ? (\n // we need to sort these to ensure that `'ref'` is the last attr\n [...e.filter((t) => t !== \"ref\"), \"ref\"]\n ) : (\n // no need to sort, return the original array\n e\n );\n}\nvar W, H, L, re = !1, q = !1, oe = !1, b = !1, G = (e, t, r) => {\n var s;\n const n = t.$children$[r];\n let i = 0, o, f, c;\n if (re || (oe = !0, n.$tag$ === \"slot\" && (n.$flags$ |= n.$children$ ? (\n // slot element has fallback content\n // still create an element that \"mocks\" the slot element\n 2\n ) : (\n // slot element does not have fallback content\n // create an html comment we'll use to always reference\n // where actual slot content should sit next to\n 1\n ))), n.$text$ !== null)\n o = n.$elm$ = A.document.createTextNode(n.$text$);\n else if (n.$flags$ & 1)\n o = n.$elm$ = A.document.createTextNode(\"\"), te(null, n, b);\n else {\n if (b || (b = n.$tag$ === \"svg\"), !A.document)\n throw new Error(\n \"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.\"\n );\n if (o = n.$elm$ = A.document.createElementNS(\n b ? Ye : Qe,\n !re && Y.slotRelocation && n.$flags$ & 2 ? \"slot-fb\" : n.$tag$\n ), b && n.$tag$ === \"foreignObject\" && (b = !1), te(null, n, b), Ve(W) && o[\"s-si\"] !== W && o.classList.add(o[\"s-si\"] = W), n.$children$)\n for (i = 0; i < n.$children$.length; ++i)\n f = G(e, n, i), f && o.appendChild(f);\n n.$tag$ === \"svg\" ? b = !1 : o.tagName === \"foreignObject\" && (b = !0);\n }\n return o[\"s-hn\"] = L, n.$flags$ & 3 && (o[\"s-sr\"] = !0, o[\"s-cr\"] = H, o[\"s-sn\"] = n.$name$ || \"\", o[\"s-rf\"] = (s = n.$attrs$) == null ? void 0 : s.ref, ot(o), c = e && e.$children$ && e.$children$[r], c && c.$tag$ === n.$tag$ && e.$elm$ && M(e.$elm$, !1), ke(H, o, t.$elm$, e == null ? void 0 : e.$elm$)), o;\n}, M = (e, t) => {\n z.$flags$ |= 1;\n const r = Array.from(e.__childNodes || e.childNodes);\n e[\"s-sr\"] && Y.experimentalSlotFixes;\n for (let s = r.length - 1; s >= 0; s--) {\n const n = r[s];\n n[\"s-hn\"] !== L && n[\"s-ol\"] && (T(F(n).parentNode, n, F(n)), n[\"s-ol\"].remove(), n[\"s-ol\"] = void 0, n[\"s-sh\"] = void 0, oe = !0), t && M(n, t);\n }\n z.$flags$ &= -2;\n}, Oe = (e, t, r, s, n, i) => {\n let o = e[\"s-cr\"] && e[\"s-cr\"].parentNode || e, f;\n for (o.shadowRoot && o.tagName === L && (o = o.shadowRoot); n <= i; ++n)\n s[n] && (f = G(null, r, n), f && (s[n].$elm$ = f, T(o, f, F(t))));\n}, Ae = (e, t, r) => {\n for (let s = t; s <= r; ++s) {\n const n = e[s];\n if (n) {\n const i = n.$elm$;\n Te(n), i && (q = !0, i[\"s-ol\"] ? i[\"s-ol\"].remove() : M(i, !0), i.remove());\n }\n }\n}, pt = (e, t, r, s, n = !1) => {\n let i = 0, o = 0, f = 0, c = 0, l = t.length - 1, p = t[0], a = t[l], g = s.length - 1, u = s[0], $ = s[g], _, w;\n for (; i <= l && o <= g; )\n if (p == null)\n p = t[++i];\n else if (a == null)\n a = t[--l];\n else if (u == null)\n u = s[++o];\n else if ($ == null)\n $ = s[--g];\n else if (U(p, u, n))\n R(p, u, n), p = t[++i], u = s[++o];\n else if (U(a, $, n))\n R(a, $, n), a = t[--l], $ = s[--g];\n else if (U(p, $, n))\n (p.$tag$ === \"slot\" || $.$tag$ === \"slot\") && M(p.$elm$.parentNode, !1), R(p, $, n), T(e, p.$elm$, a.$elm$.nextSibling), p = t[++i], $ = s[--g];\n else if (U(a, u, n))\n (p.$tag$ === \"slot\" || $.$tag$ === \"slot\") && M(a.$elm$.parentNode, !1), R(a, u, n), T(e, a.$elm$, p.$elm$), a = t[--l], u = s[++o];\n else {\n for (f = -1, c = i; c <= l; ++c)\n if (t[c] && t[c].$key$ !== null && t[c].$key$ === u.$key$) {\n f = c;\n break;\n }\n f >= 0 ? (w = t[f], w.$tag$ !== u.$tag$ ? _ = G(t && t[o], r, f) : (R(w, u, n), t[f] = void 0, _ = w.$elm$), u = s[++o]) : (_ = G(t && t[o], r, o), u = s[++o]), _ && T(\n F(p.$elm$).parentNode,\n _,\n F(p.$elm$)\n );\n }\n i > l ? Oe(\n e,\n s[g + 1] == null ? null : s[g + 1].$elm$,\n r,\n s,\n o,\n g\n ) : o > g && Ae(t, i, l);\n}, U = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === \"slot\" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, F = (e) => e && e[\"s-ol\"] || e, R = (e, t, r = !1) => {\n const s = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, o = t.$tag$, f = t.$text$;\n let c;\n f === null ? (b = o === \"svg\" ? !0 : o === \"foreignObject\" ? !1 : b, te(e, t, b), n !== null && i !== null ? pt(s, n, t, i, r) : i !== null ? (e.$text$ !== null && (s.textContent = \"\"), Oe(s, null, t, i, 0, i.length - 1)) : (\n // don't do this on initial render as it can cause non-hydrated content to be removed\n !r && Y.updatable && n !== null && Ae(n, 0, n.length - 1)\n ), b && o === \"svg\" && (b = !1)) : (c = s[\"s-cr\"]) ? c.parentNode.textContent = f : e.$text$ !== f && (s.data = f);\n}, x = [], je = (e) => {\n let t, r, s;\n const n = e.__childNodes || e.childNodes;\n for (const i of n) {\n if (i[\"s-sr\"] && (t = i[\"s-cr\"]) && t.parentNode) {\n r = t.parentNode.__childNodes || t.parentNode.childNodes;\n const o = i[\"s-sn\"];\n for (s = r.length - 1; s >= 0; s--)\n if (t = r[s], !t[\"s-cn\"] && !t[\"s-nr\"] && t[\"s-hn\"] !== i[\"s-hn\"])\n if (ge(t, o)) {\n let f = x.find((c) => c.$nodeToRelocate$ === t);\n q = !0, t[\"s-sn\"] = t[\"s-sn\"] || o, f ? (f.$nodeToRelocate$[\"s-sh\"] = i[\"s-hn\"], f.$slotRefNode$ = i) : (t[\"s-sh\"] = i[\"s-hn\"], x.push({\n $slotRefNode$: i,\n $nodeToRelocate$: t\n })), t[\"s-sr\"] && x.map((c) => {\n ge(c.$nodeToRelocate$, t[\"s-sn\"]) && (f = x.find((l) => l.$nodeToRelocate$ === t), f && !c.$slotRefNode$ && (c.$slotRefNode$ = f.$slotRefNode$));\n });\n } else x.some((f) => f.$nodeToRelocate$ === t) || x.push({\n $nodeToRelocate$: t\n });\n }\n i.nodeType === 1 && je(i);\n }\n}, Te = (e) => {\n e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Te);\n}, T = (e, t, r) => (typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && t[\"s-cr\"] && ke(t[\"s-cr\"], t, e, t.parentElement), e == null ? void 0 : e.insertBefore(t, r));\nfunction ke(e, t, r, s) {\n var n, i;\n let o;\n if (e && typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && e.parentNode && e.parentNode[\"s-sc\"] && (o = t[\"s-si\"] || e.parentNode[\"s-sc\"])) {\n const f = t[\"s-sn\"], c = t[\"s-hn\"];\n if ((n = r.classList) == null || n.add(o + \"-s\"), s && ((i = s.classList) != null && i.contains(o + \"-s\"))) {\n let l = (s.__childNodes || s.childNodes)[0], p = !1;\n for (; l; ) {\n if (l[\"s-sn\"] !== f && l[\"s-hn\"] === c && l[\"s-sr\"]) {\n p = !0;\n break;\n }\n l = l.nextSibling;\n }\n p || s.classList.remove(o + \"-s\");\n }\n }\n}\nvar gt = (e, t, r = !1) => {\n var s, n, i, o, f;\n const c = e.$hostElement$, l = e.$cmpMeta$, p = e.$vnode$ || ee(null, null), a = ct(t) ? t : at(null, null, t);\n if (L = c.tagName, l.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, l.$attrsToReflect$.map(\n ([g, u]) => a.$attrs$[u] = c[g]\n )), r && a.$attrs$)\n for (const g of Object.keys(a.$attrs$))\n c.hasAttribute(g) && ![\"key\", \"ref\", \"style\", \"class\"].includes(g) && (a.$attrs$[g] = c[g]);\n a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = p.$elm$ = c.shadowRoot || c, W = c[\"s-sc\"], re = !!(l.$flags$ & 1) && !(l.$flags$ & 128), H = c[\"s-cr\"], q = !1, R(p, a, r);\n {\n if (z.$flags$ |= 1, oe) {\n je(a.$elm$);\n for (const g of x) {\n const u = g.$nodeToRelocate$;\n if (!u[\"s-ol\"] && A.document) {\n const $ = A.document.createTextNode(\"\");\n $[\"s-nr\"] = u, T(u.parentNode, u[\"s-ol\"] = $, u);\n }\n }\n for (const g of x) {\n const u = g.$nodeToRelocate$, $ = g.$slotRefNode$;\n if ($) {\n const _ = $.parentNode;\n let w = $.nextSibling;\n {\n let y = (s = u[\"s-ol\"]) == null ? void 0 : s.previousSibling;\n for (; y; ) {\n let h = (n = y[\"s-nr\"]) != null ? n : null;\n if (h && h[\"s-sn\"] === u[\"s-sn\"] && _ === (h.__parentNode || h.parentNode)) {\n for (h = h.nextSibling; h === u || h != null && h[\"s-sr\"]; )\n h = h == null ? void 0 : h.nextSibling;\n if (!h || !h[\"s-nr\"]) {\n w = h;\n break;\n }\n }\n y = y.previousSibling;\n }\n }\n const P = u.__parentNode || u.parentNode, S = u.__nextSibling || u.nextSibling;\n (!w && _ !== P || S !== w) && u !== w && (!u[\"s-hn\"] && u[\"s-ol\"] && (u[\"s-hn\"] = u[\"s-ol\"].parentNode.nodeName), T(_, u, w), u.nodeType === 1 && u.tagName !== \"SLOT-FB\" && (u.hidden = (i = u[\"s-ih\"]) != null ? i : !1)), u && typeof $[\"s-rf\"] == \"function\" && $[\"s-rf\"]($);\n } else\n u.nodeType === 1 && (r && (u[\"s-ih\"] = (o = u.hidden) != null ? o : !1), u.hidden = !0);\n }\n }\n q && xe(a.$elm$), z.$flags$ &= -2, x.length = 0;\n }\n if (Y.experimentalScopedSlotChanges && l.$flags$ & 2) {\n const g = a.$elm$.__childNodes || a.$elm$.childNodes;\n for (const u of g)\n u[\"s-hn\"] !== L && !u[\"s-sh\"] && (r && u[\"s-ih\"] == null && (u[\"s-ih\"] = (f = u.hidden) != null ? f : !1), u.hidden = !0);\n }\n H = void 0;\n};\nconst D = {\n content_wrap: 0,\n ignore: [],\n ignore_with: \"_!i-£___£%_\",\n strict: !1,\n tab_size: 2,\n tag_wrap: 0,\n tag_wrap_width: 80,\n trim: []\n}, E = \"__!i-£___£%__\", m = \"!i-£___£%_\", Re = [\n \"area\",\n \"base\",\n \"br\",\n \"col\",\n \"embed\",\n \"hr\",\n \"img\",\n \"input\",\n \"link\",\n \"meta\",\n \"param\",\n \"source\",\n \"track\",\n \"wbr\"\n], ae = (e) => /<(?:[A-Za-z]+[A-Za-z0-9]*)(?:\\s+.*?)*?\\/{0,1}>/.test(e) || /<(?<Element>(?:[A-Za-z]+[A-Za-z0-9]*:)?(?:[A-Za-z]+[A-Za-z0-9]*))(?:\\s+.*?)*?>(?:.|\\n)*?<\\/{1}\\k<Element>>/.test(e) || /<(?<Element>(?:[a-z][a-z0-9._]*:)?[a-z][a-z0-9._]*-[a-z0-9._-]+)(?:\\s+.*?)*?>(?:.|\\n)*?<\\/{1}\\k<Element>>/.test(e), Ne = (e, t) => {\n if (!e || !t)\n throw new Error(\"Both 'current' and 'updates' must be passed-in to mergeObjects()\");\n let r;\n if (Array.isArray(e))\n r = structuredClone(e).concat(t);\n else if (typeof e == \"object\") {\n r = { ...e };\n for (let s of Object.keys(t))\n typeof t[s] != \"object\" ? r[s] = t[s] : r[s] = Ne(r[s] || {}, t[s]);\n }\n return r;\n}, $t = (e, t) => Ne(structuredClone(e), t), dt = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*[^\\/])>/g, (t, r) => t.replace(r, (s) => s.replace(/\\n/g, m + \"nl!\").replace(/\\r/g, m + \"cr!\").replace(/\\s/g, m + \"ws!\"))), e), ht = (e) => e.replace(/\\n/g, E + \"nl!\").replace(/\\r/g, E + \"cr!\").replace(/\\s/g, E + \"ws!\"), yt = (e) => {\n const t = /\\s*<([a-zA-Z0-9:-]+)[^>]*>\\n\\s*<\\/\\1>(?=\\n[ ]*[^\\n]*__!i-£___£%__[^\\n]*\\n)(\\n[ ]*\\S[^\\n]*\\n)|<([a-zA-Z0-9:-]+)[^>]*>(?=\\n[ ]*[^\\n]*__!i-£___£%__[^\\n]*\\n)(\\n[ ]*\\S[^\\n]*\\n\\s*)<\\/\\3>/g;\n return e.replace(t, (r, s, n, i, o) => {\n const f = n || o;\n if (!f)\n return r;\n const c = f.replace(/\\n/g, E + \"nl!\").replace(/\\r/g, E + \"cr!\").replace(/\\s/g, E + \"ws!\");\n return r.replace(f, c);\n });\n}, _t = (e) => {\n const t = /<([A-Za-z][A-Za-z0-9]*|[a-z][a-z0-9._]*-[a-z0-9._-]+)((?:\\s+[A-Za-z0-9_-]+=\"[^\"]*\"|\\s*[a-z]*)*)>/g;\n return e = e.replace(t, (r, s, n) => r.replace(n, (i) => i.replace(/</g, m + \"lt!\").replace(/>/g, m + \"gt!\"))), e;\n}, bt = (e, t) => {\n const r = t.ignore, s = t.ignore_with;\n for (let n = 0; n < r.length; n++) {\n const i = new RegExp(`<${r[n]}[^>]*>((.|\n)*?)</${r[n]}>`, \"g\");\n e = e.replace(i, (o, f) => o.replace(f, (c) => c.replace(/</g, \"-\" + s + \"lt-\").replace(/>/g, \"-\" + s + \"gt-\").replace(/\\n/g, \"-\" + s + \"nl-\").replace(/\\r/g, \"-\" + s + \"cr-\").replace(/\\s/g, \"-\" + s + \"ws-\")));\n }\n return e;\n}, vt = (e, t) => {\n for (let r = 0; r < t.length; r++) {\n const s = new RegExp(`(<${t[r]}[^>]*>)\\\\s+`, \"g\"), n = new RegExp(`\\\\s+(</${t[r]}>)`, \"g\");\n e = e.replace(s, \"$1\").replace(n, \"$1\");\n }\n return e;\n}, wt = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*[^\\/])>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(m + \"nl!\", \"g\"), `\n`).replace(new RegExp(m + \"cr!\", \"g\"), \"\\r\").replace(new RegExp(m + \"ws!\", \"g\"), \" \"))), e), mt = (e) => (e = e.replace(/.*__!i-£___£%__[a-z]{2}!.*/g, (t) => t.replace(/__!i-£___£%__[a-z]{2}!/g, (r) => r.replace(new RegExp(E + \"nl!\", \"g\"), `\n`).replace(new RegExp(E + \"cr!\", \"g\"), \"\\r\").replace(new RegExp(E + \"ws!\", \"g\"), \" \"))), e), xt = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*)>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(m + \"lt!\", \"g\"), \"<\").replace(new RegExp(m + \"gt!\", \"g\"), \">\"))), e), Et = (e, t) => {\n const r = t.ignore, s = t.ignore_with;\n for (let n = 0; n < r.length; n++) {\n const i = new RegExp(`<${r[n]}[^>]*>((.|\n)*?)</${r[n]}>`, \"g\");\n e = e.replace(i, (o, f) => o.replace(f, (c) => c.replace(new RegExp(\"-\" + s + \"lt-\", \"g\"), \"<\").replace(new RegExp(\"-\" + s + \"gt-\", \"g\"), \">\").replace(new RegExp(\"-\" + s + \"nl-\", \"g\"), `\n`).replace(new RegExp(\"-\" + s + \"cr-\", \"g\"), \"\\r\").replace(new RegExp(\"-\" + s + \"ws-\", \"g\"), \" \")));\n }\n return e;\n}, St = (e) => {\n var s, n;\n if (typeof e != \"object\") throw new Error(\"Config must be an object.\");\n if (!(Object.hasOwn(e, \"content_wrap\") || Object.hasOwn(e, \"ignore\") || Object.hasOwn(e, \"ignore_with\") || Object.hasOwn(e, \"strict\") || Object.hasOwn(e, \"tab_size\") || Object.hasOwn(e, \"tag_wrap\") || Object.hasOwn(e, \"tag_wrap_width\") || Object.hasOwn(e, \"trim\"))) return D;\n let r = e.tab_size;\n if (r) {\n if (typeof r != \"number\") throw new Error(`tab_size must be a number, not ${typeof e.tab_size}.`);\n if (!Number.isSafeInteger(r)) throw new Error(`Tab size ${r} is not safe. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger for more info.`);\n if (r = Math.floor(r), r < 1 || r > 16) throw new Error(\"Tab size out of range. Expecting 1 to 16.\");\n e.tab_size = r;\n }\n if (Object.hasOwn(e, \"content_wrap\") && typeof e.content_wrap != \"number\")\n throw new Error(`content_wrap config must be a number, not ${typeof e.tag_wrap_width}.`);\n if (Object.hasOwn(e, \"ignore\") && (!Array.isArray(e.ignore) || !((s = e.ignore) != null && s.every((i) => typeof i == \"string\"))))\n throw new Error(\"Ignore config must be an array of strings.\");\n if (Object.hasOwn(e, \"ignore_with\") && typeof e.ignore_with != \"string\")\n throw new Error(`Ignore_with config must be a string, not ${typeof e.ignore_with}.`);\n if (Object.hasOwn(e, \"strict\") && typeof e.strict != \"boolean\")\n throw new Error(`Strict config must be a boolean, not ${typeof e.strict}.`);\n if (Object.hasOwn(e, \"tag_wrap\") && typeof e.tag_wrap == \"boolean\" && (console.warn(\"tag_wrap as a boolean is deprecated, and will not be supported in v0.9.0+. Use `tag_wrap: <number>` instead; where <number> is the max character width acceptable before wrapping attributes.\"), e.tag_wrap_width ? e.tag_wrap = e.tag_wrap_width : e.tag_wrap = D.tag_wrap_width), Object.hasOwn(e, \"tag_wrap\") && typeof e.tag_wrap != \"number\")\n throw new Error(`tag_wrap config must be a number, not ${typeof e.tag_wrap}.`);\n if (Object.hasOwn(e, \"tag_wrap_width\") && console.warn(\"tag_wrap_width is deprecated, and will not be supported in v0.9.0+. Use `tag_wrap: <number>` instead; where <number> is the max character width acceptable before wrapping attributes.\"), Object.hasOwn(e, \"tag_wrap_width\") && typeof e.tag_wrap_width != \"number\")\n throw new Error(`tag_wrap_width config must be a number, not ${typeof e.tag_wrap_width}.`);\n if (Object.hasOwn(e, \"trim\") && (!Array.isArray(e.trim) || !((n = e.trim) != null && n.every((i) => typeof i == \"string\"))))\n throw new Error(\"Trim config must be an array of strings.\");\n return $t(D, e);\n}, Ot = (e, t, r) => {\n const s = e.trim().split(/\\s+/);\n if (s.length === 0 || s.length === 1 && s[0] === \"\")\n return \"\";\n const n = [];\n let i = \"\";\n const o = r;\n s.forEach((c) => {\n if (c === \"\") return;\n if (c.length >= t) {\n i !== \"\" && n.push(n.length === 0 ? r + i : o + i), n.push(n.length === 0 ? r + c : o + c), i = \"\";\n return;\n }\n const l = i === \"\" ? c : i + \" \" + c;\n l.length <= t ? i = l : (i !== \"\" && n.push(n.length === 0 ? r + i : o + i), i = c);\n }), i !== \"\" && n.push(n.length === 0 ? r + i : o + i);\n const f = n.join(`\n`);\n return ht(f);\n}, At = (e, t = !0) => t && !ae(e) ? e : e.replace(/<([a-zA-Z\\-0-9:]+)[^>]*>/g, (r, s) => Re.indexOf(s) > -1 ? `${r.substring(0, r.length - 1)} />`.replace(/\\/\\s\\//g, \"/\") : r.replace(/[\\s]?\\/>/g, `></${s}>`)), jt = (e, t = !1) => (e = e.replace(/<textarea[^>]*>((.|\\n)*?)<\\/textarea>/g, (r, s) => r.replace(s, (n) => n.replace(/</g, \"&lt;\").replace(/>/g, \"&gt;\").replace(/\"/g, \"&quot;\").replace(/'/g, \"&apos;\").replace(/\\n/g, \"&#10;\").replace(/\\r/g, \"&#13;\").replace(/\\s/g, \"&nbsp;\"))), t && (e = e.replace(/<textarea[^>]*>((.|\\n)*?)<\\/textarea>/g, (r, s) => (r = r.replace(s, (n) => n.replace(/\\n|\\t/g, \"\").replace(/[a-z]+=\"\\s*\"/ig, \"\").replace(/>\\s+</g, \"><\").replace(/\\s+/g, \" \")), r = r.replace(/\\s+/g, \" \").replace(/\\s>/g, \">\").replace(/>\\s/g, \">\").replace(/\\s</g, \"<\").replace(/class=[\"']\\s/g, (n) => n.replace(/\\s/g, \"\")).replace(/(class=.*)\\s([\"'])/g, \"$1$2\"), r))), e), Tt = (e, t = !0) => (t && !ae(e) || (e = jt(e), e = e.replace(/\\n|\\t/g, \"\"), e = e.replace(/>\\s+</g, \"><\"), e = e.replace(/ {2,}/g, \" \"), e = e.replace(/ >/g, \">\"), e = e.replace(/ </g, \"<\"), e = e.replace(/> /g, \">\"), e = e.replace(/<\\s*\\//g, \"</\"), e = e.replace(/ = /g, \"=\"), e = e.replace(\n /([a-zA-Z0-9_-]+)=(['\"])(.*?)\\2/g,\n (r, s, n, i) => {\n const o = i.trim();\n return `${s}=${n}${o}${n}`;\n }\n), e = e.trim()), e);\nlet B, se;\nconst I = {\n line: []\n}, kt = (e) => {\n I.line = [];\n let t = -1;\n const r = /(<[^>]+>)|([^<]+)/g;\n return e = e.replace(r, (s, n, i) => (n ? I.line.push({ type: \"tag\", value: s }) : i && i.trim().length > 0 && I.line.push({ type: \"text\", value: s }), t++, `\n[#-# : ${t} : ${s} : #-#]\n`)), e;\n}, Rt = (e) => (e = At(e, !1), se.length > 0 && (e = vt(e, se)), e = Tt(e, !1), e = kt(e), e), Nt = (e, t) => {\n const r = \" \".repeat(t.tab_size), s = t.tag_wrap, n = t.content_wrap;\n let i = \"\";\n const o = [], f = /<[A-Za-z]+\\b[^>]*(?:.|\\n)*?\\/?>/g, c = /\\s{1}[A-Za-z-]+(?:=\".*?\")?/g;\n I.line.forEach((p, a) => {\n let g = p.value, u = 0;\n const $ = I.line[a - 1], _ = ($ == null ? void 0 : $.value) ?? \"\";\n i += \"0\", a === 0 && u++, g.trim().startsWith(\"</\") && u++, _.trim().startsWith(\"<!doctype\") && u++, _.trim().startsWith(\"<!--\") && u++, _.trim().endsWith(\"/>\") && u++, _.trim().startsWith(\"</\") && u++, ($ == null ? void 0 : $.type) === \"text\" && u++;\n const P = Math.max(0, i.length - u);\n i = i.substring(0, P);\n const S = r.repeat(P);\n if (B && g.trim().startsWith(\"<!--\"))\n return;\n let y = g;\n if (p.type === \"text\" && n > 0 && y.length >= n)\n y = Ot(y, n, S);\n else if (s > 0 && y.length > s && f.test(y)) {\n f.lastIndex = 0, c.lastIndex = 0;\n const h = y.split(c).filter(Boolean);\n if (h.length >= 2) {\n const Le = y.matchAll(c), Me = S + r;\n let Q = S + h[0] + `\n`;\n for (const Ue of Le) {\n const We = Ue[0].trim();\n Q += Me + We + `\n`;\n }\n const le = h[0].match(/<([A-Za-z_:-]+)/), Fe = le ? le[1] : \"\", Ce = Re.includes(Fe), Pe = h[1].trim(), Ze = S + (B && Ce ? \" \" : \"\");\n Q += Ze + Pe, y = Q;\n } else\n y = S + y;\n } else\n y = S + y;\n o.push(y);\n });\n let l = o.join(`\n`);\n return s > 0 && (l = dt(l)), n > 0 && /\\n[ ]*[^\\n]*__!i-£___£%__[^\\n]*\\n/.test(l) && (l = yt(l)), l = l.replace(\n /<(?<Element>.+).*>[^<]*?[^><\\/\\s][^<]*?<\\/{1}\\k<Element>|<script[^>]*>\\s+<\\/script>|<(\\w+)>\\s+<\\/(\\w+)|<(?:([\\w:\\._-]+)|([\\w:\\._-]+)[^>]*[^\\/])>\\s+<\\/([\\w:\\._-]+)>/g,\n (p) => p.replace(/\\n|\\t|\\s{2,}/g, \"\")\n ), n > 0 && (l = mt(l)), s > 0 && (l = wt(l)), B && (l = l.replace(/\\s\\/>|\\/>/g, \">\")), l.startsWith(`\n`) && (l = l.substring(1)), l.endsWith(`\n`) && (l = l.substring(0, l.length - 1)), l;\n}, zt = (e, t) => {\n if (!ae(e)) return e;\n const r = t ? St(t) : D;\n B = r.strict;\n const s = r.ignore.length > 0;\n return se = r.trim, s && (e = bt(e, r)), e = _t(e), e = Rt(e), e = Nt(e, r), e = xt(e), s && (e = Et(e, r)), e;\n}, It = (e, t, r) => {\n [null, void 0, \"\", !1].includes(r) || [\"innerHTML\", \"style\", \"\"].includes(t) || e.setAttribute(t, [\"object\", \"function\"].includes(typeof r) ? \"⚠️ Property must be set through a script or a framework-specific syntax.\" : r);\n}, ze = (e, t, r, s, n) => {\n if (t && typeof t == \"string\") {\n const i = document.createElement(t);\n Object.keys(r || {}).forEach((o) => {\n It(i, o, r[o]);\n }), s == null || s.forEach((o) => {\n ze(i, o.$tag$, o.$attrs$, o.$children$, o.$text$);\n }), r != null && r.innerHTML && (i.innerHTML = r.innerHTML), e.appendChild(i);\n }\n n && (e.innerHTML = n);\n}, sr = (e, t, r = []) => {\n const s = {};\n if (typeof e != \"object\")\n throw new Error(\"filterArgs - args isn't an object.\");\n for (const n in e)\n if (!r.includes(n)) {\n const i = e[n], o = n.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n (!t || !Object.keys(t).includes(n) || t[n] !== i) && (s[o] = i);\n }\n return s;\n}, nr = (e, t) => {\n var s, n;\n const r = document.getElementById(\"storybook-root\");\n if (r !== null)\n return (n = document.querySelector(\"[lang]\")) == null || n.setAttribute(\"lang\", ((s = t.globals) == null ? void 0 : s.locale) || \"en\"), gt(\n {\n $cmpMeta$: {\n $flags$: 0,\n $tagName$: r.tagName\n },\n $hostElement$: r\n },\n e(t)\n ), r.children[r.children.length - 1];\n}, ir = ({ $tag$: e, $attrs$: t, $children$: r, $text$: s }) => {\n const n = document.createElement(\"div\");\n return ze(n, e, t, r, s), zt(n.innerHTML, {\n tag_wrap: 40,\n content_wrap: 120\n }).replace(/=\"true\"/g, \"\");\n}, J = (e, t) => {\n if (!t)\n return;\n const r = t.split(\"/\");\n return `${e}${r.slice(2, r.length - 1).join(\"-\")}--docs`;\n};\nvar j, X;\nclass or {\n constructor(t) {\n /**\n * JsonDocs\n */\n d(this, \"jsonDoc\");\n /**\n * Get component data from the jsonDoc\n * @param tagName - tag name we want to get the data from\n * @returns component data\n */\n k(this, j, (t) => this.jsonDoc.components.find((r) => r.tag === t));\n /**\n * Get the control for the given prop\n * Based on https://storybook.js.org/docs/api/arg-types#controltype\n * @param prop - prop to get control for\n * @returns control type and options if applicable\n */\n k(this, X, (t) => {\n const r = t.type.replace(/\"([^\"]+)\"/g, \"$1\").replace(/\\s/g, \"\").replace(/\\(.*?\\)/g, (s) => s.replace(/\\|/g, \" OR \")).split(\"|\").map((s) => s.trim().replace(/ OR /g, \"|\"));\n return t.type === \"string\" ? { control: { type: \"text\" } } : t.type === \"number\" ? { control: { type: \"number\" } } : t.type === \"boolean\" ? { control: { type: \"boolean\" } } : t.type.startsWith(\"{\") && t.type.endsWith(\"}\") ? { control: { type: \"object\" } } : r.length > 1 ? r.includes(\"string\") ? { control: { type: \"text\" } } : r.every((s) => s == null ? void 0 : s.includes(\"[]\")) ? { control: { type: \"object\" } } : (r.unshift(void 0), { control: { type: \"select\" }, options: r }) : { control: { type: \"object\" } };\n });\n /**\n * Extract component arg types from the component data\n * @param tagName - tag name we want to extract the arg types from\n * @returns component arg types\n */\n d(this, \"extractArgTypes\", (t) => {\n const r = v(this, j).call(this, t), s = r == null ? void 0 : r.props.reduce((p, a) => {\n const { control: g, options: u } = v(this, X).call(this, a);\n return {\n ...p,\n [a.name]: {\n name: a.attr || a.name,\n description: a.docs,\n type: { required: a.required },\n table: {\n category: \"props\",\n type: { summary: a.type },\n defaultValue: { summary: a.default }\n },\n control: g,\n options: u\n }\n };\n }, {}), n = r == null ? void 0 : r.events.reduce(\n (p, a) => ({\n ...p,\n [a.event]: {\n name: a.event,\n description: a.docs,\n table: {\n category: \"events\",\n type: { summary: a.detail }\n }\n }\n }),\n {}\n ), i = r == null ? void 0 : r.methods.reduce(\n (p, a) => ({\n ...p,\n [a.name]: {\n name: a.name,\n description: a.docs,\n table: {\n category: \"methods\",\n type: { summary: a.signature }\n }\n }\n }),\n {}\n ), o = r == null ? void 0 : r.slots.reduce(\n (p, a) => ({\n ...p,\n [a.name]: {\n name: a.name !== \"\" ? a.name : \"default\",\n // default slot are unnamed\n description: a.docs,\n table: {\n category: \"slots\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), f = r == null ? void 0 : r.styles.reduce(\n (p, a) => ({\n ...p,\n [a.name]: {\n name: a.name,\n description: a.docs,\n table: {\n category: \"custom properties\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), c = r == null ? void 0 : r.dependencies.reduce((p, a) => {\n const g = v(this, j).call(this, a);\n return g ? {\n ...p,\n [a]: {\n name: a,\n description: `<a href=\"./?path=/docs/${J(\"\", g == null ? void 0 : g.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"depends on\",\n type: { summary: void 0 }\n }\n }\n } : p;\n }, {}), l = r == null ? void 0 : r.dependents.reduce((p, a) => {\n const g = v(this, j).call(this, a);\n return g ? {\n ...p,\n [a]: {\n name: a,\n description: `<a href=\"./?path=/docs/${J(\"\", g == null ? void 0 : g.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"used by\",\n type: { summary: void 0 }\n }\n }\n } : p;\n }, {});\n return {\n ...s,\n ...n,\n ...i,\n ...o,\n ...f,\n ...c,\n ...l\n };\n });\n /**\n * Extract component description from the component data\n * @param tagName - tag name we want to extract the description from\n * @returns component description\n */\n d(this, \"extractComponentDescription\", (t) => {\n const r = v(this, j).call(this, t);\n return (r == null ? void 0 : r.readme) || (r == null ? void 0 : r.docs);\n });\n this.jsonDoc = t;\n }\n}\nj = new WeakMap(), X = new WeakMap();\nconst Lt = (e, t) => {\n if (t)\n return `${e}${t}`;\n}, Ie = (e) => {\n let t = e.overview ? `${e.overview}\n\n` : \"\";\n const r = e.props.filter(({ attr: n }) => n !== void 0);\n r.length && (t += `Attributes:\n`, t += r.map(({ attr: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`);\n const s = e.props.filter(({ attr: n }) => n === void 0);\n return s.length && (t += `Properties:\n`, t += s.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.methods.length && (t += `Methods:\n`, t += e.methods.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.events.length && (t += `Events:\n`, t += e.events.map(({ event: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.listeners.length && (t += `Listeners:\n`, t += e.listeners.map(({ event: n }) => `- \\`${n}\\`\n`).join(\"\"), t += `\n`), e.slots.length && (t += `Slots:\n`, t += e.slots.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), t;\n}, ne = (e) => `${e.docs}\n\nType: \\`${e.type}\\``, ar = (e, t, r, s) => ({\n $schema: \"https://json.schemastore.org/web-types\",\n name: e,\n version: t,\n \"description-markup\": \"markdown\",\n contributions: {\n html: {\n elements: r.components.map((n) => {\n const i = J(s, n.filePath);\n return {\n name: n.tag,\n description: Ie(n),\n \"doc-url\": i,\n attributes: n.props.filter((o) => o.attr).map((o) => ({\n name: o.attr,\n description: ne(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n js: {\n properties: n.props.map((o) => ({\n name: o.name,\n description: ne(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n events: n.events.map((o) => ({\n name: o.event,\n description: o.docs\n }))\n },\n css: {\n properties: n.styles.map((o) => ({\n name: o.name,\n description: o.docs\n }))\n }\n };\n })\n }\n }\n}), Mt = (e, t, r) => [\n { name: \"Storybook\", url: J(e, r) },\n { name: \"Sources\", url: Lt(t, r) }\n], Ft = (e) => {\n if (!e.values.some(({ value: t }) => t === void 0))\n return e.values.map(({ value: t }) => ({ name: t }));\n}, lr = (e, t, r) => ({\n version: 1.1,\n tags: e.components.map((s) => {\n const n = Mt(t, r, s.filePath);\n return {\n name: s.tag,\n description: Ie(s),\n attributes: s.props.map((i) => ({\n name: i.attr || i.name,\n description: ne(i),\n values: Ft(i),\n references: n\n })),\n references: n\n };\n }),\n globalAttributes: [],\n valueSets: []\n}), cr = (e) => ({\n version: 1.1,\n properties: e.components.flatMap(\n (t) => t.styles.map((r) => ({\n name: r.name,\n description: r.docs\n }))\n )\n}), fr = (e) => {\n const t = { value: \"2023\", pattern: \"yyyy\" }, r = { value: \"12\", pattern: \"mm\" }, s = { value: \"24\", pattern: \"dd\" };\n return Zt([t.value, r.value, s.value].join(\"-\"), e, { timeZone: \"UTC\" }).replace(t.value, t.pattern).replace(r.value, r.pattern).replace(s.value, s.pattern);\n}, ur = (e) => e.toISOString().split(\"T\")[0], Ct = (e, t, r) => {\n const s = e.closest(\"[lang]\"), n = Intl.NumberFormat.supportedLocalesOf(s == null ? void 0 : s.lang), i = n.length > 0 && typeof n[0] == \"string\" ? n[0] : navigator.language || r, o = i.split(\"-\").shift();\n return Object.keys(t).length === 0 ? {\n locale: i,\n messages: { lang: r }\n } : {\n locale: i,\n messages: t[o] || t[r] || { lang: r }\n };\n}, pr = (e, t, r) => new Intl.NumberFormat(t, { style: \"currency\", currency: r }).format(e), gr = (e, t, r = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: r }).format(Number(e)), $r = (e, t, r = 0) => new Intl.NumberFormat(t, {\n style: \"percent\",\n minimumFractionDigits: r,\n maximumFractionDigits: r\n}).format(e), dr = (e, t, r, s = \"short\", n = 0) => new Intl.NumberFormat(t, {\n style: \"unit\",\n unit: r,\n unitDisplay: s,\n minimumFractionDigits: n,\n maximumFractionDigits: n\n}).format(e), Pt = /^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$/, Zt = (e, t, r) => typeof e != \"string\" || e === \"\" || !Pt.test(e) ? \"\" : new Intl.DateTimeFormat(t, r).format(new Date(e)), hr = (e, t) => (r) => Ct(r, e, t), yr = ({ disconnect: e, observe: t, takeRecords: r }) => {\n class s {\n constructor(i) {\n /**\n *\n */\n d(this, \"disconnect\", e);\n /**\n *\n */\n d(this, \"observe\", t);\n /**\n *\n */\n d(this, \"takeRecords\", r);\n /**\n *\n */\n d(this, \"cb\");\n this.cb = i;\n }\n }\n return [window, global].forEach((n) => {\n Object.defineProperty(n, \"MutationObserver\", {\n writable: !0,\n configurable: !0,\n value: s\n });\n }), s;\n}, _r = ({ disconnect: e, observe: t }) => {\n class r {\n constructor(n) {\n /**\n *\n */\n d(this, \"disconnect\", e);\n /**\n *\n */\n d(this, \"observe\", t);\n /**\n *\n */\n d(this, \"unobserve\");\n /**\n *\n */\n d(this, \"cb\");\n this.cb = n;\n }\n }\n return [window, global].forEach((s) => {\n Object.defineProperty(s, \"ResizeObserver\", {\n writable: !0,\n configurable: !0,\n value: r\n });\n }), r;\n};\nclass Ut extends Event {\n constructor() {\n super(...arguments);\n /**\n *\n */\n d(this, \"detail\");\n }\n // eslint-disable-line @typescript-eslint/no-explicit-any\n}\nconst br = () => {\n class e extends Ut {\n }\n return [window, global].forEach((t) => {\n Object.defineProperty(t, \"SubmitEvent\", {\n writable: !0,\n configurable: !0,\n value: e\n });\n }), e;\n}, vr = (e) => {\n const t = (r) => (setTimeout(r, 1), e(), 0);\n return [window, global].forEach((r) => {\n Object.defineProperty(r, \"requestAnimationFrame\", {\n writable: !0,\n configurable: !0,\n value: t\n });\n }), t;\n};\nexport {\n qt as ClassList,\n tr as Cursor,\n Je as Page,\n rr as Paginate,\n or as StorybookPreview,\n Gt as allItemsAreString,\n Vt as cleanString,\n Dt as createID,\n Pt as dateRegExp,\n ur as dateToString,\n hr as defineLocales,\n sr as filterArgs,\n Xt as focusableElements,\n Ht as formatID,\n fr as getLocaleDatePattern,\n Ge as getObjectValueFromKey,\n _e as getParentWindows,\n ir as getStoryHTML,\n J as getStorybookUrl,\n Kt as getWindows,\n K as isObject,\n Jt as isTagName,\n Qt as isValidNumber,\n qe as isValidString,\n Bt as isValideID,\n pr as localeCurrency,\n Zt as localeDate,\n gr as localeNumber,\n $r as localePercent,\n dr as localeUnit,\n er as nextTick,\n vr as setUpRequestAnimationFrameMock,\n yr as setupMutationObserverMock,\n _r as setupResizeObserverMock,\n br as setupSubmitEventMock,\n nr as stencilWrapper,\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AAqB,EAAE,CAAC;AAC1B,EAAE,qBAAqB,EAAE;AACzB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE;AAC7E,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,WAAW,EAAE,CAAC;AAChB,EAAE,qBAAqB,EAAE,CAAC;AAC1B,EAAE,qBAAqB,EAAE;AACzB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,+CAA+C,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,QAAQ,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;;;;"}
@@ -1,8 +1,2 @@
1
- import { type ExtendedPlacement, placements } from '../../../utils/floating-ui.utils';
2
- export * from '../../../utils/floating-ui.utils';
3
1
  export type GuardType = 'focus' | 'hoverTooltip' | 'hoverTooltiped' | 'disableOnClick';
4
2
  export declare const Guard: Record<string, GuardType>;
5
- /**
6
- * Placement type from placements
7
- */
8
- export type TooltipPlacementType = ExtendedPlacement & (typeof placements)[number];
@@ -1,4 +1,4 @@
1
- import { type TooltipPlacementType } from './mg-tooltip.conf';
1
+ import { Placement } from '@popperjs/core';
2
2
  /**
3
3
  * @slot - Element that will display the tooltip
4
4
  */
@@ -6,12 +6,11 @@ export declare class MgTooltip {
6
6
  /************
7
7
  * Internal *
8
8
  ************/
9
+ private popper;
9
10
  private mgTooltipContent;
10
11
  private tooltipedElement;
11
- private arrowElement;
12
12
  private windows;
13
13
  private hasCustomTabIndex;
14
- private tooltipStrategy;
15
14
  private guard;
16
15
  /**************
17
16
  * Decorators *
@@ -34,8 +33,7 @@ export declare class MgTooltip {
34
33
  /**
35
34
  * Tooltip placement
36
35
  */
37
- placement: TooltipPlacementType;
38
- watchPlacement(newValue: TooltipPlacementType): void;
36
+ placement: Placement;
39
37
  /**
40
38
  * Display tooltip
41
39
  */
@@ -87,10 +85,10 @@ export declare class MgTooltip {
87
85
  */
88
86
  private setMgButtonWrapper;
89
87
  /**
90
- * Update tooltip position
91
- * @returns autoUpdate function
88
+ * Set popper instance
89
+ * @param strategy - popper strategy to apply on instance
92
90
  */
93
- private updateTooltip;
91
+ private setPopper;
94
92
  /**
95
93
  * Define selected element to become tooltip selector and init listeners
96
94
  * @param element - tooltiped element
@@ -20,5 +20,5 @@ export type ResponseMappingType = {
20
20
  items: string;
21
21
  next: string;
22
22
  itemTitle: string;
23
- itemValue: string;
23
+ itemValue?: string;
24
24
  };
@@ -15,6 +15,7 @@ export declare class MgInputCombobox {
15
15
  private hasDisplayedError;
16
16
  private handlerInProgress;
17
17
  private loadingAction;
18
+ private debounce;
18
19
  private page;
19
20
  /**************
20
21
  * Decorators *
@@ -206,6 +207,10 @@ export declare class MgInputCombobox {
206
207
  * Emited event when checking validity
207
208
  */
208
209
  inputValid: EventEmitter<HTMLMgInputComboboxElement['valid']>;
210
+ /**
211
+ * Emited event when fetch API throw an error
212
+ */
213
+ fetchError: EventEmitter<Error>;
209
214
  /**
210
215
  * Public method to play input focus
211
216
  */
@@ -161,15 +161,6 @@ export declare class MgInputSelect {
161
161
  * @returns truthy if input.value is an item
162
162
  */
163
163
  private isInputValue;
164
- /**
165
- * value props setter
166
- * @param newValue - value to update with
167
- */
168
- private setValue;
169
- /**
170
- * Update value from input.value
171
- */
172
- private updateValue;
173
164
  /**
174
165
  * Handle blur event
175
166
  */
@@ -8,6 +8,7 @@ export declare class MgDetails {
8
8
  * Internal *
9
9
  ************/
10
10
  private details;
11
+ private isEmptySummary;
11
12
  /**************
12
13
  * Decorators *
13
14
  **************/
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { type PopoverPlacementType } from './mg-popover.conf';
2
+ import { Placement } from '@popperjs/core';
3
3
  /**
4
4
  * @slot - Element that will display the popover
5
5
  * @slot content - popover content
@@ -9,11 +9,11 @@ export declare class MgPopover {
9
9
  /************
10
10
  * Internal *
11
11
  ************/
12
+ private popper;
12
13
  private mgPopover;
13
14
  private mgPopoverContent;
14
15
  private windows;
15
16
  private interactiveElement;
16
- private arrowElement;
17
17
  /**************
18
18
  * Decorators *
19
19
  **************/
@@ -30,8 +30,7 @@ export declare class MgPopover {
30
30
  /**
31
31
  * Popover placement
32
32
  */
33
- placement: PopoverPlacementType;
34
- watchPlacement(newValue: any): void;
33
+ placement: Placement;
35
34
  /**
36
35
  * Hide popover arrow
37
36
  */
@@ -72,6 +71,11 @@ export declare class MgPopover {
72
71
  * Hide popover
73
72
  */
74
73
  private hide;
74
+ /**
75
+ * Set popper listeners
76
+ * @param newValue - if true enable popper listners
77
+ */
78
+ private setPopperListeners;
75
79
  /**
76
80
  * Manage all clickOustside listeners
77
81
  * @param action - top process on elements listeners
@@ -85,20 +89,6 @@ export declare class MgPopover {
85
89
  * Render popover content element
86
90
  */
87
91
  private renderPopoverContent;
88
- /**
89
- * Get alternative placements ordered by proximity to initial placement
90
- * First check fallbackPlacement attribute, then generate alternatives:
91
- * 1. Same side with different alignments (start, center, end)
92
- * 2. Other sides in order
93
- * @param placement - initial placement
94
- * @returns array of alternative placements
95
- */
96
- private getClosestPlacements;
97
- /**
98
- * Update popover position
99
- * @returns autoUpdate function
100
- */
101
- private updatePopover;
102
92
  /*************
103
93
  * Lifecycle *
104
94
  *************/
@@ -114,10 +104,6 @@ export declare class MgPopover {
114
104
  * Check if component props are well configured on init
115
105
  */
116
106
  componentDidLoad(): void;
117
- /**
118
- * Cleanup when component is disconnected
119
- */
120
- disconnectedCallback(): void;
121
107
  /**
122
108
  * Render
123
109
  * @returns HTML Element
@@ -29,13 +29,12 @@ import { MgMenuStatusType, TargetType } from "./components/molecules/menus/mg-me
29
29
  import { VariantStyleType as VariantStyleType1, VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
30
30
  import { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
31
31
  import { ExpandToggleDisplayType, TitlePositionType } from "./components/molecules/mg-panel/mg-panel.conf";
32
- import { PopoverPlacementType } from "./components/molecules/mg-popover/mg-popover.conf";
32
+ import { Placement } from "@popperjs/core";
33
33
  import { AriaRoleType as AriaRoleType1 } from "./components/molecules/mg-progress/mg-progress.conf";
34
34
  import { SkipLink } from "./components/molecules/mg-skip-links/mg-skip-links.conf";
35
35
  import { ColumnsType, TableSizeType } from "./components/molecules/mg-table/mg-table.conf";
36
36
  import { SizeType as SizeType2, TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
37
37
  import { TagVariantType } from "./components/atoms/mg-tag/mg-tag.conf";
38
- import { TooltipPlacementType } from "./components/atoms/mg-tooltip/mg-tooltip.conf";
39
38
  export { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType, MgActionMoreItemType } from "./components/molecules/mg-action-more/mg-action-more.conf";
40
39
  export { VariantStyleType, VariantType } from "./components/molecules/mg-alert/mg-alert.conf";
41
40
  export { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
@@ -60,13 +59,12 @@ export { MgMenuStatusType, TargetType } from "./components/molecules/menus/mg-me
60
59
  export { VariantStyleType as VariantStyleType1, VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
61
60
  export { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
62
61
  export { ExpandToggleDisplayType, TitlePositionType } from "./components/molecules/mg-panel/mg-panel.conf";
63
- export { PopoverPlacementType } from "./components/molecules/mg-popover/mg-popover.conf";
62
+ export { Placement } from "@popperjs/core";
64
63
  export { AriaRoleType as AriaRoleType1 } from "./components/molecules/mg-progress/mg-progress.conf";
65
64
  export { SkipLink } from "./components/molecules/mg-skip-links/mg-skip-links.conf";
66
65
  export { ColumnsType, TableSizeType } from "./components/molecules/mg-table/mg-table.conf";
67
66
  export { SizeType as SizeType2, TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
68
67
  export { TagVariantType } from "./components/atoms/mg-tag/mg-tag.conf";
69
- export { TooltipPlacementType } from "./components/atoms/mg-tooltip/mg-tooltip.conf";
70
68
  export namespace Components {
71
69
  interface MgActionMore {
72
70
  /**
@@ -1590,7 +1588,7 @@ export namespace Components {
1590
1588
  /**
1591
1589
  * Popover placement
1592
1590
  */
1593
- "placement": PopoverPlacementType;
1591
+ "placement": Placement;
1594
1592
  }
1595
1593
  interface MgPopoverContent {
1596
1594
  /**
@@ -1696,7 +1694,7 @@ export namespace Components {
1696
1694
  /**
1697
1695
  * Tooltip placement
1698
1696
  */
1699
- "placement": TooltipPlacementType;
1697
+ "placement": Placement;
1700
1698
  }
1701
1699
  interface MgTooltipContent {
1702
1700
  /**
@@ -1964,6 +1962,7 @@ declare global {
1964
1962
  "filter-change": string;
1965
1963
  "load-more": void;
1966
1964
  "input-valid": HTMLMgInputComboboxElement['valid'];
1965
+ "fetch-error": Error;
1967
1966
  }
1968
1967
  interface HTMLMgInputComboboxElement extends Components.MgInputCombobox, HTMLStencilElement {
1969
1968
  addEventListener<K extends keyof HTMLMgInputComboboxElementEventMap>(type: K, listener: (this: HTMLMgInputComboboxElement, ev: MgInputComboboxCustomEvent<HTMLMgInputComboboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2845,6 +2844,10 @@ declare namespace LocalJSX {
2845
2844
  * Input name If not set the value equals the identifier
2846
2845
  */
2847
2846
  "name"?: string;
2847
+ /**
2848
+ * Emited event when fetch API throw an error
2849
+ */
2850
+ "onFetch-error"?: (event: MgInputComboboxCustomEvent<Error>) => void;
2848
2851
  /**
2849
2852
  * Emited event when filter change
2850
2853
  */
@@ -3902,7 +3905,7 @@ declare namespace LocalJSX {
3902
3905
  /**
3903
3906
  * Popover placement
3904
3907
  */
3905
- "placement"?: PopoverPlacementType;
3908
+ "placement"?: Placement;
3906
3909
  }
3907
3910
  interface MgPopoverContent {
3908
3911
  /**
@@ -4020,7 +4023,7 @@ declare namespace LocalJSX {
4020
4023
  /**
4021
4024
  * Tooltip placement
4022
4025
  */
4023
- "placement"?: TooltipPlacementType;
4026
+ "placement"?: Placement;
4024
4027
  }
4025
4028
  interface MgTooltipContent {
4026
4029
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@mgdis/mg-components",
4
- "version": "6.10.0",
4
+ "version": "6.11.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1824,7 +1824,7 @@
1824
1824
  },
1825
1825
  {
1826
1826
  "name": "mg-input-combobox",
1827
- "description": "Attributes:\n- `disabled`: Define if input is disabled\n- `fetchurl`: Define API url to fetch\n- `help-text`: Add a help text under the input, usually expected data format and example\n- `identifier`: Identifier is used for the element ID (id is a reserved prop in Stencil.js)\n- `invalid`: Define input invalid state\n- `items-label`: Define items label\nInclude short description. Required for accessibility.\n- `label`: Input label\n- `label-hide`: Define if label is visible\n- `label-on-top`: Define if label is displayed on top\n- `mg-width`: Define input width\n- `name`: Input name\nIf not set the value equals the identifier\n- `placeholder`: Define input placeholder.\nIt should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help combobox.\n- `readonly`: Define if input is readonly\n- `required`: Define if input is required\n- `tooltip`: Add a tooltip message next to the input\n- `tooltip-position`: Define tooltip position\n- `valid`: Define input valid state\n- `value`: Define component value\n\nProperties:\n- `fetchmappings`: Define fetch request mappings.\nRequired with `fetchurl`\n- `fetchoptions`: Define fetch options object\nRequire `fetchurl` prop to be defined otherwith it will be ignored if defined\n- `items`: Define components items\n\nMethods:\n- `displayError`: Display input error if it exists.\n- `reset`: Reset value, validity and error state\n- `setError`: Set an error and display a custom error message.\nThis method can be used to set the component's error state from its concombobox by passing a boolean value to the `valid` parameter.\nIt must be paired with an error message to display for the given concombobox.\nWhen used to set validity to `false`, you should use this method again to reset the validity to `true`.\n- `setFocus`: Public method to play input focus\n\nEvents:\n- `filter-change`: Emited event when filter change\n- `input-valid`: Emited event when checking validity\n- `load-more`: Emited event when `load-more` is called\n- `value-change`: Emited event when value change\n\n",
1827
+ "description": "Attributes:\n- `disabled`: Define if input is disabled\n- `fetchurl`: Define API url to fetch\n- `help-text`: Add a help text under the input, usually expected data format and example\n- `identifier`: Identifier is used for the element ID (id is a reserved prop in Stencil.js)\n- `invalid`: Define input invalid state\n- `items-label`: Define items label\nInclude short description. Required for accessibility.\n- `label`: Input label\n- `label-hide`: Define if label is visible\n- `label-on-top`: Define if label is displayed on top\n- `mg-width`: Define input width\n- `name`: Input name\nIf not set the value equals the identifier\n- `placeholder`: Define input placeholder.\nIt should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help combobox.\n- `readonly`: Define if input is readonly\n- `required`: Define if input is required\n- `tooltip`: Add a tooltip message next to the input\n- `tooltip-position`: Define tooltip position\n- `valid`: Define input valid state\n- `value`: Define component value\n\nProperties:\n- `fetchmappings`: Define fetch request mappings.\nRequired with `fetchurl`\n- `fetchoptions`: Define fetch options object\nRequire `fetchurl` prop to be defined otherwith it will be ignored if defined\n- `items`: Define components items\n\nMethods:\n- `displayError`: Display input error if it exists.\n- `reset`: Reset value, validity and error state\n- `setError`: Set an error and display a custom error message.\nThis method can be used to set the component's error state from its concombobox by passing a boolean value to the `valid` parameter.\nIt must be paired with an error message to display for the given concombobox.\nWhen used to set validity to `false`, you should use this method again to reset the validity to `true`.\n- `setFocus`: Public method to play input focus\n\nEvents:\n- `fetch-error`: Emited event when fetch API throw an error\n- `filter-change`: Emited event when filter change\n- `input-valid`: Emited event when checking validity\n- `load-more`: Emited event when `load-more` is called\n- `value-change`: Emited event when value change\n\n",
1828
1828
  "doc-url": "http://core.pages.mgdis.fr/core-ui/core-ui/storybook/?path=/docs/molecules-inputs-mg-input-combobox--docs",
1829
1829
  "attributes": [
1830
1830
  {
@@ -2199,6 +2199,10 @@
2199
2199
  }
2200
2200
  ],
2201
2201
  "events": [
2202
+ {
2203
+ "name": "fetch-error",
2204
+ "description": "Emited event when fetch API throw an error"
2205
+ },
2202
2206
  {
2203
2207
  "name": "filter-change",
2204
2208
  "description": "Emited event when filter change"
@@ -2050,7 +2050,7 @@
2050
2050
  },
2051
2051
  {
2052
2052
  "name": "mg-input-combobox",
2053
- "description": "Attributes:\n- `disabled`: Define if input is disabled\n- `fetchurl`: Define API url to fetch\n- `help-text`: Add a help text under the input, usually expected data format and example\n- `identifier`: Identifier is used for the element ID (id is a reserved prop in Stencil.js)\n- `invalid`: Define input invalid state\n- `items-label`: Define items label\nInclude short description. Required for accessibility.\n- `label`: Input label\n- `label-hide`: Define if label is visible\n- `label-on-top`: Define if label is displayed on top\n- `mg-width`: Define input width\n- `name`: Input name\nIf not set the value equals the identifier\n- `placeholder`: Define input placeholder.\nIt should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help combobox.\n- `readonly`: Define if input is readonly\n- `required`: Define if input is required\n- `tooltip`: Add a tooltip message next to the input\n- `tooltip-position`: Define tooltip position\n- `valid`: Define input valid state\n- `value`: Define component value\n\nProperties:\n- `fetchmappings`: Define fetch request mappings.\nRequired with `fetchurl`\n- `fetchoptions`: Define fetch options object\nRequire `fetchurl` prop to be defined otherwith it will be ignored if defined\n- `items`: Define components items\n\nMethods:\n- `displayError`: Display input error if it exists.\n- `reset`: Reset value, validity and error state\n- `setError`: Set an error and display a custom error message.\nThis method can be used to set the component's error state from its concombobox by passing a boolean value to the `valid` parameter.\nIt must be paired with an error message to display for the given concombobox.\nWhen used to set validity to `false`, you should use this method again to reset the validity to `true`.\n- `setFocus`: Public method to play input focus\n\nEvents:\n- `filter-change`: Emited event when filter change\n- `input-valid`: Emited event when checking validity\n- `load-more`: Emited event when `load-more` is called\n- `value-change`: Emited event when value change\n\n",
2053
+ "description": "Attributes:\n- `disabled`: Define if input is disabled\n- `fetchurl`: Define API url to fetch\n- `help-text`: Add a help text under the input, usually expected data format and example\n- `identifier`: Identifier is used for the element ID (id is a reserved prop in Stencil.js)\n- `invalid`: Define input invalid state\n- `items-label`: Define items label\nInclude short description. Required for accessibility.\n- `label`: Input label\n- `label-hide`: Define if label is visible\n- `label-on-top`: Define if label is displayed on top\n- `mg-width`: Define input width\n- `name`: Input name\nIf not set the value equals the identifier\n- `placeholder`: Define input placeholder.\nIt should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help combobox.\n- `readonly`: Define if input is readonly\n- `required`: Define if input is required\n- `tooltip`: Add a tooltip message next to the input\n- `tooltip-position`: Define tooltip position\n- `valid`: Define input valid state\n- `value`: Define component value\n\nProperties:\n- `fetchmappings`: Define fetch request mappings.\nRequired with `fetchurl`\n- `fetchoptions`: Define fetch options object\nRequire `fetchurl` prop to be defined otherwith it will be ignored if defined\n- `items`: Define components items\n\nMethods:\n- `displayError`: Display input error if it exists.\n- `reset`: Reset value, validity and error state\n- `setError`: Set an error and display a custom error message.\nThis method can be used to set the component's error state from its concombobox by passing a boolean value to the `valid` parameter.\nIt must be paired with an error message to display for the given concombobox.\nWhen used to set validity to `false`, you should use this method again to reset the validity to `true`.\n- `setFocus`: Public method to play input focus\n\nEvents:\n- `fetch-error`: Emited event when fetch API throw an error\n- `filter-change`: Emited event when filter change\n- `input-valid`: Emited event when checking validity\n- `load-more`: Emited event when `load-more` is called\n- `value-change`: Emited event when value change\n\n",
2054
2054
  "attributes": [
2055
2055
  {
2056
2056
  "name": "disabled",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mgdis/mg-components",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "MG Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -33,15 +33,15 @@
33
33
  "outputName": "junit.xml"
34
34
  },
35
35
  "dependencies": {
36
- "@floating-ui/dom": "1.6.13",
36
+ "@popperjs/core": "2.11.8",
37
37
  "@stencil/core": "4.28.2",
38
38
  "quill": "2.0.3",
39
- "@mgdis/img": "2.4.1",
40
- "@mgdis/stencil-helpers": "3.1.0",
41
- "@mgdis/styles": "2.5.0"
39
+ "@mgdis/img": "2.4.2",
40
+ "@mgdis/styles": "2.6.0",
41
+ "@mgdis/stencil-helpers": "3.2.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@playwright/test": "1.51.1",
44
+ "@playwright/test": "1.52.0",
45
45
  "@storybook/addon-a11y": "8.6.12",
46
46
  "@storybook/addon-actions": "8.6.12",
47
47
  "@storybook/addon-essentials": "8.6.12",
@@ -53,8 +53,8 @@
53
53
  "@storybook/manager-api": "8.6.12",
54
54
  "@storybook/theming": "8.6.12",
55
55
  "@types/jest": "29.5.14",
56
- "@types/node": "22.14.1",
57
- "chromatic": "11.28.0",
56
+ "@types/node": "22.15.3",
57
+ "chromatic": "11.28.2",
58
58
  "eslint": "8.57.1",
59
59
  "eslint-plugin-storybook": "0.12.0",
60
60
  "jest": "29.7.0",
@@ -63,14 +63,14 @@
63
63
  "jest-transform-stub": "2.0.0",
64
64
  "react": "19.1.0",
65
65
  "react-dom": "19.1.0",
66
- "sass": "1.86.3",
66
+ "sass": "1.87.0",
67
67
  "storybook": "8.6.12",
68
68
  "storybook-addon-tag-badges": "1.4.0",
69
69
  "typescript": "5.8.3",
70
- "vite": "6.2.6",
71
- "@mgdis/linting-stencil": "1.3.6",
70
+ "vite": "6.3.3",
72
71
  "@core-ui/jest-config": "1.0.9",
73
- "@mgdis/playwright-helpers": "1.1.2"
72
+ "@mgdis/linting-stencil": "1.3.6",
73
+ "@mgdis/playwright-helpers": "1.1.4"
74
74
  },
75
75
  "license": "BSD-3-Clause",
76
76
  "scripts": {