rd-outer-component 0.1.70 → 0.1.71
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/esm2020/lib/modules/custom-date/custom-date.component.mjs +8 -4
- package/fesm2015/rd-outer-component.mjs +7 -3
- package/fesm2015/rd-outer-component.mjs.map +1 -1
- package/fesm2020/rd-outer-component.mjs +7 -3
- package/fesm2020/rd-outer-component.mjs.map +1 -1
- package/lib/modules/custom-date/custom-date.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ export declare class CustomDateComponent implements ControlValueAccessor, Valida
|
|
|
8
8
|
private translate;
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
disabledDate?: (d: Date) => boolean;
|
|
11
|
+
/** 仅设置空值时首次打开的面板日期,不会选中或填入表单。 */
|
|
12
|
+
defaultPickerValue: Date | Date[] | null;
|
|
11
13
|
label: string;
|
|
12
14
|
type: 'date' | 'range';
|
|
13
15
|
format: 'dd/MM/yyyy' | 'MM/yyyy' | 'yyyy';
|
|
@@ -45,5 +47,5 @@ export declare class CustomDateComponent implements ControlValueAccessor, Valida
|
|
|
45
47
|
ngAfterViewInit(): void;
|
|
46
48
|
disabledEndDate: (current: Date) => boolean;
|
|
47
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDateComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomDateComponent, "app-rd-date", never, { "disabled": "disabled"; "disabledDate": "disabledDate"; "label": "label"; "type": "type"; "format": "format"; "required": "required"; "name": "name"; "placeholder": "placeholder"; "errorMessages": "errorMessages"; }, {}, never, never, false, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomDateComponent, "app-rd-date", never, { "disabled": "disabled"; "disabledDate": "disabledDate"; "defaultPickerValue": "defaultPickerValue"; "label": "label"; "type": "type"; "format": "format"; "required": "required"; "name": "name"; "placeholder": "placeholder"; "errorMessages": "errorMessages"; }, {}, never, never, false, never>;
|
|
49
51
|
}
|