@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,57 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for AdvancedAutocompleteComponent's "data"
|
|
5
|
+
*/
|
|
6
|
+
export interface AdvancedAutocompleteData {
|
|
7
|
+
results?: AdvancedAutocompleteResponse[];
|
|
8
|
+
actions?: {
|
|
9
|
+
advanced?: {
|
|
10
|
+
text: string;
|
|
11
|
+
anchor?: Anchor;
|
|
12
|
+
classes?: any;
|
|
13
|
+
};
|
|
14
|
+
showMore?: {
|
|
15
|
+
text: string;
|
|
16
|
+
anchor?: Anchor;
|
|
17
|
+
classes?: any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
fallback: string;
|
|
21
|
+
classes?: any;
|
|
22
|
+
_meta?: any;
|
|
23
|
+
}
|
|
24
|
+
interface AdvancedAutocompleteItem {
|
|
25
|
+
/**
|
|
26
|
+
* anchor <a>
|
|
27
|
+
*/
|
|
28
|
+
anchor?: Anchor;
|
|
29
|
+
/**
|
|
30
|
+
* Rendered text for the result item
|
|
31
|
+
*/
|
|
32
|
+
title?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Additional metadata for the result item
|
|
35
|
+
*/
|
|
36
|
+
metadata?: Array<{
|
|
37
|
+
key?: string;
|
|
38
|
+
value?: string;
|
|
39
|
+
}>;
|
|
40
|
+
}
|
|
41
|
+
interface AdvancedAutocompleteResponse {
|
|
42
|
+
items: AdvancedAutocompleteItem[];
|
|
43
|
+
group?: {
|
|
44
|
+
title: string;
|
|
45
|
+
classes?: string;
|
|
46
|
+
icon?: string;
|
|
47
|
+
anchor?: Anchor;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export declare class AdvancedAutocompleteComponent {
|
|
51
|
+
data: AdvancedAutocompleteData;
|
|
52
|
+
emit: any;
|
|
53
|
+
onClick(payload: any): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedAutocompleteComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedAutocompleteComponent, "n7-advanced-autocomplete", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
56
|
+
}
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for TagComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property body (required)
|
|
6
|
+
* @property icon (optional)
|
|
7
|
+
* @property classes (optional)
|
|
8
|
+
* @property payload (optional)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
* @property hasCloseButton (optional)
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export interface AlertData {
|
|
14
|
+
/**
|
|
15
|
+
* the alert's body/message which can include html tags
|
|
16
|
+
*/
|
|
17
|
+
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* alert icon (on left side)
|
|
20
|
+
*/
|
|
21
|
+
icon?: string;
|
|
22
|
+
/**
|
|
23
|
+
* additional html classes
|
|
24
|
+
*/
|
|
25
|
+
classes?: string;
|
|
26
|
+
/**
|
|
27
|
+
* action click's payload
|
|
28
|
+
*/
|
|
29
|
+
payload?: any;
|
|
30
|
+
/**
|
|
31
|
+
* additional info
|
|
32
|
+
*/
|
|
33
|
+
_meta?: any;
|
|
34
|
+
/**
|
|
35
|
+
* indicates whether the alert includes a close button (on top-right corner)
|
|
36
|
+
* or not (if not provided assumed as false)
|
|
37
|
+
*/
|
|
38
|
+
hasCloseButton?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare class AlertComponent {
|
|
41
|
+
data: AlertData;
|
|
42
|
+
emit: any;
|
|
43
|
+
onClick(payload: any): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "n7-alert", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Anchor } from '../../shared-interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AnchorWrapperComponent {
|
|
5
|
+
data: Anchor;
|
|
6
|
+
classes: string;
|
|
7
|
+
clicked: EventEmitter<any>;
|
|
8
|
+
isExternal(href: any): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Click event handler.
|
|
11
|
+
* Outputs the payload to it's parent component
|
|
12
|
+
*/
|
|
13
|
+
onClick(payload: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnchorWrapperComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnchorWrapperComponent, "n7-anchor-wrapper", never, { "data": "data"; "classes": "classes"; }, { "clicked": "clicked"; }, never, ["*"]>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Anchor } from '../../shared-interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a single BreadcrumbsComponent's "Item"
|
|
5
|
+
*
|
|
6
|
+
* @property label (required)
|
|
7
|
+
* @property payload (required)
|
|
8
|
+
* @property classes (optional)
|
|
9
|
+
* @property _meta (optional)
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export interface BreadcrumbsItem {
|
|
13
|
+
/**
|
|
14
|
+
* item's label
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
anchor: Anchor;
|
|
18
|
+
/**
|
|
19
|
+
* additional html classes
|
|
20
|
+
*/
|
|
21
|
+
classes?: any;
|
|
22
|
+
/**
|
|
23
|
+
* additional info useful for the component's logic
|
|
24
|
+
*/
|
|
25
|
+
_meta?: any;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Interface for BreadcrumbsComponent's "Data"
|
|
29
|
+
*
|
|
30
|
+
* @property items (required)
|
|
31
|
+
* @property classes (optional)
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export interface BreadcrumbsData {
|
|
35
|
+
/**
|
|
36
|
+
* each item renders a breadcrumb level
|
|
37
|
+
*/
|
|
38
|
+
items: BreadcrumbsItem[];
|
|
39
|
+
/**
|
|
40
|
+
* additional html classes
|
|
41
|
+
*/
|
|
42
|
+
classes?: any;
|
|
43
|
+
}
|
|
44
|
+
export declare class BreadcrumbsComponent {
|
|
45
|
+
data: BreadcrumbsData;
|
|
46
|
+
emit: any;
|
|
47
|
+
onClick(payload: any): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "n7-breadcrumbs", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { AfterContentChecked } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for BubbleChartComponent's "data"
|
|
5
|
+
*
|
|
6
|
+
* @property containerId (required)
|
|
7
|
+
* @property containerWidth (required)
|
|
8
|
+
* @property containerHeight (required)
|
|
9
|
+
* @property bubblesData (required)
|
|
10
|
+
* @property isForceSimulationEnabled (required)
|
|
11
|
+
* @property classes (optional)
|
|
12
|
+
* @property reset (optional)
|
|
13
|
+
*/
|
|
14
|
+
export interface BubbleChartData {
|
|
15
|
+
/**
|
|
16
|
+
* unique identifier for the bubble-chart
|
|
17
|
+
*/
|
|
18
|
+
containerId: string;
|
|
19
|
+
/**
|
|
20
|
+
* total width for the bubble-chart
|
|
21
|
+
*/
|
|
22
|
+
width: number;
|
|
23
|
+
/**
|
|
24
|
+
* total height for the bubble-chart
|
|
25
|
+
*/
|
|
26
|
+
height: number;
|
|
27
|
+
/**
|
|
28
|
+
* data about the bubbles
|
|
29
|
+
*/
|
|
30
|
+
data: BubbleChartDataItem[];
|
|
31
|
+
/**
|
|
32
|
+
* additional css classes
|
|
33
|
+
*/
|
|
34
|
+
classes?: string;
|
|
35
|
+
/**
|
|
36
|
+
* list of ID's of selected items
|
|
37
|
+
* (selected items will render with a 'X' icon)
|
|
38
|
+
*/
|
|
39
|
+
selected?: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Specify a list of typeOfEntity types (domain),
|
|
42
|
+
* and a list of colors (range), which will be mapped together.
|
|
43
|
+
*/
|
|
44
|
+
colorMatch?: {
|
|
45
|
+
domain: string[];
|
|
46
|
+
range: string[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Define a max and min size for the bubbles
|
|
50
|
+
*/
|
|
51
|
+
sizeRange: [number, number];
|
|
52
|
+
/**
|
|
53
|
+
* If defined, transition will be activated
|
|
54
|
+
* and the value will be used as duration
|
|
55
|
+
*/
|
|
56
|
+
transition?: number;
|
|
57
|
+
/**
|
|
58
|
+
* If set to false, stops the shuffling of the data
|
|
59
|
+
* before rendering.
|
|
60
|
+
*/
|
|
61
|
+
shuffle?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Defines the font-family and the font-weight for each text group
|
|
64
|
+
*/
|
|
65
|
+
fontRendering?: {
|
|
66
|
+
label?: {
|
|
67
|
+
family?: string;
|
|
68
|
+
weight?: string;
|
|
69
|
+
};
|
|
70
|
+
counter?: {
|
|
71
|
+
family?: string;
|
|
72
|
+
weight?: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* expose the draw function outside of n7-frontend/components library
|
|
77
|
+
* this is needed to redraw bubble-chart-component on command
|
|
78
|
+
*/
|
|
79
|
+
setDraw?: any;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Interface for D3Chart's "data"
|
|
83
|
+
*
|
|
84
|
+
* @property entity (required)
|
|
85
|
+
* - id (required)
|
|
86
|
+
* - label (optional)
|
|
87
|
+
* - typeOfEntity (optional)
|
|
88
|
+
* @property count (required)
|
|
89
|
+
*/
|
|
90
|
+
export interface BubbleChartDataItem {
|
|
91
|
+
entity: {
|
|
92
|
+
id: string;
|
|
93
|
+
label?: string;
|
|
94
|
+
typeOfEntity?: string;
|
|
95
|
+
};
|
|
96
|
+
count: number;
|
|
97
|
+
}
|
|
98
|
+
export declare class BubbleChartComponent implements AfterContentChecked {
|
|
99
|
+
data: BubbleChartData;
|
|
100
|
+
emit: any;
|
|
101
|
+
private d3;
|
|
102
|
+
private _loaded;
|
|
103
|
+
ngAfterContentChecked(): void;
|
|
104
|
+
onClick(payload: any): void;
|
|
105
|
+
draw: () => void;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "n7-bubble-chart", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { AfterContentChecked } from '@angular/core';
|
|
2
|
+
import { Anchor } from '../../shared-interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Interface for PaginationComponent's links (pages and navigation buttons)
|
|
6
|
+
*
|
|
7
|
+
* @property text (required)
|
|
8
|
+
* @property anchor (optional)
|
|
9
|
+
* @property classes (optional)
|
|
10
|
+
* @property _meta (optional)
|
|
11
|
+
*/
|
|
12
|
+
export interface CarouselButton {
|
|
13
|
+
/**
|
|
14
|
+
* innerHTML or plain text for the label
|
|
15
|
+
*/
|
|
16
|
+
text?: string;
|
|
17
|
+
/**
|
|
18
|
+
* additional html classes
|
|
19
|
+
*/
|
|
20
|
+
classes?: string;
|
|
21
|
+
anchor?: Anchor;
|
|
22
|
+
/**
|
|
23
|
+
* additional info
|
|
24
|
+
*/
|
|
25
|
+
_meta?: any;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Interface for PaginationComponent's Metadata tuples (pages and navigation buttons)
|
|
29
|
+
*
|
|
30
|
+
* @property key (optional)
|
|
31
|
+
* @property value (optional)
|
|
32
|
+
*/
|
|
33
|
+
export interface CarouselMetadata {
|
|
34
|
+
/**
|
|
35
|
+
* First element
|
|
36
|
+
*/
|
|
37
|
+
key?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Second element
|
|
40
|
+
*/
|
|
41
|
+
value?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface CarouselBackgroundItem {
|
|
44
|
+
/**
|
|
45
|
+
* Background image for the carousel
|
|
46
|
+
*/
|
|
47
|
+
image?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Background video for the carousel
|
|
50
|
+
*/
|
|
51
|
+
video?: {
|
|
52
|
+
/** Media URL */
|
|
53
|
+
url: string;
|
|
54
|
+
/** Placeholder image while loading */
|
|
55
|
+
poster?: string;
|
|
56
|
+
/** Video width in pixels */
|
|
57
|
+
width: number;
|
|
58
|
+
/** Video height in pixels */
|
|
59
|
+
height: number;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Background color for the carousel
|
|
63
|
+
*/
|
|
64
|
+
color?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Interface for CarouselComponent's "Item"
|
|
68
|
+
*
|
|
69
|
+
* @property title (optional)
|
|
70
|
+
* @property text (optional)
|
|
71
|
+
* @property metadata (optional)
|
|
72
|
+
* @property action (optional)
|
|
73
|
+
* @property classes (optional)
|
|
74
|
+
* @property _meta (optional)
|
|
75
|
+
*/
|
|
76
|
+
export interface CarouselForegroundItem {
|
|
77
|
+
/**
|
|
78
|
+
* Header
|
|
79
|
+
*/
|
|
80
|
+
title?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Text paragraph / subtitle / pretitle
|
|
83
|
+
*/
|
|
84
|
+
text?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Metadata
|
|
87
|
+
*/
|
|
88
|
+
metadata?: CarouselMetadata[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Interface for CarouselComponent's "data"
|
|
92
|
+
*
|
|
93
|
+
* @property items (required)
|
|
94
|
+
* @property image (optional)
|
|
95
|
+
* @property video (optional)
|
|
96
|
+
* @property classes (optional)
|
|
97
|
+
* @property _meta (optional)
|
|
98
|
+
*/
|
|
99
|
+
export interface CarouselData {
|
|
100
|
+
/**
|
|
101
|
+
* ID Of the carousel container
|
|
102
|
+
*/
|
|
103
|
+
containerId: string;
|
|
104
|
+
/**
|
|
105
|
+
* Options for the carousel library ( docs here : https://lattecarousel.dev/ )
|
|
106
|
+
*/
|
|
107
|
+
libOptions?: any;
|
|
108
|
+
/**
|
|
109
|
+
* Array of carousel slides
|
|
110
|
+
*/
|
|
111
|
+
slides: {
|
|
112
|
+
items: CarouselForegroundItem[];
|
|
113
|
+
/**
|
|
114
|
+
* Button
|
|
115
|
+
*/
|
|
116
|
+
action?: CarouselButton;
|
|
117
|
+
background?: CarouselBackgroundItem;
|
|
118
|
+
classes?: string;
|
|
119
|
+
}[];
|
|
120
|
+
/**
|
|
121
|
+
* Callback for getting the carousel instance
|
|
122
|
+
*/
|
|
123
|
+
setInstance?: any;
|
|
124
|
+
/**
|
|
125
|
+
* Callback to access the carousel API
|
|
126
|
+
* */
|
|
127
|
+
setComponentAPI?: any;
|
|
128
|
+
/**
|
|
129
|
+
* Classes for the carousel component
|
|
130
|
+
*/
|
|
131
|
+
classes?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Additional data useful for the component's logic
|
|
134
|
+
*/
|
|
135
|
+
_meta?: any;
|
|
136
|
+
}
|
|
137
|
+
export declare class CarouselComponent implements AfterContentChecked {
|
|
138
|
+
data: CarouselData;
|
|
139
|
+
emit: any;
|
|
140
|
+
private loaded;
|
|
141
|
+
/**
|
|
142
|
+
* API of the carousel component
|
|
143
|
+
*/
|
|
144
|
+
api: {
|
|
145
|
+
/**
|
|
146
|
+
* Used to lazy-load video resources.
|
|
147
|
+
* Call api.load.videos on DOMContentReady event
|
|
148
|
+
*/
|
|
149
|
+
load: {
|
|
150
|
+
/** Changes all data-src attributes to src and calls <video>.load() */
|
|
151
|
+
videos: () => void;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
ngAfterContentChecked(): void;
|
|
155
|
+
onClick(payload: any): void;
|
|
156
|
+
/**
|
|
157
|
+
* Function that adds the event listeners to each button.
|
|
158
|
+
* This is needed because when "new Carousel()" is called the event listeners are lost.
|
|
159
|
+
*/
|
|
160
|
+
addButtonEvents({ slides, containerId }: {
|
|
161
|
+
slides: any;
|
|
162
|
+
containerId: any;
|
|
163
|
+
}): void;
|
|
164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "n7-carousel", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
166
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AfterContentChecked } from '@angular/core';
|
|
2
|
+
import { ApexOptions } from 'apexcharts';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Interface for ChartComponent's "data"
|
|
6
|
+
*
|
|
7
|
+
* @property _chartId (required)
|
|
8
|
+
* @property options (required)
|
|
9
|
+
* @property classes (optional)
|
|
10
|
+
* @property payload (optional)
|
|
11
|
+
* @property _meta (optional)
|
|
12
|
+
*/
|
|
13
|
+
export interface ChartData {
|
|
14
|
+
/**
|
|
15
|
+
* unique identifier for the chart
|
|
16
|
+
*/
|
|
17
|
+
containerId: string;
|
|
18
|
+
/**
|
|
19
|
+
* libOptions for the chart ( docs here : https://apexcharts.com/docs/options/ )
|
|
20
|
+
*/
|
|
21
|
+
libOptions: ApexOptions;
|
|
22
|
+
/**
|
|
23
|
+
* additional html classes
|
|
24
|
+
*/
|
|
25
|
+
classes?: string;
|
|
26
|
+
/**
|
|
27
|
+
* action click's payload
|
|
28
|
+
*/
|
|
29
|
+
payload?: any;
|
|
30
|
+
/**
|
|
31
|
+
* additional info
|
|
32
|
+
*/
|
|
33
|
+
_meta?: any;
|
|
34
|
+
/**
|
|
35
|
+
* callback for saving the created chart instance
|
|
36
|
+
*/
|
|
37
|
+
setChart?: any;
|
|
38
|
+
}
|
|
39
|
+
export declare class ChartComponent implements AfterContentChecked {
|
|
40
|
+
data: ChartData;
|
|
41
|
+
emit: any;
|
|
42
|
+
private _loaded;
|
|
43
|
+
ngAfterContentChecked(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "n7-chart", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for ContentPlaceholderComponent's "data"
|
|
4
|
+
*
|
|
5
|
+
* @property classes (optional)
|
|
6
|
+
* @property _meta (optional)
|
|
7
|
+
*/
|
|
8
|
+
export interface ContentPlaceholderData {
|
|
9
|
+
/**
|
|
10
|
+
* array of html classes
|
|
11
|
+
*/
|
|
12
|
+
blocks: BlocksData[];
|
|
13
|
+
/**
|
|
14
|
+
* additional info
|
|
15
|
+
*/
|
|
16
|
+
_meta?: any;
|
|
17
|
+
}
|
|
18
|
+
interface BlocksData {
|
|
19
|
+
classes?: string;
|
|
20
|
+
image?: string;
|
|
21
|
+
alt?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class ContentPlaceholderComponent {
|
|
24
|
+
data: ContentPlaceholderData;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentPlaceholderComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentPlaceholderComponent, "n7-content-placeholder", never, { "data": "data"; }, {}, never, never>;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for an index component Item
|
|
4
|
+
*
|
|
5
|
+
* @property icon (optional)
|
|
6
|
+
* @property text (required)
|
|
7
|
+
* @property subtitle (required)
|
|
8
|
+
* - text (required)
|
|
9
|
+
* - icon (optional)
|
|
10
|
+
* - grow (required)
|
|
11
|
+
*/
|
|
12
|
+
export interface DataWidgetData {
|
|
13
|
+
/**
|
|
14
|
+
* item icon
|
|
15
|
+
*/
|
|
16
|
+
icon?: string;
|
|
17
|
+
/**
|
|
18
|
+
* item text
|
|
19
|
+
*/
|
|
20
|
+
text?: string;
|
|
21
|
+
subtitle?: {
|
|
22
|
+
/**
|
|
23
|
+
* item subtitle
|
|
24
|
+
*/
|
|
25
|
+
text: string;
|
|
26
|
+
/**
|
|
27
|
+
* item subtitle icon
|
|
28
|
+
*/
|
|
29
|
+
icon: string;
|
|
30
|
+
/**
|
|
31
|
+
* percent rate
|
|
32
|
+
*/
|
|
33
|
+
value: number | string;
|
|
34
|
+
payload: any;
|
|
35
|
+
};
|
|
36
|
+
classes?: string;
|
|
37
|
+
/**
|
|
38
|
+
* mouse event payload
|
|
39
|
+
*/
|
|
40
|
+
payload: any;
|
|
41
|
+
_meta?: any;
|
|
42
|
+
}
|
|
43
|
+
export declare class DataWidgetComponent {
|
|
44
|
+
data: DataWidgetData;
|
|
45
|
+
emit: any;
|
|
46
|
+
onMouseEnter(payload: any): void;
|
|
47
|
+
onMouseLeave(payload: any): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataWidgetComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataWidgetComponent, "n7-data-widget", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for datapicker component
|
|
4
|
+
* @property id (required)
|
|
5
|
+
* @property libOptions (required)
|
|
6
|
+
* @property classes (optional)
|
|
7
|
+
* @property payload (optional)
|
|
8
|
+
* @property _meta (optional)
|
|
9
|
+
*/
|
|
10
|
+
export interface DatePickerData {
|
|
11
|
+
/**
|
|
12
|
+
* datepicker id
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* datepicker library options
|
|
17
|
+
* view LINK: https://flatpickr.js.org/
|
|
18
|
+
*/
|
|
19
|
+
libOptions: any;
|
|
20
|
+
/**
|
|
21
|
+
* for datepicker range min and max range value
|
|
22
|
+
*/
|
|
23
|
+
minRange?: number;
|
|
24
|
+
maxRange?: number;
|
|
25
|
+
classes?: string;
|
|
26
|
+
/**
|
|
27
|
+
* datepicker event payload
|
|
28
|
+
*/
|
|
29
|
+
payload?: any;
|
|
30
|
+
_meta?: any;
|
|
31
|
+
/**
|
|
32
|
+
* callback for saving the created datepicker instance
|
|
33
|
+
*/
|
|
34
|
+
getInstance?: any;
|
|
35
|
+
}
|
|
36
|
+
export declare class DatepickerComponent {
|
|
37
|
+
data: DatePickerData;
|
|
38
|
+
emit: any;
|
|
39
|
+
private _loaded;
|
|
40
|
+
ngAfterContentChecked(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "n7-datepicker", never, { "data": "data"; "emit": "emit"; }, {}, never, never>;
|
|
43
|
+
}
|