bromcom-ui 2.4.25 → 2.4.26
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/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-094416f7.entry.js → p-1b60e59a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c541a53.js → p-28bd8139.js} +1 -1
- package/dist/bromcom-ui/{p-d6921b6b.entry.js → p-68593b1d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-19d7b0cc.entry.js → p-764a2845.entry.js} +1 -1
- package/dist/bromcom-ui/p-7ca590dc.js +1 -0
- package/dist/bromcom-ui/p-b3229733.js +1 -0
- package/dist/bromcom-ui/{p-51bdc4af.entry.js → p-f5064757.entry.js} +1 -1
- package/dist/cjs/bcm-button_17.cjs.entry.js +2 -2
- package/dist/cjs/bcm-icon-2_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag-2.cjs.entry.js +1 -1
- package/dist/cjs/{json-parse-decarator-3b36ab36.js → json-parse-decarator-511babca.js} +1 -1
- package/dist/cjs/{snq.es5-b646b67b.js → snq.es5-9956c3ba.js} +1 -1
- package/dist/cjs/{stepper-states-dbd3a206.js → stepper-states-7dd686cb.js} +1 -1
- package/dist/esm/bcm-button_17.entry.js +2 -2
- package/dist/esm/bcm-icon-2_2.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +3 -3
- package/dist/esm/bcm-tag-2.entry.js +1 -1
- package/dist/esm/{json-parse-decarator-175b10c4.js → json-parse-decarator-cbf773af.js} +1 -1
- package/dist/esm/{snq.es5-ace87f2d.js → snq.es5-af1d3151.js} +1 -1
- package/dist/esm/{stepper-states-0065a5af.js → stepper-states-66002977.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-33557975.js +0 -1
- package/dist/bromcom-ui/p-b696fc60.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as t,G as e}from"./p-28bd8139.js";import{c as s}from"./p-a5403cdb.js";const{state:a}=s({value:new Map,setData:{}}),c={removeState:t=>{a.value.delete(t)},getValue:e=>t((()=>a.value.get(e)),{}),setValue:t=>{const e=Object.assign({},t);a.value.set(t.id,e)},changeActiveStep:(t,e)=>{const s=a.value.get(t);s&&(s.active=e,s.steps=s.steps.map(((t,s)=>Object.assign(Object.assign({},t),{active:s===e-1}))))},getActiveIndex:e=>t((()=>a.value.get(e).active),0),changeStepStatus:(t,s,c)=>{const b=a.value.get(t);b&&b.steps&&(b.steps=b.steps.map((t=>Object.assign(Object.assign({},t),{status:t.id===s?c:t.status}))),b.el.tick=e.UID())},changeStepDisabled:(t,s,c)=>{const b=a.value.get(t);b&&b.steps&&(b.steps=b.steps.map((t=>Object.assign(Object.assign({},t),{disabled:t.id===s?c:t.disabled}))),b.el.tick=e.UID())},stepperReset:t=>{const s=a.value.get(t);s&&(s.active=1,s.steps=s.steps.map(((t,e)=>Object.assign(Object.assign({},t),{active:0===e,status:"default",disabled:0!==e,loading:!1}))),s.el.tick=e.UID())}};export{c as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t}from"./p-74df82e2.js";import{s as n}from"./p-28bd8139.js";function s(s){return(o,r)=>{const{connectedCallback:i}=o;o.connectedCallback=function(){const o=t(this);if(o[r]){const t=n((()=>o.hasAttribute(s)?o.getAttribute(s).valueOf():o[s].valueOf()),null);t&&(this[r]=n((()=>"string"==typeof t?JSON.parse(t):t),[]),o.removeAttribute(s))}return i&&i.call(this)}}}export{s as J}
|