@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,109 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for Signup field
|
|
4
|
+
*
|
|
5
|
+
* @property id (M)
|
|
6
|
+
* @property label (M)
|
|
7
|
+
* @property inputType (M)
|
|
8
|
+
* @property payload (M)
|
|
9
|
+
* @property error (O)
|
|
10
|
+
* @property hint (O)
|
|
11
|
+
* @property classes (O)
|
|
12
|
+
*/
|
|
13
|
+
interface SignupField {
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
inputType: 'password' | 'text' | 'email';
|
|
17
|
+
payload: any;
|
|
18
|
+
error?: string;
|
|
19
|
+
hint?: string;
|
|
20
|
+
classes?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Interface for Signup password field (extends SignupField)
|
|
24
|
+
*
|
|
25
|
+
* @property show (O)
|
|
26
|
+
*/
|
|
27
|
+
interface SignupPasswordField extends SignupField {
|
|
28
|
+
show?: {
|
|
29
|
+
icon: string;
|
|
30
|
+
label: string;
|
|
31
|
+
payload: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Interface for Signup submit
|
|
36
|
+
*
|
|
37
|
+
* @property label (M)
|
|
38
|
+
* @property payload (M)
|
|
39
|
+
* @property error (O)
|
|
40
|
+
* @property classes (O)
|
|
41
|
+
*/
|
|
42
|
+
interface SignupSubmit {
|
|
43
|
+
label: string;
|
|
44
|
+
payload: any;
|
|
45
|
+
error?: string;
|
|
46
|
+
classes?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Interface for Signup footer
|
|
50
|
+
*
|
|
51
|
+
* @property label (M)
|
|
52
|
+
* @property action (M)
|
|
53
|
+
* @property classes (O)
|
|
54
|
+
*/
|
|
55
|
+
interface SignupFooter {
|
|
56
|
+
label: string;
|
|
57
|
+
action: {
|
|
58
|
+
label: string;
|
|
59
|
+
payload: any;
|
|
60
|
+
};
|
|
61
|
+
classes?: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Interface for Signup data
|
|
65
|
+
* login/signup/forgotPassword groups
|
|
66
|
+
*
|
|
67
|
+
* @property login (O)
|
|
68
|
+
* @property signup (O)
|
|
69
|
+
* @property forgotPassword (O)
|
|
70
|
+
*/
|
|
71
|
+
export interface SignupData {
|
|
72
|
+
login?: {
|
|
73
|
+
email: SignupField;
|
|
74
|
+
password: SignupPasswordField;
|
|
75
|
+
forgotPassword?: {
|
|
76
|
+
title: string;
|
|
77
|
+
label: string;
|
|
78
|
+
payload: any;
|
|
79
|
+
};
|
|
80
|
+
submit: SignupSubmit;
|
|
81
|
+
footer?: SignupFooter;
|
|
82
|
+
};
|
|
83
|
+
signup?: {
|
|
84
|
+
name: SignupField;
|
|
85
|
+
email: SignupField;
|
|
86
|
+
password: SignupPasswordField;
|
|
87
|
+
rePassword: SignupPasswordField;
|
|
88
|
+
submit: SignupSubmit;
|
|
89
|
+
footer?: SignupFooter;
|
|
90
|
+
};
|
|
91
|
+
forgotPassword?: {
|
|
92
|
+
description: string;
|
|
93
|
+
email: SignupField;
|
|
94
|
+
submit: SignupSubmit;
|
|
95
|
+
footer?: SignupFooter;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
export declare class SignupComponent {
|
|
99
|
+
data: SignupData;
|
|
100
|
+
emit: any;
|
|
101
|
+
onClick(payload: any): void;
|
|
102
|
+
onChange(inputPayload: any, value: any): void;
|
|
103
|
+
onInputEnter(inputPayload: any, value: any): void;
|
|
104
|
+
onFocus(payload: any): void;
|
|
105
|
+
onFocusOut(payload: any): void;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignupComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignupComponent, "n7-signup", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
108
|
+
}
|
|
109
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for SimpleAutocompleteComponent's "data"
|
|
5
|
+
*
|
|
6
|
+
* @property suggestion (required)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property _meta (optional)
|
|
9
|
+
*/
|
|
10
|
+
export interface SimpleAutocompleteData {
|
|
11
|
+
/**
|
|
12
|
+
* Suggested word endings
|
|
13
|
+
*/
|
|
14
|
+
suggestion: SimpleAutocompleteSuggestion[];
|
|
15
|
+
/**
|
|
16
|
+
* Additional HTML classes
|
|
17
|
+
*/
|
|
18
|
+
classes?: any;
|
|
19
|
+
/**
|
|
20
|
+
* Additional data useful for the component's logic
|
|
21
|
+
*/
|
|
22
|
+
_meta?: any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Interface for SimpleAutocompleteComponent's "Suggestion"
|
|
26
|
+
*
|
|
27
|
+
* @property text
|
|
28
|
+
* @property anchor (optional)
|
|
29
|
+
*/
|
|
30
|
+
export interface SimpleAutocompleteSuggestion {
|
|
31
|
+
text: string;
|
|
32
|
+
anchor?: Anchor;
|
|
33
|
+
}
|
|
34
|
+
export declare class SimpleAutocompleteComponent {
|
|
35
|
+
data: SimpleAutocompleteData;
|
|
36
|
+
emit: any;
|
|
37
|
+
onClick(payload: any): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleAutocompleteComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleAutocompleteComponent, "n7-simple-autocomplete", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for row's cells
|
|
4
|
+
*
|
|
5
|
+
* @property content (required)
|
|
6
|
+
* @property type (optional)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property payload (optional)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
*/
|
|
11
|
+
export interface Cell {
|
|
12
|
+
content: any;
|
|
13
|
+
/**
|
|
14
|
+
* content type
|
|
15
|
+
*/
|
|
16
|
+
type?: 'html' | 'input:text';
|
|
17
|
+
/**
|
|
18
|
+
* additional html classes
|
|
19
|
+
*/
|
|
20
|
+
classes?: string;
|
|
21
|
+
/**
|
|
22
|
+
* action click's payload
|
|
23
|
+
*/
|
|
24
|
+
payload?: any;
|
|
25
|
+
/**
|
|
26
|
+
* additional info
|
|
27
|
+
*/
|
|
28
|
+
_meta?: any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Interface for table's rows (head, body or foot rows)
|
|
32
|
+
*
|
|
33
|
+
* @property cells (required)
|
|
34
|
+
* @property classes (optional)
|
|
35
|
+
* @property payload (optional)
|
|
36
|
+
* @property _meta (optional)
|
|
37
|
+
*/
|
|
38
|
+
export interface Row {
|
|
39
|
+
cells: Cell[];
|
|
40
|
+
/**
|
|
41
|
+
* additional html classes
|
|
42
|
+
*/
|
|
43
|
+
classes?: string;
|
|
44
|
+
/**
|
|
45
|
+
* additional info
|
|
46
|
+
*/
|
|
47
|
+
_meta?: any;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Interface for TableComponent's "data"
|
|
51
|
+
*
|
|
52
|
+
* @property body (required)
|
|
53
|
+
* @property head (optional)
|
|
54
|
+
* @proprty foot (optional)
|
|
55
|
+
* @property classes (optional)
|
|
56
|
+
* @property payload (optional)
|
|
57
|
+
* @property _meta (optional)
|
|
58
|
+
*/
|
|
59
|
+
export interface TableData {
|
|
60
|
+
/**
|
|
61
|
+
* table's head
|
|
62
|
+
*/
|
|
63
|
+
head?: Row[];
|
|
64
|
+
/**
|
|
65
|
+
* table's body (the table its self)
|
|
66
|
+
*/
|
|
67
|
+
body: Row[];
|
|
68
|
+
/**
|
|
69
|
+
* table's foot
|
|
70
|
+
*/
|
|
71
|
+
foot?: Row[];
|
|
72
|
+
/**
|
|
73
|
+
* additional html classes
|
|
74
|
+
*/
|
|
75
|
+
classes?: string;
|
|
76
|
+
/**
|
|
77
|
+
* additional info
|
|
78
|
+
*/
|
|
79
|
+
_meta?: any;
|
|
80
|
+
}
|
|
81
|
+
export declare class TableComponent {
|
|
82
|
+
data: TableData;
|
|
83
|
+
emit: any;
|
|
84
|
+
onCellClick(cellPayload: any): void;
|
|
85
|
+
onCellDblClick(cellPayload: any): void;
|
|
86
|
+
onInputTextChange(cellPayload: any, cellValue: string): void;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "n7-table", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for TagComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property text (required)
|
|
6
|
+
* @property label (optional)
|
|
7
|
+
* @property icon (optional)
|
|
8
|
+
* @property classes (optional)
|
|
9
|
+
* @property payload (optional)
|
|
10
|
+
* @property _meta (optional)
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export interface TagData {
|
|
14
|
+
/**
|
|
15
|
+
* tag's label
|
|
16
|
+
*/
|
|
17
|
+
label?: string;
|
|
18
|
+
/**
|
|
19
|
+
* text visualized on the tag
|
|
20
|
+
*/
|
|
21
|
+
text: string;
|
|
22
|
+
/**
|
|
23
|
+
* action icon (on right side)
|
|
24
|
+
*/
|
|
25
|
+
icon?: string;
|
|
26
|
+
/**
|
|
27
|
+
* additional html classes
|
|
28
|
+
*/
|
|
29
|
+
classes?: string;
|
|
30
|
+
/**
|
|
31
|
+
* action click's payload
|
|
32
|
+
*/
|
|
33
|
+
payload?: any;
|
|
34
|
+
/**
|
|
35
|
+
* additional info
|
|
36
|
+
*/
|
|
37
|
+
_meta?: any;
|
|
38
|
+
}
|
|
39
|
+
export declare class TagComponent {
|
|
40
|
+
data: TagData;
|
|
41
|
+
emit: any;
|
|
42
|
+
onClick(payload: any): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "n7-tag", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for TextViewerComponent's "data"
|
|
5
|
+
* @property endpoint (required)
|
|
6
|
+
* @property doc (required)
|
|
7
|
+
* @property facsimile (optional)
|
|
8
|
+
*/
|
|
9
|
+
export interface TextViewerData {
|
|
10
|
+
endpoint: string;
|
|
11
|
+
docs: {
|
|
12
|
+
xml: string;
|
|
13
|
+
odd: string;
|
|
14
|
+
id: string;
|
|
15
|
+
view: string;
|
|
16
|
+
channel?: string;
|
|
17
|
+
translation?: boolean;
|
|
18
|
+
}[];
|
|
19
|
+
facsimile?: any;
|
|
20
|
+
/**
|
|
21
|
+
* additional html classes
|
|
22
|
+
*/
|
|
23
|
+
classes?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare class TextViewerComponent implements OnInit {
|
|
26
|
+
data: TextViewerData;
|
|
27
|
+
emit: any;
|
|
28
|
+
static _loaded: boolean;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
onScriptLoaded(): void;
|
|
31
|
+
onClick(payload: any): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextViewerComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextViewerComponent, "n7-text-viewer", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterContentChecked } from '@angular/core';
|
|
2
|
+
import { DataItem, TimelineOptions } from 'vis-timeline';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface LibOptions extends TimelineOptions {
|
|
5
|
+
/** Specifies how strong the zooming for each scroll tick.
|
|
6
|
+
* Higher zooming friction will slow zooming speed */
|
|
7
|
+
zoomFriction?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface TimelineData {
|
|
10
|
+
/** ID for the HTML container element */
|
|
11
|
+
containerID: string;
|
|
12
|
+
/** Options for vis-timeline, full reference: https://visjs.github.io/vis-timeline/docs/timeline/#Configuration_Options */
|
|
13
|
+
libOptions: LibOptions;
|
|
14
|
+
/** Sets the timeline instance to the given parameter */
|
|
15
|
+
_setInstance?: any;
|
|
16
|
+
/** Dadaset in vis-js format, full ref: https://visjs.github.io/vis-timeline/docs/timeline/#Data_Format */
|
|
17
|
+
dataSet: DataItem[];
|
|
18
|
+
}
|
|
19
|
+
export declare class TimelineComponent implements AfterContentChecked {
|
|
20
|
+
data: TimelineData;
|
|
21
|
+
emit: any;
|
|
22
|
+
/** Knows if the component is loaded */
|
|
23
|
+
private _loaded;
|
|
24
|
+
/** Dynamically load required node modules */
|
|
25
|
+
private loadModules;
|
|
26
|
+
ngAfterContentChecked(): void;
|
|
27
|
+
onClick(payload: any): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent, "n7-timeline", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for ToastComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property toasts (required)
|
|
6
|
+
* @property classes (optional)
|
|
7
|
+
*/
|
|
8
|
+
export interface ToastData {
|
|
9
|
+
toasts: ToastBox[];
|
|
10
|
+
classes?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Interface for the single ToastComponent's "Box"
|
|
14
|
+
*
|
|
15
|
+
* @property classes (required)
|
|
16
|
+
* @property timer (optional)
|
|
17
|
+
* @property closeIcon (optional)
|
|
18
|
+
* - icon (required)
|
|
19
|
+
* - payload (required)
|
|
20
|
+
* @property title (optional)
|
|
21
|
+
* @property text (optional)
|
|
22
|
+
* @property actions (optional)
|
|
23
|
+
*/
|
|
24
|
+
export interface ToastBox {
|
|
25
|
+
/**
|
|
26
|
+
* requires: [is-success, is-warning, is-error] + optional additional html classes
|
|
27
|
+
*/
|
|
28
|
+
classes: string;
|
|
29
|
+
/**
|
|
30
|
+
* larger, title text
|
|
31
|
+
*/
|
|
32
|
+
title?: string;
|
|
33
|
+
/**
|
|
34
|
+
* the toast's body text
|
|
35
|
+
*/
|
|
36
|
+
text?: string;
|
|
37
|
+
/**
|
|
38
|
+
* 'X' icon, to dismiss/close the toast
|
|
39
|
+
* ( n7-icon-cross )
|
|
40
|
+
*
|
|
41
|
+
* Each icon requires it's onClick payload
|
|
42
|
+
*/
|
|
43
|
+
closeIcon?: {
|
|
44
|
+
icon: string;
|
|
45
|
+
payload: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* the toast's optional buttons
|
|
49
|
+
* suggestion: don't use more than 2 actions
|
|
50
|
+
*/
|
|
51
|
+
actions?: ToastAction[];
|
|
52
|
+
/**
|
|
53
|
+
* additional info
|
|
54
|
+
*/
|
|
55
|
+
_meta?: any;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Interface for the single ToastComponent's "Action"
|
|
59
|
+
*
|
|
60
|
+
* @property text (required)
|
|
61
|
+
* @property payload (required)
|
|
62
|
+
* @property classes (optional)
|
|
63
|
+
*/
|
|
64
|
+
export interface ToastAction {
|
|
65
|
+
/**
|
|
66
|
+
* the button's rendered text
|
|
67
|
+
*/
|
|
68
|
+
text: string;
|
|
69
|
+
/**
|
|
70
|
+
* the button's onClick payload
|
|
71
|
+
*/
|
|
72
|
+
payload: any;
|
|
73
|
+
/**
|
|
74
|
+
* additional html classes
|
|
75
|
+
*/
|
|
76
|
+
classes?: string;
|
|
77
|
+
}
|
|
78
|
+
export declare class ToastComponent {
|
|
79
|
+
data: ToastData;
|
|
80
|
+
emit: any;
|
|
81
|
+
onClick(payload: any): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "n7-toast", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Button } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for TooltipContentComponent's "data"
|
|
5
|
+
*
|
|
6
|
+
* @property NAME (required|options) <--- TODO: update with interface properties
|
|
7
|
+
*/
|
|
8
|
+
export interface TooltipContentData {
|
|
9
|
+
/** Title of the tooltip */
|
|
10
|
+
title?: string;
|
|
11
|
+
/** Subtitle or text */
|
|
12
|
+
text?: string;
|
|
13
|
+
/** Image for the tooltip */
|
|
14
|
+
image?: string;
|
|
15
|
+
/** Action or list of actions */
|
|
16
|
+
actions?: Button[];
|
|
17
|
+
}
|
|
18
|
+
export declare class TooltipContentComponent {
|
|
19
|
+
data: TooltipContentData;
|
|
20
|
+
emit: any;
|
|
21
|
+
onClick(payload: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContentComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "n7-tooltip-content", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for TreeComponent's "data"
|
|
5
|
+
*
|
|
6
|
+
* @property header (required)
|
|
7
|
+
* - icon (required)
|
|
8
|
+
* - text (required)
|
|
9
|
+
* - collapseIcon (required)
|
|
10
|
+
* - classes (optional)
|
|
11
|
+
* - payload (optional)
|
|
12
|
+
* @property items (required)
|
|
13
|
+
*/
|
|
14
|
+
export interface TreeData {
|
|
15
|
+
/**
|
|
16
|
+
* tree of items
|
|
17
|
+
*/
|
|
18
|
+
items: TreeItem[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Interface for the single TreeComponent's "Item"
|
|
22
|
+
*
|
|
23
|
+
* @property icon (optional)
|
|
24
|
+
* @property img (optional)
|
|
25
|
+
* @property classes (optional)
|
|
26
|
+
* @property text (required)
|
|
27
|
+
* @property anchor (optional)
|
|
28
|
+
* @property _meta (optional)
|
|
29
|
+
* @property items (optional)
|
|
30
|
+
*/
|
|
31
|
+
export interface TreeItem {
|
|
32
|
+
/**
|
|
33
|
+
* the node's toggle arrow, to expand and
|
|
34
|
+
* collapse it's child nodes.
|
|
35
|
+
*/
|
|
36
|
+
toggle?: {
|
|
37
|
+
icon: string;
|
|
38
|
+
payload?: any;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* the item's icon, only used on leaf items
|
|
42
|
+
*/
|
|
43
|
+
icon?: string;
|
|
44
|
+
/**
|
|
45
|
+
* the item's right icon, only used on tree items
|
|
46
|
+
*/
|
|
47
|
+
iconright?: string;
|
|
48
|
+
/**
|
|
49
|
+
* the item's image, only used on leaf items
|
|
50
|
+
*/
|
|
51
|
+
img?: string;
|
|
52
|
+
/**
|
|
53
|
+
* additional html classes
|
|
54
|
+
*/
|
|
55
|
+
classes?: any;
|
|
56
|
+
/**
|
|
57
|
+
* the item's rendered text
|
|
58
|
+
*/
|
|
59
|
+
text: string;
|
|
60
|
+
/**
|
|
61
|
+
* anchor <a>
|
|
62
|
+
*/
|
|
63
|
+
anchor?: Anchor;
|
|
64
|
+
/**
|
|
65
|
+
* additional info useful for the component's logic
|
|
66
|
+
*/
|
|
67
|
+
_meta?: any;
|
|
68
|
+
/**
|
|
69
|
+
* item recursion
|
|
70
|
+
*/
|
|
71
|
+
items?: TreeItem[];
|
|
72
|
+
}
|
|
73
|
+
export declare class TreeComponent {
|
|
74
|
+
data: TreeData;
|
|
75
|
+
emit: any;
|
|
76
|
+
onClick(payload: any): void;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "n7-tree", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for a single WizardComponent's "item"
|
|
4
|
+
*
|
|
5
|
+
* @property text (optional)
|
|
6
|
+
* @property number (optional)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property payload (required)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export interface WizardItem {
|
|
13
|
+
/**
|
|
14
|
+
* text rendered on the step
|
|
15
|
+
*/
|
|
16
|
+
text?: string;
|
|
17
|
+
/**
|
|
18
|
+
* number rendered on the step
|
|
19
|
+
*/
|
|
20
|
+
number?: number;
|
|
21
|
+
/**
|
|
22
|
+
* action click's payload
|
|
23
|
+
*/
|
|
24
|
+
payload: any;
|
|
25
|
+
/**
|
|
26
|
+
* additional html classes
|
|
27
|
+
*/
|
|
28
|
+
classes?: any;
|
|
29
|
+
/**
|
|
30
|
+
* additional info useful for the component's logic
|
|
31
|
+
*/
|
|
32
|
+
_meta?: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Interface for WizardComponent's "data"
|
|
36
|
+
*
|
|
37
|
+
* @property items (required)
|
|
38
|
+
* @property classes (optional)
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export interface WizardData {
|
|
42
|
+
/**
|
|
43
|
+
* each item represents a step
|
|
44
|
+
*/
|
|
45
|
+
items: WizardItem[];
|
|
46
|
+
/**
|
|
47
|
+
* additional html classes
|
|
48
|
+
*/
|
|
49
|
+
classes?: any;
|
|
50
|
+
}
|
|
51
|
+
export declare class WizardComponent {
|
|
52
|
+
data: WizardData;
|
|
53
|
+
emit: any;
|
|
54
|
+
onClick(payload: any): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "n7-wizard", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
57
|
+
}
|