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