@cauca-911/material 17.1.6 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/cauca-date-time-picker/cauca-date-time-picker.component.mjs +2 -2
- package/esm2022/lib/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.mjs +15 -14
- package/esm2022/lib/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.mjs +47 -47
- package/esm2022/lib/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.mjs +1 -1
- package/esm2022/lib/cauca-input-file/cauca-input-file.component.mjs +27 -26
- package/esm2022/lib/cauca-input-multiple-langue/cauca-input-multiple-langue.component.mjs +14 -14
- package/esm2022/lib/cauca-material.component.mjs +2 -2
- package/esm2022/lib/cauca-menu-sidebar/cauca-menu-sidebar.component.mjs +15 -14
- package/esm2022/lib/cauca-menu-vertical/cauca-menu-vertical.component.mjs +47 -47
- package/esm2022/lib/cauca-simple-dialog/cauca-simple-dialog.component.mjs +11 -11
- package/esm2022/lib/cauca-slideshow/cauca-slideshow.component.mjs +9 -9
- package/fesm2022/cauca-911-material.mjs +181 -178
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -4,7 +4,7 @@ import * as i1 from '@ngx-translate/core';
|
|
|
4
4
|
import * as i2 from '@angular/common';
|
|
5
5
|
import { CommonModule, DatePipe } from '@angular/common';
|
|
6
6
|
import * as i3 from '@angular/forms';
|
|
7
|
-
import {
|
|
7
|
+
import { UntypedFormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
8
|
import * as i4 from '@angular/material/button';
|
|
9
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
10
10
|
import * as i4$1 from '@angular/material/form-field';
|
|
@@ -23,7 +23,7 @@ import * as i1$1 from '@angular/material/dialog';
|
|
|
23
23
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
24
24
|
import * as i1$3 from '@angular/router';
|
|
25
25
|
import { NavigationEnd } from '@angular/router';
|
|
26
|
-
import {
|
|
26
|
+
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
27
27
|
import { MatNativeDateModule } from '@angular/material/core';
|
|
28
28
|
import * as i5$2 from '@angular/material/datepicker';
|
|
29
29
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
@@ -49,7 +49,7 @@ class CaucaMaterialComponent {
|
|
|
49
49
|
i0.ɵɵpipe(2, "translate");
|
|
50
50
|
i0.ɵɵelementEnd();
|
|
51
51
|
} if (rf & 2) {
|
|
52
|
-
i0.ɵɵadvance(
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
53
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "core.noGenericComponentOnThisLibrary"));
|
|
54
54
|
} }, dependencies: [i1.TranslatePipe], encapsulation: 2 }); }
|
|
55
55
|
}
|
|
@@ -66,24 +66,24 @@ class SimpleDialogData {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
function CaucaSimpleDialogComponent_div_4_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
const
|
|
69
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
70
70
|
i0.ɵɵelementStart(0, "button", 6);
|
|
71
|
-
i0.ɵɵlistener("click", function CaucaSimpleDialogComponent_div_4_button_1_Template_button_click_0_listener() { const
|
|
71
|
+
i0.ɵɵlistener("click", function CaucaSimpleDialogComponent_div_4_button_1_Template_button_click_0_listener() { const i_r2 = i0.ɵɵrestoreView(_r1).index; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onClick(i_r2)); });
|
|
72
72
|
i0.ɵɵtext(1);
|
|
73
73
|
i0.ɵɵelementEnd();
|
|
74
74
|
} if (rf & 2) {
|
|
75
|
-
const
|
|
76
|
-
i0.ɵɵadvance(
|
|
77
|
-
i0.ɵɵtextInterpolate(
|
|
75
|
+
const label_r4 = ctx.$implicit;
|
|
76
|
+
i0.ɵɵadvance();
|
|
77
|
+
i0.ɵɵtextInterpolate(label_r4);
|
|
78
78
|
} }
|
|
79
79
|
function CaucaSimpleDialogComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
80
80
|
i0.ɵɵelementStart(0, "div", 4);
|
|
81
81
|
i0.ɵɵtemplate(1, CaucaSimpleDialogComponent_div_4_button_1_Template, 2, 1, "button", 5);
|
|
82
82
|
i0.ɵɵelementEnd();
|
|
83
83
|
} if (rf & 2) {
|
|
84
|
-
const
|
|
85
|
-
i0.ɵɵadvance(
|
|
86
|
-
i0.ɵɵproperty("ngForOf",
|
|
84
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
85
|
+
i0.ɵɵadvance();
|
|
86
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.data.buttons);
|
|
87
87
|
} }
|
|
88
88
|
class CaucaSimpleDialogComponent {
|
|
89
89
|
constructor(dialogRef, data) {
|
|
@@ -103,11 +103,11 @@ class CaucaSimpleDialogComponent {
|
|
|
103
103
|
i0.ɵɵelementEnd();
|
|
104
104
|
i0.ɵɵtemplate(4, CaucaSimpleDialogComponent_div_4_Template, 2, 1, "div", 3);
|
|
105
105
|
} if (rf & 2) {
|
|
106
|
-
i0.ɵɵadvance(
|
|
106
|
+
i0.ɵɵadvance();
|
|
107
107
|
i0.ɵɵtextInterpolate(ctx.data.title);
|
|
108
108
|
i0.ɵɵadvance(2);
|
|
109
109
|
i0.ɵɵproperty("innerHTML", ctx.data.message, i0.ɵɵsanitizeHtml);
|
|
110
|
-
i0.ɵɵadvance(
|
|
110
|
+
i0.ɵɵadvance();
|
|
111
111
|
i0.ɵɵproperty("ngIf", ctx.data.buttons);
|
|
112
112
|
} }, dependencies: [i2.NgForOf, i2.NgIf, i4.MatButton, i1$1.MatDialogTitle, i1$1.MatDialogActions, i1$1.MatDialogContent], styles: ["div[mat-dialog-actions][_ngcontent-%COMP%]{margin-top:20px;text-align:center}"] }); }
|
|
113
113
|
}
|
|
@@ -126,9 +126,9 @@ function CaucaInputFileComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
126
126
|
i0.ɵɵtext(1);
|
|
127
127
|
i0.ɵɵelementEnd();
|
|
128
128
|
} if (rf & 2) {
|
|
129
|
-
const
|
|
130
|
-
i0.ɵɵadvance(
|
|
131
|
-
i0.ɵɵtextInterpolate(
|
|
129
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
130
|
+
i0.ɵɵadvance();
|
|
131
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
|
132
132
|
} }
|
|
133
133
|
function CaucaInputFileComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
134
134
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -136,29 +136,29 @@ function CaucaInputFileComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
136
136
|
i0.ɵɵelementEnd();
|
|
137
137
|
} if (rf & 2) {
|
|
138
138
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
139
|
-
i0.ɵɵadvance(
|
|
139
|
+
i0.ɵɵadvance();
|
|
140
140
|
i0.ɵɵtextInterpolate(ctx_r1.text);
|
|
141
141
|
} }
|
|
142
142
|
function CaucaInputFileComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
143
|
-
const
|
|
143
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
144
144
|
i0.ɵɵelementContainerStart(0);
|
|
145
|
-
i0.ɵɵelementStart(1, "input",
|
|
146
|
-
i0.ɵɵlistener("change", function CaucaInputFileComponent_ng_container_3_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(
|
|
145
|
+
i0.ɵɵelementStart(1, "input", 5, 1);
|
|
146
|
+
i0.ɵɵlistener("change", function CaucaInputFileComponent_ng_container_3_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSelectFile($event)); });
|
|
147
147
|
i0.ɵɵelementEnd();
|
|
148
148
|
i0.ɵɵelementContainerEnd();
|
|
149
149
|
} if (rf & 2) {
|
|
150
|
-
const
|
|
151
|
-
i0.ɵɵadvance(
|
|
152
|
-
i0.ɵɵproperty("accept",
|
|
150
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
151
|
+
i0.ɵɵadvance();
|
|
152
|
+
i0.ɵɵproperty("accept", ctx_r1.accept);
|
|
153
153
|
} }
|
|
154
154
|
function CaucaInputFileComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
155
|
-
const
|
|
156
|
-
i0.ɵɵelementStart(0, "input", 6,
|
|
157
|
-
i0.ɵɵlistener("change", function CaucaInputFileComponent_ng_template_4_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
155
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
156
|
+
i0.ɵɵelementStart(0, "input", 6, 1);
|
|
157
|
+
i0.ɵɵlistener("change", function CaucaInputFileComponent_ng_template_4_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSelectFile($event)); });
|
|
158
158
|
i0.ɵɵelementEnd();
|
|
159
159
|
} if (rf & 2) {
|
|
160
|
-
const
|
|
161
|
-
i0.ɵɵproperty("accept",
|
|
160
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
161
|
+
i0.ɵɵproperty("accept", ctx_r1.accept);
|
|
162
162
|
} }
|
|
163
163
|
class CaucaInputFileComponent {
|
|
164
164
|
constructor(translateService, dialog) {
|
|
@@ -224,20 +224,21 @@ class CaucaInputFileComponent {
|
|
|
224
224
|
} if (rf & 2) {
|
|
225
225
|
let _t;
|
|
226
226
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.file = _t.first);
|
|
227
|
-
} }, inputs: { accept: "accept", multiple: "multiple", icon: "icon", text: "text" }, outputs: { readend: "readend" }, decls: 6, vars: 4, consts: [["mat-raised-button", "", 3, "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["
|
|
228
|
-
i0.ɵɵ
|
|
229
|
-
i0.ɵɵ
|
|
230
|
-
i0.ɵɵ
|
|
227
|
+
} }, inputs: { accept: "accept", multiple: "multiple", icon: "icon", text: "text" }, outputs: { readend: "readend" }, decls: 6, vars: 4, consts: [["notMultipleInput", ""], ["file", ""], ["mat-raised-button", "", 3, "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["type", "file", "multiple", "multiple", 3, "change", "accept"], ["type", "file", 3, "change", "accept"]], template: function CaucaInputFileComponent_Template(rf, ctx) { if (rf & 1) {
|
|
228
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
229
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
230
|
+
i0.ɵɵlistener("click", function CaucaInputFileComponent_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.openDialog($event)); });
|
|
231
|
+
i0.ɵɵtemplate(1, CaucaInputFileComponent_mat_icon_1_Template, 2, 1, "mat-icon", 3)(2, CaucaInputFileComponent_span_2_Template, 2, 1, "span", 3);
|
|
231
232
|
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵtemplate(3, CaucaInputFileComponent_ng_container_3_Template, 3, 1, "ng-container",
|
|
233
|
+
i0.ɵɵtemplate(3, CaucaInputFileComponent_ng_container_3_Template, 3, 1, "ng-container", 4)(4, CaucaInputFileComponent_ng_template_4_Template, 2, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
233
234
|
} if (rf & 2) {
|
|
234
|
-
const
|
|
235
|
-
i0.ɵɵadvance(
|
|
235
|
+
const notMultipleInput_r5 = i0.ɵɵreference(5);
|
|
236
|
+
i0.ɵɵadvance();
|
|
236
237
|
i0.ɵɵproperty("ngIf", ctx.icon);
|
|
237
|
-
i0.ɵɵadvance(
|
|
238
|
+
i0.ɵɵadvance();
|
|
238
239
|
i0.ɵɵproperty("ngIf", ctx.text);
|
|
239
|
-
i0.ɵɵadvance(
|
|
240
|
-
i0.ɵɵproperty("ngIf", ctx.multiple)("ngIfElse",
|
|
240
|
+
i0.ɵɵadvance();
|
|
241
|
+
i0.ɵɵproperty("ngIf", ctx.multiple)("ngIfElse", notMultipleInput_r5);
|
|
241
242
|
} }, dependencies: [i2.NgIf, i4.MatButton, i5.MatIcon], styles: ["[_nghost-%COMP%] input[_ngcontent-%COMP%]{display:none}"] }); }
|
|
242
243
|
}
|
|
243
244
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaInputFileComponent, [{
|
|
@@ -265,10 +266,10 @@ function CaucaInputMultipleLangueComponent_mat_tab_1_mat_error_3_Template(rf, ct
|
|
|
265
266
|
i0.ɵɵpipe(2, "translate");
|
|
266
267
|
i0.ɵɵelementEnd();
|
|
267
268
|
} if (rf & 2) {
|
|
268
|
-
const
|
|
269
|
-
const
|
|
270
|
-
i0.ɵɵadvance(
|
|
271
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
269
|
+
const i_r1 = i0.ɵɵnextContext().index;
|
|
270
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
271
|
+
i0.ɵɵadvance();
|
|
272
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.getErrorMessage(i_r1)));
|
|
272
273
|
} }
|
|
273
274
|
function CaucaInputMultipleLangueComponent_mat_tab_1_Template(rf, ctx) { if (rf & 1) {
|
|
274
275
|
i0.ɵɵelementStart(0, "mat-tab", 2)(1, "mat-form-field", 3);
|
|
@@ -276,14 +277,14 @@ function CaucaInputMultipleLangueComponent_mat_tab_1_Template(rf, ctx) { if (rf
|
|
|
276
277
|
i0.ɵɵtemplate(3, CaucaInputMultipleLangueComponent_mat_tab_1_mat_error_3_Template, 3, 3, "mat-error", 5);
|
|
277
278
|
i0.ɵɵelementEnd()();
|
|
278
279
|
} if (rf & 2) {
|
|
279
|
-
const
|
|
280
|
-
const
|
|
281
|
-
const
|
|
282
|
-
i0.ɵɵproperty("label",
|
|
280
|
+
const lang_r3 = ctx.$implicit;
|
|
281
|
+
const i_r1 = ctx.index;
|
|
282
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
283
|
+
i0.ɵɵproperty("label", lang_r3);
|
|
283
284
|
i0.ɵɵadvance(2);
|
|
284
|
-
i0.ɵɵproperty("placeholder",
|
|
285
|
-
i0.ɵɵadvance(
|
|
286
|
-
i0.ɵɵproperty("ngIf",
|
|
285
|
+
i0.ɵɵproperty("placeholder", lang_r3)("formControl", ctx_r1.forms[i_r1]);
|
|
286
|
+
i0.ɵɵadvance();
|
|
287
|
+
i0.ɵɵproperty("ngIf", ctx_r1.forms[i_r1].invalid);
|
|
287
288
|
} }
|
|
288
289
|
class CaucaInputMultipleLangueComponent {
|
|
289
290
|
constructor(coreService, translate) {
|
|
@@ -317,14 +318,14 @@ class CaucaInputMultipleLangueComponent {
|
|
|
317
318
|
});
|
|
318
319
|
}
|
|
319
320
|
static { this.ɵfac = function CaucaInputMultipleLangueComponent_Factory(t) { return new (t || CaucaInputMultipleLangueComponent)(i0.ɵɵdirectiveInject(i1$2.CaucaCoreService), i0.ɵɵdirectiveInject(i1$2.TranslateService)); }; }
|
|
320
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaucaInputMultipleLangueComponent, selectors: [["cauca-input-multiple-langue"]], inputs: { value: "value" }, decls: 2, vars: 2, consts: [[3, "
|
|
321
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaucaInputMultipleLangueComponent, selectors: [["cauca-input-multiple-langue"]], inputs: { value: "value" }, decls: 2, vars: 2, consts: [[3, "selectedIndexChange", "selectedIndex"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], ["hideRequiredMarker", "never"], ["matInput", "", "required", "required", 3, "placeholder", "formControl"], [4, "ngIf"]], template: function CaucaInputMultipleLangueComponent_Template(rf, ctx) { if (rf & 1) {
|
|
321
322
|
i0.ɵɵelementStart(0, "mat-tab-group", 0);
|
|
322
323
|
i0.ɵɵlistener("selectedIndexChange", function CaucaInputMultipleLangueComponent_Template_mat_tab_group_selectedIndexChange_0_listener($event) { return ctx.onTagChanged($event); });
|
|
323
324
|
i0.ɵɵtemplate(1, CaucaInputMultipleLangueComponent_mat_tab_1_Template, 4, 4, "mat-tab", 1);
|
|
324
325
|
i0.ɵɵelementEnd();
|
|
325
326
|
} if (rf & 2) {
|
|
326
327
|
i0.ɵɵproperty("selectedIndex", ctx.selectedIndex);
|
|
327
|
-
i0.ɵɵadvance(
|
|
328
|
+
i0.ɵɵadvance();
|
|
328
329
|
i0.ɵɵproperty("ngForOf", ctx.labels);
|
|
329
330
|
} }, dependencies: [i2.NgForOf, i2.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.RequiredValidator, i3.FormControlDirective, i4$1.MatFormField, i4$1.MatError, i5$1.MatInput, i6.MatTab, i6.MatTabGroup, i1.TranslatePipe], styles: [".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"] }); }
|
|
330
331
|
}
|
|
@@ -339,25 +340,25 @@ class CaucaInputMultipleLangueComponent {
|
|
|
339
340
|
function CaucaMenuVerticalComponent_h4_0_div_2_fa_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
340
341
|
i0.ɵɵelement(0, "fa-icon", 8);
|
|
341
342
|
} if (rf & 2) {
|
|
342
|
-
const
|
|
343
|
-
i0.ɵɵproperty("icon",
|
|
343
|
+
const menu_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
344
|
+
i0.ɵɵproperty("icon", menu_r2.icon);
|
|
344
345
|
} }
|
|
345
346
|
function CaucaMenuVerticalComponent_h4_0_div_2_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
346
347
|
i0.ɵɵelement(0, "img", 9);
|
|
347
348
|
} if (rf & 2) {
|
|
348
|
-
const
|
|
349
|
-
i0.ɵɵproperty("src",
|
|
349
|
+
const menu_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
350
|
+
i0.ɵɵproperty("src", menu_r2.icon, i0.ɵɵsanitizeUrl);
|
|
350
351
|
} }
|
|
351
352
|
function CaucaMenuVerticalComponent_h4_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
352
353
|
i0.ɵɵelementStart(0, "div", 5);
|
|
353
354
|
i0.ɵɵtemplate(1, CaucaMenuVerticalComponent_h4_0_div_2_fa_icon_1_Template, 1, 1, "fa-icon", 6)(2, CaucaMenuVerticalComponent_h4_0_div_2_img_2_Template, 1, 1, "img", 7);
|
|
354
355
|
i0.ɵɵelementEnd();
|
|
355
356
|
} if (rf & 2) {
|
|
356
|
-
const
|
|
357
|
-
i0.ɵɵadvance(
|
|
358
|
-
i0.ɵɵproperty("ngIf",
|
|
359
|
-
i0.ɵɵadvance(
|
|
360
|
-
i0.ɵɵproperty("ngIf",
|
|
357
|
+
const menu_r2 = i0.ɵɵnextContext().$implicit;
|
|
358
|
+
i0.ɵɵadvance();
|
|
359
|
+
i0.ɵɵproperty("ngIf", menu_r2.icon.filter !== undefined);
|
|
360
|
+
i0.ɵɵadvance();
|
|
361
|
+
i0.ɵɵproperty("ngIf", menu_r2.icon.filter === undefined);
|
|
361
362
|
} }
|
|
362
363
|
function CaucaMenuVerticalComponent_h4_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
363
364
|
i0.ɵɵelementStart(0, "div", 10)(1, "span");
|
|
@@ -365,9 +366,9 @@ function CaucaMenuVerticalComponent_h4_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
365
366
|
i0.ɵɵpipe(3, "translate");
|
|
366
367
|
i0.ɵɵelementEnd()();
|
|
367
368
|
} if (rf & 2) {
|
|
368
|
-
const
|
|
369
|
+
const menu_r2 = i0.ɵɵnextContext().$implicit;
|
|
369
370
|
i0.ɵɵadvance(2);
|
|
370
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1,
|
|
371
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, menu_r2.label));
|
|
371
372
|
} }
|
|
372
373
|
function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
373
374
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -377,25 +378,25 @@ function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_1_Template(rf, ctx) { i
|
|
|
377
378
|
function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_2_fa_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
378
379
|
i0.ɵɵelement(0, "fa-icon", 8);
|
|
379
380
|
} if (rf & 2) {
|
|
380
|
-
const
|
|
381
|
-
i0.ɵɵproperty("icon",
|
|
381
|
+
const submenu_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
382
|
+
i0.ɵɵproperty("icon", submenu_r5.icon);
|
|
382
383
|
} }
|
|
383
384
|
function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_2_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
384
385
|
i0.ɵɵelement(0, "img", 9);
|
|
385
386
|
} if (rf & 2) {
|
|
386
|
-
const
|
|
387
|
-
i0.ɵɵproperty("src",
|
|
387
|
+
const submenu_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
388
|
+
i0.ɵɵproperty("src", submenu_r5.icon, i0.ɵɵsanitizeUrl);
|
|
388
389
|
} }
|
|
389
390
|
function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
390
391
|
i0.ɵɵelementStart(0, "div", 5);
|
|
391
392
|
i0.ɵɵtemplate(1, CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_2_fa_icon_1_Template, 1, 1, "fa-icon", 6)(2, CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_2_img_2_Template, 1, 1, "img", 7);
|
|
392
393
|
i0.ɵɵelementEnd();
|
|
393
394
|
} if (rf & 2) {
|
|
394
|
-
const
|
|
395
|
-
i0.ɵɵadvance(
|
|
396
|
-
i0.ɵɵproperty("ngIf",
|
|
397
|
-
i0.ɵɵadvance(
|
|
398
|
-
i0.ɵɵproperty("ngIf",
|
|
395
|
+
const submenu_r5 = i0.ɵɵnextContext().$implicit;
|
|
396
|
+
i0.ɵɵadvance();
|
|
397
|
+
i0.ɵɵproperty("ngIf", submenu_r5.icon.filter !== undefined);
|
|
398
|
+
i0.ɵɵadvance();
|
|
399
|
+
i0.ɵɵproperty("ngIf", submenu_r5.icon.filter === undefined);
|
|
399
400
|
} }
|
|
400
401
|
function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
401
402
|
i0.ɵɵelementStart(0, "div", 10)(1, "span");
|
|
@@ -403,52 +404,52 @@ function CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_3_Template(rf, ctx) { i
|
|
|
403
404
|
i0.ɵɵpipe(3, "translate");
|
|
404
405
|
i0.ɵɵelementEnd()();
|
|
405
406
|
} if (rf & 2) {
|
|
406
|
-
const
|
|
407
|
+
const submenu_r5 = i0.ɵɵnextContext().$implicit;
|
|
407
408
|
i0.ɵɵadvance(2);
|
|
408
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1,
|
|
409
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, submenu_r5.label));
|
|
409
410
|
} }
|
|
410
411
|
function CaucaMenuVerticalComponent_h4_0_div_4_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
411
|
-
const
|
|
412
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
412
413
|
i0.ɵɵelementStart(0, "div", 13);
|
|
413
|
-
i0.ɵɵlistener("click", function CaucaMenuVerticalComponent_h4_0_div_4_div_1_Template_div_click_0_listener($event) { const
|
|
414
|
+
i0.ɵɵlistener("click", function CaucaMenuVerticalComponent_h4_0_div_4_div_1_Template_div_click_0_listener($event) { const submenu_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goTo(submenu_r5.path, $event)); });
|
|
414
415
|
i0.ɵɵtemplate(1, CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_1_Template, 2, 0, "div", 14)(2, CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_2_Template, 3, 2, "div", 2)(3, CaucaMenuVerticalComponent_h4_0_div_4_div_1_div_3_Template, 4, 3, "div", 3);
|
|
415
416
|
i0.ɵɵelementEnd();
|
|
416
417
|
} if (rf & 2) {
|
|
417
|
-
const
|
|
418
|
-
i0.ɵɵclassMap(
|
|
419
|
-
i0.ɵɵadvance(
|
|
420
|
-
i0.ɵɵproperty("ngIf", !
|
|
421
|
-
i0.ɵɵadvance(
|
|
422
|
-
i0.ɵɵproperty("ngIf",
|
|
423
|
-
i0.ɵɵadvance(
|
|
424
|
-
i0.ɵɵproperty("ngIf",
|
|
418
|
+
const submenu_r5 = ctx.$implicit;
|
|
419
|
+
i0.ɵɵclassMap(submenu_r5.activated ? "menu selected" : "menu");
|
|
420
|
+
i0.ɵɵadvance();
|
|
421
|
+
i0.ɵɵproperty("ngIf", !submenu_r5.icon);
|
|
422
|
+
i0.ɵɵadvance();
|
|
423
|
+
i0.ɵɵproperty("ngIf", submenu_r5.icon);
|
|
424
|
+
i0.ɵɵadvance();
|
|
425
|
+
i0.ɵɵproperty("ngIf", submenu_r5.label);
|
|
425
426
|
} }
|
|
426
427
|
function CaucaMenuVerticalComponent_h4_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
427
428
|
i0.ɵɵelementStart(0, "div", 11);
|
|
428
429
|
i0.ɵɵtemplate(1, CaucaMenuVerticalComponent_h4_0_div_4_div_1_Template, 4, 5, "div", 12);
|
|
429
430
|
i0.ɵɵelementEnd();
|
|
430
431
|
} if (rf & 2) {
|
|
431
|
-
const
|
|
432
|
-
i0.ɵɵadvance(
|
|
433
|
-
i0.ɵɵproperty("ngForOf",
|
|
432
|
+
const menu_r2 = i0.ɵɵnextContext().$implicit;
|
|
433
|
+
i0.ɵɵadvance();
|
|
434
|
+
i0.ɵɵproperty("ngForOf", menu_r2.childs);
|
|
434
435
|
} }
|
|
435
436
|
function CaucaMenuVerticalComponent_h4_0_Template(rf, ctx) { if (rf & 1) {
|
|
436
|
-
const
|
|
437
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
437
438
|
i0.ɵɵelementStart(0, "h4")(1, "div", 1);
|
|
438
|
-
i0.ɵɵlistener("click", function CaucaMenuVerticalComponent_h4_0_Template_div_click_1_listener($event) { const
|
|
439
|
+
i0.ɵɵlistener("click", function CaucaMenuVerticalComponent_h4_0_Template_div_click_1_listener($event) { const menu_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goTo(menu_r2.path, $event)); });
|
|
439
440
|
i0.ɵɵtemplate(2, CaucaMenuVerticalComponent_h4_0_div_2_Template, 3, 2, "div", 2)(3, CaucaMenuVerticalComponent_h4_0_div_3_Template, 4, 3, "div", 3);
|
|
440
441
|
i0.ɵɵelementEnd();
|
|
441
442
|
i0.ɵɵtemplate(4, CaucaMenuVerticalComponent_h4_0_div_4_Template, 2, 1, "div", 4);
|
|
442
443
|
i0.ɵɵelementEnd();
|
|
443
444
|
} if (rf & 2) {
|
|
444
|
-
const
|
|
445
|
-
i0.ɵɵclassMap(
|
|
445
|
+
const menu_r2 = ctx.$implicit;
|
|
446
|
+
i0.ɵɵclassMap(menu_r2.activated ? "selected" : "");
|
|
446
447
|
i0.ɵɵadvance(2);
|
|
447
|
-
i0.ɵɵproperty("ngIf",
|
|
448
|
-
i0.ɵɵadvance(
|
|
449
|
-
i0.ɵɵproperty("ngIf",
|
|
450
|
-
i0.ɵɵadvance(
|
|
451
|
-
i0.ɵɵproperty("ngIf",
|
|
448
|
+
i0.ɵɵproperty("ngIf", menu_r2.icon);
|
|
449
|
+
i0.ɵɵadvance();
|
|
450
|
+
i0.ɵɵproperty("ngIf", menu_r2.label);
|
|
451
|
+
i0.ɵɵadvance();
|
|
452
|
+
i0.ɵɵproperty("ngIf", menu_r2.childs.length && menu_r2.activated);
|
|
452
453
|
} }
|
|
453
454
|
class CaucaMenuVerticalComponent {
|
|
454
455
|
constructor(router) {
|
|
@@ -483,11 +484,11 @@ class CaucaMenuVerticalComponent {
|
|
|
483
484
|
i0.ɵɵtemplate(0, CaucaMenuVerticalComponent_h4_0_Template, 5, 5, "h4", 0);
|
|
484
485
|
} if (rf & 2) {
|
|
485
486
|
i0.ɵɵproperty("ngForOf", ctx.menuItems);
|
|
486
|
-
} }, dependencies: [i2.NgForOf, i2.NgIf, i3$1.FaIconComponent, i1.TranslatePipe], styles: [".menu[_ngcontent-%COMP%], .submenu[_ngcontent-%COMP%]{cursor:pointer}h4[_ngcontent-%COMP%]{margin:0;padding:0}h4[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%]{padding:1em 0;display:flex;flex-direction:row}h4[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto;align-self:center}.menu-dot[_ngcontent-%COMP%]{max-width:1.1em;text-align:center;margin-right:.5em;font-size:2em}.menu-icon[_ngcontent-%COMP%]{max-width:60px;text-align:center;margin-right:.5em}.submenu[_ngcontent-%COMP%]{margin-left:1em}.submenu[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%]{padding:0;font-size:.9em;line-height:2.2em}.submenu[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%]:before{content:\"\";margin-left:1.1em;width:.1em;height:2.5em;position:relative;background:#
|
|
487
|
+
} }, dependencies: [i2.NgForOf, i2.NgIf, i3$1.FaIconComponent, i1.TranslatePipe], styles: [".menu[_ngcontent-%COMP%], .submenu[_ngcontent-%COMP%]{cursor:pointer}h4[_ngcontent-%COMP%]{margin:0;padding:0}h4[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%]{padding:1em 0;display:flex;flex-direction:row}h4[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto;align-self:center}.menu-dot[_ngcontent-%COMP%]{max-width:1.1em;text-align:center;margin-right:.5em;font-size:2em}.menu-icon[_ngcontent-%COMP%]{max-width:60px;text-align:center;margin-right:.5em}.submenu[_ngcontent-%COMP%]{margin-left:1em}.submenu[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%]{padding:0;font-size:.9em;line-height:2.2em}.submenu[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%]:before{content:\"\";margin-left:1.1em;width:.1em;height:2.5em;position:relative;background:#fff;margin-right:-1.17em}"] }); }
|
|
487
488
|
}
|
|
488
489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaMenuVerticalComponent, [{
|
|
489
490
|
type: Component,
|
|
490
|
-
args: [{ selector: 'cauca-menu-vertical', template: "<h4 *ngFor=\"let menu of menuItems\" [class]=\"menu.activated ? 'selected' : ''\">\n <div (click)=\"goTo(menu.path, $event)\" class=\"menu\">\n <div *ngIf=\"menu.icon\" class=\"menu-icon\">\n <fa-icon *ngIf=\"menu.icon.filter !== undefined\" [icon]=\"menu.icon\"></fa-icon>\n <img *ngIf=\"menu.icon.filter === undefined\" [src]=\"menu.icon\" />\n </div>\n <div *ngIf=\"menu.label\" class=\"menu-caption\">\n <span>{{menu.label | translate}}</span>\n </div>\n </div>\n <div *ngIf=\"menu.childs.length && menu.activated\" class=\"submenu\">\n <div\n *ngFor=\"let submenu of menu.childs\"\n [class]=\"submenu.activated ? 'menu selected' : 'menu'\"\n (click)=\"goTo(submenu.path, $event)\">\n <div *ngIf=\"!submenu.icon\" class=\"menu-dot\">•</div>\n <div *ngIf=\"submenu.icon\" class=\"menu-icon\">\n <fa-icon *ngIf=\"submenu.icon.filter !== undefined\" [icon]=\"submenu.icon\"></fa-icon>\n <img *ngIf=\"submenu.icon.filter === undefined\" [src]=\"submenu.icon\" />\n </div>\n <div *ngIf=\"submenu.label\" class=\"menu-caption\">\n <span>{{submenu.label | translate}}</span>\n </div>\n </div>\n </div>\n</h4>\n", styles: [".menu,.submenu{cursor:pointer}h4{margin:0;padding:0}h4 .menu{padding:1em 0;display:flex;flex-direction:row}h4 .menu>div{flex:1 1 auto;align-self:center}.menu-dot{max-width:1.1em;text-align:center;margin-right:.5em;font-size:2em}.menu-icon{max-width:60px;text-align:center;margin-right:.5em}.submenu{margin-left:1em}.submenu .menu{padding:0;font-size:.9em;line-height:2.2em}.submenu .menu:before{content:\"\";margin-left:1.1em;width:.1em;height:2.5em;position:relative;background:#
|
|
491
|
+
args: [{ selector: 'cauca-menu-vertical', template: "<h4 *ngFor=\"let menu of menuItems\" [class]=\"menu.activated ? 'selected' : ''\">\n <div (click)=\"goTo(menu.path, $event)\" class=\"menu\">\n <div *ngIf=\"menu.icon\" class=\"menu-icon\">\n <fa-icon *ngIf=\"menu.icon.filter !== undefined\" [icon]=\"menu.icon\"></fa-icon>\n <img *ngIf=\"menu.icon.filter === undefined\" [src]=\"menu.icon\" />\n </div>\n <div *ngIf=\"menu.label\" class=\"menu-caption\">\n <span>{{menu.label | translate}}</span>\n </div>\n </div>\n <div *ngIf=\"menu.childs.length && menu.activated\" class=\"submenu\">\n <div\n *ngFor=\"let submenu of menu.childs\"\n [class]=\"submenu.activated ? 'menu selected' : 'menu'\"\n (click)=\"goTo(submenu.path, $event)\">\n <div *ngIf=\"!submenu.icon\" class=\"menu-dot\">•</div>\n <div *ngIf=\"submenu.icon\" class=\"menu-icon\">\n <fa-icon *ngIf=\"submenu.icon.filter !== undefined\" [icon]=\"submenu.icon\"></fa-icon>\n <img *ngIf=\"submenu.icon.filter === undefined\" [src]=\"submenu.icon\" />\n </div>\n <div *ngIf=\"submenu.label\" class=\"menu-caption\">\n <span>{{submenu.label | translate}}</span>\n </div>\n </div>\n </div>\n</h4>\n", styles: [".menu,.submenu{cursor:pointer}h4{margin:0;padding:0}h4 .menu{padding:1em 0;display:flex;flex-direction:row}h4 .menu>div{flex:1 1 auto;align-self:center}.menu-dot{max-width:1.1em;text-align:center;margin-right:.5em;font-size:2em}.menu-icon{max-width:60px;text-align:center;margin-right:.5em}.submenu{margin-left:1em}.submenu .menu{padding:0;font-size:.9em;line-height:2.2em}.submenu .menu:before{content:\"\";margin-left:1.1em;width:.1em;height:2.5em;position:relative;background:#fff;margin-right:-1.17em}\n"] }]
|
|
491
492
|
}], () => [{ type: i1$3.Router }], { itemClick: [{
|
|
492
493
|
type: Output
|
|
493
494
|
}], menuItems: [{
|
|
@@ -495,10 +496,12 @@ class CaucaMenuVerticalComponent {
|
|
|
495
496
|
}] }); })();
|
|
496
497
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaMenuVerticalComponent, { className: "CaucaMenuVerticalComponent", filePath: "lib\\cauca-menu-vertical\\cauca-menu-vertical.component.ts", lineNumber: 10 }); })();
|
|
497
498
|
|
|
499
|
+
const _c0$2 = [[["", "header", ""]], [["", "beforeMenu", ""]], [["", "afterMenu", ""]], [["", "footer", ""]]];
|
|
500
|
+
const _c1 = ["[header]", "[beforeMenu]", "[afterMenu]", "[footer]"];
|
|
498
501
|
function CaucaMenuSidebarComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
499
|
-
const
|
|
502
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
500
503
|
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8);
|
|
501
|
-
i0.ɵɵlistener("click", function CaucaMenuSidebarComponent_div_12_Template_div_click_1_listener() { i0.ɵɵrestoreView(
|
|
504
|
+
i0.ɵɵlistener("click", function CaucaMenuSidebarComponent_div_12_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onToggleCollapse()); });
|
|
502
505
|
i0.ɵɵelementEnd();
|
|
503
506
|
i0.ɵɵelementStart(2, "span", 9);
|
|
504
507
|
i0.ɵɵtext(3);
|
|
@@ -508,14 +511,12 @@ function CaucaMenuSidebarComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
508
511
|
i0.ɵɵtext(6);
|
|
509
512
|
i0.ɵɵelementEnd()();
|
|
510
513
|
} if (rf & 2) {
|
|
511
|
-
const
|
|
514
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
512
515
|
i0.ɵɵadvance(3);
|
|
513
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(4, 3, "material.version"), " ",
|
|
516
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(4, 3, "material.version"), " ", ctx_r2.version, "");
|
|
514
517
|
i0.ɵɵadvance(3);
|
|
515
|
-
i0.ɵɵtextInterpolate(
|
|
518
|
+
i0.ɵɵtextInterpolate(ctx_r2.version);
|
|
516
519
|
} }
|
|
517
|
-
const _c0$2 = [[["", "header", ""]], [["", "beforeMenu", ""]], [["", "afterMenu", ""]], [["", "footer", ""]]];
|
|
518
|
-
const _c1 = ["[header]", "[beforeMenu]", "[afterMenu]", "[footer]"];
|
|
519
520
|
class CaucaMenuSidebarComponent {
|
|
520
521
|
constructor(element) {
|
|
521
522
|
this.menuItems = [];
|
|
@@ -594,19 +595,20 @@ class CaucaMenuSidebarComponent {
|
|
|
594
595
|
static { this.ɵfac = function CaucaMenuSidebarComponent_Factory(t) { return new (t || CaucaMenuSidebarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
595
596
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaucaMenuSidebarComponent, selectors: [["cauca-menu-sidebar"]], hostBindings: function CaucaMenuSidebarComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
596
597
|
i0.ɵɵlistener("resize", function CaucaMenuSidebarComponent_resize_HostBindingHandler($event) { return ctx.onResize($event); }, false, i0.ɵɵresolveWindow);
|
|
597
|
-
} }, inputs: { menuItems: "menuItems", version: "version" }, ngContentSelectors: _c1, decls: 13, vars: 2, consts: [[1, "header"], ["mat-icon-button", "", 1, "close", 3, "click"], [1, "content"], [3, "
|
|
598
|
+
} }, inputs: { menuItems: "menuItems", version: "version" }, ngContentSelectors: _c1, decls: 13, vars: 2, consts: [["menu", ""], [1, "header"], ["mat-icon-button", "", 1, "close", 3, "click"], [1, "content"], [3, "itemClick", "menuItems"], [1, "footer"], ["class", "version", 4, "ngIf"], [1, "version"], [1, "double-arrow", 3, "click"], [1, "full"], [1, "abbr"]], template: function CaucaMenuSidebarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
599
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
598
600
|
i0.ɵɵprojectionDef(_c0$2);
|
|
599
|
-
i0.ɵɵelementStart(0, "div",
|
|
600
|
-
i0.ɵɵlistener("click", function CaucaMenuSidebarComponent_Template_button_click_1_listener() { return ctx.hideOnMobile(); });
|
|
601
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "button", 2);
|
|
602
|
+
i0.ɵɵlistener("click", function CaucaMenuSidebarComponent_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.hideOnMobile()); });
|
|
601
603
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
602
604
|
i0.ɵɵtext(3, "clear");
|
|
603
605
|
i0.ɵɵelementEnd()();
|
|
604
606
|
i0.ɵɵprojection(4);
|
|
605
607
|
i0.ɵɵelementEnd();
|
|
606
|
-
i0.ɵɵelementStart(5, "div",
|
|
608
|
+
i0.ɵɵelementStart(5, "div", 3);
|
|
607
609
|
i0.ɵɵprojection(6, 1);
|
|
608
|
-
i0.ɵɵelementStart(7, "cauca-menu-vertical",
|
|
609
|
-
i0.ɵɵlistener("itemClick", function CaucaMenuSidebarComponent_Template_cauca_menu_vertical_itemClick_7_listener() { return ctx.onMenuItemClick(); });
|
|
610
|
+
i0.ɵɵelementStart(7, "cauca-menu-vertical", 4, 0);
|
|
611
|
+
i0.ɵɵlistener("itemClick", function CaucaMenuSidebarComponent_Template_cauca_menu_vertical_itemClick_7_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMenuItemClick()); });
|
|
610
612
|
i0.ɵɵelementEnd();
|
|
611
613
|
i0.ɵɵprojection(9, 2);
|
|
612
614
|
i0.ɵɵelementEnd();
|
|
@@ -640,12 +642,12 @@ function CaucaSlideshowComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
640
642
|
i0.ɵɵelement(1, "img", 3);
|
|
641
643
|
i0.ɵɵelementEnd();
|
|
642
644
|
} if (rf & 2) {
|
|
643
|
-
const
|
|
644
|
-
const
|
|
645
|
-
const
|
|
646
|
-
i0.ɵɵproperty("@slideLeftRight",
|
|
647
|
-
i0.ɵɵadvance(
|
|
648
|
-
i0.ɵɵproperty("src",
|
|
645
|
+
const url_r1 = ctx.$implicit;
|
|
646
|
+
const index_r2 = ctx.index;
|
|
647
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
648
|
+
i0.ɵɵproperty("@slideLeftRight", ctx_r2.getState(index_r2));
|
|
649
|
+
i0.ɵɵadvance();
|
|
650
|
+
i0.ɵɵproperty("src", url_r1, i0.ɵɵsanitizeUrl);
|
|
649
651
|
} }
|
|
650
652
|
class CaucaSlideshowComponent {
|
|
651
653
|
constructor() {
|
|
@@ -700,8 +702,8 @@ class CaucaSlideshowComponent {
|
|
|
700
702
|
} if (rf & 2) {
|
|
701
703
|
let _t;
|
|
702
704
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
703
|
-
} }, inputs: { height: "height", autoPlay: "autoPlay", images: "images" }, decls: 3, vars: 1, consts: [[
|
|
704
|
-
i0.ɵɵelementStart(0, "div",
|
|
705
|
+
} }, inputs: { height: "height", autoPlay: "autoPlay", images: "images" }, decls: 3, vars: 1, consts: [["container", ""], [1, "slideshow"], [4, "ngFor", "ngForOf"], [3, "src"]], template: function CaucaSlideshowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
706
|
+
i0.ɵɵelementStart(0, "div", 1, 0);
|
|
705
707
|
i0.ɵɵtemplate(2, CaucaSlideshowComponent_div_2_Template, 2, 2, "div", 2);
|
|
706
708
|
i0.ɵɵelementEnd();
|
|
707
709
|
} if (rf & 2) {
|
|
@@ -912,30 +914,31 @@ class MobileTimePickerComponent {
|
|
|
912
914
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MobileTimePickerComponent, { className: "MobileTimePickerComponent", filePath: "lib\\cauca-date-time-picker\\components\\mobile-time-picker\\mobile-time-picker.component.ts", lineNumber: 19 }); })();
|
|
913
915
|
|
|
914
916
|
function DesktopTimePickerComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
915
|
-
const
|
|
916
|
-
i0.ɵɵelementStart(0, "mat-list-item",
|
|
917
|
-
i0.ɵɵlistener("click", function DesktopTimePickerComponent_For_2_Template_mat_list_item_click_0_listener() { const
|
|
917
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
918
|
+
i0.ɵɵelementStart(0, "mat-list-item", 2);
|
|
919
|
+
i0.ɵɵlistener("click", function DesktopTimePickerComponent_For_2_Template_mat_list_item_click_0_listener() { const option_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.valueChange.emit(option_r2)); });
|
|
918
920
|
i0.ɵɵtext(1);
|
|
919
921
|
i0.ɵɵelementEnd();
|
|
920
922
|
} if (rf & 2) {
|
|
921
|
-
const
|
|
922
|
-
const
|
|
923
|
-
i0.ɵɵproperty("activated",
|
|
924
|
-
i0.ɵɵadvance(
|
|
925
|
-
i0.ɵɵtextInterpolate((
|
|
923
|
+
const option_r2 = ctx.$implicit;
|
|
924
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
925
|
+
i0.ɵɵproperty("activated", ctx_r2.value === option_r2)("disabled", ctx_r2.disabled == null ? null : ctx_r2.disabled.someOptions.includes(option_r2));
|
|
926
|
+
i0.ɵɵadvance();
|
|
927
|
+
i0.ɵɵtextInterpolate((option_r2 < 10 ? "0" : "") + option_r2);
|
|
926
928
|
} }
|
|
927
929
|
class DesktopTimePickerComponent {
|
|
928
930
|
constructor() {
|
|
931
|
+
this.options = [];
|
|
929
932
|
this.valueChange = new EventEmitter();
|
|
930
933
|
}
|
|
931
934
|
static { this.ɵfac = function DesktopTimePickerComponent_Factory(t) { return new (t || DesktopTimePickerComponent)(); }; }
|
|
932
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DesktopTimePickerComponent, selectors: [["cauca-desktop-time-picker"]], inputs: { options: "options", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 1, consts: [[3, "disabled"], [3, "activated", "disabled"
|
|
935
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DesktopTimePickerComponent, selectors: [["cauca-desktop-time-picker"]], inputs: { options: "options", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 1, consts: [[3, "disabled"], [3, "activated", "disabled"], [3, "click", "activated", "disabled"]], template: function DesktopTimePickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
933
936
|
i0.ɵɵelementStart(0, "mat-list", 0);
|
|
934
|
-
i0.ɵɵrepeaterCreate(1, DesktopTimePickerComponent_For_2_Template, 2, 3, "mat-list-item",
|
|
937
|
+
i0.ɵɵrepeaterCreate(1, DesktopTimePickerComponent_For_2_Template, 2, 3, "mat-list-item", 1, i0.ɵɵrepeaterTrackByIdentity);
|
|
935
938
|
i0.ɵɵelementEnd();
|
|
936
939
|
} if (rf & 2) {
|
|
937
|
-
i0.ɵɵproperty("disabled", ctx.disabled.all);
|
|
938
|
-
i0.ɵɵadvance(
|
|
940
|
+
i0.ɵɵproperty("disabled", ctx.disabled == null ? null : ctx.disabled.all);
|
|
941
|
+
i0.ɵɵadvance();
|
|
939
942
|
i0.ɵɵrepeater(ctx.options);
|
|
940
943
|
} }, dependencies: [MatListModule, i1$4.MatList, i1$4.MatListItem], styles: ["mat-list[_ngcontent-%COMP%]{width:50px;padding:0}mat-list[_ngcontent-%COMP%] .mat-mdc-list-item[_ngcontent-%COMP%]:not(.mat-mdc-list-item-interactive){cursor:pointer} > div[_ngcontent-%COMP%]::-webkit-scrollbar{display:none} .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)} .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)} .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}"] }); }
|
|
941
944
|
}
|
|
@@ -943,7 +946,7 @@ class DesktopTimePickerComponent {
|
|
|
943
946
|
type: Component,
|
|
944
947
|
args: [{ selector: 'cauca-desktop-time-picker', standalone: true, imports: [
|
|
945
948
|
MatListModule
|
|
946
|
-
], template: "<mat-list [disabled]=\"disabled
|
|
949
|
+
], 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"] }]
|
|
947
950
|
}], null, { options: [{
|
|
948
951
|
type: Input
|
|
949
952
|
}], value: [{
|
|
@@ -957,23 +960,23 @@ class DesktopTimePickerComponent {
|
|
|
957
960
|
|
|
958
961
|
const _c0 = (a0, a1) => ({ all: a0, someOptions: a1 });
|
|
959
962
|
function DialogDateTimePickerComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
960
|
-
const
|
|
963
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
961
964
|
i0.ɵɵelementStart(0, "div", 14)(1, "cauca-desktop-time-picker", 15);
|
|
962
|
-
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_4_Template_cauca_desktop_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
965
|
+
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_4_Template_cauca_desktop_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.hourChanged($event)); });
|
|
963
966
|
i0.ɵɵelementEnd()();
|
|
964
967
|
} if (rf & 2) {
|
|
965
|
-
const
|
|
966
|
-
i0.ɵɵadvance(
|
|
967
|
-
i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0,
|
|
968
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
969
|
+
i0.ɵɵadvance();
|
|
970
|
+
i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0, ctx_r1.disabled.hours, ctx_r1.disabled.someHours))("options", ctx_r1.hours)("value", ctx_r1.selectedHour);
|
|
968
971
|
} }
|
|
969
972
|
function DialogDateTimePickerComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
970
|
-
const
|
|
973
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
971
974
|
i0.ɵɵelementStart(0, "div", 14)(1, "cauca-mobile-time-picker", 16);
|
|
972
|
-
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_5_Template_cauca_mobile_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
975
|
+
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_5_Template_cauca_mobile_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.hourChanged($event)); });
|
|
973
976
|
i0.ɵɵelementEnd()();
|
|
974
977
|
} if (rf & 2) {
|
|
975
978
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
976
|
-
i0.ɵɵadvance(
|
|
979
|
+
i0.ɵɵadvance();
|
|
977
980
|
i0.ɵɵproperty("options", ctx_r1.hours)("value", ctx_r1.selectedHour);
|
|
978
981
|
} }
|
|
979
982
|
function DialogDateTimePickerComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -982,24 +985,24 @@ function DialogDateTimePickerComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
982
985
|
i0.ɵɵelementEnd();
|
|
983
986
|
} }
|
|
984
987
|
function DialogDateTimePickerComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
985
|
-
const
|
|
988
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
986
989
|
i0.ɵɵelementStart(0, "div", 18)(1, "cauca-desktop-time-picker", 15);
|
|
987
|
-
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_7_Template_cauca_desktop_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
990
|
+
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_7_Template_cauca_desktop_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.minuteChanged($event)); });
|
|
988
991
|
i0.ɵɵelementEnd()();
|
|
989
992
|
} if (rf & 2) {
|
|
990
|
-
const
|
|
991
|
-
i0.ɵɵadvance(
|
|
992
|
-
i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0,
|
|
993
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
994
|
+
i0.ɵɵadvance();
|
|
995
|
+
i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0, ctx_r1.disabled.minutes, ctx_r1.disabled.someMinutes))("options", ctx_r1.minutes)("value", ctx_r1.selectedMinute);
|
|
993
996
|
} }
|
|
994
997
|
function DialogDateTimePickerComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
995
|
-
const
|
|
998
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
996
999
|
i0.ɵɵelementStart(0, "div", 18)(1, "cauca-mobile-time-picker", 16);
|
|
997
|
-
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_8_Template_cauca_mobile_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
1000
|
+
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_8_Template_cauca_mobile_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.minuteChanged($event)); });
|
|
998
1001
|
i0.ɵɵelementEnd()();
|
|
999
1002
|
} if (rf & 2) {
|
|
1000
|
-
const
|
|
1001
|
-
i0.ɵɵadvance(
|
|
1002
|
-
i0.ɵɵproperty("options",
|
|
1003
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1004
|
+
i0.ɵɵadvance();
|
|
1005
|
+
i0.ɵɵproperty("options", ctx_r1.minutes)("value", ctx_r1.selectedMinute);
|
|
1003
1006
|
} }
|
|
1004
1007
|
function DialogDateTimePickerComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
1005
1008
|
i0.ɵɵelementStart(0, "div", 19);
|
|
@@ -1007,24 +1010,24 @@ function DialogDateTimePickerComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
1007
1010
|
i0.ɵɵelementEnd();
|
|
1008
1011
|
} }
|
|
1009
1012
|
function DialogDateTimePickerComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
1010
|
-
const
|
|
1013
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
1011
1014
|
i0.ɵɵelementStart(0, "div", 20)(1, "cauca-desktop-time-picker", 15);
|
|
1012
|
-
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_10_Template_cauca_desktop_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
1015
|
+
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_10_Template_cauca_desktop_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.secondChanged($event)); });
|
|
1013
1016
|
i0.ɵɵelementEnd()();
|
|
1014
1017
|
} if (rf & 2) {
|
|
1015
|
-
const
|
|
1016
|
-
i0.ɵɵadvance(
|
|
1017
|
-
i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0,
|
|
1018
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1019
|
+
i0.ɵɵadvance();
|
|
1020
|
+
i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0, ctx_r1.disabled.seconds, ctx_r1.disabled.someSeconds))("options", ctx_r1.seconds)("value", ctx_r1.selectedSecond);
|
|
1018
1021
|
} }
|
|
1019
1022
|
function DialogDateTimePickerComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
1020
|
-
const
|
|
1023
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
1021
1024
|
i0.ɵɵelementStart(0, "div", 20)(1, "cauca-mobile-time-picker", 16);
|
|
1022
|
-
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_11_Template_cauca_mobile_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
1025
|
+
i0.ɵɵlistener("valueChange", function DialogDateTimePickerComponent_div_11_Template_cauca_mobile_time_picker_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.secondChanged($event)); });
|
|
1023
1026
|
i0.ɵɵelementEnd()();
|
|
1024
1027
|
} if (rf & 2) {
|
|
1025
|
-
const
|
|
1026
|
-
i0.ɵɵadvance(
|
|
1027
|
-
i0.ɵɵproperty("options",
|
|
1028
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1029
|
+
i0.ɵɵadvance();
|
|
1030
|
+
i0.ɵɵproperty("options", ctx_r1.seconds)("value", ctx_r1.selectedSecond);
|
|
1028
1031
|
} }
|
|
1029
1032
|
function DialogDateTimePickerComponent_button_13_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
1030
1033
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -1032,18 +1035,18 @@ function DialogDateTimePickerComponent_button_13_mat_icon_1_Template(rf, ctx) {
|
|
|
1032
1035
|
i0.ɵɵelementEnd();
|
|
1033
1036
|
} }
|
|
1034
1037
|
function DialogDateTimePickerComponent_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
1035
|
-
const
|
|
1038
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
1036
1039
|
i0.ɵɵelementStart(0, "button", 11);
|
|
1037
|
-
i0.ɵɵlistener("click", function DialogDateTimePickerComponent_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1040
|
+
i0.ɵɵlistener("click", function DialogDateTimePickerComponent_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.clear()); });
|
|
1038
1041
|
i0.ɵɵtemplate(1, DialogDateTimePickerComponent_button_13_mat_icon_1_Template, 2, 0, "mat-icon", 12);
|
|
1039
1042
|
i0.ɵɵtext(2);
|
|
1040
1043
|
i0.ɵɵpipe(3, "translate");
|
|
1041
1044
|
i0.ɵɵelementEnd();
|
|
1042
1045
|
} if (rf & 2) {
|
|
1043
|
-
const
|
|
1044
|
-
i0.ɵɵadvance(
|
|
1045
|
-
i0.ɵɵproperty("ngIf",
|
|
1046
|
-
i0.ɵɵadvance(
|
|
1046
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1047
|
+
i0.ɵɵadvance();
|
|
1048
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showButtonIcons);
|
|
1049
|
+
i0.ɵɵadvance();
|
|
1047
1050
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "material.clear"), " ");
|
|
1048
1051
|
} }
|
|
1049
1052
|
function DialogDateTimePickerComponent_mat_icon_15_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1216,7 +1219,7 @@ class DialogDateTimePickerComponent {
|
|
|
1216
1219
|
static { this.ɵfac = function DialogDateTimePickerComponent_Factory(t) { return new (t || DialogDateTimePickerComponent)(i0.ɵɵdirectiveInject(i1$1.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
1217
1220
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogDateTimePickerComponent, selectors: [["cauca-dialog-date-time-picker"]], hostBindings: function DialogDateTimePickerComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1218
1221
|
i0.ɵɵlistener("resize", function DialogDateTimePickerComponent_resize_HostBindingHandler($event) { return ctx.onResize($event); }, false, i0.ɵɵresolveWindow);
|
|
1219
|
-
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 22, vars: 21, consts: [["mat-dialog-content", ""], [1, "date-time-picker", 3, "ngClass"], [1, "calendar"], [3, "
|
|
1222
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 22, vars: 21, consts: [["mat-dialog-content", ""], [1, "date-time-picker", 3, "ngClass"], [1, "calendar"], [3, "selectedChange", "minDate", "maxDate", "selected"], ["class", "hours", 4, "ngIf"], ["class", "hour-and-minute-separator", 4, "ngIf"], ["class", "minutes", 4, "ngIf"], ["class", "minute-and-second-separator", 4, "ngIf"], ["class", "seconds", 4, "ngIf"], ["mat-dialog-actions", "", "align", "end"], ["mat-stroked-button", "", 3, "click", 4, "ngIf"], ["mat-stroked-button", "", 3, "click"], [4, "ngIf"], ["color", "primary", "mat-raised-button", "", "cdkFocusInitial", "", 3, "click"], [1, "hours"], [3, "valueChange", "disabled", "options", "value"], [3, "valueChange", "options", "value"], [1, "hour-and-minute-separator"], [1, "minutes"], [1, "minute-and-second-separator"], [1, "seconds"]], template: function DialogDateTimePickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1220
1223
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "mat-calendar", 3);
|
|
1221
1224
|
i0.ɵɵlistener("selectedChange", function DialogDateTimePickerComponent_Template_mat_calendar_selectedChange_3_listener($event) { return ctx.dateChanged($event); });
|
|
1222
1225
|
i0.ɵɵelementEnd()();
|
|
@@ -1237,35 +1240,35 @@ class DialogDateTimePickerComponent {
|
|
|
1237
1240
|
i0.ɵɵpipe(21, "translate");
|
|
1238
1241
|
i0.ɵɵelementEnd()();
|
|
1239
1242
|
} if (rf & 2) {
|
|
1240
|
-
i0.ɵɵadvance(
|
|
1243
|
+
i0.ɵɵadvance();
|
|
1241
1244
|
i0.ɵɵproperty("ngClass", ctx.showSeconds ? "show-seconds" : "hide-seconds");
|
|
1242
1245
|
i0.ɵɵadvance(2);
|
|
1243
1246
|
i0.ɵɵproperty("minDate", ctx.minimumDate)("maxDate", ctx.maximumDate)("selected", ctx.selectedDate);
|
|
1244
|
-
i0.ɵɵadvance(
|
|
1247
|
+
i0.ɵɵadvance();
|
|
1245
1248
|
i0.ɵɵproperty("ngIf", !ctx.showMobileUi);
|
|
1246
|
-
i0.ɵɵadvance(
|
|
1249
|
+
i0.ɵɵadvance();
|
|
1247
1250
|
i0.ɵɵproperty("ngIf", ctx.showMobileUi);
|
|
1248
|
-
i0.ɵɵadvance(
|
|
1251
|
+
i0.ɵɵadvance();
|
|
1249
1252
|
i0.ɵɵproperty("ngIf", ctx.showMobileUi);
|
|
1250
|
-
i0.ɵɵadvance(
|
|
1253
|
+
i0.ɵɵadvance();
|
|
1251
1254
|
i0.ɵɵproperty("ngIf", !ctx.showMobileUi);
|
|
1252
|
-
i0.ɵɵadvance(
|
|
1255
|
+
i0.ɵɵadvance();
|
|
1253
1256
|
i0.ɵɵproperty("ngIf", ctx.showMobileUi);
|
|
1254
|
-
i0.ɵɵadvance(
|
|
1257
|
+
i0.ɵɵadvance();
|
|
1255
1258
|
i0.ɵɵproperty("ngIf", ctx.showSeconds && ctx.showMobileUi);
|
|
1256
|
-
i0.ɵɵadvance(
|
|
1259
|
+
i0.ɵɵadvance();
|
|
1257
1260
|
i0.ɵɵproperty("ngIf", ctx.showSeconds && !ctx.showMobileUi);
|
|
1258
|
-
i0.ɵɵadvance(
|
|
1261
|
+
i0.ɵɵadvance();
|
|
1259
1262
|
i0.ɵɵproperty("ngIf", ctx.showSeconds && ctx.showMobileUi);
|
|
1260
1263
|
i0.ɵɵadvance(2);
|
|
1261
1264
|
i0.ɵɵproperty("ngIf", ctx.showClearButton);
|
|
1262
1265
|
i0.ɵɵadvance(2);
|
|
1263
1266
|
i0.ɵɵproperty("ngIf", ctx.showButtonIcons);
|
|
1264
|
-
i0.ɵɵadvance(
|
|
1267
|
+
i0.ɵɵadvance();
|
|
1265
1268
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 17, "material.cancel"), " ");
|
|
1266
1269
|
i0.ɵɵadvance(3);
|
|
1267
1270
|
i0.ɵɵproperty("ngIf", ctx.showButtonIcons);
|
|
1268
|
-
i0.ɵɵadvance(
|
|
1271
|
+
i0.ɵɵadvance();
|
|
1269
1272
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 19, "material.ok"), " ");
|
|
1270
1273
|
} }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, CaucaCoreForChildModule, i1.TranslatePipe, MatButtonModule, i4.MatButton, MatDatepickerModule, i5$2.MatCalendar, MatIconModule, i5.MatIcon, MatListModule,
|
|
1271
1274
|
MatNativeDateModule,
|
|
@@ -1380,7 +1383,7 @@ class CaucaDateTimePickerComponent {
|
|
|
1380
1383
|
i0.ɵɵtext(4, "calendar_month");
|
|
1381
1384
|
i0.ɵɵelementEnd()()();
|
|
1382
1385
|
} if (rf & 2) {
|
|
1383
|
-
i0.ɵɵadvance(
|
|
1386
|
+
i0.ɵɵadvance();
|
|
1384
1387
|
i0.ɵɵproperty("value", ctx.stringDate);
|
|
1385
1388
|
} }, dependencies: [MatButtonModule, i4.MatIconButton, MatIconModule, i5.MatIcon, MatInputModule, i5$1.MatInput, i4$1.MatFormField, i4$1.MatSuffix], styles: ["[_nghost-%COMP%]{display:block}mat-form-field[_ngcontent-%COMP%]{width:100%}"] }); }
|
|
1386
1389
|
}
|