bromcom-ui 2.4.21 → 2.4.22

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.
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, f as Host, g as getElement } from './index-c4bad8c7.js';
2
2
  import './types-911a8837.js';
3
3
  import { c as classnames } from './index-93682c12.js';
4
- import { G as Generate } from './generate-8f540e66.js';
4
+ import { G as Generate } from './generate-55c4cfd1.js';
5
5
  import './bcm-1571bb45.js';
6
6
  import { S as StringHelper } from './string-helper-5630fd9a.js';
7
7
  import { g as getPlacement, s as setPosition } from './popover-placement-b9199a13.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, e as createEvent, h, f as Host, g as getElement } from './index-c4bad8c7.js';
2
2
  import './types-911a8837.js';
3
3
  import { c as classnames } from './index-93682c12.js';
4
- import { G as Generate } from './generate-8f540e66.js';
4
+ import { G as Generate } from './generate-55c4cfd1.js';
5
5
  import { B as Bcm } from './bcm-1571bb45.js';
6
6
  import { A as AttrReflect } from './property-decorators-3d4aa18d.js';
7
7
 
@@ -3,7 +3,7 @@ import './types-911a8837.js';
3
3
  import { c as classnames } from './index-93682c12.js';
4
4
  import { s as snq } from './snq.es5-946822b8.js';
5
5
  import { J as JsonParse } from './json-parse-decarator-b93dacbb.js';
6
- import { G as Generate } from './generate-8f540e66.js';
6
+ import { G as Generate } from './generate-55c4cfd1.js';
7
7
  import { B as Bcm } from './bcm-1571bb45.js';
8
8
  import { S as StringHelper } from './string-helper-5630fd9a.js';
9
9
  import { c as createStore } from './index-61e4c87b.js';
@@ -206,7 +206,7 @@ const BcmSelect = class {
206
206
  var element = null;
207
207
  if (this.cleaned) {
208
208
  const recurviseControl = (items) => {
209
- const data = items.forEach(item => {
209
+ const data = items.map(item => {
210
210
  if (this.checkboxes === true) {
211
211
  if (item[this.objectMapping['checked']]) {
212
212
  item[this.objectMapping['checked']] = false;
@@ -220,6 +220,7 @@ const BcmSelect = class {
220
220
  if (item.items && item.items.length > 0) {
221
221
  item.items = recurviseControl(item.items);
222
222
  }
223
+ return item;
223
224
  });
224
225
  return data;
225
226
  };
@@ -602,10 +603,10 @@ const BcmSelect = class {
602
603
  }
603
604
  clickClear(e) {
604
605
  this.handleClear();
605
- this.cleaned = true;
606
606
  e.stopPropagation();
607
607
  }
608
608
  async handleClear() {
609
+ this.cleaned = true;
609
610
  this.value = null;
610
611
  this.selectText = null;
611
612
  // const allitem:any = [...this.onShowVisibleTags, ...this.onShowHiddenTags]
@@ -2,10 +2,10 @@ import { r as registerInstance, e as createEvent, h, f as Host, g as getElement
2
2
  import './types-911a8837.js';
3
3
  import { c as classnames } from './index-93682c12.js';
4
4
  import './snq.es5-946822b8.js';
5
- import { G as Generate } from './generate-8f540e66.js';
5
+ import { G as Generate } from './generate-55c4cfd1.js';
6
6
  import './index-61e4c87b.js';
7
7
  import { A as AttrReflect } from './property-decorators-3d4aa18d.js';
8
- import { s as stepperStates } from './stepper-states-4d97eeab.js';
8
+ import { s as stepperStates } from './stepper-states-43c13f0e.js';
9
9
 
10
10
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
11
11
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -4,10 +4,10 @@ import { c as classnames } from './index-93682c12.js';
4
4
  import { c as getChildElements } from './utils-73c61c67.js';
5
5
  import { s as snq } from './snq.es5-946822b8.js';
6
6
  import { J as JsonParse } from './json-parse-decarator-b93dacbb.js';
7
- import { G as Generate } from './generate-8f540e66.js';
7
+ import { G as Generate } from './generate-55c4cfd1.js';
8
8
  import { B as Bcm } from './bcm-1571bb45.js';
9
9
  import './index-61e4c87b.js';
10
- import { s as stepperStates } from './stepper-states-4d97eeab.js';
10
+ import { s as stepperStates } from './stepper-states-43c13f0e.js';
11
11
 
12
12
  const StepperHeaderTemplate = ({ title, description, status, valid, index, loading, active, stepChange, statusIcon, icon, disabled }) => {
13
13
  const classes = classnames('bcm-stepper__header-item', `bcm-stepper__header-item--${status}`, {
@@ -3,7 +3,7 @@ import './types-911a8837.js';
3
3
  import { c as classnames } from './index-93682c12.js';
4
4
  import { e as extractColor, C as ColorPalette } from './utils-73c61c67.js';
5
5
  import { s as snq } from './snq.es5-946822b8.js';
6
- import { G as Generate } from './generate-8f540e66.js';
6
+ import { G as Generate } from './generate-55c4cfd1.js';
7
7
  import { B as Bcm } from './bcm-1571bb45.js';
8
8
 
9
9
  class NumberHelper {
@@ -2,7 +2,7 @@ import { r as registerInstance, h, f as Host, g as getElement } from './index-c4
2
2
  import './types-911a8837.js';
3
3
  import { c as classnames } from './index-93682c12.js';
4
4
  import './utils-73c61c67.js';
5
- import { G as Generate } from './generate-8f540e66.js';
5
+ import { G as Generate } from './generate-55c4cfd1.js';
6
6
  import { B as Bcm } from './bcm-1571bb45.js';
7
7
  import { S as StringHelper } from './string-helper-5630fd9a.js';
8
8
  import { g as getPlacement, s as setPosition } from './popover-placement-b9199a13.js';