@blueking/date-picker 3.0.1 → 3.0.2
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
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueking/date-picker",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "蓝鲸监控平台日期时间选择",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Tencent BlueKing",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"prepublishOnly": "run-p build dts",
|
|
9
|
-
"dev": "vite --mode development -c scripts/vite.dev.ts",
|
|
10
|
-
"build": "tsx ./scripts/vite.build.ts",
|
|
11
|
-
"dts": "vue-tsc --project tsconfig.dts.json",
|
|
12
|
-
"prettier": "prettier ./src ./scripts ./playground --write",
|
|
13
|
-
"visualize": "vite-bundle-visualizer -c scripts/vite.vusualizer.ts"
|
|
14
|
-
},
|
|
15
7
|
"exports": {
|
|
16
8
|
".": {
|
|
17
9
|
"types": "./typings/vue3.d.ts",
|
|
@@ -62,5 +54,12 @@
|
|
|
62
54
|
"bkui-vue": "^2.0.1",
|
|
63
55
|
"dayjs": "^1.11.10",
|
|
64
56
|
"vue": "^3"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"dev": "vite --mode development -c scripts/vite.dev.ts",
|
|
60
|
+
"build": "tsx ./scripts/vite.build.ts",
|
|
61
|
+
"dts": "vue-tsc --project tsconfig.dts.json",
|
|
62
|
+
"prettier": "prettier ./src ./scripts ./playground --write",
|
|
63
|
+
"visualize": "vite-bundle-visualizer -c scripts/vite.vusualizer.ts"
|
|
65
64
|
}
|
|
66
65
|
}
|
package/vue2/index.es.min.js
CHANGED
|
@@ -28581,7 +28581,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28581
28581
|
const b2 = dayjs.tz(dayjs(), timezone).utcOffset();
|
|
28582
28582
|
return (b2 - a2) / 60;
|
|
28583
28583
|
});
|
|
28584
|
-
const dateDetail = shallowRef(new DateRange(props2.modelValue, props2.format));
|
|
28584
|
+
const dateDetail = shallowRef(new DateRange(props2.modelValue, props2.format, props2.timezone));
|
|
28585
28585
|
const tooltipsDetail = shallowRef();
|
|
28586
28586
|
const storeKey2 = computed(() => getStoreKey(props2.version));
|
|
28587
28587
|
const datePanelShow = ref(false);
|
|
@@ -28648,9 +28648,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28648
28648
|
if (enterTimer) return;
|
|
28649
28649
|
enterTimer = setTimeout(() => {
|
|
28650
28650
|
tooltipsShow.value = true;
|
|
28651
|
+
console.log("handleDateMouseenter", dateDetail.value, format.value, timezoneInfo.value.label);
|
|
28651
28652
|
tooltipsDetail.value = new DateRange(dateDetail.value.dateValue, format.value, timezoneInfo.value.label);
|
|
28652
28653
|
enterTimer = null;
|
|
28653
|
-
},
|
|
28654
|
+
}, 300);
|
|
28654
28655
|
}
|
|
28655
28656
|
function handleDateMouseleave() {
|
|
28656
28657
|
if (leaveTimer) clearTimeout(leaveTimer);
|
package/vue2/index.iife.min.js
CHANGED
|
@@ -36184,7 +36184,7 @@ ${$(r2)}`), n2;
|
|
|
36184
36184
|
const b2 = dayjs.tz(dayjs(), timezone2).utcOffset();
|
|
36185
36185
|
return (b2 - a2) / 60;
|
|
36186
36186
|
});
|
|
36187
|
-
const dateDetail = shallowRef(new DateRange(props2.modelValue, props2.format));
|
|
36187
|
+
const dateDetail = shallowRef(new DateRange(props2.modelValue, props2.format, props2.timezone));
|
|
36188
36188
|
const tooltipsDetail = shallowRef();
|
|
36189
36189
|
const storeKey2 = computed(() => getStoreKey(props2.version));
|
|
36190
36190
|
const datePanelShow = ref(false);
|
|
@@ -36251,9 +36251,10 @@ ${$(r2)}`), n2;
|
|
|
36251
36251
|
if (enterTimer) return;
|
|
36252
36252
|
enterTimer = setTimeout(() => {
|
|
36253
36253
|
tooltipsShow.value = true;
|
|
36254
|
+
console.log("handleDateMouseenter", dateDetail.value, format.value, timezoneInfo.value.label);
|
|
36254
36255
|
tooltipsDetail.value = new DateRange(dateDetail.value.dateValue, format.value, timezoneInfo.value.label);
|
|
36255
36256
|
enterTimer = null;
|
|
36256
|
-
},
|
|
36257
|
+
}, 300);
|
|
36257
36258
|
}
|
|
36258
36259
|
function handleDateMouseleave() {
|
|
36259
36260
|
if (leaveTimer) clearTimeout(leaveTimer);
|
package/vue2/index.umd.min.js
CHANGED
|
@@ -28596,7 +28596,7 @@ ${$(r2)}`), n2;
|
|
|
28596
28596
|
const b2 = dayjs.tz(dayjs(), timezone).utcOffset();
|
|
28597
28597
|
return (b2 - a2) / 60;
|
|
28598
28598
|
});
|
|
28599
|
-
const dateDetail = __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef(new DateRange(props2.modelValue, props2.format));
|
|
28599
|
+
const dateDetail = __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef(new DateRange(props2.modelValue, props2.format, props2.timezone));
|
|
28600
28600
|
const tooltipsDetail = __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef();
|
|
28601
28601
|
const storeKey2 = __WEBPACK_EXTERNAL_MODULE_vue__.computed(() => getStoreKey(props2.version));
|
|
28602
28602
|
const datePanelShow = __WEBPACK_EXTERNAL_MODULE_vue__.ref(false);
|
|
@@ -28663,9 +28663,10 @@ ${$(r2)}`), n2;
|
|
|
28663
28663
|
if (enterTimer) return;
|
|
28664
28664
|
enterTimer = setTimeout(() => {
|
|
28665
28665
|
tooltipsShow.value = true;
|
|
28666
|
+
console.log("handleDateMouseenter", dateDetail.value, format.value, timezoneInfo.value.label);
|
|
28666
28667
|
tooltipsDetail.value = new DateRange(dateDetail.value.dateValue, format.value, timezoneInfo.value.label);
|
|
28667
28668
|
enterTimer = null;
|
|
28668
|
-
},
|
|
28669
|
+
}, 300);
|
|
28669
28670
|
}
|
|
28670
28671
|
function handleDateMouseleave() {
|
|
28671
28672
|
if (leaveTimer) clearTimeout(leaveTimer);
|
package/vue3/index.es.min.js
CHANGED
|
@@ -4199,7 +4199,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4199
4199
|
const b = dayjs.tz(dayjs(), timezone).utcOffset();
|
|
4200
4200
|
return (b - a) / 60;
|
|
4201
4201
|
});
|
|
4202
|
-
const dateDetail = shallowRef(new DateRange(props.modelValue, props.format));
|
|
4202
|
+
const dateDetail = shallowRef(new DateRange(props.modelValue, props.format, props.timezone));
|
|
4203
4203
|
const tooltipsDetail = shallowRef();
|
|
4204
4204
|
const storeKey2 = computed(() => getStoreKey(props.version));
|
|
4205
4205
|
const datePanelShow = ref(false);
|
|
@@ -4266,9 +4266,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4266
4266
|
if (enterTimer) return;
|
|
4267
4267
|
enterTimer = setTimeout(() => {
|
|
4268
4268
|
tooltipsShow.value = true;
|
|
4269
|
+
console.log("handleDateMouseenter", dateDetail.value, format.value, timezoneInfo.value.label);
|
|
4269
4270
|
tooltipsDetail.value = new DateRange(dateDetail.value.dateValue, format.value, timezoneInfo.value.label);
|
|
4270
4271
|
enterTimer = null;
|
|
4271
|
-
},
|
|
4272
|
+
}, 300);
|
|
4272
4273
|
}
|
|
4273
4274
|
function handleDateMouseleave() {
|
|
4274
4275
|
if (leaveTimer) clearTimeout(leaveTimer);
|
package/vue3/index.iife.min.js
CHANGED
|
@@ -29202,7 +29202,7 @@ ${$(r2)}`), n2;
|
|
|
29202
29202
|
const b2 = dayjs.tz(dayjs(), timezone2).utcOffset();
|
|
29203
29203
|
return (b2 - a2) / 60;
|
|
29204
29204
|
});
|
|
29205
|
-
const dateDetail = __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef(new DateRange(props2.modelValue, props2.format));
|
|
29205
|
+
const dateDetail = __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef(new DateRange(props2.modelValue, props2.format, props2.timezone));
|
|
29206
29206
|
const tooltipsDetail = __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef();
|
|
29207
29207
|
const storeKey2 = __WEBPACK_EXTERNAL_MODULE_vue__.computed(() => getStoreKey(props2.version));
|
|
29208
29208
|
const datePanelShow = __WEBPACK_EXTERNAL_MODULE_vue__.ref(false);
|
|
@@ -29269,9 +29269,10 @@ ${$(r2)}`), n2;
|
|
|
29269
29269
|
if (enterTimer) return;
|
|
29270
29270
|
enterTimer = setTimeout(() => {
|
|
29271
29271
|
tooltipsShow.value = true;
|
|
29272
|
+
console.log("handleDateMouseenter", dateDetail.value, format.value, timezoneInfo.value.label);
|
|
29272
29273
|
tooltipsDetail.value = new DateRange(dateDetail.value.dateValue, format.value, timezoneInfo.value.label);
|
|
29273
29274
|
enterTimer = null;
|
|
29274
|
-
},
|
|
29275
|
+
}, 300);
|
|
29275
29276
|
}
|
|
29276
29277
|
function handleDateMouseleave() {
|
|
29277
29278
|
if (leaveTimer) clearTimeout(leaveTimer);
|
package/vue3/index.umd.min.js
CHANGED
|
@@ -4195,7 +4195,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4195
4195
|
const b = dayjs.tz(dayjs(), timezone).utcOffset();
|
|
4196
4196
|
return (b - a) / 60;
|
|
4197
4197
|
});
|
|
4198
|
-
const dateDetail = vue.shallowRef(new DateRange(props.modelValue, props.format));
|
|
4198
|
+
const dateDetail = vue.shallowRef(new DateRange(props.modelValue, props.format, props.timezone));
|
|
4199
4199
|
const tooltipsDetail = vue.shallowRef();
|
|
4200
4200
|
const storeKey2 = vue.computed(() => getStoreKey(props.version));
|
|
4201
4201
|
const datePanelShow = vue.ref(false);
|
|
@@ -4262,9 +4262,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4262
4262
|
if (enterTimer) return;
|
|
4263
4263
|
enterTimer = setTimeout(() => {
|
|
4264
4264
|
tooltipsShow.value = true;
|
|
4265
|
+
console.log("handleDateMouseenter", dateDetail.value, format.value, timezoneInfo.value.label);
|
|
4265
4266
|
tooltipsDetail.value = new DateRange(dateDetail.value.dateValue, format.value, timezoneInfo.value.label);
|
|
4266
4267
|
enterTimer = null;
|
|
4267
|
-
},
|
|
4268
|
+
}, 300);
|
|
4268
4269
|
}
|
|
4269
4270
|
function handleDateMouseleave() {
|
|
4270
4271
|
if (leaveTimer) clearTimeout(leaveTimer);
|