@cauca-911/material 21.0.0 → 21.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +24 -5
- package/fesm2022/cauca-911-material.mjs +71 -50
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/package.json +1 -1
- package/assets/i18n/cauca/en-material.json +0 -104
- package/assets/i18n/cauca/es-material.json +0 -104
- package/assets/i18n/cauca/fr-material.json +0 -106
- package/assets/images/loading.gif +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 CAUCA 9-1-1 inc
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 CAUCA 9-1-1 inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
1
|
+
# CaucaMaterial
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project cauca-material` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project cauca-material`.
|
|
8
|
+
> Note: Don't forget to add `--project cauca-material` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build cauca-material` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build cauca-material`, go to the dist folder `cd dist/cauca-material` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test cauca-material` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
@@ -130,7 +130,7 @@ class MobileTimePickerComponent {
|
|
|
130
130
|
MatIconModule,
|
|
131
131
|
MatFormFieldModule,
|
|
132
132
|
MatInputModule
|
|
133
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button (click)=\"valueUp()\">\n <mat-icon>keyboard_arrow_up</mat-icon>\n</button>\n<div>\n{{(value() < 10 ? '0' : '' ) + value()}}\n</div>\n<button mat-icon-button (click)=\"valueDown()\">\n <mat-icon>keyboard_arrow_down</mat-icon>\n</button>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center;height:70px;font-family:var(--mat-form-field-container-text-font)}.mat-mdc-icon-button{height:24px;width:24px;line-height:24px;padding:0}\n"] }]
|
|
133
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button (click)=\"valueUp()\">\r\n <mat-icon>keyboard_arrow_up</mat-icon>\r\n</button>\r\n<div>\r\n{{(value() < 10 ? '0' : '' ) + value()}}\r\n</div>\r\n<button mat-icon-button (click)=\"valueDown()\">\r\n <mat-icon>keyboard_arrow_down</mat-icon>\r\n</button>\r\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center;height:70px;font-family:var(--mat-form-field-container-text-font)}.mat-mdc-icon-button{height:24px;width:24px;line-height:24px;padding:0}\n"] }]
|
|
134
134
|
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
|
|
135
135
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MobileTimePickerComponent, { className: "MobileTimePickerComponent", filePath: "lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.ts", lineNumber: 19 }); })();
|
|
136
136
|
|
|
@@ -167,7 +167,7 @@ class DesktopTimePickerComponent {
|
|
|
167
167
|
type: Component,
|
|
168
168
|
args: [{ selector: 'cauca-desktop-time-picker', imports: [
|
|
169
169
|
MatListModule
|
|
170
|
-
], template: "<mat-list [disabled]=\"disabled?.all\">\n @for (option of options; track option) {\n <mat-list-item [activated]=\"value === option\" [disabled]=\"disabled?.someOptions.includes(option)\"\n (click)=\"valueChange.emit(option)\">{{(option < 10 ? '0' : '' ) + option}}</mat-list-item>\n }\n</mat-list>", styles: ["mat-list{width:50px;padding:0}mat-list .mat-mdc-list-item:not(.mat-mdc-list-item-interactive){cursor:pointer}>div::-webkit-scrollbar{display:none}::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}\n"] }]
|
|
170
|
+
], template: "<mat-list [disabled]=\"disabled?.all\">\r\n @for (option of options; track option) {\r\n <mat-list-item [activated]=\"value === option\" [disabled]=\"disabled?.someOptions.includes(option)\"\r\n (click)=\"valueChange.emit(option)\">{{(option < 10 ? '0' : '' ) + option}}</mat-list-item>\r\n }\r\n</mat-list>", styles: ["mat-list{width:50px;padding:0}mat-list .mat-mdc-list-item:not(.mat-mdc-list-item-interactive){cursor:pointer}>div::-webkit-scrollbar{display:none}::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}\n"] }]
|
|
171
171
|
}], null, { options: [{
|
|
172
172
|
type: Input
|
|
173
173
|
}], value: [{
|
|
@@ -523,7 +523,7 @@ class DialogDateTimePickerComponent {
|
|
|
523
523
|
MatListModule,
|
|
524
524
|
MobileTimePickerComponent,
|
|
525
525
|
DesktopTimePickerComponent
|
|
526
|
-
], providers: [provideNativeDateAdapter()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div mat-dialog-content>\n <div [ngClass]=\"showSeconds() ? 'show-seconds' : 'hide-seconds'\" class=\"date-time-picker\">\n <div class=\"calendar\">\n <mat-calendar\n [minDate]=\"minimumDate\"\n [maxDate]=\"maximumDate\"\n [selected]=\"selectedDate\"\n (selectedChange)=\"dateChanged($event)\"\n ></mat-calendar>\n </div>\n\n @if (showTime()) {\n @if (!showMobileUi) {\n <div class=\"hours\">\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.hours, someOptions: disabled.someHours}\" (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\"/>\n </div>\n }\n @if (showMobileUi) {\n <div class=\"hours\">\n <cauca-mobile-time-picker (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\" />\n </div>\n }\n\n @if (showMobileUi) {\n <div class=\"hour-and-minute-separator\">:</div>\n }\n\n @if (!showMobileUi) {\n <div class=\"minutes\">\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.minutes, someOptions: disabled.someMinutes}\" (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\"/>\n </div>\n }\n @if (showMobileUi) {\n <div class=\"minutes\">\n <cauca-mobile-time-picker (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\" />\n </div>\n }\n\n @if (showSeconds() && showMobileUi) {\n <div class=\"minute-and-second-separator\">:</div>\n }\n @if (showSeconds() && !showMobileUi) {\n <div class=\"seconds\">\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.seconds, someOptions: disabled.someSeconds}\" (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\"/>\n </div>\n }\n @if (showSeconds() && showMobileUi) {\n <div class=\"seconds\">\n <cauca-mobile-time-picker (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\" />\n </div>\n }\n }\n </div>\n</div>\n\n<div mat-dialog-actions align=\"end\">\n @if (showClearButton) {\n <button mat-stroked-button (click)=\"clear()\">\n @if (showButtonIcons) {\n <mat-icon>clear</mat-icon>\n }\n {{'material.clear' | translate}}\n </button>\n }\n <button color=\"primary\" mat-stroked-button (click)=\"cancel()\">\n @if (showButtonIcons) {\n <mat-icon>cancel</mat-icon>\n }\n {{'material.cancel' | translate}}\n </button>\n <button color=\"primary\" mat-raised-button cdkFocusInitial (click)=\"confirm()\">\n @if (showButtonIcons) {\n <mat-icon>check</mat-icon>\n }\n {{'material.ok' | translate}}\n </button>\n</div>", styles: ["div[mat-dialog-actions]{padding:8px;border-top:1px solid #ccc}div[mat-dialog-actions] button{margin:2px}.date-time-picker{display:grid;grid-template-areas:\"calendar hours minutes seconds\";height:350px;overflow:hidden;justify-content:center}.date-time-picker>div{overflow:auto;flex:1;max-width:50px;scrollbar-width:none;border-left:1px solid #ccc}.date-time-picker>div:first-child{flex:4;max-width:290px;border-left:none}.date-time-picker>div:first-child mat-calendar{width:290px;height:350px}.date-time-picker>div::-webkit-scrollbar{display:none}.date-time-picker ::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.date-time-picker ::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}.date-time-picker ::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.calendar{grid-area:calendar}.hours{grid-area:hours}.minutes{grid-area:minutes}.seconds{grid-area:seconds}.hour-and-minute-separator{grid-area:hour-and-minute-separator;display:flex;align-items:center;justify-content:center;font-weight:700}.minute-and-second-separator{grid-area:minute-and-second-separator;display:flex;align-items:center;justify-content:center;font-weight:700}@media only screen and (max-width:555px){.show-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes minute-and-second-separator seconds .\";grid-template-columns:auto 40px 2px 40px 2px 40px auto}.hide-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes .\";grid-template-columns:auto 40px 2px 40px auto}.date-time-picker{grid-template-rows:auto auto;height:450px}.date-time-picker>div{border-left:none}.date-time-picker>div:not(:first-child){height:70px}.date-time-picker>div:first-child{overflow:initial;flex:4;max-width:290px;border-left:none}}\n"] }]
|
|
526
|
+
], providers: [provideNativeDateAdapter()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div mat-dialog-content>\r\n <div [ngClass]=\"showSeconds() ? 'show-seconds' : 'hide-seconds'\" class=\"date-time-picker\">\r\n <div class=\"calendar\">\r\n <mat-calendar\r\n [minDate]=\"minimumDate\"\r\n [maxDate]=\"maximumDate\"\r\n [selected]=\"selectedDate\"\r\n (selectedChange)=\"dateChanged($event)\"\r\n ></mat-calendar>\r\n </div>\r\n\r\n @if (showTime()) {\r\n @if (!showMobileUi) {\r\n <div class=\"hours\">\r\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.hours, someOptions: disabled.someHours}\" (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\"/>\r\n </div>\r\n }\r\n @if (showMobileUi) {\r\n <div class=\"hours\">\r\n <cauca-mobile-time-picker (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\" />\r\n </div>\r\n }\r\n\r\n @if (showMobileUi) {\r\n <div class=\"hour-and-minute-separator\">:</div>\r\n }\r\n\r\n @if (!showMobileUi) {\r\n <div class=\"minutes\">\r\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.minutes, someOptions: disabled.someMinutes}\" (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\"/>\r\n </div>\r\n }\r\n @if (showMobileUi) {\r\n <div class=\"minutes\">\r\n <cauca-mobile-time-picker (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\" />\r\n </div>\r\n }\r\n\r\n @if (showSeconds() && showMobileUi) {\r\n <div class=\"minute-and-second-separator\">:</div>\r\n }\r\n @if (showSeconds() && !showMobileUi) {\r\n <div class=\"seconds\">\r\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.seconds, someOptions: disabled.someSeconds}\" (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\"/>\r\n </div>\r\n }\r\n @if (showSeconds() && showMobileUi) {\r\n <div class=\"seconds\">\r\n <cauca-mobile-time-picker (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\" />\r\n </div>\r\n }\r\n }\r\n </div>\r\n</div>\r\n\r\n<div mat-dialog-actions align=\"end\">\r\n @if (showClearButton) {\r\n <button mat-stroked-button (click)=\"clear()\">\r\n @if (showButtonIcons) {\r\n <mat-icon>clear</mat-icon>\r\n }\r\n {{'material.clear' | translate}}\r\n </button>\r\n }\r\n <button color=\"primary\" mat-stroked-button (click)=\"cancel()\">\r\n @if (showButtonIcons) {\r\n <mat-icon>cancel</mat-icon>\r\n }\r\n {{'material.cancel' | translate}}\r\n </button>\r\n <button color=\"primary\" mat-raised-button cdkFocusInitial (click)=\"confirm()\">\r\n @if (showButtonIcons) {\r\n <mat-icon>check</mat-icon>\r\n }\r\n {{'material.ok' | translate}}\r\n </button>\r\n</div>", styles: ["div[mat-dialog-actions]{padding:8px;border-top:1px solid #ccc}div[mat-dialog-actions] button{margin:2px}.date-time-picker{display:grid;grid-template-areas:\"calendar hours minutes seconds\";height:350px;overflow:hidden;justify-content:center}.date-time-picker>div{overflow:auto;flex:1;max-width:50px;scrollbar-width:none;border-left:1px solid #ccc}.date-time-picker>div:first-child{flex:4;max-width:290px;border-left:none}.date-time-picker>div:first-child mat-calendar{width:290px;height:350px}.date-time-picker>div::-webkit-scrollbar{display:none}.date-time-picker ::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.date-time-picker ::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}.date-time-picker ::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.calendar{grid-area:calendar}.hours{grid-area:hours}.minutes{grid-area:minutes}.seconds{grid-area:seconds}.hour-and-minute-separator{grid-area:hour-and-minute-separator;display:flex;align-items:center;justify-content:center;font-weight:700}.minute-and-second-separator{grid-area:minute-and-second-separator;display:flex;align-items:center;justify-content:center;font-weight:700}@media only screen and (max-width:555px){.show-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes minute-and-second-separator seconds .\";grid-template-columns:auto 40px 2px 40px 2px 40px auto}.hide-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes .\";grid-template-columns:auto 40px 2px 40px auto}.date-time-picker{grid-template-rows:auto auto;height:450px}.date-time-picker>div{border-left:none}.date-time-picker>div:not(:first-child){height:70px}.date-time-picker>div:first-child{overflow:initial;flex:4;max-width:290px;border-left:none}}\n"] }]
|
|
527
527
|
}], () => [], { onResize: [{
|
|
528
528
|
type: HostListener,
|
|
529
529
|
args: ['window:resize', ['$event']]
|
|
@@ -689,7 +689,7 @@ class CaucaDateTimePickerComponent {
|
|
|
689
689
|
multi: true,
|
|
690
690
|
useExisting: forwardRef(() => CaucaDateTimePickerComponent),
|
|
691
691
|
}
|
|
692
|
-
], template: "<mat-form-field [subscriptSizing]=\"subscriptSizing\">\n @if (label) {\n <mat-label>{{ translateLabel ? (label | translate) : label }}{{isRequired ? '*' : ''}}</mat-label>\n }\n <input (focusout)=\"onTouched()\" matInput [value]=\"stringDate\" readonly=\"readonly\">\n <button matSuffix mat-icon-button (click)=\"showDialog()\">\n <mat-icon>calendar_month</mat-icon>\n </button>\n</mat-form-field>", styles: [":host{display:block}mat-form-field{width:100%}\n"] }]
|
|
692
|
+
], template: "<mat-form-field [subscriptSizing]=\"subscriptSizing\">\r\n @if (label) {\r\n <mat-label>{{ translateLabel ? (label | translate) : label }}{{isRequired ? '*' : ''}}</mat-label>\r\n }\r\n <input (focusout)=\"onTouched()\" matInput [value]=\"stringDate\" readonly=\"readonly\">\r\n <button matSuffix mat-icon-button (click)=\"showDialog()\">\r\n <mat-icon>calendar_month</mat-icon>\r\n </button>\r\n</mat-form-field>", styles: [":host{display:block}mat-form-field{width:100%}\n"] }]
|
|
693
693
|
}], null, { subscriptSizing: [{
|
|
694
694
|
type: Input
|
|
695
695
|
}], showTime: [{
|
|
@@ -1124,7 +1124,7 @@ class ButtonComponent {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
1126
1126
|
type: Component,
|
|
1127
|
-
args: [{ selector: 'cauca-button', imports: [MatIconModule, MatButtonModule, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (type() === 'basic') {\n <button [ngClass]=\"class()\" mat-button (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-basic\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'raised') {\n <button [ngClass]=\"class()\" matButton=\"elevated\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-raised\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'stroked') {\n <button [ngClass]=\"class()\" matButton=\"outlined\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-stroked\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'flat') {\n <button [ngClass]=\"class()\" matButton=\"filled\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-flat\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'icon') {\n <button [ngClass]=\"class()\" matIconButton (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n </button>\n}\n\n@if (type() === 'fab') {\n <button [ngClass]=\"class()\" matFab (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}", styles: ["@keyframes spinner{to{transform:rotate(360deg)}}.button-spin{animation:spinner 1s linear infinite}\n"] }]
|
|
1127
|
+
args: [{ selector: 'cauca-button', imports: [MatIconModule, MatButtonModule, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (type() === 'basic') {\r\n <button [ngClass]=\"class()\" mat-button (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-basic\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'raised') {\r\n <button [ngClass]=\"class()\" matButton=\"elevated\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-raised\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'stroked') {\r\n <button [ngClass]=\"class()\" matButton=\"outlined\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-stroked\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'flat') {\r\n <button [ngClass]=\"class()\" matButton=\"filled\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-flat\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'icon') {\r\n <button [ngClass]=\"class()\" matIconButton (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n </button>\r\n}\r\n\r\n@if (type() === 'fab') {\r\n <button [ngClass]=\"class()\" matFab (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}", styles: ["@keyframes spinner{to{transform:rotate(360deg)}}.button-spin{animation:spinner 1s linear infinite}\n"] }]
|
|
1128
1128
|
}], null, { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], inProgress: [{ type: i0.Input, args: [{ isSignal: true, alias: "inProgress", required: false }] }], disable: [{ type: i0.Input, args: [{ isSignal: true, alias: "disable", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], buttonClick: [{ type: i0.Output, args: ["buttonClick"] }] }); })();
|
|
1129
1129
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "lib/components/button/button.component.ts", lineNumber: 13 }); })();
|
|
1130
1130
|
|
|
@@ -1440,7 +1440,7 @@ class AlertDialogComponent {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertDialogComponent, [{
|
|
1442
1442
|
type: Component,
|
|
1443
|
-
args: [{ selector: 'cauca-alert-dialog', standalone: true, imports: [TranslateModule, RaisedButtonComponent, IconButtonComponent, MatDialogModule], template: "<div mat-dialog-title>\n <div class=\"h6\">{{ title | translate }}</div>\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\n</div>\n<div class=\"alert-dialog-content\" mat-dialog-content>\n <p>{{ message | translate }}</p>\n</div>\n<mat-dialog-actions align=\"end\">\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"primary\" (buttonClick)=\"closeClick()\" />\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.alert-dialog-content{white-space:pre-wrap}\n"] }]
|
|
1443
|
+
args: [{ selector: 'cauca-alert-dialog', standalone: true, imports: [TranslateModule, RaisedButtonComponent, IconButtonComponent, MatDialogModule], template: "<div mat-dialog-title>\r\n <div class=\"h6\">{{ title | translate }}</div>\r\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\r\n</div>\r\n<div class=\"alert-dialog-content\" mat-dialog-content>\r\n <p>{{ message | translate }}</p>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"primary\" (buttonClick)=\"closeClick()\" />\r\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.alert-dialog-content{white-space:pre-wrap}\n"] }]
|
|
1444
1444
|
}], () => [{ type: i1$6.MatDialogRef }, { type: undefined, decorators: [{
|
|
1445
1445
|
type: Inject,
|
|
1446
1446
|
args: [MAT_DIALOG_DATA]
|
|
@@ -1500,7 +1500,7 @@ class ConfirmDialogComponent {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogComponent, [{
|
|
1502
1502
|
type: Component,
|
|
1503
|
-
args: [{ selector: 'cauca-confirm-dialog', standalone: true, imports: [TranslateModule, MatDialogModule, RaisedButtonComponent, StrokedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\n <div class=\"h6 title\">{{ title | translate: options.titleArgs }}</div>\n <cauca-icon-button id=\"close-button\" (buttonClick)=\"cancelClick()\" icon=\"close\" />\n </div>\n <div mat-dialog-content>\n <p class=\"message\">{{ message | translate: options.messageArgs }}</p>\n </div>\n <mat-dialog-actions align=\"end\" class=\"action-buttons\">\n <cauca-stroked-button class=\"no-button\" [label]=\"options.noText\" [color]=\"options.noColor\" (buttonClick)=\"noClick()\" />\n <cauca-raised-button class=\"yes-button\" [label]=\"options.yesText\" [color]=\"options.yesColor\" (buttonClick)=\"yesClick()\" />\n </mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.yes-button{padding-left:8px}.message{white-space:pre-wrap}.title{padding-top:8px}.action-buttons{display:flex;align-items:center;flex-direction:row;gap:8px}\n"] }]
|
|
1503
|
+
args: [{ selector: 'cauca-confirm-dialog', standalone: true, imports: [TranslateModule, MatDialogModule, RaisedButtonComponent, StrokedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\r\n <div class=\"h6 title\">{{ title | translate: options.titleArgs }}</div>\r\n <cauca-icon-button id=\"close-button\" (buttonClick)=\"cancelClick()\" icon=\"close\" />\r\n </div>\r\n <div mat-dialog-content>\r\n <p class=\"message\">{{ message | translate: options.messageArgs }}</p>\r\n </div>\r\n <mat-dialog-actions align=\"end\" class=\"action-buttons\">\r\n <cauca-stroked-button class=\"no-button\" [label]=\"options.noText\" [color]=\"options.noColor\" (buttonClick)=\"noClick()\" />\r\n <cauca-raised-button class=\"yes-button\" [label]=\"options.yesText\" [color]=\"options.yesColor\" (buttonClick)=\"yesClick()\" />\r\n </mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.yes-button{padding-left:8px}.message{white-space:pre-wrap}.title{padding-top:8px}.action-buttons{display:flex;align-items:center;flex-direction:row;gap:8px}\n"] }]
|
|
1504
1504
|
}], () => [{ type: i1$6.MatDialogRef }, { type: undefined, decorators: [{
|
|
1505
1505
|
type: Inject,
|
|
1506
1506
|
args: [MAT_DIALOG_DATA]
|
|
@@ -1708,7 +1708,7 @@ class DeleteDialogComponent {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DeleteDialogComponent, [{
|
|
1710
1710
|
type: Component,
|
|
1711
|
-
args: [{ selector: 'cauca-delete-dialog', standalone: true, imports: [MatDialogModule, TranslateModule, StrokedButtonComponent, IconButtonComponent, RaisedButtonComponent], template: "<div mat-dialog-title>\n @if (itemGenderIsFemale)\n {\n <div class=\"h6 title\">{{ ('deleteDialog.titleFemale' | translate:{itemType}) }}</div>\n } @else\n {\n <div class=\"h6 title\">{{ ('deleteDialog.titleMale' | translate:{itemType}) }}</div>\n }\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\n</div>\n<div mat-dialog-content>\n <p>{{('deleteDialog.message' | translate:{itemName})}}</p>\n</div>\n<mat-dialog-actions align=\"end\">\n <cauca-stroked-button id=\"cancelButton\" label=\"cancel\" color=\"primary\" (buttonClick)=\"closeClick()\"/>\n <cauca-raised-button id=\"deleteButton\" label=\"delete\" color=\"warn\" (buttonClick)=\"deleteClick()\" />\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.mat-mdc-dialog-actions{column-gap:8px}\n"] }]
|
|
1711
|
+
args: [{ selector: 'cauca-delete-dialog', standalone: true, imports: [MatDialogModule, TranslateModule, StrokedButtonComponent, IconButtonComponent, RaisedButtonComponent], template: "<div mat-dialog-title>\r\n @if (itemGenderIsFemale)\r\n {\r\n <div class=\"h6 title\">{{ ('deleteDialog.titleFemale' | translate:{itemType}) }}</div>\r\n } @else\r\n {\r\n <div class=\"h6 title\">{{ ('deleteDialog.titleMale' | translate:{itemType}) }}</div>\r\n }\r\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\r\n</div>\r\n<div mat-dialog-content>\r\n <p>{{('deleteDialog.message' | translate:{itemName})}}</p>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <cauca-stroked-button id=\"cancelButton\" label=\"cancel\" color=\"primary\" (buttonClick)=\"closeClick()\"/>\r\n <cauca-raised-button id=\"deleteButton\" label=\"delete\" color=\"warn\" (buttonClick)=\"deleteClick()\" />\r\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.mat-mdc-dialog-actions{column-gap:8px}\n"] }]
|
|
1712
1712
|
}], () => [{ type: i1$6.MatDialogRef }, { type: DeleteDialogData, decorators: [{
|
|
1713
1713
|
type: Inject,
|
|
1714
1714
|
args: [MAT_DIALOG_DATA]
|
|
@@ -1753,7 +1753,7 @@ class ErrorDialogComponent {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorDialogComponent, [{
|
|
1755
1755
|
type: Component,
|
|
1756
|
-
args: [{ selector: 'cauca-error-dialog', standalone: true, imports: [MatDialogModule, TranslateModule, RaisedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\n <div class=\"h6\">{{('errorDialog.titleError' | translate)}}</div>\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\"/>\n</div>\n<div mat-dialog-content>\n <p>{{('errorDialog.messageError' | translate:{itemName})}}</p>\n</div>\n<mat-dialog-actions align=\"end\">\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"warn\" (buttonClick)=\"closeClick()\"/>\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}\n"] }]
|
|
1756
|
+
args: [{ selector: 'cauca-error-dialog', standalone: true, imports: [MatDialogModule, TranslateModule, RaisedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\r\n <div class=\"h6\">{{('errorDialog.titleError' | translate)}}</div>\r\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\"/>\r\n</div>\r\n<div mat-dialog-content>\r\n <p>{{('errorDialog.messageError' | translate:{itemName})}}</p>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"warn\" (buttonClick)=\"closeClick()\"/>\r\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}\n"] }]
|
|
1757
1757
|
}], () => [{ type: i1$6.MatDialogRef }, { type: DeleteDialogData, decorators: [{
|
|
1758
1758
|
type: Inject,
|
|
1759
1759
|
args: [MAT_DIALOG_DATA]
|
|
@@ -2058,7 +2058,7 @@ class BadgeComponent {
|
|
|
2058
2058
|
}
|
|
2059
2059
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BadgeComponent, [{
|
|
2060
2060
|
type: Component,
|
|
2061
|
-
args: [{ selector: 'cauca-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatChipsModule, MatIcon], template: "<mat-chip highlighted disableRipple [color]=\"color()\">\n <div class=\"mat-chip-content\">\n <mat-icon>{{icon()}}</mat-icon>\n <div class=\"chip-label\">{{label() | translate}}</div>\n </div>\n</mat-chip>", styles: [".mat-chip-content{display:flex;justify-content:space-between;align-items:center;gap:8px}mat-icon{color:inherit}\n"] }]
|
|
2061
|
+
args: [{ selector: 'cauca-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatChipsModule, MatIcon], template: "<mat-chip highlighted disableRipple [color]=\"color()\">\r\n <div class=\"mat-chip-content\">\r\n <mat-icon>{{icon()}}</mat-icon>\r\n <div class=\"chip-label\">{{label() | translate}}</div>\r\n </div>\r\n</mat-chip>", styles: [".mat-chip-content{display:flex;justify-content:space-between;align-items:center;gap:8px}mat-icon{color:inherit}\n"] }]
|
|
2062
2062
|
}], null, { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] }); })();
|
|
2063
2063
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BadgeComponent, { className: "BadgeComponent", filePath: "lib/components/presenters/badge/badge.component.ts", lineNumber: 14 }); })();
|
|
2064
2064
|
|
|
@@ -2108,17 +2108,17 @@ class IconComponent {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconComponent, [{
|
|
2110
2110
|
type: Component,
|
|
2111
|
-
args: [{ selector: 'cauca-icon', standalone: true, imports: [FontAwesomeModule], template: `
|
|
2112
|
-
@if (isFontAwesome && faIcon && faIcon.length > 0) {
|
|
2113
|
-
<div class="icon">
|
|
2114
|
-
<fa-icon [icon]="faIcon"></fa-icon>
|
|
2115
|
-
</div>
|
|
2116
|
-
}
|
|
2117
|
-
@if (!isFontAwesome && image) {
|
|
2118
|
-
<div class="icon">
|
|
2119
|
-
<img [src]="image" alt="icon" />
|
|
2120
|
-
</div>
|
|
2121
|
-
}
|
|
2111
|
+
args: [{ selector: 'cauca-icon', standalone: true, imports: [FontAwesomeModule], template: `
|
|
2112
|
+
@if (isFontAwesome && faIcon && faIcon.length > 0) {
|
|
2113
|
+
<div class="icon">
|
|
2114
|
+
<fa-icon [icon]="faIcon"></fa-icon>
|
|
2115
|
+
</div>
|
|
2116
|
+
}
|
|
2117
|
+
@if (!isFontAwesome && image) {
|
|
2118
|
+
<div class="icon">
|
|
2119
|
+
<img [src]="image" alt="icon" />
|
|
2120
|
+
</div>
|
|
2121
|
+
}
|
|
2122
2122
|
`, styles: ["img{max-height:40px;height:40px}fa-icon{max-height:40px;height:40px}\n"] }]
|
|
2123
2123
|
}], null, { icon: [{
|
|
2124
2124
|
type: Input
|
|
@@ -2922,7 +2922,7 @@ class DropdownChipAutocompleteComponent {
|
|
|
2922
2922
|
MatChipInput,
|
|
2923
2923
|
MatIcon,
|
|
2924
2924
|
CommonModule
|
|
2925
|
-
], template: "<div role=\"group\" class=\"dropdown-chip-autocomplete-container\">\n\n <mat-chip-grid #chipGrid [disabled]=\"disabled\">\n\n @for (key of value; track key) {\n <mat-chip highlighted [disabled]=\"disabled\" (removed)=\"removeSelectedItem(key)\" color=\"primary\">\n {{getValueDisplay(key)}}\n @if (allowRemove) {\n <mat-icon matChipRemove>cancel</mat-icon>\n }\n </mat-chip>\n }\n\n <div class=\"input-wrapper\">\n <input\n #chipInput\n [(ngModel)]=\"searchValue\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\n @if (value.length > 0 && canRemoveAll()) {\n <mat-icon matPrefix class=\"clearAll\" (click)=\"onClearAll();\">clear</mat-icon>\n }\n <mat-icon matSuffix>arrow_drop_down</mat-icon>\n </div>\n </mat-chip-grid>\n\n <mat-autocomplete #auto=\"matAutocomplete\" panelWidth=\"500px\" [class.full-width-field]=\"optionTemplate\" (optionSelected)=\"selectItemOnAutocomplete($event)\">\n @for (item of filteredListAutoComplete | async; track item) {\n <mat-option [value]=\"item[keyValue]\" class=\"full-width-option\">\n @if (optionTemplate) {\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: {data: item}\" />\n } @else {\n {{item[displayValue]}}\n }\n </mat-option>\n }\n </mat-autocomplete>\n</div>\n\n", styles: ["span{opacity:0;transition:opacity .2s}:host.floating span{opacity:1}:host{cursor:pointer}:host mat-icon{align-self:center;color:var(--mat-select-enabled-arrow-color)}:host input.mat-mdc-chip-input{flex:1}.input-wrapper{flex:1;display:flex;flex-direction:row;gap:8px;align-items:center;flex-wrap:nowrap}.input-wrapper>input{flex:1;min-width:150px}.input-wrapper>mat-icon{flex-shrink:0}\n"] }]
|
|
2925
|
+
], template: "<div role=\"group\" class=\"dropdown-chip-autocomplete-container\">\r\n\r\n <mat-chip-grid #chipGrid [disabled]=\"disabled\">\r\n\r\n @for (key of value; track key) {\r\n <mat-chip highlighted [disabled]=\"disabled\" (removed)=\"removeSelectedItem(key)\" color=\"primary\">\r\n {{getValueDisplay(key)}}\r\n @if (allowRemove) {\r\n <mat-icon matChipRemove>cancel</mat-icon>\r\n }\r\n </mat-chip>\r\n }\r\n\r\n <div class=\"input-wrapper\">\r\n <input\r\n #chipInput\r\n [(ngModel)]=\"searchValue\"\r\n [matAutocomplete]=\"auto\"\r\n [matChipInputFor]=\"chipGrid\"\r\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\r\n @if (value.length > 0 && canRemoveAll()) {\r\n <mat-icon matPrefix class=\"clearAll\" (click)=\"onClearAll();\">clear</mat-icon>\r\n }\r\n <mat-icon matSuffix>arrow_drop_down</mat-icon>\r\n </div>\r\n </mat-chip-grid>\r\n\r\n <mat-autocomplete #auto=\"matAutocomplete\" panelWidth=\"500px\" [class.full-width-field]=\"optionTemplate\" (optionSelected)=\"selectItemOnAutocomplete($event)\">\r\n @for (item of filteredListAutoComplete | async; track item) {\r\n <mat-option [value]=\"item[keyValue]\" class=\"full-width-option\">\r\n @if (optionTemplate) {\r\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: {data: item}\" />\r\n } @else {\r\n {{item[displayValue]}}\r\n }\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n</div>\r\n\r\n", styles: ["span{opacity:0;transition:opacity .2s}:host.floating span{opacity:1}:host{cursor:pointer}:host mat-icon{align-self:center;color:var(--mat-select-enabled-arrow-color)}:host input.mat-mdc-chip-input{flex:1}.input-wrapper{flex:1;display:flex;flex-direction:row;gap:8px;align-items:center;flex-wrap:nowrap}.input-wrapper>input{flex:1;min-width:150px}.input-wrapper>mat-icon{flex-shrink:0}\n"] }]
|
|
2926
2926
|
}], () => [{ type: i1$7.NgControl, decorators: [{
|
|
2927
2927
|
type: Optional
|
|
2928
2928
|
}, {
|
|
@@ -3212,7 +3212,7 @@ class SelectWithSearchComponent {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectWithSearchComponent, [{
|
|
3214
3214
|
type: Component,
|
|
3215
|
-
args: [{ selector: 'cauca-select-with-search', standalone: true, imports: [MatSelectModule, TranslateModule, MatFormFieldModule, ReactiveFormsModule, FormsModule, NgxMatSelectSearchModule], template: "<mat-form-field class=\"full-width-field header dense\" subscriptSizing=\"dynamic\">\n <ng-content></ng-content>\n <mat-label>{{ label | translate }}</mat-label>\n <mat-select [(value)]=\"value\" [disabled]=\"disableControl()\" [class.readonly-field]=\"disableControl()\" [multiple]=\"allowMultiSelection()\" >\n @if (enableSearch()) {\n <mat-option>\n <ngx-mat-select-search [formControl]=\"optionFilterControl\" [placeholderLabel]=\"'search' | translate\"\n [noEntriesFoundLabel]=\"'noResult' | translate\">\n </ngx-mat-select-search>\n </mat-option>\n }\n @for (option of filteredOptions.value() || []; track option) {\n <mat-option [value]=\"option.id\">\n {{option.name}}\n </mat-option>\n }\n </mat-select>\n\n</mat-form-field>" }]
|
|
3215
|
+
args: [{ selector: 'cauca-select-with-search', standalone: true, imports: [MatSelectModule, TranslateModule, MatFormFieldModule, ReactiveFormsModule, FormsModule, NgxMatSelectSearchModule], template: "<mat-form-field class=\"full-width-field header dense\" subscriptSizing=\"dynamic\">\r\n <ng-content></ng-content>\r\n <mat-label>{{ label | translate }}</mat-label>\r\n <mat-select [(value)]=\"value\" [disabled]=\"disableControl()\" [class.readonly-field]=\"disableControl()\" [multiple]=\"allowMultiSelection()\" >\r\n @if (enableSearch()) {\r\n <mat-option>\r\n <ngx-mat-select-search [formControl]=\"optionFilterControl\" [placeholderLabel]=\"'search' | translate\"\r\n [noEntriesFoundLabel]=\"'noResult' | translate\">\r\n </ngx-mat-select-search>\r\n </mat-option>\r\n }\r\n @for (option of filteredOptions.value() || []; track option) {\r\n <mat-option [value]=\"option.id\">\r\n {{option.name}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n\r\n</mat-form-field>" }]
|
|
3216
3216
|
}], null, { label: [{
|
|
3217
3217
|
type: Input,
|
|
3218
3218
|
args: [{ required: true }]
|
|
@@ -3395,18 +3395,23 @@ class SectionFieldComponent {
|
|
|
3395
3395
|
}], null, { autoTranslateLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoTranslateLabel", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], values: [{ type: i0.Input, args: [{ isSignal: true, alias: "values", required: false }] }], fieldName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldName", required: false }] }], showLink: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLink", required: false }] }], linkClick: [{ type: i0.Output, args: ["linkClick"] }], splitEqually: [{ type: i0.Input, args: [{ isSignal: true, alias: "splitEqually", required: false }] }] }); })();
|
|
3396
3396
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionFieldComponent, { className: "SectionFieldComponent", filePath: "lib/components/layout/sections/section-field/section-field.component.ts", lineNumber: 12 }); })();
|
|
3397
3397
|
|
|
3398
|
+
function PageTitleComponent_Conditional_4_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
3399
|
+
i0.ɵɵelementStart(0, "span");
|
|
3400
|
+
i0.ɵɵtext(1, "/");
|
|
3401
|
+
i0.ɵɵelementEnd();
|
|
3402
|
+
} }
|
|
3398
3403
|
function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
3399
3404
|
i0.ɵɵelementStart(0, "div", 4);
|
|
3400
3405
|
i0.ɵɵtext(1);
|
|
3401
3406
|
i0.ɵɵpipe(2, "translate");
|
|
3402
3407
|
i0.ɵɵelementEnd();
|
|
3403
|
-
i0.ɵɵ
|
|
3404
|
-
i0.ɵɵtext(4, "/");
|
|
3405
|
-
i0.ɵɵelementEnd();
|
|
3408
|
+
i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_Conditional_1_Conditional_3_Template, 2, 0, "span");
|
|
3406
3409
|
} if (rf & 2) {
|
|
3407
3410
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3408
3411
|
i0.ɵɵadvance();
|
|
3409
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2,
|
|
3412
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.baseCrumb()));
|
|
3413
|
+
i0.ɵɵadvance(2);
|
|
3414
|
+
i0.ɵɵconditional(ctx_r0.breadcrumbLocation().length > 0 || ctx_r0.currentBreadcrumb() && ctx_r0.currentBreadcrumb().trim() !== "" ? 3 : -1);
|
|
3410
3415
|
} }
|
|
3411
3416
|
function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3412
3417
|
i0.ɵɵelementStart(0, "a", 5);
|
|
@@ -3440,31 +3445,47 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx)
|
|
|
3440
3445
|
i0.ɵɵadvance();
|
|
3441
3446
|
i0.ɵɵtextInterpolate(location_r2.title);
|
|
3442
3447
|
} }
|
|
3448
|
+
function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
3449
|
+
i0.ɵɵelementStart(0, "span");
|
|
3450
|
+
i0.ɵɵtext(1, "/");
|
|
3451
|
+
i0.ɵɵelementEnd();
|
|
3452
|
+
} }
|
|
3443
3453
|
function PageTitleComponent_Conditional_4_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
3444
3454
|
i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_For_3_Conditional_0_Template, 3, 5, "a", 5)(1, PageTitleComponent_Conditional_4_For_3_Conditional_1_Template, 3, 3, "span", 6)(2, PageTitleComponent_Conditional_4_For_3_Conditional_2_Template, 2, 1, "span", 4);
|
|
3445
|
-
i0.ɵɵ
|
|
3446
|
-
i0.ɵɵtext(4, "/");
|
|
3447
|
-
i0.ɵɵelementEnd();
|
|
3455
|
+
i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_For_3_Conditional_3_Template, 2, 0, "span");
|
|
3448
3456
|
} if (rf & 2) {
|
|
3449
3457
|
const location_r2 = ctx.$implicit;
|
|
3458
|
+
const ɵ$index_19_r4 = ctx.$index;
|
|
3459
|
+
const ɵ$count_19_r5 = ctx.$count;
|
|
3460
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3450
3461
|
i0.ɵɵconditional(location_r2.link ? 0 : location_r2.action ? 1 : 2);
|
|
3462
|
+
i0.ɵɵadvance(3);
|
|
3463
|
+
i0.ɵɵconditional(!(ɵ$index_19_r4 === ɵ$count_19_r5 - 1) || ctx_r0.currentBreadcrumb() && ctx_r0.currentBreadcrumb().trim() !== "" ? 3 : -1);
|
|
3464
|
+
} }
|
|
3465
|
+
function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3466
|
+
i0.ɵɵelementStart(0, "span", 3);
|
|
3467
|
+
i0.ɵɵtext(1);
|
|
3468
|
+
i0.ɵɵpipe(2, "translate");
|
|
3469
|
+
i0.ɵɵelementEnd();
|
|
3470
|
+
} if (rf & 2) {
|
|
3471
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3472
|
+
i0.ɵɵadvance();
|
|
3473
|
+
i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(2, 1, ctx_r0.currentBreadcrumb()) : ctx_r0.currentBreadcrumb());
|
|
3451
3474
|
} }
|
|
3452
3475
|
function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3453
3476
|
i0.ɵɵelementStart(0, "div", 2);
|
|
3454
|
-
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template,
|
|
3455
|
-
i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template,
|
|
3456
|
-
i0.ɵɵ
|
|
3457
|
-
i0.ɵɵ
|
|
3458
|
-
i0.ɵɵpipe(6, "translate");
|
|
3459
|
-
i0.ɵɵelementEnd()();
|
|
3477
|
+
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 4, 4);
|
|
3478
|
+
i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template, 4, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
|
|
3479
|
+
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template, 3, 3, "span", 3);
|
|
3480
|
+
i0.ɵɵelementEnd();
|
|
3460
3481
|
} if (rf & 2) {
|
|
3461
3482
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3462
3483
|
i0.ɵɵadvance();
|
|
3463
3484
|
i0.ɵɵconditional(ctx_r0.baseCrumb() ? 1 : -1);
|
|
3464
3485
|
i0.ɵɵadvance();
|
|
3465
3486
|
i0.ɵɵrepeater(ctx_r0.breadcrumbLocation());
|
|
3466
|
-
i0.ɵɵadvance(
|
|
3467
|
-
i0.ɵɵ
|
|
3487
|
+
i0.ɵɵadvance(2);
|
|
3488
|
+
i0.ɵɵconditional(ctx_r0.currentBreadcrumb() && ctx_r0.currentBreadcrumb().trim() !== "" ? 4 : -1);
|
|
3468
3489
|
} }
|
|
3469
3490
|
class PageTitleComponent {
|
|
3470
3491
|
constructor() {
|
|
@@ -3486,7 +3507,7 @@ class PageTitleComponent {
|
|
|
3486
3507
|
i0.ɵɵtext(2);
|
|
3487
3508
|
i0.ɵɵpipe(3, "translate");
|
|
3488
3509
|
i0.ɵɵelementEnd();
|
|
3489
|
-
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Template,
|
|
3510
|
+
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Template, 5, 2, "div", 2);
|
|
3490
3511
|
i0.ɵɵelementEnd();
|
|
3491
3512
|
} if (rf & 2) {
|
|
3492
3513
|
i0.ɵɵadvance(2);
|
|
@@ -3497,7 +3518,7 @@ class PageTitleComponent {
|
|
|
3497
3518
|
}
|
|
3498
3519
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
|
|
3499
3520
|
type: Component,
|
|
3500
|
-
args: [{ selector: 'cauca-page-title', imports: [TranslateModule, RouterModule], template: "<div class=\"title-section\">\n\n <h4 class=\"title-label\">{{caption() | translate }}</h4>\n\n @if (displayBreadcrumb()) {\n <div class=\"breadcrumb\">\n\n @if (baseCrumb()) {\n <div class=\"basecrumb\">{{baseCrumb()|translate}}</div>\n <span>/</span>\n }\n\n @for(location of breadcrumbLocation(); track location) {\n @if (location.link) {\n <a class=\"basecrumb\" [href]=\"location.link\" [routerLink]=\"location.link\">{{location.title| translate }}</a>\n } @else if (location.action) {\n <span class=\"basecrumb crumb-link\" (click)=\"location.action()\">{{ location.translate ? (location.title | translate) : location.title}}</span>\n } @else {\n <span class=\"basecrumb\">{{location.title}}</span>\n }\n <span>/</span>\n }\n\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\n\n </div>\n }\n\n</div>", styles: [".title-section{display:flex;gap:8px;flex-direction:column;align-items:flex-start;align-self:stretch;margin-bottom:24px}.breadcrumb{display:flex;align-items:center;gap:8px}h4{padding:0}a{text-decoration:none}a:visited{color:inherit}.basecrumb{color:#12101499}.crumb-link{cursor:pointer}@media(max-width:500px){.title-section{padding:16px}}\n"] }]
|
|
3521
|
+
args: [{ selector: 'cauca-page-title', imports: [TranslateModule, RouterModule], template: "<div class=\"title-section\">\r\n\r\n <h4 class=\"title-label\">{{caption() | translate }}</h4>\r\n\r\n @if (displayBreadcrumb()) {\r\n <div class=\"breadcrumb\">\r\n\r\n @if (baseCrumb()) {\r\n <div class=\"basecrumb\">{{baseCrumb()|translate}}</div>\r\n @if (breadcrumbLocation().length > 0 || (currentBreadcrumb() && currentBreadcrumb().trim() !== '')) {\r\n <span>/</span>\r\n }\r\n }\r\n\r\n @for(location of breadcrumbLocation(); track location) {\r\n @if (location.link) {\r\n <a class=\"basecrumb\" [href]=\"location.link\" [routerLink]=\"location.link\">{{location.title| translate }}</a>\r\n } @else if (location.action) {\r\n <span class=\"basecrumb crumb-link\" (click)=\"location.action()\">{{ location.translate ? (location.title | translate) : location.title}}</span>\r\n } @else {\r\n <span class=\"basecrumb\">{{location.title}}</span>\r\n }\r\n @if (!$last || (currentBreadcrumb() && currentBreadcrumb().trim() !== '')) {\r\n <span>/</span>\r\n }\r\n }\r\n\r\n @if (currentBreadcrumb() && currentBreadcrumb().trim() !== '') {\r\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\r\n }\r\n\r\n </div>\r\n }\r\n\r\n</div>", styles: [".title-section{display:flex;gap:8px;flex-direction:column;align-items:flex-start;align-self:stretch;margin-bottom:24px}.breadcrumb{display:flex;align-items:center;gap:8px}h4{padding:0}a{text-decoration:none}a:visited{color:inherit}.basecrumb{color:#12101499}.crumb-link{cursor:pointer}@media(max-width:500px){.title-section{padding:16px}}\n"] }]
|
|
3501
3522
|
}], null, { caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], showBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBreadcrumb", required: false }] }], location: [{ type: i0.Input, args: [{ isSignal: true, alias: "location", required: false }] }], breadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumb", required: false }] }], baseCrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseCrumb", required: false }] }], translateBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "translateBreadcrumb", required: false }] }] }); })();
|
|
3502
3523
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3503
3524
|
|
|
@@ -3512,7 +3533,7 @@ class ExpandablePanelComponent {
|
|
|
3512
3533
|
this.isCollapsed.update(value => !value);
|
|
3513
3534
|
}
|
|
3514
3535
|
static { this.ɵfac = function ExpandablePanelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExpandablePanelComponent)(); }; }
|
|
3515
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExpandablePanelComponent, selectors: [["cauca-expandable-panel"]], inputs: { isCollapsed: [1, "isCollapsed"], caption: [1, "caption"], subCaption: [1, "subCaption"] }, outputs: { isCollapsed: "isCollapsedChange" }, ngContentSelectors: _c0$2, decls:
|
|
3536
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExpandablePanelComponent, selectors: [["cauca-expandable-panel"]], inputs: { isCollapsed: [1, "isCollapsed"], caption: [1, "caption"], subCaption: [1, "subCaption"] }, outputs: { isCollapsed: "isCollapsedChange" }, ngContentSelectors: _c0$2, decls: 12, vars: 6, consts: [[1, "expansion-button", 3, "click"], [1, "primary"], [1, "body2"], [1, "expansion-panel"], [1, "expansion-panel-content"]], template: function ExpandablePanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3516
3537
|
i0.ɵɵprojectionDef();
|
|
3517
3538
|
i0.ɵɵelementStart(0, "section")(1, "div", 0);
|
|
3518
3539
|
i0.ɵɵlistener("click", function ExpandablePanelComponent_Template_div_click_1_listener() { return ctx.changeState(); });
|
|
@@ -3525,9 +3546,9 @@ class ExpandablePanelComponent {
|
|
|
3525
3546
|
i0.ɵɵelementStart(7, "div", 2);
|
|
3526
3547
|
i0.ɵɵtext(8);
|
|
3527
3548
|
i0.ɵɵelementEnd()()();
|
|
3528
|
-
i0.ɵɵelementStart(9, "div", 3);
|
|
3529
|
-
i0.ɵɵprojection(
|
|
3530
|
-
i0.ɵɵelementEnd()();
|
|
3549
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "div", 4);
|
|
3550
|
+
i0.ɵɵprojection(11);
|
|
3551
|
+
i0.ɵɵelementEnd()()();
|
|
3531
3552
|
} if (rf & 2) {
|
|
3532
3553
|
i0.ɵɵadvance(2);
|
|
3533
3554
|
i0.ɵɵclassProp("collapsed", ctx.isCollapsed());
|
|
@@ -3537,11 +3558,11 @@ class ExpandablePanelComponent {
|
|
|
3537
3558
|
i0.ɵɵtextInterpolate(ctx.subCaption());
|
|
3538
3559
|
i0.ɵɵadvance();
|
|
3539
3560
|
i0.ɵɵclassProp("collapsed", ctx.isCollapsed());
|
|
3540
|
-
} }, dependencies: [MatIcon], styles: ["section[_ngcontent-%COMP%]{display:flex;padding:16px 0}.primary[_ngcontent-%COMP%]{font-weight:600}.body2[_ngcontent-%COMP%]{width:fit-content;white-space:nowrap}.expansion-button[_ngcontent-%COMP%]{display:flex;gap:4px;width:240px;padding:0 16px 8px 0;cursor:pointer;height:fit-content}.expansion-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{transition:transform .5s ease-in-out}.expansion-button[_ngcontent-%COMP%] mat-icon.collapsed[_ngcontent-%COMP%]{transform:rotate(180deg)}.expansion-panel[_ngcontent-%COMP%]{overflow:hidden;flex:1;display:grid;grid-template-rows:1fr;transition:grid-template-rows .5s ease-in,opacity .5s ease-in,visibility .5s ease-in}.expansion-panel.collapsed[_ngcontent-%COMP%]{grid-template-rows:0fr;opacity:0;visibility:hidden}"], changeDetection: 0 }); }
|
|
3561
|
+
} }, dependencies: [MatIcon], styles: ["section[_ngcontent-%COMP%]{display:flex;padding:16px 0}.primary[_ngcontent-%COMP%]{font-weight:600}.body2[_ngcontent-%COMP%]{width:fit-content;white-space:nowrap}.expansion-button[_ngcontent-%COMP%]{display:flex;gap:4px;width:240px;padding:0 16px 8px 0;cursor:pointer;height:fit-content}.expansion-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{transition:transform .5s ease-in-out}.expansion-button[_ngcontent-%COMP%] mat-icon.collapsed[_ngcontent-%COMP%]{transform:rotate(180deg)}.expansion-panel[_ngcontent-%COMP%]{overflow:hidden;flex:1;display:grid;grid-template-rows:1fr;min-height:0;transition:grid-template-rows .5s ease-in,opacity .5s ease-in,visibility .5s ease-in}.expansion-panel.collapsed[_ngcontent-%COMP%]{grid-template-rows:0fr;opacity:0;visibility:hidden}.expansion-panel-content[_ngcontent-%COMP%]{min-height:0}"], changeDetection: 0 }); }
|
|
3541
3562
|
}
|
|
3542
3563
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExpandablePanelComponent, [{
|
|
3543
3564
|
type: Component,
|
|
3544
|
-
args: [{ selector: 'cauca-expandable-panel', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIcon], template: "<section>\r\n <div class=\"expansion-button\" (click)=\"changeState()\">\r\n <mat-icon [class.collapsed]=\"isCollapsed()\">expand_less</mat-icon>\r\n <div>\r\n <div class=\"primary\">{{caption()}}</div>\r\n <div class=\"body2\">{{subCaption()}}</div>\r\n </div>\r\n </div>\r\n <div class=\"expansion-panel\" [class.collapsed]=\"isCollapsed()\">\r\n <ng-content></ng-content>\r\n </div>\r\n</section>", styles: ["section{display:flex;padding:16px 0}.primary{font-weight:600}.body2{width:fit-content;white-space:nowrap}.expansion-button{display:flex;gap:4px;width:240px;padding:0 16px 8px 0;cursor:pointer;height:fit-content}.expansion-button mat-icon{transition:transform .5s ease-in-out}.expansion-button mat-icon.collapsed{transform:rotate(180deg)}.expansion-panel{overflow:hidden;flex:1;display:grid;grid-template-rows:1fr;transition:grid-template-rows .5s ease-in,opacity .5s ease-in,visibility .5s ease-in}.expansion-panel.collapsed{grid-template-rows:0fr;opacity:0;visibility:hidden}\n"] }]
|
|
3565
|
+
args: [{ selector: 'cauca-expandable-panel', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIcon], template: "<section>\r\n <div class=\"expansion-button\" (click)=\"changeState()\">\r\n <mat-icon [class.collapsed]=\"isCollapsed()\">expand_less</mat-icon>\r\n <div>\r\n <div class=\"primary\">{{caption()}}</div>\r\n <div class=\"body2\">{{subCaption()}}</div>\r\n </div>\r\n </div>\r\n <div class=\"expansion-panel\" [class.collapsed]=\"isCollapsed()\">\r\n <div class=\"expansion-panel-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</section>", styles: ["section{display:flex;padding:16px 0}.primary{font-weight:600}.body2{width:fit-content;white-space:nowrap}.expansion-button{display:flex;gap:4px;width:240px;padding:0 16px 8px 0;cursor:pointer;height:fit-content}.expansion-button mat-icon{transition:transform .5s ease-in-out}.expansion-button mat-icon.collapsed{transform:rotate(180deg)}.expansion-panel{overflow:hidden;flex:1;display:grid;grid-template-rows:1fr;min-height:0;transition:grid-template-rows .5s ease-in,opacity .5s ease-in,visibility .5s ease-in}.expansion-panel.collapsed{grid-template-rows:0fr;opacity:0;visibility:hidden}.expansion-panel-content{min-height:0}\n"] }]
|
|
3545
3566
|
}], null, { isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], subCaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "subCaption", required: false }] }] }); })();
|
|
3546
3567
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExpandablePanelComponent, { className: "ExpandablePanelComponent", filePath: "lib/components/layout/expandable-panel/expandable-panel.component.ts", lineNumber: 11 }); })();
|
|
3547
3568
|
|
|
@@ -3982,7 +4003,7 @@ class CaucaSimpleDialogComponent {
|
|
|
3982
4003
|
}
|
|
3983
4004
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaSimpleDialogComponent, [{
|
|
3984
4005
|
type: Component,
|
|
3985
|
-
args: [{ selector: 'cauca-simple-dialog', imports: [MatDialogTitle, MatDialogContent, MatDialogActions, MatButtonModule], template: "<h1 mat-dialog-title>{{data.title}}</h1>\n<div mat-dialog-content>\n <div [innerHTML]=\"data.message\"></div>\n</div>\n@if (data.buttons) {\n <div mat-dialog-actions>\n @for (label of data.buttons; track label; let i = $index) {\n <button mat-raised-button (click)=\"onClick(i)\">{{label}}</button>\n }\n </div>\n}", styles: ["div[mat-dialog-actions]{margin-top:20px;text-align:center}\n"] }]
|
|
4006
|
+
args: [{ selector: 'cauca-simple-dialog', imports: [MatDialogTitle, MatDialogContent, MatDialogActions, MatButtonModule], template: "<h1 mat-dialog-title>{{data.title}}</h1>\r\n<div mat-dialog-content>\r\n <div [innerHTML]=\"data.message\"></div>\r\n</div>\r\n@if (data.buttons) {\r\n <div mat-dialog-actions>\r\n @for (label of data.buttons; track label; let i = $index) {\r\n <button mat-raised-button (click)=\"onClick(i)\">{{label}}</button>\r\n }\r\n </div>\r\n}", styles: ["div[mat-dialog-actions]{margin-top:20px;text-align:center}\n"] }]
|
|
3986
4007
|
}], null, null); })();
|
|
3987
4008
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSimpleDialogComponent, { className: "CaucaSimpleDialogComponent", filePath: "lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts", lineNumber: 13 }); })();
|
|
3988
4009
|
|
|
@@ -4105,7 +4126,7 @@ class CaucaInputFileComponent {
|
|
|
4105
4126
|
}
|
|
4106
4127
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaInputFileComponent, [{
|
|
4107
4128
|
type: Component,
|
|
4108
|
-
args: [{ selector: 'cauca-input-file', imports: [MatButtonModule, MatIcon], template: "<button mat-raised-button (click)=\"openDialog($event)\">\n @if (icon) {\n <mat-icon>{{icon}}</mat-icon>\n }\n @if (text) {\n <span>{{text}}</span>\n }\n</button>\n@if (multiple) {\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" multiple=\"multiple\" />\n} @else {\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" />\n}\n\n", styles: [":host input{display:none}\n"] }]
|
|
4129
|
+
args: [{ selector: 'cauca-input-file', imports: [MatButtonModule, MatIcon], template: "<button mat-raised-button (click)=\"openDialog($event)\">\r\n @if (icon) {\r\n <mat-icon>{{icon}}</mat-icon>\r\n }\r\n @if (text) {\r\n <span>{{text}}</span>\r\n }\r\n</button>\r\n@if (multiple) {\r\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" multiple=\"multiple\" />\r\n} @else {\r\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" />\r\n}\r\n\r\n", styles: [":host input{display:none}\n"] }]
|
|
4109
4130
|
}], null, { file: [{
|
|
4110
4131
|
type: ViewChild,
|
|
4111
4132
|
args: ['file', { static: false }]
|
|
@@ -4194,7 +4215,7 @@ class CaucaInputMultipleLangueComponent {
|
|
|
4194
4215
|
}
|
|
4195
4216
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaInputMultipleLangueComponent, [{
|
|
4196
4217
|
type: Component,
|
|
4197
|
-
args: [{ selector: 'cauca-input-multiple-langue', imports: [MatTabGroup, MatTab, MatInput, MatFormFieldModule, ReactiveFormsModule, TranslateModule], template: "<mat-tab-group [selectedIndex]=\"selectedIndex\" (selectedIndexChange)=\"onTagChanged($event)\">\n @for (lang of labels; track lang; let i = $index) {\n <mat-tab [label]=\"lang\">\n <mat-form-field hideRequiredMarker=\"never\">\n <input matInput [placeholder]=\"lang\" [formControl]=\"forms[i]\" required=\"required\">\n @if (forms[i].invalid) {\n <mat-error>{{getErrorMessage(i) | translate}}</mat-error>\n }\n </mat-form-field>\n </mat-tab>\n }\n</mat-tab-group>", styles: [".mat-mdc-form-field{width:100%}\n"] }]
|
|
4218
|
+
args: [{ selector: 'cauca-input-multiple-langue', imports: [MatTabGroup, MatTab, MatInput, MatFormFieldModule, ReactiveFormsModule, TranslateModule], template: "<mat-tab-group [selectedIndex]=\"selectedIndex\" (selectedIndexChange)=\"onTagChanged($event)\">\r\n @for (lang of labels; track lang; let i = $index) {\r\n <mat-tab [label]=\"lang\">\r\n <mat-form-field hideRequiredMarker=\"never\">\r\n <input matInput [placeholder]=\"lang\" [formControl]=\"forms[i]\" required=\"required\">\r\n @if (forms[i].invalid) {\r\n <mat-error>{{getErrorMessage(i) | translate}}</mat-error>\r\n }\r\n </mat-form-field>\r\n </mat-tab>\r\n }\r\n</mat-tab-group>", styles: [".mat-mdc-form-field{width:100%}\n"] }]
|
|
4198
4219
|
}], () => [], { value: [{
|
|
4199
4220
|
type: Input
|
|
4200
4221
|
}] }); })();
|
|
@@ -4277,7 +4298,7 @@ class CaucaSlideshowComponent {
|
|
|
4277
4298
|
}
|
|
4278
4299
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaSlideshowComponent, [{
|
|
4279
4300
|
type: Component,
|
|
4280
|
-
args: [{ selector: 'cauca-slideshow', imports: [], template: "<div #container class=\"slideshow\">\n @for (url of images; track url; let index = $index) {\n <div [class.active]=\"index === selectedIndex\" [class.entering]=\"states[index] === 'in'\" [class.leaving]=\"states[index] === 'out'\">\n <img [src]=\"url\" />\n </div>\n }\n</div>", styles: [".slideshow{margin:0 auto;position:relative;overflow:hidden}.slideshow>div{width:100%;height:100%;position:absolute;transition:transform .5s ease-in,opacity .5s ease-in;transform:translate(100%);opacity:0}.slideshow>div.active{transform:translate(0);opacity:1}.slideshow>div.leaving{transform:translate(-100%);opacity:0}.slideshow>div.entering{transform:translate(0);opacity:1}img{max-height:100%;max-width:100%;margin:0 auto;display:block}\n"] }]
|
|
4301
|
+
args: [{ selector: 'cauca-slideshow', imports: [], template: "<div #container class=\"slideshow\">\r\n @for (url of images; track url; let index = $index) {\r\n <div [class.active]=\"index === selectedIndex\" [class.entering]=\"states[index] === 'in'\" [class.leaving]=\"states[index] === 'out'\">\r\n <img [src]=\"url\" />\r\n </div>\r\n }\r\n</div>", styles: [".slideshow{margin:0 auto;position:relative;overflow:hidden}.slideshow>div{width:100%;height:100%;position:absolute;transition:transform .5s ease-in,opacity .5s ease-in;transform:translate(100%);opacity:0}.slideshow>div.active{transform:translate(0);opacity:1}.slideshow>div.leaving{transform:translate(-100%);opacity:0}.slideshow>div.entering{transform:translate(0);opacity:1}img{max-height:100%;max-width:100%;margin:0 auto;display:block}\n"] }]
|
|
4281
4302
|
}], null, { container: [{
|
|
4282
4303
|
type: ViewChild,
|
|
4283
4304
|
args: ['container', { static: true }]
|