@airpower/web 0.2.35 → 0.2.36
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/enum/DateTimeType.d.ts +11 -7
- package/dist/main.js +4 -3
- package/package.json +1 -1
|
@@ -4,24 +4,28 @@
|
|
|
4
4
|
* @author Hamm.cn
|
|
5
5
|
*/
|
|
6
6
|
export declare enum DateTimeType {
|
|
7
|
+
/**
|
|
8
|
+
* ### 时间日期
|
|
9
|
+
*/
|
|
10
|
+
DATETIME = "datetime",
|
|
7
11
|
/**
|
|
8
12
|
* ### 日期
|
|
9
13
|
*/
|
|
10
14
|
DATE = "date",
|
|
11
15
|
/**
|
|
12
|
-
* ###
|
|
16
|
+
* ### 时间
|
|
13
17
|
*/
|
|
14
|
-
|
|
18
|
+
TIME = "time",
|
|
15
19
|
/**
|
|
16
|
-
* ###
|
|
20
|
+
* ### 周
|
|
17
21
|
*/
|
|
18
|
-
|
|
22
|
+
WEEK = "week",
|
|
19
23
|
/**
|
|
20
|
-
* ###
|
|
24
|
+
* ### 年
|
|
21
25
|
*/
|
|
22
26
|
YEAR = "year",
|
|
23
27
|
/**
|
|
24
|
-
* ###
|
|
28
|
+
* ### 月
|
|
25
29
|
*/
|
|
26
|
-
|
|
30
|
+
MONTH = "month"
|
|
27
31
|
}
|
package/dist/main.js
CHANGED
|
@@ -13632,11 +13632,12 @@ var FormTrim = /* @__PURE__ */ ((FormTrim2) => {
|
|
|
13632
13632
|
return FormTrim2;
|
|
13633
13633
|
})(FormTrim || {});
|
|
13634
13634
|
var DateTimeType = /* @__PURE__ */ ((DateTimeType2) => {
|
|
13635
|
+
DateTimeType2["DATETIME"] = "datetime";
|
|
13635
13636
|
DateTimeType2["DATE"] = "date";
|
|
13637
|
+
DateTimeType2["TIME"] = "time";
|
|
13636
13638
|
DateTimeType2["WEEK"] = "week";
|
|
13637
|
-
DateTimeType2["MONTH"] = "month";
|
|
13638
13639
|
DateTimeType2["YEAR"] = "year";
|
|
13639
|
-
DateTimeType2["
|
|
13640
|
+
DateTimeType2["MONTH"] = "month";
|
|
13640
13641
|
return DateTimeType2;
|
|
13641
13642
|
})(DateTimeType || {});
|
|
13642
13643
|
var WebColor = /* @__PURE__ */ ((WebColor2) => {
|
|
@@ -13946,7 +13947,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13946
13947
|
const _component_el_input = resolveComponent("el-input");
|
|
13947
13948
|
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
13948
13949
|
formConfig.value && formConfig.value.dateType !== void 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
13949
|
-
formConfig.value.dateType !== unref(DateTimeType).
|
|
13950
|
+
formConfig.value.dateType !== unref(DateTimeType).TIME ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
13950
13951
|
key: 0,
|
|
13951
13952
|
modelValue: value.value,
|
|
13952
13953
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|