@airpower/web 0.2.38 → 0.2.39
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/dist/main.js +6 -6
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -13795,7 +13795,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13795
13795
|
if (formConfig.value) {
|
|
13796
13796
|
switch ((_a = formConfig.value) == null ? void 0 : _a.dateType) {
|
|
13797
13797
|
case DateTimeType.DATE:
|
|
13798
|
-
return DateTimeFormatter.FULL_DATE.
|
|
13798
|
+
return DateTimeFormatter.FULL_DATE.key;
|
|
13799
13799
|
case DateTimeType.WEEK:
|
|
13800
13800
|
return "第ww周";
|
|
13801
13801
|
case DateTimeType.YEAR:
|
|
@@ -13803,7 +13803,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13803
13803
|
case DateTimeType.MONTH:
|
|
13804
13804
|
return "YYYY-MM";
|
|
13805
13805
|
case DateTimeType.DATETIME:
|
|
13806
|
-
return DateTimeFormatter.FULL_DATE_TIME.
|
|
13806
|
+
return DateTimeFormatter.FULL_DATE_TIME.key;
|
|
13807
13807
|
}
|
|
13808
13808
|
}
|
|
13809
13809
|
return DateTimeFormatter.FULL_DATE_TIME;
|
|
@@ -13954,13 +13954,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13954
13954
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
13955
13955
|
clearable: ((_a = formConfig.value) == null ? void 0 : _a.clearable) !== false,
|
|
13956
13956
|
disabled: __props.disabled,
|
|
13957
|
-
format: ((_b = formConfig.value.dateShowFormatter) == null ? void 0 : _b.
|
|
13957
|
+
format: ((_b = formConfig.value.dateShowFormatter) == null ? void 0 : _b.key) || getShowFormatter.value,
|
|
13958
13958
|
placeholder: placeholderRef.value,
|
|
13959
13959
|
"prefix-icon": (_c = formConfig.value) == null ? void 0 : _c.prefixIcon,
|
|
13960
13960
|
readonly: __props.readonly,
|
|
13961
13961
|
"suffix-icon": (_d = formConfig.value) == null ? void 0 : _d.suffixIcon,
|
|
13962
13962
|
type: formConfig.value.dateType,
|
|
13963
|
-
"value-format": formConfig.value.dateFormatter ? formConfig.value.dateFormatter.
|
|
13963
|
+
"value-format": formConfig.value.dateFormatter ? formConfig.value.dateFormatter.key : unref(DateTimeFormatter).TIMESTAMP.key,
|
|
13964
13964
|
style: { "width": "100%" },
|
|
13965
13965
|
onClear,
|
|
13966
13966
|
onFocus: emitFocus,
|
|
@@ -13971,12 +13971,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13971
13971
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event),
|
|
13972
13972
|
clearable: ((_e = formConfig.value) == null ? void 0 : _e.clearable) !== false,
|
|
13973
13973
|
disabled: __props.disabled,
|
|
13974
|
-
format: ((_f = formConfig.value.dateShowFormatter) == null ? void 0 : _f.
|
|
13974
|
+
format: ((_f = formConfig.value.dateShowFormatter) == null ? void 0 : _f.key) || unref(DateTimeFormatter).FULL_TIME.key,
|
|
13975
13975
|
placeholder: placeholderRef.value,
|
|
13976
13976
|
"prefix-icon": (_g = formConfig.value) == null ? void 0 : _g.prefixIcon,
|
|
13977
13977
|
readonly: __props.readonly,
|
|
13978
13978
|
"suffix-icon": (_h = formConfig.value) == null ? void 0 : _h.suffixIcon,
|
|
13979
|
-
"value-format": formConfig.value.dateFormatter ? formConfig.value.dateFormatter.
|
|
13979
|
+
"value-format": formConfig.value.dateFormatter ? formConfig.value.dateFormatter.key : unref(DateTimeFormatter).TIMESTAMP.key,
|
|
13980
13980
|
style: { "width": "100%" },
|
|
13981
13981
|
onClear,
|
|
13982
13982
|
onFocus: emitFocus,
|