@cauca-911/material 20.0.6 → 20.0.8

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.
@@ -3224,6 +3224,67 @@ class PageTitleComponent {
3224
3224
  }], null, null); })();
3225
3225
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
3226
3226
 
3227
+ function SavingConfirmedBoxComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3228
+ const _r1 = i0.ɵɵgetCurrentView();
3229
+ i0.ɵɵelementStart(0, "cauca-snackbar", 1);
3230
+ i0.ɵɵlistener("closeClick", function SavingConfirmedBoxComponent_Conditional_0_Template_cauca_snackbar_closeClick_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.show.set(false)); });
3231
+ i0.ɵɵtext(1);
3232
+ i0.ɵɵpipe(2, "translate");
3233
+ i0.ɵɵelementEnd();
3234
+ } if (rf & 2) {
3235
+ i0.ɵɵproperty("showButton", false)("showCloseButton", true);
3236
+ i0.ɵɵadvance();
3237
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 3, "savingSuccessNotification.message"), " ");
3238
+ } }
3239
+ class SavingConfirmedBoxComponent {
3240
+ constructor() {
3241
+ this.show = model(false, ...(ngDevMode ? [{ debugName: "show" }] : []));
3242
+ }
3243
+ static { this.ɵfac = function SavingConfirmedBoxComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SavingConfirmedBoxComponent)(); }; }
3244
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SavingConfirmedBoxComponent, selectors: [["cauca-saving-confirmed-box"]], inputs: { show: [1, "show"] }, outputs: { show: "showChange" }, decls: 1, vars: 1, consts: [["caption", "savingSuccessNotification.title", "type", "success", "variant", "standard", 3, "showButton", "showCloseButton"], ["caption", "savingSuccessNotification.title", "type", "success", "variant", "standard", 3, "closeClick", "showButton", "showCloseButton"]], template: function SavingConfirmedBoxComponent_Template(rf, ctx) { if (rf & 1) {
3245
+ i0.ɵɵconditionalCreate(0, SavingConfirmedBoxComponent_Conditional_0_Template, 3, 5, "cauca-snackbar", 0);
3246
+ } if (rf & 2) {
3247
+ i0.ɵɵconditional(ctx.show() ? 0 : -1);
3248
+ } }, dependencies: [SnackBarComponent, TranslateModule, i1.TranslatePipe], encapsulation: 2, changeDetection: 0 }); }
3249
+ }
3250
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SavingConfirmedBoxComponent, [{
3251
+ type: Component,
3252
+ args: [{ selector: 'cauca-saving-confirmed-box', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [SnackBarComponent, TranslateModule], template: "@if (show()) {\r\n <cauca-snackbar\r\n caption=\"savingSuccessNotification.title\"\r\n type=\"success\"\r\n variant=\"standard\"\r\n [showButton]=\"false\"\r\n [showCloseButton]=\"true\"\r\n (closeClick)=\"show.set(false)\">\r\n {{'savingSuccessNotification.message' | translate}}\r\n </cauca-snackbar>\r\n}" }]
3253
+ }], null, null); })();
3254
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SavingConfirmedBoxComponent, { className: "SavingConfirmedBoxComponent", filePath: "lib/notifications/saving-confirmed-box/saving-confirmed-box.component.ts", lineNumber: 13 }); })();
3255
+
3256
+ function SavingErrorBoxComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3257
+ const _r1 = i0.ɵɵgetCurrentView();
3258
+ i0.ɵɵelementStart(0, "cauca-snackbar", 1);
3259
+ i0.ɵɵlistener("closeClick", function SavingErrorBoxComponent_Conditional_0_Template_cauca_snackbar_closeClick_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.show.set(false)); });
3260
+ i0.ɵɵtext(1);
3261
+ i0.ɵɵpipe(2, "translate");
3262
+ i0.ɵɵelementEnd();
3263
+ } if (rf & 2) {
3264
+ const ctx_r1 = i0.ɵɵnextContext();
3265
+ i0.ɵɵproperty("showButton", false)("showCloseButton", true);
3266
+ i0.ɵɵadvance();
3267
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 3, ctx_r1.error()), " ");
3268
+ } }
3269
+ class SavingErrorBoxComponent {
3270
+ constructor() {
3271
+ this.show = model(false, ...(ngDevMode ? [{ debugName: "show" }] : []));
3272
+ this.specificError = input(null, ...(ngDevMode ? [{ debugName: "specificError" }] : []));
3273
+ this.error = computed(() => this.specificError() ? this.specificError() : 'generalError.savingErrorAlertMessage', ...(ngDevMode ? [{ debugName: "error" }] : []));
3274
+ }
3275
+ static { this.ɵfac = function SavingErrorBoxComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SavingErrorBoxComponent)(); }; }
3276
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SavingErrorBoxComponent, selectors: [["cauca-saving-error-box"]], inputs: { show: [1, "show"], specificError: [1, "specificError"] }, outputs: { show: "showChange" }, decls: 1, vars: 1, consts: [["caption", "generalError.savingErrorAlertTitle", "type", "error", "variant", "standard", 3, "showButton", "showCloseButton"], ["caption", "generalError.savingErrorAlertTitle", "type", "error", "variant", "standard", 3, "closeClick", "showButton", "showCloseButton"]], template: function SavingErrorBoxComponent_Template(rf, ctx) { if (rf & 1) {
3277
+ i0.ɵɵconditionalCreate(0, SavingErrorBoxComponent_Conditional_0_Template, 3, 5, "cauca-snackbar", 0);
3278
+ } if (rf & 2) {
3279
+ i0.ɵɵconditional(ctx.show() ? 0 : -1);
3280
+ } }, dependencies: [SnackBarComponent, TranslateModule, i1.TranslatePipe], encapsulation: 2, changeDetection: 0 }); }
3281
+ }
3282
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SavingErrorBoxComponent, [{
3283
+ type: Component,
3284
+ args: [{ selector: 'cauca-saving-error-box', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [SnackBarComponent, TranslateModule], template: "@if (show()) {\r\n <cauca-snackbar\r\n caption=\"generalError.savingErrorAlertTitle\"\r\n type=\"error\"\r\n variant=\"standard\"\r\n [showButton]=\"false\"\r\n [showCloseButton]=\"true\"\r\n (closeClick)=\"show.set(false)\">\r\n {{error() | translate}}\r\n </cauca-snackbar>\r\n}" }]
3285
+ }], null, null); })();
3286
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SavingErrorBoxComponent, { className: "SavingErrorBoxComponent", filePath: "lib/notifications/saving-error-box/saving-error-box.component.ts", lineNumber: 13 }); })();
3287
+
3227
3288
  function CaucaSimpleDialogComponent_div_4_button_1_Template(rf, ctx) { if (rf & 1) {
3228
3289
  const _r1 = i0.ɵɵgetCurrentView();
3229
3290
  i0.ɵɵelementStart(0, "button", 6);
@@ -3953,5 +4014,5 @@ class MenuItem {
3953
4014
  * Generated bundle index. Do not edit.
3954
4015
  */
3955
4016
 
3956
- export { BadgeComponent, BasicButtonComponent, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, FabButtonComponent, FlatButtonComponent, GroupContainerComponent, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SectionColumnComponent, SectionFieldComponent, SnackBarComponent, StrokedButtonComponent };
4017
+ export { BadgeComponent, BasicButtonComponent, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, FabButtonComponent, FlatButtonComponent, GroupContainerComponent, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SnackBarComponent, StrokedButtonComponent };
3957
4018
  //# sourceMappingURL=cauca-911-material.mjs.map