bromcom-ui 2.6.1-rc.0 → 2.6.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/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-1ebafd0d.entry.js → p-01dee921.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5348279f.entry.js → p-050b2d07.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1d857ed5.entry.js → p-08c714b2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-508b85d7.entry.js → p-1135694c.entry.js} +1 -1
- package/dist/bromcom-ui/p-12313045.entry.js +1 -0
- package/dist/bromcom-ui/p-125072fb.js +1 -0
- package/dist/bromcom-ui/{p-e40b4645.entry.js → p-20af629a.entry.js} +1 -1
- package/dist/bromcom-ui/p-3485be18.entry.js +1 -0
- package/dist/bromcom-ui/p-38c8d848.entry.js +1 -0
- package/dist/bromcom-ui/{p-19b725ea.entry.js → p-4077b465.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3b57a048.entry.js → p-426332ab.entry.js} +1 -1
- package/dist/bromcom-ui/{p-938fde13.js → p-4acd9738.js} +1 -1
- package/dist/bromcom-ui/{p-fc20cc8f.entry.js → p-543f3646.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7eb204aa.entry.js → p-647f59ca.entry.js} +1 -1
- package/dist/bromcom-ui/p-6b5b5227.entry.js +1 -0
- package/dist/bromcom-ui/{p-0a2d2439.entry.js → p-7eab4590.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c3bb0c90.entry.js → p-846e84d4.entry.js} +1 -1
- package/dist/bromcom-ui/p-a5e90fbe.entry.js +1 -0
- package/dist/bromcom-ui/p-ace0f8b7.entry.js +1 -0
- package/dist/bromcom-ui/p-b00c1dbe.entry.js +1 -0
- package/dist/bromcom-ui/p-bbec5360.entry.js +1 -0
- package/dist/bromcom-ui/p-bfd5a214.entry.js +1 -0
- package/dist/bromcom-ui/{p-0be153f0.entry.js → p-c57cc7d3.entry.js} +1 -1
- package/dist/bromcom-ui/p-c9ab4ee2.entry.js +1 -0
- package/dist/bromcom-ui/p-cd548f6c.entry.js +1 -0
- package/dist/bromcom-ui/{p-e899583f.entry.js → p-d2b0647b.entry.js} +1 -1
- package/dist/bromcom-ui/p-d4e995eb.entry.js +1 -0
- package/dist/bromcom-ui/{p-b725df90.entry.js → p-d5c3a496.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9d13703d.entry.js → p-e1c5b617.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d33e9abb.entry.js → p-e9b1e392.entry.js} +1 -1
- package/dist/bromcom-ui/p-ecc440c0.entry.js +1 -0
- package/dist/bromcom-ui/{p-8c388952.entry.js → p-f77560e8.entry.js} +1 -1
- package/dist/bromcom-ui/p-f921bca9.entry.js +1 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-0e85fc0b.entry.js +0 -1
- package/dist/bromcom-ui/p-2482639e.entry.js +0 -1
- package/dist/bromcom-ui/p-25d0939e.entry.js +0 -1
- package/dist/bromcom-ui/p-378a46d6.entry.js +0 -1
- package/dist/bromcom-ui/p-3b7bc944.entry.js +0 -1
- package/dist/bromcom-ui/p-4d7912fa.entry.js +0 -1
- package/dist/bromcom-ui/p-4e6d4658.js +0 -1
- package/dist/bromcom-ui/p-56c7cc2a.entry.js +0 -1
- package/dist/bromcom-ui/p-6d2a288f.entry.js +0 -1
- package/dist/bromcom-ui/p-a05b33fe.entry.js +0 -1
- package/dist/bromcom-ui/p-aa020d19.entry.js +0 -1
- package/dist/bromcom-ui/p-b408e6e7.entry.js +0 -1
- package/dist/bromcom-ui/p-bbd9aa3b.entry.js +0 -1
- package/dist/bromcom-ui/p-ca5e9167.entry.js +0 -1
- package/dist/bromcom-ui/p-d9eaea7f.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as t}from"./p-
|
|
1
|
+
import{G as t}from"./p-125072fb.js";import{s as e}from"./p-6d018a8f.js";import{c as s}from"./p-a8b797d7.js";const{state:a}=s({value:new Map,setData:{}}),c={removeState:t=>{a.value.delete(t)},getValue:t=>e((()=>a.value.get(t)),{}),setValue:e=>{const s=Object.assign(Object.assign({},e),{steps:e.steps&&e.steps.length>0&&e.steps.filter((t=>!t.hidden)).map(((s,a)=>({id:s.id||t.UID(),title:s.title||s._title||"Step "+(a+1),description:s.description||"",status:s.status||"default",disabled:e.linear?0!=a:s.disabled||!1,icon:s.icon||void 0,valid:s.valid||!0,loading:s.loading||!1,index:a+1,active:e.linear?0==a:e.active===a+1,isLast:a===e.steps.length-1,statusIcon:e.icon,headerHidden:s.hidden})))});a.value.set(e.id,s)},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:t=>e((()=>a.value.get(t).active),0),changeStepStatus:(e,s,c)=>{const i=a.value.get(e);i&&i.steps&&(i.steps=i.steps.map((t=>Object.assign(Object.assign({},t),{status:t.id===s?c:t.status}))),i.el.tick=t.UID())},changeStepDisabled:(e,s,c)=>{const i=a.value.get(e);i&&i.steps&&(i.steps=i.steps.map((t=>Object.assign(Object.assign({},t),{disabled:t.id===s?c:t.disabled}))),i.el.tick=t.UID())},stepperReset:e=>{const s=a.value.get(e);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=t.UID())}};export{c as s}
|