@eox/itemfilter 1.17.5 → 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 (128) hide show
  1. package/dist/eox-itemfilter.js +2289 -2024
  2. package/dist/eox-itemfilter.umd.cjs +153 -120
  3. package/package.json +8 -8
  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 +18 -5
  10. package/src/components/itemfilter-container.js +70 -12
  11. package/src/components/results.js +5 -5
  12. package/src/enums/config.js +6 -0
  13. package/src/enums/index.js +6 -1
  14. package/src/helpers/chip-items.js +2 -2
  15. package/src/helpers/filter-client.js +6 -6
  16. package/src/helpers/filter-external.js +4 -4
  17. package/src/helpers/get-value.js +1 -1
  18. package/src/helpers/highlighting.js +2 -2
  19. package/src/helpers/is-date.js +1 -1
  20. package/src/helpers/is-filters-dirty.js +1 -1
  21. package/src/helpers/map-layers.js +2 -2
  22. package/src/helpers/merge-highlight-indices.js +1 -1
  23. package/src/helpers/reset-filter.js +2 -2
  24. package/src/helpers/spatial.js +4 -4
  25. package/src/helpers/toggle-accordion.js +1 -1
  26. package/src/main.js +57 -42
  27. package/src/methods/chips/handler.js +4 -7
  28. package/src/methods/container/handler.js +21 -5
  29. package/src/methods/container/index.js +6 -0
  30. package/src/methods/container/init-popver.js +2 -2
  31. package/src/methods/container/inline-search.js +54 -0
  32. package/src/methods/container/reset-filter.js +5 -2
  33. package/src/methods/container/reset-search.js +7 -4
  34. package/src/methods/container/search-filter.js +10 -1
  35. package/src/methods/filters/index.js +5 -1
  36. package/src/methods/filters/range.js +2 -2
  37. package/src/methods/filters/selector.js +26 -18
  38. package/src/methods/filters/spatial.js +5 -5
  39. package/src/methods/filters/text.js +15 -2
  40. package/src/methods/itemfilter/create-filter.js +6 -6
  41. package/src/methods/itemfilter/create-reset.js +3 -3
  42. package/src/methods/itemfilter/filter-apply.js +10 -3
  43. package/src/methods/itemfilter/reset-filter.js +4 -3
  44. package/src/methods/itemfilter/search.js +3 -3
  45. package/src/methods/itemfilter/sort-results.js +4 -4
  46. package/src/methods/results/aggregate-results.js +3 -3
  47. package/src/methods/results/create.js +2 -2
  48. package/types/components/chips.d.ts +3 -3
  49. package/types/components/expand-container.d.ts +3 -3
  50. package/types/components/expand-container.d.ts.map +1 -1
  51. package/types/components/filters/range.d.ts +3 -3
  52. package/types/components/filters/range.d.ts.map +1 -1
  53. package/types/components/filters/selector.d.ts +9 -9
  54. package/types/components/filters/spatial.d.ts +7 -7
  55. package/types/components/filters/spatial.d.ts.map +1 -1
  56. package/types/components/filters/text.d.ts +10 -4
  57. package/types/components/filters/text.d.ts.map +1 -1
  58. package/types/components/itemfilter-container.d.ts +14 -5
  59. package/types/components/itemfilter-container.d.ts.map +1 -1
  60. package/types/components/results.d.ts +5 -5
  61. package/types/enums/config.d.ts +5 -0
  62. package/types/enums/config.d.ts.map +1 -1
  63. package/types/enums/index.d.ts +1 -1
  64. package/types/helpers/chip-items.d.ts +3 -3
  65. package/types/helpers/chip-items.d.ts.map +1 -1
  66. package/types/helpers/filter-client.d.ts +2 -2
  67. package/types/helpers/filter-client.d.ts.map +1 -1
  68. package/types/helpers/filter-external.d.ts +5 -5
  69. package/types/helpers/filter-external.d.ts.map +1 -1
  70. package/types/helpers/get-value.d.ts +2 -2
  71. package/types/helpers/get-value.d.ts.map +1 -1
  72. package/types/helpers/highlighting.d.ts +3 -3
  73. package/types/helpers/highlighting.d.ts.map +1 -1
  74. package/types/helpers/is-date.d.ts +2 -2
  75. package/types/helpers/is-date.d.ts.map +1 -1
  76. package/types/helpers/is-filters-dirty.d.ts +2 -2
  77. package/types/helpers/is-filters-dirty.d.ts.map +1 -1
  78. package/types/helpers/map-layers.d.ts +3 -3
  79. package/types/helpers/map-layers.d.ts.map +1 -1
  80. package/types/helpers/merge-highlight-indices.d.ts +1 -1
  81. package/types/helpers/reset-filter.d.ts +3 -3
  82. package/types/helpers/reset-filter.d.ts.map +1 -1
  83. package/types/helpers/spatial.d.ts +2 -2
  84. package/types/helpers/spatial.d.ts.map +1 -1
  85. package/types/helpers/toggle-accordion.d.ts +2 -2
  86. package/types/helpers/toggle-accordion.d.ts.map +1 -1
  87. package/types/main.d.ts +17 -12
  88. package/types/main.d.ts.map +1 -1
  89. package/types/methods/chips/handler.d.ts +6 -6
  90. package/types/methods/chips/handler.d.ts.map +1 -1
  91. package/types/methods/container/handler.d.ts +18 -10
  92. package/types/methods/container/handler.d.ts.map +1 -1
  93. package/types/methods/container/index.d.ts +2 -1
  94. package/types/methods/container/init-popver.d.ts +3 -3
  95. package/types/methods/container/init-popver.d.ts.map +1 -1
  96. package/types/methods/container/inline-search.d.ts +22 -0
  97. package/types/methods/container/inline-search.d.ts.map +1 -0
  98. package/types/methods/container/reset-filter.d.ts +2 -2
  99. package/types/methods/container/reset-filter.d.ts.map +1 -1
  100. package/types/methods/container/reset-search.d.ts +2 -2
  101. package/types/methods/container/reset-search.d.ts.map +1 -1
  102. package/types/methods/container/search-filter.d.ts +2 -2
  103. package/types/methods/container/search-filter.d.ts.map +1 -1
  104. package/types/methods/filters/index.d.ts +1 -1
  105. package/types/methods/filters/range.d.ts +4 -4
  106. package/types/methods/filters/range.d.ts.map +1 -1
  107. package/types/methods/filters/selector.d.ts +15 -14
  108. package/types/methods/filters/selector.d.ts.map +1 -1
  109. package/types/methods/filters/spatial.d.ts +8 -8
  110. package/types/methods/filters/spatial.d.ts.map +1 -1
  111. package/types/methods/filters/text.d.ts +11 -4
  112. package/types/methods/filters/text.d.ts.map +1 -1
  113. package/types/methods/itemfilter/create-filter.d.ts +3 -3
  114. package/types/methods/itemfilter/create-filter.d.ts.map +1 -1
  115. package/types/methods/itemfilter/create-reset.d.ts +3 -3
  116. package/types/methods/itemfilter/create-reset.d.ts.map +1 -1
  117. package/types/methods/itemfilter/filter-apply.d.ts +4 -4
  118. package/types/methods/itemfilter/filter-apply.d.ts.map +1 -1
  119. package/types/methods/itemfilter/reset-filter.d.ts +3 -2
  120. package/types/methods/itemfilter/reset-filter.d.ts.map +1 -1
  121. package/types/methods/itemfilter/search.d.ts +4 -4
  122. package/types/methods/itemfilter/search.d.ts.map +1 -1
  123. package/types/methods/itemfilter/sort-results.d.ts +6 -6
  124. package/types/methods/itemfilter/sort-results.d.ts.map +1 -1
  125. package/types/methods/results/aggregate-results.d.ts +4 -4
  126. package/types/methods/results/aggregate-results.d.ts.map +1 -1
  127. package/types/methods/results/create.d.ts +4 -4
  128. package/types/methods/results/create.d.ts.map +1 -1
@@ -3,7 +3,7 @@ import { getMapLayers, resetFilter } from "../../helpers/index.js";
3
3
  /**
4
4
  * Resets the spatial filter to its default state and updates the component.
5
5
  *
6
- * @param {Object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
6
+ * @param {object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
7
7
  */
8
8
  export function resetSpatialMethod(EOxItemFilterSpatial) {
9
9
  resetFilter(EOxItemFilterSpatial.filterObject);
@@ -18,7 +18,7 @@ export function resetSpatialMethod(EOxItemFilterSpatial) {
18
18
  /**
19
19
  * Resets the spatial filter map and re-initializes it.
20
20
  *
21
- * @param {Object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
21
+ * @param {object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
22
22
  */
23
23
  export function resetSpatialFilterMethod(EOxItemFilterSpatial) {
24
24
  EOxItemFilterSpatial.renderRoot.querySelector("#eox-map").innerHTML = "";
@@ -29,7 +29,7 @@ export function resetSpatialFilterMethod(EOxItemFilterSpatial) {
29
29
  * Handles the click event for spatial mode buttons and updates the filter state.
30
30
  *
31
31
  * @param {string} mode - The selected spatial mode.
32
- * @param {Object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
32
+ * @param {object} EOxItemFilterSpatial - The EOxItemFilterSpatial component instance.
33
33
  */
34
34
  export function handleClickSpatialMethod(mode, EOxItemFilterSpatial) {
35
35
  EOxItemFilterSpatial.filterObject.state.mode = mode;
@@ -44,7 +44,7 @@ export function handleClickSpatialMethod(mode, EOxItemFilterSpatial) {
44
44
  /**
45
45
  * Sets up the spatial filter map and its interactions.
46
46
  *
47
- * @param {Object} that - The EOxItemFilterSpatial component instance.
47
+ * @param {object} that - The EOxItemFilterSpatial component instance.
48
48
  */
49
49
  export function setupSpatialMethod(that) {
50
50
  const parentEOxMap = that.renderRoot.querySelector("#eox-map");
@@ -94,7 +94,7 @@ export function setupSpatialMethod(that) {
94
94
  /**
95
95
  * Creates a URL for a GeoJSON feature collection from the given geometry.
96
96
  *
97
- * @param {Object} geometry - The geometry to include in the feature collection.
97
+ * @param {object} geometry - The geometry to include in the feature collection.
98
98
  * @returns {string} The URL for the GeoJSON feature collection.
99
99
  */
100
100
  function createFeatureUrl(geometry) {
@@ -3,7 +3,7 @@ import { resetFilter } from "../../helpers/index.js";
3
3
  /**
4
4
  * Resets the text filter to its default state and updates the component.
5
5
  *
6
- * @param {Object} EOxItemFilterText - The EOxItemFilterText component instance.
6
+ * @param {object} EOxItemFilterText - The EOxItemFilterText component instance.
7
7
  */
8
8
  export function resetTextMethod(EOxItemFilterText) {
9
9
  const searchInput =
@@ -13,10 +13,23 @@ export function resetTextMethod(EOxItemFilterText) {
13
13
  EOxItemFilterText.requestUpdate();
14
14
  }
15
15
 
16
+ /**
17
+ * Appends text to the text filter input and applies it.
18
+ *
19
+ * @param {string} text - The text to append.
20
+ * @param {object} EOxItemFilterText - The EOxItemFilterText component instance.
21
+ */
22
+ export function appendTextMethod(text, EOxItemFilterText) {
23
+ const searchInput =
24
+ EOxItemFilterText.renderRoot.querySelector("input[type='text']");
25
+ searchInput.value = [searchInput.value, text].filter(Boolean).join(" ");
26
+ EOxItemFilterText.debouncedInputHandler();
27
+ }
28
+
16
29
  /**
17
30
  * Handles input changes for the text filter and updates the filter state accordingly.
18
31
  *
19
- * @param {Object} EOxItemFilterText - The EOxItemFilterText component instance.
32
+ * @param {object} EOxItemFilterText - The EOxItemFilterText component instance.
20
33
  */
21
34
  export function textInputHandlerMethod(EOxItemFilterText) {
22
35
  const searchInput =
@@ -5,9 +5,9 @@ import flatMap from "lodash.flatmap";
5
5
  /**
6
6
  * Creates a filter element based on the filter object type.
7
7
  *
8
- * @param {Object} filterObject - The filter object containing filter details.
8
+ * @param {object} filterObject - The filter object containing filter details.
9
9
  * @param {number} tabIndex - The tab index for the filter element.
10
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
10
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
11
11
  * @returns {import("lit").HTMLTemplateResult} The HTML template for the filter element.
12
12
  */
13
13
  function createFilterMethod(filterObject, tabIndex, EOxItemFilter) {
@@ -28,7 +28,7 @@ function createFilterMethod(filterObject, tabIndex, EOxItemFilter) {
28
28
  .results=${EOxItemFilter.results}
29
29
  .unstyled=${EOxItemFilter.unstyled}
30
30
  @result=${EOxItemFilter.updateResult}
31
- @filter=${() => EOxItemFilter.search()}
31
+ @filter=${() => EOxItemFilter.search(true)}
32
32
  ></eox-itemfilter-text>`;
33
33
 
34
34
  case "multiselect":
@@ -47,7 +47,7 @@ function createFilterMethod(filterObject, tabIndex, EOxItemFilter) {
47
47
  ).filter((i) => i)}"
48
48
  type="${filterObject.type}"
49
49
  .unstyled=${EOxItemFilter.unstyled}
50
- @filter=${() => EOxItemFilter.search()}
50
+ @filter=${() => EOxItemFilter.search(true)}
51
51
  ></eox-itemfilter-select>
52
52
  `;
53
53
  case "range":
@@ -64,7 +64,7 @@ function createFilterMethod(filterObject, tabIndex, EOxItemFilter) {
64
64
  flatMap(EOxItemFilter.items, filterObject.key),
65
65
  ).filter((i) => i)}"
66
66
  .unstyled=${EOxItemFilter.unstyled}
67
- @filter=${() => EOxItemFilter.search()}
67
+ @filter=${() => EOxItemFilter.search(true)}
68
68
  ></eox-itemfilter-range>
69
69
  `;
70
70
  case "spatial":
@@ -76,7 +76,7 @@ function createFilterMethod(filterObject, tabIndex, EOxItemFilter) {
76
76
  .tabIndex=${tabIndex}
77
77
  .filterObject=${filterObject}
78
78
  slot="filter"
79
- @filter=${() => EOxItemFilter.search()}
79
+ @filter=${() => EOxItemFilter.search(true)}
80
80
  ></eox-itemfilter-spatial>
81
81
  `;
82
82
 
@@ -4,9 +4,9 @@ import { when } from "lit/directives/when.js";
4
4
  /**
5
5
  * Creates a reset button for the filter object if it is dirty.
6
6
  *
7
- * @param {Object} filterObject - The filter object containing filter details.
7
+ * @param {object} filterObject - The filter object containing filter details.
8
8
  * @param {number} tabIndex - The tab index for the reset button.
9
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
9
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
10
10
  * @returns {import("lit").HTMLTemplateResult} The HTML template for the reset button.
11
11
  */
12
12
  function createResetMethod(filterObject, tabIndex, EOxItemFilter) {
@@ -25,7 +25,7 @@ function createResetMethod(filterObject, tabIndex, EOxItemFilter) {
25
25
  if (filterElement && typeof filterElement.reset === "function") {
26
26
  filterElement.reset();
27
27
  }
28
- EOxItemFilter.search();
28
+ EOxItemFilter.search(true);
29
29
  EOxItemFilter.requestUpdate();
30
30
  }}
31
31
  >
@@ -7,9 +7,9 @@ import { DATE_TIME_FORMAT } from "../../enums/index.js";
7
7
  /**
8
8
  * Applies filters to the provided items based on the given configuration and updates the EOxItemFilter instance.
9
9
  *
10
- * @param {Object} config - The configuration object for the filters.
11
- * @param {Array<Object>} items - The items to be filtered.
12
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
10
+ * @param {object} config - The configuration object for the filters.
11
+ * @param {Array<object>} items - The items to be filtered.
12
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
13
13
  * @returns {Array<string>} The aggregated results if config.aggregateResults is specified, otherwise an empty array.
14
14
  */
15
15
  function filterApplyMethod(config, items, EOxItemFilter) {
@@ -54,6 +54,8 @@ function filterApplyMethod(config, items, EOxItemFilter) {
54
54
  }
55
55
  return;
56
56
  }
57
+ // Text filters use `keys`, so no state keys come from item values
58
+ if (filterProperty.type === "text") return;
57
59
  if (Array.isArray(item[filterProperty.key])) {
58
60
  item[filterProperty.key].forEach((prop) => {
59
61
  filterKeys[prop] = undefined;
@@ -153,6 +155,11 @@ function filterApplyMethod(config, items, EOxItemFilter) {
153
155
  existingFilter?.state || {},
154
156
  filterProperty.state,
155
157
  );
158
+ if (filterProperty.type === "text") {
159
+ EOxItemFilter.filters[filterKey].stringifiedState = Object.values(
160
+ EOxItemFilter.filters[filterKey].state,
161
+ ).find(Boolean);
162
+ }
156
163
 
157
164
  if (filterProperty.type === "range" && filterProperty.state) {
158
165
  const parseVal = (val) => {
@@ -1,13 +1,14 @@
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) {
7
+ export default function resetFilterMethod(EOxItemFilter, isUser = false) {
7
8
  EOxItemFilter.renderRoot
8
9
  .querySelectorAll("[data-type='filter']")
9
10
  .forEach((filter) => {
10
11
  if (typeof filter.reset === "function") filter.reset();
11
12
  });
12
- EOxItemFilter.search();
13
+ EOxItemFilter.search(isUser);
13
14
  }
@@ -4,9 +4,9 @@ import { filterExternal } from "../../helpers";
4
4
  /**
5
5
  * Executes a search based on the provided configuration, items, and filters in the EOxItemFilter component.
6
6
  *
7
- * @param {Object} config - The configuration object for the search.
8
- * @param {Array<Object>} items - The items to be filtered.
9
- * @param {Object} EOxItemFilter - The EOxItemFilter component instance.
7
+ * @param {object} config - The configuration object for the search.
8
+ * @param {Array<object>} items - The items to be filtered.
9
+ * @param {object} EOxItemFilter - The EOxItemFilter component instance.
10
10
  * @returns {Promise<void>} A promise that resolves when the search is complete.
11
11
  */
12
12
  async function searchMethod(config, items, EOxItemFilter) {
@@ -9,11 +9,11 @@ import { getValue } from "../../helpers";
9
9
  * - function: custom comparator function (a, b) => number
10
10
  * - object: { key: string, order?: 'asc' | 'desc' }
11
11
  *
12
- * @param {Array<Object>} items - The items to be sorted.
13
- * @param {Object} config - The configuration object containing sorting options.
14
- * @param {Object} [options] - Optional sorting parameters.
12
+ * @param {Array<object>} items - The items to be sorted.
13
+ * @param {object} config - The configuration object containing sorting options.
14
+ * @param {object} [options] - Optional sorting parameters.
15
15
  * @param {boolean} [options.isExternalResult] - Flag for results from external filter.
16
- * @returns {Array<Object>} The sorted array of items.
16
+ * @returns {Array<object>} The sorted array of items.
17
17
  */
18
18
  function sortResultsMethod(items, config, options = {}) {
19
19
  const { resultSorting } = config;
@@ -1,10 +1,10 @@
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
9
  export function aggregateResultsMethod(items, property, EOxItemFilterResults) {
10
10
  // If the category itself is an empty string, return nothing immediately.
@@ -9,7 +9,7 @@ import { capitalize, getValue } from "../../helpers";
9
9
  * Creates the item details view for the aggregation property in the EOxItemFilterResults component.
10
10
  *
11
11
  * @param {string} aggregationProperty - The property used for aggregation.
12
- * @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
12
+ * @param {object} EOxItemFilterResults - The EOxItemFilterResults component instance.
13
13
  * @returns {import("lit").HTMLTemplateResult} The HTML template for the item details view.
14
14
  */
15
15
  export function createItemDetailsMethod(
@@ -54,7 +54,7 @@ export function createItemDetailsMethod(
54
54
  /**
55
55
  * Creates the item list view for the aggregation property in the EOxItemFilterResults component.
56
56
  *
57
- * @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
57
+ * @param {object} EOxItemFilterResults - The EOxItemFilterResults component instance.
58
58
  * @param {string} [aggregationProperty] - The property used for aggregation.
59
59
  * @returns {import("lit").TemplateResult} The HTML template for the item list view.
60
60
  */
@@ -4,9 +4,9 @@
4
4
  * close events, and keyboard events.
5
5
  *
6
6
  * @module EOxItemFilterChips
7
- * @extends LitElement
8
- * @property {Object} items - The items to be displayed as chips.
9
- * @property {Object} controller - The controller object to manage chip actions.
7
+ * @augments LitElement
8
+ * @property {object} items - The items to be displayed as chips.
9
+ * @property {object} controller - The controller object to manage chip actions.
10
10
  */
11
11
  export class EOxItemFilterChipsV2 extends LitElement {
12
12
  static get properties(): {
@@ -3,9 +3,9 @@
3
3
  * The component supports a featured view and an expandable details view.
4
4
  *
5
5
  * @module EOxItemFilterExpandContainer
6
- * @extends LitElement
7
- * @property {Object} filterObject - The filter object containing state and properties such as title and expanded state.
8
- * @property {Boolean} unstyled - Flag to determine if default styles should be applied.
6
+ * @augments LitElement
7
+ * @property {object} filterObject - The filter object containing state and properties such as title and expanded state.
8
+ * @property {boolean} unstyled - Flag to determine if default styles should be applied.
9
9
  */
10
10
  export class EOxItemFilterExpandContainer extends LitElement {
11
11
  static get properties(): {
@@ -1 +1 @@
1
- {"version":3,"file":"expand-container.d.ts","sourceRoot":"","sources":["../../src/components/expand-container.js"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;MAKC;IAKC;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,kBAAqB;IAmBvB;;OAEG;IACH,+CA2CC;;CACF;2BAnGyC,KAAK"}
1
+ {"version":3,"file":"expand-container.d.ts","sourceRoot":"","sources":["../../src/components/expand-container.js"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;MAKC;IAKC;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,kBAAqB;IAoCvB;;OAEG;IACH,+CAgDC;;CACF;2BA1HyC,KAAK"}
@@ -4,10 +4,10 @@
4
4
  * generating labels, and resetting the range filter.
5
5
  *
6
6
  * @module EOxItemFilterRange
7
- * @extends LitElement
8
- * @property {Object} filterObject - The filter object containing state and range limits.
7
+ * @augments LitElement
8
+ * @property {object} filterObject - The filter object containing state and range limits.
9
9
  * @property {Array} suggestions - The list of suggestions for the selector.
10
- * @property {Number} tabIndex - The tab index for the input elements.
10
+ * @property {number} tabIndex - The tab index for the input elements.
11
11
  */
12
12
  export class EOxItemFilterRange extends LitElement {
13
13
  static properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/components/filters/range.js"],"names":[],"mappings":"AAaA;;;;;;;;;;GAUG;AACH;IAEE;;;;;;;;;;;;;;;;;MAKE;IAKA;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,mBAAqB;IAOrB;;OAEG;IACH,oBAAuB;IAEvB;;OAEG;IACH,cAFU,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CAEQ;IAEjD;;OAEG;IACH,gCAEE;IAuBJ;;OAEG;IACH,cAEC;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAED;;OAEG;IACH,oBAyEC;;CACF;2BAtLgC,KAAK"}
1
+ {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/components/filters/range.js"],"names":[],"mappings":"AAaA;;;;;;;;;;GAUG;AACH;IAEE;;;;;;;;;;;;;;;;;MAKE;IAKA;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,mBAAqB;IAOrB;;OAEG;IACH,oBAAuB;IAEvB;;OAEG;IACH,cAFU,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CAEQ;IAEjD;;OAEG;IACH,gCAEE;IAuBJ;;OAEG;IACH,cAEC;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAED;;OAEG;IACH,oBA4EC;;CACF;2BAzLgC,KAAK"}
@@ -4,18 +4,18 @@
4
4
  * key events, and selection updates.
5
5
  *
6
6
  * @module EOxSelector
7
- * @extends LitElement
8
- * @property {Object} filterObject - The filter object containing state and placeholder.
7
+ * @augments LitElement
8
+ * @property {object} filterObject - The filter object containing state and placeholder.
9
9
  * @property {Array} suggestions - The list of suggestions for the selector.
10
10
  * @property {Array} selectedItems - The list of currently selected items.
11
- * @property {String} query - The current input query for autocomplete.
12
- * @property {Boolean} showSuggestions - Flag to control the display of suggestions in autocomplete mode.
13
- * @property {Number} highlightedIndex - The index of the currently highlighted suggestion.
11
+ * @property {string} query - The current input query for autocomplete.
12
+ * @property {boolean} showSuggestions - Flag to control the display of suggestions in autocomplete mode.
13
+ * @property {number} highlightedIndex - The index of the currently highlighted suggestion.
14
14
  * @property {Array} filteredSuggestions - The list of suggestions filtered based on the query.
15
- * @property {String} type - The type of selector ("select", "multi-select", etc.).
16
- * @property {Boolean} unstyled - Flag to determine if default styles should be applied.
17
- * @property {Number} tabIndex - The tab index for the input elements.
18
- * @property {Boolean} inlineMode - State whether to enable or disable inline mode
15
+ * @property {string} type - The type of selector ("select", "multi-select", etc.).
16
+ * @property {boolean} unstyled - Flag to determine if default styles should be applied.
17
+ * @property {number} tabIndex - The tab index for the input elements.
18
+ * @property {boolean} inlineMode - State whether to enable or disable inline mode
19
19
  */
20
20
  export class EOxSelector extends LitElement {
21
21
  static properties: {
@@ -1,12 +1,12 @@
1
- export function within(itemGeometry: any, filterGeometry: any): boolean;
1
+ export function within(itemGeometry: object, filterGeometry: object): boolean;
2
2
  /**
3
3
  * EOxItemFilterSpatial is a custom web component that provides a spatial filter for items.
4
4
  * The component allows users to select a spatial filter mode (intersects or within) and apply it to a map.
5
5
  *
6
6
  * @module EOxItemFilterSpatial
7
- * @extends LitElement
8
- * @property {Object} filterObject - The filter object containing the state and geometry.
9
- * @property {Number} tabIndex - The tab index for the input elements.
7
+ * @augments LitElement
8
+ * @property {object} filterObject - The filter object containing the state and geometry.
9
+ * @property {number} tabIndex - The tab index for the input elements.
10
10
  */
11
11
  export class EOxItemFilterSpatial extends LitElement {
12
12
  static get properties(): {
@@ -43,9 +43,9 @@ export class EOxItemFilterSpatial extends LitElement {
43
43
  * It uses the LitElement base class and integrates with external methods for setup and reset functionalities.
44
44
  *
45
45
  * @module SpatialFilter
46
- * @extends LitElement
47
- * @property {Object} geometry - The geometry object used for the spatial filter.
48
- * @property {Object} eoxMap - The map object used to display and interact with the spatial filter.
46
+ * @augments LitElement
47
+ * @property {object} geometry - The geometry object used for the spatial filter.
48
+ * @property {object} eoxMap - The map object used to display and interact with the spatial filter.
49
49
  */
50
50
  export class SpatialFilter extends LitElement {
51
51
  static get properties(): {
@@ -1 +1 @@
1
- {"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../../src/components/filters/spatial.js"],"names":[],"mappings":"AAkBO,gEAFM,OAAO,CAOnB;AAED;;;;;;;;GAQG;AACH;IAEE;;;;;;;;MAKC;IAKC;;OAEG;IACH,kBAAsB;IAQxB;;OAEG;IACH,cAEC;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAWD;;OAEG;IACH,oBAuCC;;CACF;AAID;;;;;;;;GAQG;AACH;IAEE;;;;;;;MAKC;IAKC;;OAEG;IACH,cAAoB;IAEpB;;OAEG;IACH,YAAkB;IAGpB;;OAEG;IACH,qBAEC;IASD;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,+CAEC;;CACF;2BA5LyC,KAAK"}
1
+ {"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../../src/components/filters/spatial.js"],"names":[],"mappings":"AAkBO,qCAJI,MAAM,kBACN,MAAM,GACJ,OAAO,CAOnB;AAED;;;;;;;;GAQG;AACH;IAEE;;;;;;;;MAKC;IAKC;;OAEG;IACH,kBAAsB;IAQxB;;OAEG;IACH,cAEC;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAWD;;OAEG;IACH,oBAuCC;;CACF;AAID;;;;;;;;GAQG;AACH;IAEE;;;;;;;MAKC;IAKC;;OAEG;IACH,cAAoB;IAEpB;;OAEG;IACH,YAAkB;IAGpB;;OAEG;IACH,qBAEC;IASD;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,+CAEC;;CACF;2BA5LyC,KAAK"}
@@ -2,10 +2,10 @@
2
2
  * EOxItemFilterText is a custom web component that provides a text input field for filtering items.
3
3
  *
4
4
  * @module EOxItemFilterText
5
- * @extends LitElement
6
- * @property {Object} filterObject - The filter object containing the state and placeholder.
7
- * @property {Number} tabIndex - The tab index for the input element.
8
- * @property {Boolean} unstyled - Flag to determine if default styles should be applied.
5
+ * @augments LitElement
6
+ * @property {object} filterObject - The filter object containing the state and placeholder.
7
+ * @property {number} tabIndex - The tab index for the input element.
8
+ * @property {boolean} unstyled - Flag to determine if default styles should be applied.
9
9
  */
10
10
  export class EOxItemFilterText extends LitElement {
11
11
  static get properties(): {
@@ -49,6 +49,12 @@ export class EOxItemFilterText extends LitElement {
49
49
  * Resets the text input by calling the resetTextMethod with the current context.
50
50
  */
51
51
  reset(): void;
52
+ /**
53
+ * Appends text to the input and applies it by calling the appendTextMethod with the current context.
54
+ *
55
+ * @param {string} text - The text to append.
56
+ */
57
+ appendText(text: string): void;
52
58
  /**
53
59
  * Debounced version of the input handler to improve performance by limiting the rate at which the input handler is called.
54
60
  */
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/filters/text.js"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;MAQC;IAKC;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,eAAmB;IAEnB;;OAEG;IACH,kBAAqB;IAOrB;;OAEG;IACH,iBAAoB;IAgCtB;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,yEAEG;IAEH;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAGD,oBAkCC;;CACF;2BA/IgC,KAAK"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/filters/text.js"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;MAQC;IAKC;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,eAAmB;IAEnB;;OAEG;IACH,kBAAqB;IAOrB;;OAEG;IACH,iBAAoB;IAgCtB;;OAEG;IACH,cAEC;IAED;;;;OAIG;IACH,iBAFW,MAAM,QAIhB;IAED;;OAEG;IACH,yEAEG;IAEH;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAGD,oBAkCC;;CACF;2BA5JgC,KAAK"}
@@ -2,11 +2,12 @@
2
2
  * EOxItemFilterContainer is a custom web component that provides a container for item filters.
3
3
  *
4
4
  * @module EOxItemFilterContainer
5
- * @extends LitElement
6
- * @property {Object} filterProperties - The properties for the filter.
7
- * @property {Boolean} inlineMode - Flag to determine if the component should operate in inline mode.
8
- * @property {Boolean} unstyled - Flag to determine if default styles should be applied.
9
- * @property {Object} filters - The filters applied in the container.
5
+ * @augments LitElement
6
+ * @property {object} filterProperties - The properties for the filter.
7
+ * @property {boolean} inlineMode - Flag to determine if the component should operate in inline mode.
8
+ * @property {boolean} unstyled - Flag to determine if default styles should be applied.
9
+ * @property {object} filters - The filters applied in the container.
10
+ * @property {string} inlineSearchText - The text in the inline search box, offered as an inline search.
10
11
  */
11
12
  export class EOxItemFilterContainer extends LitElement {
12
13
  static get properties(): {
@@ -25,6 +26,10 @@ export class EOxItemFilterContainer extends LitElement {
25
26
  state: boolean;
26
27
  type: ObjectConstructor;
27
28
  };
29
+ inlineSearchText: {
30
+ state: boolean;
31
+ type: StringConstructor;
32
+ };
28
33
  };
29
34
  /**
30
35
  * @type Object
@@ -42,6 +47,10 @@ export class EOxItemFilterContainer extends LitElement {
42
47
  * @type Object
43
48
  */
44
49
  filters: any;
50
+ /**
51
+ * @type String
52
+ */
53
+ inlineSearchText: string;
45
54
  /**
46
55
  * @type {(this: Document, ev: MouseEvent|FocusEvent) => any}
47
56
  */
@@ -1 +1 @@
1
- {"version":3,"file":"itemfilter-container.d.ts","sourceRoot":"","sources":["../../src/components/itemfilter-container.js"],"names":[],"mappings":"AAeA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;;;;;;;;MAOC;IAKC;;OAEG;IACH,sBAA0B;IAE1B;;OAEG;IACH,kBAAqB;IAErB;;OAEG;IACH,oBAAuB;IAEvB;;OAEG;IACH,aAAiB;IAEjB;;OAEG;IACH,qBAFU,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,GAAC,UAAU,KAAK,GAAG,CAEE;IAE9D;;OAEG;IACH,gBAFU,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,aAAa,KAAK,GAAG,CAEA;IAGtD;;OAEG;IACH,gCAIC;IAED,4BAEC;IA6CD;;;;;;OAMG;IACH,wBAAoB;IA+DpB;;;OAGG;IACH,qBAEC;IAED,uCAKC;IAED;;OAEG;IACH,+CAwFC;;CACF;2BA/SgC,KAAK"}
1
+ {"version":3,"file":"itemfilter-container.d.ts","sourceRoot":"","sources":["../../src/components/itemfilter-container.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;GAUG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;MAQC;IAKC;;OAEG;IACH,sBAA0B;IAE1B;;OAEG;IACH,kBAAqB;IAErB;;OAEG;IACH,oBAAuB;IAEvB;;OAEG;IACH,aAAiB;IAEjB;;OAEG;IACH,yBAA0B;IAE1B;;OAEG;IACH,qBAFU,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,GAAC,UAAU,KAAK,GAAG,CAEE;IAE9D;;OAEG;IACH,gBAFU,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,aAAa,KAAK,GAAG,CAEA;IAGtD;;OAEG;IACH,gCAIC;IAED,4BAEC;IA6CD;;;;;;OAMG;IACH,wBAAoB;IA+EpB;;;OAGG;IACH,qBAEC;IAED,uCAKC;IAED;;OAEG;IACH,+CAwHC;;CACF;2BAzWyC,KAAK"}
@@ -4,12 +4,12 @@
4
4
  * and creating item details and lists.
5
5
  *
6
6
  * @module EOxItemFilterResults
7
- * @extends LitElement
8
- * @property {Object} config - The configuration object for the results display.
9
- * @property {Object} results - The state object containing the filter results.
10
- * @property {Object} filters - The state object containing the applied filters.
7
+ * @augments LitElement
8
+ * @property {object} config - The configuration object for the results display.
9
+ * @property {object} results - The state object containing the filter results.
10
+ * @property {object} filters - The state object containing the applied filters.
11
11
  * @property {Array} resultAggregation - The array of properties used for result aggregation.
12
- * @property {Object} selectedResult - Property with pre-selected result
12
+ * @property {object} selectedResult - Property with pre-selected result
13
13
  */
14
14
  export class EOxItemFilterResults extends LitElement {
15
15
  static get properties(): {
@@ -82,4 +82,9 @@ export const ELEMENT_CONFIG: Readonly<{
82
82
  }>;
83
83
  export const ELEMENT_PROPERTIES: string[];
84
84
  export const DATE_TIME_FORMAT: "YYYY-MM-DD";
85
+ /**
86
+ * Fuzzy matching threshold for filter titles in the inline search box when an
87
+ * `inlineSearch` filter exists, so search terms do not match unrelated filter titles.
88
+ */
89
+ export const INLINE_SEARCH_TITLE_THRESHOLD: 0.3;
85
90
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/enums/config.js"],"names":[],"mappings":"AAAA;IACE;;OAEG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;;;;OAKG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;;;OAKG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;GAEF;AAEH,0CAmBE;AAEF,+BAAgC,YAAY,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/enums/config.js"],"names":[],"mappings":"AAAA;IACE;;OAEG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;;;;OAKG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;;;OAKG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;GAEF;AAEH,0CAmBE;AAEF,+BAAgC,YAAY,CAAC;AAE7C;;;GAGG;AACH,4CAA6C,GAAG,CAAC"}
@@ -1,2 +1,2 @@
1
- export { ELEMENT_CONFIG, ELEMENT_PROPERTIES, DATE_TIME_FORMAT } from "./config";
1
+ export { ELEMENT_CONFIG, ELEMENT_PROPERTIES, DATE_TIME_FORMAT, INLINE_SEARCH_TITLE_THRESHOLD } from "./config";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -2,8 +2,8 @@ export default getChipItems;
2
2
  /**
3
3
  * Generates an array of chip items from the given filters.
4
4
  *
5
- * @param {Object} filters - An object containing filter data.
6
- * @returns {Array<Object>} An array of chip item objects.
5
+ * @param {object} filters - An object containing filter data.
6
+ * @returns {Array<object>} An array of chip item objects.
7
7
  */
8
- declare function getChipItems(filters: any): Array<any>;
8
+ declare function getChipItems(filters: object): Array<object>;
9
9
  //# sourceMappingURL=chip-items.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chip-items.d.ts","sourceRoot":"","sources":["../../src/helpers/chip-items.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,6CAFa,KAAK,KAAQ,CAUzB"}
1
+ {"version":3,"file":"chip-items.d.ts","sourceRoot":"","sources":["../../src/helpers/chip-items.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,uCAHW,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAUzB"}
@@ -1,3 +1,3 @@
1
- export function indexItems(items: Array<any>, fuseConfig: any): void;
2
- export function filter(items: Array<any>, filters: any, config: any): Promise<Array<any>>;
1
+ export function indexItems(items: Array<object>, fuseConfig: object): void;
2
+ export function filter(items: Array<object>, filters: object, config: object): Promise<Array<object>>;
3
3
  //# sourceMappingURL=filter-client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-client.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-client.js"],"names":[],"mappings":"AAYO,kCAHI,KAAK,KAAQ,yBAYvB;AAUM,8BALI,KAAK,KAAQ,8BAGX,OAAO,CAAC,KAAK,KAAQ,CAAC,CA6JlC"}
1
+ {"version":3,"file":"filter-client.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-client.js"],"names":[],"mappings":"AAYO,kCAHI,KAAK,CAAC,MAAM,CAAC,cACb,MAAM,QAWhB;AAUM,8BALI,KAAK,CAAC,MAAM,CAAC,WACb,MAAM,UACN,MAAM,GACJ,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CA6JlC"}
@@ -2,10 +2,10 @@ export default filterExternal;
2
2
  /**
3
3
  * Fetches and filters items based on the provided filters and configuration using an external API.
4
4
  *
5
- * @param {Array<Object>} items - The items to be filtered.
6
- * @param {Object} filters - The filters to be applied.
7
- * @param {Object} config - Configuration for filtering behavior.
8
- * @returns {Promise<Array<Object>>} The filtered items from the external API.
5
+ * @param {Array<object>} items - The items to be filtered.
6
+ * @param {object} filters - The filters to be applied.
7
+ * @param {object} config - Configuration for filtering behavior.
8
+ * @returns {Promise<Array<object>>} The filtered items from the external API.
9
9
  */
10
- declare function filterExternal(items: Array<any>, filters: any, config: any): Promise<Array<any>>;
10
+ declare function filterExternal(items: Array<object>, filters: object, config: object): Promise<Array<object>>;
11
11
  //# sourceMappingURL=filter-external.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AACA;;;;;;;GAOG;AACH,uCALW,KAAK,KAAQ,8BAGX,OAAO,CAAC,KAAK,KAAQ,CAAC,CAmBlC"}
1
+ {"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AACA;;;;;;;GAOG;AACH,uCALW,KAAK,CAAC,MAAM,CAAC,WACb,MAAM,UACN,MAAM,GACJ,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAmBlC"}
@@ -2,8 +2,8 @@
2
2
  * Get value based on nested key or individual key
3
3
  *
4
4
  * @param {string|Function} key - Key to identify the value
5
- * @param {Object} items - Items contain list of key & it's value
5
+ * @param {object} items - Items contain list of key & it's value
6
6
  * @returns {any}
7
7
  */
8
- export default function getValue(key: string | Function, items: any): any;
8
+ export default function getValue(key: string | Function, items: object): any;
9
9
  //# sourceMappingURL=get-value.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-value.d.ts","sourceRoot":"","sources":["../../src/helpers/get-value.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,sCAJW,MAAM,WAAS,eAEb,GAAG,CASf"}
1
+ {"version":3,"file":"get-value.d.ts","sourceRoot":"","sources":["../../src/helpers/get-value.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,sCAJW,MAAM,WAAS,SACf,MAAM,GACJ,GAAG,CASf"}
@@ -2,10 +2,10 @@ export default highlight;
2
2
  /**
3
3
  * Highlights matched text in the Fuse.js search results.
4
4
  *
5
- * @param {Array<Object>} fuseSearchResult - The search results from Fuse.js.
5
+ * @param {Array<object>} fuseSearchResult - The search results from Fuse.js.
6
6
  * @param {string} [highlightClassName="highlight"] - The CSS class name to be used for highlighting.
7
7
  * @param {string} [matchKey="title"] - The key of the object where matches should be highlighted.
8
- * @returns {Array<Object>} The search results with highlighted matches.
8
+ * @returns {Array<object>} The search results with highlighted matches.
9
9
  */
10
- declare function highlight(fuseSearchResult: Array<any>, highlightClassName?: string, matchKey?: string): Array<any>;
10
+ declare function highlight(fuseSearchResult: Array<object>, highlightClassName?: string, matchKey?: string): Array<object>;
11
11
  //# sourceMappingURL=highlighting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"highlighting.d.ts","sourceRoot":"","sources":["../../src/helpers/highlighting.js"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AACH,6CALW,KAAK,KAAQ,uBACb,MAAM,aACN,MAAM,GACJ,KAAK,KAAQ,CAuDzB"}
1
+ {"version":3,"file":"highlighting.d.ts","sourceRoot":"","sources":["../../src/helpers/highlighting.js"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AACH,6CALW,KAAK,CAAC,MAAM,CAAC,uBACb,MAAM,aACN,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAuDzB"}
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Checks if the filterObject format is date-like.
3
3
  *
4
- * @param {Object} filterObject - The filter object.
4
+ * @param {object} filterObject - The filter object.
5
5
  * @returns {boolean} True if it is a date, otherwise false.
6
6
  */
7
- export default function isDate(filterObject: any): boolean;
7
+ export default function isDate(filterObject: object): boolean;
8
8
  //# sourceMappingURL=is-date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-date.d.ts","sourceRoot":"","sources":["../../src/helpers/is-date.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,mDAFa,OAAO,CAInB"}
1
+ {"version":3,"file":"is-date.d.ts","sourceRoot":"","sources":["../../src/helpers/is-date.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,6CAHW,MAAM,GACJ,OAAO,CAInB"}