carbon-components-angular 5.21.0 → 5.21.1
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/datepicker/datepicker.component.d.ts +4 -39
- package/docs/documentation/components/DatePicker.html +108 -103
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
- package/docs/documentation/modules/ThemeModule.html +13 -13
- package/docs/documentation/modules/TilesModule/dependencies.svg +83 -83
- package/docs/documentation/modules/TilesModule.html +83 -83
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +17 -17
- package/docs/documentation/modules/TimePickerModule.html +17 -17
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +45 -49
- package/docs/documentation/modules/TimePickerSelectModule.html +45 -49
- package/docs/documentation/modules/ToggleModule/dependencies.svg +41 -37
- package/docs/documentation/modules/ToggleModule.html +41 -37
- package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +26 -26
- package/docs/documentation/modules/TreeviewModule.html +26 -26
- package/docs/documentation.json +66 -66
- package/docs/storybook/iframe.html +1 -1
- package/docs/storybook/main.503cfdea.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/esm2020/datepicker/datepicker.component.mjs +1 -1
- package/fesm2015/carbon-components-angular-datepicker.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-datepicker.mjs.map +1 -1
- package/package.json +1 -1
- package/docs/storybook/main.11f564c6.iframe.bundle.js +0 -1
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
import { EventEmitter, ElementRef, OnDestroy, TemplateRef, OnChanges, SimpleChanges, AfterViewChecked, AfterViewInit, OnInit, SimpleChange } from "@angular/core";
|
|
22
|
+
import { Options } from "flatpickr/dist/types/options";
|
|
22
23
|
import { DatePickerInput } from "carbon-components-angular/datepicker-input";
|
|
23
24
|
import { I18n } from "carbon-components-angular/i18n";
|
|
24
25
|
import * as i0 from "@angular/core";
|
|
@@ -109,42 +110,8 @@ export declare class DatePicker implements OnInit, OnDestroy, OnChanges, AfterVi
|
|
|
109
110
|
rangeWarnText: string | TemplateRef<any>;
|
|
110
111
|
skeleton: boolean;
|
|
111
112
|
plugins: any[];
|
|
112
|
-
set flatpickrOptions(options:
|
|
113
|
-
|
|
114
|
-
} & {
|
|
115
|
-
mode: string;
|
|
116
|
-
dateFormat: string;
|
|
117
|
-
plugins: any[];
|
|
118
|
-
onOpen: () => void;
|
|
119
|
-
onClose: (date: any) => void;
|
|
120
|
-
onDayCreate: (_dObj: any, _dStr: any, _fp: any, dayElem: any) => void;
|
|
121
|
-
nextArrow: string;
|
|
122
|
-
prevArrow: string;
|
|
123
|
-
value: (string | Date)[];
|
|
124
|
-
} & {
|
|
125
|
-
mode: string;
|
|
126
|
-
plugins: any[];
|
|
127
|
-
dateFormat: string;
|
|
128
|
-
locale: any;
|
|
129
|
-
});
|
|
130
|
-
get flatpickrOptions(): {
|
|
131
|
-
allowInput: boolean;
|
|
132
|
-
} & {
|
|
133
|
-
mode: string;
|
|
134
|
-
dateFormat: string;
|
|
135
|
-
plugins: any[];
|
|
136
|
-
onOpen: () => void;
|
|
137
|
-
onClose: (date: any) => void;
|
|
138
|
-
onDayCreate: (_dObj: any, _dStr: any, _fp: any, dayElem: any) => void;
|
|
139
|
-
nextArrow: string;
|
|
140
|
-
prevArrow: string;
|
|
141
|
-
value: (string | Date)[];
|
|
142
|
-
} & {
|
|
143
|
-
mode: string;
|
|
144
|
-
plugins: any[];
|
|
145
|
-
dateFormat: string;
|
|
146
|
-
locale: any;
|
|
147
|
-
};
|
|
113
|
+
set flatpickrOptions(options: Partial<Options>);
|
|
114
|
+
get flatpickrOptions(): Partial<Options>;
|
|
148
115
|
input: DatePickerInput;
|
|
149
116
|
rangeInput: DatePickerInput;
|
|
150
117
|
valueChange: EventEmitter<any>;
|
|
@@ -154,9 +121,7 @@ export declare class DatePicker implements OnInit, OnDestroy, OnChanges, AfterVi
|
|
|
154
121
|
*/
|
|
155
122
|
onClose: EventEmitter<any>;
|
|
156
123
|
protected _value: any[];
|
|
157
|
-
protected _flatpickrOptions:
|
|
158
|
-
allowInput: boolean;
|
|
159
|
-
};
|
|
124
|
+
protected _flatpickrOptions: Partial<Options>;
|
|
160
125
|
protected flatpickrBaseOptions: {
|
|
161
126
|
mode: string;
|
|
162
127
|
dateFormat: string;
|