valtech-components 1.11.26 → 1.11.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/esm2022/lib/components/atoms/box/box.component.mjs +33 -0
  2. package/esm2022/lib/components/atoms/icon/icon.component.mjs +23 -0
  3. package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +27 -0
  4. package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +26 -0
  5. package/esm2022/lib/components/molecules/title-block/types.mjs +2 -0
  6. package/esm2022/lib/components/organisms/alert-box/alert-box.component.mjs +31 -0
  7. package/esm2022/lib/components/organisms/banner/banner.component.mjs +32 -0
  8. package/esm2022/lib/components/organisms/banner/types.mjs +2 -0
  9. package/esm2022/lib/components/organisms/notes-box/notes-box.component.mjs +29 -0
  10. package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +3 -3
  11. package/esm2022/lib/valtech-components.module.mjs +41 -6
  12. package/esm2022/public-api.mjs +8 -1
  13. package/fesm2022/valtech-components.mjs +204 -8
  14. package/fesm2022/valtech-components.mjs.map +1 -1
  15. package/lib/components/atoms/box/box.component.d.ts +15 -0
  16. package/lib/components/atoms/icon/icon.component.d.ts +12 -0
  17. package/lib/components/molecules/button-group/button-group.component.d.ts +13 -0
  18. package/lib/components/molecules/title-block/title-block.component.d.ts +13 -0
  19. package/lib/components/molecules/title-block/types.d.ts +11 -0
  20. package/lib/components/organisms/alert-box/alert-box.component.d.ts +14 -0
  21. package/lib/components/organisms/banner/banner.component.d.ts +14 -0
  22. package/lib/components/organisms/banner/types.d.ts +11 -0
  23. package/lib/components/organisms/notes-box/notes-box.component.d.ts +14 -0
  24. package/lib/valtech-components.module.d.ts +20 -13
  25. package/package.json +1 -1
  26. package/public-api.d.ts +7 -0
  27. package/src/lib/components/styles/overrides.scss +4 -0
@@ -354,6 +354,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
354
354
  type: Input
355
355
  }] } });
356
356
 
357
+ class BoxComponent {
358
+ constructor() {
359
+ this.color = 'dark';
360
+ this.bordered = false;
361
+ this.leftBorder = false;
362
+ this.onClick = new EventEmitter();
363
+ }
364
+ ngOnInit() { }
365
+ clickHandler() {
366
+ this.onClick.emit();
367
+ }
368
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
369
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: BoxComponent, selector: "val-box", inputs: { color: "color", icon: "icon", bordered: "bordered", leftBorder: "leftBorder" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ion-card class=\"box\" [color]=\"color\" [class.bordered]=\"bordered\" [class.left-border]=\"leftBorder\">\n <ion-icon *ngIf=\"!!icon\" class=\"icon\" [name]=\"icon\" (click)=\"clickHandler()\"></ion-icon>\n <ng-content select=\"[body]\"></ng-content>\n</ion-card>\n", styles: [".bordered{border:.0625rem solid var(--ion-color-medium)}.box{width:100%;margin:0rem;border-radius:0rem;box-shadow:none;padding:.25rem}@media (min-width: 768px){.box{padding:.5rem}}.icon{cursor:pointer;margin:0rem;padding:0rem;position:absolute;right:.25rem;top:.25rem;font-size:1rem}@media (min-width: 768px){.icon{right:.5rem;top:.5rem;font-size:1.5rem}}.left-border{border-left:.1875rem solid #dde3ed}.left-border.small{border-width:.1875rem}.left-border.medium{border-width:.375rem}.left-border.large{border-width:.4375rem}.left-border.xlarge{border-width:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }] }); }
370
+ }
371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BoxComponent, decorators: [{
372
+ type: Component,
373
+ args: [{ selector: 'val-box', template: "<ion-card class=\"box\" [color]=\"color\" [class.bordered]=\"bordered\" [class.left-border]=\"leftBorder\">\n <ion-icon *ngIf=\"!!icon\" class=\"icon\" [name]=\"icon\" (click)=\"clickHandler()\"></ion-icon>\n <ng-content select=\"[body]\"></ng-content>\n</ion-card>\n", styles: [".bordered{border:.0625rem solid var(--ion-color-medium)}.box{width:100%;margin:0rem;border-radius:0rem;box-shadow:none;padding:.25rem}@media (min-width: 768px){.box{padding:.5rem}}.icon{cursor:pointer;margin:0rem;padding:0rem;position:absolute;right:.25rem;top:.25rem;font-size:1rem}@media (min-width: 768px){.icon{right:.5rem;top:.5rem;font-size:1.5rem}}.left-border{border-left:.1875rem solid #dde3ed}.left-border.small{border-width:.1875rem}.left-border.medium{border-width:.375rem}.left-border.large{border-width:.4375rem}.left-border.xlarge{border-width:.5rem}\n"] }]
374
+ }], ctorParameters: () => [], propDecorators: { color: [{
375
+ type: Input
376
+ }], icon: [{
377
+ type: Input
378
+ }], bordered: [{
379
+ type: Input
380
+ }], leftBorder: [{
381
+ type: Input
382
+ }], onClick: [{
383
+ type: Output
384
+ }] } });
385
+
386
+ class IconComponent {
387
+ constructor() {
388
+ this.size = 'small';
389
+ }
390
+ ngOnInit() { }
391
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
392
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: IconComponent, selector: "val-icon", inputs: { size: "size", color: "color", name: "name" }, ngImport: i0, template: "<ion-icon [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-icon>\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: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }] }); }
393
+ }
394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: IconComponent, decorators: [{
395
+ type: Component,
396
+ args: [{ selector: 'val-icon', template: "<ion-icon [ngClass]=\"[size]\" [name]=\"name\" [color]=\"color\"></ion-icon>\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"] }]
397
+ }], ctorParameters: () => [], propDecorators: { size: [{
398
+ type: Input
399
+ }], color: [{
400
+ type: Input
401
+ }], name: [{
402
+ type: Input
403
+ }] } });
404
+
357
405
  class ContentLoaderComponent {
358
406
  constructor() {
359
407
  this.color = 'primary';
@@ -433,6 +481,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
433
481
  type: Output
434
482
  }] } });
435
483
 
484
+ class ButtonGroupComponent {
485
+ constructor() {
486
+ this.position = 'left';
487
+ this.onClick = new EventEmitter();
488
+ }
489
+ ngOnInit() { }
490
+ clickHandler(token) {
491
+ this.onClick.emit(token);
492
+ }
493
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
494
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: ButtonGroupComponent, selector: "val-button-group", inputs: { buttons: "buttons", position: "position" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div [ngClass]=\"['group-container', position]\">\n <val-button *ngFor=\"let b of buttons\" [props]=\"b\" (click)=\"clickHandler(b?.token)\"></val-button>\n</div>\n", styles: ["val-button{display:inline-block}.group-container{width:100%;padding:.25rem}.group-container.left{text-align:left}.group-container.center{text-align:center}.group-container.right{text-align:right}@media (min-width: 768px){.group-container{padding:.5rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "val-button", inputs: ["props"], outputs: ["onClick"] }] }); }
495
+ }
496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ButtonGroupComponent, decorators: [{
497
+ type: Component,
498
+ args: [{ selector: 'val-button-group', template: "<div [ngClass]=\"['group-container', position]\">\n <val-button *ngFor=\"let b of buttons\" [props]=\"b\" (click)=\"clickHandler(b?.token)\"></val-button>\n</div>\n", styles: ["val-button{display:inline-block}.group-container{width:100%;padding:.25rem}.group-container.left{text-align:left}.group-container.center{text-align:center}.group-container.right{text-align:right}@media (min-width: 768px){.group-container{padding:.5rem}}\n"] }]
499
+ }], ctorParameters: () => [], propDecorators: { buttons: [{
500
+ type: Input
501
+ }], position: [{
502
+ type: Input
503
+ }], onClick: [{
504
+ type: Output
505
+ }] } });
506
+
507
+ class TitleBlockComponent {
508
+ constructor() {
509
+ this.position = 'left';
510
+ }
511
+ ngOnInit() { }
512
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
513
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: TitleBlockComponent, selector: "val-title-block", inputs: { position: "position", title: "title", aboveTitle: "aboveTitle", bellowTitle: "bellowTitle" }, ngImport: i0, template: "<div [ngClass]=\"['titles-container', position]\">\n <val-title\n *ngIf=\"aboveTitle\"\n [size]=\"aboveTitle.size\"\n [color]=\"aboveTitle.color\"\n content=\"{{ aboveTitle.text | uppercase }}\"\n ></val-title>\n <val-display\n *ngIf=\"title\"\n [size]=\"title.size\"\n [color]=\"title.color\"\n [content]=\"title.text\"\n ></val-display>\n <val-title\n *ngIf=\"bellowTitle\"\n [size]=\"bellowTitle.size\"\n [color]=\"bellowTitle.color\"\n [content]=\"bellowTitle.text\"\n ></val-title>\n</div>\n", styles: ["val-button,val-title,val-display{display:inline-block}.titles-container{width:100%;padding:.25rem;display:flex;flex-direction:column;flex-wrap:wrap}.titles-container.left{align-content:flex-start;align-items:start}.titles-container.center{align-content:center;align-items:center;text-align:center}.titles-container.right{align-content:flex-end;align-items:end;text-align:end}@media (min-width: 768px){.titles-container{padding:.5rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DisplayComponent, selector: "val-display", inputs: ["size", "color", "content"] }, { kind: "component", type: TitleComponent, selector: "val-title", inputs: ["size", "color", "content"] }, { kind: "pipe", type: i1.UpperCasePipe, name: "uppercase" }] }); }
514
+ }
515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: TitleBlockComponent, decorators: [{
516
+ type: Component,
517
+ args: [{ selector: 'val-title-block', template: "<div [ngClass]=\"['titles-container', position]\">\n <val-title\n *ngIf=\"aboveTitle\"\n [size]=\"aboveTitle.size\"\n [color]=\"aboveTitle.color\"\n content=\"{{ aboveTitle.text | uppercase }}\"\n ></val-title>\n <val-display\n *ngIf=\"title\"\n [size]=\"title.size\"\n [color]=\"title.color\"\n [content]=\"title.text\"\n ></val-display>\n <val-title\n *ngIf=\"bellowTitle\"\n [size]=\"bellowTitle.size\"\n [color]=\"bellowTitle.color\"\n [content]=\"bellowTitle.text\"\n ></val-title>\n</div>\n", styles: ["val-button,val-title,val-display{display:inline-block}.titles-container{width:100%;padding:.25rem;display:flex;flex-direction:column;flex-wrap:wrap}.titles-container.left{align-content:flex-start;align-items:start}.titles-container.center{align-content:center;align-items:center;text-align:center}.titles-container.right{align-content:flex-end;align-items:end;text-align:end}@media (min-width: 768px){.titles-container{padding:.5rem}}\n"] }]
518
+ }], ctorParameters: () => [], propDecorators: { position: [{
519
+ type: Input
520
+ }], title: [{
521
+ type: Input
522
+ }], aboveTitle: [{
523
+ type: Input
524
+ }], bellowTitle: [{
525
+ type: Input
526
+ }] } });
527
+
436
528
  class ToolbarComponent {
437
529
  constructor(navCtrl) {
438
530
  this.navCtrl = navCtrl;
@@ -446,11 +538,11 @@ class ToolbarComponent {
446
538
  this.navCtrl.back();
447
539
  }
448
540
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1$1.NavController }], target: i0.ɵɵFactoryTarget.Component }); }
449
- 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-button fill=\"clear\" (click)=\"goBack()\" [color]=\"textColor\">\n <ion-icon slot=\"start\" name=\"chevron-back-outline\"></ion-icon>\n <ion-text>Volver</ion-text>\n </ion-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: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1$1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1$1.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i1$1.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i1$1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }] }); }
541
+ 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-button fill=\"clear\" (click)=\"goBack()\" [color]=\"textColor\">\n <ion-icon slot=\"start\" name=\"chevron-back-outline\" slot=\"icon-only\"></ion-icon>\n </ion-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: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1$1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1$1.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i1$1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }] }); }
450
542
  }
451
543
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ToolbarComponent, decorators: [{
452
544
  type: Component,
453
- args: [{ selector: 'val-toolbar', template: "<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-button fill=\"clear\" (click)=\"goBack()\" [color]=\"textColor\">\n <ion-icon slot=\"start\" name=\"chevron-back-outline\"></ion-icon>\n <ion-text>Volver</ion-text>\n </ion-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: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"] }]
545
+ args: [{ selector: 'val-toolbar', template: "<ion-toolbar [color]=\"color\">\n <ion-buttons slot=\"start\" *ngIf=\"withBack\">\n <ion-button fill=\"clear\" (click)=\"goBack()\" [color]=\"textColor\">\n <ion-icon slot=\"start\" name=\"chevron-back-outline\" slot=\"icon-only\"></ion-icon>\n </ion-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: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}\n"] }]
454
546
  }], ctorParameters: () => [{ type: i1$1.NavController }], propDecorators: { withBack: [{
455
547
  type: Input
456
548
  }], withActions: [{
@@ -463,6 +555,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
463
555
  type: Input
464
556
  }] } });
465
557
 
558
+ class NotesBoxComponent {
559
+ constructor() {
560
+ this.color = 'light';
561
+ this.size = 'small';
562
+ }
563
+ ngOnInit() { }
564
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: NotesBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
565
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: NotesBoxComponent, selector: "val-notes-box", inputs: { color: "color", textColor: "textColor", prefix: "prefix", text: "text", size: "size" }, ngImport: i0, template: "<val-box [color]=\"color\" icon=\"\" [bordered]=\"false\" [leftBorder]=\"true\">\n <div [ngClass]=\"['content-container', size]\" body>\n <val-text [content]=\"prefix\" [size]=\"size\" [bold]=\"true\" [color]=\"textColor\"></val-text>\n <val-text [content]=\"text\" [size]=\"size\" [bold]=\"false\" [color]=\"textColor\"></val-text>\n </div>\n</val-box>\n", styles: [".content-container{display:inline-grid}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BoxComponent, selector: "val-box", inputs: ["color", "icon", "bordered", "leftBorder"], outputs: ["onClick"] }, { kind: "component", type: TextComponent, selector: "val-text", inputs: ["size", "color", "content", "bold"] }] }); }
566
+ }
567
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: NotesBoxComponent, decorators: [{
568
+ type: Component,
569
+ args: [{ selector: 'val-notes-box', template: "<val-box [color]=\"color\" icon=\"\" [bordered]=\"false\" [leftBorder]=\"true\">\n <div [ngClass]=\"['content-container', size]\" body>\n <val-text [content]=\"prefix\" [size]=\"size\" [bold]=\"true\" [color]=\"textColor\"></val-text>\n <val-text [content]=\"text\" [size]=\"size\" [bold]=\"false\" [color]=\"textColor\"></val-text>\n </div>\n</val-box>\n", styles: [".content-container{display:inline-grid}\n"] }]
570
+ }], ctorParameters: () => [], propDecorators: { color: [{
571
+ type: Input
572
+ }], textColor: [{
573
+ type: Input
574
+ }], prefix: [{
575
+ type: Input
576
+ }], text: [{
577
+ type: Input
578
+ }], size: [{
579
+ type: Input
580
+ }] } });
581
+
582
+ class AlertBoxComponent {
583
+ constructor() {
584
+ this.color = 'warning';
585
+ this.icon = 'alert-circle-outline';
586
+ this.bold = false;
587
+ this.size = 'small';
588
+ }
589
+ ngOnInit() { }
590
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AlertBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
591
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: AlertBoxComponent, selector: "val-alert-box", inputs: { color: "color", icon: "icon", text: "text", bold: "bold", size: "size" }, ngImport: i0, template: "<val-box [color]=\"color\" icon=\"\" [bordered]=\"false\">\n <div class=\"content-container\" body>\n <val-icon [name]=\"icon\" [size]=\"size\"></val-icon>\n <val-text class=\"text\" [content]=\"text\" [size]=\"size\" [bold]=\"bold\"></val-text>\n </div>\n</val-box>\n", styles: [".text{margin-left:.25rem}.content-container{display:flex;align-items:flex-start}\n"], dependencies: [{ kind: "component", type: BoxComponent, selector: "val-box", inputs: ["color", "icon", "bordered", "leftBorder"], outputs: ["onClick"] }, { kind: "component", type: TextComponent, selector: "val-text", inputs: ["size", "color", "content", "bold"] }, { kind: "component", type: IconComponent, selector: "val-icon", inputs: ["size", "color", "name"] }] }); }
592
+ }
593
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: AlertBoxComponent, decorators: [{
594
+ type: Component,
595
+ args: [{ selector: 'val-alert-box', template: "<val-box [color]=\"color\" icon=\"\" [bordered]=\"false\">\n <div class=\"content-container\" body>\n <val-icon [name]=\"icon\" [size]=\"size\"></val-icon>\n <val-text class=\"text\" [content]=\"text\" [size]=\"size\" [bold]=\"bold\"></val-text>\n </div>\n</val-box>\n", styles: [".text{margin-left:.25rem}.content-container{display:flex;align-items:flex-start}\n"] }]
596
+ }], ctorParameters: () => [], propDecorators: { color: [{
597
+ type: Input
598
+ }], icon: [{
599
+ type: Input
600
+ }], text: [{
601
+ type: Input
602
+ }], bold: [{
603
+ type: Input
604
+ }], size: [{
605
+ type: Input
606
+ }] } });
607
+
608
+ class BannerComponent {
609
+ constructor() {
610
+ this.onClick = new EventEmitter();
611
+ this.onClose = new EventEmitter();
612
+ }
613
+ ngOnInit() { }
614
+ clickHandler(token) {
615
+ this.onClick.emit(token);
616
+ }
617
+ closeHandler() {
618
+ this.onClose.emit();
619
+ }
620
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
621
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: BannerComponent, selector: "val-banner", inputs: { props: "props" }, outputs: { onClick: "onClick", onClose: "onClose" }, ngImport: i0, template: "<val-box color=\"light\" [icon]=\"props.closable ? 'close-outline' : ''\" [bordered]=\"props.bordered\" (onClick)=\"closeHandler()\">\n <div [ngClass]=\"['content-container', props.mode]\" body>\n <val-title-block\n [aboveTitle]=\"{ color: 'medium', size: 'small', text: 'Sample above title' }\"\n [title]=\"{ color: 'primary', size: 'small', text: 'Sample title super cool content for you' }\"\n [bellowTitle]=\"{ color: 'dark', size: 'small', text: 'Sample bellow title' }\"\n ></val-title-block>\n <val-button-group class=\"buttons-container\" [buttons]=\"props.actions\" (onClick)=\"clickHandler($event)\"></val-button-group>\n </div>\n</val-box>\n", styles: [".content-container{display:flex;justify-content:space-between}.content-container.column{flex-direction:row}.content-container.row,.content-container.hybrid{flex-direction:column}@media (min-width: 768px){.content-container.hybrid{flex-direction:row}}.buttons-container{align-items:center;display:flex}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BoxComponent, selector: "val-box", inputs: ["color", "icon", "bordered", "leftBorder"], outputs: ["onClick"] }, { kind: "component", type: ButtonGroupComponent, selector: "val-button-group", inputs: ["buttons", "position"], outputs: ["onClick"] }, { kind: "component", type: TitleBlockComponent, selector: "val-title-block", inputs: ["position", "title", "aboveTitle", "bellowTitle"] }] }); }
622
+ }
623
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BannerComponent, decorators: [{
624
+ type: Component,
625
+ args: [{ selector: 'val-banner', template: "<val-box color=\"light\" [icon]=\"props.closable ? 'close-outline' : ''\" [bordered]=\"props.bordered\" (onClick)=\"closeHandler()\">\n <div [ngClass]=\"['content-container', props.mode]\" body>\n <val-title-block\n [aboveTitle]=\"{ color: 'medium', size: 'small', text: 'Sample above title' }\"\n [title]=\"{ color: 'primary', size: 'small', text: 'Sample title super cool content for you' }\"\n [bellowTitle]=\"{ color: 'dark', size: 'small', text: 'Sample bellow title' }\"\n ></val-title-block>\n <val-button-group class=\"buttons-container\" [buttons]=\"props.actions\" (onClick)=\"clickHandler($event)\"></val-button-group>\n </div>\n</val-box>\n", styles: [".content-container{display:flex;justify-content:space-between}.content-container.column{flex-direction:row}.content-container.row,.content-container.hybrid{flex-direction:column}@media (min-width: 768px){.content-container.hybrid{flex-direction:row}}.buttons-container{align-items:center;display:flex}\n"] }]
626
+ }], ctorParameters: () => [], propDecorators: { props: [{
627
+ type: Input
628
+ }], onClick: [{
629
+ type: Output
630
+ }], onClose: [{
631
+ type: Output
632
+ }] } });
633
+
466
634
  class TextContent {
467
635
  constructor(text) {
468
636
  this.text = text;
@@ -575,13 +743,14 @@ class ValtechComponentsModule {
575
743
  ThemeService,
576
744
  {
577
745
  provide: ValtechConfigService,
578
- useValue: config
579
- }
580
- ]
746
+ useValue: config,
747
+ },
748
+ ],
581
749
  };
582
750
  }
583
751
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
584
752
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, declarations: [ButtonComponent,
753
+ BoxComponent,
585
754
  DisplayComponent,
586
755
  TextComponent,
587
756
  TitleComponent,
@@ -590,7 +759,14 @@ class ValtechComponentsModule {
590
759
  ContentLoaderComponent,
591
760
  LinkComponent,
592
761
  SearchbarComponent,
593
- ToolbarComponent], imports: [CommonModule, HttpClientModule, IonicModule], exports: [ButtonComponent,
762
+ ToolbarComponent,
763
+ IconComponent,
764
+ ButtonGroupComponent,
765
+ TitleBlockComponent,
766
+ AlertBoxComponent,
767
+ BannerComponent,
768
+ NotesBoxComponent], imports: [CommonModule, HttpClientModule, IonicModule], exports: [ButtonComponent,
769
+ BoxComponent,
594
770
  DisplayComponent,
595
771
  TextComponent,
596
772
  TitleComponent,
@@ -599,7 +775,13 @@ class ValtechComponentsModule {
599
775
  ContentLoaderComponent,
600
776
  LinkComponent,
601
777
  SearchbarComponent,
602
- ToolbarComponent] }); }
778
+ ToolbarComponent,
779
+ IconComponent,
780
+ ButtonGroupComponent,
781
+ TitleBlockComponent,
782
+ AlertBoxComponent,
783
+ BannerComponent,
784
+ NotesBoxComponent] }); }
603
785
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, imports: [CommonModule, HttpClientModule, IonicModule] }); }
604
786
  }
605
787
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: ValtechComponentsModule, decorators: [{
@@ -607,6 +789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
607
789
  args: [{
608
790
  declarations: [
609
791
  ButtonComponent,
792
+ BoxComponent,
610
793
  DisplayComponent,
611
794
  TextComponent,
612
795
  TitleComponent,
@@ -616,10 +799,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
616
799
  LinkComponent,
617
800
  SearchbarComponent,
618
801
  ToolbarComponent,
802
+ IconComponent,
803
+ ButtonGroupComponent,
804
+ TitleBlockComponent,
805
+ AlertBoxComponent,
806
+ BannerComponent,
807
+ NotesBoxComponent,
619
808
  ],
620
809
  imports: [CommonModule, HttpClientModule, IonicModule],
621
810
  exports: [
622
811
  ButtonComponent,
812
+ BoxComponent,
623
813
  DisplayComponent,
624
814
  TextComponent,
625
815
  TitleComponent,
@@ -629,6 +819,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
629
819
  LinkComponent,
630
820
  SearchbarComponent,
631
821
  ToolbarComponent,
822
+ IconComponent,
823
+ ButtonGroupComponent,
824
+ TitleBlockComponent,
825
+ AlertBoxComponent,
826
+ BannerComponent,
827
+ NotesBoxComponent,
632
828
  ],
633
829
  }]
634
830
  }] });
@@ -673,5 +869,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
673
869
  * Generated bundle index. Do not edit.
674
870
  */
675
871
 
676
- export { AvatarComponent, BaseDefault, ButtonComponent, ClearDefault, ClearDefaultBlock, ClearDefaultFull, ClearDefaultRound, ClearDefaultRoundBlock, ClearDefaultRoundFull, ComponentStates, ContentLoaderComponent, DisplayComponent, DividerComponent, Icon, LangOption, LangService, LinkComponent, LocalStorageService, 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, TextContent, ThemeOption, ThemeService, TitleComponent, ToolbarComponent, ValtechComponentsModule, ValtechConfigService };
872
+ export { AlertBoxComponent, AvatarComponent, BannerComponent, BaseDefault, BoxComponent, ButtonComponent, ButtonGroupComponent, ClearDefault, ClearDefaultBlock, ClearDefaultFull, ClearDefaultRound, ClearDefaultRoundBlock, ClearDefaultRoundFull, ComponentStates, ContentLoaderComponent, DisplayComponent, DividerComponent, Icon, IconComponent, LangOption, LangService, LinkComponent, LocalStorageService, NotesBoxComponent, 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, TextContent, ThemeOption, ThemeService, TitleBlockComponent, TitleComponent, ToolbarComponent, ValtechComponentsModule, ValtechConfigService };
677
873
  //# sourceMappingURL=valtech-components.mjs.map