ngx-smz-ui 3.2.14 → 3.2.15

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.
@@ -2921,7 +2921,7 @@
2921
2921
  return CalendarComponent;
2922
2922
  }());
2923
2923
  CalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: CalendarComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2924
- CalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: CalendarComponent, selector: "smz-calendar", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0__namespace, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 p-col-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper\">\n <p-calendar\n fxFlex=\"grow\"\n class=\"p-col-12 p-col-nogutter smz__input_value\"\n [monthNavigator]=\"true\"\n [yearNavigator]=\"true\"\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\n\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\n [timeOnly]=\"input.timeOnly\"\n\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n appendTo=\"body\">\n </p-calendar>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>", components: [{ type: i1__namespace$9.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "numberOfMonths", "view", "touchUI", "timeSeparator", "focusTrap", "firstDayOfWeek", "showTransitionOptions", "hideTransitionOptions", "tabindex", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { type: ValidationMessagesComponent$1, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i1__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4__namespace$1.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i3__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i1__namespace$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
2924
+ CalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: CalendarComponent, selector: "smz-calendar", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0__namespace, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 p-col-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper\">\n <p-calendar\n fxFlex=\"grow\"\n class=\"p-col-12 p-col-nogutter smz__input_value\"\n [monthNavigator]=\"true\"\n [yearNavigator]=\"true\"\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\n\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\n [timeOnly]=\"input.timeOnly\"\n [showTime]=\"input.showTime\"\n\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n appendTo=\"body\">\n </p-calendar>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>", components: [{ type: i1__namespace$9.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "numberOfMonths", "view", "touchUI", "timeSeparator", "focusTrap", "firstDayOfWeek", "showTransitionOptions", "hideTransitionOptions", "tabindex", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { type: ValidationMessagesComponent$1, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i1__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4__namespace$1.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i3__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i1__namespace$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
2925
2925
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: CalendarComponent, decorators: [{
2926
2926
  type: i0.Component,
2927
2927
  args: [{
@@ -10083,6 +10083,8 @@
10083
10083
  var _this = _super.call(this, _groupBuilder, _calendarInput) || this;
10084
10084
  _this._groupBuilder = _groupBuilder;
10085
10085
  _this._calendarInput = _calendarInput;
10086
+ _calendarInput.timeOnly = false;
10087
+ _calendarInput.showTime = false;
10086
10088
  return _this;
10087
10089
  }
10088
10090
  SmzFormCalendarBuilder.prototype.enableTouchUI = function () {
@@ -10097,10 +10099,14 @@
10097
10099
  this._calendarInput.defaultValue = new Date();
10098
10100
  return this;
10099
10101
  };
10100
- SmzFormCalendarBuilder.prototype.setTimeOnly = function () {
10102
+ SmzFormCalendarBuilder.prototype.useTimeOnly = function () {
10101
10103
  this._calendarInput.timeOnly = true;
10102
10104
  return this;
10103
10105
  };
10106
+ SmzFormCalendarBuilder.prototype.enableDateAndTime = function () {
10107
+ this._calendarInput.showTime = true;
10108
+ return this;
10109
+ };
10104
10110
  return SmzFormCalendarBuilder;
10105
10111
  }(SmzFormInputBuilder));
10106
10112
  var SmzFormCheckboxGroupBuilder = /** @class */ (function (_super) {