valtech-components 1.2.0 → 1.3.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.
- package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +31 -0
- package/esm2022/lib/components/atoms/button/button.component.mjs +26 -0
- package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
- package/esm2022/lib/components/atoms/button/types.mjs +2 -0
- package/esm2022/lib/components/atoms/display/display.component.mjs +20 -0
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +20 -0
- package/esm2022/lib/components/atoms/text/text.component.mjs +24 -0
- package/esm2022/lib/components/atoms/title/title.component.mjs +20 -0
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +27 -0
- package/esm2022/lib/components/molecules/link/link.component.mjs +27 -0
- package/esm2022/lib/components/types.mjs +5 -0
- package/esm2022/lib/valtech-components.module.mjs +59 -0
- package/esm2022/public-api.mjs +16 -0
- package/esm2022/valtech-components.mjs +5 -0
- package/fesm2022/valtech-components.mjs +454 -0
- package/fesm2022/valtech-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/atoms/avatar/avatar.component.d.ts +14 -0
- package/lib/components/atoms/button/button.component.d.ts +17 -0
- package/lib/components/atoms/button/factory.d.ts +71 -0
- package/lib/components/atoms/button/types.d.ts +20 -0
- package/lib/components/atoms/display/display.component.d.ts +12 -0
- package/lib/components/atoms/divider/divider.component.d.ts +11 -0
- package/lib/components/atoms/text/text.component.d.ts +13 -0
- package/lib/components/atoms/title/title.component.d.ts +12 -0
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +13 -0
- package/lib/components/molecules/link/link.component.d.ts +14 -0
- package/lib/components/types.d.ts +6 -0
- package/lib/valtech-components.module.d.ts +17 -0
- package/package.json +13 -10
- package/{src/public-api.ts → public-api.d.ts} +0 -8
- package/.nvmrc +0 -1
- package/.releaserc +0 -11
- package/ng-package.json +0 -11
- package/src/lib/components/atoms/avatar/avatar.component.html +0 -3
- package/src/lib/components/atoms/avatar/avatar.component.scss +0 -20
- package/src/lib/components/atoms/avatar/avatar.component.ts +0 -28
- package/src/lib/components/atoms/button/button.component.html +0 -17
- package/src/lib/components/atoms/button/button.component.scss +0 -5
- package/src/lib/components/atoms/button/button.component.ts +0 -26
- package/src/lib/components/atoms/button/factory.ts +0 -378
- package/src/lib/components/atoms/button/types.ts +0 -22
- package/src/lib/components/atoms/display/display.component.html +0 -5
- package/src/lib/components/atoms/display/display.component.scss +0 -17
- package/src/lib/components/atoms/display/display.component.ts +0 -20
- package/src/lib/components/atoms/divider/divider.component.html +0 -1
- package/src/lib/components/atoms/divider/divider.component.scss +0 -54
- package/src/lib/components/atoms/divider/divider.component.ts +0 -19
- package/src/lib/components/atoms/text/text.component.html +0 -5
- package/src/lib/components/atoms/text/text.component.scss +0 -33
- package/src/lib/components/atoms/text/text.component.ts +0 -22
- package/src/lib/components/atoms/title/title.component.html +0 -5
- package/src/lib/components/atoms/title/title.component.scss +0 -13
- package/src/lib/components/atoms/title/title.component.ts +0 -20
- package/src/lib/components/molecules/content-loader/content-loader.component.html +0 -6
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -22
- package/src/lib/components/molecules/link/link.component.html +0 -6
- package/src/lib/components/molecules/link/link.component.scss +0 -5
- package/src/lib/components/molecules/link/link.component.ts +0 -27
- package/src/lib/components/types.ts +0 -5
- package/src/lib/valtech-components.module.ts +0 -37
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
3
|
+
import { NgModule } from '@angular/core';
|
|
4
|
+
import { IonicModule } from '@ionic/angular';
|
|
5
|
+
import { ButtonComponent } from './components/atoms/button/button.component';
|
|
6
|
+
import { DisplayComponent } from './components/atoms/display/display.component';
|
|
7
|
+
import { TextComponent } from './components/atoms/text/text.component';
|
|
8
|
+
import { TitleComponent } from './components/atoms/title/title.component';
|
|
9
|
+
import { AvatarComponent } from './components/atoms/avatar/avatar.component';
|
|
10
|
+
import { DividerComponent } from './components/atoms/divider/divider.component';
|
|
11
|
+
import { ContentLoaderComponent } from './components/molecules/content-loader/content-loader.component';
|
|
12
|
+
import { LinkComponent } from './components/molecules/link/link.component';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export class ValtechComponentsModule {
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, declarations: [ButtonComponent,
|
|
17
|
+
DisplayComponent,
|
|
18
|
+
TextComponent,
|
|
19
|
+
TitleComponent,
|
|
20
|
+
AvatarComponent,
|
|
21
|
+
DividerComponent,
|
|
22
|
+
ContentLoaderComponent,
|
|
23
|
+
LinkComponent], imports: [CommonModule, HttpClientModule, IonicModule], exports: [ButtonComponent,
|
|
24
|
+
DisplayComponent,
|
|
25
|
+
TextComponent,
|
|
26
|
+
TitleComponent,
|
|
27
|
+
AvatarComponent,
|
|
28
|
+
DividerComponent,
|
|
29
|
+
ContentLoaderComponent,
|
|
30
|
+
LinkComponent] }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, imports: [CommonModule, HttpClientModule, IonicModule] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, decorators: [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
declarations: [
|
|
37
|
+
ButtonComponent,
|
|
38
|
+
DisplayComponent,
|
|
39
|
+
TextComponent,
|
|
40
|
+
TitleComponent,
|
|
41
|
+
AvatarComponent,
|
|
42
|
+
DividerComponent,
|
|
43
|
+
ContentLoaderComponent,
|
|
44
|
+
LinkComponent,
|
|
45
|
+
],
|
|
46
|
+
imports: [CommonModule, HttpClientModule, IonicModule],
|
|
47
|
+
exports: [
|
|
48
|
+
ButtonComponent,
|
|
49
|
+
DisplayComponent,
|
|
50
|
+
TextComponent,
|
|
51
|
+
TitleComponent,
|
|
52
|
+
AvatarComponent,
|
|
53
|
+
DividerComponent,
|
|
54
|
+
ContentLoaderComponent,
|
|
55
|
+
LinkComponent,
|
|
56
|
+
],
|
|
57
|
+
}]
|
|
58
|
+
}] });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGVjaC1jb21wb25lbnRzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL3ZhbHRlY2gtY29tcG9uZW50cy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUNoRixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDdkUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDBDQUEwQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUNoRixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnRUFBZ0UsQ0FBQztBQUN4RyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sNENBQTRDLENBQUM7O0FBeUIzRSxNQUFNLE9BQU8sdUJBQXVCOzhHQUF2Qix1QkFBdUI7K0dBQXZCLHVCQUF1QixpQkFyQmhDLGVBQWU7WUFDZixnQkFBZ0I7WUFDaEIsYUFBYTtZQUNiLGNBQWM7WUFDZCxlQUFlO1lBQ2YsZ0JBQWdCO1lBQ2hCLHNCQUFzQjtZQUN0QixhQUFhLGFBRUwsWUFBWSxFQUFFLGdCQUFnQixFQUFFLFdBQVcsYUFFbkQsZUFBZTtZQUNmLGdCQUFnQjtZQUNoQixhQUFhO1lBQ2IsY0FBYztZQUNkLGVBQWU7WUFDZixnQkFBZ0I7WUFDaEIsc0JBQXNCO1lBQ3RCLGFBQWE7K0dBR0osdUJBQXVCLFlBWnhCLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxXQUFXOzsyRkFZMUMsdUJBQXVCO2tCQXZCbkMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osZUFBZTt3QkFDZixnQkFBZ0I7d0JBQ2hCLGFBQWE7d0JBQ2IsY0FBYzt3QkFDZCxlQUFlO3dCQUNmLGdCQUFnQjt3QkFDaEIsc0JBQXNCO3dCQUN0QixhQUFhO3FCQUNkO29CQUNELE9BQU8sRUFBRSxDQUFDLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxXQUFXLENBQUM7b0JBQ3RELE9BQU8sRUFBRTt3QkFDUCxlQUFlO3dCQUNmLGdCQUFnQjt3QkFDaEIsYUFBYTt3QkFDYixjQUFjO3dCQUNkLGVBQWU7d0JBQ2YsZ0JBQWdCO3dCQUNoQixzQkFBc0I7d0JBQ3RCLGFBQWE7cUJBQ2Q7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgSHR0cENsaWVudE1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbi9odHRwJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJb25pY01vZHVsZSB9IGZyb20gJ0Bpb25pYy9hbmd1bGFyJztcbmltcG9ydCB7IEJ1dHRvbkNvbXBvbmVudCB9IGZyb20gJy4vY29tcG9uZW50cy9hdG9tcy9idXR0b24vYnV0dG9uLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBEaXNwbGF5Q29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2F0b21zL2Rpc3BsYXkvZGlzcGxheS5jb21wb25lbnQnO1xuaW1wb3J0IHsgVGV4dENvbXBvbmVudCB9IGZyb20gJy4vY29tcG9uZW50cy9hdG9tcy90ZXh0L3RleHQuY29tcG9uZW50JztcbmltcG9ydCB7IFRpdGxlQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2F0b21zL3RpdGxlL3RpdGxlLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBBdmF0YXJDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvYXRvbXMvYXZhdGFyL2F2YXRhci5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGl2aWRlckNvbXBvbmVudCB9IGZyb20gJy4vY29tcG9uZW50cy9hdG9tcy9kaXZpZGVyL2RpdmlkZXIuY29tcG9uZW50JztcbmltcG9ydCB7IENvbnRlbnRMb2FkZXJDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvbW9sZWN1bGVzL2NvbnRlbnQtbG9hZGVyL2NvbnRlbnQtbG9hZGVyLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBMaW5rQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL21vbGVjdWxlcy9saW5rL2xpbmsuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgQnV0dG9uQ29tcG9uZW50LFxuICAgIERpc3BsYXlDb21wb25lbnQsXG4gICAgVGV4dENvbXBvbmVudCxcbiAgICBUaXRsZUNvbXBvbmVudCxcbiAgICBBdmF0YXJDb21wb25lbnQsXG4gICAgRGl2aWRlckNvbXBvbmVudCxcbiAgICBDb250ZW50TG9hZGVyQ29tcG9uZW50LFxuICAgIExpbmtDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEh0dHBDbGllbnRNb2R1bGUsIElvbmljTW9kdWxlXSxcbiAgZXhwb3J0czogW1xuICAgIEJ1dHRvbkNvbXBvbmVudCxcbiAgICBEaXNwbGF5Q29tcG9uZW50LFxuICAgIFRleHRDb21wb25lbnQsXG4gICAgVGl0bGVDb21wb25lbnQsXG4gICAgQXZhdGFyQ29tcG9uZW50LFxuICAgIERpdmlkZXJDb21wb25lbnQsXG4gICAgQ29udGVudExvYWRlckNvbXBvbmVudCxcbiAgICBMaW5rQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBWYWx0ZWNoQ29tcG9uZW50c01vZHVsZSB7fVxuIl19
|
|
@@ -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 [href]=\"props.href\"\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 [href]=\"props.href\"\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
|