bromcom-ui 2.4.32 → 2.4.33
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.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-052ac20b.entry.js +1 -0
- package/dist/bromcom-ui/p-072c24b5.js +1 -0
- package/dist/bromcom-ui/p-3ed8c65b.entry.js +1 -0
- package/dist/bromcom-ui/p-40b3e4b9.js +1 -0
- package/dist/bromcom-ui/p-43a2dc90.js +1 -0
- package/dist/bromcom-ui/{p-13e143a5.entry.js → p-61385f1e.entry.js} +1 -1
- package/dist/bromcom-ui/p-68d9dd67.js +1 -0
- package/dist/bromcom-ui/p-9330c810.entry.js +1 -0
- package/dist/bromcom-ui/p-a6b11a46.entry.js +1 -0
- package/dist/bromcom-ui/{p-8ad580f2.entry.js → p-a8800df8.entry.js} +1 -1
- package/dist/bromcom-ui/p-d1dc11c5.entry.js +1 -0
- package/dist/bromcom-ui/p-d3c5255a.entry.js +1 -0
- package/dist/bromcom-ui/p-d665b89d.entry.js +1 -0
- package/dist/bromcom-ui/{p-073fe976.entry.js → p-e62a5e66.entry.js} +1 -1
- package/dist/cjs/{bcm-button_14.cjs.entry.js → bcm-button_12.cjs.entry.js} +477 -369
- package/dist/cjs/bcm-icon-2_2.cjs.entry.js +7 -6
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +98 -0
- package/dist/cjs/bcm-popover-box.cjs.entry.js +78 -0
- package/dist/cjs/bcm-popover.cjs.entry.js +95 -0
- package/dist/cjs/bcm-select-box_2.cjs.entry.js +138 -0
- package/dist/cjs/bcm-select.cjs.entry.js +23 -20
- package/dist/cjs/bcm-stepper.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tag-2.cjs.entry.js +48 -45
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{property-decorators-c405d518.js → color-helper-04636625.js} +0 -35
- package/dist/cjs/{generate-df748d90.js → generate-84dce6ea.js} +5 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/property-decorators-476df1c5.js +38 -0
- package/dist/cjs/{stepper-states-991b5b89.js → stepper-states-c11f78f7.js} +1 -1
- package/dist/collection/components/atoms/tag-2/tag-2.css +0 -18629
- package/dist/collection/components/atoms/tag-2/tag-2.js +1 -28
- package/dist/collection/components/molecules/select/select.js +23 -20
- package/dist/collection/components/organism/list/list.css +23 -0
- package/dist/collection/components/organism/list/list.js +39 -10
- package/dist/collection/components/organism/states/bcm-list2.states.js +2 -2
- package/dist/collection/helper/generate.js +4 -0
- package/dist/collection/templates/tag-template.js +39 -10
- package/dist/esm/{bcm-button_14.entry.js → bcm-button_12.entry.js} +471 -361
- package/dist/esm/bcm-icon-2_2.entry.js +5 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
- package/dist/esm/bcm-popconfirm.entry.js +94 -0
- package/dist/esm/bcm-popover-box.entry.js +74 -0
- package/dist/esm/bcm-popover.entry.js +91 -0
- package/dist/esm/bcm-select-box_2.entry.js +133 -0
- package/dist/esm/bcm-select.entry.js +23 -20
- package/dist/esm/bcm-stepper.entry.js +4 -4
- package/dist/esm/bcm-tag-2.entry.js +41 -38
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{property-decorators-d09918fe.js → color-helper-ff728802.js} +1 -35
- package/dist/esm/{generate-a97a04fc.js → generate-5aa9d89a.js} +5 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/property-decorators-681ae42e.js +36 -0
- package/dist/esm/{stepper-states-638eb20f.js → stepper-states-525936b7.js} +1 -1
- package/dist/types/components/atoms/tag-2/tag-2.d.ts +0 -6
- package/dist/types/components/organism/list/list.d.ts +3 -1
- package/dist/types/helper/generate.d.ts +1 -0
- package/dist/types/templates/tag-template.d.ts +6 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-3bca790c.entry.js +0 -1
- package/dist/bromcom-ui/p-4054d5e3.js +0 -1
- package/dist/bromcom-ui/p-573ec2ec.js +0 -1
- package/dist/bromcom-ui/p-73720a30.entry.js +0 -1
- package/dist/bromcom-ui/p-7b9c963c.js +0 -1
- package/dist/bromcom-ui/p-7f6b81ef.entry.js +0 -1
- package/dist/bromcom-ui/p-920b5044.entry.js +0 -1
- package/dist/bromcom-ui/p-aa697b33.entry.js +0 -1
- package/dist/bromcom-ui/p-d16cf22d.entry.js +0 -1
- package/dist/bromcom-ui/p-e1aca7d8.js +0 -1
- package/dist/cjs/bcm-input.cjs.entry.js +0 -382
- package/dist/cjs/bcm-label.cjs.entry.js +0 -35
- package/dist/cjs/bcm-select-box.cjs.entry.js +0 -38
- package/dist/cjs/label-template-39ce726c.js +0 -26
- package/dist/esm/bcm-input.entry.js +0 -378
- package/dist/esm/bcm-label.entry.js +0 -31
- package/dist/esm/bcm-select-box.entry.js +0 -34
- package/dist/esm/label-template-6989c6ba.js +0 -24
|
@@ -451,13 +451,15 @@ const BcmSelect = class {
|
|
|
451
451
|
this.captionTypeCache = this.captionType;
|
|
452
452
|
}
|
|
453
453
|
handleChange(newValue, oldValue) {
|
|
454
|
-
|
|
454
|
+
const oldVal = oldValue ? oldValue : null;
|
|
455
|
+
const newVal = newValue ? newValue : null;
|
|
456
|
+
if (oldVal != newVal) {
|
|
455
457
|
if (this.checkboxes == true) {
|
|
456
|
-
this.change.emit(
|
|
458
|
+
this.change.emit(newVal);
|
|
457
459
|
}
|
|
458
460
|
else {
|
|
459
|
-
if (
|
|
460
|
-
this.change.emit(
|
|
461
|
+
if (newVal[this.objectMapping['id']] != (oldVal && oldVal[this.objectMapping['id']])) {
|
|
462
|
+
this.change.emit(newVal);
|
|
461
463
|
}
|
|
462
464
|
}
|
|
463
465
|
}
|
|
@@ -491,21 +493,21 @@ const BcmSelect = class {
|
|
|
491
493
|
}
|
|
492
494
|
if (this.isOpen && this.searchable && !otherTag) {
|
|
493
495
|
// await this.createElement()
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
496
|
+
setTimeout(() => {
|
|
497
|
+
var searchInput = null;
|
|
498
|
+
if (document.getElementById("select-box" + this._internal_id)
|
|
499
|
+
&& document.getElementById("select-box" + this._internal_id).shadowRoot.querySelector("bcm-listbox")) {
|
|
500
|
+
if (this.treeview) {
|
|
501
|
+
searchInput = document.getElementById("select-box" + this._internal_id).shadowRoot.querySelector("bcm-listbox").shadowRoot.querySelector("bcm-treeview");
|
|
502
|
+
}
|
|
503
|
+
else {
|
|
504
|
+
searchInput = document.getElementById("select-box" + this._internal_id).shadowRoot.querySelector("bcm-listbox");
|
|
505
|
+
}
|
|
506
|
+
if (searchInput) {
|
|
507
|
+
searchInput.clearAndSelectSearch();
|
|
508
|
+
}
|
|
506
509
|
}
|
|
507
|
-
}
|
|
508
|
-
// }, 50);
|
|
510
|
+
}, 100);
|
|
509
511
|
}
|
|
510
512
|
if (this.isOpen == true && this.isRendered == false) {
|
|
511
513
|
this.renderListbox();
|
|
@@ -661,6 +663,7 @@ const BcmSelect = class {
|
|
|
661
663
|
}
|
|
662
664
|
}
|
|
663
665
|
handleClickOutside(event) {
|
|
666
|
+
var _a;
|
|
664
667
|
var path = event.path || (event.composedPath && event.composedPath());
|
|
665
668
|
if (path && path.filter((input) => input['id'] == "other-tag")[0] == undefined
|
|
666
669
|
&& path && path.filter((input) => input['id'] == "listbox")[0] == undefined) {
|
|
@@ -671,8 +674,8 @@ const BcmSelect = class {
|
|
|
671
674
|
}
|
|
672
675
|
}, 50);
|
|
673
676
|
}
|
|
674
|
-
if (this.el.contains(event.target)
|
|
675
|
-
|| path && path.filter((input) => input['id'] == "select-box" + this._internal_id)[0] != undefined) {
|
|
677
|
+
if (((event === null || event === void 0 ? void 0 : event.target) && ((_a = this.el) === null || _a === void 0 ? void 0 : _a.contains(event.target)))
|
|
678
|
+
|| (path && path.filter((input) => input['id'] == "select-box" + this._internal_id)[0] != undefined)) {
|
|
676
679
|
// this.searchResults = []
|
|
677
680
|
// this.watchSearchResults()
|
|
678
681
|
this.optionViewportStyleAlignment = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-2a0ccf17.js';
|
|
2
2
|
import { c as classnames } from './index-1597de83.js';
|
|
3
3
|
import { c as getChildElements } from './utils-b0af8e4d.js';
|
|
4
|
-
import { s as snq } from './snq.es5-946822b8.js';
|
|
5
|
-
import { J as JsonParse } from './json-parse-decarator-8563927a.js';
|
|
6
4
|
import './types-911a8837.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
5
|
+
import { G as Generate } from './generate-5aa9d89a.js';
|
|
8
6
|
import { B as Bcm } from './bcm-1571bb45.js';
|
|
7
|
+
import { s as snq } from './snq.es5-946822b8.js';
|
|
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-
|
|
10
|
+
import { s as stepperStates } from './stepper-states-525936b7.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}`, {
|