@yugu-ui/flow-ui 0.1.13 → 0.1.14
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 +8 -5
- package/dist/style.css +36 -36
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3853,7 +3853,8 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
|
|
|
3853
3853
|
placeholder: "数字",
|
|
3854
3854
|
class: "cond__value",
|
|
3855
3855
|
min: 0,
|
|
3856
|
-
precision: 2
|
|
3856
|
+
precision: 2,
|
|
3857
|
+
"update-value-on-input": true
|
|
3857
3858
|
}, null, 8, ["value", "onUpdate:value"])) : (openBlock(), createBlock(_component_NInput, {
|
|
3858
3859
|
key: 3,
|
|
3859
3860
|
value: rule.value,
|
|
@@ -3896,7 +3897,7 @@ var ConditionConfig_default = /* @__PURE__ */ _plugin_vue_export_helper_default(
|
|
|
3896
3897
|
});
|
|
3897
3898
|
};
|
|
3898
3899
|
}
|
|
3899
|
-
}), [["__scopeId", "data-v-
|
|
3900
|
+
}), [["__scopeId", "data-v-09d1aba1"]]);
|
|
3900
3901
|
//#endregion
|
|
3901
3902
|
//#region src/config/FlowConfigFlow/components/NodeConfigDrawer/index.vue
|
|
3902
3903
|
var NodeConfigDrawer_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -4758,7 +4759,8 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4758
4759
|
value: settings.value.sort,
|
|
4759
4760
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => settings.value.sort = $event),
|
|
4760
4761
|
min: 0,
|
|
4761
|
-
placeholder: "请输入显示顺序"
|
|
4762
|
+
placeholder: "请输入显示顺序",
|
|
4763
|
+
"update-value-on-input": true
|
|
4762
4764
|
}, null, 8, ["value"])]),
|
|
4763
4765
|
_: 1
|
|
4764
4766
|
}),
|
|
@@ -4803,7 +4805,8 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4803
4805
|
value: settings.value.timeout,
|
|
4804
4806
|
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => settings.value.timeout = $event),
|
|
4805
4807
|
min: 0,
|
|
4806
|
-
placeholder: "0为不限制"
|
|
4808
|
+
placeholder: "0为不限制",
|
|
4809
|
+
"update-value-on-input": true
|
|
4807
4810
|
}, null, 8, ["value"])]),
|
|
4808
4811
|
_: 1
|
|
4809
4812
|
}),
|
|
@@ -4856,7 +4859,7 @@ var FlowConfigMore_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
4856
4859
|
}, 8, ["model"])]);
|
|
4857
4860
|
};
|
|
4858
4861
|
}
|
|
4859
|
-
}), [["__scopeId", "data-v-
|
|
4862
|
+
}), [["__scopeId", "data-v-6706c731"]]);
|
|
4860
4863
|
//#endregion
|
|
4861
4864
|
//#region src/config/FlowConfig.vue?vue&type=script&setup=true&lang.ts
|
|
4862
4865
|
var _hoisted_1$10 = { class: "flow-config__header" };
|
package/dist/style.css
CHANGED
|
@@ -1030,13 +1030,13 @@ to {
|
|
|
1030
1030
|
margin-left: 0;
|
|
1031
1031
|
}
|
|
1032
1032
|
/* Developed collaboratively with vscode - 改动代码行数: 257行(全部规则收拢进 .cond 嵌套,编译产物与原 CSS 等价;硬编码青色/灰色改主题变量跟随暗色模式) */
|
|
1033
|
-
.cond[data-v-
|
|
1033
|
+
.cond[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
1049
1049
|
/* Developed collaboratively with vscode - 改动代码行数: 15行 */
|
|
1050
1050
|
/* 分支进入条件说明:浅蓝信息条 + 左侧主题色竖条装饰 */
|
|
1051
1051
|
}
|
|
1052
|
-
.cond__tip[data-v-
|
|
1052
|
+
.cond__tip[data-v-09d1aba1] {
|
|
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-09d1aba1]::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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
1129
1129
|
/* __rule-num 为平级兄弟规则,保持原 CSS 声明顺序(位于 __rule 之后) */
|
|
1130
1130
|
}
|
|
1131
|
-
.cond__rule-num[data-v-
|
|
1131
|
+
.cond__rule-num[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
1146
1146
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(字段下拉加宽:100px 只够 4 字左右,130px 可完整显示 6 字字段名不出现省略号) */
|
|
1147
1147
|
}
|
|
1148
|
-
.cond__field[data-v-
|
|
1148
|
+
.cond__field[data-v-09d1aba1] {
|
|
1149
1149
|
width: 130px;
|
|
1150
1150
|
flex-shrink: 0;
|
|
1151
1151
|
}
|
|
1152
|
-
.cond__op[data-v-
|
|
1152
|
+
.cond__op[data-v-09d1aba1] {
|
|
1153
1153
|
width: 90px;
|
|
1154
1154
|
flex-shrink: 0;
|
|
1155
1155
|
}
|
|
1156
|
-
.cond__value[data-v-
|
|
1156
|
+
.cond__value[data-v-09d1aba1] {
|
|
1157
1157
|
flex: 1;
|
|
1158
1158
|
min-width: 120px;
|
|
1159
1159
|
}
|
|
1160
|
-
.cond__rule-del[data-v-
|
|
1160
|
+
.cond__rule-del[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1]: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-09d1aba1] {
|
|
1189
1189
|
margin-top: 2px;
|
|
1190
1190
|
}
|
|
1191
|
-
.cond__add-btn[data-v-
|
|
1191
|
+
.cond__add-btn[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1], .cond__or-line[data-v-09d1aba1] {
|
|
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-09d1aba1], .cond__or-text[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
1219
1219
|
/* Developed collaboratively with vscode - 改动代码行数: 1行(组间距加大,配合「或」线分割更清晰) */
|
|
1220
1220
|
}
|
|
1221
|
-
.cond__or[data-v-
|
|
1221
|
+
.cond__or[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
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-09d1aba1] {
|
|
1240
1240
|
/* Developed collaboratively with vscode - 改动代码行数: 13行 */
|
|
1241
1241
|
/* 空状态:虚线框居中提示「请添加条件」 */
|
|
1242
1242
|
}
|
|
1243
|
-
.cond__empty[data-v-
|
|
1243
|
+
.cond__empty[data-v-09d1aba1] {
|
|
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-09d1aba1] {
|
|
1256
1256
|
width: auto;
|
|
1257
1257
|
padding: 0 14px;
|
|
1258
1258
|
}
|
|
1259
|
-
.cond__empty-text[data-v-
|
|
1259
|
+
.cond__empty-text[data-v-09d1aba1] {
|
|
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-6706c731] {
|
|
1581
1581
|
max-width: 600px;
|
|
1582
1582
|
/* Developed collaboratively with vscode - 改动代码行数: 3行(白色背景 + 圆角 + 距外部 20px 边距) */
|
|
1583
1583
|
margin: 20px auto;
|