reneco-hierarchized-picker 0.4.2-beta.17 → 0.4.2-beta.18

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.
@@ -343,7 +343,7 @@ Tree.prototype.bindEvent = function (ele) {
343
343
  const contextualApiURL = this.options.parentApi.getContextualApiURL();
344
344
  // WS Call
345
345
  this.options.rawDataManager
346
- .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
346
+ .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
347
347
  .then(data => {
348
348
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
349
349
  });
@@ -355,7 +355,7 @@ Tree.prototype.bindEvent = function (ele) {
355
355
  StartNodeID: target.parentNode.nodeId,
356
356
  lng: this.options.parentApi.theOptions.options.lng,
357
357
  IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
358
- }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
358
+ }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
359
359
  .then(data => {
360
360
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
361
361
  });
@@ -18937,7 +18937,7 @@ const HierarchizedPickerComponent = class {
18937
18937
  return;
18938
18938
  }
18939
18939
  if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
18940
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
18940
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
18941
18941
  }
18942
18942
  }
18943
18943
  async initComponent() {
@@ -19215,7 +19215,7 @@ const HierarchizedPickerComponent = class {
19215
19215
  if (this.theOptions.source == 'webservice') {
19216
19216
  if (this.theOptions.origin == 'classification') {
19217
19217
  // WS Call
19218
- this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
19218
+ this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
19219
19219
  .then((data) => {
19220
19220
  displayResults(data);
19221
19221
  if (!searched) {
@@ -19234,7 +19234,7 @@ const HierarchizedPickerComponent = class {
19234
19234
  searchedValue: searched,
19235
19235
  searchNameOnly: true,
19236
19236
  deprecated: false,
19237
- }, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
19237
+ }, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
19238
19238
  .then((data) => {
19239
19239
  displayResults(data);
19240
19240
  if (!searched) {
@@ -19462,7 +19462,7 @@ const HierarchizedPickerComponent = class {
19462
19462
  }
19463
19463
  else {
19464
19464
  if (!this.shownTree && this.theOptions.loading == 'click' && !this.ready) {
19465
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
19465
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
19466
19466
  }
19467
19467
  }
19468
19468
  const previousShownTree = this.shownTree;
@@ -19721,7 +19721,9 @@ const HierarchizedPickerComponent = class {
19721
19721
  this.scrollable = el;
19722
19722
  }, class: 'hierarchized-picker-modal-area ' + (!this.shownTree ? ' hidden ' : ''), onClick: event => {
19723
19723
  clickPickerModalArea(this);
19724
- } }, index.h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, index.h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), index.h("ul", { id: "autocomplete-results-area" }), index.h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (index.h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
19724
+ } }, index.h("div", { class: "loader", ref: el => {
19725
+ this.loader = el;
19726
+ } }, index.h("div", { class: "loader-inner" }, "Loading...")), index.h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, index.h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), index.h("ul", { id: "autocomplete-results-area" }), index.h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (index.h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
19725
19727
  clickPickerModalArea(this);
19726
19728
  } }, index.h("div", { class: "loader", ref: el => {
19727
19729
  this.loader = el;
@@ -249,7 +249,7 @@ export class HierarchizedPickerComponent {
249
249
  return;
250
250
  }
251
251
  if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
252
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
252
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
253
253
  }
254
254
  }
255
255
  async initComponent() {
@@ -530,7 +530,7 @@ export class HierarchizedPickerComponent {
530
530
  if (this.theOptions.source == 'webservice') {
531
531
  if (this.theOptions.origin == 'classification') {
532
532
  // WS Call
533
- this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
533
+ this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
534
534
  .then((data) => {
535
535
  displayResults(data);
536
536
  if (!searched) {
@@ -549,7 +549,7 @@ export class HierarchizedPickerComponent {
549
549
  searchedValue: searched,
550
550
  searchNameOnly: true,
551
551
  deprecated: false,
552
- }, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
552
+ }, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
553
553
  .then((data) => {
554
554
  displayResults(data);
555
555
  if (!searched) {
@@ -777,7 +777,7 @@ export class HierarchizedPickerComponent {
777
777
  }
778
778
  else {
779
779
  if (!this.shownTree && this.theOptions.loading == 'click' && !this.ready) {
780
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
780
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
781
781
  }
782
782
  }
783
783
  const previousShownTree = this.shownTree;
@@ -1036,7 +1036,9 @@ export class HierarchizedPickerComponent {
1036
1036
  this.scrollable = el;
1037
1037
  }, class: 'hierarchized-picker-modal-area ' + (!this.shownTree ? ' hidden ' : ''), onClick: event => {
1038
1038
  clickPickerModalArea(this, event);
1039
- } }, h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), h("ul", { id: "autocomplete-results-area" }), h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
1039
+ } }, h("div", { class: "loader", ref: el => {
1040
+ this.loader = el;
1041
+ } }, h("div", { class: "loader-inner" }, "Loading...")), h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), h("ul", { id: "autocomplete-results-area" }), h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
1040
1042
  clickPickerModalArea(this, event);
1041
1043
  } }, h("div", { class: "loader", ref: el => {
1042
1044
  this.loader = el;
@@ -211,7 +211,7 @@ Tree.prototype.bindEvent = function (ele) {
211
211
  const contextualApiURL = this.options.parentApi.getContextualApiURL();
212
212
  // WS Call
213
213
  this.options.rawDataManager
214
- .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
214
+ .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
215
215
  .then(data => {
216
216
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
217
217
  });
@@ -223,7 +223,7 @@ Tree.prototype.bindEvent = function (ele) {
223
223
  StartNodeID: target.parentNode.nodeId,
224
224
  lng: this.options.parentApi.theOptions.options.lng,
225
225
  IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
226
- }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
226
+ }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
227
227
  .then(data => {
228
228
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
229
229
  });
@@ -340,7 +340,7 @@ Tree.prototype.bindEvent = function (ele) {
340
340
  const contextualApiURL = this.options.parentApi.getContextualApiURL();
341
341
  // WS Call
342
342
  this.options.rawDataManager
343
- .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
343
+ .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
344
344
  .then(data => {
345
345
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
346
346
  });
@@ -352,7 +352,7 @@ Tree.prototype.bindEvent = function (ele) {
352
352
  StartNodeID: target.parentNode.nodeId,
353
353
  lng: this.options.parentApi.theOptions.options.lng,
354
354
  IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
355
- }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
355
+ }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
356
356
  .then(data => {
357
357
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
358
358
  });
@@ -18935,7 +18935,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18935
18935
  return;
18936
18936
  }
18937
18937
  if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
18938
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
18938
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
18939
18939
  }
18940
18940
  }
18941
18941
  async initComponent() {
@@ -19213,7 +19213,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
19213
19213
  if (this.theOptions.source == 'webservice') {
19214
19214
  if (this.theOptions.origin == 'classification') {
19215
19215
  // WS Call
19216
- this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
19216
+ this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
19217
19217
  .then((data) => {
19218
19218
  displayResults(data);
19219
19219
  if (!searched) {
@@ -19232,7 +19232,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
19232
19232
  searchedValue: searched,
19233
19233
  searchNameOnly: true,
19234
19234
  deprecated: false,
19235
- }, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
19235
+ }, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
19236
19236
  .then((data) => {
19237
19237
  displayResults(data);
19238
19238
  if (!searched) {
@@ -19460,7 +19460,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
19460
19460
  }
19461
19461
  else {
19462
19462
  if (!this.shownTree && this.theOptions.loading == 'click' && !this.ready) {
19463
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
19463
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
19464
19464
  }
19465
19465
  }
19466
19466
  const previousShownTree = this.shownTree;
@@ -19719,7 +19719,9 @@ const HierarchizedPickerComponent = class extends HTMLElement {
19719
19719
  this.scrollable = el;
19720
19720
  }, class: 'hierarchized-picker-modal-area ' + (!this.shownTree ? ' hidden ' : ''), onClick: event => {
19721
19721
  clickPickerModalArea(this);
19722
- } }, h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), h("ul", { id: "autocomplete-results-area" }), h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
19722
+ } }, h("div", { class: "loader", ref: el => {
19723
+ this.loader = el;
19724
+ } }, h("div", { class: "loader-inner" }, "Loading...")), h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), h("ul", { id: "autocomplete-results-area" }), h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
19723
19725
  clickPickerModalArea(this);
19724
19726
  } }, h("div", { class: "loader", ref: el => {
19725
19727
  this.loader = el;
@@ -339,7 +339,7 @@ Tree.prototype.bindEvent = function (ele) {
339
339
  const contextualApiURL = this.options.parentApi.getContextualApiURL();
340
340
  // WS Call
341
341
  this.options.rawDataManager
342
- .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
342
+ .getFromClassification(contextualApiURL, contextualApiParams, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
343
343
  .then(data => {
344
344
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
345
345
  });
@@ -351,7 +351,7 @@ Tree.prototype.bindEvent = function (ele) {
351
351
  StartNodeID: target.parentNode.nodeId,
352
352
  lng: this.options.parentApi.theOptions.options.lng,
353
353
  IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
354
- }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
354
+ }, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + " .loader"))
355
355
  .then(data => {
356
356
  this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
357
357
  });
@@ -18933,7 +18933,7 @@ const HierarchizedPickerComponent = class {
18933
18933
  return;
18934
18934
  }
18935
18935
  if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
18936
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
18936
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
18937
18937
  }
18938
18938
  }
18939
18939
  async initComponent() {
@@ -19211,7 +19211,7 @@ const HierarchizedPickerComponent = class {
19211
19211
  if (this.theOptions.source == 'webservice') {
19212
19212
  if (this.theOptions.origin == 'classification') {
19213
19213
  // WS Call
19214
- this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
19214
+ this.rawDataManager.getFromClassification(this.getApiSearchURL(), Object.assign({}, this.getContextualApiParams(null, searched)), document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
19215
19215
  .then((data) => {
19216
19216
  displayResults(data);
19217
19217
  if (!searched) {
@@ -19230,7 +19230,7 @@ const HierarchizedPickerComponent = class {
19230
19230
  searchedValue: searched,
19231
19231
  searchNameOnly: true,
19232
19232
  deprecated: false,
19233
- }, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
19233
+ }, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"))
19234
19234
  .then((data) => {
19235
19235
  displayResults(data);
19236
19236
  if (!searched) {
@@ -19458,7 +19458,7 @@ const HierarchizedPickerComponent = class {
19458
19458
  }
19459
19459
  else {
19460
19460
  if (!this.shownTree && this.theOptions.loading == 'click' && !this.ready) {
19461
- this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
19461
+ this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + " .loader"));
19462
19462
  }
19463
19463
  }
19464
19464
  const previousShownTree = this.shownTree;
@@ -19717,7 +19717,9 @@ const HierarchizedPickerComponent = class {
19717
19717
  this.scrollable = el;
19718
19718
  }, class: 'hierarchized-picker-modal-area ' + (!this.shownTree ? ' hidden ' : ''), onClick: event => {
19719
19719
  clickPickerModalArea(this);
19720
- } }, h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), h("ul", { id: "autocomplete-results-area" }), h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
19720
+ } }, h("div", { class: "loader", ref: el => {
19721
+ this.loader = el;
19722
+ } }, h("div", { class: "loader-inner" }, "Loading...")), h("div", { class: 'hierarchized-picker-modal ' + (!this.ready ? 'hidden' : '') }, h("search-input", { placeholder: getLanguageValue(this.optionsManager.getOptions().searchPlaceholder, this.optionsManager.getOptions().language, defaultLanguage), onInputFocus: () => focusInSearchEvent(this), onInputBlur: () => focusOutSearchEvent(this, event), onSearch: (event) => this.search(event.detail) }), h("ul", { id: "autocomplete-results-area" }), h("div", { id: 'tree-area-' + this.componentID, class: 'hierarchized-picker-tree hierarchized-picker-tree-area ' + this.pickerClass }))))) : (h("div", { class: 'hierarchized-picker-raw-tree-area' + (this.isDisabled ? ' readonly' : ''), onClick: event => {
19721
19723
  clickPickerModalArea(this);
19722
19724
  } }, h("div", { class: "loader", ref: el => {
19723
19725
  this.loader = el;