@eox/itemfilter 1.7.1 → 1.9.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 +2763 -2682
- package/dist/eox-itemfilter.umd.cjs +157 -121
- package/package.json +4 -2
- package/src/components/chips.js +3 -3
- package/src/components/expand-container.js +0 -1
- package/src/components/filters/range.js +3 -5
- package/src/components/filters/selector.js +1 -4
- package/src/components/filters/spatial.js +0 -3
- package/src/components/filters/text.js +1 -3
- package/src/components/itemfilter-container.js +8 -12
- package/src/components/results.js +17 -8
- package/src/helpers/toggle-accordion.js +1 -1
- package/src/main.js +53 -7
- package/src/methods/chips/handler.js +15 -5
- package/src/methods/container/handler.js +2 -1
- package/src/methods/container/init-popver.js +1 -1
- package/src/methods/container/reset-filter.js +3 -0
- package/src/methods/container/reset-search.js +4 -1
- package/src/methods/container/search-filter.js +3 -0
- package/src/methods/filters/range.js +5 -2
- package/src/methods/filters/selector.js +4 -1
- package/src/methods/itemfilter/create-filter.js +1 -1
- package/src/methods/itemfilter/create-reset.js +1 -1
- package/src/methods/results/create.js +28 -10
- package/src/style.eox.js +62 -40
- package/types/components/chips.d.ts.map +1 -1
- package/types/components/expand-container.d.ts.map +1 -1
- package/types/components/filters/range.d.ts +2 -2
- package/types/components/filters/range.d.ts.map +1 -1
- package/types/components/filters/selector.d.ts.map +1 -1
- package/types/components/filters/spatial.d.ts.map +1 -1
- package/types/components/filters/text.d.ts +4 -0
- package/types/components/filters/text.d.ts.map +1 -1
- package/types/components/itemfilter-container.d.ts +6 -4
- package/types/components/itemfilter-container.d.ts.map +1 -1
- package/types/components/results.d.ts +15 -3
- package/types/components/results.d.ts.map +1 -1
- package/types/helpers/chip-items.d.ts.map +1 -1
- package/types/helpers/filter-client.d.ts.map +1 -1
- package/types/helpers/filter-external.d.ts.map +1 -1
- package/types/helpers/highlighting.d.ts.map +1 -1
- package/types/helpers/map-layers.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 +37 -1
- package/types/main.d.ts.map +1 -1
- package/types/methods/chips/handler.d.ts +2 -2
- package/types/methods/chips/handler.d.ts.map +1 -1
- package/types/methods/container/handler.d.ts +2 -2
- package/types/methods/container/handler.d.ts.map +1 -1
- package/types/methods/container/init-popver.d.ts +2 -2
- package/types/methods/container/init-popver.d.ts.map +1 -1
- package/types/methods/container/reset-filter.d.ts.map +1 -1
- package/types/methods/container/reset-search.d.ts.map +1 -1
- 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 +2 -2
- package/types/methods/filters/selector.d.ts.map +1 -1
- package/types/methods/itemfilter/create-filter.d.ts +2 -2
- package/types/methods/itemfilter/create-filter.d.ts.map +1 -1
- package/types/methods/itemfilter/create-reset.d.ts +2 -2
- package/types/methods/itemfilter/create-reset.d.ts.map +1 -1
- package/types/methods/itemfilter/filter-apply.d.ts.map +1 -1
- package/types/methods/itemfilter/search.d.ts.map +1 -1
- package/types/methods/itemfilter/sort-results.d.ts.map +1 -1
- package/types/methods/results/aggregate-results.d.ts.map +1 -1
- package/types/methods/results/create.d.ts +5 -5
- package/types/methods/results/create.d.ts.map +1 -1
- package/types/style.eox.d.ts +1 -1
- package/types/style.eox.d.ts.map +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html, nothing } from "lit";
|
|
2
|
+
import { html as staticHtml, unsafeStatic } from "lit/static-html.js";
|
|
2
3
|
import { repeat } from "lit/directives/repeat.js";
|
|
3
4
|
import { when } from "lit/directives/when.js";
|
|
4
5
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
@@ -9,7 +10,7 @@ import { getValue } from "../../helpers";
|
|
|
9
10
|
*
|
|
10
11
|
* @param {string} aggregationProperty - The property used for aggregation.
|
|
11
12
|
* @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
|
|
12
|
-
* @returns {
|
|
13
|
+
* @returns {import("lit").HTMLTemplateResult} The HTML template for the item details view.
|
|
13
14
|
*/
|
|
14
15
|
export function createItemDetailsMethod(
|
|
15
16
|
aggregationProperty,
|
|
@@ -33,7 +34,7 @@ export function createItemDetailsMethod(
|
|
|
33
34
|
</span>
|
|
34
35
|
</summary>
|
|
35
36
|
<div>
|
|
36
|
-
${createItemListMethod(
|
|
37
|
+
${createItemListMethod(EOxItemFilterResults, aggregationProperty)}
|
|
37
38
|
</div>
|
|
38
39
|
</details>
|
|
39
40
|
`;
|
|
@@ -42,13 +43,13 @@ export function createItemDetailsMethod(
|
|
|
42
43
|
/**
|
|
43
44
|
* Creates the item list view for the aggregation property in the EOxItemFilterResults component.
|
|
44
45
|
*
|
|
45
|
-
* @param {string} aggregationProperty - The property used for aggregation.
|
|
46
46
|
* @param {Object} EOxItemFilterResults - The EOxItemFilterResults component instance.
|
|
47
|
-
* @
|
|
47
|
+
* @param {string} [aggregationProperty] - The property used for aggregation.
|
|
48
|
+
* @returns {import("lit").TemplateResult} The HTML template for the item list view.
|
|
48
49
|
*/
|
|
49
50
|
export function createItemListMethod(
|
|
50
|
-
aggregationProperty,
|
|
51
51
|
EOxItemFilterResults,
|
|
52
|
+
aggregationProperty,
|
|
52
53
|
) {
|
|
53
54
|
const results = EOxItemFilterResults.results;
|
|
54
55
|
const items = aggregationProperty
|
|
@@ -63,13 +64,13 @@ export function createItemListMethod(
|
|
|
63
64
|
? "highlighted"
|
|
64
65
|
: nothing;
|
|
65
66
|
|
|
66
|
-
return
|
|
67
|
-
|
|
67
|
+
return staticHtml`
|
|
68
|
+
${EOxItemFilterResults.resultType === "cards" ? unsafeStatic(`<eox-layout fill-grid>`) : unsafeStatic(`<ul>`)}
|
|
68
69
|
${repeat(
|
|
69
70
|
items,
|
|
70
71
|
(item) => item.id,
|
|
71
|
-
(item) =>
|
|
72
|
-
|
|
72
|
+
(item) => staticHtml`
|
|
73
|
+
${EOxItemFilterResults.resultType === "cards" ? unsafeStatic(`<eox-layout-item`) : unsafeStatic(`<li`)}
|
|
73
74
|
class=${className(item)}
|
|
74
75
|
@click=${() => {
|
|
75
76
|
if (EOxItemFilterResults.selectedResult === item) {
|
|
@@ -125,9 +126,26 @@ export function createItemListMethod(
|
|
|
125
126
|
`,
|
|
126
127
|
)}
|
|
127
128
|
</span>
|
|
129
|
+
${when(
|
|
130
|
+
EOxItemFilterResults.enableResultAction,
|
|
131
|
+
() => html`
|
|
132
|
+
<span
|
|
133
|
+
class="result-action"
|
|
134
|
+
@click=${(event) => {
|
|
135
|
+
event.stopPropagation(); // prevents emitting the `li` event above
|
|
136
|
+
EOxItemFilterResults.dispatchEvent(
|
|
137
|
+
new CustomEvent("click:result-action", {
|
|
138
|
+
detail: item,
|
|
139
|
+
}),
|
|
140
|
+
);
|
|
141
|
+
}}
|
|
142
|
+
>${unsafeHTML(EOxItemFilterResults.resultActionIcon)}</span
|
|
143
|
+
>
|
|
144
|
+
`,
|
|
145
|
+
)}
|
|
128
146
|
</li>
|
|
129
147
|
`,
|
|
130
148
|
)}
|
|
131
|
-
|
|
149
|
+
${EOxItemFilterResults.resultType === "cards" ? unsafeStatic(`</eox-layout>`) : unsafeStatic(`</ul>`)}
|
|
132
150
|
`;
|
|
133
151
|
}
|
package/src/style.eox.js
CHANGED
|
@@ -54,9 +54,6 @@ li span {
|
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
}
|
|
57
|
-
.cards li span {
|
|
58
|
-
display: block;
|
|
59
|
-
}
|
|
60
57
|
li label {
|
|
61
58
|
display: flex;
|
|
62
59
|
align-items: center;
|
|
@@ -80,23 +77,11 @@ details > summary::-webkit-details-marker {
|
|
|
80
77
|
align-items: center;
|
|
81
78
|
text-transform: var(--text-transform);
|
|
82
79
|
}
|
|
83
|
-
.cards .title {
|
|
84
|
-
font-size: 16px;
|
|
85
|
-
font-weight: 600;
|
|
86
|
-
text-wrap: auto;
|
|
87
|
-
line-height: 19px;
|
|
88
|
-
}
|
|
89
80
|
.subtitle {
|
|
90
81
|
font-size: 11px;
|
|
91
82
|
opacity: .7;
|
|
92
83
|
margin-top: 6px;
|
|
93
84
|
}
|
|
94
|
-
.cards .subtitle {
|
|
95
|
-
font-size: 14px;
|
|
96
|
-
color: #757575;
|
|
97
|
-
text-wrap: auto;
|
|
98
|
-
line-height: 19px;
|
|
99
|
-
}
|
|
100
85
|
.image {
|
|
101
86
|
width: 24px;
|
|
102
87
|
height: 24px;
|
|
@@ -104,11 +89,6 @@ details > summary::-webkit-details-marker {
|
|
|
104
89
|
overflow: hidden;
|
|
105
90
|
margin-right: 8px;
|
|
106
91
|
}
|
|
107
|
-
.cards .image {
|
|
108
|
-
width: 100%;
|
|
109
|
-
height: 190px;
|
|
110
|
-
margin-bottom: 8px;
|
|
111
|
-
}
|
|
112
92
|
.title-container {
|
|
113
93
|
display: flex;
|
|
114
94
|
flex-direction: column;
|
|
@@ -188,29 +168,71 @@ ul:not(#filters) > li {
|
|
|
188
168
|
}
|
|
189
169
|
ul#results li {
|
|
190
170
|
padding: 5px var(--padding);
|
|
171
|
+
display: flex;
|
|
172
|
+
justify-content: space-between;
|
|
191
173
|
}
|
|
192
|
-
ul#results
|
|
174
|
+
ul#results .result-action {
|
|
193
175
|
display: flex;
|
|
194
|
-
|
|
176
|
+
align-items: center;
|
|
177
|
+
height: fit-content;
|
|
178
|
+
line-height: 1;
|
|
179
|
+
opacity: .5;
|
|
180
|
+
transition: opacity .3s ease-in-out;
|
|
181
|
+
}
|
|
182
|
+
ul#results .result-action:hover {
|
|
183
|
+
opacity: 1;
|
|
184
|
+
}
|
|
185
|
+
ul#results .highlighted .result-action > * {
|
|
186
|
+
filter: invert(1);
|
|
187
|
+
}
|
|
188
|
+
eox-layout {
|
|
189
|
+
padding: .5rem var(--padding);
|
|
190
|
+
gap: var(--card-gap, 16px);
|
|
191
|
+
--column-width: var(--card-width, 300px);
|
|
192
|
+
--row-height: var(--card-height, 200px);
|
|
193
|
+
}
|
|
194
|
+
eox-layout-item {
|
|
195
|
+
position: relative;
|
|
196
|
+
border-radius: var(--card-border-radius, 8px);
|
|
197
|
+
}
|
|
198
|
+
eox-layout-item .image {
|
|
199
|
+
width: 100%;
|
|
200
|
+
height: 100%;
|
|
201
|
+
transition: filter .3s ease-in-out;
|
|
202
|
+
margin: 0;
|
|
203
|
+
}
|
|
204
|
+
eox-layout-item:hover .image {
|
|
205
|
+
filter: brightness(.5);
|
|
206
|
+
}
|
|
207
|
+
eox-layout-item .title-container {
|
|
208
|
+
position: absolute;
|
|
209
|
+
bottom: 0;
|
|
210
|
+
color: white;
|
|
211
|
+
padding: 20px;
|
|
212
|
+
box-sizing: border-box;
|
|
195
213
|
width: 100%;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
+
background: linear-gradient(
|
|
215
|
+
to top,
|
|
216
|
+
rgba(0, 0, 0, 0.85),
|
|
217
|
+
transparent
|
|
218
|
+
);
|
|
219
|
+
padding-top: 25px;
|
|
220
|
+
}
|
|
221
|
+
eox-layout-item .title {
|
|
222
|
+
font-weight: bold;
|
|
223
|
+
}
|
|
224
|
+
eox-layout-item .result-action {
|
|
225
|
+
position: absolute;
|
|
226
|
+
top: 20px;
|
|
227
|
+
right: 20px;
|
|
228
|
+
background: #ffffffbb;
|
|
229
|
+
padding: 8px;
|
|
230
|
+
width: 24px;
|
|
231
|
+
height: 24px;
|
|
232
|
+
border-radius: 50%;
|
|
233
|
+
}
|
|
234
|
+
ul#results eox-layout-item.highlighted .result-action > * {
|
|
235
|
+
filter: none;
|
|
214
236
|
}
|
|
215
237
|
section {
|
|
216
238
|
position: relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chips.d.ts","sourceRoot":"","sources":["../../src/components/chips.js"],"names":[],"mappings":"AAQA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;MAKC;IAKC;;OAEG;IACH,WAAe;IAEf;;OAEG;IACH,gBAAoB;IA2BtB;;;;OAIG;
|
|
1
|
+
{"version":3,"file":"chips.d.ts","sourceRoot":"","sources":["../../src/components/chips.js"],"names":[],"mappings":"AAQA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;MAKC;IAKC;;OAEG;IACH,WAAe;IAEf;;OAEG;IACH,gBAAoB;IA2BtB;;;;OAIG;IAEH,uBAMC;IAqBD;;OAEG;IACH,+CA0BC;;CACF;2BAhIgC,KAAK"}
|
|
@@ -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;
|
|
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,+CA+BC;;CACF;2BAvFyC,KAAK"}
|
|
@@ -24,9 +24,9 @@ export class EOxItemFilterRange extends LitElement {
|
|
|
24
24
|
*/
|
|
25
25
|
filterObject: any;
|
|
26
26
|
/**
|
|
27
|
-
* @type
|
|
27
|
+
* @type {(evt: CustomEvent<any>) => void}
|
|
28
28
|
*/
|
|
29
|
-
inputHandler:
|
|
29
|
+
inputHandler: (evt: CustomEvent<any>) => void;
|
|
30
30
|
/**
|
|
31
31
|
* @type Function
|
|
32
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/components/filters/range.js"],"names":[],"mappings":"AAUA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;MAGE;IAKA;;OAEG;IACH,kBAAsB;IAOtB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/components/filters/range.js"],"names":[],"mappings":"AAUA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;MAGE;IAKA;;OAEG;IACH,kBAAsB;IAOtB;;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,oBAgBC;;CACF;2BA7GgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector.d.ts","sourceRoot":"","sources":["../../../src/components/filters/selector.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;;;GAkBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYE;IAKA;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,mBAAqB;IAErB;;OAEG;IACH,qBAAuB;IAEvB;;OAEG;IACH,cAAe;IAEf;;OAEG;IACH,yBAA4B;IAE5B;;OAEG;IACH,yBAA0B;IAE1B;;OAEG;IACH,2BAA6B;IAE7B;;OAEG;IACH,aAAoB;IAEpB;;OAEG;IACH,kBAAqB;IAOrB;;OAEG;IACH,oBAAuB;IAGzB;;;;OAIG;IACH,gDAEC;
|
|
1
|
+
{"version":3,"file":"selector.d.ts","sourceRoot":"","sources":["../../../src/components/filters/selector.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;;;GAkBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYE;IAKA;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,mBAAqB;IAErB;;OAEG;IACH,qBAAuB;IAEvB;;OAEG;IACH,cAAe;IAEf;;OAEG;IACH,yBAA4B;IAE5B;;OAEG;IACH,yBAA0B;IAE1B;;OAEG;IACH,2BAA6B;IAE7B;;OAEG;IACH,aAAoB;IAEpB;;OAEG;IACH,kBAAqB;IAOrB;;OAEG;IACH,oBAAuB;IAGzB;;;;OAIG;IACH,gDAEC;IA6BD;;OAEG;IACH,cAEC;IAED;;;;;OAKG;IACH,8BAEG;IAEH;;;OAGG;IACH,qBAUC;IAED;;OAEG;IACH,+CA0DC;;CACF;2BA/OyC,KAAK"}
|
|
@@ -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;
|
|
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,oBAmCC;;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;2BAxLyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/filters/text.js"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;;;;;;;;;MAOC;IAKC;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,kBAAqB;
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/filters/text.js"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;;;;;;;;;MAOC;IAKC;;OAEG;IACH,kBAAsB;IAEtB;;OAEG;IACH,kBAAqB;IAOrB;;OAEG;IACH,iBAAoB;IAUtB;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,yEAEG;IAEH;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAGD,oBA4BC;;CACF;2BA7GgC,KAAK"}
|
|
@@ -43,13 +43,13 @@ export class EOxItemFilterContainer extends LitElement {
|
|
|
43
43
|
*/
|
|
44
44
|
filters: any;
|
|
45
45
|
/**
|
|
46
|
-
* @type
|
|
46
|
+
* @type {(this: Document, ev: MouseEvent|FocusEvent) => any}
|
|
47
47
|
*/
|
|
48
|
-
_handleClickOutside:
|
|
48
|
+
_handleClickOutside: (this: Document, ev: MouseEvent | FocusEvent) => any;
|
|
49
49
|
/**
|
|
50
|
-
* @type
|
|
50
|
+
* @type {(this: Document, ev: KeyboardEvent) => any}
|
|
51
51
|
*/
|
|
52
|
-
_handleKeyDown:
|
|
52
|
+
_handleKeyDown: (this: Document, ev: KeyboardEvent) => any;
|
|
53
53
|
/**
|
|
54
54
|
* @type Boolean
|
|
55
55
|
*/
|
|
@@ -58,6 +58,8 @@ export class EOxItemFilterContainer extends LitElement {
|
|
|
58
58
|
/**
|
|
59
59
|
* Stores the autoUpdate cleanup function to be called
|
|
60
60
|
* when disconnected
|
|
61
|
+
*
|
|
62
|
+
* @type {() => void}
|
|
61
63
|
* @private
|
|
62
64
|
*/
|
|
63
65
|
private _overlayCleanup;
|
|
@@ -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,
|
|
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,+CAmEC;;CACF;2BA1RgC,KAAK"}
|
|
@@ -19,7 +19,7 @@ export class EOxItemFilterResults extends LitElement {
|
|
|
19
19
|
};
|
|
20
20
|
results: {
|
|
21
21
|
state: boolean;
|
|
22
|
-
type:
|
|
22
|
+
type: ArrayConstructor;
|
|
23
23
|
};
|
|
24
24
|
filters: {
|
|
25
25
|
state: boolean;
|
|
@@ -37,11 +37,19 @@ export class EOxItemFilterResults extends LitElement {
|
|
|
37
37
|
attribute: string;
|
|
38
38
|
type: StringConstructor;
|
|
39
39
|
};
|
|
40
|
+
resultActionIcon: {
|
|
41
|
+
attribute: boolean;
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
};
|
|
40
44
|
};
|
|
41
45
|
/**
|
|
42
46
|
* @type Object
|
|
43
47
|
*/
|
|
44
48
|
config: any;
|
|
49
|
+
/**
|
|
50
|
+
* @type Array
|
|
51
|
+
*/
|
|
52
|
+
results: any[];
|
|
45
53
|
/**
|
|
46
54
|
* @type Object
|
|
47
55
|
*/
|
|
@@ -58,6 +66,10 @@ export class EOxItemFilterResults extends LitElement {
|
|
|
58
66
|
* @type String("list"|"card")
|
|
59
67
|
*/
|
|
60
68
|
resultType: string;
|
|
69
|
+
/**
|
|
70
|
+
* @type String
|
|
71
|
+
*/
|
|
72
|
+
resultActionIcon: string;
|
|
61
73
|
/**
|
|
62
74
|
* Aggregates results based on the specified property.
|
|
63
75
|
*
|
|
@@ -75,9 +87,9 @@ export class EOxItemFilterResults extends LitElement {
|
|
|
75
87
|
/**
|
|
76
88
|
* Handles the toggle event for accordion.
|
|
77
89
|
*
|
|
78
|
-
* @param {
|
|
90
|
+
* @param {CustomEvent} event - The toggle event.
|
|
79
91
|
*/
|
|
80
|
-
handleAccordion(event:
|
|
92
|
+
handleAccordion(event: CustomEvent): void;
|
|
81
93
|
/**
|
|
82
94
|
* Renders the HTML template for the component.
|
|
83
95
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../src/components/results.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AACH;IAEE
|
|
1
|
+
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../src/components/results.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUC;IAKC;;OAEG;IACH,YAAkB;IAElB;;OAEG;IACH,eAAmB;IAEnB;;OAEG;IACH,aAAiB;IAEjB;;OAEG;IACH,yBAA2B;IAE3B;;OAEG;IACH,oBAA0B;IAE1B;;OAEG;IACH,mBAAwB;IAExB;;OAEG;IACH,yBAAiC;IAuBnC;;;;;;OAMG;IACH,yCAHW,MAAM,SAKhB;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAED;;;;OAIG;IACH,uBAFW,WAAW,QAIrB;IAED;;OAEG;IACH,+CAqCC;;CACF;2BAtKyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip-items.d.ts","sourceRoot":"","sources":["../../src/helpers/chip-items.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,6CAFa,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-client.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-client.js"],"names":[],"mappings":"AAYO,kCAHI,
|
|
1
|
+
{"version":3,"file":"filter-client.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-client.js"],"names":[],"mappings":"AAYO,kCAHI,KAAK,KAAQ,yBAWvB;AAUM,8BALI,KAAK,KAAQ,8BAGX,OAAO,CAAC,KAAK,KAAQ,CAAC,CAsJlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,uCALW,
|
|
1
|
+
{"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,uCALW,KAAK,KAAQ,8BAGX,OAAO,CAAC,KAAK,KAAQ,CAAC,CASlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlighting.d.ts","sourceRoot":"","sources":["../../src/helpers/highlighting.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,6CALW,
|
|
1
|
+
{"version":3,"file":"highlighting.d.ts","sourceRoot":"","sources":["../../src/helpers/highlighting.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,6CALW,KAAK,KAAQ,uBACb,MAAM,aACN,MAAM,GACJ,KAAK,KAAQ,CAsEzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-layers.d.ts","sourceRoot":"","sources":["../../src/helpers/map-layers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2DAHW,MAAM,GACJ,
|
|
1
|
+
{"version":3,"file":"map-layers.d.ts","sourceRoot":"","sources":["../../src/helpers/map-layers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2DAHW,MAAM,GACJ,KAAK,KAAQ,CAoCzB"}
|
|
@@ -2,9 +2,9 @@ export default toggleAccordion;
|
|
|
2
2
|
/**
|
|
3
3
|
* Handles the toggle event for the accordion.
|
|
4
4
|
*
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {CustomEvent} event - The toggle event.
|
|
6
6
|
* @param {Object} config - The configuration object for item-filter.
|
|
7
7
|
* @param {Element} that
|
|
8
8
|
*/
|
|
9
|
-
declare function toggleAccordion(event:
|
|
9
|
+
declare function toggleAccordion(event: CustomEvent, config: any, 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,
|
|
1
|
+
{"version":3,"file":"toggle-accordion.d.ts","sourceRoot":"","sources":["../../src/helpers/toggle-accordion.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,wCAJW,WAAW,qBAEX,OAAO,QA+BjB"}
|
package/types/main.d.ts
CHANGED
|
@@ -94,6 +94,17 @@ export class EOxItemFilter extends LitElement {
|
|
|
94
94
|
attribute: string;
|
|
95
95
|
type: StringConstructor;
|
|
96
96
|
};
|
|
97
|
+
enableResultAction: {
|
|
98
|
+
attribute: boolean;
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
};
|
|
101
|
+
resultActionIcon: {
|
|
102
|
+
attribute: boolean;
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
105
|
+
styleOverride: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
};
|
|
97
108
|
unstyled: {
|
|
98
109
|
type: BooleanConstructor;
|
|
99
110
|
};
|
|
@@ -229,11 +240,28 @@ export class EOxItemFilter extends LitElement {
|
|
|
229
240
|
*/
|
|
230
241
|
expandMultipleResults: boolean;
|
|
231
242
|
/**
|
|
232
|
-
* Rendering type for results
|
|
243
|
+
* Rendering type for results. Can be `list`or `cards` (`cards` requires also importing the `eox-layout` element)
|
|
233
244
|
*
|
|
234
245
|
* @type String
|
|
235
246
|
*/
|
|
236
247
|
resultType: string;
|
|
248
|
+
/**
|
|
249
|
+
* Enable result action button (a secondary action besides the normal result selection)
|
|
250
|
+
*
|
|
251
|
+
* @type Boolean
|
|
252
|
+
*/
|
|
253
|
+
enableResultAction: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Icon for result action. Supports html
|
|
256
|
+
*
|
|
257
|
+
* @type String
|
|
258
|
+
*/
|
|
259
|
+
resultActionIcon: string;
|
|
260
|
+
/** Overrides elements current CSS.
|
|
261
|
+
*
|
|
262
|
+
* @type {String}
|
|
263
|
+
*/
|
|
264
|
+
styleOverride: string;
|
|
237
265
|
/**
|
|
238
266
|
* Render the element without additional styles
|
|
239
267
|
*/
|
|
@@ -280,6 +308,14 @@ export class EOxItemFilter extends LitElement {
|
|
|
280
308
|
updateResult(evt: {
|
|
281
309
|
detail: any;
|
|
282
310
|
}): void;
|
|
311
|
+
/**
|
|
312
|
+
* Emits "click:result-action" event.
|
|
313
|
+
*
|
|
314
|
+
* @param {{detail: Object}} evt - "click:result-action" event triggered by result component
|
|
315
|
+
*/
|
|
316
|
+
emitResultAction(evt: {
|
|
317
|
+
detail: any;
|
|
318
|
+
}): void;
|
|
283
319
|
/**
|
|
284
320
|
* Renders the HTML template for the component.
|
|
285
321
|
*/
|
package/types/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA+BA;;;;;;;GAOG;AACH;IAEE
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA+BA;;;;;;;GAOG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkCC;IAoBC;;OAEG;IACH,OAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,aAAiB;IAEjB;;;OAGG;IACH,SAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,oBAA0B;IAE1B;;;OAGG;IACH,eAEE;IAEF;;;;OAIG;IACH,yBAAiC;IAEjC;;;;;OAKG;IACH,0BAA6B;IAE7B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;;OAKG;IACH,yBAA0B;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,MAAQ;KAAC,CAAC,CAE9G;IAE1B;;;;OAIG;IACH,gBAAoB;IAEpB;;;;;OAKG;IACH,oBAAuB;IAEvB;;;;OAIG;IACH,2BAA6B;IAE7B;;;;OAIG;IACH,qBAAuB;IAEvB;;;;OAIG;IACH,sBAA4B;IAE5B;;;;OAIG;IACH,yBAAiC;IAEjC;;;;OAIG;IACH,sBAA8B;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,yBACw5B;IAEx5B;;;OAGG;IACH,sBAAuB;IAEvB;;OAEG;IACH,kBAAqB;IAGvB;;OAEG;IACH,cAOC;IAED;;;OAGG;IACH,+BAoBC;IAED;;;;;OAKG;IACH,mBAHW,KAAK,CAAC,MAAM,CAAC,GACX,KAAK,CAAC,MAAM,CAAC,CAIzB;IAwBD;;OAEG;IACH,qBAEC;IAED;;;;;OAKG;IACH,sDAcC;IAED;;;;;OAKG;IACH,gDAQC;IAED;;;;OAIG;IACH,kBAFW;QAAC,MAAM,MAAQ;KAAC,QAe1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;OAEG;IACH,+CAoGC;;CACF;2BAlhByC,KAAK"}
|
|
@@ -16,8 +16,8 @@ export function handleCloseMethod(event: Event, index: number, EOxItemFilterChip
|
|
|
16
16
|
/**
|
|
17
17
|
* Handles keyboard events for the EOxItemFilterChips component.
|
|
18
18
|
*
|
|
19
|
-
* @param {
|
|
19
|
+
* @param {KeyboardEvent} event - The keyboard event.
|
|
20
20
|
* @param {Object} EOxItemFilterChips - The EOxItemFilterChips component instance.
|
|
21
21
|
*/
|
|
22
|
-
export function keyboardEventListenerMethod(event:
|
|
22
|
+
export function keyboardEventListenerMethod(event: KeyboardEvent, EOxItemFilterChips: any): 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,iCAaf;AAED;;;;;;GAMG;AACH,yCAJW,KAAK,SACL,MAAM,iCAMhB;AAED;;;;;GAKG;AACH,mDAHW,aAAa,iCAiCvB"}
|
|
@@ -21,10 +21,10 @@ export function handleToggleDropdownMethod(event: Event, EOxItemFilterContainer:
|
|
|
21
21
|
/**
|
|
22
22
|
* Handles the keydown event, resetting the search and hiding the dropdown if Escape is pressed in inline mode.
|
|
23
23
|
*
|
|
24
|
-
* @param {
|
|
24
|
+
* @param {KeyboardEvent} event - The keydown event.
|
|
25
25
|
* @param {Object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
26
26
|
*/
|
|
27
|
-
export function handleKeyDownMethod(event:
|
|
27
|
+
export function handleKeyDownMethod(event: KeyboardEvent, EOxItemFilterContainer: any): void;
|
|
28
28
|
/**
|
|
29
29
|
* Handles clicks outside the component, resetting the search and hiding the dropdown if in inline mode.
|
|
30
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/methods/container/handler.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,6CAHW,KAAK,qCAKf;AAED;;;;GAIG;AACH,mFAIC;AAED;;;;;GAKG;AACH,kDAHW,KAAK,qCAQf;AAED;;;;;GAKG;AACH,2CAHW,
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/methods/container/handler.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,6CAHW,KAAK,qCAKf;AAED;;;;GAIG;AACH,mFAIC;AAED;;;;;GAKG;AACH,kDAHW,KAAK,qCAQf;AAED;;;;;GAKG;AACH,2CAHW,aAAa,qCAYvB;AAED;;;;;GAKG;AACH,gDAHW,KAAK,qCAcf"}
|
|
@@ -3,7 +3,7 @@ export default initPopover;
|
|
|
3
3
|
* Init popover autoUpdate and position
|
|
4
4
|
*
|
|
5
5
|
* @param {Object} EOxItemFilterContainer - The EOxItemFilterContainer component instance.
|
|
6
|
-
* @return {
|
|
6
|
+
* @return {() => void}
|
|
7
7
|
*/
|
|
8
|
-
declare function initPopover(EOxItemFilterContainer: any):
|
|
8
|
+
declare function initPopover(EOxItemFilterContainer: any): () => 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,2DAFY,MAAM,IAAI,CAyBrB"}
|
|
@@ -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,qCAWf"}
|
|
@@ -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,sEASC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/container/search-filter.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,2CAHW,KAAK,
|
|
1
|
+
{"version":3,"file":"search-filter.d.ts","sourceRoot":"","sources":["../../../src/methods/container/search-filter.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,2CAHW,KAAK,qCAsBf"}
|
|
@@ -7,17 +7,17 @@ export function resetRangeMethod(EOxItemFilterRange: import("../../components/fi
|
|
|
7
7
|
/**
|
|
8
8
|
* Handles input changes for the range filter and updates the filter state accordingly.
|
|
9
9
|
*
|
|
10
|
-
* @param {
|
|
10
|
+
* @param {CustomEvent} evt - The input event that triggers the update.
|
|
11
11
|
* @param {Object} EOxItemFilterRange - The EOxItemFilterRange component instance.
|
|
12
12
|
*/
|
|
13
|
-
export function rangeInputHandlerMethod(evt:
|
|
13
|
+
export function rangeInputHandlerMethod(evt: CustomEvent, EOxItemFilterRange: any): 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
19
|
* @param {Object} EOxItemFilterRange - The EOxItemFilterRange component instance.
|
|
20
|
-
* @returns {
|
|
20
|
+
* @returns {import("lit").HTMLTemplateResult}
|
|
21
21
|
*/
|
|
22
|
-
export function rangeLabelMethod(val: number | string, pos: string, EOxItemFilterRange: any):
|
|
22
|
+
export function rangeLabelMethod(val: number | string, pos: string, EOxItemFilterRange: any): 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":"AAMA;;;;GAIG;AACH,qDAFW,OAAO,mCAAmC,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/methods/filters/range.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,qDAFW,OAAO,mCAAmC,EAAE,kBAAkB,QAkBxE;AAED;;;;;GAKG;AACH,6CAHW,WAAW,iCAmCrB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,GAAC,MAAM,OACb,MAAM,4BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAS5C"}
|
|
@@ -28,10 +28,10 @@ export function handleInputSelectorMethod(event: Event, EOxItemFilterSelector: a
|
|
|
28
28
|
/**
|
|
29
29
|
* Handles keydown events for the selector and navigates or selects items based on the key pressed.
|
|
30
30
|
*
|
|
31
|
-
* @param {
|
|
31
|
+
* @param {KeyboardEvent} event - The keydown event.
|
|
32
32
|
* @param {Object} EOxItemFilterSelector - The EOxItemFilterSelector component instance.
|
|
33
33
|
*/
|
|
34
|
-
export function handleKeyDownSelectorMethod(event:
|
|
34
|
+
export function handleKeyDownSelectorMethod(event: KeyboardEvent, EOxItemFilterSelector: any): void;
|
|
35
35
|
/**
|
|
36
36
|
* Updates the Fuse.js instance and suggestions when properties change.
|
|
37
37
|
*
|
|
@@ -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,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ export default createFilterMethod;
|
|
|
5
5
|
* @param {Object} filterObject - The filter object containing filter details.
|
|
6
6
|
* @param {number} tabIndex - The tab index for the filter element.
|
|
7
7
|
* @param {Object} EOxItemFilter - The EOxItemFilter component instance.
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {import("lit").HTMLTemplateResult} The HTML template for the filter element.
|
|
9
9
|
*/
|
|
10
|
-
declare function createFilterMethod(filterObject: any, tabIndex: number, EOxItemFilter: any):
|
|
10
|
+
declare function createFilterMethod(filterObject: any, tabIndex: number, EOxItemFilter: any): 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,
|
|
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,CAsE5C"}
|
|
@@ -5,7 +5,7 @@ export default createResetMethod;
|
|
|
5
5
|
* @param {Object} filterObject - The filter object containing filter details.
|
|
6
6
|
* @param {number} tabIndex - The tab index for the reset button.
|
|
7
7
|
* @param {Object} EOxItemFilter - The EOxItemFilter component instance.
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {import("lit").HTMLTemplateResult} The HTML template for the reset button.
|
|
9
9
|
*/
|
|
10
|
-
declare function createResetMethod(filterObject: any, tabIndex: number, EOxItemFilter: any):
|
|
10
|
+
declare function createResetMethod(filterObject: any, tabIndex: number, EOxItemFilter: any): import("lit").HTMLTemplateResult;
|
|
11
11
|
//# sourceMappingURL=create-reset.d.ts.map
|