bromcom-ui 2.4.15 → 2.4.16
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-1d826238.entry.js +1 -0
- package/dist/cjs/bcm-list.cjs.entry.js +6 -0
- package/dist/collection/components/organism/list/list.js +8 -0
- package/dist/esm/bcm-list.entry.js +6 -0
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-c28be553.entry.js +0 -1
|
@@ -804,6 +804,11 @@ const BcmList = class {
|
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
+
watchId(newVal, oldVal) {
|
|
808
|
+
console.info('Changed component id:', oldVal + ' -> ' + newVal);
|
|
809
|
+
listState.removeState(oldVal);
|
|
810
|
+
this.initState();
|
|
811
|
+
}
|
|
807
812
|
handleValueChange(newVal, oldVal) {
|
|
808
813
|
if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
|
|
809
814
|
this.bcmChecklist.emit(this.value);
|
|
@@ -1389,6 +1394,7 @@ const BcmList = class {
|
|
|
1389
1394
|
}
|
|
1390
1395
|
get el() { return index.getElement(this); }
|
|
1391
1396
|
static get watchers() { return {
|
|
1397
|
+
"_id": ["watchId"],
|
|
1392
1398
|
"value": ["handleValueChange"],
|
|
1393
1399
|
"returnFilterData": ["watchReturnFilterData"],
|
|
1394
1400
|
"isSelectedOther": ["handleOtherSelected"],
|
|
@@ -117,6 +117,11 @@ export class BcmList {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
+
watchId(newVal, oldVal) {
|
|
121
|
+
console.info('Changed component id:', oldVal + ' -> ' + newVal);
|
|
122
|
+
listState.removeState(oldVal);
|
|
123
|
+
this.initState();
|
|
124
|
+
}
|
|
120
125
|
handleValueChange(newVal, oldVal) {
|
|
121
126
|
if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
|
|
122
127
|
this.bcmChecklist.emit(this.value);
|
|
@@ -1606,6 +1611,9 @@ export class BcmList {
|
|
|
1606
1611
|
}; }
|
|
1607
1612
|
static get elementRef() { return "el"; }
|
|
1608
1613
|
static get watchers() { return [{
|
|
1614
|
+
"propName": "_id",
|
|
1615
|
+
"methodName": "watchId"
|
|
1616
|
+
}, {
|
|
1609
1617
|
"propName": "value",
|
|
1610
1618
|
"methodName": "handleValueChange"
|
|
1611
1619
|
}, {
|
|
@@ -800,6 +800,11 @@ const BcmList = class {
|
|
|
800
800
|
}
|
|
801
801
|
}
|
|
802
802
|
}
|
|
803
|
+
watchId(newVal, oldVal) {
|
|
804
|
+
console.info('Changed component id:', oldVal + ' -> ' + newVal);
|
|
805
|
+
listState.removeState(oldVal);
|
|
806
|
+
this.initState();
|
|
807
|
+
}
|
|
803
808
|
handleValueChange(newVal, oldVal) {
|
|
804
809
|
if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
|
|
805
810
|
this.bcmChecklist.emit(this.value);
|
|
@@ -1385,6 +1390,7 @@ const BcmList = class {
|
|
|
1385
1390
|
}
|
|
1386
1391
|
get el() { return getElement(this); }
|
|
1387
1392
|
static get watchers() { return {
|
|
1393
|
+
"_id": ["watchId"],
|
|
1388
1394
|
"value": ["handleValueChange"],
|
|
1389
1395
|
"returnFilterData": ["watchReturnFilterData"],
|
|
1390
1396
|
"isSelectedOther": ["handleOtherSelected"],
|
|
@@ -78,6 +78,7 @@ export declare class BcmList implements ComponentInterface {
|
|
|
78
78
|
componentShouldUpdate(newVal: any, oldVal: any, propName: string): boolean | void;
|
|
79
79
|
componentDidLoad(): Promise<void>;
|
|
80
80
|
disconnectedCallback(): void;
|
|
81
|
+
watchId(newVal: string, oldVal: string): void;
|
|
81
82
|
handleValueChange(newVal: any, oldVal: any): void;
|
|
82
83
|
watchReturnFilterData(newVal: any): void;
|
|
83
84
|
handleOtherSelected(newValue: any): void;
|