@blueking/date-picker 2.0.0-beta.8 → 3.0.0-beta.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/README.md +15 -10
- package/package.json +14 -81
- package/typings/components/baseline-select.vue.d.ts +12 -0
- package/typings/components/common-submit.vue.d.ts +10 -19
- package/typings/components/common-tab.vue.d.ts +10 -14
- package/typings/components/date-list.vue.d.ts +15 -0
- package/typings/components/date-panel.vue.d.ts +9 -28
- package/typings/components/date-picker.vue.d.ts +8 -15
- package/typings/components/date-title.vue.d.ts +6 -0
- package/typings/components/natural-picker.vue.d.ts +6 -13
- package/typings/components/panel-wrapper.vue.d.ts +12 -21
- package/typings/components/recent-picker.vue.d.ts +10 -28
- package/typings/components/timezone-picker.vue.d.ts +14 -19
- package/typings/date-picker.vue.d.ts +21 -44
- package/typings/hooks/use-keydown-enter.d.ts +1 -0
- package/typings/hooks/use-validate.d.ts +17 -0
- package/typings/lang/lang.d.ts +14 -4
- package/typings/utils/constant.d.ts +8 -5
- package/typings/utils/cookie.d.ts +4 -0
- package/typings/utils/date.d.ts +38 -15
- package/typings/utils/duration.d.ts +5 -0
- package/typings/utils/index.d.ts +4 -3
- package/typings/utils/provider.d.ts +20 -0
- package/typings/utils/store.d.ts +1 -1
- package/typings/utils/timezone.d.ts +4 -4
- package/typings/utils/types.d.ts +22 -14
- package/typings/vue2.d.ts +20 -2
- package/typings/vue3.d.ts +7 -2
- package/vue2/config.json +1 -1
- package/vue2/index.es.min.js +25195 -18806
- package/vue2/index.iife.min.js +36661 -76
- package/vue2/index.umd.min.js +29072 -57
- package/vue2/vue2.css +3520 -1
- package/vue3/config.json +1 -1
- package/vue3/index.es.min.js +2957 -1717
- package/vue3/index.iife.min.js +29559 -57
- package/vue3/index.umd.min.js +4551 -2
- package/vue3/vue3.css +796 -1
- package/typings/utils/utils.d.ts +0 -15
package/typings/utils/utils.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
-
import { LangKey } from '../lang/lang';
|
|
3
|
-
import { ITimezoneItem } from './timezone';
|
|
4
|
-
import { DateValue } from './types';
|
|
5
|
-
export interface IDatePickerProvider {
|
|
6
|
-
commonUseList: ComputedRef<DateValue[]>;
|
|
7
|
-
format: ComputedRef<string>;
|
|
8
|
-
storeKey: ComputedRef<string>;
|
|
9
|
-
t: (key: LangKey) => string;
|
|
10
|
-
timezoneInfo: ComputedRef<ITimezoneItem>;
|
|
11
|
-
version: ComputedRef<number | string>;
|
|
12
|
-
}
|
|
13
|
-
export declare const DATE_PICKER_PROVIDER_KEY: InjectionKey<IDatePickerProvider>;
|
|
14
|
-
export declare const useDatePickerProvider: (data: IDatePickerProvider) => void;
|
|
15
|
-
export declare const useDatePickertInject: () => IDatePickerProvider | undefined;
|