bromcom-ui 2.8.0-rc.5 → 2.8.0-rc.6
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-c42e3b89.entry.js → p-01a0a933.entry.js} +1 -1
- package/dist/bromcom-ui/{p-504575be.entry.js → p-0541edbf.entry.js} +1 -1
- package/dist/bromcom-ui/p-10699025.entry.js +5 -0
- package/dist/bromcom-ui/{p-6e017905.entry.js → p-1263a567.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b7e0fe52.entry.js → p-141d380f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f3d970d7.entry.js → p-1a2c869c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fec276e6.entry.js → p-1ebf2c97.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b358c791.entry.js → p-2179cbce.entry.js} +2 -2
- package/dist/bromcom-ui/{p-f3c08dc7.entry.js → p-249f149d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7ed49ddd.entry.js → p-24ba1573.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1fa1c5d9.entry.js → p-262da209.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b001d7cd.entry.js → p-2f7fb8dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e01220df.js → p-31bb9db5.js} +1 -1
- package/dist/bromcom-ui/{p-38a5fb2c.entry.js → p-33dfaba1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-04f65223.entry.js → p-3ad01bf4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4dd66352.js → p-3db8f91e.js} +1 -1
- package/dist/bromcom-ui/{p-16bae5a0.entry.js → p-4fd8b48e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2e1ae66c.entry.js → p-538c87d2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-10228af8.entry.js → p-59e12dad.entry.js} +1 -1
- package/dist/bromcom-ui/{p-98253d3c.entry.js → p-5d172f7d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a92be147.entry.js → p-5df785a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b9ee6aca.js → p-60f7ae5d.js} +1 -1
- package/dist/bromcom-ui/{p-bb2b3ad0.entry.js → p-617f4eb2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9d48056f.entry.js → p-67d3d8c6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-244075dd.entry.js → p-68185d36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c1c066a4.entry.js → p-6f27cf6d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cf85d777.entry.js → p-74dd5f31.entry.js} +1 -1
- package/dist/bromcom-ui/{p-49656e08.entry.js → p-75fa262b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f654d64d.entry.js → p-79117799.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cde1298c.entry.js → p-7cff3fa9.entry.js} +1 -1
- package/dist/bromcom-ui/p-84c513eb.entry.js +5 -0
- package/dist/bromcom-ui/{p-c7496628.entry.js → p-889a1255.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9c1caebd.entry.js → p-8afc794d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5ae2ce53.entry.js → p-8fc1e2b0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a681f4b.entry.js → p-9155ca09.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51b670a0.entry.js → p-998f305e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61ee8d5c.entry.js → p-a176cebc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c700098.entry.js → p-a51a8010.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f6dba555.entry.js → p-b16f3edd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d4ed79f0.entry.js → p-b5d1ddf9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cf3b02d0.entry.js → p-b8fe88df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d14fd581.entry.js → p-ba5686e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ad5cb398.entry.js → p-bc97278b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c2806d1.entry.js → p-c36c80f8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6949fcce.entry.js → p-c4cdcb75.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4620092f.js → p-c682622d.js} +1 -1
- package/dist/bromcom-ui/{p-bee37fd5.entry.js → p-c9707add.entry.js} +1 -1
- package/dist/bromcom-ui/p-cdb04058.entry.js +5 -0
- package/dist/bromcom-ui/{p-5303f5d7.entry.js → p-d96c04f0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-778590bf.entry.js → p-e16ff3f3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ee381ce5.js → p-e741d71e.js} +1 -1
- package/dist/bromcom-ui/{p-bca3b603.js → p-ea6b1764.js} +1 -1
- package/dist/bromcom-ui/{p-c721df8b.js → p-eb5b09a1.js} +1 -1
- package/dist/bromcom-ui/{p-19c5d157.entry.js → p-eb7da19e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-31f5b765.entry.js → p-eb89054e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f11a03af.entry.js → p-ed6c561a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-aaea010b.entry.js → p-f27bb138.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cf0e31dc.entry.js → p-f9c235f9.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button.cjs.entry.js +1 -1
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
- package/dist/cjs/bcm-color-input.cjs.entry.js +3 -3
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +41 -11
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-items.cjs.entry.js +1 -1
- package/dist/cjs/bcm-label_2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-list.cjs.entry.js +5 -5
- package/dist/cjs/bcm-menu.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +3 -3
- package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-radio.cjs.entry.js +3 -3
- package/dist/cjs/bcm-range.cjs.entry.js +1 -1
- package/dist/cjs/bcm-search.cjs.entry.js +2 -2
- package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bcm-step.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +28 -38
- package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-ab5c97d5.js → generate-5d859f16.js} +1 -1
- package/dist/cjs/{input-template-b540fdc4.js → input-template-4b1d9f28.js} +1 -1
- package/dist/cjs/{json-parse-decarator-fc944651.js → json-parse-decarator-79fa9387.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-b9cf4b48.js → number-helper-038de3fb.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{stepper-states-cb28501d.js → stepper-states-23d4c730.js} +1 -1
- package/dist/cjs/{tooltip-helper-0f770cf7.js → tooltip-helper-434735c4.js} +3 -3
- package/dist/cjs/{validators-72173f1d.js → validators-412368c6.js} +1 -1
- package/dist/collection/components/molecules/linked/linked.js +44 -7
- package/dist/collection/components/molecules/stepper/stepper.js +29 -42
- package/dist/components/bcm-stepper.js +25 -35
- package/dist/components/generate.js +1 -1
- package/dist/components/linked.js +40 -9
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-alert.entry.js +1 -1
- package/dist/esm/bcm-attendance.entry.js +1 -1
- package/dist/esm/bcm-avatar_2.entry.js +3 -3
- package/dist/esm/bcm-breadcrumb.entry.js +1 -1
- package/dist/esm/bcm-button-group.entry.js +1 -1
- package/dist/esm/bcm-button.entry.js +1 -1
- package/dist/esm/bcm-card.entry.js +1 -1
- package/dist/esm/bcm-checkbox-group.entry.js +1 -1
- package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
- package/dist/esm/bcm-checkbox_2.entry.js +1 -1
- package/dist/esm/bcm-chip.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +1 -1
- package/dist/esm/bcm-color-input.entry.js +3 -3
- package/dist/esm/bcm-colorful_2.entry.js +41 -11
- package/dist/esm/bcm-date-picker.entry.js +1 -1
- package/dist/esm/bcm-datetime-picker.entry.js +1 -1
- package/dist/esm/bcm-default.entry.js +1 -1
- package/dist/esm/bcm-drawer.entry.js +3 -3
- package/dist/esm/bcm-dropdown.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +1 -1
- package/dist/esm/bcm-input.entry.js +4 -4
- package/dist/esm/bcm-item.entry.js +1 -1
- package/dist/esm/bcm-items.entry.js +1 -1
- package/dist/esm/bcm-label_2.entry.js +4 -4
- package/dist/esm/bcm-list.entry.js +5 -5
- package/dist/esm/bcm-menu.entry.js +4 -4
- package/dist/esm/bcm-modal.entry.js +1 -1
- package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
- package/dist/esm/bcm-popconfirm.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +3 -3
- package/dist/esm/bcm-progress.entry.js +1 -1
- package/dist/esm/bcm-radio-group.entry.js +3 -3
- package/dist/esm/bcm-radio.entry.js +3 -3
- package/dist/esm/bcm-range.entry.js +1 -1
- package/dist/esm/bcm-search.entry.js +2 -2
- package/dist/esm/bcm-skeleton.entry.js +1 -1
- package/dist/esm/bcm-step.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +29 -39
- package/dist/esm/bcm-switch.entry.js +1 -1
- package/dist/esm/bcm-tab-group.entry.js +3 -3
- package/dist/esm/bcm-tab-item-header.entry.js +3 -3
- package/dist/esm/bcm-tab-item.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +2 -2
- package/dist/esm/bcm-textarea.entry.js +2 -2
- package/dist/esm/bcm-time-picker.entry.js +1 -1
- package/dist/esm/bcm-toast.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{generate-7a787f1e.js → generate-6c6d178a.js} +1 -1
- package/dist/esm/{input-template-7f7c2370.js → input-template-cdbd9d71.js} +1 -1
- package/dist/esm/{json-parse-decarator-d04cb735.js → json-parse-decarator-fb94a9f7.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-d88788e7.js → number-helper-3d45cd6b.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +2 -2
- package/dist/esm/old-bcm-popover.entry.js +1 -1
- package/dist/esm/{stepper-states-25155b3b.js → stepper-states-9b3262ac.js} +1 -1
- package/dist/esm/{tooltip-helper-ec0f9e15.js → tooltip-helper-5bb91f74.js} +3 -3
- package/dist/esm/{validators-69c22893.js → validators-143e9133.js} +1 -1
- package/dist/types/components/molecules/linked/linked.d.ts +8 -2
- package/dist/types/components/molecules/stepper/stepper.d.ts +2 -2
- package/dist/types/components.d.ts +1 -1
- package/package.json +4 -2
- package/dist/bromcom-ui/p-2b2a6374.entry.js +0 -5
- package/dist/bromcom-ui/p-54a3364d.entry.js +0 -5
- package/dist/bromcom-ui/p-89d42239.entry.js +0 -5
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, g as getElement, h as h$1, H as Host } from './index-39133086.js';
|
|
6
6
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-3016b722.js';
|
|
7
|
-
import {
|
|
8
|
-
import './
|
|
7
|
+
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
+
import './color-helper-4fa5dd0d.js';
|
|
9
|
+
import './datetime-helper-df25808a.js';
|
|
10
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
11
|
+
import './number-helper-3d45cd6b.js';
|
|
9
12
|
import './string-helper-6bd24967.js';
|
|
13
|
+
import './validators-143e9133.js';
|
|
14
|
+
import './element-dragger-89bb52fd.js';
|
|
10
15
|
import { d as delay } from './utils-57652744.js';
|
|
11
16
|
import { F as FloatingUI } from './floating-ui-e7341329.js';
|
|
12
|
-
import './
|
|
13
|
-
import './datetime-helper-df25808a.js';
|
|
14
|
-
import { G as Generate } from './generate-7a787f1e.js';
|
|
15
|
-
import './number-helper-d88788e7.js';
|
|
16
|
-
import './validators-69c22893.js';
|
|
17
|
-
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
17
|
+
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
18
18
|
import './colors-1d7854ea.js';
|
|
19
19
|
import './colors-fa05fe33.js';
|
|
20
20
|
|
|
@@ -17784,6 +17784,7 @@ const BcmLinked = class {
|
|
|
17784
17784
|
this.maxHeight = undefined;
|
|
17785
17785
|
this.minHeight = "50px";
|
|
17786
17786
|
this.isOpen = false;
|
|
17787
|
+
this.isMouseOverLink = false;
|
|
17787
17788
|
}
|
|
17788
17789
|
target() {
|
|
17789
17790
|
const target = document.querySelectorAll(`[id="${this.targetId}"]`);
|
|
@@ -17835,6 +17836,7 @@ const BcmLinked = class {
|
|
|
17835
17836
|
}
|
|
17836
17837
|
init() {
|
|
17837
17838
|
const target = this.target();
|
|
17839
|
+
this.trigger === Bcm.TriggerType.hover && this.listenMouseOver();
|
|
17838
17840
|
if (target) {
|
|
17839
17841
|
target.setAttribute("is-linked", this.el.id);
|
|
17840
17842
|
if (!Generate.getAncestor(target, "bcm-linked")) {
|
|
@@ -17849,8 +17851,15 @@ const BcmLinked = class {
|
|
|
17849
17851
|
this.init();
|
|
17850
17852
|
document.body.appendChild(this.el);
|
|
17851
17853
|
}
|
|
17854
|
+
triggerWatch(newValue) {
|
|
17855
|
+
if (newValue === Bcm.TriggerType.hover) {
|
|
17856
|
+
this.listenMouseOver();
|
|
17857
|
+
}
|
|
17858
|
+
}
|
|
17859
|
+
watchIsOpen() {
|
|
17860
|
+
this.bcmOpen.emit(this.isOpen);
|
|
17861
|
+
}
|
|
17852
17862
|
onLinkedDataDismis() {
|
|
17853
|
-
// console.log('onLinkedDataDismis');
|
|
17854
17863
|
this.hide(false);
|
|
17855
17864
|
}
|
|
17856
17865
|
onBcmFloatingIsHide(e) {
|
|
@@ -17875,6 +17884,7 @@ const BcmLinked = class {
|
|
|
17875
17884
|
async hide(wait = true) {
|
|
17876
17885
|
wait && (await delay(50));
|
|
17877
17886
|
const target = this.target();
|
|
17887
|
+
this.isMouseOverLink = false;
|
|
17878
17888
|
if (target) {
|
|
17879
17889
|
target.removeAttribute("linked-is-open");
|
|
17880
17890
|
this.hideChildLinked();
|
|
@@ -17888,6 +17898,8 @@ const BcmLinked = class {
|
|
|
17888
17898
|
clickListener(e) {
|
|
17889
17899
|
if (!this.target())
|
|
17890
17900
|
return;
|
|
17901
|
+
if (this.trigger === Bcm.TriggerType.hover)
|
|
17902
|
+
return;
|
|
17891
17903
|
const isTarget = Generate.findEventPath(e, this.target());
|
|
17892
17904
|
const isSelf = Generate.findEventPath(e, this.el);
|
|
17893
17905
|
const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
|
|
@@ -17916,8 +17928,25 @@ const BcmLinked = class {
|
|
|
17916
17928
|
wheelListener() {
|
|
17917
17929
|
this.calculatePosition();
|
|
17918
17930
|
}
|
|
17919
|
-
|
|
17920
|
-
|
|
17931
|
+
listenMouseOver() {
|
|
17932
|
+
var _a, _b;
|
|
17933
|
+
this.el.addEventListener("mouseover", () => (this.isMouseOverLink = true));
|
|
17934
|
+
this.el.addEventListener("mouseleave", () => {
|
|
17935
|
+
this.isMouseOverLink = false;
|
|
17936
|
+
this.handleMouseLeave();
|
|
17937
|
+
});
|
|
17938
|
+
(_a = this.target()) === null || _a === void 0 ? void 0 : _a.addEventListener("mouseenter", this.handleMouseEnter.bind(this));
|
|
17939
|
+
(_b = this.target()) === null || _b === void 0 ? void 0 : _b.addEventListener("mouseleave", this.handleMouseLeave.bind(this));
|
|
17940
|
+
}
|
|
17941
|
+
handleMouseLeave() {
|
|
17942
|
+
setTimeout(() => {
|
|
17943
|
+
!this.isMouseOverLink && this.hide();
|
|
17944
|
+
}, 500);
|
|
17945
|
+
}
|
|
17946
|
+
handleMouseEnter() {
|
|
17947
|
+
clearTimeout(this.timeoutId);
|
|
17948
|
+
this.isMouseOverLink = false;
|
|
17949
|
+
this.show();
|
|
17921
17950
|
}
|
|
17922
17951
|
render() {
|
|
17923
17952
|
const openStyle = this.isOpen ? { visibility: "visible", opacity: "1" } : { visibility: "hidden", opacity: "0" };
|
|
@@ -17925,6 +17954,7 @@ const BcmLinked = class {
|
|
|
17925
17954
|
}
|
|
17926
17955
|
get el() { return getElement(this); }
|
|
17927
17956
|
static get watchers() { return {
|
|
17957
|
+
"trigger": ["triggerWatch"],
|
|
17928
17958
|
"isOpen": ["watchIsOpen"]
|
|
17929
17959
|
}; }
|
|
17930
17960
|
};
|
|
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-39
|
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
8
|
import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import { d as delay } from './utils-57652744.js';
|
|
12
12
|
import './_commonjsHelpers-3016b722.js';
|
|
@@ -7,7 +7,7 @@ import { D as DragDirections, E as ElementDragger } from './element-dragger-89bb
|
|
|
7
7
|
import { c as classnames } from './index-ed9652af.js';
|
|
8
8
|
import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
|
|
9
9
|
import { d as delay } from './utils-57652744.js';
|
|
10
|
-
import { G as Generate } from './generate-
|
|
10
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
11
11
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
12
12
|
import { g as getPlacement, s as setPosition } from './popover-placement-78f86f15.js';
|
|
13
13
|
import { L as LabelTemplate } from './label-template-d74fe788.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import './colors-fa05fe33.js';
|
|
9
9
|
import './_commonjsHelpers-3016b722.js';
|
|
10
10
|
|
|
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
7
|
import './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
14
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
15
15
|
import { c as classnames } from './index-ed9652af.js';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { J as JsonParse } from './json-parse-decarator-
|
|
9
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { J as JsonParse } from './json-parse-decarator-fb94a9f7.js';
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import './_commonjsHelpers-3016b722.js';
|
|
12
12
|
import './colors-fa05fe33.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import { c as classnames } from './index-ed9652af.js';
|
|
9
9
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
10
10
|
import { C as ColorHelper } from './color-helper-4fa5dd0d.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate, s as snq } from './generate-
|
|
7
|
+
import { G as Generate, s as snq } from './generate-6c6d178a.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
9
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
10
10
|
import './colors-fa05fe33.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import { c as classnames } from './index-ed9652af.js';
|
|
9
9
|
import './colors-fa05fe33.js';
|
|
10
10
|
import './_commonjsHelpers-3016b722.js';
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
7
|
-
import { N as NumberHelper } from './number-helper-
|
|
6
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
7
|
+
import { N as NumberHelper } from './number-helper-3d45cd6b.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
|
-
import { V as Validators } from './validators-
|
|
9
|
+
import { V as Validators } from './validators-143e9133.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import { C as CaptionTemplate } from './caption-template-da16ba7b.js';
|
|
12
|
-
import { I as InputTemplate } from './input-template-
|
|
12
|
+
import { I as InputTemplate } from './input-template-cdbd9d71.js';
|
|
13
13
|
import { c as classnames } from './index-ed9652af.js';
|
|
14
14
|
import { d as delay } from './utils-57652744.js';
|
|
15
15
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate } from './generate-
|
|
6
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
7
7
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
8
8
|
import { c as classnames } from './index-ed9652af.js';
|
|
9
9
|
import { C as ColorHelper } from './color-helper-4fa5dd0d.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-39133086.js';
|
|
6
|
-
import { G as Generate, s as snq } from './generate-
|
|
6
|
+
import { G as Generate, s as snq } from './generate-6c6d178a.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
9
|
import './colors-fa05fe33.js';
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
9
9
|
import { B as Bcm, a as Bcm$1 } from './bcm-9f50af9c.js';
|
|
10
10
|
import { L as LabelTemplate } from './label-template-d74fe788.js';
|
|
11
11
|
import './color-helper-4fa5dd0d.js';
|
|
12
12
|
import './datetime-helper-df25808a.js';
|
|
13
|
-
import './number-helper-
|
|
13
|
+
import './number-helper-3d45cd6b.js';
|
|
14
14
|
import './string-helper-6bd24967.js';
|
|
15
|
-
import './validators-
|
|
16
|
-
import { T as Tooltip } from './tooltip-helper-
|
|
15
|
+
import './validators-143e9133.js';
|
|
16
|
+
import { T as Tooltip } from './tooltip-helper-5bb91f74.js';
|
|
17
17
|
import './element-dragger-89bb52fd.js';
|
|
18
18
|
import './_commonjsHelpers-3016b722.js';
|
|
19
19
|
import './colors-fa05fe33.js';
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { J as JsonParse } from './json-parse-decarator-
|
|
7
|
+
import { J as JsonParse } from './json-parse-decarator-fb94a9f7.js';
|
|
8
8
|
import './color-helper-4fa5dd0d.js';
|
|
9
9
|
import './datetime-helper-df25808a.js';
|
|
10
|
-
import { s as snq, G as Generate } from './generate-
|
|
11
|
-
import { N as NumberHelper } from './number-helper-
|
|
10
|
+
import { s as snq, G as Generate } from './generate-6c6d178a.js';
|
|
11
|
+
import { N as NumberHelper } from './number-helper-3d45cd6b.js';
|
|
12
12
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
13
|
-
import { V as Validators } from './validators-
|
|
13
|
+
import { V as Validators } from './validators-143e9133.js';
|
|
14
14
|
import './element-dragger-89bb52fd.js';
|
|
15
15
|
import { g as getPlacement, s as setPosition } from './popover-placement-78f86f15.js';
|
|
16
16
|
import { p as pluralize, d as delay } from './utils-57652744.js';
|
|
@@ -21,7 +21,7 @@ import './types-6f06fa1a.js';
|
|
|
21
21
|
import { L as LabelTemplate } from './label-template-d74fe788.js';
|
|
22
22
|
import './types-bfc3bba1.js';
|
|
23
23
|
import { c as createStore } from './index-93e36fdb.js';
|
|
24
|
-
import { T as Tooltip } from './tooltip-helper-
|
|
24
|
+
import { T as Tooltip } from './tooltip-helper-5bb91f74.js';
|
|
25
25
|
import './colors-1d7854ea.js';
|
|
26
26
|
import './colors-fa05fe33.js';
|
|
27
27
|
import './_commonjsHelpers-3016b722.js';
|
|
@@ -6,11 +6,11 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
13
|
-
import { T as Tooltip } from './tooltip-helper-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
|
+
import { T as Tooltip } from './tooltip-helper-5bb91f74.js';
|
|
14
14
|
import './element-dragger-89bb52fd.js';
|
|
15
15
|
import './bcm-9f50af9c.js';
|
|
16
16
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
@@ -7,7 +7,7 @@ import { c as classnames } from './index-ed9652af.js';
|
|
|
7
7
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
8
8
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
9
9
|
import { S as SlotTemplate } from './slot-template-5b2db362.js';
|
|
10
|
-
import { G as Generate } from './generate-
|
|
10
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
11
11
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
12
12
|
import './_commonjsHelpers-3016b722.js';
|
|
13
13
|
import './colors-fa05fe33.js';
|
|
@@ -6,7 +6,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
8
|
import { C as ColorHelper } from './color-helper-4fa5dd0d.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
10
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
11
11
|
import { s as setPosition } from './popover-placement-78f86f15.js';
|
|
12
12
|
import './_commonjsHelpers-3016b722.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
9
9
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
10
10
|
import './_commonjsHelpers-3016b722.js';
|
|
11
11
|
import './colors-fa05fe33.js';
|
|
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
7
|
import { C as ColorHelper } from './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
14
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
15
15
|
import { d as delay } from './utils-57652744.js';
|
|
@@ -6,7 +6,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-39
|
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
8
|
import { C as ColorHelper } from './color-helper-4fa5dd0d.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
10
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
11
11
|
import './_commonjsHelpers-3016b722.js';
|
|
12
12
|
import './colors-1d7854ea.js';
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import './color-helper-4fa5dd0d.js';
|
|
7
7
|
import './datetime-helper-df25808a.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
9
|
-
import './number-helper-
|
|
8
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
9
|
+
import './number-helper-3d45cd6b.js';
|
|
10
10
|
import './string-helper-6bd24967.js';
|
|
11
|
-
import './validators-
|
|
11
|
+
import './validators-143e9133.js';
|
|
12
12
|
import './element-dragger-89bb52fd.js';
|
|
13
13
|
import { d as delay } from './utils-57652744.js';
|
|
14
14
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
6
6
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
7
7
|
import './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
14
|
import { c as classnames } from './index-ed9652af.js';
|
|
15
15
|
import './colors-1d7854ea.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
9
9
|
import { d as delay } from './utils-57652744.js';
|
|
10
10
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { s as snq, G as Generate } from './generate-
|
|
7
|
+
import { s as snq, G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
9
|
-
import { I as InputTemplate } from './input-template-
|
|
9
|
+
import { I as InputTemplate } from './input-template-cdbd9d71.js';
|
|
10
10
|
import { d as delay } from './utils-57652744.js';
|
|
11
11
|
import { c as createStore } from './index-93e36fdb.js';
|
|
12
12
|
import { S as StringHelper } from './string-helper-6bd24967.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import './colors-fa05fe33.js';
|
|
9
9
|
import './_commonjsHelpers-3016b722.js';
|
|
10
10
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
9
|
-
import { s as stepperStates } from './stepper-states-
|
|
8
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
9
|
+
import { s as stepperStates } from './stepper-states-9b3262ac.js';
|
|
10
10
|
import './_commonjsHelpers-3016b722.js';
|
|
11
11
|
import './colors-fa05fe33.js';
|
|
12
12
|
import './index-93e36fdb.js';
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-39133086.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
+
import { G as Generate, s as snq } from './generate-6c6d178a.js';
|
|
8
8
|
import './color-helper-4fa5dd0d.js';
|
|
9
9
|
import './datetime-helper-df25808a.js';
|
|
10
|
-
import './number-helper-
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
|
-
import { g as getChildElements
|
|
14
|
+
import { g as getChildElements } from './utils-57652744.js';
|
|
15
15
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
16
|
-
import {
|
|
16
|
+
import { c as classnames } from './index-ed9652af.js';
|
|
17
17
|
import './types-6f06fa1a.js';
|
|
18
18
|
import './types-bfc3bba1.js';
|
|
19
|
-
import { s as stepperStates } from './stepper-states-
|
|
19
|
+
import { s as stepperStates } from './stepper-states-9b3262ac.js';
|
|
20
20
|
import './colors-fa05fe33.js';
|
|
21
21
|
import './_commonjsHelpers-3016b722.js';
|
|
22
22
|
import './colors-1d7854ea.js';
|
|
@@ -149,7 +149,8 @@ const BcmStepper = class {
|
|
|
149
149
|
return Promise.resolve(this.getActiveIndex());
|
|
150
150
|
}
|
|
151
151
|
async next(idx) {
|
|
152
|
-
|
|
152
|
+
let index;
|
|
153
|
+
idx == 0 ? (index = 0) : index == 1 ? (index = 1) : (index = idx || this.getActiveIndex());
|
|
153
154
|
const step = await this.getCurrentStep();
|
|
154
155
|
const lastStep = this.getItems()[this.getItems().length - 1];
|
|
155
156
|
if (step.valid) {
|
|
@@ -164,43 +165,32 @@ const BcmStepper = class {
|
|
|
164
165
|
forceUpdate(this.el);
|
|
165
166
|
return Promise.resolve(this.getActiveIndex());
|
|
166
167
|
}
|
|
167
|
-
async setActive(index
|
|
168
|
+
async setActive(index) {
|
|
168
169
|
if (!index)
|
|
169
170
|
return;
|
|
170
|
-
if (
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
await this.next();
|
|
174
|
-
await delay(100);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
while (this.getActiveIndex() > index) {
|
|
179
|
-
await this.prev();
|
|
180
|
-
await delay(100);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
171
|
+
if (typeof index != "number") {
|
|
172
|
+
console.warn("index must be a number");
|
|
173
|
+
return;
|
|
183
174
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
await this.next(index - 1);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
stepperStates.setActiveIndex(this.stepperId, index);
|
|
175
|
+
if (this.linear) {
|
|
176
|
+
const prevSteps = this.getItems().filter(item => item.index < index);
|
|
177
|
+
const prevStepIsValid = prevSteps === null || prevSteps === void 0 ? void 0 : prevSteps.map(item => ({
|
|
178
|
+
id: item.id,
|
|
179
|
+
status: item.status,
|
|
180
|
+
disabled: item.disabled,
|
|
181
|
+
})).every(item => item.status == "success" || item.status == "default");
|
|
182
|
+
if (prevStepIsValid) {
|
|
183
|
+
prevSteps === null || prevSteps === void 0 ? void 0 : prevSteps.forEach(item => {
|
|
184
|
+
item.status = "success";
|
|
185
|
+
item.disabled = false;
|
|
186
|
+
});
|
|
201
187
|
await this.next(index - 1);
|
|
202
188
|
}
|
|
203
189
|
}
|
|
190
|
+
else {
|
|
191
|
+
stepperStates.setActiveIndex(this.stepperId, index);
|
|
192
|
+
await this.next(index - 1);
|
|
193
|
+
}
|
|
204
194
|
}
|
|
205
195
|
async reset() {
|
|
206
196
|
await this.onStepChange(1);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
9
9
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
10
10
|
import { C as CaptionTemplate } from './caption-template-da16ba7b.js';
|
|
11
11
|
import { d as delay } from './utils-57652744.js';
|
|
@@ -6,10 +6,10 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
7
|
import './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
14
|
import { d as delay } from './utils-57652744.js';
|
|
15
15
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
@@ -6,10 +6,10 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-39
|
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
7
|
import './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
14
|
import { a as Bcm } from './bcm-9f50af9c.js';
|
|
15
15
|
import { c as classnames } from './index-ed9652af.js';
|
|
@@ -6,10 +6,10 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-39
|
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
7
|
import './color-helper-4fa5dd0d.js';
|
|
8
8
|
import './datetime-helper-df25808a.js';
|
|
9
|
-
import { G as Generate } from './generate-
|
|
10
|
-
import './number-helper-
|
|
9
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
10
|
+
import './number-helper-3d45cd6b.js';
|
|
11
11
|
import './string-helper-6bd24967.js';
|
|
12
|
-
import './validators-
|
|
12
|
+
import './validators-143e9133.js';
|
|
13
13
|
import './element-dragger-89bb52fd.js';
|
|
14
14
|
import './bcm-9f50af9c.js';
|
|
15
15
|
import './colors-1d7854ea.js';
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
8
8
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
9
9
|
import { c as classnames } from './index-ed9652af.js';
|
|
10
|
-
import { N as NumberHelper } from './number-helper-
|
|
10
|
+
import { N as NumberHelper } from './number-helper-3d45cd6b.js';
|
|
11
11
|
import { e as extractColor } from './utils-57652744.js';
|
|
12
12
|
import { C as ColorPalette } from './colors-1d7854ea.js';
|
|
13
13
|
import { C as ColorProps } from './types-bfc3bba1.js';
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-39133086.js';
|
|
6
6
|
import { c as classnames } from './index-ed9652af.js';
|
|
7
7
|
import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
|
|
8
|
-
import { G as Generate } from './generate-
|
|
8
|
+
import { G as Generate } from './generate-6c6d178a.js';
|
|
9
9
|
import { B as Bcm } from './bcm-9f50af9c.js';
|
|
10
10
|
import { C as CaptionTemplate } from './caption-template-da16ba7b.js';
|
|
11
|
-
import { I as InputTemplate } from './input-template-
|
|
11
|
+
import { I as InputTemplate } from './input-template-cdbd9d71.js';
|
|
12
12
|
import { d as delay } from './utils-57652744.js';
|
|
13
13
|
import './_commonjsHelpers-3016b722.js';
|
|
14
14
|
import './colors-fa05fe33.js';
|