@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,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,2 @@
1
+ import { InputTextData } from './input-text';
2
+ export declare const INPUT_TEXT_MOCK: InputTextData;
@@ -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,2 @@
1
+ import { ItemPreviewData } from './item-preview';
2
+ export declare const ITEM_PREVIEW_MOCK: ItemPreviewData;
@@ -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,2 @@
1
+ import { LoaderData } from './loader';
2
+ export declare const LOADER_MOCK: LoaderData;
@@ -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,2 @@
1
+ import { MapData } from './map';
2
+ export declare const MAP_MOCK: MapData;
@@ -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,8 @@
1
+ import { MetadataViewerData } from './metadata-viewer';
2
+ /**
3
+ * Mock Codebase
4
+ */
5
+ export declare const METADATA_VIEWER_MOCK: MetadataViewerData;
6
+ /**
7
+ * Mock Arianna Web
8
+ */
@@ -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,2 @@
1
+ import { NavData } from './nav';
2
+ export declare const NAV_MOCK: NavData;
@@ -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,2 @@
1
+ import { PaginationData } from './pagination';
2
+ export declare const PAGINATION_MOCK: PaginationData;
@@ -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,2 @@
1
+ import { ProgressLineData } from './progress-line';
2
+ export declare const PROGRESS_LINE_MOCK: ProgressLineData;
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ import { SidebarHeaderData } from './sidebar-header';
2
+ export declare const SIDEBAR_HEADER_MOCK: SidebarHeaderData;