@blueking/date-picker 2.0.0-beta.40 → 2.0.0-beta.41
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
package/vue2/index.es.min.js
CHANGED
|
@@ -38091,8 +38091,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
38091
38091
|
};
|
|
38092
38092
|
const handleSubmit = () => {
|
|
38093
38093
|
if (startDate.value && endDate.value) {
|
|
38094
|
-
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38095
|
-
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38094
|
+
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38095
|
+
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38096
38096
|
isValidate.value = validateDateValue([startValue || "", endValue || ""]);
|
|
38097
38097
|
if (!isValidate.value) return;
|
|
38098
38098
|
emits("change", [startValue || "", endValue || ""]);
|
package/vue2/index.iife.min.js
CHANGED
|
@@ -45112,8 +45112,8 @@ ${$(r2)}`), n2;
|
|
|
45112
45112
|
};
|
|
45113
45113
|
const handleSubmit = () => {
|
|
45114
45114
|
if (startDate.value && endDate.value) {
|
|
45115
|
-
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
45116
|
-
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
45115
|
+
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
45116
|
+
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
45117
45117
|
isValidate.value = validateDateValue([startValue || "", endValue || ""]);
|
|
45118
45118
|
if (!isValidate.value) return;
|
|
45119
45119
|
emits("change", [startValue || "", endValue || ""]);
|
package/vue2/index.umd.min.js
CHANGED
|
@@ -38106,8 +38106,8 @@ ${$(r2)}`), n2;
|
|
|
38106
38106
|
};
|
|
38107
38107
|
const handleSubmit = () => {
|
|
38108
38108
|
if (startDate.value && endDate.value) {
|
|
38109
|
-
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38110
|
-
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38109
|
+
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38110
|
+
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38111
38111
|
isValidate.value = validateDateValue([startValue || "", endValue || ""]);
|
|
38112
38112
|
if (!isValidate.value) return;
|
|
38113
38113
|
emits("change", [startValue || "", endValue || ""]);
|
package/vue3/index.es.min.js
CHANGED
|
@@ -2733,8 +2733,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2733
2733
|
};
|
|
2734
2734
|
const handleSubmit = () => {
|
|
2735
2735
|
if (startDate.value && endDate.value) {
|
|
2736
|
-
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2737
|
-
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2736
|
+
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2737
|
+
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2738
2738
|
isValidate.value = validateDateValue([startValue || "", endValue || ""]);
|
|
2739
2739
|
if (!isValidate.value) return;
|
|
2740
2740
|
emits("change", [startValue || "", endValue || ""]);
|
package/vue3/index.iife.min.js
CHANGED
|
@@ -38712,8 +38712,8 @@ ${$(r2)}`), n2;
|
|
|
38712
38712
|
};
|
|
38713
38713
|
const handleSubmit = () => {
|
|
38714
38714
|
if (startDate.value && endDate.value) {
|
|
38715
|
-
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38716
|
-
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38715
|
+
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38716
|
+
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
38717
38717
|
isValidate.value = validateDateValue([startValue || "", endValue || ""]);
|
|
38718
38718
|
if (!isValidate.value) return;
|
|
38719
38719
|
emits("change", [startValue || "", endValue || ""]);
|
package/vue3/index.umd.min.js
CHANGED
|
@@ -2729,8 +2729,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2729
2729
|
};
|
|
2730
2730
|
const handleSubmit = () => {
|
|
2731
2731
|
if (startDate.value && endDate.value) {
|
|
2732
|
-
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2733
|
-
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2732
|
+
const startValue = isStartNow.value ? NowConstant : dayjs.tz(startDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2733
|
+
const endValue = isEndNow.value ? NowConstant : dayjs.tz(endDate.value.format(format.value ?? DefaultCommitFormat), timezoneInfo.value.label).valueOf();
|
|
2734
2734
|
isValidate.value = validateDateValue([startValue || "", endValue || ""]);
|
|
2735
2735
|
if (!isValidate.value) return;
|
|
2736
2736
|
emits("change", [startValue || "", endValue || ""]);
|