valtech-components 1.11.1 → 1.11.3
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/molecules/searchbar/searchbar.component.mjs +35 -0
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +30 -0
- package/esm2022/lib/services/lang-provider/components/lang-settings.mjs +13 -0
- package/esm2022/lib/services/lang-provider/components/theme-settings.mjs +15 -0
- package/esm2022/lib/services/lang-provider/content.mjs +8 -0
- package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +42 -0
- package/esm2022/lib/services/lang-provider/types.mjs +14 -0
- package/esm2022/lib/services/local-storage.service.mjs +16 -0
- package/esm2022/lib/shared/contants/storage.mjs +3 -0
- package/esm2022/lib/valtech-components.module.mjs +28 -4
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/valtech-components.mjs +190 -12
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +14 -0
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +14 -0
- package/lib/services/lang-provider/components/lang-settings.d.ts +3 -0
- package/lib/services/lang-provider/components/theme-settings.d.ts +3 -0
- package/lib/services/lang-provider/content.d.ts +6 -0
- package/lib/services/lang-provider/lang-provider.service.d.ts +16 -0
- package/lib/services/lang-provider/types.d.ts +18 -0
- package/lib/services/local-storage.service.d.ts +6 -0
- package/lib/shared/contants/storage.d.ts +2 -0
- package/lib/valtech-components.module.d.ts +13 -4
- package/package.json +3 -2
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@ionic/angular";
|
|
4
|
+
export class SearchbarComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.focusEvent = new EventEmitter();
|
|
7
|
+
this.blurEvent = new EventEmitter();
|
|
8
|
+
this.filterEvent = new EventEmitter();
|
|
9
|
+
}
|
|
10
|
+
onSearch($event) {
|
|
11
|
+
const searchTerm = $event.detail.value;
|
|
12
|
+
this.filterEvent.emit(searchTerm);
|
|
13
|
+
}
|
|
14
|
+
onFocus() {
|
|
15
|
+
this.focusEvent.emit();
|
|
16
|
+
}
|
|
17
|
+
onBlur() {
|
|
18
|
+
this.blurEvent.emit();
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: SearchbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: SearchbarComponent, selector: "app-searchbar", inputs: { disabled: "disabled" }, outputs: { focusEvent: "focusEvent", blurEvent: "blurEvent", filterEvent: "filterEvent" }, ngImport: i0, template: "<ion-searchbar mode=\"ios\" debounce=\"500\" placeholder=\"B\u00FAsqueda\" [disabled]=\"disabled\"\n showCancelButton=\"focus\" cancelButtonText=\"Cancelar\" (ionInput)=\"onSearch($event)\" \n (ionBlur)=\"onBlur()\" (ionFocus)=\"onFocus()\">\n</ion-searchbar>", styles: ["ion-searchbar{--cancel-button-color: var(--ion-color-dark);--background: var(--ion-color-light)}\n"], dependencies: [{ kind: "component", type: i1.IonSearchbar, selector: "ion-searchbar", inputs: ["animated", "autocapitalize", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "maxlength", "minlength", "mode", "name", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"] }, { kind: "directive", type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar,ion-range" }] }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: SearchbarComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{ selector: 'app-searchbar', template: "<ion-searchbar mode=\"ios\" debounce=\"500\" placeholder=\"B\u00FAsqueda\" [disabled]=\"disabled\"\n showCancelButton=\"focus\" cancelButtonText=\"Cancelar\" (ionInput)=\"onSearch($event)\" \n (ionBlur)=\"onBlur()\" (ionFocus)=\"onFocus()\">\n</ion-searchbar>", styles: ["ion-searchbar{--cancel-button-color: var(--ion-color-dark);--background: var(--ion-color-light)}\n"] }]
|
|
26
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], focusEvent: [{
|
|
29
|
+
type: Output
|
|
30
|
+
}], blurEvent: [{
|
|
31
|
+
type: Output
|
|
32
|
+
}], filterEvent: [{
|
|
33
|
+
type: Output
|
|
34
|
+
}] } });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvbW9sZWN1bGVzL3NlYXJjaGJhci9zZWFyY2hiYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGVjaC1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9tb2xlY3VsZXMvc2VhcmNoYmFyL3NlYXJjaGJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFPdkUsTUFBTSxPQUFPLGtCQUFrQjtJQVM3QjtRQU5VLGVBQVUsR0FBR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Y2hiYXJDb21wb25lbnQge1xuICBASW5wdXQoKSBkaXNhYmxlZDogYm9vbGVhbjtcblxuICBAT3V0cHV0KCkgZm9jdXNFdmVudCA9IG5ldyBFdmVudEVtaXR0ZXI8dm9pZD4oKTtcblxuICBAT3V0cHV0KCkgYmx1ckV2ZW50ID0gbmV3IEV2ZW50RW1pdHRlcjx2b2lkPigpO1xuXG4gIEBPdXRwdXQoKSBmaWx0ZXJFdmVudCA9IG5ldyBFdmVudEVtaXR0ZXI8c3RyaW5nPigpO1xuXG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBvblNlYXJjaCgkZXZlbnQ6IGFueSkge1xuICAgIGNvbnN0IHNlYXJjaFRlcm0gPSAkZXZlbnQuZGV0YWlsLnZhbHVlXG4gICAgdGhpcy5maWx0ZXJFdmVudC5lbWl0KHNlYXJjaFRlcm0pO1xuICB9XG5cbiAgb25Gb2N1cygpIHtcbiAgICB0aGlzLmZvY3VzRXZlbnQuZW1pdCgpO1xuICB9XG5cbiAgb25CbHVyKCkge1xuICAgIHRoaXMuYmx1ckV2ZW50LmVtaXQoKTtcbiAgfVxufVxuIiwiPGlvbi1zZWFyY2hiYXIgbW9kZT1cImlvc1wiIGRlYm91bmNlPVwiNTAwXCIgcGxhY2Vob2xkZXI9XCJCw7pzcXVlZGFcIiBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICBzaG93Q2FuY2VsQnV0dG9uPVwiZm9jdXNcIiBjYW5jZWxCdXR0b25UZXh0PVwiQ2FuY2VsYXJcIiAoaW9uSW5wdXQpPVwib25TZWFyY2goJGV2ZW50KVwiIFxuICAoaW9uQmx1cik9XCJvbkJsdXIoKVwiIChpb25Gb2N1cyk9XCJvbkZvY3VzKClcIj5cbjwvaW9uLXNlYXJjaGJhcj4iXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@ionic/angular";
|
|
5
|
+
export class ToolbarComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.withBack = false;
|
|
8
|
+
this.withActions = false;
|
|
9
|
+
this.color = '';
|
|
10
|
+
this.textColor = '';
|
|
11
|
+
}
|
|
12
|
+
ngOnInit() { }
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ToolbarComponent, selector: "val-toolbar", inputs: { withBack: "withBack", withActions: "withActions", color: "color", textColor: "textColor", title: "title" }, ngImport: i0, template: "<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-back-button default-href=\"#\" text=\"Volver\" color=\"dark\"></ion-back-button>\n </ion-buttons>\n <ion-buttons slot=\"end\" *ngIf=\"withActions\">\n <ng-content select=\"[toolbar-right-side]\"></ng-content>\n </ion-buttons>\n <ion-title [color]=\"textColor\">{{ title }}</ion-title>\n</ion-toolbar>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i2.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i2.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: i2.IonBackButton, selector: "ion-back-button" }] }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'val-toolbar', template: "<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-back-button default-href=\"#\" text=\"Volver\" color=\"dark\"></ion-back-button>\n </ion-buttons>\n <ion-buttons slot=\"end\" *ngIf=\"withActions\">\n <ng-content select=\"[toolbar-right-side]\"></ng-content>\n </ion-buttons>\n <ion-title [color]=\"textColor\">{{ title }}</ion-title>\n</ion-toolbar>\n" }]
|
|
19
|
+
}], ctorParameters: () => [], propDecorators: { withBack: [{
|
|
20
|
+
type: Input
|
|
21
|
+
}], withActions: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], color: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], textColor: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], title: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}] } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL29yZ2FuaXNtcy90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGVjaC1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9vcmdhbmlzbXMvdG9vbGJhci90b29sYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7O0FBUXpELE1BQU0sT0FBTyxnQkFBZ0I7SUFZM0I7UUFWQSxhQUFRLEdBQVksS0FBSyxDQUFDO1FBRTFCLGdCQUFXLEdBQVksS0FBSyxDQUFDO1FBRTdCLFVBQUssR0FBVSxFQUFFLENBQUM7UUFFb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lxuICA8aW9uLWJ1dHRvbnMgc2xvdD1cInN0YXJ0XCIgKm5nSWY9XCJ3aXRoQmFja1wiPlxuICAgIDxpb24tYmFjay1idXR0b24gZGVmYXVsdC1ocmVmPVwiI1wiIHRleHQ9XCJWb2x2ZXJcIiBjb2xvcj1cImRhcmtcIj48L2lvbi1iYWNrLWJ1dHRvbj5cbiAgPC9pb24tYnV0dG9ucz5cbiAgPGlvbi1idXR0b25zIHNsb3Q9XCJlbmRcIiAqbmdJZj1cIndpdGhBY3Rpb25zXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3Rvb2xiYXItcmlnaHQtc2lkZV1cIj48L25nLWNvbnRlbnQ+XG4gIDwvaW9uLWJ1dHRvbnM+XG4gIDxpb24tdGl0bGUgW2NvbG9yXT1cInRleHRDb2xvclwiPnt7IHRpdGxlIH19PC9pb24tdGl0bGU+XG48L2lvbi10b29sYmFyPlxuIl19
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextContent } from '../types';
|
|
2
|
+
const text = {
|
|
3
|
+
es: {
|
|
4
|
+
spanish: 'Español',
|
|
5
|
+
english: 'Inglés',
|
|
6
|
+
},
|
|
7
|
+
en: {
|
|
8
|
+
spanish: 'Spanish',
|
|
9
|
+
english: 'English',
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
export default new TextContent(text);
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZy1zZXR0aW5ncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL3NlcnZpY2VzL2xhbmctcHJvdmlkZXIvY29tcG9uZW50cy9sYW5nLXNldHRpbmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0IsV0FBVyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRXpELE1BQU0sSUFBSSxHQUFxQjtJQUM3QixFQUFFLEVBQUU7UUFDRixPQUFPLEVBQUUsU0FBUztRQUNsQixPQUFPLEVBQUUsUUFBUTtLQUNsQjtJQUNELEVBQUUsRUFBRTtRQUNGLE9BQU8sRUFBRSxTQUFTO1FBQ2xCLE9BQU8sRUFBRSxTQUFTO0tBQ25CO0NBQ0YsQ0FBQztBQUVGLGVBQWUsSUFBSSxXQUFXLENBQUMsSUFBSSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBMYW5ndWFnZXNDb250ZW50LCBUZXh0Q29udGVudCB9IGZyb20gJy4uL3R5cGVzJztcblxuY29uc3QgdGV4dDogTGFuZ3VhZ2VzQ29udGVudCA9IHtcbiAgZXM6IHtcbiAgICBzcGFuaXNoOiAnRXNwYcOxb2wnLFxuICAgIGVuZ2xpc2g6ICdJbmdsw6lzJyxcbiAgfSxcbiAgZW46IHtcbiAgICBzcGFuaXNoOiAnU3BhbmlzaCcsXG4gICAgZW5nbGlzaDogJ0VuZ2xpc2gnLFxuICB9LFxufTtcblxuZXhwb3J0IGRlZmF1bHQgbmV3IFRleHRDb250ZW50KHRleHQpO1xuIl19
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TextContent } from "../types";
|
|
2
|
+
const text = {
|
|
3
|
+
es: {
|
|
4
|
+
light: 'Siempre claro',
|
|
5
|
+
dark: 'Siempre oscuro',
|
|
6
|
+
auto: 'Automático',
|
|
7
|
+
},
|
|
8
|
+
en: {
|
|
9
|
+
light: 'Always light',
|
|
10
|
+
dark: 'Always dark',
|
|
11
|
+
auto: 'System settings',
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
export default new TextContent(text);
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIi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,8 @@
|
|
|
1
|
+
import LangSettings from './components/lang-settings';
|
|
2
|
+
import ThemeSettings from './components/theme-settings';
|
|
3
|
+
const content = {
|
|
4
|
+
LangSettings,
|
|
5
|
+
ThemeSettings,
|
|
6
|
+
};
|
|
7
|
+
export default content;
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL3NlcnZpY2VzL2xhbmctcHJvdmlkZXIvY29udGVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFlBQVksTUFBTSw0QkFBNEIsQ0FBQztBQUN0RCxPQUFPLGFBQWEsTUFBTSw2QkFBNkIsQ0FBQztBQU94RCxNQUFNLE9BQU8sR0FBYTtJQUN4QixZQUFZO0lBQ1osYUFBYTtDQUNkLENBQUM7QUFFRixlQUFlLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBMYW5nU2V0dGluZ3MgZnJvbSAnLi9jb21wb25lbnRzL2xhbmctc2V0dGluZ3MnO1xuaW1wb3J0IFRoZW1lU2V0dGluZ3MgZnJvbSAnLi9jb21wb25lbnRzL3RoZW1lLXNldHRpbmdzJztcbmltcG9ydCB7IFRleHRDb250ZW50IH0gZnJvbSAnLi90eXBlcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHJvdmlkZXIge1xuICBbeDogc3RyaW5nXTogVGV4dENvbnRlbnQ7XG59XG5cbmNvbnN0IGNvbnRlbnQ6IFByb3ZpZGVyID0ge1xuICBMYW5nU2V0dGluZ3MsXG4gIFRoZW1lU2V0dGluZ3MsXG59O1xuXG5leHBvcnQgZGVmYXVsdCBjb250ZW50O1xuIl19
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Inject, Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import content from './content';
|
|
4
|
+
import { LangOption } from './types';
|
|
5
|
+
import { LocalStorageService } from '../local-storage.service';
|
|
6
|
+
import { LANG } from '../../shared/contants/storage';
|
|
7
|
+
import { ValtechConfigService } from '../../valtech-components.module';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class LangService {
|
|
10
|
+
constructor(config) {
|
|
11
|
+
this.config = config;
|
|
12
|
+
this.default = LangOption.ES;
|
|
13
|
+
console.log('injected config: ', config);
|
|
14
|
+
this.content = content;
|
|
15
|
+
const current = LocalStorageService.get(LANG);
|
|
16
|
+
this.selectedLang = new BehaviorSubject(current || this.default);
|
|
17
|
+
}
|
|
18
|
+
Text(className) {
|
|
19
|
+
console.log('content: ', this.content);
|
|
20
|
+
console.log('selected lang: ', this.selectedLang.value);
|
|
21
|
+
return this.content[className].Content[this.selectedLang.value];
|
|
22
|
+
}
|
|
23
|
+
get Lang() {
|
|
24
|
+
return this.selectedLang.value;
|
|
25
|
+
}
|
|
26
|
+
set Lang(lang) {
|
|
27
|
+
this.selectedLang.next(lang);
|
|
28
|
+
LocalStorageService.set(LANG, lang);
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LangService, deps: [{ token: ValtechConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
31
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LangService, providedIn: 'root' }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LangService, decorators: [{
|
|
34
|
+
type: Injectable,
|
|
35
|
+
args: [{
|
|
36
|
+
providedIn: 'root',
|
|
37
|
+
}]
|
|
38
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
39
|
+
type: Inject,
|
|
40
|
+
args: [ValtechConfigService]
|
|
41
|
+
}] }] });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZy1wcm92aWRlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGVjaC1jb21wb25lbnRzL3NyYy9saWIvc2VydmljZXMvbGFuZy1wcm92aWRlci9sYW5nLXByb3ZpZGVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLE9BQU8sTUFBTSxXQUFXLENBQUM7QUFDaEMsT0FBTyxFQUFFLFVBQVUsRUFBaUMsTUFBTSxTQUFTLENBQUM7QUFDcEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDL0QsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3JELE9BQU8sRUFBaUIsb0JBQW9CLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQzs7QUFLdEYsTUFBTSxPQUFPLFdBQVc7SUFLdEIsWUFBa0QsTUFBcUI7UUFBckIsV0FBTSxHQUFOLE1BQU0sQ0FBZTtRQUh2RSxZQUFPLEdBQUcsVUFBVSxDQUFDLEVBQUUsQ0FBQztRQUl0QixPQUFPLENBQUMsR0FBRyxDQUFDLG1CQUFtQixFQUFFLE1BQU0sQ0FBQyxDQUFDO1FBQ3pDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQ3ZCLE1BQU0sT0FBTyx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dGlvbj4oY3VycmVudCB8fCB0aGlzLmRlZmF1bHQpO1xuICB9XG5cbiAgVGV4dChjbGFzc05hbWU6IHN0cmluZyk6IExhbmd1YWdlVGV4dCB7XG4gICAgY29uc29sZS5sb2coJ2NvbnRlbnQ6ICcsIHRoaXMuY29udGVudCk7XG4gICAgY29uc29sZS5sb2coJ3NlbGVjdGVkIGxhbmc6ICcsIHRoaXMuc2VsZWN0ZWRMYW5nLnZhbHVlKTtcbiAgICByZXR1cm4gdGhpcy5jb250ZW50W2NsYXNzTmFtZV0uQ29udGVudFt0aGlzLnNlbGVjdGVkTGFuZy52YWx1ZV07XG4gIH1cblxuICBnZXQgTGFuZygpOiBMYW5nT3B0aW9uIHtcbiAgICByZXR1cm4gdGhpcy5zZWxlY3RlZExhbmcudmFsdWU7XG4gIH1cblxuICBzZXQgTGFuZyhsYW5nOiBMYW5nT3B0aW9uKSB7XG4gICAgdGhpcy5zZWxlY3RlZExhbmcubmV4dChsYW5nKTtcbiAgICBMb2NhbFN0b3JhZ2VTZXJ2aWNlLnNldDxMYW5nT3B0aW9uPihMQU5HLCBsYW5nKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class TextContent {
|
|
2
|
+
constructor(text) {
|
|
3
|
+
this.text = text;
|
|
4
|
+
}
|
|
5
|
+
get Content() {
|
|
6
|
+
return this.text;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export var LangOption;
|
|
10
|
+
(function (LangOption) {
|
|
11
|
+
LangOption["ES"] = "es";
|
|
12
|
+
LangOption["EN"] = "en";
|
|
13
|
+
})(LangOption || (LangOption = {}));
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9zZ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16 @@
|
|
|
1
|
+
export class LocalStorageService {
|
|
2
|
+
static set(reference, value) {
|
|
3
|
+
localStorage.setItem(reference, JSON.stringify(value));
|
|
4
|
+
}
|
|
5
|
+
static get(reference) {
|
|
6
|
+
const value = localStorage.getItem(reference);
|
|
7
|
+
return JSON.parse(value);
|
|
8
|
+
}
|
|
9
|
+
static remove(reference) {
|
|
10
|
+
localStorage.removeItem(reference);
|
|
11
|
+
}
|
|
12
|
+
static clear() {
|
|
13
|
+
localStorage.clear();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWwtc3RvcmFnZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGVjaC1jb21wb25lbnRzL3NyYy9saWIvc2VydmljZXMvbG9jYWwtc3RvcmFnZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxtQkFBbUI7SUFDOUIsTUFBTSxDQUFDLEdBQUcsQ0FBSSxTQUFpQixFQUFFLEtBQVE7UUFDdkMsWUFBWSxDQUFDLE9BQU8sQ0FBQyxTQUFTLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO0lBQ3pELENBQUM7SUFFRCxNQUFNLENBQUMsR0FBRyxDQUFJLFNBQWlCO1FBQzdCLE1BQU0sS0FBSyxHQUFHLFlBQVksQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLENBQUM7UUFDOUMsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBTSxDQUFDO0lBQ2hDLENBQUM7SUFFRCxNQUFNLENBQUMsTUFBTSxDQUFDLFNBQWlCO1FBQzdCLFlBQVksQ0FBQyxVQUFVLENBQUMsU0FBUyxD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iJBQUFBLE1BQU0sQ0FBQyxNQUFNLElBQUksR0FBRyxNQUFNLENBQUM7QUFDM0IsTUFBTSxDQUFDLE1BQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBMQU5HID0gJ0xBTkcnO1xuZXhwb3J0IGNvbnN0IFRIRU1FID0gJ1RIRU1FJzsiXX0=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
2
|
import { HttpClientModule } from '@angular/common/http';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
3
|
+
import { InjectionToken, NgModule } from '@angular/core';
|
|
4
4
|
import { IonicModule } from '@ionic/angular';
|
|
5
5
|
import { ButtonComponent } from './components/atoms/button/button.component';
|
|
6
6
|
import { DisplayComponent } from './components/atoms/display/display.component';
|
|
@@ -10,8 +10,24 @@ import { AvatarComponent } from './components/atoms/avatar/avatar.component';
|
|
|
10
10
|
import { DividerComponent } from './components/atoms/divider/divider.component';
|
|
11
11
|
import { ContentLoaderComponent } from './components/molecules/content-loader/content-loader.component';
|
|
12
12
|
import { LinkComponent } from './components/molecules/link/link.component';
|
|
13
|
+
import { SearchbarComponent } from './components/molecules/searchbar/searchbar.component';
|
|
14
|
+
import { ToolbarComponent } from './components/organisms/toolbar/toolbar.component';
|
|
15
|
+
import { LangService } from './services/lang-provider/lang-provider.service';
|
|
13
16
|
import * as i0 from "@angular/core";
|
|
17
|
+
export const ValtechConfigService = new InjectionToken('ValtechConfig');
|
|
14
18
|
export class ValtechComponentsModule {
|
|
19
|
+
static forRoot(config) {
|
|
20
|
+
return {
|
|
21
|
+
ngModule: ValtechComponentsModule,
|
|
22
|
+
providers: [
|
|
23
|
+
LangService,
|
|
24
|
+
{
|
|
25
|
+
provide: ValtechConfigService,
|
|
26
|
+
useValue: config
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
};
|
|
30
|
+
}
|
|
15
31
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16
32
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, declarations: [ButtonComponent,
|
|
17
33
|
DisplayComponent,
|
|
@@ -20,14 +36,18 @@ export class ValtechComponentsModule {
|
|
|
20
36
|
AvatarComponent,
|
|
21
37
|
DividerComponent,
|
|
22
38
|
ContentLoaderComponent,
|
|
23
|
-
LinkComponent
|
|
39
|
+
LinkComponent,
|
|
40
|
+
SearchbarComponent,
|
|
41
|
+
ToolbarComponent], imports: [CommonModule, HttpClientModule, IonicModule], exports: [ButtonComponent,
|
|
24
42
|
DisplayComponent,
|
|
25
43
|
TextComponent,
|
|
26
44
|
TitleComponent,
|
|
27
45
|
AvatarComponent,
|
|
28
46
|
DividerComponent,
|
|
29
47
|
ContentLoaderComponent,
|
|
30
|
-
LinkComponent
|
|
48
|
+
LinkComponent,
|
|
49
|
+
SearchbarComponent,
|
|
50
|
+
ToolbarComponent] }); }
|
|
31
51
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, imports: [CommonModule, HttpClientModule, IonicModule] }); }
|
|
32
52
|
}
|
|
33
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, decorators: [{
|
|
@@ -42,6 +62,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
42
62
|
DividerComponent,
|
|
43
63
|
ContentLoaderComponent,
|
|
44
64
|
LinkComponent,
|
|
65
|
+
SearchbarComponent,
|
|
66
|
+
ToolbarComponent,
|
|
45
67
|
],
|
|
46
68
|
imports: [CommonModule, HttpClientModule, IonicModule],
|
|
47
69
|
exports: [
|
|
@@ -53,7 +75,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
53
75
|
DividerComponent,
|
|
54
76
|
ContentLoaderComponent,
|
|
55
77
|
LinkComponent,
|
|
78
|
+
SearchbarComponent,
|
|
79
|
+
ToolbarComponent,
|
|
56
80
|
],
|
|
57
81
|
}]
|
|
58
82
|
}] });
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGVjaC1jb21wb25lbnRzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL3ZhbHRlY2gtY29tcG9uZW50cy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxjQUFjLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5RSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRDQUE0QyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDMUUsT0FBTyxFQUFFLGVBQWUsRUFBRSx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Ub29sYmFyQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBWYWx0ZWNoQ29tcG9uZW50c01vZHVsZSB7XG4gIHN0YXRpYyBmb3JSb290KGNvbmZpZzogVmFsdGVjaENvbmZpZyk6IE1vZHVsZVdpdGhQcm92aWRlcnM8YW55PiB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBWYWx0ZWNoQ29tcG9uZW50c01vZHVsZSxcbiAgICAgIHByb3ZpZGVyczogW1xuICAgICAgICBMYW5nU2VydmljZSxcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFZhbHRlY2hDb25maWdTZXJ2aWNlLFxuICAgICAgICAgIHVzZVZhbHVlOiBjb25maWdcbiAgICAgICAgfVxuICAgICAgXVxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -11,6 +11,8 @@ export * from './lib/components/atoms/avatar/avatar.component';
|
|
|
11
11
|
export * from './lib/components/atoms/divider/divider.component';
|
|
12
12
|
export * from './lib/components/molecules/content-loader/content-loader.component';
|
|
13
13
|
export * from './lib/components/molecules/link/link.component';
|
|
14
|
+
export * from './lib/components/molecules/searchbar/searchbar.component';
|
|
15
|
+
export * from './lib/components/organisms/toolbar/toolbar.component';
|
|
14
16
|
export * from './lib/components/types';
|
|
15
17
|
export * from './lib/valtech-components.module';
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsZ0RBQWdELENBQUM7QUFDL0QsY0FBYyxx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9tICcuL2xpYi9jb21wb25lbnRzL2F0b21zL2RpdmlkZXIvZGl2aWRlci5jb21wb25lbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL21vbGVjdWxlcy9jb250ZW50LWxvYWRlci9jb250ZW50LWxvYWRlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9tb2xlY3VsZXMvbGluay9saW5rLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL21vbGVjdWxlcy9zZWFyY2hiYXIvc2VhcmNoYmFyLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL3Rvb2xiYXIvdG9vbGJhci5jb21wb25lbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL3R5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3ZhbHRlY2gtY29tcG9uZW50cy5tb2R1bGUnO1xuXG5cbiJdfQ==
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, Input, Output, Injectable, Inject, InjectionToken, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i2 from '@ionic/angular';
|
|
6
6
|
import { IonicModule } from '@ionic/angular';
|
|
7
7
|
import { HttpClientModule } from '@angular/common/http';
|
|
8
|
+
import { BehaviorSubject } from 'rxjs';
|
|
8
9
|
|
|
9
10
|
const ENABLED = 'ENABLED';
|
|
10
11
|
const DISABLED = 'DISABLED';
|
|
@@ -21,7 +22,7 @@ class ButtonComponent {
|
|
|
21
22
|
this.onClick.emit();
|
|
22
23
|
}
|
|
23
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ButtonComponent, selector: "val-button", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type:
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ButtonComponent, selector: "val-button", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n", styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.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: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i2.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
25
26
|
}
|
|
26
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
27
28
|
type: Component,
|
|
@@ -255,7 +256,7 @@ class TextComponent {
|
|
|
255
256
|
}
|
|
256
257
|
ngOnInit() { }
|
|
257
258
|
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:
|
|
259
|
+
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: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
259
260
|
}
|
|
260
261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TextComponent, decorators: [{
|
|
261
262
|
type: Component,
|
|
@@ -274,7 +275,7 @@ class TitleComponent {
|
|
|
274
275
|
constructor() { }
|
|
275
276
|
ngOnInit() { }
|
|
276
277
|
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:
|
|
278
|
+
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: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
278
279
|
}
|
|
279
280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleComponent, decorators: [{
|
|
280
281
|
type: Component,
|
|
@@ -291,7 +292,7 @@ class DisplayComponent {
|
|
|
291
292
|
constructor() { }
|
|
292
293
|
ngOnInit() { }
|
|
293
294
|
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:
|
|
295
|
+
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: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
295
296
|
}
|
|
296
297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: DisplayComponent, decorators: [{
|
|
297
298
|
type: Component,
|
|
@@ -315,7 +316,7 @@ class AvatarComponent {
|
|
|
315
316
|
this.onClick.emit();
|
|
316
317
|
}
|
|
317
318
|
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:
|
|
319
|
+
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: i2.IonAvatar, selector: "ion-avatar" }] }); }
|
|
319
320
|
}
|
|
320
321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
321
322
|
type: Component,
|
|
@@ -357,7 +358,7 @@ class ContentLoaderComponent {
|
|
|
357
358
|
}
|
|
358
359
|
ngOnInit() { }
|
|
359
360
|
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:
|
|
361
|
+
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: i2.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
361
362
|
}
|
|
362
363
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ContentLoaderComponent, decorators: [{
|
|
363
364
|
type: Component,
|
|
@@ -381,7 +382,7 @@ class LinkComponent {
|
|
|
381
382
|
this.onClick.emit();
|
|
382
383
|
}
|
|
383
384
|
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:
|
|
385
|
+
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: i2.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: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
|
|
385
386
|
}
|
|
386
387
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LinkComponent, decorators: [{
|
|
387
388
|
type: Component,
|
|
@@ -396,7 +397,176 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
396
397
|
type: Output
|
|
397
398
|
}] } });
|
|
398
399
|
|
|
400
|
+
class SearchbarComponent {
|
|
401
|
+
constructor() {
|
|
402
|
+
this.focusEvent = new EventEmitter();
|
|
403
|
+
this.blurEvent = new EventEmitter();
|
|
404
|
+
this.filterEvent = new EventEmitter();
|
|
405
|
+
}
|
|
406
|
+
onSearch($event) {
|
|
407
|
+
const searchTerm = $event.detail.value;
|
|
408
|
+
this.filterEvent.emit(searchTerm);
|
|
409
|
+
}
|
|
410
|
+
onFocus() {
|
|
411
|
+
this.focusEvent.emit();
|
|
412
|
+
}
|
|
413
|
+
onBlur() {
|
|
414
|
+
this.blurEvent.emit();
|
|
415
|
+
}
|
|
416
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: SearchbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
417
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: SearchbarComponent, selector: "app-searchbar", inputs: { disabled: "disabled" }, outputs: { focusEvent: "focusEvent", blurEvent: "blurEvent", filterEvent: "filterEvent" }, ngImport: i0, template: "<ion-searchbar mode=\"ios\" debounce=\"500\" placeholder=\"B\u00FAsqueda\" [disabled]=\"disabled\"\n showCancelButton=\"focus\" cancelButtonText=\"Cancelar\" (ionInput)=\"onSearch($event)\" \n (ionBlur)=\"onBlur()\" (ionFocus)=\"onFocus()\">\n</ion-searchbar>", styles: ["ion-searchbar{--cancel-button-color: var(--ion-color-dark);--background: var(--ion-color-light)}\n"], dependencies: [{ kind: "component", type: i2.IonSearchbar, selector: "ion-searchbar", inputs: ["animated", "autocapitalize", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "maxlength", "minlength", "mode", "name", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar,ion-range" }] }); }
|
|
418
|
+
}
|
|
419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: SearchbarComponent, decorators: [{
|
|
420
|
+
type: Component,
|
|
421
|
+
args: [{ selector: 'app-searchbar', template: "<ion-searchbar mode=\"ios\" debounce=\"500\" placeholder=\"B\u00FAsqueda\" [disabled]=\"disabled\"\n showCancelButton=\"focus\" cancelButtonText=\"Cancelar\" (ionInput)=\"onSearch($event)\" \n (ionBlur)=\"onBlur()\" (ionFocus)=\"onFocus()\">\n</ion-searchbar>", styles: ["ion-searchbar{--cancel-button-color: var(--ion-color-dark);--background: var(--ion-color-light)}\n"] }]
|
|
422
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
423
|
+
type: Input
|
|
424
|
+
}], focusEvent: [{
|
|
425
|
+
type: Output
|
|
426
|
+
}], blurEvent: [{
|
|
427
|
+
type: Output
|
|
428
|
+
}], filterEvent: [{
|
|
429
|
+
type: Output
|
|
430
|
+
}] } });
|
|
431
|
+
|
|
432
|
+
class ToolbarComponent {
|
|
433
|
+
constructor() {
|
|
434
|
+
this.withBack = false;
|
|
435
|
+
this.withActions = false;
|
|
436
|
+
this.color = '';
|
|
437
|
+
this.textColor = '';
|
|
438
|
+
}
|
|
439
|
+
ngOnInit() { }
|
|
440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
441
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ToolbarComponent, selector: "val-toolbar", inputs: { withBack: "withBack", withActions: "withActions", color: "color", textColor: "textColor", title: "title" }, ngImport: i0, template: "<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-back-button default-href=\"#\" text=\"Volver\" color=\"dark\"></ion-back-button>\n </ion-buttons>\n <ion-buttons slot=\"end\" *ngIf=\"withActions\">\n <ng-content select=\"[toolbar-right-side]\"></ng-content>\n </ion-buttons>\n <ion-title [color]=\"textColor\">{{ title }}</ion-title>\n</ion-toolbar>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i2.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i2.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: i2.IonBackButton, selector: "ion-back-button" }] }); }
|
|
442
|
+
}
|
|
443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
444
|
+
type: Component,
|
|
445
|
+
args: [{ selector: 'val-toolbar', template: "<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-back-button default-href=\"#\" text=\"Volver\" color=\"dark\"></ion-back-button>\n </ion-buttons>\n <ion-buttons slot=\"end\" *ngIf=\"withActions\">\n <ng-content select=\"[toolbar-right-side]\"></ng-content>\n </ion-buttons>\n <ion-title [color]=\"textColor\">{{ title }}</ion-title>\n</ion-toolbar>\n" }]
|
|
446
|
+
}], ctorParameters: () => [], propDecorators: { withBack: [{
|
|
447
|
+
type: Input
|
|
448
|
+
}], withActions: [{
|
|
449
|
+
type: Input
|
|
450
|
+
}], color: [{
|
|
451
|
+
type: Input
|
|
452
|
+
}], textColor: [{
|
|
453
|
+
type: Input
|
|
454
|
+
}], title: [{
|
|
455
|
+
type: Input
|
|
456
|
+
}] } });
|
|
457
|
+
|
|
458
|
+
class TextContent {
|
|
459
|
+
constructor(text) {
|
|
460
|
+
this.text = text;
|
|
461
|
+
}
|
|
462
|
+
get Content() {
|
|
463
|
+
return this.text;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
var LangOption;
|
|
467
|
+
(function (LangOption) {
|
|
468
|
+
LangOption["ES"] = "es";
|
|
469
|
+
LangOption["EN"] = "en";
|
|
470
|
+
})(LangOption || (LangOption = {}));
|
|
471
|
+
|
|
472
|
+
const text$1 = {
|
|
473
|
+
es: {
|
|
474
|
+
spanish: 'Español',
|
|
475
|
+
english: 'Inglés',
|
|
476
|
+
},
|
|
477
|
+
en: {
|
|
478
|
+
spanish: 'Spanish',
|
|
479
|
+
english: 'English',
|
|
480
|
+
},
|
|
481
|
+
};
|
|
482
|
+
var LangSettings = new TextContent(text$1);
|
|
483
|
+
|
|
484
|
+
const text = {
|
|
485
|
+
es: {
|
|
486
|
+
light: 'Siempre claro',
|
|
487
|
+
dark: 'Siempre oscuro',
|
|
488
|
+
auto: 'Automático',
|
|
489
|
+
},
|
|
490
|
+
en: {
|
|
491
|
+
light: 'Always light',
|
|
492
|
+
dark: 'Always dark',
|
|
493
|
+
auto: 'System settings',
|
|
494
|
+
},
|
|
495
|
+
};
|
|
496
|
+
var ThemeSettings = new TextContent(text);
|
|
497
|
+
|
|
498
|
+
const content = {
|
|
499
|
+
LangSettings,
|
|
500
|
+
ThemeSettings,
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
class LocalStorageService {
|
|
504
|
+
static set(reference, value) {
|
|
505
|
+
localStorage.setItem(reference, JSON.stringify(value));
|
|
506
|
+
}
|
|
507
|
+
static get(reference) {
|
|
508
|
+
const value = localStorage.getItem(reference);
|
|
509
|
+
return JSON.parse(value);
|
|
510
|
+
}
|
|
511
|
+
static remove(reference) {
|
|
512
|
+
localStorage.removeItem(reference);
|
|
513
|
+
}
|
|
514
|
+
static clear() {
|
|
515
|
+
localStorage.clear();
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
const LANG = 'LANG';
|
|
520
|
+
const THEME = 'THEME';
|
|
521
|
+
|
|
522
|
+
class LangService {
|
|
523
|
+
constructor(config) {
|
|
524
|
+
this.config = config;
|
|
525
|
+
this.default = LangOption.ES;
|
|
526
|
+
console.log('injected config: ', config);
|
|
527
|
+
this.content = content;
|
|
528
|
+
const current = LocalStorageService.get(LANG);
|
|
529
|
+
this.selectedLang = new BehaviorSubject(current || this.default);
|
|
530
|
+
}
|
|
531
|
+
Text(className) {
|
|
532
|
+
console.log('content: ', this.content);
|
|
533
|
+
console.log('selected lang: ', this.selectedLang.value);
|
|
534
|
+
return this.content[className].Content[this.selectedLang.value];
|
|
535
|
+
}
|
|
536
|
+
get Lang() {
|
|
537
|
+
return this.selectedLang.value;
|
|
538
|
+
}
|
|
539
|
+
set Lang(lang) {
|
|
540
|
+
this.selectedLang.next(lang);
|
|
541
|
+
LocalStorageService.set(LANG, lang);
|
|
542
|
+
}
|
|
543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LangService, deps: [{ token: ValtechConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LangService, providedIn: 'root' }); }
|
|
545
|
+
}
|
|
546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: LangService, decorators: [{
|
|
547
|
+
type: Injectable,
|
|
548
|
+
args: [{
|
|
549
|
+
providedIn: 'root',
|
|
550
|
+
}]
|
|
551
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
552
|
+
type: Inject,
|
|
553
|
+
args: [ValtechConfigService]
|
|
554
|
+
}] }] });
|
|
555
|
+
|
|
556
|
+
const ValtechConfigService = new InjectionToken('ValtechConfig');
|
|
399
557
|
class ValtechComponentsModule {
|
|
558
|
+
static forRoot(config) {
|
|
559
|
+
return {
|
|
560
|
+
ngModule: ValtechComponentsModule,
|
|
561
|
+
providers: [
|
|
562
|
+
LangService,
|
|
563
|
+
{
|
|
564
|
+
provide: ValtechConfigService,
|
|
565
|
+
useValue: config
|
|
566
|
+
}
|
|
567
|
+
]
|
|
568
|
+
};
|
|
569
|
+
}
|
|
400
570
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
401
571
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, declarations: [ButtonComponent,
|
|
402
572
|
DisplayComponent,
|
|
@@ -405,14 +575,18 @@ class ValtechComponentsModule {
|
|
|
405
575
|
AvatarComponent,
|
|
406
576
|
DividerComponent,
|
|
407
577
|
ContentLoaderComponent,
|
|
408
|
-
LinkComponent
|
|
578
|
+
LinkComponent,
|
|
579
|
+
SearchbarComponent,
|
|
580
|
+
ToolbarComponent], imports: [CommonModule, HttpClientModule, IonicModule], exports: [ButtonComponent,
|
|
409
581
|
DisplayComponent,
|
|
410
582
|
TextComponent,
|
|
411
583
|
TitleComponent,
|
|
412
584
|
AvatarComponent,
|
|
413
585
|
DividerComponent,
|
|
414
586
|
ContentLoaderComponent,
|
|
415
|
-
LinkComponent
|
|
587
|
+
LinkComponent,
|
|
588
|
+
SearchbarComponent,
|
|
589
|
+
ToolbarComponent] }); }
|
|
416
590
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, imports: [CommonModule, HttpClientModule, IonicModule] }); }
|
|
417
591
|
}
|
|
418
592
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, decorators: [{
|
|
@@ -427,6 +601,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
427
601
|
DividerComponent,
|
|
428
602
|
ContentLoaderComponent,
|
|
429
603
|
LinkComponent,
|
|
604
|
+
SearchbarComponent,
|
|
605
|
+
ToolbarComponent,
|
|
430
606
|
],
|
|
431
607
|
imports: [CommonModule, HttpClientModule, IonicModule],
|
|
432
608
|
exports: [
|
|
@@ -438,6 +614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
438
614
|
DividerComponent,
|
|
439
615
|
ContentLoaderComponent,
|
|
440
616
|
LinkComponent,
|
|
617
|
+
SearchbarComponent,
|
|
618
|
+
ToolbarComponent,
|
|
441
619
|
],
|
|
442
620
|
}]
|
|
443
621
|
}] });
|
|
@@ -450,5 +628,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
450
628
|
* Generated bundle index. Do not edit.
|
|
451
629
|
*/
|
|
452
630
|
|
|
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 };
|
|
631
|
+
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, SearchbarComponent, 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, ToolbarComponent, ValtechComponentsModule, ValtechConfigService };
|
|
454
632
|
//# sourceMappingURL=valtech-components.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valtech-components.mjs","sources":["../../../projects/valtech-components/src/lib/components/types.ts","../../../projects/valtech-components/src/lib/components/atoms/button/button.component.ts","../../../projects/valtech-components/src/lib/components/atoms/button/button.component.html","../../../projects/valtech-components/src/lib/components/atoms/button/factory.ts","../../../projects/valtech-components/src/lib/components/atoms/text/text.component.ts","../../../projects/valtech-components/src/lib/components/atoms/text/text.component.html","../../../projects/valtech-components/src/lib/components/atoms/title/title.component.ts","../../../projects/valtech-components/src/lib/components/atoms/title/title.component.html","../../../projects/valtech-components/src/lib/components/atoms/display/display.component.ts","../../../projects/valtech-components/src/lib/components/atoms/display/display.component.html","../../../projects/valtech-components/src/lib/components/atoms/avatar/avatar.component.ts","../../../projects/valtech-components/src/lib/components/atoms/avatar/avatar.component.html","../../../projects/valtech-components/src/lib/components/atoms/divider/divider.component.ts","../../../projects/valtech-components/src/lib/components/atoms/divider/divider.component.html","../../../projects/valtech-components/src/lib/components/molecules/content-loader/content-loader.component.ts","../../../projects/valtech-components/src/lib/components/molecules/content-loader/content-loader.component.html","../../../projects/valtech-components/src/lib/components/molecules/link/link.component.ts","../../../projects/valtech-components/src/lib/components/molecules/link/link.component.html","../../../projects/valtech-components/src/lib/valtech-components.module.ts","../../../projects/valtech-components/src/public-api.ts","../../../projects/valtech-components/src/valtech-components.ts"],"sourcesContent":["export type ComponentState = 'ENABLED' | 'DISABLED' | 'WORKING';\nconst ENABLED: ComponentState = 'ENABLED';\nconst DISABLED: ComponentState = 'DISABLED';\nconst WORKING: ComponentState = 'WORKING';\nexport const ComponentStates = { ENABLED, DISABLED, WORKING };\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { ButtonMetadata } from './types';\nimport { ComponentStates } from '../../types';\n\n@Component({\n selector: 'val-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n})\nexport class ButtonComponent implements OnInit {\n states = ComponentStates;\n\n @Input()\n props!: ButtonMetadata;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n clickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n","import { ButtonMetadata, IconMetada } from './types';\n\nexport const Icon = (name: string, slot: 'start' | 'end'): IconMetada => {\n return {\n name,\n slot,\n };\n};\n\n/* name convention: COLOR FILL SIZE [optionals: SHAPE EXPAND ICON HREF/DOWNLOAD] TYPE */\n\nexport const BaseDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return {\n color: 'primary',\n state: 'ENABLED',\n text,\n size: 'default',\n type,\n };\n};\n\nexport const ClearDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'clear' };\n};\n\nexport const ClearDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), shape: 'round' };\n};\n\nexport const SolidDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'solid' };\n};\n\nexport const SolidDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), shape: 'round' };\n};\n\nexport const OutlineDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'outline' };\n};\n\nexport const OutlineDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), shape: 'round' };\n};\n\nexport const ClearDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), expand: 'full' };\n};\n\nexport const ClearDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefaultRound(text, type), expand: 'full' };\n};\n\nexport const ClearDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), expand: 'block' };\n};\n\nexport const ClearDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefaultRound(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), expand: 'full' };\n};\n\nexport const SolidDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefaultRound(text, type), expand: 'full' };\n};\n\nexport const SolidDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefaultRound(text, type), expand: 'block' };\n};\n\nexport const OutlineDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), expand: 'full' };\n};\n\nexport const OutlineDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefaultRound(text, type), expand: 'full' };\n};\n\nexport const OutlineDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), expand: 'block' };\n};\n\nexport const OutlineDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefaultRound(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultButton = (text: string): ButtonMetadata => {\n return SolidDefault(text, 'button');\n};\n\nexport const SolidSmallButton = (text: string): ButtonMetadata => {\n return { ...SolidDefault(text, 'button'), size: 'small' };\n};\n\nexport const SolidLargeButton = (text: string): ButtonMetadata => {\n return { ...SolidDefault(text, 'button'), size: 'large' };\n};\n\nexport const SolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return SolidDefaultRound(text, 'button');\n};\n\nexport const SolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRound(text, 'button'), size: 'small' };\n};\n\nexport const SolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRound(text, 'button'), size: 'large' };\n};\n\nexport const SolidFullButton = (text: string): ButtonMetadata => {\n return SolidDefaultFull(text, 'button');\n};\n\nexport const SolidBlockButton = (text: string): ButtonMetadata => {\n return SolidDefaultBlock(text, 'button');\n};\n\n/** PRIMARY */\n\nexport const PrimarySolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidDefaultRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), icon };\n};\n\nexport const PrimarySolidDefaultRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), href, target };\n};\n\nexport const PrimarySolidDefaultRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidSmallRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidSmallRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), icon };\n};\n\nexport const PrimarySolidSmallRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), href, target };\n};\n\nexport const PrimarySolidSmallRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidLargeRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidLargeRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), icon };\n};\n\nexport const PrimarySolidLargeRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), href, target };\n};\n\nexport const PrimarySolidLargeRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidBlockButton = (text: string): ButtonMetadata => {\n return { ...SolidBlockButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidBlockIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), icon };\n};\n\nexport const PrimarySolidBlockHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), href, target };\n};\n\nexport const PrimarySolidBlockIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidBlockIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidFullButton = (text: string): ButtonMetadata => {\n return { ...SolidFullButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidFullIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), icon };\n};\n\nexport const PrimarySolidFullHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), href, target };\n};\n\nexport const PrimarySolidFullIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidFullIconButton(text, icon), href, target };\n};\n\n/** SECONDARY */\n\nexport const SecondarySolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidDefaultRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), icon };\n};\n\nexport const SecondarySolidDefaultRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), href, target };\n};\n\nexport const SecondarySolidDefaultRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidSmallRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidSmallRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), icon };\n};\n\nexport const SecondarySolidSmallRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), href, target };\n};\n\nexport const SecondarySolidSmallRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidLargeRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidLargeRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), icon };\n};\n\nexport const SecondarySolidLargeRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), href, target };\n};\n\nexport const SecondarySolidLargeRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidFullButton = (text: string): ButtonMetadata => {\n return { ...SolidFullButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidFullIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), icon };\n};\n\nexport const SecondarySolidFullHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), href, target };\n};\n\nexport const SecondarySolidFullIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidFullIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidBlockButton = (text: string): ButtonMetadata => {\n return { ...SolidBlockButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidBlockIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), icon };\n};\n\nexport const SecondarySolidBlockHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), href, target };\n};\n\nexport const SecondarySolidBlockIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidBlockIconButton(text, icon), href, target };\n};\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-text',\n templateUrl: './text.component.html',\n styleUrls: ['./text.component.scss'],\n})\nexport class TextComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n @Input()\n bold: boolean = false;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\" [class.bold]=\"bold\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-title',\n templateUrl: './title.component.html',\n styleUrls: ['./title.component.scss'],\n})\nexport class TitleComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-display',\n templateUrl: './display.component.html',\n styleUrls: ['./display.component.scss'],\n})\nexport class DisplayComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'val-avatar',\n templateUrl: './avatar.component.html',\n styleUrls: ['./avatar.component.scss'],\n})\nexport class AvatarComponent implements OnInit {\n @Input()\n image: string;\n @Input()\n default: string;\n @Input()\n size: 'small' | 'medium' | 'large' = 'medium';\n @Input()\n box: boolean = false;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n onClickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'val-divider',\n templateUrl: './divider.component.html',\n styleUrls: ['./divider.component.scss'],\n})\nexport class DividerComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large';\n @Input()\n color: 'primary' | 'secondary' | 'dark' | 'light';\n @Input()\n fill: 'solid' | 'gradient';\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<div [ngClass]=\"['divider', size, color, fill]\"></div>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-content-loader',\n templateUrl: './content-loader.component.html',\n styleUrls: ['./content-loader.component.scss'],\n})\nexport class ContentLoaderComponent implements OnInit {\n @Input()\n color: Color = 'primary';\n @Input()\n size: 'small' | 'medium' | 'large' = 'small';\n @Input()\n name: 'circular' | 'crescent' | 'dots' | 'lines-sharp' = 'circular';\n @Input()\n text: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<div [ngClass]=\"['spinner-wrapper', size]\">\n <ion-spinner [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-spinner>\n <ion-text [color]=\"color\">\n <p>{{ text }}</p>\n </ion-text>\n</div>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-link',\n templateUrl: './link.component.html',\n styleUrls: ['./link.component.scss'],\n})\nexport class LinkComponent implements OnInit {\n @Input()\n text: string;\n @Input()\n size: 'small' | 'default' | 'large';\n @Input()\n color: Color;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n onClickHandler() {\n this.onClick.emit();\n }\n}\n","<div>\n <ion-button type=\"button\" [color]=\"color\" fill=\"clear\" [size]=\"size\" (click)=\"onClickHandler()\">\n <ion-icon slot=\"end\" name=\"chevron-forward-outline\"></ion-icon>\n <ion-text>{{ text }}</ion-text>\n </ion-button>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { NgModule } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { ButtonComponent } from './components/atoms/button/button.component';\nimport { DisplayComponent } from './components/atoms/display/display.component';\nimport { TextComponent } from './components/atoms/text/text.component';\nimport { TitleComponent } from './components/atoms/title/title.component';\nimport { AvatarComponent } from './components/atoms/avatar/avatar.component';\nimport { DividerComponent } from './components/atoms/divider/divider.component';\nimport { ContentLoaderComponent } from './components/molecules/content-loader/content-loader.component';\nimport { LinkComponent } from './components/molecules/link/link.component';\n\n@NgModule({\n declarations: [\n ButtonComponent,\n DisplayComponent,\n TextComponent,\n TitleComponent,\n AvatarComponent,\n DividerComponent,\n ContentLoaderComponent,\n LinkComponent,\n ],\n imports: [CommonModule, HttpClientModule, IonicModule],\n exports: [\n ButtonComponent,\n DisplayComponent,\n TextComponent,\n TitleComponent,\n AvatarComponent,\n DividerComponent,\n ContentLoaderComponent,\n LinkComponent,\n ],\n})\nexport class ValtechComponentsModule {}\n","/*\n * Public API Surface of valtech-components\n */\n\nexport * from './lib/components/atoms/button/button.component';\nexport * from './lib/components/atoms/button/types';\nexport * from './lib/components/atoms/button/factory';\nexport * from './lib/components/atoms/text/text.component';\nexport * from './lib/components/atoms/title/title.component';\nexport * from './lib/components/atoms/display/display.component';\nexport * from './lib/components/atoms/avatar/avatar.component';\nexport * from './lib/components/atoms/divider/divider.component';\n\nexport * from './lib/components/molecules/content-loader/content-loader.component';\nexport * from './lib/components/molecules/link/link.component';\n\nexport * from './lib/components/types';\nexport * from './lib/valtech-components.module';\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i1"],"mappings":";;;;;;;;AACA,MAAM,OAAO,GAAmB,SAAS,CAAC;AAC1C,MAAM,QAAQ,GAAmB,UAAU,CAAC;AAC5C,MAAM,OAAO,GAAmB,SAAS,CAAC;AAC7B,MAAA,eAAe,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO;;MCK9C,eAAe,CAAA;AAS1B,IAAA,WAAA,GAAA;QARA,IAAM,CAAA,MAAA,GAAG,eAAe,CAAC;AAMzB,QAAA,IAAA,CAAA,OAAO,GAA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,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAZxB,OAAA,EAAA,CAAA,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAY1C,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAvBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,cAAc;wBACd,eAAe;wBACf,gBAAgB;wBAChB,sBAAsB;wBACtB,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;AACtD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,cAAc;wBACd,eAAe;wBACf,gBAAgB;wBAChB,sBAAsB;wBACtB,aAAa;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACnCD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"valtech-components.mjs","sources":["../../../projects/valtech-components/src/lib/components/types.ts","../../../projects/valtech-components/src/lib/components/atoms/button/button.component.ts","../../../projects/valtech-components/src/lib/components/atoms/button/button.component.html","../../../projects/valtech-components/src/lib/components/atoms/button/factory.ts","../../../projects/valtech-components/src/lib/components/atoms/text/text.component.ts","../../../projects/valtech-components/src/lib/components/atoms/text/text.component.html","../../../projects/valtech-components/src/lib/components/atoms/title/title.component.ts","../../../projects/valtech-components/src/lib/components/atoms/title/title.component.html","../../../projects/valtech-components/src/lib/components/atoms/display/display.component.ts","../../../projects/valtech-components/src/lib/components/atoms/display/display.component.html","../../../projects/valtech-components/src/lib/components/atoms/avatar/avatar.component.ts","../../../projects/valtech-components/src/lib/components/atoms/avatar/avatar.component.html","../../../projects/valtech-components/src/lib/components/atoms/divider/divider.component.ts","../../../projects/valtech-components/src/lib/components/atoms/divider/divider.component.html","../../../projects/valtech-components/src/lib/components/molecules/content-loader/content-loader.component.ts","../../../projects/valtech-components/src/lib/components/molecules/content-loader/content-loader.component.html","../../../projects/valtech-components/src/lib/components/molecules/link/link.component.ts","../../../projects/valtech-components/src/lib/components/molecules/link/link.component.html","../../../projects/valtech-components/src/lib/components/molecules/searchbar/searchbar.component.ts","../../../projects/valtech-components/src/lib/components/molecules/searchbar/searchbar.component.html","../../../projects/valtech-components/src/lib/components/organisms/toolbar/toolbar.component.ts","../../../projects/valtech-components/src/lib/components/organisms/toolbar/toolbar.component.html","../../../projects/valtech-components/src/lib/services/lang-provider/types.ts","../../../projects/valtech-components/src/lib/services/lang-provider/components/lang-settings.ts","../../../projects/valtech-components/src/lib/services/lang-provider/components/theme-settings.ts","../../../projects/valtech-components/src/lib/services/lang-provider/content.ts","../../../projects/valtech-components/src/lib/services/local-storage.service.ts","../../../projects/valtech-components/src/lib/shared/contants/storage.ts","../../../projects/valtech-components/src/lib/services/lang-provider/lang-provider.service.ts","../../../projects/valtech-components/src/lib/valtech-components.module.ts","../../../projects/valtech-components/src/public-api.ts","../../../projects/valtech-components/src/valtech-components.ts"],"sourcesContent":["export type ComponentState = 'ENABLED' | 'DISABLED' | 'WORKING';\nconst ENABLED: ComponentState = 'ENABLED';\nconst DISABLED: ComponentState = 'DISABLED';\nconst WORKING: ComponentState = 'WORKING';\nexport const ComponentStates = { ENABLED, DISABLED, WORKING };\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { ButtonMetadata } from './types';\nimport { ComponentStates } from '../../types';\n\n@Component({\n selector: 'val-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n})\nexport class ButtonComponent implements OnInit {\n states = ComponentStates;\n\n @Input()\n props!: ButtonMetadata;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n clickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-button\n [type]=\"props.type\"\n [color]=\"props.color\"\n [expand]=\"props.expand\"\n [fill]=\"props.fill\"\n [size]=\"props.size\"\n [href]=\"props.href\"\n [target]=\"props.target\"\n [download]=\"props.download\"\n [shape]=\"props.shape\"\n (click)=\"clickHandler()\"\n>\n <ion-icon *ngIf=\"props.icon\" [slot]=\"props.icon.slot\" [name]=\"props.icon.name\"></ion-icon>\n <ion-spinner *ngIf=\"props.state === states.WORKING\" name=\"circular\"></ion-spinner>\n <ion-text *ngIf=\"props.state !== states.WORKING\">{{ props.text }}</ion-text>\n</ion-button>\n","import { ButtonMetadata, IconMetada } from './types';\n\nexport const Icon = (name: string, slot: 'start' | 'end'): IconMetada => {\n return {\n name,\n slot,\n };\n};\n\n/* name convention: COLOR FILL SIZE [optionals: SHAPE EXPAND ICON HREF/DOWNLOAD] TYPE */\n\nexport const BaseDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return {\n color: 'primary',\n state: 'ENABLED',\n text,\n size: 'default',\n type,\n };\n};\n\nexport const ClearDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'clear' };\n};\n\nexport const ClearDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), shape: 'round' };\n};\n\nexport const SolidDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'solid' };\n};\n\nexport const SolidDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), shape: 'round' };\n};\n\nexport const OutlineDefault = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...BaseDefault(text, type), fill: 'outline' };\n};\n\nexport const OutlineDefaultRound = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), shape: 'round' };\n};\n\nexport const ClearDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), expand: 'full' };\n};\n\nexport const ClearDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefaultRound(text, type), expand: 'full' };\n};\n\nexport const ClearDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefault(text, type), expand: 'block' };\n};\n\nexport const ClearDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...ClearDefaultRound(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), expand: 'full' };\n};\n\nexport const SolidDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefaultRound(text, type), expand: 'full' };\n};\n\nexport const SolidDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefault(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...SolidDefaultRound(text, type), expand: 'block' };\n};\n\nexport const OutlineDefaultFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), expand: 'full' };\n};\n\nexport const OutlineDefaultRoundFull = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefaultRound(text, type), expand: 'full' };\n};\n\nexport const OutlineDefaultBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefault(text, type), expand: 'block' };\n};\n\nexport const OutlineDefaultRoundBlock = (text: string, type: 'button' | 'submit' | 'reset'): ButtonMetadata => {\n return { ...OutlineDefaultRound(text, type), expand: 'block' };\n};\n\nexport const SolidDefaultButton = (text: string): ButtonMetadata => {\n return SolidDefault(text, 'button');\n};\n\nexport const SolidSmallButton = (text: string): ButtonMetadata => {\n return { ...SolidDefault(text, 'button'), size: 'small' };\n};\n\nexport const SolidLargeButton = (text: string): ButtonMetadata => {\n return { ...SolidDefault(text, 'button'), size: 'large' };\n};\n\nexport const SolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return SolidDefaultRound(text, 'button');\n};\n\nexport const SolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRound(text, 'button'), size: 'small' };\n};\n\nexport const SolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRound(text, 'button'), size: 'large' };\n};\n\nexport const SolidFullButton = (text: string): ButtonMetadata => {\n return SolidDefaultFull(text, 'button');\n};\n\nexport const SolidBlockButton = (text: string): ButtonMetadata => {\n return SolidDefaultBlock(text, 'button');\n};\n\n/** PRIMARY */\n\nexport const PrimarySolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidDefaultRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), icon };\n};\n\nexport const PrimarySolidDefaultRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundButton(text), href, target };\n};\n\nexport const PrimarySolidDefaultRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidDefaultRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidSmallRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidSmallRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), icon };\n};\n\nexport const PrimarySolidSmallRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundButton(text), href, target };\n};\n\nexport const PrimarySolidSmallRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidSmallRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidLargeRoundButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidLargeRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), icon };\n};\n\nexport const PrimarySolidLargeRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundButton(text), href, target };\n};\n\nexport const PrimarySolidLargeRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidLargeRoundIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidBlockButton = (text: string): ButtonMetadata => {\n return { ...SolidBlockButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidBlockIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), icon };\n};\n\nexport const PrimarySolidBlockHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidBlockButton(text), href, target };\n};\n\nexport const PrimarySolidBlockIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidBlockIconButton(text, icon), href, target };\n};\n\nexport const PrimarySolidFullButton = (text: string): ButtonMetadata => {\n return { ...SolidFullButton(text), color: 'primary' };\n};\n\nexport const PrimarySolidFullIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), icon };\n};\n\nexport const PrimarySolidFullHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidFullButton(text), href, target };\n};\n\nexport const PrimarySolidFullIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...PrimarySolidFullIconButton(text, icon), href, target };\n};\n\n/** SECONDARY */\n\nexport const SecondarySolidDefaultRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidDefaultRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidDefaultRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), icon };\n};\n\nexport const SecondarySolidDefaultRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundButton(text), href, target };\n};\n\nexport const SecondarySolidDefaultRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidDefaultRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidSmallRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidSmallRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidSmallRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), icon };\n};\n\nexport const SecondarySolidSmallRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundButton(text), href, target };\n};\n\nexport const SecondarySolidSmallRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidSmallRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidLargeRoundButton = (text: string): ButtonMetadata => {\n return { ...SolidLargeRoundButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidLargeRoundIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), icon };\n};\n\nexport const SecondarySolidLargeRoundHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundButton(text), href, target };\n};\n\nexport const SecondarySolidLargeRoundIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidLargeRoundIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidFullButton = (text: string): ButtonMetadata => {\n return { ...SolidFullButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidFullIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), icon };\n};\n\nexport const SecondarySolidFullHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidFullButton(text), href, target };\n};\n\nexport const SecondarySolidFullIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidFullIconButton(text, icon), href, target };\n};\n\nexport const SecondarySolidBlockButton = (text: string): ButtonMetadata => {\n return { ...SolidBlockButton(text), color: 'secondary' };\n};\n\nexport const SecondarySolidBlockIconButton = (text: string, icon: IconMetada): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), icon };\n};\n\nexport const SecondarySolidBlockHrefButton = (\n text: string,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidBlockButton(text), href, target };\n};\n\nexport const SecondarySolidBlockIconHrefButton = (\n text: string,\n icon: IconMetada,\n href: string,\n target: '_blank' | '_self' | '_parent' | '_top',\n): ButtonMetadata => {\n return { ...SecondarySolidBlockIconButton(text, icon), href, target };\n};\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-text',\n templateUrl: './text.component.html',\n styleUrls: ['./text.component.scss'],\n})\nexport class TextComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n @Input()\n bold: boolean = false;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\" [class.bold]=\"bold\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-title',\n templateUrl: './title.component.html',\n styleUrls: ['./title.component.scss'],\n})\nexport class TitleComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-display',\n templateUrl: './display.component.html',\n styleUrls: ['./display.component.scss'],\n})\nexport class DisplayComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large' | 'xlarge';\n @Input()\n color: Color;\n @Input()\n content: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<ion-text [color]=\"color\">\n <p [class]=\"size\">\n {{ content }}\n </p>\n</ion-text>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'val-avatar',\n templateUrl: './avatar.component.html',\n styleUrls: ['./avatar.component.scss'],\n})\nexport class AvatarComponent implements OnInit {\n @Input()\n image: string;\n @Input()\n default: string;\n @Input()\n size: 'small' | 'medium' | 'large' = 'medium';\n @Input()\n box: boolean = false;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n onClickHandler() {\n this.onClick.emit();\n }\n}\n","<ion-avatar [class]=\"size\" [class.box]=\"box\" (click)=\"onClickHandler()\">\n <img alt=\"profile image\" [src]=\"image || default\" />\n</ion-avatar>\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'val-divider',\n templateUrl: './divider.component.html',\n styleUrls: ['./divider.component.scss'],\n})\nexport class DividerComponent implements OnInit {\n @Input()\n size: 'small' | 'medium' | 'large';\n @Input()\n color: 'primary' | 'secondary' | 'dark' | 'light';\n @Input()\n fill: 'solid' | 'gradient';\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<div [ngClass]=\"['divider', size, color, fill]\"></div>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-content-loader',\n templateUrl: './content-loader.component.html',\n styleUrls: ['./content-loader.component.scss'],\n})\nexport class ContentLoaderComponent implements OnInit {\n @Input()\n color: Color = 'primary';\n @Input()\n size: 'small' | 'medium' | 'large' = 'small';\n @Input()\n name: 'circular' | 'crescent' | 'dots' | 'lines-sharp' = 'circular';\n @Input()\n text: string;\n\n constructor() {}\n\n ngOnInit() {}\n}\n","<div [ngClass]=\"['spinner-wrapper', size]\">\n <ion-spinner [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-spinner>\n <ion-text [color]=\"color\">\n <p>{{ text }}</p>\n </ion-text>\n</div>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-link',\n templateUrl: './link.component.html',\n styleUrls: ['./link.component.scss'],\n})\nexport class LinkComponent implements OnInit {\n @Input()\n text: string;\n @Input()\n size: 'small' | 'default' | 'large';\n @Input()\n color: Color;\n\n @Output()\n onClick = new EventEmitter();\n\n constructor() {}\n\n ngOnInit() {}\n\n onClickHandler() {\n this.onClick.emit();\n }\n}\n","<div>\n <ion-button type=\"button\" [color]=\"color\" fill=\"clear\" [size]=\"size\" (click)=\"onClickHandler()\">\n <ion-icon slot=\"end\" name=\"chevron-forward-outline\"></ion-icon>\n <ion-text>{{ text }}</ion-text>\n </ion-button>\n</div>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'app-searchbar',\n templateUrl: './searchbar.component.html',\n styleUrls: ['./searchbar.component.scss'],\n})\nexport class SearchbarComponent {\n @Input() disabled: boolean;\n\n @Output() focusEvent = new EventEmitter<void>();\n\n @Output() blurEvent = new EventEmitter<void>();\n\n @Output() filterEvent = new EventEmitter<string>();\n\n constructor() {}\n\n onSearch($event: any) {\n const searchTerm = $event.detail.value\n this.filterEvent.emit(searchTerm);\n }\n\n onFocus() {\n this.focusEvent.emit();\n }\n\n onBlur() {\n this.blurEvent.emit();\n }\n}\n","<ion-searchbar mode=\"ios\" debounce=\"500\" placeholder=\"Búsqueda\" [disabled]=\"disabled\"\n showCancelButton=\"focus\" cancelButtonText=\"Cancelar\" (ionInput)=\"onSearch($event)\" \n (ionBlur)=\"onBlur()\" (ionFocus)=\"onFocus()\">\n</ion-searchbar>","import { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@ionic/core';\n\n@Component({\n selector: 'val-toolbar',\n templateUrl: './toolbar.component.html',\n styleUrls: ['./toolbar.component.scss'],\n})\nexport class ToolbarComponent implements OnInit {\n @Input()\n withBack: boolean = false;\n @Input()\n withActions: boolean = false;\n @Input()\n color: Color = '';\n @Input()\n textColor: Color = '';\n @Input()\n title: string;\n\n constructor() { }\n\n ngOnInit() {}\n\n}\n","<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-back-button default-href=\"#\" text=\"Volver\" color=\"dark\"></ion-back-button>\n </ion-buttons>\n <ion-buttons slot=\"end\" *ngIf=\"withActions\">\n <ng-content select=\"[toolbar-right-side]\"></ng-content>\n </ion-buttons>\n <ion-title [color]=\"textColor\">{{ title }}</ion-title>\n</ion-toolbar>\n","export type LanguageText = {\n [key: string]: string;\n};\n\nexport type LanguagesContent = {\n [key: string]: LanguageText;\n};\n\nexport type ContentProvider = {\n [x: string]: TextContent;\n};\n\nexport class TextContent {\n text: LanguagesContent;\n constructor(text: LanguagesContent) {\n this.text = text;\n }\n\n get Content(): LanguagesContent {\n return this.text;\n }\n}\n\nexport enum LangOption {\n ES = 'es',\n EN = 'en',\n}\n","import { LanguagesContent, TextContent } from '../types';\n\nconst text: LanguagesContent = {\n es: {\n spanish: 'Español',\n english: 'Inglés',\n },\n en: {\n spanish: 'Spanish',\n english: 'English',\n },\n};\n\nexport default new TextContent(text);\n","import { LanguagesContent, TextContent } from \"../types\";\n\nconst text: LanguagesContent = {\n es: {\n light: 'Siempre claro',\n dark: 'Siempre oscuro',\n auto: 'Automático',\n },\n en: {\n light: 'Always light',\n dark: 'Always dark',\n auto: 'System settings',\n },\n};\n\nexport default new TextContent(text);\n","import LangSettings from './components/lang-settings';\nimport ThemeSettings from './components/theme-settings';\nimport { TextContent } from './types';\n\nexport interface Provider {\n [x: string]: TextContent;\n}\n\nconst content: Provider = {\n LangSettings,\n ThemeSettings,\n};\n\nexport default content;\n","export class LocalStorageService {\n static set<T>(reference: string, value: T): void {\n localStorage.setItem(reference, JSON.stringify(value));\n }\n\n static get<T>(reference: string): T {\n const value = localStorage.getItem(reference);\n return JSON.parse(value) as T;\n }\n\n static remove(reference: string): void {\n localStorage.removeItem(reference);\n }\n\n static clear() {\n localStorage.clear();\n }\n}\n","export const LANG = 'LANG';\nexport const THEME = 'THEME';","import { Inject, Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\nimport content from './content';\nimport { LangOption, LanguageText, ContentProvider } from './types';\nimport { LocalStorageService } from '../local-storage.service';\nimport { LANG } from '../../shared/contants/storage';\nimport { ValtechConfig, ValtechConfigService } from '../../valtech-components.module';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LangService {\n content: ContentProvider;\n default = LangOption.ES;\n selectedLang: BehaviorSubject<LangOption>;\n\n constructor(@Inject(ValtechConfigService) private config: ValtechConfig) {\n console.log('injected config: ', config);\n this.content = content;\n const current = LocalStorageService.get<LangOption>(LANG);\n this.selectedLang = new BehaviorSubject<LangOption>(current || this.default);\n }\n\n Text(className: string): LanguageText {\n console.log('content: ', this.content);\n console.log('selected lang: ', this.selectedLang.value);\n return this.content[className].Content[this.selectedLang.value];\n }\n\n get Lang(): LangOption {\n return this.selectedLang.value;\n }\n\n set Lang(lang: LangOption) {\n this.selectedLang.next(lang);\n LocalStorageService.set<LangOption>(LANG, lang);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { ButtonComponent } from './components/atoms/button/button.component';\nimport { DisplayComponent } from './components/atoms/display/display.component';\nimport { TextComponent } from './components/atoms/text/text.component';\nimport { TitleComponent } from './components/atoms/title/title.component';\nimport { AvatarComponent } from './components/atoms/avatar/avatar.component';\nimport { DividerComponent } from './components/atoms/divider/divider.component';\nimport { ContentLoaderComponent } from './components/molecules/content-loader/content-loader.component';\nimport { LinkComponent } from './components/molecules/link/link.component';\nimport { SearchbarComponent } from './components/molecules/searchbar/searchbar.component';\nimport { ToolbarComponent } from './components/organisms/toolbar/toolbar.component';\nimport { Provider } from './services/lang-provider/content';\nimport { LangService } from './services/lang-provider/lang-provider.service';\n\nexport interface ValtechConfig {\n content: Provider;\n}\n\nexport const ValtechConfigService = new InjectionToken<ValtechConfig>('ValtechConfig');\n\n@NgModule({\n declarations: [\n ButtonComponent,\n DisplayComponent,\n TextComponent,\n TitleComponent,\n AvatarComponent,\n DividerComponent,\n ContentLoaderComponent,\n LinkComponent,\n SearchbarComponent,\n ToolbarComponent,\n ],\n imports: [CommonModule, HttpClientModule, IonicModule],\n exports: [\n ButtonComponent,\n DisplayComponent,\n TextComponent,\n TitleComponent,\n AvatarComponent,\n DividerComponent,\n ContentLoaderComponent,\n LinkComponent,\n SearchbarComponent,\n ToolbarComponent,\n ],\n})\nexport class ValtechComponentsModule {\n static forRoot(config: ValtechConfig): ModuleWithProviders<any> {\n return {\n ngModule: ValtechComponentsModule,\n providers: [\n LangService,\n {\n provide: ValtechConfigService,\n useValue: config\n }\n ]\n };\n }\n}\n","/*\n * Public API Surface of valtech-components\n */\n\nexport * from './lib/components/atoms/button/button.component';\nexport * from './lib/components/atoms/button/types';\nexport * from './lib/components/atoms/button/factory';\nexport * from './lib/components/atoms/text/text.component';\nexport * from './lib/components/atoms/title/title.component';\nexport * from './lib/components/atoms/display/display.component';\nexport * from './lib/components/atoms/avatar/avatar.component';\nexport * from './lib/components/atoms/divider/divider.component';\n\nexport * from './lib/components/molecules/content-loader/content-loader.component';\nexport * from './lib/components/molecules/link/link.component';\nexport * from './lib/components/molecules/searchbar/searchbar.component';\n\nexport * from './lib/components/organisms/toolbar/toolbar.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","text"],"mappings":";;;;;;;;;AACA,MAAM,OAAO,GAAmB,SAAS,CAAC;AAC1C,MAAM,QAAQ,GAAmB,UAAU,CAAC;AAC5C,MAAM,OAAO,GAAmB,SAAS,CAAC;AAC7B,MAAA,eAAe,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO;;MCK9C,eAAe,CAAA;AAS1B,IAAA,WAAA,GAAA;QARA,IAAM,CAAA,MAAA,GAAG,eAAe,CAAC;AAMzB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,YAAY,EAAE,CAAC;KAEb;AAEhB,IAAA,QAAQ,MAAK;IAEb,YAAY,GAAA;AACV,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;KACrB;8GAfU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAA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ACjDD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SearchbarComponent {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
focusEvent: EventEmitter<void>;
|
|
6
|
+
blurEvent: EventEmitter<void>;
|
|
7
|
+
filterEvent: EventEmitter<string>;
|
|
8
|
+
constructor();
|
|
9
|
+
onSearch($event: any): void;
|
|
10
|
+
onFocus(): void;
|
|
11
|
+
onBlur(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "app-searchbar", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "filterEvent": "filterEvent"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Color } from '@ionic/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToolbarComponent implements OnInit {
|
|
5
|
+
withBack: boolean;
|
|
6
|
+
withActions: boolean;
|
|
7
|
+
color: Color;
|
|
8
|
+
textColor: Color;
|
|
9
|
+
title: string;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "val-toolbar", never, { "withBack": { "alias": "withBack"; "required": false; }; "withActions": { "alias": "withActions"; "required": false; }; "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["[toolbar-right-side]"], false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { LangOption, LanguageText, ContentProvider } from './types';
|
|
3
|
+
import { ValtechConfig } from '../../valtech-components.module';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LangService {
|
|
6
|
+
private config;
|
|
7
|
+
content: ContentProvider;
|
|
8
|
+
default: LangOption;
|
|
9
|
+
selectedLang: BehaviorSubject<LangOption>;
|
|
10
|
+
constructor(config: ValtechConfig);
|
|
11
|
+
Text(className: string): LanguageText;
|
|
12
|
+
get Lang(): LangOption;
|
|
13
|
+
set Lang(lang: LangOption);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LangService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LangService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type LanguageText = {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
};
|
|
4
|
+
export type LanguagesContent = {
|
|
5
|
+
[key: string]: LanguageText;
|
|
6
|
+
};
|
|
7
|
+
export type ContentProvider = {
|
|
8
|
+
[x: string]: TextContent;
|
|
9
|
+
};
|
|
10
|
+
export declare class TextContent {
|
|
11
|
+
text: LanguagesContent;
|
|
12
|
+
constructor(text: LanguagesContent);
|
|
13
|
+
get Content(): LanguagesContent;
|
|
14
|
+
}
|
|
15
|
+
export declare enum LangOption {
|
|
16
|
+
ES = "es",
|
|
17
|
+
EN = "en"
|
|
18
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Provider } from './services/lang-provider/content';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
import * as i1 from "./components/atoms/button/button.component";
|
|
3
5
|
import * as i2 from "./components/atoms/display/display.component";
|
|
@@ -7,11 +9,18 @@ import * as i5 from "./components/atoms/avatar/avatar.component";
|
|
|
7
9
|
import * as i6 from "./components/atoms/divider/divider.component";
|
|
8
10
|
import * as i7 from "./components/molecules/content-loader/content-loader.component";
|
|
9
11
|
import * as i8 from "./components/molecules/link/link.component";
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@
|
|
12
|
+
import * as i9 from "./components/molecules/searchbar/searchbar.component";
|
|
13
|
+
import * as i10 from "./components/organisms/toolbar/toolbar.component";
|
|
14
|
+
import * as i11 from "@angular/common";
|
|
15
|
+
import * as i12 from "@angular/common/http";
|
|
16
|
+
import * as i13 from "@ionic/angular";
|
|
17
|
+
export interface ValtechConfig {
|
|
18
|
+
content: Provider;
|
|
19
|
+
}
|
|
20
|
+
export declare const ValtechConfigService: InjectionToken<ValtechConfig>;
|
|
13
21
|
export declare class ValtechComponentsModule {
|
|
22
|
+
static forRoot(config: ValtechConfig): ModuleWithProviders<any>;
|
|
14
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValtechComponentsModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ValtechComponentsModule, [typeof i1.ButtonComponent, typeof i2.DisplayComponent, typeof i3.TextComponent, typeof i4.TitleComponent, typeof i5.AvatarComponent, typeof i6.DividerComponent, typeof i7.ContentLoaderComponent, typeof i8.LinkComponent], [typeof
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ValtechComponentsModule, [typeof i1.ButtonComponent, typeof i2.DisplayComponent, typeof i3.TextComponent, typeof i4.TitleComponent, typeof i5.AvatarComponent, typeof i6.DividerComponent, typeof i7.ContentLoaderComponent, typeof i8.LinkComponent, typeof i9.SearchbarComponent, typeof i10.ToolbarComponent], [typeof i11.CommonModule, typeof i12.HttpClientModule, typeof i13.IonicModule], [typeof i1.ButtonComponent, typeof i2.DisplayComponent, typeof i3.TextComponent, typeof i4.TitleComponent, typeof i5.AvatarComponent, typeof i6.DividerComponent, typeof i7.ContentLoaderComponent, typeof i8.LinkComponent, typeof i9.SearchbarComponent, typeof i10.ToolbarComponent]>;
|
|
16
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<ValtechComponentsModule>;
|
|
17
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valtech-components",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/solucionesvaltech/valtech-workspace.git"
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"@angular/common": "^17.3.0",
|
|
13
13
|
"@angular/core": "^17.3.0",
|
|
14
|
-
"@ionic/angular": "^7.8.0"
|
|
14
|
+
"@ionic/angular": "^7.8.0",
|
|
15
|
+
"rxjs": "~7.8.0"
|
|
15
16
|
},
|
|
16
17
|
"license": "MIT",
|
|
17
18
|
"dependencies": {
|
package/public-api.d.ts
CHANGED
|
@@ -8,5 +8,7 @@ export * from './lib/components/atoms/avatar/avatar.component';
|
|
|
8
8
|
export * from './lib/components/atoms/divider/divider.component';
|
|
9
9
|
export * from './lib/components/molecules/content-loader/content-loader.component';
|
|
10
10
|
export * from './lib/components/molecules/link/link.component';
|
|
11
|
+
export * from './lib/components/molecules/searchbar/searchbar.component';
|
|
12
|
+
export * from './lib/components/organisms/toolbar/toolbar.component';
|
|
11
13
|
export * from './lib/components/types';
|
|
12
14
|
export * from './lib/valtech-components.module';
|