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
|
@@ -2,11 +2,11 @@ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement
|
|
|
2
2
|
import { c as classnames } from './index-1597de83.js';
|
|
3
3
|
import { c as getChildElements } from './utils-b0af8e4d.js';
|
|
4
4
|
import './types-911a8837.js';
|
|
5
|
-
import { G as Generate, s as snq } from './snq.es5-
|
|
5
|
+
import { G as Generate, s as snq } from './snq.es5-af1d3151.js';
|
|
6
6
|
import { B as Bcm } from './bcm-1571bb45.js';
|
|
7
|
-
import { J as JsonParse } from './json-parse-decarator-
|
|
7
|
+
import { J as JsonParse } from './json-parse-decarator-cbf773af.js';
|
|
8
8
|
import './index-3c5b7898.js';
|
|
9
|
-
import { s as stepperStates } from './stepper-states-
|
|
9
|
+
import { s as stepperStates } from './stepper-states-66002977.js';
|
|
10
10
|
|
|
11
11
|
const StepperHeaderTemplate = ({ title, description, status, valid, index, loading, active, stepChange, statusIcon, icon, disabled }) => {
|
|
12
12
|
const classes = classnames('bcm-stepper__header-item', `bcm-stepper__header-item--${status}`, {
|
|
@@ -3,7 +3,7 @@ import { c as classnames } from './index-1597de83.js';
|
|
|
3
3
|
import { C as ColorPalette } from './colors-7c7b35e9.js';
|
|
4
4
|
import { e as extractColor } from './utils-b0af8e4d.js';
|
|
5
5
|
import './types-911a8837.js';
|
|
6
|
-
import { s as snq, G as Generate } from './snq.es5-
|
|
6
|
+
import { s as snq, G as Generate } from './snq.es5-af1d3151.js';
|
|
7
7
|
import { B as Bcm } from './bcm-1571bb45.js';
|
|
8
8
|
|
|
9
9
|
class NumberHelper {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as t,G as e}from"./p-4c541a53.js";import{c as a}from"./p-a5403cdb.js";const{state:s}=a({value:new Map,setData:{}}),c={removeState:t=>{s.value.delete(t)},getValue:e=>t((()=>s.value.get(e)),{}),setValue:t=>{const e=Object.assign({},t);s.value.set(t.id,e)},changeActiveStep:(t,e)=>{const a=s.value.get(t);a&&(a.active=e,a.steps=a.steps.map(((t,a)=>Object.assign(Object.assign({},t),{active:a===e-1}))))},getActiveIndex:e=>t((()=>s.value.get(e).active),0),changeStepStatus:(t,a,c)=>{const b=s.value.get(t);b&&b.steps&&(b.steps=b.steps.map((t=>Object.assign(Object.assign({},t),{status:t.id===a?c:t.status}))),b.el.tick=e.UID())},changeStepDisabled:(t,a,c)=>{const b=s.value.get(t);b&&b.steps&&(b.steps=b.steps.map((t=>Object.assign(Object.assign({},t),{disabled:t.id===a?c:t.disabled}))),b.el.tick=e.UID())},stepperReset:t=>{const a=s.value.get(t);a&&(a.active=1,a.steps=a.steps.map(((t,e)=>Object.assign(Object.assign({},t),{active:0===e,status:"default",disabled:0!==e,loading:!1}))),a.el.tick=e.UID())}};export{c as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as t}from"./p-74df82e2.js";import{s as n}from"./p-4c541a53.js";function s(s){return(o,r)=>{const{connectedCallback:c}=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 c&&c.call(this)}}}export{s as J}
|