@jumpgroup/jump-design-system 0.3.52 → 0.3.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-97b3526b.js → index-e91b2b41.js} +26 -4
- package/dist/cjs/index-e91b2b41.js.map +1 -0
- package/dist/cjs/jump-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/jump-accordion.cjs.entry.js +1 -1
- package/dist/cjs/jump-badge.cjs.entry.js +1 -1
- package/dist/cjs/jump-button_2.cjs.entry.js +1 -1
- package/dist/cjs/jump-card-ecommerce-option.cjs.entry.js +1 -1
- package/dist/cjs/jump-card-ecommerce.cjs.entry.js +1 -1
- package/dist/cjs/jump-card.cjs.entry.js +1 -1
- package/dist/cjs/jump-design-system.cjs.js +2 -2
- package/dist/cjs/jump-filter-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/jump-filter.cjs.entry.js +1 -1
- package/dist/cjs/jump-filtergroup.cjs.entry.js +1 -1
- package/dist/cjs/jump-navbar.cjs.entry.js +1 -1
- package/dist/cjs/jump-pagination-table.cjs.entry.js +1 -1
- package/dist/cjs/jump-pagination.cjs.entry.js +1 -1
- package/dist/cjs/jump-quantity.cjs.entry.js +1 -1
- package/dist/cjs/jump-search-bar-dropdown-item.cjs.entry.js +46 -0
- package/dist/cjs/jump-search-bar-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/jump-search-bar-mobile.cjs.entry.js +130 -0
- package/dist/cjs/jump-search-bar-mobile.cjs.entry.js.map +1 -0
- package/dist/cjs/jump-search-bar.cjs.entry.js +139 -21
- package/dist/cjs/jump-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/jump-tab-item.cjs.entry.js +4 -4
- package/dist/cjs/jump-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/jump-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/jump-tab.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/jump-search-bar/jump-search-bar.css +173 -47
- package/dist/collection/components/jump-search-bar/jump-search-bar.js +424 -27
- package/dist/collection/components/jump-search-bar/jump-search-bar.js.map +1 -1
- package/dist/collection/components/jump-search-bar/jump-search-bar.stories.js +320 -49
- package/dist/collection/components/jump-search-bar/jump-search-bar.stories.js.map +1 -1
- package/dist/collection/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.css +3 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.js +122 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.js.map +1 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.stories.js +13 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.stories.js.map +1 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/test/jump-search-bar-dropdown-item.e2e.js +10 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/test/jump-search-bar-dropdown-item.e2e.js.map +1 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/test/jump-search-bar-dropdown-item.spec.js +18 -0
- package/dist/collection/components/jump-search-bar-dropdown-item/test/jump-search-bar-dropdown-item.spec.js.map +1 -0
- package/dist/collection/components/jump-search-bar-mobile/jump-search-bar-mobile.css +91 -0
- package/dist/collection/components/jump-search-bar-mobile/jump-search-bar-mobile.js +414 -0
- package/dist/collection/components/jump-search-bar-mobile/jump-search-bar-mobile.js.map +1 -0
- package/dist/collection/components/jump-search-bar-mobile/jump-search-bar-mobile.stories.js +192 -0
- package/dist/collection/components/jump-search-bar-mobile/jump-search-bar-mobile.stories.js.map +1 -0
- package/dist/collection/components/jump-search-bar-mobile/test/jump-search-bar-mobile.e2e.js +10 -0
- package/dist/collection/components/jump-search-bar-mobile/test/jump-search-bar-mobile.e2e.js.map +1 -0
- package/dist/collection/components/jump-search-bar-mobile/test/jump-search-bar-mobile.spec.js +18 -0
- package/dist/collection/components/jump-search-bar-mobile/test/jump-search-bar-mobile.spec.js.map +1 -0
- package/dist/collection/components/jump-tab/jump-tab.js +1 -1
- package/dist/collection/components/jump-tab-item/jump-tab-item.css +11 -6
- package/dist/collection/components/jump-tab-item/jump-tab-item.js +2 -2
- package/dist/collection/components/jump-tab-panel/jump-tab-panel.js +1 -1
- package/dist/components/jump-search-bar-dropdown-item.d.ts +11 -0
- package/dist/components/jump-search-bar-dropdown-item.js +65 -0
- package/dist/components/jump-search-bar-dropdown-item.js.map +1 -0
- package/dist/components/jump-search-bar-mobile.d.ts +11 -0
- package/dist/components/jump-search-bar-mobile.js +175 -0
- package/dist/components/jump-search-bar-mobile.js.map +1 -0
- package/dist/components/jump-search-bar.js +159 -22
- package/dist/components/jump-search-bar.js.map +1 -1
- package/dist/components/jump-tab-item.js +3 -3
- package/dist/components/jump-tab-item.js.map +1 -1
- package/dist/components/jump-tab-panel.js +1 -1
- package/dist/components/jump-tab.js +1 -1
- package/dist/esm/{index-14b73bd6.js → index-9a1da0f0.js} +26 -4
- package/dist/esm/index-9a1da0f0.js.map +1 -0
- package/dist/esm/jump-accordion-group.entry.js +1 -1
- package/dist/esm/jump-accordion.entry.js +1 -1
- package/dist/esm/jump-badge.entry.js +1 -1
- package/dist/esm/jump-button_2.entry.js +1 -1
- package/dist/esm/jump-card-ecommerce-option.entry.js +1 -1
- package/dist/esm/jump-card-ecommerce.entry.js +1 -1
- package/dist/esm/jump-card.entry.js +1 -1
- package/dist/esm/jump-design-system.js +3 -3
- package/dist/esm/jump-filter-checkbox.entry.js +1 -1
- package/dist/esm/jump-filter.entry.js +1 -1
- package/dist/esm/jump-filtergroup.entry.js +1 -1
- package/dist/esm/jump-navbar.entry.js +1 -1
- package/dist/esm/jump-pagination-table.entry.js +1 -1
- package/dist/esm/jump-pagination.entry.js +1 -1
- package/dist/esm/jump-quantity.entry.js +1 -1
- package/dist/esm/jump-search-bar-dropdown-item.entry.js +42 -0
- package/dist/esm/jump-search-bar-dropdown-item.entry.js.map +1 -0
- package/dist/esm/jump-search-bar-mobile.entry.js +126 -0
- package/dist/esm/jump-search-bar-mobile.entry.js.map +1 -0
- package/dist/esm/jump-search-bar.entry.js +139 -21
- package/dist/esm/jump-search-bar.entry.js.map +1 -1
- package/dist/esm/jump-tab-item.entry.js +4 -4
- package/dist/esm/jump-tab-item.entry.js.map +1 -1
- package/dist/esm/jump-tab-panel.entry.js +2 -2
- package/dist/esm/jump-tab.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/jump-design-system/jump-design-system.esm.js +1 -1
- package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
- package/dist/jump-design-system/{p-18df1585.entry.js → p-02e863db.entry.js} +2 -2
- package/dist/jump-design-system/p-07633158.entry.js +2 -0
- package/dist/jump-design-system/p-07633158.entry.js.map +1 -0
- package/dist/jump-design-system/p-1aa5fb8a.entry.js +2 -0
- package/dist/jump-design-system/p-1aa5fb8a.entry.js.map +1 -0
- package/dist/jump-design-system/{p-6e26f3ef.entry.js → p-1da9811d.entry.js} +2 -2
- package/dist/jump-design-system/p-21aa0095.js +3 -0
- package/dist/jump-design-system/p-21aa0095.js.map +1 -0
- package/dist/jump-design-system/p-2e2bd8a9.entry.js +2 -0
- package/dist/jump-design-system/{p-6f1c7238.entry.js → p-3f6d50d5.entry.js} +2 -2
- package/dist/jump-design-system/{p-8bdb9702.entry.js → p-466e0ade.entry.js} +2 -2
- package/dist/jump-design-system/{p-396d2541.entry.js → p-506950ea.entry.js} +2 -2
- package/dist/jump-design-system/{p-4b284def.entry.js → p-6acb16c6.entry.js} +3 -3
- package/dist/jump-design-system/{p-7b6c9e01.entry.js → p-6b1ab8c3.entry.js} +2 -2
- package/dist/jump-design-system/{p-53129684.entry.js → p-6dc529fc.entry.js} +2 -2
- package/dist/jump-design-system/{p-30c9d7c7.entry.js → p-6e7c80a3.entry.js} +2 -2
- package/dist/jump-design-system/p-8f581228.entry.js +2 -0
- package/dist/jump-design-system/{p-8873623c.entry.js → p-a1c25113.entry.js} +2 -2
- package/dist/jump-design-system/{p-1c882126.entry.js → p-a826c477.entry.js} +2 -2
- package/dist/jump-design-system/{p-e0e82d36.entry.js → p-b03c5b24.entry.js} +2 -2
- package/dist/jump-design-system/{p-174d297f.entry.js → p-bdafe87d.entry.js} +2 -2
- package/dist/jump-design-system/p-c77d216c.entry.js +2 -0
- package/dist/jump-design-system/p-c77d216c.entry.js.map +1 -0
- package/dist/jump-design-system/p-f7c323d2.entry.js +2 -0
- package/dist/jump-design-system/p-f7c323d2.entry.js.map +1 -0
- package/dist/jump-design-system/{p-f371718a.entry.js → p-feb825e0.entry.js} +2 -2
- package/dist/jump-design-system-elements.json +97 -3
- package/dist/types/components/jump-search-bar/jump-search-bar.d.ts +51 -11
- package/dist/types/components/jump-search-bar/jump-search-bar.stories.d.ts +137 -10
- package/dist/types/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.d.ts +10 -0
- package/dist/types/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.stories.d.ts +7 -0
- package/dist/types/components/jump-search-bar-mobile/jump-search-bar-mobile.d.ts +46 -0
- package/dist/types/components/jump-search-bar-mobile/jump-search-bar-mobile.stories.d.ts +131 -0
- package/dist/types/components.d.ts +135 -10
- package/package.json +1 -1
- package/dist/cjs/index-97b3526b.js.map +0 -1
- package/dist/esm/index-14b73bd6.js.map +0 -1
- package/dist/jump-design-system/p-134e548b.entry.js +0 -2
- package/dist/jump-design-system/p-134e548b.entry.js.map +0 -1
- package/dist/jump-design-system/p-1c5db8d3.js +0 -3
- package/dist/jump-design-system/p-1c5db8d3.js.map +0 -1
- package/dist/jump-design-system/p-3dd1f9a0.entry.js +0 -2
- package/dist/jump-design-system/p-5f12bbbb.entry.js +0 -2
- package/dist/jump-design-system/p-6363b6ee.entry.js +0 -2
- package/dist/jump-design-system/p-6363b6ee.entry.js.map +0 -1
- /package/dist/jump-design-system/{p-18df1585.entry.js.map → p-02e863db.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-6e26f3ef.entry.js.map → p-1da9811d.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-3dd1f9a0.entry.js.map → p-2e2bd8a9.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-6f1c7238.entry.js.map → p-3f6d50d5.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-8bdb9702.entry.js.map → p-466e0ade.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-396d2541.entry.js.map → p-506950ea.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-4b284def.entry.js.map → p-6acb16c6.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-7b6c9e01.entry.js.map → p-6b1ab8c3.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-53129684.entry.js.map → p-6dc529fc.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-30c9d7c7.entry.js.map → p-6e7c80a3.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-5f12bbbb.entry.js.map → p-8f581228.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-8873623c.entry.js.map → p-a1c25113.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-1c882126.entry.js.map → p-a826c477.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-e0e82d36.entry.js.map → p-b03c5b24.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-174d297f.entry.js.map → p-bdafe87d.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-f371718a.entry.js.map → p-feb825e0.entry.js.map} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class JumpSearchBarMobile {
|
|
3
|
+
jumpSearchBar: HTMLInputElement;
|
|
4
|
+
componentRef: HTMLElement;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
innerResults: Array<object>;
|
|
7
|
+
totalResults: number;
|
|
8
|
+
resType: string;
|
|
9
|
+
searchValue: string;
|
|
10
|
+
searchValueChanged(newValue: string): void;
|
|
11
|
+
identifier: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
recents: Array<object>;
|
|
14
|
+
recentsTitle: string;
|
|
15
|
+
debounceTime: number;
|
|
16
|
+
loadingText: string;
|
|
17
|
+
noResultText: string;
|
|
18
|
+
results: Array<object>;
|
|
19
|
+
resultsText: string;
|
|
20
|
+
showAllResText: string;
|
|
21
|
+
addOption(e: any): void;
|
|
22
|
+
resultClicked: EventEmitter;
|
|
23
|
+
/**
|
|
24
|
+
* Evento emesso quando l'utente effettua una ricerca
|
|
25
|
+
* Emette un oggetto contenenente il valore della ricerca alla chiave 'search'
|
|
26
|
+
* */
|
|
27
|
+
search: EventEmitter;
|
|
28
|
+
/**
|
|
29
|
+
* Evento emesso quando l'utente clicca sul pulsante (se presente) o nel pulsante del dropdown per vedere tutti i risultati
|
|
30
|
+
* Emette un oggetto contenenente il valore della ricerca alla chiave 'search'
|
|
31
|
+
*/
|
|
32
|
+
showFullSearch: EventEmitter;
|
|
33
|
+
/** Imposta i risultati della ricerca all'interno della dropdown */
|
|
34
|
+
setResults(results: any, tot?: number): Promise<void>;
|
|
35
|
+
openDropdown(): void;
|
|
36
|
+
closeDropdown(): void;
|
|
37
|
+
/** Emette l'evento quando l'utente clicca sul pulsante (se presente) o nel pulsante del dropdown per vedere tutti i risultati */
|
|
38
|
+
btnOrShowOtherClicked(): void;
|
|
39
|
+
handleFocus: () => void;
|
|
40
|
+
handleBlur: () => void;
|
|
41
|
+
/** Emette l'evento di click su un risultato, mandandone tutti i dati */
|
|
42
|
+
handleResClicked(item: any): void;
|
|
43
|
+
doSearch: () => void;
|
|
44
|
+
debounce(fn: any, delay?: number): (...args: any[]) => void;
|
|
45
|
+
render(): any;
|
|
46
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
argTypes: {
|
|
5
|
+
identifier: {
|
|
6
|
+
name: string;
|
|
7
|
+
control: string;
|
|
8
|
+
description: string;
|
|
9
|
+
table: {
|
|
10
|
+
type: {
|
|
11
|
+
summary: string;
|
|
12
|
+
};
|
|
13
|
+
defaultValue: {
|
|
14
|
+
summary: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
placeholder: {
|
|
19
|
+
name: string;
|
|
20
|
+
control: string;
|
|
21
|
+
description: string;
|
|
22
|
+
table: {
|
|
23
|
+
type: {
|
|
24
|
+
summary: string;
|
|
25
|
+
};
|
|
26
|
+
defaultValue: {
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
recents: {
|
|
32
|
+
name: string;
|
|
33
|
+
control: string;
|
|
34
|
+
description: string;
|
|
35
|
+
if: {
|
|
36
|
+
arg: string;
|
|
37
|
+
eq: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
recentsTitle: {
|
|
41
|
+
name: string;
|
|
42
|
+
control: string;
|
|
43
|
+
description: string;
|
|
44
|
+
if: {
|
|
45
|
+
arg: string;
|
|
46
|
+
eq: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
debounceTime: {
|
|
50
|
+
name: string;
|
|
51
|
+
control: string;
|
|
52
|
+
description: string;
|
|
53
|
+
if: {
|
|
54
|
+
arg: string;
|
|
55
|
+
eq: string;
|
|
56
|
+
};
|
|
57
|
+
table: {
|
|
58
|
+
type: {
|
|
59
|
+
summary: string;
|
|
60
|
+
};
|
|
61
|
+
defaultValue: {
|
|
62
|
+
summary: number;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
loadingText: {
|
|
67
|
+
name: string;
|
|
68
|
+
control: string;
|
|
69
|
+
description: string;
|
|
70
|
+
table: {
|
|
71
|
+
type: {
|
|
72
|
+
summary: string;
|
|
73
|
+
};
|
|
74
|
+
defaultValue: {
|
|
75
|
+
summary: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
noResultText: {
|
|
80
|
+
name: string;
|
|
81
|
+
control: string;
|
|
82
|
+
description: string;
|
|
83
|
+
table: {
|
|
84
|
+
type: {
|
|
85
|
+
summary: string;
|
|
86
|
+
};
|
|
87
|
+
defaultValue: {
|
|
88
|
+
summary: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
resultsText: {
|
|
93
|
+
name: string;
|
|
94
|
+
control: string;
|
|
95
|
+
description: string;
|
|
96
|
+
table: {
|
|
97
|
+
type: {
|
|
98
|
+
summary: string;
|
|
99
|
+
};
|
|
100
|
+
defaultValue: {
|
|
101
|
+
summary: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
results: {
|
|
106
|
+
name: string;
|
|
107
|
+
control: string;
|
|
108
|
+
description: string;
|
|
109
|
+
if: {
|
|
110
|
+
arg: string;
|
|
111
|
+
eq: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
showAllResText: {
|
|
115
|
+
name: string;
|
|
116
|
+
control: string;
|
|
117
|
+
description: string;
|
|
118
|
+
table: {
|
|
119
|
+
type: {
|
|
120
|
+
summary: string;
|
|
121
|
+
};
|
|
122
|
+
defaultValue: {
|
|
123
|
+
summary: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export default _default;
|
|
130
|
+
export declare const SearchBar: any;
|
|
131
|
+
export declare const SearchBarWithDropdown: any;
|
|
@@ -455,17 +455,46 @@ export namespace Components {
|
|
|
455
455
|
"variant": 'vertical' | 'horizontal';
|
|
456
456
|
}
|
|
457
457
|
interface JumpSearchBar {
|
|
458
|
+
"debounceTime": number;
|
|
459
|
+
"dropdown": boolean;
|
|
460
|
+
"dropdownPosition": string;
|
|
461
|
+
"identifier": string;
|
|
462
|
+
"linearIconOnly": boolean;
|
|
463
|
+
"loadingText": string;
|
|
464
|
+
"noResultText": string;
|
|
465
|
+
"placeholder": string;
|
|
466
|
+
"recents": Array<object>;
|
|
467
|
+
"recentsTitle": string;
|
|
468
|
+
"results": Array<object>;
|
|
469
|
+
"resultsText": string;
|
|
458
470
|
/**
|
|
459
|
-
*
|
|
471
|
+
* Imposta i risultati della ricerca all'interno della dropdown
|
|
460
472
|
*/
|
|
473
|
+
"setResults": (results: any, tot?: number) => Promise<void>;
|
|
474
|
+
"showAllResText": string;
|
|
475
|
+
"variant": string;
|
|
476
|
+
"withBtn": boolean;
|
|
477
|
+
}
|
|
478
|
+
interface JumpSearchBarDropdownItem {
|
|
479
|
+
"href": string;
|
|
480
|
+
"img": string;
|
|
481
|
+
"value": string;
|
|
482
|
+
}
|
|
483
|
+
interface JumpSearchBarMobile {
|
|
461
484
|
"debounceTime": number;
|
|
462
485
|
"identifier": string;
|
|
486
|
+
"loadingText": string;
|
|
487
|
+
"noResultText": string;
|
|
463
488
|
"placeholder": string;
|
|
489
|
+
"recents": Array<object>;
|
|
490
|
+
"recentsTitle": string;
|
|
491
|
+
"results": Array<object>;
|
|
492
|
+
"resultsText": string;
|
|
464
493
|
/**
|
|
465
|
-
*
|
|
494
|
+
* Imposta i risultati della ricerca all'interno della dropdown
|
|
466
495
|
*/
|
|
467
|
-
"
|
|
468
|
-
"
|
|
496
|
+
"setResults": (results: any, tot?: number) => Promise<void>;
|
|
497
|
+
"showAllResText": string;
|
|
469
498
|
}
|
|
470
499
|
interface JumpTab {
|
|
471
500
|
"alignment": string;
|
|
@@ -532,6 +561,14 @@ export interface JumpSearchBarCustomEvent<T> extends CustomEvent<T> {
|
|
|
532
561
|
detail: T;
|
|
533
562
|
target: HTMLJumpSearchBarElement;
|
|
534
563
|
}
|
|
564
|
+
export interface JumpSearchBarDropdownItemCustomEvent<T> extends CustomEvent<T> {
|
|
565
|
+
detail: T;
|
|
566
|
+
target: HTMLJumpSearchBarDropdownItemElement;
|
|
567
|
+
}
|
|
568
|
+
export interface JumpSearchBarMobileCustomEvent<T> extends CustomEvent<T> {
|
|
569
|
+
detail: T;
|
|
570
|
+
target: HTMLJumpSearchBarMobileElement;
|
|
571
|
+
}
|
|
535
572
|
export interface JumpTabCustomEvent<T> extends CustomEvent<T> {
|
|
536
573
|
detail: T;
|
|
537
574
|
target: HTMLJumpTabElement;
|
|
@@ -724,7 +761,10 @@ declare global {
|
|
|
724
761
|
new (): HTMLJumpQuantityElement;
|
|
725
762
|
};
|
|
726
763
|
interface HTMLJumpSearchBarElementEventMap {
|
|
764
|
+
"jump-search-bar-expanded": any;
|
|
727
765
|
"jump-search-bar": any;
|
|
766
|
+
"jump-search-bar-show-all": any;
|
|
767
|
+
"jump-search-bar-res-clicked": any;
|
|
728
768
|
}
|
|
729
769
|
interface HTMLJumpSearchBarElement extends Components.JumpSearchBar, HTMLStencilElement {
|
|
730
770
|
addEventListener<K extends keyof HTMLJumpSearchBarElementEventMap>(type: K, listener: (this: HTMLJumpSearchBarElement, ev: JumpSearchBarCustomEvent<HTMLJumpSearchBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -740,6 +780,42 @@ declare global {
|
|
|
740
780
|
prototype: HTMLJumpSearchBarElement;
|
|
741
781
|
new (): HTMLJumpSearchBarElement;
|
|
742
782
|
};
|
|
783
|
+
interface HTMLJumpSearchBarDropdownItemElementEventMap {
|
|
784
|
+
"jump-search-bar-dropdown-item-connected": any;
|
|
785
|
+
}
|
|
786
|
+
interface HTMLJumpSearchBarDropdownItemElement extends Components.JumpSearchBarDropdownItem, HTMLStencilElement {
|
|
787
|
+
addEventListener<K extends keyof HTMLJumpSearchBarDropdownItemElementEventMap>(type: K, listener: (this: HTMLJumpSearchBarDropdownItemElement, ev: JumpSearchBarDropdownItemCustomEvent<HTMLJumpSearchBarDropdownItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
788
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
789
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
790
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
791
|
+
removeEventListener<K extends keyof HTMLJumpSearchBarDropdownItemElementEventMap>(type: K, listener: (this: HTMLJumpSearchBarDropdownItemElement, ev: JumpSearchBarDropdownItemCustomEvent<HTMLJumpSearchBarDropdownItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
792
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
793
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
794
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
795
|
+
}
|
|
796
|
+
var HTMLJumpSearchBarDropdownItemElement: {
|
|
797
|
+
prototype: HTMLJumpSearchBarDropdownItemElement;
|
|
798
|
+
new (): HTMLJumpSearchBarDropdownItemElement;
|
|
799
|
+
};
|
|
800
|
+
interface HTMLJumpSearchBarMobileElementEventMap {
|
|
801
|
+
"jump-search-bar-mobile-res-clicked": any;
|
|
802
|
+
"jump-search-bar-mobile": any;
|
|
803
|
+
"jump-search-bar-mobile-show-all": any;
|
|
804
|
+
}
|
|
805
|
+
interface HTMLJumpSearchBarMobileElement extends Components.JumpSearchBarMobile, HTMLStencilElement {
|
|
806
|
+
addEventListener<K extends keyof HTMLJumpSearchBarMobileElementEventMap>(type: K, listener: (this: HTMLJumpSearchBarMobileElement, ev: JumpSearchBarMobileCustomEvent<HTMLJumpSearchBarMobileElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
807
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
808
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
809
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
810
|
+
removeEventListener<K extends keyof HTMLJumpSearchBarMobileElementEventMap>(type: K, listener: (this: HTMLJumpSearchBarMobileElement, ev: JumpSearchBarMobileCustomEvent<HTMLJumpSearchBarMobileElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
811
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
812
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
813
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
814
|
+
}
|
|
815
|
+
var HTMLJumpSearchBarMobileElement: {
|
|
816
|
+
prototype: HTMLJumpSearchBarMobileElement;
|
|
817
|
+
new (): HTMLJumpSearchBarMobileElement;
|
|
818
|
+
};
|
|
743
819
|
interface HTMLJumpTabElementEventMap {
|
|
744
820
|
"jump-change-activetab": any;
|
|
745
821
|
}
|
|
@@ -797,6 +873,8 @@ declare global {
|
|
|
797
873
|
"jump-pagination-table": HTMLJumpPaginationTableElement;
|
|
798
874
|
"jump-quantity": HTMLJumpQuantityElement;
|
|
799
875
|
"jump-search-bar": HTMLJumpSearchBarElement;
|
|
876
|
+
"jump-search-bar-dropdown-item": HTMLJumpSearchBarDropdownItemElement;
|
|
877
|
+
"jump-search-bar-mobile": HTMLJumpSearchBarMobileElement;
|
|
800
878
|
"jump-tab": HTMLJumpTabElement;
|
|
801
879
|
"jump-tab-item": HTMLJumpTabItemElement;
|
|
802
880
|
"jump-tab-panel": HTMLJumpTabPanelElement;
|
|
@@ -1244,18 +1322,61 @@ declare namespace LocalJSX {
|
|
|
1244
1322
|
"variant"?: 'vertical' | 'horizontal';
|
|
1245
1323
|
}
|
|
1246
1324
|
interface JumpSearchBar {
|
|
1247
|
-
/**
|
|
1248
|
-
* Variabile per personalizzare il tempo di attesa prima di eseguire la ricerca
|
|
1249
|
-
*/
|
|
1250
1325
|
"debounceTime"?: number;
|
|
1326
|
+
"dropdown"?: boolean;
|
|
1327
|
+
"dropdownPosition"?: string;
|
|
1251
1328
|
"identifier"?: string;
|
|
1329
|
+
"linearIconOnly"?: boolean;
|
|
1330
|
+
"loadingText"?: string;
|
|
1331
|
+
"noResultText"?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Evento emesso quando l'utente effettua una ricerca Emette un oggetto contenenente il valore della ricerca alla chiave 'search'
|
|
1334
|
+
*/
|
|
1252
1335
|
"onJump-search-bar"?: (event: JumpSearchBarCustomEvent<any>) => void;
|
|
1253
|
-
"placeholder"?: string;
|
|
1254
1336
|
/**
|
|
1255
|
-
*
|
|
1337
|
+
* Evento emesso quando l'utente clicca sull'icona in variant linear e linearIconOnly
|
|
1338
|
+
*/
|
|
1339
|
+
"onJump-search-bar-expanded"?: (event: JumpSearchBarCustomEvent<any>) => void;
|
|
1340
|
+
"onJump-search-bar-res-clicked"?: (event: JumpSearchBarCustomEvent<any>) => void;
|
|
1341
|
+
/**
|
|
1342
|
+
* Evento emesso quando l'utente clicca sul pulsante (se presente) o nel pulsante del dropdown per vedere tutti i risultati Emette un oggetto contenenente il valore della ricerca alla chiave 'search'
|
|
1256
1343
|
*/
|
|
1257
|
-
"
|
|
1344
|
+
"onJump-search-bar-show-all"?: (event: JumpSearchBarCustomEvent<any>) => void;
|
|
1345
|
+
"placeholder"?: string;
|
|
1346
|
+
"recents"?: Array<object>;
|
|
1347
|
+
"recentsTitle"?: string;
|
|
1348
|
+
"results"?: Array<object>;
|
|
1349
|
+
"resultsText"?: string;
|
|
1350
|
+
"showAllResText"?: string;
|
|
1258
1351
|
"variant"?: string;
|
|
1352
|
+
"withBtn"?: boolean;
|
|
1353
|
+
}
|
|
1354
|
+
interface JumpSearchBarDropdownItem {
|
|
1355
|
+
"href"?: string;
|
|
1356
|
+
"img"?: string;
|
|
1357
|
+
"onJump-search-bar-dropdown-item-connected"?: (event: JumpSearchBarDropdownItemCustomEvent<any>) => void;
|
|
1358
|
+
"value"?: string;
|
|
1359
|
+
}
|
|
1360
|
+
interface JumpSearchBarMobile {
|
|
1361
|
+
"debounceTime"?: number;
|
|
1362
|
+
"identifier"?: string;
|
|
1363
|
+
"loadingText"?: string;
|
|
1364
|
+
"noResultText"?: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* Evento emesso quando l'utente effettua una ricerca Emette un oggetto contenenente il valore della ricerca alla chiave 'search'
|
|
1367
|
+
*/
|
|
1368
|
+
"onJump-search-bar-mobile"?: (event: JumpSearchBarMobileCustomEvent<any>) => void;
|
|
1369
|
+
"onJump-search-bar-mobile-res-clicked"?: (event: JumpSearchBarMobileCustomEvent<any>) => void;
|
|
1370
|
+
/**
|
|
1371
|
+
* Evento emesso quando l'utente clicca sul pulsante (se presente) o nel pulsante del dropdown per vedere tutti i risultati Emette un oggetto contenenente il valore della ricerca alla chiave 'search'
|
|
1372
|
+
*/
|
|
1373
|
+
"onJump-search-bar-mobile-show-all"?: (event: JumpSearchBarMobileCustomEvent<any>) => void;
|
|
1374
|
+
"placeholder"?: string;
|
|
1375
|
+
"recents"?: Array<object>;
|
|
1376
|
+
"recentsTitle"?: string;
|
|
1377
|
+
"results"?: Array<object>;
|
|
1378
|
+
"resultsText"?: string;
|
|
1379
|
+
"showAllResText"?: string;
|
|
1259
1380
|
}
|
|
1260
1381
|
interface JumpTab {
|
|
1261
1382
|
"alignment"?: string;
|
|
@@ -1304,6 +1425,8 @@ declare namespace LocalJSX {
|
|
|
1304
1425
|
"jump-pagination-table": JumpPaginationTable;
|
|
1305
1426
|
"jump-quantity": JumpQuantity;
|
|
1306
1427
|
"jump-search-bar": JumpSearchBar;
|
|
1428
|
+
"jump-search-bar-dropdown-item": JumpSearchBarDropdownItem;
|
|
1429
|
+
"jump-search-bar-mobile": JumpSearchBarMobile;
|
|
1307
1430
|
"jump-tab": JumpTab;
|
|
1308
1431
|
"jump-tab-item": JumpTabItem;
|
|
1309
1432
|
"jump-tab-panel": JumpTabPanel;
|
|
@@ -1329,6 +1452,8 @@ declare module "@stencil/core" {
|
|
|
1329
1452
|
"jump-pagination-table": LocalJSX.JumpPaginationTable & JSXBase.HTMLAttributes<HTMLJumpPaginationTableElement>;
|
|
1330
1453
|
"jump-quantity": LocalJSX.JumpQuantity & JSXBase.HTMLAttributes<HTMLJumpQuantityElement>;
|
|
1331
1454
|
"jump-search-bar": LocalJSX.JumpSearchBar & JSXBase.HTMLAttributes<HTMLJumpSearchBarElement>;
|
|
1455
|
+
"jump-search-bar-dropdown-item": LocalJSX.JumpSearchBarDropdownItem & JSXBase.HTMLAttributes<HTMLJumpSearchBarDropdownItemElement>;
|
|
1456
|
+
"jump-search-bar-mobile": LocalJSX.JumpSearchBarMobile & JSXBase.HTMLAttributes<HTMLJumpSearchBarMobileElement>;
|
|
1332
1457
|
"jump-tab": LocalJSX.JumpTab & JSXBase.HTMLAttributes<HTMLJumpTabElement>;
|
|
1333
1458
|
"jump-tab-item": LocalJSX.JumpTabItem & JSXBase.HTMLAttributes<HTMLJumpTabItemElement>;
|
|
1334
1459
|
"jump-tab-panel": LocalJSX.JumpTabPanel & JSXBase.HTMLAttributes<HTMLJumpTabPanelElement>;
|