@net7/components 3.0.2-rc.2
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/README.md +24 -0
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +25 -0
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +100 -0
- package/esm2020/lib/components/alert/alert.mjs +24 -0
- package/esm2020/lib/components/alert/alert.mock.mjs +11 -0
- package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +35 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +25 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mock.mjs +25 -0
- package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +315 -0
- package/esm2020/lib/components/bubble-chart/bubble-chart.mock.mjs +4025 -0
- package/esm2020/lib/components/carousel/carousel.mjs +89 -0
- package/esm2020/lib/components/carousel/carousel.mock.mjs +135 -0
- package/esm2020/lib/components/chart/chart.mjs +37 -0
- package/esm2020/lib/components/chart/chart.mock.mjs +112 -0
- package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +17 -0
- package/esm2020/lib/components/content-placeholder/content-placeholder.mock.mjs +13 -0
- package/esm2020/lib/components/data-widget/data-widget.mjs +29 -0
- package/esm2020/lib/components/data-widget/data-widget.mock.mjs +13 -0
- package/esm2020/lib/components/datepicker/datepicker.mjs +44 -0
- package/esm2020/lib/components/datepicker/datepicker.mock.mjs +8 -0
- package/esm2020/lib/components/facet/facet.mjs +24 -0
- package/esm2020/lib/components/facet/facet.mock.mjs +103 -0
- package/esm2020/lib/components/facet-header/facet-header.mjs +24 -0
- package/esm2020/lib/components/facet-header/facet-header.mock.mjs +9 -0
- package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +53 -0
- package/esm2020/lib/components/facet-year-range/facet-year-range.mock.mjs +30 -0
- package/esm2020/lib/components/footer/footer.mjs +25 -0
- package/esm2020/lib/components/footer/footer.mock.mjs +48 -0
- package/esm2020/lib/components/header/header.mjs +51 -0
- package/esm2020/lib/components/header/header.mock.mjs +83 -0
- package/esm2020/lib/components/hero/hero.mjs +41 -0
- package/esm2020/lib/components/hero/hero.mock.mjs +25 -0
- package/esm2020/lib/components/histogram-range/histogram-range.mjs +376 -0
- package/esm2020/lib/components/histogram-range/histogram-range.mock.mjs +243 -0
- package/esm2020/lib/components/image-viewer/image-viewer.mjs +55 -0
- package/esm2020/lib/components/image-viewer/image-viewer.mock.mjs +25 -0
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +28 -0
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +54 -0
- package/esm2020/lib/components/inner-title/inner-title.mjs +40 -0
- package/esm2020/lib/components/inner-title/inner-title.mock.mjs +52 -0
- package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +24 -0
- package/esm2020/lib/components/input-checkbox/input-checkbox.mock.mjs +25 -0
- package/esm2020/lib/components/input-link/input-link.mjs +24 -0
- package/esm2020/lib/components/input-link/input-link.mock.mjs +38 -0
- package/esm2020/lib/components/input-select/input-select.mjs +24 -0
- package/esm2020/lib/components/input-select/input-select.mock.mjs +12 -0
- package/esm2020/lib/components/input-text/input-text.mjs +24 -0
- package/esm2020/lib/components/input-text/input-text.mock.mjs +13 -0
- package/esm2020/lib/components/item-preview/item-preview.mjs +25 -0
- package/esm2020/lib/components/item-preview/item-preview.mock.mjs +43 -0
- package/esm2020/lib/components/loader/loader.mjs +16 -0
- package/esm2020/lib/components/loader/loader.mock.mjs +4 -0
- package/esm2020/lib/components/map/map.mjs +64 -0
- package/esm2020/lib/components/map/map.mock.mjs +25 -0
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +19 -0
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mock.mjs +74 -0
- package/esm2020/lib/components/nav/nav.mjs +22 -0
- package/esm2020/lib/components/nav/nav.mock.mjs +29 -0
- package/esm2020/lib/components/pagination/pagination.mjs +31 -0
- package/esm2020/lib/components/pagination/pagination.mock.mjs +23 -0
- package/esm2020/lib/components/progress-line/progress-line.mjs +19 -0
- package/esm2020/lib/components/progress-line/progress-line.mock.mjs +5 -0
- package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +24 -0
- package/esm2020/lib/components/sidebar-header/sidebar-header.mock.mjs +9 -0
- package/esm2020/lib/components/signup/signup.mjs +44 -0
- package/esm2020/lib/components/signup/signup.mock.mjs +106 -0
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +25 -0
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +15 -0
- package/esm2020/lib/components/table/table.mjs +35 -0
- package/esm2020/lib/components/table/table.mock.mjs +152 -0
- package/esm2020/lib/components/tag/tag.mjs +24 -0
- package/esm2020/lib/components/tag/tag.mock.mjs +8 -0
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +37 -0
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +39 -0
- package/esm2020/lib/components/timeline/timeline.mjs +51 -0
- package/esm2020/lib/components/timeline/timeline.mock.mjs +137 -0
- package/esm2020/lib/components/toast/toast.mjs +24 -0
- package/esm2020/lib/components/toast/toast.mock.mjs +47 -0
- package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +25 -0
- package/esm2020/lib/components/tooltip-content/tooltip-content.mock.mjs +19 -0
- package/esm2020/lib/components/tree/tree.mjs +25 -0
- package/esm2020/lib/components/tree/tree.mock.mjs +274 -0
- package/esm2020/lib/components/wizard/wizard.mjs +24 -0
- package/esm2020/lib/components/wizard/wizard.mock.mjs +29 -0
- package/esm2020/lib/dv-components-lib.module.mjs +191 -0
- package/esm2020/lib/shared-interfaces.mjs +2 -0
- package/esm2020/net7-components.mjs +5 -0
- package/esm2020/public-api.mjs +93 -0
- package/fesm2015/net7-components.mjs +8154 -0
- package/fesm2015/net7-components.mjs.map +1 -0
- package/fesm2020/net7-components.mjs +8168 -0
- package/fesm2020/net7-components.mjs.map +1 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.d.ts +57 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.mock.d.ts +2 -0
- package/lib/components/alert/alert.d.ts +46 -0
- package/lib/components/alert/alert.mock.d.ts +2 -0
- package/lib/components/anchor-wrapper/anchor-wrapper.d.ts +16 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +50 -0
- package/lib/components/breadcrumbs/breadcrumbs.mock.d.ts +2 -0
- package/lib/components/bubble-chart/bubble-chart.d.ts +108 -0
- package/lib/components/bubble-chart/bubble-chart.mock.d.ts +2 -0
- package/lib/components/carousel/carousel.d.ts +166 -0
- package/lib/components/carousel/carousel.mock.d.ts +2 -0
- package/lib/components/chart/chart.d.ts +46 -0
- package/lib/components/chart/chart.mock.d.ts +2 -0
- package/lib/components/content-placeholder/content-placeholder.d.ts +28 -0
- package/lib/components/content-placeholder/content-placeholder.mock.d.ts +2 -0
- package/lib/components/data-widget/data-widget.d.ts +50 -0
- package/lib/components/data-widget/data-widget.mock.d.ts +2 -0
- package/lib/components/datepicker/datepicker.d.ts +43 -0
- package/lib/components/datepicker/datepicker.mock.d.ts +2 -0
- package/lib/components/facet/facet.d.ts +129 -0
- package/lib/components/facet/facet.mock.d.ts +2 -0
- package/lib/components/facet-header/facet-header.d.ts +44 -0
- package/lib/components/facet-header/facet-header.mock.d.ts +2 -0
- package/lib/components/facet-year-range/facet-year-range.d.ts +83 -0
- package/lib/components/facet-year-range/facet-year-range.mock.d.ts +2 -0
- package/lib/components/footer/footer.d.ts +118 -0
- package/lib/components/footer/footer.mock.d.ts +2 -0
- package/lib/components/header/header.d.ts +281 -0
- package/lib/components/header/header.mock.d.ts +2 -0
- package/lib/components/hero/hero.d.ts +75 -0
- package/lib/components/hero/hero.mock.d.ts +2 -0
- package/lib/components/histogram-range/histogram-range.d.ts +113 -0
- package/lib/components/histogram-range/histogram-range.mock.d.ts +2 -0
- package/lib/components/image-viewer/image-viewer.d.ts +61 -0
- package/lib/components/image-viewer/image-viewer.mock.d.ts +2 -0
- package/lib/components/image-viewer-tools/image-viewer-tools.d.ts +116 -0
- package/lib/components/image-viewer-tools/image-viewer-tools.mock.d.ts +2 -0
- package/lib/components/inner-title/inner-title.d.ts +61 -0
- package/lib/components/inner-title/inner-title.mock.d.ts +2 -0
- package/lib/components/input-checkbox/input-checkbox.d.ts +67 -0
- package/lib/components/input-checkbox/input-checkbox.mock.d.ts +2 -0
- package/lib/components/input-link/input-link.d.ts +54 -0
- package/lib/components/input-link/input-link.mock.d.ts +2 -0
- package/lib/components/input-select/input-select.d.ts +67 -0
- package/lib/components/input-select/input-select.mock.d.ts +2 -0
- package/lib/components/input-text/input-text.d.ts +81 -0
- package/lib/components/input-text/input-text.mock.d.ts +2 -0
- package/lib/components/item-preview/item-preview.d.ts +93 -0
- package/lib/components/item-preview/item-preview.mock.d.ts +2 -0
- package/lib/components/loader/loader.d.ts +22 -0
- package/lib/components/loader/loader.mock.d.ts +2 -0
- package/lib/components/map/map.d.ts +69 -0
- package/lib/components/map/map.mock.d.ts +2 -0
- package/lib/components/metadata-viewer/metadata-viewer.d.ts +65 -0
- package/lib/components/metadata-viewer/metadata-viewer.mock.d.ts +8 -0
- package/lib/components/nav/nav.d.ts +66 -0
- package/lib/components/nav/nav.mock.d.ts +2 -0
- package/lib/components/pagination/pagination.d.ts +94 -0
- package/lib/components/pagination/pagination.mock.d.ts +2 -0
- package/lib/components/progress-line/progress-line.d.ts +23 -0
- package/lib/components/progress-line/progress-line.mock.d.ts +2 -0
- package/lib/components/sidebar-header/sidebar-header.d.ts +44 -0
- package/lib/components/sidebar-header/sidebar-header.mock.d.ts +2 -0
- package/lib/components/signup/signup.d.ts +109 -0
- package/lib/components/signup/signup.mock.d.ts +2 -0
- package/lib/components/simple-autocomplete/simple-autocomplete.d.ts +40 -0
- package/lib/components/simple-autocomplete/simple-autocomplete.mock.d.ts +2 -0
- package/lib/components/table/table.d.ts +89 -0
- package/lib/components/table/table.mock.d.ts +2 -0
- package/lib/components/tag/tag.d.ts +45 -0
- package/lib/components/tag/tag.mock.d.ts +2 -0
- package/lib/components/text-viewer/text-viewer.d.ts +34 -0
- package/lib/components/text-viewer/text-viewer.mock.d.ts +2 -0
- package/lib/components/timeline/timeline.d.ts +30 -0
- package/lib/components/timeline/timeline.mock.d.ts +2 -0
- package/lib/components/toast/toast.d.ts +84 -0
- package/lib/components/toast/toast.mock.d.ts +2 -0
- package/lib/components/tooltip-content/tooltip-content.d.ts +24 -0
- package/lib/components/tooltip-content/tooltip-content.mock.d.ts +2 -0
- package/lib/components/tree/tree.d.ts +79 -0
- package/lib/components/tree/tree.mock.d.ts +2 -0
- package/lib/components/wizard/wizard.d.ts +57 -0
- package/lib/components/wizard/wizard.mock.d.ts +2 -0
- package/lib/dv-components-lib.module.d.ts +50 -0
- package/lib/shared-interfaces.d.ts +60 -0
- package/net7-components.d.ts +5 -0
- package/package.json +44 -0
- package/public-api.d.ts +85 -0
- package/src/lib/styles/_imports.scss +77 -0
- package/src/lib/styles/atoms/_button.scss +205 -0
- package/src/lib/styles/components/_advanced-autocomplete.scss +190 -0
- package/src/lib/styles/components/_alert.scss +115 -0
- package/src/lib/styles/components/_anchor-wrapper.scss +29 -0
- package/src/lib/styles/components/_breadcrumbs.scss +99 -0
- package/src/lib/styles/components/_bubble-chart.scss +33 -0
- package/src/lib/styles/components/_carousel.scss +184 -0
- package/src/lib/styles/components/_chart.scss +28 -0
- package/src/lib/styles/components/_content-placeholder.scss +74 -0
- package/src/lib/styles/components/_data-widget.scss +93 -0
- package/src/lib/styles/components/_datepicker.scss +29 -0
- package/src/lib/styles/components/_facet-header.scss +58 -0
- package/src/lib/styles/components/_facet-year-range.scss +63 -0
- package/src/lib/styles/components/_facet.scss +164 -0
- package/src/lib/styles/components/_footer.scss +116 -0
- package/src/lib/styles/components/_header.scss +474 -0
- package/src/lib/styles/components/_hero.scss +207 -0
- package/src/lib/styles/components/_histogram-range.scss +36 -0
- package/src/lib/styles/components/_image-viewer-tools.scss +225 -0
- package/src/lib/styles/components/_image-viewer.scss +173 -0
- package/src/lib/styles/components/_inner-title.scss +161 -0
- package/src/lib/styles/components/_input-checkbox.scss +50 -0
- package/src/lib/styles/components/_input-link.scss +78 -0
- package/src/lib/styles/components/_input-select.scss +25 -0
- package/src/lib/styles/components/_input-text.scss +53 -0
- package/src/lib/styles/components/_item-preview.scss +218 -0
- package/src/lib/styles/components/_loader.scss +54 -0
- package/src/lib/styles/components/_map.scss +31 -0
- package/src/lib/styles/components/_metadata-viewer.scss +52 -0
- package/src/lib/styles/components/_nav.scss +57 -0
- package/src/lib/styles/components/_pagination.scss +170 -0
- package/src/lib/styles/components/_progress-line.scss +53 -0
- package/src/lib/styles/components/_sidebar-header.scss +69 -0
- package/src/lib/styles/components/_signup.scss +157 -0
- package/src/lib/styles/components/_simple-autocomplete.scss +60 -0
- package/src/lib/styles/components/_table.scss +129 -0
- package/src/lib/styles/components/_tag.scss +51 -0
- package/src/lib/styles/components/_text-viewer.scss +446 -0
- package/src/lib/styles/components/_timeline.scss +29 -0
- package/src/lib/styles/components/_toast.scss +99 -0
- package/src/lib/styles/components/_tooltip-content.scss +29 -0
- package/src/lib/styles/components/_tree.scss +208 -0
- package/src/lib/styles/components/_wizard.scss +150 -0
- package/src/lib/styles/generic/_color_scheme.scss +27 -0
- package/src/lib/styles/generic/_mixins.scss +81 -0
- package/src/lib/styles/generic/_variables.scss +385 -0
- package/src/lib/styles/global/_forms.scss +122 -0
- package/src/lib/styles/global/_global.scss +46 -0
- package/src/lib/styles/global/_normalize.scss +433 -0
- package/src/lib/styles/global/_typography.scss +88 -0
- package/src/lib/styles/utilities/_grids.scss +361 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for FacetComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property sections (required)
|
|
6
|
+
* @property classes (optional)
|
|
7
|
+
*/
|
|
8
|
+
export interface FacetData {
|
|
9
|
+
sections: FacetSection[];
|
|
10
|
+
classes?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Interface for FacetSection
|
|
14
|
+
*
|
|
15
|
+
* @property inputs (required)
|
|
16
|
+
* @property classes (optional)
|
|
17
|
+
* @property _meta (optional)
|
|
18
|
+
*/
|
|
19
|
+
export interface FacetSection {
|
|
20
|
+
inputs: Array<FacetInputCheckbox | FacetInputLink | FacetInputText | FacetInputSelect>;
|
|
21
|
+
classes?: string;
|
|
22
|
+
_meta?: any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Interface for FacetInputText
|
|
26
|
+
*
|
|
27
|
+
* @property type (required)
|
|
28
|
+
* @property id (required)
|
|
29
|
+
* @property placeholder (optional)
|
|
30
|
+
* @property value (optional)
|
|
31
|
+
* @property label (optional)
|
|
32
|
+
* @property disabled (optional)
|
|
33
|
+
* @property icon (optional)
|
|
34
|
+
* @property inputPayload (optional)
|
|
35
|
+
* @property enterPayload (optional)
|
|
36
|
+
* @property iconPayload (optional)
|
|
37
|
+
* @property classes (optional)
|
|
38
|
+
* @property _meta (optional)
|
|
39
|
+
*/
|
|
40
|
+
export interface FacetInputText {
|
|
41
|
+
type: 'text';
|
|
42
|
+
id: string;
|
|
43
|
+
placeholder?: string;
|
|
44
|
+
value?: string | number | null;
|
|
45
|
+
label?: string;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
icon?: string;
|
|
48
|
+
inputPayload?: any;
|
|
49
|
+
enterPayload?: any;
|
|
50
|
+
iconPayload?: any;
|
|
51
|
+
classes?: any;
|
|
52
|
+
_meta?: any;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Interface for FacetInputSelect
|
|
56
|
+
*
|
|
57
|
+
* @property type (required)
|
|
58
|
+
* @property id (required)
|
|
59
|
+
* @property options (required)
|
|
60
|
+
* @property label (optional)
|
|
61
|
+
* @property disabled (optional)
|
|
62
|
+
* @property icon (optional)
|
|
63
|
+
* @property payload (optional)
|
|
64
|
+
* @property classes (optional)
|
|
65
|
+
* @property _meta (optional)
|
|
66
|
+
*/
|
|
67
|
+
export interface FacetInputSelect {
|
|
68
|
+
type: 'select';
|
|
69
|
+
id: string;
|
|
70
|
+
options: Array<{
|
|
71
|
+
label: string;
|
|
72
|
+
value: string | number;
|
|
73
|
+
selected?: boolean;
|
|
74
|
+
disabled?: boolean;
|
|
75
|
+
}>;
|
|
76
|
+
label?: string;
|
|
77
|
+
disabled?: boolean;
|
|
78
|
+
payload?: any;
|
|
79
|
+
classes?: any;
|
|
80
|
+
_meta?: any;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Interface for FacetInputCheckbox
|
|
84
|
+
*
|
|
85
|
+
* @property type (required)
|
|
86
|
+
* @property id (required)
|
|
87
|
+
* @property label (required)
|
|
88
|
+
* @property checked (optional)
|
|
89
|
+
* @property disabled (optional)
|
|
90
|
+
* @property payload (optional)
|
|
91
|
+
* @property classes (optional)
|
|
92
|
+
* @property _meta (optional)
|
|
93
|
+
*/
|
|
94
|
+
export interface FacetInputCheckbox {
|
|
95
|
+
type: 'checkbox';
|
|
96
|
+
id: string;
|
|
97
|
+
label: string;
|
|
98
|
+
checked?: boolean;
|
|
99
|
+
disabled?: boolean;
|
|
100
|
+
payload?: any;
|
|
101
|
+
classes?: any;
|
|
102
|
+
_meta?: any;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Interface for FacetInputLink
|
|
106
|
+
*
|
|
107
|
+
* @property icon (optional)
|
|
108
|
+
* @property text (required)
|
|
109
|
+
* @property counter (optional)
|
|
110
|
+
* @property payload (optional)
|
|
111
|
+
* @property classes (optional)
|
|
112
|
+
* @property _meta (optional)
|
|
113
|
+
*/
|
|
114
|
+
export interface FacetInputLink {
|
|
115
|
+
type: 'link';
|
|
116
|
+
text: string;
|
|
117
|
+
icon?: string;
|
|
118
|
+
counter?: number;
|
|
119
|
+
payload?: any;
|
|
120
|
+
classes?: any;
|
|
121
|
+
_meta?: any;
|
|
122
|
+
}
|
|
123
|
+
export declare class FacetComponent {
|
|
124
|
+
data: FacetData;
|
|
125
|
+
emit: any;
|
|
126
|
+
onChange(inputPayload: any, value?: any): void;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FacetComponent, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FacetComponent, "n7-facet", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for FacetHeaderComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property iconLeft (optional)
|
|
6
|
+
* @property text (required)
|
|
7
|
+
* @property additionalText (optional)
|
|
8
|
+
* @property iconRight (optional)
|
|
9
|
+
* @property classes (optional)
|
|
10
|
+
* @property payload (optional)
|
|
11
|
+
*/
|
|
12
|
+
export interface FacetHeaderData {
|
|
13
|
+
/**
|
|
14
|
+
* the headers leftmost icon
|
|
15
|
+
*/
|
|
16
|
+
iconLeft?: string;
|
|
17
|
+
/**
|
|
18
|
+
* the title text
|
|
19
|
+
*/
|
|
20
|
+
text: string;
|
|
21
|
+
/**
|
|
22
|
+
* additional text, displayed on the right of the text
|
|
23
|
+
*/
|
|
24
|
+
additionalText?: string;
|
|
25
|
+
/**
|
|
26
|
+
* the headers rightmost icon
|
|
27
|
+
*/
|
|
28
|
+
iconRight?: string;
|
|
29
|
+
/**
|
|
30
|
+
* additional html classes
|
|
31
|
+
*/
|
|
32
|
+
classes?: any;
|
|
33
|
+
/**
|
|
34
|
+
* payload for onClick events
|
|
35
|
+
*/
|
|
36
|
+
payload?: any;
|
|
37
|
+
}
|
|
38
|
+
export declare class FacetHeaderComponent {
|
|
39
|
+
data: FacetHeaderData;
|
|
40
|
+
emit: any;
|
|
41
|
+
onClick(payload: any): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FacetHeaderComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FacetHeaderComponent, "n7-facet-header", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for FacetYearRangeComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property inDate (required)
|
|
6
|
+
* - text (optional)
|
|
7
|
+
* - classes (optional)
|
|
8
|
+
* - payload (required)
|
|
9
|
+
* - _meta (optional)
|
|
10
|
+
* @property outDate (required)
|
|
11
|
+
* - text (optional)
|
|
12
|
+
* - classes (optional)
|
|
13
|
+
* - payload (required)
|
|
14
|
+
* - _meta (optional)
|
|
15
|
+
* @property options (required)
|
|
16
|
+
*/
|
|
17
|
+
export interface FacetYearRangeData {
|
|
18
|
+
/**
|
|
19
|
+
* beginning year range selection
|
|
20
|
+
*/
|
|
21
|
+
inDate: {
|
|
22
|
+
/**
|
|
23
|
+
* <select> heading
|
|
24
|
+
*/
|
|
25
|
+
text?: string;
|
|
26
|
+
/**
|
|
27
|
+
* additional html classes
|
|
28
|
+
*/
|
|
29
|
+
classes?: any;
|
|
30
|
+
/**
|
|
31
|
+
* placeholder option
|
|
32
|
+
*/
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
/**
|
|
35
|
+
* onChange payload
|
|
36
|
+
*/
|
|
37
|
+
payload: any;
|
|
38
|
+
/**
|
|
39
|
+
* additional data useful for the component's logic
|
|
40
|
+
*/
|
|
41
|
+
_meta?: any;
|
|
42
|
+
options: FacetOptions[];
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* end year range selection
|
|
46
|
+
*/
|
|
47
|
+
outDate: {
|
|
48
|
+
/**
|
|
49
|
+
* <select> heading
|
|
50
|
+
*/
|
|
51
|
+
text?: string;
|
|
52
|
+
/**
|
|
53
|
+
* additional html classes
|
|
54
|
+
*/
|
|
55
|
+
classes?: any;
|
|
56
|
+
/**
|
|
57
|
+
* placeholder option
|
|
58
|
+
*/
|
|
59
|
+
placeholder?: string;
|
|
60
|
+
/**
|
|
61
|
+
* onChange payload
|
|
62
|
+
*/
|
|
63
|
+
payload: any;
|
|
64
|
+
/**
|
|
65
|
+
* additional data useful for the component's logic
|
|
66
|
+
*/
|
|
67
|
+
_meta?: any;
|
|
68
|
+
options: FacetOptions[];
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export interface FacetOptions {
|
|
72
|
+
/**
|
|
73
|
+
* value of each <option>
|
|
74
|
+
*/
|
|
75
|
+
value: any;
|
|
76
|
+
}
|
|
77
|
+
export declare class FacetYearRangeComponent {
|
|
78
|
+
data: FacetYearRangeData;
|
|
79
|
+
emit: any;
|
|
80
|
+
onChange(payload: any, selected: any): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FacetYearRangeComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FacetYearRangeComponent, "n7-facet-year-range", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for each link in footer menus
|
|
5
|
+
*
|
|
6
|
+
* @property text (required)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property anchor (mandatory)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
* @property _meta (optional)
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export interface FooterLink {
|
|
14
|
+
/**
|
|
15
|
+
* image url
|
|
16
|
+
*/
|
|
17
|
+
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* additional html classes
|
|
20
|
+
*/
|
|
21
|
+
classes?: any;
|
|
22
|
+
anchor: Anchor;
|
|
23
|
+
/**
|
|
24
|
+
* additional info useful for the component's logic
|
|
25
|
+
*/
|
|
26
|
+
_meta?: any;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Interface for each image in the footer (usually logos)
|
|
30
|
+
*
|
|
31
|
+
* @property url (required)
|
|
32
|
+
* @property alttext (optional)
|
|
33
|
+
* @property classes (optional)
|
|
34
|
+
* @property anchor (required)
|
|
35
|
+
* @property _meta (optional)
|
|
36
|
+
* @property _meta (optional)
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export interface FooterImage {
|
|
40
|
+
/**
|
|
41
|
+
* image url
|
|
42
|
+
*/
|
|
43
|
+
url: string;
|
|
44
|
+
/**
|
|
45
|
+
* image alt text
|
|
46
|
+
*/
|
|
47
|
+
alttext?: string;
|
|
48
|
+
/**
|
|
49
|
+
* additional html classes
|
|
50
|
+
*/
|
|
51
|
+
classes?: any;
|
|
52
|
+
anchor: Anchor;
|
|
53
|
+
/**
|
|
54
|
+
* additional info useful for the component's logic
|
|
55
|
+
*/
|
|
56
|
+
_meta?: any;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Interface for a single Footer column that can display title, images, text and a nav list
|
|
60
|
+
*
|
|
61
|
+
* @property title (optional)
|
|
62
|
+
* @property images (optional)
|
|
63
|
+
* @property text (optional)
|
|
64
|
+
* @property links (optional)
|
|
65
|
+
* @property classes (optional)
|
|
66
|
+
* @property _meta (optional)
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export interface FooterColumn {
|
|
70
|
+
/**
|
|
71
|
+
* column's title
|
|
72
|
+
*/
|
|
73
|
+
title?: string;
|
|
74
|
+
/**
|
|
75
|
+
* column's images
|
|
76
|
+
*/
|
|
77
|
+
images?: FooterImage[];
|
|
78
|
+
/**
|
|
79
|
+
* column's text
|
|
80
|
+
*/
|
|
81
|
+
text?: string;
|
|
82
|
+
/**
|
|
83
|
+
* column's nav
|
|
84
|
+
*/
|
|
85
|
+
links?: FooterLink[];
|
|
86
|
+
/**
|
|
87
|
+
* additional html classes
|
|
88
|
+
*/
|
|
89
|
+
classes?: any;
|
|
90
|
+
/**
|
|
91
|
+
* additional info useful for the component's logic
|
|
92
|
+
*/
|
|
93
|
+
_meta?: any;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Interface for FooterComponents's "Data"
|
|
97
|
+
*
|
|
98
|
+
* @property columns (required)
|
|
99
|
+
* @property classes (optional)
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export interface FooterData {
|
|
103
|
+
/**
|
|
104
|
+
* each item renders a column of the footer
|
|
105
|
+
*/
|
|
106
|
+
columns: FooterColumn[];
|
|
107
|
+
/**
|
|
108
|
+
* additional html classes
|
|
109
|
+
*/
|
|
110
|
+
classes?: any;
|
|
111
|
+
}
|
|
112
|
+
export declare class FooterComponent {
|
|
113
|
+
data: FooterData;
|
|
114
|
+
emit: any;
|
|
115
|
+
onClick(payload: any): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "n7-footer", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a single button
|
|
5
|
+
*
|
|
6
|
+
* @property text (required)
|
|
7
|
+
* @property anchor (required)
|
|
8
|
+
* @property icon (optional)
|
|
9
|
+
* @property classes (optional)
|
|
10
|
+
* @property _meta (optional)
|
|
11
|
+
*/
|
|
12
|
+
export interface ButtonItem {
|
|
13
|
+
/**
|
|
14
|
+
* text
|
|
15
|
+
*/
|
|
16
|
+
text: string;
|
|
17
|
+
/**
|
|
18
|
+
* anchor
|
|
19
|
+
*/
|
|
20
|
+
anchor: Anchor;
|
|
21
|
+
/**
|
|
22
|
+
* icon class
|
|
23
|
+
*/
|
|
24
|
+
icon?: string;
|
|
25
|
+
/**
|
|
26
|
+
* additional html classes
|
|
27
|
+
*/
|
|
28
|
+
classes?: string;
|
|
29
|
+
/**
|
|
30
|
+
* additional info
|
|
31
|
+
*/
|
|
32
|
+
_meta?: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Interface for a single action item
|
|
36
|
+
*
|
|
37
|
+
* @property icon (required)
|
|
38
|
+
* @property badge (optional)
|
|
39
|
+
* - text (optional)
|
|
40
|
+
* @property classes (optional)
|
|
41
|
+
* @property anchor (required)
|
|
42
|
+
* @property _meta (optional)
|
|
43
|
+
*/
|
|
44
|
+
export interface ActionItem {
|
|
45
|
+
/**
|
|
46
|
+
* optional badge with, optionally, its text
|
|
47
|
+
*/
|
|
48
|
+
badge?: {
|
|
49
|
+
text?: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* icon class
|
|
53
|
+
*/
|
|
54
|
+
icon: string;
|
|
55
|
+
anchor: Anchor;
|
|
56
|
+
/**
|
|
57
|
+
* additional html classes
|
|
58
|
+
*/
|
|
59
|
+
classes?: string;
|
|
60
|
+
/**
|
|
61
|
+
* additional info
|
|
62
|
+
*/
|
|
63
|
+
_meta?: any;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Interface for a single navbar item
|
|
67
|
+
*
|
|
68
|
+
* note: a single nav's item can be a text (w/ anchor) OR a dropdown
|
|
69
|
+
*
|
|
70
|
+
* @property icon (optional)
|
|
71
|
+
* @property subnav (optional)
|
|
72
|
+
* @property text (optional)
|
|
73
|
+
* @property classes (optional)
|
|
74
|
+
* @property anchor (required)
|
|
75
|
+
* @property _meta (optional)
|
|
76
|
+
*/
|
|
77
|
+
export interface NavbarItem {
|
|
78
|
+
/**
|
|
79
|
+
* text of a single item of the navbar (text and payload are connected)
|
|
80
|
+
*/
|
|
81
|
+
text?: string;
|
|
82
|
+
/**
|
|
83
|
+
* icon for a single item of the navbar (associated to "text")
|
|
84
|
+
*/
|
|
85
|
+
icon?: string;
|
|
86
|
+
/**
|
|
87
|
+
* second level navigation
|
|
88
|
+
*/
|
|
89
|
+
subnav?: NavbarItem[];
|
|
90
|
+
anchor: Anchor;
|
|
91
|
+
/**
|
|
92
|
+
* additional html classes
|
|
93
|
+
*/
|
|
94
|
+
classes?: string;
|
|
95
|
+
/**
|
|
96
|
+
* additional info
|
|
97
|
+
*/
|
|
98
|
+
_meta?: any;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Interface for HeaderComponent's "data"
|
|
102
|
+
*
|
|
103
|
+
* @property logo (required)
|
|
104
|
+
* - title (required)
|
|
105
|
+
* - image (optional)
|
|
106
|
+
* - subtitle (optional)
|
|
107
|
+
* - classes (optional)
|
|
108
|
+
* - payload (optional)
|
|
109
|
+
* - anchor (optional)
|
|
110
|
+
* @proprty menuToggle (required)
|
|
111
|
+
* - open (required)
|
|
112
|
+
* - - payload (required)
|
|
113
|
+
* - closen (required)
|
|
114
|
+
* - - payload (required)
|
|
115
|
+
* @property actions (optional)
|
|
116
|
+
* @property nav (optional)
|
|
117
|
+
* - items (required)
|
|
118
|
+
* - isBelow (optional)
|
|
119
|
+
* - classes (optional)
|
|
120
|
+
* - payload (optional)
|
|
121
|
+
* - anchor (optional)
|
|
122
|
+
* - _meta (optional)
|
|
123
|
+
* @property search (optional)
|
|
124
|
+
* - hint (optional)
|
|
125
|
+
* - classes (optional)
|
|
126
|
+
* - payload (optional)
|
|
127
|
+
* - _meta (optional)
|
|
128
|
+
* @property user (optional)
|
|
129
|
+
* - image (optional)
|
|
130
|
+
* - name (optional)
|
|
131
|
+
* - classes (optional)
|
|
132
|
+
* - payload (optional)
|
|
133
|
+
* - anchor (optional)
|
|
134
|
+
* - _meta (optional)
|
|
135
|
+
* @property classes (optional)
|
|
136
|
+
* @property payload (optional)
|
|
137
|
+
* @property _meta (optional)
|
|
138
|
+
*/
|
|
139
|
+
export interface HeaderData {
|
|
140
|
+
/**
|
|
141
|
+
* logo and title area parameters
|
|
142
|
+
*/
|
|
143
|
+
logo: {
|
|
144
|
+
image?: string;
|
|
145
|
+
title: string;
|
|
146
|
+
subtitle?: string;
|
|
147
|
+
classes?: string;
|
|
148
|
+
payload?: any;
|
|
149
|
+
anchor: Anchor;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* nav's parameters
|
|
153
|
+
*/
|
|
154
|
+
nav?: {
|
|
155
|
+
/**
|
|
156
|
+
* list of the items in the navbar
|
|
157
|
+
*/
|
|
158
|
+
items: NavbarItem[];
|
|
159
|
+
/**
|
|
160
|
+
* flag for display the navbar under the header (instead of IN the header)
|
|
161
|
+
*/
|
|
162
|
+
isBelow?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* additional html classes
|
|
165
|
+
*/
|
|
166
|
+
classes?: string;
|
|
167
|
+
/**
|
|
168
|
+
* action click's payload
|
|
169
|
+
*/
|
|
170
|
+
payload?: any;
|
|
171
|
+
/**
|
|
172
|
+
* additional info
|
|
173
|
+
*/
|
|
174
|
+
_meta?: any;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* search parameters
|
|
178
|
+
*/
|
|
179
|
+
search?: {
|
|
180
|
+
/**
|
|
181
|
+
* hint (text showed in the input box until something is writed in there)
|
|
182
|
+
*/
|
|
183
|
+
hint?: string;
|
|
184
|
+
/**
|
|
185
|
+
* additional html classes
|
|
186
|
+
*/
|
|
187
|
+
classes?: string;
|
|
188
|
+
/**
|
|
189
|
+
* action click's payload
|
|
190
|
+
*/
|
|
191
|
+
payload?: any;
|
|
192
|
+
/**
|
|
193
|
+
* additional info
|
|
194
|
+
*/
|
|
195
|
+
_meta?: any;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* action items
|
|
199
|
+
*/
|
|
200
|
+
actions?: ActionItem[];
|
|
201
|
+
/**
|
|
202
|
+
* buttons items
|
|
203
|
+
*/
|
|
204
|
+
buttons?: ButtonItem[];
|
|
205
|
+
/**
|
|
206
|
+
* user parameters
|
|
207
|
+
*/
|
|
208
|
+
user?: {
|
|
209
|
+
/**
|
|
210
|
+
* user's profile picture
|
|
211
|
+
*/
|
|
212
|
+
img?: string;
|
|
213
|
+
/**
|
|
214
|
+
* user's profile name
|
|
215
|
+
*/
|
|
216
|
+
name?: string;
|
|
217
|
+
/**
|
|
218
|
+
* additional html classes
|
|
219
|
+
*/
|
|
220
|
+
classes?: string;
|
|
221
|
+
anchor: Anchor;
|
|
222
|
+
/**
|
|
223
|
+
* additional info
|
|
224
|
+
*/
|
|
225
|
+
_meta?: any;
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* menu toggle for mobile
|
|
229
|
+
*/
|
|
230
|
+
menuToggle: {
|
|
231
|
+
open: {
|
|
232
|
+
payload: any;
|
|
233
|
+
};
|
|
234
|
+
close: {
|
|
235
|
+
payload: any;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* additional html classes
|
|
240
|
+
*/
|
|
241
|
+
classes?: string;
|
|
242
|
+
/**
|
|
243
|
+
* action click's payload
|
|
244
|
+
*/
|
|
245
|
+
payload?: any;
|
|
246
|
+
/**
|
|
247
|
+
* additional info
|
|
248
|
+
*/
|
|
249
|
+
_meta?: any;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* HeaderComponent <n7-header>
|
|
253
|
+
*
|
|
254
|
+
* @structure
|
|
255
|
+
* >> cpm = it has Classes, Payload, Metadata <<
|
|
256
|
+
* >> -p- = it has only Payload <<
|
|
257
|
+
* >> +-- = sub-member <<
|
|
258
|
+
* >> +---> = array <<
|
|
259
|
+
*
|
|
260
|
+
* data (cpm)
|
|
261
|
+
* +-- actions
|
|
262
|
+
* +---> action (cpm)
|
|
263
|
+
* +-- badge
|
|
264
|
+
* +-- logo (cp-)
|
|
265
|
+
* +-- menuToggle
|
|
266
|
+
* +-- open (-p-)
|
|
267
|
+
* +-- close (-p-)
|
|
268
|
+
* +-- nav (cpm)
|
|
269
|
+
* +---> items
|
|
270
|
+
* +-- search (cpm)
|
|
271
|
+
* +-- user (cpm)
|
|
272
|
+
*
|
|
273
|
+
*/
|
|
274
|
+
export declare class HeaderComponent {
|
|
275
|
+
data: any;
|
|
276
|
+
emit: any;
|
|
277
|
+
onClick(payload: any): void;
|
|
278
|
+
onKeyUp(payload: any, keyCode: any, value: any): void;
|
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
280
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "n7-header", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
281
|
+
}
|