3h1-ui 3.0.0-next.54 → 3.0.0-next.56
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 +83 -79
- package/es/style.css +105 -38
- package/lib/index.js +74 -70
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
-
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$
|
|
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";
|
|
5
5
|
import { zxcvbn } from "@zxcvbn-ts/core";
|
|
@@ -2607,7 +2607,7 @@ var VerticalAlignBottomOutlined = function VerticalAlignBottomOutlined2(props2,
|
|
|
2607
2607
|
VerticalAlignBottomOutlined.displayName = "VerticalAlignBottomOutlined";
|
|
2608
2608
|
VerticalAlignBottomOutlined.inheritAttrs = false;
|
|
2609
2609
|
const VerticalAlignBottomOutlined$1 = VerticalAlignBottomOutlined;
|
|
2610
|
-
const Divider
|
|
2610
|
+
const Divider = /* @__PURE__ */ defineComponent({
|
|
2611
2611
|
props: {
|
|
2612
2612
|
label: {
|
|
2613
2613
|
type: String,
|
|
@@ -5965,7 +5965,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
5965
5965
|
}
|
|
5966
5966
|
});
|
|
5967
5967
|
const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
|
|
5968
|
-
const
|
|
5968
|
+
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
|
|
5969
5969
|
const props$b = {
|
|
5970
5970
|
prefixCls: { type: String },
|
|
5971
5971
|
helpMessage: {
|
|
@@ -5977,7 +5977,7 @@ const props$b = {
|
|
|
5977
5977
|
canExpan: { type: Boolean }
|
|
5978
5978
|
};
|
|
5979
5979
|
const _sfc_main$1y = defineComponent({
|
|
5980
|
-
components: { BasicArrow, BasicTitle:
|
|
5980
|
+
components: { BasicArrow, BasicTitle: BasicTitle$1 },
|
|
5981
5981
|
inheritAttrs: false,
|
|
5982
5982
|
props: props$b,
|
|
5983
5983
|
emits: ["expand"]
|
|
@@ -8914,11 +8914,11 @@ const _hoisted_5$6 = {
|
|
|
8914
8914
|
key: 0,
|
|
8915
8915
|
class: "flex py-2 items-center justify-center"
|
|
8916
8916
|
};
|
|
8917
|
-
const _hoisted_6$
|
|
8917
|
+
const _hoisted_6$3 = {
|
|
8918
8918
|
key: 1,
|
|
8919
8919
|
class: "p-5"
|
|
8920
8920
|
};
|
|
8921
|
-
const _hoisted_7$
|
|
8921
|
+
const _hoisted_7$2 = {
|
|
8922
8922
|
key: 0,
|
|
8923
8923
|
class: "cursor-pointer px-2 py-1 flex items-center"
|
|
8924
8924
|
};
|
|
@@ -9057,12 +9057,12 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
9057
9057
|
onChange: handlePageChange
|
|
9058
9058
|
}, null, 8, ["pageSize", "total"])
|
|
9059
9059
|
])) : createCommentVNode("", true)
|
|
9060
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
9060
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
9061
9061
|
createVNode(unref(AEmpty))
|
|
9062
9062
|
]))
|
|
9063
9063
|
]),
|
|
9064
9064
|
default: withCtx(() => [
|
|
9065
|
-
isSvgMode && currentSelect.value ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
9065
|
+
isSvgMode && currentSelect.value ? (openBlock(), createElementBlock("span", _hoisted_7$2, [
|
|
9066
9066
|
createVNode(SvgIcon, { name: currentSelect.value }, null, 8, ["name"])
|
|
9067
9067
|
])) : (openBlock(), createBlock(Icon2, {
|
|
9068
9068
|
key: 1,
|
|
@@ -9258,7 +9258,7 @@ const _hoisted_4$6 = {
|
|
|
9258
9258
|
class: "table-children-delete-index"
|
|
9259
9259
|
};
|
|
9260
9260
|
const _hoisted_5$5 = ["onClick"];
|
|
9261
|
-
const _hoisted_6$
|
|
9261
|
+
const _hoisted_6$2 = {
|
|
9262
9262
|
key: 2,
|
|
9263
9263
|
class: "table-children-delete-index"
|
|
9264
9264
|
};
|
|
@@ -9542,7 +9542,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
9542
9542
|
onClick: ($event) => rowClickEvent(record[__props.rowKey])
|
|
9543
9543
|
}, [
|
|
9544
9544
|
createVNode(unref(DeleteFilled$1), { style: { color: "#fff" } })
|
|
9545
|
-
], 8, _hoisted_5$5)) : (openBlock(), createElementBlock("span", _hoisted_6$
|
|
9545
|
+
], 8, _hoisted_5$5)) : (openBlock(), createElementBlock("span", _hoisted_6$2, toDisplayString(index2 + 1), 1))
|
|
9546
9546
|
])) : createCommentVNode("", true)
|
|
9547
9547
|
]),
|
|
9548
9548
|
_: 1
|
|
@@ -11546,7 +11546,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
11546
11546
|
]),
|
|
11547
11547
|
_: 2
|
|
11548
11548
|
}, 1040)),
|
|
11549
|
-
__props.divider && index2 < getActions.value.length - 1 ? (openBlock(), createBlock(unref(Divider$
|
|
11549
|
+
__props.divider && index2 < getActions.value.length - 1 ? (openBlock(), createBlock(unref(Divider$1), {
|
|
11550
11550
|
key: 2,
|
|
11551
11551
|
type: "vertical",
|
|
11552
11552
|
class: "action-divider"
|
|
@@ -12497,7 +12497,7 @@ componentMap$3.set("IconPicker", _sfc_main$1t);
|
|
|
12497
12497
|
componentMap$3.set("InputCountDown", CountdownInput);
|
|
12498
12498
|
componentMap$3.set("Table", Table$1);
|
|
12499
12499
|
componentMap$3.set("Tinymce", _sfc_main$1q);
|
|
12500
|
-
componentMap$3.set("Divider", Divider
|
|
12500
|
+
componentMap$3.set("Divider", Divider);
|
|
12501
12501
|
function add$1(compName, component) {
|
|
12502
12502
|
componentMap$3.set(compName, component);
|
|
12503
12503
|
}
|
|
@@ -12967,7 +12967,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
12967
12967
|
return createVNode(Col, {
|
|
12968
12968
|
"span": 24
|
|
12969
12969
|
}, {
|
|
12970
|
-
default: () => [createVNode(Divider
|
|
12970
|
+
default: () => [createVNode(Divider, unref(getComponentsProps), _isSlot$6(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
12971
12971
|
default: () => [_slot]
|
|
12972
12972
|
})]
|
|
12973
12973
|
});
|
|
@@ -14543,7 +14543,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14543
14543
|
}, [
|
|
14544
14544
|
unref(slots).headerTitle ? renderSlot(_ctx.$slots, "headerTitle", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
14545
14545
|
createElementVNode("div", _hoisted_1$u, [
|
|
14546
|
-
!unref(slots).headerTitle && _ctx.title ? (openBlock(), createBlock(unref(
|
|
14546
|
+
!unref(slots).headerTitle && _ctx.title ? (openBlock(), createBlock(unref(BasicTitle$1), {
|
|
14547
14547
|
key: 0,
|
|
14548
14548
|
helpMessage: _ctx.helpMessage
|
|
14549
14549
|
}, {
|
|
@@ -14910,7 +14910,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
14910
14910
|
"key": label
|
|
14911
14911
|
}, {
|
|
14912
14912
|
default: () => [createVNode(ItemContent, contentProps, null)]
|
|
14913
|
-
}), divider ? createVNode(Divider$
|
|
14913
|
+
}), divider ? createVNode(Divider$1, {
|
|
14914
14914
|
"key": `d-${label}`
|
|
14915
14915
|
}, null) : null]);
|
|
14916
14916
|
}
|
|
@@ -17892,7 +17892,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
17892
17892
|
]),
|
|
17893
17893
|
_: 2
|
|
17894
17894
|
}, 1024),
|
|
17895
|
-
createVNode(unref(Divider$
|
|
17895
|
+
createVNode(unref(Divider$1), { type: "vertical" }),
|
|
17896
17896
|
createVNode(unref(Tooltip), {
|
|
17897
17897
|
placement: "bottomLeft",
|
|
17898
17898
|
mouseLeaveDelay: 0.4,
|
|
@@ -18226,8 +18226,8 @@ const _hoisted_5$4 = {
|
|
|
18226
18226
|
key: 0,
|
|
18227
18227
|
class: "shy-ui-advanced-search-item-value-range"
|
|
18228
18228
|
};
|
|
18229
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18230
|
-
const _hoisted_7 = {
|
|
18229
|
+
const _hoisted_6$1 = /* @__PURE__ */ createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18230
|
+
const _hoisted_7$1 = {
|
|
18231
18231
|
key: 1,
|
|
18232
18232
|
style: { "margin-left": "8px", "cursor": "pointer", "position": "relative" },
|
|
18233
18233
|
class: "shy-ui-advanced-minus-icon"
|
|
@@ -18485,7 +18485,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
18485
18485
|
]),
|
|
18486
18486
|
_: 2
|
|
18487
18487
|
}, 1024),
|
|
18488
|
-
_hoisted_6,
|
|
18488
|
+
_hoisted_6$1,
|
|
18489
18489
|
createVNode(unref(FormItem), null, {
|
|
18490
18490
|
default: withCtx(() => [
|
|
18491
18491
|
createVNode(unref(DatePicker$1), {
|
|
@@ -18534,7 +18534,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
18534
18534
|
]),
|
|
18535
18535
|
_: 2
|
|
18536
18536
|
}, 1024)) : createCommentVNode("", true),
|
|
18537
|
-
(schemasCurrent == null ? void 0 : schemasCurrent.length) !== 1 ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
18537
|
+
(schemasCurrent == null ? void 0 : schemasCurrent.length) !== 1 ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
18538
18538
|
createElementVNode("div", {
|
|
18539
18539
|
style: { "position": "absolute", "width": "14px", "height": "14px", "left": "0", "right": "0", "top": "0", "bottom": "0" },
|
|
18540
18540
|
class: "shy-basic-minus-icon",
|
|
@@ -20691,7 +20691,7 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20691
20691
|
return getProps.value.schema.map((item) => {
|
|
20692
20692
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
20693
20693
|
if ((item == null ? void 0 : item.component) === "Divider") {
|
|
20694
|
-
return createVNode(Divider$
|
|
20694
|
+
return createVNode(Divider$1, null, null);
|
|
20695
20695
|
} else if ((item == null ? void 0 : item.component) === "Group") {
|
|
20696
20696
|
return createVNode("div", {
|
|
20697
20697
|
"style": {
|
|
@@ -20915,7 +20915,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20915
20915
|
const DrawerFooter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$q]]);
|
|
20916
20916
|
const _sfc_main$F = defineComponent({
|
|
20917
20917
|
name: "BasicDrawerHeader",
|
|
20918
|
-
components: { BasicTitle:
|
|
20918
|
+
components: { BasicTitle: BasicTitle$1, ArrowLeftOutlined: ArrowLeftOutlined$1 },
|
|
20919
20919
|
props: {
|
|
20920
20920
|
isDetail: {
|
|
20921
20921
|
type: Boolean
|
|
@@ -25305,7 +25305,7 @@ const _sfc_main$u = defineComponent({
|
|
|
25305
25305
|
CheckboxGroup: Checkbox.Group,
|
|
25306
25306
|
DragOutlined: DragOutlined$1,
|
|
25307
25307
|
ScrollContainer: ScrollContainer$1,
|
|
25308
|
-
Divider: Divider$
|
|
25308
|
+
Divider: Divider$1,
|
|
25309
25309
|
Icon: Icon2
|
|
25310
25310
|
},
|
|
25311
25311
|
emits: ["columns-change"],
|
|
@@ -31867,7 +31867,7 @@ const componentSetting = {
|
|
|
31867
31867
|
// Number of pages that can be selected
|
|
31868
31868
|
pageSizeOptions: ["10", "20", "50", "100"],
|
|
31869
31869
|
// Default display quantity on one page
|
|
31870
|
-
defaultPageSize:
|
|
31870
|
+
defaultPageSize: 20,
|
|
31871
31871
|
// Default Size
|
|
31872
31872
|
defaultSize: "small",
|
|
31873
31873
|
// Custom general sort function
|
|
@@ -33461,7 +33461,7 @@ ShyComponentMap.set("IconPicker", _sfc_main$1t);
|
|
|
33461
33461
|
ShyComponentMap.set("InputCountDown", CountdownInput);
|
|
33462
33462
|
ShyComponentMap.set("Table", Table);
|
|
33463
33463
|
ShyComponentMap.set("Tinymce", _sfc_main$e);
|
|
33464
|
-
ShyComponentMap.set("Divider",
|
|
33464
|
+
ShyComponentMap.set("Divider", BasicTitle$1);
|
|
33465
33465
|
ShyComponentMap.set("ColorPicker", ColorPickerPanel);
|
|
33466
33466
|
function add(compName, component) {
|
|
33467
33467
|
ShyComponentMap.set(compName, component);
|
|
@@ -33912,7 +33912,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33912
33912
|
return createVNode(Col, {
|
|
33913
33913
|
"span": 24
|
|
33914
33914
|
}, {
|
|
33915
|
-
default: () => [createVNode(
|
|
33915
|
+
default: () => [createVNode(BasicTitle$1, unref(getComponentsProps), _isSlot$3(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
33916
33916
|
default: () => [_slot]
|
|
33917
33917
|
})]
|
|
33918
33918
|
});
|
|
@@ -35474,23 +35474,23 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
35474
35474
|
}
|
|
35475
35475
|
},
|
|
35476
35476
|
setup(__props) {
|
|
35477
|
-
const { prefixCls: prefixCls2 } = useDesign$1("ant-form");
|
|
35477
|
+
const { prefixCls: prefixCls2 } = useDesign$1("ant-form-wrapper");
|
|
35478
35478
|
const props2 = __props;
|
|
35479
35479
|
const getClass = computed(() => {
|
|
35480
35480
|
switch (props2.span) {
|
|
35481
35481
|
case 1:
|
|
35482
|
-
return `${prefixCls2}-
|
|
35482
|
+
return `${prefixCls2}-col-1`;
|
|
35483
35483
|
case 2:
|
|
35484
|
-
return `${prefixCls2}-
|
|
35484
|
+
return `${prefixCls2}-col-2`;
|
|
35485
35485
|
case 3:
|
|
35486
|
-
return `${prefixCls2}-
|
|
35486
|
+
return `${prefixCls2}-col-3`;
|
|
35487
35487
|
default:
|
|
35488
35488
|
return "";
|
|
35489
35489
|
}
|
|
35490
35490
|
});
|
|
35491
35491
|
return (_ctx, _cache) => {
|
|
35492
35492
|
return openBlock(), createElementBlock("div", {
|
|
35493
|
-
class: normalizeClass(getClass.value)
|
|
35493
|
+
class: normalizeClass([unref(prefixCls2), getClass.value])
|
|
35494
35494
|
}, [
|
|
35495
35495
|
renderSlot(_ctx.$slots, "default")
|
|
35496
35496
|
], 2);
|
|
@@ -35585,7 +35585,7 @@ function usePagination(refProps) {
|
|
|
35585
35585
|
isShowPagination,
|
|
35586
35586
|
current: 1,
|
|
35587
35587
|
pageSize: PAGE_SIZE,
|
|
35588
|
-
size:
|
|
35588
|
+
// size: '',
|
|
35589
35589
|
defaultPageSize: PAGE_SIZE,
|
|
35590
35590
|
showTotal: (total) => createVNode("span", null, [createTextVNode("共 "), createVNode("span", null, [total]), createTextVNode(" 条")]),
|
|
35591
35591
|
showSizeChanger: true,
|
|
@@ -37359,7 +37359,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
|
|
|
37359
37359
|
"onClick": () => handleColumnFixed(item, "left")
|
|
37360
37360
|
}, null)],
|
|
37361
37361
|
title: () => createVNode("span", null, [createTextVNode("固定到左侧")])
|
|
37362
|
-
}), createVNode(Divider$
|
|
37362
|
+
}), createVNode(Divider$1, {
|
|
37363
37363
|
"type": "vertical"
|
|
37364
37364
|
}, null), createVNode(Tooltip, {
|
|
37365
37365
|
"placement": "bottomLeft",
|
|
@@ -37579,7 +37579,7 @@ const ShyTableHeader = /* @__PURE__ */ defineComponent({
|
|
|
37579
37579
|
"class": `${prefixCls2}-button`
|
|
37580
37580
|
}, [(_a2 = slots == null ? void 0 : slots.toolbar) == null ? void 0 : _a2.call(slots)])]), createVNode("div", {
|
|
37581
37581
|
"class": `${prefixCls2}-toolbar`
|
|
37582
|
-
}, [createVNode(Divider$
|
|
37582
|
+
}, [createVNode(Divider$1, {
|
|
37583
37583
|
"type": "vertical",
|
|
37584
37584
|
"class": "action-divider"
|
|
37585
37585
|
}, null), isShowSetting()])]);
|
|
@@ -39093,7 +39093,7 @@ const ShyTableAction = /* @__PURE__ */ defineComponent({
|
|
|
39093
39093
|
};
|
|
39094
39094
|
const renderDivider = (index2, length2) => {
|
|
39095
39095
|
const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
|
|
39096
|
-
return isShow ? createVNode(Divider$
|
|
39096
|
+
return isShow ? createVNode(Divider$1, {
|
|
39097
39097
|
"type": "vertical",
|
|
39098
39098
|
"class": "action-divider"
|
|
39099
39099
|
}, null) : null;
|
|
@@ -39533,8 +39533,13 @@ withInstall(ShyContainer);
|
|
|
39533
39533
|
const _hoisted_1 = { class: "process-wrapper" };
|
|
39534
39534
|
const _hoisted_2 = { class: "process-header text-[#1B1F24] text-14px" };
|
|
39535
39535
|
const _hoisted_3 = { class: "process-body" };
|
|
39536
|
-
const _hoisted_4 = {
|
|
39537
|
-
|
|
39536
|
+
const _hoisted_4 = {
|
|
39537
|
+
key: 0,
|
|
39538
|
+
class: "process-item"
|
|
39539
|
+
};
|
|
39540
|
+
const _hoisted_5 = { key: 0 };
|
|
39541
|
+
const _hoisted_6 = { key: 1 };
|
|
39542
|
+
const _hoisted_7 = { key: 2 };
|
|
39538
39543
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
39539
39544
|
__name: "Process",
|
|
39540
39545
|
props: {
|
|
@@ -39576,60 +39581,59 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39576
39581
|
}
|
|
39577
39582
|
},
|
|
39578
39583
|
columns: {
|
|
39584
|
+
type: Array,
|
|
39579
39585
|
default: () => [
|
|
39580
|
-
{
|
|
39581
|
-
|
|
39582
|
-
|
|
39583
|
-
{
|
|
39586
|
+
{
|
|
39587
|
+
key: "processName"
|
|
39588
|
+
},
|
|
39589
|
+
{
|
|
39590
|
+
key: "user",
|
|
39591
|
+
label: "申请人"
|
|
39592
|
+
},
|
|
39593
|
+
{
|
|
39594
|
+
key: "suggestion",
|
|
39595
|
+
label: "建议"
|
|
39596
|
+
},
|
|
39597
|
+
{
|
|
39598
|
+
key: "result",
|
|
39599
|
+
label: "结果"
|
|
39600
|
+
}
|
|
39584
39601
|
]
|
|
39585
39602
|
}
|
|
39586
39603
|
},
|
|
39587
39604
|
setup(__props) {
|
|
39588
39605
|
const props2 = __props;
|
|
39589
|
-
const getStyle = (index2) => {
|
|
39590
|
-
if (index2 === 0) {
|
|
39591
|
-
return {
|
|
39592
|
-
fontFamily: "PingFangSC, PingFang SC",
|
|
39593
|
-
fontWeight: 500,
|
|
39594
|
-
fontSize: "14px",
|
|
39595
|
-
color: "#1B1F24",
|
|
39596
|
-
lineHeight: "20px",
|
|
39597
|
-
textAlign: "left",
|
|
39598
|
-
fontStyle: "normal"
|
|
39599
|
-
};
|
|
39600
|
-
} else {
|
|
39601
|
-
return {
|
|
39602
|
-
fontWeight: 400,
|
|
39603
|
-
fontSize: "12px",
|
|
39604
|
-
color: "#1B1F24",
|
|
39605
|
-
lineHeight: "16px",
|
|
39606
|
-
textAlign: "left",
|
|
39607
|
-
fontStyle: "normal"
|
|
39608
|
-
};
|
|
39609
|
-
}
|
|
39610
|
-
};
|
|
39611
39606
|
return (_ctx, _cache) => {
|
|
39612
39607
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
39613
|
-
createElementVNode("div", _hoisted_2,
|
|
39608
|
+
createElementVNode("div", _hoisted_2, [
|
|
39609
|
+
createVNode(unref(BasicTitle$1), null, {
|
|
39610
|
+
default: withCtx(() => [
|
|
39611
|
+
createTextVNode(toDisplayString(props2.title), 1)
|
|
39612
|
+
]),
|
|
39613
|
+
_: 1
|
|
39614
|
+
})
|
|
39615
|
+
]),
|
|
39614
39616
|
createElementVNode("div", _hoisted_3, [
|
|
39615
39617
|
createVNode(unref(Timeline), null, {
|
|
39616
39618
|
default: withCtx(() => [
|
|
39617
39619
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.data, (item, index2) => {
|
|
39618
39620
|
return openBlock(), createBlock(unref(TimelineItem), { key: index2 }, {
|
|
39621
|
+
dot: withCtx(() => [
|
|
39622
|
+
createElementVNode("div", {
|
|
39623
|
+
class: normalizeClass(["process-dot", { ["process-dot-last"]: __props.data.length - 1 === +index2 }])
|
|
39624
|
+
}, null, 2)
|
|
39625
|
+
]),
|
|
39619
39626
|
default: withCtx(() => [
|
|
39620
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.columns, ({ key: key2, label, customRender },
|
|
39621
|
-
return openBlock(), createElementBlock(Fragment, { key:
|
|
39622
|
-
item[key2] ? (openBlock(), createElementBlock("div",
|
|
39623
|
-
|
|
39624
|
-
|
|
39625
|
-
|
|
39626
|
-
|
|
39627
|
-
|
|
39628
|
-
createElementVNode("span", null, toDisplayString(customRender ? customRender(item) : item[key2]), 1)
|
|
39629
|
-
], 4)) : createCommentVNode("", true)
|
|
39627
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.columns, ({ key: key2, label, customRender }, _cIndex) => {
|
|
39628
|
+
return openBlock(), createElementBlock(Fragment, { key: _cIndex }, [
|
|
39629
|
+
item[key2] ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
39630
|
+
label ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(label) + ":", 1)) : createCommentVNode("", true),
|
|
39631
|
+
customRender ? (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
39632
|
+
(openBlock(), createBlock(resolveDynamicComponent(h("span", null, customRender(item)))))
|
|
39633
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(item[key2]), 1))
|
|
39634
|
+
])) : createCommentVNode("", true)
|
|
39630
39635
|
], 64);
|
|
39631
|
-
}), 128))
|
|
39632
|
-
createElementVNode("div", _hoisted_5, toDisplayString(item.createTime), 1)
|
|
39636
|
+
}), 128))
|
|
39633
39637
|
]),
|
|
39634
39638
|
_: 2
|
|
39635
39639
|
}, 1024);
|
|
@@ -39642,8 +39646,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39642
39646
|
};
|
|
39643
39647
|
}
|
|
39644
39648
|
});
|
|
39645
|
-
const
|
|
39646
|
-
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39649
|
+
const Process_vue_vue_type_style_index_0_scoped_5c48c981_lang = "";
|
|
39650
|
+
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c48c981"]]);
|
|
39647
39651
|
export {
|
|
39648
39652
|
_sfc_main$T as AdvancedSearch,
|
|
39649
39653
|
ApiCascader$1 as ApiCascader,
|
|
@@ -39664,7 +39668,7 @@ export {
|
|
|
39664
39668
|
BasicModal,
|
|
39665
39669
|
BasicResizeWrapper,
|
|
39666
39670
|
BasicTable,
|
|
39667
|
-
|
|
39671
|
+
BasicTitle$1 as BasicTitle,
|
|
39668
39672
|
_sfc_main$13 as BasicTree,
|
|
39669
39673
|
Button,
|
|
39670
39674
|
_sfc_main$z as ClickOutSide,
|
package/es/style.css
CHANGED
|
@@ -948,7 +948,7 @@ input:focus.ant-input {
|
|
|
948
948
|
:is(.ant-table-body, .ant-table-content)::-webkit-scrollbar {
|
|
949
949
|
position: absolute;
|
|
950
950
|
height: 10px;
|
|
951
|
-
width:
|
|
951
|
+
width: 0;
|
|
952
952
|
}
|
|
953
953
|
:is(.ant-table-body, .ant-table-content)::-webkit-scrollbar-thumb {
|
|
954
954
|
box-shadow: inset 0 0 10px 10px var(--gray-2);
|
|
@@ -977,11 +977,17 @@ input:focus.ant-input {
|
|
|
977
977
|
.ant-table-wrapper .ant-table-ping-left .ant-table-cell-fix-left-last::after {
|
|
978
978
|
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
|
|
979
979
|
}
|
|
980
|
+
.ant-table-cell-scrollbar {
|
|
981
|
+
display: none;
|
|
982
|
+
}
|
|
980
983
|
.ant-table-body {
|
|
981
984
|
overflow: auto auto !important;
|
|
982
985
|
}
|
|
983
|
-
.ant-table-
|
|
984
|
-
|
|
986
|
+
.ant-table-body table:has(.ant-table-placeholder) {
|
|
987
|
+
height: 100%;
|
|
988
|
+
}
|
|
989
|
+
.ant-table-body table:has(.ant-table-placeholder) .ant-table-expanded-row-fixed {
|
|
990
|
+
width: 100% !important;
|
|
985
991
|
}.shy-strength-meter-bar[data-v-c8d77eaa] {
|
|
986
992
|
position: relative;
|
|
987
993
|
margin: 10px auto 6px;
|
|
@@ -8434,58 +8440,66 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
8434
8440
|
width: 100%;
|
|
8435
8441
|
background-color: var(--gray-3);
|
|
8436
8442
|
}
|
|
8443
|
+
.shy-ant-form-wrapper {
|
|
8444
|
+
--max-width-large: 1224px;
|
|
8445
|
+
--max-width-middle: 864px;
|
|
8446
|
+
--max-width-small: 720px;
|
|
8447
|
+
--min-width--large: 70%;
|
|
8448
|
+
--min-width--middle: 69%;
|
|
8449
|
+
--min-width--small: 68%;
|
|
8450
|
+
}
|
|
8437
8451
|
@media screen and (max-width: 1440px) {
|
|
8438
8452
|
.shy-ant-form-wrapper-col-1 {
|
|
8439
|
-
min-width:
|
|
8440
|
-
max-width:
|
|
8453
|
+
min-width: calc(var(--min-width--small) * (1 / 3));
|
|
8454
|
+
max-width: calc(var(--max-width-small) * (1 / 3));
|
|
8441
8455
|
}
|
|
8442
8456
|
}
|
|
8443
8457
|
@media screen and (max-width: 1920px) and (min-width: 1440px) {
|
|
8444
8458
|
.shy-ant-form-wrapper-col-1 {
|
|
8445
|
-
min-width:
|
|
8446
|
-
max-width:
|
|
8459
|
+
min-width: calc(var(--min-width--middle) * (1 / 3));
|
|
8460
|
+
max-width: calc(var(--max-width-middle) * (1 / 3));
|
|
8447
8461
|
}
|
|
8448
8462
|
}
|
|
8449
8463
|
@media screen and (min-width: 1920px) {
|
|
8450
8464
|
.shy-ant-form-wrapper-col-1 {
|
|
8451
|
-
min-width:
|
|
8452
|
-
max-width:
|
|
8465
|
+
min-width: calc(var(--min-width--large) * (1 / 3));
|
|
8466
|
+
max-width: calc(var(--max-width-large) * (1 / 3));
|
|
8453
8467
|
}
|
|
8454
8468
|
}
|
|
8455
8469
|
@media screen and (max-width: 1440px) {
|
|
8456
8470
|
.shy-ant-form-wrapper-col-2 {
|
|
8457
|
-
min-width:
|
|
8458
|
-
max-width:
|
|
8471
|
+
min-width: calc(var(--min-width--small) * (1 / 3) * 2);
|
|
8472
|
+
max-width: calc(var(--max-width-small) * (1 / 3) * 2);
|
|
8459
8473
|
}
|
|
8460
8474
|
}
|
|
8461
8475
|
@media screen and (max-width: 1920px) and (min-width: 1440px) {
|
|
8462
8476
|
.shy-ant-form-wrapper-col-2 {
|
|
8463
|
-
min-width:
|
|
8464
|
-
max-width:
|
|
8477
|
+
min-width: calc(var(--min-width--middle) * (1 / 3) * 2);
|
|
8478
|
+
max-width: calc(var(--max-width-middle) * (1 / 3) * 2);
|
|
8465
8479
|
}
|
|
8466
8480
|
}
|
|
8467
8481
|
@media screen and (min-width: 1920px) {
|
|
8468
8482
|
.shy-ant-form-wrapper-col-2 {
|
|
8469
|
-
min-width:
|
|
8470
|
-
max-width:
|
|
8483
|
+
min-width: calc(var(--min-width--large) * (1 / 3) * 2);
|
|
8484
|
+
max-width: calc(var(--max-width-large) * (1 / 3) * 2);
|
|
8471
8485
|
}
|
|
8472
8486
|
}
|
|
8473
8487
|
@media screen and (max-width: 1440px) {
|
|
8474
8488
|
.shy-ant-form-wrapper-col-3 {
|
|
8475
|
-
min-width:
|
|
8476
|
-
max-width:
|
|
8489
|
+
min-width: var(--min-width--small);
|
|
8490
|
+
max-width: var(--max-width-small);
|
|
8477
8491
|
}
|
|
8478
8492
|
}
|
|
8479
8493
|
@media screen and (max-width: 1920px) and (min-width: 1440px) {
|
|
8480
8494
|
.shy-ant-form-wrapper-col-3 {
|
|
8481
|
-
min-width:
|
|
8482
|
-
max-width:
|
|
8495
|
+
min-width: var(--min-width--middle);
|
|
8496
|
+
max-width: var(--max-width-middle);
|
|
8483
8497
|
}
|
|
8484
8498
|
}
|
|
8485
8499
|
@media screen and (min-width: 1920px) {
|
|
8486
8500
|
.shy-ant-form-wrapper-col-3 {
|
|
8487
|
-
min-width:
|
|
8488
|
-
max-width:
|
|
8501
|
+
min-width: var(--min-width--large);
|
|
8502
|
+
max-width: var(--max-width-large);
|
|
8489
8503
|
}
|
|
8490
8504
|
}.wrapper[data-v-15e2dcbb] {
|
|
8491
8505
|
display: flex;
|
|
@@ -9028,33 +9042,55 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
9028
9042
|
}
|
|
9029
9043
|
.shy-container-footer-cancel-right {
|
|
9030
9044
|
flex-direction: row-reverse;
|
|
9031
|
-
}.process-wrapper[data-v-
|
|
9045
|
+
}.process-wrapper[data-v-5c48c981] {
|
|
9046
|
+
position: relative;
|
|
9047
|
+
display: flex;
|
|
9048
|
+
flex-direction: column;
|
|
9049
|
+
padding-bottom: 8px;
|
|
9050
|
+
padding-left: 8px;
|
|
9051
|
+
padding-right: 2px;
|
|
9032
9052
|
width: 288px;
|
|
9033
9053
|
height: 100%;
|
|
9034
|
-
|
|
9035
|
-
border-radius:
|
|
9036
|
-
border: 1px solid
|
|
9037
|
-
|
|
9038
|
-
|
|
9054
|
+
overflow: hidden;
|
|
9055
|
+
border-radius: 4px;
|
|
9056
|
+
border: 1px solid var(--gray-3);
|
|
9057
|
+
background: var(--gray-0);
|
|
9058
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04), 0px 1px 1px 0px rgba(0, 0, 0, 0.02);
|
|
9059
|
+
z-index: 100;
|
|
9039
9060
|
}
|
|
9040
|
-
.process-header[data-v-
|
|
9041
|
-
line-height: 32px;
|
|
9061
|
+
.process-wrapper .process-header[data-v-5c48c981] {
|
|
9042
9062
|
font-family: PingFangSC, PingFang SC;
|
|
9043
9063
|
font-weight: 500;
|
|
9044
|
-
font-size: 14px;
|
|
9045
9064
|
color: #1b1f24;
|
|
9046
|
-
line-height: 20px;
|
|
9047
9065
|
text-align: left;
|
|
9048
9066
|
font-style: normal;
|
|
9049
9067
|
}
|
|
9050
|
-
.process-body[data-v-
|
|
9051
|
-
padding-top:
|
|
9068
|
+
.process-wrapper .process-body[data-v-5c48c981] {
|
|
9069
|
+
padding-top: 4px;
|
|
9070
|
+
padding-left: 10px;
|
|
9071
|
+
overflow-y: auto;
|
|
9052
9072
|
}
|
|
9053
|
-
.process-
|
|
9054
|
-
|
|
9055
|
-
|
|
9073
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar {
|
|
9074
|
+
position: absolute;
|
|
9075
|
+
height: 10px;
|
|
9076
|
+
width: 10px;
|
|
9077
|
+
}
|
|
9078
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-thumb {
|
|
9079
|
+
box-shadow: inset 0 0 10px 10px var(--gray-2);
|
|
9080
|
+
border: solid 2px transparent;
|
|
9081
|
+
background-color: transparent;
|
|
9082
|
+
border-radius: 10px;
|
|
9083
|
+
}
|
|
9084
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-thumb:active, .process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-thumb:hover {
|
|
9085
|
+
box-shadow: inset 0 0 10px 10px var(--gray-3);
|
|
9086
|
+
background-color: transparent;
|
|
9087
|
+
}
|
|
9088
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-track {
|
|
9089
|
+
border-radius: 10px;
|
|
9090
|
+
border: solid 2px transparent;
|
|
9091
|
+
background: transparent;
|
|
9056
9092
|
}
|
|
9057
|
-
.process-item[data-v-
|
|
9093
|
+
.process-wrapper .process-body .process-item[data-v-5c48c981] {
|
|
9058
9094
|
font-family: PingFangSC, PingFang SC;
|
|
9059
9095
|
font-weight: 400;
|
|
9060
9096
|
font-size: 12px;
|
|
@@ -9062,5 +9098,36 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
9062
9098
|
line-height: 16px;
|
|
9063
9099
|
text-align: left;
|
|
9064
9100
|
font-style: normal;
|
|
9065
|
-
padding:
|
|
9101
|
+
padding: 2px 0;
|
|
9102
|
+
}
|
|
9103
|
+
.process-wrapper .process-body .process-item[data-v-5c48c981]:nth-child(1) {
|
|
9104
|
+
padding: 3px 0;
|
|
9105
|
+
font-size: 14px;
|
|
9106
|
+
}
|
|
9107
|
+
.process-wrapper .process-body .process-item[data-v-5c48c981]:nth-last-child(1) {
|
|
9108
|
+
font-family: unset;
|
|
9109
|
+
color: var(--gray-4);
|
|
9110
|
+
}
|
|
9111
|
+
.process-wrapper .process-body .process-dot[data-v-5c48c981] {
|
|
9112
|
+
width: 12px;
|
|
9113
|
+
height: 12px;
|
|
9114
|
+
border-radius: 12px;
|
|
9115
|
+
border: 1px solid var(--gray-3);
|
|
9116
|
+
}
|
|
9117
|
+
.process-wrapper .process-body .process-dot[data-v-5c48c981]::before {
|
|
9118
|
+
content: '';
|
|
9119
|
+
width: 6px;
|
|
9120
|
+
height: 6px;
|
|
9121
|
+
border-radius: 6px;
|
|
9122
|
+
background: var(--gray-3);
|
|
9123
|
+
position: absolute;
|
|
9124
|
+
top: 50%;
|
|
9125
|
+
left: 50%;
|
|
9126
|
+
transform: translate(-50%, -50%);
|
|
9127
|
+
}
|
|
9128
|
+
.process-wrapper .process-body .process-dot-last[data-v-5c48c981] {
|
|
9129
|
+
border: 1px solid var(--primary-5);
|
|
9130
|
+
}
|
|
9131
|
+
.process-wrapper .process-body .process-dot-last[data-v-5c48c981]::before {
|
|
9132
|
+
background: var(--primary-5);
|
|
9066
9133
|
}
|
package/lib/index.js
CHANGED
|
@@ -2631,7 +2631,7 @@ var VerticalAlignBottomOutlined = function VerticalAlignBottomOutlined2(props2,
|
|
|
2631
2631
|
VerticalAlignBottomOutlined.displayName = "VerticalAlignBottomOutlined";
|
|
2632
2632
|
VerticalAlignBottomOutlined.inheritAttrs = false;
|
|
2633
2633
|
const VerticalAlignBottomOutlined$1 = VerticalAlignBottomOutlined;
|
|
2634
|
-
const Divider
|
|
2634
|
+
const Divider = /* @__PURE__ */ vue.defineComponent({
|
|
2635
2635
|
props: {
|
|
2636
2636
|
label: {
|
|
2637
2637
|
type: String,
|
|
@@ -5989,7 +5989,7 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
|
|
|
5989
5989
|
}
|
|
5990
5990
|
});
|
|
5991
5991
|
const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
|
|
5992
|
-
const
|
|
5992
|
+
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
|
|
5993
5993
|
const props$b = {
|
|
5994
5994
|
prefixCls: { type: String },
|
|
5995
5995
|
helpMessage: {
|
|
@@ -6001,7 +6001,7 @@ const props$b = {
|
|
|
6001
6001
|
canExpan: { type: Boolean }
|
|
6002
6002
|
};
|
|
6003
6003
|
const _sfc_main$1y = vue.defineComponent({
|
|
6004
|
-
components: { BasicArrow, BasicTitle:
|
|
6004
|
+
components: { BasicArrow, BasicTitle: BasicTitle$1 },
|
|
6005
6005
|
inheritAttrs: false,
|
|
6006
6006
|
props: props$b,
|
|
6007
6007
|
emits: ["expand"]
|
|
@@ -8938,11 +8938,11 @@ const _hoisted_5$6 = {
|
|
|
8938
8938
|
key: 0,
|
|
8939
8939
|
class: "flex py-2 items-center justify-center"
|
|
8940
8940
|
};
|
|
8941
|
-
const _hoisted_6$
|
|
8941
|
+
const _hoisted_6$3 = {
|
|
8942
8942
|
key: 1,
|
|
8943
8943
|
class: "p-5"
|
|
8944
8944
|
};
|
|
8945
|
-
const _hoisted_7$
|
|
8945
|
+
const _hoisted_7$2 = {
|
|
8946
8946
|
key: 0,
|
|
8947
8947
|
class: "cursor-pointer px-2 py-1 flex items-center"
|
|
8948
8948
|
};
|
|
@@ -9081,12 +9081,12 @@ const _sfc_main$1t = /* @__PURE__ */ vue.defineComponent({
|
|
|
9081
9081
|
onChange: handlePageChange
|
|
9082
9082
|
}, null, 8, ["pageSize", "total"])
|
|
9083
9083
|
])) : vue.createCommentVNode("", true)
|
|
9084
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
9084
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3, [
|
|
9085
9085
|
vue.createVNode(vue.unref(AEmpty))
|
|
9086
9086
|
]))
|
|
9087
9087
|
]),
|
|
9088
9088
|
default: vue.withCtx(() => [
|
|
9089
|
-
isSvgMode && currentSelect.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$
|
|
9089
|
+
isSvgMode && currentSelect.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, [
|
|
9090
9090
|
vue.createVNode(SvgIcon, { name: currentSelect.value }, null, 8, ["name"])
|
|
9091
9091
|
])) : (vue.openBlock(), vue.createBlock(Icon2, {
|
|
9092
9092
|
key: 1,
|
|
@@ -9282,7 +9282,7 @@ const _hoisted_4$6 = {
|
|
|
9282
9282
|
class: "table-children-delete-index"
|
|
9283
9283
|
};
|
|
9284
9284
|
const _hoisted_5$5 = ["onClick"];
|
|
9285
|
-
const _hoisted_6$
|
|
9285
|
+
const _hoisted_6$2 = {
|
|
9286
9286
|
key: 2,
|
|
9287
9287
|
class: "table-children-delete-index"
|
|
9288
9288
|
};
|
|
@@ -9566,7 +9566,7 @@ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
|
9566
9566
|
onClick: ($event) => rowClickEvent(record[__props.rowKey])
|
|
9567
9567
|
}, [
|
|
9568
9568
|
vue.createVNode(vue.unref(DeleteFilled$1), { style: { color: "#fff" } })
|
|
9569
|
-
], 8, _hoisted_5$5)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
9569
|
+
], 8, _hoisted_5$5)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$2, vue.toDisplayString(index2 + 1), 1))
|
|
9570
9570
|
])) : vue.createCommentVNode("", true)
|
|
9571
9571
|
]),
|
|
9572
9572
|
_: 1
|
|
@@ -12521,7 +12521,7 @@ componentMap$3.set("IconPicker", _sfc_main$1t);
|
|
|
12521
12521
|
componentMap$3.set("InputCountDown", CountdownInput);
|
|
12522
12522
|
componentMap$3.set("Table", Table$1);
|
|
12523
12523
|
componentMap$3.set("Tinymce", _sfc_main$1q);
|
|
12524
|
-
componentMap$3.set("Divider", Divider
|
|
12524
|
+
componentMap$3.set("Divider", Divider);
|
|
12525
12525
|
function add$1(compName, component) {
|
|
12526
12526
|
componentMap$3.set(compName, component);
|
|
12527
12527
|
}
|
|
@@ -12991,7 +12991,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12991
12991
|
return vue.createVNode(antDesignVue.Col, {
|
|
12992
12992
|
"span": 24
|
|
12993
12993
|
}, {
|
|
12994
|
-
default: () => [vue.createVNode(Divider
|
|
12994
|
+
default: () => [vue.createVNode(Divider, vue.unref(getComponentsProps), _isSlot$6(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
12995
12995
|
default: () => [_slot]
|
|
12996
12996
|
})]
|
|
12997
12997
|
});
|
|
@@ -14567,7 +14567,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
14567
14567
|
}, [
|
|
14568
14568
|
vue.unref(slots).headerTitle ? vue.renderSlot(_ctx.$slots, "headerTitle", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
14569
14569
|
vue.createElementVNode("div", _hoisted_1$u, [
|
|
14570
|
-
!vue.unref(slots).headerTitle && _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
14570
|
+
!vue.unref(slots).headerTitle && _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(BasicTitle$1), {
|
|
14571
14571
|
key: 0,
|
|
14572
14572
|
helpMessage: _ctx.helpMessage
|
|
14573
14573
|
}, {
|
|
@@ -18250,8 +18250,8 @@ const _hoisted_5$4 = {
|
|
|
18250
18250
|
key: 0,
|
|
18251
18251
|
class: "shy-ui-advanced-search-item-value-range"
|
|
18252
18252
|
};
|
|
18253
|
-
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18254
|
-
const _hoisted_7 = {
|
|
18253
|
+
const _hoisted_6$1 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18254
|
+
const _hoisted_7$1 = {
|
|
18255
18255
|
key: 1,
|
|
18256
18256
|
style: { "margin-left": "8px", "cursor": "pointer", "position": "relative" },
|
|
18257
18257
|
class: "shy-ui-advanced-minus-icon"
|
|
@@ -18509,7 +18509,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
18509
18509
|
]),
|
|
18510
18510
|
_: 2
|
|
18511
18511
|
}, 1024),
|
|
18512
|
-
_hoisted_6,
|
|
18512
|
+
_hoisted_6$1,
|
|
18513
18513
|
vue.createVNode(vue.unref(antDesignVue.FormItem), null, {
|
|
18514
18514
|
default: vue.withCtx(() => [
|
|
18515
18515
|
vue.createVNode(vue.unref(antDesignVue.DatePicker), {
|
|
@@ -18558,7 +18558,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
18558
18558
|
]),
|
|
18559
18559
|
_: 2
|
|
18560
18560
|
}, 1024)) : vue.createCommentVNode("", true),
|
|
18561
|
-
(schemasCurrent == null ? void 0 : schemasCurrent.length) !== 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
18561
|
+
(schemasCurrent == null ? void 0 : schemasCurrent.length) !== 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$1, [
|
|
18562
18562
|
vue.createElementVNode("div", {
|
|
18563
18563
|
style: { "position": "absolute", "width": "14px", "height": "14px", "left": "0", "right": "0", "top": "0", "bottom": "0" },
|
|
18564
18564
|
class: "shy-basic-minus-icon",
|
|
@@ -20939,7 +20939,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20939
20939
|
const DrawerFooter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$q]]);
|
|
20940
20940
|
const _sfc_main$F = vue.defineComponent({
|
|
20941
20941
|
name: "BasicDrawerHeader",
|
|
20942
|
-
components: { BasicTitle:
|
|
20942
|
+
components: { BasicTitle: BasicTitle$1, ArrowLeftOutlined: ArrowLeftOutlined$1 },
|
|
20943
20943
|
props: {
|
|
20944
20944
|
isDetail: {
|
|
20945
20945
|
type: Boolean
|
|
@@ -31891,7 +31891,7 @@ const componentSetting = {
|
|
|
31891
31891
|
// Number of pages that can be selected
|
|
31892
31892
|
pageSizeOptions: ["10", "20", "50", "100"],
|
|
31893
31893
|
// Default display quantity on one page
|
|
31894
|
-
defaultPageSize:
|
|
31894
|
+
defaultPageSize: 20,
|
|
31895
31895
|
// Default Size
|
|
31896
31896
|
defaultSize: "small",
|
|
31897
31897
|
// Custom general sort function
|
|
@@ -33485,7 +33485,7 @@ ShyComponentMap.set("IconPicker", _sfc_main$1t);
|
|
|
33485
33485
|
ShyComponentMap.set("InputCountDown", CountdownInput);
|
|
33486
33486
|
ShyComponentMap.set("Table", Table);
|
|
33487
33487
|
ShyComponentMap.set("Tinymce", _sfc_main$e);
|
|
33488
|
-
ShyComponentMap.set("Divider",
|
|
33488
|
+
ShyComponentMap.set("Divider", BasicTitle$1);
|
|
33489
33489
|
ShyComponentMap.set("ColorPicker", ColorPickerPanel);
|
|
33490
33490
|
function add(compName, component) {
|
|
33491
33491
|
ShyComponentMap.set(compName, component);
|
|
@@ -33936,7 +33936,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33936
33936
|
return vue.createVNode(antDesignVue.Col, {
|
|
33937
33937
|
"span": 24
|
|
33938
33938
|
}, {
|
|
33939
|
-
default: () => [vue.createVNode(
|
|
33939
|
+
default: () => [vue.createVNode(BasicTitle$1, vue.unref(getComponentsProps), _isSlot$3(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
33940
33940
|
default: () => [_slot]
|
|
33941
33941
|
})]
|
|
33942
33942
|
});
|
|
@@ -35498,23 +35498,23 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35498
35498
|
}
|
|
35499
35499
|
},
|
|
35500
35500
|
setup(__props) {
|
|
35501
|
-
const { prefixCls: prefixCls2 } = use.useDesign("ant-form");
|
|
35501
|
+
const { prefixCls: prefixCls2 } = use.useDesign("ant-form-wrapper");
|
|
35502
35502
|
const props2 = __props;
|
|
35503
35503
|
const getClass = vue.computed(() => {
|
|
35504
35504
|
switch (props2.span) {
|
|
35505
35505
|
case 1:
|
|
35506
|
-
return `${prefixCls2}-
|
|
35506
|
+
return `${prefixCls2}-col-1`;
|
|
35507
35507
|
case 2:
|
|
35508
|
-
return `${prefixCls2}-
|
|
35508
|
+
return `${prefixCls2}-col-2`;
|
|
35509
35509
|
case 3:
|
|
35510
|
-
return `${prefixCls2}-
|
|
35510
|
+
return `${prefixCls2}-col-3`;
|
|
35511
35511
|
default:
|
|
35512
35512
|
return "";
|
|
35513
35513
|
}
|
|
35514
35514
|
});
|
|
35515
35515
|
return (_ctx, _cache) => {
|
|
35516
35516
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35517
|
-
class: vue.normalizeClass(getClass.value)
|
|
35517
|
+
class: vue.normalizeClass([vue.unref(prefixCls2), getClass.value])
|
|
35518
35518
|
}, [
|
|
35519
35519
|
vue.renderSlot(_ctx.$slots, "default")
|
|
35520
35520
|
], 2);
|
|
@@ -35609,7 +35609,7 @@ function usePagination(refProps) {
|
|
|
35609
35609
|
isShowPagination,
|
|
35610
35610
|
current: 1,
|
|
35611
35611
|
pageSize: PAGE_SIZE,
|
|
35612
|
-
size:
|
|
35612
|
+
// size: '',
|
|
35613
35613
|
defaultPageSize: PAGE_SIZE,
|
|
35614
35614
|
showTotal: (total) => vue.createVNode("span", null, [vue.createTextVNode("共 "), vue.createVNode("span", null, [total]), vue.createTextVNode(" 条")]),
|
|
35615
35615
|
showSizeChanger: true,
|
|
@@ -39557,8 +39557,13 @@ withInstall(ShyContainer);
|
|
|
39557
39557
|
const _hoisted_1 = { class: "process-wrapper" };
|
|
39558
39558
|
const _hoisted_2 = { class: "process-header text-[#1B1F24] text-14px" };
|
|
39559
39559
|
const _hoisted_3 = { class: "process-body" };
|
|
39560
|
-
const _hoisted_4 = {
|
|
39561
|
-
|
|
39560
|
+
const _hoisted_4 = {
|
|
39561
|
+
key: 0,
|
|
39562
|
+
class: "process-item"
|
|
39563
|
+
};
|
|
39564
|
+
const _hoisted_5 = { key: 0 };
|
|
39565
|
+
const _hoisted_6 = { key: 1 };
|
|
39566
|
+
const _hoisted_7 = { key: 2 };
|
|
39562
39567
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
39563
39568
|
__name: "Process",
|
|
39564
39569
|
props: {
|
|
@@ -39600,60 +39605,59 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39600
39605
|
}
|
|
39601
39606
|
},
|
|
39602
39607
|
columns: {
|
|
39608
|
+
type: Array,
|
|
39603
39609
|
default: () => [
|
|
39604
|
-
{
|
|
39605
|
-
|
|
39606
|
-
|
|
39607
|
-
{
|
|
39610
|
+
{
|
|
39611
|
+
key: "processName"
|
|
39612
|
+
},
|
|
39613
|
+
{
|
|
39614
|
+
key: "user",
|
|
39615
|
+
label: "申请人"
|
|
39616
|
+
},
|
|
39617
|
+
{
|
|
39618
|
+
key: "suggestion",
|
|
39619
|
+
label: "建议"
|
|
39620
|
+
},
|
|
39621
|
+
{
|
|
39622
|
+
key: "result",
|
|
39623
|
+
label: "结果"
|
|
39624
|
+
}
|
|
39608
39625
|
]
|
|
39609
39626
|
}
|
|
39610
39627
|
},
|
|
39611
39628
|
setup(__props) {
|
|
39612
39629
|
const props2 = __props;
|
|
39613
|
-
const getStyle = (index2) => {
|
|
39614
|
-
if (index2 === 0) {
|
|
39615
|
-
return {
|
|
39616
|
-
fontFamily: "PingFangSC, PingFang SC",
|
|
39617
|
-
fontWeight: 500,
|
|
39618
|
-
fontSize: "14px",
|
|
39619
|
-
color: "#1B1F24",
|
|
39620
|
-
lineHeight: "20px",
|
|
39621
|
-
textAlign: "left",
|
|
39622
|
-
fontStyle: "normal"
|
|
39623
|
-
};
|
|
39624
|
-
} else {
|
|
39625
|
-
return {
|
|
39626
|
-
fontWeight: 400,
|
|
39627
|
-
fontSize: "12px",
|
|
39628
|
-
color: "#1B1F24",
|
|
39629
|
-
lineHeight: "16px",
|
|
39630
|
-
textAlign: "left",
|
|
39631
|
-
fontStyle: "normal"
|
|
39632
|
-
};
|
|
39633
|
-
}
|
|
39634
|
-
};
|
|
39635
39630
|
return (_ctx, _cache) => {
|
|
39636
39631
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
39637
|
-
vue.createElementVNode("div", _hoisted_2,
|
|
39632
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
39633
|
+
vue.createVNode(vue.unref(BasicTitle$1), null, {
|
|
39634
|
+
default: vue.withCtx(() => [
|
|
39635
|
+
vue.createTextVNode(vue.toDisplayString(props2.title), 1)
|
|
39636
|
+
]),
|
|
39637
|
+
_: 1
|
|
39638
|
+
})
|
|
39639
|
+
]),
|
|
39638
39640
|
vue.createElementVNode("div", _hoisted_3, [
|
|
39639
39641
|
vue.createVNode(vue.unref(antDesignVue.Timeline), null, {
|
|
39640
39642
|
default: vue.withCtx(() => [
|
|
39641
39643
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.data, (item, index2) => {
|
|
39642
39644
|
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.TimelineItem), { key: index2 }, {
|
|
39645
|
+
dot: vue.withCtx(() => [
|
|
39646
|
+
vue.createElementVNode("div", {
|
|
39647
|
+
class: vue.normalizeClass(["process-dot", { ["process-dot-last"]: __props.data.length - 1 === +index2 }])
|
|
39648
|
+
}, null, 2)
|
|
39649
|
+
]),
|
|
39643
39650
|
default: vue.withCtx(() => [
|
|
39644
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props2.columns, ({ key: key2, label, customRender },
|
|
39645
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
39646
|
-
item[key2] ? (vue.openBlock(), vue.createElementBlock("div",
|
|
39647
|
-
|
|
39648
|
-
|
|
39649
|
-
|
|
39650
|
-
|
|
39651
|
-
|
|
39652
|
-
vue.createElementVNode("span", null, vue.toDisplayString(customRender ? customRender(item) : item[key2]), 1)
|
|
39653
|
-
], 4)) : vue.createCommentVNode("", true)
|
|
39651
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props2.columns, ({ key: key2, label, customRender }, _cIndex) => {
|
|
39652
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: _cIndex }, [
|
|
39653
|
+
item[key2] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
39654
|
+
label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, vue.toDisplayString(label) + ":", 1)) : vue.createCommentVNode("", true),
|
|
39655
|
+
customRender ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, [
|
|
39656
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.h("span", null, customRender(item)))))
|
|
39657
|
+
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, vue.toDisplayString(item[key2]), 1))
|
|
39658
|
+
])) : vue.createCommentVNode("", true)
|
|
39654
39659
|
], 64);
|
|
39655
|
-
}), 128))
|
|
39656
|
-
vue.createElementVNode("div", _hoisted_5, vue.toDisplayString(item.createTime), 1)
|
|
39660
|
+
}), 128))
|
|
39657
39661
|
]),
|
|
39658
39662
|
_: 2
|
|
39659
39663
|
}, 1024);
|
|
@@ -39666,8 +39670,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39666
39670
|
};
|
|
39667
39671
|
}
|
|
39668
39672
|
});
|
|
39669
|
-
const
|
|
39670
|
-
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39673
|
+
const Process_vue_vue_type_style_index_0_scoped_5c48c981_lang = "";
|
|
39674
|
+
const Process = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c48c981"]]);
|
|
39671
39675
|
exports.AdvancedSearch = _sfc_main$T;
|
|
39672
39676
|
exports.ApiCascader = ApiCascader$1;
|
|
39673
39677
|
exports.ApiModalSelect = ApiModalSelect$1;
|
|
@@ -39687,7 +39691,7 @@ exports.BasicLabel = BasicLabel;
|
|
|
39687
39691
|
exports.BasicModal = BasicModal;
|
|
39688
39692
|
exports.BasicResizeWrapper = BasicResizeWrapper;
|
|
39689
39693
|
exports.BasicTable = BasicTable;
|
|
39690
|
-
exports.BasicTitle =
|
|
39694
|
+
exports.BasicTitle = BasicTitle$1;
|
|
39691
39695
|
exports.BasicTree = _sfc_main$13;
|
|
39692
39696
|
exports.Button = Button;
|
|
39693
39697
|
exports.ClickOutSide = _sfc_main$z;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.56",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"vue-json-pretty": "^2.2.3",
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
|
-
"@shy-plugins/use": "1.0.0-next.1",
|
|
33
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
34
|
-
"@shy-plugins/utils": "1.0.0-next.1"
|
|
33
|
+
"@shy-plugins/utils": "1.0.0-next.1",
|
|
34
|
+
"@shy-plugins/use": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|