@yugu-ui/flow-ui 0.1.8 → 0.1.10
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.
|
@@ -4,6 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
data?: Record<string, any> | null;
|
|
5
5
|
publishing?: boolean;
|
|
6
6
|
isExternal?: number;
|
|
7
|
+
/** 是否隐藏「字段配置」页签(true=不渲染该 tab,fields 数据仍随 publish 输出) */
|
|
8
|
+
hideFields?: boolean;
|
|
7
9
|
};
|
|
8
10
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
11
|
formChange: (data: any) => any;
|
|
@@ -29,6 +31,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
29
31
|
flowName: string;
|
|
30
32
|
activeTab: "form" | "flow" | "more";
|
|
31
33
|
publishing: boolean;
|
|
34
|
+
hideFields: boolean;
|
|
32
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
36
|
declare const _default: typeof __VLS_export;
|
|
34
37
|
export default _default;
|
|
@@ -6,6 +6,8 @@ interface Props {
|
|
|
6
6
|
showActions?: boolean;
|
|
7
7
|
/** 卡片整体是否可点击(点击触发 itemClick),默认不可点击 */
|
|
8
8
|
clickable?: boolean;
|
|
9
|
+
/** 是否显示「编辑」按钮(配置按钮不受影响),默认显示 */
|
|
10
|
+
showEdit?: boolean;
|
|
9
11
|
}
|
|
10
12
|
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
13
|
itemClick: (item: FlowItem) => any;
|
|
@@ -16,6 +18,7 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
16
18
|
}>, {
|
|
17
19
|
showActions: boolean;
|
|
18
20
|
clickable: boolean;
|
|
21
|
+
showEdit: boolean;
|
|
19
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
23
|
declare const _default: typeof __VLS_export;
|
|
21
24
|
export default _default;
|
|
@@ -6,6 +6,8 @@ type __VLS_Props = {
|
|
|
6
6
|
showActions?: boolean;
|
|
7
7
|
/** 卡片整体是否可点击(点击触发 itemClick),默认不可点击 */
|
|
8
8
|
clickable?: boolean;
|
|
9
|
+
/** 是否显示「编辑」按钮(配置按钮不受影响),默认显示 */
|
|
10
|
+
showEdit?: boolean;
|
|
9
11
|
};
|
|
10
12
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
13
|
itemClick: (item: FlowItem) => any;
|
|
@@ -16,6 +18,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
16
18
|
}>, {
|
|
17
19
|
showActions: boolean;
|
|
18
20
|
clickable: boolean;
|
|
21
|
+
showEdit: boolean;
|
|
19
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
23
|
declare const _default: typeof __VLS_export;
|
|
21
24
|
export default _default;
|
|
@@ -6,6 +6,8 @@ type __VLS_Props = {
|
|
|
6
6
|
showActions?: boolean;
|
|
7
7
|
/** 卡片整体是否可点击(点击触发 itemClick),默认不可点击 */
|
|
8
8
|
clickable?: boolean;
|
|
9
|
+
/** 是否显示「编辑」按钮(配置按钮不受影响),默认显示 */
|
|
10
|
+
showEdit?: boolean;
|
|
9
11
|
};
|
|
10
12
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
13
|
itemClick: (item: FlowItem) => any;
|
|
@@ -16,6 +18,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
16
18
|
}>, {
|
|
17
19
|
showActions: boolean;
|
|
18
20
|
clickable: boolean;
|
|
21
|
+
showEdit: boolean;
|
|
19
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
23
|
declare const _default: typeof __VLS_export;
|
|
21
24
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -4708,7 +4708,6 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4708
4708
|
return (_ctx, _cache) => {
|
|
4709
4709
|
const _component_NFormItem = NFormItem;
|
|
4710
4710
|
const _component_NInputNumber = NInputNumber;
|
|
4711
|
-
const _component_NSwitch = NSwitch;
|
|
4712
4711
|
const _component_NInput = NInput;
|
|
4713
4712
|
const _component_NForm = NForm;
|
|
4714
4713
|
return openBlock(), createElementBlock("div", _hoisted_1$11, [createVNode(_component_NForm, {
|
|
@@ -4740,40 +4739,10 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4740
4739
|
}, null, 8, ["value"])]),
|
|
4741
4740
|
_: 1
|
|
4742
4741
|
}),
|
|
4743
|
-
createVNode(_component_NFormItem, { label: "允许撤回" }, {
|
|
4744
|
-
default: withCtx(() => [createVNode(_component_NSwitch, {
|
|
4745
|
-
value: settings.value.allowWithdraw,
|
|
4746
|
-
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => settings.value.allowWithdraw = $event)
|
|
4747
|
-
}, null, 8, ["value"])]),
|
|
4748
|
-
_: 1
|
|
4749
|
-
}),
|
|
4750
|
-
createVNode(_component_NFormItem, { label: "允许催办" }, {
|
|
4751
|
-
default: withCtx(() => [createVNode(_component_NSwitch, {
|
|
4752
|
-
value: settings.value.allowUrge,
|
|
4753
|
-
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => settings.value.allowUrge = $event)
|
|
4754
|
-
}, null, 8, ["value"])]),
|
|
4755
|
-
_: 1
|
|
4756
|
-
}),
|
|
4757
|
-
createVNode(_component_NFormItem, { label: "审批超时(小时)" }, {
|
|
4758
|
-
default: withCtx(() => [createVNode(_component_NInputNumber, {
|
|
4759
|
-
value: settings.value.timeout,
|
|
4760
|
-
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => settings.value.timeout = $event),
|
|
4761
|
-
min: 0,
|
|
4762
|
-
placeholder: "0为不限制"
|
|
4763
|
-
}, null, 8, ["value"])]),
|
|
4764
|
-
_: 1
|
|
4765
|
-
}),
|
|
4766
|
-
createVNode(_component_NFormItem, { label: "超时自动通过" }, {
|
|
4767
|
-
default: withCtx(() => [createVNode(_component_NSwitch, {
|
|
4768
|
-
value: settings.value.autoPass,
|
|
4769
|
-
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => settings.value.autoPass = $event)
|
|
4770
|
-
}, null, 8, ["value"])]),
|
|
4771
|
-
_: 1
|
|
4772
|
-
}),
|
|
4773
4742
|
createVNode(_component_NFormItem, { label: "备注" }, {
|
|
4774
4743
|
default: withCtx(() => [createVNode(_component_NInput, {
|
|
4775
4744
|
value: settings.value.remark,
|
|
4776
|
-
"onUpdate:value": _cache[
|
|
4745
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => settings.value.remark = $event),
|
|
4777
4746
|
type: "textarea",
|
|
4778
4747
|
placeholder: "请输入备注信息",
|
|
4779
4748
|
autosize: {
|
|
@@ -4788,7 +4757,7 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4788
4757
|
}, 8, ["model"])]);
|
|
4789
4758
|
};
|
|
4790
4759
|
}
|
|
4791
|
-
}), [["__scopeId", "data-v-
|
|
4760
|
+
}), [["__scopeId", "data-v-b4e7caf8"]]);
|
|
4792
4761
|
//#endregion
|
|
4793
4762
|
//#region src/config/FlowConfig.vue?vue&type=script&setup=true&lang.ts
|
|
4794
4763
|
var _hoisted_1$10 = { class: "flow-config__header" };
|
|
@@ -4807,7 +4776,11 @@ var FlowConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @_
|
|
|
4807
4776
|
type: Boolean,
|
|
4808
4777
|
default: false
|
|
4809
4778
|
},
|
|
4810
|
-
isExternal: { default: 0 }
|
|
4779
|
+
isExternal: { default: 0 },
|
|
4780
|
+
hideFields: {
|
|
4781
|
+
type: Boolean,
|
|
4782
|
+
default: false
|
|
4783
|
+
}
|
|
4811
4784
|
},
|
|
4812
4785
|
emits: [
|
|
4813
4786
|
"formChange",
|
|
@@ -4819,13 +4792,14 @@ var FlowConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @_
|
|
|
4819
4792
|
const props = __props;
|
|
4820
4793
|
const emit = __emit;
|
|
4821
4794
|
const cssVars = useFcCssVars();
|
|
4822
|
-
const
|
|
4795
|
+
const tabToStep = {
|
|
4823
4796
|
form: 1,
|
|
4824
4797
|
flow: 2,
|
|
4825
4798
|
more: 3
|
|
4826
|
-
}
|
|
4799
|
+
};
|
|
4800
|
+
const currentStep = ref(props.hideFields && (tabToStep[props.activeTab] ?? 1) === 1 ? 2 : tabToStep[props.activeTab] ?? 1);
|
|
4827
4801
|
/** tab 配置(v-for 渲染,value 即步骤序号) */
|
|
4828
|
-
const steps = [
|
|
4802
|
+
const steps = computed(() => [
|
|
4829
4803
|
{
|
|
4830
4804
|
value: 1,
|
|
4831
4805
|
label: "字段配置"
|
|
@@ -4838,7 +4812,10 @@ var FlowConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @_
|
|
|
4838
4812
|
value: 3,
|
|
4839
4813
|
label: "更多设置"
|
|
4840
4814
|
}
|
|
4841
|
-
];
|
|
4815
|
+
].filter((step) => !(props.hideFields && step.value === 1)));
|
|
4816
|
+
watch(() => props.hideFields, (v) => {
|
|
4817
|
+
if (v && currentStep.value === 1) currentStep.value = 2;
|
|
4818
|
+
});
|
|
4842
4819
|
const formData = ref({});
|
|
4843
4820
|
const fieldData = ref({});
|
|
4844
4821
|
const flowData = ref({});
|
|
@@ -4881,11 +4858,11 @@ var FlowConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @_
|
|
|
4881
4858
|
validating.value = true;
|
|
4882
4859
|
try {
|
|
4883
4860
|
const failed = [
|
|
4884
|
-
{
|
|
4861
|
+
...props.hideFields ? [] : [{
|
|
4885
4862
|
step: 1,
|
|
4886
4863
|
tip: "【字段配置】存在未填写项",
|
|
4887
4864
|
errors: fieldRef.value?.validate?.() || []
|
|
4888
|
-
},
|
|
4865
|
+
}],
|
|
4889
4866
|
{
|
|
4890
4867
|
step: 2,
|
|
4891
4868
|
tip: "【流程设计】条件未配置完整",
|
|
@@ -4936,15 +4913,15 @@ var FlowConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @_
|
|
|
4936
4913
|
type: "segment",
|
|
4937
4914
|
class: "flow-config__tabs"
|
|
4938
4915
|
}, {
|
|
4939
|
-
default: withCtx(() => [(openBlock(), createElementBlock(Fragment, null, renderList(steps, (step) => {
|
|
4940
|
-
return
|
|
4916
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(steps.value, (step) => {
|
|
4917
|
+
return openBlock(), createBlock(_component_NTab, {
|
|
4941
4918
|
key: step.value,
|
|
4942
4919
|
name: step.value
|
|
4943
4920
|
}, {
|
|
4944
4921
|
default: withCtx(() => [createTextVNode(toDisplayString(step.label), 1)]),
|
|
4945
4922
|
_: 2
|
|
4946
4923
|
}, 1032, ["name"]);
|
|
4947
|
-
}),
|
|
4924
|
+
}), 128))]),
|
|
4948
4925
|
_: 1
|
|
4949
4926
|
}, 8, ["value"]),
|
|
4950
4927
|
createVNode(_component_NButton, {
|
|
@@ -4992,7 +4969,7 @@ var FlowConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @_
|
|
|
4992
4969
|
}, 8, ["style"]);
|
|
4993
4970
|
};
|
|
4994
4971
|
}
|
|
4995
|
-
}), [["__scopeId", "data-v-
|
|
4972
|
+
}), [["__scopeId", "data-v-86b98e2f"]]);
|
|
4996
4973
|
//#endregion
|
|
4997
4974
|
//#region src/utils/common.ts
|
|
4998
4975
|
/** 判断是否为空(undefined/null/空字符串) */
|
|
@@ -6757,6 +6734,10 @@ var FlowListItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6757
6734
|
clickable: {
|
|
6758
6735
|
type: Boolean,
|
|
6759
6736
|
default: false
|
|
6737
|
+
},
|
|
6738
|
+
showEdit: {
|
|
6739
|
+
type: Boolean,
|
|
6740
|
+
default: true
|
|
6760
6741
|
}
|
|
6761
6742
|
},
|
|
6762
6743
|
emits: ["itemClick", "design"],
|
|
@@ -6795,7 +6776,8 @@ var FlowListItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6795
6776
|
class: "flow-item__label",
|
|
6796
6777
|
title: __props.item.name
|
|
6797
6778
|
}, toDisplayString(__props.item.name), 9, _hoisted_3$1),
|
|
6798
|
-
__props.showActions ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
6779
|
+
__props.showActions ? (openBlock(), createElementBlock("div", _hoisted_4$1, [__props.showEdit ? (openBlock(), createBlock(_component_NButton, {
|
|
6780
|
+
key: 0,
|
|
6799
6781
|
class: "flow-item__btn",
|
|
6800
6782
|
size: "small",
|
|
6801
6783
|
quaternary: "",
|
|
@@ -6804,7 +6786,7 @@ var FlowListItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6804
6786
|
}, {
|
|
6805
6787
|
default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode(" 编辑 ", -1)])]),
|
|
6806
6788
|
_: 1
|
|
6807
|
-
}), createVNode(_component_NButton, {
|
|
6789
|
+
})) : createCommentVNode("", true), createVNode(_component_NButton, {
|
|
6808
6790
|
class: "flow-item__btn",
|
|
6809
6791
|
size: "small",
|
|
6810
6792
|
secondary: "",
|
|
@@ -6817,7 +6799,7 @@ var FlowListItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6817
6799
|
], 2);
|
|
6818
6800
|
};
|
|
6819
6801
|
}
|
|
6820
|
-
}), [["__scopeId", "data-v-
|
|
6802
|
+
}), [["__scopeId", "data-v-315b70f6"]]);
|
|
6821
6803
|
//#endregion
|
|
6822
6804
|
//#region src/flow-list/modules/FlowListGroup.vue?vue&type=script&setup=true&lang.ts
|
|
6823
6805
|
var _hoisted_1 = { class: "flow-group" };
|
|
@@ -6845,6 +6827,10 @@ var FlowListGroup_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6845
6827
|
clickable: {
|
|
6846
6828
|
type: Boolean,
|
|
6847
6829
|
default: false
|
|
6830
|
+
},
|
|
6831
|
+
showEdit: {
|
|
6832
|
+
type: Boolean,
|
|
6833
|
+
default: true
|
|
6848
6834
|
}
|
|
6849
6835
|
},
|
|
6850
6836
|
emits: ["itemClick", "design"],
|
|
@@ -6879,12 +6865,14 @@ var FlowListGroup_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6879
6865
|
item,
|
|
6880
6866
|
"show-actions": __props.showActions,
|
|
6881
6867
|
clickable: __props.clickable,
|
|
6868
|
+
"show-edit": __props.showEdit,
|
|
6882
6869
|
onItemClick: _cache[0] || (_cache[0] = ($event) => emit("itemClick", $event)),
|
|
6883
6870
|
onDesign: _cache[1] || (_cache[1] = ($event) => emit("design", $event))
|
|
6884
6871
|
}, null, 8, [
|
|
6885
6872
|
"item",
|
|
6886
6873
|
"show-actions",
|
|
6887
|
-
"clickable"
|
|
6874
|
+
"clickable",
|
|
6875
|
+
"show-edit"
|
|
6888
6876
|
]);
|
|
6889
6877
|
}), 128))])) : (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_NEmpty, {
|
|
6890
6878
|
size: "small",
|
|
@@ -6896,7 +6884,7 @@ var FlowListGroup_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6896
6884
|
}, 8, ["default-expanded-names"])]);
|
|
6897
6885
|
};
|
|
6898
6886
|
}
|
|
6899
|
-
}), [["__scopeId", "data-v-
|
|
6887
|
+
}), [["__scopeId", "data-v-4bf10196"]]);
|
|
6900
6888
|
//#endregion
|
|
6901
6889
|
//#region src/flow-list/index.vue
|
|
6902
6890
|
var flow_list_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -6911,6 +6899,10 @@ var flow_list_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__
|
|
|
6911
6899
|
clickable: {
|
|
6912
6900
|
type: Boolean,
|
|
6913
6901
|
default: false
|
|
6902
|
+
},
|
|
6903
|
+
showEdit: {
|
|
6904
|
+
type: Boolean,
|
|
6905
|
+
default: true
|
|
6914
6906
|
}
|
|
6915
6907
|
},
|
|
6916
6908
|
emits: ["itemClick", "design"],
|
|
@@ -6937,16 +6929,18 @@ var flow_list_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__
|
|
|
6937
6929
|
group,
|
|
6938
6930
|
"show-actions": __props.showActions,
|
|
6939
6931
|
clickable: __props.clickable,
|
|
6932
|
+
"show-edit": __props.showEdit,
|
|
6940
6933
|
onItemClick: _cache[0] || (_cache[0] = (item) => emit("itemClick", item)),
|
|
6941
6934
|
onDesign: _cache[1] || (_cache[1] = (item) => emit("design", item))
|
|
6942
6935
|
}, null, 8, [
|
|
6943
6936
|
"group",
|
|
6944
6937
|
"show-actions",
|
|
6945
|
-
"clickable"
|
|
6938
|
+
"clickable",
|
|
6939
|
+
"show-edit"
|
|
6946
6940
|
]);
|
|
6947
6941
|
}), 128))], 4);
|
|
6948
6942
|
};
|
|
6949
6943
|
}
|
|
6950
|
-
}), [["__scopeId", "data-v-
|
|
6944
|
+
}), [["__scopeId", "data-v-56ed3cd3"]]);
|
|
6951
6945
|
//#endregion
|
|
6952
6946
|
export { ApprovalModal_default as ApprovalModal, FLOW_UI_KEY, FlowAvatar_default as FlowAvatar, FlowConfig_default as FlowConfig, FlowConfigField_default as FlowConfigField, FlowConfigMore_default as FlowConfigMore, FlowLayout_default as FlowLayout, flow_list_default as FlowList, FlowNode_default as FlowNode, FlowNodesPanel_default as FlowNodesPanel, person_selector_default as PersonSelector, createFlowUI, fetchGetWflowConfigDetail, fetchGetWflowFlowNodes, fetchLaunchWflowFlow, fetchWflowUndoApprove, fetchWflowUndoReject, getRemoteOptions, isRemoteField, useFlowUI };
|
package/dist/style.css
CHANGED
|
@@ -1538,7 +1538,7 @@ to {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(style 块改用 scss) */
|
|
1540
1540
|
/* Developed collaboratively with vscode - 改动代码行数: 6行 */
|
|
1541
|
-
.flow-config-more[data-v-
|
|
1541
|
+
.flow-config-more[data-v-b4e7caf8] {
|
|
1542
1542
|
max-width: 600px;
|
|
1543
1543
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(白色背景 + 圆角 + 距外部 20px 边距) */
|
|
1544
1544
|
margin: 20px auto;
|
|
@@ -1550,14 +1550,14 @@ to {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(style 块改用 scss 并做 BEM 嵌套整理) */
|
|
1552
1552
|
/* Developed collaboratively with vscode - 改动代码行数: 14行 */
|
|
1553
|
-
.flow-config[data-v-
|
|
1553
|
+
.flow-config[data-v-86b98e2f] {
|
|
1554
1554
|
/* .n-card 根元素自带 flex column 布局与 cardColor 背景,此处只补满高度;
|
|
1555
1555
|
overflow: hidden 让底部圆角裁掉子组件直角背景的超出部分 */
|
|
1556
1556
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(根容器裁剪圆角外溢出) */
|
|
1557
1557
|
height: 100%;
|
|
1558
1558
|
overflow: hidden;
|
|
1559
1559
|
}
|
|
1560
|
-
.flow-config__header[data-v-
|
|
1560
|
+
.flow-config__header[data-v-86b98e2f] {
|
|
1561
1561
|
/* header 插槽行:占满卡片头部宽度并作为 title / publish 的 absolute 定位包含块;
|
|
1562
1562
|
内容区自身滚动(overflow: auto),头部天然固定,无需 sticky */
|
|
1563
1563
|
position: relative;
|
|
@@ -1568,7 +1568,7 @@ to {
|
|
|
1568
1568
|
padding: 16px 20px;
|
|
1569
1569
|
border-bottom: 1px solid var(--fc-border-color);
|
|
1570
1570
|
}
|
|
1571
|
-
.flow-config__title[data-v-
|
|
1571
|
+
.flow-config__title[data-v-86b98e2f] {
|
|
1572
1572
|
font-size: 15px;
|
|
1573
1573
|
font-weight: 500;
|
|
1574
1574
|
color: var(--fc-primary-color);
|
|
@@ -1579,38 +1579,38 @@ to {
|
|
|
1579
1579
|
padding-left: 10px;
|
|
1580
1580
|
border-left: 3px solid var(--fc-primary-color);
|
|
1581
1581
|
}
|
|
1582
|
-
.flow-config__publish[data-v-
|
|
1582
|
+
.flow-config__publish[data-v-86b98e2f] {
|
|
1583
1583
|
position: absolute;
|
|
1584
1584
|
right: 20px;
|
|
1585
1585
|
}
|
|
1586
|
-
.flow-config[data-v-
|
|
1586
|
+
.flow-config[data-v-86b98e2f] {
|
|
1587
1587
|
/* Developed collaboratively with vscode - 改动代码行数: 7行(NTabs segment 收缩为内容宽度;segment 模式 rail 均分容器宽度,fit-content 下富余为零导致标签文字紧连,补 label 水平内边距还原分段控件观感) */
|
|
1588
1588
|
}
|
|
1589
|
-
.flow-config__tabs[data-v-
|
|
1589
|
+
.flow-config__tabs[data-v-86b98e2f] {
|
|
1590
1590
|
width: fit-content;
|
|
1591
1591
|
}
|
|
1592
|
-
.flow-config__tabs[data-v-
|
|
1592
|
+
.flow-config__tabs[data-v-86b98e2f] .n-tabs-tab__label {
|
|
1593
1593
|
padding: 0 12px;
|
|
1594
1594
|
}
|
|
1595
|
-
.flow-config[data-v-
|
|
1595
|
+
.flow-config[data-v-86b98e2f] {
|
|
1596
1596
|
/* Developed collaboratively with vscode - 改动代码行数: 9行(内容区 loading:NSpin 链式撑满替代原 body 的 flex 布局职责) */
|
|
1597
1597
|
/* NSpin 承载内容区 flex 布局职责,内部容器链式撑满,保证 body 滚动与遮罩覆盖正确 */
|
|
1598
1598
|
}
|
|
1599
|
-
.flow-config__spin[data-v-
|
|
1599
|
+
.flow-config__spin[data-v-86b98e2f] {
|
|
1600
1600
|
flex: 1;
|
|
1601
1601
|
min-height: 0;
|
|
1602
1602
|
}
|
|
1603
|
-
.flow-config__spin[data-v-
|
|
1604
|
-
.flow-config__spin[data-v-
|
|
1603
|
+
.flow-config__spin[data-v-86b98e2f] .n-spin-container,
|
|
1604
|
+
.flow-config__spin[data-v-86b98e2f] .n-spin-content {
|
|
1605
1605
|
height: 100%;
|
|
1606
1606
|
}
|
|
1607
|
-
.flow-config__body[data-v-
|
|
1607
|
+
.flow-config__body[data-v-86b98e2f] {
|
|
1608
1608
|
height: 100%;
|
|
1609
1609
|
overflow: auto;
|
|
1610
1610
|
/* 内容区浅色背景,子组件以白色卡片浮于其上 */
|
|
1611
1611
|
background: var(--fc-bg-color);
|
|
1612
1612
|
}
|
|
1613
|
-
.flow-config__body[data-v-
|
|
1613
|
+
.flow-config__body[data-v-86b98e2f] > * {
|
|
1614
1614
|
min-height: 100%;
|
|
1615
1615
|
}
|
|
1616
1616
|
/* Developed collaboratively with vscode - 改动代码行数: 39行 */
|
|
@@ -2301,7 +2301,7 @@ to {
|
|
|
2301
2301
|
box-shadow: 0 -8px 12px 0 rgba(255, 255, 255, 0.04);
|
|
2302
2302
|
}
|
|
2303
2303
|
|
|
2304
|
-
.flow-item[data-v-
|
|
2304
|
+
.flow-item[data-v-315b70f6] {
|
|
2305
2305
|
display: flex;
|
|
2306
2306
|
align-items: center;
|
|
2307
2307
|
gap: 12px;
|
|
@@ -2315,32 +2315,32 @@ to {
|
|
|
2315
2315
|
user-select: none;
|
|
2316
2316
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
2317
2317
|
}
|
|
2318
|
-
.flow-item[data-v-
|
|
2318
|
+
.flow-item[data-v-315b70f6]:hover {
|
|
2319
2319
|
transform: translateY(-2px);
|
|
2320
2320
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(阴影色改用全局文本色变量) */
|
|
2321
2321
|
box-shadow: rgb(var(--base-text-color)/0.25) 0 12px 28px;
|
|
2322
2322
|
}
|
|
2323
|
-
.flow-item[data-v-
|
|
2323
|
+
.flow-item[data-v-315b70f6]:active {
|
|
2324
2324
|
transform: translateY(0);
|
|
2325
2325
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(阴影色改用全局文本色变量) */
|
|
2326
2326
|
box-shadow: rgb(var(--base-text-color)/0.15) 0 4px 12px;
|
|
2327
2327
|
transition-duration: 0.08s;
|
|
2328
2328
|
}
|
|
2329
|
-
.flow-item[data-v-
|
|
2329
|
+
.flow-item[data-v-315b70f6] {
|
|
2330
2330
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(clickable 卡片:pointer 光标明示可点击,hover 上浮动效沿用通用样式) */
|
|
2331
2331
|
}
|
|
2332
|
-
.flow-item--clickable[data-v-
|
|
2332
|
+
.flow-item--clickable[data-v-315b70f6] {
|
|
2333
2333
|
cursor: pointer;
|
|
2334
2334
|
}
|
|
2335
|
-
.flow-item__avatar[data-v-
|
|
2335
|
+
.flow-item__avatar[data-v-315b70f6] {
|
|
2336
2336
|
flex-shrink: 0;
|
|
2337
2337
|
}
|
|
2338
|
-
.flow-item__avatar-text[data-v-
|
|
2338
|
+
.flow-item__avatar-text[data-v-315b70f6] {
|
|
2339
2339
|
font-size: 15px;
|
|
2340
2340
|
font-weight: 600;
|
|
2341
2341
|
color: var(--fl-primary);
|
|
2342
2342
|
}
|
|
2343
|
-
.flow-item__label[data-v-
|
|
2343
|
+
.flow-item__label[data-v-315b70f6] {
|
|
2344
2344
|
display: -webkit-box;
|
|
2345
2345
|
flex-grow: 1;
|
|
2346
2346
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(中英混排按字符接排换行:不整体掉词填满行宽,防止收缩被内容撑破) */
|
|
@@ -2354,54 +2354,54 @@ to {
|
|
|
2354
2354
|
-webkit-box-orient: vertical;
|
|
2355
2355
|
-webkit-line-clamp: 2;
|
|
2356
2356
|
}
|
|
2357
|
-
.flow-item__actions[data-v-
|
|
2357
|
+
.flow-item__actions[data-v-315b70f6] {
|
|
2358
2358
|
display: flex;
|
|
2359
2359
|
flex-shrink: 0;
|
|
2360
2360
|
gap: 6px;
|
|
2361
2361
|
}
|
|
2362
|
-
.flow-group[data-v-
|
|
2362
|
+
.flow-group[data-v-4bf10196] {
|
|
2363
2363
|
padding: 0 20px;
|
|
2364
2364
|
background: var(--fl-card-color);
|
|
2365
2365
|
border: 1px solid var(--fl-border-color);
|
|
2366
2366
|
border-radius: 12px;
|
|
2367
2367
|
/* Developed collaboratively with vscode - 改动代码行数: 20行(面板头修复:负 margin 让分隔线通到卡片两端、仅展开时显示;补回首项 padding-top;锁定箭头容器旋转,方向由自定义 chevron 控制) */
|
|
2368
2368
|
}
|
|
2369
|
-
.flow-group[data-v-
|
|
2369
|
+
.flow-group[data-v-4bf10196] .n-collapse-item__header {
|
|
2370
2370
|
padding: 16px 20px 12px;
|
|
2371
2371
|
margin: 0 -20px;
|
|
2372
2372
|
border-bottom: 1px solid transparent;
|
|
2373
2373
|
}
|
|
2374
|
-
.flow-group[data-v-
|
|
2374
|
+
.flow-group[data-v-4bf10196] .n-collapse-item--active .n-collapse-item__header {
|
|
2375
2375
|
border-bottom-color: var(--fl-divider-color);
|
|
2376
2376
|
}
|
|
2377
|
-
.flow-group[data-v-
|
|
2377
|
+
.flow-group[data-v-4bf10196] .n-collapse-item:first-child > .n-collapse-item__header {
|
|
2378
2378
|
padding-top: 16px;
|
|
2379
2379
|
}
|
|
2380
|
-
.flow-group[data-v-
|
|
2380
|
+
.flow-group[data-v-4bf10196] .n-collapse-item__content-inner {
|
|
2381
2381
|
padding: 16px 0 20px;
|
|
2382
2382
|
}
|
|
2383
|
-
.flow-group[data-v-
|
|
2383
|
+
.flow-group[data-v-4bf10196] {
|
|
2384
2384
|
/* Developed collaboratively with vscode - 改动代码行数: 11行(header-main 设 flex;箭头 margin-left:auto 提权,压过 naive 运行时注入的 4px 间距,推到最右侧) */
|
|
2385
2385
|
}
|
|
2386
|
-
.flow-group[data-v-
|
|
2386
|
+
.flow-group[data-v-4bf10196] .n-collapse-item__header-main {
|
|
2387
2387
|
display: flex;
|
|
2388
2388
|
align-items: center;
|
|
2389
2389
|
}
|
|
2390
|
-
.flow-group[data-v-
|
|
2390
|
+
.flow-group[data-v-4bf10196] .n-collapse-item__header-main .n-collapse-item-arrow {
|
|
2391
2391
|
margin-left: auto !important;
|
|
2392
2392
|
transform: none !important;
|
|
2393
2393
|
}
|
|
2394
|
-
.flow-group__title[data-v-
|
|
2394
|
+
.flow-group__title[data-v-4bf10196] {
|
|
2395
2395
|
font-size: 17px;
|
|
2396
2396
|
font-weight: 600;
|
|
2397
2397
|
color: var(--fl-text-1);
|
|
2398
2398
|
letter-spacing: 0.2px;
|
|
2399
2399
|
transition: color 0.2s ease;
|
|
2400
2400
|
}
|
|
2401
|
-
.flow-group[data-v-
|
|
2401
|
+
.flow-group[data-v-4bf10196] {
|
|
2402
2402
|
/* Developed collaboratively with vscode - 改动代码行数: 4行(数量徽标改胶囊形,紧跟标题同侧排列) */
|
|
2403
2403
|
}
|
|
2404
|
-
.flow-group__count[data-v-
|
|
2404
|
+
.flow-group__count[data-v-4bf10196] {
|
|
2405
2405
|
display: flex;
|
|
2406
2406
|
align-items: center;
|
|
2407
2407
|
height: 20px;
|
|
@@ -2415,53 +2415,53 @@ to {
|
|
|
2415
2415
|
border-radius: 999px;
|
|
2416
2416
|
background: color-mix(in srgb, var(--fl-primary) 12%, transparent);
|
|
2417
2417
|
}
|
|
2418
|
-
.flow-group[data-v-
|
|
2418
|
+
.flow-group[data-v-4bf10196] {
|
|
2419
2419
|
/* Developed collaboratively with vscode - 改动代码行数: 15行(自定义箭头+旋转动画;头部悬停时标题/箭头高亮主题色) */
|
|
2420
2420
|
}
|
|
2421
|
-
.flow-group__chevron[data-v-
|
|
2421
|
+
.flow-group__chevron[data-v-4bf10196] {
|
|
2422
2422
|
width: 16px;
|
|
2423
2423
|
height: 16px;
|
|
2424
2424
|
color: var(--fl-text-3);
|
|
2425
2425
|
transition: transform 0.2s ease;
|
|
2426
2426
|
transform: rotate(-180deg);
|
|
2427
2427
|
}
|
|
2428
|
-
.flow-group__chevron--collapsed[data-v-
|
|
2428
|
+
.flow-group__chevron--collapsed[data-v-4bf10196] {
|
|
2429
2429
|
transform: rotate(0deg);
|
|
2430
2430
|
}
|
|
2431
|
-
[data-v-
|
|
2431
|
+
[data-v-4bf10196] .n-collapse-item__header:hover .flow-group__title,[data-v-4bf10196] .n-collapse-item__header:hover .flow-group__chevron {
|
|
2432
2432
|
color: var(--fl-primary);
|
|
2433
2433
|
}
|
|
2434
|
-
.flow-group__grid[data-v-
|
|
2434
|
+
.flow-group__grid[data-v-4bf10196] {
|
|
2435
2435
|
display: grid;
|
|
2436
2436
|
grid-template-columns: repeat(1, 1fr);
|
|
2437
2437
|
gap: 12px;
|
|
2438
2438
|
}
|
|
2439
2439
|
@media (min-width: 576px) {
|
|
2440
|
-
.flow-group__grid[data-v-
|
|
2440
|
+
.flow-group__grid[data-v-4bf10196] {
|
|
2441
2441
|
grid-template-columns: repeat(2, 1fr);
|
|
2442
2442
|
}
|
|
2443
2443
|
}
|
|
2444
2444
|
@media (min-width: 992px) {
|
|
2445
|
-
.flow-group__grid[data-v-
|
|
2445
|
+
.flow-group__grid[data-v-4bf10196] {
|
|
2446
2446
|
grid-template-columns: repeat(3, 1fr);
|
|
2447
2447
|
}
|
|
2448
2448
|
}
|
|
2449
2449
|
@media (min-width: 1200px) {
|
|
2450
|
-
.flow-group__grid[data-v-
|
|
2450
|
+
.flow-group__grid[data-v-4bf10196] {
|
|
2451
2451
|
grid-template-columns: repeat(4, 1fr);
|
|
2452
2452
|
}
|
|
2453
2453
|
}
|
|
2454
2454
|
@media (min-width: 1600px) {
|
|
2455
|
-
.flow-group__grid[data-v-
|
|
2455
|
+
.flow-group__grid[data-v-4bf10196] {
|
|
2456
2456
|
grid-template-columns: repeat(5, 1fr);
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
|
-
.flow-group[data-v-
|
|
2459
|
+
.flow-group[data-v-4bf10196] {
|
|
2460
2460
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(空态样式:仅保留上下留白,无外框) */
|
|
2461
2461
|
}
|
|
2462
|
-
.flow-group__empty[data-v-
|
|
2462
|
+
.flow-group__empty[data-v-4bf10196] {
|
|
2463
2463
|
padding: 8px 0;
|
|
2464
|
-
}.flow-list[data-v-
|
|
2464
|
+
}.flow-list[data-v-56ed3cd3] {
|
|
2465
2465
|
display: flex;
|
|
2466
2466
|
flex-direction: column;
|
|
2467
2467
|
gap: 20px;
|