bromcom-ui 2.4.33 → 2.4.34

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.
Files changed (38) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-61385f1e.entry.js → p-055022f2.entry.js} +1 -1
  3. package/dist/bromcom-ui/p-119f660a.js +1 -0
  4. package/dist/bromcom-ui/p-1550abeb.entry.js +1 -0
  5. package/dist/bromcom-ui/{p-68d9dd67.js → p-34a197df.js} +1 -1
  6. package/dist/bromcom-ui/{p-d1dc11c5.entry.js → p-677fc81c.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-3ed8c65b.entry.js → p-6c00e018.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-052ac20b.entry.js → p-971c4e35.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-e62a5e66.entry.js → p-afc38f38.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-a8800df8.entry.js → p-b9f40215.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-d3c5255a.entry.js → p-c11595ee.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-9330c810.entry.js → p-e71116e9.entry.js} +1 -1
  13. package/dist/cjs/bcm-button_12.cjs.entry.js +1 -1
  14. package/dist/cjs/bcm-icon-2_2.cjs.entry.js +2 -2
  15. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
  16. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  17. package/dist/cjs/bcm-popover-box.cjs.entry.js +1 -1
  18. package/dist/cjs/bcm-popover.cjs.entry.js +1 -1
  19. package/dist/cjs/bcm-select.cjs.entry.js +6 -1
  20. package/dist/cjs/bcm-stepper.cjs.entry.js +2 -2
  21. package/dist/cjs/bcm-tag-2.cjs.entry.js +1 -1
  22. package/dist/cjs/{generate-84dce6ea.js → generate-acd42354.js} +1 -1
  23. package/dist/cjs/{stepper-states-c11f78f7.js → stepper-states-82ab195a.js} +1 -1
  24. package/dist/collection/components/molecules/select/select.js +6 -1
  25. package/dist/esm/bcm-button_12.entry.js +1 -1
  26. package/dist/esm/bcm-icon-2_2.entry.js +2 -2
  27. package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
  28. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  29. package/dist/esm/bcm-popover-box.entry.js +1 -1
  30. package/dist/esm/bcm-popover.entry.js +1 -1
  31. package/dist/esm/bcm-select.entry.js +6 -1
  32. package/dist/esm/bcm-stepper.entry.js +2 -2
  33. package/dist/esm/bcm-tag-2.entry.js +1 -1
  34. package/dist/esm/{generate-5aa9d89a.js → generate-a10528eb.js} +1 -1
  35. package/dist/esm/{stepper-states-525936b7.js → stepper-states-2ae7dca5.js} +1 -1
  36. package/package.json +1 -1
  37. package/dist/bromcom-ui/p-40b3e4b9.js +0 -1
  38. package/dist/bromcom-ui/p-a6b11a46.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-2a0ccf17.js';
2
2
  import { c as classnames } from './index-1597de83.js';
3
3
  import './types-911a8837.js';
4
- import { G as Generate } from './generate-5aa9d89a.js';
4
+ import { G as Generate } from './generate-a10528eb.js';
5
5
  import './bcm-1571bb45.js';
6
6
  import { S as StringHelper } from './string-helper-cfa6df93.js';
7
7
  import { g as getPlacement, s as setPosition } from './popover-placement-38aa9b63.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-2a0ccf17.js';
2
2
  import { c as classnames } from './index-1597de83.js';
3
3
  import './types-911a8837.js';
4
- import { G as Generate } from './generate-5aa9d89a.js';
4
+ import { G as Generate } from './generate-a10528eb.js';
5
5
  import { B as Bcm } from './bcm-1571bb45.js';
6
6
  import { A as AttrReflect } from './property-decorators-681ae42e.js';
7
7
 
@@ -458,7 +458,12 @@ const BcmSelect = class {
458
458
  this.change.emit(newVal);
459
459
  }
460
460
  else {
461
- if (newVal[this.objectMapping['id']] != (oldVal && oldVal[this.objectMapping['id']])) {
461
+ if (newVal[this.objectMapping['id']] && oldVal[this.objectMapping['id']]) {
462
+ if (newVal[this.objectMapping['id']] != oldVal[this.objectMapping['id']]) {
463
+ this.change.emit(newVal);
464
+ }
465
+ }
466
+ else {
462
467
  this.change.emit(newVal);
463
468
  }
464
469
  }
@@ -2,12 +2,12 @@ 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 } from './generate-5aa9d89a.js';
5
+ import { G as Generate } from './generate-a10528eb.js';
6
6
  import { B as Bcm } from './bcm-1571bb45.js';
7
7
  import { s as snq } from './snq.es5-946822b8.js';
8
8
  import { J as JsonParse } from './json-parse-decarator-8563927a.js';
9
9
  import './index-3c5b7898.js';
10
- import { s as stepperStates } from './stepper-states-525936b7.js';
10
+ import { s as stepperStates } from './stepper-states-2ae7dca5.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 { 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 { G as Generate } from './generate-5aa9d89a.js';
6
+ import { G as Generate } from './generate-a10528eb.js';
7
7
  import { B as Bcm } from './bcm-1571bb45.js';
8
8
  import './snq.es5-946822b8.js';
9
9
  import { N as NumberHelper } from './number-helper-8115f1ec.js';
@@ -1,6 +1,6 @@
1
1
  import { S as StatusProps } from './types-911a8837.js';
2
2
 
3
- const version = "2.4.33";
3
+ const version = "2.4.34";
4
4
 
5
5
  const allowedDomains = [
6
6
  "localhost",
@@ -1,4 +1,4 @@
1
- import { G as Generate } from './generate-5aa9d89a.js';
1
+ import { G as Generate } from './generate-a10528eb.js';
2
2
  import { s as snq } from './snq.es5-946822b8.js';
3
3
  import { c as createStore } from './index-3c5b7898.js';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bromcom-ui",
3
- "version": "2.4.33",
3
+ "version": "2.4.34",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{G as t}from"./p-68d9dd67.js";import{s as e}from"./p-6d018a8f.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:t=>e((()=>a.value.get(t)),{}),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:t=>e((()=>a.value.get(t).active),0),changeStepStatus:(e,s,c)=>{const o=a.value.get(e);o&&o.steps&&(o.steps=o.steps.map((t=>Object.assign(Object.assign({},t),{status:t.id===s?c:t.status}))),o.el.tick=t.UID())},changeStepDisabled:(e,s,c)=>{const o=a.value.get(e);o&&o.steps&&(o.steps=o.steps.map((t=>Object.assign(Object.assign({},t),{disabled:t.id===s?c:t.disabled}))),o.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}