@eox/itemfilter 1.18.0 → 1.19.0

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.
Files changed (117) hide show
  1. package/dist/eox-itemfilter.js +1714 -1694
  2. package/dist/eox-itemfilter.umd.cjs +125 -121
  3. package/package.json +3 -3
  4. package/src/components/chips.js +3 -3
  5. package/src/components/expand-container.js +27 -4
  6. package/src/components/filters/range.js +8 -5
  7. package/src/components/filters/selector.js +10 -10
  8. package/src/components/filters/spatial.js +8 -8
  9. package/src/components/filters/text.js +4 -4
  10. package/src/components/itemfilter-container.js +6 -6
  11. package/src/components/results.js +5 -5
  12. package/src/helpers/chip-items.js +2 -2
  13. package/src/helpers/filter-client.js +6 -6
  14. package/src/helpers/filter-external.js +4 -4
  15. package/src/helpers/get-value.js +1 -1
  16. package/src/helpers/highlighting.js +2 -2
  17. package/src/helpers/is-date.js +1 -1
  18. package/src/helpers/is-filters-dirty.js +1 -1
  19. package/src/helpers/map-layers.js +2 -2
  20. package/src/helpers/merge-highlight-indices.js +1 -1
  21. package/src/helpers/reset-filter.js +2 -2
  22. package/src/helpers/spatial.js +4 -4
  23. package/src/helpers/toggle-accordion.js +1 -1
  24. package/src/main.js +48 -40
  25. package/src/methods/chips/handler.js +4 -4
  26. package/src/methods/container/handler.js +6 -6
  27. package/src/methods/container/init-popver.js +2 -2
  28. package/src/methods/container/inline-search.js +4 -4
  29. package/src/methods/container/reset-filter.js +1 -1
  30. package/src/methods/container/reset-search.js +1 -1
  31. package/src/methods/container/search-filter.js +1 -1
  32. package/src/methods/filters/range.js +2 -2
  33. package/src/methods/filters/selector.js +26 -18
  34. package/src/methods/filters/spatial.js +5 -5
  35. package/src/methods/filters/text.js +3 -3
  36. package/src/methods/itemfilter/create-filter.js +6 -6
  37. package/src/methods/itemfilter/create-reset.js +3 -3
  38. package/src/methods/itemfilter/filter-apply.js +3 -3
  39. package/src/methods/itemfilter/reset-filter.js +4 -3
  40. package/src/methods/itemfilter/search.js +3 -3
  41. package/src/methods/itemfilter/sort-results.js +4 -4
  42. package/src/methods/results/aggregate-results.js +3 -3
  43. package/src/methods/results/create.js +2 -2
  44. package/types/components/chips.d.ts +3 -3
  45. package/types/components/expand-container.d.ts +3 -3
  46. package/types/components/expand-container.d.ts.map +1 -1
  47. package/types/components/filters/range.d.ts +3 -3
  48. package/types/components/filters/range.d.ts.map +1 -1
  49. package/types/components/filters/selector.d.ts +9 -9
  50. package/types/components/filters/spatial.d.ts +7 -7
  51. package/types/components/filters/spatial.d.ts.map +1 -1
  52. package/types/components/filters/text.d.ts +4 -4
  53. package/types/components/itemfilter-container.d.ts +6 -6
  54. package/types/components/results.d.ts +5 -5
  55. package/types/helpers/chip-items.d.ts +3 -3
  56. package/types/helpers/chip-items.d.ts.map +1 -1
  57. package/types/helpers/filter-client.d.ts +2 -2
  58. package/types/helpers/filter-client.d.ts.map +1 -1
  59. package/types/helpers/filter-external.d.ts +5 -5
  60. package/types/helpers/filter-external.d.ts.map +1 -1
  61. package/types/helpers/get-value.d.ts +2 -2
  62. package/types/helpers/get-value.d.ts.map +1 -1
  63. package/types/helpers/highlighting.d.ts +3 -3
  64. package/types/helpers/highlighting.d.ts.map +1 -1
  65. package/types/helpers/is-date.d.ts +2 -2
  66. package/types/helpers/is-date.d.ts.map +1 -1
  67. package/types/helpers/is-filters-dirty.d.ts +2 -2
  68. package/types/helpers/is-filters-dirty.d.ts.map +1 -1
  69. package/types/helpers/map-layers.d.ts +3 -3
  70. package/types/helpers/map-layers.d.ts.map +1 -1
  71. package/types/helpers/merge-highlight-indices.d.ts +1 -1
  72. package/types/helpers/reset-filter.d.ts +3 -3
  73. package/types/helpers/reset-filter.d.ts.map +1 -1
  74. package/types/helpers/spatial.d.ts +2 -2
  75. package/types/helpers/spatial.d.ts.map +1 -1
  76. package/types/helpers/toggle-accordion.d.ts +2 -2
  77. package/types/helpers/toggle-accordion.d.ts.map +1 -1
  78. package/types/main.d.ts +15 -11
  79. package/types/main.d.ts.map +1 -1
  80. package/types/methods/chips/handler.d.ts +6 -6
  81. package/types/methods/chips/handler.d.ts.map +1 -1
  82. package/types/methods/container/handler.d.ts +12 -12
  83. package/types/methods/container/handler.d.ts.map +1 -1
  84. package/types/methods/container/init-popver.d.ts +3 -3
  85. package/types/methods/container/init-popver.d.ts.map +1 -1
  86. package/types/methods/container/inline-search.d.ts +7 -7
  87. package/types/methods/container/inline-search.d.ts.map +1 -1
  88. package/types/methods/container/reset-filter.d.ts +2 -2
  89. package/types/methods/container/reset-filter.d.ts.map +1 -1
  90. package/types/methods/container/reset-search.d.ts +2 -2
  91. package/types/methods/container/reset-search.d.ts.map +1 -1
  92. package/types/methods/container/search-filter.d.ts +2 -2
  93. package/types/methods/container/search-filter.d.ts.map +1 -1
  94. package/types/methods/filters/range.d.ts +4 -4
  95. package/types/methods/filters/range.d.ts.map +1 -1
  96. package/types/methods/filters/selector.d.ts +15 -14
  97. package/types/methods/filters/selector.d.ts.map +1 -1
  98. package/types/methods/filters/spatial.d.ts +8 -8
  99. package/types/methods/filters/spatial.d.ts.map +1 -1
  100. package/types/methods/filters/text.d.ts +6 -6
  101. package/types/methods/filters/text.d.ts.map +1 -1
  102. package/types/methods/itemfilter/create-filter.d.ts +3 -3
  103. package/types/methods/itemfilter/create-filter.d.ts.map +1 -1
  104. package/types/methods/itemfilter/create-reset.d.ts +3 -3
  105. package/types/methods/itemfilter/create-reset.d.ts.map +1 -1
  106. package/types/methods/itemfilter/filter-apply.d.ts +4 -4
  107. package/types/methods/itemfilter/filter-apply.d.ts.map +1 -1
  108. package/types/methods/itemfilter/reset-filter.d.ts +3 -2
  109. package/types/methods/itemfilter/reset-filter.d.ts.map +1 -1
  110. package/types/methods/itemfilter/search.d.ts +4 -4
  111. package/types/methods/itemfilter/search.d.ts.map +1 -1
  112. package/types/methods/itemfilter/sort-results.d.ts +6 -6
  113. package/types/methods/itemfilter/sort-results.d.ts.map +1 -1
  114. package/types/methods/results/aggregate-results.d.ts +4 -4
  115. package/types/methods/results/aggregate-results.d.ts.map +1 -1
  116. package/types/methods/results/create.d.ts +4 -4
  117. package/types/methods/results/create.d.ts.map +1 -1
@@ -8,16 +8,16 @@ export function resetRangeMethod(EOxItemFilterRange: import("../../components/fi
8
8
  * Handles input changes for the range filter and updates the filter state accordingly.
9
9
  *
10
10
  * @param {CustomEvent} evt - The input event that triggers the update.
11
- * @param {Object} EOxItemFilterRange - The EOxItemFilterRange component instance.
11
+ * @param {object} EOxItemFilterRange - The EOxItemFilterRange component instance.
12
12
  */
13
- export function rangeInputHandlerMethod(evt: CustomEvent, EOxItemFilterRange: any): void;
13
+ export function rangeInputHandlerMethod(evt: CustomEvent, EOxItemFilterRange: object): void;
14
14
  /**
15
15
  * Generates the HTML for the range labels, formatted as dates if necessary.
16
16
  *
17
17
  * @param {number|string} val - The value of the range label.
18
18
  * @param {string} pos - The position of the range label (e.g., "min" or "max").
19
- * @param {Object} EOxItemFilterRange - The EOxItemFilterRange component instance.
19
+ * @param {object} EOxItemFilterRange - The EOxItemFilterRange component instance.
20
20
  * @returns {import("lit").HTMLTemplateResult}
21
21
  */
22
- export function rangeLabelMethod(val: number | string, pos: string, EOxItemFilterRange: any): import("lit").HTMLTemplateResult;
22
+ export function rangeLabelMethod(val: number | string, pos: string, EOxItemFilterRange: object): import("lit").HTMLTemplateResult;
23
23
  //# sourceMappingURL=range.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/range.js"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,qDAFW,OAAO,mCAAmC,EAAE,kBAAkB,QA8BxE;AAED;;;;;GAKG;AACH,6CAHW,WAAW,iCAmErB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,GAAC,MAAM,OACb,MAAM,4BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAQ5C"}
1
+ {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/range.js"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,qDAFW,OAAO,mCAAmC,EAAE,kBAAkB,QA8BxE;AAED;;;;;GAKG;AACH,6CAHW,WAAW,sBACX,MAAM,QAkEhB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,GAAC,MAAM,OACb,MAAM,sBACN,MAAM,GACJ,OAAO,KAAK,EAAE,kBAAkB,CAQ5C"}
@@ -1,42 +1,43 @@
1
1
  /**
2
2
  * Resets the selector filter to its default state and updates the component.
3
3
  *
4
- * @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
4
+ * @param {object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
5
5
  */
6
- export function resetSelectorMethod(EOxItemFilterSelector: any): void;
6
+ export function resetSelectorMethod(EOxItemFilterSelector: object): void;
7
7
  /**
8
8
  * Removes an item from the selected items list and updates suggestions and filter list.
9
9
  *
10
10
  * @param {number} index - The index of the item to remove, or -1 to remove all items.
11
- * @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
11
+ * @param {object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
12
+ * @param {boolean} [emitEvent=true] - Whether to emit the filter event.
12
13
  */
13
- export function removeItemSelectorMethod(index: number, EOxItemFilterSelector: any): void;
14
+ export function removeItemSelectorMethod(index: number, EOxItemFilterSelector: object, emitEvent?: boolean): void;
14
15
  /**
15
16
  * Toggles the selection of an item and updates the component.
16
17
  *
17
- * @param {Object} item - The item to toggle.
18
- * @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
18
+ * @param {object} item - The item to toggle.
19
+ * @param {object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
19
20
  */
20
- export function toggleItemSelectorMethod(item: any, EOxItemFilterSelector: any): void;
21
+ export function toggleItemSelectorMethod(item: object, EOxItemFilterSelector: object): void;
21
22
  /**
22
23
  * Handles input changes for the selector and updates the query and suggestions.
23
24
  *
24
25
  * @param {Event} event - The input event.
25
- * @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
26
+ * @param {object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
26
27
  */
27
- export function handleInputSelectorMethod(event: Event, EOxItemFilterSelector: any): void;
28
+ export function handleInputSelectorMethod(event: Event, EOxItemFilterSelector: object): void;
28
29
  /**
29
30
  * Handles keydown events for the selector and navigates or selects items based on the key pressed.
30
31
  *
31
32
  * @param {KeyboardEvent} event - The keydown event.
32
- * @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
33
+ * @param {object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
33
34
  */
34
- export function handleKeyDownSelectorMethod(event: KeyboardEvent, EOxItemFilterSelector: any): void;
35
+ export function handleKeyDownSelectorMethod(event: KeyboardEvent, EOxItemFilterSelector: object): void;
35
36
  /**
36
37
  * Updates the Fuse.js instance and suggestions when properties change.
37
38
  *
38
- * @param {Object} changedProperties - The properties that changed.
39
- * @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
39
+ * @param {object} changedProperties - The properties that changed.
40
+ * @param {object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
40
41
  */
41
- export function updatedSelectorMethod(changedProperties: any, EOxItemFilterSelector: any): void;
42
+ export function updatedSelectorMethod(changedProperties: object, EOxItemFilterSelector: object): void;
42
43
  //# sourceMappingURL=selector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selector.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/selector.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,sEAKC;AAED;;;;;GAKG;AACH,gDAHW,MAAM,oCAWhB;AAED;;;;;GAKG;AACH,sFAuBC;AAED;;;;;GAKG;AACH,iDAHW,KAAK,oCASf;AAED;;;;;GAKG;AACH,mDAHW,aAAa,oCAqCvB;AAED;;;;;GAKG;AACH,gGAOC"}
1
+ {"version":3,"file":"selector.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/selector.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,2DAFW,MAAM,QAOhB;AAED;;;;;;GAMG;AACH,gDAJW,MAAM,yBACN,MAAM,cACN,OAAO,QAcjB;AAED;;;;;GAKG;AACH,+CAHW,MAAM,yBACN,MAAM,QAyBhB;AAED;;;;;GAKG;AACH,iDAHW,KAAK,yBACL,MAAM,QAQhB;AAED;;;;;GAKG;AACH,mDAHW,aAAa,yBACb,MAAM,QAoChB;AAED;;;;;GAKG;AACH,yDAHW,MAAM,yBACN,MAAM,QAShB"}
@@ -1,26 +1,26 @@
1
1
  /**
2
2
  * Resets the spatial filter to its default state and updates the component.
3
3
  *
4
- * @param {Object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
4
+ * @param {object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
5
5
  */
6
- export function resetSpatialMethod(EOxItemFilterSpatial: any): void;
6
+ export function resetSpatialMethod(EOxItemFilterSpatial: object): void;
7
7
  /**
8
8
  * Resets the spatial filter map and re-initializes it.
9
9
  *
10
- * @param {Object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
10
+ * @param {object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
11
11
  */
12
- export function resetSpatialFilterMethod(EOxItemFilterSpatial: any): void;
12
+ export function resetSpatialFilterMethod(EOxItemFilterSpatial: object): void;
13
13
  /**
14
14
  * Handles the click event for spatial mode buttons and updates the filter state.
15
15
  *
16
16
  * @param {string} mode - The selected spatial mode.
17
- * @param {Object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
17
+ * @param {object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
18
18
  */
19
- export function handleClickSpatialMethod(mode: string, EOxItemFilterSpatial: any): void;
19
+ export function handleClickSpatialMethod(mode: string, EOxItemFilterSpatial: object): void;
20
20
  /**
21
21
  * Sets up the spatial filter map and its interactions.
22
22
  *
23
- * @param {Object} that - The EOxItemFilterSpatial component instance.
23
+ * @param {object} that - The EOxItemFilterSpatial component instance.
24
24
  */
25
- export function setupSpatialMethod(that: any): void;
25
+ export function setupSpatialMethod(that: object): void;
26
26
  //# sourceMappingURL=spatial.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/spatial.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,oEAQC;AAED;;;;GAIG;AACH,0EAGC;AAED;;;;;GAKG;AACH,+CAHW,MAAM,mCAWhB;AAED;;;;GAIG;AACH,oDA2CC"}
1
+ {"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/spatial.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,yDAFW,MAAM,QAUhB;AAED;;;;GAIG;AACH,+DAFW,MAAM,QAKhB;AAED;;;;;GAKG;AACH,+CAHW,MAAM,wBACN,MAAM,QAUhB;AAED;;;;GAIG;AACH,yCAFW,MAAM,QA6ChB"}
@@ -1,20 +1,20 @@
1
1
  /**
2
2
  * Resets the text filter to its default state and updates the component.
3
3
  *
4
- * @param {Object} EOxItemFilterText - The EOxItemFilterText component instance.
4
+ * @param {object} EOxItemFilterText - The EOxItemFilterText component instance.
5
5
  */
6
- export function resetTextMethod(EOxItemFilterText: any): void;
6
+ export function resetTextMethod(EOxItemFilterText: object): void;
7
7
  /**
8
8
  * Appends text to the text filter input and applies it.
9
9
  *
10
10
  * @param {string} text - The text to append.
11
- * @param {Object} EOxItemFilterText - The EOxItemFilterText component instance.
11
+ * @param {object} EOxItemFilterText - The EOxItemFilterText component instance.
12
12
  */
13
- export function appendTextMethod(text: string, EOxItemFilterText: any): void;
13
+ export function appendTextMethod(text: string, EOxItemFilterText: object): void;
14
14
  /**
15
15
  * Handles input changes for the text filter and updates the filter state accordingly.
16
16
  *
17
- * @param {Object} EOxItemFilterText - The EOxItemFilterText component instance.
17
+ * @param {object} EOxItemFilterText - The EOxItemFilterText component instance.
18
18
  */
19
- export function textInputHandlerMethod(EOxItemFilterText: any): void;
19
+ export function textInputHandlerMethod(EOxItemFilterText: object): void;
20
20
  //# sourceMappingURL=text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/text.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,8DAMC;AAED;;;;;GAKG;AACH,uCAHW,MAAM,gCAQhB;AAED;;;;GAIG;AACH,qEAWC"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/text.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,mDAFW,MAAM,QAQhB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,qBACN,MAAM,QAOhB;AAED;;;;GAIG;AACH,0DAFW,MAAM,QAahB"}
@@ -2,10 +2,10 @@ export default createFilterMethod;
2
2
  /**
3
3
  * Creates a filter element based on the filter object type.
4
4
  *
5
- * @param {Object} filterObject - The filter object containing filter details.
5
+ * @param {object} filterObject - The filter object containing filter details.
6
6
  * @param {number} tabIndex - The tab index for the filter element.
7
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
7
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
8
8
  * @returns {import("lit").HTMLTemplateResult} The HTML template for the filter element.
9
9
  */
10
- declare function createFilterMethod(filterObject: any, tabIndex: number, EOxItemFilter: any): import("lit").HTMLTemplateResult;
10
+ declare function createFilterMethod(filterObject: object, tabIndex: number, EOxItemFilter: object): import("lit").HTMLTemplateResult;
11
11
  //# sourceMappingURL=create-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/create-filter.js"],"names":[],"mappings":";AAIA;;;;;;;GAOG;AACH,iEAJW,MAAM,uBAEJ,OAAO,KAAK,EAAE,kBAAkB,CA4E5C"}
1
+ {"version":3,"file":"create-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/create-filter.js"],"names":[],"mappings":";AAIA;;;;;;;GAOG;AACH,kDALW,MAAM,YACN,MAAM,iBACN,MAAM,GACJ,OAAO,KAAK,EAAE,kBAAkB,CA4E5C"}
@@ -2,10 +2,10 @@ export default createResetMethod;
2
2
  /**
3
3
  * Creates a reset button for the filter object if it is dirty.
4
4
  *
5
- * @param {Object} filterObject - The filter object containing filter details.
5
+ * @param {object} filterObject - The filter object containing filter details.
6
6
  * @param {number} tabIndex - The tab index for the reset button.
7
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
7
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
8
8
  * @returns {import("lit").HTMLTemplateResult} The HTML template for the reset button.
9
9
  */
10
- declare function createResetMethod(filterObject: any, tabIndex: number, EOxItemFilter: any): import("lit").HTMLTemplateResult;
10
+ declare function createResetMethod(filterObject: object, tabIndex: number, EOxItemFilter: object): import("lit").HTMLTemplateResult;
11
11
  //# sourceMappingURL=create-reset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-reset.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/create-reset.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH,gEAJW,MAAM,uBAEJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C"}
1
+ {"version":3,"file":"create-reset.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/create-reset.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH,iDALW,MAAM,YACN,MAAM,iBACN,MAAM,GACJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C"}
@@ -2,10 +2,10 @@ export default filterApplyMethod;
2
2
  /**
3
3
  * Applies filters to the provided items based on the given configuration and updates the EOxItemFilter instance.
4
4
  *
5
- * @param {Object} config - The configuration object for the filters.
6
- * @param {Array<Object>} items - The items to be filtered.
7
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
5
+ * @param {object} config - The configuration object for the filters.
6
+ * @param {Array<object>} items - The items to be filtered.
7
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
8
8
  * @returns {Array<string>} The aggregated results if config.aggregateResults is specified, otherwise an empty array.
9
9
  */
10
- declare function filterApplyMethod(config: any, items: Array<any>, EOxItemFilter: any): Array<string>;
10
+ declare function filterApplyMethod(config: object, items: Array<object>, EOxItemFilter: object): Array<string>;
11
11
  //# sourceMappingURL=filter-apply.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-apply.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/filter-apply.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH,uDAJW,KAAK,KAAQ,uBAEX,KAAK,CAAC,MAAM,CAAC,CAkNzB"}
1
+ {"version":3,"file":"filter-apply.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/filter-apply.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH,2CALW,MAAM,SACN,KAAK,CAAC,MAAM,CAAC,iBACb,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAkNzB"}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * Resets all filters in the EOxItemFilter component and triggers a search update.
3
3
  *
4
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
4
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
5
+ * @param {boolean} [isUser=false] - Whether the reset was triggered by user interaction.
5
6
  */
6
- export default function resetFilterMethod(EOxItemFilter: any): void;
7
+ export default function resetFilterMethod(EOxItemFilter: object, isUser?: boolean): void;
7
8
  //# sourceMappingURL=reset-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/reset-filter.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oEAOC"}
1
+ {"version":3,"file":"reset-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/reset-filter.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,yDAHW,MAAM,WACN,OAAO,QASjB"}
@@ -2,10 +2,10 @@ export default searchMethod;
2
2
  /**
3
3
  * Executes a search based on the provided configuration, items, and filters in the EOxItemFilter component.
4
4
  *
5
- * @param {Object} config - The configuration object for the search.
6
- * @param {Array<Object>} items - The items to be filtered.
7
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
5
+ * @param {object} config - The configuration object for the search.
6
+ * @param {Array<object>} items - The items to be filtered.
7
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
8
8
  * @returns {Promise<void>} A promise that resolves when the search is complete.
9
9
  */
10
- declare function searchMethod(config: any, items: Array<any>, EOxItemFilter: any): Promise<void>;
10
+ declare function searchMethod(config: object, items: Array<object>, EOxItemFilter: object): Promise<void>;
11
11
  //# sourceMappingURL=search.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/search.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH,kDAJW,KAAK,KAAQ,uBAEX,OAAO,CAAC,IAAI,CAAC,CAazB"}
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/search.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH,sCALW,MAAM,SACN,KAAK,CAAC,MAAM,CAAC,iBACb,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAazB"}
@@ -8,13 +8,13 @@ export default sortResultsMethod;
8
8
  * - function: custom comparator function (a, b) => number
9
9
  * - object: { key: string, order?: 'asc' | 'desc' }
10
10
  *
11
- * @param {Array<Object>} items - The items to be sorted.
12
- * @param {Object} config - The configuration object containing sorting options.
13
- * @param {Object} [options] - Optional sorting parameters.
11
+ * @param {Array<object>} items - The items to be sorted.
12
+ * @param {object} config - The configuration object containing sorting options.
13
+ * @param {object} [options] - Optional sorting parameters.
14
14
  * @param {boolean} [options.isExternalResult] - Flag for results from external filter.
15
- * @returns {Array<Object>} The sorted array of items.
15
+ * @returns {Array<object>} The sorted array of items.
16
16
  */
17
- declare function sortResultsMethod(items: Array<any>, config: any, options?: {
17
+ declare function sortResultsMethod(items: Array<object>, config: object, options?: {
18
18
  isExternalResult?: boolean;
19
- }): Array<any>;
19
+ }): Array<object>;
20
20
  //# sourceMappingURL=sort-results.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sort-results.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/sort-results.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;GAcG;AACH,0CANW,KAAK,KAAQ,yBAGrB;IAA0B,gBAAgB,GAAlC,OAAO;CACf,GAAU,KAAK,KAAQ,CA+CzB"}
1
+ {"version":3,"file":"sort-results.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/sort-results.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;GAcG;AACH,0CANW,KAAK,CAAC,MAAM,CAAC,UACb,MAAM,YAEd;IAA0B,gBAAgB,GAAlC,OAAO;CACf,GAAU,KAAK,CAAC,MAAM,CAAC,CA+CzB"}
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * Filters and aggregates results based on a specified property in the EOxItemFilterResults component.
3
3
  *
4
- * @param {Array<Object>} items - The items to be filtered and aggregated.
4
+ * @param {Array<object>} items - The items to be filtered and aggregated.
5
5
  * @param {string} property - The property used for aggregation.
6
- * @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
7
- * @returns {Array<Object>} The filtered and aggregated items.
6
+ * @param {object} EOxItemFilterResults - The EOxItemFilterResults component instance.
7
+ * @returns {Array<object>} The filtered and aggregated items.
8
8
  */
9
- export function aggregateResultsMethod(items: Array<any>, property: string, EOxItemFilterResults: any): Array<any>;
9
+ export function aggregateResultsMethod(items: Array<object>, property: string, EOxItemFilterResults: object): Array<object>;
10
10
  export default aggregateResultsMethod;
11
11
  //# sourceMappingURL=aggregate-results.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-results.d.ts","sourceRoot":"","sources":["../../../src/methods/results/aggregate-results.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,8CALW,KAAK,KAAQ,YACb,MAAM,8BAEJ,KAAK,KAAQ,CAmDzB"}
1
+ {"version":3,"file":"aggregate-results.d.ts","sourceRoot":"","sources":["../../../src/methods/results/aggregate-results.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,8CALW,KAAK,CAAC,MAAM,CAAC,YACb,MAAM,wBACN,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAmDzB"}
@@ -2,16 +2,16 @@
2
2
  * Creates the item details view for the aggregation property in the EOxItemFilterResults component.
3
3
  *
4
4
  * @param {string} aggregationProperty - The property used for aggregation.
5
- * @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
5
+ * @param {object} EOxItemFilterResults - The EOxItemFilterResults component instance.
6
6
  * @returns {import("lit").HTMLTemplateResult} The HTML template for the item details view.
7
7
  */
8
- export function createItemDetailsMethod(aggregationProperty: string, EOxItemFilterResults: any): import("lit").HTMLTemplateResult;
8
+ export function createItemDetailsMethod(aggregationProperty: string, EOxItemFilterResults: object): import("lit").HTMLTemplateResult;
9
9
  /**
10
10
  * Creates the item list view for the aggregation property in the EOxItemFilterResults component.
11
11
  *
12
- * @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
12
+ * @param {object} EOxItemFilterResults - The EOxItemFilterResults component instance.
13
13
  * @param {string} [aggregationProperty] - The property used for aggregation.
14
14
  * @returns {import("lit").TemplateResult} The HTML template for the item list view.
15
15
  */
16
- export function createItemListMethod(EOxItemFilterResults: any, aggregationProperty?: string): import("lit").TemplateResult;
16
+ export function createItemListMethod(EOxItemFilterResults: object, aggregationProperty?: string): import("lit").TemplateResult;
17
17
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/methods/results/create.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,6DAJW,MAAM,8BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C;AAED;;;;;;GAMG;AACH,sFAHW,MAAM,GACJ,OAAO,KAAK,EAAE,cAAc,CAyLxC"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/methods/results/create.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,6DAJW,MAAM,wBACN,MAAM,GACJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C;AAED;;;;;;GAMG;AACH,2DAJW,MAAM,wBACN,MAAM,GACJ,OAAO,KAAK,EAAE,cAAc,CAyLxC"}