@ngx-smz/core 19.5.1 → 19.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2737,11 +2737,11 @@ class CalendarComponent {
|
|
|
2737
2737
|
ngOnInit() {
|
|
2738
2738
|
}
|
|
2739
2739
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: CalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2740
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: CalendarComponent, isStandalone: false, selector: "smz-calendar", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"input_inner__wrapper flex flex-col flex-auto p-0 gap-1\">\r\n <smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning\">\r\n </smz-label>\r\n <p-datepicker\r\n class=\"w-full smz__input_value\"\r\n styleClass=\"w-full\"\r\n [monthNavigator]=\"true\"\r\n [yearNavigator]=\"true\"\r\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\r\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\r\n\r\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\r\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\r\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\r\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\r\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\r\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\r\n [timeOnly]=\"input.timeOnly\"\r\n [showTime]=\"input.showTime\"\r\n\r\n [id]=\"input.propertyName\"\r\n [formControl]=\"control\">\r\n </p-datepicker>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>", dependencies: [{ kind: "component", type: i1$1.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "fluid", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "size", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
|
|
2740
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: CalendarComponent, isStandalone: false, selector: "smz-calendar", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"input_inner__wrapper flex flex-col flex-auto p-0 gap-1\">\r\n <smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning\">\r\n </smz-label>\r\n <p-datepicker\r\n class=\"w-full smz__input_value\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [monthNavigator]=\"true\"\r\n [yearNavigator]=\"true\"\r\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\r\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\r\n\r\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\r\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\r\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\r\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\r\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\r\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\r\n [timeOnly]=\"input.timeOnly\"\r\n [showTime]=\"input.showTime\"\r\n\r\n [id]=\"input.propertyName\"\r\n [formControl]=\"control\">\r\n </p-datepicker>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>", dependencies: [{ kind: "component", type: i1$1.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "fluid", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "size", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
|
|
2741
2741
|
}
|
|
2742
2742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
2743
2743
|
type: Component,
|
|
2744
|
-
args: [{ selector: 'smz-calendar', standalone: false, template: "<div class=\"input_inner__wrapper flex flex-col flex-auto p-0 gap-1\">\r\n <smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning\">\r\n </smz-label>\r\n <p-datepicker\r\n class=\"w-full smz__input_value\"\r\n styleClass=\"w-full\"\r\n [monthNavigator]=\"true\"\r\n [yearNavigator]=\"true\"\r\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\r\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\r\n\r\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\r\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\r\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\r\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\r\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\r\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\r\n [timeOnly]=\"input.timeOnly\"\r\n [showTime]=\"input.showTime\"\r\n\r\n [id]=\"input.propertyName\"\r\n [formControl]=\"control\">\r\n </p-datepicker>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>" }]
|
|
2744
|
+
args: [{ selector: 'smz-calendar', standalone: false, template: "<div class=\"input_inner__wrapper flex flex-col flex-auto p-0 gap-1\">\r\n <smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning\">\r\n </smz-label>\r\n <p-datepicker\r\n class=\"w-full smz__input_value\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [monthNavigator]=\"true\"\r\n [yearNavigator]=\"true\"\r\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\r\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\r\n\r\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\r\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\r\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\r\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\r\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\r\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\r\n [timeOnly]=\"input.timeOnly\"\r\n [showTime]=\"input.showTime\"\r\n\r\n [id]=\"input.propertyName\"\r\n [formControl]=\"control\">\r\n </p-datepicker>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>" }]
|
|
2745
2745
|
}], ctorParameters: () => [], propDecorators: { input: [{
|
|
2746
2746
|
type: Input
|
|
2747
2747
|
}], control: [{
|
|
@@ -35148,6 +35148,7 @@ class SmzLayoutsConfig {
|
|
|
35148
35148
|
useAvatar;
|
|
35149
35149
|
avatarProperty;
|
|
35150
35150
|
profileMessage;
|
|
35151
|
+
useLegacyThemeManager;
|
|
35151
35152
|
themes;
|
|
35152
35153
|
toast;
|
|
35153
35154
|
loader;
|
|
@@ -35600,7 +35601,11 @@ class ThemeManagerComponent {
|
|
|
35600
35601
|
constructor(store, themeManagerService) {
|
|
35601
35602
|
this.store = store;
|
|
35602
35603
|
this.themeManagerService = themeManagerService;
|
|
35603
|
-
|
|
35604
|
+
if (!GlobalInjector.config.layouts.useLegacyThemeManager) {
|
|
35605
|
+
console.log('useLegacyThemeManager is false');
|
|
35606
|
+
return;
|
|
35607
|
+
}
|
|
35608
|
+
console.log('useLegacyThemeManager is true');
|
|
35604
35609
|
// TODO: Esse código deve ser removido após a implementação do tema do primeng
|
|
35605
35610
|
this.contentLink = this.themeManagerService._document.createElement('link');
|
|
35606
35611
|
this.contentLink.setAttribute('rel', 'stylesheet');
|