@tmagic/form 1.1.0-beta.6 → 1.1.0-beta.7
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/tmagic-form.mjs +98 -78
- package/dist/tmagic-form.mjs.map +1 -1
- package/dist/tmagic-form.umd.js +98 -78
- package/dist/tmagic-form.umd.js.map +1 -1
- package/package.json +2 -3
- package/src/fields/Daterange.vue +73 -52
- package/src/index.ts +1 -1
- package/types/fields/Daterange.vue.d.ts +97 -54
package/dist/tmagic-form.umd.js
CHANGED
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
key: 4,
|
|
324
324
|
style: { "text-align": "center" }
|
|
325
325
|
};
|
|
326
|
-
function _sfc_render$
|
|
326
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
327
327
|
const _component_m_fields_hidden = vue.resolveComponent("m-fields-hidden");
|
|
328
328
|
const _component_el_tooltip = vue.resolveComponent("el-tooltip");
|
|
329
329
|
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
])) : vue.createCommentVNode("", true)
|
|
451
451
|
], 6)) : vue.createCommentVNode("", true);
|
|
452
452
|
}
|
|
453
|
-
const Container = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$
|
|
453
|
+
const Container = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$o]]);
|
|
454
454
|
|
|
455
455
|
const _hoisted_1$b = ["innerHTML"];
|
|
456
456
|
const _hoisted_2$6 = ["innerHTML"];
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
const _hoisted_2$5 = /* @__PURE__ */ vue.createTextVNode("\u4E0A\u79FB");
|
|
666
666
|
const _hoisted_3$5 = /* @__PURE__ */ vue.createTextVNode("\u4E0B\u79FB");
|
|
667
667
|
const _hoisted_4$4 = ["innerHTML"];
|
|
668
|
-
function _sfc_render$
|
|
668
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
669
669
|
const _component_CaretBottom = vue.resolveComponent("CaretBottom");
|
|
670
670
|
const _component_CaretRight = vue.resolveComponent("CaretRight");
|
|
671
671
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
}, null, 8, ["config", "model", "labelWidth", "prop", "size", "onChange"])) : vue.createCommentVNode("", true)
|
|
756
756
|
]);
|
|
757
757
|
}
|
|
758
|
-
const MFieldsGroupListItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$
|
|
758
|
+
const MFieldsGroupListItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$n]]);
|
|
759
759
|
|
|
760
760
|
const _sfc_main$r = vue.defineComponent({
|
|
761
761
|
name: "m-form-group-list",
|
|
@@ -866,7 +866,7 @@
|
|
|
866
866
|
];
|
|
867
867
|
const _hoisted_6$1 = /* @__PURE__ */ vue.createTextVNode("\u6DFB\u52A0\u7EC4");
|
|
868
868
|
const _hoisted_7$1 = /* @__PURE__ */ vue.createTextVNode("\u5207\u6362\u4E3A\u8868\u683C");
|
|
869
|
-
function _sfc_render$
|
|
869
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
870
870
|
const _component_m_fields_group_list_item = vue.resolveComponent("m-fields-group-list-item");
|
|
871
871
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
872
872
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
}, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
914
914
|
]);
|
|
915
915
|
}
|
|
916
|
-
const GroupList = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$
|
|
916
|
+
const GroupList = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$m]]);
|
|
917
917
|
|
|
918
918
|
const _sfc_main$q = vue.defineComponent({
|
|
919
919
|
name: "m-form-panel",
|
|
@@ -957,7 +957,7 @@
|
|
|
957
957
|
};
|
|
958
958
|
const _hoisted_4$2 = { style: { "flex": "1" } };
|
|
959
959
|
const _hoisted_5$1 = ["src"];
|
|
960
|
-
function _sfc_render$
|
|
960
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
961
961
|
const _component_caret_bottom = vue.resolveComponent("caret-bottom");
|
|
962
962
|
const _component_caret_right = vue.resolveComponent("caret-right");
|
|
963
963
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
_: 3
|
|
1028
1028
|
}, 8, ["body-style"])) : vue.createCommentVNode("", true);
|
|
1029
1029
|
}
|
|
1030
|
-
const Panel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$
|
|
1030
|
+
const Panel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$l]]);
|
|
1031
1031
|
|
|
1032
1032
|
const _sfc_main$p = vue.defineComponent({
|
|
1033
1033
|
props: {
|
|
@@ -1057,7 +1057,7 @@
|
|
|
1057
1057
|
}
|
|
1058
1058
|
});
|
|
1059
1059
|
|
|
1060
|
-
function _sfc_render$
|
|
1060
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1061
1061
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
1062
1062
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
1063
1063
|
return vue.withDirectives((vue.openBlock(), vue.createBlock(_component_el_col, { span: _ctx.span }, {
|
|
@@ -1077,7 +1077,7 @@
|
|
|
1077
1077
|
[vue.vShow, _ctx.display && _ctx.config.type !== "hidden"]
|
|
1078
1078
|
]);
|
|
1079
1079
|
}
|
|
1080
|
-
const Col = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$
|
|
1080
|
+
const Col = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$k]]);
|
|
1081
1081
|
|
|
1082
1082
|
const _sfc_main$o = vue.defineComponent({
|
|
1083
1083
|
name: "m-form-row",
|
|
@@ -1108,7 +1108,7 @@
|
|
|
1108
1108
|
}
|
|
1109
1109
|
});
|
|
1110
1110
|
|
|
1111
|
-
function _sfc_render$
|
|
1111
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1112
1112
|
const _component_Col = vue.resolveComponent("Col");
|
|
1113
1113
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
1114
1114
|
return vue.openBlock(), vue.createBlock(_component_el_row, { gutter: 10 }, {
|
|
@@ -1130,7 +1130,7 @@
|
|
|
1130
1130
|
_: 1
|
|
1131
1131
|
});
|
|
1132
1132
|
}
|
|
1133
|
-
const Row = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$
|
|
1133
|
+
const Row = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$j]]);
|
|
1134
1134
|
|
|
1135
1135
|
const _sfc_main$n = vue.defineComponent({
|
|
1136
1136
|
name: "m-form-step",
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
}
|
|
1169
1169
|
});
|
|
1170
1170
|
|
|
1171
|
-
function _sfc_render$
|
|
1171
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1172
1172
|
const _component_el_step = vue.resolveComponent("el-step");
|
|
1173
1173
|
const _component_el_steps = vue.resolveComponent("el-steps");
|
|
1174
1174
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
@@ -1211,7 +1211,7 @@
|
|
|
1211
1211
|
}), 256))
|
|
1212
1212
|
]);
|
|
1213
1213
|
}
|
|
1214
|
-
const MStep = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$
|
|
1214
|
+
const MStep = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$i]]);
|
|
1215
1215
|
|
|
1216
1216
|
let loadedAMapJS = false;
|
|
1217
1217
|
let firstLoadingAMapJS = true;
|
|
@@ -1598,7 +1598,7 @@
|
|
|
1598
1598
|
class: "bottom",
|
|
1599
1599
|
style: { "text-align": "right" }
|
|
1600
1600
|
};
|
|
1601
|
-
function _sfc_render$
|
|
1601
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1602
1602
|
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
1603
1603
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
1604
1604
|
const _component_el_tooltip = vue.resolveComponent("el-tooltip");
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
])
|
|
1848
1848
|
], 2);
|
|
1849
1849
|
}
|
|
1850
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$
|
|
1850
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$h]]);
|
|
1851
1851
|
|
|
1852
1852
|
const getActive = (mForm, props, activeTabName) => {
|
|
1853
1853
|
const { config, model, prop } = props;
|
|
@@ -1967,7 +1967,7 @@
|
|
|
1967
1967
|
}
|
|
1968
1968
|
});
|
|
1969
1969
|
|
|
1970
|
-
function _sfc_render$
|
|
1970
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1971
1971
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
1972
1972
|
const _component_el_tab_pane = vue.resolveComponent("el-tab-pane");
|
|
1973
1973
|
const _component_el_tabs = vue.resolveComponent("el-tabs");
|
|
@@ -2013,7 +2013,7 @@
|
|
|
2013
2013
|
_: 1
|
|
2014
2014
|
}, 8, ["modelValue", "class", "type", "editable", "tab-position", "onTabClick", "onTabAdd", "onTabRemove"]);
|
|
2015
2015
|
}
|
|
2016
|
-
const Tabs = /* @__PURE__ */ _export_sfc(Tab, [["render", _sfc_render$
|
|
2016
|
+
const Tabs = /* @__PURE__ */ _export_sfc(Tab, [["render", _sfc_render$g]]);
|
|
2017
2017
|
|
|
2018
2018
|
let $MAGIC_FORM = {};
|
|
2019
2019
|
const setConfig = (option) => {
|
|
@@ -2155,7 +2155,7 @@
|
|
|
2155
2155
|
class: "m-cascader",
|
|
2156
2156
|
style: { "width": "100%" }
|
|
2157
2157
|
};
|
|
2158
|
-
function _sfc_render$
|
|
2158
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2159
2159
|
const _component_el_cascader = vue.resolveComponent("el-cascader");
|
|
2160
2160
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
2161
2161
|
vue.createVNode(_component_el_cascader, {
|
|
@@ -2174,7 +2174,7 @@
|
|
|
2174
2174
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "options", "props", "onChange"])
|
|
2175
2175
|
]);
|
|
2176
2176
|
}
|
|
2177
|
-
const Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$
|
|
2177
|
+
const Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$f]]);
|
|
2178
2178
|
|
|
2179
2179
|
const _sfc_main$k = vue.defineComponent({
|
|
2180
2180
|
name: "m-fields-checkbox",
|
|
@@ -2216,7 +2216,7 @@
|
|
|
2216
2216
|
}
|
|
2217
2217
|
});
|
|
2218
2218
|
|
|
2219
|
-
function _sfc_render$
|
|
2219
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2220
2220
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
2221
2221
|
return vue.openBlock(), vue.createBlock(_component_el_checkbox, {
|
|
2222
2222
|
modelValue: _ctx.model[_ctx.name],
|
|
@@ -2229,7 +2229,7 @@
|
|
|
2229
2229
|
onChange: _ctx.changeHandler
|
|
2230
2230
|
}, null, 8, ["modelValue", "size", "trueLabel", "falseLabel", "disabled", "label", "onChange"]);
|
|
2231
2231
|
}
|
|
2232
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$
|
|
2232
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$e]]);
|
|
2233
2233
|
|
|
2234
2234
|
const _sfc_main$j = vue.defineComponent({
|
|
2235
2235
|
name: "m-fields-checkbox-group",
|
|
@@ -2254,7 +2254,7 @@
|
|
|
2254
2254
|
}
|
|
2255
2255
|
});
|
|
2256
2256
|
|
|
2257
|
-
function _sfc_render$
|
|
2257
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2258
2258
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
2259
2259
|
const _component_el_checkbox_group = vue.resolveComponent("el-checkbox-group");
|
|
2260
2260
|
return vue.openBlock(), vue.createBlock(_component_el_checkbox_group, {
|
|
@@ -2280,7 +2280,7 @@
|
|
|
2280
2280
|
_: 1
|
|
2281
2281
|
}, 8, ["modelValue", "size", "disabled", "onChange"]);
|
|
2282
2282
|
}
|
|
2283
|
-
const CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$
|
|
2283
|
+
const CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$d]]);
|
|
2284
2284
|
|
|
2285
2285
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
2286
2286
|
__name: "ColorPicker",
|
|
@@ -2334,7 +2334,7 @@
|
|
|
2334
2334
|
}
|
|
2335
2335
|
});
|
|
2336
2336
|
|
|
2337
|
-
function _sfc_render$
|
|
2337
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2338
2338
|
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
2339
2339
|
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
2340
2340
|
modelValue: _ctx.model[_ctx.name],
|
|
@@ -2348,76 +2348,96 @@
|
|
|
2348
2348
|
onChange: _ctx.changeHandler
|
|
2349
2349
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "format", "value-format", "onChange"]);
|
|
2350
2350
|
}
|
|
2351
|
-
const Date$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$
|
|
2351
|
+
const Date$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$c]]);
|
|
2352
2352
|
|
|
2353
|
-
const _sfc_main$g = vue.defineComponent({
|
|
2354
|
-
|
|
2353
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
2354
|
+
__name: "Daterange",
|
|
2355
2355
|
props: {
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2356
|
+
config: null,
|
|
2357
|
+
model: null,
|
|
2358
|
+
initValues: null,
|
|
2359
|
+
values: null,
|
|
2360
|
+
name: null,
|
|
2361
|
+
prop: null,
|
|
2362
|
+
disabled: { type: Boolean },
|
|
2363
|
+
size: null
|
|
2361
2364
|
},
|
|
2362
2365
|
emits: ["change"],
|
|
2363
|
-
setup(
|
|
2366
|
+
setup(__props, { emit }) {
|
|
2367
|
+
const props = __props;
|
|
2364
2368
|
useAddField(props.prop);
|
|
2365
2369
|
const { names } = props.config;
|
|
2366
2370
|
const value = vue.ref([]);
|
|
2367
2371
|
if (props.model !== void 0) {
|
|
2368
2372
|
if (names?.length) {
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
const setValue = (v) => {
|
|
2375
|
-
if (names?.length && v instanceof Array) {
|
|
2376
|
-
names.forEach((item, index) => {
|
|
2377
|
-
if (props.model) {
|
|
2378
|
-
props.model[item] = utils.datetimeFormatter(v[index].toString(), "");
|
|
2373
|
+
vue.watch([() => props.model[names[0]], () => props.model[names[1]]], ([start, end], [preStart, preEnd]) => {
|
|
2374
|
+
if (!value.value) {
|
|
2375
|
+
value.value = [];
|
|
2379
2376
|
}
|
|
2377
|
+
if (!start || !end)
|
|
2378
|
+
value.value = [];
|
|
2379
|
+
if (start !== preStart)
|
|
2380
|
+
value.value[0] = new Date(start);
|
|
2381
|
+
if (end !== preEnd)
|
|
2382
|
+
value.value[1] = new Date(end);
|
|
2383
|
+
}, {
|
|
2384
|
+
immediate: true
|
|
2380
2385
|
});
|
|
2381
|
-
} else if (props.
|
|
2382
|
-
props.model[props.name]
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
}
|
|
2386
|
+
} else if (props.name && props.model[props.name]) {
|
|
2387
|
+
vue.watch(() => props.model[props.name], (start, preStart) => {
|
|
2388
|
+
if (start !== preStart)
|
|
2389
|
+
value.value = start.map((item) => item ? new Date(item) : void 0);
|
|
2390
|
+
}, {
|
|
2391
|
+
immediate: true
|
|
2388
2392
|
});
|
|
2389
|
-
} else if (props.name) {
|
|
2390
|
-
props.model[props.name] = void 0;
|
|
2391
2393
|
}
|
|
2394
|
+
}
|
|
2395
|
+
const setValue = (v) => {
|
|
2396
|
+
names?.forEach((item, index) => {
|
|
2397
|
+
if (!props.model) {
|
|
2398
|
+
return;
|
|
2399
|
+
}
|
|
2400
|
+
if (Array.isArray(v)) {
|
|
2401
|
+
props.model[item] = utils.datetimeFormatter(v[index]?.toString(), "");
|
|
2402
|
+
} else {
|
|
2403
|
+
props.model[item] = void 0;
|
|
2404
|
+
}
|
|
2405
|
+
});
|
|
2392
2406
|
};
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2407
|
+
const changeHandler = (v) => {
|
|
2408
|
+
const value2 = v || [];
|
|
2409
|
+
if (props.name) {
|
|
2410
|
+
emit("change", value2.map((item) => {
|
|
2411
|
+
if (item)
|
|
2412
|
+
return utils.datetimeFormatter(item, "");
|
|
2413
|
+
return void 0;
|
|
2414
|
+
}));
|
|
2415
|
+
} else {
|
|
2416
|
+
if (names?.length) {
|
|
2417
|
+
setValue(value2);
|
|
2418
|
+
}
|
|
2419
|
+
emit("change", value2);
|
|
2398
2420
|
}
|
|
2399
2421
|
};
|
|
2422
|
+
return (_ctx, _cache) => {
|
|
2423
|
+
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
2424
|
+
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
2425
|
+
modelValue: value.value,
|
|
2426
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2427
|
+
type: "datetimerange",
|
|
2428
|
+
"range-separator": "-",
|
|
2429
|
+
"start-placeholder": "\u5F00\u59CB\u65E5\u671F",
|
|
2430
|
+
"end-placeholder": "\u7ED3\u675F\u65E5\u671F",
|
|
2431
|
+
size: __props.size,
|
|
2432
|
+
"unlink-panels": true,
|
|
2433
|
+
disabled: __props.disabled,
|
|
2434
|
+
"default-time": __props.config.defaultTime,
|
|
2435
|
+
onChange: changeHandler
|
|
2436
|
+
}, null, 8, ["modelValue", "size", "disabled", "default-time"]);
|
|
2437
|
+
};
|
|
2400
2438
|
}
|
|
2401
2439
|
});
|
|
2402
2440
|
|
|
2403
|
-
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2404
|
-
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
2405
|
-
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
2406
|
-
modelValue: _ctx.value,
|
|
2407
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.value = $event),
|
|
2408
|
-
type: "datetimerange",
|
|
2409
|
-
"range-separator": "-",
|
|
2410
|
-
"start-placeholder": "\u5F00\u59CB\u65E5\u671F",
|
|
2411
|
-
"end-placeholder": "\u7ED3\u675F\u65E5\u671F",
|
|
2412
|
-
size: _ctx.size,
|
|
2413
|
-
"unlink-panels": true,
|
|
2414
|
-
disabled: _ctx.disabled,
|
|
2415
|
-
"default-time": _ctx.config.defaultTime,
|
|
2416
|
-
onChange: _ctx.changeHandler
|
|
2417
|
-
}, null, 8, ["modelValue", "size", "disabled", "default-time", "onChange"]);
|
|
2418
|
-
}
|
|
2419
|
-
const Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$c]]);
|
|
2420
|
-
|
|
2421
2441
|
const _sfc_main$f = vue.defineComponent({
|
|
2422
2442
|
name: "m-fields-datetime",
|
|
2423
2443
|
props: {
|
|
@@ -3835,7 +3855,7 @@
|
|
|
3835
3855
|
app.component(Time.name, Time);
|
|
3836
3856
|
app.component(Checkbox.name, Checkbox);
|
|
3837
3857
|
app.component(Switch.name, Switch);
|
|
3838
|
-
app.component(
|
|
3858
|
+
app.component("m-fields-daterange", _sfc_main$g);
|
|
3839
3859
|
app.component("m-fields-color-picker", _sfc_main$i);
|
|
3840
3860
|
app.component(CheckboxGroup.name, CheckboxGroup);
|
|
3841
3861
|
app.component(RadioGroup.name, RadioGroup);
|
|
@@ -3856,7 +3876,7 @@
|
|
|
3856
3876
|
exports.MContainer = Container;
|
|
3857
3877
|
exports.MDate = Date$1;
|
|
3858
3878
|
exports.MDateTime = DateTime;
|
|
3859
|
-
exports.MDaterange =
|
|
3879
|
+
exports.MDaterange = _sfc_main$g;
|
|
3860
3880
|
exports.MDisplay = _sfc_main$e;
|
|
3861
3881
|
exports.MDynamicField = DynamicField;
|
|
3862
3882
|
exports.MFieldset = _sfc_main$t;
|