@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.
Files changed (232) hide show
  1. package/README.md +24 -0
  2. package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +25 -0
  3. package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +100 -0
  4. package/esm2020/lib/components/alert/alert.mjs +24 -0
  5. package/esm2020/lib/components/alert/alert.mock.mjs +11 -0
  6. package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +35 -0
  7. package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +25 -0
  8. package/esm2020/lib/components/breadcrumbs/breadcrumbs.mock.mjs +25 -0
  9. package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +315 -0
  10. package/esm2020/lib/components/bubble-chart/bubble-chart.mock.mjs +4025 -0
  11. package/esm2020/lib/components/carousel/carousel.mjs +89 -0
  12. package/esm2020/lib/components/carousel/carousel.mock.mjs +135 -0
  13. package/esm2020/lib/components/chart/chart.mjs +37 -0
  14. package/esm2020/lib/components/chart/chart.mock.mjs +112 -0
  15. package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +17 -0
  16. package/esm2020/lib/components/content-placeholder/content-placeholder.mock.mjs +13 -0
  17. package/esm2020/lib/components/data-widget/data-widget.mjs +29 -0
  18. package/esm2020/lib/components/data-widget/data-widget.mock.mjs +13 -0
  19. package/esm2020/lib/components/datepicker/datepicker.mjs +44 -0
  20. package/esm2020/lib/components/datepicker/datepicker.mock.mjs +8 -0
  21. package/esm2020/lib/components/facet/facet.mjs +24 -0
  22. package/esm2020/lib/components/facet/facet.mock.mjs +103 -0
  23. package/esm2020/lib/components/facet-header/facet-header.mjs +24 -0
  24. package/esm2020/lib/components/facet-header/facet-header.mock.mjs +9 -0
  25. package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +53 -0
  26. package/esm2020/lib/components/facet-year-range/facet-year-range.mock.mjs +30 -0
  27. package/esm2020/lib/components/footer/footer.mjs +25 -0
  28. package/esm2020/lib/components/footer/footer.mock.mjs +48 -0
  29. package/esm2020/lib/components/header/header.mjs +51 -0
  30. package/esm2020/lib/components/header/header.mock.mjs +83 -0
  31. package/esm2020/lib/components/hero/hero.mjs +41 -0
  32. package/esm2020/lib/components/hero/hero.mock.mjs +25 -0
  33. package/esm2020/lib/components/histogram-range/histogram-range.mjs +376 -0
  34. package/esm2020/lib/components/histogram-range/histogram-range.mock.mjs +243 -0
  35. package/esm2020/lib/components/image-viewer/image-viewer.mjs +55 -0
  36. package/esm2020/lib/components/image-viewer/image-viewer.mock.mjs +25 -0
  37. package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +28 -0
  38. package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +54 -0
  39. package/esm2020/lib/components/inner-title/inner-title.mjs +40 -0
  40. package/esm2020/lib/components/inner-title/inner-title.mock.mjs +52 -0
  41. package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +24 -0
  42. package/esm2020/lib/components/input-checkbox/input-checkbox.mock.mjs +25 -0
  43. package/esm2020/lib/components/input-link/input-link.mjs +24 -0
  44. package/esm2020/lib/components/input-link/input-link.mock.mjs +38 -0
  45. package/esm2020/lib/components/input-select/input-select.mjs +24 -0
  46. package/esm2020/lib/components/input-select/input-select.mock.mjs +12 -0
  47. package/esm2020/lib/components/input-text/input-text.mjs +24 -0
  48. package/esm2020/lib/components/input-text/input-text.mock.mjs +13 -0
  49. package/esm2020/lib/components/item-preview/item-preview.mjs +25 -0
  50. package/esm2020/lib/components/item-preview/item-preview.mock.mjs +43 -0
  51. package/esm2020/lib/components/loader/loader.mjs +16 -0
  52. package/esm2020/lib/components/loader/loader.mock.mjs +4 -0
  53. package/esm2020/lib/components/map/map.mjs +64 -0
  54. package/esm2020/lib/components/map/map.mock.mjs +25 -0
  55. package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +19 -0
  56. package/esm2020/lib/components/metadata-viewer/metadata-viewer.mock.mjs +74 -0
  57. package/esm2020/lib/components/nav/nav.mjs +22 -0
  58. package/esm2020/lib/components/nav/nav.mock.mjs +29 -0
  59. package/esm2020/lib/components/pagination/pagination.mjs +31 -0
  60. package/esm2020/lib/components/pagination/pagination.mock.mjs +23 -0
  61. package/esm2020/lib/components/progress-line/progress-line.mjs +19 -0
  62. package/esm2020/lib/components/progress-line/progress-line.mock.mjs +5 -0
  63. package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +24 -0
  64. package/esm2020/lib/components/sidebar-header/sidebar-header.mock.mjs +9 -0
  65. package/esm2020/lib/components/signup/signup.mjs +44 -0
  66. package/esm2020/lib/components/signup/signup.mock.mjs +106 -0
  67. package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +25 -0
  68. package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +15 -0
  69. package/esm2020/lib/components/table/table.mjs +35 -0
  70. package/esm2020/lib/components/table/table.mock.mjs +152 -0
  71. package/esm2020/lib/components/tag/tag.mjs +24 -0
  72. package/esm2020/lib/components/tag/tag.mock.mjs +8 -0
  73. package/esm2020/lib/components/text-viewer/text-viewer.mjs +37 -0
  74. package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +39 -0
  75. package/esm2020/lib/components/timeline/timeline.mjs +51 -0
  76. package/esm2020/lib/components/timeline/timeline.mock.mjs +137 -0
  77. package/esm2020/lib/components/toast/toast.mjs +24 -0
  78. package/esm2020/lib/components/toast/toast.mock.mjs +47 -0
  79. package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +25 -0
  80. package/esm2020/lib/components/tooltip-content/tooltip-content.mock.mjs +19 -0
  81. package/esm2020/lib/components/tree/tree.mjs +25 -0
  82. package/esm2020/lib/components/tree/tree.mock.mjs +274 -0
  83. package/esm2020/lib/components/wizard/wizard.mjs +24 -0
  84. package/esm2020/lib/components/wizard/wizard.mock.mjs +29 -0
  85. package/esm2020/lib/dv-components-lib.module.mjs +191 -0
  86. package/esm2020/lib/shared-interfaces.mjs +2 -0
  87. package/esm2020/net7-components.mjs +5 -0
  88. package/esm2020/public-api.mjs +93 -0
  89. package/fesm2015/net7-components.mjs +8154 -0
  90. package/fesm2015/net7-components.mjs.map +1 -0
  91. package/fesm2020/net7-components.mjs +8168 -0
  92. package/fesm2020/net7-components.mjs.map +1 -0
  93. package/lib/components/advanced-autocomplete/advanced-autocomplete.d.ts +57 -0
  94. package/lib/components/advanced-autocomplete/advanced-autocomplete.mock.d.ts +2 -0
  95. package/lib/components/alert/alert.d.ts +46 -0
  96. package/lib/components/alert/alert.mock.d.ts +2 -0
  97. package/lib/components/anchor-wrapper/anchor-wrapper.d.ts +16 -0
  98. package/lib/components/breadcrumbs/breadcrumbs.d.ts +50 -0
  99. package/lib/components/breadcrumbs/breadcrumbs.mock.d.ts +2 -0
  100. package/lib/components/bubble-chart/bubble-chart.d.ts +108 -0
  101. package/lib/components/bubble-chart/bubble-chart.mock.d.ts +2 -0
  102. package/lib/components/carousel/carousel.d.ts +166 -0
  103. package/lib/components/carousel/carousel.mock.d.ts +2 -0
  104. package/lib/components/chart/chart.d.ts +46 -0
  105. package/lib/components/chart/chart.mock.d.ts +2 -0
  106. package/lib/components/content-placeholder/content-placeholder.d.ts +28 -0
  107. package/lib/components/content-placeholder/content-placeholder.mock.d.ts +2 -0
  108. package/lib/components/data-widget/data-widget.d.ts +50 -0
  109. package/lib/components/data-widget/data-widget.mock.d.ts +2 -0
  110. package/lib/components/datepicker/datepicker.d.ts +43 -0
  111. package/lib/components/datepicker/datepicker.mock.d.ts +2 -0
  112. package/lib/components/facet/facet.d.ts +129 -0
  113. package/lib/components/facet/facet.mock.d.ts +2 -0
  114. package/lib/components/facet-header/facet-header.d.ts +44 -0
  115. package/lib/components/facet-header/facet-header.mock.d.ts +2 -0
  116. package/lib/components/facet-year-range/facet-year-range.d.ts +83 -0
  117. package/lib/components/facet-year-range/facet-year-range.mock.d.ts +2 -0
  118. package/lib/components/footer/footer.d.ts +118 -0
  119. package/lib/components/footer/footer.mock.d.ts +2 -0
  120. package/lib/components/header/header.d.ts +281 -0
  121. package/lib/components/header/header.mock.d.ts +2 -0
  122. package/lib/components/hero/hero.d.ts +75 -0
  123. package/lib/components/hero/hero.mock.d.ts +2 -0
  124. package/lib/components/histogram-range/histogram-range.d.ts +113 -0
  125. package/lib/components/histogram-range/histogram-range.mock.d.ts +2 -0
  126. package/lib/components/image-viewer/image-viewer.d.ts +61 -0
  127. package/lib/components/image-viewer/image-viewer.mock.d.ts +2 -0
  128. package/lib/components/image-viewer-tools/image-viewer-tools.d.ts +116 -0
  129. package/lib/components/image-viewer-tools/image-viewer-tools.mock.d.ts +2 -0
  130. package/lib/components/inner-title/inner-title.d.ts +61 -0
  131. package/lib/components/inner-title/inner-title.mock.d.ts +2 -0
  132. package/lib/components/input-checkbox/input-checkbox.d.ts +67 -0
  133. package/lib/components/input-checkbox/input-checkbox.mock.d.ts +2 -0
  134. package/lib/components/input-link/input-link.d.ts +54 -0
  135. package/lib/components/input-link/input-link.mock.d.ts +2 -0
  136. package/lib/components/input-select/input-select.d.ts +67 -0
  137. package/lib/components/input-select/input-select.mock.d.ts +2 -0
  138. package/lib/components/input-text/input-text.d.ts +81 -0
  139. package/lib/components/input-text/input-text.mock.d.ts +2 -0
  140. package/lib/components/item-preview/item-preview.d.ts +93 -0
  141. package/lib/components/item-preview/item-preview.mock.d.ts +2 -0
  142. package/lib/components/loader/loader.d.ts +22 -0
  143. package/lib/components/loader/loader.mock.d.ts +2 -0
  144. package/lib/components/map/map.d.ts +69 -0
  145. package/lib/components/map/map.mock.d.ts +2 -0
  146. package/lib/components/metadata-viewer/metadata-viewer.d.ts +65 -0
  147. package/lib/components/metadata-viewer/metadata-viewer.mock.d.ts +8 -0
  148. package/lib/components/nav/nav.d.ts +66 -0
  149. package/lib/components/nav/nav.mock.d.ts +2 -0
  150. package/lib/components/pagination/pagination.d.ts +94 -0
  151. package/lib/components/pagination/pagination.mock.d.ts +2 -0
  152. package/lib/components/progress-line/progress-line.d.ts +23 -0
  153. package/lib/components/progress-line/progress-line.mock.d.ts +2 -0
  154. package/lib/components/sidebar-header/sidebar-header.d.ts +44 -0
  155. package/lib/components/sidebar-header/sidebar-header.mock.d.ts +2 -0
  156. package/lib/components/signup/signup.d.ts +109 -0
  157. package/lib/components/signup/signup.mock.d.ts +2 -0
  158. package/lib/components/simple-autocomplete/simple-autocomplete.d.ts +40 -0
  159. package/lib/components/simple-autocomplete/simple-autocomplete.mock.d.ts +2 -0
  160. package/lib/components/table/table.d.ts +89 -0
  161. package/lib/components/table/table.mock.d.ts +2 -0
  162. package/lib/components/tag/tag.d.ts +45 -0
  163. package/lib/components/tag/tag.mock.d.ts +2 -0
  164. package/lib/components/text-viewer/text-viewer.d.ts +34 -0
  165. package/lib/components/text-viewer/text-viewer.mock.d.ts +2 -0
  166. package/lib/components/timeline/timeline.d.ts +30 -0
  167. package/lib/components/timeline/timeline.mock.d.ts +2 -0
  168. package/lib/components/toast/toast.d.ts +84 -0
  169. package/lib/components/toast/toast.mock.d.ts +2 -0
  170. package/lib/components/tooltip-content/tooltip-content.d.ts +24 -0
  171. package/lib/components/tooltip-content/tooltip-content.mock.d.ts +2 -0
  172. package/lib/components/tree/tree.d.ts +79 -0
  173. package/lib/components/tree/tree.mock.d.ts +2 -0
  174. package/lib/components/wizard/wizard.d.ts +57 -0
  175. package/lib/components/wizard/wizard.mock.d.ts +2 -0
  176. package/lib/dv-components-lib.module.d.ts +50 -0
  177. package/lib/shared-interfaces.d.ts +60 -0
  178. package/net7-components.d.ts +5 -0
  179. package/package.json +44 -0
  180. package/public-api.d.ts +85 -0
  181. package/src/lib/styles/_imports.scss +77 -0
  182. package/src/lib/styles/atoms/_button.scss +205 -0
  183. package/src/lib/styles/components/_advanced-autocomplete.scss +190 -0
  184. package/src/lib/styles/components/_alert.scss +115 -0
  185. package/src/lib/styles/components/_anchor-wrapper.scss +29 -0
  186. package/src/lib/styles/components/_breadcrumbs.scss +99 -0
  187. package/src/lib/styles/components/_bubble-chart.scss +33 -0
  188. package/src/lib/styles/components/_carousel.scss +184 -0
  189. package/src/lib/styles/components/_chart.scss +28 -0
  190. package/src/lib/styles/components/_content-placeholder.scss +74 -0
  191. package/src/lib/styles/components/_data-widget.scss +93 -0
  192. package/src/lib/styles/components/_datepicker.scss +29 -0
  193. package/src/lib/styles/components/_facet-header.scss +58 -0
  194. package/src/lib/styles/components/_facet-year-range.scss +63 -0
  195. package/src/lib/styles/components/_facet.scss +164 -0
  196. package/src/lib/styles/components/_footer.scss +116 -0
  197. package/src/lib/styles/components/_header.scss +474 -0
  198. package/src/lib/styles/components/_hero.scss +207 -0
  199. package/src/lib/styles/components/_histogram-range.scss +36 -0
  200. package/src/lib/styles/components/_image-viewer-tools.scss +225 -0
  201. package/src/lib/styles/components/_image-viewer.scss +173 -0
  202. package/src/lib/styles/components/_inner-title.scss +161 -0
  203. package/src/lib/styles/components/_input-checkbox.scss +50 -0
  204. package/src/lib/styles/components/_input-link.scss +78 -0
  205. package/src/lib/styles/components/_input-select.scss +25 -0
  206. package/src/lib/styles/components/_input-text.scss +53 -0
  207. package/src/lib/styles/components/_item-preview.scss +218 -0
  208. package/src/lib/styles/components/_loader.scss +54 -0
  209. package/src/lib/styles/components/_map.scss +31 -0
  210. package/src/lib/styles/components/_metadata-viewer.scss +52 -0
  211. package/src/lib/styles/components/_nav.scss +57 -0
  212. package/src/lib/styles/components/_pagination.scss +170 -0
  213. package/src/lib/styles/components/_progress-line.scss +53 -0
  214. package/src/lib/styles/components/_sidebar-header.scss +69 -0
  215. package/src/lib/styles/components/_signup.scss +157 -0
  216. package/src/lib/styles/components/_simple-autocomplete.scss +60 -0
  217. package/src/lib/styles/components/_table.scss +129 -0
  218. package/src/lib/styles/components/_tag.scss +51 -0
  219. package/src/lib/styles/components/_text-viewer.scss +446 -0
  220. package/src/lib/styles/components/_timeline.scss +29 -0
  221. package/src/lib/styles/components/_toast.scss +99 -0
  222. package/src/lib/styles/components/_tooltip-content.scss +29 -0
  223. package/src/lib/styles/components/_tree.scss +208 -0
  224. package/src/lib/styles/components/_wizard.scss +150 -0
  225. package/src/lib/styles/generic/_color_scheme.scss +27 -0
  226. package/src/lib/styles/generic/_mixins.scss +81 -0
  227. package/src/lib/styles/generic/_variables.scss +385 -0
  228. package/src/lib/styles/global/_forms.scss +122 -0
  229. package/src/lib/styles/global/_global.scss +46 -0
  230. package/src/lib/styles/global/_normalize.scss +433 -0
  231. package/src/lib/styles/global/_typography.scss +88 -0
  232. 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,2 @@
1
+ import { AdvancedAutocompleteData } from './advanced-autocomplete';
2
+ export declare const ADVANCED_AUTOCOMPLETE_MOCK: AdvancedAutocompleteData;
@@ -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,2 @@
1
+ import { AlertData } from './alert';
2
+ export declare const ALERT_MOCK: AlertData;
@@ -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,2 @@
1
+ import { BreadcrumbsData } from './breadcrumbs';
2
+ export declare const BREADCRUMBS_MOCK: BreadcrumbsData;
@@ -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,2 @@
1
+ import { BubbleChartData } from './bubble-chart';
2
+ export declare const BUBBLECHART_MOCK: BubbleChartData;
@@ -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,2 @@
1
+ import { CarouselData } from './carousel';
2
+ export declare const CAROUSEL_MOCK: CarouselData;
@@ -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,2 @@
1
+ import { ChartData } from './chart';
2
+ export declare const CHART_MOCK: ChartData;
@@ -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,2 @@
1
+ import { ContentPlaceholderData } from './content-placeholder';
2
+ export declare const CONTENT_PLACEHOLDER_MOCK: ContentPlaceholderData;
@@ -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,2 @@
1
+ import { DataWidgetData } from './data-widget';
2
+ export declare const DATA_WIDGET_MOCK: DataWidgetData;
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ import { DatePickerData } from './datepicker';
2
+ export declare const DATEPICKER_MOCK: DatePickerData;