reneco-hierarchized-picker 0.4.3-beta.3 → 0.4.3-beta.4
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 +5 -2
- package/dist/collection/components/hierarchized-picker/hierarchized-picker.js +1 -2
- package/dist/collection/core/raw-data-manager.js +4 -0
- package/dist/custom-elements/index.js +5 -2
- package/dist/esm/reneco-hierarchized-picker_2.entry.js +5 -2
- package/dist/esm-es5/reneco-hierarchized-picker_2.entry.js +1 -1
- package/dist/reneco-hierarchized-picker/{p-1eb26381.entry.js → p-4c73096f.entry.js} +1 -1
- package/dist/reneco-hierarchized-picker/{p-fe9974de.system.entry.js → p-69b953d4.system.entry.js} +1 -1
- package/dist/reneco-hierarchized-picker/p-73168a50.system.js +1 -1
- package/dist/reneco-hierarchized-picker/reneco-hierarchized-picker.esm.js +1 -1
- package/package.json +1 -1
|
@@ -18191,6 +18191,10 @@ class RawDataManager {
|
|
|
18191
18191
|
async getFromClassification(endpoint, options, loader) {
|
|
18192
18192
|
let pathSegment = '';
|
|
18193
18193
|
const queryParams = [];
|
|
18194
|
+
if (options['Reach']) {
|
|
18195
|
+
queryParams.push(`id=${options['Reach'].join('&id=')}`);
|
|
18196
|
+
delete options['Reach'];
|
|
18197
|
+
}
|
|
18194
18198
|
for (const key in options) {
|
|
18195
18199
|
if (!options.hasOwnProperty(key))
|
|
18196
18200
|
continue;
|
|
@@ -19185,7 +19189,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19185
19189
|
let dynamicType = pathSegments[pathSegments.length - 2];
|
|
19186
19190
|
if (['thesaurus', 'position'].indexOf(dynamicType) == -1)
|
|
19187
19191
|
dynamicType = pathSegments[pathSegments.length - 1];
|
|
19188
|
-
const newPathname = `/api/v1/classification/reach/${dynamicType}
|
|
19192
|
+
const newPathname = `/api/v1/classification/reach/${dynamicType}`;
|
|
19189
19193
|
return `${parsedUrl.origin}${newPathname}`;
|
|
19190
19194
|
}
|
|
19191
19195
|
return url;
|
|
@@ -19197,7 +19201,6 @@ const HierarchizedPickerComponent = class {
|
|
|
19197
19201
|
if (!init)
|
|
19198
19202
|
delete optionsToReturn.Reach;
|
|
19199
19203
|
if (optionsToReturn.Reach) {
|
|
19200
|
-
delete optionsToReturn.Reach;
|
|
19201
19204
|
if ("startNode" in optionsToReturn) {
|
|
19202
19205
|
optionsToReturn.startingnode = optionsToReturn.startNode;
|
|
19203
19206
|
delete optionsToReturn.startNode;
|
|
@@ -498,7 +498,7 @@ export class HierarchizedPickerComponent {
|
|
|
498
498
|
let dynamicType = pathSegments[pathSegments.length - 2];
|
|
499
499
|
if (['thesaurus', 'position'].indexOf(dynamicType) == -1)
|
|
500
500
|
dynamicType = pathSegments[pathSegments.length - 1];
|
|
501
|
-
const newPathname = `/api/v1/classification/reach/${dynamicType}
|
|
501
|
+
const newPathname = `/api/v1/classification/reach/${dynamicType}`;
|
|
502
502
|
return `${parsedUrl.origin}${newPathname}`;
|
|
503
503
|
}
|
|
504
504
|
return url;
|
|
@@ -510,7 +510,6 @@ export class HierarchizedPickerComponent {
|
|
|
510
510
|
if (!init)
|
|
511
511
|
delete optionsToReturn.Reach;
|
|
512
512
|
if (optionsToReturn.Reach) {
|
|
513
|
-
delete optionsToReturn.Reach;
|
|
514
513
|
if ("startNode" in optionsToReturn) {
|
|
515
514
|
optionsToReturn.startingnode = optionsToReturn.startNode;
|
|
516
515
|
delete optionsToReturn.startNode;
|
|
@@ -57,6 +57,10 @@ export class RawDataManager {
|
|
|
57
57
|
async getFromClassification(endpoint, options, loader) {
|
|
58
58
|
let pathSegment = '';
|
|
59
59
|
const queryParams = [];
|
|
60
|
+
if (options['Reach']) {
|
|
61
|
+
queryParams.push(`id=${options['Reach'].join('&id=')}`);
|
|
62
|
+
delete options['Reach'];
|
|
63
|
+
}
|
|
60
64
|
for (const key in options) {
|
|
61
65
|
if (!options.hasOwnProperty(key))
|
|
62
66
|
continue;
|
|
@@ -18188,6 +18188,10 @@ class RawDataManager {
|
|
|
18188
18188
|
async getFromClassification(endpoint, options, loader) {
|
|
18189
18189
|
let pathSegment = '';
|
|
18190
18190
|
const queryParams = [];
|
|
18191
|
+
if (options['Reach']) {
|
|
18192
|
+
queryParams.push(`id=${options['Reach'].join('&id=')}`);
|
|
18193
|
+
delete options['Reach'];
|
|
18194
|
+
}
|
|
18191
18195
|
for (const key in options) {
|
|
18192
18196
|
if (!options.hasOwnProperty(key))
|
|
18193
18197
|
continue;
|
|
@@ -19183,7 +19187,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
19183
19187
|
let dynamicType = pathSegments[pathSegments.length - 2];
|
|
19184
19188
|
if (['thesaurus', 'position'].indexOf(dynamicType) == -1)
|
|
19185
19189
|
dynamicType = pathSegments[pathSegments.length - 1];
|
|
19186
|
-
const newPathname = `/api/v1/classification/reach/${dynamicType}
|
|
19190
|
+
const newPathname = `/api/v1/classification/reach/${dynamicType}`;
|
|
19187
19191
|
return `${parsedUrl.origin}${newPathname}`;
|
|
19188
19192
|
}
|
|
19189
19193
|
return url;
|
|
@@ -19195,7 +19199,6 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
19195
19199
|
if (!init)
|
|
19196
19200
|
delete optionsToReturn.Reach;
|
|
19197
19201
|
if (optionsToReturn.Reach) {
|
|
19198
|
-
delete optionsToReturn.Reach;
|
|
19199
19202
|
if ("startNode" in optionsToReturn) {
|
|
19200
19203
|
optionsToReturn.startingnode = optionsToReturn.startNode;
|
|
19201
19204
|
delete optionsToReturn.startNode;
|
|
@@ -18187,6 +18187,10 @@ class RawDataManager {
|
|
|
18187
18187
|
async getFromClassification(endpoint, options, loader) {
|
|
18188
18188
|
let pathSegment = '';
|
|
18189
18189
|
const queryParams = [];
|
|
18190
|
+
if (options['Reach']) {
|
|
18191
|
+
queryParams.push(`id=${options['Reach'].join('&id=')}`);
|
|
18192
|
+
delete options['Reach'];
|
|
18193
|
+
}
|
|
18190
18194
|
for (const key in options) {
|
|
18191
18195
|
if (!options.hasOwnProperty(key))
|
|
18192
18196
|
continue;
|
|
@@ -19181,7 +19185,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19181
19185
|
let dynamicType = pathSegments[pathSegments.length - 2];
|
|
19182
19186
|
if (['thesaurus', 'position'].indexOf(dynamicType) == -1)
|
|
19183
19187
|
dynamicType = pathSegments[pathSegments.length - 1];
|
|
19184
|
-
const newPathname = `/api/v1/classification/reach/${dynamicType}
|
|
19188
|
+
const newPathname = `/api/v1/classification/reach/${dynamicType}`;
|
|
19185
19189
|
return `${parsedUrl.origin}${newPathname}`;
|
|
19186
19190
|
}
|
|
19187
19191
|
return url;
|
|
@@ -19193,7 +19197,6 @@ const HierarchizedPickerComponent = class {
|
|
|
19193
19197
|
if (!init)
|
|
19194
19198
|
delete optionsToReturn.Reach;
|
|
19195
19199
|
if (optionsToReturn.Reach) {
|
|
19196
|
-
delete optionsToReturn.Reach;
|
|
19197
19200
|
if ("startNode" in optionsToReturn) {
|
|
19198
19201
|
optionsToReturn.startingnode = optionsToReturn.startNode;
|
|
19199
19202
|
delete optionsToReturn.startNode;
|