@yugu-ui/flow-ui 0.1.14 → 0.1.16
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/dist/base-ui/yg-confirm.d.ts +3 -3
- package/dist/index.js +68 -11
- package/dist/person-selector/PersonSelectorSlot.d.ts +3 -0
- package/dist/person-selector/index.d.ts +3 -3
- package/dist/provider/index.d.ts +8 -1
- package/dist/provider/types.d.ts +3 -1
- package/dist/style.css +115 -115
- package/package.json +1 -1
|
@@ -50,19 +50,19 @@ declare const __VLS_base: import('vue').DefineComponent<YgPopconfirmProps, {
|
|
|
50
50
|
open: typeof handleOpen;
|
|
51
51
|
close: () => void;
|
|
52
52
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
53
|
+
"update:modelValue": (value: any) => any;
|
|
53
54
|
cancel: () => any;
|
|
54
55
|
confirm: (value: any, done: YgPopconfirmDoneCallback) => any;
|
|
55
|
-
"update:modelValue": (value: any) => any;
|
|
56
56
|
}, string, import('vue').PublicProps, Readonly<YgPopconfirmProps> & Readonly<{
|
|
57
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
57
58
|
onCancel?: (() => any) | undefined;
|
|
58
59
|
onConfirm?: ((value: any, done: YgPopconfirmDoneCallback) => any) | undefined;
|
|
59
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
+
modelValue: any;
|
|
61
62
|
title: string;
|
|
62
63
|
content: string;
|
|
63
64
|
negativeText: string;
|
|
64
65
|
positiveText: string;
|
|
65
|
-
modelValue: any;
|
|
66
66
|
sync: boolean;
|
|
67
67
|
triggerType: YgPopconfirmTriggerType;
|
|
68
68
|
buttonConfig: Partial<Omit<ButtonProps, "onClick">>;
|
package/dist/index.js
CHANGED
|
@@ -65,16 +65,57 @@ function createDefaultPersonSelectorApi(request) {
|
|
|
65
65
|
method: "get"
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
+
/** 已告警的注入组件集合:同一组件实例只警告一次(WeakSet,不阻止组件被回收) */
|
|
69
|
+
var warnedCustomSelectors = /* @__PURE__ */ new WeakSet();
|
|
70
|
+
/** props/emits 声明形态判定:数组含 key / 对象含 key / 完全未声明(null) */
|
|
71
|
+
var declaresKey = (decl, key) => {
|
|
72
|
+
if (Array.isArray(decl)) return decl.includes(key);
|
|
73
|
+
if (decl && typeof decl === "object") return key in decl;
|
|
74
|
+
return null;
|
|
75
|
+
};
|
|
76
|
+
/** DEV 契约警告(按组件实例去重;非对象组件无法入 WeakSet,直接警告) */
|
|
77
|
+
var warnPersonSelectorOnce = (comp, msg) => {
|
|
78
|
+
if (comp && (typeof comp === "object" || typeof comp === "function")) {
|
|
79
|
+
const key = comp;
|
|
80
|
+
if (warnedCustomSelectors.has(key)) return;
|
|
81
|
+
warnedCustomSelectors.add(key);
|
|
82
|
+
}
|
|
83
|
+
console.warn(`[flow-ui] ${msg}`);
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* 自定义选人组件契约校验(createFlowUI 注入时与 PersonSelectorSlot 渲染时各调用,按组件实例去重警告):
|
|
87
|
+
* 硬性不合格(非组件本体 / props 未声明 modelValue / emits 未声明 update:modelValue)返回 false,槽位据此回落内置实现。
|
|
88
|
+
* 不做 DEV 环境门控:包 dist 为预构建产物(import.meta.env.DEV 已固化为 false),宿主本地 dev 消费同一份产物,
|
|
89
|
+
* 门控会导致警告永不触发;不合格对任何环境都值得一报,WeakSet 去重保证不刷屏。
|
|
90
|
+
*/
|
|
91
|
+
function validatePersonSelectorComponent(comp) {
|
|
92
|
+
if (!(!!comp && (typeof comp === "object" || typeof comp === "function"))) {
|
|
93
|
+
warnPersonSelectorOnce(comp, "components.PersonSelector 注入不合法:须为 Vue 组件对象或函数式组件,已回落内置选人组件");
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
const c = comp;
|
|
97
|
+
const problems = [];
|
|
98
|
+
const propState = declaresKey(c.props, "modelValue");
|
|
99
|
+
if (propState === null) problems.push("props 未声明(契约要求声明 modelValue/placeholder/display-mode/selectable-types)");
|
|
100
|
+
else if (propState === false) problems.push("props 未声明 modelValue(v-model 双向绑定将失效)");
|
|
101
|
+
if (declaresKey(c.emits, "update:modelValue") === false) problems.push("emits 未声明 update:modelValue(选择结果无法回传流程配置)");
|
|
102
|
+
if (problems.length) {
|
|
103
|
+
warnPersonSelectorOnce(comp, `components.PersonSelector 契约不合格:${problems.join(";")}——请按 provider/types.ts FlowUIComponents.PersonSelector 契约补齐,当前注入已回落内置选人组件`);
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
68
108
|
/**
|
|
69
109
|
* 流程组件库注入入口:`app.use(createFlowUI({ request, getToken?, baseURL?, personSelectorApi? }))`
|
|
70
110
|
* - `request`:宿主请求实例(平面函数式,返回 `{ data, error }`),包内全部接口改走它;
|
|
71
111
|
* - `getToken`:返回完整 Authorization 头值(如 `Bearer xxx`),供包内原生 fetch 场景使用;
|
|
72
112
|
* - `baseURL`:后端接口基础路径,远程选项相对 action 拼接用;
|
|
73
113
|
* - `personSelectorApi`:人员选择器数据源,默认请求 GET /system/person-selector。
|
|
74
|
-
* - `components
|
|
114
|
+
* - `components`:能力组件注入(附件上传、选人组件),包内以动态组件消费——附件上传未注入降级提示,选人组件未注入回落内置实现。
|
|
75
115
|
* Developed collaboratively with vscode - 改动代码行数: 1行(2.12 宿主全局组件解耦:注入入口文档补能力组件说明)
|
|
76
116
|
*/
|
|
77
117
|
function createFlowUI(options) {
|
|
118
|
+
if (options.components?.PersonSelector !== void 0) validatePersonSelectorComponent(options.components.PersonSelector);
|
|
78
119
|
const config = {
|
|
79
120
|
request: options.request,
|
|
80
121
|
getToken: options.getToken ?? (() => ""),
|
|
@@ -3474,6 +3515,22 @@ var person_selector_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
|
|
|
3474
3515
|
}
|
|
3475
3516
|
}), [["__scopeId", "data-v-fe31f4e2"]]);
|
|
3476
3517
|
//#endregion
|
|
3518
|
+
//#region src/person-selector/PersonSelectorSlot.vue
|
|
3519
|
+
var PersonSelectorSlot_default = /* @__PURE__ */ defineComponent({
|
|
3520
|
+
name: "PersonSelectorSlot",
|
|
3521
|
+
inheritAttrs: false,
|
|
3522
|
+
__name: "PersonSelectorSlot",
|
|
3523
|
+
setup(__props) {
|
|
3524
|
+
const resolved = computed(() => {
|
|
3525
|
+
const custom = getFlowUIConfig().components.PersonSelector;
|
|
3526
|
+
return custom && validatePersonSelectorComponent(custom) ? custom : person_selector_default;
|
|
3527
|
+
});
|
|
3528
|
+
return (_ctx, _cache) => {
|
|
3529
|
+
return openBlock(), createBlock(resolveDynamicComponent(resolved.value), normalizeProps(guardReactiveProps(_ctx.$attrs)), null, 16);
|
|
3530
|
+
};
|
|
3531
|
+
}
|
|
3532
|
+
});
|
|
3533
|
+
//#endregion
|
|
3477
3534
|
//#region src/config/FlowConfigFlow/components/NodeConfigDrawer/modules/StartConfig.vue
|
|
3478
3535
|
var StartConfig_default = /* @__PURE__ */ defineComponent({
|
|
3479
3536
|
name: "NodeStartConfig",
|
|
@@ -3509,7 +3566,7 @@ var StartConfig_default = /* @__PURE__ */ defineComponent({
|
|
|
3509
3566
|
key: 0,
|
|
3510
3567
|
label: "指定成员"
|
|
3511
3568
|
}, {
|
|
3512
|
-
default: withCtx(() => [createVNode(
|
|
3569
|
+
default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
|
|
3513
3570
|
modelValue: __props.config.members,
|
|
3514
3571
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.config.members = $event),
|
|
3515
3572
|
placeholder: "请选择成员"
|
|
@@ -3557,7 +3614,7 @@ var ApproverConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
3557
3614
|
key: 0,
|
|
3558
3615
|
label: "指定审批人"
|
|
3559
3616
|
}, {
|
|
3560
|
-
default: withCtx(() => [createVNode(
|
|
3617
|
+
default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
|
|
3561
3618
|
modelValue: __props.config.approvers,
|
|
3562
3619
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.config.approvers = $event),
|
|
3563
3620
|
placeholder: "请选择审批人"
|
|
@@ -3614,7 +3671,7 @@ var ApproverConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
3614
3671
|
], 64);
|
|
3615
3672
|
};
|
|
3616
3673
|
}
|
|
3617
|
-
}), [["__scopeId", "data-v-
|
|
3674
|
+
}), [["__scopeId", "data-v-afc4c5d9"]]);
|
|
3618
3675
|
//#endregion
|
|
3619
3676
|
//#region src/config/FlowConfigFlow/components/NodeConfigDrawer/modules/CcConfig.vue
|
|
3620
3677
|
var CcConfig_default = /* @__PURE__ */ defineComponent({
|
|
@@ -3625,7 +3682,7 @@ var CcConfig_default = /* @__PURE__ */ defineComponent({
|
|
|
3625
3682
|
return (_ctx, _cache) => {
|
|
3626
3683
|
const _component_NFormItem = NFormItem;
|
|
3627
3684
|
return openBlock(), createBlock(_component_NFormItem, { label: "抄送人" }, {
|
|
3628
|
-
default: withCtx(() => [createVNode(
|
|
3685
|
+
default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
|
|
3629
3686
|
modelValue: __props.config.receivers,
|
|
3630
3687
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.config.receivers = $event),
|
|
3631
3688
|
placeholder: "请选择抄送人"
|
|
@@ -3829,7 +3886,7 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
|
|
|
3829
3886
|
"onUpdate:value",
|
|
3830
3887
|
"options"
|
|
3831
3888
|
]),
|
|
3832
|
-
getFieldType(rule.field) === "person" ? (openBlock(), createBlock(
|
|
3889
|
+
getFieldType(rule.field) === "person" ? (openBlock(), createBlock(PersonSelectorSlot_default, {
|
|
3833
3890
|
key: 0,
|
|
3834
3891
|
modelValue: rule.value,
|
|
3835
3892
|
"onUpdate:modelValue": ($event) => rule.value = $event,
|
|
@@ -3897,7 +3954,7 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
|
|
|
3897
3954
|
});
|
|
3898
3955
|
};
|
|
3899
3956
|
}
|
|
3900
|
-
}), [["__scopeId", "data-v-
|
|
3957
|
+
}), [["__scopeId", "data-v-cef95b26"]]);
|
|
3901
3958
|
//#endregion
|
|
3902
3959
|
//#region src/config/FlowConfigFlow/components/NodeConfigDrawer/index.vue
|
|
3903
3960
|
var NodeConfigDrawer_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -4747,7 +4804,7 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4747
4804
|
label: "流程管理员",
|
|
4748
4805
|
path: "manager"
|
|
4749
4806
|
}, {
|
|
4750
|
-
default: withCtx(() => [createVNode(
|
|
4807
|
+
default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
|
|
4751
4808
|
modelValue: settings.value.manager,
|
|
4752
4809
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => settings.value.manager = $event),
|
|
4753
4810
|
placeholder: "请选择流程管理员"
|
|
@@ -4859,7 +4916,7 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4859
4916
|
}, 8, ["model"])]);
|
|
4860
4917
|
};
|
|
4861
4918
|
}
|
|
4862
|
-
}), [["__scopeId", "data-v-
|
|
4919
|
+
}), [["__scopeId", "data-v-5850f6ef"]]);
|
|
4863
4920
|
//#endregion
|
|
4864
4921
|
//#region src/config/FlowConfig.vue?vue&type=script&setup=true&lang.ts
|
|
4865
4922
|
var _hoisted_1$10 = { class: "flow-config__header" };
|
|
@@ -5753,7 +5810,7 @@ var FlowNode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__P
|
|
|
5753
5810
|
createElementVNode("div", _hoisted_8, [
|
|
5754
5811
|
createElementVNode("div", _hoisted_9, toDisplayString(TYPE_LABELS[__props.node.type]), 1),
|
|
5755
5812
|
__props.node.desc || __props.node.type === "approver" && __props.node.mode ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(__props.node.type === "approver" && __props.node.mode ? APPROVE_MODE_LABELS[__props.node.mode] : __props.node.desc), 1)) : createCommentVNode("", true),
|
|
5756
|
-
__props.mode === "form" && __props.node.selfSelect ? (openBlock(), createBlock(
|
|
5813
|
+
__props.mode === "form" && __props.node.selfSelect ? (openBlock(), createBlock(PersonSelectorSlot_default, {
|
|
5757
5814
|
key: 1,
|
|
5758
5815
|
modelValue: selfSelected.value,
|
|
5759
5816
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selfSelected.value = $event),
|
|
@@ -5842,7 +5899,7 @@ var FlowNode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__P
|
|
|
5842
5899
|
], 6);
|
|
5843
5900
|
};
|
|
5844
5901
|
}
|
|
5845
|
-
}), [["__scopeId", "data-v-
|
|
5902
|
+
}), [["__scopeId", "data-v-c108c6cb"]]);
|
|
5846
5903
|
//#endregion
|
|
5847
5904
|
//#region src/timeline/ApprovalModal.vue?vue&type=script&setup=true&lang.ts
|
|
5848
5905
|
var _hoisted_1$6 = { class: "reject-node-list" };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -6,14 +6,14 @@ type __VLS_Props = {
|
|
|
6
6
|
displayMode?: 'wrap' | 'overflow';
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
change: (value: SelectedItem[]) => any;
|
|
10
9
|
"update:modelValue": (value: SelectedItem[]) => any;
|
|
10
|
+
change: (value: SelectedItem[]) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((value: SelectedItem[]) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((value: SelectedItem[]) => any) | undefined;
|
|
13
|
+
onChange?: ((value: SelectedItem[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
placeholder: string;
|
|
16
15
|
modelValue: SelectedItem[];
|
|
16
|
+
placeholder: string;
|
|
17
17
|
selectableTypes: SelectableType[];
|
|
18
18
|
displayMode: "wrap" | "overflow";
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -8,13 +8,20 @@ export interface FlowUIInstance {
|
|
|
8
8
|
}
|
|
9
9
|
/** 非 setup 上下文(adapter 层等)读取注入配置:未注入时 DEV 告警一次并返回兜底配置(不抛错) */
|
|
10
10
|
export declare function getFlowUIConfig(): FlowUIConfig;
|
|
11
|
+
/**
|
|
12
|
+
* 自定义选人组件契约校验(createFlowUI 注入时与 PersonSelectorSlot 渲染时各调用,按组件实例去重警告):
|
|
13
|
+
* 硬性不合格(非组件本体 / props 未声明 modelValue / emits 未声明 update:modelValue)返回 false,槽位据此回落内置实现。
|
|
14
|
+
* 不做 DEV 环境门控:包 dist 为预构建产物(import.meta.env.DEV 已固化为 false),宿主本地 dev 消费同一份产物,
|
|
15
|
+
* 门控会导致警告永不触发;不合格对任何环境都值得一报,WeakSet 去重保证不刷屏。
|
|
16
|
+
*/
|
|
17
|
+
export declare function validatePersonSelectorComponent(comp: unknown): boolean;
|
|
11
18
|
/**
|
|
12
19
|
* 流程组件库注入入口:`app.use(createFlowUI({ request, getToken?, baseURL?, personSelectorApi? }))`
|
|
13
20
|
* - `request`:宿主请求实例(平面函数式,返回 `{ data, error }`),包内全部接口改走它;
|
|
14
21
|
* - `getToken`:返回完整 Authorization 头值(如 `Bearer xxx`),供包内原生 fetch 场景使用;
|
|
15
22
|
* - `baseURL`:后端接口基础路径,远程选项相对 action 拼接用;
|
|
16
23
|
* - `personSelectorApi`:人员选择器数据源,默认请求 GET /system/person-selector。
|
|
17
|
-
* - `components
|
|
24
|
+
* - `components`:能力组件注入(附件上传、选人组件),包内以动态组件消费——附件上传未注入降级提示,选人组件未注入回落内置实现。
|
|
18
25
|
* Developed collaboratively with vscode - 改动代码行数: 1行(2.12 宿主全局组件解耦:注入入口文档补能力组件说明)
|
|
19
26
|
*/
|
|
20
27
|
export declare function createFlowUI(options: FlowUIOptions): FlowUIInstance;
|
package/dist/provider/types.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ export type PersonSelectorApi = () => Promise<FlowUIResponse<PersonSelectorRawDa
|
|
|
43
43
|
export interface FlowUIComponents {
|
|
44
44
|
/** 附件上传组件:须支持 v-model(附件数组)与 upload-type/drag props */
|
|
45
45
|
FileUpload?: Component;
|
|
46
|
+
/** 选人组件:替换包内全部选人点(流程管理员/指定成员/指定审批人/抄送人/条件值-人员/发起人自选)。契约同内置 PersonSelector:props 须支持 modelValue(SelectedItem[],v-model)/placeholder/display-mode('wrap'|'overflow')/selectable-types,emit 须回传 update:modelValue(SelectedItem[]);注入与渲染时做契约校验,不合格 console.warn 且回落内置 PersonSelector */
|
|
47
|
+
PersonSelector?: Component;
|
|
46
48
|
}
|
|
47
49
|
/** 注入选项(宿主 app.use(createFlowUI(options)) 传入) */
|
|
48
50
|
export interface FlowUIOptions {
|
|
@@ -54,7 +56,7 @@ export interface FlowUIOptions {
|
|
|
54
56
|
baseURL?: string;
|
|
55
57
|
/** 人员选择器数据源:默认 GET /system/person-selector,宿主可自定义覆盖 */
|
|
56
58
|
personSelectorApi?: PersonSelectorApi;
|
|
57
|
-
/**
|
|
59
|
+
/** 能力组件注入:附件上传、选人组件等宿主专属组件 */
|
|
58
60
|
components?: FlowUIComponents;
|
|
59
61
|
}
|
|
60
62
|
/** 解析后的注入配置(包内 useFlowUI 返回,全部字段有兜底值) */
|
package/dist/style.css
CHANGED
|
@@ -1019,24 +1019,24 @@ to {
|
|
|
1019
1019
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(style 块改用 scss,:deep 收进父选择器) */
|
|
1020
1020
|
/* Developed collaboratively with vscode - 改动代码行数: 6行 */
|
|
1021
1021
|
/* 单选竖向排列:让 radio 项换行显示,实现左对齐 */
|
|
1022
|
-
.radio-vertical[data-v-
|
|
1022
|
+
.radio-vertical[data-v-afc4c5d9] {
|
|
1023
1023
|
display: flex;
|
|
1024
1024
|
flex-direction: column;
|
|
1025
1025
|
align-items: flex-start;
|
|
1026
1026
|
gap: 8px;
|
|
1027
1027
|
}
|
|
1028
|
-
.radio-vertical[data-v-
|
|
1028
|
+
.radio-vertical[data-v-afc4c5d9] .n-radio {
|
|
1029
1029
|
margin-right: 0;
|
|
1030
1030
|
margin-left: 0;
|
|
1031
1031
|
}
|
|
1032
1032
|
/* Developed collaboratively with vscode - 改动代码行数: 257行(全部规则收拢进 .cond 嵌套,编译产物与原 CSS 等价;硬编码青色/灰色改主题变量跟随暗色模式) */
|
|
1033
|
-
.cond[data-v-
|
|
1033
|
+
.cond[data-v-cef95b26] {
|
|
1034
1034
|
display: flex;
|
|
1035
1035
|
flex-direction: column;
|
|
1036
1036
|
gap: 0;
|
|
1037
1037
|
width: 100%;
|
|
1038
1038
|
}
|
|
1039
|
-
.cond__group[data-v-
|
|
1039
|
+
.cond__group[data-v-cef95b26] {
|
|
1040
1040
|
display: flex;
|
|
1041
1041
|
flex-direction: column;
|
|
1042
1042
|
/* Developed collaboratively with vscode - 改动代码行数: 4行(条件组整块卡片化:灰底描边圆角,与抽屉白底拉开块状区分) */
|
|
@@ -1045,11 +1045,11 @@ to {
|
|
|
1045
1045
|
border: 1px solid var(--fc-border-color);
|
|
1046
1046
|
border-radius: 8px;
|
|
1047
1047
|
}
|
|
1048
|
-
.cond[data-v-
|
|
1048
|
+
.cond[data-v-cef95b26] {
|
|
1049
1049
|
/* Developed collaboratively with vscode - 改动代码行数: 15行 */
|
|
1050
1050
|
/* 分支进入条件说明:浅蓝信息条 + 左侧主题色竖条装饰 */
|
|
1051
1051
|
}
|
|
1052
|
-
.cond__tip[data-v-
|
|
1052
|
+
.cond__tip[data-v-cef95b26] {
|
|
1053
1053
|
position: relative;
|
|
1054
1054
|
margin-bottom: 10px;
|
|
1055
1055
|
padding: 8px 12px 8px 18px;
|
|
@@ -1060,7 +1060,7 @@ to {
|
|
|
1060
1060
|
background: var(--fc-primary-color-bg);
|
|
1061
1061
|
border-radius: 6px;
|
|
1062
1062
|
}
|
|
1063
|
-
.cond__tip[data-v-
|
|
1063
|
+
.cond__tip[data-v-cef95b26]::before {
|
|
1064
1064
|
content: "";
|
|
1065
1065
|
position: absolute;
|
|
1066
1066
|
top: 9px;
|
|
@@ -1071,13 +1071,13 @@ to {
|
|
|
1071
1071
|
/* Developed collaboratively with vscode - 改动代码行数: 1行 */
|
|
1072
1072
|
background: var(--fc-primary-color);
|
|
1073
1073
|
}
|
|
1074
|
-
.cond__group-head[data-v-
|
|
1074
|
+
.cond__group-head[data-v-cef95b26] {
|
|
1075
1075
|
display: flex;
|
|
1076
1076
|
align-items: center;
|
|
1077
1077
|
justify-content: space-between;
|
|
1078
1078
|
margin-bottom: 8px;
|
|
1079
1079
|
}
|
|
1080
|
-
.cond__group-tag[data-v-
|
|
1080
|
+
.cond__group-tag[data-v-cef95b26] {
|
|
1081
1081
|
display: inline-flex;
|
|
1082
1082
|
align-items: center;
|
|
1083
1083
|
padding: 2px 8px;
|
|
@@ -1089,17 +1089,17 @@ to {
|
|
|
1089
1089
|
border-radius: 4px;
|
|
1090
1090
|
letter-spacing: 0.5px;
|
|
1091
1091
|
}
|
|
1092
|
-
.cond__group-head-right[data-v-
|
|
1092
|
+
.cond__group-head-right[data-v-cef95b26] {
|
|
1093
1093
|
display: flex;
|
|
1094
1094
|
align-items: center;
|
|
1095
1095
|
gap: 8px;
|
|
1096
1096
|
}
|
|
1097
|
-
.cond__and-hint[data-v-
|
|
1097
|
+
.cond__and-hint[data-v-cef95b26] {
|
|
1098
1098
|
font-size: 11px;
|
|
1099
1099
|
/* Developed collaboratively with vscode - 改动代码行数: 1行 */
|
|
1100
1100
|
color: var(--fc-text-color-tertiary);
|
|
1101
1101
|
}
|
|
1102
|
-
.cond__rules[data-v-
|
|
1102
|
+
.cond__rules[data-v-cef95b26] {
|
|
1103
1103
|
display: flex;
|
|
1104
1104
|
flex-direction: column;
|
|
1105
1105
|
gap: 8px;
|
|
@@ -1108,13 +1108,13 @@ to {
|
|
|
1108
1108
|
border: none;
|
|
1109
1109
|
padding: 0;
|
|
1110
1110
|
}
|
|
1111
|
-
.cond__rule-and[data-v-
|
|
1111
|
+
.cond__rule-and[data-v-cef95b26] {
|
|
1112
1112
|
display: flex;
|
|
1113
1113
|
align-items: center;
|
|
1114
1114
|
gap: 8px;
|
|
1115
1115
|
padding: 2px 0;
|
|
1116
1116
|
}
|
|
1117
|
-
.cond__rule[data-v-
|
|
1117
|
+
.cond__rule[data-v-cef95b26] {
|
|
1118
1118
|
display: flex;
|
|
1119
1119
|
align-items: center;
|
|
1120
1120
|
gap: 6px;
|
|
@@ -1125,10 +1125,10 @@ to {
|
|
|
1125
1125
|
border: 1px solid var(--fc-border-color);
|
|
1126
1126
|
border-radius: 6px;
|
|
1127
1127
|
}
|
|
1128
|
-
.cond[data-v-
|
|
1128
|
+
.cond[data-v-cef95b26] {
|
|
1129
1129
|
/* __rule-num 为平级兄弟规则,保持原 CSS 声明顺序(位于 __rule 之后) */
|
|
1130
1130
|
}
|
|
1131
|
-
.cond__rule-num[data-v-
|
|
1131
|
+
.cond__rule-num[data-v-cef95b26] {
|
|
1132
1132
|
display: flex;
|
|
1133
1133
|
align-items: center;
|
|
1134
1134
|
justify-content: center;
|
|
@@ -1142,31 +1142,31 @@ to {
|
|
|
1142
1142
|
border-radius: 50%;
|
|
1143
1143
|
flex-shrink: 0;
|
|
1144
1144
|
}
|
|
1145
|
-
.cond[data-v-
|
|
1145
|
+
.cond[data-v-cef95b26] {
|
|
1146
1146
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(字段下拉加宽:100px 只够 4 字左右,130px 可完整显示 6 字字段名不出现省略号) */
|
|
1147
1147
|
}
|
|
1148
|
-
.cond__field[data-v-
|
|
1148
|
+
.cond__field[data-v-cef95b26] {
|
|
1149
1149
|
width: 130px;
|
|
1150
1150
|
flex-shrink: 0;
|
|
1151
1151
|
}
|
|
1152
|
-
.cond__op[data-v-
|
|
1152
|
+
.cond__op[data-v-cef95b26] {
|
|
1153
1153
|
width: 90px;
|
|
1154
1154
|
flex-shrink: 0;
|
|
1155
1155
|
}
|
|
1156
|
-
.cond__value[data-v-
|
|
1156
|
+
.cond__value[data-v-cef95b26] {
|
|
1157
1157
|
flex: 1;
|
|
1158
1158
|
min-width: 120px;
|
|
1159
1159
|
}
|
|
1160
|
-
.cond__rule-del[data-v-
|
|
1160
|
+
.cond__rule-del[data-v-cef95b26] {
|
|
1161
1161
|
flex-shrink: 0;
|
|
1162
1162
|
padding: 4px !important;
|
|
1163
1163
|
margin-left: 0;
|
|
1164
1164
|
}
|
|
1165
|
-
.cond[data-v-
|
|
1165
|
+
.cond[data-v-cef95b26] {
|
|
1166
1166
|
/* Developed collaboratively with vscode - 改动代码行数: 29行 */
|
|
1167
1167
|
/* 添加按钮:统一虚线幽灵风格(原生 button 替换 NButton quaternary,去掉内边距 hack) */
|
|
1168
1168
|
}
|
|
1169
|
-
.cond__add-btn[data-v-
|
|
1169
|
+
.cond__add-btn[data-v-cef95b26] {
|
|
1170
1170
|
display: flex;
|
|
1171
1171
|
align-items: center;
|
|
1172
1172
|
justify-content: center;
|
|
@@ -1180,31 +1180,31 @@ to {
|
|
|
1180
1180
|
cursor: pointer;
|
|
1181
1181
|
transition: background 0.15s ease, border-color 0.15s ease;
|
|
1182
1182
|
}
|
|
1183
|
-
.cond__add-btn[data-v-
|
|
1183
|
+
.cond__add-btn[data-v-cef95b26]:hover {
|
|
1184
1184
|
/* 悬停:主题色浅底 + 主题色实线边框 */
|
|
1185
1185
|
background: var(--fc-primary-color-bg);
|
|
1186
1186
|
border-color: var(--fc-border-color-hover);
|
|
1187
1187
|
}
|
|
1188
|
-
.cond__add-btn--rule[data-v-
|
|
1188
|
+
.cond__add-btn--rule[data-v-cef95b26] {
|
|
1189
1189
|
margin-top: 2px;
|
|
1190
1190
|
}
|
|
1191
|
-
.cond__add-btn[data-v-
|
|
1191
|
+
.cond__add-btn[data-v-cef95b26] {
|
|
1192
1192
|
/* Developed collaboratively with vscode - 改动代码行数: 7行(拆分对齐规则:组尾按钮左对齐;空状态按钮去掉 flex-start 改为跟随容器居中,与「请添加条件」文字对齐) */
|
|
1193
1193
|
/* 添加条件组入口:内容自适应宽度,组尾左对齐(规则内占满容器宽) */
|
|
1194
1194
|
}
|
|
1195
|
-
.cond__add-btn--group[data-v-
|
|
1195
|
+
.cond__add-btn--group[data-v-cef95b26] {
|
|
1196
1196
|
align-self: flex-start;
|
|
1197
1197
|
width: auto;
|
|
1198
1198
|
padding: 0 14px;
|
|
1199
1199
|
margin-top: 10px;
|
|
1200
1200
|
}
|
|
1201
|
-
.cond__and-line[data-v-
|
|
1201
|
+
.cond__and-line[data-v-cef95b26], .cond__or-line[data-v-cef95b26] {
|
|
1202
1202
|
flex: 1;
|
|
1203
1203
|
height: 1px;
|
|
1204
1204
|
/* Developed collaboratively with vscode - 改动代码行数: 1行 */
|
|
1205
1205
|
background: linear-gradient(90deg, transparent, var(--fc-border-color), transparent);
|
|
1206
1206
|
}
|
|
1207
|
-
.cond__and-text[data-v-
|
|
1207
|
+
.cond__and-text[data-v-cef95b26], .cond__or-text[data-v-cef95b26] {
|
|
1208
1208
|
display: inline-flex;
|
|
1209
1209
|
align-items: center;
|
|
1210
1210
|
justify-content: center;
|
|
@@ -1215,32 +1215,32 @@ to {
|
|
|
1215
1215
|
border-radius: 50%;
|
|
1216
1216
|
flex-shrink: 0;
|
|
1217
1217
|
}
|
|
1218
|
-
.cond[data-v-
|
|
1218
|
+
.cond[data-v-cef95b26] {
|
|
1219
1219
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(组间距加大,配合「或」线分割更清晰) */
|
|
1220
1220
|
}
|
|
1221
|
-
.cond__or[data-v-
|
|
1221
|
+
.cond__or[data-v-cef95b26] {
|
|
1222
1222
|
display: flex;
|
|
1223
1223
|
align-items: center;
|
|
1224
1224
|
gap: 8px;
|
|
1225
1225
|
padding: 10px 0;
|
|
1226
1226
|
}
|
|
1227
|
-
.cond__and-text[data-v-
|
|
1227
|
+
.cond__and-text[data-v-cef95b26] {
|
|
1228
1228
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(「且」圈改主题色三件套,跟随暗色模式) */
|
|
1229
1229
|
color: var(--fc-primary-color);
|
|
1230
1230
|
background: var(--fc-primary-color-bg);
|
|
1231
1231
|
border: 1px solid var(--fc-primary-color-bg);
|
|
1232
1232
|
}
|
|
1233
|
-
.cond__or-text[data-v-
|
|
1233
|
+
.cond__or-text[data-v-cef95b26] {
|
|
1234
1234
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(「或」圈改 warning 主题三件套,--fc-warning-color-bg 为警告色 10% 透明底) */
|
|
1235
1235
|
color: var(--fc-warning-color);
|
|
1236
1236
|
background: var(--fc-warning-color-bg);
|
|
1237
1237
|
border: 1px solid var(--fc-warning-color-bg);
|
|
1238
1238
|
}
|
|
1239
|
-
.cond[data-v-
|
|
1239
|
+
.cond[data-v-cef95b26] {
|
|
1240
1240
|
/* Developed collaboratively with vscode - 改动代码行数: 13行 */
|
|
1241
1241
|
/* 空状态:虚线框居中提示「请添加条件」 */
|
|
1242
1242
|
}
|
|
1243
|
-
.cond__empty[data-v-
|
|
1243
|
+
.cond__empty[data-v-cef95b26] {
|
|
1244
1244
|
display: flex;
|
|
1245
1245
|
flex-direction: column;
|
|
1246
1246
|
align-items: center;
|
|
@@ -1252,11 +1252,11 @@ to {
|
|
|
1252
1252
|
border-radius: 6px;
|
|
1253
1253
|
/* 空状态入口:自适应宽度,水平居中(原为独立后代规则移入此嵌套,特异性 (0,2,0) 仍高于 --group 的 (0,1,0),级联结果不变) */
|
|
1254
1254
|
}
|
|
1255
|
-
.cond__empty .cond__add-btn[data-v-
|
|
1255
|
+
.cond__empty .cond__add-btn[data-v-cef95b26] {
|
|
1256
1256
|
width: auto;
|
|
1257
1257
|
padding: 0 14px;
|
|
1258
1258
|
}
|
|
1259
|
-
.cond__empty-text[data-v-
|
|
1259
|
+
.cond__empty-text[data-v-cef95b26] {
|
|
1260
1260
|
font-size: 13px;
|
|
1261
1261
|
/* Developed collaboratively with vscode - 改动代码行数: 1行 */
|
|
1262
1262
|
color: var(--fc-text-color-tertiary);
|
|
@@ -1577,7 +1577,7 @@ to {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(style 块改用 scss) */
|
|
1579
1579
|
/* Developed collaboratively with vscode - 改动代码行数: 6行 */
|
|
1580
|
-
.flow-config-more[data-v-
|
|
1580
|
+
.flow-config-more[data-v-5850f6ef] {
|
|
1581
1581
|
max-width: 600px;
|
|
1582
1582
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(白色背景 + 圆角 + 距外部 20px 边距) */
|
|
1583
1583
|
margin: 20px auto;
|
|
@@ -1699,7 +1699,7 @@ to {
|
|
|
1699
1699
|
|
|
1700
1700
|
/* Developed collaboratively with vscode - 改动代码行数: 1行 */
|
|
1701
1701
|
/* 单个节点:展示模式时间列 72 + 间距 12 + 图标 36,选择模式时间在最右端 */
|
|
1702
|
-
.flow-node__item[data-v-
|
|
1702
|
+
.flow-node__item[data-v-c108c6cb] {
|
|
1703
1703
|
position: relative;
|
|
1704
1704
|
display: flex;
|
|
1705
1705
|
align-items: flex-start;
|
|
@@ -1707,13 +1707,13 @@ to {
|
|
|
1707
1707
|
/* 底部间距同时作为连接线的延伸区,使线段接到下一个节点图标顶部 */
|
|
1708
1708
|
padding-bottom: 28px;
|
|
1709
1709
|
}
|
|
1710
|
-
.flow-node__item[data-v-
|
|
1710
|
+
.flow-node__item[data-v-c108c6cb]:last-child {
|
|
1711
1711
|
padding-bottom: 0;
|
|
1712
1712
|
}
|
|
1713
|
-
.flow-node__item[data-v-
|
|
1713
|
+
.flow-node__item[data-v-c108c6cb] {
|
|
1714
1714
|
/* 节点连接线:从图标下方延伸到项底部,与下一项首尾相接 */
|
|
1715
1715
|
}
|
|
1716
|
-
.flow-node__item[data-v-
|
|
1716
|
+
.flow-node__item[data-v-c108c6cb]::before {
|
|
1717
1717
|
content: "";
|
|
1718
1718
|
position: absolute;
|
|
1719
1719
|
top: 40px; /* 图标 36 + 间距 4 */
|
|
@@ -1722,7 +1722,7 @@ to {
|
|
|
1722
1722
|
width: 2px;
|
|
1723
1723
|
background: var(--flow-border-color);
|
|
1724
1724
|
}
|
|
1725
|
-
.flow-node__item[data-v-
|
|
1725
|
+
.flow-node__item[data-v-c108c6cb]:last-child::before {
|
|
1726
1726
|
content: none;
|
|
1727
1727
|
}
|
|
1728
1728
|
|
|
@@ -1730,13 +1730,13 @@ to {
|
|
|
1730
1730
|
/* 选择/表单模式:无左侧时间列,连接线随之对齐图标中心 */
|
|
1731
1731
|
/* Developed collaboratively with vscode - 改动代码行数: 删除4行(select 连接线 left:45px 独立规则删除,随内边距化合并进下方 .flow-node__item--select 块统一调整偏移) */
|
|
1732
1732
|
/* Developed collaboratively with vscode - 改动代码行数: 3行改动(select 模式节点左侧新增单选框列后图标整体右移 16+12=28px:select 连接线改 45px 对齐图标中心,form 保持 17px 不变) */
|
|
1733
|
-
.flow-node__item--form[data-v-
|
|
1733
|
+
.flow-node__item--form[data-v-c108c6cb]::before {
|
|
1734
1734
|
left: 17px; /* 图标半径 18 - 线宽一半 1 */
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
1737
|
/* Developed collaboratively with vscode - 改动代码行数: 18行新增(select 模式节点左侧单选框:未选中灰描边圆圈,选中主色描边+内圆点;margin-top 10px 与 36px 图标垂直居中) */
|
|
1738
1738
|
/* select 模式:节点左侧单选框 */
|
|
1739
|
-
.flow-node__radio[data-v-
|
|
1739
|
+
.flow-node__radio[data-v-c108c6cb] {
|
|
1740
1740
|
flex-shrink: 0;
|
|
1741
1741
|
width: 16px;
|
|
1742
1742
|
height: 16px;
|
|
@@ -1745,32 +1745,32 @@ to {
|
|
|
1745
1745
|
border-radius: 50%;
|
|
1746
1746
|
transition: border-color 0.2s;
|
|
1747
1747
|
}
|
|
1748
|
-
.flow-node__radio--checked[data-v-
|
|
1748
|
+
.flow-node__radio--checked[data-v-c108c6cb] {
|
|
1749
1749
|
position: relative;
|
|
1750
1750
|
border-color: var(--flow-primary-color);
|
|
1751
1751
|
}
|
|
1752
|
-
.flow-node__radio--checked[data-v-
|
|
1752
|
+
.flow-node__radio--checked[data-v-c108c6cb]::after {
|
|
1753
1753
|
content: "";
|
|
1754
1754
|
position: absolute;
|
|
1755
1755
|
inset: 3px;
|
|
1756
1756
|
border-radius: 50%;
|
|
1757
1757
|
background: var(--flow-primary-color);
|
|
1758
1758
|
}
|
|
1759
|
-
.flow-node__item--select .flow-node__time[data-v-
|
|
1759
|
+
.flow-node__item--select .flow-node__time[data-v-c108c6cb] {
|
|
1760
1760
|
align-items: flex-end;
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
1763
|
/* 状态 → 节点名称配色:已完成-主文字 / 进行中-橙黄 / 未开始-弱文字 */
|
|
1764
|
-
.flow-node__item--doing .flow-node__name[data-v-
|
|
1764
|
+
.flow-node__item--doing .flow-node__name[data-v-c108c6cb] {
|
|
1765
1765
|
color: #e6a23c;
|
|
1766
1766
|
}
|
|
1767
|
-
.flow-node__item--pending .flow-node__name[data-v-
|
|
1767
|
+
.flow-node__item--pending .flow-node__name[data-v-c108c6cb] {
|
|
1768
1768
|
color: var(--flow-text-color-3);
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
1771
|
/* Developed collaboratively with vscode - 改动代码行数: 1行 */
|
|
1772
1772
|
/* 发生时间:日期、时刻两行(选择模式下移至最右侧并右对齐) */
|
|
1773
|
-
.flow-node__time[data-v-
|
|
1773
|
+
.flow-node__time[data-v-c108c6cb] {
|
|
1774
1774
|
display: flex;
|
|
1775
1775
|
flex-direction: column;
|
|
1776
1776
|
flex-shrink: 0;
|
|
@@ -1782,7 +1782,7 @@ to {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
|
|
1784
1784
|
/* 节点图标:36 圆形头像或类型图标 */
|
|
1785
|
-
.flow-node__badge[data-v-
|
|
1785
|
+
.flow-node__badge[data-v-c108c6cb] {
|
|
1786
1786
|
position: relative;
|
|
1787
1787
|
flex-shrink: 0;
|
|
1788
1788
|
width: 36px;
|
|
@@ -1790,7 +1790,7 @@ to {
|
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
1792
|
/* 结束节点:与连接线同色的灰色实心圆点 */
|
|
1793
|
-
.flow-node__badge-dot[data-v-
|
|
1793
|
+
.flow-node__badge-dot[data-v-c108c6cb] {
|
|
1794
1794
|
position: absolute;
|
|
1795
1795
|
top: 50%;
|
|
1796
1796
|
left: 50%;
|
|
@@ -1803,14 +1803,14 @@ to {
|
|
|
1803
1803
|
|
|
1804
1804
|
/* Developed collaboratively with vscode - 改动代码行数: 4行 */
|
|
1805
1805
|
/* 流程全部完成时结束节点圆点变绿(结束节点不放对勾徽标,圆点颜色即完成标识) */
|
|
1806
|
-
.flow-node__badge--done .flow-node__badge-dot[data-v-
|
|
1806
|
+
.flow-node__badge--done .flow-node__badge-dot[data-v-c108c6cb] {
|
|
1807
1807
|
background: var(--flow-success-color);
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
1810
|
/* Developed collaboratively with vscode - 改动代码行数: 8行 */
|
|
1811
1811
|
/* 基础视觉(圆形/居中/白字)由 FlowAvatar 提供,此处控制尺寸与字号;
|
|
1812
1812
|
类型图标容器为原生 div(非 FlowAvatar),需在此补齐居中与圆形 */
|
|
1813
|
-
.flow-node__badge-media[data-v-
|
|
1813
|
+
.flow-node__badge-media[data-v-c108c6cb] {
|
|
1814
1814
|
display: flex;
|
|
1815
1815
|
align-items: center;
|
|
1816
1816
|
justify-content: center;
|
|
@@ -1821,47 +1821,47 @@ to {
|
|
|
1821
1821
|
}
|
|
1822
1822
|
|
|
1823
1823
|
/* Developed collaboratively with vscode - 改动代码行数: 3行改动(doing 图标橙统一为主题变量并补 color-mix 底色:原 #e6a23c/rgba 单写与 doing 胶囊的主题橙 #D25F00 分裂为两种橙,改后同语义同色且跟随主题) */
|
|
1824
|
-
.flow-node__badge--doing .flow-node__badge-media--type[data-v-
|
|
1824
|
+
.flow-node__badge--doing .flow-node__badge-media--type[data-v-c108c6cb] {
|
|
1825
1825
|
color: var(--flow-warning-color);
|
|
1826
1826
|
background: color-mix(in srgb, var(--flow-warning-color) 15%, transparent);
|
|
1827
1827
|
}
|
|
1828
1828
|
|
|
1829
1829
|
/* Developed collaboratively with vscode - 改动代码行数: 1行改动(删除 rgba 兜底行仅保留 color-mix:当前主题下渲染不变) */
|
|
1830
|
-
.flow-node__badge--pending .flow-node__badge-media--type[data-v-
|
|
1831
|
-
.flow-node__badge--done .flow-node__badge-media--type[data-v-
|
|
1830
|
+
.flow-node__badge--pending .flow-node__badge-media--type[data-v-c108c6cb],
|
|
1831
|
+
.flow-node__badge--done .flow-node__badge-media--type[data-v-c108c6cb] {
|
|
1832
1832
|
color: var(--flow-text-color-3);
|
|
1833
1833
|
background: color-mix(in srgb, var(--flow-text-color-3) 14%, transparent);
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
1836
|
/* Developed collaboratively with vscode - 改动代码行数: 5行新增(驳回节点图标底色:与 doing/pending 同构的圆形淡红底,补齐 rejected 状态缺失的背景规则——此前驳回到发起人时发起人类型图标透明无圆形背景) */
|
|
1837
|
-
.flow-node__badge--rejected .flow-node__badge-media--type[data-v-
|
|
1837
|
+
.flow-node__badge--rejected .flow-node__badge-media--type[data-v-c108c6cb] {
|
|
1838
1838
|
color: var(--flow-error-color);
|
|
1839
1839
|
background: color-mix(in srgb, var(--flow-error-color) 15%, transparent);
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
1842
|
/* Developed collaboratively with vscode - 改动代码行数: 15行 */
|
|
1843
1843
|
/* 表单模式(发起流程):图标背景色跟随节点类型,与流程配置画布节点配色一致(发起=success 绿 / 审批=primary 蓝 / 抄送=warning 橙;结束节点仍为灰点) */
|
|
1844
|
-
.flow-node__badge--form-start .flow-node__badge-media--type[data-v-
|
|
1844
|
+
.flow-node__badge--form-start .flow-node__badge-media--type[data-v-c108c6cb] {
|
|
1845
1845
|
color: #fff;
|
|
1846
1846
|
background: var(--flow-success-color);
|
|
1847
1847
|
}
|
|
1848
|
-
.flow-node__badge--form-approver .flow-node__badge-media--type[data-v-
|
|
1848
|
+
.flow-node__badge--form-approver .flow-node__badge-media--type[data-v-c108c6cb] {
|
|
1849
1849
|
color: #fff;
|
|
1850
1850
|
background: var(--flow-primary-color);
|
|
1851
1851
|
}
|
|
1852
|
-
.flow-node__badge--form-cc .flow-node__badge-media--type[data-v-
|
|
1852
|
+
.flow-node__badge--form-cc .flow-node__badge-media--type[data-v-c108c6cb] {
|
|
1853
1853
|
color: #fff;
|
|
1854
1854
|
background: var(--flow-warning-color);
|
|
1855
1855
|
}
|
|
1856
|
-
.flow-node__badge-icon[data-v-
|
|
1856
|
+
.flow-node__badge-icon[data-v-c108c6cb] {
|
|
1857
1857
|
width: 18px;
|
|
1858
1858
|
height: 18px;
|
|
1859
1859
|
}
|
|
1860
1860
|
|
|
1861
1861
|
/* Developed collaboratively with vscode - 改动代码行数: 8行改动(完成/时钟角标共享定位与外观:position/偏移/尺寸/圆角/白字/白描边 11 条声明合并为共享选择器,差异仅各自底色与图标尺寸,计算结果不变) */
|
|
1862
1862
|
/* 已完成/进行中角标:图标右下角的圆形徽标,白色描边与头像分离(差异仅底色与图标尺寸) */
|
|
1863
|
-
.flow-node__badge-check[data-v-
|
|
1864
|
-
.flow-node__badge-clock[data-v-
|
|
1863
|
+
.flow-node__badge-check[data-v-c108c6cb],
|
|
1864
|
+
.flow-node__badge-clock[data-v-c108c6cb] {
|
|
1865
1865
|
position: absolute;
|
|
1866
1866
|
right: -3px;
|
|
1867
1867
|
bottom: -3px;
|
|
@@ -1877,30 +1877,30 @@ to {
|
|
|
1877
1877
|
|
|
1878
1878
|
/* Developed collaboratively with vscode - 改动代码行数: 1行改动(删除永不生效的变量兜底 #009a29:flowVars 在组件根与弹层均注入,变量必存在) */
|
|
1879
1879
|
/* 已完成角标:绿色圆形对勾 */
|
|
1880
|
-
.flow-node__badge-check[data-v-
|
|
1880
|
+
.flow-node__badge-check[data-v-c108c6cb] {
|
|
1881
1881
|
background: var(--flow-success-color);
|
|
1882
1882
|
}
|
|
1883
|
-
.flow-node__badge-check svg[data-v-
|
|
1883
|
+
.flow-node__badge-check svg[data-v-c108c6cb] {
|
|
1884
1884
|
width: 8px;
|
|
1885
1885
|
height: 8px;
|
|
1886
1886
|
}
|
|
1887
1887
|
|
|
1888
1888
|
/* Developed collaboratively with vscode - 改动代码行数: 1行改动(时钟角标橙统一为主题 warning 变量,与 doing 胶囊/图标同色且跟随主题) */
|
|
1889
1889
|
/* 进行中角标:橙色圆形时钟,与完成角标同位呼应 */
|
|
1890
|
-
.flow-node__badge-clock[data-v-
|
|
1890
|
+
.flow-node__badge-clock[data-v-c108c6cb] {
|
|
1891
1891
|
background: var(--flow-warning-color);
|
|
1892
1892
|
}
|
|
1893
|
-
.flow-node__badge-clock svg[data-v-
|
|
1893
|
+
.flow-node__badge-clock svg[data-v-c108c6cb] {
|
|
1894
1894
|
width: 9px;
|
|
1895
1895
|
height: 9px;
|
|
1896
1896
|
}
|
|
1897
1897
|
|
|
1898
1898
|
/* 节点内容 */
|
|
1899
|
-
.flow-node__main[data-v-
|
|
1899
|
+
.flow-node__main[data-v-c108c6cb] {
|
|
1900
1900
|
flex: 1;
|
|
1901
1901
|
min-width: 0;
|
|
1902
1902
|
}
|
|
1903
|
-
.flow-node__name[data-v-
|
|
1903
|
+
.flow-node__name[data-v-c108c6cb] {
|
|
1904
1904
|
font-size: 14px;
|
|
1905
1905
|
font-weight: 600;
|
|
1906
1906
|
line-height: 1.5;
|
|
@@ -1908,7 +1908,7 @@ to {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
|
|
1910
1910
|
/* 人员列表:胶囊形式,淡背景 + 边框,与正文区分 */
|
|
1911
|
-
.flow-node__users[data-v-
|
|
1911
|
+
.flow-node__users[data-v-c108c6cb] {
|
|
1912
1912
|
display: flex;
|
|
1913
1913
|
flex-wrap: wrap;
|
|
1914
1914
|
gap: 8px;
|
|
@@ -1917,13 +1917,13 @@ to {
|
|
|
1917
1917
|
|
|
1918
1918
|
/* Developed collaboratively with vscode - 改动代码行数: 5行 */
|
|
1919
1919
|
/* 表单模式自选审批人:选择器占满内容行,与人员列表同间距 */
|
|
1920
|
-
.flow-node__self-select[data-v-
|
|
1920
|
+
.flow-node__self-select[data-v-c108c6cb] {
|
|
1921
1921
|
width: 100%;
|
|
1922
1922
|
margin-top: 8px;
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
1925
1925
|
/* Developed collaboratively with vscode - 改动代码行数: 2行改动(删除 rgba 兜底行仅保留 color-mix:当前主题下渲染不变) */
|
|
1926
|
-
.flow-node__user[data-v-
|
|
1926
|
+
.flow-node__user[data-v-c108c6cb] {
|
|
1927
1927
|
display: flex;
|
|
1928
1928
|
align-items: center;
|
|
1929
1929
|
gap: 6px;
|
|
@@ -1936,19 +1936,19 @@ to {
|
|
|
1936
1936
|
|
|
1937
1937
|
/* Developed collaboratively with vscode - 改动代码行数: 4行 */
|
|
1938
1938
|
/* 基础视觉由 FlowAvatar 提供,此处仅控制尺寸与字号 */
|
|
1939
|
-
.flow-node__user-avatar[data-v-
|
|
1939
|
+
.flow-node__user-avatar[data-v-c108c6cb] {
|
|
1940
1940
|
width: 20px;
|
|
1941
1941
|
height: 20px;
|
|
1942
1942
|
font-size: 11px;
|
|
1943
1943
|
}
|
|
1944
|
-
.flow-node__user-name[data-v-
|
|
1944
|
+
.flow-node__user-name[data-v-c108c6cb] {
|
|
1945
1945
|
font-size: 12px;
|
|
1946
1946
|
color: var(--flow-text-color-2);
|
|
1947
1947
|
}
|
|
1948
1948
|
|
|
1949
1949
|
/* Developed collaboratively with vscode - 改动代码行数: 2行改动(删除 rgba 兜底行仅保留 color-mix:项目主题 success 即 #009A29,当前渲染不变) */
|
|
1950
1950
|
/* 已审批人员:淡绿胶囊 */
|
|
1951
|
-
.flow-node__user--done[data-v-
|
|
1951
|
+
.flow-node__user--done[data-v-c108c6cb] {
|
|
1952
1952
|
border-color: color-mix(in srgb, var(--flow-success-color) 30%, transparent);
|
|
1953
1953
|
background: color-mix(in srgb, var(--flow-success-color) 6%, transparent);
|
|
1954
1954
|
}
|
|
@@ -1956,20 +1956,20 @@ to {
|
|
|
1956
1956
|
/* Developed collaboratively with vscode - 改动代码行数: 2行改动(审批中人员胶囊背景与边框同色系:此前仅换边框色、背景仍是基础灰底,补淡橙背景保持一致) */
|
|
1957
1957
|
/* Developed collaboratively with vscode - 改动代码行数: 4行改动(删除 rgba 兜底行仅保留 color-mix,并删除永不生效的 #e6a23c 兜底——新旧浏览器此前 rgba 亮橙与 color-mix 主题橙 #D25F00 两色分裂,删后统一为主题橙) */
|
|
1958
1958
|
/* 审批中人员:柔和橙黄边框 + 同色淡背景 */
|
|
1959
|
-
.flow-node__user--doing[data-v-
|
|
1959
|
+
.flow-node__user--doing[data-v-c108c6cb] {
|
|
1960
1960
|
border-color: color-mix(in srgb, var(--flow-warning-color) 40%, transparent);
|
|
1961
1961
|
background: color-mix(in srgb, var(--flow-warning-color) 8%, transparent);
|
|
1962
1962
|
}
|
|
1963
1963
|
|
|
1964
1964
|
/* Developed collaboratively with vscode - 改动代码行数: 7行 */
|
|
1965
1965
|
/* 驳回人员:淡红色边框 + 淡红背景(节点内该人员最后一条操作记录为驳回) */
|
|
1966
|
-
.flow-node__user--rejected[data-v-
|
|
1966
|
+
.flow-node__user--rejected[data-v-c108c6cb] {
|
|
1967
1967
|
border-color: color-mix(in srgb, var(--flow-error-color) 40%, transparent);
|
|
1968
1968
|
background: color-mix(in srgb, var(--flow-error-color) 8%, transparent);
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
1971
1971
|
/* Developed collaboratively with vscode - 改动代码行数: 1行改动(删除永不生效的变量兜底 #009a29) */
|
|
1972
|
-
.flow-node__user-check[data-v-
|
|
1972
|
+
.flow-node__user-check[data-v-c108c6cb] {
|
|
1973
1973
|
width: 11px;
|
|
1974
1974
|
height: 11px;
|
|
1975
1975
|
flex-shrink: 0;
|
|
@@ -1979,14 +1979,14 @@ to {
|
|
|
1979
1979
|
/* Developed collaboratively with vscode - 改动代码行数: 2行改动(流程变更驳回只选节点不到人:人员级可选样式 --selectable 取消,共享可点选择器仅保留展示模式 --has-record) */
|
|
1980
1980
|
/* Developed collaboratively with vscode - 改动代码行数: 删除8行(删除 --selectable 差异块及其历史注记:人员级驳回目标选择已移除) */
|
|
1981
1981
|
/* 可点击人员(展示模式有记录可查看):hover 主色提示 */
|
|
1982
|
-
.flow-node__user--has-record[data-v-
|
|
1982
|
+
.flow-node__user--has-record[data-v-c108c6cb] {
|
|
1983
1983
|
cursor: pointer;
|
|
1984
1984
|
transition: border-color 0.2s;
|
|
1985
1985
|
}
|
|
1986
|
-
.flow-node__user--has-record[data-v-
|
|
1986
|
+
.flow-node__user--has-record[data-v-c108c6cb]:hover {
|
|
1987
1987
|
border-color: var(--flow-primary-color);
|
|
1988
1988
|
}
|
|
1989
|
-
.flow-node__user-arrow[data-v-
|
|
1989
|
+
.flow-node__user-arrow[data-v-c108c6cb] {
|
|
1990
1990
|
flex-shrink: 0;
|
|
1991
1991
|
width: 10px;
|
|
1992
1992
|
height: 10px;
|
|
@@ -1995,7 +1995,7 @@ to {
|
|
|
1995
1995
|
|
|
1996
1996
|
/* Developed collaboratively with vscode - 改动代码行数: 23行 */
|
|
1997
1997
|
/* 人员折叠:展开/收起按钮(跟随人员列表末尾的浅主色胶囊,hover 加深) */
|
|
1998
|
-
.flow-node__more[data-v-
|
|
1998
|
+
.flow-node__more[data-v-c108c6cb] {
|
|
1999
1999
|
display: inline-flex;
|
|
2000
2000
|
align-items: center;
|
|
2001
2001
|
gap: 4px;
|
|
@@ -2009,24 +2009,24 @@ to {
|
|
|
2009
2009
|
user-select: none;
|
|
2010
2010
|
transition: background-color 0.2s;
|
|
2011
2011
|
}
|
|
2012
|
-
.flow-node__more[data-v-
|
|
2012
|
+
.flow-node__more[data-v-c108c6cb]:hover {
|
|
2013
2013
|
background: color-mix(in srgb, var(--flow-primary-color) 16%, transparent);
|
|
2014
2014
|
}
|
|
2015
2015
|
|
|
2016
2016
|
/* 箭头图标:展开时旋转朝上 */
|
|
2017
|
-
.flow-node__more-icon[data-v-
|
|
2017
|
+
.flow-node__more-icon[data-v-c108c6cb] {
|
|
2018
2018
|
width: 12px;
|
|
2019
2019
|
height: 12px;
|
|
2020
2020
|
transition: transform 0.2s;
|
|
2021
2021
|
}
|
|
2022
|
-
.flow-node__more-icon--expanded[data-v-
|
|
2022
|
+
.flow-node__more-icon--expanded[data-v-c108c6cb] {
|
|
2023
2023
|
transform: rotate(180deg);
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
2026
|
/* Developed collaboratively with vscode - 改动代码行数: 删除6行(移除 .flow-node__user--selectable 的重复样式块:与上方上移后的正主块逐字相同,系移动后未删的残留,编译产物不变) */
|
|
2027
2027
|
/* Developed collaboratively with vscode - 改动代码行数: 4行(移至 .flow-node__user-check 基础规则之后:同特异性靠后者覆盖,修复驳回 X 被基础绿色 color 覆盖的问题) */
|
|
2028
2028
|
/* 驳回人员的 X 图标:红色 */
|
|
2029
|
-
.flow-node__user-check--reject[data-v-
|
|
2029
|
+
.flow-node__user-check--reject[data-v-c108c6cb] {
|
|
2030
2030
|
color: var(--flow-error-color);
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
@@ -2034,7 +2034,7 @@ to {
|
|
|
2034
2034
|
/* Developed collaboratively with vscode - 改动代码行数: 19行新增(select 模式整节点点选:节点容器 hover 淡主色底提示可点;选中态主色淡底+节点名主色常显——置文件后部以覆盖 --doing 的节点名橙色,并用 :hover 同规则避免悬停被 --select:hover 抢色) */
|
|
2035
2035
|
/* Developed collaboratively with vscode - 改动代码行数: 14行改动(选中/hover 背景不再贴边:容器加 8px 12px 内边距留白;连接线延伸区从 padding-bottom 改由 margin-bottom 28px 承载使背景盒不覆盖线段——::before 相应改 top 48(顶内边距 8+图标 36+间距 4)/bottom -36(跨 28 外边距+下节点 8 顶内边距接到下一图标顶)/left 57(左内边距 12+单选框 16+间距 12+图标半径 18-线宽一半 1),45px 独立规则随之删除;末项无线段延伸区故 margin 清零、padding-bottom 恢复 8px 背景内边距) */
|
|
2036
2036
|
/* select 模式:整节点可点选 */
|
|
2037
|
-
.flow-node__item--select[data-v-
|
|
2037
|
+
.flow-node__item--select[data-v-c108c6cb] {
|
|
2038
2038
|
cursor: pointer;
|
|
2039
2039
|
padding: 8px 12px;
|
|
2040
2040
|
margin-bottom: 28px; /* 连接线延伸区改由外边距承载,背景盒不覆盖线段 */
|
|
@@ -2042,29 +2042,29 @@ to {
|
|
|
2042
2042
|
transition: background-color 0.2s;
|
|
2043
2043
|
/* 连接线随内边距与单选框列整体偏移,并跨过外边距延伸到下一节点图标顶 */
|
|
2044
2044
|
}
|
|
2045
|
-
.flow-node__item--select[data-v-
|
|
2045
|
+
.flow-node__item--select[data-v-c108c6cb]::before {
|
|
2046
2046
|
top: 48px; /* 顶内边距 8 + 图标 36 + 间距 4 */
|
|
2047
2047
|
bottom: -36px; /* 跨 28 外边距 + 下节点顶内边距 8 */
|
|
2048
2048
|
left: 57px; /* 左内边距 12 + 单选框 16 + 间距 12 + 图标半径 18 - 线宽一半 1 */
|
|
2049
2049
|
}
|
|
2050
|
-
.flow-node__item--select[data-v-
|
|
2050
|
+
.flow-node__item--select[data-v-c108c6cb]:last-child {
|
|
2051
2051
|
margin-bottom: 0;
|
|
2052
2052
|
padding-bottom: 8px; /* 覆盖 base :last-child 的 padding-bottom:0,保留背景内边距 */
|
|
2053
2053
|
}
|
|
2054
|
-
.flow-node__item--select[data-v-
|
|
2054
|
+
.flow-node__item--select[data-v-c108c6cb]:hover {
|
|
2055
2055
|
background: color-mix(in srgb, var(--flow-primary-color) 6%, transparent);
|
|
2056
2056
|
}
|
|
2057
2057
|
|
|
2058
2058
|
/* select 模式:当前选中的驳回节点,主色淡底 + 节点名主色 */
|
|
2059
|
-
.flow-node__item--selected[data-v-
|
|
2060
|
-
.flow-node__item--selected[data-v-
|
|
2059
|
+
.flow-node__item--selected[data-v-c108c6cb],
|
|
2060
|
+
.flow-node__item--selected[data-v-c108c6cb]:hover {
|
|
2061
2061
|
background: color-mix(in srgb, var(--flow-primary-color) 10%, transparent);
|
|
2062
2062
|
}
|
|
2063
|
-
.flow-node__item--selected .flow-node__name[data-v-
|
|
2064
|
-
.flow-node__item--selected:hover .flow-node__name[data-v-
|
|
2063
|
+
.flow-node__item--selected .flow-node__name[data-v-c108c6cb],
|
|
2064
|
+
.flow-node__item--selected:hover .flow-node__name[data-v-c108c6cb] {
|
|
2065
2065
|
color: var(--flow-primary-color);
|
|
2066
2066
|
}
|
|
2067
|
-
.flow-node__desc[data-v-
|
|
2067
|
+
.flow-node__desc[data-v-c108c6cb] {
|
|
2068
2068
|
margin: 4px 0 0;
|
|
2069
2069
|
font-size: 12px;
|
|
2070
2070
|
line-height: 1.5;
|
|
@@ -2073,7 +2073,7 @@ to {
|
|
|
2073
2073
|
|
|
2074
2074
|
/* Developed collaboratively with vscode - 改动代码行数: 2行改动(删除 rgba 兜底行仅保留 color-mix;删除永不生效的 --flow-card-color 兜底 #fff——弹层 style 上同样注入 flowVars) */
|
|
2075
2075
|
/* 审批意见卡片:渲染在 teleport 弹层内,需置于节点结构之外才能命中 scoped 样式 */
|
|
2076
|
-
.flow-node__record[data-v-
|
|
2076
|
+
.flow-node__record[data-v-c108c6cb] {
|
|
2077
2077
|
width: 320px;
|
|
2078
2078
|
padding: 10px 12px;
|
|
2079
2079
|
border: 1px solid color-mix(in srgb, var(--flow-text-color-3) 18%, transparent);
|
|
@@ -2086,7 +2086,7 @@ to {
|
|
|
2086
2086
|
|
|
2087
2087
|
/* Developed collaboratively with vscode - 改动代码行数: 31行+删除6行(删除按人员 status 染色的卡片级 --done/--doing 左边框;新增记录项样式:左边框按记录类型染色——同意=绿/驳回=红,头部类型文案与时间两端对齐) */
|
|
2088
2088
|
/* 记录项:按记录类型左侧染色(同意=绿 / 驳回=红),多条纵向排列 */
|
|
2089
|
-
.flow-node__record-item[data-v-
|
|
2089
|
+
.flow-node__record-item[data-v-c108c6cb] {
|
|
2090
2090
|
margin-top: 8px;
|
|
2091
2091
|
padding: 6px 8px;
|
|
2092
2092
|
border: 1px solid color-mix(in srgb, var(--flow-text-color-3) 12%, transparent);
|
|
@@ -2094,30 +2094,30 @@ to {
|
|
|
2094
2094
|
border-left-color: var(--flow-success-color);
|
|
2095
2095
|
border-radius: 6px;
|
|
2096
2096
|
}
|
|
2097
|
-
.flow-node__record-item--reject[data-v-
|
|
2097
|
+
.flow-node__record-item--reject[data-v-c108c6cb] {
|
|
2098
2098
|
border-left-color: var(--flow-error-color);
|
|
2099
2099
|
}
|
|
2100
|
-
.flow-node__record-item-head[data-v-
|
|
2100
|
+
.flow-node__record-item-head[data-v-c108c6cb] {
|
|
2101
2101
|
display: flex;
|
|
2102
2102
|
align-items: center;
|
|
2103
2103
|
justify-content: space-between;
|
|
2104
2104
|
gap: 6px;
|
|
2105
2105
|
}
|
|
2106
|
-
.flow-node__record-item-type[data-v-
|
|
2106
|
+
.flow-node__record-item-type[data-v-c108c6cb] {
|
|
2107
2107
|
font-size: 12px;
|
|
2108
2108
|
font-weight: 600;
|
|
2109
2109
|
color: var(--flow-success-color);
|
|
2110
2110
|
}
|
|
2111
|
-
.flow-node__record-item--reject .flow-node__record-item-type[data-v-
|
|
2111
|
+
.flow-node__record-item--reject .flow-node__record-item-type[data-v-c108c6cb] {
|
|
2112
2112
|
color: var(--flow-error-color);
|
|
2113
2113
|
}
|
|
2114
|
-
.flow-node__record-item-time[data-v-
|
|
2114
|
+
.flow-node__record-item-time[data-v-c108c6cb] {
|
|
2115
2115
|
flex-shrink: 0;
|
|
2116
2116
|
font-size: 11px;
|
|
2117
2117
|
font-variant-numeric: tabular-nums;
|
|
2118
2118
|
color: var(--flow-text-color-3);
|
|
2119
2119
|
}
|
|
2120
|
-
.flow-node__record-head[data-v-
|
|
2120
|
+
.flow-node__record-head[data-v-c108c6cb] {
|
|
2121
2121
|
display: flex;
|
|
2122
2122
|
align-items: center;
|
|
2123
2123
|
gap: 6px;
|
|
@@ -2125,13 +2125,13 @@ to {
|
|
|
2125
2125
|
|
|
2126
2126
|
/* Developed collaboratively with vscode - 改动代码行数: 5行 */
|
|
2127
2127
|
/* 基础视觉由 FlowAvatar 提供,此处仅控制尺寸与字号 */
|
|
2128
|
-
.flow-node__record-avatar[data-v-
|
|
2128
|
+
.flow-node__record-avatar[data-v-c108c6cb] {
|
|
2129
2129
|
flex-shrink: 0;
|
|
2130
2130
|
width: 18px;
|
|
2131
2131
|
height: 18px;
|
|
2132
2132
|
font-size: 10px;
|
|
2133
2133
|
}
|
|
2134
|
-
.flow-node__record-name[data-v-
|
|
2134
|
+
.flow-node__record-name[data-v-c108c6cb] {
|
|
2135
2135
|
flex: 1;
|
|
2136
2136
|
min-width: 0;
|
|
2137
2137
|
overflow: hidden;
|
|
@@ -2143,8 +2143,8 @@ to {
|
|
|
2143
2143
|
/* Developed collaboratively with vscode - 改动代码行数: 0行+删除5行(删除卡片头部旧操作时间样式:时间移入每条记录项头部展示) */
|
|
2144
2144
|
/* Developed collaboratively with vscode - 改动代码行数: 9行改动(意见正文与空占位共享基础排版:边距/字号/行高/pre-wrap/word-break 合并为共享选择器,差异仅文字颜色;空占位并入 pre-wrap 对固定短文案「未填写审批意见」无视觉影响) */
|
|
2145
2145
|
/* 记录意见正文与无意见占位:共享基础排版,正文弱二级色、占位弱三级色 */
|
|
2146
|
-
.flow-node__record-opinion[data-v-
|
|
2147
|
-
.flow-node__record-empty[data-v-
|
|
2146
|
+
.flow-node__record-opinion[data-v-c108c6cb],
|
|
2147
|
+
.flow-node__record-empty[data-v-c108c6cb] {
|
|
2148
2148
|
margin: 2px 0 0;
|
|
2149
2149
|
font-size: 12px;
|
|
2150
2150
|
line-height: 1.6;
|
|
@@ -2154,19 +2154,19 @@ to {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
2156
|
/* 无审批意见占位文案:三级弱色 */
|
|
2157
|
-
.flow-node__record-empty[data-v-
|
|
2157
|
+
.flow-node__record-empty[data-v-c108c6cb] {
|
|
2158
2158
|
color: var(--flow-text-color-3);
|
|
2159
2159
|
}
|
|
2160
2160
|
|
|
2161
2161
|
/* Developed collaboratively with vscode - 改动代码行数: 1行改动(删除 rgba 兜底行仅保留 color-mix:当前主题下渲染不变) */
|
|
2162
2162
|
/* 附件:回形针 + 文件名的小卡片,可点击下载 */
|
|
2163
|
-
.flow-node__record-files[data-v-
|
|
2163
|
+
.flow-node__record-files[data-v-c108c6cb] {
|
|
2164
2164
|
display: flex;
|
|
2165
2165
|
flex-wrap: wrap;
|
|
2166
2166
|
gap: 6px;
|
|
2167
2167
|
margin-top: 6px;
|
|
2168
2168
|
}
|
|
2169
|
-
.flow-node__record-file[data-v-
|
|
2169
|
+
.flow-node__record-file[data-v-c108c6cb] {
|
|
2170
2170
|
display: flex;
|
|
2171
2171
|
align-items: center;
|
|
2172
2172
|
gap: 4px;
|
|
@@ -2178,17 +2178,17 @@ to {
|
|
|
2178
2178
|
background: color-mix(in srgb, var(--flow-text-color-3) 8%, transparent);
|
|
2179
2179
|
transition: color 0.2s;
|
|
2180
2180
|
}
|
|
2181
|
-
.flow-node__record-file svg[data-v-
|
|
2181
|
+
.flow-node__record-file svg[data-v-c108c6cb] {
|
|
2182
2182
|
width: 12px;
|
|
2183
2183
|
height: 12px;
|
|
2184
2184
|
flex-shrink: 0;
|
|
2185
2185
|
}
|
|
2186
|
-
.flow-node__record-file span[data-v-
|
|
2186
|
+
.flow-node__record-file span[data-v-c108c6cb] {
|
|
2187
2187
|
overflow: hidden;
|
|
2188
2188
|
text-overflow: ellipsis;
|
|
2189
2189
|
white-space: nowrap;
|
|
2190
2190
|
}
|
|
2191
|
-
.flow-node__record-file[data-v-
|
|
2191
|
+
.flow-node__record-file[data-v-c108c6cb]:hover {
|
|
2192
2192
|
color: var(--flow-primary-color);
|
|
2193
2193
|
}
|
|
2194
2194
|
/* Developed collaboratively with vscode - 改动代码行数: 3行 */
|