3h1-ui 3.0.0-next.61 → 3.0.0-next.62
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/index.js +115 -165
- package/es/style.css +249 -241
- package/lib/index.js +114 -164
- package/lib/style.css +9119 -0
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, nextTick, createVNode, defineComponent, ref, computed, unref, watchEffect, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createSlots, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, onMounted, normalizeClass, createCommentVNode, normalizeStyle as normalizeStyle$1, Transition, toHandlers, useSlots,
|
|
1
|
+
import { h, nextTick, createVNode, defineComponent, ref, computed, unref, watchEffect, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createSlots, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, onMounted, normalizeClass, createCommentVNode, normalizeStyle as normalizeStyle$1, Transition, toHandlers, useSlots, withDirectives, vShow, getCurrentInstance, inject, onUnmounted, provide, onBeforeUnmount, resolveDynamicComponent, reactive, toRef, toRefs, TransitionGroup, getCurrentScope, onScopeDispose, defineAsyncComponent, isRef, toRaw, shallowRef, isVNode, readonly, useAttrs as useAttrs$2, shallowReactive, withKeys, render as render$1, resolveDirective, pushScopeId, popScopeId, useCssVars, triggerRef, Comment, Text, withModifiers } from "vue";
|
|
2
2
|
import { Radio, Select, Tree, TreeSelect, Cascader, Transfer, Input, Tooltip, Skeleton, Popover, Pagination as Pagination$1, Empty as Empty$3, Button as Button$1, Table as Table$2, FormItem, DatePicker as DatePicker$1, InputNumber, Modal as Modal$3, ConfigProvider, Popconfirm, Menu, Dropdown, Divider as Divider$1, Image, Progress, Tag, Alert, Upload, Space, AutoComplete, Switch, Checkbox, Slider, Rate, TimePicker as TimePicker$1, Col, Form, Row, Spin, PageHeader, CheckboxGroup, TableSummaryRow, TableSummaryCell, TableSummary, Badge, FormItemRest, Drawer, Avatar, Descriptions, DescriptionsItem, theme, Breadcrumb, Timeline, TimelineItem } from "ant-design-vue";
|
|
3
3
|
import { isFunction as isFunction$4, isString as isString$4, isArray as isArray$4, getSlot as getSlot$1, addClass as addClass$1, removeClass as removeClass$1, getPopupContainer as getPopupContainer$1, triggerWindowResize, off, on, addResizeListener, removeResizeListener, buildUUID, extendSlots as extendSlots$1, withInstall as withInstall$8, isBoolean as isBoolean$1, isNumber as isNumber$2, isDef as isDef$1, warn as warn$1, downloadByUrl, isObject as isObject$4, isNull, dateUtil, isNullOrUnDef, error as error$1, deepMerge as deepMerge$1, getDynamicProps, buildProps, createBEM, forEach as forEach$1, isClient as isClient$1, filter, treeToList, eachTree, isEmpty, isServer, formatToDate, isMap as isMap$2, findNodeAll, getViewportOffset, isNullAndUnDef, dataURLtoBlob, deepMergeObjects } from "@shy-plugins/utils";
|
|
4
4
|
import { useAttrs as useAttrs$1, useRuleFormItem, useDesign as useDesign$1, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useCopyToClipboard, useMessage, usePagination as usePagination$3, useI18n as useI18n$1, useSortable, createContext as createContext$1, useContext as useContext$2, useBreakpoint, useContentHeight, useWindowSizeFn as useWindowSizeFn$1, onMountedOrActivated, useEventListener as useEventListener$1 } from "@shy-plugins/use";
|
|
@@ -5396,7 +5396,7 @@ const _sfc_main$1F = defineComponent({
|
|
|
5396
5396
|
};
|
|
5397
5397
|
}
|
|
5398
5398
|
});
|
|
5399
|
-
const
|
|
5399
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
|
|
5400
5400
|
const _hoisted_1$G = ["data-score"];
|
|
5401
5401
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5402
5402
|
const _component_InputPassword = resolveComponent("InputPassword");
|
|
@@ -5428,7 +5428,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5428
5428
|
], 2)
|
|
5429
5429
|
], 2);
|
|
5430
5430
|
}
|
|
5431
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-
|
|
5431
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$X], ["__scopeId", "data-v-678d40fd"]]);
|
|
5432
5432
|
const _sfc_main$1E = defineComponent({
|
|
5433
5433
|
name: "SvgIcon",
|
|
5434
5434
|
props: {
|
|
@@ -5464,7 +5464,7 @@ const _sfc_main$1E = defineComponent({
|
|
|
5464
5464
|
return { symbolId, prefixCls: prefixCls2, getStyle };
|
|
5465
5465
|
}
|
|
5466
5466
|
});
|
|
5467
|
-
const
|
|
5467
|
+
const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
|
|
5468
5468
|
const _hoisted_1$F = ["xlink:href"];
|
|
5469
5469
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5470
5470
|
return openBlock(), createElementBlock("svg", {
|
|
@@ -5475,7 +5475,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5475
5475
|
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$F)
|
|
5476
5476
|
], 6);
|
|
5477
5477
|
}
|
|
5478
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-
|
|
5478
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$W], ["__scopeId", "data-v-905fa4a6"]]);
|
|
5479
5479
|
const SVG_END_WITH_FLAG = "|svg";
|
|
5480
5480
|
const _sfc_main$1D = defineComponent({
|
|
5481
5481
|
name: "Icon",
|
|
@@ -5786,8 +5786,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
5786
5786
|
};
|
|
5787
5787
|
}
|
|
5788
5788
|
});
|
|
5789
|
-
const
|
|
5790
|
-
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-
|
|
5789
|
+
const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
|
|
5790
|
+
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-fea26917"]]);
|
|
5791
5791
|
const props$c = {
|
|
5792
5792
|
/**
|
|
5793
5793
|
* Help text max-width
|
|
@@ -5940,24 +5940,14 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
5940
5940
|
return openBlock(), createElementBlock("span", {
|
|
5941
5941
|
class: normalizeClass(getClass.value)
|
|
5942
5942
|
}, [
|
|
5943
|
-
createElementVNode("div",
|
|
5944
|
-
class: normalizeClass(`${unref(prefixCls2)}-label`)
|
|
5945
|
-
}, [
|
|
5943
|
+
createElementVNode("div", null, [
|
|
5946
5944
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
5947
5945
|
__props.helpMessage ? (openBlock(), createBlock(_sfc_main$1A, {
|
|
5948
5946
|
key: 0,
|
|
5949
5947
|
class: normalizeClass(`${unref(prefixCls2)}-help`),
|
|
5950
5948
|
text: __props.helpMessage
|
|
5951
|
-
}, null, 8, ["class", "text"])) : createCommentVNode("", true)
|
|
5952
|
-
|
|
5953
|
-
var _a2, _b, _c;
|
|
5954
|
-
return [
|
|
5955
|
-
((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (openBlock(), createBlock(resolveDynamicComponent(
|
|
5956
|
-
unref(isFunction$4)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : h("span", _ctx.$attrs.extra)
|
|
5957
|
-
), { key: 0 })) : createCommentVNode("", true)
|
|
5958
|
-
];
|
|
5959
|
-
}, true)
|
|
5960
|
-
], 2),
|
|
5949
|
+
}, null, 8, ["class", "text"])) : createCommentVNode("", true)
|
|
5950
|
+
]),
|
|
5961
5951
|
__props.expand ? (openBlock(), createElementBlock("div", {
|
|
5962
5952
|
key: 0,
|
|
5963
5953
|
class: normalizeClass(`${unref(prefixCls2)}-expand`),
|
|
@@ -5974,8 +5964,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
5974
5964
|
};
|
|
5975
5965
|
}
|
|
5976
5966
|
});
|
|
5977
|
-
const
|
|
5978
|
-
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-
|
|
5967
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_df3764dc_lang = "";
|
|
5968
|
+
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-df3764dc"]]);
|
|
5979
5969
|
const props$b = {
|
|
5980
5970
|
prefixCls: { type: String },
|
|
5981
5971
|
helpMessage: {
|
|
@@ -8918,8 +8908,8 @@ function useTransition(source, options = {}) {
|
|
|
8918
8908
|
}
|
|
8919
8909
|
const _hoisted_1$B = { class: "flex justify-between" };
|
|
8920
8910
|
const _hoisted_2$f = { key: 0 };
|
|
8921
|
-
const _hoisted_3$
|
|
8922
|
-
const _hoisted_4$
|
|
8911
|
+
const _hoisted_3$9 = { class: "flex flex-wrap px-2" };
|
|
8912
|
+
const _hoisted_4$7 = ["onClick", "title"];
|
|
8923
8913
|
const _hoisted_5$6 = {
|
|
8924
8914
|
key: 0,
|
|
8925
8915
|
class: "flex py-2 items-center justify-center"
|
|
@@ -9037,7 +9027,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
9037
9027
|
unref(getPaginationList).length ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
9038
9028
|
createVNode(unref(ScrollContainer$1), { class: "border border-solid border-t-0" }, {
|
|
9039
9029
|
default: withCtx(() => [
|
|
9040
|
-
createElementVNode("ul", _hoisted_3$
|
|
9030
|
+
createElementVNode("ul", _hoisted_3$9, [
|
|
9041
9031
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getPaginationList), (icon) => {
|
|
9042
9032
|
return openBlock(), createElementBlock("li", {
|
|
9043
9033
|
key: icon,
|
|
@@ -9052,7 +9042,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
9052
9042
|
key: 1,
|
|
9053
9043
|
icon
|
|
9054
9044
|
}, null, 8, ["icon"]))
|
|
9055
|
-
], 10, _hoisted_4$
|
|
9045
|
+
], 10, _hoisted_4$7);
|
|
9056
9046
|
}), 128))
|
|
9057
9047
|
])
|
|
9058
9048
|
]),
|
|
@@ -9262,8 +9252,8 @@ const _hoisted_2$e = {
|
|
|
9262
9252
|
key: 0,
|
|
9263
9253
|
class: "table-children-required"
|
|
9264
9254
|
};
|
|
9265
|
-
const _hoisted_3$
|
|
9266
|
-
const _hoisted_4$
|
|
9255
|
+
const _hoisted_3$8 = { class: "text-red-500" };
|
|
9256
|
+
const _hoisted_4$6 = {
|
|
9267
9257
|
key: 0,
|
|
9268
9258
|
class: "table-children-delete-index"
|
|
9269
9259
|
};
|
|
@@ -9493,7 +9483,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
9493
9483
|
content: withCtx(() => {
|
|
9494
9484
|
var _a3;
|
|
9495
9485
|
return [
|
|
9496
|
-
createElementVNode("span", _hoisted_3$
|
|
9486
|
+
createElementVNode("span", _hoisted_3$8, toDisplayString((_a3 = rulesRef[`${column2.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a3.msg), 1)
|
|
9497
9487
|
];
|
|
9498
9488
|
}),
|
|
9499
9489
|
default: withCtx(() => [
|
|
@@ -9545,7 +9535,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
9545
9535
|
class: "table-children-delete-wrapper",
|
|
9546
9536
|
key: record[__props.rowKey]
|
|
9547
9537
|
}, [
|
|
9548
|
-
__props.isShowAction ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
9538
|
+
__props.isShowAction ? (openBlock(), createElementBlock("span", _hoisted_4$6, toDisplayString(index2 + 1), 1)) : createCommentVNode("", true),
|
|
9549
9539
|
__props.isShowAction ? (openBlock(), createElementBlock("div", {
|
|
9550
9540
|
key: 1,
|
|
9551
9541
|
class: "table-children-delete-item",
|
|
@@ -9560,8 +9550,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
9560
9550
|
};
|
|
9561
9551
|
}
|
|
9562
9552
|
});
|
|
9563
|
-
const
|
|
9564
|
-
const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-
|
|
9553
|
+
const Table_vue_vue_type_style_index_0_scoped_95018c58_lang = "";
|
|
9554
|
+
const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-95018c58"]]);
|
|
9565
9555
|
const modal = "";
|
|
9566
9556
|
const modalProps = {
|
|
9567
9557
|
visible: { type: Boolean },
|
|
@@ -10608,8 +10598,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
10608
10598
|
};
|
|
10609
10599
|
}
|
|
10610
10600
|
});
|
|
10611
|
-
const
|
|
10612
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-
|
|
10601
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
|
|
10602
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-fdc837af"]]);
|
|
10613
10603
|
const _sfc_main$1i = defineComponent({
|
|
10614
10604
|
name: "BasicModalHeader",
|
|
10615
10605
|
components: { BasicTitle },
|
|
@@ -12292,7 +12282,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
12292
12282
|
});
|
|
12293
12283
|
const _hoisted_1$v = { key: 0 };
|
|
12294
12284
|
const _hoisted_2$c = { style: { "margin-top": "8px" } };
|
|
12295
|
-
const _hoisted_3$
|
|
12285
|
+
const _hoisted_3$7 = ["src"];
|
|
12296
12286
|
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
12297
12287
|
__name: "ImageUpload",
|
|
12298
12288
|
props: {
|
|
@@ -12461,7 +12451,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
12461
12451
|
alt: "",
|
|
12462
12452
|
style: { "width": "100%" },
|
|
12463
12453
|
src: previewImage.value
|
|
12464
|
-
}, null, 8, _hoisted_3$
|
|
12454
|
+
}, null, 8, _hoisted_3$7)
|
|
12465
12455
|
]),
|
|
12466
12456
|
_: 1
|
|
12467
12457
|
}, 8, ["open", "title"])
|
|
@@ -14588,8 +14578,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14588
14578
|
};
|
|
14589
14579
|
}
|
|
14590
14580
|
});
|
|
14591
|
-
const
|
|
14592
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
14581
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_d8be8a1f_lang = "";
|
|
14582
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-d8be8a1f"]]);
|
|
14593
14583
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14594
14584
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
14595
14585
|
const isString$1 = (val) => typeof val === "string";
|
|
@@ -15483,7 +15473,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
15483
15473
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
15484
15474
|
}
|
|
15485
15475
|
});
|
|
15486
|
-
const
|
|
15476
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
|
|
15487
15477
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15488
15478
|
return openBlock(), createElementBlock("div", {
|
|
15489
15479
|
class: normalizeClass(_ctx.prefixCls),
|
|
@@ -15502,7 +15492,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15502
15492
|
], 2)
|
|
15503
15493
|
], 6);
|
|
15504
15494
|
}
|
|
15505
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-
|
|
15495
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F], ["__scopeId", "data-v-44a47dbd"]]);
|
|
15506
15496
|
const _sfc_main$10 = defineComponent({
|
|
15507
15497
|
name: "PageWrapper",
|
|
15508
15498
|
components: { PageFooter, PageHeader },
|
|
@@ -18118,8 +18108,8 @@ const _sfc_main$U = defineComponent({
|
|
|
18118
18108
|
return { isVisibleAdvancedSearch, handleIconClick };
|
|
18119
18109
|
}
|
|
18120
18110
|
});
|
|
18121
|
-
const
|
|
18122
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
18111
|
+
const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
|
|
18112
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-f74ee46a"), n = n(), popScopeId(), n);
|
|
18123
18113
|
const _hoisted_1$r = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
|
|
18124
18114
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18125
18115
|
const _component_FilterOutlined = resolveComponent("FilterOutlined");
|
|
@@ -18137,7 +18127,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18137
18127
|
_: 1
|
|
18138
18128
|
});
|
|
18139
18129
|
}
|
|
18140
|
-
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-
|
|
18130
|
+
const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$z], ["__scopeId", "data-v-f74ee46a"]]);
|
|
18141
18131
|
const index$4 = "";
|
|
18142
18132
|
const searchType = [
|
|
18143
18133
|
{
|
|
@@ -18227,11 +18217,11 @@ const getGlobalAdvancedType = (fieldList, value) => {
|
|
|
18227
18217
|
};
|
|
18228
18218
|
const _hoisted_1$q = { class: "shy-ui-advanced-search-add" };
|
|
18229
18219
|
const _hoisted_2$a = { class: "shy-ui-advanced-search-item-wrapper" };
|
|
18230
|
-
const _hoisted_3$
|
|
18220
|
+
const _hoisted_3$6 = {
|
|
18231
18221
|
key: 0,
|
|
18232
18222
|
class: "shy-ui-advanced-search-item-value-range"
|
|
18233
18223
|
};
|
|
18234
|
-
const _hoisted_4$
|
|
18224
|
+
const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18235
18225
|
const _hoisted_5$4 = {
|
|
18236
18226
|
key: 0,
|
|
18237
18227
|
class: "shy-ui-advanced-search-item-value-range"
|
|
@@ -18453,7 +18443,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
18453
18443
|
}, {
|
|
18454
18444
|
default: withCtx(() => [
|
|
18455
18445
|
getTypeByField(schema == null ? void 0 : schema.field) === "number" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18456
|
-
schema.op === "bt" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
18446
|
+
schema.op === "bt" ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
18457
18447
|
createVNode(unref(FormItem), null, {
|
|
18458
18448
|
default: withCtx(() => [
|
|
18459
18449
|
createVNode(unref(InputNumber), {
|
|
@@ -18464,7 +18454,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
18464
18454
|
]),
|
|
18465
18455
|
_: 2
|
|
18466
18456
|
}, 1024),
|
|
18467
|
-
_hoisted_4$
|
|
18457
|
+
_hoisted_4$5,
|
|
18468
18458
|
createVNode(unref(FormItem), null, {
|
|
18469
18459
|
default: withCtx(() => [
|
|
18470
18460
|
createVNode(unref(InputNumber), {
|
|
@@ -18757,14 +18747,14 @@ const _hoisted_2$9 = {
|
|
|
18757
18747
|
key: 0,
|
|
18758
18748
|
style: { "margin": "5px" }
|
|
18759
18749
|
};
|
|
18760
|
-
const _hoisted_3$
|
|
18750
|
+
const _hoisted_3$5 = { class: "flex items-center" };
|
|
18761
18751
|
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18762
18752
|
const _component_TableSetting = resolveComponent("TableSetting");
|
|
18763
18753
|
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
18764
18754
|
_ctx.$slots.headerTop ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
18765
18755
|
renderSlot(_ctx.$slots, "headerTop")
|
|
18766
18756
|
])) : createCommentVNode("", true),
|
|
18767
|
-
createElementVNode("div", _hoisted_3$
|
|
18757
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
18768
18758
|
_ctx.$slots.tableTitle ? renderSlot(_ctx.$slots, "tableTitle", { key: 0 }) : createCommentVNode("", true),
|
|
18769
18759
|
createElementVNode("div", {
|
|
18770
18760
|
class: normalizeClass(`${_ctx.prefixCls}__toolbar`)
|
|
@@ -19510,12 +19500,12 @@ const _sfc_main$N = defineComponent({
|
|
|
19510
19500
|
};
|
|
19511
19501
|
}
|
|
19512
19502
|
});
|
|
19513
|
-
const
|
|
19514
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
19503
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_90331d26_lang = "";
|
|
19504
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-90331d26"), n = n(), popScopeId(), n);
|
|
19515
19505
|
const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
19516
19506
|
const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
19517
|
-
const _hoisted_3$
|
|
19518
|
-
const _hoisted_4$
|
|
19507
|
+
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
19508
|
+
const _hoisted_4$4 = { class: "shy-basic-table-global-search-checkbox-wrapper" };
|
|
19519
19509
|
const _hoisted_5$3 = { style: { "color": "#131415", "font-size": "12px" } };
|
|
19520
19510
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19521
19511
|
const _component_CheckOutlined = resolveComponent("CheckOutlined");
|
|
@@ -19540,8 +19530,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19540
19530
|
_hoisted_2$8,
|
|
19541
19531
|
_ctx.curSelected === 2 ? (openBlock(), createBlock(_component_CheckOutlined, { key: 0 })) : createCommentVNode("", true)
|
|
19542
19532
|
], 2),
|
|
19543
|
-
_hoisted_3$
|
|
19544
|
-
createElementVNode("div", _hoisted_4$
|
|
19533
|
+
_hoisted_3$4,
|
|
19534
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
19545
19535
|
createVNode(_component_CheckboxGroup, {
|
|
19546
19536
|
value: _ctx.fieldList,
|
|
19547
19537
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => _ctx.fieldList = $event),
|
|
@@ -19569,7 +19559,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19569
19559
|
])
|
|
19570
19560
|
], 4);
|
|
19571
19561
|
}
|
|
19572
|
-
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
19562
|
+
const TableGlobalSearch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$u], ["__scopeId", "data-v-90331d26"]]);
|
|
19573
19563
|
const _sfc_main$M = defineComponent({
|
|
19574
19564
|
components: {
|
|
19575
19565
|
TableAdvancedSearch: TableAdvancedSearch$1,
|
|
@@ -20123,7 +20113,7 @@ const _sfc_main$K = defineComponent({
|
|
|
20123
20113
|
setup() {
|
|
20124
20114
|
}
|
|
20125
20115
|
});
|
|
20126
|
-
const
|
|
20116
|
+
const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
|
|
20127
20117
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20128
20118
|
var _a2;
|
|
20129
20119
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -20152,7 +20142,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20152
20142
|
]), 1032, ["color"])
|
|
20153
20143
|
]);
|
|
20154
20144
|
}
|
|
20155
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-
|
|
20145
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r], ["__scopeId", "data-v-7d89a0e9"]]);
|
|
20156
20146
|
const index$3 = "";
|
|
20157
20147
|
function useTable(tableProps) {
|
|
20158
20148
|
const tableRef = ref(null);
|
|
@@ -20424,8 +20414,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
20424
20414
|
};
|
|
20425
20415
|
}
|
|
20426
20416
|
});
|
|
20427
|
-
const
|
|
20428
|
-
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
20417
|
+
const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
|
|
20418
|
+
const Modal$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-4dc415ac"]]);
|
|
20429
20419
|
const _hoisted_1$i = { class: "api-modal-select" };
|
|
20430
20420
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
20431
20421
|
__name: "ApiModalSelect",
|
|
@@ -20573,8 +20563,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20573
20563
|
};
|
|
20574
20564
|
}
|
|
20575
20565
|
});
|
|
20576
|
-
const
|
|
20577
|
-
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
20566
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
|
|
20567
|
+
const ApiModalSelect$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-fb4fe18d"]]);
|
|
20578
20568
|
const Description$1 = "";
|
|
20579
20569
|
const basicColProps = 24;
|
|
20580
20570
|
const basicProps$3 = reactive({
|
|
@@ -20592,7 +20582,7 @@ const basicProps$3 = reactive({
|
|
|
20592
20582
|
},
|
|
20593
20583
|
labelAlign: {
|
|
20594
20584
|
type: String,
|
|
20595
|
-
default: () => "
|
|
20585
|
+
default: () => "left"
|
|
20596
20586
|
},
|
|
20597
20587
|
labelWidth: {
|
|
20598
20588
|
type: Number,
|
|
@@ -24621,7 +24611,7 @@ const _sfc_main$B = defineComponent({
|
|
|
24621
24611
|
};
|
|
24622
24612
|
}
|
|
24623
24613
|
});
|
|
24624
|
-
const
|
|
24614
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_31315934_lang = "";
|
|
24625
24615
|
const _hoisted_1$e = ["src"];
|
|
24626
24616
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24627
24617
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -24672,7 +24662,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24672
24662
|
}, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
|
|
24673
24663
|
], 6);
|
|
24674
24664
|
}
|
|
24675
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
24665
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$l], ["__scopeId", "data-v-31315934"]]);
|
|
24676
24666
|
const props = {
|
|
24677
24667
|
startVal: { type: Number, default: 0 },
|
|
24678
24668
|
endVal: { type: Number, default: 2021 },
|
|
@@ -24844,7 +24834,7 @@ const _sfc_main$y = defineComponent({
|
|
|
24844
24834
|
}
|
|
24845
24835
|
}
|
|
24846
24836
|
});
|
|
24847
|
-
const
|
|
24837
|
+
const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
|
|
24848
24838
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24849
24839
|
const _component_Spin = resolveComponent("Spin");
|
|
24850
24840
|
return withDirectives((openBlock(), createElementBlock("section", {
|
|
@@ -24860,7 +24850,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24860
24850
|
[vShow, _ctx.loading]
|
|
24861
24851
|
]);
|
|
24862
24852
|
}
|
|
24863
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
24853
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$j], ["__scopeId", "data-v-ee545744"]]);
|
|
24864
24854
|
function createLoading(props2, target, wait = false) {
|
|
24865
24855
|
let vm = null;
|
|
24866
24856
|
const data = reactive({
|
|
@@ -25203,8 +25193,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
25203
25193
|
});
|
|
25204
25194
|
const _hoisted_1$c = { key: 0 };
|
|
25205
25195
|
const _hoisted_2$5 = { key: 1 };
|
|
25206
|
-
const _hoisted_3$
|
|
25207
|
-
const _hoisted_4$
|
|
25196
|
+
const _hoisted_3$3 = { key: 2 };
|
|
25197
|
+
const _hoisted_4$3 = { style: { "display": "flex", "justify-content": "space-between" } };
|
|
25208
25198
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
25209
25199
|
__name: "TableColGroup",
|
|
25210
25200
|
props: {
|
|
@@ -25276,7 +25266,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
25276
25266
|
}), null, 16, ["value", "onUpdate:value"])
|
|
25277
25267
|
])) : (c == null ? void 0 : c.isEdit) && ((_e = c == null ? void 0 : c.editComponentProps) == null ? void 0 : _e.component) === "Switch" ? (openBlock(), createElementBlock("span", _hoisted_2$5, [
|
|
25278
25268
|
createElementVNode("span", null, toDisplayString(getSwitchShowText(c, config.row)), 1)
|
|
25279
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
25269
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(config.row[c.field]), 1))
|
|
25280
25270
|
], 64))
|
|
25281
25271
|
];
|
|
25282
25272
|
})
|
|
@@ -25285,7 +25275,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
25285
25275
|
renderSlot(_ctx.$slots, `${c.field}Header`, normalizeProps(guardReactiveProps({ c })), () => {
|
|
25286
25276
|
var _a2;
|
|
25287
25277
|
return [
|
|
25288
|
-
createElementVNode("div", _hoisted_4$
|
|
25278
|
+
createElementVNode("div", _hoisted_4$3, [
|
|
25289
25279
|
createElementVNode("div", null, toDisplayString(c.title), 1),
|
|
25290
25280
|
((_a2 = _ctx.column) == null ? void 0 : _a2.sortable) ? (openBlock(), createBlock(_sfc_main$w, {
|
|
25291
25281
|
key: 0,
|
|
@@ -25926,8 +25916,8 @@ const useSort = () => {
|
|
|
25926
25916
|
};
|
|
25927
25917
|
const _hoisted_1$8 = { key: 0 };
|
|
25928
25918
|
const _hoisted_2$4 = { key: 1 };
|
|
25929
|
-
const _hoisted_3$
|
|
25930
|
-
const _hoisted_4$
|
|
25919
|
+
const _hoisted_3$2 = { key: 2 };
|
|
25920
|
+
const _hoisted_4$2 = { style: { "display": "flex", "justify-content": "space-between" } };
|
|
25931
25921
|
const _hoisted_5$2 = { class: "flex items-center" };
|
|
25932
25922
|
const prefixCls = "shy-basic-table-plus";
|
|
25933
25923
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
@@ -26274,14 +26264,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26274
26264
|
}), null, 16, ["value", "onUpdate:value"])
|
|
26275
26265
|
])) : (column2 == null ? void 0 : column2.isEdit) && ((_d2 = column2 == null ? void 0 : column2.editComponentProps) == null ? void 0 : _d2.component) === "Switch" ? (openBlock(), createElementBlock("span", _hoisted_2$4, [
|
|
26276
26266
|
createElementVNode("span", null, toDisplayString(getSwitchShowText(column2, config.row)), 1)
|
|
26277
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
26267
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(config.row[column2.field]), 1))
|
|
26278
26268
|
], 64))
|
|
26279
26269
|
];
|
|
26280
26270
|
})
|
|
26281
26271
|
]),
|
|
26282
26272
|
header: withCtx(() => [
|
|
26283
26273
|
renderSlot(_ctx.$slots, `${column2.field}Header`, normalizeProps(guardReactiveProps({ column: column2 })), () => [
|
|
26284
|
-
createElementVNode("div", _hoisted_4$
|
|
26274
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
26285
26275
|
createElementVNode("div", null, toDisplayString(column2.title), 1),
|
|
26286
26276
|
(column2 == null ? void 0 : column2.sortable) ? (openBlock(), createBlock(_sfc_main$w, {
|
|
26287
26277
|
key: 0,
|
|
@@ -26653,7 +26643,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
26653
26643
|
},
|
|
26654
26644
|
setup(__props, { expose: __expose }) {
|
|
26655
26645
|
useCssVars((_ctx) => ({
|
|
26656
|
-
"
|
|
26646
|
+
"989efb00": props2.labelWidth
|
|
26657
26647
|
}));
|
|
26658
26648
|
const props2 = __props;
|
|
26659
26649
|
const form = ref({});
|
|
@@ -26824,8 +26814,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
26824
26814
|
};
|
|
26825
26815
|
}
|
|
26826
26816
|
});
|
|
26827
|
-
const
|
|
26828
|
-
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
26817
|
+
const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
|
|
26818
|
+
const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2d2eda80"]]);
|
|
26829
26819
|
const DescriptionsForm = withInstall$8(descriptionsForm);
|
|
26830
26820
|
const basicResizeWrapperProps = reactive({
|
|
26831
26821
|
designWidth: {
|
|
@@ -26870,8 +26860,8 @@ const __default__$1 = defineComponent({
|
|
|
26870
26860
|
});
|
|
26871
26861
|
const __injectCSSVars__ = () => {
|
|
26872
26862
|
useCssVars((_ctx) => ({
|
|
26873
|
-
"
|
|
26874
|
-
"
|
|
26863
|
+
"0aaa544f": _ctx.designWidth,
|
|
26864
|
+
"30d13bbe": _ctx.designHeight
|
|
26875
26865
|
}));
|
|
26876
26866
|
};
|
|
26877
26867
|
const __setup__ = __default__$1.setup;
|
|
@@ -27351,7 +27341,7 @@ const styles = `.vue-colorful {
|
|
|
27351
27341
|
border-color: transparent;
|
|
27352
27342
|
border-bottom: 12px solid #000;
|
|
27353
27343
|
border-radius: 8px 8px 0 0;
|
|
27354
|
-
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0))
|
|
27344
|
+
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
|
|
27355
27345
|
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
27356
27346
|
}
|
|
27357
27347
|
.vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
|
|
@@ -27372,15 +27362,15 @@ const styles = `.vue-colorful {
|
|
|
27372
27362
|
height: 24px;
|
|
27373
27363
|
}
|
|
27374
27364
|
.vue-colorful__hue {
|
|
27375
|
-
background: linear-gradient(
|
|
27376
|
-
to right
|
|
27377
|
-
#f00 0
|
|
27378
|
-
#ff0 17
|
|
27379
|
-
#0f0 33
|
|
27380
|
-
#0ff 50
|
|
27381
|
-
#00f 67
|
|
27382
|
-
#f0f 83
|
|
27383
|
-
#f00 100
|
|
27365
|
+
background: linear-gradient(
|
|
27366
|
+
to right,
|
|
27367
|
+
#f00 0%,
|
|
27368
|
+
#ff0 17%,
|
|
27369
|
+
#0f0 33%,
|
|
27370
|
+
#0ff 50%,
|
|
27371
|
+
#00f 67%,
|
|
27372
|
+
#f0f 83%,
|
|
27373
|
+
#f00 100%
|
|
27384
27374
|
);
|
|
27385
27375
|
}
|
|
27386
27376
|
.vue-colorful__last-control {
|
|
@@ -31877,7 +31867,7 @@ const componentSetting = {
|
|
|
31877
31867
|
// Number of pages that can be selected
|
|
31878
31868
|
pageSizeOptions: ["10", "20", "50", "100"],
|
|
31879
31869
|
// Default display quantity on one page
|
|
31880
|
-
defaultPageSize:
|
|
31870
|
+
defaultPageSize: 10,
|
|
31881
31871
|
// Default Size
|
|
31882
31872
|
defaultSize: "small",
|
|
31883
31873
|
// Custom general sort function
|
|
@@ -33131,8 +33121,6 @@ const _hoisted_1$6 = {
|
|
|
33131
33121
|
class: "table-children-required"
|
|
33132
33122
|
};
|
|
33133
33123
|
const _hoisted_2$3 = { class: "text-red-500" };
|
|
33134
|
-
const _hoisted_3$2 = { class: "table-children-add-btn" };
|
|
33135
|
-
const _hoisted_4$2 = { class: "w-full h-[fit-content] py-8px flex justify-end items-center" };
|
|
33136
33124
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
33137
33125
|
__name: "Table",
|
|
33138
33126
|
props: {
|
|
@@ -33148,14 +33136,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33148
33136
|
type: Array,
|
|
33149
33137
|
default: () => []
|
|
33150
33138
|
},
|
|
33151
|
-
isShowFooter: {
|
|
33152
|
-
type: Boolean,
|
|
33153
|
-
default: () => false
|
|
33154
|
-
},
|
|
33155
|
-
footerRender: {
|
|
33156
|
-
type: Function,
|
|
33157
|
-
default: () => ""
|
|
33158
|
-
},
|
|
33159
33139
|
isShowAction: {
|
|
33160
33140
|
type: Boolean,
|
|
33161
33141
|
default: () => true
|
|
@@ -33172,7 +33152,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33172
33152
|
const formActionType = inject("formActionType");
|
|
33173
33153
|
const emit = __emit;
|
|
33174
33154
|
const props2 = __props;
|
|
33175
|
-
const tableElRef = ref();
|
|
33176
33155
|
const emitData = ref([]);
|
|
33177
33156
|
const [state] = useRuleFormItem(props2, "value", "change", emitData);
|
|
33178
33157
|
const getColumns = computed(() => {
|
|
@@ -33200,25 +33179,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33200
33179
|
...(props2 == null ? void 0 : props2.isShowAction) ? [actionColumn] : []
|
|
33201
33180
|
];
|
|
33202
33181
|
});
|
|
33203
|
-
const getScrollX = computed(() => {
|
|
33204
|
-
var _a2;
|
|
33205
|
-
let width = 0;
|
|
33206
|
-
const NORMAL_WIDTH = 150;
|
|
33207
|
-
const columns = unref(props2.columns).filter((item) => !item.defaultHidden);
|
|
33208
|
-
columns.forEach((item) => {
|
|
33209
|
-
width += Number.parseFloat(item.width) || 0;
|
|
33210
|
-
});
|
|
33211
|
-
const unsetWidthColumns = columns.filter(
|
|
33212
|
-
(item) => !Reflect.has(item, "width")
|
|
33213
|
-
);
|
|
33214
|
-
const len = unsetWidthColumns.length;
|
|
33215
|
-
if (len !== 0) {
|
|
33216
|
-
width += len * NORMAL_WIDTH;
|
|
33217
|
-
}
|
|
33218
|
-
const table2 = unref(tableElRef);
|
|
33219
|
-
const tableWidth = ((_a2 = table2 == null ? void 0 : table2.$el) == null ? void 0 : _a2.offsetWidth) ?? 0;
|
|
33220
|
-
return tableWidth > width ? "100%" : width;
|
|
33221
|
-
});
|
|
33222
33182
|
const plusClickEvent = () => {
|
|
33223
33183
|
state.value = [{ [props2.rowKey]: buildUUID() }, ...toRaw(state.value)];
|
|
33224
33184
|
emit("add", state.value);
|
|
@@ -33235,7 +33195,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33235
33195
|
const rulesRef = reactive({});
|
|
33236
33196
|
const getRules = ({ column: column2, record, index: index2, ...args }) => {
|
|
33237
33197
|
var _a2, _b;
|
|
33238
|
-
const errKey = `${column2.dataIndex}-${record
|
|
33198
|
+
const errKey = `${column2.dataIndex}-${record.uuid}Info`;
|
|
33239
33199
|
if (!column2.required)
|
|
33240
33200
|
return [];
|
|
33241
33201
|
if ((_a2 = rulesRef[errKey]) == null ? void 0 : _a2.rules)
|
|
@@ -33305,12 +33265,15 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33305
33265
|
() => state.value,
|
|
33306
33266
|
(v, old) => {
|
|
33307
33267
|
if (!isEqual(toRaw(v), toRaw(old))) {
|
|
33308
|
-
|
|
33309
|
-
|
|
33310
|
-
|
|
33311
|
-
|
|
33312
|
-
|
|
33313
|
-
|
|
33268
|
+
emit(
|
|
33269
|
+
"update:value",
|
|
33270
|
+
toRaw(v).map((ele) => {
|
|
33271
|
+
return {
|
|
33272
|
+
...ele,
|
|
33273
|
+
[props2.rowKey]: ele[props2.rowKey] || buildUUID()
|
|
33274
|
+
};
|
|
33275
|
+
})
|
|
33276
|
+
);
|
|
33314
33277
|
}
|
|
33315
33278
|
},
|
|
33316
33279
|
{
|
|
@@ -33363,12 +33326,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33363
33326
|
return (_ctx, _cache) => {
|
|
33364
33327
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
33365
33328
|
createVNode(unref(Table$2), {
|
|
33366
|
-
ref_key: "tableElRef",
|
|
33367
|
-
ref: tableElRef,
|
|
33368
33329
|
columns: getColumns.value,
|
|
33369
|
-
scroll: {
|
|
33370
|
-
x: getScrollX.value
|
|
33371
|
-
},
|
|
33372
33330
|
"data-source": unref(state),
|
|
33373
33331
|
pagination: false,
|
|
33374
33332
|
bordered: "",
|
|
@@ -33395,12 +33353,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33395
33353
|
return [
|
|
33396
33354
|
createVNode(unref(Popover), {
|
|
33397
33355
|
overlayClassName: "table-children-err-popover",
|
|
33398
|
-
visible: !!((_a2 = rulesRef == null ? void 0 : rulesRef[`${column2.dataIndex}-${record
|
|
33356
|
+
visible: !!((_a2 = rulesRef == null ? void 0 : rulesRef[`${column2.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a2.show) && !isScroll.value
|
|
33399
33357
|
}, {
|
|
33400
33358
|
content: withCtx(() => {
|
|
33401
33359
|
var _a3;
|
|
33402
33360
|
return [
|
|
33403
|
-
createElementVNode("span", _hoisted_2$3, toDisplayString((_a3 = rulesRef[`${column2.dataIndex}-${record
|
|
33361
|
+
createElementVNode("span", _hoisted_2$3, toDisplayString((_a3 = rulesRef[`${column2.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a3.msg), 1)
|
|
33404
33362
|
];
|
|
33405
33363
|
}),
|
|
33406
33364
|
default: withCtx(() => [
|
|
@@ -33455,27 +33413,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33455
33413
|
}, null, 8, ["actions"])) : createCommentVNode("", true)
|
|
33456
33414
|
]),
|
|
33457
33415
|
_: 1
|
|
33458
|
-
}, 8, ["columns", "
|
|
33459
|
-
createElementVNode("div",
|
|
33460
|
-
|
|
33416
|
+
}, 8, ["columns", "data-source"]),
|
|
33417
|
+
createElementVNode("div", { class: "border-left-1px border-right-1px border-bottom-1px h-50px border-color-[#f0f0f0] rounded-b-4px flex items-center pl-8px pr-8px" }, [
|
|
33418
|
+
createElementVNode("div", {
|
|
33461
33419
|
onClick: plusClickEvent,
|
|
33462
|
-
|
|
33463
|
-
},
|
|
33464
|
-
default: withCtx(() => [
|
|
33465
|
-
createTextVNode(" 新增 ")
|
|
33466
|
-
]),
|
|
33467
|
-
_: 1
|
|
33468
|
-
})
|
|
33469
|
-
]),
|
|
33470
|
-
createElementVNode("div", _hoisted_4$2, [
|
|
33471
|
-
(openBlock(), createBlock(resolveDynamicComponent(h("span", null, __props.footerRender()))))
|
|
33420
|
+
class: "text-center w-full text-[#2DA44E] border-1px border-dashed border-color-[#2DA44E] h-32px leading-32px cursor-pointer"
|
|
33421
|
+
}, " 新增 ")
|
|
33472
33422
|
])
|
|
33473
33423
|
], 64);
|
|
33474
33424
|
};
|
|
33475
33425
|
}
|
|
33476
33426
|
});
|
|
33477
|
-
const
|
|
33478
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
33427
|
+
const Table_vue_vue_type_style_index_0_scoped_abb4b35a_lang = "";
|
|
33428
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-abb4b35a"]]);
|
|
33479
33429
|
const ShyComponentMap = /* @__PURE__ */ new Map();
|
|
33480
33430
|
ShyComponentMap.set("Input", Input);
|
|
33481
33431
|
ShyComponentMap.set("InputGroup", Input.Group);
|
|
@@ -35368,8 +35318,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
35368
35318
|
};
|
|
35369
35319
|
}
|
|
35370
35320
|
});
|
|
35371
|
-
const
|
|
35372
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
35321
|
+
const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
|
|
35322
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0ca4fd85"]]);
|
|
35373
35323
|
const _hoisted_1$4 = { class: "api-modal-select" };
|
|
35374
35324
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
35375
35325
|
__name: "ApiModalSelect",
|
|
@@ -35517,8 +35467,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
35517
35467
|
};
|
|
35518
35468
|
}
|
|
35519
35469
|
});
|
|
35520
|
-
const
|
|
35521
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
35470
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
|
|
35471
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-45845a8d"]]);
|
|
35522
35472
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
35523
35473
|
__name: "FormWrapper",
|
|
35524
35474
|
props: {
|
|
@@ -35528,23 +35478,23 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
35528
35478
|
}
|
|
35529
35479
|
},
|
|
35530
35480
|
setup(__props) {
|
|
35531
|
-
const { prefixCls: prefixCls2 } = useDesign$1("ant-form
|
|
35481
|
+
const { prefixCls: prefixCls2 } = useDesign$1("ant-form");
|
|
35532
35482
|
const props2 = __props;
|
|
35533
35483
|
const getClass = computed(() => {
|
|
35534
35484
|
switch (props2.span) {
|
|
35535
35485
|
case 1:
|
|
35536
|
-
return `${prefixCls2}-col-1`;
|
|
35486
|
+
return `${prefixCls2}-wrapper-col-1`;
|
|
35537
35487
|
case 2:
|
|
35538
|
-
return `${prefixCls2}-col-2`;
|
|
35488
|
+
return `${prefixCls2}-wrapper-col-2`;
|
|
35539
35489
|
case 3:
|
|
35540
|
-
return `${prefixCls2}-col-3`;
|
|
35490
|
+
return `${prefixCls2}-wrapper-col-3`;
|
|
35541
35491
|
default:
|
|
35542
35492
|
return "";
|
|
35543
35493
|
}
|
|
35544
35494
|
});
|
|
35545
35495
|
return (_ctx, _cache) => {
|
|
35546
35496
|
return openBlock(), createElementBlock("div", {
|
|
35547
|
-
class: normalizeClass(
|
|
35497
|
+
class: normalizeClass(getClass.value)
|
|
35548
35498
|
}, [
|
|
35549
35499
|
renderSlot(_ctx.$slots, "default")
|
|
35550
35500
|
], 2);
|
|
@@ -35639,7 +35589,7 @@ function usePagination(refProps) {
|
|
|
35639
35589
|
isShowPagination,
|
|
35640
35590
|
current: 1,
|
|
35641
35591
|
pageSize: PAGE_SIZE,
|
|
35642
|
-
|
|
35592
|
+
size: "",
|
|
35643
35593
|
defaultPageSize: PAGE_SIZE,
|
|
35644
35594
|
showTotal: (total) => createVNode("span", null, [createTextVNode("共 "), createVNode("span", null, [total]), createTextVNode(" 条")]),
|
|
35645
35595
|
showSizeChanger: true,
|
|
@@ -38417,8 +38367,8 @@ const _sfc_main$3 = defineComponent({
|
|
|
38417
38367
|
};
|
|
38418
38368
|
}
|
|
38419
38369
|
});
|
|
38420
|
-
const
|
|
38421
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
38370
|
+
const TableGlobalSearch_vue_vue_type_style_index_0_scoped_b3419d34_lang = "";
|
|
38371
|
+
const _withScopeId = (n) => (pushScopeId("data-v-b3419d34"), n = n(), popScopeId(), n);
|
|
38422
38372
|
const _hoisted_1$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
|
|
38423
38373
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
|
|
38424
38374
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
|
|
@@ -38476,7 +38426,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38476
38426
|
])
|
|
38477
38427
|
], 4);
|
|
38478
38428
|
}
|
|
38479
|
-
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
38429
|
+
const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__scopeId", "data-v-b3419d34"]]);
|
|
38480
38430
|
const _sfc_main$2 = defineComponent({
|
|
38481
38431
|
name: "EditTableHeaderIcon",
|
|
38482
38432
|
components: { FormOutlined: FormOutlined$1 },
|
|
@@ -39700,8 +39650,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39700
39650
|
};
|
|
39701
39651
|
}
|
|
39702
39652
|
});
|
|
39703
|
-
const
|
|
39704
|
-
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39653
|
+
const Process_vue_vue_type_style_index_0_scoped_0cf797c8_lang = "";
|
|
39654
|
+
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0cf797c8"]]);
|
|
39705
39655
|
export {
|
|
39706
39656
|
_sfc_main$T as AdvancedSearch,
|
|
39707
39657
|
ApiCascader$1 as ApiCascader,
|