@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.
- package/dist/eox-itemfilter.js +1714 -1694
- package/dist/eox-itemfilter.umd.cjs +125 -121
- package/package.json +3 -3
- package/src/components/chips.js +3 -3
- package/src/components/expand-container.js +27 -4
- package/src/components/filters/range.js +8 -5
- package/src/components/filters/selector.js +10 -10
- package/src/components/filters/spatial.js +8 -8
- package/src/components/filters/text.js +4 -4
- package/src/components/itemfilter-container.js +6 -6
- package/src/components/results.js +5 -5
- package/src/helpers/chip-items.js +2 -2
- package/src/helpers/filter-client.js +6 -6
- package/src/helpers/filter-external.js +4 -4
- package/src/helpers/get-value.js +1 -1
- package/src/helpers/highlighting.js +2 -2
- package/src/helpers/is-date.js +1 -1
- package/src/helpers/is-filters-dirty.js +1 -1
- package/src/helpers/map-layers.js +2 -2
- package/src/helpers/merge-highlight-indices.js +1 -1
- package/src/helpers/reset-filter.js +2 -2
- package/src/helpers/spatial.js +4 -4
- package/src/helpers/toggle-accordion.js +1 -1
- package/src/main.js +48 -40
- package/src/methods/chips/handler.js +4 -4
- package/src/methods/container/handler.js +6 -6
- package/src/methods/container/init-popver.js +2 -2
- package/src/methods/container/inline-search.js +4 -4
- package/src/methods/container/reset-filter.js +1 -1
- package/src/methods/container/reset-search.js +1 -1
- package/src/methods/container/search-filter.js +1 -1
- package/src/methods/filters/range.js +2 -2
- package/src/methods/filters/selector.js +26 -18
- package/src/methods/filters/spatial.js +5 -5
- package/src/methods/filters/text.js +3 -3
- package/src/methods/itemfilter/create-filter.js +6 -6
- package/src/methods/itemfilter/create-reset.js +3 -3
- package/src/methods/itemfilter/filter-apply.js +3 -3
- package/src/methods/itemfilter/reset-filter.js +4 -3
- package/src/methods/itemfilter/search.js +3 -3
- package/src/methods/itemfilter/sort-results.js +4 -4
- package/src/methods/results/aggregate-results.js +3 -3
- package/src/methods/results/create.js +2 -2
- package/types/components/chips.d.ts +3 -3
- package/types/components/expand-container.d.ts +3 -3
- package/types/components/expand-container.d.ts.map +1 -1
- package/types/components/filters/range.d.ts +3 -3
- package/types/components/filters/range.d.ts.map +1 -1
- package/types/components/filters/selector.d.ts +9 -9
- package/types/components/filters/spatial.d.ts +7 -7
- package/types/components/filters/spatial.d.ts.map +1 -1
- package/types/components/filters/text.d.ts +4 -4
- package/types/components/itemfilter-container.d.ts +6 -6
- package/types/components/results.d.ts +5 -5
- package/types/helpers/chip-items.d.ts +3 -3
- package/types/helpers/chip-items.d.ts.map +1 -1
- package/types/helpers/filter-client.d.ts +2 -2
- package/types/helpers/filter-client.d.ts.map +1 -1
- package/types/helpers/filter-external.d.ts +5 -5
- package/types/helpers/filter-external.d.ts.map +1 -1
- package/types/helpers/get-value.d.ts +2 -2
- package/types/helpers/get-value.d.ts.map +1 -1
- package/types/helpers/highlighting.d.ts +3 -3
- package/types/helpers/highlighting.d.ts.map +1 -1
- package/types/helpers/is-date.d.ts +2 -2
- package/types/helpers/is-date.d.ts.map +1 -1
- package/types/helpers/is-filters-dirty.d.ts +2 -2
- package/types/helpers/is-filters-dirty.d.ts.map +1 -1
- package/types/helpers/map-layers.d.ts +3 -3
- package/types/helpers/map-layers.d.ts.map +1 -1
- package/types/helpers/merge-highlight-indices.d.ts +1 -1
- package/types/helpers/reset-filter.d.ts +3 -3
- package/types/helpers/reset-filter.d.ts.map +1 -1
- package/types/helpers/spatial.d.ts +2 -2
- package/types/helpers/spatial.d.ts.map +1 -1
- package/types/helpers/toggle-accordion.d.ts +2 -2
- package/types/helpers/toggle-accordion.d.ts.map +1 -1
- package/types/main.d.ts +15 -11
- package/types/main.d.ts.map +1 -1
- package/types/methods/chips/handler.d.ts +6 -6
- package/types/methods/chips/handler.d.ts.map +1 -1
- package/types/methods/container/handler.d.ts +12 -12
- package/types/methods/container/handler.d.ts.map +1 -1
- package/types/methods/container/init-popver.d.ts +3 -3
- package/types/methods/container/init-popver.d.ts.map +1 -1
- package/types/methods/container/inline-search.d.ts +7 -7
- package/types/methods/container/inline-search.d.ts.map +1 -1
- package/types/methods/container/reset-filter.d.ts +2 -2
- package/types/methods/container/reset-filter.d.ts.map +1 -1
- package/types/methods/container/reset-search.d.ts +2 -2
- package/types/methods/container/reset-search.d.ts.map +1 -1
- package/types/methods/container/search-filter.d.ts +2 -2
- package/types/methods/container/search-filter.d.ts.map +1 -1
- package/types/methods/filters/range.d.ts +4 -4
- package/types/methods/filters/range.d.ts.map +1 -1
- package/types/methods/filters/selector.d.ts +15 -14
- package/types/methods/filters/selector.d.ts.map +1 -1
- package/types/methods/filters/spatial.d.ts +8 -8
- package/types/methods/filters/spatial.d.ts.map +1 -1
- package/types/methods/filters/text.d.ts +6 -6
- package/types/methods/filters/text.d.ts.map +1 -1
- package/types/methods/itemfilter/create-filter.d.ts +3 -3
- package/types/methods/itemfilter/create-filter.d.ts.map +1 -1
- package/types/methods/itemfilter/create-reset.d.ts +3 -3
- package/types/methods/itemfilter/create-reset.d.ts.map +1 -1
- package/types/methods/itemfilter/filter-apply.d.ts +4 -4
- package/types/methods/itemfilter/filter-apply.d.ts.map +1 -1
- package/types/methods/itemfilter/reset-filter.d.ts +3 -2
- package/types/methods/itemfilter/reset-filter.d.ts.map +1 -1
- package/types/methods/itemfilter/search.d.ts +4 -4
- package/types/methods/itemfilter/search.d.ts.map +1 -1
- package/types/methods/itemfilter/sort-results.d.ts +6 -6
- package/types/methods/itemfilter/sort-results.d.ts.map +1 -1
- package/types/methods/results/aggregate-results.d.ts +4 -4
- package/types/methods/results/aggregate-results.d.ts.map +1 -1
- package/types/methods/results/create.d.ts +4 -4
- package/types/methods/results/create.d.ts.map +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export function within(itemGeometry:
|
|
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
|
-
* @
|
|
8
|
-
* @property {
|
|
9
|
-
* @property {
|
|
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
|
-
* @
|
|
47
|
-
* @property {
|
|
48
|
-
* @property {
|
|
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,
|
|
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
|
-
* @
|
|
6
|
-
* @property {
|
|
7
|
-
* @property {
|
|
8
|
-
* @property {
|
|
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(): {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* EOxItemFilterContainer is a custom web component that provides a container for item filters.
|
|
3
3
|
*
|
|
4
4
|
* @module EOxItemFilterContainer
|
|
5
|
-
* @
|
|
6
|
-
* @property {
|
|
7
|
-
* @property {
|
|
8
|
-
* @property {
|
|
9
|
-
* @property {
|
|
10
|
-
* @property {
|
|
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.
|
|
11
11
|
*/
|
|
12
12
|
export class EOxItemFilterContainer extends LitElement {
|
|
13
13
|
static get properties(): {
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* and creating item details and lists.
|
|
5
5
|
*
|
|
6
6
|
* @module EOxItemFilterResults
|
|
7
|
-
* @
|
|
8
|
-
* @property {
|
|
9
|
-
* @property {
|
|
10
|
-
* @property {
|
|
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 {
|
|
12
|
+
* @property {object} selectedResult - Property with pre-selected result
|
|
13
13
|
*/
|
|
14
14
|
export class EOxItemFilterResults extends LitElement {
|
|
15
15
|
static get properties(): {
|
|
@@ -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 {
|
|
6
|
-
* @returns {Array<
|
|
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:
|
|
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,
|
|
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<
|
|
2
|
-
export function filter(items: Array<
|
|
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,
|
|
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<
|
|
6
|
-
* @param {
|
|
7
|
-
* @param {
|
|
8
|
-
* @returns {Promise<Array<
|
|
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<
|
|
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,
|
|
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 {
|
|
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:
|
|
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,
|
|
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<
|
|
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<
|
|
8
|
+
* @returns {Array<object>} The search results with highlighted matches.
|
|
9
9
|
*/
|
|
10
|
-
declare function highlight(fuseSearchResult: Array<
|
|
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,
|
|
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 {
|
|
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:
|
|
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,
|
|
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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Checks if any of the filters are dirty.
|
|
3
3
|
*
|
|
4
|
-
* @param {
|
|
4
|
+
* @param {object} filters - An object containing filter data.
|
|
5
5
|
* @returns {boolean} True if any filter is dirty, otherwise false.
|
|
6
6
|
*/
|
|
7
|
-
export default function isFiltersDirty(filters:
|
|
7
|
+
export default function isFiltersDirty(filters: object): boolean;
|
|
8
8
|
//# sourceMappingURL=is-filters-dirty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-filters-dirty.d.ts","sourceRoot":"","sources":["../../src/helpers/is-filters-dirty.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"is-filters-dirty.d.ts","sourceRoot":"","sources":["../../src/helpers/is-filters-dirty.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,gDAHW,MAAM,GACJ,OAAO,CAQnB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generates an array of map layer configurations.
|
|
3
3
|
*
|
|
4
|
-
* @param {
|
|
4
|
+
* @param {object} [geometry] - Optional geometry data to include in the Vector source.
|
|
5
5
|
* @param {string} [url] - Optional URL for the GeoJSON data source.
|
|
6
|
-
* @returns {Array<
|
|
6
|
+
* @returns {Array<object>} An array of map layer configurations.
|
|
7
7
|
*/
|
|
8
|
-
export default function getMapLayers(geometry?:
|
|
8
|
+
export default function getMapLayers(geometry?: object, url?: string): Array<object>;
|
|
9
9
|
//# sourceMappingURL=map-layers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-layers.d.ts","sourceRoot":"","sources":["../../src/helpers/map-layers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,
|
|
1
|
+
{"version":3,"file":"map-layers.d.ts","sourceRoot":"","sources":["../../src/helpers/map-layers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,gDAJW,MAAM,QACN,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAoCzB"}
|
|
@@ -3,7 +3,7 @@ export default mergeHighlightIndices;
|
|
|
3
3
|
* Merge highlight indices which are overlapping with existing indices and sort the range in ascending order
|
|
4
4
|
*
|
|
5
5
|
* @param {number[][]} indices
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {object} [opts]
|
|
7
7
|
* @param {boolean} [opts.mergeAdjacent=false]
|
|
8
8
|
* @returns {number[][]}
|
|
9
9
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Resets the given filter object to its default state.
|
|
3
3
|
*
|
|
4
|
-
* @param {
|
|
5
|
-
* @returns {
|
|
4
|
+
* @param {object} filterObject - The filter object to reset.
|
|
5
|
+
* @returns {object | null} The reset filter object or null if the filter was not dirty.
|
|
6
6
|
*/
|
|
7
|
-
export default function resetFilter(filterObject:
|
|
7
|
+
export default function resetFilter(filterObject: object): object | null;
|
|
8
8
|
//# sourceMappingURL=reset-filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-filter.d.ts","sourceRoot":"","sources":["../../src/helpers/reset-filter.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"reset-filter.d.ts","sourceRoot":"","sources":["../../src/helpers/reset-filter.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,kDAHW,MAAM,GACJ,MAAM,GAAG,IAAI,CAuDzB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function intersects(itemGeometry:
|
|
2
|
-
export function within(itemGeometry:
|
|
1
|
+
export function intersects(itemGeometry: object, filterGeometry: object): boolean;
|
|
2
|
+
export function within(itemGeometry: object, filterGeometry: object): boolean;
|
|
3
3
|
//# sourceMappingURL=spatial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../src/helpers/spatial.js"],"names":[],"mappings":"AAUO,
|
|
1
|
+
{"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../src/helpers/spatial.js"],"names":[],"mappings":"AAUO,yCAJI,MAAM,kBACN,MAAM,GACJ,OAAO,CASnB;AASM,qCAJI,MAAM,kBACN,MAAM,GACJ,OAAO,CAUnB"}
|
|
@@ -3,8 +3,8 @@ export default toggleAccordion;
|
|
|
3
3
|
* Handles the toggle event for the accordion.
|
|
4
4
|
*
|
|
5
5
|
* @param {CustomEvent} event - The toggle event.
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {object} config - The configuration object for item-filter.
|
|
7
7
|
* @param {Element} that
|
|
8
8
|
*/
|
|
9
|
-
declare function toggleAccordion(event: CustomEvent, config:
|
|
9
|
+
declare function toggleAccordion(event: CustomEvent, config: object, that: Element): void;
|
|
10
10
|
//# sourceMappingURL=toggle-accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-accordion.d.ts","sourceRoot":"","sources":["../../src/helpers/toggle-accordion.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,wCAJW,WAAW,
|
|
1
|
+
{"version":3,"file":"toggle-accordion.d.ts","sourceRoot":"","sources":["../../src/helpers/toggle-accordion.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,wCAJW,WAAW,UACX,MAAM,QACN,OAAO,QA+BjB"}
|
package/types/main.d.ts
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
* @fires mouseenter:result - When a result is hovered
|
|
24
24
|
* @fires mouseleave:result - When a result is un-hovered
|
|
25
25
|
* @fires click:result-action - When a result action button is clicked
|
|
26
|
+
* @fires {CustomEvent<import("@eox/elements-utils").EOxActivityDetail>} eox:activity - Fires on genuine user interactions, wrapping the original event for analytics tracking.
|
|
26
27
|
*/
|
|
27
28
|
export class EOxItemFilter extends LitElement {
|
|
28
29
|
static get properties(): {
|
|
@@ -143,11 +144,13 @@ export class EOxItemFilter extends LitElement {
|
|
|
143
144
|
* @type Object
|
|
144
145
|
*/
|
|
145
146
|
selectedResult: any;
|
|
147
|
+
_debouncedSearch: import("lodash").DebouncedFuncLeading<() => Promise<void>>;
|
|
146
148
|
/**
|
|
147
149
|
* @type Function
|
|
148
150
|
* @private
|
|
149
151
|
*/
|
|
150
152
|
private search;
|
|
153
|
+
_isUserFilter: boolean;
|
|
151
154
|
/**
|
|
152
155
|
* Aggregate results by a property key
|
|
153
156
|
*
|
|
@@ -300,7 +303,7 @@ export class EOxItemFilter extends LitElement {
|
|
|
300
303
|
resultActionIcon: string;
|
|
301
304
|
/** Overrides elements current CSS.
|
|
302
305
|
*
|
|
303
|
-
* @type {
|
|
306
|
+
* @type {string}
|
|
304
307
|
*/
|
|
305
308
|
styleOverride: string;
|
|
306
309
|
/**
|
|
@@ -320,7 +323,7 @@ export class EOxItemFilter extends LitElement {
|
|
|
320
323
|
* Sorts the given items based on the current configuration.
|
|
321
324
|
*
|
|
322
325
|
* @param {Array<object>} items - The items to be sorted.
|
|
323
|
-
* @param {
|
|
326
|
+
* @param {object} [options] - Optional sorting parameters.
|
|
324
327
|
* @param {boolean} [options.isExternalResult] - Flag for results from external filter.
|
|
325
328
|
* @returns {Array<object>} - The sorted items.
|
|
326
329
|
*/
|
|
@@ -329,8 +332,9 @@ export class EOxItemFilter extends LitElement {
|
|
|
329
332
|
}): Array<object>;
|
|
330
333
|
/**
|
|
331
334
|
* Resets all applied filters.
|
|
335
|
+
* @param {boolean} [isUser=false]
|
|
332
336
|
*/
|
|
333
|
-
resetFilters(): void;
|
|
337
|
+
resetFilters(isUser?: boolean): void;
|
|
334
338
|
/**
|
|
335
339
|
* Lifecycle method called after the first update.
|
|
336
340
|
* Initializes the configuration and items, and applies the filters.
|
|
@@ -348,34 +352,34 @@ export class EOxItemFilter extends LitElement {
|
|
|
348
352
|
/**
|
|
349
353
|
* Updates selected result when result component triggers the "result" event.
|
|
350
354
|
*
|
|
351
|
-
* @param {{detail:
|
|
355
|
+
* @param {{detail: object}} evt - "result" event triggered by result component
|
|
352
356
|
*/
|
|
353
357
|
updateResult(evt: {
|
|
354
|
-
detail:
|
|
358
|
+
detail: object;
|
|
355
359
|
}): void;
|
|
356
360
|
/**
|
|
357
361
|
* Dispatches an event when result component triggers the "mouseenter:result" event.
|
|
358
362
|
*
|
|
359
|
-
* @param {{detail:
|
|
363
|
+
* @param {{detail: object}} evt - "mouseenter:result" event triggered by result component
|
|
360
364
|
*/
|
|
361
365
|
mouseEnterResult(evt: {
|
|
362
|
-
detail:
|
|
366
|
+
detail: object;
|
|
363
367
|
}): void;
|
|
364
368
|
/**
|
|
365
369
|
* Dispatches an event when result component triggers the "mouseleave:result" event.
|
|
366
370
|
*
|
|
367
|
-
* @param {{detail:
|
|
371
|
+
* @param {{detail: object}} evt - "mouseleave:result" event triggered by result component
|
|
368
372
|
*/
|
|
369
373
|
mouseLeaveResult(evt: {
|
|
370
|
-
detail:
|
|
374
|
+
detail: object;
|
|
371
375
|
}): void;
|
|
372
376
|
/**
|
|
373
377
|
* Emits "click:result-action" event.
|
|
374
378
|
*
|
|
375
|
-
* @param {{detail:
|
|
379
|
+
* @param {{detail: object}} evt - "click:result-action" event triggered by result component
|
|
376
380
|
*/
|
|
377
381
|
emitResultAction(evt: {
|
|
378
|
-
detail:
|
|
382
|
+
detail: object;
|
|
379
383
|
}): void;
|
|
380
384
|
/**
|
|
381
385
|
* Renders the HTML template for the component.
|
package/types/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA+BA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCC;IAoBC;;OAEG;IACH,OAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,aAAiB;IAEjB;;;OAGG;IACH,SAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,oBAA0B;IAE1B,6EAEE;IAEF;;;OAGG;IACH,eAGC;IAFa,uBAAyB;IAIvC;;;;OAIG;IACH,yBAAiC;IAEjC;;;;;OAKG;IACH,0BAA6B;IAE7B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;;;;;;OASG;IACH,gBAFU,MAAM,MAAM,GAAE,CAAC,MAAM;QAAC,GAAG,EAAC,MAAM,CAAC;QAAA,GAAG,CAAC,EAAC,MAAM,CAAC;QAAA,OAAO,CAAC,EAAC,MAAM,CAAA;KAAC,CAAC,CAE9C;IAE1B;;;OAGG;IACH,kBAFS,KAAK,CAAC;QAAC,GAAG,CAAC,SAAS;QAAC,IAAI,CAAC,EAAE,KAAK,QAAQ,CAAC;QAAC,KAAK,SAAS;QAAC,IAAI,SAAS;QAAC,WAAW,CAAC,SAAS;QAAC,MAAM,CAAC,SAAS;QAAC,KAAK,CAAC,MAAS;QAAC,YAAY,CAAC,UAAS;KAAC,CAAC,CAEtI;IAE1B;;;;OAIG;IACH,gBAAoB;IAEpB;;;;;OAKG;IACH,oBAAuB;IAEvB;;;;OAIG;IACH,2BAA6B;IAE7B;;;;OAIG;IACH,qBAAuB;IAEvB;;;;;OAKG;IACH,eAFS,iBAAe,CAEI;IAE5B;;;;;OAKG;IACH,kBAFS,iBAAe,CAES;IAEjC;;;;;OAKG;IACH,eAFS,iBAAe,CAEM;IAE9B;;;;;;;;;OASG;IACH,eAFS,KAAK,GAAC,MAAM,cAAU;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,KAAK,CAAC,EAAC,KAAK,GAAC,MAAM,CAAA;KAAC,CAElC;IAE9B;;;;OAIG;IACH,mBAAsB;IAEtB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,uBAAyB;IACzB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,mBAAwB;IAExB;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,yBAC65B;IAE75B;;;OAGG;IACH,eAFU,MAAM,CAEO;IAEvB;;OAEG;IACH,kBAAqB;IAGvB;;OAEG;IACH,cAWC;IAED;;;OAGG;IACH,+BAoBC;IAED;;;;;;;OAOG;IACH,mBALW,KAAK,CAAC,MAAM,CAAC,YAErB;QAA0B,gBAAgB,GAAlC,OAAO;KACf,GAAU,KAAK,CAAC,MAAM,CAAC,CAIzB;IAwBD;;;OAGG;IACH,sBAFW,OAAO,QAIjB;IAED;;;;;OAKG;IACH,sDAcC;IAED;;;;;OAKG;IACH,gDAkCC;IAED;;;;OAIG;IACH,kBAFW;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,QAe1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,QAa1B;IAED;;OAEG;IACH,+CAgJC;;CACF;2BA/qByC,KAAK"}
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
* Handles the click event on a chip, highlighting the clicked chip and updating the component.
|
|
3
3
|
*
|
|
4
4
|
* @param {Event} evt - The click event.
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {object} EOxItemFilterChips - The EOxItemFilterChips component instance.
|
|
6
6
|
*/
|
|
7
|
-
export function handleChipClickMethod(evt: Event, EOxItemFilterChips:
|
|
7
|
+
export function handleChipClickMethod(evt: Event, EOxItemFilterChips: object): void;
|
|
8
8
|
/**
|
|
9
9
|
* Handles the close event on a chip, removing the chip from the controller.
|
|
10
10
|
*
|
|
11
11
|
* @param {Event} event - The close event.
|
|
12
12
|
* @param {number} index - The index of the chip to be removed.
|
|
13
|
-
* @param {
|
|
13
|
+
* @param {object} EOxItemFilterChips - The EOxItemFilterChips component instance.
|
|
14
14
|
*/
|
|
15
|
-
export function handleCloseMethod(event: Event, index: number, EOxItemFilterChips:
|
|
15
|
+
export function handleCloseMethod(event: Event, index: number, EOxItemFilterChips: object): void;
|
|
16
16
|
/**
|
|
17
17
|
* Handles keyboard events for the EOxItemFilterChips component.
|
|
18
18
|
*
|
|
19
19
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
20
|
-
* @param {
|
|
20
|
+
* @param {object} EOxItemFilterChips - The EOxItemFilterChips component instance.
|
|
21
21
|
*/
|
|
22
|
-
export function keyboardEventListenerMethod(event: KeyboardEvent, EOxItemFilterChips:
|
|
22
|
+
export function keyboardEventListenerMethod(event: KeyboardEvent, EOxItemFilterChips: object): void;
|
|
23
23
|
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/methods/chips/handler.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,KAAK,
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/methods/chips/handler.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,KAAK,sBACL,MAAM,QAYhB;AAED;;;;;;GAMG;AACH,yCAJW,KAAK,SACL,MAAM,sBACN,MAAM,QAKhB;AAED;;;;;GAKG;AACH,mDAHW,aAAa,sBACb,MAAM,QA6BhB"}
|
|
@@ -2,42 +2,42 @@
|
|
|
2
2
|
* Handles the click event on the form, stopping propagation if in inline mode.
|
|
3
3
|
*
|
|
4
4
|
* @param {Event} event - The click event.
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
6
6
|
*/
|
|
7
|
-
export function handleFormClickMethod(event: Event, EOxItemFilterContainer:
|
|
7
|
+
export function handleFormClickMethod(event: Event, EOxItemFilterContainer: object): void;
|
|
8
8
|
/**
|
|
9
9
|
* Shows the dropdown when the component is focused, if in inline mode.
|
|
10
10
|
*
|
|
11
|
-
* @param {
|
|
11
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
12
12
|
*/
|
|
13
|
-
export function handleShowDropdownOnFocusMethod(EOxItemFilterContainer:
|
|
13
|
+
export function handleShowDropdownOnFocusMethod(EOxItemFilterContainer: object): void;
|
|
14
14
|
/**
|
|
15
15
|
* Handles typing in the inline search box: shows the dropdown, filters the listed filters
|
|
16
16
|
* by title and keeps the text for the inline search action.
|
|
17
17
|
*
|
|
18
18
|
* @param {Event} event - The input event.
|
|
19
|
-
* @param {
|
|
19
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
20
20
|
*/
|
|
21
|
-
export function handleSearchInputMethod(event: Event, EOxItemFilterContainer:
|
|
21
|
+
export function handleSearchInputMethod(event: Event, EOxItemFilterContainer: object): void;
|
|
22
22
|
/**
|
|
23
23
|
* Toggles the dropdown visibility when an event occurs, stopping propagation if in inline mode.
|
|
24
24
|
*
|
|
25
25
|
* @param {Event} event - The event that triggers the toggle.
|
|
26
|
-
* @param {
|
|
26
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
27
27
|
*/
|
|
28
|
-
export function handleToggleDropdownMethod(event: Event, EOxItemFilterContainer:
|
|
28
|
+
export function handleToggleDropdownMethod(event: Event, EOxItemFilterContainer: object): void;
|
|
29
29
|
/**
|
|
30
30
|
* Handles the keydown event, resetting the search and hiding the dropdown if Escape is pressed in inline mode.
|
|
31
31
|
*
|
|
32
32
|
* @param {KeyboardEvent} event - The keydown event.
|
|
33
|
-
* @param {
|
|
33
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
34
34
|
*/
|
|
35
|
-
export function handleKeyDownMethod(event: KeyboardEvent, EOxItemFilterContainer:
|
|
35
|
+
export function handleKeyDownMethod(event: KeyboardEvent, EOxItemFilterContainer: object): void;
|
|
36
36
|
/**
|
|
37
37
|
* Handles clicks outside the component, resetting the search and hiding the dropdown if in inline mode.
|
|
38
38
|
*
|
|
39
39
|
* @param {Event} event - The click event.
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
41
41
|
*/
|
|
42
|
-
export function handleClickOutsideMethod(event: Event, EOxItemFilterContainer:
|
|
42
|
+
export function handleClickOutsideMethod(event: Event, EOxItemFilterContainer: object): void;
|
|
43
43
|
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/methods/container/handler.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,6CAHW,KAAK,
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/methods/container/handler.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,6CAHW,KAAK,0BACL,MAAM,QAIhB;AAED;;;;GAIG;AACH,wEAFW,MAAM,QAMhB;AAED;;;;;;GAMG;AACH,+CAHW,KAAK,0BACL,MAAM,QAQhB;AAED;;;;;GAKG;AACH,kDAHW,KAAK,0BACL,MAAM,QAOhB;AAED;;;;;GAKG;AACH,2CAHW,aAAa,0BACb,MAAM,QAWhB;AAED;;;;;GAKG;AACH,gDAHW,KAAK,0BACL,MAAM,QAahB"}
|
|
@@ -2,8 +2,8 @@ export default initPopover;
|
|
|
2
2
|
/**
|
|
3
3
|
* Init popover autoUpdate and position
|
|
4
4
|
*
|
|
5
|
-
* @param {
|
|
6
|
-
* @
|
|
5
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
6
|
+
* @returns {() => void}
|
|
7
7
|
*/
|
|
8
|
-
declare function initPopover(EOxItemFilterContainer:
|
|
8
|
+
declare function initPopover(EOxItemFilterContainer: object): () => void;
|
|
9
9
|
//# sourceMappingURL=init-popver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-popver.d.ts","sourceRoot":"","sources":["../../../src/methods/container/init-popver.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"init-popver.d.ts","sourceRoot":"","sources":["../../../src/methods/container/init-popver.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,qDAHW,MAAM,GACJ,MAAM,IAAI,CAyBtB"}
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
* Adds the inline search box text to every text filter with `inlineSearch` enabled,
|
|
3
3
|
* then clears the box and closes the dropdown.
|
|
4
4
|
*
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
6
6
|
*/
|
|
7
|
-
export function applyInlineSearchMethod(EOxItemFilterContainer:
|
|
7
|
+
export function applyInlineSearchMethod(EOxItemFilterContainer: object): void;
|
|
8
8
|
/**
|
|
9
9
|
* Handles the keydown event of the inline search box, applying the inline search on Enter.
|
|
10
10
|
*
|
|
11
11
|
* @param {KeyboardEvent} event - The keydown event.
|
|
12
|
-
* @param {
|
|
12
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
13
13
|
*/
|
|
14
|
-
export function handleInlineSearchKeyDownMethod(event: KeyboardEvent, EOxItemFilterContainer:
|
|
14
|
+
export function handleInlineSearchKeyDownMethod(event: KeyboardEvent, EOxItemFilterContainer: object): void;
|
|
15
15
|
/**
|
|
16
16
|
* Returns the text filters that receive the text of the inline search box.
|
|
17
17
|
*
|
|
18
|
-
* @param {
|
|
19
|
-
* @returns {Array<
|
|
18
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
19
|
+
* @returns {Array<object>} The text filters with `inlineSearch` enabled.
|
|
20
20
|
*/
|
|
21
|
-
export function getInlineSearchFilters(EOxItemFilterContainer:
|
|
21
|
+
export function getInlineSearchFilters(EOxItemFilterContainer: object): Array<object>;
|
|
22
22
|
//# sourceMappingURL=inline-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-search.d.ts","sourceRoot":"","sources":["../../../src/methods/container/inline-search.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"inline-search.d.ts","sourceRoot":"","sources":["../../../src/methods/container/inline-search.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,gEAFW,MAAM,QAuBhB;AAED;;;;;GAKG;AACH,uDAHW,aAAa,0BACb,MAAM,QAMhB;AAED;;;;;GAKG;AACH,+DAHW,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAMzB"}
|
|
@@ -3,7 +3,7 @@ export default resetFilterMethod;
|
|
|
3
3
|
* Resets a specific filter in the EOxItemFilterContainer based on the event target.
|
|
4
4
|
*
|
|
5
5
|
* @param {Event} event - The event that triggers the filter reset.
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
7
7
|
*/
|
|
8
|
-
declare function resetFilterMethod(event: Event, EOxItemFilterContainer:
|
|
8
|
+
declare function resetFilterMethod(event: Event, EOxItemFilterContainer: object): void;
|
|
9
9
|
//# sourceMappingURL=reset-filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/container/reset-filter.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,0CAHW,KAAK,
|
|
1
|
+
{"version":3,"file":"reset-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/container/reset-filter.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,0CAHW,KAAK,0BACL,MAAM,QAahB"}
|
|
@@ -2,7 +2,7 @@ export default resetSearchMethod;
|
|
|
2
2
|
/**
|
|
3
3
|
* Resets the search input in the EOxItemFilterContainer and triggers a search filter update.
|
|
4
4
|
*
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
6
6
|
*/
|
|
7
|
-
declare function resetSearchMethod(EOxItemFilterContainer:
|
|
7
|
+
declare function resetSearchMethod(EOxItemFilterContainer: object): void;
|
|
8
8
|
//# sourceMappingURL=reset-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-search.d.ts","sourceRoot":"","sources":["../../../src/methods/container/reset-search.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"reset-search.d.ts","sourceRoot":"","sources":["../../../src/methods/container/reset-search.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH,2DAFW,MAAM,QAchB"}
|
|
@@ -3,7 +3,7 @@ export default searchFilterMethod;
|
|
|
3
3
|
* Filters the items in the EOxItemFilterContainer based on the search input.
|
|
4
4
|
*
|
|
5
5
|
* @param {Event} event - The input event that triggers the search.
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
7
7
|
*/
|
|
8
|
-
declare function searchFilterMethod(event: Event, EOxItemFilterContainer:
|
|
8
|
+
declare function searchFilterMethod(event: Event, EOxItemFilterContainer: object): void;
|
|
9
9
|
//# sourceMappingURL=search-filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/container/search-filter.js"],"names":[],"mappings":";AAGA;;;;;GAKG;AACH,2CAHW,KAAK,
|
|
1
|
+
{"version":3,"file":"search-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/container/search-filter.js"],"names":[],"mappings":";AAGA;;;;;GAKG;AACH,2CAHW,KAAK,0BACL,MAAM,QA6BhB"}
|