reneco-hierarchized-picker 0.4.0-beta.11 → 0.4.0-beta.12
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/cjs/reneco-hierarchized-picker_2.cjs.entry.js +3 -0
- package/dist/collection/components/hierarchized-picker/hierarchized-picker.js +3 -0
- package/dist/custom-elements/index.js +3 -0
- package/dist/esm/reneco-hierarchized-picker_2.entry.js +3 -0
- package/dist/esm-es5/reneco-hierarchized-picker_2.entry.js +1 -1
- package/dist/reneco-hierarchized-picker/p-73168a50.system.js +1 -1
- package/dist/reneco-hierarchized-picker/{p-66e3a25c.entry.js → p-8c16d02c.entry.js} +1 -1
- package/dist/reneco-hierarchized-picker/{p-6779e11c.system.entry.js → p-e983f2bb.system.entry.js} +1 -1
- package/dist/reneco-hierarchized-picker/reneco-hierarchized-picker.esm.js +1 -1
- package/package.json +1 -1
|
@@ -18625,6 +18625,8 @@ const HierarchizedPickerComponent = class {
|
|
|
18625
18625
|
// this.theOptions = newValue;
|
|
18626
18626
|
if (typeof newValue == 'string')
|
|
18627
18627
|
newValue = JSON.parse(newValue);
|
|
18628
|
+
if (typeof oldValue == 'string')
|
|
18629
|
+
oldValue = JSON.parse(oldValue);
|
|
18628
18630
|
this.optionsManager.updateOptions(newValue);
|
|
18629
18631
|
this.setDisplayedValue(this.value);
|
|
18630
18632
|
const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
|
|
@@ -18730,6 +18732,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18730
18732
|
}
|
|
18731
18733
|
async componentWillLoad() {
|
|
18732
18734
|
this.isDisabled = this.disabled;
|
|
18735
|
+
this.options = this.getOptionsAsIConf(this.options);
|
|
18733
18736
|
this.optionsManager = new OptionsManager(this.getOptionsAsIConf(this.options));
|
|
18734
18737
|
this.rawDataManager = new RawDataManager(() => this.getToken(), this.optionsManager);
|
|
18735
18738
|
await this.loadHierarchizedPicker();
|
|
@@ -105,6 +105,8 @@ export class HierarchizedPickerComponent {
|
|
|
105
105
|
// this.theOptions = newValue;
|
|
106
106
|
if (typeof newValue == 'string')
|
|
107
107
|
newValue = JSON.parse(newValue);
|
|
108
|
+
if (typeof oldValue == 'string')
|
|
109
|
+
oldValue = JSON.parse(oldValue);
|
|
108
110
|
this.optionsManager.updateOptions(newValue);
|
|
109
111
|
this.setDisplayedValue(this.value);
|
|
110
112
|
const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
|
|
@@ -205,6 +207,7 @@ export class HierarchizedPickerComponent {
|
|
|
205
207
|
}
|
|
206
208
|
async componentWillLoad() {
|
|
207
209
|
this.isDisabled = this.disabled;
|
|
210
|
+
this.options = this.getOptionsAsIConf(this.options);
|
|
208
211
|
this.optionsManager = new OptionsManager(this.getOptionsAsIConf(this.options));
|
|
209
212
|
this.rawDataManager = new RawDataManager(() => this.getToken(), this.optionsManager);
|
|
210
213
|
await this.loadHierarchizedPicker();
|
|
@@ -18622,6 +18622,8 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
18622
18622
|
// this.theOptions = newValue;
|
|
18623
18623
|
if (typeof newValue == 'string')
|
|
18624
18624
|
newValue = JSON.parse(newValue);
|
|
18625
|
+
if (typeof oldValue == 'string')
|
|
18626
|
+
oldValue = JSON.parse(oldValue);
|
|
18625
18627
|
this.optionsManager.updateOptions(newValue);
|
|
18626
18628
|
this.setDisplayedValue(this.value);
|
|
18627
18629
|
const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
|
|
@@ -18728,6 +18730,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
18728
18730
|
}
|
|
18729
18731
|
async componentWillLoad() {
|
|
18730
18732
|
this.isDisabled = this.disabled;
|
|
18733
|
+
this.options = this.getOptionsAsIConf(this.options);
|
|
18731
18734
|
this.optionsManager = new OptionsManager(this.getOptionsAsIConf(this.options));
|
|
18732
18735
|
this.rawDataManager = new RawDataManager(() => this.getToken(), this.optionsManager);
|
|
18733
18736
|
await this.loadHierarchizedPicker();
|
|
@@ -18621,6 +18621,8 @@ const HierarchizedPickerComponent = class {
|
|
|
18621
18621
|
// this.theOptions = newValue;
|
|
18622
18622
|
if (typeof newValue == 'string')
|
|
18623
18623
|
newValue = JSON.parse(newValue);
|
|
18624
|
+
if (typeof oldValue == 'string')
|
|
18625
|
+
oldValue = JSON.parse(oldValue);
|
|
18624
18626
|
this.optionsManager.updateOptions(newValue);
|
|
18625
18627
|
this.setDisplayedValue(this.value);
|
|
18626
18628
|
const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
|
|
@@ -18726,6 +18728,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18726
18728
|
}
|
|
18727
18729
|
async componentWillLoad() {
|
|
18728
18730
|
this.isDisabled = this.disabled;
|
|
18731
|
+
this.options = this.getOptionsAsIConf(this.options);
|
|
18729
18732
|
this.optionsManager = new OptionsManager(this.getOptionsAsIConf(this.options));
|
|
18730
18733
|
this.rawDataManager = new RawDataManager(() => this.getToken(), this.optionsManager);
|
|
18731
18734
|
await this.loadHierarchizedPicker();
|