@maggioli-design-system/mds-progress 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-abfa4aa9.js → index-e0686900.js} +130 -91
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-progress.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/browser.js +7 -0
- package/dist/collection/common/floating-controller.js +25 -4
- package/dist/collection/common/keyboard-manager.js +3 -2
- package/dist/collection/components/mds-progress/mds-progress.css +55 -75
- package/dist/collection/dictionary/button.js +2 -0
- package/dist/collection/type/input-tip.js +1 -0
- package/dist/components/mds-progress.js +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-a89959e6.js → index-bdcbc2fe.js} +130 -91
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-progress.entry.js +2 -2
- package/dist/esm/mds-progress.js +3 -3
- package/dist/esm-es5/index-bdcbc2fe.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-progress.entry.js +1 -1
- package/dist/esm-es5/mds-progress.js +1 -1
- package/dist/mds-progress/mds-progress.esm.js +1 -1
- package/dist/mds-progress/mds-progress.js +1 -1
- package/dist/mds-progress/p-1d5b5b51.system.js +1 -0
- package/dist/mds-progress/p-69cd397a.entry.js +1 -0
- package/dist/mds-progress/p-8c9db3a8.system.js +2 -0
- package/dist/mds-progress/p-cd904a06.system.entry.js +1 -0
- package/dist/mds-progress/p-e65c1ecc.js +2 -0
- package/dist/stats.json +36 -33
- package/dist/types/common/browser.d.ts +2 -0
- package/dist/types/common/floating-controller.d.ts +1 -0
- package/dist/types/common/locale.d.ts +1 -1
- package/dist/types/type/button.d.ts +1 -1
- package/dist/types/type/input-tip.d.ts +1 -0
- package/documentation.json +29 -14
- package/package.json +3 -3
- package/src/common/browser.ts +10 -0
- package/src/common/floating-controller.ts +26 -3
- package/src/common/keyboard-manager.ts +1 -0
- package/src/common/locale.ts +2 -2
- package/src/components/mds-progress/css/mds-progress-pref-animation.css +7 -14
- package/src/components/mds-progress/css/mds-progress-pref-contrast.css +8 -18
- package/src/components/mds-progress/css/mds-progress-pref-theme.css +32 -48
- package/src/components/mds-progress/css/mds-progress-variant.css +7 -16
- package/src/components/mds-progress/mds-progress.css +2 -3
- package/src/dictionary/button.ts +2 -0
- package/src/fixtures/icons.json +8 -0
- package/src/fixtures/iconsauce.json +1 -0
- package/src/tailwind/components.css +2 -48
- package/src/tailwind/index.css +4 -0
- package/src/type/button.ts +2 -0
- package/src/type/input-tip.ts +11 -0
- package/www/build/mds-progress.esm.js +1 -1
- package/www/build/mds-progress.js +1 -1
- package/www/build/p-1d5b5b51.system.js +1 -0
- package/www/build/p-69cd397a.entry.js +1 -0
- package/www/build/p-8c9db3a8.system.js +2 -0
- package/www/build/p-cd904a06.system.entry.js +1 -0
- package/www/build/p-e65c1ecc.js +2 -0
- package/dist/esm-es5/index-a89959e6.js +0 -1
- package/dist/mds-progress/p-2b265ffa.system.js +0 -1
- package/dist/mds-progress/p-321f64dc.system.entry.js +0 -1
- package/dist/mds-progress/p-64876922.system.js +0 -2
- package/dist/mds-progress/p-8a9536f1.js +0 -2
- package/dist/mds-progress/p-a2e9544b.entry.js +0 -1
- package/www/build/p-2b265ffa.system.js +0 -1
- package/www/build/p-321f64dc.system.entry.js +0 -1
- package/www/build/p-64876922.system.js +0 -2
- package/www/build/p-8a9536f1.js +0 -2
- package/www/build/p-a2e9544b.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host,g as getElement}from"./index-a89959e6.js";var removeAttributesIf=function(r,t,n,s){if(n===void 0){n="true"}if(ifAttribute(r,t,n)){var d=Array.isArray(s)?s:[s];d.forEach((function(t){r.removeAttribute(t)}));return true}return false};var ifAttribute=function(r,t,n){if(n===void 0){n="true"}if(r.hasAttribute(t)&&r.getAttribute(t)===n){return true}return false};var mdsProgressCss='@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-progress-background: Sets the background-color of the component\n * @prop --mds-progress-color: Sets the background-color of the progress\n * @prop --mds-progress-duration: Sets the duration of the progress bar animation\n * @prop --mds-progress-radius: Sets the border-radius of the component\n * @prop --mds-progress-thickness: Sets the thickness of the progress bar\n */\n\n:host {\n\n --mds-progress-background: rgb(var(--tone-neutral-08));\n --mds-progress-color: rgb(var(--variant-primary-03));\n --mds-progress-duration: 750ms;\n --mds-progress-radius: 0.5rem;\n --mds-progress-thickness: 0.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-progress-background);\n border-radius: var(--mds-progress-radius);\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-progress-thickness);\n min-width: var(--mds-progress-thickness);\n overflow: hidden;\n position: relative;\n -webkit-transition-property: background-color;\n transition-property: background-color;\n width: 100%;\n}\n\n:host( [direction="vertical"] ) {\n -ms-flex-direction: column;\n flex-direction: column;\n height: unset;\n min-height: var(--mds-progress-thickness);\n width: var(--mds-progress-thickness);\n}\n\n.progress{\n\n -webkit-transition-duration: 500ms;\n\n transition-duration: 500ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n background-color: var(--mds-progress-color);\n border-radius: var(--mds-progress-radius);\n -webkit-transition-duration: var(--mds-progress-duration);\n transition-duration: var(--mds-progress-duration);\n -webkit-transition-property: background-color, flex-grow;\n transition-property: background-color, flex-grow;\n transition-property: background-color, flex-grow, -ms-flex-positive;\n}\n\n@tailwind utilities;\n\n:host( [variant="dark"] ) {\n\n --mds-progress-color: rgb(var(--tone-neutral-04));\n --mds-progress-background: rgb(var(--tone-neutral-08));\n}\n\n:host( [variant="light"] ) {\n\n --mds-progress-color: rgb(var(--tone-neutral));\n --mds-progress-background: rgb(var(--tone-neutral-05));\n}\n\n:host( [variant="error"] ) {\n\n --mds-progress-color: rgb(var(--status-error-06));\n --mds-progress-background: rgb(var(--status-error-09));\n}\n\n:host( [variant="warning"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-06));\n --mds-progress-background: rgb(var(--status-warning-09));\n}\n\n:host( [variant="success"] ) {\n\n --mds-progress-color: rgb(var(--status-success-06));\n --mds-progress-background: rgb(var(--status-success-09));\n}\n\n:host( [variant="info"] ) {\n\n --mds-progress-color: rgb(var(--status-info-06));\n --mds-progress-background: rgb(var(--status-info-09));\n}\n\n:host( [variant="primary"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-03));\n --mds-progress-background: rgb(var(--tone-neutral-08));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .progress {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .progress {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@container style(--magma-pref-theme: dark) {\n :host,\n :host( [variant="primary"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-05));\n --mds-progress-background: rgb(var(--tone-neutral-07));\n }\n\n :host( [variant="error"] ) {\n\n --mds-progress-color: rgb(var(--status-error-04));\n --mds-progress-background: rgb(var(--status-error-07));\n }\n\n :host( [variant="warning"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-04));\n --mds-progress-background: rgb(var(--status-warning-07));\n }\n\n :host( [variant="success"] ) {\n\n --mds-progress-color: rgb(var(--status-success-04));\n --mds-progress-background: rgb(var(--status-success-07));\n }\n\n :host( [variant="info"] ) {\n\n --mds-progress-color: rgb(var(--status-info-04));\n --mds-progress-background: rgb(var(--status-info-07));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host,\n :host( [variant="primary"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-05));\n --mds-progress-background: rgb(var(--tone-neutral-07));\n }\n\n :host( [variant="error"] ) {\n\n --mds-progress-color: rgb(var(--status-error-04));\n --mds-progress-background: rgb(var(--status-error-07));\n }\n\n :host( [variant="warning"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-04));\n --mds-progress-background: rgb(var(--status-warning-07));\n }\n\n :host( [variant="success"] ) {\n\n --mds-progress-color: rgb(var(--status-success-04));\n --mds-progress-background: rgb(var(--status-success-07));\n }\n\n :host( [variant="info"] ) {\n\n --mds-progress-color: rgb(var(--status-info-04));\n --mds-progress-background: rgb(var(--status-info-07));\n }\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';var MdsProgressStyle0=mdsProgressCss;var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){removeAttributesIf(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!ifAttribute(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!ifAttribute(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar"},h("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),h("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=MdsProgressStyle0;export{MdsProgress as mds_progress};
|
|
1
|
+
import{r as registerInstance,h,H as Host,g as getElement}from"./index-bdcbc2fe.js";var removeAttributesIf=function(r,t,s,d){if(s===void 0){s="true"}if(ifAttribute(r,t,s)){var e=Array.isArray(d)?d:[d];e.forEach((function(t){r.removeAttribute(t)}));return true}return false};var ifAttribute=function(r,t,s){if(s===void 0){s="true"}if(r.hasAttribute(t)&&r.getAttribute(t)===s){return true}return false};var mdsProgressCss='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsProgressStyle0=mdsProgressCss;var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){removeAttributesIf(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!ifAttribute(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!ifAttribute(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar"},h("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),h("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=MdsProgressStyle0;export{MdsProgress as mds_progress};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(r,e,t,n){function o(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function s(r){try{c(n.next(r))}catch(r){i(r)}}function a(r){try{c(n["throw"](r))}catch(r){i(r)}}function c(r){r.done?t(r.value):o(r.value).then(s,a)}c((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(r){return function(e){return c([r,e])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(t=0)),t)try{if(n=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=e.call(r,t)}catch(r){a=[6,r];o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(r,e,t,n){function o(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function s(r){try{c(n.next(r))}catch(r){i(r)}}function a(r){try{c(n["throw"](r))}catch(r){i(r)}}function c(r){r.done?t(r.value):o(r.value).then(s,a)}c((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(r){return function(e){return c([r,e])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(t=0)),t)try{if(n=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=e.call(r,t)}catch(r){a=[6,r];o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-bdcbc2fe.js";export{s as setNonce}from"./index-bdcbc2fe.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var r=import.meta.url;var e={};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(r){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],r)]}}))}))}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as e,b as r}from"./p-e65c1ecc.js";export{s as setNonce}from"./p-e65c1ecc.js";import{g as p}from"./p-e1255160.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async s=>(await p(),r([["p-69cd397a",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s))));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-1d5b5b51.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{o(r.next(t))}catch(t){s(t)}}function c(t){try{o(r["throw"](t))}catch(t){s(t)}}function o(t){t.done?e(t.value):i(t.value).then(u,c)}o((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(t){return function(n){return o([t,n])}}function o(c){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,c[0]&&(e=0)),e)try{if(r=1,i&&(s=c[0]&2?i["return"]:c[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;if(i=0,s)c=[c[0]&2,s.value];switch(c[0]){case 0:case 1:s=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){e.label=c[1];break}if(c[0]===6&&e.label<s[1]){e.label=s[1];s=c;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(c);break}if(s[2])e.ops.pop();e.trys.pop();continue}c=n.call(t,e)}catch(t){c=[6,t];i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-8c9db3a8.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var s=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};s().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-cd904a06.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],n)]}}))}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as t,H as d,g as s}from"./p-e65c1ecc.js";const e=(r,t,d="true")=>!(!r.hasAttribute(t)||r.getAttribute(t)!==d),a=class{constructor(t){r(this,t),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){((r,t,d="true",s)=>{if(e(r,"aria-hidden",d))(Array.isArray(s)?s:[s]).forEach((t=>{r.removeAttribute(t)}))})(this.element,0,"true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],e(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return t(d,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!e(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar"},t("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),t("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return s(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};a.style='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{a as mds_progress}
|
|
@@ -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 o(r){try{u(t.next(r))}catch(r){a(r)}}function f(r){try{u(t["throw"](r))}catch(r){a(r)}}function u(r){r.done?n(r.value):i(r.value).then(o,f)}u((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,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(r){return function(e){return u([r,e])}}function u(f){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=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-progress";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,devTools:false,element:false,event:false,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,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:false,propMutable:false,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:false,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:false,vdomXlink:false,watchCallback:true};var a=Object.defineProperty;var o=function(r,e){for(var n in e)a(r,n,{get:e[n],enumerable:true})};var f=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var u=r("r",(function(r,e){r.__stencil__getHostRef=function(){return e};e.t=r}));var l=function(r,e){var n={i:0,$hostElement$:r,o:e,u:new Map};{n.l=new Promise((function(r){return n.v=r}));r["s-p"]=[];r["s-rc"]=[]}var t=n;r.__stencil__getHostRef=function(){return t};return t};var s=function(r,e){return e in r};var c=function(r,e){return(0,console.error)(r,e)};var v=new Map;var d=function(r,n,t){var i=r.h.replace(/-/g,"_");var a=r.p;if(!a){return void 0}var o=v.get(a);if(o){return o[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{v.set(a,r)}return r[i]}),(function(r){c(r,n.$hostElement$)}))};var h=new Map;var p="sty-id";var m="{visibility:hidden}[hydrated]{visibility:inherit}";var y="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w=typeof window!=="undefined"?window:{};var b={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 S=r("p",(function(r){return Promise.resolve(r)}));var g=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var _=false;var $=[];var j=[];var k=function(r,e){return function(n){r.push(n);if(!_){_=true;if(e&&b.i&4){C(O)}else{b.raf(O)}}}};var A=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){c(r)}}r.length=0};var O=function(){A($);{A(j);if(_=$.length>0){b.raf(O)}}};var C=function(r){return S().then(r)};var x=k(j,true);var T=function(r){r=typeof r;return r==="object"||r==="function"};function E(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 D={};o(D,{err:function(){return L},map:function(){return P},ok:function(){return M},unwrap:function(){return F},unwrapErr:function(){return N}});var M=function(r){return{isOk:true,isErr:false,value:r}};var L=function(r){return{isOk:false,isErr:true,value:r}};function P(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return M(r)}))}else{return M(n)}}if(r.isErr){var t=r.value;return L(t)}throw"should never get here"}var F=function(r){if(r.isOk){return r.value}else{throw r.value}};var N=function(r){if(r.isErr){return r.value}else{throw r.value}};var R=function(r,e){if(e===void 0){e=""}{return function(){return}}};var U=function(r,e){{return function(){return}}};var W=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 o=false;var f=false;var u=[];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(o=typeof r!=="function"&&!T(i)){i=String(i)}if(o&&f){u[u.length-1].S+=i}else{u.push(o?z(null,i):i)}f=o}}};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=z(r,null);c._=e;if(u.length>0){c.$=u}{c.j=a}return c}));var z=function(r,e){var n={i:0,k:r,S:e,A:null,$:null};{n._=null}{n.j=null}return n};var H=r("H",{});var B=function(r){return r&&r.k===H};var G=function(r,e){if(r!=null&&!T(r)){if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var I=r("g",(function(r){return f(r).$hostElement$}));var Q=function(r,e,n){var t=b.ce(e,n);r.dispatchEvent(t);return t};var V=new WeakMap;var q=function(r,e,n){var t=h.get(r);if(g&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}h.set(r,t)};var K=function(r,e,n){var t;var i=Y(e);var a=h.get(i);if(!w.document){return i}r=r.nodeType===11?r:w.document;if(a){if(typeof a==="string"){r=r.head||r;var o=V.get(r);var f=void 0;if(!o){V.set(r,o=new Set)}if(!o.has(i)){{f=document.querySelector("[".concat(p,'="').concat(i,'"]'))||w.document.createElement("style");f.innerHTML=a;var u=(t=b.O)!=null?t:E(w.document);if(u!=null){f.setAttribute("nonce",u)}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(g){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.insertBefore(f,null)}}if(e.i&4){f.innerHTML+=y}if(o){o.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var X=function(r){var e=r.o;var n=r.$hostElement$;var t=e.i;var i=R("attachStyles",e.h);var a=K(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2||t&128){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var Y=function(r,e){return"sc-"+r.h};var J=function(r,e,n,t,i,a,o){if(n===t){return}var f=s(r,e);e.toLowerCase();if(e==="class"){var u=r.classList;var l=rr(n);var c=rr(t);{u.remove.apply(u,l.filter((function(r){return r&&!c.includes(r)})));u.add.apply(u,c.filter((function(r){return r&&!l.includes(r)})))}}else if(e==="style"){{for(var v in n){if(!t||t[v]==null){if(v.includes("-")){r.style.removeProperty(v)}else{r.style[v]=""}}}}for(var v in t){if(!n||t[v]!==n[v]){if(v.includes("-")){r.style.setProperty(v,t[v])}else{r.style[v]=t[v]}}}}else if(e==="key");else{var d=T(t);if((f||d&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=h){if(typeof r.__lookupSetter__(e)==="function"){r[e]=h}else{r.setAttribute(e,h)}}}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)&&!d&&r.nodeType===1){t=t===true?"":t;{r.setAttribute(e,t)}}}};var Z=/\s/;var rr=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Z)};var er=function(r,e,n,t){var i=e.A.nodeType===11&&e.A.host?e.A.host:e.A;var a=r&&r._||{};var o=e._||{};{for(var f=0,u=nr(Object.keys(a));f<u.length;f++){var l=u[f];if(!(l in o)){J(i,l,a[l],void 0,n,e.i)}}}for(var s=0,c=nr(Object.keys(o));s<c.length;s++){var l=c[s];J(i,l,a[l],o[l],n,e.i)}};function nr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var tr;var ir=false;var ar=false;var or=function(r,e,n){var t=e.$[n];var a=0;var o;var f;{if(!w.document){throw new Error("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.")}o=t.A=w.document.createElement(!ir&&i.slotRelocation&&t.i&2?"slot-fb":t.k);{er(null,t,ar)}if(t.$){for(a=0;a<t.$.length;++a){f=or(r,t,a);if(f){o.appendChild(f)}}}}o["s-hn"]=tr;return o};var fr=function(r,e,n,t,i,a){var o=r;var f;if(o.shadowRoot&&o.tagName===tr){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){f=or(null,n,i);if(f){t[i].A=f;vr(o,f,e)}}}};var ur=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 lr=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var o=0;var f=0;var u=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&&o<=v){if(s==null){s=e[++a]}else if(c==null){c=e[--l]}else if(d==null){d=t[++o]}else if(h==null){h=t[--v]}else if(sr(s,d,i)){cr(s,d,i);s=e[++a];d=t[++o]}else if(sr(c,h,i)){cr(c,h,i);c=e[--l];h=t[--v]}else if(sr(s,h,i)){cr(s,h,i);vr(r,s.A,c.A.nextSibling);s=e[++a];h=t[--v]}else if(sr(c,d,i)){cr(c,d,i);vr(r,c.A,s.A);c=e[--l];d=t[++o]}else{f=-1;{for(u=a;u<=l;++u){if(e[u]&&e[u].j!==null&&e[u].j===d.j){f=u;break}}}if(f>=0){m=e[f];if(m.k!==d.k){p=or(e&&e[o],n,f)}else{cr(m,d,i);e[f]=void 0;p=m.A}d=t[++o]}else{p=or(e&&e[o],n,o);d=t[++o]}if(p){{vr(s.A.parentNode,p,s.A)}}}}if(a>l){fr(r,t[v+1]==null?null:t[v+1].A,n,t,o,v)}else if(o>v){ur(e,a,l)}};var sr=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 cr=function(r,e,n){if(n===void 0){n=false}var t=e.A=r.A;var a=r.$;var o=e.$;{{er(r,e,ar)}if(a!==null&&o!==null){lr(t,a,e,o,n)}else if(o!==null){fr(t,null,e,o,0,o.length-1)}else if(!n&&i.updatable&&a!==null){ur(a,0,a.length-1)}}};var vr=function(r,e,n){{return r==null?void 0:r.insertBefore(e,n)}};var dr=function(r,e,n){if(n===void 0){n=false}var t=r.$hostElement$;var i=r.o;var a=r.C||z(null,null);var o=B(e)?e:W(null,null,e);tr=t.tagName;if(i.T){o._=o._||{};i.T.map((function(r){var e=r[0],n=r[1];return o._[n]=t[e]}))}if(n&&o._){for(var f=0,u=Object.keys(o._);f<u.length;f++){var l=u[f];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o._[l]=t[l]}}}o.k=null;o.i|=4;r.C=o;o.A=a.A=t.shadowRoot||t;ir=!!(i.i&1)&&!(i.i&128);cr(a,o,n)};var hr=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 pr=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}hr(r,r.M);var n=function(){return mr(r,e)};return x(n)};var mr=function(r,e){var n=r.$hostElement$;var t=R("scheduleUpdate",r.o.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){a=$r(i,"componentWillLoad",void 0,n)}else{a=$r(i,"componentWillUpdate",void 0,n)}a=yr(a,(function(){return $r(i,"componentWillRender",void 0,n)}));t();return yr(a,(function(){return br(r,i,e)}))};var yr=function(r,e){return wr(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var wr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var br=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,f,u,l;return __generator(this,(function(s){i=r.$hostElement$;a=R("update",r.o.h);o=i["s-rc"];if(t){X(r)}f=R("render",r.o.h);{Sr(r,e,i,t)}if(o){o.map((function(r){return r()}));i["s-rc"]=void 0}f();a();{u=(n=i["s-p"])!=null?n:[];l=function(){return gr(r)};if(u.length===0){l()}else{Promise.all(u).then(l);r.i|=4;u.length=0}}return[2]}))}))};var Sr=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{dr(r,e,t)}}}}catch(e){c(e,r.$hostElement$)}return null};var gr=function(r){var e=r.o.h;var n=r.$hostElement$;var t=R("postUpdate",e);var i=r.t;var a=r.M;$r(i,"componentDidRender",void 0,n);if(!(r.i&64)){r.i|=64;{jr(n)}$r(i,"componentDidLoad",void 0,n);t();{r.v(n);if(!a){_r()}}}else{$r(i,"componentDidUpdate",void 0,n);t()}{if(r.D){r.D();r.D=void 0}if(r.i&512){C((function(){return pr(r,false)}))}r.i&=~(4|512)}};var _r=function(r){C((function(){return Q(w,"appload",{detail:{namespace:t}})}))};var $r=function(r,e,n,t){if(r&&r[e]){try{return r[e](n)}catch(r){c(r,t)}}return void 0};var jr=function(r){var e;return r.setAttribute((e=i.hydratedSelectorName)!=null?e:"hydrated","")};var kr=function(r,e){return f(r).u.get(e)};var Ar=function(r,e,n,t){var i=f(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/stenciljs/core/issues/5457).'))}var a=i.$hostElement$;var o=i.u.get(e);var u=i.i;var l=i.t;n=G(n,t.L[e][0]);var s=Number.isNaN(o)&&Number.isNaN(n);var v=n!==o&&!s;if((!(u&8)||o===void 0)&&v){i.u.set(e,n);if(l){if(t.P&&u&128){var d=t.P[e];if(d){d.map((function(r){try{l[r](n,o,e)}catch(r){c(r,a)}}))}}if((u&(2|16))===2){if(l.componentShouldUpdate){if(l.componentShouldUpdate(n,o,e)===false){return}}pr(i,false)}}}};var Or=function(r,e,n){var t,a;var o=r.prototype;if(e.L||(e.P||r.watchers)){if(r.watchers&&!e.P){e.P=r.watchers}var u=Object.entries((t=e.L)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(o,t)||{},u=a.get,l=a.set;if(u)e.L[t][0]|=2048;if(l)e.L[t][0]|=4096;if(n&1||!u){Object.defineProperty(o,t,{get:function(){{if((e.L[t][0]&2048)===0){return kr(this,t)}var r=f(this);var n=r?r.t:o;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(o,t,{set:function(r){var a=this;var o=f(this);if(l){var u=i&32?this[t]:o.$hostElement$[t];if(typeof u==="undefined"&&o.u.get(t)){r=o.u.get(t)}else if(!o.u.get(t)&&u){o.u.set(t,u)}l.apply(this,[G(r,i)]);r=i&32?this[t]:o.$hostElement$[t];Ar(this,t,r,e);return}{if((n&1)===0||(e.L[t][0]&4096)===0){Ar(this,t,r,e);if(n&1&&!o.t){o.l.then((function(){if(e.L[t][0]&4096&&o.t[t]!==o.u.get(t)){o.t[t]=r}}))}return}var s=function(){var n=o.t[t];if(!o.u.get(t)&&n){o.u.set(t,n)}o.t[t]=G(r,i);Ar(a,t,o.t[t],e)};if(o.t){s()}else{o.l.then((function(){return s()}))}}}})}}));if(n&1){var l=new Map;o.attributeChangedCallback=function(r,n,t){var a=this;b.jmp((function(){var u;var s=l.get(r);if(a.hasOwnProperty(s)&&i.lazyLoad){t=a[s];delete a[s]}else if(o.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==t){return}else if(s==null){var c=f(a);var v=c==null?void 0:c.i;if(v&&!(v&8)&&v&128&&t!==n){var d=c.t;var h=(u=e.P)==null?void 0:u[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(o,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.P)!=null?a:{}),true),u.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 Cr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,f,u,l,s,v,p,m;return __generator(this,(function(y){switch(y.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.p;if(!i)return[3,4];a=d(t,e);if(!(a&&"then"in a))return[3,2];o=U();return[4,a];case 1:n=y.sent();o();return[3,3];case 2:n=a;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(e.F,'" was not found'))}if(!n.isProxied){{t.P=n.watchers}Or(n,t,2);n.isProxied=true}f=R("createInstance",t.h);{e.i|=8}try{new n(e)}catch(e){c(e,r)}{e.i&=~8}{e.i|=128}f();xr(e.t,r);return[3,5];case 4:n=r.constructor;u=r.localName;customElements.whenDefined(u).then((function(){return e.i|=128}));y.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=Y(t);if(!h.has(s)){v=R("registerStyles",t.h);q(s,l,!!(t.i&1));v()}}y.label=6;case 6:p=e.M;m=function(){return pr(e,true)};if(p&&p["s-rc"]){p["s-rc"].push(m)}else{m()}return[2]}}))}))};var xr=function(r,e){{$r(r,"connectedCallback",void 0,e)}};var Tr=function(r){if((b.i&1)===0){var e=f(r);var n=e.o;var t=R("connectedCallback",n.h);if(!(e.i&1)){e.i|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){hr(e,e.M=i);break}}}if(n.L){Object.entries(n.L).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}}))}{Cr(r,e,n)}}else{if(e==null?void 0:e.t){xr(e.t,r)}else if(e==null?void 0:e.l){e.l.then((function(){return xr(e.t,r)}))}}t()}};var Er=function(r,e){{$r(r,"disconnectedCallback",void 0,e||r)}};var Dr=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((b.i&1)===0){e=f(r);if(e==null?void 0:e.t){Er(e.t,r)}else if(e==null?void 0:e.l){e.l.then((function(){return Er(e.t,r)}))}}if(V.has(r)){V.delete(r)}if(r.shadowRoot&&V.has(r.shadowRoot)){V.delete(r.shadowRoot)}return[2]}))}))};var Mr=r("b",(function(r,e){if(e===void 0){e={}}var n;if(!w.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=R();var i=[];var a=e.exclude||[];var o=w.customElements;var u=w.document.head;var s=u.querySelector("meta[charset]");var c=w.document.createElement("style");var v=[];var d;var h=true;Object.assign(b,e);b.m=new URL(e.resourcesUrl||"./",w.document.baseURI).href;var p=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],h:e[1],L:e[2],N:e[3]};if(t.i&4){p=true}{t.L=e[2]}{t.T=[]}{t.P=(n=e[4])!=null?n:{}}var u=t.h;var s=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;l(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;f(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{b.jmp((function(){return Tr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;b.jmp((function(){return Dr(r)}));b.raf((function(){var e;var n=f(r);var t=v.findIndex((function(e){return e===r}));if(t>-1){v.splice(t,1)}if(((e=n==null?void 0:n.C)==null?void 0:e.A)instanceof Node&&!n.C.A.isConnected){delete n.C.A}}))};e.prototype.componentOnReady=function(){return f(this).l};return e}(HTMLElement);t.p=r[0];if(!a.includes(u)&&!o.get(u)){i.push(u);o.define(u,Or(s,t,1))}}))}));if(i.length>0){if(p){c.textContent+=y}{c.textContent+=i.sort()+m}if(c.innerHTML.length){c.setAttribute("data-styles","");var S=(n=b.O)!=null?n:E(w.document);if(S!=null){c.setAttribute("nonce",S)}u.insertBefore(c,s?s.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{b.jmp((function(){return d=setTimeout(_r,30)}))}}t()}));var Lr=r("s",(function(r){return b.O=r}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-8c9db3a8.system.js"],(function(r){"use strict";var t,d,s,e;return{setters:[function(r){t=r.r;d=r.h;s=r.H;e=r.g}],execute:function(){var a=function(r,t,d,s){if(d===void 0){d="true"}if(o(r,t,d)){var e=Array.isArray(s)?s:[s];e.forEach((function(t){r.removeAttribute(t)}));return true}return false};var o=function(r,t,d){if(d===void 0){d="true"}if(r.hasAttribute(t)&&r.getAttribute(t)===d){return true}return false};var i='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var n=i;var h=r("mds_progress",function(){function r(r){t(this,r);this.stepsList=new Array;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){a(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!o(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return d(s,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!o(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar"},d("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),d("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());h.style=n}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>(0,console.error)(e,t),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="undefined"!=typeof window?window:{},c={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},u=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),f=!1,d=[],h=[],p=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&c.o?v(y):c.raf(y))},m=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},y=()=>{m(d),m(h),(f=d.length>0)&&c.raf(y)},v=e=>u().then(e),b=p(h,!0),w=e=>"object"==(e=typeof e)||"function"===e;function $(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>g,map:()=>j,ok:()=>S,unwrap:()=>O,unwrapErr:()=>E});var S=e=>({isOk:!0,isErr:!1,value:e}),g=e=>({isOk:!1,isErr:!0,value:e});function j(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>S(e))):S(n)}if(e.isErr)return g(e.value);throw"should never get here"}var k,O=e=>{if(e.isOk)return e.value;throw e.value},E=e=>{if(e.isErr)return e.value;throw e.value},C=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!w(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?M(null,o):o),s=i)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=M(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},M=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},x=(e,t)=>null==e||w(e)?e:2&t?parseFloat(e):1&t?e+"":e,D=e=>t(e).$hostElement$,U=new WeakMap,W=e=>"sc-"+e.$,A=(e,t,n,o,l,i)=>{if(n===o)return;let s=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,l=R(n);let i=R(o);t.remove(...l.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else{const r=w(o);if((s||r&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?s=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!s||4&i||l)&&!r&&1===e.nodeType&&e.setAttribute(t,o=!0===o?"":o)}},N=/\s/,R=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(N):[]),H=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of L(Object.keys(l)))e in i||A(o,e,l[e],void 0,n,t.o);for(const e of L(Object.keys(i)))A(o,e,l[e],i[e],n,t.o)};function L(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var T=!1,F=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(!r.document)throw Error("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.");if(l=o.v=r.document.createElement(o.m),H(null,o,T),o.h)for(s=0;s<o.h.length;++s)i=F(e,o,s),i&&l.appendChild(i);return l["s-hn"]=k,l},z=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=F(null,n,l),s&&(o[l].v=s,I(r,s,t)))},V=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},q=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),G=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h;H(e,t,T),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(q(d,m,l))G(d,m,l),d=t[++r],m=o[++c];else if(q(h,y,l))G(h,y,l),h=t[--f],y=o[--p];else if(q(d,y,l))G(d,y,l),I(e,d.v,h.v.nextSibling),d=t[++r],y=o[--p];else if(q(h,m,l))G(h,m,l),I(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=F(t&&t[c],n,u):(G(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=F(t&&t[c],n,c),m=o[++c]),i&&I(d.v.parentNode,i,d.v)}r>f?z(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&V(t,r,f)})(o,l,t,i,n):null!==i?z(o,null,t,i,0,i.length-1):!n&&null!==l&&V(l,0,l.length-1)},I=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Y=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},_=(e,t)=>{if(e.o|=16,!(4&e.o))return Y(e,e.j),b((()=>B(e,t)));e.o|=512},B=(e,t)=>{const n=e.$hostElement$,o=e.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 l=te(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=J(l,(()=>te(o,"componentWillRender",void 0,n))),J(l,(()=>Q(e,o,t)))},J=(e,t)=>K(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),K=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Q=async(e,t,n)=>{var o;const l=e.$hostElement$,u=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=W(t),l=i.get(o);if(!r.document)return o;if(e=11===e.nodeType?e:r.document,l)if("string"==typeof l){let i,u=U.get(e=e.head||e);if(u||U.set(e,u=new Set),!u.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||r.document.createElement("style"),i.innerHTML=l;const s=null!=(n=c.O)?n:$(r.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(a){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=s),u&&u.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);X(e,t,l,n),u&&(u.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>Z(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},X=(e,t,n,l)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,i=e.C||M(null,null),s=(e=>e&&e.m===P)(t)?t:C(null,null,t);if(k=o.tagName,l.M&&(s.u=s.u||{},l.M.map((([e,t])=>s.u[t]=o[e]))),n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=i.v=o.shadowRoot||o,G(i,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},Z=e=>{const t=e.$hostElement$,n=e.t,o=e.j;te(n,"componentDidRender",void 0,t),64&e.o?te(n,"componentDidUpdate",void 0,t):(e.o|=64,ne(t),te(n,"componentDidLoad",void 0,t),e.P(t),o||ee()),e.S&&(e.S(),e.S=void 0),512&e.o&&v((()=>_(e,!1))),e.o&=-517},ee=()=>{v((()=>(e=>{const t=c.ce("appload",{detail:{namespace:"mds-progress"}});return e.dispatchEvent(t),t})(r)))},te=(e,t,n,l)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e,l)}},ne=e=>e.setAttribute("hydrated",""),oe=(e,n,l,i)=>{const s=t(e);if(!s)throw Error(`Couldn't find host element for "${i.$}" 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/stenciljs/core/issues/5457).`);const r=s.$hostElement$,c=s.D.get(n),u=s.o,a=s.t;if(l=x(l,i.U[n][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(s.D.set(n,l),a)){if(i.W&&128&u){const e=i.W[n];e&&e.map((e=>{try{a[e](l,c,n)}catch(e){o(e,r)}}))}if(2==(18&u)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(l,c,n))return;_(s,!1)}}},le=(e,n,o)=>{var l,i;const s=e.prototype;if(n.U||n.W||e.watchers){e.watchers&&!n.W&&(n.W=e.watchers);const r=Object.entries(null!=(l=n.U)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.U[e][0]|=2048),r&&(n.U[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.U[e][0]))return((e,n)=>t(this).D.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.D.get(e)?i=s.D.get(e):!s.D.get(e)&&t&&s.D.set(e,t),r.call(this,x(i,l)),void oe(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.U[e][0]))return oe(this,e,i,n),void(1&o&&!s.t&&s.A.then((()=>{4096&n.U[e][0]&&s.t[e]!==s.D.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.D.get(e)&&t&&s.D.set(e,t),s.t[e]=x(i,l),oe(this,e,s.t[e],n)};s.t?t():s.A.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){c.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.W)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.W)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{var l;const i=t[1]||e;return o.set(i,e),512&t[0]&&(null==(l=n.M)||l.push([e,i])),i}))]))}}return e},ie=(e,t)=>{te(e,"connectedCallback",void 0,t)},se=(e,t)=>{te(e,"disconnectedCallback",void 0,t||e)},re=(e,n={})=>{var u;if(!r.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=r.customElements,p=r.document.head,m=p.querySelector("meta[charset]"),y=r.document.createElement("style"),v=[];let b,w=!0;Object.assign(c,n),c.l=new URL(n.resourcesUrl||"./",r.document.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((n=>{var s;const r={o:n[0],$:n[1],U:n[2],N:n[3]};4&r.o&&(S=!0),r.U=n[2],r.M=[],r.W=null!=(s=n[4])?s:{};const u=r.$,p=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,D:new Map};n.A=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,r),1&r.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),w?v.push(this):c.jmp((()=>(e=>{if(!(1&c.o)){const n=t(e),s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?ie(n.t,e):(null==n?void 0:n.A)&&n.A.then((()=>ie(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){Y(n,n.j=t);break}}s.U&&Object.entries(s.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let s;if(!(32&t.o)){if(t.o|=32,n.R){const i=((e,t)=>{const n=e.$.replace(/-/g,"_"),i=e.R;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((e=>(l.set(i,e),e[n])),(e=>{o(e,t.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(i&&"then"in i){const e=()=>{};s=await i,e()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${t.H}" was not found`);s.isProxied||(n.W=s.watchers,le(s,n,2),s.isProxied=!0);const r=()=>{};t.o|=8;try{new s(t)}catch(t){o(t,e)}t.o&=-9,t.o|=128,r(),ie(t.t,e)}else s=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=W(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>_(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,s)}r()}})(this)))}disconnectedCallback(){c.jmp((()=>(async e=>{if(!(1&c.o)){const n=t(e);(null==n?void 0:n.t)?se(n.t,e):(null==n?void 0:n.A)&&n.A.then((()=>se(n.t,e)))}U.has(e)&&U.delete(e),e.shadowRoot&&U.has(e.shadowRoot)&&U.delete(e.shadowRoot)})(this))),c.raf((()=>{var e;const n=t(this),o=v.findIndex((e=>e===this));o>-1&&v.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).A}};r.R=e[0],d.includes(u)||h.get(u)||(f.push(u),h.define(u,le(p,r,1)))}))})),f.length>0&&(S&&(y.textContent+=s),y.textContent+=f.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const e=null!=(u=c.O)?u:$(r.document);null!=e&&y.setAttribute("nonce",e),p.insertBefore(y,m?m.nextSibling:p.firstChild)}w=!1,v.length?v.map((e=>e.connectedCallback())):c.jmp((()=>b=setTimeout(ee,30)))},ce=e=>c.O=e;export{P as H,re as b,D as g,C as h,u as p,n as r,ce as s}
|
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-04-02T08:47:52",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "22.11.0"
|
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
"fsNamespace": "mds-progress",
|
|
10
10
|
"components": 1,
|
|
11
11
|
"entries": 1,
|
|
12
|
-
"bundles":
|
|
12
|
+
"bundles": 105,
|
|
13
13
|
"outputs": [
|
|
14
14
|
{
|
|
15
15
|
"name": "dist-collection",
|
|
16
|
-
"files":
|
|
16
|
+
"files": 57,
|
|
17
17
|
"generatedFiles": [
|
|
18
18
|
"./dist/collection/common/aria.js",
|
|
19
|
+
"./dist/collection/common/browser.js",
|
|
19
20
|
"./dist/collection/common/date.js",
|
|
20
21
|
"./dist/collection/common/device.js",
|
|
21
22
|
"./dist/collection/common/file.js",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"./dist/collection/type/floating-ui.js",
|
|
62
63
|
"./dist/collection/type/form-rel.js",
|
|
63
64
|
"./dist/collection/type/header-bar.js",
|
|
65
|
+
"./dist/collection/type/input-tip.js",
|
|
64
66
|
"./dist/collection/type/input.js",
|
|
65
67
|
"./dist/collection/type/keyboard.js",
|
|
66
68
|
"./dist/collection/type/loading.js",
|
|
@@ -87,19 +89,19 @@
|
|
|
87
89
|
"files": 42,
|
|
88
90
|
"generatedFiles": [
|
|
89
91
|
"./dist/cjs/app-globals-3a1e7e63.js",
|
|
90
|
-
"./dist/cjs/index-
|
|
92
|
+
"./dist/cjs/index-e0686900.js",
|
|
91
93
|
"./dist/cjs/index.cjs.js",
|
|
92
94
|
"./dist/cjs/loader.cjs.js",
|
|
93
95
|
"./dist/cjs/mds-progress.cjs.entry.js",
|
|
94
96
|
"./dist/cjs/mds-progress.cjs.js",
|
|
95
97
|
"./dist/esm-es5/app-globals-0f993ce5.js",
|
|
96
|
-
"./dist/esm-es5/index-
|
|
98
|
+
"./dist/esm-es5/index-bdcbc2fe.js",
|
|
97
99
|
"./dist/esm-es5/index.js",
|
|
98
100
|
"./dist/esm-es5/loader.js",
|
|
99
101
|
"./dist/esm-es5/mds-progress.entry.js",
|
|
100
102
|
"./dist/esm-es5/mds-progress.js",
|
|
101
103
|
"./dist/esm/app-globals-0f993ce5.js",
|
|
102
|
-
"./dist/esm/index-
|
|
104
|
+
"./dist/esm/index-bdcbc2fe.js",
|
|
103
105
|
"./dist/esm/index.js",
|
|
104
106
|
"./dist/esm/loader.js",
|
|
105
107
|
"./dist/esm/mds-progress.entry.js",
|
|
@@ -109,25 +111,25 @@
|
|
|
109
111
|
"./dist/mds-progress/index.esm.js",
|
|
110
112
|
"./dist/mds-progress/mds-progress.esm.js",
|
|
111
113
|
"./dist/mds-progress/mds-progress.js",
|
|
112
|
-
"./dist/mds-progress/p-
|
|
113
|
-
"./dist/mds-progress/p-321f64dc.system.entry.js",
|
|
114
|
+
"./dist/mds-progress/p-1d5b5b51.system.js",
|
|
114
115
|
"./dist/mds-progress/p-50ea2036.system.js",
|
|
115
116
|
"./dist/mds-progress/p-56ba5cbf.system.js",
|
|
116
|
-
"./dist/mds-progress/p-
|
|
117
|
-
"./dist/mds-progress/p-
|
|
118
|
-
"./dist/mds-progress/p-
|
|
117
|
+
"./dist/mds-progress/p-69cd397a.entry.js",
|
|
118
|
+
"./dist/mds-progress/p-8c9db3a8.system.js",
|
|
119
|
+
"./dist/mds-progress/p-cd904a06.system.entry.js",
|
|
119
120
|
"./dist/mds-progress/p-e1255160.js",
|
|
121
|
+
"./dist/mds-progress/p-e65c1ecc.js",
|
|
120
122
|
"./www/build/index.esm.js",
|
|
121
123
|
"./www/build/mds-progress.esm.js",
|
|
122
124
|
"./www/build/mds-progress.js",
|
|
123
|
-
"./www/build/p-
|
|
124
|
-
"./www/build/p-321f64dc.system.entry.js",
|
|
125
|
+
"./www/build/p-1d5b5b51.system.js",
|
|
125
126
|
"./www/build/p-50ea2036.system.js",
|
|
126
127
|
"./www/build/p-56ba5cbf.system.js",
|
|
127
|
-
"./www/build/p-
|
|
128
|
-
"./www/build/p-
|
|
129
|
-
"./www/build/p-
|
|
130
|
-
"./www/build/p-e1255160.js"
|
|
128
|
+
"./www/build/p-69cd397a.entry.js",
|
|
129
|
+
"./www/build/p-8c9db3a8.system.js",
|
|
130
|
+
"./www/build/p-cd904a06.system.entry.js",
|
|
131
|
+
"./www/build/p-e1255160.js",
|
|
132
|
+
"./www/build/p-e65c1ecc.js"
|
|
131
133
|
]
|
|
132
134
|
},
|
|
133
135
|
{
|
|
@@ -160,12 +162,12 @@
|
|
|
160
162
|
"components": [
|
|
161
163
|
"mds-progress"
|
|
162
164
|
],
|
|
163
|
-
"bundleId": "p-
|
|
164
|
-
"fileName": "p-
|
|
165
|
+
"bundleId": "p-69cd397a",
|
|
166
|
+
"fileName": "p-69cd397a.entry.js",
|
|
165
167
|
"imports": [
|
|
166
|
-
"p-
|
|
168
|
+
"p-e65c1ecc.js"
|
|
167
169
|
],
|
|
168
|
-
"originalByteSize":
|
|
170
|
+
"originalByteSize": 12947
|
|
169
171
|
}
|
|
170
172
|
],
|
|
171
173
|
"esm": [
|
|
@@ -177,9 +179,9 @@
|
|
|
177
179
|
"bundleId": "mds-progress",
|
|
178
180
|
"fileName": "mds-progress.entry.js",
|
|
179
181
|
"imports": [
|
|
180
|
-
"index-
|
|
182
|
+
"index-bdcbc2fe.js"
|
|
181
183
|
],
|
|
182
|
-
"originalByteSize":
|
|
184
|
+
"originalByteSize": 12951
|
|
183
185
|
}
|
|
184
186
|
],
|
|
185
187
|
"es5": [
|
|
@@ -191,9 +193,9 @@
|
|
|
191
193
|
"bundleId": "mds-progress",
|
|
192
194
|
"fileName": "mds-progress.entry.js",
|
|
193
195
|
"imports": [
|
|
194
|
-
"index-
|
|
196
|
+
"index-bdcbc2fe.js"
|
|
195
197
|
],
|
|
196
|
-
"originalByteSize":
|
|
198
|
+
"originalByteSize": 12951
|
|
197
199
|
}
|
|
198
200
|
],
|
|
199
201
|
"system": [
|
|
@@ -202,12 +204,12 @@
|
|
|
202
204
|
"components": [
|
|
203
205
|
"mds-progress"
|
|
204
206
|
],
|
|
205
|
-
"bundleId": "p-
|
|
206
|
-
"fileName": "p-
|
|
207
|
+
"bundleId": "p-cd904a06.system",
|
|
208
|
+
"fileName": "p-cd904a06.system.entry.js",
|
|
207
209
|
"imports": [
|
|
208
|
-
"p-
|
|
210
|
+
"p-8c9db3a8.system.js"
|
|
209
211
|
],
|
|
210
|
-
"originalByteSize":
|
|
212
|
+
"originalByteSize": 14084
|
|
211
213
|
}
|
|
212
214
|
],
|
|
213
215
|
"commonjs": [
|
|
@@ -219,9 +221,9 @@
|
|
|
219
221
|
"bundleId": "mds-progress.cjs",
|
|
220
222
|
"fileName": "mds-progress.cjs.entry.js",
|
|
221
223
|
"imports": [
|
|
222
|
-
"index-
|
|
224
|
+
"index-e0686900.js"
|
|
223
225
|
],
|
|
224
|
-
"originalByteSize":
|
|
226
|
+
"originalByteSize": 13016
|
|
225
227
|
}
|
|
226
228
|
]
|
|
227
229
|
},
|
|
@@ -556,7 +558,6 @@
|
|
|
556
558
|
"hasComponentDidUpdateFn": false,
|
|
557
559
|
"hasComponentWillRenderFn": false,
|
|
558
560
|
"hasComponentDidRenderFn": false,
|
|
559
|
-
"hasComponentDidUnloadFn": false,
|
|
560
561
|
"hasConnectedCallbackFn": false,
|
|
561
562
|
"hasDisconnectedCallbackFn": false,
|
|
562
563
|
"hasElement": false,
|
|
@@ -621,11 +622,12 @@
|
|
|
621
622
|
],
|
|
622
623
|
"componentGraph": {
|
|
623
624
|
"sc-mds-progress": [
|
|
624
|
-
"p-
|
|
625
|
+
"p-e65c1ecc.js"
|
|
625
626
|
]
|
|
626
627
|
},
|
|
627
628
|
"sourceGraph": {
|
|
628
629
|
"./src/common/aria.ts": [],
|
|
630
|
+
"./src/common/browser.ts": [],
|
|
629
631
|
"./src/common/date.ts": [],
|
|
630
632
|
"./src/common/device.ts": [],
|
|
631
633
|
"./src/common/file.ts": [],
|
|
@@ -688,6 +690,7 @@
|
|
|
688
690
|
"./src/type/floating-ui.ts": [],
|
|
689
691
|
"./src/type/form-rel.ts": [],
|
|
690
692
|
"./src/type/header-bar.ts": [],
|
|
693
|
+
"./src/type/input-tip.ts": [],
|
|
691
694
|
"./src/type/input.ts": [],
|
|
692
695
|
"./src/type/keyboard.ts": [],
|
|
693
696
|
"./src/type/loading.ts": [],
|
|
@@ -27,6 +27,7 @@ export declare class FloatingController {
|
|
|
27
27
|
private readonly arrowInset;
|
|
28
28
|
private readonly arrowTransform;
|
|
29
29
|
private readonly arrowTransformOrigin;
|
|
30
|
+
private convertToTransformOrigin;
|
|
30
31
|
private readonly calculatePosition;
|
|
31
32
|
updatePosition(): void;
|
|
32
33
|
dismiss(): void;
|
|
@@ -15,6 +15,6 @@ export declare class Locale {
|
|
|
15
15
|
lang: (el: HTMLElement) => string;
|
|
16
16
|
update: (doc?: Document | ShadowRoot) => void;
|
|
17
17
|
private pluralize;
|
|
18
|
-
get: (tag: string | string[], context?: Record<string, string | number>) => string;
|
|
18
|
+
get: (tag: string | string[], context?: Record<string, string | number | boolean>) => string;
|
|
19
19
|
}
|
|
20
20
|
export {};
|
|
@@ -2,4 +2,4 @@ export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
|
|
|
2
2
|
export type ButtonTargetType = 'self' | 'blank';
|
|
3
3
|
export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export type ButtonIconPositionType = 'left' | 'right';
|
|
5
|
-
export type ButtonVariantType = 'primary' | 'secondary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
|
|
5
|
+
export type ButtonVariantType = 'primary' | 'secondary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning' | 'google' | 'apple';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputTipItemVariantType = 'count-almost' | 'count-almost-full' | 'count-empty' | 'count-full' | 'count-incomplete' | 'disabled' | 'readonly' | 'required' | 'required-success' | 'text';
|
package/documentation.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-04-02T08:30:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.27.2",
|
|
6
6
|
"typescriptVersion": "5.5.4"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"path": "src/type/button.ts"
|
|
320
320
|
},
|
|
321
321
|
"src/type/button.ts::ButtonVariantType": {
|
|
322
|
-
"declaration": "export type ButtonVariantType =\n | 'primary'\n | 'secondary'\n | 'dark'\n | 'light'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
|
|
322
|
+
"declaration": "export type ButtonVariantType =\n | 'primary'\n | 'secondary'\n | 'dark'\n | 'light'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'\n | 'google'\n | 'apple'",
|
|
323
323
|
"docstring": "",
|
|
324
324
|
"path": "src/type/button.ts"
|
|
325
325
|
},
|
|
@@ -418,6 +418,11 @@
|
|
|
418
418
|
"docstring": "",
|
|
419
419
|
"path": "src/components/mds-horizontal-scroll/meta/types.ts"
|
|
420
420
|
},
|
|
421
|
+
"src/components/mds-horizontal-scroll/meta/types.ts::NavigationType": {
|
|
422
|
+
"declaration": "export type NavigationType =\n | 'none'\n | 'scrollbar'\n | 'position'",
|
|
423
|
+
"docstring": "",
|
|
424
|
+
"path": "src/components/mds-horizontal-scroll/meta/types.ts"
|
|
425
|
+
},
|
|
421
426
|
"src/components/mds-horizontal-scroll/meta/types.ts::SnapType": {
|
|
422
427
|
"declaration": "export type SnapType =\n | 'center'\n | 'end'\n | 'none'\n | 'start'",
|
|
423
428
|
"docstring": "",
|
|
@@ -513,10 +518,10 @@
|
|
|
513
518
|
"docstring": "",
|
|
514
519
|
"path": "src/components/mds-input-tip/meta/types.ts"
|
|
515
520
|
},
|
|
516
|
-
"src/
|
|
517
|
-
"declaration": "export type InputTipItemVariantType =\n | '
|
|
521
|
+
"src/type/input-tip.ts::InputTipItemVariantType": {
|
|
522
|
+
"declaration": "export type InputTipItemVariantType =\n | 'count-almost'\n | 'count-almost-full'\n | 'count-empty'\n | 'count-full'\n | 'count-incomplete'\n | 'disabled'\n | 'readonly'\n | 'required'\n | 'required-success'\n | 'text'",
|
|
518
523
|
"docstring": "",
|
|
519
|
-
"path": "src/
|
|
524
|
+
"path": "src/type/input-tip.ts"
|
|
520
525
|
},
|
|
521
526
|
"src/components/mds-input-upload/meta/types.ts::AttachmentSort": {
|
|
522
527
|
"declaration": "type AttachmentSort =\n 'status' |\n 'date'",
|
|
@@ -558,6 +563,11 @@
|
|
|
558
563
|
"docstring": "",
|
|
559
564
|
"path": "src/components/mds-modal/meta/types.ts"
|
|
560
565
|
},
|
|
566
|
+
"src/components/mds-modal/meta/types.ts::ModalAnimationStyleType": {
|
|
567
|
+
"declaration": "export type ModalAnimationStyleType =\n | 'slide'\n | 'custom'\n | '3d'",
|
|
568
|
+
"docstring": "",
|
|
569
|
+
"path": "src/components/mds-modal/meta/types.ts"
|
|
570
|
+
},
|
|
561
571
|
"src/components/mds-modal/meta/types.ts::ModalOverflowType": {
|
|
562
572
|
"declaration": "export type ModalOverflowType =\n | 'auto'\n | 'manual'",
|
|
563
573
|
"docstring": "",
|
|
@@ -623,20 +633,25 @@
|
|
|
623
633
|
"docstring": "",
|
|
624
634
|
"path": "src/components/mds-progress/meta/types.ts"
|
|
625
635
|
},
|
|
626
|
-
"src/components/mds-push-notification/meta/
|
|
636
|
+
"src/components/mds-push-notification/meta/event-detail.ts::MdsPushNotificationEventDetail": {
|
|
637
|
+
"declaration": "export interface MdsPushNotificationEventDetail {\n visible: boolean\n}",
|
|
638
|
+
"docstring": "",
|
|
639
|
+
"path": "src/components/mds-push-notification/meta/event-detail.ts"
|
|
640
|
+
},
|
|
641
|
+
"src/components/mds-push-notification-item/meta/types.ts::NotificationItemDateFormatType": {
|
|
627
642
|
"declaration": "string",
|
|
628
643
|
"docstring": "",
|
|
629
|
-
"path": "src/components/mds-push-notification/meta/types.ts"
|
|
644
|
+
"path": "src/components/mds-push-notification-item/meta/types.ts"
|
|
630
645
|
},
|
|
631
|
-
"src/components/mds-push-notification/meta/types.ts::
|
|
632
|
-
"declaration": "export type
|
|
646
|
+
"src/components/mds-push-notification-item/meta/types.ts::NotificationItemPreviewType": {
|
|
647
|
+
"declaration": "export type NotificationItemPreviewType =\n | 'avatar'\n | 'image'",
|
|
633
648
|
"docstring": "",
|
|
634
|
-
"path": "src/components/mds-push-notification/meta/types.ts"
|
|
649
|
+
"path": "src/components/mds-push-notification-item/meta/types.ts"
|
|
635
650
|
},
|
|
636
|
-
"src/components/mds-push-notification/meta/event-detail.ts::
|
|
637
|
-
"declaration": "export interface
|
|
651
|
+
"src/components/mds-push-notification-item/meta/event-detail.ts::MdsPushNotificationItemEventDetail": {
|
|
652
|
+
"declaration": "export interface MdsPushNotificationItemEventDetail {\n id: string;\n}",
|
|
638
653
|
"docstring": "",
|
|
639
|
-
"path": "src/components/mds-push-notification/meta/event-detail.ts"
|
|
654
|
+
"path": "src/components/mds-push-notification-item/meta/event-detail.ts"
|
|
640
655
|
},
|
|
641
656
|
"src/type/text.ts::TypographyHeadingTagType": {
|
|
642
657
|
"declaration": "export type TypographyHeadingTagType =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-progress",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "mds-progress is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"test": "stencil test --spec --e2e"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@maggioli-design-system/styles": "15.
|
|
28
|
-
"@stencil/core": "4.
|
|
27
|
+
"@maggioli-design-system/styles": "15.9.1",
|
|
28
|
+
"@stencil/core": "4.27.2"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": {
|