@simai-studio/ui 5.20261021.2249 → 5.20261022.1303
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/README.md +4 -4
- package/distr/component/dropdown/js/dropdown.min.js +1 -1
- package/distr/core/contracts/packages/larena.package.json +1 -0
- package/distr/core/js/core-loader.js +133 -7
- package/distr/core/js/core-loader.min.js +1 -1
- package/distr/core/js/smart-base.js +134 -12
- package/distr/core/js/smart-base.min.js +1 -1
- package/distr/smart/buttons/js/buttons.min.js +1 -1
- package/distr/smart/buttons/smart.manifest.json +1 -1
- package/distr/smart/country-code/js/country-code.min.js +9 -7
- package/distr/smart/country-code/smart.manifest.json +6 -1
- package/distr/smart/country-code/template/default.js +12 -4
- package/distr/smart/datepicker/js/datepicker.min.js +12 -9
- package/distr/smart/datepicker/smart.manifest.json +13 -3
- package/distr/smart/datepicker/template/default.js +4 -1
- package/distr/smart/dropdown/js/dropdown.min.js +10 -10
- package/distr/smart/dropdown/smart.manifest.json +1 -1
- package/distr/smart/dropdown/template/default.js +10 -3
- package/distr/smart/field-renderers/js/field-renderers.min.js +17 -17
- package/distr/smart/icon-buttons/js/icon-buttons.min.js +1 -1
- package/distr/smart/icon-buttons/smart.manifest.json +1 -1
- package/distr/smart/icons/js/icons.min.js +1 -1
- package/distr/smart/icons/smart.manifest.json +1 -1
- package/distr/smart/inputs/js/inputs.min.js +33 -31
- package/distr/smart/inputs/smart.manifest.json +6 -1
- package/distr/smart/inputs/template/default.js +8 -0
- package/distr/smart/popover/js/popover.min.js +1 -1
- package/distr/smart/popover/smart.manifest.json +1 -1
- package/distr/smart/switch/js/switch.min.js +12 -11
- package/distr/smart/switch/smart.manifest.json +6 -1
- package/distr/smart/switch/template/default.js +2 -1
- package/package-manifest.json +33 -33
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={"421676f72963"(e,t,o){o.d(t,{Ec:()=>r});const n="sfPopoverOpen",s=new WeakSet;function r(e,t){if(!e)return;const o=Boolean(t);o!==s.has(e)&&(o?s.add(e):s.delete(e),function(e){const t=globalThis.document?.documentElement;if(!t)return;const o=Math.max(0,Number(t.dataset[n]||0)+e);o?t.dataset[n]=String(o):delete t.dataset[n]}(o?1:-1))}},e470697f4c03(e,t,o){o.a(e,async(e,t)=>{try{var n=o("fbe0570fcc69"),s=o("421676f72963"),r=o("18fc6da7e766"),i=e([n,r]);[n,r]=i.then?(await i)():i;var a=o.n(n);const l=["bottom-start","bottom-end","top-start","top-end","inline-start","inline-end"];class u extends(a()){static get props(){return{templateName:{attribute:"template",default:"default"},open:{type:Boolean,default:!1},placement:{default:"bottom-end",values:l},label:{default:""},surfaceRole:{attribute:"surface-role",default:"dialog",values:["dialog","menu","listbox","group"]},width:{default:""},dismissible:{type:Boolean,default:!0}}}constructor(){super(),this._onDocumentPointerDown=null,this._onDocumentKeyDown=null}static get observedAttributes(){return[...super.observedAttributes??[],"open"]}get open(){return this.getBooleanAttr("open",!1)}get placement(){return this.getEnumAttr("placement",l,"bottom-end")}get label(){return this.getAttribute("label")||""}get surfaceRole(){const e=["dialog","menu","listbox","group"];return this.hasAttribute("surface-role")?this.getEnumAttr("surface-role",e,"dialog"):e.includes(this._legacyRole)?this._legacyRole:"dialog"}get role(){return this.surfaceRole}_adoptLegacyRole(){this.hasAttribute("role")&&(this._legacyRole=String(this.getAttribute("role")||"").trim().toLowerCase(),this.removeAttribute("role"),globalThis.SF?.deprecations?.note?.({component:"sf-popover",kind:"attribute",attribute:"role",from:"role",to:"surface-role"}))}get width(){return this.getAttribute("width")||""}get dismissible(){return this.getBooleanAttr("dismissible",!0)}applyHostDisplayStyle(){const e="display: inline-flex; align-items: center; position: relative;";return this.getAttribute("style")===e||(this._syncingHostStyle=!0,this.setAttribute("style",e),this._syncingHostStyle=!1),this}captureSlotTemplates(){this._slotTemplatesCaptured=!0}onConnected(){this._adoptLegacyRole(),super.onConnected?.(),this._bindDismissal(),this.addEventListener("click",this._onTriggerClick)}_onTriggerClick=e=>{(e.composedPath?.()??[]).some(e=>"trigger"===e?.getAttribute?.("slot"))&&(e.preventDefault(),this.toggle())};onDisconnected(){this.removeEventListener("click",this._onTriggerClick),this._releaseDismissal(),super.onDisconnected?.()}attributeChangedCallback(e,t,o){super.attributeChangedCallback?.(e,t,o),t!==o&&"open"===e&&(this._bindDismissal(),this.emitComponentEvent(this.open?"popover-open":"popover-close",{open:this.open}),this.open||this.returnFocus())}toggle(e){const t="boolean"==typeof e?e:!this.open;return t===this.open?this.open:(t&&(this._opener=this.querySelector('[slot="trigger"]')??null),this.toggleAttribute("open",t),this.requestComponentUpdate("open"),t)}show(){return this.toggle(!0)}close(){return this.toggle(!1)}returnFocus(){const e=this._opener?.isConnected?this._opener:this.querySelector('[slot="trigger"]'),t=e?.matches?.("button, a[href], [tabindex]")?e:e?.querySelector?.("button, a[href], [tabindex]");t?.focus?.()}_bindDismissal(){this.open&&this.dismissible?this._onDocumentPointerDown||((0,s.Ec)(this,!0),this._onDocumentPointerDown=e=>{(e.composedPath?.()??[]).includes(this)||this.close()},this._onDocumentKeyDown=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.close())},document.addEventListener("pointerdown",this._onDocumentPointerDown,!0),document.addEventListener("keydown",this._onDocumentKeyDown,!0)):this._releaseDismissal()}_releaseDismissal(){(0,s.Ec)(this,!1),this._onDocumentPointerDown&&document.removeEventListener("pointerdown",this._onDocumentPointerDown,!0),this._onDocumentKeyDown&&document.removeEventListener("keydown",this._onDocumentKeyDown,!0),this._onDocumentPointerDown=null,this._onDocumentKeyDown=null}resolveUpdateMode(){return"dom"}updateDom(){this.dataset.placement=this.placement,this.dataset.open=this.open?"true":"false",this._adoptLegacyRole();const e=this.querySelector('[slot="trigger"]'),t=e?.matches?.("button, a[href], [tabindex]")?e:e?.querySelector?.("button, a[href], [tabindex], sf-button, sf-icon-button");t&&(t.setAttribute("aria-expanded",this.open?"true":"false"),t.setAttribute("aria-haspopup","group"===this.surfaceRole?"true":this.surfaceRole));const o=this.querySelector('[slot="content"]');return!o||(o.setAttribute("role",this.surfaceRole),this.label?o.setAttribute("aria-label",this.label):o.removeAttribute("aria-label"),o.style.setProperty("--sf-popover--width",this.width||""),!0)}templateContext(){return this.createTemplateContext({...this.getPropsContext(),component:this})}template(){return(0,r.o)(this.templateContext())}}u.define("sf-popover");t()}catch(e){t(e)}})},"18fc6da7e766"(e,t,o){o.a(e,async(e,n)=>{try{o.d(t,{o:()=>a});var s=o("ddf1cdb42ecc"),r=e([s]),i=r.then?(await r)():r;s=i[0];function a(){return s.nothing}n()}catch(l){n(l)}})},ddf1cdb42ecc(e){e.exports=globalThis.SF&&globalThis.SF.runtimeModule?globalThis.SF.runtimeModule("lit"):new Promise(e=>globalThis.addEventListener("sf-runtime-ready",()=>e(globalThis.SF.runtimeModule("lit")),{once:!0}))},fbe0570fcc69(e){e.exports=globalThis.SF&&globalThis.SF.runtimeModule?globalThis.SF.runtimeModule("smart-base"):new Promise(e=>globalThis.addEventListener("sf-runtime-ready",()=>e(globalThis.SF.runtimeModule("smart-base")),{once:!0}))}};const t={};function o(n){const s=t[n];if(void 0!==s)return s.exports;const r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}(()=>{const e="function"==typeof Symbol,t=e?Symbol("webpack queues"):"__webpack_queues__",n=e?Symbol("webpack exports"):"__webpack_exports__",s=e?Symbol("webpack error"):"__webpack_error__",r=e=>{e?.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))};o.a=(e,o,i)=>{let a;i&&((a=[]).d=-1);const l=new Set,u=e.exports;let c,h,d;const p=new Promise((e,t)=>{d=t,h=e});p[n]=u,p[t]=e=>(a&&e(a),l.forEach(e),p.catch(e=>{})),e.exports=p;o(e=>{let o;c=(e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(e[t])return e;if(e.then){const o=[];o.d=0,e.then(e=>{i[n]=e,r(o)},e=>{i[s]=e,r(o)});const i={};return i[t]=e=>e(o),i}}const o={};return o[t]=e=>{},o[n]=e,o}))(e);const i=()=>c.map(e=>{if(e[s])throw e[s];return e[n]}),u=new Promise(e=>{o=()=>e(i),o.r=0;const n=e=>e!==a&&!l.has(e)&&(l.add(e),e&&!e.d&&(o.r++,e.push(o)));c.map(e=>e[t](n))});return o.r?u:i()},e=>(e?d(p[s]=e):h(u),r(a))),a?.d<0&&(a.d=0)}})(),o.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var s=t[n++],r=t[n++];o.o(e,s)?0===r&&n++:0===r?Object.defineProperty(e,s,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,s,{enumerable:!0,get:r})}else for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);o("e470697f4c03")})();
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
"source_artifacts": [
|
|
307
307
|
{
|
|
308
308
|
"path": "src/smart/popover/index.js",
|
|
309
|
-
"sha256": "
|
|
309
|
+
"sha256": "bac3da0639d1084caed7e5f45ec69b2f7b8ce0fdc33aa6c609ecf1e999fe2e5f"
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"path": "src/smart/popover/rule.js",
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
(()=>{"use strict";var t={"67eed2647f47"(t,e,s){s.d(e,{z:()=>o});const n=new WeakMap,i=new WeakSet;function o(t,e){const s=t.ownerDocument;i.has(s)||(s.addEventListener("reset",t=>{const e=t.target;if("FORM"!==e?.tagName)return;const s=Array.from(e.elements);setTimeout(()=>{if(!t.defaultPrevented)for(const t of s)if(t.isConnected&&t.form===e)for(const e of n.get(t)||[])e()},0)},!0),i.add(s));let o=n.get(t);return o||n.set(t,o=new Set),o.add(e),()=>o.delete(e)}},d21a38718c5d(t,e,s){s.d(e,{QS:()=>d,UL:()=>f,DR:()=>u});class n{lifecycleName(){return this.componentName??this.constructor.componentName}constructor(t){this.props=t,this.id=t?.id,this.params=t?.param,this.attrs=t?.attrs||{},this.template=null,window.dispatchEvent(new CustomEvent(`${this.lifecycleName()}:beforeRender`,{detail:this}))}getUtilityMap(){return this.constructor.utilityMap||null}extractUtilityClasses(t){if(!Array.isArray(t))return[];const e=new Set;return t.forEach(t=>{if("string"!=typeof t)return;const s=t.match(/\(([^)]+)\)/g);s&&s.forEach(t=>{t.slice(1,-1).split(/\s+/).filter(Boolean).forEach(t=>{t.startsWith(".")&&t.length>1&&e.add(t.slice(1))})})}),Array.from(e)}applyLayoutUtilities(t,e){if(!t||!e)return;const s=this.getUtilityMap();if(!s||!s[e])return;this.extractUtilityClasses(s[e]).forEach(e=>t.classList.add(e))}render(){return this.html=this.template,"function"==typeof this.init&&this.init(),this.html&&window.dispatchEvent(new CustomEvent(`${this.lifecycleName()}:render`,{detail:this})),this.html}destroy(){this.destroyInternal?.(),this.props=null,this.id=null,this.params=null,this.template=null,this.html&&(this.html.remove(),this.html=null),window.dispatchEvent(new CustomEvent(`${this.lifecycleName()}:destroy`,{detail:this}))}destroyInternal(){}}const i=function(t,e){if(t&&e)if("undefined"==typeof window||"function"!=typeof window.registerSfComponent){if("undefined"!=typeof window&&window.SF?.Loader?.registerComponent)window.SF.Loader.registerComponent(t,e);else if("undefined"!=typeof window){(window.SF_PENDING_COMPONENTS=window.SF_PENDING_COMPONENTS||[]).push([t,e])}}else window.registerSfComponent(t,e)};var o=s("67eed2647f47");const r="label.sf-switch",a="sfSwitchBound";function c(t,e=!1){if(null==t||""===t)return e;if("boolean"==typeof t)return t;const s=String(t).toLowerCase();return["1","true","yes","on","checked","disabled"].includes(s)}function l(t){if(!t)return{};return{input:t.querySelector('input[type="checkbox"]'),toggler:t.querySelector(".sf-switch-toggler"),inner:t.querySelector(".sf-switch-inner"),description:t.querySelector(".sf-switch-description")}}function h(t){const{input:e,toggler:s,inner:n,description:i}=l(t);if(!e||!s||!n)return;const o=!!e.checked,r=!!e.disabled,a=t.dataset.sfSwitchOnText||"",c=t.dataset.sfSwitchOffText||"",h=!(!a||!c);t.classList.toggle("active",o),t.classList.toggle("disabled",r),s.removeAttribute("aria-hidden"),n.setAttribute("aria-hidden","true"),i&&h&&(i.textContent=o?a:c)}function d(t){if(!t||"1"===t.dataset[a])return;const{input:e}=l(t);if(!e)return;const s=()=>h(t);t.__sfSwitchHandleChange=s,e.addEventListener("change",s),t.__sfSwitchReleaseReset=(0,o.z)(e,s),t.dataset[a]="1",h(t)}function u(t){if(!t)return;t.__sfSwitchReleaseReset?.(),delete t.__sfSwitchReleaseReset;const{input:e}=l(t);e&&t.__sfSwitchHandleChange&&e.removeEventListener("change",t.__sfSwitchHandleChange),delete t.__sfSwitchHandleChange,delete t.dataset[a]}function p(t){(t instanceof Element||t===document)&&(t instanceof Element&&t.matches?.(r)&&d(t),t.querySelectorAll?.(r).forEach(d))}function f(t,e={}){if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type)return!1;Object.prototype.hasOwnProperty.call(e,"checked")&&(t.checked=c(e.checked)),Object.prototype.hasOwnProperty.call(e,"disabled")&&(t.disabled=c(e.disabled));const s=t.closest(r);return s&&h(s),!0}function m(t=document){p(t)}i("Switch",class extends n{static componentName="Switch";html=null;constructor(t){super(t);const{size:e="1",title:s="",label:n=s,description:i="",help:o="",checked:r=!1,disabled:a=!1,name:l="",on:h,off:d,value:u}=this.params||{},p=this.attrs.class||this.attrs.className;this.template=document.createElement("label"),this.id&&(this.template.id=this.id),this.template.classList.add("sf-switch",`sf-switch--size-${e}`,"flex"),p&&this.template.classList.add(...`${p}`.split(" ").filter(Boolean)),this.toggler=document.createElement("span"),this.toggler.classList.add("sf-switch-toggler","flex","items-cross-center"),this.input=document.createElement("input"),this.input.type="checkbox",this.input.setAttribute("role","switch"),l&&(this.input.name=l),void 0!==u&&(this.input.value=u),this.hasToggleText=!(!d||!h),this.onText=h||"",this.offText=d||"";const f=this.hasToggleText?c(r)?this.onText:this.offText:i;this.input.checked=c(r),this.input.defaultChecked=this.input.checked,this.input.disabled=c(a),this.hasToggleText&&(this.template.dataset.sfSwitchOnText=this.onText,this.template.dataset.sfSwitchOffText=this.offText),Object.entries(this.attrs).filter(([t])=>!["class","className","on","off"].includes(t)).forEach(([t,e])=>{null!=e&&this.input.setAttribute(t,e)}),this.inner=document.createElement("span"),this.inner.classList.add("sf-switch-inner"),this.inner.setAttribute("aria-hidden","true"),this.toggler.append(this.input,this.inner),this.template.append(this.toggler),(n||f||o)&&(this.containerWrap=document.createElement("span"),this.containerWrap.classList.add("sf-switch-container-wrap","flex","flex-col","text-start","flex-1"),(n||o)&&(this.top=document.createElement("span"),this.top.classList.add("sf-switch-top","flex"),n&&(this.container=document.createElement("span"),this.container.classList.add("sf-switch-container","flex","items-cross-center","content-main-center"),this.text=document.createElement("span"),this.text.classList.add("sf-switch-text"),this.text.textContent=n,this.container.append(this.text),this.top.append(this.container)),o&&(this.helpIcon=document.createElement("i"),this.helpIcon.classList.add("sf-icon"),this.helpIcon.setAttribute("aria-hidden","true"),this.helpIcon.textContent=o,this.top.append(this.helpIcon)),this.containerWrap.append(this.top)),f&&(this.description=document.createElement("span"),this.description.classList.add("sf-switch-description"),this.description.textContent=f,this.containerWrap.append(this.description)),this.template.append(this.containerWrap))}init(){d(this.template)}destroyInternal(){this.template&&u(this.template)}}),"undefined"!=typeof window&&(window.SF=window.SF||{},window.SF.Switch=window.SF.Switch||{},window.SF.Switch.setState=f),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>m()):m();new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{t instanceof Element&&p(t)})})}).observe(document.documentElement,{childList:!0,subtree:!0})},"078aa87e580e"(t,e,s){s.d(e,{n:()=>i});var n=s("67eed2647f47");function i(t,e){Object.prototype.hasOwnProperty.call(t,"_resetChecked")||(t._resetChecked=!!t.checked);const s=e.checked;return e.defaultChecked=t._resetChecked,e.checked=s,(0,n.z)(e,()=>{t.getInputElement()===e&&t._handleChange()})}},"70333283d751"(t,e,s){s.a(t,async(t,e)=>{try{var n=s("fbe0570fcc69"),i=s("d21a38718c5d"),o=s("d39911485561"),r=s("078aa87e580e"),a=t([n,o]);[n,o]=a.then?(await a)():a;var c=s.n(n);class l extends(c()){static get props(){return{size:{default:"1"},label:{default:""},description:{default:""},help:{default:""},checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:{default:""},value:{default:""}}}constructor(){super(),this._boundRoot=null}get size(){return this.getAttribute("size")||"1"}get label(){return this.getAttribute("label")||""}get description(){return this.getAttribute("description")||""}get help(){return this.getAttribute("help")||""}get checked(){return this.getBooleanAttr("checked",!1)}set checked(t){t?this.setAttribute("checked",""):this.removeAttribute("checked")}get disabled(){return this.getBooleanAttr("disabled",!1)}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get name(){return this.getAttribute("name")||""}get value(){return this.getAttribute("value")||""}set value(t){null!=t?this.setAttribute("value",String(t)):this.removeAttribute("value")}templateContext(){const t=this.getPropsContext();return this.createTemplateContext({...t,component:this})}template(){return(0,o.$)(this.templateContext())}afterRender(){if(this._releaseReset?.(),this._releaseReset=null,this._boundRoot&&((0,i.DR)(this._boundRoot),this._boundRoot=null),this._boundRoot=this.querySelector(".sf-switch"),this._boundRoot){(0,i.QS)(this._boundRoot);const t=this.getInputElement();t&&((0,i.UL)(t,{checked:this.checked,disabled:this.disabled}),t.addEventListener("change",this._handleChange),this._releaseReset=(0,r.n)(this,t))}}onDisconnected(){this._releaseReset?.(),this._releaseReset=null;const t=this.getInputElement();t&&t.removeEventListener("change",this._handleChange),this._boundRoot&&((0,i.DR)(this._boundRoot),this._boundRoot=null)}_handleChange=()=>{const t=this.getInputElement();t&&(t.checked?this.setAttribute("checked",""):this.removeAttribute("checked"))};getInputElement(){return this.querySelector('.sf-switch input[type="checkbox"]')}isChecked(){return!!this.getInputElement()?.checked}setChecked(t=!1){return this.checked=!!t,this.setState({checked:!!t}),this}setDisabled(t=!1){return this.disabled=!!t,this.setState({disabled:!!t}),this}get state(){const t=this.getInputElement();return{checked:!!t?.checked,disabled:!!t?.disabled,name:t?.name||"",value:t?.value||""}}setState(t={}){const e=this.getInputElement();return e?((0,i.UL)(e,t),Object.prototype.hasOwnProperty.call(t,"checked")&&(this.toBoolean(t.checked)?this.setAttribute("checked",""):this.removeAttribute("checked")),Object.prototype.hasOwnProperty.call(t,"disabled")&&(this.toBoolean(t.disabled)?this.setAttribute("disabled",""):this.removeAttribute("disabled")),this):(super.setState(t),this)}onChange(t,e){return"function"==typeof t&&this.addEventListener("change",t,e),this}onFocus(t,e){return"function"==typeof t&&this.addEventListener("focusin",t,e),this}onBlur(t,e){return"function"==typeof t&&this.addEventListener("focusout",t,e),this}}l.define("sf-switch"),e()}catch(t){e(t)}})},d39911485561(t,e,s){s.a(t,async(t,n)=>{try{s.d(e,{$:()=>a});var i=s("ddf1cdb42ecc"),o=t([i]),r=o.then?(await o)():o;i=r[0];function a(t){const{size:e,label:s,description:n,help:o,checked:r,disabled:a,name:c,value:l}=t,h=["sf-switch",`sf-switch--size-${e}`,"flex",t.rootClass],d=t.component?.hasSlotContent?.("label")?t.component.getSlotContent("label"):s?i.html`<span class="sf-switch-text">${s}</span>`:"",u=t.component?.hasSlotContent?.("description")?t.component.getSlotContent("description"):n?i.html`<span class="sf-switch-description">${n}</span>`:"",p=t.component?.hasSlotContent?.("help")?t.component.getSlotContent("help"):o?i.html`<i class="sf-icon" aria-hidden="true">${o}</i>`:"",f=!!(d||u||p);return i.html`
|
|
2
|
-
<label class=${
|
|
1
|
+
(()=>{"use strict";var t={"67eed2647f47"(t,e,s){s.d(e,{z:()=>a});const n=new WeakMap,i=new WeakSet;function a(t,e){const s=t.ownerDocument;i.has(s)||(s.addEventListener("reset",t=>{const e=t.target;if("FORM"!==e?.tagName)return;const s=Array.from(e.elements);setTimeout(()=>{if(!t.defaultPrevented)for(const t of s)if(t.isConnected&&t.form===e)for(const e of n.get(t)||[])e()},0)},!0),i.add(s));let a=n.get(t);return a||n.set(t,a=new Set),a.add(e),()=>a.delete(e)}},d21a38718c5d(t,e,s){s.d(e,{QS:()=>d,UL:()=>f,DR:()=>u});class n{lifecycleName(){return this.componentName??this.constructor.componentName}constructor(t){this.props=t,this.id=t?.id,this.params=t?.param,this.attrs=t?.attrs||{},this.template=null,window.dispatchEvent(new CustomEvent(`${this.lifecycleName()}:beforeRender`,{detail:this}))}getUtilityMap(){return this.constructor.utilityMap||null}extractUtilityClasses(t){if(!Array.isArray(t))return[];const e=new Set;return t.forEach(t=>{if("string"!=typeof t)return;const s=t.match(/\(([^)]+)\)/g);s&&s.forEach(t=>{t.slice(1,-1).split(/\s+/).filter(Boolean).forEach(t=>{t.startsWith(".")&&t.length>1&&e.add(t.slice(1))})})}),Array.from(e)}applyLayoutUtilities(t,e){if(!t||!e)return;const s=this.getUtilityMap();if(!s||!s[e])return;this.extractUtilityClasses(s[e]).forEach(e=>t.classList.add(e))}render(){return this.html=this.template,"function"==typeof this.init&&this.init(),this.html&&window.dispatchEvent(new CustomEvent(`${this.lifecycleName()}:render`,{detail:this})),this.html}destroy(){this.destroyInternal?.(),this.props=null,this.id=null,this.params=null,this.template=null,this.html&&(this.html.remove(),this.html=null),window.dispatchEvent(new CustomEvent(`${this.lifecycleName()}:destroy`,{detail:this}))}destroyInternal(){}}const i=function(t,e){if(t&&e)if("undefined"==typeof window||"function"!=typeof window.registerSfComponent){if("undefined"!=typeof window&&window.SF?.Loader?.registerComponent)window.SF.Loader.registerComponent(t,e);else if("undefined"!=typeof window){(window.SF_PENDING_COMPONENTS=window.SF_PENDING_COMPONENTS||[]).push([t,e])}}else window.registerSfComponent(t,e)};var a=s("67eed2647f47");const o="label.sf-switch",r="sfSwitchBound";function c(t,e=!1){if(null==t||""===t)return e;if("boolean"==typeof t)return t;const s=String(t).toLowerCase();return["1","true","yes","on","checked","disabled"].includes(s)}function l(t){if(!t)return{};return{input:t.querySelector('input[type="checkbox"]'),toggler:t.querySelector(".sf-switch-toggler"),inner:t.querySelector(".sf-switch-inner"),description:t.querySelector(".sf-switch-description")}}function h(t){const{input:e,toggler:s,inner:n,description:i}=l(t);if(!e||!s||!n)return;const a=!!e.checked,o=!!e.disabled,r=t.dataset.sfSwitchOnText||"",c=t.dataset.sfSwitchOffText||"",h=!(!r||!c);t.classList.toggle("active",a),t.classList.toggle("disabled",o),s.removeAttribute("aria-hidden"),n.setAttribute("aria-hidden","true"),i&&h&&(i.textContent=a?r:c)}function d(t){if(!t||"1"===t.dataset[r])return;const{input:e}=l(t);if(!e)return;const s=()=>h(t);t.__sfSwitchHandleChange=s,e.addEventListener("change",s),t.__sfSwitchReleaseReset=(0,a.z)(e,s),t.dataset[r]="1",h(t)}function u(t){if(!t)return;t.__sfSwitchReleaseReset?.(),delete t.__sfSwitchReleaseReset;const{input:e}=l(t);e&&t.__sfSwitchHandleChange&&e.removeEventListener("change",t.__sfSwitchHandleChange),delete t.__sfSwitchHandleChange,delete t.dataset[r]}function p(t){(t instanceof Element||t===document)&&(t instanceof Element&&t.matches?.(o)&&d(t),t.querySelectorAll?.(o).forEach(d))}function f(t,e={}){if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type)return!1;Object.prototype.hasOwnProperty.call(e,"checked")&&(t.checked=c(e.checked)),Object.prototype.hasOwnProperty.call(e,"disabled")&&(t.disabled=c(e.disabled));const s=t.closest(o);return s&&h(s),!0}function m(t=document){p(t)}i("Switch",class extends n{static componentName="Switch";html=null;constructor(t){super(t);const{size:e="1",title:s="",label:n=s,description:i="",help:a="",checked:o=!1,disabled:r=!1,name:l="",on:h,off:d,value:u}=this.params||{},p=this.attrs.class||this.attrs.className;this.template=document.createElement("label"),this.id&&(this.template.id=this.id),this.template.classList.add("sf-switch",`sf-switch--size-${e}`,"flex"),p&&this.template.classList.add(...`${p}`.split(" ").filter(Boolean)),this.toggler=document.createElement("span"),this.toggler.classList.add("sf-switch-toggler","flex","items-cross-center"),this.input=document.createElement("input"),this.input.type="checkbox",this.input.setAttribute("role","switch"),l&&(this.input.name=l),void 0!==u&&(this.input.value=u),this.hasToggleText=!(!d||!h),this.onText=h||"",this.offText=d||"";const f=this.hasToggleText?c(o)?this.onText:this.offText:i;this.input.checked=c(o),this.input.defaultChecked=this.input.checked,this.input.disabled=c(r),this.hasToggleText&&(this.template.dataset.sfSwitchOnText=this.onText,this.template.dataset.sfSwitchOffText=this.offText),Object.entries(this.attrs).filter(([t])=>!["class","className","on","off"].includes(t)).forEach(([t,e])=>{null!=e&&this.input.setAttribute(t,e)}),this.inner=document.createElement("span"),this.inner.classList.add("sf-switch-inner"),this.inner.setAttribute("aria-hidden","true"),this.toggler.append(this.input,this.inner),this.template.append(this.toggler),(n||f||a)&&(this.containerWrap=document.createElement("span"),this.containerWrap.classList.add("sf-switch-container-wrap","flex","flex-col","text-start","flex-1"),(n||a)&&(this.top=document.createElement("span"),this.top.classList.add("sf-switch-top","flex"),n&&(this.container=document.createElement("span"),this.container.classList.add("sf-switch-container","flex","items-cross-center","content-main-center"),this.text=document.createElement("span"),this.text.classList.add("sf-switch-text"),this.text.textContent=n,this.container.append(this.text),this.top.append(this.container)),a&&(this.helpIcon=document.createElement("i"),this.helpIcon.classList.add("sf-icon"),this.helpIcon.setAttribute("aria-hidden","true"),this.helpIcon.textContent=a,this.top.append(this.helpIcon)),this.containerWrap.append(this.top)),f&&(this.description=document.createElement("span"),this.description.classList.add("sf-switch-description"),this.description.textContent=f,this.containerWrap.append(this.description)),this.template.append(this.containerWrap))}init(){d(this.template)}destroyInternal(){this.template&&u(this.template)}}),"undefined"!=typeof window&&(window.SF=window.SF||{},window.SF.Switch=window.SF.Switch||{},window.SF.Switch.setState=f),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>m()):m();new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{t instanceof Element&&p(t)})})}).observe(document.documentElement,{childList:!0,subtree:!0})},"078aa87e580e"(t,e,s){s.d(e,{n:()=>i});var n=s("67eed2647f47");function i(t,e){Object.prototype.hasOwnProperty.call(t,"_resetChecked")||(t._resetChecked=!!t.checked);const s=e.checked;return e.defaultChecked=t._resetChecked,e.checked=s,(0,n.z)(e,()=>{t.getInputElement()===e&&t._handleChange()})}},"70333283d751"(t,e,s){s.a(t,async(t,e)=>{try{var n=s("fbe0570fcc69"),i=s("d21a38718c5d"),a=s("d39911485561"),o=s("078aa87e580e"),r=t([n,a]);[n,a]=r.then?(await r)():r;var c=s.n(n);class l extends(c()){static get props(){return{size:{default:"1"},label:{default:""},description:{default:""},help:{default:""},checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:{default:""},value:{default:""},ariaLabel:{attribute:"aria-label",default:""}}}constructor(){super(),this._boundRoot=null}get size(){return this.getAttribute("size")||"1"}get label(){return this.getAttribute("label")||""}get ariaLabel(){return this.getProp("ariaLabel")||""}get description(){return this.getAttribute("description")||""}get help(){return this.getAttribute("help")||""}get checked(){return this.getBooleanAttr("checked",!1)}set checked(t){t?this.setAttribute("checked",""):this.removeAttribute("checked")}get disabled(){return this.getBooleanAttr("disabled",!1)}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get name(){return this.getAttribute("name")||""}get value(){return this.getAttribute("value")||""}set value(t){null!=t?this.setAttribute("value",String(t)):this.removeAttribute("value")}templateContext(){const t=this.getPropsContext();return this.createTemplateContext({...t,component:this})}template(){return(0,a.$)(this.templateContext())}afterRender(){if(this._releaseReset?.(),this._releaseReset=null,this._boundRoot&&((0,i.DR)(this._boundRoot),this._boundRoot=null),this._boundRoot=this.querySelector(".sf-switch"),this._boundRoot){(0,i.QS)(this._boundRoot);const t=this.getInputElement();t&&((0,i.UL)(t,{checked:this.checked,disabled:this.disabled}),t.addEventListener("change",this._handleChange),this._releaseReset=(0,o.n)(this,t))}}onDisconnected(){this._releaseReset?.(),this._releaseReset=null;const t=this.getInputElement();t&&t.removeEventListener("change",this._handleChange),this._boundRoot&&((0,i.DR)(this._boundRoot),this._boundRoot=null)}_handleChange=()=>{const t=this.getInputElement();t&&(t.checked?this.setAttribute("checked",""):this.removeAttribute("checked"))};getInputElement(){return this.querySelector('.sf-switch input[type="checkbox"]')}isChecked(){return!!this.getInputElement()?.checked}setChecked(t=!1){return this.checked=!!t,this.setState({checked:!!t}),this}setDisabled(t=!1){return this.disabled=!!t,this.setState({disabled:!!t}),this}get state(){const t=this.getInputElement();return{checked:!!t?.checked,disabled:!!t?.disabled,name:t?.name||"",value:t?.value||""}}setState(t={}){const e=this.getInputElement();return e?((0,i.UL)(e,t),Object.prototype.hasOwnProperty.call(t,"checked")&&(this.toBoolean(t.checked)?this.setAttribute("checked",""):this.removeAttribute("checked")),Object.prototype.hasOwnProperty.call(t,"disabled")&&(this.toBoolean(t.disabled)?this.setAttribute("disabled",""):this.removeAttribute("disabled")),this):(super.setState(t),this)}onChange(t,e){return"function"==typeof t&&this.addEventListener("change",t,e),this}onFocus(t,e){return"function"==typeof t&&this.addEventListener("focusin",t,e),this}onBlur(t,e){return"function"==typeof t&&this.addEventListener("focusout",t,e),this}}l.define("sf-switch"),e()}catch(t){e(t)}})},d39911485561(t,e,s){s.a(t,async(t,n)=>{try{s.d(e,{$:()=>r});var i=s("ddf1cdb42ecc"),a=t([i]),o=a.then?(await a)():a;i=o[0];function r(t){const{size:e,label:s,description:n,help:a,checked:o,disabled:r,name:c,value:l,ariaLabel:h}=t,d=["sf-switch",`sf-switch--size-${e}`,"flex",t.rootClass],u=t.component?.hasSlotContent?.("label")?t.component.getSlotContent("label"):s?i.html`<span class="sf-switch-text">${s}</span>`:"",p=t.component?.hasSlotContent?.("description")?t.component.getSlotContent("description"):n?i.html`<span class="sf-switch-description">${n}</span>`:"",f=t.component?.hasSlotContent?.("help")?t.component.getSlotContent("help"):a?i.html`<i class="sf-icon" aria-hidden="true">${a}</i>`:"",m=!!(u||p||f);return i.html`
|
|
2
|
+
<label class=${d.filter(Boolean).join(" ")} style=${t.rootStyle||i.nothing}>
|
|
3
3
|
<span class="sf-switch-toggler transition flex items-cross-center content-main-start">
|
|
4
4
|
<input
|
|
5
5
|
type="checkbox"
|
|
6
6
|
role="switch"
|
|
7
7
|
name=${c||""}
|
|
8
8
|
.value=${l||""}
|
|
9
|
-
.checked=${
|
|
10
|
-
?disabled=${
|
|
9
|
+
.checked=${o}
|
|
10
|
+
?disabled=${r}
|
|
11
|
+
aria-label=${!u&&h?h:i.nothing}
|
|
11
12
|
/>
|
|
12
13
|
<span class="sf-switch-inner transition" aria-hidden="true"></span>
|
|
13
14
|
</span>
|
|
14
15
|
|
|
15
|
-
${
|
|
16
|
+
${m?i.html`
|
|
16
17
|
<span class="sf-switch-container-wrap flex flex-col">
|
|
17
|
-
${
|
|
18
|
+
${u||f?i.html`
|
|
18
19
|
<span class="sf-switch-top flex">
|
|
19
|
-
${
|
|
20
|
+
${u?i.html`
|
|
20
21
|
<span class="sf-switch-container flex items-cross-center content-main-center">
|
|
21
|
-
${
|
|
22
|
+
${u}
|
|
22
23
|
</span>
|
|
23
24
|
`:""}
|
|
24
|
-
${
|
|
25
|
+
${f}
|
|
25
26
|
</span>
|
|
26
27
|
`:""}
|
|
27
|
-
${
|
|
28
|
+
${p}
|
|
28
29
|
</span>
|
|
29
30
|
`:""}
|
|
30
31
|
</label>
|
|
31
|
-
`}n()}catch(c){n(c)}})},ddf1cdb42ecc(t){t.exports=globalThis.SF&&globalThis.SF.runtimeModule?globalThis.SF.runtimeModule("lit"):new Promise(t=>globalThis.addEventListener("sf-runtime-ready",()=>t(globalThis.SF.runtimeModule("lit")),{once:!0}))},fbe0570fcc69(t){t.exports=globalThis.SF&&globalThis.SF.runtimeModule?globalThis.SF.runtimeModule("smart-base"):new Promise(t=>globalThis.addEventListener("sf-runtime-ready",()=>t(globalThis.SF.runtimeModule("smart-base")),{once:!0}))}};const e={};function s(n){const i=e[n];if(void 0!==i)return i.exports;const
|
|
32
|
+
`}n()}catch(c){n(c)}})},ddf1cdb42ecc(t){t.exports=globalThis.SF&&globalThis.SF.runtimeModule?globalThis.SF.runtimeModule("lit"):new Promise(t=>globalThis.addEventListener("sf-runtime-ready",()=>t(globalThis.SF.runtimeModule("lit")),{once:!0}))},fbe0570fcc69(t){t.exports=globalThis.SF&&globalThis.SF.runtimeModule?globalThis.SF.runtimeModule("smart-base"):new Promise(t=>globalThis.addEventListener("sf-runtime-ready",()=>t(globalThis.SF.runtimeModule("smart-base")),{once:!0}))}};const e={};function s(n){const i=e[n];if(void 0!==i)return i.exports;const a=e[n]={exports:{}};return t[n](a,a.exports,s),a.exports}(()=>{const t="function"==typeof Symbol,e=t?Symbol("webpack queues"):"__webpack_queues__",n=t?Symbol("webpack exports"):"__webpack_exports__",i=t?Symbol("webpack error"):"__webpack_error__",a=t=>{t?.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))};s.a=(t,s,o)=>{let r;o&&((r=[]).d=-1);const c=new Set,l=t.exports;let h,d,u;const p=new Promise((t,e)=>{u=e,d=t});p[n]=l,p[e]=t=>(r&&t(r),c.forEach(t),p.catch(t=>{})),t.exports=p;s(t=>{let s;h=(t=>t.map(t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){const s=[];s.d=0,t.then(t=>{o[n]=t,a(s)},t=>{o[i]=t,a(s)});const o={};return o[e]=t=>t(s),o}}const s={};return s[e]=t=>{},s[n]=t,s}))(t);const o=()=>h.map(t=>{if(t[i])throw t[i];return t[n]}),l=new Promise(t=>{s=()=>t(o),s.r=0;const n=t=>t!==r&&!c.has(t)&&(c.add(t),t&&!t.d&&(s.r++,t.push(s)));h.map(t=>t[e](n))});return s.r?l:o()},t=>(t?u(p[i]=t):d(l),a(r))),r?.d<0&&(r.d=0)}})(),s.n=t=>{const e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{if(Array.isArray(e))for(var n=0;n<e.length;){var i=e[n++],a=e[n++];s.o(t,i)?0===a&&n++:0===a?Object.defineProperty(t,i,{enumerable:!0,value:e[n++]}):Object.defineProperty(t,i,{enumerable:!0,get:a})}else for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);s("70333283d751")})();
|
|
@@ -72,6 +72,11 @@
|
|
|
72
72
|
"value": {
|
|
73
73
|
"type": "string",
|
|
74
74
|
"default": ""
|
|
75
|
+
},
|
|
76
|
+
"aria-label": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "",
|
|
79
|
+
"description": "Accessible name for a switch rendered without a visible label, as in a record panel that draws the label itself."
|
|
75
80
|
}
|
|
76
81
|
},
|
|
77
82
|
"additionalProperties": false
|
|
@@ -316,7 +321,7 @@
|
|
|
316
321
|
"source_artifacts": [
|
|
317
322
|
{
|
|
318
323
|
"path": "src/smart/switch/index.js",
|
|
319
|
-
"sha256": "
|
|
324
|
+
"sha256": "fc5cfbd84feb24cd6fac4a9d492e62cb0908dfeb77fca17f68e052f6cb1db777"
|
|
320
325
|
}
|
|
321
326
|
],
|
|
322
327
|
"generated_runtime": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
2
|
|
|
3
3
|
export function renderSwitchTemplate(context) {
|
|
4
|
-
const { size, label, description, help, checked, disabled, name, value } = context;
|
|
4
|
+
const { size, label, description, help, checked, disabled, name, value, ariaLabel } = context;
|
|
5
5
|
|
|
6
6
|
const rootClasses = ['sf-switch', `sf-switch--size-${size}`, 'flex', context.rootClass];
|
|
7
7
|
|
|
@@ -38,6 +38,7 @@ export function renderSwitchTemplate(context) {
|
|
|
38
38
|
.value=${value || ''}
|
|
39
39
|
.checked=${checked}
|
|
40
40
|
?disabled=${disabled}
|
|
41
|
+
aria-label=${!labelContent && ariaLabel ? ariaLabel : nothing}
|
|
41
42
|
/>
|
|
42
43
|
<span class="sf-switch-inner transition" aria-hidden="true"></span>
|
|
43
44
|
</span>
|
package/package-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "ui-
|
|
3
|
-
"commit": "
|
|
4
|
-
"version": "5.
|
|
2
|
+
"release": "ui-3d6921cd2516",
|
|
3
|
+
"commit": "3d6921cd25169dc9b29fd277466bd0dccbef1691",
|
|
4
|
+
"version": "5.20261022.1303",
|
|
5
5
|
"files": {
|
|
6
6
|
"distr/component/accordion/css/accordion.min.css": "sha256-Sn5M6q2XskfMvRHwMFgraYLTGk0vOUDCRFJGQfCsZ4Y=",
|
|
7
7
|
"distr/component/accordion/js/accordion.min.js": "sha256-HiHgZKWDDIOVBjMwOgKFlJqGKvZWwN3NeJluAWwE6ck=",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"distr/component/download-file/js/download-file.min.js": "sha256-bg4nL8EJEBqk+KwyeycB1bmKgRs7qsEfANeMw2T9nhc=",
|
|
54
54
|
"distr/component/download-file/json/download-file.utility.json": "sha256-YYqTklXBoDvwdPFFrGR2nEVsjVUWhlTDEbom1p0PuFw=",
|
|
55
55
|
"distr/component/dropdown/css/dropdown.min.css": "sha256-lHlF8ZwvBID//REpmHAA5bbTq9V/xHKc3q0xydawLFo=",
|
|
56
|
-
"distr/component/dropdown/js/dropdown.min.js": "sha256-
|
|
56
|
+
"distr/component/dropdown/js/dropdown.min.js": "sha256-1hy8uG3NL/p6qMDyAwX6IuSbavc1Kd4fzHduxyOj6GA=",
|
|
57
57
|
"distr/component/emoji/css/emoji.min.css": "sha256-nTSqfONd4UvXZmxi5TBS6XLfX9bx7uElAoweQZdkQxk=",
|
|
58
58
|
"distr/component/emoji/js/emoji.min.js": "sha256-wakrTUWkfvwGSPfJ81on5SLErpXegKeQmTq3c0Fy7g8=",
|
|
59
59
|
"distr/component/fab/css/fab.min.css": "sha256-tR6CL9bIiQJfhqvRymlyanOO6BZKqV6VgXCxp9kJnlo=",
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
"distr/core/contracts/dimension-policy.v1.json": "sha256-Ud/7RxYDdlSLYtluZJG1Fue8cwEJlH4/H6JhYk57UCU=",
|
|
704
704
|
"distr/core/contracts/effect.v1.schema.json": "sha256-caMuAo9wMYDtllF6Ig7qfhj3yZwUAxbstpeNkhQeX1M=",
|
|
705
705
|
"distr/core/contracts/interface-fragment.v1.schema.json": "sha256-DxlgQZnZ7mDs/OZNl2oUa54gXoGX94xhNON9YmYELk8=",
|
|
706
|
-
"distr/core/contracts/packages/larena.package.json": "sha256-
|
|
706
|
+
"distr/core/contracts/packages/larena.package.json": "sha256-nrhBzmr7E9/9wdmIxZRX8TTqQGXF8sozN+rMYB49diA=",
|
|
707
707
|
"distr/core/contracts/ports/simai.admin-navigation-port/1.0.0/kit/cases/a-collapsed-menu-is-kept.json": "sha256-M7kT1bb+06Rb8FJAgInPIGqF5UDp9/jwOXp4NkxhbgQ=",
|
|
708
708
|
"distr/core/contracts/ports/simai.admin-navigation-port/1.0.0/kit/cases/a-language-not-offered-is-refused.json": "sha256-0LpYSZrISAECvX0RJA+tf6ijgyDnoig/ERSQf4KPIAc=",
|
|
709
709
|
"distr/core/contracts/ports/simai.admin-navigation-port/1.0.0/kit/cases/a-language-says-whether-the-page-reloads.json": "sha256-FbBIlgqQ3C97C2txB7GUqHrw4UXIwm/r7ca7kF6p4Gg=",
|
|
@@ -1555,8 +1555,8 @@
|
|
|
1555
1555
|
"distr/core/js/composition/routing.mjs": "sha256-gt5pofwnNPb+m8bQxsK2CbLzlKbyU3SUDCmyqAtOkqo=",
|
|
1556
1556
|
"distr/core/js/composition/schema-name.mjs": "sha256-FKi3M+inZZxdFGDsSmAncsTrC3kNltnidUehn/jwXHg=",
|
|
1557
1557
|
"distr/core/js/composition/sortable.mjs": "sha256-hx5efJXkfOQ9vnYWqYTP3A56BIkA9tQ4EhvYT3pr8FY=",
|
|
1558
|
-
"distr/core/js/core-loader.js": "sha256-
|
|
1559
|
-
"distr/core/js/core-loader.min.js": "sha256-
|
|
1558
|
+
"distr/core/js/core-loader.js": "sha256-hkdYywU7ucLIWP2FoLWCFHAghQpxSqT5rZP3q0S+KC8=",
|
|
1559
|
+
"distr/core/js/core-loader.min.js": "sha256-ViKbowBHs8kUS1GxlTjW5uLu6GG3U0x+In7n3VWchrE=",
|
|
1560
1560
|
"distr/core/js/core-loader.min.js.LICENSE.txt": "sha256-OGQ73LJ2Q42m+eSQArLYBGgYwlj31M3brgBVVCYs9Ew=",
|
|
1561
1561
|
"distr/core/js/core-rules.js": "sha256-CWwZoa1obNBz0iNbwC7anC04waw9ZEly/cKfsb1lrTw=",
|
|
1562
1562
|
"distr/core/js/core-rules.min.js": "sha256-s1Gt35NhYtHr9G00SQS/w7mO9EjHccBGTdx3/5T7FNA=",
|
|
@@ -1565,8 +1565,8 @@
|
|
|
1565
1565
|
"distr/core/js/core.js": "sha256-qbs8xXt8fxoEw024S0UbIVE884LpmLp7cKT3oVWMmVI=",
|
|
1566
1566
|
"distr/core/js/core.min.js": "sha256-Dw1uWOTqGE8dRMF7CCspJMk4iB6BcPNtTxqFPxLUn8Y=",
|
|
1567
1567
|
"distr/core/js/page-language.js": "sha256-ex3UjrAxZk/wAxW7S9yRpwwaYNWsB4ONwbBO5sdojRY=",
|
|
1568
|
-
"distr/core/js/smart-base.js": "sha256-
|
|
1569
|
-
"distr/core/js/smart-base.min.js": "sha256
|
|
1568
|
+
"distr/core/js/smart-base.js": "sha256-OR7rR9GzLDU24OSL7AmXqR655vCHCT6jIIdhNTauAd8=",
|
|
1569
|
+
"distr/core/js/smart-base.min.js": "sha256-+6+ntXWzIQopg6cM3C0h6mqu8aAJ9DjQIRbE7P8/juk=",
|
|
1570
1570
|
"distr/core/js/smart-base.min.js.LICENSE.txt": "sha256-PlFzR0khuvjQTDM+5pMjyVdXgn4HKRNUueUs5RB9LrQ=",
|
|
1571
1571
|
"distr/core/js/template-utilities.generated.json": "sha256-yPOn0Y+ASa2jiTI7Wr+lGHue8mqZsQ2HeMkIxjSg/GI=",
|
|
1572
1572
|
"distr/core/js/vendor/material-color-utilities/package.json": "sha256-SOhHhg3U8JB86R40bbsApKEiExY609gKlTw0PrmhGXk=",
|
|
@@ -1611,8 +1611,8 @@
|
|
|
1611
1611
|
"distr/smart/button-group/studio.fixture.json": "sha256-rJ/uRxQgxyNRFI1zCfG5yIl6tKqMXaWoZBxb3AlW6wE=",
|
|
1612
1612
|
"distr/smart/button-group/studio.scenario.json": "sha256-lOK6oz/lGuP3xbbaHZFU1KNH1P/ALI8Gg4ACocAwUH4=",
|
|
1613
1613
|
"distr/smart/button-group/template/default.js": "sha256-1kShck1HW/+re/cCUvaHVwLLfXJQviWxNMTW9Zg3mmY=",
|
|
1614
|
-
"distr/smart/buttons/js/buttons.min.js": "sha256-
|
|
1615
|
-
"distr/smart/buttons/smart.manifest.json": "sha256-
|
|
1614
|
+
"distr/smart/buttons/js/buttons.min.js": "sha256-ZXUvWkRPpA+ViH48snpNhohwZJ0s61qE1gF7BsuqDNk=",
|
|
1615
|
+
"distr/smart/buttons/smart.manifest.json": "sha256-WDSX/0dCkBXt2b4vqCNkbwvPEO7sAvUAaoW7TTqtHd4=",
|
|
1616
1616
|
"distr/smart/buttons/studio.fixture.json": "sha256-a98vkqYFlyIJNAhQMKA5tdlWJCmtP6z4rl019PoLrHw=",
|
|
1617
1617
|
"distr/smart/buttons/studio.scenario.json": "sha256-YnipuyuoGQRtDBGOFrKHyiRv0SOHgN9F/gtJ/X50JrA=",
|
|
1618
1618
|
"distr/smart/buttons/template/default.js": "sha256-LBCPBNGHZtRPEC2gjsxdcfz6GOQWDAbc94/pZL9NxvQ=",
|
|
@@ -1649,16 +1649,16 @@
|
|
|
1649
1649
|
"distr/smart/copy-button/studio.fixture.json": "sha256-VqKJNMgplKF9sqZxL+eO0hkbYvxqfYMJpOFQZ0DRXDI=",
|
|
1650
1650
|
"distr/smart/copy-button/studio.scenario.json": "sha256-FqkRZ8kdCUMu/5e5cehrAJuiZo/H+C9suHVBYmKkzjg=",
|
|
1651
1651
|
"distr/smart/copy-button/template/default.js": "sha256-WKdg7vQvQBZXagJSsCGwMp2Xp1qT6nu5wXRgt6gxMJ4=",
|
|
1652
|
-
"distr/smart/country-code/js/country-code.min.js": "sha256-
|
|
1653
|
-
"distr/smart/country-code/smart.manifest.json": "sha256-
|
|
1652
|
+
"distr/smart/country-code/js/country-code.min.js": "sha256-QPsIJt6zfEgJn4vFI+6aBVFYkSx1YWCoCC8sll16MQg=",
|
|
1653
|
+
"distr/smart/country-code/smart.manifest.json": "sha256-gweYiOUQoCWK0rcndPSKGNezmW/A78Kymr70B9U2ZKY=",
|
|
1654
1654
|
"distr/smart/country-code/studio.fixture.json": "sha256-LtXKWPCR8kwTe0RyliHoyf4oZ7naswRla2EPKRIC8tc=",
|
|
1655
1655
|
"distr/smart/country-code/studio.scenario.json": "sha256-hI3m/cRUlMRRJp/omAgLwK7/QjKKGZBth8HKRdotUB8=",
|
|
1656
|
-
"distr/smart/country-code/template/default.js": "sha256-
|
|
1657
|
-
"distr/smart/datepicker/js/datepicker.min.js": "sha256-
|
|
1658
|
-
"distr/smart/datepicker/smart.manifest.json": "sha256-
|
|
1656
|
+
"distr/smart/country-code/template/default.js": "sha256-4ggijmr7AOhWHrlKaa39DW5lM1BosAUyI5Pbl5TLrjM=",
|
|
1657
|
+
"distr/smart/datepicker/js/datepicker.min.js": "sha256-vt99p9InOvQbNpEMxA496LEkR7kIxdROmmESmmX4hm4=",
|
|
1658
|
+
"distr/smart/datepicker/smart.manifest.json": "sha256-ptSk/5VY5eG5VZQG9l9m9pYW5gkOF2H3BPAVavu1e4s=",
|
|
1659
1659
|
"distr/smart/datepicker/studio.fixture.json": "sha256-1jZUZwa4puNNd9TFv0yRHQ6zNd3fF0dL9fkutfDzypc=",
|
|
1660
1660
|
"distr/smart/datepicker/studio.scenario.json": "sha256-KouzoXQC719xxOHbt7imlxGmtY0HyFuNJ9ADKrPp9BY=",
|
|
1661
|
-
"distr/smart/datepicker/template/default.js": "sha256-
|
|
1661
|
+
"distr/smart/datepicker/template/default.js": "sha256-J0ieNwkOa7DyHNs23ld396BYCBWQEeABh91UZ454A6I=",
|
|
1662
1662
|
"distr/smart/download-file/js/download-file.min.js": "sha256-dem55XquSxY98NYM/505fwgUJK7XqukuOjaG0PFxXkE=",
|
|
1663
1663
|
"distr/smart/download-file/smart.manifest.json": "sha256-W6qfEuh74JPEXdCqGoOflJbKA1HYkZzIM+V9Aq7A9kA=",
|
|
1664
1664
|
"distr/smart/download-file/studio.fixture.json": "sha256-9QSk1/CNQ3uDL9Sx+E34TJHDqOCtM/tXjOdlHz5h0cY=",
|
|
@@ -1669,11 +1669,11 @@
|
|
|
1669
1669
|
"distr/smart/drawer/smart.manifest.json": "sha256-1GbAsqpo1v5Q3egs6wJDkJdKmQCLOeEVo77JSaR6mJg=",
|
|
1670
1670
|
"distr/smart/drawer/studio.fixture.json": "sha256-k/fu93LOBmvTOybNQmWwG+NDrzr7vLBnui2MKGa/ZJw=",
|
|
1671
1671
|
"distr/smart/drawer/studio.scenario.json": "sha256-PzhY8/Sln6hBlvgmeFn2YYK32Xk9YOcyUQauJds2UXI=",
|
|
1672
|
-
"distr/smart/dropdown/js/dropdown.min.js": "sha256-
|
|
1673
|
-
"distr/smart/dropdown/smart.manifest.json": "sha256-
|
|
1672
|
+
"distr/smart/dropdown/js/dropdown.min.js": "sha256-HLc0RR2eDH5fAL6xbcA7lm3XsLEpdCcINeINOkP+GmM=",
|
|
1673
|
+
"distr/smart/dropdown/smart.manifest.json": "sha256-3Ca7x2E7om/ZBScfGO6Xbf17iTvUFYcm5njqaKvRrLE=",
|
|
1674
1674
|
"distr/smart/dropdown/studio.fixture.json": "sha256-Dj0jrYDyDtHI2CVguZtwid6DDbvJ11oxS4mw21BPX/A=",
|
|
1675
1675
|
"distr/smart/dropdown/studio.scenario.json": "sha256-2r/vzAMG4qgBzMYD6sTLh+7HBzxjzYee4eMLQ4gh5dU=",
|
|
1676
|
-
"distr/smart/dropdown/template/default.js": "sha256-
|
|
1676
|
+
"distr/smart/dropdown/template/default.js": "sha256-niTQUqMuLsnoR+uFocpYVfqDNlhXq6SfyN3fMUX4ZNY=",
|
|
1677
1677
|
"distr/smart/empty-state/css/empty-state.min.css": "sha256-3vhaBXriFFNf4Wtix6r76M/5PNGUs8RP9NBGsxutOew=",
|
|
1678
1678
|
"distr/smart/empty-state/js/empty-state.min.js": "sha256-+On/KFmsX0XoqkDhNt+vHPIoF9LLhHxCLKcNhje5fj8=",
|
|
1679
1679
|
"distr/smart/empty-state/js/empty-state.min.js.LICENSE.txt": "sha256-OGQ73LJ2Q42m+eSQArLYBGgYwlj31M3brgBVVCYs9Ew=",
|
|
@@ -1681,7 +1681,7 @@
|
|
|
1681
1681
|
"distr/smart/empty-state/studio.fixture.json": "sha256-kTLJqzVW68pHYwlYbcOKbkAn+jfoR3/c9Txt2VSGwbY=",
|
|
1682
1682
|
"distr/smart/empty-state/studio.scenario.json": "sha256-xGWMssotHcMfkfYkr+GqVOK9uSoMlILYGkGrl7wmYS0=",
|
|
1683
1683
|
"distr/smart/empty-state/template/default.js": "sha256-2JbQ3FtiwpMsdL5pxjFtzpvuKqUFEipx/VjW00jmFuc=",
|
|
1684
|
-
"distr/smart/field-renderers/js/field-renderers.min.js": "sha256-
|
|
1684
|
+
"distr/smart/field-renderers/js/field-renderers.min.js": "sha256-LB0qaRUbR3ntNoDTJGdW1ZHyTJ/cvQe+Xs8gsh1z8qk=",
|
|
1685
1685
|
"distr/smart/file-preview/js/file-preview.min.js": "sha256-hWHM+WmhSr+MhStsQOYL/XqZOWKc77idX2qQEAvTpa0=",
|
|
1686
1686
|
"distr/smart/file-preview/smart.manifest.json": "sha256-Uxwj2RD8LkP1h627+gHP/+gJ/0ZLlKRjoWVQMM8I3hU=",
|
|
1687
1687
|
"distr/smart/file-preview/studio.fixture.json": "sha256-5d5ekmgTkaQ1+P+DEOjs2HR3QpD+yYeMevh469larXs=",
|
|
@@ -1706,14 +1706,14 @@
|
|
|
1706
1706
|
"distr/smart/help-mark/studio.scenario.json": "sha256-mMUXYRyV4Eu4uJqzI1LmjUy8BdQHGSWuQpXc/IfKans=",
|
|
1707
1707
|
"distr/smart/help-mark/template/default.js": "sha256-+cw7nkpfXmVUpvoQSZGx5byhH8VBsSCmGXcpH4mOAx0=",
|
|
1708
1708
|
"distr/smart/icon-buttons/css/icon-buttons.min.css": "sha256-HPdh7dNrw76hmHy69Q/tX2k91f6XGlLXZw323/CeR1w=",
|
|
1709
|
-
"distr/smart/icon-buttons/js/icon-buttons.min.js": "sha256-
|
|
1710
|
-
"distr/smart/icon-buttons/smart.manifest.json": "sha256-
|
|
1709
|
+
"distr/smart/icon-buttons/js/icon-buttons.min.js": "sha256-HkAj5bTAlIoXpeCkzNyT7a0RNOYgGWQsqJ45nrNIEKU=",
|
|
1710
|
+
"distr/smart/icon-buttons/smart.manifest.json": "sha256-cds44dUWvcTSyXfnygggkBbKsBmS91XqAAeF9XIQn5k=",
|
|
1711
1711
|
"distr/smart/icon-buttons/studio.fixture.json": "sha256-qe0jlTL4VljC1mDUwqQM5WkZt2veUVZXIv4wBHGBhss=",
|
|
1712
1712
|
"distr/smart/icon-buttons/studio.scenario.json": "sha256-Xm9bpPkbPBgpZSRHWEVHTxKWfbGatevxlSRXqyGD4eA=",
|
|
1713
1713
|
"distr/smart/icon-buttons/template/default.css": "sha256-Aa/GTc0OQh54vE3637T9Rh4C/kaZpdMjCH0Zyr/2NJI=",
|
|
1714
1714
|
"distr/smart/icon-buttons/template/default.js": "sha256-WGF6RowHJnwsIlHQycymAI5PriyXkdejPKw8SP1I3cQ=",
|
|
1715
|
-
"distr/smart/icons/js/icons.min.js": "sha256-
|
|
1716
|
-
"distr/smart/icons/smart.manifest.json": "sha256-
|
|
1715
|
+
"distr/smart/icons/js/icons.min.js": "sha256-4bx1TKrWLf70uG8TRVWSa6YPaTurhzD+idGHG70K7EI=",
|
|
1716
|
+
"distr/smart/icons/smart.manifest.json": "sha256-CZpdjW1bJGRroEaX/VzyumHgRxtmaimxFQFons/knO4=",
|
|
1717
1717
|
"distr/smart/icons/studio.fixture.json": "sha256-LfkBOapRlxzysIph4Ryrs+X3XJ2LurxlADC1ZMGTfBQ=",
|
|
1718
1718
|
"distr/smart/icons/studio.scenario.json": "sha256-8DLMMzeZXB/KyRsrhXTkVgV6uUp/IlZRF3i+33t2WUc=",
|
|
1719
1719
|
"distr/smart/icons/template/default.js": "sha256-VKbj+C/fOtnJcVcN4uAb11RmIPEad5PUbs5CLyx+40I=",
|
|
@@ -1723,12 +1723,12 @@
|
|
|
1723
1723
|
"distr/smart/inline-editor/studio.fixture.json": "sha256-BSs49D+yRY9vujjTHQTza+3oZ/FZC09yt50l4ZInOT8=",
|
|
1724
1724
|
"distr/smart/inline-editor/studio.scenario.json": "sha256-HomirNpwoWa8CVcWyMrUi3MDzBwPMa6nFJzuFfds5MQ=",
|
|
1725
1725
|
"distr/smart/inputs/css/inputs.min.css": "sha256-rVByHBlmF128EzPJtlxwGpqkj7mQbULYW3cpNddO8AA=",
|
|
1726
|
-
"distr/smart/inputs/js/inputs.min.js": "sha256-
|
|
1727
|
-
"distr/smart/inputs/smart.manifest.json": "sha256-
|
|
1726
|
+
"distr/smart/inputs/js/inputs.min.js": "sha256-yOyEDR9YoZjYAcqdgo1kGXwYUz7ZmkmNunGCp3yawEc=",
|
|
1727
|
+
"distr/smart/inputs/smart.manifest.json": "sha256-h0TgCPw4pe6JWZ0S1sfobhiAq0+4fG1El5Vd/DupPYw=",
|
|
1728
1728
|
"distr/smart/inputs/studio.fixture.json": "sha256-P500X6JyuXbYibmFzSMGeuXAzIEWDiYHY2KLoTf3NeA=",
|
|
1729
1729
|
"distr/smart/inputs/studio.scenario.json": "sha256-luBRT3MwnpU5fsFy8DpeKC5/FI8L2+zbSLDq55Wum9E=",
|
|
1730
1730
|
"distr/smart/inputs/template/default.css": "sha256-7+FrD0mDQDNU0sVF9bAx9bX+d2dvjddl9vZtVjRl6/0=",
|
|
1731
|
-
"distr/smart/inputs/template/default.js": "sha256-
|
|
1731
|
+
"distr/smart/inputs/template/default.js": "sha256-QO5InYAiW4dzH4uM80BaMqbeqp4kHjbA+gTULDe7kqE=",
|
|
1732
1732
|
"distr/smart/list-item/js/list-item.min.js": "sha256-pho+4cuqJz072IwjBDrJ65hTRvwlwnjWEhjTw8a/Yhw=",
|
|
1733
1733
|
"distr/smart/list-item/smart.manifest.json": "sha256-4o96V0ExgNPJ5C6+/c4Q7gejMuVoSnvTxh7gG3BaQY0=",
|
|
1734
1734
|
"distr/smart/list-item/studio.fixture.json": "sha256-/fRILKOB8b1m7SLHJ0aE9GXLZ9n1kR0Rcnf1FqLjR2g=",
|
|
@@ -1751,8 +1751,8 @@
|
|
|
1751
1751
|
"distr/smart/pagination/studio.scenario.json": "sha256-thLxTxw8JoOsJ4bHT+icjDyMXV5FzaEm6BZZKZYi7vk=",
|
|
1752
1752
|
"distr/smart/pagination/template/default.js": "sha256-oGvGKM9V+oScDV1lLd6sSrVO+hGQEsTPqp1tno7dU+A=",
|
|
1753
1753
|
"distr/smart/popover/css/popover.min.css": "sha256-g0mQwBEmXR8M3pCFJpKdndu1FHg+vgLccVcUrlcKI5s=",
|
|
1754
|
-
"distr/smart/popover/js/popover.min.js": "sha256
|
|
1755
|
-
"distr/smart/popover/smart.manifest.json": "sha256-
|
|
1754
|
+
"distr/smart/popover/js/popover.min.js": "sha256-0vogbYUZi4zoXPI8tFesdXgs6y9aiGVeXcNl7sxHCFk=",
|
|
1755
|
+
"distr/smart/popover/smart.manifest.json": "sha256-U2bK/P/r8eA3hV/S4Q/lAKZxW02ELNthm0KPjxVHYTc=",
|
|
1756
1756
|
"distr/smart/popover/template/default.css": "sha256-1SLj10NVEHdlv9mwtxifDGCZd2ahB05tfZFqOHaMGbo=",
|
|
1757
1757
|
"distr/smart/popover/template/default.js": "sha256-b2vhnMr6rKpy4EfbvQCExKRXOL7Yqx9XVuSDPpq+wWk=",
|
|
1758
1758
|
"distr/smart/profile-picker/css/profile-picker.min.css": "sha256-iMNFfOKOZk06GeGE7LMr25WUE+ty3nwDt9bOga5URCI=",
|
|
@@ -1817,11 +1817,11 @@
|
|
|
1817
1817
|
"distr/smart/steps/studio.fixture.json": "sha256-ECSjRzUs8P3/sbT/9HH6KRuTFEfyTamZrvSEeURopDU=",
|
|
1818
1818
|
"distr/smart/steps/studio.scenario.json": "sha256-B3rKqy97KmVx7Nxxsh7sOHulV5LlbFVkWA05bNr+N20=",
|
|
1819
1819
|
"distr/smart/steps/template/default.js": "sha256-KH4FxyzH3YdyRyMhJbm6rGyXCUduBOaaWySUf/nVB+A=",
|
|
1820
|
-
"distr/smart/switch/js/switch.min.js": "sha256
|
|
1821
|
-
"distr/smart/switch/smart.manifest.json": "sha256-
|
|
1820
|
+
"distr/smart/switch/js/switch.min.js": "sha256-AA+ZPNOq+mj4jRSpDn1+/NlZFmDVUFYUoYP+v6MLRjQ=",
|
|
1821
|
+
"distr/smart/switch/smart.manifest.json": "sha256-sgEYMU4trzTWtc/ZB/y1KM4OWsWmeaNEaXjOdJcNEMk=",
|
|
1822
1822
|
"distr/smart/switch/studio.fixture.json": "sha256-XM8w1UnmHFp6HfZVskYSIrLXe2cdwCj80fgeZmhLabI=",
|
|
1823
1823
|
"distr/smart/switch/studio.scenario.json": "sha256-NB1395YCgkCFQYD5FhZ9pcqa6tPNF+P48XQHFtf2ZyY=",
|
|
1824
|
-
"distr/smart/switch/template/default.js": "sha256-
|
|
1824
|
+
"distr/smart/switch/template/default.js": "sha256-FFfGjuNRshYV0/nWyVoh5wonfGtLGCzuvcMFpxuNVew=",
|
|
1825
1825
|
"distr/smart/tabs/css/tabs.min.css": "sha256-wcm4BQ+SAreSCIq4tiJzEujSxiuE82mnTTEIZ8iy1/E=",
|
|
1826
1826
|
"distr/smart/tabs/js/tabs.min.js": "sha256-kOijEQF4Fqlm1UZoB9eorbItI4AM53zKYiFiSIGgHEg=",
|
|
1827
1827
|
"distr/smart/tabs/smart.manifest.json": "sha256-HhlRbMoo1b9y3dE3dxKgP2gcuCNqWvOZAgQFsMm/q9o=",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simai-studio/ui",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"description": "SIMAI Framework distribution, release ui-
|
|
3
|
+
"version": "5.20261022.1303",
|
|
4
|
+
"description": "SIMAI Framework distribution, release ui-3d6921cd2516: Core, the Loader, components, utilities and Smart Components, ready to serve from distr/.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://ui.simai.io/",
|
|
7
7
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"simai": {
|
|
20
|
-
"release": "ui-
|
|
21
|
-
"commit": "
|
|
20
|
+
"release": "ui-3d6921cd2516",
|
|
21
|
+
"commit": "3d6921cd25169dc9b29fd277466bd0dccbef1691"
|
|
22
22
|
}
|
|
23
23
|
}
|