@aaamb/ngx-design-system 1.3.4 → 1.3.5
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.
|
@@ -1386,7 +1386,7 @@ class InputRangepickerComponent {
|
|
|
1386
1386
|
useExisting: forwardRef(() => InputRangepickerComponent),
|
|
1387
1387
|
multi: true,
|
|
1388
1388
|
},
|
|
1389
|
-
], ngImport: i0, template: "<div class=\"flex w-full flex-col\">\n <ads-label [text]=\"label()\"></ads-label>\n\n <div class=\"relative w-full h-9.5 min-w-65\">\n <input\n type=\"text\"\n [class]=\"inputStateClass() + ' pr-12'\"\n [disabled]=\"isDisabled()\"\n [placeholder]=\"rangePickerPlaceholder()\"\n [ngModel]=\"selectedRange()\"\n (ngModelChange)=\"onInputTextChange($event)\"\n (blur)=\"onInputBlur()\"\n [mask]=\"'00/00/0000 - 00/00/0000'\"\n />\n\n <button\n type=\"button\"\n [disabled]=\"isDisabled()\"\n (click)=\"openDatePicker()\"\n class=\"w-6 h-6 top-[50%] translate-y-[-50%] absolute right-3 flex items-center justify-center border-0 outline-none ring-0 focus:outline-none focus:ring-0 active:outline-none active:ring-0 bg-transparent\"\n >\n <ads-icon\n [ngClass]=\"{\n 'cursor-pointer': !isDisabled(),\n 'text-green-1': !hasVisualError() && !isDisabled(),\n 'text-red-2': hasVisualError(),\n 'text-gray-500': isDisabled(),\n }\"\n [iconName]=\"'calendar'\"\n [size]=\"24\"\n ></ads-icon>\n </button>\n\n <nz-range-picker\n style=\"position: absolute\"\n class=\"opacity-0 pointer-events-none w-full h-full left-0 top-0\"\n [ngModel]=\"selectedRangeObj()\"\n [nzDisabled]=\"isDisabled()\"\n [nzDisabledDate]=\"disabledDate\"\n [nzOpen]=\"isDatePickerOpen\"\n [nzPlaceHolder]=\"[rangePickerPlaceholder(), rangePickerPlaceholder()]\"\n [nzPlacement]=\"'
|
|
1389
|
+
], ngImport: i0, template: "<div class=\"flex w-full flex-col\">\n <ads-label [text]=\"label()\"></ads-label>\n\n <div class=\"relative w-full h-9.5 min-w-65\">\n <input\n type=\"text\"\n [class]=\"inputStateClass() + ' pr-12'\"\n [disabled]=\"isDisabled()\"\n [placeholder]=\"rangePickerPlaceholder()\"\n [ngModel]=\"selectedRange()\"\n (ngModelChange)=\"onInputTextChange($event)\"\n (blur)=\"onInputBlur()\"\n [mask]=\"'00/00/0000 - 00/00/0000'\"\n />\n\n <button\n type=\"button\"\n [disabled]=\"isDisabled()\"\n (click)=\"openDatePicker()\"\n class=\"w-6 h-6 top-[50%] translate-y-[-50%] absolute right-3 flex items-center justify-center border-0 outline-none ring-0 focus:outline-none focus:ring-0 active:outline-none active:ring-0 bg-transparent\"\n >\n <ads-icon\n [ngClass]=\"{\n 'cursor-pointer': !isDisabled(),\n 'text-green-1': !hasVisualError() && !isDisabled(),\n 'text-red-2': hasVisualError(),\n 'text-gray-500': isDisabled(),\n }\"\n [iconName]=\"'calendar'\"\n [size]=\"24\"\n ></ads-icon>\n </button>\n\n <nz-range-picker\n style=\"position: absolute\"\n class=\"opacity-0 pointer-events-none w-full h-full left-0 top-0\"\n [ngModel]=\"selectedRangeObj()\"\n [nzDisabled]=\"isDisabled()\"\n [nzDisabledDate]=\"disabledDate\"\n [nzOpen]=\"isDatePickerOpen\"\n [nzPlaceHolder]=\"[rangePickerPlaceholder(), rangePickerPlaceholder()]\"\n nzDropdownClassName=\"ads-input-rangepicker-dropdown\"\n [nzPlacement]=\"'bottomLeft'\"\n [nzFormat]=\"'MM/dd/yyyy'\"\n (ngModelChange)=\"onRangeValue($event)\"\n (nzOnOpenChange)=\"onOpenChange($event)\"\n ></nz-range-picker>\n </div>\n\n <ads-error-message\n [hasError]=\"hasVisualError()\"\n [errorMessage]=\"resolvedErrorMessage()\"\n ></ads-error-message>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i1.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzInline", "nzAllowClear", "nzAutoFocus", "nzDisabled", "nzInputReadOnly", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzVariant", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i1.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions", "instantPrefix", "value", "errors", "disabled", "touched", "dirty", "invalid", "pending", "readonly", "required", "name"], outputs: ["valueChange", "touchedChange", "maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "component", type: IconComponent, selector: "ads-icon", inputs: ["iconName", "size", "title", "color"] }, { kind: "component", type: LabelComponent, selector: "ads-label", inputs: ["text", "iconName", "iconSize"], outputs: ["iconClicked"] }, { kind: "component", type: ErrorMessageComponent, selector: "ads-error-message", inputs: ["hasError", "errorMessage"] }] });
|
|
1390
1390
|
}
|
|
1391
1391
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: InputRangepickerComponent, decorators: [{
|
|
1392
1392
|
type: Component,
|
|
@@ -1405,7 +1405,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
1405
1405
|
useExisting: forwardRef(() => InputRangepickerComponent),
|
|
1406
1406
|
multi: true,
|
|
1407
1407
|
},
|
|
1408
|
-
], template: "<div class=\"flex w-full flex-col\">\n <ads-label [text]=\"label()\"></ads-label>\n\n <div class=\"relative w-full h-9.5 min-w-65\">\n <input\n type=\"text\"\n [class]=\"inputStateClass() + ' pr-12'\"\n [disabled]=\"isDisabled()\"\n [placeholder]=\"rangePickerPlaceholder()\"\n [ngModel]=\"selectedRange()\"\n (ngModelChange)=\"onInputTextChange($event)\"\n (blur)=\"onInputBlur()\"\n [mask]=\"'00/00/0000 - 00/00/0000'\"\n />\n\n <button\n type=\"button\"\n [disabled]=\"isDisabled()\"\n (click)=\"openDatePicker()\"\n class=\"w-6 h-6 top-[50%] translate-y-[-50%] absolute right-3 flex items-center justify-center border-0 outline-none ring-0 focus:outline-none focus:ring-0 active:outline-none active:ring-0 bg-transparent\"\n >\n <ads-icon\n [ngClass]=\"{\n 'cursor-pointer': !isDisabled(),\n 'text-green-1': !hasVisualError() && !isDisabled(),\n 'text-red-2': hasVisualError(),\n 'text-gray-500': isDisabled(),\n }\"\n [iconName]=\"'calendar'\"\n [size]=\"24\"\n ></ads-icon>\n </button>\n\n <nz-range-picker\n style=\"position: absolute\"\n class=\"opacity-0 pointer-events-none w-full h-full left-0 top-0\"\n [ngModel]=\"selectedRangeObj()\"\n [nzDisabled]=\"isDisabled()\"\n [nzDisabledDate]=\"disabledDate\"\n [nzOpen]=\"isDatePickerOpen\"\n [nzPlaceHolder]=\"[rangePickerPlaceholder(), rangePickerPlaceholder()]\"\n [nzPlacement]=\"'
|
|
1408
|
+
], template: "<div class=\"flex w-full flex-col\">\n <ads-label [text]=\"label()\"></ads-label>\n\n <div class=\"relative w-full h-9.5 min-w-65\">\n <input\n type=\"text\"\n [class]=\"inputStateClass() + ' pr-12'\"\n [disabled]=\"isDisabled()\"\n [placeholder]=\"rangePickerPlaceholder()\"\n [ngModel]=\"selectedRange()\"\n (ngModelChange)=\"onInputTextChange($event)\"\n (blur)=\"onInputBlur()\"\n [mask]=\"'00/00/0000 - 00/00/0000'\"\n />\n\n <button\n type=\"button\"\n [disabled]=\"isDisabled()\"\n (click)=\"openDatePicker()\"\n class=\"w-6 h-6 top-[50%] translate-y-[-50%] absolute right-3 flex items-center justify-center border-0 outline-none ring-0 focus:outline-none focus:ring-0 active:outline-none active:ring-0 bg-transparent\"\n >\n <ads-icon\n [ngClass]=\"{\n 'cursor-pointer': !isDisabled(),\n 'text-green-1': !hasVisualError() && !isDisabled(),\n 'text-red-2': hasVisualError(),\n 'text-gray-500': isDisabled(),\n }\"\n [iconName]=\"'calendar'\"\n [size]=\"24\"\n ></ads-icon>\n </button>\n\n <nz-range-picker\n style=\"position: absolute\"\n class=\"opacity-0 pointer-events-none w-full h-full left-0 top-0\"\n [ngModel]=\"selectedRangeObj()\"\n [nzDisabled]=\"isDisabled()\"\n [nzDisabledDate]=\"disabledDate\"\n [nzOpen]=\"isDatePickerOpen\"\n [nzPlaceHolder]=\"[rangePickerPlaceholder(), rangePickerPlaceholder()]\"\n nzDropdownClassName=\"ads-input-rangepicker-dropdown\"\n [nzPlacement]=\"'bottomLeft'\"\n [nzFormat]=\"'MM/dd/yyyy'\"\n (ngModelChange)=\"onRangeValue($event)\"\n (nzOnOpenChange)=\"onOpenChange($event)\"\n ></nz-range-picker>\n </div>\n\n <ads-error-message\n [hasError]=\"hasVisualError()\"\n [errorMessage]=\"resolvedErrorMessage()\"\n ></ads-error-message>\n</div>\n" }]
|
|
1409
1409
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { isPickerDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "isPickerDisabled", required: false }] }], rangePickerPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangePickerPlaceholder", required: false }] }], hasError: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasError", required: false }] }], errorMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorMessage", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], allowFutureDates: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowFutureDates", required: false }] }], onDocumentClick: [{
|
|
1410
1410
|
type: HostListener,
|
|
1411
1411
|
args: ['document:click', ['$event']]
|