@wlydfe/pro-ui 0.2.5 → 0.2.6
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/es/components/date-picker/index.d.ts +25 -25
- package/es/components/date-picker/src/index.vue.d.ts +25 -25
- package/es/components/descriptions/index.d.ts +119 -119
- package/es/components/descriptions/src/index.vue.d.ts +119 -119
- package/es/components/dialog/index.d.ts +2 -2
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +102 -102
- package/es/components/dialog-form/src/index.vue.d.ts +102 -102
- package/es/components/display-item/index.d.ts +112 -112
- package/es/components/display-item/src/index.vue.d.ts +119 -113
- package/es/components/display-item/src/index.vue2.mjs +81 -31
- package/es/components/drawer-form/index.d.ts +110 -110
- package/es/components/drawer-form/src/index.vue.d.ts +110 -110
- package/es/components/form/index.d.ts +98 -98
- package/es/components/form/src/form-content.vue.d.ts +72 -72
- package/es/components/form/src/index.vue.d.ts +98 -98
- package/es/components/form-item/index.d.ts +65 -65
- package/es/components/form-item/src/index.vue.d.ts +65 -65
- package/es/components/header/index.d.ts +1 -1
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +10 -10
- package/es/components/layout/index.d.ts +56 -56
- package/es/components/layout/src/index.vue.d.ts +56 -56
- package/es/components/page/index.d.ts +1 -0
- package/es/components/page/src/index.vue.d.ts +1 -0
- package/es/components/page/src/index.vue2.mjs +9 -2
- package/es/components/pagination/index.d.ts +1 -1
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +8 -8
- package/es/components/radio/src/index.vue.d.ts +8 -8
- package/es/components/search/index.d.ts +107 -107
- package/es/components/search/src/index.vue.d.ts +107 -107
- package/es/components/sidebar/index.d.ts +14 -14
- package/es/components/sidebar/src/index.vue.d.ts +14 -14
- package/es/components/steps-form/index.d.ts +104 -104
- package/es/components/steps-form/src/index.vue.d.ts +104 -104
- package/es/components/table/src/index.vue2.mjs +2 -1
- package/es/index.css +13 -13
- package/index.js +92 -34
- package/index.min.js +3 -3
- package/index.min.mjs +3 -3
- package/index.mjs +92 -34
- package/lib/components/date-picker/index.d.ts +25 -25
- package/lib/components/date-picker/src/index.vue.d.ts +25 -25
- package/lib/components/descriptions/index.d.ts +119 -119
- package/lib/components/descriptions/src/index.vue.d.ts +119 -119
- package/lib/components/dialog/index.d.ts +2 -2
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +102 -102
- package/lib/components/dialog-form/src/index.vue.d.ts +102 -102
- package/lib/components/display-item/index.d.ts +112 -112
- package/lib/components/display-item/src/index.vue.d.ts +119 -113
- package/lib/components/display-item/src/index.vue2.js +81 -31
- package/lib/components/drawer-form/index.d.ts +110 -110
- package/lib/components/drawer-form/src/index.vue.d.ts +110 -110
- package/lib/components/form/index.d.ts +98 -98
- package/lib/components/form/src/form-content.vue.d.ts +72 -72
- package/lib/components/form/src/index.vue.d.ts +98 -98
- package/lib/components/form-item/index.d.ts +65 -65
- package/lib/components/form-item/src/index.vue.d.ts +65 -65
- package/lib/components/header/index.d.ts +1 -1
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +10 -10
- package/lib/components/layout/index.d.ts +56 -56
- package/lib/components/layout/src/index.vue.d.ts +56 -56
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/page/src/index.vue.d.ts +1 -0
- package/lib/components/page/src/index.vue2.js +9 -2
- package/lib/components/pagination/index.d.ts +1 -1
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +8 -8
- package/lib/components/radio/src/index.vue.d.ts +8 -8
- package/lib/components/search/index.d.ts +107 -107
- package/lib/components/search/src/index.vue.d.ts +107 -107
- package/lib/components/sidebar/index.d.ts +14 -14
- package/lib/components/sidebar/src/index.vue.d.ts +14 -14
- package/lib/components/steps-form/index.d.ts +104 -104
- package/lib/components/steps-form/src/index.vue.d.ts +104 -104
- package/lib/components/table/src/index.vue2.js +2 -1
- package/lib/{page.css → index.css} +12 -12
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @wlydfe/pro-ui v0.2.
|
|
1
|
+
/*! @wlydfe/pro-ui v0.2.6 */
|
|
2
2
|
import { isRef, ref, watch, unref, computed, inject, shallowRef, defineComponent, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, createCommentVNode, Fragment, renderList, resolveDynamicComponent, h, reactive, useAttrs, normalizeProps, guardReactiveProps, withDirectives, normalizeClass, withKeys, withModifiers, isVNode, useSlots, onMounted, provide, toRefs, getCurrentInstance, resolveComponent } from 'vue';
|
|
3
3
|
import { dayjs, version as version$2, localeContextKey, ElDialog, ElButton, ElPagination, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElLink, ElMessageBox, ElRadioGroup, ElRadio, ElDatePicker, ClickOutside, ElTag, ElInput, ElFormItem, ElAutocomplete, ElCascader, ElCheckbox, ElCheckboxGroup, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElText, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop, ElAvatar } from 'element-plus';
|
|
4
4
|
|
|
@@ -5530,7 +5530,11 @@ var Form = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "index.vue"]]);
|
|
|
5530
5530
|
const PlusForm = Form;
|
|
5531
5531
|
|
|
5532
5532
|
const _hoisted_1$a = ["innerHTML"];
|
|
5533
|
-
const _hoisted_2$5 = {
|
|
5533
|
+
const _hoisted_2$5 = {
|
|
5534
|
+
key: 1,
|
|
5535
|
+
class: "plus-display-item"
|
|
5536
|
+
};
|
|
5537
|
+
const _hoisted_3$3 = { class: "plus-display-item" };
|
|
5534
5538
|
var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
5535
5539
|
...{
|
|
5536
5540
|
name: "PlusDisplayItem"
|
|
@@ -5553,9 +5557,26 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5553
5557
|
const columns = ref([]);
|
|
5554
5558
|
const subRow = ref(props.row);
|
|
5555
5559
|
const customFieldPropsIsReady = ref(false);
|
|
5560
|
+
const rawValue = computed(() => getValue(subRow.value, props.column.prop));
|
|
5556
5561
|
const displayValue = computed({
|
|
5557
5562
|
get() {
|
|
5558
|
-
|
|
5563
|
+
var _a, _b;
|
|
5564
|
+
const value = rawValue.value;
|
|
5565
|
+
const isEmpty = value === "" || value === null || value === void 0;
|
|
5566
|
+
if (isEmpty) {
|
|
5567
|
+
switch (props.column.valueType) {
|
|
5568
|
+
case "progress":
|
|
5569
|
+
return 0;
|
|
5570
|
+
default:
|
|
5571
|
+
return ((_a = props.column.tableColumnProps) == null ? void 0 : _a.emptyText) || "-";
|
|
5572
|
+
}
|
|
5573
|
+
}
|
|
5574
|
+
switch (props.column.valueType) {
|
|
5575
|
+
case "date-picker":
|
|
5576
|
+
return value ? formatDate(value) : ((_b = props.column.tableColumnProps) == null ? void 0 : _b.emptyText) || "-";
|
|
5577
|
+
default:
|
|
5578
|
+
return value;
|
|
5579
|
+
}
|
|
5559
5580
|
},
|
|
5560
5581
|
set(value) {
|
|
5561
5582
|
setValue(subRow.value, props.column.prop, value);
|
|
@@ -5834,7 +5855,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5834
5855
|
],
|
|
5835
5856
|
2112
|
|
5836
5857
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
5837
|
-
)) : _ctx.column.valueType === "date-picker"
|
|
5858
|
+
)) : _ctx.column.valueType === "date-picker" ? (openBlock(), createElementBlock(
|
|
5838
5859
|
Fragment,
|
|
5839
5860
|
{ key: 6 },
|
|
5840
5861
|
[
|
|
@@ -5842,7 +5863,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5842
5863
|
createElementVNode(
|
|
5843
5864
|
"span",
|
|
5844
5865
|
mergeProps({ class: "plus-display-item" }, customFieldProps.value),
|
|
5845
|
-
toDisplayString(
|
|
5866
|
+
toDisplayString(displayValue.value),
|
|
5846
5867
|
17
|
|
5847
5868
|
/* TEXT, FULL_PROPS */
|
|
5848
5869
|
)
|
|
@@ -5873,25 +5894,45 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5873
5894
|
"span",
|
|
5874
5895
|
mergeProps({ class: "plus-display-item plus-display-item__badge" }, customFieldProps.value),
|
|
5875
5896
|
[
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
{
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
"
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5897
|
+
rawValue.value !== "" && rawValue.value !== null && rawValue.value !== void 0 ? (openBlock(), createElementBlock(
|
|
5898
|
+
Fragment,
|
|
5899
|
+
{ key: 0 },
|
|
5900
|
+
[
|
|
5901
|
+
getStatus.value.color || getStatus.value.type ? (openBlock(), createElementBlock(
|
|
5902
|
+
"span",
|
|
5903
|
+
{
|
|
5904
|
+
key: 0,
|
|
5905
|
+
class: normalizeClass([
|
|
5906
|
+
"plus-display-item__badge__dot",
|
|
5907
|
+
getStatus.value.type && !getStatus.value.color ? "plus-display-item__badge__dot--" + getStatus.value.type : ""
|
|
5908
|
+
]),
|
|
5909
|
+
style: normalizeStyle({ backgroundColor: getStatus.value.color })
|
|
5910
|
+
},
|
|
5911
|
+
null,
|
|
5912
|
+
6
|
|
5913
|
+
/* CLASS, STYLE */
|
|
5914
|
+
)) : createCommentVNode("v-if", true),
|
|
5915
|
+
createTextVNode(
|
|
5916
|
+
" " + toDisplayString(getStatus.value.label),
|
|
5917
|
+
1
|
|
5918
|
+
/* TEXT */
|
|
5919
|
+
)
|
|
5920
|
+
],
|
|
5921
|
+
64
|
|
5922
|
+
/* STABLE_FRAGMENT */
|
|
5923
|
+
)) : (openBlock(), createElementBlock(
|
|
5924
|
+
Fragment,
|
|
5925
|
+
{ key: 1 },
|
|
5926
|
+
[
|
|
5927
|
+
createTextVNode(
|
|
5928
|
+
toDisplayString(displayValue.value),
|
|
5929
|
+
1
|
|
5930
|
+
/* TEXT */
|
|
5931
|
+
)
|
|
5932
|
+
],
|
|
5933
|
+
64
|
|
5934
|
+
/* STABLE_FRAGMENT */
|
|
5935
|
+
))
|
|
5895
5936
|
],
|
|
5896
5937
|
16
|
|
5897
5938
|
/* FULL_PROPS */
|
|
@@ -5899,14 +5940,17 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5899
5940
|
],
|
|
5900
5941
|
2112
|
|
5901
5942
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
5902
|
-
)) : _ctx.column.valueType === "tag"
|
|
5943
|
+
)) : _ctx.column.valueType === "tag" ? (openBlock(), createElementBlock(
|
|
5903
5944
|
Fragment,
|
|
5904
5945
|
{ key: 9 },
|
|
5905
5946
|
[
|
|
5906
5947
|
createCommentVNode(" \u6807\u7B7E "),
|
|
5907
|
-
|
|
5948
|
+
rawValue.value !== "" && rawValue.value !== null && rawValue.value !== void 0 ? (openBlock(), createBlock(
|
|
5908
5949
|
unref(ElTag),
|
|
5909
|
-
mergeProps({
|
|
5950
|
+
mergeProps({
|
|
5951
|
+
key: 0,
|
|
5952
|
+
class: "plus-display-item"
|
|
5953
|
+
}, customFieldProps.value),
|
|
5910
5954
|
createSlots({
|
|
5911
5955
|
default: withCtx(() => [
|
|
5912
5956
|
createTextVNode(
|
|
@@ -5935,10 +5979,16 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5935
5979
|
]),
|
|
5936
5980
|
1040
|
|
5937
5981
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
5938
|
-
)
|
|
5982
|
+
)) : (openBlock(), createElementBlock(
|
|
5983
|
+
"span",
|
|
5984
|
+
_hoisted_2$5,
|
|
5985
|
+
toDisplayString(displayValue.value),
|
|
5986
|
+
1
|
|
5987
|
+
/* TEXT */
|
|
5988
|
+
))
|
|
5939
5989
|
],
|
|
5940
|
-
|
|
5941
|
-
/* STABLE_FRAGMENT
|
|
5990
|
+
64
|
|
5991
|
+
/* STABLE_FRAGMENT */
|
|
5942
5992
|
)) : _ctx.column.valueType === "progress" ? (openBlock(), createElementBlock(
|
|
5943
5993
|
Fragment,
|
|
5944
5994
|
{ key: 10 },
|
|
@@ -5974,7 +6024,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5974
6024
|
{ key: 11 },
|
|
5975
6025
|
[
|
|
5976
6026
|
createCommentVNode(" \u590D\u5236 "),
|
|
5977
|
-
createElementVNode("span",
|
|
6027
|
+
createElementVNode("span", _hoisted_3$3, [
|
|
5978
6028
|
createTextVNode(
|
|
5979
6029
|
toDisplayString(displayValue.value) + " ",
|
|
5980
6030
|
1
|
|
@@ -9563,7 +9613,8 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9563
9613
|
width: 40
|
|
9564
9614
|
}) },
|
|
9565
9615
|
expandTableColumnProps: { default: () => ({}) },
|
|
9566
|
-
indexContentStyle: { type: [Object, Function], default: () => ({}) }
|
|
9616
|
+
indexContentStyle: { type: [Object, Function], default: () => ({}) },
|
|
9617
|
+
emptyText: {}
|
|
9567
9618
|
},
|
|
9568
9619
|
emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh"],
|
|
9569
9620
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10560,6 +10611,13 @@ var _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10560
10611
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
10561
10612
|
var _a;
|
|
10562
10613
|
const props = __props;
|
|
10614
|
+
const processedColumns = computed(() => {
|
|
10615
|
+
return props.columns.map((column) => ({
|
|
10616
|
+
hideInSearch: true,
|
|
10617
|
+
// 默认为 true
|
|
10618
|
+
...column
|
|
10619
|
+
}));
|
|
10620
|
+
});
|
|
10563
10621
|
const emit = __emit;
|
|
10564
10622
|
const PlusSearch$1 = PlusSearch;
|
|
10565
10623
|
const PlusTable$1 = PlusTable;
|
|
@@ -10638,7 +10696,7 @@ var _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10638
10696
|
}, _ctx.search, {
|
|
10639
10697
|
modelValue: values.value,
|
|
10640
10698
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
|
|
10641
|
-
columns:
|
|
10699
|
+
columns: processedColumns.value,
|
|
10642
10700
|
"search-loading": unref(loadingStatus),
|
|
10643
10701
|
onSearch: handleSearch,
|
|
10644
10702
|
onReset: handleRest
|
|
@@ -10667,7 +10725,7 @@ var _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10667
10725
|
}, _ctx.table, {
|
|
10668
10726
|
"table-data": unref(tableData),
|
|
10669
10727
|
"loading-status": unref(loadingStatus),
|
|
10670
|
-
columns:
|
|
10728
|
+
columns: processedColumns.value,
|
|
10671
10729
|
pagination: {
|
|
10672
10730
|
..._ctx.pagination,
|
|
10673
10731
|
total: unref(total),
|
|
@@ -49,11 +49,11 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
49
49
|
};
|
|
50
50
|
}>, {
|
|
51
51
|
props: any;
|
|
52
|
-
emit: (event: "
|
|
52
|
+
emit: (event: "update:modelValue" | "change" | "focus", ...args: any[]) => void;
|
|
53
53
|
t: import("../..").Translator;
|
|
54
54
|
startPickerInstance: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
55
55
|
readonly type: {
|
|
56
|
-
readonly type: import("vue").PropType<"
|
|
56
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
57
57
|
readonly required: false;
|
|
58
58
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
59
|
__epPropKey: true;
|
|
@@ -264,7 +264,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
264
264
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
265
265
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
266
266
|
readonly disabled: boolean;
|
|
267
|
-
readonly type: "
|
|
267
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
268
268
|
readonly placeholder: string;
|
|
269
269
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
270
270
|
readonly placement: import("element-plus").Placement;
|
|
@@ -294,7 +294,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
294
294
|
Defaults: {};
|
|
295
295
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
296
296
|
readonly type: {
|
|
297
|
-
readonly type: import("vue").PropType<"
|
|
297
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
298
298
|
readonly required: false;
|
|
299
299
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
300
300
|
__epPropKey: true;
|
|
@@ -505,7 +505,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
505
505
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
506
506
|
}, () => JSX.Element, {}, {}, {}, {
|
|
507
507
|
readonly disabled: boolean;
|
|
508
|
-
readonly type: "
|
|
508
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
509
509
|
readonly placeholder: string;
|
|
510
510
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
511
511
|
readonly placement: import("element-plus").Placement;
|
|
@@ -528,7 +528,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
528
528
|
readonly isRange: boolean;
|
|
529
529
|
}> | null | undefined, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
530
530
|
readonly type: {
|
|
531
|
-
readonly type: import("vue").PropType<"
|
|
531
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
532
532
|
readonly required: false;
|
|
533
533
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
534
534
|
__epPropKey: true;
|
|
@@ -739,7 +739,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
739
739
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
740
740
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
741
741
|
readonly disabled: boolean;
|
|
742
|
-
readonly type: "
|
|
742
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
743
743
|
readonly placeholder: string;
|
|
744
744
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
745
745
|
readonly placement: import("element-plus").Placement;
|
|
@@ -769,7 +769,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
769
769
|
Defaults: {};
|
|
770
770
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
771
771
|
readonly type: {
|
|
772
|
-
readonly type: import("vue").PropType<"
|
|
772
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
773
773
|
readonly required: false;
|
|
774
774
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
775
775
|
__epPropKey: true;
|
|
@@ -980,7 +980,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
980
980
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
981
981
|
}, () => JSX.Element, {}, {}, {}, {
|
|
982
982
|
readonly disabled: boolean;
|
|
983
|
-
readonly type: "
|
|
983
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
984
984
|
readonly placeholder: string;
|
|
985
985
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
986
986
|
readonly placement: import("element-plus").Placement;
|
|
@@ -1004,7 +1004,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1004
1004
|
}> | null | undefined>;
|
|
1005
1005
|
endPickerInstance: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1006
1006
|
readonly type: {
|
|
1007
|
-
readonly type: import("vue").PropType<"
|
|
1007
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
1008
1008
|
readonly required: false;
|
|
1009
1009
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1010
1010
|
__epPropKey: true;
|
|
@@ -1215,7 +1215,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1215
1215
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1216
1216
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
1217
1217
|
readonly disabled: boolean;
|
|
1218
|
-
readonly type: "
|
|
1218
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
1219
1219
|
readonly placeholder: string;
|
|
1220
1220
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
1221
1221
|
readonly placement: import("element-plus").Placement;
|
|
@@ -1245,7 +1245,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1245
1245
|
Defaults: {};
|
|
1246
1246
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1247
1247
|
readonly type: {
|
|
1248
|
-
readonly type: import("vue").PropType<"
|
|
1248
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
1249
1249
|
readonly required: false;
|
|
1250
1250
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1251
1251
|
__epPropKey: true;
|
|
@@ -1456,7 +1456,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1456
1456
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1457
1457
|
}, () => JSX.Element, {}, {}, {}, {
|
|
1458
1458
|
readonly disabled: boolean;
|
|
1459
|
-
readonly type: "
|
|
1459
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
1460
1460
|
readonly placeholder: string;
|
|
1461
1461
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
1462
1462
|
readonly placement: import("element-plus").Placement;
|
|
@@ -1479,7 +1479,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1479
1479
|
readonly isRange: boolean;
|
|
1480
1480
|
}> | null | undefined, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1481
1481
|
readonly type: {
|
|
1482
|
-
readonly type: import("vue").PropType<"
|
|
1482
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
1483
1483
|
readonly required: false;
|
|
1484
1484
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1485
1485
|
__epPropKey: true;
|
|
@@ -1690,7 +1690,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1690
1690
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1691
1691
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
1692
1692
|
readonly disabled: boolean;
|
|
1693
|
-
readonly type: "
|
|
1693
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
1694
1694
|
readonly placeholder: string;
|
|
1695
1695
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
1696
1696
|
readonly placement: import("element-plus").Placement;
|
|
@@ -1720,7 +1720,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1720
1720
|
Defaults: {};
|
|
1721
1721
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1722
1722
|
readonly type: {
|
|
1723
|
-
readonly type: import("vue").PropType<"
|
|
1723
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
1724
1724
|
readonly required: false;
|
|
1725
1725
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1726
1726
|
__epPropKey: true;
|
|
@@ -1931,7 +1931,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1931
1931
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1932
1932
|
}, () => JSX.Element, {}, {}, {}, {
|
|
1933
1933
|
readonly disabled: boolean;
|
|
1934
|
-
readonly type: "
|
|
1934
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
1935
1935
|
readonly placeholder: string;
|
|
1936
1936
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
1937
1937
|
readonly placement: import("element-plus").Placement;
|
|
@@ -1963,7 +1963,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
1963
1963
|
readonly ElDatePicker: {
|
|
1964
1964
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1965
1965
|
readonly type: {
|
|
1966
|
-
readonly type: import("vue").PropType<"
|
|
1966
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
1967
1967
|
readonly required: false;
|
|
1968
1968
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1969
1969
|
__epPropKey: true;
|
|
@@ -2174,7 +2174,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2174
2174
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2175
2175
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
2176
2176
|
readonly disabled: boolean;
|
|
2177
|
-
readonly type: "
|
|
2177
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
2178
2178
|
readonly placeholder: string;
|
|
2179
2179
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
2180
2180
|
readonly placement: import("element-plus").Placement;
|
|
@@ -2204,7 +2204,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2204
2204
|
Defaults: {};
|
|
2205
2205
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
2206
2206
|
readonly type: {
|
|
2207
|
-
readonly type: import("vue").PropType<"
|
|
2207
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
2208
2208
|
readonly required: false;
|
|
2209
2209
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2210
2210
|
__epPropKey: true;
|
|
@@ -2415,7 +2415,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2415
2415
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2416
2416
|
}, () => JSX.Element, {}, {}, {}, {
|
|
2417
2417
|
readonly disabled: boolean;
|
|
2418
|
-
readonly type: "
|
|
2418
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
2419
2419
|
readonly placeholder: string;
|
|
2420
2420
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
2421
2421
|
readonly placement: import("element-plus").Placement;
|
|
@@ -2442,7 +2442,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2442
2442
|
__isSuspense?: undefined;
|
|
2443
2443
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2444
2444
|
readonly type: {
|
|
2445
|
-
readonly type: import("vue").PropType<"
|
|
2445
|
+
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
2446
2446
|
readonly required: false;
|
|
2447
2447
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2448
2448
|
__epPropKey: true;
|
|
@@ -2653,7 +2653,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2653
2653
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2654
2654
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
2655
2655
|
readonly disabled: boolean;
|
|
2656
|
-
readonly type: "
|
|
2656
|
+
readonly type: "datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange";
|
|
2657
2657
|
readonly placeholder: string;
|
|
2658
2658
|
readonly modelValue: import("element-plus").ModelValueType;
|
|
2659
2659
|
readonly placement: import("element-plus").Placement;
|
|
@@ -2676,7 +2676,7 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2676
2676
|
readonly isRange: boolean;
|
|
2677
2677
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
2678
2678
|
readonly vClickOutside: import("vue").ObjectDirective<any, any, string, string>;
|
|
2679
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2679
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "focus")[], "update:modelValue" | "change" | "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2680
2680
|
modelValue: {
|
|
2681
2681
|
type: ArrayConstructor;
|
|
2682
2682
|
required: false;
|
|
@@ -2723,9 +2723,9 @@ export declare const PlusDatePicker: import("vue").DefineComponent<import("vue")
|
|
|
2723
2723
|
default: (endTime: any, startValue: any) => boolean;
|
|
2724
2724
|
};
|
|
2725
2725
|
}>> & Readonly<{
|
|
2726
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
2727
2726
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2728
2727
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2728
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
2729
2729
|
}>, {
|
|
2730
2730
|
type: string;
|
|
2731
2731
|
modelValue: unknown[];
|