@yugu-ui/flow-ui 0.1.13 → 0.1.15

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/index.js CHANGED
@@ -71,7 +71,7 @@ function createDefaultPersonSelectorApi(request) {
71
71
  * - `getToken`:返回完整 Authorization 头值(如 `Bearer xxx`),供包内原生 fetch 场景使用;
72
72
  * - `baseURL`:后端接口基础路径,远程选项相对 action 拼接用;
73
73
  * - `personSelectorApi`:人员选择器数据源,默认请求 GET /system/person-selector。
74
- * - `components`:能力组件注入(如附件上传组件),包内以动态组件消费,未注入时对应能力降级提示。
74
+ * - `components`:能力组件注入(附件上传、选人组件),包内以动态组件消费——附件上传未注入降级提示,选人组件未注入回落内置实现。
75
75
  * Developed collaboratively with vscode - 改动代码行数: 1行(2.12 宿主全局组件解耦:注入入口文档补能力组件说明)
76
76
  */
77
77
  function createFlowUI(options) {
@@ -3474,6 +3474,19 @@ var person_selector_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
3474
3474
  }
3475
3475
  }), [["__scopeId", "data-v-fe31f4e2"]]);
3476
3476
  //#endregion
3477
+ //#region src/person-selector/PersonSelectorSlot.vue
3478
+ var PersonSelectorSlot_default = /* @__PURE__ */ defineComponent({
3479
+ name: "PersonSelectorSlot",
3480
+ inheritAttrs: false,
3481
+ __name: "PersonSelectorSlot",
3482
+ setup(__props) {
3483
+ const resolved = computed(() => getFlowUIConfig().components.PersonSelector || person_selector_default);
3484
+ return (_ctx, _cache) => {
3485
+ return openBlock(), createBlock(resolveDynamicComponent(resolved.value), normalizeProps(guardReactiveProps(_ctx.$attrs)), null, 16);
3486
+ };
3487
+ }
3488
+ });
3489
+ //#endregion
3477
3490
  //#region src/config/FlowConfigFlow/components/NodeConfigDrawer/modules/StartConfig.vue
3478
3491
  var StartConfig_default = /* @__PURE__ */ defineComponent({
3479
3492
  name: "NodeStartConfig",
@@ -3509,7 +3522,7 @@ var StartConfig_default = /* @__PURE__ */ defineComponent({
3509
3522
  key: 0,
3510
3523
  label: "指定成员"
3511
3524
  }, {
3512
- default: withCtx(() => [createVNode(person_selector_default, {
3525
+ default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
3513
3526
  modelValue: __props.config.members,
3514
3527
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.config.members = $event),
3515
3528
  placeholder: "请选择成员"
@@ -3557,7 +3570,7 @@ var ApproverConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
3557
3570
  key: 0,
3558
3571
  label: "指定审批人"
3559
3572
  }, {
3560
- default: withCtx(() => [createVNode(person_selector_default, {
3573
+ default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
3561
3574
  modelValue: __props.config.approvers,
3562
3575
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.config.approvers = $event),
3563
3576
  placeholder: "请选择审批人"
@@ -3614,7 +3627,7 @@ var ApproverConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
3614
3627
  ], 64);
3615
3628
  };
3616
3629
  }
3617
- }), [["__scopeId", "data-v-60121398"]]);
3630
+ }), [["__scopeId", "data-v-afc4c5d9"]]);
3618
3631
  //#endregion
3619
3632
  //#region src/config/FlowConfigFlow/components/NodeConfigDrawer/modules/CcConfig.vue
3620
3633
  var CcConfig_default = /* @__PURE__ */ defineComponent({
@@ -3625,7 +3638,7 @@ var CcConfig_default = /* @__PURE__ */ defineComponent({
3625
3638
  return (_ctx, _cache) => {
3626
3639
  const _component_NFormItem = NFormItem;
3627
3640
  return openBlock(), createBlock(_component_NFormItem, { label: "抄送人" }, {
3628
- default: withCtx(() => [createVNode(person_selector_default, {
3641
+ default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
3629
3642
  modelValue: __props.config.receivers,
3630
3643
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.config.receivers = $event),
3631
3644
  placeholder: "请选择抄送人"
@@ -3829,7 +3842,7 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
3829
3842
  "onUpdate:value",
3830
3843
  "options"
3831
3844
  ]),
3832
- getFieldType(rule.field) === "person" ? (openBlock(), createBlock(person_selector_default, {
3845
+ getFieldType(rule.field) === "person" ? (openBlock(), createBlock(PersonSelectorSlot_default, {
3833
3846
  key: 0,
3834
3847
  modelValue: rule.value,
3835
3848
  "onUpdate:modelValue": ($event) => rule.value = $event,
@@ -3853,7 +3866,8 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
3853
3866
  placeholder: "数字",
3854
3867
  class: "cond__value",
3855
3868
  min: 0,
3856
- precision: 2
3869
+ precision: 2,
3870
+ "update-value-on-input": true
3857
3871
  }, null, 8, ["value", "onUpdate:value"])) : (openBlock(), createBlock(_component_NInput, {
3858
3872
  key: 3,
3859
3873
  value: rule.value,
@@ -3896,7 +3910,7 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
3896
3910
  });
3897
3911
  };
3898
3912
  }
3899
- }), [["__scopeId", "data-v-182807c6"]]);
3913
+ }), [["__scopeId", "data-v-cef95b26"]]);
3900
3914
  //#endregion
3901
3915
  //#region src/config/FlowConfigFlow/components/NodeConfigDrawer/index.vue
3902
3916
  var NodeConfigDrawer_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -4746,7 +4760,7 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
4746
4760
  label: "流程管理员",
4747
4761
  path: "manager"
4748
4762
  }, {
4749
- default: withCtx(() => [createVNode(person_selector_default, {
4763
+ default: withCtx(() => [createVNode(PersonSelectorSlot_default, {
4750
4764
  modelValue: settings.value.manager,
4751
4765
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => settings.value.manager = $event),
4752
4766
  placeholder: "请选择流程管理员"
@@ -4758,7 +4772,8 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
4758
4772
  value: settings.value.sort,
4759
4773
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => settings.value.sort = $event),
4760
4774
  min: 0,
4761
- placeholder: "请输入显示顺序"
4775
+ placeholder: "请输入显示顺序",
4776
+ "update-value-on-input": true
4762
4777
  }, null, 8, ["value"])]),
4763
4778
  _: 1
4764
4779
  }),
@@ -4803,7 +4818,8 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
4803
4818
  value: settings.value.timeout,
4804
4819
  "onUpdate:value": _cache[7] || (_cache[7] = ($event) => settings.value.timeout = $event),
4805
4820
  min: 0,
4806
- placeholder: "0为不限制"
4821
+ placeholder: "0为不限制",
4822
+ "update-value-on-input": true
4807
4823
  }, null, 8, ["value"])]),
4808
4824
  _: 1
4809
4825
  }),
@@ -4856,7 +4872,7 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
4856
4872
  }, 8, ["model"])]);
4857
4873
  };
4858
4874
  }
4859
- }), [["__scopeId", "data-v-253184d3"]]);
4875
+ }), [["__scopeId", "data-v-5850f6ef"]]);
4860
4876
  //#endregion
4861
4877
  //#region src/config/FlowConfig.vue?vue&type=script&setup=true&lang.ts
4862
4878
  var _hoisted_1$10 = { class: "flow-config__header" };
@@ -5750,7 +5766,7 @@ var FlowNode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__P
5750
5766
  createElementVNode("div", _hoisted_8, [
5751
5767
  createElementVNode("div", _hoisted_9, toDisplayString(TYPE_LABELS[__props.node.type]), 1),
5752
5768
  __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),
5753
- __props.mode === "form" && __props.node.selfSelect ? (openBlock(), createBlock(person_selector_default, {
5769
+ __props.mode === "form" && __props.node.selfSelect ? (openBlock(), createBlock(PersonSelectorSlot_default, {
5754
5770
  key: 1,
5755
5771
  modelValue: selfSelected.value,
5756
5772
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selfSelected.value = $event),
@@ -5839,7 +5855,7 @@ var FlowNode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__P
5839
5855
  ], 6);
5840
5856
  };
5841
5857
  }
5842
- }), [["__scopeId", "data-v-01c5b0f9"]]);
5858
+ }), [["__scopeId", "data-v-c108c6cb"]]);
5843
5859
  //#endregion
5844
5860
  //#region src/timeline/ApprovalModal.vue?vue&type=script&setup=true&lang.ts
5845
5861
  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;
@@ -14,7 +14,7 @@ export declare function getFlowUIConfig(): FlowUIConfig;
14
14
  * - `getToken`:返回完整 Authorization 头值(如 `Bearer xxx`),供包内原生 fetch 场景使用;
15
15
  * - `baseURL`:后端接口基础路径,远程选项相对 action 拼接用;
16
16
  * - `personSelectorApi`:人员选择器数据源,默认请求 GET /system/person-selector。
17
- * - `components`:能力组件注入(如附件上传组件),包内以动态组件消费,未注入时对应能力降级提示。
17
+ * - `components`:能力组件注入(附件上传、选人组件),包内以动态组件消费——附件上传未注入降级提示,选人组件未注入回落内置实现。
18
18
  * Developed collaboratively with vscode - 改动代码行数: 1行(2.12 宿主全局组件解耦:注入入口文档补能力组件说明)
19
19
  */
20
20
  export declare function createFlowUI(options: FlowUIOptions): FlowUIInstance;
@@ -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[]) */
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-60121398] {
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-60121398] .n-radio {
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-182807c6] {
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-182807c6] {
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-182807c6] {
1048
+ .cond[data-v-cef95b26] {
1049
1049
  /* Developed collaboratively with vscode - 改动代码行数: 15行 */
1050
1050
  /* 分支进入条件说明:浅蓝信息条 + 左侧主题色竖条装饰 */
1051
1051
  }
1052
- .cond__tip[data-v-182807c6] {
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-182807c6]::before {
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-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6] {
1128
+ .cond[data-v-cef95b26] {
1129
1129
  /* __rule-num 为平级兄弟规则,保持原 CSS 声明顺序(位于 __rule 之后) */
1130
1130
  }
1131
- .cond__rule-num[data-v-182807c6] {
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-182807c6] {
1145
+ .cond[data-v-cef95b26] {
1146
1146
  /* Developed collaboratively with vscode - 改动代码行数: 1行(字段下拉加宽:100px 只够 4 字左右,130px 可完整显示 6 字字段名不出现省略号) */
1147
1147
  }
1148
- .cond__field[data-v-182807c6] {
1148
+ .cond__field[data-v-cef95b26] {
1149
1149
  width: 130px;
1150
1150
  flex-shrink: 0;
1151
1151
  }
1152
- .cond__op[data-v-182807c6] {
1152
+ .cond__op[data-v-cef95b26] {
1153
1153
  width: 90px;
1154
1154
  flex-shrink: 0;
1155
1155
  }
1156
- .cond__value[data-v-182807c6] {
1156
+ .cond__value[data-v-cef95b26] {
1157
1157
  flex: 1;
1158
1158
  min-width: 120px;
1159
1159
  }
1160
- .cond__rule-del[data-v-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6]:hover {
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-182807c6] {
1188
+ .cond__add-btn--rule[data-v-cef95b26] {
1189
1189
  margin-top: 2px;
1190
1190
  }
1191
- .cond__add-btn[data-v-182807c6] {
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-182807c6] {
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-182807c6], .cond__or-line[data-v-182807c6] {
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-182807c6], .cond__or-text[data-v-182807c6] {
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-182807c6] {
1218
+ .cond[data-v-cef95b26] {
1219
1219
  /* Developed collaboratively with vscode - 改动代码行数: 1行(组间距加大,配合「或」线分割更清晰) */
1220
1220
  }
1221
- .cond__or[data-v-182807c6] {
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-182807c6] {
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-182807c6] {
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-182807c6] {
1239
+ .cond[data-v-cef95b26] {
1240
1240
  /* Developed collaboratively with vscode - 改动代码行数: 13行 */
1241
1241
  /* 空状态:虚线框居中提示「请添加条件」 */
1242
1242
  }
1243
- .cond__empty[data-v-182807c6] {
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-182807c6] {
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-182807c6] {
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-253184d3] {
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-01c5b0f9] {
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-01c5b0f9]:last-child {
1710
+ .flow-node__item[data-v-c108c6cb]:last-child {
1711
1711
  padding-bottom: 0;
1712
1712
  }
1713
- .flow-node__item[data-v-01c5b0f9] {
1713
+ .flow-node__item[data-v-c108c6cb] {
1714
1714
  /* 节点连接线:从图标下方延伸到项底部,与下一项首尾相接 */
1715
1715
  }
1716
- .flow-node__item[data-v-01c5b0f9]::before {
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-01c5b0f9]:last-child::before {
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-01c5b0f9]::before {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9]::after {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9],
1831
- .flow-node__badge--done .flow-node__badge-media--type[data-v-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9],
1864
- .flow-node__badge-clock[data-v-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
1899
+ .flow-node__main[data-v-c108c6cb] {
1900
1900
  flex: 1;
1901
1901
  min-width: 0;
1902
1902
  }
1903
- .flow-node__name[data-v-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9]:hover {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9]:hover {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9]::before {
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-01c5b0f9]:last-child {
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-01c5b0f9]:hover {
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-01c5b0f9],
2060
- .flow-node__item--selected[data-v-01c5b0f9]:hover {
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-01c5b0f9],
2064
- .flow-node__item--selected:hover .flow-node__name[data-v-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9],
2147
- .flow-node__record-empty[data-v-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9] {
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-01c5b0f9]:hover {
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行 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugu-ui/flow-ui",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "堉古商城流程组件库:流程设计器(config)/ 审批时间线(timeline)/ 流程列表(FlowList)",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",