@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,81 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for InputTextData
|
|
4
|
+
*
|
|
5
|
+
* @property id (required)
|
|
6
|
+
* @property placeholder (optional)
|
|
7
|
+
* @property value (optional)
|
|
8
|
+
* @property label (optional)
|
|
9
|
+
* @property disabled (optional)
|
|
10
|
+
* @property icon (optional)
|
|
11
|
+
* @property inputPayload (optional)
|
|
12
|
+
* @property enterPayload (optional)
|
|
13
|
+
* @property iconPayload (optional)
|
|
14
|
+
* @property classes (optional)
|
|
15
|
+
* @property _meta (optional)
|
|
16
|
+
*/
|
|
17
|
+
export interface InputTextData {
|
|
18
|
+
/**
|
|
19
|
+
* Unique ID for the text input element
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* Input type
|
|
24
|
+
*/
|
|
25
|
+
type?: 'text' | 'number';
|
|
26
|
+
/**
|
|
27
|
+
* Placeholder text inside the input box
|
|
28
|
+
*/
|
|
29
|
+
placeholder?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Default value of the input box
|
|
32
|
+
*/
|
|
33
|
+
value?: string | number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Label for the input box
|
|
36
|
+
*/
|
|
37
|
+
label?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Prevents the user from changing the input's value
|
|
40
|
+
*/
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Optional icon to render inside the input box (eg. n7-icon-search)
|
|
44
|
+
*/
|
|
45
|
+
icon?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Payload that is sent when the user changes the value
|
|
48
|
+
*/
|
|
49
|
+
inputPayload?: any;
|
|
50
|
+
/**
|
|
51
|
+
* Payload that is sent when the user presses the "Enter" key
|
|
52
|
+
*/
|
|
53
|
+
enterPayload?: any;
|
|
54
|
+
/**
|
|
55
|
+
* Payload that is sent when the user clicks on the icon
|
|
56
|
+
*/
|
|
57
|
+
iconPayload?: any;
|
|
58
|
+
/**
|
|
59
|
+
* Input minimun allowed value (only for type=number)
|
|
60
|
+
*/
|
|
61
|
+
min?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Input maximun allowed value (only for type=number)
|
|
64
|
+
*/
|
|
65
|
+
max?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Additional HTML Classes
|
|
68
|
+
*/
|
|
69
|
+
classes?: any;
|
|
70
|
+
/**
|
|
71
|
+
* Additional data for the component's logic
|
|
72
|
+
*/
|
|
73
|
+
_meta?: any;
|
|
74
|
+
}
|
|
75
|
+
export declare class InputTextComponent {
|
|
76
|
+
data: InputTextData;
|
|
77
|
+
emit: any;
|
|
78
|
+
onChange(inputPayload: any, value?: any): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "n7-input-text", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for ItemPreviewComponent's "data"
|
|
5
|
+
*
|
|
6
|
+
* @property image (optional)
|
|
7
|
+
* @property title (required)
|
|
8
|
+
* @property text (optional)
|
|
9
|
+
* @property anchor (optional)
|
|
10
|
+
* @property metadata (optional)
|
|
11
|
+
* @property classes (optional)
|
|
12
|
+
*/
|
|
13
|
+
export interface ItemPreviewData {
|
|
14
|
+
/**
|
|
15
|
+
* image of the preview
|
|
16
|
+
*/
|
|
17
|
+
image?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Css code for the inline background color
|
|
20
|
+
*/
|
|
21
|
+
color?: string;
|
|
22
|
+
/**
|
|
23
|
+
* name of the item
|
|
24
|
+
*/
|
|
25
|
+
title: string;
|
|
26
|
+
/**
|
|
27
|
+
* text of the item
|
|
28
|
+
*/
|
|
29
|
+
text?: string;
|
|
30
|
+
anchor?: Anchor;
|
|
31
|
+
/**
|
|
32
|
+
* list of the data in the metadata
|
|
33
|
+
*/
|
|
34
|
+
metadata?: MetadataGroup[];
|
|
35
|
+
/**
|
|
36
|
+
* additional html classes
|
|
37
|
+
*/
|
|
38
|
+
classes?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Interface for the element that wraps the metadata
|
|
42
|
+
*
|
|
43
|
+
* @property title (optional)
|
|
44
|
+
* @property classes (optional)
|
|
45
|
+
* @property items (optional)
|
|
46
|
+
*/
|
|
47
|
+
export interface MetadataGroup {
|
|
48
|
+
/**
|
|
49
|
+
* title of metadata group
|
|
50
|
+
*/
|
|
51
|
+
title?: string;
|
|
52
|
+
/**
|
|
53
|
+
* classes of metadata group
|
|
54
|
+
*/
|
|
55
|
+
classes?: string;
|
|
56
|
+
/**
|
|
57
|
+
* array of metadata items
|
|
58
|
+
*/
|
|
59
|
+
items?: MetadataData[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Interface for a list of metadata
|
|
63
|
+
*
|
|
64
|
+
* @property label (optional)
|
|
65
|
+
* @property value (optional)
|
|
66
|
+
* @property classes (optional)
|
|
67
|
+
* @property icon (optional)
|
|
68
|
+
*/
|
|
69
|
+
export interface MetadataData {
|
|
70
|
+
/**
|
|
71
|
+
* label of a single property of the metadata
|
|
72
|
+
*/
|
|
73
|
+
label?: string;
|
|
74
|
+
/**
|
|
75
|
+
* value of a single property of the metadata
|
|
76
|
+
*/
|
|
77
|
+
value?: string;
|
|
78
|
+
/**
|
|
79
|
+
* category of a item of the icon list, used to give a different class
|
|
80
|
+
*/
|
|
81
|
+
classes?: string;
|
|
82
|
+
/**
|
|
83
|
+
* icon of an item of the icon list
|
|
84
|
+
*/
|
|
85
|
+
icon?: string;
|
|
86
|
+
}
|
|
87
|
+
export declare class ItemPreviewComponent {
|
|
88
|
+
data: ItemPreviewData;
|
|
89
|
+
emit: any;
|
|
90
|
+
onClick(payload: any): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemPreviewComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemPreviewComponent, "n7-item-preview", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for LoaderComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property classes (optional)
|
|
6
|
+
* @property _meta (optional)
|
|
7
|
+
*/
|
|
8
|
+
export interface LoaderData {
|
|
9
|
+
/**
|
|
10
|
+
* additional html classes
|
|
11
|
+
*/
|
|
12
|
+
classes?: string;
|
|
13
|
+
/**
|
|
14
|
+
* additional info
|
|
15
|
+
*/
|
|
16
|
+
_meta?: any;
|
|
17
|
+
}
|
|
18
|
+
export declare class LoaderComponent {
|
|
19
|
+
data: LoaderData;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "n7-loader", never, { "data": "data"; }, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AfterContentChecked } from '@angular/core';
|
|
2
|
+
import { TileLayerOptions, MapOptions } from 'leaflet';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Interface for TileLayer's "data"
|
|
6
|
+
*
|
|
7
|
+
* @property url (required)
|
|
8
|
+
* @property options (required)
|
|
9
|
+
*/
|
|
10
|
+
export interface TileLayerData {
|
|
11
|
+
url: string;
|
|
12
|
+
options: TileLayerOptions;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Interface for Marker's "data"
|
|
16
|
+
*
|
|
17
|
+
* @property coords (required)
|
|
18
|
+
* @property title (optional)
|
|
19
|
+
* @property template (required)
|
|
20
|
+
*/
|
|
21
|
+
export interface MarkerData {
|
|
22
|
+
coords: [number, number];
|
|
23
|
+
title?: string;
|
|
24
|
+
template: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Interface for MapComponent's "data"
|
|
28
|
+
*
|
|
29
|
+
* @property containerId (required)
|
|
30
|
+
* @property tileLayers (required)
|
|
31
|
+
* @property initialView (required)
|
|
32
|
+
* - center (required)
|
|
33
|
+
* - zoom (required)
|
|
34
|
+
* @property markers (optional)
|
|
35
|
+
*/
|
|
36
|
+
export interface MapData {
|
|
37
|
+
/** Id of the map container element */
|
|
38
|
+
containerId: string;
|
|
39
|
+
/** Leaflet map layers */
|
|
40
|
+
tileLayers: TileLayerData[];
|
|
41
|
+
/** Leaflet map options */
|
|
42
|
+
libOptions?: MapOptions;
|
|
43
|
+
/** Leaflet cluster options */
|
|
44
|
+
clusterLibOptions?: any;
|
|
45
|
+
/** Coordinates of the initial view */
|
|
46
|
+
initialView: {
|
|
47
|
+
/** Coordinates tuple */
|
|
48
|
+
center: [number, number];
|
|
49
|
+
/** Zoom distance */
|
|
50
|
+
zoom: number;
|
|
51
|
+
};
|
|
52
|
+
/** Collection of map markers */
|
|
53
|
+
markers?: MarkerData[];
|
|
54
|
+
/** Sets the map instance to the given parameter */
|
|
55
|
+
_setInstance?: (map: any) => void;
|
|
56
|
+
/** Sets the marker layer to the given parameter */
|
|
57
|
+
_setMarkerLayer?: (markerLayer: any) => void;
|
|
58
|
+
}
|
|
59
|
+
export declare class MapComponent implements AfterContentChecked {
|
|
60
|
+
data: MapData;
|
|
61
|
+
emit: any;
|
|
62
|
+
/** Knows if the component is loaded */
|
|
63
|
+
private _loaded;
|
|
64
|
+
/** Dynamically load required node modules */
|
|
65
|
+
private loadModules;
|
|
66
|
+
ngAfterContentChecked(): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "n7-map", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for MetadataViewerComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property group (required)
|
|
6
|
+
* @property classes (optional)
|
|
7
|
+
*/
|
|
8
|
+
export interface MetadataViewerData {
|
|
9
|
+
/**
|
|
10
|
+
* the CHILD metadata groups
|
|
11
|
+
*/
|
|
12
|
+
group: MetadataViewerChildGroups[];
|
|
13
|
+
/**
|
|
14
|
+
* additional html classes
|
|
15
|
+
*/
|
|
16
|
+
classes?: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Interface for MetadataViewerComponent's "data"
|
|
20
|
+
*
|
|
21
|
+
* @property title (optional)
|
|
22
|
+
* @property items (optional)
|
|
23
|
+
* @property group (optional)
|
|
24
|
+
* @property classes (optional)
|
|
25
|
+
*/
|
|
26
|
+
export interface MetadataViewerChildGroups {
|
|
27
|
+
/**
|
|
28
|
+
* component header (if root)
|
|
29
|
+
* or group title
|
|
30
|
+
*/
|
|
31
|
+
title?: string;
|
|
32
|
+
/**
|
|
33
|
+
* the metadata items
|
|
34
|
+
*/
|
|
35
|
+
items?: MetadataViewerItems[];
|
|
36
|
+
/**
|
|
37
|
+
* the CHILD metadata groups
|
|
38
|
+
*/
|
|
39
|
+
group?: MetadataViewerChildGroups[];
|
|
40
|
+
/**
|
|
41
|
+
* additional html classes
|
|
42
|
+
*/
|
|
43
|
+
classes?: any;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Interface for MetadataViewerComponent's "items"
|
|
47
|
+
* @property label (optional)
|
|
48
|
+
* @property value (optional)
|
|
49
|
+
*/
|
|
50
|
+
export interface MetadataViewerItems {
|
|
51
|
+
/**
|
|
52
|
+
* the item's label
|
|
53
|
+
*/
|
|
54
|
+
label?: string;
|
|
55
|
+
/**
|
|
56
|
+
* the value for @property label
|
|
57
|
+
*/
|
|
58
|
+
value?: string;
|
|
59
|
+
}
|
|
60
|
+
export declare class MetadataViewerComponent {
|
|
61
|
+
data: MetadataViewerData;
|
|
62
|
+
emit: any;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetadataViewerComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataViewerComponent, "n7-metadata-viewer", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a single navbar item
|
|
5
|
+
*
|
|
6
|
+
* @property text (required)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property link (optional)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
*/
|
|
11
|
+
export interface NavItem {
|
|
12
|
+
/**
|
|
13
|
+
* text of a single item of the navbar (text and payload are connected)
|
|
14
|
+
*/
|
|
15
|
+
text: string;
|
|
16
|
+
/**
|
|
17
|
+
* image url for contextual icon/thumbnail
|
|
18
|
+
*/
|
|
19
|
+
image?: string;
|
|
20
|
+
/**
|
|
21
|
+
* icon name/class from icon font
|
|
22
|
+
*/
|
|
23
|
+
icon?: string;
|
|
24
|
+
/**
|
|
25
|
+
* additional html classes
|
|
26
|
+
*/
|
|
27
|
+
classes?: string;
|
|
28
|
+
anchor?: Anchor;
|
|
29
|
+
/**
|
|
30
|
+
* additional info
|
|
31
|
+
*/
|
|
32
|
+
_meta?: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Interface for the navbar
|
|
36
|
+
*
|
|
37
|
+
* @property items (required)
|
|
38
|
+
* @property classes (optional)
|
|
39
|
+
* @property payload (optional)
|
|
40
|
+
* @property _meta (optional)
|
|
41
|
+
*/
|
|
42
|
+
export interface NavData {
|
|
43
|
+
/**
|
|
44
|
+
* list of the items in the navbar
|
|
45
|
+
*/
|
|
46
|
+
items: NavItem[];
|
|
47
|
+
/**
|
|
48
|
+
* additional html classes
|
|
49
|
+
*/
|
|
50
|
+
classes?: string;
|
|
51
|
+
/**
|
|
52
|
+
* action click's payload
|
|
53
|
+
*/
|
|
54
|
+
payload?: any;
|
|
55
|
+
/**
|
|
56
|
+
* additional info
|
|
57
|
+
*/
|
|
58
|
+
_meta?: any;
|
|
59
|
+
}
|
|
60
|
+
export declare class NavComponent {
|
|
61
|
+
data: NavData;
|
|
62
|
+
emit: any;
|
|
63
|
+
onClick(payload: any): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "n7-nav", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Button } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for PaginationComponent's options (page size select options)
|
|
5
|
+
*
|
|
6
|
+
* @property text (required)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property _meta (optional)
|
|
9
|
+
*/
|
|
10
|
+
export interface Option {
|
|
11
|
+
/**
|
|
12
|
+
* option text value
|
|
13
|
+
*/
|
|
14
|
+
text: string;
|
|
15
|
+
/**
|
|
16
|
+
* additional html classes
|
|
17
|
+
*/
|
|
18
|
+
classes?: string;
|
|
19
|
+
/**
|
|
20
|
+
* additional info
|
|
21
|
+
*/
|
|
22
|
+
_meta?: any;
|
|
23
|
+
/**
|
|
24
|
+
* render as disabled
|
|
25
|
+
*/
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* force selection
|
|
29
|
+
*/
|
|
30
|
+
selected?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Interface for PaginationComponent's "data"
|
|
34
|
+
*
|
|
35
|
+
* @property links (required)
|
|
36
|
+
* @property first (optional)
|
|
37
|
+
* @property prev (optional)
|
|
38
|
+
* @property next (optional)
|
|
39
|
+
* @property last (optional)
|
|
40
|
+
* @property classes (optional)
|
|
41
|
+
* @property payload (optional)
|
|
42
|
+
* @property _meta (optional)
|
|
43
|
+
*/
|
|
44
|
+
export interface PaginationData {
|
|
45
|
+
/**
|
|
46
|
+
* innerHtml for the "first" label
|
|
47
|
+
*/
|
|
48
|
+
first?: Button;
|
|
49
|
+
/**
|
|
50
|
+
* innerHtml for the "prev" label
|
|
51
|
+
*/
|
|
52
|
+
prev?: Button;
|
|
53
|
+
/**
|
|
54
|
+
* innerHtml for the "next" label
|
|
55
|
+
*/
|
|
56
|
+
next?: Button;
|
|
57
|
+
/**
|
|
58
|
+
* innerHtml for the "last" label
|
|
59
|
+
*/
|
|
60
|
+
last?: Button;
|
|
61
|
+
/**
|
|
62
|
+
* array of "pages" label (as text)
|
|
63
|
+
*/
|
|
64
|
+
links: Button[];
|
|
65
|
+
/**
|
|
66
|
+
* page size select
|
|
67
|
+
*/
|
|
68
|
+
select?: {
|
|
69
|
+
label?: string;
|
|
70
|
+
options?: Option[];
|
|
71
|
+
payload?: string;
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* additional html classes
|
|
76
|
+
*/
|
|
77
|
+
classes?: string;
|
|
78
|
+
/**
|
|
79
|
+
* action click's payload
|
|
80
|
+
*/
|
|
81
|
+
payload?: any;
|
|
82
|
+
/**
|
|
83
|
+
* additional info
|
|
84
|
+
*/
|
|
85
|
+
_meta?: any;
|
|
86
|
+
}
|
|
87
|
+
export declare class PaginationComponent {
|
|
88
|
+
data: PaginationData;
|
|
89
|
+
emit: any;
|
|
90
|
+
onClick(payload: any): void;
|
|
91
|
+
onChange(payload: any, value: any): void;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "n7-pagination", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for ProgressLineComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property label (required)
|
|
6
|
+
* @property value (required)
|
|
7
|
+
*/
|
|
8
|
+
export interface ProgressLineData {
|
|
9
|
+
/**
|
|
10
|
+
* text visualized on the left side
|
|
11
|
+
*/
|
|
12
|
+
label: string;
|
|
13
|
+
/**
|
|
14
|
+
* value that has percentage for bar
|
|
15
|
+
*/
|
|
16
|
+
value: number;
|
|
17
|
+
}
|
|
18
|
+
export declare class ProgressLineComponent {
|
|
19
|
+
data: ProgressLineData;
|
|
20
|
+
emit: any;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressLineComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressLineComponent, "n7-progress-line", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for SidebarHeaderComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property iconLeft (optional)
|
|
6
|
+
* @property text (optional)
|
|
7
|
+
* @property additionalText (optional)
|
|
8
|
+
* @property iconRight (optional)
|
|
9
|
+
* @property classes (optional)
|
|
10
|
+
* @property payload (optional)
|
|
11
|
+
*/
|
|
12
|
+
export interface SidebarHeaderData {
|
|
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 SidebarHeaderComponent {
|
|
39
|
+
data: SidebarHeaderData;
|
|
40
|
+
emit: any;
|
|
41
|
+
onClick(payload: any): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarHeaderComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarHeaderComponent, "n7-sidebar-header", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
44
|
+
}
|