3h1-ui 3.0.0-next.53 → 3.0.0-next.55
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 -77
- package/es/style.css +80 -27
- package/lib/index.js +74 -68
- package/package.json +1 -1
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
|
|
@@ -9839,7 +9839,8 @@ const Modal$2 = /* @__PURE__ */ defineComponent({
|
|
|
9839
9839
|
...props2,
|
|
9840
9840
|
onCancel
|
|
9841
9841
|
};
|
|
9842
|
-
|
|
9842
|
+
const modalProps2 = omit$1(propsData, "visible");
|
|
9843
|
+
return createVNode(Modal$3, modalProps2, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
|
|
9843
9844
|
default: () => [_slot]
|
|
9844
9845
|
});
|
|
9845
9846
|
};
|
|
@@ -11545,7 +11546,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
11545
11546
|
]),
|
|
11546
11547
|
_: 2
|
|
11547
11548
|
}, 1040)),
|
|
11548
|
-
__props.divider && index2 < getActions.value.length - 1 ? (openBlock(), createBlock(unref(Divider$
|
|
11549
|
+
__props.divider && index2 < getActions.value.length - 1 ? (openBlock(), createBlock(unref(Divider$1), {
|
|
11549
11550
|
key: 2,
|
|
11550
11551
|
type: "vertical",
|
|
11551
11552
|
class: "action-divider"
|
|
@@ -12496,7 +12497,7 @@ componentMap$3.set("IconPicker", _sfc_main$1t);
|
|
|
12496
12497
|
componentMap$3.set("InputCountDown", CountdownInput);
|
|
12497
12498
|
componentMap$3.set("Table", Table$1);
|
|
12498
12499
|
componentMap$3.set("Tinymce", _sfc_main$1q);
|
|
12499
|
-
componentMap$3.set("Divider", Divider
|
|
12500
|
+
componentMap$3.set("Divider", Divider);
|
|
12500
12501
|
function add$1(compName, component) {
|
|
12501
12502
|
componentMap$3.set(compName, component);
|
|
12502
12503
|
}
|
|
@@ -12966,7 +12967,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
12966
12967
|
return createVNode(Col, {
|
|
12967
12968
|
"span": 24
|
|
12968
12969
|
}, {
|
|
12969
|
-
default: () => [createVNode(Divider
|
|
12970
|
+
default: () => [createVNode(Divider, unref(getComponentsProps), _isSlot$6(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
12970
12971
|
default: () => [_slot]
|
|
12971
12972
|
})]
|
|
12972
12973
|
});
|
|
@@ -14542,7 +14543,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
14542
14543
|
}, [
|
|
14543
14544
|
unref(slots).headerTitle ? renderSlot(_ctx.$slots, "headerTitle", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
14544
14545
|
createElementVNode("div", _hoisted_1$u, [
|
|
14545
|
-
!unref(slots).headerTitle && _ctx.title ? (openBlock(), createBlock(unref(
|
|
14546
|
+
!unref(slots).headerTitle && _ctx.title ? (openBlock(), createBlock(unref(BasicTitle$1), {
|
|
14546
14547
|
key: 0,
|
|
14547
14548
|
helpMessage: _ctx.helpMessage
|
|
14548
14549
|
}, {
|
|
@@ -14909,7 +14910,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
14909
14910
|
"key": label
|
|
14910
14911
|
}, {
|
|
14911
14912
|
default: () => [createVNode(ItemContent, contentProps, null)]
|
|
14912
|
-
}), divider ? createVNode(Divider$
|
|
14913
|
+
}), divider ? createVNode(Divider$1, {
|
|
14913
14914
|
"key": `d-${label}`
|
|
14914
14915
|
}, null) : null]);
|
|
14915
14916
|
}
|
|
@@ -17891,7 +17892,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
17891
17892
|
]),
|
|
17892
17893
|
_: 2
|
|
17893
17894
|
}, 1024),
|
|
17894
|
-
createVNode(unref(Divider$
|
|
17895
|
+
createVNode(unref(Divider$1), { type: "vertical" }),
|
|
17895
17896
|
createVNode(unref(Tooltip), {
|
|
17896
17897
|
placement: "bottomLeft",
|
|
17897
17898
|
mouseLeaveDelay: 0.4,
|
|
@@ -18225,8 +18226,8 @@ const _hoisted_5$4 = {
|
|
|
18225
18226
|
key: 0,
|
|
18226
18227
|
class: "shy-ui-advanced-search-item-value-range"
|
|
18227
18228
|
};
|
|
18228
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18229
|
-
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 = {
|
|
18230
18231
|
key: 1,
|
|
18231
18232
|
style: { "margin-left": "8px", "cursor": "pointer", "position": "relative" },
|
|
18232
18233
|
class: "shy-ui-advanced-minus-icon"
|
|
@@ -18484,7 +18485,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
18484
18485
|
]),
|
|
18485
18486
|
_: 2
|
|
18486
18487
|
}, 1024),
|
|
18487
|
-
_hoisted_6,
|
|
18488
|
+
_hoisted_6$1,
|
|
18488
18489
|
createVNode(unref(FormItem), null, {
|
|
18489
18490
|
default: withCtx(() => [
|
|
18490
18491
|
createVNode(unref(DatePicker$1), {
|
|
@@ -18533,7 +18534,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
18533
18534
|
]),
|
|
18534
18535
|
_: 2
|
|
18535
18536
|
}, 1024)) : createCommentVNode("", true),
|
|
18536
|
-
(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, [
|
|
18537
18538
|
createElementVNode("div", {
|
|
18538
18539
|
style: { "position": "absolute", "width": "14px", "height": "14px", "left": "0", "right": "0", "top": "0", "bottom": "0" },
|
|
18539
18540
|
class: "shy-basic-minus-icon",
|
|
@@ -20690,7 +20691,7 @@ const Description = /* @__PURE__ */ defineComponent({
|
|
|
20690
20691
|
return getProps.value.schema.map((item) => {
|
|
20691
20692
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
20692
20693
|
if ((item == null ? void 0 : item.component) === "Divider") {
|
|
20693
|
-
return createVNode(Divider$
|
|
20694
|
+
return createVNode(Divider$1, null, null);
|
|
20694
20695
|
} else if ((item == null ? void 0 : item.component) === "Group") {
|
|
20695
20696
|
return createVNode("div", {
|
|
20696
20697
|
"style": {
|
|
@@ -20914,7 +20915,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20914
20915
|
const DrawerFooter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$q]]);
|
|
20915
20916
|
const _sfc_main$F = defineComponent({
|
|
20916
20917
|
name: "BasicDrawerHeader",
|
|
20917
|
-
components: { BasicTitle:
|
|
20918
|
+
components: { BasicTitle: BasicTitle$1, ArrowLeftOutlined: ArrowLeftOutlined$1 },
|
|
20918
20919
|
props: {
|
|
20919
20920
|
isDetail: {
|
|
20920
20921
|
type: Boolean
|
|
@@ -25304,7 +25305,7 @@ const _sfc_main$u = defineComponent({
|
|
|
25304
25305
|
CheckboxGroup: Checkbox.Group,
|
|
25305
25306
|
DragOutlined: DragOutlined$1,
|
|
25306
25307
|
ScrollContainer: ScrollContainer$1,
|
|
25307
|
-
Divider: Divider$
|
|
25308
|
+
Divider: Divider$1,
|
|
25308
25309
|
Icon: Icon2
|
|
25309
25310
|
},
|
|
25310
25311
|
emits: ["columns-change"],
|
|
@@ -31917,7 +31918,7 @@ const DEFAULT_FILTER_FN = defaultFilterFn;
|
|
|
31917
31918
|
let DEFAULT_ALIGN = "left";
|
|
31918
31919
|
const INDEX_COLUMN_FLAG = "INDEX";
|
|
31919
31920
|
const ACTION_COLUMN_FLAG = "ACTION";
|
|
31920
|
-
const ACTION_COLUMN_WIDTH =
|
|
31921
|
+
const ACTION_COLUMN_WIDTH = 65;
|
|
31921
31922
|
const setConstConfig = (config) => {
|
|
31922
31923
|
DEFAULT_ALIGN = config.align;
|
|
31923
31924
|
};
|
|
@@ -33460,7 +33461,7 @@ ShyComponentMap.set("IconPicker", _sfc_main$1t);
|
|
|
33460
33461
|
ShyComponentMap.set("InputCountDown", CountdownInput);
|
|
33461
33462
|
ShyComponentMap.set("Table", Table);
|
|
33462
33463
|
ShyComponentMap.set("Tinymce", _sfc_main$e);
|
|
33463
|
-
ShyComponentMap.set("Divider",
|
|
33464
|
+
ShyComponentMap.set("Divider", BasicTitle$1);
|
|
33464
33465
|
ShyComponentMap.set("ColorPicker", ColorPickerPanel);
|
|
33465
33466
|
function add(compName, component) {
|
|
33466
33467
|
ShyComponentMap.set(compName, component);
|
|
@@ -33911,7 +33912,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33911
33912
|
return createVNode(Col, {
|
|
33912
33913
|
"span": 24
|
|
33913
33914
|
}, {
|
|
33914
|
-
default: () => [createVNode(
|
|
33915
|
+
default: () => [createVNode(BasicTitle$1, unref(getComponentsProps), _isSlot$3(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
33915
33916
|
default: () => [_slot]
|
|
33916
33917
|
})]
|
|
33917
33918
|
});
|
|
@@ -37358,7 +37359,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
|
|
|
37358
37359
|
"onClick": () => handleColumnFixed(item, "left")
|
|
37359
37360
|
}, null)],
|
|
37360
37361
|
title: () => createVNode("span", null, [createTextVNode("固定到左侧")])
|
|
37361
|
-
}), createVNode(Divider$
|
|
37362
|
+
}), createVNode(Divider$1, {
|
|
37362
37363
|
"type": "vertical"
|
|
37363
37364
|
}, null), createVNode(Tooltip, {
|
|
37364
37365
|
"placement": "bottomLeft",
|
|
@@ -37578,7 +37579,7 @@ const ShyTableHeader = /* @__PURE__ */ defineComponent({
|
|
|
37578
37579
|
"class": `${prefixCls2}-button`
|
|
37579
37580
|
}, [(_a2 = slots == null ? void 0 : slots.toolbar) == null ? void 0 : _a2.call(slots)])]), createVNode("div", {
|
|
37580
37581
|
"class": `${prefixCls2}-toolbar`
|
|
37581
|
-
}, [createVNode(Divider$
|
|
37582
|
+
}, [createVNode(Divider$1, {
|
|
37582
37583
|
"type": "vertical",
|
|
37583
37584
|
"class": "action-divider"
|
|
37584
37585
|
}, null), isShowSetting()])]);
|
|
@@ -39091,8 +39092,8 @@ const ShyTableAction = /* @__PURE__ */ defineComponent({
|
|
|
39091
39092
|
isInButton && e.stopPropagation();
|
|
39092
39093
|
};
|
|
39093
39094
|
const renderDivider = (index2, length2) => {
|
|
39094
|
-
const isShow = props2.divider && index2 < length2 && ["action"].includes(props2.type);
|
|
39095
|
-
return isShow ? createVNode(Divider$
|
|
39095
|
+
const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
|
|
39096
|
+
return isShow ? createVNode(Divider$1, {
|
|
39096
39097
|
"type": "vertical",
|
|
39097
39098
|
"class": "action-divider"
|
|
39098
39099
|
}, null) : null;
|
|
@@ -39431,7 +39432,7 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
|
|
|
39431
39432
|
BreadcrumbItem
|
|
39432
39433
|
},
|
|
39433
39434
|
props: shyContainerProps,
|
|
39434
|
-
emits: ["submit", "cancel", "save"],
|
|
39435
|
+
emits: ["submit", "cancel", "save", "route-change"],
|
|
39435
39436
|
setup(props2, {
|
|
39436
39437
|
slots,
|
|
39437
39438
|
emit
|
|
@@ -39503,7 +39504,8 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
|
|
|
39503
39504
|
}, _isSlot(_slot = props2.navBars.map((item) => {
|
|
39504
39505
|
return createVNode(BreadcrumbItem, null, {
|
|
39505
39506
|
default: () => [item.path ? createVNode(resolveComponent("router-link"), {
|
|
39506
|
-
"to": item.path
|
|
39507
|
+
"to": item.path,
|
|
39508
|
+
"onClick": () => emit("route-change", item)
|
|
39507
39509
|
}, {
|
|
39508
39510
|
default: () => [item.name]
|
|
39509
39511
|
}) : createVNode("span", null, [item.name])]
|
|
@@ -39531,8 +39533,13 @@ withInstall(ShyContainer);
|
|
|
39531
39533
|
const _hoisted_1 = { class: "process-wrapper" };
|
|
39532
39534
|
const _hoisted_2 = { class: "process-header text-[#1B1F24] text-14px" };
|
|
39533
39535
|
const _hoisted_3 = { class: "process-body" };
|
|
39534
|
-
const _hoisted_4 = {
|
|
39535
|
-
|
|
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 };
|
|
39536
39543
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
39537
39544
|
__name: "Process",
|
|
39538
39545
|
props: {
|
|
@@ -39574,60 +39581,59 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39574
39581
|
}
|
|
39575
39582
|
},
|
|
39576
39583
|
columns: {
|
|
39584
|
+
type: Array,
|
|
39577
39585
|
default: () => [
|
|
39578
|
-
{
|
|
39579
|
-
|
|
39580
|
-
|
|
39581
|
-
{
|
|
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
|
+
}
|
|
39582
39601
|
]
|
|
39583
39602
|
}
|
|
39584
39603
|
},
|
|
39585
39604
|
setup(__props) {
|
|
39586
39605
|
const props2 = __props;
|
|
39587
|
-
const getStyle = (index2) => {
|
|
39588
|
-
if (index2 === 0) {
|
|
39589
|
-
return {
|
|
39590
|
-
fontFamily: "PingFangSC, PingFang SC",
|
|
39591
|
-
fontWeight: 500,
|
|
39592
|
-
fontSize: "14px",
|
|
39593
|
-
color: "#1B1F24",
|
|
39594
|
-
lineHeight: "20px",
|
|
39595
|
-
textAlign: "left",
|
|
39596
|
-
fontStyle: "normal"
|
|
39597
|
-
};
|
|
39598
|
-
} else {
|
|
39599
|
-
return {
|
|
39600
|
-
fontWeight: 400,
|
|
39601
|
-
fontSize: "12px",
|
|
39602
|
-
color: "#1B1F24",
|
|
39603
|
-
lineHeight: "16px",
|
|
39604
|
-
textAlign: "left",
|
|
39605
|
-
fontStyle: "normal"
|
|
39606
|
-
};
|
|
39607
|
-
}
|
|
39608
|
-
};
|
|
39609
39606
|
return (_ctx, _cache) => {
|
|
39610
39607
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
39611
|
-
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
|
+
]),
|
|
39612
39616
|
createElementVNode("div", _hoisted_3, [
|
|
39613
39617
|
createVNode(unref(Timeline), null, {
|
|
39614
39618
|
default: withCtx(() => [
|
|
39615
39619
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.data, (item, index2) => {
|
|
39616
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
|
+
]),
|
|
39617
39626
|
default: withCtx(() => [
|
|
39618
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.columns, ({ key: key2, label, customRender },
|
|
39619
|
-
return openBlock(), createElementBlock(Fragment, { key:
|
|
39620
|
-
item[key2] ? (openBlock(), createElementBlock("div",
|
|
39621
|
-
|
|
39622
|
-
|
|
39623
|
-
|
|
39624
|
-
|
|
39625
|
-
|
|
39626
|
-
createElementVNode("span", null, toDisplayString(customRender ? customRender(item) : item[key2]), 1)
|
|
39627
|
-
], 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)
|
|
39628
39635
|
], 64);
|
|
39629
|
-
}), 128))
|
|
39630
|
-
createElementVNode("div", _hoisted_5, toDisplayString(item.createTime), 1)
|
|
39636
|
+
}), 128))
|
|
39631
39637
|
]),
|
|
39632
39638
|
_: 2
|
|
39633
39639
|
}, 1024);
|
|
@@ -39640,8 +39646,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39640
39646
|
};
|
|
39641
39647
|
}
|
|
39642
39648
|
});
|
|
39643
|
-
const
|
|
39644
|
-
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"]]);
|
|
39645
39651
|
export {
|
|
39646
39652
|
_sfc_main$T as AdvancedSearch,
|
|
39647
39653
|
ApiCascader$1 as ApiCascader,
|
|
@@ -39662,7 +39668,7 @@ export {
|
|
|
39662
39668
|
BasicModal,
|
|
39663
39669
|
BasicResizeWrapper,
|
|
39664
39670
|
BasicTable,
|
|
39665
|
-
|
|
39671
|
+
BasicTitle$1 as BasicTitle,
|
|
39666
39672
|
_sfc_main$13 as BasicTree,
|
|
39667
39673
|
Button,
|
|
39668
39674
|
_sfc_main$z as ClickOutSide,
|
package/es/style.css
CHANGED
|
@@ -965,26 +965,23 @@ input:focus.ant-input {
|
|
|
965
965
|
border: solid 2px transparent;
|
|
966
966
|
background: transparent;
|
|
967
967
|
}
|
|
968
|
-
:is(.ant-table-thead) .ant-table-selection-column::before {
|
|
969
|
-
content: unset !important;
|
|
970
|
-
}
|
|
971
968
|
:is(.ant-table-thead) .ant-table-cell:nth-last-child(2)::before {
|
|
972
969
|
content: unset !important;
|
|
973
970
|
}
|
|
974
971
|
:is(.ant-table-thead) .ant-table-cell-scrollbar.ant-table-cell-scrollbar {
|
|
975
972
|
box-shadow: unset;
|
|
976
973
|
}
|
|
977
|
-
.ant-table-cell-fix-right-first {
|
|
978
|
-
border-left: 1px solid var(--gray-3);
|
|
979
|
-
}
|
|
980
|
-
.ant-table-cell-fix-left-last {
|
|
981
|
-
border-right: 1px solid var(--gray-3);
|
|
982
|
-
}
|
|
983
974
|
.ant-table-wrapper .ant-table-ping-right .ant-table-cell-fix-right-last::after {
|
|
984
975
|
box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
|
|
985
976
|
}
|
|
986
977
|
.ant-table-wrapper .ant-table-ping-left .ant-table-cell-fix-left-last::after {
|
|
987
978
|
box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
|
|
979
|
+
}
|
|
980
|
+
.ant-table-body {
|
|
981
|
+
overflow: auto auto !important;
|
|
982
|
+
}
|
|
983
|
+
.ant-table-cell-fix-right-first {
|
|
984
|
+
right: 0 !important;
|
|
988
985
|
}.shy-strength-meter-bar[data-v-c8d77eaa] {
|
|
989
986
|
position: relative;
|
|
990
987
|
margin: 10px auto 6px;
|
|
@@ -8915,7 +8912,7 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
8915
8912
|
margin: auto !important;
|
|
8916
8913
|
}
|
|
8917
8914
|
.shy-ant-table-action .ant-divider, .shy-ant-table-action .ant-divider-vertical {
|
|
8918
|
-
margin: 0
|
|
8915
|
+
margin: 0 1px;
|
|
8919
8916
|
}
|
|
8920
8917
|
.shy-ant-table-action .icon-more {
|
|
8921
8918
|
transform: rotate(90deg);
|
|
@@ -8924,6 +8921,9 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
8924
8921
|
font-size: 1.1em;
|
|
8925
8922
|
font-weight: 700;
|
|
8926
8923
|
}
|
|
8924
|
+
.shy-ant-table-action .ant-btn-link {
|
|
8925
|
+
padding-left: 0;
|
|
8926
|
+
}
|
|
8927
8927
|
.shy-ant-table-action-footer-more-btn {
|
|
8928
8928
|
display: flex;
|
|
8929
8929
|
gap: 16px;
|
|
@@ -9028,33 +9028,55 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
9028
9028
|
}
|
|
9029
9029
|
.shy-container-footer-cancel-right {
|
|
9030
9030
|
flex-direction: row-reverse;
|
|
9031
|
-
}.process-wrapper[data-v-
|
|
9031
|
+
}.process-wrapper[data-v-5c48c981] {
|
|
9032
|
+
position: relative;
|
|
9033
|
+
display: flex;
|
|
9034
|
+
flex-direction: column;
|
|
9035
|
+
padding-bottom: 8px;
|
|
9036
|
+
padding-left: 8px;
|
|
9037
|
+
padding-right: 2px;
|
|
9032
9038
|
width: 288px;
|
|
9033
9039
|
height: 100%;
|
|
9034
|
-
|
|
9035
|
-
border-radius:
|
|
9036
|
-
border: 1px solid
|
|
9037
|
-
|
|
9038
|
-
|
|
9040
|
+
overflow: hidden;
|
|
9041
|
+
border-radius: 4px;
|
|
9042
|
+
border: 1px solid var(--gray-3);
|
|
9043
|
+
background: var(--gray-0);
|
|
9044
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04), 0px 1px 1px 0px rgba(0, 0, 0, 0.02);
|
|
9045
|
+
z-index: 100;
|
|
9039
9046
|
}
|
|
9040
|
-
.process-header[data-v-
|
|
9041
|
-
line-height: 32px;
|
|
9047
|
+
.process-wrapper .process-header[data-v-5c48c981] {
|
|
9042
9048
|
font-family: PingFangSC, PingFang SC;
|
|
9043
9049
|
font-weight: 500;
|
|
9044
|
-
font-size: 14px;
|
|
9045
9050
|
color: #1b1f24;
|
|
9046
|
-
line-height: 20px;
|
|
9047
9051
|
text-align: left;
|
|
9048
9052
|
font-style: normal;
|
|
9049
9053
|
}
|
|
9050
|
-
.process-body[data-v-
|
|
9051
|
-
padding-top:
|
|
9054
|
+
.process-wrapper .process-body[data-v-5c48c981] {
|
|
9055
|
+
padding-top: 4px;
|
|
9056
|
+
padding-left: 10px;
|
|
9057
|
+
overflow-y: auto;
|
|
9052
9058
|
}
|
|
9053
|
-
.process-
|
|
9054
|
-
|
|
9055
|
-
|
|
9059
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar {
|
|
9060
|
+
position: absolute;
|
|
9061
|
+
height: 10px;
|
|
9062
|
+
width: 10px;
|
|
9056
9063
|
}
|
|
9057
|
-
.process-
|
|
9064
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-thumb {
|
|
9065
|
+
box-shadow: inset 0 0 10px 10px var(--gray-2);
|
|
9066
|
+
border: solid 2px transparent;
|
|
9067
|
+
background-color: transparent;
|
|
9068
|
+
border-radius: 10px;
|
|
9069
|
+
}
|
|
9070
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-thumb:active, .process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-thumb:hover {
|
|
9071
|
+
box-shadow: inset 0 0 10px 10px var(--gray-3);
|
|
9072
|
+
background-color: transparent;
|
|
9073
|
+
}
|
|
9074
|
+
.process-wrapper .process-body[data-v-5c48c981]::-webkit-scrollbar-track {
|
|
9075
|
+
border-radius: 10px;
|
|
9076
|
+
border: solid 2px transparent;
|
|
9077
|
+
background: transparent;
|
|
9078
|
+
}
|
|
9079
|
+
.process-wrapper .process-body .process-item[data-v-5c48c981] {
|
|
9058
9080
|
font-family: PingFangSC, PingFang SC;
|
|
9059
9081
|
font-weight: 400;
|
|
9060
9082
|
font-size: 12px;
|
|
@@ -9062,5 +9084,36 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
|
|
|
9062
9084
|
line-height: 16px;
|
|
9063
9085
|
text-align: left;
|
|
9064
9086
|
font-style: normal;
|
|
9065
|
-
padding:
|
|
9087
|
+
padding: 2px 0;
|
|
9088
|
+
}
|
|
9089
|
+
.process-wrapper .process-body .process-item[data-v-5c48c981]:nth-child(1) {
|
|
9090
|
+
padding: 3px 0;
|
|
9091
|
+
font-size: 14px;
|
|
9092
|
+
}
|
|
9093
|
+
.process-wrapper .process-body .process-item[data-v-5c48c981]:nth-last-child(1) {
|
|
9094
|
+
font-family: unset;
|
|
9095
|
+
color: var(--gray-4);
|
|
9096
|
+
}
|
|
9097
|
+
.process-wrapper .process-body .process-dot[data-v-5c48c981] {
|
|
9098
|
+
width: 12px;
|
|
9099
|
+
height: 12px;
|
|
9100
|
+
border-radius: 12px;
|
|
9101
|
+
border: 1px solid var(--gray-3);
|
|
9102
|
+
}
|
|
9103
|
+
.process-wrapper .process-body .process-dot[data-v-5c48c981]::before {
|
|
9104
|
+
content: '';
|
|
9105
|
+
width: 6px;
|
|
9106
|
+
height: 6px;
|
|
9107
|
+
border-radius: 6px;
|
|
9108
|
+
background: var(--gray-3);
|
|
9109
|
+
position: absolute;
|
|
9110
|
+
top: 50%;
|
|
9111
|
+
left: 50%;
|
|
9112
|
+
transform: translate(-50%, -50%);
|
|
9113
|
+
}
|
|
9114
|
+
.process-wrapper .process-body .process-dot-last[data-v-5c48c981] {
|
|
9115
|
+
border: 1px solid var(--primary-5);
|
|
9116
|
+
}
|
|
9117
|
+
.process-wrapper .process-body .process-dot-last[data-v-5c48c981]::before {
|
|
9118
|
+
background: var(--primary-5);
|
|
9066
9119
|
}
|
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
|
|
@@ -9863,7 +9863,8 @@ const Modal$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
9863
9863
|
...props2,
|
|
9864
9864
|
onCancel
|
|
9865
9865
|
};
|
|
9866
|
-
|
|
9866
|
+
const modalProps2 = omit$1(propsData, "visible");
|
|
9867
|
+
return vue.createVNode(antDesignVue.Modal, modalProps2, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
|
|
9867
9868
|
default: () => [_slot]
|
|
9868
9869
|
});
|
|
9869
9870
|
};
|
|
@@ -12520,7 +12521,7 @@ componentMap$3.set("IconPicker", _sfc_main$1t);
|
|
|
12520
12521
|
componentMap$3.set("InputCountDown", CountdownInput);
|
|
12521
12522
|
componentMap$3.set("Table", Table$1);
|
|
12522
12523
|
componentMap$3.set("Tinymce", _sfc_main$1q);
|
|
12523
|
-
componentMap$3.set("Divider", Divider
|
|
12524
|
+
componentMap$3.set("Divider", Divider);
|
|
12524
12525
|
function add$1(compName, component) {
|
|
12525
12526
|
componentMap$3.set(compName, component);
|
|
12526
12527
|
}
|
|
@@ -12990,7 +12991,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12990
12991
|
return vue.createVNode(antDesignVue.Col, {
|
|
12991
12992
|
"span": 24
|
|
12992
12993
|
}, {
|
|
12993
|
-
default: () => [vue.createVNode(Divider
|
|
12994
|
+
default: () => [vue.createVNode(Divider, vue.unref(getComponentsProps), _isSlot$6(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
12994
12995
|
default: () => [_slot]
|
|
12995
12996
|
})]
|
|
12996
12997
|
});
|
|
@@ -14566,7 +14567,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
14566
14567
|
}, [
|
|
14567
14568
|
vue.unref(slots).headerTitle ? vue.renderSlot(_ctx.$slots, "headerTitle", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
14568
14569
|
vue.createElementVNode("div", _hoisted_1$u, [
|
|
14569
|
-
!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), {
|
|
14570
14571
|
key: 0,
|
|
14571
14572
|
helpMessage: _ctx.helpMessage
|
|
14572
14573
|
}, {
|
|
@@ -18249,8 +18250,8 @@ const _hoisted_5$4 = {
|
|
|
18249
18250
|
key: 0,
|
|
18250
18251
|
class: "shy-ui-advanced-search-item-value-range"
|
|
18251
18252
|
};
|
|
18252
|
-
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "flex": "0", "width": "40px", "margin-right": "8px" } }, " 至 ", -1);
|
|
18253
|
-
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 = {
|
|
18254
18255
|
key: 1,
|
|
18255
18256
|
style: { "margin-left": "8px", "cursor": "pointer", "position": "relative" },
|
|
18256
18257
|
class: "shy-ui-advanced-minus-icon"
|
|
@@ -18508,7 +18509,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
18508
18509
|
]),
|
|
18509
18510
|
_: 2
|
|
18510
18511
|
}, 1024),
|
|
18511
|
-
_hoisted_6,
|
|
18512
|
+
_hoisted_6$1,
|
|
18512
18513
|
vue.createVNode(vue.unref(antDesignVue.FormItem), null, {
|
|
18513
18514
|
default: vue.withCtx(() => [
|
|
18514
18515
|
vue.createVNode(vue.unref(antDesignVue.DatePicker), {
|
|
@@ -18557,7 +18558,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
18557
18558
|
]),
|
|
18558
18559
|
_: 2
|
|
18559
18560
|
}, 1024)) : vue.createCommentVNode("", true),
|
|
18560
|
-
(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, [
|
|
18561
18562
|
vue.createElementVNode("div", {
|
|
18562
18563
|
style: { "position": "absolute", "width": "14px", "height": "14px", "left": "0", "right": "0", "top": "0", "bottom": "0" },
|
|
18563
18564
|
class: "shy-basic-minus-icon",
|
|
@@ -20938,7 +20939,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20938
20939
|
const DrawerFooter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$q]]);
|
|
20939
20940
|
const _sfc_main$F = vue.defineComponent({
|
|
20940
20941
|
name: "BasicDrawerHeader",
|
|
20941
|
-
components: { BasicTitle:
|
|
20942
|
+
components: { BasicTitle: BasicTitle$1, ArrowLeftOutlined: ArrowLeftOutlined$1 },
|
|
20942
20943
|
props: {
|
|
20943
20944
|
isDetail: {
|
|
20944
20945
|
type: Boolean
|
|
@@ -31941,7 +31942,7 @@ const DEFAULT_FILTER_FN = defaultFilterFn;
|
|
|
31941
31942
|
let DEFAULT_ALIGN = "left";
|
|
31942
31943
|
const INDEX_COLUMN_FLAG = "INDEX";
|
|
31943
31944
|
const ACTION_COLUMN_FLAG = "ACTION";
|
|
31944
|
-
const ACTION_COLUMN_WIDTH =
|
|
31945
|
+
const ACTION_COLUMN_WIDTH = 65;
|
|
31945
31946
|
const setConstConfig = (config) => {
|
|
31946
31947
|
DEFAULT_ALIGN = config.align;
|
|
31947
31948
|
};
|
|
@@ -33484,7 +33485,7 @@ ShyComponentMap.set("IconPicker", _sfc_main$1t);
|
|
|
33484
33485
|
ShyComponentMap.set("InputCountDown", CountdownInput);
|
|
33485
33486
|
ShyComponentMap.set("Table", Table);
|
|
33486
33487
|
ShyComponentMap.set("Tinymce", _sfc_main$e);
|
|
33487
|
-
ShyComponentMap.set("Divider",
|
|
33488
|
+
ShyComponentMap.set("Divider", BasicTitle$1);
|
|
33488
33489
|
ShyComponentMap.set("ColorPicker", ColorPickerPanel);
|
|
33489
33490
|
function add(compName, component) {
|
|
33490
33491
|
ShyComponentMap.set(compName, component);
|
|
@@ -33935,7 +33936,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33935
33936
|
return vue.createVNode(antDesignVue.Col, {
|
|
33936
33937
|
"span": 24
|
|
33937
33938
|
}, {
|
|
33938
|
-
default: () => [vue.createVNode(
|
|
33939
|
+
default: () => [vue.createVNode(BasicTitle$1, vue.unref(getComponentsProps), _isSlot$3(_slot = renderLabelHelpMessage()) ? _slot : {
|
|
33939
33940
|
default: () => [_slot]
|
|
33940
33941
|
})]
|
|
33941
33942
|
});
|
|
@@ -39115,7 +39116,7 @@ const ShyTableAction = /* @__PURE__ */ vue.defineComponent({
|
|
|
39115
39116
|
isInButton && e.stopPropagation();
|
|
39116
39117
|
};
|
|
39117
39118
|
const renderDivider = (index2, length2) => {
|
|
39118
|
-
const isShow = props2.divider && index2 < length2 && ["action"].includes(props2.type);
|
|
39119
|
+
const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
|
|
39119
39120
|
return isShow ? vue.createVNode(antDesignVue.Divider, {
|
|
39120
39121
|
"type": "vertical",
|
|
39121
39122
|
"class": "action-divider"
|
|
@@ -39455,7 +39456,7 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
39455
39456
|
BreadcrumbItem
|
|
39456
39457
|
},
|
|
39457
39458
|
props: shyContainerProps,
|
|
39458
|
-
emits: ["submit", "cancel", "save"],
|
|
39459
|
+
emits: ["submit", "cancel", "save", "route-change"],
|
|
39459
39460
|
setup(props2, {
|
|
39460
39461
|
slots,
|
|
39461
39462
|
emit
|
|
@@ -39527,7 +39528,8 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
39527
39528
|
}, _isSlot(_slot = props2.navBars.map((item) => {
|
|
39528
39529
|
return vue.createVNode(BreadcrumbItem, null, {
|
|
39529
39530
|
default: () => [item.path ? vue.createVNode(vue.resolveComponent("router-link"), {
|
|
39530
|
-
"to": item.path
|
|
39531
|
+
"to": item.path,
|
|
39532
|
+
"onClick": () => emit("route-change", item)
|
|
39531
39533
|
}, {
|
|
39532
39534
|
default: () => [item.name]
|
|
39533
39535
|
}) : vue.createVNode("span", null, [item.name])]
|
|
@@ -39555,8 +39557,13 @@ withInstall(ShyContainer);
|
|
|
39555
39557
|
const _hoisted_1 = { class: "process-wrapper" };
|
|
39556
39558
|
const _hoisted_2 = { class: "process-header text-[#1B1F24] text-14px" };
|
|
39557
39559
|
const _hoisted_3 = { class: "process-body" };
|
|
39558
|
-
const _hoisted_4 = {
|
|
39559
|
-
|
|
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 };
|
|
39560
39567
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
39561
39568
|
__name: "Process",
|
|
39562
39569
|
props: {
|
|
@@ -39598,60 +39605,59 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39598
39605
|
}
|
|
39599
39606
|
},
|
|
39600
39607
|
columns: {
|
|
39608
|
+
type: Array,
|
|
39601
39609
|
default: () => [
|
|
39602
|
-
{
|
|
39603
|
-
|
|
39604
|
-
|
|
39605
|
-
{
|
|
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
|
+
}
|
|
39606
39625
|
]
|
|
39607
39626
|
}
|
|
39608
39627
|
},
|
|
39609
39628
|
setup(__props) {
|
|
39610
39629
|
const props2 = __props;
|
|
39611
|
-
const getStyle = (index2) => {
|
|
39612
|
-
if (index2 === 0) {
|
|
39613
|
-
return {
|
|
39614
|
-
fontFamily: "PingFangSC, PingFang SC",
|
|
39615
|
-
fontWeight: 500,
|
|
39616
|
-
fontSize: "14px",
|
|
39617
|
-
color: "#1B1F24",
|
|
39618
|
-
lineHeight: "20px",
|
|
39619
|
-
textAlign: "left",
|
|
39620
|
-
fontStyle: "normal"
|
|
39621
|
-
};
|
|
39622
|
-
} else {
|
|
39623
|
-
return {
|
|
39624
|
-
fontWeight: 400,
|
|
39625
|
-
fontSize: "12px",
|
|
39626
|
-
color: "#1B1F24",
|
|
39627
|
-
lineHeight: "16px",
|
|
39628
|
-
textAlign: "left",
|
|
39629
|
-
fontStyle: "normal"
|
|
39630
|
-
};
|
|
39631
|
-
}
|
|
39632
|
-
};
|
|
39633
39630
|
return (_ctx, _cache) => {
|
|
39634
39631
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
39635
|
-
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
|
+
]),
|
|
39636
39640
|
vue.createElementVNode("div", _hoisted_3, [
|
|
39637
39641
|
vue.createVNode(vue.unref(antDesignVue.Timeline), null, {
|
|
39638
39642
|
default: vue.withCtx(() => [
|
|
39639
39643
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.data, (item, index2) => {
|
|
39640
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
|
+
]),
|
|
39641
39650
|
default: vue.withCtx(() => [
|
|
39642
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props2.columns, ({ key: key2, label, customRender },
|
|
39643
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
39644
|
-
item[key2] ? (vue.openBlock(), vue.createElementBlock("div",
|
|
39645
|
-
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
|
|
39649
|
-
|
|
39650
|
-
vue.createElementVNode("span", null, vue.toDisplayString(customRender ? customRender(item) : item[key2]), 1)
|
|
39651
|
-
], 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)
|
|
39652
39659
|
], 64);
|
|
39653
|
-
}), 128))
|
|
39654
|
-
vue.createElementVNode("div", _hoisted_5, vue.toDisplayString(item.createTime), 1)
|
|
39660
|
+
}), 128))
|
|
39655
39661
|
]),
|
|
39656
39662
|
_: 2
|
|
39657
39663
|
}, 1024);
|
|
@@ -39664,8 +39670,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39664
39670
|
};
|
|
39665
39671
|
}
|
|
39666
39672
|
});
|
|
39667
|
-
const
|
|
39668
|
-
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"]]);
|
|
39669
39675
|
exports.AdvancedSearch = _sfc_main$T;
|
|
39670
39676
|
exports.ApiCascader = ApiCascader$1;
|
|
39671
39677
|
exports.ApiModalSelect = ApiModalSelect$1;
|
|
@@ -39685,7 +39691,7 @@ exports.BasicLabel = BasicLabel;
|
|
|
39685
39691
|
exports.BasicModal = BasicModal;
|
|
39686
39692
|
exports.BasicResizeWrapper = BasicResizeWrapper;
|
|
39687
39693
|
exports.BasicTable = BasicTable;
|
|
39688
|
-
exports.BasicTitle =
|
|
39694
|
+
exports.BasicTitle = BasicTitle$1;
|
|
39689
39695
|
exports.BasicTree = _sfc_main$13;
|
|
39690
39696
|
exports.Button = Button;
|
|
39691
39697
|
exports.ClickOutSide = _sfc_main$z;
|