@blueking/date-picker 3.0.6 → 3.0.8
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/package.json +14 -15
- package/vue2/index.es.min.js +25721 -28432
- package/vue2/index.iife.min.js +31860 -36605
- package/vue2/index.umd.min.js +26347 -29017
- package/vue2/vue2.css +3 -7
- package/vue3/components/baseline-select.vue.d.ts +12 -0
- package/vue3/components/common-submit.vue.d.ts +14 -0
- package/{typings → vue3}/components/common-tab.vue.d.ts +2 -1
- package/{typings → vue3}/components/date-list.vue.d.ts +5 -7
- package/{typings → vue3}/components/date-panel.vue.d.ts +2 -1
- package/{typings → vue3}/components/date-picker.vue.d.ts +5 -5
- package/{typings → vue3}/components/date-title.vue.d.ts +2 -1
- package/{typings → vue3}/components/natural-picker.vue.d.ts +2 -1
- package/{typings → vue3}/components/panel-wrapper.vue.d.ts +5 -7
- package/{typings → vue3}/components/recent-picker.vue.d.ts +2 -1
- package/{typings → vue3}/components/timezone-picker.vue.d.ts +5 -6
- package/{typings → vue3}/date-picker.vue.d.ts +2 -1
- package/vue3/index.es.min.js +4706 -4530
- package/vue3/index.iife.min.js +26970 -29503
- package/vue3/index.umd.min.js +4850 -4591
- package/{typings → vue3}/utils/date.d.ts +1 -1
- package/vue3/vue3.css +3 -1
- package/typings/components/baseline-select.vue.d.ts +0 -12
- package/typings/components/common-submit.vue.d.ts +0 -18
- package/vue2/config.json +0 -1
- package/vue3/config.json +0 -1
- /package/{typings → vue3}/hooks/use-keydown-enter.d.ts +0 -0
- /package/{typings → vue3}/hooks/use-validate.d.ts +0 -0
- /package/{typings → vue3}/lang/lang.d.ts +0 -0
- /package/{typings → vue3}/utils/constant.d.ts +0 -0
- /package/{typings → vue3}/utils/cookie.d.ts +0 -0
- /package/{typings → vue3}/utils/duration.d.ts +0 -0
- /package/{typings → vue3}/utils/index.d.ts +0 -0
- /package/{typings → vue3}/utils/provider.d.ts +0 -0
- /package/{typings → vue3}/utils/store.d.ts +0 -0
- /package/{typings → vue3}/utils/timezone.d.ts +0 -0
- /package/{typings → vue3}/utils/types.d.ts +0 -0
- /package/{typings → vue3}/vue2.d.ts +0 -0
- /package/{typings → vue3}/vue3.d.ts +0 -0
|
@@ -57,6 +57,6 @@ export declare class DateRange {
|
|
|
57
57
|
}
|
|
58
58
|
export declare const transformValue2Dayjs: (val: DateValue[number], type?: "end" | "start", timezone?: string) => dayjs.Dayjs | undefined;
|
|
59
59
|
export declare const transformDateRange2Dayjs: (dateValue: DateValue, timezone?: string) => (dayjs.Dayjs | undefined)[];
|
|
60
|
-
export declare const inputVal2Dayjs: (val: string, format: string, defaultDate?: Dayjs) => dayjs.Dayjs;
|
|
60
|
+
export declare const inputVal2Dayjs: (val: string, format: string, defaultDate?: Dayjs, timezone?: string) => dayjs.Dayjs;
|
|
61
61
|
export declare function getTimezoneOffset(timezone: string): number;
|
|
62
62
|
export declare const isValidTimeZone: (timeZone: string) => boolean;
|
package/vue3/vue3.css
CHANGED
|
@@ -611,7 +611,6 @@
|
|
|
611
611
|
color: #63656e;
|
|
612
612
|
border: 1px solid #c4c6cc;
|
|
613
613
|
border-radius: 2px;
|
|
614
|
-
/* stylelint-disable-next-line no-descending-specificity */
|
|
615
614
|
}
|
|
616
615
|
.__bk_date_picker__ div::-webkit-scrollbar,
|
|
617
616
|
.__bk_date_picker__ ul::-webkit-scrollbar,
|
|
@@ -678,6 +677,9 @@
|
|
|
678
677
|
pointer-events: none;
|
|
679
678
|
cursor: not-allowed;
|
|
680
679
|
}
|
|
680
|
+
.__bk_date_picker__ {
|
|
681
|
+
/* stylelint-disable-next-line no-descending-specificity */
|
|
682
|
+
}
|
|
681
683
|
.__bk_date_picker__ .date-content {
|
|
682
684
|
display: flex;
|
|
683
685
|
align-items: center;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue?: string;
|
|
3
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
-
"update:modelValue": (value: string) => any;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
-
modelValue?: string;
|
|
7
|
-
}> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
modelValue: string;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
/**
|
|
3
|
-
* 是否禁用
|
|
4
|
-
*/
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
disableTips?: string;
|
|
7
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
-
submit: () => any;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
10
|
-
/**
|
|
11
|
-
* 是否禁用
|
|
12
|
-
*/
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
disableTips?: string;
|
|
15
|
-
}> & Readonly<{
|
|
16
|
-
onSubmit?: (() => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
export default _default;
|
package/vue2/config.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"blueking-date-picker","name":"blueking-date-picker","displayName":"蓝鲸监控平台日期组件","framework":"vue2","props":{"behavior":{"type":"string","val":"normal","options":["normal","simplicity"],"tips":"组件展示风格"},"commonUseList":{"type":"array","tips":"常用列表"},"disabled":{"type":"boolean","tips":"是否禁用"},"format":{"type":"string","tips":"日期转换显示格式"},"modelValue":{"type":"array","val":["now-1d","now"],"tips":"日期值"},"needTimezone":{"type":"boolean","tips":"是否展示时区"},"timezone":{"type":"string","tips":"时区值"},"version":{"type":["number","string"],"val":"1.0","tips":"版本号 用于控制本地缓存"}},"events":[{"name":"update:modelValue","tips":"响应组件的点击事件"},{"name":"update:timezone","tips":"更新时区值的事件,以及时区信息"}]}
|
package/vue3/config.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"blueking-date-picker","name":"blueking-date-picker","displayName":"蓝鲸监控平台日期组件","framework":"vue3","props":{"behavior":{"type":"string","val":"normal","options":["normal","simplicity"],"tips":"组件展示风格"},"commonUseList":{"type":"array","tips":"常用列表"},"disabled":{"type":"boolean","tips":"是否禁用"},"format":{"type":"string","tips":"日期转换显示格式"},"modelValue":{"type":"array","val":["now-1d","now"],"tips":"日期值"},"needTimezone":{"type":"boolean","tips":"是否展示时区"},"timezone":{"type":"string","tips":"时区值"},"version":{"type":["number","string"],"val":"1.0","tips":"版本号 用于控制本地缓存"}},"events":[{"name":"update:modelValue","tips":"响应组件的点击事件"},{"name":"update:timezone","tips":"更新时区值的事件,以及时区信息"}]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|