valtech-components 1.8.0 → 1.8.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 (65) hide show
  1. package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +31 -0
  2. package/esm2022/lib/components/atoms/button/button.component.mjs +26 -0
  3. package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
  4. package/esm2022/lib/components/atoms/button/types.mjs +2 -0
  5. package/esm2022/lib/components/atoms/display/display.component.mjs +20 -0
  6. package/esm2022/lib/components/atoms/divider/divider.component.mjs +20 -0
  7. package/esm2022/lib/components/atoms/text/text.component.mjs +24 -0
  8. package/esm2022/lib/components/atoms/title/title.component.mjs +20 -0
  9. package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +27 -0
  10. package/esm2022/lib/components/molecules/link/link.component.mjs +27 -0
  11. package/esm2022/lib/components/types.mjs +5 -0
  12. package/esm2022/lib/valtech-components.module.mjs +59 -0
  13. package/esm2022/public-api.mjs +16 -0
  14. package/esm2022/valtech-components.mjs +5 -0
  15. package/fesm2022/valtech-components.mjs +454 -0
  16. package/fesm2022/valtech-components.mjs.map +1 -0
  17. package/index.d.ts +5 -0
  18. package/lib/components/atoms/avatar/avatar.component.d.ts +14 -0
  19. package/lib/components/atoms/button/button.component.d.ts +17 -0
  20. package/lib/components/atoms/button/factory.d.ts +71 -0
  21. package/lib/components/atoms/button/types.d.ts +20 -0
  22. package/lib/components/atoms/display/display.component.d.ts +12 -0
  23. package/lib/components/atoms/divider/divider.component.d.ts +11 -0
  24. package/lib/components/atoms/text/text.component.d.ts +13 -0
  25. package/lib/components/atoms/title/title.component.d.ts +12 -0
  26. package/lib/components/molecules/content-loader/content-loader.component.d.ts +13 -0
  27. package/lib/components/molecules/link/link.component.d.ts +14 -0
  28. package/lib/components/types.d.ts +6 -0
  29. package/lib/valtech-components.module.d.ts +17 -0
  30. package/package.json +15 -14
  31. package/{src/public-api.ts → public-api.d.ts} +0 -8
  32. package/.nvmrc +0 -1
  33. package/.releaserc +0 -12
  34. package/ng-package.json +0 -11
  35. package/src/lib/components/atoms/avatar/avatar.component.html +0 -3
  36. package/src/lib/components/atoms/avatar/avatar.component.scss +0 -20
  37. package/src/lib/components/atoms/avatar/avatar.component.ts +0 -28
  38. package/src/lib/components/atoms/button/button.component.html +0 -16
  39. package/src/lib/components/atoms/button/button.component.scss +0 -5
  40. package/src/lib/components/atoms/button/button.component.ts +0 -26
  41. package/src/lib/components/atoms/button/factory.ts +0 -378
  42. package/src/lib/components/atoms/button/types.ts +0 -22
  43. package/src/lib/components/atoms/display/display.component.html +0 -5
  44. package/src/lib/components/atoms/display/display.component.scss +0 -17
  45. package/src/lib/components/atoms/display/display.component.ts +0 -20
  46. package/src/lib/components/atoms/divider/divider.component.html +0 -1
  47. package/src/lib/components/atoms/divider/divider.component.scss +0 -54
  48. package/src/lib/components/atoms/divider/divider.component.ts +0 -19
  49. package/src/lib/components/atoms/text/text.component.html +0 -5
  50. package/src/lib/components/atoms/text/text.component.scss +0 -33
  51. package/src/lib/components/atoms/text/text.component.ts +0 -22
  52. package/src/lib/components/atoms/title/title.component.html +0 -5
  53. package/src/lib/components/atoms/title/title.component.scss +0 -13
  54. package/src/lib/components/atoms/title/title.component.ts +0 -20
  55. package/src/lib/components/molecules/content-loader/content-loader.component.html +0 -6
  56. package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
  57. package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -22
  58. package/src/lib/components/molecules/link/link.component.html +0 -6
  59. package/src/lib/components/molecules/link/link.component.scss +0 -5
  60. package/src/lib/components/molecules/link/link.component.ts +0 -27
  61. package/src/lib/components/types.ts +0 -5
  62. package/src/lib/valtech-components.module.ts +0 -37
  63. package/tsconfig.lib.json +0 -14
  64. package/tsconfig.lib.prod.json +0 -10
  65. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Public API Surface of valtech-components
3
+ */
4
+ export * from './lib/components/atoms/button/button.component';
5
+ export * from './lib/components/atoms/button/types';
6
+ export * from './lib/components/atoms/button/factory';
7
+ export * from './lib/components/atoms/text/text.component';
8
+ export * from './lib/components/atoms/title/title.component';
9
+ export * from './lib/components/atoms/display/display.component';
10
+ export * from './lib/components/atoms/avatar/avatar.component';
11
+ export * from './lib/components/atoms/divider/divider.component';
12
+ export * from './lib/components/molecules/content-loader/content-loader.component';
13
+ export * from './lib/components/molecules/link/link.component';
14
+ export * from './lib/components/types';
15
+ export * from './lib/valtech-components.module';
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsZ0RBQWdELENBQUM7QUFDL0QsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsNENBQTRDLENBQUM7QUFDM0QsY0FBYyw4Q0FBOEMsQ0FBQztBQUM3RCxjQUFjLGtEQUFrRCxDQUFDO0FBQ2pFLGNBQWMsZ0RBQWdELENBQUM7QUFDL0QsY0FBYyxrREFBa0QsQ0FBQztBQUVqRSxjQUFjLG9FQUFvRSxDQUFDO0FBQ25GLGNBQWMsZ0RBQWdELENBQUM7QUFFL0QsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiB2YWx0ZWNoLWNvbXBvbmVudHNcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL2F0b21zL2J1dHRvbi9idXR0b24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvYXRvbXMvYnV0dG9uL3R5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvYXRvbXMvYnV0dG9uL2ZhY3RvcnknO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9hdG9tcy90ZXh0L3RleHQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvYXRvbXMvdGl0bGUvdGl0bGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvYXRvbXMvZGlzcGxheS9kaXNwbGF5LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL2F0b21zL2F2YXRhci9hdmF0YXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvYXRvbXMvZGl2aWRlci9kaXZpZGVyLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvbW9sZWN1bGVzL2NvbnRlbnQtbG9hZGVyL2NvbnRlbnQtbG9hZGVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL21vbGVjdWxlcy9saW5rL2xpbmsuY29tcG9uZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy90eXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi92YWx0ZWNoLWNvbXBvbmVudHMubW9kdWxlJztcblxuXG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGVjaC1jb21wb25lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvdmFsdGVjaC1jb21wb25lbnRzL3NyYy92YWx0ZWNoLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,454 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i1$1 from '@ionic/angular';
6
+ import { IonicModule } from '@ionic/angular';
7
+ import { HttpClientModule } from '@angular/common/http';
8
+
9
+ const ENABLED = 'ENABLED';
10
+ const DISABLED = 'DISABLED';
11
+ const WORKING = 'WORKING';
12
+ const ComponentStates = { ENABLED, DISABLED, WORKING };
13
+
14
+ class ButtonComponent {
15
+ constructor() {
16
+ this.states = ComponentStates;
17
+ this.onClick = new EventEmitter();
18
+ }
19
+ ngOnInit() { }
20
+ clickHandler() {
21
+ this.onClick.emit();
22
+ }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ButtonComponent, selector: "val-button", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1$1.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, decorators: [{
27
+ type: Component,
28
+ args: [{ selector: 'val-button', template: "<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"] }]
29
+ }], ctorParameters: () => [], propDecorators: { props: [{
30
+ type: Input
31
+ }], onClick: [{
32
+ type: Output
33
+ }] } });
34
+
35
+ const Icon = (name, slot) => {
36
+ return {
37
+ name,
38
+ slot,
39
+ };
40
+ };
41
+ /* name convention: COLOR FILL SIZE [optionals: SHAPE EXPAND ICON HREF/DOWNLOAD] TYPE */
42
+ const BaseDefault = (text, type) => {
43
+ return {
44
+ color: 'primary',
45
+ state: 'ENABLED',
46
+ text,
47
+ size: 'default',
48
+ type,
49
+ };
50
+ };
51
+ const ClearDefault = (text, type) => {
52
+ return { ...BaseDefault(text, type), fill: 'clear' };
53
+ };
54
+ const ClearDefaultRound = (text, type) => {
55
+ return { ...ClearDefault(text, type), shape: 'round' };
56
+ };
57
+ const SolidDefault = (text, type) => {
58
+ return { ...BaseDefault(text, type), fill: 'solid' };
59
+ };
60
+ const SolidDefaultRound = (text, type) => {
61
+ return { ...SolidDefault(text, type), shape: 'round' };
62
+ };
63
+ const OutlineDefault = (text, type) => {
64
+ return { ...BaseDefault(text, type), fill: 'outline' };
65
+ };
66
+ const OutlineDefaultRound = (text, type) => {
67
+ return { ...OutlineDefault(text, type), shape: 'round' };
68
+ };
69
+ const ClearDefaultFull = (text, type) => {
70
+ return { ...ClearDefault(text, type), expand: 'full' };
71
+ };
72
+ const ClearDefaultRoundFull = (text, type) => {
73
+ return { ...ClearDefaultRound(text, type), expand: 'full' };
74
+ };
75
+ const ClearDefaultBlock = (text, type) => {
76
+ return { ...ClearDefault(text, type), expand: 'block' };
77
+ };
78
+ const ClearDefaultRoundBlock = (text, type) => {
79
+ return { ...ClearDefaultRound(text, type), expand: 'block' };
80
+ };
81
+ const SolidDefaultFull = (text, type) => {
82
+ return { ...SolidDefault(text, type), expand: 'full' };
83
+ };
84
+ const SolidDefaultRoundFull = (text, type) => {
85
+ return { ...SolidDefaultRound(text, type), expand: 'full' };
86
+ };
87
+ const SolidDefaultBlock = (text, type) => {
88
+ return { ...SolidDefault(text, type), expand: 'block' };
89
+ };
90
+ const SolidDefaultRoundBlock = (text, type) => {
91
+ return { ...SolidDefaultRound(text, type), expand: 'block' };
92
+ };
93
+ const OutlineDefaultFull = (text, type) => {
94
+ return { ...OutlineDefault(text, type), expand: 'full' };
95
+ };
96
+ const OutlineDefaultRoundFull = (text, type) => {
97
+ return { ...OutlineDefaultRound(text, type), expand: 'full' };
98
+ };
99
+ const OutlineDefaultBlock = (text, type) => {
100
+ return { ...OutlineDefault(text, type), expand: 'block' };
101
+ };
102
+ const OutlineDefaultRoundBlock = (text, type) => {
103
+ return { ...OutlineDefaultRound(text, type), expand: 'block' };
104
+ };
105
+ const SolidDefaultButton = (text) => {
106
+ return SolidDefault(text, 'button');
107
+ };
108
+ const SolidSmallButton = (text) => {
109
+ return { ...SolidDefault(text, 'button'), size: 'small' };
110
+ };
111
+ const SolidLargeButton = (text) => {
112
+ return { ...SolidDefault(text, 'button'), size: 'large' };
113
+ };
114
+ const SolidDefaultRoundButton = (text) => {
115
+ return SolidDefaultRound(text, 'button');
116
+ };
117
+ const SolidSmallRoundButton = (text) => {
118
+ return { ...SolidDefaultRound(text, 'button'), size: 'small' };
119
+ };
120
+ const SolidLargeRoundButton = (text) => {
121
+ return { ...SolidDefaultRound(text, 'button'), size: 'large' };
122
+ };
123
+ const SolidFullButton = (text) => {
124
+ return SolidDefaultFull(text, 'button');
125
+ };
126
+ const SolidBlockButton = (text) => {
127
+ return SolidDefaultBlock(text, 'button');
128
+ };
129
+ /** PRIMARY */
130
+ const PrimarySolidDefaultRoundButton = (text) => {
131
+ return { ...SolidDefaultRoundButton(text), color: 'primary' };
132
+ };
133
+ const PrimarySolidDefaultRoundIconButton = (text, icon) => {
134
+ return { ...PrimarySolidDefaultRoundButton(text), icon };
135
+ };
136
+ const PrimarySolidDefaultRoundHrefButton = (text, href, target) => {
137
+ return { ...PrimarySolidDefaultRoundButton(text), href, target };
138
+ };
139
+ const PrimarySolidDefaultRoundIconHrefButton = (text, icon, href, target) => {
140
+ return { ...PrimarySolidDefaultRoundIconButton(text, icon), href, target };
141
+ };
142
+ const PrimarySolidSmallRoundButton = (text) => {
143
+ return { ...SolidSmallRoundButton(text), color: 'primary' };
144
+ };
145
+ const PrimarySolidSmallRoundIconButton = (text, icon) => {
146
+ return { ...PrimarySolidSmallRoundButton(text), icon };
147
+ };
148
+ const PrimarySolidSmallRoundHrefButton = (text, href, target) => {
149
+ return { ...PrimarySolidSmallRoundButton(text), href, target };
150
+ };
151
+ const PrimarySolidSmallRoundIconHrefButton = (text, icon, href, target) => {
152
+ return { ...PrimarySolidSmallRoundIconButton(text, icon), href, target };
153
+ };
154
+ const PrimarySolidLargeRoundButton = (text) => {
155
+ return { ...SolidLargeRoundButton(text), color: 'primary' };
156
+ };
157
+ const PrimarySolidLargeRoundIconButton = (text, icon) => {
158
+ return { ...PrimarySolidLargeRoundButton(text), icon };
159
+ };
160
+ const PrimarySolidLargeRoundHrefButton = (text, href, target) => {
161
+ return { ...PrimarySolidLargeRoundButton(text), href, target };
162
+ };
163
+ const PrimarySolidLargeRoundIconHrefButton = (text, icon, href, target) => {
164
+ return { ...PrimarySolidLargeRoundIconButton(text, icon), href, target };
165
+ };
166
+ const PrimarySolidBlockButton = (text) => {
167
+ return { ...SolidBlockButton(text), color: 'primary' };
168
+ };
169
+ const PrimarySolidBlockIconButton = (text, icon) => {
170
+ return { ...PrimarySolidBlockButton(text), icon };
171
+ };
172
+ const PrimarySolidBlockHrefButton = (text, href, target) => {
173
+ return { ...PrimarySolidBlockButton(text), href, target };
174
+ };
175
+ const PrimarySolidBlockIconHrefButton = (text, icon, href, target) => {
176
+ return { ...PrimarySolidBlockIconButton(text, icon), href, target };
177
+ };
178
+ const PrimarySolidFullButton = (text) => {
179
+ return { ...SolidFullButton(text), color: 'primary' };
180
+ };
181
+ const PrimarySolidFullIconButton = (text, icon) => {
182
+ return { ...PrimarySolidFullButton(text), icon };
183
+ };
184
+ const PrimarySolidFullHrefButton = (text, href, target) => {
185
+ return { ...PrimarySolidFullButton(text), href, target };
186
+ };
187
+ const PrimarySolidFullIconHrefButton = (text, icon, href, target) => {
188
+ return { ...PrimarySolidFullIconButton(text, icon), href, target };
189
+ };
190
+ /** SECONDARY */
191
+ const SecondarySolidDefaultRoundButton = (text) => {
192
+ return { ...SolidDefaultRoundButton(text), color: 'secondary' };
193
+ };
194
+ const SecondarySolidDefaultRoundIconButton = (text, icon) => {
195
+ return { ...SecondarySolidDefaultRoundButton(text), icon };
196
+ };
197
+ const SecondarySolidDefaultRoundHrefButton = (text, href, target) => {
198
+ return { ...SecondarySolidDefaultRoundButton(text), href, target };
199
+ };
200
+ const SecondarySolidDefaultRoundIconHrefButton = (text, icon, href, target) => {
201
+ return { ...SecondarySolidDefaultRoundIconButton(text, icon), href, target };
202
+ };
203
+ const SecondarySolidSmallRoundButton = (text) => {
204
+ return { ...SolidSmallRoundButton(text), color: 'secondary' };
205
+ };
206
+ const SecondarySolidSmallRoundIconButton = (text, icon) => {
207
+ return { ...SecondarySolidSmallRoundButton(text), icon };
208
+ };
209
+ const SecondarySolidSmallRoundHrefButton = (text, href, target) => {
210
+ return { ...SecondarySolidSmallRoundButton(text), href, target };
211
+ };
212
+ const SecondarySolidSmallRoundIconHrefButton = (text, icon, href, target) => {
213
+ return { ...SecondarySolidSmallRoundIconButton(text, icon), href, target };
214
+ };
215
+ const SecondarySolidLargeRoundButton = (text) => {
216
+ return { ...SolidLargeRoundButton(text), color: 'secondary' };
217
+ };
218
+ const SecondarySolidLargeRoundIconButton = (text, icon) => {
219
+ return { ...SecondarySolidLargeRoundButton(text), icon };
220
+ };
221
+ const SecondarySolidLargeRoundHrefButton = (text, href, target) => {
222
+ return { ...SecondarySolidLargeRoundButton(text), href, target };
223
+ };
224
+ const SecondarySolidLargeRoundIconHrefButton = (text, icon, href, target) => {
225
+ return { ...SecondarySolidLargeRoundIconButton(text, icon), href, target };
226
+ };
227
+ const SecondarySolidFullButton = (text) => {
228
+ return { ...SolidFullButton(text), color: 'secondary' };
229
+ };
230
+ const SecondarySolidFullIconButton = (text, icon) => {
231
+ return { ...SecondarySolidFullButton(text), icon };
232
+ };
233
+ const SecondarySolidFullHrefButton = (text, href, target) => {
234
+ return { ...SecondarySolidFullButton(text), href, target };
235
+ };
236
+ const SecondarySolidFullIconHrefButton = (text, icon, href, target) => {
237
+ return { ...SecondarySolidFullIconButton(text, icon), href, target };
238
+ };
239
+ const SecondarySolidBlockButton = (text) => {
240
+ return { ...SolidBlockButton(text), color: 'secondary' };
241
+ };
242
+ const SecondarySolidBlockIconButton = (text, icon) => {
243
+ return { ...SecondarySolidBlockButton(text), icon };
244
+ };
245
+ const SecondarySolidBlockHrefButton = (text, href, target) => {
246
+ return { ...SecondarySolidBlockButton(text), href, target };
247
+ };
248
+ const SecondarySolidBlockIconHrefButton = (text, icon, href, target) => {
249
+ return { ...SecondarySolidBlockIconButton(text, icon), href, target };
250
+ };
251
+
252
+ class TextComponent {
253
+ constructor() {
254
+ this.bold = false;
255
+ }
256
+ ngOnInit() { }
257
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
258
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: TextComponent, selector: "val-text", inputs: { size: "size", color: "color", content: "content", bold: "bold" }, ngImport: i0, template: "<ion-text [color]=\"color\">\n <p [class]=\"size\" [class.bold]=\"bold\">\n {{ content }}\n </p>\n</ion-text>\n", styles: [".small{font-size:.75rem;line-height:1.25rem;font-weight:400}.small.bold{font-size:.75rem;line-height:1.25rem;font-weight:700}.medium{font-size:.875rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.medium{font-size:1rem;line-height:1.5rem}}.medium.bold{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium.bold{font-size:1rem;line-height:1.5rem}}.large{font-size:1rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.large{font-size:1.125rem;line-height:1.5rem}}.large.bold{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large.bold{font-size:1.125rem;line-height:1.5rem}}.xlarge{font-size:1.125rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.xlarge{font-size:1.5rem;line-height:2rem}}.xlarge.bold{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.xlarge.bold{font-size:1.5rem;line-height:2rem}}\n"], dependencies: [{ kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
259
+ }
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TextComponent, decorators: [{
261
+ type: Component,
262
+ args: [{ selector: 'val-text', template: "<ion-text [color]=\"color\">\n <p [class]=\"size\" [class.bold]=\"bold\">\n {{ content }}\n </p>\n</ion-text>\n", styles: [".small{font-size:.75rem;line-height:1.25rem;font-weight:400}.small.bold{font-size:.75rem;line-height:1.25rem;font-weight:700}.medium{font-size:.875rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.medium{font-size:1rem;line-height:1.5rem}}.medium.bold{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium.bold{font-size:1rem;line-height:1.5rem}}.large{font-size:1rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.large{font-size:1.125rem;line-height:1.5rem}}.large.bold{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large.bold{font-size:1.125rem;line-height:1.5rem}}.xlarge{font-size:1.125rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.xlarge{font-size:1.5rem;line-height:2rem}}.xlarge.bold{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.xlarge.bold{font-size:1.5rem;line-height:2rem}}\n"] }]
263
+ }], ctorParameters: () => [], propDecorators: { size: [{
264
+ type: Input
265
+ }], color: [{
266
+ type: Input
267
+ }], content: [{
268
+ type: Input
269
+ }], bold: [{
270
+ type: Input
271
+ }] } });
272
+
273
+ class TitleComponent {
274
+ constructor() { }
275
+ ngOnInit() { }
276
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
277
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: TitleComponent, selector: "val-title", inputs: { size: "size", color: "color", content: "content" }, ngImport: i0, template: "<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n", styles: [".small{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.small{font-size:1rem;line-height:1.5rem}}.medium{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium{font-size:1.125rem;line-height:1.5rem}}.large{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large{font-size:1.5rem;line-height:2rem}}\n"], dependencies: [{ kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
278
+ }
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleComponent, decorators: [{
280
+ type: Component,
281
+ args: [{ selector: 'val-title', template: "<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n", styles: [".small{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.small{font-size:1rem;line-height:1.5rem}}.medium{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium{font-size:1.125rem;line-height:1.5rem}}.large{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large{font-size:1.5rem;line-height:2rem}}\n"] }]
282
+ }], ctorParameters: () => [], propDecorators: { size: [{
283
+ type: Input
284
+ }], color: [{
285
+ type: Input
286
+ }], content: [{
287
+ type: Input
288
+ }] } });
289
+
290
+ class DisplayComponent {
291
+ constructor() { }
292
+ ngOnInit() { }
293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
294
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: DisplayComponent, selector: "val-display", inputs: { size: "size", color: "color", content: "content" }, ngImport: i0, template: "<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n", styles: [".small{font-size:1.5rem;line-height:2rem;font-weight:800}@media (min-width: 768px){.small{font-size:2rem;line-height:2.5rem}}.medium{font-size:2rem;line-height:2.5rem;font-weight:800}@media (min-width: 768px){.medium{font-size:2.5rem;line-height:3rem}}.large{font-size:2.5rem;line-height:3rem;font-weight:800}@media (min-width: 768px){.large{font-size:3rem;line-height:3.5rem}}.xlarge{font-size:3rem;line-height:3.5rem;font-weight:800}@media (min-width: 768px){.xlarge{font-size:3.5rem;line-height:4rem}}\n"], dependencies: [{ kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
295
+ }
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DisplayComponent, decorators: [{
297
+ type: Component,
298
+ args: [{ selector: 'val-display', template: "<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n", styles: [".small{font-size:1.5rem;line-height:2rem;font-weight:800}@media (min-width: 768px){.small{font-size:2rem;line-height:2.5rem}}.medium{font-size:2rem;line-height:2.5rem;font-weight:800}@media (min-width: 768px){.medium{font-size:2.5rem;line-height:3rem}}.large{font-size:2.5rem;line-height:3rem;font-weight:800}@media (min-width: 768px){.large{font-size:3rem;line-height:3.5rem}}.xlarge{font-size:3rem;line-height:3.5rem;font-weight:800}@media (min-width: 768px){.xlarge{font-size:3.5rem;line-height:4rem}}\n"] }]
299
+ }], ctorParameters: () => [], propDecorators: { size: [{
300
+ type: Input
301
+ }], color: [{
302
+ type: Input
303
+ }], content: [{
304
+ type: Input
305
+ }] } });
306
+
307
+ class AvatarComponent {
308
+ constructor() {
309
+ this.size = 'medium';
310
+ this.box = false;
311
+ this.onClick = new EventEmitter();
312
+ }
313
+ ngOnInit() { }
314
+ onClickHandler() {
315
+ this.onClick.emit();
316
+ }
317
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
318
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: AvatarComponent, selector: "val-avatar", inputs: { image: "image", default: "default", size: "size", box: "box" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n", styles: [".box{--border-radius: pxToRem(4)}.small{width:1.5rem;height:1.5rem}.medium{width:2.375rem;height:2.375rem}.large{width:3rem;height:3rem}\n"], dependencies: [{ kind: "component", type: i1$1.IonAvatar, selector: "ion-avatar" }] }); }
319
+ }
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AvatarComponent, decorators: [{
321
+ type: Component,
322
+ args: [{ selector: 'val-avatar', template: "<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n", styles: [".box{--border-radius: pxToRem(4)}.small{width:1.5rem;height:1.5rem}.medium{width:2.375rem;height:2.375rem}.large{width:3rem;height:3rem}\n"] }]
323
+ }], ctorParameters: () => [], propDecorators: { image: [{
324
+ type: Input
325
+ }], default: [{
326
+ type: Input
327
+ }], size: [{
328
+ type: Input
329
+ }], box: [{
330
+ type: Input
331
+ }], onClick: [{
332
+ type: Output
333
+ }] } });
334
+
335
+ class DividerComponent {
336
+ constructor() { }
337
+ ngOnInit() { }
338
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
339
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: DividerComponent, selector: "val-divider", inputs: { size: "size", color: "color", fill: "fill" }, ngImport: i0, template: "<div [ngClass]=\"['divider', size, color, fill]\"></div>\n", styles: [".solid{border-top:.0625rem solid #878ca0}.gradient{height:.125rem}.gradient.primary{background:linear-gradient(to right,var(--ion-color-primary),var(--ion-color-light))}.gradient.secondary{background:linear-gradient(to right,var(--ion-color-secondary),var(--ion-color-light))}.gradient.dark{background:linear-gradient(to right,var(--ion-color-dark),var(--ion-color-light))}.gradient.light{background:linear-gradient(to right,var(--ion-color-light),#ffffff)}.small{margin:1rem}.medium{margin:1.5rem 1rem}.large{margin:2.25rem 1rem}.primary{border-color:var(--ion-color-primary)}.secondary{border-color:var(--ion-color-secondary)}.dark{border-color:var(--ion-color-dark)}.light{border-color:var(--ion-color-light)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
340
+ }
341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DividerComponent, decorators: [{
342
+ type: Component,
343
+ args: [{ selector: 'val-divider', template: "<div [ngClass]=\"['divider', size, color, fill]\"></div>\n", styles: [".solid{border-top:.0625rem solid #878ca0}.gradient{height:.125rem}.gradient.primary{background:linear-gradient(to right,var(--ion-color-primary),var(--ion-color-light))}.gradient.secondary{background:linear-gradient(to right,var(--ion-color-secondary),var(--ion-color-light))}.gradient.dark{background:linear-gradient(to right,var(--ion-color-dark),var(--ion-color-light))}.gradient.light{background:linear-gradient(to right,var(--ion-color-light),#ffffff)}.small{margin:1rem}.medium{margin:1.5rem 1rem}.large{margin:2.25rem 1rem}.primary{border-color:var(--ion-color-primary)}.secondary{border-color:var(--ion-color-secondary)}.dark{border-color:var(--ion-color-dark)}.light{border-color:var(--ion-color-light)}\n"] }]
344
+ }], ctorParameters: () => [], propDecorators: { size: [{
345
+ type: Input
346
+ }], color: [{
347
+ type: Input
348
+ }], fill: [{
349
+ type: Input
350
+ }] } });
351
+
352
+ class ContentLoaderComponent {
353
+ constructor() {
354
+ this.color = 'primary';
355
+ this.size = 'small';
356
+ this.name = 'circular';
357
+ }
358
+ ngOnInit() { }
359
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ContentLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
360
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ContentLoaderComponent, selector: "val-content-loader", inputs: { color: "color", size: "size", name: "name", text: "text" }, ngImport: i0, template: "<div [ngClass]=\"['spinner-wrapper', size]\">\n <ion-spinner [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-spinner>\n <ion-text [color]=\"color\">\n <p>{{ text }}</p>\n </ion-text>\n</div>\n", styles: [".small{width:1.5rem;height:1.5rem}.medium{width:2.375rem;height:2.375rem}.large{width:3rem;height:3rem}.spinner-wrapper{width:100%;text-align:center}.spinner-wrapper.small{height:4.5rem;padding-top:1.5rem;font-size:.75rem;line-height:1.25rem;font-weight:400}.spinner-wrapper.medium{height:6.125rem;padding-top:2rem;font-size:.875rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.spinner-wrapper.medium{font-size:1rem;line-height:1.5rem}}.spinner-wrapper.large{height:6.75rem;padding-top:2.625rem;font-size:1rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.spinner-wrapper.large{font-size:1.125rem;line-height:1.5rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1$1.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
361
+ }
362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ContentLoaderComponent, decorators: [{
363
+ type: Component,
364
+ args: [{ selector: 'val-content-loader', template: "<div [ngClass]=\"['spinner-wrapper', size]\">\n <ion-spinner [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-spinner>\n <ion-text [color]=\"color\">\n <p>{{ text }}</p>\n </ion-text>\n</div>\n", styles: [".small{width:1.5rem;height:1.5rem}.medium{width:2.375rem;height:2.375rem}.large{width:3rem;height:3rem}.spinner-wrapper{width:100%;text-align:center}.spinner-wrapper.small{height:4.5rem;padding-top:1.5rem;font-size:.75rem;line-height:1.25rem;font-weight:400}.spinner-wrapper.medium{height:6.125rem;padding-top:2rem;font-size:.875rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.spinner-wrapper.medium{font-size:1rem;line-height:1.5rem}}.spinner-wrapper.large{height:6.75rem;padding-top:2.625rem;font-size:1rem;line-height:1.5rem;font-weight:400}@media (min-width: 768px){.spinner-wrapper.large{font-size:1.125rem;line-height:1.5rem}}\n"] }]
365
+ }], ctorParameters: () => [], propDecorators: { color: [{
366
+ type: Input
367
+ }], size: [{
368
+ type: Input
369
+ }], name: [{
370
+ type: Input
371
+ }], text: [{
372
+ type: Input
373
+ }] } });
374
+
375
+ class LinkComponent {
376
+ constructor() {
377
+ this.onClick = new EventEmitter();
378
+ }
379
+ ngOnInit() { }
380
+ onClickHandler() {
381
+ this.onClick.emit();
382
+ }
383
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
384
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: LinkComponent, selector: "val-link", inputs: { text: "text", size: "size", color: "color" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div>\n <ion-button type=\"button\" [color]=\"color\" fill=\"clear\" [size]=\"size\" (click)=\"onClickHandler()\">\n <ion-icon slot=\"end\" name=\"chevron-forward-outline\"></ion-icon>\n <ion-text>{{ text }}</ion-text>\n </ion-button>\n</div>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"], dependencies: [{ kind: "component", type: i1$1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
385
+ }
386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LinkComponent, decorators: [{
387
+ type: Component,
388
+ args: [{ selector: 'val-link', template: "<div>\n <ion-button type=\"button\" [color]=\"color\" fill=\"clear\" [size]=\"size\" (click)=\"onClickHandler()\">\n <ion-icon slot=\"end\" name=\"chevron-forward-outline\"></ion-icon>\n <ion-text>{{ text }}</ion-text>\n </ion-button>\n</div>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"] }]
389
+ }], ctorParameters: () => [], propDecorators: { text: [{
390
+ type: Input
391
+ }], size: [{
392
+ type: Input
393
+ }], color: [{
394
+ type: Input
395
+ }], onClick: [{
396
+ type: Output
397
+ }] } });
398
+
399
+ class ValtechComponentsModule {
400
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
401
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, declarations: [ButtonComponent,
402
+ DisplayComponent,
403
+ TextComponent,
404
+ TitleComponent,
405
+ AvatarComponent,
406
+ DividerComponent,
407
+ ContentLoaderComponent,
408
+ LinkComponent], imports: [CommonModule, HttpClientModule, IonicModule], exports: [ButtonComponent,
409
+ DisplayComponent,
410
+ TextComponent,
411
+ TitleComponent,
412
+ AvatarComponent,
413
+ DividerComponent,
414
+ ContentLoaderComponent,
415
+ LinkComponent] }); }
416
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, imports: [CommonModule, HttpClientModule, IonicModule] }); }
417
+ }
418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, decorators: [{
419
+ type: NgModule,
420
+ args: [{
421
+ declarations: [
422
+ ButtonComponent,
423
+ DisplayComponent,
424
+ TextComponent,
425
+ TitleComponent,
426
+ AvatarComponent,
427
+ DividerComponent,
428
+ ContentLoaderComponent,
429
+ LinkComponent,
430
+ ],
431
+ imports: [CommonModule, HttpClientModule, IonicModule],
432
+ exports: [
433
+ ButtonComponent,
434
+ DisplayComponent,
435
+ TextComponent,
436
+ TitleComponent,
437
+ AvatarComponent,
438
+ DividerComponent,
439
+ ContentLoaderComponent,
440
+ LinkComponent,
441
+ ],
442
+ }]
443
+ }] });
444
+
445
+ /*
446
+ * Public API Surface of valtech-components
447
+ */
448
+
449
+ /**
450
+ * Generated bundle index. Do not edit.
451
+ */
452
+
453
+ export { AvatarComponent, BaseDefault, ButtonComponent, ClearDefault, ClearDefaultBlock, ClearDefaultFull, ClearDefaultRound, ClearDefaultRoundBlock, ClearDefaultRoundFull, ComponentStates, ContentLoaderComponent, DisplayComponent, DividerComponent, Icon, LinkComponent, OutlineDefault, OutlineDefaultBlock, OutlineDefaultFull, OutlineDefaultRound, OutlineDefaultRoundBlock, OutlineDefaultRoundFull, PrimarySolidBlockButton, PrimarySolidBlockHrefButton, PrimarySolidBlockIconButton, PrimarySolidBlockIconHrefButton, PrimarySolidDefaultRoundButton, PrimarySolidDefaultRoundHrefButton, PrimarySolidDefaultRoundIconButton, PrimarySolidDefaultRoundIconHrefButton, PrimarySolidFullButton, PrimarySolidFullHrefButton, PrimarySolidFullIconButton, PrimarySolidFullIconHrefButton, PrimarySolidLargeRoundButton, PrimarySolidLargeRoundHrefButton, PrimarySolidLargeRoundIconButton, PrimarySolidLargeRoundIconHrefButton, PrimarySolidSmallRoundButton, PrimarySolidSmallRoundHrefButton, PrimarySolidSmallRoundIconButton, PrimarySolidSmallRoundIconHrefButton, SecondarySolidBlockButton, SecondarySolidBlockHrefButton, SecondarySolidBlockIconButton, SecondarySolidBlockIconHrefButton, SecondarySolidDefaultRoundButton, SecondarySolidDefaultRoundHrefButton, SecondarySolidDefaultRoundIconButton, SecondarySolidDefaultRoundIconHrefButton, SecondarySolidFullButton, SecondarySolidFullHrefButton, SecondarySolidFullIconButton, SecondarySolidFullIconHrefButton, SecondarySolidLargeRoundButton, SecondarySolidLargeRoundHrefButton, SecondarySolidLargeRoundIconButton, SecondarySolidLargeRoundIconHrefButton, SecondarySolidSmallRoundButton, SecondarySolidSmallRoundHrefButton, SecondarySolidSmallRoundIconButton, SecondarySolidSmallRoundIconHrefButton, SolidBlockButton, SolidDefault, SolidDefaultBlock, SolidDefaultButton, SolidDefaultFull, SolidDefaultRound, SolidDefaultRoundBlock, SolidDefaultRoundButton, SolidDefaultRoundFull, SolidFullButton, SolidLargeButton, SolidLargeRoundButton, SolidSmallButton, SolidSmallRoundButton, TextComponent, TitleComponent, ValtechComponentsModule };
454
+ //# sourceMappingURL=valtech-components.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valtech-components.mjs","sources":["../../../projects/valtech-components/src/lib/components/types.ts","../../../projects/valtech-components/src/lib/components/atoms/button/button.component.ts","../../../projects/valtech-components/src/lib/components/atoms/button/button.component.html","../../../projects/valtech-components/src/lib/components/atoms/button/factory.ts","../../../projects/valtech-components/src/lib/components/atoms/text/text.component.ts","../../../projects/valtech-components/src/lib/components/atoms/text/text.component.html","../../../projects/valtech-components/src/lib/components/atoms/title/title.component.ts","../../../projects/valtech-components/src/lib/components/atoms/title/title.component.html","../../../projects/valtech-components/src/lib/components/atoms/display/display.component.ts","../../../projects/valtech-components/src/lib/components/atoms/display/display.component.html","../../../projects/valtech-components/src/lib/components/atoms/avatar/avatar.component.ts","../../../projects/valtech-components/src/lib/components/atoms/avatar/avatar.component.html","../../../projects/valtech-components/src/lib/components/atoms/divider/divider.component.ts","../../../projects/valtech-components/src/lib/components/atoms/divider/divider.component.html","../../../projects/valtech-components/src/lib/components/molecules/content-loader/content-loader.component.ts","../../../projects/valtech-components/src/lib/components/molecules/content-loader/content-loader.component.html","../../../projects/valtech-components/src/lib/components/molecules/link/link.component.ts","../../../projects/valtech-components/src/lib/components/molecules/link/link.component.html","../../../projects/valtech-components/src/lib/valtech-components.module.ts","../../../projects/valtech-components/src/public-api.ts","../../../projects/valtech-components/src/valtech-components.ts"],"sourcesContent":["export type ComponentState = 'ENABLED' | 'DISABLED' | 'WORKING';\nconst ENABLED: ComponentState = 'ENABLED';\nconst DISABLED: ComponentState = 'DISABLED';\nconst WORKING: ComponentState = 'WORKING';\nexport const ComponentStates = { ENABLED, DISABLED, WORKING };\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { ButtonMetadata } from './types';\nimport { ComponentStates } from '../../types';\n\n@Component({\n selector: 'val-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n})\nexport class ButtonComponent implements OnInit {\n states = ComponentStates;\n\n @Input()\n props!: ButtonMetadata;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n clickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n","import { ButtonMetadata, IconMetada } from './types';\n\nexport const Icon = (name: string, slot: 'start' | 'end'): IconMetada => {\n return {\n name,\n slot,\n };\n};\n\n/* name convention: COLOR FILL SIZE [optionals: SHAPE EXPAND ICON HREF/DOWNLOAD] TYPE */\n\nexport const BaseDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return {\n color: 'primary',\n state: 'ENABLED',\n text,\n size: 'default',\n type,\n };\n};\n\nexport const ClearDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'clear' };\n};\n\nexport const ClearDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), shape: 'round' };\n};\n\nexport const SolidDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'solid' };\n};\n\nexport const SolidDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), shape: 'round' };\n};\n\nexport const OutlineDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'outline' };\n};\n\nexport const OutlineDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), shape: 'round' };\n};\n\nexport const ClearDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), expand: 'full' };\n};\n\nexport const ClearDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefaultRound(text, type), expand: 'full' };\n};\n\nexport const ClearDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), expand: 'block' };\n};\n\nexport const ClearDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefaultRound(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), expand: 'full' };\n};\n\nexport const SolidDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefaultRound(text, type), expand: 'full' };\n};\n\nexport const SolidDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefaultRound(text, type), expand: 'block' };\n};\n\nexport const OutlineDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), expand: 'full' };\n};\n\nexport const OutlineDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefaultRound(text, type), expand: 'full' };\n};\n\nexport const OutlineDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), expand: 'block' };\n};\n\nexport const OutlineDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefaultRound(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultButton = (text: string): ButtonMetadata => {\n return SolidDefault(text, 'button');\n};\n\nexport const SolidSmallButton = (text: string): ButtonMetadata => {\n return { ...SolidDefault(text, 'button'), size: 'small' };\n};\n\nexport const SolidLargeButton = (text: string): ButtonMetadata => {\n return { ...SolidDefault(text, 'button'), size: 'large' };\n};\n\nexport const SolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return SolidDefaultRound(text, 'button');\n};\n\nexport const SolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRound(text, 'button'), size: 'small' };\n};\n\nexport const SolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRound(text, 'button'), size: 'large' };\n};\n\nexport const SolidFullButton = (text: string): ButtonMetadata => {\n return SolidDefaultFull(text, 'button');\n};\n\nexport const SolidBlockButton = (text: string): ButtonMetadata => {\n return SolidDefaultBlock(text, 'button');\n};\n\n/** PRIMARY */\n\nexport const PrimarySolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidDefaultRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), icon };\n};\n\nexport const PrimarySolidDefaultRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), href, target };\n};\n\nexport const PrimarySolidDefaultRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidSmallRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidSmallRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), icon };\n};\n\nexport const PrimarySolidSmallRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), href, target };\n};\n\nexport const PrimarySolidSmallRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidLargeRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidLargeRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), icon };\n};\n\nexport const PrimarySolidLargeRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), href, target };\n};\n\nexport const PrimarySolidLargeRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidBlockButton = (text: string): ButtonMetadata => {\n return { ...SolidBlockButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidBlockIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), icon };\n};\n\nexport const PrimarySolidBlockHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), href, target };\n};\n\nexport const PrimarySolidBlockIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidBlockIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidFullButton = (text: string): ButtonMetadata => {\n return { ...SolidFullButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidFullIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), icon };\n};\n\nexport const PrimarySolidFullHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), href, target };\n};\n\nexport const PrimarySolidFullIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidFullIconButton(text, icon), href, target };\n};\n\n/** SECONDARY */\n\nexport const SecondarySolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidDefaultRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), icon };\n};\n\nexport const SecondarySolidDefaultRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), href, target };\n};\n\nexport const SecondarySolidDefaultRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidSmallRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidSmallRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), icon };\n};\n\nexport const SecondarySolidSmallRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), href, target };\n};\n\nexport const SecondarySolidSmallRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidLargeRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidLargeRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), icon };\n};\n\nexport const SecondarySolidLargeRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), href, target };\n};\n\nexport const SecondarySolidLargeRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidFullButton = (text: string): ButtonMetadata => {\n return { ...SolidFullButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidFullIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), icon };\n};\n\nexport const SecondarySolidFullHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), href, target };\n};\n\nexport const SecondarySolidFullIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidFullIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidBlockButton = (text: string): ButtonMetadata => {\n return { ...SolidBlockButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidBlockIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), icon };\n};\n\nexport const SecondarySolidBlockHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), href, target };\n};\n\nexport const SecondarySolidBlockIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidBlockIconButton(text, icon), href, target };\n};\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-text',\n templateUrl: './text.component.html',\n styleUrls: ['./text.component.scss'],\n})\nexport class TextComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n @Input()\n bold: boolean = false;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\" [class.bold]=\"bold\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-title',\n templateUrl: './title.component.html',\n styleUrls: ['./title.component.scss'],\n})\nexport class TitleComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-display',\n templateUrl: './display.component.html',\n styleUrls: ['./display.component.scss'],\n})\nexport class DisplayComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'val-avatar',\n templateUrl: './avatar.component.html',\n styleUrls: ['./avatar.component.scss'],\n})\nexport class AvatarComponent implements OnInit {\n @Input()\n image: string;\n @Input()\n default: string;\n @Input()\n size: 'small' | 'medium' | 'large' = 'medium';\n @Input()\n box: boolean = false;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n onClickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'val-divider',\n templateUrl: './divider.component.html',\n styleUrls: ['./divider.component.scss'],\n})\nexport class DividerComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large';\n @Input()\n color: 'primary' | 'secondary' | 'dark' | 'light';\n @Input()\n fill: 'solid' | 'gradient';\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<div [ngClass]=\"['divider', size, color, fill]\"></div>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-content-loader',\n templateUrl: './content-loader.component.html',\n styleUrls: ['./content-loader.component.scss'],\n})\nexport class ContentLoaderComponent implements OnInit {\n @Input()\n color: Color = 'primary';\n @Input()\n size: 'small' | 'medium' | 'large' = 'small';\n @Input()\n name: 'circular' | 'crescent' | 'dots' | 'lines-sharp' = 'circular';\n @Input()\n text: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<div [ngClass]=\"['spinner-wrapper', size]\">\n <ion-spinner [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-spinner>\n <ion-text [color]=\"color\">\n <p>{{ text }}</p>\n </ion-text>\n</div>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-link',\n templateUrl: './link.component.html',\n styleUrls: ['./link.component.scss'],\n})\nexport class LinkComponent implements OnInit {\n @Input()\n text: string;\n @Input()\n size: 'small' | 'default' | 'large';\n @Input()\n color: Color;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n onClickHandler() {\n this.onClick.emit();\n }\n}\n","<div>\n <ion-button type=\"button\" [color]=\"color\" fill=\"clear\" [size]=\"size\" (click)=\"onClickHandler()\">\n <ion-icon slot=\"end\" name=\"chevron-forward-outline\"></ion-icon>\n <ion-text>{{ text }}</ion-text>\n </ion-button>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { NgModule } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { ButtonComponent } from './components/atoms/button/button.component';\nimport { DisplayComponent } from './components/atoms/display/display.component';\nimport { TextComponent } from './components/atoms/text/text.component';\nimport { TitleComponent } from './components/atoms/title/title.component';\nimport { AvatarComponent } from './components/atoms/avatar/avatar.component';\nimport { DividerComponent } from './components/atoms/divider/divider.component';\nimport { ContentLoaderComponent } from './components/molecules/content-loader/content-loader.component';\nimport { LinkComponent } from './components/molecules/link/link.component';\n\n@NgModule({\n declarations: [\n ButtonComponent,\n DisplayComponent,\n TextComponent,\n TitleComponent,\n AvatarComponent,\n DividerComponent,\n ContentLoaderComponent,\n LinkComponent,\n ],\n imports: [CommonModule, HttpClientModule, IonicModule],\n exports: [\n ButtonComponent,\n DisplayComponent,\n TextComponent,\n TitleComponent,\n AvatarComponent,\n DividerComponent,\n ContentLoaderComponent,\n LinkComponent,\n ],\n})\nexport class ValtechComponentsModule {}\n","/*\n * Public API Surface of valtech-components\n */\n\nexport * from './lib/components/atoms/button/button.component';\nexport * from './lib/components/atoms/button/types';\nexport * from './lib/components/atoms/button/factory';\nexport * from './lib/components/atoms/text/text.component';\nexport * from './lib/components/atoms/title/title.component';\nexport * from './lib/components/atoms/display/display.component';\nexport * from './lib/components/atoms/avatar/avatar.component';\nexport * from './lib/components/atoms/divider/divider.component';\n\nexport * from './lib/components/molecules/content-loader/content-loader.component';\nexport * from './lib/components/molecules/link/link.component';\n\nexport * from './lib/components/types';\nexport * from './lib/valtech-components.module';\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\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d,eAAe;YACf,gBAAgB;YAChB,sBAAsB;AACtB,YAAA,aAAa,aAEL,YAAY,EAAE,gBAAgB,EAAE,WAAW,aAEnD,eAAe;YACf,gBAAgB;YAChB,aAAa;YACb,cAAc;YACd,eAAe;YACf,gBAAgB;YAChB,sBAAsB;YACtB,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;AAGJ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAZxB,OAAA,EAAA,CAAA,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAY1C,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAvBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,cAAc;wBACd,eAAe;wBACf,gBAAgB;wBAChB,sBAAsB;wBACtB,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;AACtD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,cAAc;wBACd,eAAe;wBACf,gBAAgB;wBAChB,sBAAsB;wBACtB,aAAa;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACnCD;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="valtech-components" />
5
+ export * from './public-api';
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AvatarComponent implements OnInit {
4
+ image: string;
5
+ default: string;
6
+ size: 'small' | 'medium' | 'large';
7
+ box: boolean;
8
+ onClick: EventEmitter<any>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ onClickHandler(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "val-avatar", never, { "image": { "alias": "image"; "required": false; }; "default": { "alias": "default"; "required": false; }; "size": { "alias": "size"; "required": false; }; "box": { "alias": "box"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
14
+ }