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
|
@@ -455,13 +455,15 @@ const BcmSelect = class {
|
|
|
455
455
|
this.captionTypeCache = this.captionType;
|
|
456
456
|
}
|
|
457
457
|
handleChange(newValue, oldValue) {
|
|
458
|
-
|
|
458
|
+
const oldVal = oldValue ? oldValue : null;
|
|
459
|
+
const newVal = newValue ? newValue : null;
|
|
460
|
+
if (oldVal != newVal) {
|
|
459
461
|
if (this.checkboxes == true) {
|
|
460
|
-
this.change.emit(
|
|
462
|
+
this.change.emit(newVal);
|
|
461
463
|
}
|
|
462
464
|
else {
|
|
463
|
-
if (
|
|
464
|
-
this.change.emit(
|
|
465
|
+
if (newVal[this.objectMapping['id']] != (oldVal && oldVal[this.objectMapping['id']])) {
|
|
466
|
+
this.change.emit(newVal);
|
|
465
467
|
}
|
|
466
468
|
}
|
|
467
469
|
}
|
|
@@ -495,21 +497,21 @@ const BcmSelect = class {
|
|
|
495
497
|
}
|
|
496
498
|
if (this.isOpen && this.searchable && !otherTag) {
|
|
497
499
|
// await this.createElement()
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
500
|
+
setTimeout(() => {
|
|
501
|
+
var searchInput = null;
|
|
502
|
+
if (document.getElementById("select-box" + this._internal_id)
|
|
503
|
+
&& document.getElementById("select-box" + this._internal_id).shadowRoot.querySelector("bcm-listbox")) {
|
|
504
|
+
if (this.treeview) {
|
|
505
|
+
searchInput = document.getElementById("select-box" + this._internal_id).shadowRoot.querySelector("bcm-listbox").shadowRoot.querySelector("bcm-treeview");
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
searchInput = document.getElementById("select-box" + this._internal_id).shadowRoot.querySelector("bcm-listbox");
|
|
509
|
+
}
|
|
510
|
+
if (searchInput) {
|
|
511
|
+
searchInput.clearAndSelectSearch();
|
|
512
|
+
}
|
|
510
513
|
}
|
|
511
|
-
}
|
|
512
|
-
// }, 50);
|
|
514
|
+
}, 100);
|
|
513
515
|
}
|
|
514
516
|
if (this.isOpen == true && this.isRendered == false) {
|
|
515
517
|
this.renderListbox();
|
|
@@ -665,6 +667,7 @@ const BcmSelect = class {
|
|
|
665
667
|
}
|
|
666
668
|
}
|
|
667
669
|
handleClickOutside(event) {
|
|
670
|
+
var _a;
|
|
668
671
|
var path = event.path || (event.composedPath && event.composedPath());
|
|
669
672
|
if (path && path.filter((input) => input['id'] == "other-tag")[0] == undefined
|
|
670
673
|
&& path && path.filter((input) => input['id'] == "listbox")[0] == undefined) {
|
|
@@ -675,8 +678,8 @@ const BcmSelect = class {
|
|
|
675
678
|
}
|
|
676
679
|
}, 50);
|
|
677
680
|
}
|
|
678
|
-
if (this.el.contains(event.target)
|
|
679
|
-
|| path && path.filter((input) => input['id'] == "select-box" + this._internal_id)[0] != undefined) {
|
|
681
|
+
if (((event === null || event === void 0 ? void 0 : event.target) && ((_a = this.el) === null || _a === void 0 ? void 0 : _a.contains(event.target)))
|
|
682
|
+
|| (path && path.filter((input) => input['id'] == "select-box" + this._internal_id)[0] != undefined)) {
|
|
680
683
|
// this.searchResults = []
|
|
681
684
|
// this.watchSearchResults()
|
|
682
685
|
this.optionViewportStyleAlignment = {};
|
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$1 = require('./index-c0971ca7.js');
|
|
6
6
|
const index = require('./index-e5510943.js');
|
|
7
7
|
const utils = require('./utils-cc4b560e.js');
|
|
8
|
-
const snq_es5 = require('./snq.es5-1a8f9645.js');
|
|
9
|
-
const jsonParseDecarator = require('./json-parse-decarator-89653e78.js');
|
|
10
8
|
require('./types-37c8ced6.js');
|
|
11
|
-
const generate = require('./generate-
|
|
9
|
+
const generate = require('./generate-84dce6ea.js');
|
|
12
10
|
const bcm = require('./bcm-5dcc129b.js');
|
|
11
|
+
const snq_es5 = require('./snq.es5-1a8f9645.js');
|
|
12
|
+
const jsonParseDecarator = require('./json-parse-decarator-89653e78.js');
|
|
13
13
|
require('./index-c74bd3c1.js');
|
|
14
|
-
const stepperStates = require('./stepper-states-
|
|
14
|
+
const stepperStates = require('./stepper-states-c11f78f7.js');
|
|
15
15
|
|
|
16
16
|
const StepperHeaderTemplate = ({ title, description, status, valid, index: index$2, loading, active, stepChange, statusIcon, icon, disabled }) => {
|
|
17
17
|
const classes = index.classnames('bcm-stepper__header-item', `bcm-stepper__header-item--${status}`, {
|