reneco-hierarchized-picker 0.4.1 → 0.4.2-beta.1
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 +6 -6
- package/dist/collection/components/hierarchized-picker/hierarchized-picker.css +1 -0
- package/dist/collection/components/hierarchized-picker/hierarchized-picker.js +6 -6
- package/dist/custom-elements/index.js +6 -6
- package/dist/esm/reneco-hierarchized-picker_2.entry.js +6 -6
- package/dist/esm-es5/reneco-hierarchized-picker_2.entry.js +1 -1
- package/dist/reneco-hierarchized-picker/{p-4b86160a.entry.js → p-308071e7.entry.js} +1 -1
- package/dist/reneco-hierarchized-picker/p-73168a50.system.js +1 -1
- package/dist/reneco-hierarchized-picker/{p-665c45cc.system.entry.js → p-91521a4a.system.entry.js} +1 -1
- package/dist/reneco-hierarchized-picker/reneco-hierarchized-picker.esm.js +1 -1
- package/package.json +1 -1
|
@@ -18676,6 +18676,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18676
18676
|
this.setOptions(newoptions);
|
|
18677
18677
|
}
|
|
18678
18678
|
setNewFilter(newfilter) {
|
|
18679
|
+
console.log("newfilter is ", newfilter);
|
|
18679
18680
|
this.filterTree(newfilter);
|
|
18680
18681
|
}
|
|
18681
18682
|
optionsChange(newValue, oldValue) {
|
|
@@ -19015,12 +19016,10 @@ const HierarchizedPickerComponent = class {
|
|
|
19015
19016
|
if (this.theOptions.origin == 'classification') {
|
|
19016
19017
|
// WS Call
|
|
19017
19018
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
searchedValue: searched,
|
|
19023
|
-
}
|
|
19019
|
+
StartNodeID: this.theOptions.options.startNode,
|
|
19020
|
+
lng: this.theOptions.options.lng,
|
|
19021
|
+
deprecated: this.theOptions.options.IsDeprecated,
|
|
19022
|
+
searchedValue: searched
|
|
19024
19023
|
})
|
|
19025
19024
|
.then((data) => {
|
|
19026
19025
|
displayResults(data);
|
|
@@ -19314,6 +19313,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19314
19313
|
}
|
|
19315
19314
|
// Search a value in the tree and triggers a search when necessary
|
|
19316
19315
|
search(searched) {
|
|
19316
|
+
console.log("search ", searched);
|
|
19317
19317
|
let searchinput = document.querySelector('#hierarchized-picker-' + this.componentID + ' .hierarchized-picker-search input');
|
|
19318
19318
|
if (this.optionsManager.getOptions().mode == 'input' && searchinput) {
|
|
19319
19319
|
searchinput.classList.remove('fieldError');
|
|
@@ -465,6 +465,7 @@ reneco-hierarchized-picker input[title] {
|
|
|
465
465
|
white-space: nowrap;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
+
/* TODO For now, the readonly status is ignored for the mode tree, probably need a rework sometime */
|
|
468
469
|
/* .hierarchized-picker-raw-tree-area.readonly li.treejs-node{
|
|
469
470
|
cursor: initial;
|
|
470
471
|
pointer-events: none;
|
|
@@ -142,6 +142,7 @@ export class HierarchizedPickerComponent {
|
|
|
142
142
|
this.setOptions(newoptions);
|
|
143
143
|
}
|
|
144
144
|
setNewFilter(newfilter) {
|
|
145
|
+
console.log("newfilter is ", newfilter);
|
|
145
146
|
this.filterTree(newfilter);
|
|
146
147
|
}
|
|
147
148
|
optionsChange(newValue, oldValue) {
|
|
@@ -479,12 +480,10 @@ export class HierarchizedPickerComponent {
|
|
|
479
480
|
if (this.theOptions.origin == 'classification') {
|
|
480
481
|
// WS Call
|
|
481
482
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
searchedValue: searched,
|
|
487
|
-
}
|
|
483
|
+
StartNodeID: this.theOptions.options.startNode,
|
|
484
|
+
lng: this.theOptions.options.lng,
|
|
485
|
+
deprecated: this.theOptions.options.IsDeprecated,
|
|
486
|
+
searchedValue: searched
|
|
488
487
|
})
|
|
489
488
|
.then((data) => {
|
|
490
489
|
displayResults(data);
|
|
@@ -778,6 +777,7 @@ export class HierarchizedPickerComponent {
|
|
|
778
777
|
}
|
|
779
778
|
// Search a value in the tree and triggers a search when necessary
|
|
780
779
|
search(searched) {
|
|
780
|
+
console.log("search ", searched);
|
|
781
781
|
let searchinput = document.querySelector('#hierarchized-picker-' + this.componentID + ' .hierarchized-picker-search input');
|
|
782
782
|
if (this.optionsManager.getOptions().mode == 'input' && searchinput) {
|
|
783
783
|
searchinput.classList.remove('fieldError');
|
|
@@ -18673,6 +18673,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
18673
18673
|
this.setOptions(newoptions);
|
|
18674
18674
|
}
|
|
18675
18675
|
setNewFilter(newfilter) {
|
|
18676
|
+
console.log("newfilter is ", newfilter);
|
|
18676
18677
|
this.filterTree(newfilter);
|
|
18677
18678
|
}
|
|
18678
18679
|
optionsChange(newValue, oldValue) {
|
|
@@ -19013,12 +19014,10 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
19013
19014
|
if (this.theOptions.origin == 'classification') {
|
|
19014
19015
|
// WS Call
|
|
19015
19016
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
searchedValue: searched,
|
|
19021
|
-
}
|
|
19017
|
+
StartNodeID: this.theOptions.options.startNode,
|
|
19018
|
+
lng: this.theOptions.options.lng,
|
|
19019
|
+
deprecated: this.theOptions.options.IsDeprecated,
|
|
19020
|
+
searchedValue: searched
|
|
19022
19021
|
})
|
|
19023
19022
|
.then((data) => {
|
|
19024
19023
|
displayResults(data);
|
|
@@ -19312,6 +19311,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
19312
19311
|
}
|
|
19313
19312
|
// Search a value in the tree and triggers a search when necessary
|
|
19314
19313
|
search(searched) {
|
|
19314
|
+
console.log("search ", searched);
|
|
19315
19315
|
let searchinput = document.querySelector('#hierarchized-picker-' + this.componentID + ' .hierarchized-picker-search input');
|
|
19316
19316
|
if (this.optionsManager.getOptions().mode == 'input' && searchinput) {
|
|
19317
19317
|
searchinput.classList.remove('fieldError');
|
|
@@ -18672,6 +18672,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18672
18672
|
this.setOptions(newoptions);
|
|
18673
18673
|
}
|
|
18674
18674
|
setNewFilter(newfilter) {
|
|
18675
|
+
console.log("newfilter is ", newfilter);
|
|
18675
18676
|
this.filterTree(newfilter);
|
|
18676
18677
|
}
|
|
18677
18678
|
optionsChange(newValue, oldValue) {
|
|
@@ -19011,12 +19012,10 @@ const HierarchizedPickerComponent = class {
|
|
|
19011
19012
|
if (this.theOptions.origin == 'classification') {
|
|
19012
19013
|
// WS Call
|
|
19013
19014
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
searchedValue: searched,
|
|
19019
|
-
}
|
|
19015
|
+
StartNodeID: this.theOptions.options.startNode,
|
|
19016
|
+
lng: this.theOptions.options.lng,
|
|
19017
|
+
deprecated: this.theOptions.options.IsDeprecated,
|
|
19018
|
+
searchedValue: searched
|
|
19020
19019
|
})
|
|
19021
19020
|
.then((data) => {
|
|
19022
19021
|
displayResults(data);
|
|
@@ -19310,6 +19309,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19310
19309
|
}
|
|
19311
19310
|
// Search a value in the tree and triggers a search when necessary
|
|
19312
19311
|
search(searched) {
|
|
19312
|
+
console.log("search ", searched);
|
|
19313
19313
|
let searchinput = document.querySelector('#hierarchized-picker-' + this.componentID + ' .hierarchized-picker-search input');
|
|
19314
19314
|
if (this.optionsManager.getOptions().mode == 'input' && searchinput) {
|
|
19315
19315
|
searchinput.classList.remove('fieldError');
|