valtech-components 0.0.11 → 1.0.0

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 (62) hide show
  1. package/.nvmrc +1 -0
  2. package/ng-package.json +11 -0
  3. package/package.json +23 -15
  4. package/src/lib/components/atoms/avatar/avatar.component.html +3 -0
  5. package/src/lib/components/atoms/avatar/avatar.component.scss +20 -0
  6. package/src/lib/components/atoms/avatar/avatar.component.ts +28 -0
  7. package/src/lib/components/atoms/button/button.component.html +17 -0
  8. package/src/lib/components/atoms/button/button.component.scss +5 -0
  9. package/src/lib/components/atoms/button/button.component.ts +26 -0
  10. package/src/lib/components/atoms/button/factory.ts +378 -0
  11. package/src/lib/components/atoms/button/types.ts +22 -0
  12. package/src/lib/components/atoms/display/display.component.html +5 -0
  13. package/src/lib/components/atoms/display/display.component.scss +17 -0
  14. package/src/lib/components/atoms/display/display.component.ts +20 -0
  15. package/src/lib/components/atoms/divider/divider.component.html +1 -0
  16. package/src/lib/components/atoms/divider/divider.component.scss +54 -0
  17. package/src/lib/components/atoms/divider/divider.component.ts +19 -0
  18. package/src/lib/components/atoms/text/text.component.html +5 -0
  19. package/src/lib/components/atoms/text/text.component.scss +33 -0
  20. package/src/lib/components/atoms/text/text.component.ts +22 -0
  21. package/src/lib/components/atoms/title/title.component.html +5 -0
  22. package/src/lib/components/atoms/title/title.component.scss +13 -0
  23. package/src/lib/components/atoms/title/title.component.ts +20 -0
  24. package/src/lib/components/molecules/content-loader/content-loader.component.html +6 -0
  25. package/src/lib/components/molecules/content-loader/content-loader.component.scss +42 -0
  26. package/src/lib/components/molecules/content-loader/content-loader.component.ts +22 -0
  27. package/src/lib/components/molecules/link/link.component.html +12 -0
  28. package/src/lib/components/molecules/link/link.component.scss +5 -0
  29. package/src/lib/components/molecules/link/link.component.ts +27 -0
  30. package/src/lib/components/styles/mixins.scss +10 -16
  31. package/src/lib/components/styles/overrides.scss +73 -69
  32. package/src/lib/components/styles/typography.scss +5 -11
  33. package/src/lib/components/styles/variables.scss +4 -4
  34. package/src/lib/components/types.ts +5 -0
  35. package/src/lib/valtech-components.module.ts +37 -0
  36. package/{public-api.d.ts → src/public-api.ts} +12 -1
  37. package/tsconfig.lib.json +14 -0
  38. package/tsconfig.lib.prod.json +10 -0
  39. package/tsconfig.spec.json +14 -0
  40. package/esm2022/lib/components/atoms/button/button.component.mjs +0 -27
  41. package/esm2022/lib/components/atoms/button/factory.mjs +0 -217
  42. package/esm2022/lib/components/atoms/button/types.mjs +0 -2
  43. package/esm2022/lib/components/atoms/display/display.component.mjs +0 -20
  44. package/esm2022/lib/components/atoms/text/text.component.mjs +0 -24
  45. package/esm2022/lib/components/atoms/title/title.component.mjs +0 -20
  46. package/esm2022/lib/components/types.mjs +0 -5
  47. package/esm2022/lib/custom-card/custom-card.component.mjs +0 -20
  48. package/esm2022/lib/valtech-components.module.mjs +0 -32
  49. package/esm2022/public-api.mjs +0 -13
  50. package/esm2022/valtech-components.mjs +0 -5
  51. package/fesm2022/valtech-components.mjs +0 -356
  52. package/fesm2022/valtech-components.mjs.map +0 -1
  53. package/index.d.ts +0 -5
  54. package/lib/components/atoms/button/button.component.d.ts +0 -17
  55. package/lib/components/atoms/button/factory.d.ts +0 -71
  56. package/lib/components/atoms/button/types.d.ts +0 -20
  57. package/lib/components/atoms/display/display.component.d.ts +0 -12
  58. package/lib/components/atoms/text/text.component.d.ts +0 -13
  59. package/lib/components/atoms/title/title.component.d.ts +0 -12
  60. package/lib/components/types.d.ts +0 -6
  61. package/lib/custom-card/custom-card.component.d.ts +0 -7
  62. package/lib/valtech-components.module.d.ts +0 -14
@@ -1,356 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, Input, EventEmitter, Output, NgModule } from '@angular/core';
3
- import * as i1 from '@ionic/angular';
4
- import { IonicModule } from '@ionic/angular';
5
- import * as i1$1 from '@angular/common';
6
- import { CommonModule } from '@angular/common';
7
- import { HttpClientModule } from '@angular/common/http';
8
-
9
- class CustomCardComponent {
10
- constructor() {
11
- this.title = '';
12
- this.content = '';
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: CustomCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: CustomCardComponent, selector: "val-custom-card", inputs: { title: "title", content: "content" }, ngImport: i0, template: "<ion-card>\n <ion-card-header>\n <ion-card-title>{{ title }}</ion-card-title>\n </ion-card-header>\n <ion-card-content>\n {{ content }}\n </ion-card-content>\n</ion-card>", styles: [""], dependencies: [{ kind: "component", type: i1.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i1.IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { kind: "component", type: i1.IonCardHeader, selector: "ion-card-header", inputs: ["color", "mode", "translucent"] }, { kind: "component", type: i1.IonCardTitle, selector: "ion-card-title", inputs: ["color", "mode"] }] }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: CustomCardComponent, decorators: [{
18
- type: Component,
19
- args: [{ selector: 'val-custom-card', template: "<ion-card>\n <ion-card-header>\n <ion-card-title>{{ title }}</ion-card-title>\n </ion-card-header>\n <ion-card-content>\n {{ content }}\n </ion-card-content>\n</ion-card>" }]
20
- }], propDecorators: { title: [{
21
- type: Input
22
- }], content: [{
23
- type: Input
24
- }] } });
25
-
26
- const ENABLED = 'ENABLED';
27
- const DISABLED = 'DISABLED';
28
- const WORKING = 'WORKING';
29
- const ComponentStates = { ENABLED, DISABLED, WORKING };
30
-
31
- class ButtonComponent {
32
- constructor() {
33
- this.states = ComponentStates;
34
- this.onClick = new EventEmitter();
35
- }
36
- ngOnInit() {
37
- }
38
- clickHandler() {
39
- this.onClick.emit();
40
- }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- 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 [type]=\"props.type\" [color]=\"props.color\" [expand]=\"props.expand\" [fill]=\"props.fill\" [size]=\"props.size\"\n [href]=\"props.href\" [target]=\"props.target\" [download]=\"props.download\" [shape]=\"props.shape\" [href]=\"props.href\"\n (click)=\"clickHandler()\">\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>", styles: [".btn-text{color:#f5f7fa}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.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.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: i1.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, decorators: [{
45
- type: Component,
46
- args: [{ selector: 'val-button', template: "<ion-button [type]=\"props.type\" [color]=\"props.color\" [expand]=\"props.expand\" [fill]=\"props.fill\" [size]=\"props.size\"\n [href]=\"props.href\" [target]=\"props.target\" [download]=\"props.download\" [shape]=\"props.shape\" [href]=\"props.href\"\n (click)=\"clickHandler()\">\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>", styles: [".btn-text{color:#f5f7fa}\n"] }]
47
- }], ctorParameters: () => [], propDecorators: { props: [{
48
- type: Input
49
- }], onClick: [{
50
- type: Output
51
- }] } });
52
-
53
- const Icon = (name, slot) => {
54
- return {
55
- name,
56
- slot,
57
- };
58
- };
59
- /* name convention: COLOR FILL SIZE [optionals: SHAPE EXPAND ICON HREF/DOWNLOAD] TYPE */
60
- const BaseDefault = (text, type) => {
61
- return {
62
- color: 'primary',
63
- state: 'ENABLED',
64
- text,
65
- size: 'default',
66
- type,
67
- };
68
- };
69
- const ClearDefault = (text, type) => {
70
- return { ...BaseDefault(text, type), fill: 'clear', };
71
- };
72
- const ClearDefaultRound = (text, type) => {
73
- return { ...ClearDefault(text, type), shape: 'round', };
74
- };
75
- const SolidDefault = (text, type) => {
76
- return { ...BaseDefault(text, type), fill: 'solid', };
77
- };
78
- const SolidDefaultRound = (text, type) => {
79
- return { ...SolidDefault(text, type), shape: 'round', };
80
- };
81
- const OutlineDefault = (text, type) => {
82
- return { ...BaseDefault(text, type), fill: 'outline', };
83
- };
84
- const OutlineDefaultRound = (text, type) => {
85
- return { ...OutlineDefault(text, type), shape: 'round', };
86
- };
87
- const ClearDefaultFull = (text, type) => {
88
- return { ...ClearDefault(text, type), expand: 'full', };
89
- };
90
- const ClearDefaultRoundFull = (text, type) => {
91
- return { ...ClearDefaultRound(text, type), expand: 'full', };
92
- };
93
- const ClearDefaultBlock = (text, type) => {
94
- return { ...ClearDefault(text, type), expand: 'block', };
95
- };
96
- const ClearDefaultRoundBlock = (text, type) => {
97
- return { ...ClearDefaultRound(text, type), expand: 'block', };
98
- };
99
- const SolidDefaultFull = (text, type) => {
100
- return { ...SolidDefault(text, type), expand: 'full', };
101
- };
102
- const SolidDefaultRoundFull = (text, type) => {
103
- return { ...SolidDefaultRound(text, type), expand: 'full', };
104
- };
105
- const SolidDefaultBlock = (text, type) => {
106
- return { ...SolidDefault(text, type), expand: 'block', };
107
- };
108
- const SolidDefaultRoundBlock = (text, type) => {
109
- return { ...SolidDefaultRound(text, type), expand: 'block', };
110
- };
111
- const OutlineDefaultFull = (text, type) => {
112
- return { ...OutlineDefault(text, type), expand: 'full', };
113
- };
114
- const OutlineDefaultRoundFull = (text, type) => {
115
- return { ...OutlineDefaultRound(text, type), expand: 'full', };
116
- };
117
- const OutlineDefaultBlock = (text, type) => {
118
- return { ...OutlineDefault(text, type), expand: 'block', };
119
- };
120
- const OutlineDefaultRoundBlock = (text, type) => {
121
- return { ...OutlineDefaultRound(text, type), expand: 'block', };
122
- };
123
- const SolidDefaultButton = (text) => {
124
- return SolidDefault(text, 'button');
125
- };
126
- const SolidSmallButton = (text) => {
127
- return { ...SolidDefault(text, 'button'), size: 'small' };
128
- };
129
- const SolidLargeButton = (text) => {
130
- return { ...SolidDefault(text, 'button'), size: 'large' };
131
- };
132
- const SolidDefaultRoundButton = (text) => {
133
- return SolidDefaultRound(text, 'button');
134
- };
135
- const SolidSmallRoundButton = (text) => {
136
- return { ...SolidDefaultRound(text, 'button'), size: 'small' };
137
- };
138
- const SolidLargeRoundButton = (text) => {
139
- return { ...SolidDefaultRound(text, 'button'), size: 'large' };
140
- };
141
- const SolidFullButton = (text) => {
142
- return SolidDefaultFull(text, 'button');
143
- };
144
- const SolidBlockButton = (text) => {
145
- return SolidDefaultBlock(text, 'button');
146
- };
147
- /** PRIMARY */
148
- const PrimarySolidDefaultRoundButton = (text) => {
149
- return { ...SolidDefaultRoundButton(text), color: 'primary' };
150
- };
151
- const PrimarySolidDefaultRoundIconButton = (text, icon) => {
152
- return { ...PrimarySolidDefaultRoundButton(text), icon };
153
- };
154
- const PrimarySolidDefaultRoundHrefButton = (text, href, target) => {
155
- return { ...PrimarySolidDefaultRoundButton(text), href, target };
156
- };
157
- const PrimarySolidDefaultRoundIconHrefButton = (text, icon, href, target) => {
158
- return { ...PrimarySolidDefaultRoundIconButton(text, icon), href, target };
159
- };
160
- const PrimarySolidSmallRoundButton = (text) => {
161
- return { ...SolidSmallRoundButton(text), color: 'primary' };
162
- };
163
- const PrimarySolidSmallRoundIconButton = (text, icon) => {
164
- return { ...PrimarySolidSmallRoundButton(text), icon };
165
- };
166
- const PrimarySolidSmallRoundHrefButton = (text, href, target) => {
167
- return { ...PrimarySolidSmallRoundButton(text), href, target };
168
- };
169
- const PrimarySolidSmallRoundIconHrefButton = (text, icon, href, target) => {
170
- return { ...PrimarySolidSmallRoundIconButton(text, icon), href, target };
171
- };
172
- const PrimarySolidLargeRoundButton = (text) => {
173
- return { ...SolidLargeRoundButton(text), color: 'primary' };
174
- };
175
- const PrimarySolidLargeRoundIconButton = (text, icon) => {
176
- return { ...PrimarySolidLargeRoundButton(text), icon };
177
- };
178
- const PrimarySolidLargeRoundHrefButton = (text, href, target) => {
179
- return { ...PrimarySolidLargeRoundButton(text), href, target };
180
- };
181
- const PrimarySolidLargeRoundIconHrefButton = (text, icon, href, target) => {
182
- return { ...PrimarySolidLargeRoundIconButton(text, icon), href, target };
183
- };
184
- const PrimarySolidBlockButton = (text) => {
185
- return { ...SolidBlockButton(text), color: 'primary' };
186
- };
187
- const PrimarySolidBlockIconButton = (text, icon) => {
188
- return { ...PrimarySolidBlockButton(text), icon };
189
- };
190
- const PrimarySolidBlockHrefButton = (text, href, target) => {
191
- return { ...PrimarySolidBlockButton(text), href, target };
192
- };
193
- const PrimarySolidBlockIconHrefButton = (text, icon, href, target) => {
194
- return { ...PrimarySolidBlockIconButton(text, icon), href, target };
195
- };
196
- const PrimarySolidFullButton = (text) => {
197
- return { ...SolidFullButton(text), color: 'primary' };
198
- };
199
- const PrimarySolidFullIconButton = (text, icon) => {
200
- return { ...PrimarySolidFullButton(text), icon };
201
- };
202
- const PrimarySolidFullHrefButton = (text, href, target) => {
203
- return { ...PrimarySolidFullButton(text), href, target };
204
- };
205
- const PrimarySolidFullIconHrefButton = (text, icon, href, target) => {
206
- return { ...PrimarySolidFullIconButton(text, icon), href, target };
207
- };
208
- /** SECONDARY */
209
- const SecondarySolidDefaultRoundButton = (text) => {
210
- return { ...SolidDefaultRoundButton(text), color: 'secondary' };
211
- };
212
- const SecondarySolidDefaultRoundIconButton = (text, icon) => {
213
- return { ...SecondarySolidDefaultRoundButton(text), icon };
214
- };
215
- const SecondarySolidDefaultRoundHrefButton = (text, href, target) => {
216
- return { ...SecondarySolidDefaultRoundButton(text), href, target };
217
- };
218
- const SecondarySolidDefaultRoundIconHrefButton = (text, icon, href, target) => {
219
- return { ...SecondarySolidDefaultRoundIconButton(text, icon), href, target };
220
- };
221
- const SecondarySolidSmallRoundButton = (text) => {
222
- return { ...SolidSmallRoundButton(text), color: 'secondary' };
223
- };
224
- const SecondarySolidSmallRoundIconButton = (text, icon) => {
225
- return { ...SecondarySolidSmallRoundButton(text), icon };
226
- };
227
- const SecondarySolidSmallRoundHrefButton = (text, href, target) => {
228
- return { ...SecondarySolidSmallRoundButton(text), href, target };
229
- };
230
- const SecondarySolidSmallRoundIconHrefButton = (text, icon, href, target) => {
231
- return { ...SecondarySolidSmallRoundIconButton(text, icon), href, target };
232
- };
233
- const SecondarySolidLargeRoundButton = (text) => {
234
- return { ...SolidLargeRoundButton(text), color: 'secondary' };
235
- };
236
- const SecondarySolidLargeRoundIconButton = (text, icon) => {
237
- return { ...SecondarySolidLargeRoundButton(text), icon };
238
- };
239
- const SecondarySolidLargeRoundHrefButton = (text, href, target) => {
240
- return { ...SecondarySolidLargeRoundButton(text), href, target };
241
- };
242
- const SecondarySolidLargeRoundIconHrefButton = (text, icon, href, target) => {
243
- return { ...SecondarySolidLargeRoundIconButton(text, icon), href, target };
244
- };
245
- const SecondarySolidFullButton = (text) => {
246
- return { ...SolidFullButton(text), color: 'secondary' };
247
- };
248
- const SecondarySolidFullIconButton = (text, icon) => {
249
- return { ...SecondarySolidFullButton(text), icon };
250
- };
251
- const SecondarySolidFullHrefButton = (text, href, target) => {
252
- return { ...SecondarySolidFullButton(text), href, target };
253
- };
254
- const SecondarySolidFullIconHrefButton = (text, icon, href, target) => {
255
- return { ...SecondarySolidFullIconButton(text, icon), href, target };
256
- };
257
- const SecondarySolidBlockButton = (text) => {
258
- return { ...SolidBlockButton(text), color: 'secondary' };
259
- };
260
- const SecondarySolidBlockIconButton = (text, icon) => {
261
- return { ...SecondarySolidBlockButton(text), icon };
262
- };
263
- const SecondarySolidBlockHrefButton = (text, href, target) => {
264
- return { ...SecondarySolidBlockButton(text), href, target };
265
- };
266
- const SecondarySolidBlockIconHrefButton = (text, icon, href, target) => {
267
- return { ...SecondarySolidBlockIconButton(text, icon), href, target };
268
- };
269
-
270
- class TextComponent {
271
- constructor() {
272
- this.bold = false;
273
- }
274
- ngOnInit() { }
275
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
276
- 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:1rem;font-weight:400}.small.bold{font-size:.75rem;line-height:1rem;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.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
277
- }
278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TextComponent, decorators: [{
279
- type: Component,
280
- 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:1rem;font-weight:400}.small.bold{font-size:.75rem;line-height:1rem;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"] }]
281
- }], ctorParameters: () => [], propDecorators: { size: [{
282
- type: Input
283
- }], color: [{
284
- type: Input
285
- }], content: [{
286
- type: Input
287
- }], bold: [{
288
- type: Input
289
- }] } });
290
-
291
- class TitleComponent {
292
- constructor() { }
293
- ngOnInit() { }
294
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
295
- 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.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
296
- }
297
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleComponent, decorators: [{
298
- type: Component,
299
- 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"] }]
300
- }], ctorParameters: () => [], propDecorators: { size: [{
301
- type: Input
302
- }], color: [{
303
- type: Input
304
- }], content: [{
305
- type: Input
306
- }] } });
307
-
308
- class DisplayComponent {
309
- constructor() { }
310
- ngOnInit() { }
311
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
312
- 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.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
313
- }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DisplayComponent, decorators: [{
315
- type: Component,
316
- 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"] }]
317
- }], ctorParameters: () => [], propDecorators: { size: [{
318
- type: Input
319
- }], color: [{
320
- type: Input
321
- }], content: [{
322
- type: Input
323
- }] } });
324
-
325
- class ValtechComponentsModule {
326
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
327
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, declarations: [CustomCardComponent, ButtonComponent, DisplayComponent, TextComponent, TitleComponent], imports: [CommonModule,
328
- HttpClientModule,
329
- IonicModule], exports: [CustomCardComponent, ButtonComponent, DisplayComponent, TextComponent, TitleComponent] }); }
330
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, imports: [CommonModule,
331
- HttpClientModule,
332
- IonicModule] }); }
333
- }
334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, decorators: [{
335
- type: NgModule,
336
- args: [{
337
- declarations: [CustomCardComponent, ButtonComponent, DisplayComponent, TextComponent, TitleComponent],
338
- imports: [
339
- CommonModule,
340
- HttpClientModule,
341
- IonicModule,
342
- ],
343
- exports: [CustomCardComponent, ButtonComponent, DisplayComponent, TextComponent, TitleComponent]
344
- }]
345
- }] });
346
-
347
- /*
348
- * Public API Surface of valtech-components
349
- */
350
-
351
- /**
352
- * Generated bundle index. Do not edit.
353
- */
354
-
355
- export { BaseDefault, ButtonComponent, ClearDefault, ClearDefaultBlock, ClearDefaultFull, ClearDefaultRound, ClearDefaultRoundBlock, ClearDefaultRoundFull, ComponentStates, CustomCardComponent, DisplayComponent, Icon, 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 };
356
- //# sourceMappingURL=valtech-components.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"valtech-components.mjs","sources":["../../../projects/valtech-components/src/lib/custom-card/custom-card.component.ts","../../../projects/valtech-components/src/lib/custom-card/custom-card.component.html","../../../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/valtech-components.module.ts","../../../projects/valtech-components/src/public-api.ts","../../../projects/valtech-components/src/valtech-components.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'val-custom-card',\n templateUrl: './custom-card.component.html',\n styleUrl: './custom-card.component.css'\n})\nexport class CustomCardComponent {\n @Input() title: string = '';\n @Input() content: string = '';\n \n}\n","<ion-card>\n <ion-card-header>\n <ion-card-title>{{ title }}</ion-card-title>\n </ion-card-header>\n <ion-card-content>\n {{ content }}\n </ion-card-content>\n</ion-card>","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\n clickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-button [type]=\"props.type\" [color]=\"props.color\" [expand]=\"props.expand\" [fill]=\"props.fill\" [size]=\"props.size\"\n [href]=\"props.href\" [target]=\"props.target\" [download]=\"props.download\" [shape]=\"props.shape\" [href]=\"props.href\"\n (click)=\"clickHandler()\">\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>","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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), href, target };\n}\n\nexport const PrimarySolidDefaultRoundIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), href, target };\n}\n\nexport const PrimarySolidSmallRoundIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), href, target };\n}\n\nexport const PrimarySolidLargeRoundIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), href, target };\n}\n\nexport const PrimarySolidBlockIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), href, target };\n}\n\nexport const PrimarySolidFullIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), href, target };\n}\n\nexport const SecondarySolidDefaultRoundIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), href, target };\n}\n\nexport const SecondarySolidSmallRoundIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), href, target };\n}\n\nexport const SecondarySolidLargeRoundIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), href, target };\n}\n\nexport const SecondarySolidFullIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): 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 = (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), href, target };\n}\n\nexport const SecondarySolidBlockIconHrefButton = (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top'): ButtonMetadata => {\n return { ...SecondarySolidBlockIconButton(text, icon), href, target };\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}\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}\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}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { CommonModule } from \"@angular/common\";\nimport { HttpClientModule } from \"@angular/common/http\";\nimport { NgModule } from \"@angular/core\";\nimport { IonicModule } from '@ionic/angular';\nimport { CustomCardComponent } from \"./custom-card/custom-card.component\";\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\";\n\n@NgModule({\n declarations: [CustomCardComponent, ButtonComponent, DisplayComponent, TextComponent, TitleComponent],\n imports: [\n CommonModule,\n HttpClientModule,\n IonicModule,\n ],\n exports: [CustomCardComponent, ButtonComponent, DisplayComponent, TextComponent, TitleComponent]\n})\nexport class ValtechComponentsModule {\n\n}","/*\n * Public API Surface of valtech-components\n */\n\nexport * from './lib/custom-card/custom-card.component';\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';\n\nexport * from './lib/components/types';\nexport * from './lib/valtech-components.module';\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;MAOa,mBAAmB,CAAA;AALhC,IAAA,WAAA,GAAA;QAMW,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;QACnB,IAAO,CAAA,OAAA,GAAW,EAAE,CAAC;AAE/B,KAAA;8GAJY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,uGCPhC,sMAOW,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,UAAA,EAAA,UAAA,EAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA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- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="valtech-components" />
5
- export * from './public-api';
@@ -1,17 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { ButtonMetadata } from './types';
3
- import * as i0 from "@angular/core";
4
- export declare class ButtonComponent implements OnInit {
5
- states: {
6
- ENABLED: "ENABLED";
7
- DISABLED: "DISABLED";
8
- WORKING: "WORKING";
9
- };
10
- props: ButtonMetadata;
11
- onClick: EventEmitter<any>;
12
- constructor();
13
- ngOnInit(): void;
14
- clickHandler(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "val-button", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
17
- }
@@ -1,71 +0,0 @@
1
- import { ButtonMetadata, IconMetada } from "./types";
2
- export declare const Icon: (name: string, slot: 'start' | 'end') => IconMetada;
3
- export declare const BaseDefault: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
4
- export declare const ClearDefault: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
5
- export declare const ClearDefaultRound: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
6
- export declare const SolidDefault: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
7
- export declare const SolidDefaultRound: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
8
- export declare const OutlineDefault: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
9
- export declare const OutlineDefaultRound: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
10
- export declare const ClearDefaultFull: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
11
- export declare const ClearDefaultRoundFull: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
12
- export declare const ClearDefaultBlock: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
13
- export declare const ClearDefaultRoundBlock: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
14
- export declare const SolidDefaultFull: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
15
- export declare const SolidDefaultRoundFull: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
16
- export declare const SolidDefaultBlock: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
17
- export declare const SolidDefaultRoundBlock: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
18
- export declare const OutlineDefaultFull: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
19
- export declare const OutlineDefaultRoundFull: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
20
- export declare const OutlineDefaultBlock: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
21
- export declare const OutlineDefaultRoundBlock: (text: string, type: 'button' | 'submit' | 'reset') => ButtonMetadata;
22
- export declare const SolidDefaultButton: (text: string) => ButtonMetadata;
23
- export declare const SolidSmallButton: (text: string) => ButtonMetadata;
24
- export declare const SolidLargeButton: (text: string) => ButtonMetadata;
25
- export declare const SolidDefaultRoundButton: (text: string) => ButtonMetadata;
26
- export declare const SolidSmallRoundButton: (text: string) => ButtonMetadata;
27
- export declare const SolidLargeRoundButton: (text: string) => ButtonMetadata;
28
- export declare const SolidFullButton: (text: string) => ButtonMetadata;
29
- export declare const SolidBlockButton: (text: string) => ButtonMetadata;
30
- /** PRIMARY */
31
- export declare const PrimarySolidDefaultRoundButton: (text: string) => ButtonMetadata;
32
- export declare const PrimarySolidDefaultRoundIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
33
- export declare const PrimarySolidDefaultRoundHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
34
- export declare const PrimarySolidDefaultRoundIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
35
- export declare const PrimarySolidSmallRoundButton: (text: string) => ButtonMetadata;
36
- export declare const PrimarySolidSmallRoundIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
37
- export declare const PrimarySolidSmallRoundHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
38
- export declare const PrimarySolidSmallRoundIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
39
- export declare const PrimarySolidLargeRoundButton: (text: string) => ButtonMetadata;
40
- export declare const PrimarySolidLargeRoundIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
41
- export declare const PrimarySolidLargeRoundHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
42
- export declare const PrimarySolidLargeRoundIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
43
- export declare const PrimarySolidBlockButton: (text: string) => ButtonMetadata;
44
- export declare const PrimarySolidBlockIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
45
- export declare const PrimarySolidBlockHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
46
- export declare const PrimarySolidBlockIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
47
- export declare const PrimarySolidFullButton: (text: string) => ButtonMetadata;
48
- export declare const PrimarySolidFullIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
49
- export declare const PrimarySolidFullHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
50
- export declare const PrimarySolidFullIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
51
- /** SECONDARY */
52
- export declare const SecondarySolidDefaultRoundButton: (text: string) => ButtonMetadata;
53
- export declare const SecondarySolidDefaultRoundIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
54
- export declare const SecondarySolidDefaultRoundHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
55
- export declare const SecondarySolidDefaultRoundIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
56
- export declare const SecondarySolidSmallRoundButton: (text: string) => ButtonMetadata;
57
- export declare const SecondarySolidSmallRoundIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
58
- export declare const SecondarySolidSmallRoundHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
59
- export declare const SecondarySolidSmallRoundIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
60
- export declare const SecondarySolidLargeRoundButton: (text: string) => ButtonMetadata;
61
- export declare const SecondarySolidLargeRoundIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
62
- export declare const SecondarySolidLargeRoundHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
63
- export declare const SecondarySolidLargeRoundIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
64
- export declare const SecondarySolidFullButton: (text: string) => ButtonMetadata;
65
- export declare const SecondarySolidFullIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
66
- export declare const SecondarySolidFullHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
67
- export declare const SecondarySolidFullIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
68
- export declare const SecondarySolidBlockButton: (text: string) => ButtonMetadata;
69
- export declare const SecondarySolidBlockIconButton: (text: string, icon: IconMetada) => ButtonMetadata;
70
- export declare const SecondarySolidBlockHrefButton: (text: string, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
71
- export declare const SecondarySolidBlockIconHrefButton: (text: string, icon: IconMetada, href: string, target: '_blank' | '_self' | '_parent' | '_top') => ButtonMetadata;
@@ -1,20 +0,0 @@
1
- import { Color } from '@ionic/core';
2
- import { ComponentState } from '../../types';
3
- export interface IconMetada {
4
- name: string;
5
- slot: 'start' | 'end';
6
- }
7
- export interface ButtonMetadata {
8
- expand?: 'full' | 'block';
9
- href?: string;
10
- target?: '_blank' | '_self' | '_parent' | '_top';
11
- download?: string;
12
- color: Color;
13
- state: ComponentState;
14
- text: string;
15
- icon?: IconMetada;
16
- shape?: 'round';
17
- size?: 'small' | 'default' | 'large';
18
- fill?: 'clear' | 'outline' | 'solid' | 'default';
19
- type: 'button' | 'submit' | 'reset';
20
- }
@@ -1,12 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Color } from '@ionic/core';
3
- import * as i0 from "@angular/core";
4
- export declare class DisplayComponent implements OnInit {
5
- size: 'small' | 'medium' | 'large' | 'xlarge';
6
- color: Color;
7
- content: string;
8
- constructor();
9
- ngOnInit(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DisplayComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DisplayComponent, "val-display", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
12
- }
@@ -1,13 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Color } from '@ionic/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TextComponent implements OnInit {
5
- size: 'small' | 'medium' | 'large' | 'xlarge';
6
- color: Color;
7
- content: string;
8
- bold: boolean;
9
- constructor();
10
- ngOnInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "val-text", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "content": { "alias": "content"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; }, {}, never, never, false, never>;
13
- }
@@ -1,12 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Color } from '@ionic/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TitleComponent implements OnInit {
5
- size: 'small' | 'medium' | 'large' | 'xlarge';
6
- color: Color;
7
- content: string;
8
- constructor();
9
- ngOnInit(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TitleComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TitleComponent, "val-title", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
12
- }
@@ -1,6 +0,0 @@
1
- export type ComponentState = 'ENABLED' | 'DISABLED' | 'WORKING';
2
- export declare const ComponentStates: {
3
- ENABLED: "ENABLED";
4
- DISABLED: "DISABLED";
5
- WORKING: "WORKING";
6
- };