@wlydfe/pro-ui 0.2.4 → 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/breadcrumb/src/index.vue.d.ts +1 -1
- package/es/components/check-card/src/index.vue.d.ts +1 -1
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/check-card-group/style/css.d.ts +1 -1
- package/es/components/check-card-group/style/index.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +1 -1
- package/es/components/descriptions/index.d.ts +1 -1
- package/es/components/descriptions/src/index.vue.d.ts +13 -13
- package/es/components/descriptions/style/css.d.ts +1 -1
- package/es/components/descriptions/style/index.d.ts +1 -1
- package/es/components/dialog/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/src/index.vue.d.ts +14 -14
- package/es/components/dialog-form/style/css.d.ts +2 -2
- package/es/components/dialog-form/style/index.d.ts +2 -2
- package/es/components/display-item/index.d.ts +1 -1
- package/es/components/display-item/src/index.vue.d.ts +16 -10
- package/es/components/display-item/src/index.vue2.mjs +81 -31
- package/es/components/display-item/style/css.d.ts +1 -1
- package/es/components/display-item/style/index.d.ts +1 -1
- package/es/components/drawer-form/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/style/css.d.ts +1 -1
- package/es/components/drawer-form/style/index.d.ts +1 -1
- package/es/components/form/src/form-content.vue.d.ts +4 -4
- package/es/components/form/src/index.vue.d.ts +10 -10
- package/es/components/form/style/css.d.ts +1 -1
- package/es/components/form/style/index.d.ts +1 -1
- package/es/components/form-item/src/index.vue.d.ts +7 -7
- package/es/components/form-item/style/css.d.ts +3 -3
- package/es/components/form-item/style/index.d.ts +3 -3
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- package/es/components/layout/src/index.vue.d.ts +16 -16
- package/es/components/layout/style/css.d.ts +3 -3
- package/es/components/layout/style/index.d.ts +3 -3
- package/es/components/page/index.d.ts +1 -0
- package/es/components/page/src/index.vue.d.ts +4 -3
- package/es/components/page/src/index.vue2.mjs +9 -2
- package/es/components/page/style/css.d.ts +2 -2
- package/es/components/page/style/index.d.ts +2 -2
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/popover/src/index.vue.d.ts +1 -1
- package/es/components/radio/src/index.vue.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/src/index.vue.d.ts +11 -11
- package/es/components/search/style/css.d.ts +1 -1
- package/es/components/search/style/index.d.ts +1 -1
- package/es/components/sidebar/src/index.vue.d.ts +1 -1
- package/es/components/sidebar/src/sidebar-item.vue.d.ts +1 -1
- package/es/components/steps-form/src/index.vue.d.ts +12 -12
- package/es/components/steps-form/style/css.d.ts +1 -1
- package/es/components/steps-form/style/index.d.ts +1 -1
- package/es/components/table/src/index.vue2.mjs +2 -1
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/table/src/type.d.ts +1 -1
- package/es/components/table/style/css.d.ts +3 -3
- package/es/components/table/style/index.d.ts +3 -3
- package/es/components/utils/index.d.ts +1 -1
- package/es/constants/page.d.ts +1 -1
- package/es/hooks/useGetOptions.d.ts +1 -1
- package/es/hooks/useTable.d.ts +2 -2
- package/es/index.css +14 -14
- package/es/index.d.ts +5 -5
- package/es/pro-ui/index.d.ts +5 -5
- package/es/types/form.d.ts +4 -4
- 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/breadcrumb/src/index.vue.d.ts +1 -1
- package/lib/components/check-card/src/index.vue.d.ts +1 -1
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/check-card-group/style/css.d.ts +1 -1
- package/lib/components/check-card-group/style/index.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +1 -1
- package/lib/components/descriptions/index.d.ts +1 -1
- package/lib/components/descriptions/src/index.vue.d.ts +13 -13
- package/lib/components/descriptions/style/css.d.ts +1 -1
- package/lib/components/descriptions/style/index.d.ts +1 -1
- package/lib/components/dialog/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/src/index.vue.d.ts +14 -14
- package/lib/components/dialog-form/style/css.d.ts +2 -2
- package/lib/components/dialog-form/style/index.d.ts +2 -2
- package/lib/components/display-item/index.d.ts +1 -1
- package/lib/components/display-item/src/index.vue.d.ts +16 -10
- package/lib/components/display-item/src/index.vue2.js +81 -31
- package/lib/components/display-item/style/css.d.ts +1 -1
- package/lib/components/display-item/style/index.d.ts +1 -1
- package/lib/components/drawer-form/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/style/css.d.ts +1 -1
- package/lib/components/drawer-form/style/index.d.ts +1 -1
- package/lib/components/form/src/form-content.vue.d.ts +4 -4
- package/lib/components/form/src/index.vue.d.ts +10 -10
- package/lib/components/form/style/css.d.ts +1 -1
- package/lib/components/form/style/index.d.ts +1 -1
- package/lib/components/form-item/src/index.vue.d.ts +7 -7
- package/lib/components/form-item/style/css.d.ts +3 -3
- package/lib/components/form-item/style/index.d.ts +3 -3
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- package/lib/components/layout/src/index.vue.d.ts +16 -16
- package/lib/components/layout/style/css.d.ts +3 -3
- package/lib/components/layout/style/index.d.ts +3 -3
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/page/src/index.vue.d.ts +4 -3
- package/lib/components/page/src/index.vue2.js +9 -2
- package/lib/components/page/style/css.d.ts +2 -2
- package/lib/components/page/style/index.d.ts +2 -2
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/popover/src/index.vue.d.ts +1 -1
- package/lib/components/radio/src/index.vue.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/src/index.vue.d.ts +11 -11
- package/lib/components/search/style/css.d.ts +1 -1
- package/lib/components/search/style/index.d.ts +1 -1
- package/lib/components/sidebar/src/index.vue.d.ts +1 -1
- package/lib/components/sidebar/src/sidebar-item.vue.d.ts +1 -1
- package/lib/components/steps-form/src/index.vue.d.ts +12 -12
- package/lib/components/steps-form/style/css.d.ts +1 -1
- package/lib/components/steps-form/style/index.d.ts +1 -1
- package/lib/components/table/src/index.vue2.js +2 -1
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/table/src/type.d.ts +1 -1
- package/lib/components/table/style/css.d.ts +3 -3
- package/lib/components/table/style/index.d.ts +3 -3
- package/lib/components/utils/index.d.ts +1 -1
- package/lib/constants/page.d.ts +1 -1
- package/lib/hooks/useGetOptions.d.ts +1 -1
- package/lib/hooks/useTable.d.ts +2 -2
- package/lib/index.css +13 -13
- package/lib/index.d.ts +5 -5
- package/lib/pro-ui/index.d.ts +5 -5
- package/lib/types/form.d.ts +4 -4
- 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),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VNode } from 'vue';
|
|
2
2
|
import type { RouteLocationMatched } from 'vue-router';
|
|
3
|
-
import type { PlusRouteRecordRaw } from '@wlydfe/pro-ui
|
|
3
|
+
import type { PlusRouteRecordRaw } from '@wlydfe/pro-ui/es/types';
|
|
4
4
|
export interface PlusBreadcrumbProps {
|
|
5
5
|
routes?: PlusRouteRecordRaw[];
|
|
6
6
|
replace?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VNode } from 'vue';
|
|
2
2
|
import type { ComponentSize } from 'element-plus';
|
|
3
|
-
import type { RecordType } from '@wlydfe/pro-ui
|
|
3
|
+
import type { RecordType } from '@wlydfe/pro-ui/es/types';
|
|
4
4
|
export interface PlusCheckCardProps {
|
|
5
5
|
modelValue?: boolean;
|
|
6
6
|
size?: ComponentSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PlusCheckCardProps } from '@wlydfe/pro-ui/es/
|
|
1
|
+
import type { PlusCheckCardProps } from '@wlydfe/pro-ui/es/components/check-card';
|
|
2
2
|
import type { ComponentSize } from 'element-plus';
|
|
3
3
|
export type ArrayValueType = (string | number)[];
|
|
4
4
|
export type SingleValueType = string | number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@wlydfe/pro-ui/es/
|
|
1
|
+
import '@wlydfe/pro-ui/es/components/check-card/style/css';
|
|
2
2
|
import '@wlydfe/pro-ui/es/theme-chalk/plus-check-card-group.css';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@wlydfe/pro-ui/es/
|
|
1
|
+
import '@wlydfe/pro-ui/es/components/check-card/style/index';
|
|
2
2
|
import '@wlydfe/pro-ui/es/theme-chalk/src/check-card-group.scss';
|
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
}>, {
|
|
68
68
|
props: any;
|
|
69
69
|
emit: (event: "update:modelValue" | "change" | "focus", ...args: any[]) => void;
|
|
70
|
-
t: import("@wlydfe/pro-ui
|
|
70
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
71
71
|
startPickerInstance: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
72
72
|
readonly type: {
|
|
73
73
|
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
@@ -689,6 +689,7 @@ export declare const PlusDescriptions: import("vue").DefineComponent<import("vue
|
|
|
689
689
|
columns: import("vue").Ref<import("../..").PlusColumn[], import("../..").PlusColumn[]>;
|
|
690
690
|
subRow: import("vue").Ref<any, any>;
|
|
691
691
|
customFieldPropsIsReady: import("vue").Ref<boolean, boolean>;
|
|
692
|
+
rawValue: import("vue").ComputedRef<any>;
|
|
692
693
|
displayValue: import("vue").WritableComputedRef<any, any>;
|
|
693
694
|
modelValues: import("vue").WritableComputedRef<{
|
|
694
695
|
[x: number]: any;
|
|
@@ -8574,7 +8575,6 @@ export declare const PlusDescriptions: import("vue").DefineComponent<import("vue
|
|
|
8574
8575
|
resetText: string;
|
|
8575
8576
|
submitLoading: boolean;
|
|
8576
8577
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8577
|
-
readonly formatDate: typeof import("../utils").formatDate;
|
|
8578
8578
|
readonly formatMoney: typeof import("../utils").formatMoney;
|
|
8579
8579
|
readonly isFunction: (val: any) => boolean;
|
|
8580
8580
|
readonly getTableCellSlotName: (prop?: string | number | undefined) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { descriptionProps } from 'element-plus';
|
|
3
|
-
import type { PlusColumn, RecordType, Mutable } from '@wlydfe/pro-ui
|
|
3
|
+
import type { PlusColumn, RecordType, Mutable } from '@wlydfe/pro-ui/es/types';
|
|
4
4
|
export type DescriptionProps = Partial<Mutable<ExtractPropTypes<typeof descriptionProps>>>;
|
|
5
5
|
export interface PlusDescriptionsProps extends /* @vue-ignore */ Partial<DescriptionProps> {
|
|
6
6
|
data: RecordType;
|
|
@@ -696,10 +696,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
696
696
|
isForm: import("vue").ComputedRef<boolean>;
|
|
697
697
|
customFieldProps: import("vue").Ref<RecordType, RecordType>;
|
|
698
698
|
formInstance: import("vue").Ref<any, any>;
|
|
699
|
-
options: import("vue").Ref<import("@wlydfe/pro-ui
|
|
699
|
+
options: import("vue").Ref<import("@wlydfe/pro-ui/es/types").OptionsRow[], import("@wlydfe/pro-ui/es/types").OptionsRow[]>;
|
|
700
700
|
columns: import("vue").Ref<PlusColumn[], PlusColumn[]>;
|
|
701
701
|
subRow: import("vue").Ref<any, any>;
|
|
702
702
|
customFieldPropsIsReady: import("vue").Ref<boolean, boolean>;
|
|
703
|
+
rawValue: import("vue").ComputedRef<any>;
|
|
703
704
|
displayValue: import("vue").WritableComputedRef<any, any>;
|
|
704
705
|
modelValues: import("vue").WritableComputedRef<{
|
|
705
706
|
[x: number]: any;
|
|
@@ -715,10 +716,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
715
716
|
options: any[];
|
|
716
717
|
url: any;
|
|
717
718
|
}>;
|
|
718
|
-
getStatus: import("vue").ComputedRef<import("@wlydfe/pro-ui
|
|
719
|
+
getStatus: import("vue").ComputedRef<import("@wlydfe/pro-ui/es/types").OptionsRow>;
|
|
719
720
|
copy: (data: string) => void;
|
|
720
721
|
handelClickCopy: (item: PlusColumn, row: RecordType) => void;
|
|
721
|
-
handleChange: (values: import("@wlydfe/pro-ui
|
|
722
|
+
handleChange: (values: import("@wlydfe/pro-ui/es/types").FieldValues) => void;
|
|
722
723
|
startCellEdit: () => void;
|
|
723
724
|
stopCellEdit: () => void;
|
|
724
725
|
getDisplayItemInstance: () => {
|
|
@@ -824,9 +825,9 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
824
825
|
emit: (event: "reset" | "submit" | "update:modelValue" | "change" | "submitError", ...args: any[]) => void;
|
|
825
826
|
t: import("../../..").Translator;
|
|
826
827
|
formInstance: import("vue").Ref<import("element-plus").FormInstance | undefined, import("element-plus").FormInstance | undefined>;
|
|
827
|
-
values: import("vue").Ref<import("@wlydfe/pro-ui
|
|
828
|
+
values: import("vue").Ref<import("@wlydfe/pro-ui/es/types").FieldValues, import("@wlydfe/pro-ui/es/types").FieldValues>;
|
|
828
829
|
filterHide: (columns: PlusColumn[]) => PlusColumn[];
|
|
829
|
-
model: import("vue").ComputedRef<import("@wlydfe/pro-ui
|
|
830
|
+
model: import("vue").ComputedRef<import("@wlydfe/pro-ui/es/types").FieldValues>;
|
|
830
831
|
style: import("vue").ComputedRef<{
|
|
831
832
|
justifyContent: string;
|
|
832
833
|
}>;
|
|
@@ -843,7 +844,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
843
844
|
extraSlots: Readonly<{
|
|
844
845
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
845
846
|
}>;
|
|
846
|
-
handleChange: (_: import("@wlydfe/pro-ui
|
|
847
|
+
handleChange: (_: import("@wlydfe/pro-ui/es/types").FieldValues, column: PlusColumn) => void;
|
|
847
848
|
clearValidate: () => void;
|
|
848
849
|
handleSubmit: () => Promise<boolean>;
|
|
849
850
|
handleReset: () => void;
|
|
@@ -2060,9 +2061,9 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
2060
2061
|
}>, {
|
|
2061
2062
|
props: any;
|
|
2062
2063
|
emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
2063
|
-
values: import("vue").Ref<import("@wlydfe/pro-ui
|
|
2064
|
+
values: import("vue").Ref<import("@wlydfe/pro-ui/es/types").FieldValues, import("@wlydfe/pro-ui/es/types").FieldValues>;
|
|
2064
2065
|
getHasLabel: (hasLabel?: boolean | import("vue").Ref<boolean, boolean> | import("vue").ComputedRef<boolean> | undefined) => any;
|
|
2065
|
-
handleChange: (value: import("@wlydfe/pro-ui
|
|
2066
|
+
handleChange: (value: import("@wlydfe/pro-ui/es/types").FieldValueType, column: PlusColumn) => void;
|
|
2066
2067
|
readonly ElRow: {
|
|
2067
2068
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
|
|
2068
2069
|
readonly tag: {
|
|
@@ -2573,7 +2574,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
2573
2574
|
props: any;
|
|
2574
2575
|
emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
2575
2576
|
t: import("../../..").Translator;
|
|
2576
|
-
customOptions: import("vue").Ref<import("@wlydfe/pro-ui
|
|
2577
|
+
customOptions: import("vue").Ref<import("@wlydfe/pro-ui/es/types").OptionsRow[], import("@wlydfe/pro-ui/es/types").OptionsRow[]>;
|
|
2577
2578
|
customOptionsIsReady: import("vue").Ref<boolean, boolean>;
|
|
2578
2579
|
formItemInstance: import("vue").Ref<({
|
|
2579
2580
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -3037,7 +3038,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
3037
3038
|
fieldInstance: import("vue").Ref<any, any>;
|
|
3038
3039
|
customFormItemProps: import("vue").Ref<any, any>;
|
|
3039
3040
|
customFieldProps: import("vue").Ref<any, any>;
|
|
3040
|
-
state: import("vue").Ref<import("@wlydfe/pro-ui
|
|
3041
|
+
state: import("vue").Ref<import("@wlydfe/pro-ui/es/types").FieldValueType, import("@wlydfe/pro-ui/es/types").FieldValueType>;
|
|
3041
3042
|
customFieldPropsIsReady: import("vue").Ref<boolean, boolean>;
|
|
3042
3043
|
valueIsReady: import("vue").Ref<boolean, boolean>;
|
|
3043
3044
|
isArrayValue: import("vue").ComputedRef<boolean>;
|
|
@@ -8585,8 +8586,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
8585
8586
|
resetText: string;
|
|
8586
8587
|
submitLoading: boolean;
|
|
8587
8588
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8588
|
-
readonly
|
|
8589
|
-
readonly formatMoney: typeof import("@wlydfe/pro-ui/es/es/components/utils").formatMoney;
|
|
8589
|
+
readonly formatMoney: typeof import("@wlydfe/pro-ui/es/components/utils").formatMoney;
|
|
8590
8590
|
readonly isFunction: (val: any) => boolean;
|
|
8591
8591
|
readonly getTableCellSlotName: (prop?: string | number | undefined) => string;
|
|
8592
8592
|
readonly getFieldSlotName: (prop?: string | number | undefined) => string;
|
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
68
|
justifyContent: string;
|
|
69
69
|
}>;
|
|
70
70
|
subVisible: import("vue").Ref<boolean, boolean>;
|
|
71
|
-
t: import("@wlydfe/pro-ui
|
|
71
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
72
72
|
handleConfirm: () => void;
|
|
73
73
|
handleCancel: () => void;
|
|
74
74
|
readonly ElDialog: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { PlusFormProps } from '@wlydfe/pro-ui/es/
|
|
2
|
-
import type { PlusDialogProps } from '@wlydfe/pro-ui/es/
|
|
3
|
-
import type { FieldValues, PlusColumn } from '@wlydfe/pro-ui
|
|
1
|
+
import type { PlusFormProps } from '@wlydfe/pro-ui/es/components/form';
|
|
2
|
+
import type { PlusDialogProps } from '@wlydfe/pro-ui/es/components/dialog';
|
|
3
|
+
import type { FieldValues, PlusColumn } from '@wlydfe/pro-ui/es/types';
|
|
4
4
|
import type { FormInstance } from 'element-plus';
|
|
5
5
|
export interface PlusDialogFormProps {
|
|
6
6
|
modelValue?: FieldValues;
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
}>, {
|
|
40
40
|
props: any;
|
|
41
41
|
emit: (event: "update:modelValue" | "cancel" | "confirm" | "change" | "update:visible", ...args: any[]) => void;
|
|
42
|
-
t: import("@wlydfe/pro-ui
|
|
42
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
43
43
|
formInstance: import("vue").Ref<any, any>;
|
|
44
44
|
computedFormInstance: import("vue").ComputedRef<FormInstance>;
|
|
45
45
|
state: import("vue").Ref<FieldValues, FieldValues>;
|
|
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
153
153
|
}>, {
|
|
154
154
|
props: any;
|
|
155
155
|
emit: (event: "reset" | "submit" | "update:modelValue" | "change" | "submitError", ...args: any[]) => void;
|
|
156
|
-
t: import("@wlydfe/pro-ui
|
|
156
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
157
157
|
formInstance: import("vue").Ref<FormInstance | undefined, FormInstance | undefined>;
|
|
158
158
|
values: import("vue").Ref<FieldValues, FieldValues>;
|
|
159
159
|
filterHide: (columns: PlusColumn[]) => PlusColumn[];
|
|
@@ -1393,7 +1393,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1393
1393
|
emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
1394
1394
|
values: import("vue").Ref<FieldValues, FieldValues>;
|
|
1395
1395
|
getHasLabel: (hasLabel?: boolean | import("vue").Ref<boolean, boolean> | import("vue").ComputedRef<boolean> | undefined) => any;
|
|
1396
|
-
handleChange: (value: import("@wlydfe/pro-ui
|
|
1396
|
+
handleChange: (value: import("@wlydfe/pro-ui/es/types").FieldValueType, column: PlusColumn) => void;
|
|
1397
1397
|
readonly ElRow: {
|
|
1398
1398
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1399
1399
|
readonly tag: {
|
|
@@ -1903,8 +1903,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1903
1903
|
ElText: import("vue").Component;
|
|
1904
1904
|
props: any;
|
|
1905
1905
|
emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
1906
|
-
t: import("@wlydfe/pro-ui
|
|
1907
|
-
customOptions: import("vue").Ref<import("@wlydfe/pro-ui
|
|
1906
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
1907
|
+
customOptions: import("vue").Ref<import("@wlydfe/pro-ui/es/types").OptionsRow[], import("@wlydfe/pro-ui/es/types").OptionsRow[]>;
|
|
1908
1908
|
customOptionsIsReady: import("vue").Ref<boolean, boolean>;
|
|
1909
1909
|
formItemInstance: import("vue").Ref<({
|
|
1910
1910
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -2368,7 +2368,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2368
2368
|
fieldInstance: import("vue").Ref<any, any>;
|
|
2369
2369
|
customFormItemProps: import("vue").Ref<any, any>;
|
|
2370
2370
|
customFieldProps: import("vue").Ref<any, any>;
|
|
2371
|
-
state: import("vue").Ref<import("@wlydfe/pro-ui
|
|
2371
|
+
state: import("vue").Ref<import("@wlydfe/pro-ui/es/types").FieldValueType, import("@wlydfe/pro-ui/es/types").FieldValueType>;
|
|
2372
2372
|
customFieldPropsIsReady: import("vue").Ref<boolean, boolean>;
|
|
2373
2373
|
valueIsReady: import("vue").Ref<boolean, boolean>;
|
|
2374
2374
|
isArrayValue: import("vue").ComputedRef<boolean>;
|
|
@@ -2378,7 +2378,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2378
2378
|
handleChange: (val: any) => void;
|
|
2379
2379
|
handleSelect: ({ value }: any) => void;
|
|
2380
2380
|
readonly isFunction: (val: any) => boolean;
|
|
2381
|
-
readonly getTooltip: (tooltip: string | import("element-plus").ElTooltipProps | undefined) => import("@wlydfe/pro-ui
|
|
2381
|
+
readonly getTooltip: (tooltip: string | import("element-plus").ElTooltipProps | undefined) => import("@wlydfe/pro-ui/es/types").RecordType | undefined;
|
|
2382
2382
|
readonly getLabelSlotName: (prop?: string | number | undefined) => string;
|
|
2383
2383
|
readonly getFieldSlotName: (prop?: string | number | undefined) => string;
|
|
2384
2384
|
readonly versionIsLessThan260: boolean;
|
|
@@ -3148,7 +3148,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3148
3148
|
attrs: {
|
|
3149
3149
|
[x: string]: unknown;
|
|
3150
3150
|
};
|
|
3151
|
-
radioClick: (e: MouseEvent, val: string | number | boolean, fieldItemProps: import("@wlydfe/pro-ui
|
|
3151
|
+
radioClick: (e: MouseEvent, val: string | number | boolean, fieldItemProps: import("@wlydfe/pro-ui/es/types").RecordType | undefined) => void;
|
|
3152
3152
|
change: (val: string | number | boolean) => void;
|
|
3153
3153
|
readonly ElRadio: ({
|
|
3154
3154
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -4025,7 +4025,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4025
4025
|
}>, {
|
|
4026
4026
|
props: any;
|
|
4027
4027
|
emit: (event: "update:modelValue" | "change" | "focus", ...args: any[]) => void;
|
|
4028
|
-
t: import("@wlydfe/pro-ui
|
|
4028
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
4029
4029
|
startPickerInstance: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4030
4030
|
readonly type: {
|
|
4031
4031
|
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
@@ -6761,7 +6761,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6761
6761
|
inputValue: string;
|
|
6762
6762
|
isFocus: boolean;
|
|
6763
6763
|
};
|
|
6764
|
-
t: import("@wlydfe/pro-ui
|
|
6764
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
6765
6765
|
onClickOutside: () => void;
|
|
6766
6766
|
handleClick: () => void;
|
|
6767
6767
|
handleClose: (tag: string) => void;
|
|
@@ -7973,7 +7973,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7973
7973
|
justifyContent: string;
|
|
7974
7974
|
}>;
|
|
7975
7975
|
subVisible: import("vue").Ref<boolean, boolean>;
|
|
7976
|
-
t: import("@wlydfe/pro-ui
|
|
7976
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
7977
7977
|
handleConfirm: () => void;
|
|
7978
7978
|
handleCancel: () => void;
|
|
7979
7979
|
readonly ElDialog: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '@wlydfe/pro-ui/es/
|
|
2
|
-
import '@wlydfe/pro-ui/es/
|
|
1
|
+
import '@wlydfe/pro-ui/es/components/dialog/style/css';
|
|
2
|
+
import '@wlydfe/pro-ui/es/components/form/style/css';
|
|
3
3
|
import '@wlydfe/pro-ui/es/theme-chalk/plus-dialog-form.css';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '@wlydfe/pro-ui/es/
|
|
2
|
-
import '@wlydfe/pro-ui/es/
|
|
1
|
+
import '@wlydfe/pro-ui/es/components/dialog/style/index';
|
|
2
|
+
import '@wlydfe/pro-ui/es/components/form/style/index';
|
|
3
3
|
import '@wlydfe/pro-ui/es/theme-chalk/src/dialog-form.scss';
|
|
@@ -31,6 +31,7 @@ export declare const PlusDisplayItem: import("vue").DefineComponent<import("vue"
|
|
|
31
31
|
columns: import("vue").Ref<import("../..").PlusColumn[], import("../..").PlusColumn[]>;
|
|
32
32
|
subRow: import("vue").Ref<any, any>;
|
|
33
33
|
customFieldPropsIsReady: import("vue").Ref<boolean, boolean>;
|
|
34
|
+
rawValue: import("vue").ComputedRef<any>;
|
|
34
35
|
displayValue: import("vue").WritableComputedRef<any, any>;
|
|
35
36
|
modelValues: import("vue").WritableComputedRef<{
|
|
36
37
|
[x: number]: any;
|
|
@@ -7916,7 +7917,6 @@ export declare const PlusDisplayItem: import("vue").DefineComponent<import("vue"
|
|
|
7916
7917
|
resetText: string;
|
|
7917
7918
|
submitLoading: boolean;
|
|
7918
7919
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7919
|
-
readonly formatDate: typeof import("../utils").formatDate;
|
|
7920
7920
|
readonly formatMoney: typeof import("../utils").formatMoney;
|
|
7921
7921
|
readonly isFunction: (val: any) => boolean;
|
|
7922
7922
|
readonly getTableCellSlotName: (prop?: string | number | undefined) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { formatMoney } from '@wlydfe/pro-ui/es/components/utils';
|
|
2
2
|
import type { Ref } from 'vue';
|
|
3
|
-
import type { PlusColumn, RecordType, FieldValueType, FieldValues } from '@wlydfe/pro-ui
|
|
3
|
+
import type { PlusColumn, RecordType, FieldValueType, FieldValues } from '@wlydfe/pro-ui/es/types';
|
|
4
4
|
export interface PlusDisplayItemProps {
|
|
5
5
|
column: PlusColumn;
|
|
6
6
|
row: RecordType;
|
|
@@ -39,10 +39,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
isForm: import("vue").ComputedRef<boolean>;
|
|
40
40
|
customFieldProps: Ref<RecordType, RecordType>;
|
|
41
41
|
formInstance: Ref<any, any>;
|
|
42
|
-
options: Ref<import("@wlydfe/pro-ui
|
|
42
|
+
options: Ref<import("@wlydfe/pro-ui/es/types").OptionsRow[], import("@wlydfe/pro-ui/es/types").OptionsRow[]>;
|
|
43
43
|
columns: Ref<PlusColumn[], PlusColumn[]>;
|
|
44
44
|
subRow: Ref<any, any>;
|
|
45
45
|
customFieldPropsIsReady: Ref<boolean, boolean>;
|
|
46
|
+
rawValue: import("vue").ComputedRef<any>;
|
|
46
47
|
displayValue: import("vue").WritableComputedRef<any, any>;
|
|
47
48
|
modelValues: import("vue").WritableComputedRef<{
|
|
48
49
|
[x: number]: any;
|
|
@@ -58,7 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
59
|
options: any[];
|
|
59
60
|
url: any;
|
|
60
61
|
}>;
|
|
61
|
-
getStatus: import("vue").ComputedRef<import("@wlydfe/pro-ui
|
|
62
|
+
getStatus: import("vue").ComputedRef<import("@wlydfe/pro-ui/es/types").OptionsRow>;
|
|
62
63
|
copy: (data: string) => void;
|
|
63
64
|
handelClickCopy: (item: PlusColumn, row: RecordType) => void;
|
|
64
65
|
handleChange: (values: FieldValues) => void;
|
|
@@ -129,6 +130,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
130
|
};
|
|
130
131
|
hasLabel: {
|
|
131
132
|
type: BooleanConstructor;
|
|
133
|
+
/**
|
|
134
|
+
* 表单绑定值处理
|
|
135
|
+
*/
|
|
132
136
|
required: false;
|
|
133
137
|
default: boolean;
|
|
134
138
|
};
|
|
@@ -165,7 +169,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
165
169
|
}>, {
|
|
166
170
|
props: any;
|
|
167
171
|
emit: (event: "reset" | "submit" | "update:modelValue" | "change" | "submitError", ...args: any[]) => void;
|
|
168
|
-
t: import("@wlydfe/pro-ui
|
|
172
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
169
173
|
formInstance: Ref<import("element-plus").FormInstance | undefined, import("element-plus").FormInstance | undefined>;
|
|
170
174
|
values: Ref<FieldValues, FieldValues>;
|
|
171
175
|
filterHide: (columns: PlusColumn[]) => PlusColumn[];
|
|
@@ -1915,8 +1919,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1915
1919
|
ElText: import("vue").Component;
|
|
1916
1920
|
props: any;
|
|
1917
1921
|
emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
1918
|
-
t: import("@wlydfe/pro-ui
|
|
1919
|
-
customOptions: Ref<import("@wlydfe/pro-ui
|
|
1922
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
1923
|
+
customOptions: Ref<import("@wlydfe/pro-ui/es/types").OptionsRow[], import("@wlydfe/pro-ui/es/types").OptionsRow[]>;
|
|
1920
1924
|
customOptionsIsReady: Ref<boolean, boolean>;
|
|
1921
1925
|
formItemInstance: Ref<({
|
|
1922
1926
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -4035,7 +4039,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4035
4039
|
}>, {
|
|
4036
4040
|
props: any;
|
|
4037
4041
|
emit: (event: "update:modelValue" | "change" | "focus", ...args: any[]) => void;
|
|
4038
|
-
t: import("@wlydfe/pro-ui
|
|
4042
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
4039
4043
|
startPickerInstance: Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4040
4044
|
readonly type: {
|
|
4041
4045
|
readonly type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange" | "years" | "dates" | "datetime" | "date" | "year" | "month" | "months" | "week" | "yearrange">;
|
|
@@ -6769,7 +6773,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6769
6773
|
inputValue: string;
|
|
6770
6774
|
isFocus: boolean;
|
|
6771
6775
|
};
|
|
6772
|
-
t: import("@wlydfe/pro-ui
|
|
6776
|
+
t: import("@wlydfe/pro-ui/es/hooks").Translator;
|
|
6773
6777
|
onClickOutside: () => void;
|
|
6774
6778
|
handleClick: () => void;
|
|
6775
6779
|
handleClose: (tag: string) => void;
|
|
@@ -7869,6 +7873,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7869
7873
|
};
|
|
7870
7874
|
hasLabel: {
|
|
7871
7875
|
type: BooleanConstructor;
|
|
7876
|
+
/**
|
|
7877
|
+
* 表单绑定值处理
|
|
7878
|
+
*/
|
|
7872
7879
|
required: false;
|
|
7873
7880
|
default: boolean;
|
|
7874
7881
|
};
|
|
@@ -7928,7 +7935,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7928
7935
|
resetText: string;
|
|
7929
7936
|
submitLoading: boolean;
|
|
7930
7937
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7931
|
-
readonly formatDate: typeof formatDate;
|
|
7932
7938
|
readonly formatMoney: typeof formatMoney;
|
|
7933
7939
|
readonly isFunction: (val: any) => boolean;
|
|
7934
7940
|
readonly getTableCellSlotName: (prop?: string | number | undefined) => string;
|