@ni/spright-components 1.0.22 → 1.0.23
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.
|
@@ -16280,7 +16280,7 @@
|
|
|
16280
16280
|
|
|
16281
16281
|
/**
|
|
16282
16282
|
* Do not edit directly
|
|
16283
|
-
* Generated on Mon, 17 Jun 2024
|
|
16283
|
+
* Generated on Mon, 17 Jun 2024 22:32:36 GMT
|
|
16284
16284
|
*/
|
|
16285
16285
|
|
|
16286
16286
|
const Information100DarkUi = "#a46eff";
|
|
@@ -25024,9 +25024,18 @@
|
|
|
25024
25024
|
}
|
|
25025
25025
|
connectedCallback() {
|
|
25026
25026
|
super.connectedCallback();
|
|
25027
|
-
|
|
25028
|
-
|
|
25027
|
+
const owner = this.getListOptionOwner();
|
|
25028
|
+
owner?.registerOption(this);
|
|
25029
|
+
}
|
|
25030
|
+
getListOptionOwner() {
|
|
25031
|
+
let parent = this.parentElement;
|
|
25032
|
+
while (parent) {
|
|
25033
|
+
if (this.isListOptionOwner(parent)) {
|
|
25034
|
+
return parent;
|
|
25035
|
+
}
|
|
25036
|
+
parent = parent.parentElement;
|
|
25029
25037
|
}
|
|
25038
|
+
return undefined;
|
|
25030
25039
|
}
|
|
25031
25040
|
isListOptionOwner(parent) {
|
|
25032
25041
|
if (!parent) {
|