@maggioli-design-system/mds-modal 5.2.1 → 5.4.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 (85) hide show
  1. package/dist/cjs/{index-7b5471f5.js → index-6f236cfa.js} +164 -69
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-modal.cjs.entry.js +47 -7
  4. package/dist/cjs/mds-modal.cjs.js +3 -3
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/floating-controller.js +180 -0
  7. package/dist/collection/common/slot.js +19 -4
  8. package/dist/collection/common/string.js +30 -0
  9. package/dist/collection/components/mds-modal/mds-modal.css +124 -0
  10. package/dist/collection/components/mds-modal/mds-modal.js +77 -5
  11. package/dist/collection/components/mds-modal/meta/dictionary.js +5 -1
  12. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +20 -2
  13. package/dist/collection/dictionary/keyboard.js +84 -0
  14. package/dist/collection/dictionary/tree.js +13 -0
  15. package/dist/collection/type/keyboard.js +1 -0
  16. package/dist/collection/type/tree.js +1 -0
  17. package/dist/components/mds-modal.js +48 -7
  18. package/dist/documentation.d.ts +8 -0
  19. package/dist/documentation.json +56 -5
  20. package/dist/esm/{index-1c34ac95.js → index-f8d2dee4.js} +164 -69
  21. package/dist/esm/loader.js +3 -3
  22. package/dist/esm/mds-modal.entry.js +47 -7
  23. package/dist/esm/mds-modal.js +4 -4
  24. package/dist/esm-es5/index-f8d2dee4.js +1 -0
  25. package/dist/esm-es5/loader.js +1 -1
  26. package/dist/esm-es5/mds-modal.entry.js +1 -1
  27. package/dist/esm-es5/mds-modal.js +1 -1
  28. package/dist/mds-modal/mds-modal.esm.js +1 -1
  29. package/dist/mds-modal/mds-modal.js +1 -1
  30. package/dist/mds-modal/p-2c91cf1f.entry.js +1 -0
  31. package/dist/mds-modal/p-69576bb4.system.entry.js +1 -0
  32. package/dist/mds-modal/p-bc1fa4e4.system.js +2 -0
  33. package/dist/mds-modal/{p-67c6f337.system.js → p-c6899cb0.system.js} +1 -1
  34. package/dist/mds-modal/p-ee90f86a.js +2 -0
  35. package/dist/stats.json +128 -38
  36. package/dist/types/common/floating-controller.d.ts +46 -0
  37. package/dist/types/common/slot.d.ts +3 -1
  38. package/dist/types/common/string.d.ts +4 -0
  39. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  40. package/dist/types/components/mds-modal/meta/dictionary.d.ts +2 -1
  41. package/dist/types/components/mds-modal/meta/types.d.ts +1 -0
  42. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +11 -0
  43. package/dist/types/components.d.ts +10 -2
  44. package/dist/types/dictionary/keyboard.d.ts +2 -0
  45. package/dist/types/dictionary/tree.d.ts +4 -0
  46. package/dist/types/type/keyboard.d.ts +12 -0
  47. package/dist/types/type/tree.d.ts +3 -0
  48. package/documentation.json +96 -10
  49. package/package.json +4 -4
  50. package/readme.md +18 -16
  51. package/src/common/floating-controller.ts +263 -0
  52. package/src/common/slot.ts +23 -3
  53. package/src/common/string.ts +42 -0
  54. package/src/components/mds-modal/mds-modal.css +7 -1
  55. package/src/components/mds-modal/mds-modal.tsx +36 -1
  56. package/src/components/mds-modal/meta/dictionary.ts +6 -0
  57. package/src/components/mds-modal/meta/types.ts +4 -0
  58. package/src/components/mds-modal/readme.md +18 -16
  59. package/src/components/mds-modal/test/mds-modal.stories.tsx +57 -3
  60. package/src/components.d.ts +10 -2
  61. package/src/dictionary/keyboard.ts +87 -0
  62. package/src/dictionary/tree.ts +21 -0
  63. package/src/fixtures/icons.json +38 -1
  64. package/src/fixtures/iconsauce.json +6 -0
  65. package/src/meta/keyboard/keys.json +83 -0
  66. package/src/tailwind/components.css +11 -0
  67. package/src/tailwind/fouc.css +118 -0
  68. package/src/type/keyboard.ts +93 -0
  69. package/src/type/tree.ts +12 -0
  70. package/www/build/mds-modal.esm.js +1 -1
  71. package/www/build/mds-modal.js +1 -1
  72. package/www/build/p-2c91cf1f.entry.js +1 -0
  73. package/www/build/p-69576bb4.system.entry.js +1 -0
  74. package/www/build/p-bc1fa4e4.system.js +2 -0
  75. package/www/build/{p-67c6f337.system.js → p-c6899cb0.system.js} +1 -1
  76. package/www/build/p-ee90f86a.js +2 -0
  77. package/dist/esm-es5/index-1c34ac95.js +0 -1
  78. package/dist/mds-modal/p-08a99956.entry.js +0 -1
  79. package/dist/mds-modal/p-0d78ea55.system.entry.js +0 -1
  80. package/dist/mds-modal/p-0ed6e0c8.js +0 -2
  81. package/dist/mds-modal/p-423dac35.system.js +0 -2
  82. package/www/build/p-08a99956.entry.js +0 -1
  83. package/www/build/p-0d78ea55.system.entry.js +0 -1
  84. package/www/build/p-0ed6e0c8.js +0 -2
  85. package/www/build/p-423dac35.system.js +0 -2
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(u,f)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(e){return o([r,e])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(n=0)),n)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:n.label++;return{value:f[1],done:false};case 5:n.label++;i=f[1];f=[0];continue;case 7:f=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){n.label=f[1];break}if(f[0]===6&&n.label<a[1]){n.label=a[1];a=f;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(f);break}if(a[2])n.ops.pop();n.trys.pop();continue}f=e.call(r,n)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t="mds-modal";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:false,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:false,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:true,vdomXlink:false,watchCallback:true};var a=Object.defineProperty;var u=function(r,e){for(var n in e)a(r,n,{get:e[n],enumerable:true})};var f=new WeakMap;var o=function(r){return f.get(r)};var l=r("r",(function(r,e){f.set(e.t=r,e)}));var s=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}));r["s-p"]=[];r["s-rc"]=[]}var t=f.set(r,n);return t};var c=function(r,e){return e in r};var v=function(r,e){return(0,console.error)(r,e)};var d=new Map;var h=function(r,n,t){var i=r.h.replace(/-/g,"_");var a=r.p;if(!a){return void 0}var u=d.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{d.set(a,r)}return r[i]}),(function(r){v(r,n.$hostElement$)}))};var p=new Map;var m="sty-id";var y="{visibility:hidden}[hydrated]{visibility:inherit}";var b="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w=typeof window!=="undefined"?window:{};var S=w.document||{head:{}};var g={i:0,m:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var _=function(){var r=false;try{S.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(r){}return r}();var $=r("p",(function(r){return Promise.resolve(r)}));var j=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var k=false;var A=[];var C=[];var O=function(r,e){return function(n){r.push(n);if(!k){k=true;if(e&&g.i&4){D(T)}else{g.raf(T)}}}};var x=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){v(r)}}r.length=0};var T=function(){x(A);{x(C);if(k=A.length>0){g.raf(T)}}};var D=function(r){return $().then(r)};var E=O(C,true);var L=function(r){r=typeof r;return r==="object"||r==="function"};function M(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var P={};u(P,{err:function(){return F},map:function(){return N},ok:function(){return R},unwrap:function(){return U},unwrapErr:function(){return W}});var R=function(r){return{isOk:true,isErr:false,value:r}};var F=function(r){return{isOk:false,isErr:true,value:r}};function N(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return R(r)}))}else{return R(n)}}if(r.isErr){var t=r.value;return F(t)}throw"should never get here"}var U=function(r){if(r.isOk){return r.value}else{throw r.value}};var W=function(r){if(r.isErr){return r.value}else{throw r.value}};var H=function(r,e){if(e===void 0){e=""}{return function(){return}}};var z=function(r,e){{return function(){return}}};var B=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var u=false;var f=false;var o=[];var l=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!L(i)){i=String(i)}if(u&&f){o[o.length-1].S+=i}else{o.push(u?G(null,i):i)}f=u}}};l(n);if(e){if(e.key){a=e.key}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}var c=G(r,null);c._=e;if(o.length>0){c.$=o}{c.j=a}return c}));var G=function(r,e){var n={i:0,k:r,S:e,A:null,$:null};{n._=null}{n.j=null}return n};var Q=r("H",{});var V=function(r){return r&&r.k===Q};var q=function(r,e){if(r!=null&&!L(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&1){return String(r)}return r}return r};var I=r("g",(function(r){return o(r).$hostElement$}));var K=r("c",(function(r,e,n){var t=I(r);return{emit:function(r){return X(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var X=function(r,e,n){var t=g.ce(e,n);r.dispatchEvent(t);return t};var J=new WeakMap;var Y=function(r,e,n){var t=p.get(r);if(j&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}p.set(r,t)};var Z=function(r,e,n){var t;var i=er(e);var a=p.get(i);r=r.nodeType===11?r:S;if(a){if(typeof a==="string"){r=r.head||r;var u=J.get(r);var f=void 0;if(!u){J.set(r,u=new Set)}if(!u.has(i)){{f=document.querySelector("[".concat(m,'="').concat(i,'"]'))||S.createElement("style");f.innerHTML=a;var o=(t=g.C)!=null?t:M(S);if(o!=null){f.setAttribute("nonce",o)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(f,(s==null?void 0:s.parentNode)===r?s:null)}else if("host"in r){if(j){var c=new CSSStyleSheet;c.replaceSync(a);r.adoptedStyleSheets=__spreadArray([c],r.adoptedStyleSheets,true)}else{var v=r.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{r.prepend(f)}}}else{r.append(f)}}if(e.i&1&&r.nodeName!=="HEAD"){r.insertBefore(f,null)}}if(e.i&4){f.innerHTML+=b}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var rr=function(r){var e=r.u;var n=r.$hostElement$;var t=e.i;var i=H("attachStyles",e.h);var a=Z(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var er=function(r,e){return"sc-"+r.h};var nr=function(r,e,n,t,i,a,u){if(n!==t){var f=c(r,e);var o=e.toLowerCase();if(e==="class"){var l=r.classList;var s=ir(n);var v=ir(t);{l.remove.apply(l,s.filter((function(r){return r&&!v.includes(r)})));l.add.apply(l,v.filter((function(r){return r&&!s.includes(r)})))}}else if(e==="key");else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(c(w,o)){e=o.slice(2)}else{e=o[2]+e.slice(3)}if(n||t){var d=e.endsWith(ar);e=e.replace(ur,"");if(n){g.rel(r,e,n,d)}if(t){g.ael(r,e,t,d)}}}else{var h=L(t);if((f||h&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var p=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=p){if(typeof r.__lookupSetter__(e)==="function"){r[e]=p}else{r.setAttribute(e,p)}}}else if(r[e]!==t){r[e]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!h){t=t===true?"":t;{r.setAttribute(e,t)}}}}};var tr=/\s/;var ir=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(tr)};var ar="Capture";var ur=new RegExp(ar+"$");var fr=function(r,e,n,t){var i=e.A.nodeType===11&&e.A.host?e.A.host:e.A;var a=r&&r._||{};var u=e._||{};{for(var f=0,o=or(Object.keys(a));f<o.length;f++){var l=o[f];if(!(l in u)){nr(i,l,a[l],void 0,n,e.i)}}}for(var s=0,c=or(Object.keys(u));s<c.length;s++){var l=c[s];nr(i,l,a[l],u[l],n,e.i)}};function or(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var lr;var sr=false;var cr=false;var vr=function(r,e,n){var t=e.$[n];var a=0;var u;var f;if(t.S!==null){u=t.A=S.createTextNode(t.S)}else{u=t.A=S.createElement(!sr&&i.slotRelocation&&t.i&2?"slot-fb":t.k);{fr(null,t,cr)}if(t.$){for(a=0;a<t.$.length;++a){f=vr(r,t,a);if(f){u.appendChild(f)}}}}u["s-hn"]=lr;return u};var dr=function(r,e,n,t,i,a){var u=r;var f;if(u.shadowRoot&&u.tagName===lr){u=u.shadowRoot}for(;i<=a;++i){if(t[i]){f=vr(null,n,i);if(f){t[i].A=f;br(u,f,e)}}}};var hr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.A;if(a){a.remove()}}}};var pr=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var u=0;var f=0;var o=0;var l=e.length-1;var s=e[0];var c=e[l];var v=t.length-1;var d=t[0];var h=t[v];var p;var m;while(a<=l&&u<=v){if(s==null){s=e[++a]}else if(c==null){c=e[--l]}else if(d==null){d=t[++u]}else if(h==null){h=t[--v]}else if(mr(s,d,i)){yr(s,d,i);s=e[++a];d=t[++u]}else if(mr(c,h,i)){yr(c,h,i);c=e[--l];h=t[--v]}else if(mr(s,h,i)){yr(s,h,i);br(r,s.A,c.A.nextSibling);s=e[++a];h=t[--v]}else if(mr(c,d,i)){yr(c,d,i);br(r,c.A,s.A);c=e[--l];d=t[++u]}else{f=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].j!==null&&e[o].j===d.j){f=o;break}}}if(f>=0){m=e[f];if(m.k!==d.k){p=vr(e&&e[u],n,f)}else{yr(m,d,i);e[f]=void 0;p=m.A}d=t[++u]}else{p=vr(e&&e[u],n,u);d=t[++u]}if(p){{br(s.A.parentNode,p,s.A)}}}}if(a>l){dr(r,t[v+1]==null?null:t[v+1].A,n,t,u,v)}else if(u>v){hr(e,a,l)}};var mr=function(r,e,n){if(n===void 0){n=false}if(r.k===e.k){if(!n){return r.j===e.j}if(n&&!r.j&&e.j){r.j=e.j}return true}return false};var yr=function(r,e,n){if(n===void 0){n=false}var t=e.A=r.A;var a=r.$;var u=e.$;var f=e.k;var o=e.S;if(o===null){{if(f==="slot"&&!sr);else{fr(r,e,cr)}}if(a!==null&&u!==null){pr(t,a,e,u,n)}else if(u!==null){if(r.S!==null){t.textContent=""}dr(t,null,e,u,0,u.length-1)}else if(!n&&i.updatable&&a!==null){hr(a,0,a.length-1)}}else if(r.S!==o){t.data=o}};var br=function(r,e,n){{return r==null?void 0:r.insertBefore(e,n)}};var wr=function(r,e,n){if(n===void 0){n=false}var t=r.$hostElement$;var i=r.u;var a=r.O||G(null,null);var u=V(e)?e:B(null,null,e);lr=t.tagName;if(i.T){u._=u._||{};i.T.map((function(r){var e=r[0],n=r[1];return u._[n]=t[e]}))}if(n&&u._){for(var f=0,o=Object.keys(u._);f<o.length;f++){var l=o[f];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){u._[l]=t[l]}}}u.k=null;u.i|=4;r.O=u;u.A=a.A=t.shadowRoot||t;sr=(i.i&1)!==0;yr(a,u,n)};var Sr=function(r,e){if(e&&!r.D&&e["s-p"]){var n=e["s-p"].push(new Promise((function(t){return r.D=function(){e["s-p"].splice(n-1,1);t()}})))}};var gr=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}Sr(r,r.L);var n=function(){return _r(r,e)};return E(n)};var _r=function(r,e){var n=r.$hostElement$;var t=H("scheduleUpdate",r.u.h);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.M){r.M.map((function(r){var e=r[0],t=r[1];return xr(i,e,t,n)}));r.M=void 0}}{a=xr(i,"componentWillLoad",void 0,n)}}{a=$r(a,(function(){return xr(i,"componentWillRender",void 0,n)}))}t();return $r(a,(function(){return kr(r,i,e)}))};var $r=function(r,e){return jr(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var jr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var kr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,u,f,o,l;return __generator(this,(function(s){i=r.$hostElement$;a=H("update",r.u.h);u=i["s-rc"];if(t){rr(r)}f=H("render",r.u.h);{Ar(r,e,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=void 0}f();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return Cr(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.i|=4;o.length=0}}return[2]}))}))};var Ar=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{wr(r,e,t)}}}}catch(e){v(e,r.$hostElement$)}return null};var Cr=function(r){var e=r.u.h;var n=r.$hostElement$;var t=H("postUpdate",e);var i=r.t;var a=r.L;if(!(r.i&64)){r.i|=64;{Tr(n)}{xr(i,"componentDidLoad",void 0,n)}t();{r.v(n);if(!a){Or()}}}else{t()}{if(r.D){r.D();r.D=void 0}if(r.i&512){D((function(){return gr(r,false)}))}r.i&=~(4|512)}};var Or=function(r){{Tr(S.documentElement)}D((function(){return X(w,"appload",{detail:{namespace:t}})}))};var xr=function(r,e,n,t){if(r&&r[e]){try{return r[e](n)}catch(r){v(r,t)}}return void 0};var Tr=function(r){var e;return r.setAttribute((e=i.hydratedSelectorName)!=null?e:"hydrated","")};var Dr=function(r,e){return o(r).o.get(e)};var Er=function(r,e,n,t){var i=o(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=i.$hostElement$;var u=i.o.get(e);var f=i.i;var l=i.t;n=q(n,t.P[e][0]);var s=Number.isNaN(u)&&Number.isNaN(n);var c=n!==u&&!s;if((!(f&8)||u===void 0)&&c){i.o.set(e,n);if(l){if(t.R&&f&128){var d=t.R[e];if(d){d.map((function(r){try{l[r](n,u,e)}catch(r){v(r,a)}}))}}if((f&(2|16))===2){gr(i,false)}}}};var Lr=function(r,e,n){var t,a;var u=r.prototype;if(e.P||(e.R||r.watchers)){if(r.watchers&&!e.R){e.R=r.watchers}var f=Object.entries((t=e.P)!=null?t:{});f.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(u,t)||{},f=a.get,l=a.set;if(f)e.P[t][0]|=2048;if(l)e.P[t][0]|=4096;if(n&1||!f){Object.defineProperty(u,t,{get:function(){{if((e.P[t][0]&2048)===0){return Dr(this,t)}var r=o(this);var n=r?r.t:u;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(u,t,{set:function(r){var a=this;var u=o(this);if(l){var f=i&32?this[t]:u.$hostElement$[t];if(typeof f==="undefined"&&u.o.get(t)){r=u.o.get(t)}else if(!u.o.get(t)&&f){u.o.set(t,f)}l.apply(this,[q(r,i)]);r=i&32?this[t]:u.$hostElement$[t];Er(this,t,r,e);return}{if((n&1)===0||(e.P[t][0]&4096)===0){Er(this,t,r,e);if(n&1&&!u.t){u.l.then((function(){if(e.P[t][0]&4096&&u.t[t]!==u.o.get(t)){u.t[t]=r}}))}return}var s=function(){var n=u.t[t];if(!u.o.get(t)&&n){u.o.set(t,n)}u.t[t]=q(r,i);Er(a,t,u.t[t],e)};if(u.t){s()}else{u.l.then((function(){return s()}))}}}})}}));if(n&1){var l=new Map;u.attributeChangedCallback=function(r,n,t){var a=this;g.jmp((function(){var f;var s=l.get(r);if(a.hasOwnProperty(s)&&i.lazyLoad){t=a[s];delete a[s]}else if(u.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==t){return}else if(s==null){var c=o(a);var v=c==null?void 0:c.i;if(v&&!(v&8)&&v&128&&t!==n){var d=c.t;var h=(f=e.R)==null?void 0:f[r];h==null?void 0:h.forEach((function(e){if(d[e]!=null){d[e].call(d,t,n,r)}}))}return}var p=Object.getOwnPropertyDescriptor(u,s);t=t===null&&typeof a[s]==="boolean"?false:t;if(t!==a[s]&&(!p.get||!!p.set)){a[s]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=e.R)!=null?a:{}),true),f.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;l.set(a,n);if(t[0]&512){(i=e.T)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var Mr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,u,f,o,l,s,c;return __generator(this,(function(d){switch(d.label){case 0:if(!((e.i&32)===0))return[3,4];e.i|=32;i=h(t,e);if(!(i&&"then"in i))return[3,2];a=z();return[4,i];case 1:n=d.sent();a();return[3,3];case 2:n=i;d.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(e.F,'" was not found'))}if(!n.isProxied){{t.R=n.watchers}Lr(n,t,2);n.isProxied=true}u=H("createInstance",t.h);{e.i|=8}try{new n(e)}catch(e){v(e,r)}{e.i&=~8}{e.i|=128}u();if(n&&n.style){f=void 0;if(typeof n.style==="string"){f=n.style}o=er(t);if(!p.has(o)){l=H("registerStyles",t.h);Y(o,f,!!(t.i&1));l()}}d.label=4;case 4:s=e.L;c=function(){return gr(e,true)};if(s&&s["s-rc"]){s["s-rc"].push(c)}else{c()}return[2]}}))}))};var Pr=function(r,e){};var Rr=function(r){if((g.i&1)===0){var e=o(r);var n=e.u;var t=H("connectedCallback",n.h);if(!(e.i&1)){e.i|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){Sr(e,e.L=i);break}}}if(n.P){Object.entries(n.P).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{Mr(r,e,n)}}else{Wr(r,e,n.N);if(e==null?void 0:e.t);else if(e==null?void 0:e.l){e.l.then((function(){return Pr()}))}}t()}};var Fr=function(r,e){};var Nr=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((g.i&1)===0){e=o(r);{if(e.U){e.U.map((function(r){return r()}));e.U=void 0}}if(e==null?void 0:e.t);else if(e==null?void 0:e.l){e.l.then((function(){return Fr()}))}}if(J.has(r)){J.delete(r)}if(r.shadowRoot&&J.has(r.shadowRoot)){J.delete(r.shadowRoot)}return[2]}))}))};var Ur=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=H();var i=[];var a=e.exclude||[];var u=w.customElements;var f=S.head;var l=f.querySelector("meta[charset]");var c=S.createElement("style");var v=[];var d;var h=true;Object.assign(g,e);g.m=new URL(e.resourcesUrl||"./",S.baseURI).href;var p=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],h:e[1],P:e[2],N:e[3]};if(t.i&4){p=true}{t.P=e[2]}{t.N=e[3]}{t.T=[]}{t.R=(n=e[4])!=null?n:{}}var f=t.h;var l=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;s(e,t);if(t.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.h,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=o(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Wr(this,e,t.N)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{g.jmp((function(){return Rr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;g.jmp((function(){return Nr(r)}));g.raf((function(){var e;var n=o(r);if(((e=n==null?void 0:n.O)==null?void 0:e.A)instanceof Node&&!n.O.A.isConnected){delete n.O.A}}))};e.prototype.componentOnReady=function(){return o(this).l};return e}(HTMLElement);t.p=r[0];if(!a.includes(f)&&!u.get(f)){i.push(f);u.define(f,Lr(l,t,1))}}))}));if(i.length>0){if(p){c.textContent+=b}{c.textContent+=i.sort()+y}if(c.innerHTML.length){c.setAttribute("data-styles","");var m=(n=g.C)!=null?n:M(S);if(m!=null){c.setAttribute("nonce",m)}f.insertBefore(c,l?l.nextSibling:f.firstChild)}}h=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{g.jmp((function(){return d=setTimeout(Or,30)}))}}t()}));var Wr=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var u=zr(r,t);var f=Hr(e,a);var o=Br(t);g.ael(u,i,f,o);(e.U=e.U||[]).push((function(){return g.rel(u,i,f,o)}))}))}};var Hr=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.M=r.M||[]).push([e,n])}}}catch(e){v(e,r.$hostElement$)}}};var zr=function(r,e){if(e&4)return S;return r};var Br=function(r){return _?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Gr=r("s",(function(r){return g.C=r}))}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(n,e,t,r){function i(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,o){function u(n){try{c(r.next(n))}catch(n){o(n)}}function a(n){try{c(r["throw"](n))}catch(n){o(n)}}function c(n){n.done?t(n.value):i(n.value).then(u,a)}c((r=r.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(n){return function(e){return c([n,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(t=0)),t)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=e.call(n,t)}catch(n){a=[6,n];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-423dac35.system.js","./p-56ba5cbf.system.js"],(function(n,e){"use strict";var t,r,i;return{setters:[function(e){t=e.p;r=e.b;n("setNonce",e.s)},function(n){i=n.g}],execute:function(){var n=this;var o=function(){var n=e.meta.url;var r={};if(n!==""){r.resourcesUrl=new URL(".",n).href}return t(r)};o().then((function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,i()];case 1:n.sent();return[2,r([["p-0d78ea55.system",[[1,"mds-modal",{opened:[1540],position:[1537],animating:[1537]},[[4,"mdsModalClose","onModalCloseListener"],[4,"mdsBannerClose","onBannerCloseListener"]],{opened:["handleOpenProp"]}]]]],e)]}}))}))}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(n,e,t,r){function i(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,o){function u(n){try{c(r.next(n))}catch(n){o(n)}}function a(n){try{c(r["throw"](n))}catch(n){o(n)}}function c(n){n.done?t(n.value):i(n.value).then(u,a)}c((r=r.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(n){return function(e){return c([n,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(t=0)),t)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=e.call(n,t)}catch(n){a=[6,n];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-bc1fa4e4.system.js","./p-56ba5cbf.system.js"],(function(n,e){"use strict";var t,r,i;return{setters:[function(e){t=e.p;r=e.b;n("setNonce",e.s)},function(n){i=n.g}],execute:function(){var n=this;var o=function(){var n=e.meta.url;var r={};if(n!==""){r.resourcesUrl=new URL(".",n).href}return t(r)};o().then((function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,i()];case 1:n.sent();return[2,r([["p-69576bb4.system",[[1,"mds-modal",{opened:[1540],position:[1537],animating:[1537],overflow:[513]},[[4,"mdsModalClose","onModalCloseListener"],[4,"mdsBannerClose","onBannerCloseListener"]],{opened:["handleOpenProp"]}]]]],e)]}}))}))}))}}}));
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>{e.set(n.t=t,n)},l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],v=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&f.o?w($):f.raf($))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},$=()=>{b(m),b(y),(p=m.length>0)&&f.raf($)},w=t=>h().then(t),S=v(y,!0),g=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,M=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!g(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?A(null,o):o),i=s)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=A(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},A=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),H={},R=(t,e)=>null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):1&e?t+"":t,D=t=>n(t).$hostElement$,L=(t,e,n)=>{const o=D(t);return{emit:t=>N(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},N=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},T=new WeakMap,W=t=>"sc-"+t.$,U=(t,e,n,o,s,i)=>{if(n!==o){let r=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=V(n);let s=V(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("key"===e);else if(r||"o"!==e[0]||"n"!==e[1]){const l=g(o);if((r||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&i||s)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(q);e=e.replace(G,""),n&&f.rel(t,e,n,l),o&&f.ael(t,e,o,l)}}},F=/\s/,V=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(F):[]),q="Capture",G=RegExp(q+"$"),_=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},s=e.u||{};for(const t of z(Object.keys(l)))t in s||U(o,t,l[t],void 0,n,e.o);for(const t of z(Object.keys(s)))U(o,t,l[t],s[t],n,e.o)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var B=!1,I=!1,J=(t,e,n)=>{const o=e.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else if(l=o.v=a.createElement(o.m),_(null,o,I),o.h)for(i=0;i<o.h.length;++i)s=J(t,o,i),s&&l.appendChild(s);return l["s-hn"]=C,l},K=(t,e,n,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=J(null,n,l),i&&(o[l].v=i,Z(r,i,e)))},Q=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;t&&t.remove()}}},X=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),Y=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,s=e.h,i=e.i;null===i?(("slot"!==e.m||B)&&_(t,e,I),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=e.length-1,h=e[0],d=e[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(X(h,m,l))Y(h,m,l),h=e[++r],m=o[++c];else if(X(d,y,l))Y(d,y,l),d=e[--f],y=o[--p];else if(X(h,y,l))Y(h,y,l),Z(t,h.v,d.v.nextSibling),h=e[++r],y=o[--p];else if(X(d,m,l))Y(d,m,l),Z(t,d.v,h.v),d=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(i=e[u],i.m!==m.m?s=J(e&&e[c],n,u):(Y(i,m,l),e[u]=void 0,s=i.v),m=o[++c]):(s=J(e&&e[c],n,c),m=o[++c]),s&&Z(h.v.parentNode,s,h.v)}r>f?K(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&Q(e,r,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),K(o,null,e,s,0,s.length-1)):!n&&null!==l&&Q(l,0,l.length-1)):t.i!==i&&(o.data=i)},Z=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),tt=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},et=(t,e)=>{if(t.o|=16,!(4&t.o))return tt(t,t.j),S((()=>nt(t,e)));t.o|=512},nt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.o|=256,t.O&&(t.O.map((([t,e])=>ut(o,t,e,n))),t.O=void 0),l=ut(o,"componentWillLoad",void 0,n)),l=ot(l,(()=>ut(o,"componentWillRender",void 0,n))),ot(l,(()=>st(t,o,e)))},ot=(t,e)=>lt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),lt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,st=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.k,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=W(e),l=r.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let s,i=T.get(t=t.head||t);if(i||T.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=f.C)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);it(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>rt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},it=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.k,s=t.M||A(null,null),i=(t=>t&&t.m===H)(e)?e:P(null,null,e);if(C=o.tagName,l.P&&(i.u=i.u||{},l.P.map((([t,e])=>i.u[e]=o[t]))),n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.M=i,i.v=s.v=o.shadowRoot||o,B=!!(1&l.o),Y(s,i,n)})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},rt=t=>{const e=t.$hostElement$,n=t.t,o=t.j;64&t.o||(t.o|=64,at(e),ut(n,"componentDidLoad",void 0,e),t.A(e),o||ct()),t.S&&(t.S(),t.S=void 0),512&t.o&&w((()=>et(t,!1))),t.o&=-517},ct=()=>{at(a.documentElement),w((()=>N(u,"appload",{detail:{namespace:"mds-modal"}})))},ut=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},at=t=>t.setAttribute("hydrated",""),ft=(t,e,o,l)=>{const i=n(t);if(!i)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.H.get(e),u=i.o,a=i.t;if(o=R(o,l.R[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.H.set(e,o),a)){if(l.D&&128&u){const t=l.D[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){s(t,r)}}))}2==(18&u)&&et(i,!1)}},ht=(t,e,o)=>{var l,s;const i=t.prototype;if(e.R||e.D||t.watchers){t.watchers&&!e.D&&(e.D=t.watchers);const r=Object.entries(null!=(l=e.R)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.R[t][0]|=2048),r&&(e.R[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.R[t][0]))return((t,e)=>n(this).H.get(e))(0,t);const o=n(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.H.get(t)?s=i.H.get(t):!i.H.get(t)&&n&&i.H.set(t,n),r.call(this,R(s,l)),void ft(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&o&&4096&e.R[t][0]))return ft(this,t,s,e),void(1&o&&!i.t&&i.L.then((()=>{4096&e.R[t][0]&&i.t[t]!==i.H.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.H.get(t)&&n&&i.H.set(t,n),i.t[t]=R(s,l),ft(this,t,i.t[t],e)};i.t?n():i.L.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){f.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.D)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.D)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.P)||l.push([t,s])),s}))]))}}return t},dt=(t,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,y=a.head,v=y.querySelector("meta[charset]"),b=a.createElement("style"),$=[];let w,S=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let g=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],$:o[1],R:o[2],N:o[3]};4&c.o&&(g=!0),c.R=o[2],c.N=o[3],c.P=[],c.D=null!=(l=o[4])?l:{};const u=c.$,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,k:n,H:new Map};o.L=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.$}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,pt(this,t,c.N)),w&&(clearTimeout(w),w=null),S?$.push(this):f.jmp((()=>(t=>{if(!(1&f.o)){const e=n(t),o=e.k,l=()=>{};if(1&e.o)pt(t,e,o.N),(null==e?void 0:e.t)||(null==e?void 0:e.L)&&e.L.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){tt(e,e.j=n);break}}o.R&&Object.entries(o.R).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){e.o|=32;{const l=((t,e)=>{const n=t.$.replace(/-/g,"_"),o=t.T;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{s(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${e.W}" was not found`);o.isProxied||(n.D=o.watchers,ht(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){s(e,t)}e.o&=-9,e.o|=128,r()}if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=W(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.j,c=()=>et(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.o)){const e=n(t);e.U&&(e.U.map((t=>t())),e.U=void 0),(null==e?void 0:e.t)||(null==e?void 0:e.L)&&e.L.then((()=>{}))}T.has(t)&&T.delete(t),t.shadowRoot&&T.has(t.shadowRoot)&&T.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const e=n(this);(null==(t=null==e?void 0:e.M)?void 0:t.v)instanceof Node&&!e.M.v.isConnected&&delete e.M.v}))}componentOnReady(){return n(this).L}};c.T=t[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,ht(a,c,1)))}))})),h.length>0&&(g&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(l=f.C)?l:j(a);null!=t&&b.setAttribute("nonce",t),y.insertBefore(b,v?v.nextSibling:y.firstChild)}S=!1,$.length?$.map((t=>t.connectedCallback())):f.jmp((()=>w=setTimeout(ct,30)))},pt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=yt(t,n),i=mt(e,l),r=vt(n);f.ael(s,o,i,r),(e.U=e.U||[]).push((()=>f.rel(s,o,i,r)))}))},mt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.O=t.O||[]).push([e,n])}catch(e){s(e,t.$hostElement$)}},yt=(t,e)=>4&e?a:t,vt=t=>({passive:!!(1&t),capture:!!(2&t)}),bt=t=>f.C=t;export{H,dt as b,L as c,D as g,P as h,h as p,o as r,bt as s}
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-12-20T08:54:03",
2
+ "timestamp": "2025-02-25T14:19:59",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "22.11.0"
@@ -9,20 +9,22 @@
9
9
  "fsNamespace": "mds-modal",
10
10
  "components": 1,
11
11
  "entries": 1,
12
- "bundles": 97,
12
+ "bundles": 103,
13
13
  "outputs": [
14
14
  {
15
15
  "name": "dist-collection",
16
- "files": 49,
16
+ "files": 55,
17
17
  "generatedFiles": [
18
18
  "./dist/collection/common/aria.js",
19
19
  "./dist/collection/common/date.js",
20
20
  "./dist/collection/common/device.js",
21
21
  "./dist/collection/common/file.js",
22
+ "./dist/collection/common/floating-controller.js",
22
23
  "./dist/collection/common/icon.js",
23
24
  "./dist/collection/common/keyboard-manager.js",
24
25
  "./dist/collection/common/locale.js",
25
26
  "./dist/collection/common/slot.js",
27
+ "./dist/collection/common/string.js",
26
28
  "./dist/collection/common/unit.js",
27
29
  "./dist/collection/common/yugop/core.js",
28
30
  "./dist/collection/common/yugop/index.js",
@@ -43,8 +45,10 @@
43
45
  "./dist/collection/dictionary/floating-ui.js",
44
46
  "./dist/collection/dictionary/icon.js",
45
47
  "./dist/collection/dictionary/input.js",
48
+ "./dist/collection/dictionary/keyboard.js",
46
49
  "./dist/collection/dictionary/loading.js",
47
50
  "./dist/collection/dictionary/text.js",
51
+ "./dist/collection/dictionary/tree.js",
48
52
  "./dist/collection/dictionary/typography.js",
49
53
  "./dist/collection/dictionary/variant.js",
50
54
  "./dist/collection/fixtures/cities.js",
@@ -58,9 +62,11 @@
58
62
  "./dist/collection/type/form-rel.js",
59
63
  "./dist/collection/type/header-bar.js",
60
64
  "./dist/collection/type/input.js",
65
+ "./dist/collection/type/keyboard.js",
61
66
  "./dist/collection/type/loading.js",
62
67
  "./dist/collection/type/preference.js",
63
68
  "./dist/collection/type/text.js",
69
+ "./dist/collection/type/tree.js",
64
70
  "./dist/collection/type/typography.js",
65
71
  "./dist/collection/type/variant-file-format.js",
66
72
  "./dist/collection/type/variant.js"
@@ -81,19 +87,19 @@
81
87
  "files": 42,
82
88
  "generatedFiles": [
83
89
  "./dist/cjs/app-globals-3a1e7e63.js",
84
- "./dist/cjs/index-7b5471f5.js",
90
+ "./dist/cjs/index-6f236cfa.js",
85
91
  "./dist/cjs/index.cjs.js",
86
92
  "./dist/cjs/loader.cjs.js",
87
93
  "./dist/cjs/mds-modal.cjs.entry.js",
88
94
  "./dist/cjs/mds-modal.cjs.js",
89
95
  "./dist/esm-es5/app-globals-0f993ce5.js",
90
- "./dist/esm-es5/index-1c34ac95.js",
96
+ "./dist/esm-es5/index-f8d2dee4.js",
91
97
  "./dist/esm-es5/index.js",
92
98
  "./dist/esm-es5/loader.js",
93
99
  "./dist/esm-es5/mds-modal.entry.js",
94
100
  "./dist/esm-es5/mds-modal.js",
95
101
  "./dist/esm/app-globals-0f993ce5.js",
96
- "./dist/esm/index-1c34ac95.js",
102
+ "./dist/esm/index-f8d2dee4.js",
97
103
  "./dist/esm/index.js",
98
104
  "./dist/esm/loader.js",
99
105
  "./dist/esm/mds-modal.entry.js",
@@ -103,25 +109,25 @@
103
109
  "./dist/mds-modal/index.esm.js",
104
110
  "./dist/mds-modal/mds-modal.esm.js",
105
111
  "./dist/mds-modal/mds-modal.js",
106
- "./dist/mds-modal/p-08a99956.entry.js",
107
- "./dist/mds-modal/p-0d78ea55.system.entry.js",
108
- "./dist/mds-modal/p-0ed6e0c8.js",
109
- "./dist/mds-modal/p-423dac35.system.js",
112
+ "./dist/mds-modal/p-2c91cf1f.entry.js",
110
113
  "./dist/mds-modal/p-50ea2036.system.js",
111
114
  "./dist/mds-modal/p-56ba5cbf.system.js",
112
- "./dist/mds-modal/p-67c6f337.system.js",
115
+ "./dist/mds-modal/p-69576bb4.system.entry.js",
116
+ "./dist/mds-modal/p-bc1fa4e4.system.js",
117
+ "./dist/mds-modal/p-c6899cb0.system.js",
113
118
  "./dist/mds-modal/p-e1255160.js",
119
+ "./dist/mds-modal/p-ee90f86a.js",
114
120
  "./www/build/index.esm.js",
115
121
  "./www/build/mds-modal.esm.js",
116
122
  "./www/build/mds-modal.js",
117
- "./www/build/p-08a99956.entry.js",
118
- "./www/build/p-0d78ea55.system.entry.js",
119
- "./www/build/p-0ed6e0c8.js",
120
- "./www/build/p-423dac35.system.js",
123
+ "./www/build/p-2c91cf1f.entry.js",
121
124
  "./www/build/p-50ea2036.system.js",
122
125
  "./www/build/p-56ba5cbf.system.js",
123
- "./www/build/p-67c6f337.system.js",
124
- "./www/build/p-e1255160.js"
126
+ "./www/build/p-69576bb4.system.entry.js",
127
+ "./www/build/p-bc1fa4e4.system.js",
128
+ "./www/build/p-c6899cb0.system.js",
129
+ "./www/build/p-e1255160.js",
130
+ "./www/build/p-ee90f86a.js"
125
131
  ]
126
132
  },
127
133
  {
@@ -154,12 +160,12 @@
154
160
  "components": [
155
161
  "mds-modal"
156
162
  ],
157
- "bundleId": "p-08a99956",
158
- "fileName": "p-08a99956.entry.js",
163
+ "bundleId": "p-2c91cf1f",
164
+ "fileName": "p-2c91cf1f.entry.js",
159
165
  "imports": [
160
- "p-0ed6e0c8.js"
166
+ "p-ee90f86a.js"
161
167
  ],
162
- "originalByteSize": 20016
168
+ "originalByteSize": 27091
163
169
  }
164
170
  ],
165
171
  "esm": [
@@ -171,9 +177,9 @@
171
177
  "bundleId": "mds-modal",
172
178
  "fileName": "mds-modal.entry.js",
173
179
  "imports": [
174
- "index-1c34ac95.js"
180
+ "index-f8d2dee4.js"
175
181
  ],
176
- "originalByteSize": 20020
182
+ "originalByteSize": 27095
177
183
  }
178
184
  ],
179
185
  "es5": [
@@ -185,9 +191,9 @@
185
191
  "bundleId": "mds-modal",
186
192
  "fileName": "mds-modal.entry.js",
187
193
  "imports": [
188
- "index-1c34ac95.js"
194
+ "index-f8d2dee4.js"
189
195
  ],
190
- "originalByteSize": 20020
196
+ "originalByteSize": 27095
191
197
  }
192
198
  ],
193
199
  "system": [
@@ -196,12 +202,12 @@
196
202
  "components": [
197
203
  "mds-modal"
198
204
  ],
199
- "bundleId": "p-0d78ea55.system",
200
- "fileName": "p-0d78ea55.system.entry.js",
205
+ "bundleId": "p-69576bb4.system",
206
+ "fileName": "p-69576bb4.system.entry.js",
201
207
  "imports": [
202
- "p-423dac35.system.js"
208
+ "p-bc1fa4e4.system.js"
203
209
  ],
204
- "originalByteSize": 21559
210
+ "originalByteSize": 29114
205
211
  }
206
212
  ],
207
213
  "commonjs": [
@@ -213,9 +219,9 @@
213
219
  "bundleId": "mds-modal.cjs",
214
220
  "fileName": "mds-modal.cjs.entry.js",
215
221
  "imports": [
216
- "index-7b5471f5.js"
222
+ "index-6f236cfa.js"
217
223
  ],
218
- "originalByteSize": 20103
224
+ "originalByteSize": 27178
219
225
  }
220
226
  ]
221
227
  },
@@ -330,7 +336,9 @@
330
336
  "tags": [],
331
337
  "text": "Specifies if the modal is opened or not"
332
338
  },
333
- "internal": false
339
+ "internal": false,
340
+ "getter": false,
341
+ "setter": false
334
342
  },
335
343
  {
336
344
  "name": "position",
@@ -356,7 +364,9 @@
356
364
  "tags": [],
357
365
  "text": "Specifies the animation position of the modal window"
358
366
  },
359
- "internal": false
367
+ "internal": false,
368
+ "getter": false,
369
+ "setter": false
360
370
  },
361
371
  {
362
372
  "name": "animating",
@@ -382,7 +392,37 @@
382
392
  "tags": [],
383
393
  "text": "Specifies if the component is animating itself or not"
384
394
  },
385
- "internal": false
395
+ "internal": false,
396
+ "getter": false,
397
+ "setter": false
398
+ },
399
+ {
400
+ "name": "overflow",
401
+ "type": "string",
402
+ "attribute": "overflow",
403
+ "reflect": true,
404
+ "mutable": false,
405
+ "required": false,
406
+ "optional": false,
407
+ "defaultValue": "'auto'",
408
+ "complexType": {
409
+ "original": "ModalOverflowType",
410
+ "resolved": "\"auto\" | \"manual\"",
411
+ "references": {
412
+ "ModalOverflowType": {
413
+ "location": "import",
414
+ "path": "./meta/types",
415
+ "id": "src/components/mds-modal/meta/types.ts::ModalOverflowType"
416
+ }
417
+ }
418
+ },
419
+ "docs": {
420
+ "tags": [],
421
+ "text": "Specifies if the component prevents the body from scrolling when modal window is opened"
422
+ },
423
+ "internal": false,
424
+ "getter": false,
425
+ "setter": false
386
426
  }
387
427
  ],
388
428
  "shadowDelegatesFocus": false,
@@ -421,7 +461,9 @@
421
461
  "tags": [],
422
462
  "text": "Specifies if the modal is opened or not"
423
463
  },
424
- "internal": false
464
+ "internal": false,
465
+ "getter": false,
466
+ "setter": false
425
467
  },
426
468
  {
427
469
  "name": "position",
@@ -447,7 +489,9 @@
447
489
  "tags": [],
448
490
  "text": "Specifies the animation position of the modal window"
449
491
  },
450
- "internal": false
492
+ "internal": false,
493
+ "getter": false,
494
+ "setter": false
451
495
  },
452
496
  {
453
497
  "name": "animating",
@@ -473,7 +517,37 @@
473
517
  "tags": [],
474
518
  "text": "Specifies if the component is animating itself or not"
475
519
  },
476
- "internal": false
520
+ "internal": false,
521
+ "getter": false,
522
+ "setter": false
523
+ },
524
+ {
525
+ "name": "overflow",
526
+ "type": "string",
527
+ "attribute": "overflow",
528
+ "reflect": true,
529
+ "mutable": false,
530
+ "required": false,
531
+ "optional": false,
532
+ "defaultValue": "'auto'",
533
+ "complexType": {
534
+ "original": "ModalOverflowType",
535
+ "resolved": "\"auto\" | \"manual\"",
536
+ "references": {
537
+ "ModalOverflowType": {
538
+ "location": "import",
539
+ "path": "./meta/types",
540
+ "id": "src/components/mds-modal/meta/types.ts::ModalOverflowType"
541
+ }
542
+ }
543
+ },
544
+ "docs": {
545
+ "tags": [],
546
+ "text": "Specifies if the component prevents the body from scrolling when modal window is opened"
547
+ },
548
+ "internal": false,
549
+ "getter": false,
550
+ "setter": false
477
551
  }
478
552
  ],
479
553
  "virtualProperties": [],
@@ -597,6 +671,12 @@
597
671
  "annotation": "prop",
598
672
  "mode": "$"
599
673
  },
674
+ {
675
+ "name": "--mds-modal-custom-window-distance",
676
+ "docs": "Set the distance between the slotted modal window and the screen bounds",
677
+ "annotation": "prop",
678
+ "mode": "$"
679
+ },
600
680
  {
601
681
  "name": "--mds-modal-window-shadow",
602
682
  "docs": "Set the box shadow of the window",
@@ -657,6 +737,7 @@
657
737
  "hasMember": true,
658
738
  "hasMethod": false,
659
739
  "hasMode": false,
740
+ "hasModernPropertyDecls": false,
660
741
  "hasAttribute": true,
661
742
  "hasProp": true,
662
743
  "hasPropNumber": false,
@@ -715,7 +796,7 @@
715
796
  ],
716
797
  "componentGraph": {
717
798
  "sc-mds-modal": [
718
- "p-0ed6e0c8.js"
799
+ "p-ee90f86a.js"
719
800
  ]
720
801
  },
721
802
  "sourceGraph": {
@@ -723,10 +804,15 @@
723
804
  "./src/common/date.ts": [],
724
805
  "./src/common/device.ts": [],
725
806
  "./src/common/file.ts": [],
807
+ "./src/common/floating-controller.ts": [
808
+ "./src/common/aria",
809
+ "./src/common/unit"
810
+ ],
726
811
  "./src/common/icon.ts": [],
727
812
  "./src/common/keyboard-manager.ts": [],
728
813
  "./src/common/locale.ts": [],
729
814
  "./src/common/slot.ts": [],
815
+ "./src/common/string.ts": [],
730
816
  "./src/common/unit.ts": [],
731
817
  "./src/common/yugop/core.ts": [
732
818
  "./src/common/yugop/utils/math",
@@ -761,8 +847,10 @@
761
847
  "./src/fixtures/iconsauce.json"
762
848
  ],
763
849
  "./src/dictionary/input.ts": [],
850
+ "./src/dictionary/keyboard.ts": [],
764
851
  "./src/dictionary/loading.ts": [],
765
852
  "./src/dictionary/text.ts": [],
853
+ "./src/dictionary/tree.ts": [],
766
854
  "./src/dictionary/typography.ts": [],
767
855
  "./src/dictionary/variant.ts": [],
768
856
  "./src/fixtures/cities.ts": [],
@@ -776,9 +864,11 @@
776
864
  "./src/type/form-rel.ts": [],
777
865
  "./src/type/header-bar.ts": [],
778
866
  "./src/type/input.ts": [],
867
+ "./src/type/keyboard.ts": [],
779
868
  "./src/type/loading.ts": [],
780
869
  "./src/type/preference.ts": [],
781
870
  "./src/type/text.ts": [],
871
+ "./src/type/tree.ts": [],
782
872
  "./src/type/typography.ts": [],
783
873
  "./src/type/variant-file-format.ts": [],
784
874
  "./src/type/variant.ts": []
@@ -0,0 +1,46 @@
1
+ import { FloatingUIPlacement, FloatingUIStrategy } from "../type/floating-ui";
2
+ import { HTMLStencilElement } from '../stencil-public-runtime';
3
+ export interface FloatingElement extends PositionOptions {
4
+ host: HTMLFloatingElement;
5
+ }
6
+ export interface HTMLFloatingElement extends HTMLStencilElement, PositionOptions {
7
+ visible: boolean;
8
+ }
9
+ export interface PositionOptions {
10
+ arrow: boolean;
11
+ arrowPadding: number;
12
+ autoPlacement: boolean;
13
+ flip: boolean;
14
+ offset: number;
15
+ placement: FloatingUIPlacement;
16
+ shift: boolean;
17
+ shiftPadding: number;
18
+ strategy: FloatingUIStrategy;
19
+ }
20
+ export declare class FloatingController {
21
+ private _caller;
22
+ private readonly _host;
23
+ arrowEl: HTMLElement | undefined;
24
+ private cleanupAutoUpdate;
25
+ constructor(host: HTMLFloatingElement, arrowEl?: HTMLElement);
26
+ updateCaller(target: string): HTMLElement;
27
+ private readonly arrowInset;
28
+ private readonly arrowTransform;
29
+ private readonly arrowTransformOrigin;
30
+ private readonly calculatePosition;
31
+ updatePosition(): void;
32
+ dismiss(): void;
33
+ }
34
+ export declare class Backdrop {
35
+ private readonly defaultBackdropId;
36
+ private readonly backdropBackgroundVisible;
37
+ private readonly backdropBackgroundHidden;
38
+ private readonly backdropId;
39
+ private readonly cssBackdropZIndex;
40
+ private readonly cssBackdropDuration;
41
+ private backdropEl;
42
+ private backdropTimer;
43
+ constructor(backdropId?: string);
44
+ attachBackdrop(): void;
45
+ detachBackdrop(): void;
46
+ }
@@ -1,2 +1,4 @@
1
1
  declare const hasSlottedElements: (el: HTMLElement, name?: string) => boolean;
2
- export { hasSlottedElements, };
2
+ declare const hasSlottedNodes: (el: HTMLElement, name?: string) => boolean;
3
+ declare const hasSlotted: (el: HTMLElement, name?: string) => boolean;
4
+ export { hasSlottedElements, hasSlottedNodes, hasSlotted, };
@@ -0,0 +1,4 @@
1
+ declare const levenshteinDistance: (a: string, b: string) => number;
2
+ declare const closest: (input: string, validCodes: string[]) => string;
3
+ declare const firstLetterUppercase: (str: string) => string;
4
+ export { closest, firstLetterUppercase, levenshteinDistance, };
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { ModalPositionType, ModalAnimationStateType } from './meta/types';
2
+ import { ModalPositionType, ModalAnimationStateType, ModalOverflowType } from './meta/types';
3
3
  /**
4
4
  * @slot default - Contents that will be placed in the center of the window. Add `text string`, `HTML elements` or `components` to this slot.
5
5
  * @slot bottom - Contents that will be placed on bottom of the window. Add `text string`, `HTML elements` or `components` to this slot.
@@ -10,6 +10,7 @@ export declare class MdsModal {
10
10
  private animationDelayTimeout;
11
11
  private window;
12
12
  private top;
13
+ private bodyOverflow;
13
14
  private bottom;
14
15
  private cssTransitionDuration;
15
16
  host: HTMLMdsModalElement;
@@ -25,6 +26,10 @@ export declare class MdsModal {
25
26
  * Specifies if the component is animating itself or not
26
27
  */
27
28
  animating?: ModalAnimationStateType;
29
+ /**
30
+ * Specifies if the component prevents the body from scrolling when modal window is opened
31
+ */
32
+ readonly overflow: ModalOverflowType;
28
33
  /**
29
34
  * Emits when a modal is closed
30
35
  */
@@ -36,6 +41,8 @@ export declare class MdsModal {
36
41
  private updateCSSCustomProps;
37
42
  private stopIntroAnimationWindow;
38
43
  private stopOutroAnimationWindow;
44
+ private disableOverflow;
45
+ private enableOverflow;
39
46
  private animateOpenWindow;
40
47
  private animateCloseWindow;
41
48
  componentWillLoad(): void;
@@ -1,2 +1,3 @@
1
1
  declare const modalPositionDictionary: string[];
2
- export { modalPositionDictionary, };
2
+ declare const modalOverflowDictionary: string[];
3
+ export { modalOverflowDictionary, modalPositionDictionary, };
@@ -1,2 +1,3 @@
1
1
  export type ModalPositionType = 'bottom' | 'bottom-left' | 'bottom-right' | 'center' | 'left' | 'right' | 'top' | 'top-left' | 'top-right';
2
2
  export type ModalAnimationStateType = 'intro' | 'none' | 'outro';
3
+ export type ModalOverflowType = 'auto' | 'manual';
@@ -7,6 +7,16 @@ declare const _default: {
7
7
  name: string;
8
8
  };
9
9
  };
10
+ overflow: {
11
+ description: string;
12
+ control: {
13
+ type: string;
14
+ };
15
+ options: string[];
16
+ type: {
17
+ name: string;
18
+ };
19
+ };
10
20
  position: {
11
21
  control: {
12
22
  type: string;
@@ -21,6 +31,7 @@ declare const _default: {
21
31
  };
22
32
  export default _default;
23
33
  export declare const Default: any;
34
+ export declare const BodyOverflowDisabled: any;
24
35
  export declare const DefaultWindowCustomized: any;
25
36
  export declare const CustomWindowElement: any;
26
37
  export declare const Interactive: any;
@@ -5,8 +5,8 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { ModalAnimationStateType, ModalPositionType } from "./components/mds-modal/meta/types";
9
- export { ModalAnimationStateType, ModalPositionType } from "./components/mds-modal/meta/types";
8
+ import { ModalAnimationStateType, ModalOverflowType, ModalPositionType } from "./components/mds-modal/meta/types";
9
+ export { ModalAnimationStateType, ModalOverflowType, ModalPositionType } from "./components/mds-modal/meta/types";
10
10
  export namespace Components {
11
11
  interface MdsModal {
12
12
  /**
@@ -17,6 +17,10 @@ export namespace Components {
17
17
  * Specifies if the modal is opened or not
18
18
  */
19
19
  "opened": boolean;
20
+ /**
21
+ * Specifies if the component prevents the body from scrolling when modal window is opened
22
+ */
23
+ "overflow": ModalOverflowType;
20
24
  /**
21
25
  * Specifies the animation position of the modal window
22
26
  */
@@ -68,6 +72,10 @@ declare namespace LocalJSX {
68
72
  * Specifies if the modal is opened or not
69
73
  */
70
74
  "opened"?: boolean;
75
+ /**
76
+ * Specifies if the component prevents the body from scrolling when modal window is opened
77
+ */
78
+ "overflow"?: ModalOverflowType;
71
79
  /**
72
80
  * Specifies the animation position of the modal window
73
81
  */
@@ -0,0 +1,2 @@
1
+ declare const keyboardKeyNameDictionary: string[];
2
+ export { keyboardKeyNameDictionary, };