@blueking/ai-ui-sdk 0.5.1-beta.5 → 0.5.1-beta.6
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/components/render-agent/action/index.script.vue.js.js +1 -1
- package/dist/components/render-agent/agent-type.vue.css +11 -11
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auth/auth-dialog.script.vue.js.js +3 -3
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +6 -6
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/agent/upgrade.vue.css +3 -3
- package/dist/components/render-card/agent/upgrade.vue.js +1 -1
- package/dist/components/render-card/base/approval-strategy-popover.script.vue.js.js +73 -19
- package/dist/components/render-card/base/approval-strategy-popover.vue.d.ts +2 -0
- package/dist/components/render-card/base.vue.css +23 -20
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/llm/corner-badge.vue.css +4 -4
- package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
- package/dist/components/render-card/llm/icons.vue.css +2 -2
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +2 -2
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.script.vue.js.js +2 -2
- package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/mcp/code-suffix.script.vue.js +19 -19
- package/dist/components/render-card/mcp/name-suffix.vue.css +3 -3
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/mcp/selected-tools-info.script.vue.js.js +4 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/scanner.script.vue.js.js +1 -1
- package/dist/components/render-card/skill/scanner.vue.css +3 -3
- package/dist/components/render-card/skill/scanner.vue.js +1 -1
- package/dist/components/render-card/tool/actions.script.vue.js.js +1 -1
- package/dist/components/render-card/tool/prefix-info-tool.script.vue.js.js +2 -0
- package/dist/components/render-checkbox/index.script.vue.js.js +35 -14
- package/dist/components/render-checkbox/index.vue.css +30 -57
- package/dist/components/render-checkbox/index.vue.d.ts +1 -0
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +9 -9
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-collection/content/index.vue.css +5 -5
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +5 -5
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +4 -4
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +3 -3
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +3 -3
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +11 -11
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +4 -4
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +4 -4
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/components/table.script.vue.js +2 -2
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +20 -16
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.script.vue.js.js +1 -1
- package/dist/components/render-dialog/choose-space.vue.css +13 -12
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-exception/index.script.vue.js.js +84 -0
- package/dist/components/render-exception/index.vue.css +32 -0
- package/dist/components/render-exception/index.vue.d.ts +26 -0
- package/dist/components/render-exception/index.vue.js +5 -0
- package/dist/components/render-exception/svgs/403.d.ts +2 -0
- package/dist/components/render-exception/svgs/403.ts.js +2 -0
- package/dist/components/render-exception/svgs/404.d.ts +2 -0
- package/dist/components/render-exception/svgs/404.ts.js +2 -0
- package/dist/components/render-exception/svgs/500.d.ts +2 -0
- package/dist/components/render-exception/svgs/500.ts.js +2 -0
- package/dist/components/render-exception/svgs/building.d.ts +2 -0
- package/dist/components/render-exception/svgs/building.ts.js +2 -0
- package/dist/components/render-exception/svgs/empty.d.ts +2 -0
- package/dist/components/render-exception/svgs/empty.ts.js +2 -0
- package/dist/components/render-exception/svgs/index.d.ts +4 -0
- package/dist/components/render-exception/svgs/index.ts.js +9 -0
- package/dist/components/render-exception/svgs/login.d.ts +2 -0
- package/dist/components/render-exception/svgs/login.ts.js +2 -0
- package/dist/components/render-exception/svgs/search.d.ts +2 -0
- package/dist/components/render-exception/svgs/search.ts.js +2 -0
- package/dist/components/render-file-card/index.vue.css +13 -13
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +10 -10
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +6 -6
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +10 -7
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-markdown/edit.postcss.css +15 -1
- package/dist/components/render-permission-tag/index.script.vue.js +6 -6
- package/dist/components/render-prompt/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.script.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-resource-info/index.script.vue.js +3 -3
- package/dist/components/render-resource-version/index.vue.css +6 -6
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-empty/index.script.vue.js.js +3 -4
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/install/openclaw-windows-instances.script.vue.js.js +2 -2
- package/dist/components/render-t-table/index.vue.css +40 -33
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.script.vue.js.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +10 -10
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.script.vue.js +2 -2
- package/dist/components/render-tags/index.vue.css +8 -8
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/components/render-tree/index.script.vue.js +0 -1
- package/dist/components.d.ts +2 -1
- package/dist/components.ts.js +2 -1
- package/dist/css/bk-patch.css +993 -60
- package/dist/css/g-utilities.css +60 -52
- package/dist/css/g-utilities.manifest.json +8 -3
- package/dist/css/variable/blue-theme.d.ts +26 -0
- package/dist/css/variable/blue-theme.ts.js +38 -6
- package/dist/css/variable/token.d.ts +72 -2
- package/dist/css/variable/token.ts.js +102 -14
- package/dist/http/helper/common.ts.js +4 -2
- package/dist/types/common.d.ts +3 -1
- package/dist/types/enum.d.ts +4 -0
- package/dist/types/enum.ts.js +5 -0
- package/package.json +3 -3
package/dist/css/g-utilities.css
CHANGED
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
background-color: var(--aidev-main-background);
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.g-border-b-\[var\(--aidev-
|
|
219
|
-
border-bottom: 1px solid var(--aidev-
|
|
218
|
+
.g-border-b-\[var\(--aidev-line-strong-color\)\] {
|
|
219
|
+
border-bottom: 1px solid var(--aidev-line-strong-color);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.g-border-radio-100 {
|
|
@@ -247,22 +247,30 @@
|
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.g-confirm-delete {
|
|
250
|
-
.bk-button-primary
|
|
251
|
-
|
|
252
|
-
|
|
250
|
+
.bk-button-primary:not(.is-outline),
|
|
251
|
+
.bk-button-danger:not(.is-outline) {
|
|
252
|
+
background-color: var(--aidev-danger-button-color);
|
|
253
|
+
border-color: var(--aidev-danger-button-border-color);
|
|
254
|
+
box-shadow: none;
|
|
253
255
|
}
|
|
254
256
|
|
|
255
257
|
&.bk-popover.bk-pop2-content {
|
|
256
|
-
padding:
|
|
258
|
+
padding: 16px;
|
|
259
|
+
|
|
257
260
|
.bk-pop-confirm-title {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
261
|
+
padding-bottom: 8px;
|
|
262
|
+
text-align: left;
|
|
263
|
+
font-size: 16px;
|
|
264
|
+
line-height: 24px;
|
|
265
|
+
font-weight: 400;
|
|
266
|
+
color: var(--aidev-title-color);
|
|
262
267
|
}
|
|
268
|
+
|
|
263
269
|
.bk-pop-confirm-content {
|
|
264
|
-
|
|
265
|
-
|
|
270
|
+
text-align: left;
|
|
271
|
+
font-size: 12px;
|
|
272
|
+
line-height: 20px;
|
|
273
|
+
color: var(--aidev-main-color);
|
|
266
274
|
}
|
|
267
275
|
}
|
|
268
276
|
}
|
|
@@ -320,38 +328,6 @@
|
|
|
320
328
|
text-overflow: ellipsis;
|
|
321
329
|
}
|
|
322
330
|
|
|
323
|
-
.g-exception {
|
|
324
|
-
&.bk-exception-part .bk-exception-description {
|
|
325
|
-
margin-top: 0;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
&.bk-exception-page .bk-exception-description {
|
|
329
|
-
margin-top: -36px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.bk-exception-title {
|
|
333
|
-
margin-top: -10px;
|
|
334
|
-
margin-bottom: 20px;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.bk-exception-description {
|
|
338
|
-
margin-bottom: 8px;
|
|
339
|
-
white-space: pre-wrap;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.bk-exception-footer {
|
|
343
|
-
margin-top: 0;
|
|
344
|
-
|
|
345
|
-
&:has(.bk-exception-description) {
|
|
346
|
-
text-align: left;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.exception-image {
|
|
351
|
-
width: 300%;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
331
|
.g-fill-\[var\(--aidev-clickable-color\)\] {
|
|
356
332
|
fill: var(--aidev-clickable-color);
|
|
357
333
|
}
|
|
@@ -544,6 +520,7 @@
|
|
|
544
520
|
color: var(--aidev-main-button-color) !important;
|
|
545
521
|
background-color: var(--aidev-main-button-background) !important;
|
|
546
522
|
border-color: var(--aidev-main-button-border-color) !important;
|
|
523
|
+
box-shadow: var(--aidev-main-button-box-shadow) !important;
|
|
547
524
|
|
|
548
525
|
&:hover {
|
|
549
526
|
background-color: var(--aidev-main-button-hover-background) !important;
|
|
@@ -554,6 +531,13 @@
|
|
|
554
531
|
background-color: var(--aidev-main-button-active-background) !important;
|
|
555
532
|
border-color: var(--aidev-main-button-active-border-color) !important;
|
|
556
533
|
}
|
|
534
|
+
|
|
535
|
+
&.is-disabled {
|
|
536
|
+
color: var(--aidev-main-button-disabled-color) !important;
|
|
537
|
+
background-color: var(--aidev-main-button-disabled-background) !important;
|
|
538
|
+
border-color: var(--aidev-main-button-disabled-background) !important;
|
|
539
|
+
box-shadow: none !important;
|
|
540
|
+
}
|
|
557
541
|
}
|
|
558
542
|
|
|
559
543
|
.g-max-h-260 {
|
|
@@ -685,8 +669,8 @@
|
|
|
685
669
|
justify-content: flex-start;
|
|
686
670
|
}
|
|
687
671
|
|
|
688
|
-
&:hover {
|
|
689
|
-
background:
|
|
672
|
+
&:hover:not(.g-disabled) {
|
|
673
|
+
background: var(--aidev-dropdown-menu-hover-background);
|
|
690
674
|
}
|
|
691
675
|
}
|
|
692
676
|
}
|
|
@@ -792,6 +776,10 @@
|
|
|
792
776
|
font-variant-numeric: tabular-nums;
|
|
793
777
|
}
|
|
794
778
|
|
|
779
|
+
.g-overflow-hidden {
|
|
780
|
+
overflow: hidden;
|
|
781
|
+
}
|
|
782
|
+
|
|
795
783
|
.g-p-0 {
|
|
796
784
|
padding: 0px;
|
|
797
785
|
}
|
|
@@ -816,6 +804,10 @@
|
|
|
816
804
|
padding-bottom: 14px;
|
|
817
805
|
}
|
|
818
806
|
|
|
807
|
+
.g-pb-16 {
|
|
808
|
+
padding-bottom: 16px;
|
|
809
|
+
}
|
|
810
|
+
|
|
819
811
|
.g-pb-20 {
|
|
820
812
|
padding-bottom: 20px;
|
|
821
813
|
}
|
|
@@ -941,17 +933,17 @@ padding: 0px !important;
|
|
|
941
933
|
&.is-checked {
|
|
942
934
|
.bk-radio-button-label {
|
|
943
935
|
background: #e1ecff;
|
|
944
|
-
border-color:
|
|
945
|
-
color:
|
|
936
|
+
border-color: var(--aidev-clickable-color);
|
|
937
|
+
color: var(--aidev-clickable-color);
|
|
946
938
|
}
|
|
947
939
|
|
|
948
940
|
.g-radio-tips {
|
|
949
|
-
border-bottom: 1px dashed
|
|
941
|
+
border-bottom: 1px dashed var(--aidev-clickable-color);
|
|
950
942
|
}
|
|
951
943
|
|
|
952
944
|
.bkaidev-icon,
|
|
953
945
|
.ai-ui-sdk-icon {
|
|
954
|
-
color:
|
|
946
|
+
color: var(--aidev-clickable-color);
|
|
955
947
|
}
|
|
956
948
|
}
|
|
957
949
|
}
|
|
@@ -981,6 +973,10 @@ padding: 0px !important;
|
|
|
981
973
|
border-radius: var(--aidev-radius);
|
|
982
974
|
}
|
|
983
975
|
|
|
976
|
+
.g-rounded-\[var\(--aidev-radius-s\)\] {
|
|
977
|
+
border-radius: var(--aidev-radius-s);
|
|
978
|
+
}
|
|
979
|
+
|
|
984
980
|
.g-scrollbar {
|
|
985
981
|
overflow-y: auto;
|
|
986
982
|
|
|
@@ -1025,6 +1021,10 @@ padding: 0px !important;
|
|
|
1025
1021
|
box-shadow: 0 3px 4px 0 #0000000a;
|
|
1026
1022
|
}
|
|
1027
1023
|
|
|
1024
|
+
.g-shadow-\[var\(--aidev-card-hover-box-shadow\)\] {
|
|
1025
|
+
box-shadow: var(--aidev-card-hover-box-shadow);
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
1028
|
.g-short-form {
|
|
1029
1029
|
.form-item {
|
|
1030
1030
|
margin-bottom: 16px;
|
|
@@ -1166,6 +1166,10 @@ padding: 0px !important;
|
|
|
1166
1166
|
color: var(--aidev-main-color);
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
|
+
.g-text-\[var\(--aidev-tag-color\)\] {
|
|
1170
|
+
color: var(--aidev-tag-color);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1169
1173
|
.g-text-\[var\(--aidev-title-color\)\] {
|
|
1170
1174
|
color: var(--aidev-title-color);
|
|
1171
1175
|
}
|
|
@@ -1232,8 +1236,8 @@ padding: 0px !important;
|
|
|
1232
1236
|
white-space: pre-line;
|
|
1233
1237
|
}
|
|
1234
1238
|
|
|
1235
|
-
.hover\:\!g-bg-\[
|
|
1236
|
-
background-color:
|
|
1239
|
+
.hover\:\!g-bg-\[var\(--aidev-icon-light-hover-background\)\]:hover {
|
|
1240
|
+
background-color: var(--aidev-icon-light-hover-background) !important;
|
|
1237
1241
|
}
|
|
1238
1242
|
|
|
1239
1243
|
.hover\:\!g-bg-\[var\(--aidev-item-hover-background\)\]:hover {
|
|
@@ -1252,6 +1256,10 @@ padding: 0px !important;
|
|
|
1252
1256
|
color: var(--aidev-clickable-color) !important;
|
|
1253
1257
|
}
|
|
1254
1258
|
|
|
1259
|
+
.hover\:g-bg-\[var\(--aidev-capsule-hover-background\)\]:hover {
|
|
1260
|
+
background-color: var(--aidev-capsule-hover-background);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1255
1263
|
.hover\:g-bg-\[var\(--aidev-inner-background\)\]:hover {
|
|
1256
1264
|
background-color: var(--aidev-inner-background);
|
|
1257
1265
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"g-bg-[var(--aidev-background)]",
|
|
47
47
|
"g-bg-[var(--aidev-inner-background)]",
|
|
48
48
|
"g-bg-[var(--aidev-main-background)]",
|
|
49
|
-
"g-border-b-[var(--aidev-
|
|
49
|
+
"g-border-b-[var(--aidev-line-strong-color)]",
|
|
50
50
|
"g-border-radio-100",
|
|
51
51
|
"g-border-t-1",
|
|
52
52
|
"g-border-t-F0F1F5",
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"g-deleted-resource",
|
|
59
59
|
"g-disabled",
|
|
60
60
|
"g-ellipsis",
|
|
61
|
-
"g-exception",
|
|
62
61
|
"g-fill-[var(--aidev-clickable-color)]",
|
|
63
62
|
"g-flex",
|
|
64
63
|
"g-flex-1",
|
|
@@ -155,12 +154,14 @@
|
|
|
155
154
|
"g-my-12",
|
|
156
155
|
"g-no-permission-resource",
|
|
157
156
|
"g-number-font",
|
|
157
|
+
"g-overflow-hidden",
|
|
158
158
|
"g-p-0",
|
|
159
159
|
"g-p-12",
|
|
160
160
|
"g-p-2",
|
|
161
161
|
"g-p-4",
|
|
162
162
|
"g-pb-12",
|
|
163
163
|
"g-pb-14",
|
|
164
|
+
"g-pb-16",
|
|
164
165
|
"g-pb-20",
|
|
165
166
|
"g-pb-4",
|
|
166
167
|
"g-permission-cursor-element",
|
|
@@ -190,9 +191,11 @@
|
|
|
190
191
|
"g-rotate-45",
|
|
191
192
|
"g-rotate-infinite",
|
|
192
193
|
"g-rounded-[var(--aidev-radius)]",
|
|
194
|
+
"g-rounded-[var(--aidev-radius-s)]",
|
|
193
195
|
"g-scrollbar",
|
|
194
196
|
"g-scrollbar-page",
|
|
195
197
|
"g-shadow-[0_3px_4px_0_#0000000a]",
|
|
198
|
+
"g-shadow-[var(--aidev-card-hover-box-shadow)]",
|
|
196
199
|
"g-short-form",
|
|
197
200
|
"g-show-dialog",
|
|
198
201
|
"g-shrink-0",
|
|
@@ -213,6 +216,7 @@
|
|
|
213
216
|
"g-text-[var(--aidev-clickable-color)]",
|
|
214
217
|
"g-text-[var(--aidev-disabled-color)]",
|
|
215
218
|
"g-text-[var(--aidev-main-color)]",
|
|
219
|
+
"g-text-[var(--aidev-tag-color)]",
|
|
216
220
|
"g-text-[var(--aidev-title-color)]",
|
|
217
221
|
"g-text-center",
|
|
218
222
|
"g-text-ea3636",
|
|
@@ -229,11 +233,12 @@
|
|
|
229
233
|
"g-w-88",
|
|
230
234
|
"g-w-full",
|
|
231
235
|
"g-whitespace-pre-line",
|
|
232
|
-
"hover:!g-bg-[
|
|
236
|
+
"hover:!g-bg-[var(--aidev-icon-light-hover-background)]",
|
|
233
237
|
"hover:!g-bg-[var(--aidev-item-hover-background)]",
|
|
234
238
|
"hover:!g-border-[var(--aidev-clickable-color)]",
|
|
235
239
|
"hover:!g-rounded-[var(--aidev-radius)]",
|
|
236
240
|
"hover:!g-text-[var(--aidev-clickable-color)]",
|
|
241
|
+
"hover:g-bg-[var(--aidev-capsule-hover-background)]",
|
|
237
242
|
"hover:g-bg-[var(--aidev-inner-background)]",
|
|
238
243
|
"hover:g-cursor-pointer",
|
|
239
244
|
"hover:g-rounded-full",
|
|
@@ -37,7 +37,33 @@ declare const _default: {
|
|
|
37
37
|
danger5: string;
|
|
38
38
|
danger6: string;
|
|
39
39
|
danger7: string;
|
|
40
|
+
purple1: string;
|
|
41
|
+
purple2: string;
|
|
42
|
+
purple3: string;
|
|
43
|
+
purple4: string;
|
|
44
|
+
purple5: string;
|
|
45
|
+
purple6: string;
|
|
46
|
+
purple7: string;
|
|
47
|
+
cyan1: string;
|
|
48
|
+
cyan2: string;
|
|
49
|
+
cyan3: string;
|
|
50
|
+
cyan4: string;
|
|
51
|
+
cyan5: string;
|
|
52
|
+
cyan6: string;
|
|
53
|
+
cyan7: string;
|
|
54
|
+
navy1: string;
|
|
55
|
+
navy2: string;
|
|
56
|
+
navy3: string;
|
|
57
|
+
navy4: string;
|
|
58
|
+
navy5: string;
|
|
59
|
+
navy6: string;
|
|
60
|
+
navy7: string;
|
|
61
|
+
radiusS: string;
|
|
40
62
|
radius: string;
|
|
63
|
+
radiusL: string;
|
|
41
64
|
mainButtonBoxShadow: string;
|
|
65
|
+
cardBoxShadow: string;
|
|
66
|
+
cardHoverBoxShadow: string;
|
|
67
|
+
popBoxShadow: string;
|
|
42
68
|
};
|
|
43
69
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
brand1: '#274ECF',
|
|
3
3
|
brand2: '#3B6EF5',
|
|
4
|
-
brand3: '#
|
|
5
|
-
brand4: '#
|
|
6
|
-
brand5: '#
|
|
7
|
-
brand6: '#
|
|
8
|
-
brand7: '#
|
|
4
|
+
brand3: '#6691FF',
|
|
5
|
+
brand4: '#99B9FF',
|
|
6
|
+
brand5: '#C7D8FF',
|
|
7
|
+
brand6: '#E5EDFF',
|
|
8
|
+
brand7: '#F0F4FF',
|
|
9
9
|
neutral1: '#111214',
|
|
10
10
|
neutral2: '#4A5973',
|
|
11
11
|
neutral3: '#8F9FBD',
|
|
@@ -37,6 +37,38 @@ export default {
|
|
|
37
37
|
danger5: '#FFDDDD',
|
|
38
38
|
danger6: '#FFEBEB',
|
|
39
39
|
danger7: '#FFF0F0',
|
|
40
|
+
purple1: '#7322C3',
|
|
41
|
+
purple2: '#7D25D4',
|
|
42
|
+
purple3: '#A160E1',
|
|
43
|
+
purple4: '#C9A5EE',
|
|
44
|
+
purple5: '#E3CEF8',
|
|
45
|
+
purple6: '#EDDFFB',
|
|
46
|
+
purple7: '#F5EEFC',
|
|
47
|
+
cyan1: '#1C9AA0',
|
|
48
|
+
cyan2: '#1FAAB2',
|
|
49
|
+
cyan3: '#3ED2DA',
|
|
50
|
+
cyan4: '#A5EAEE',
|
|
51
|
+
cyan5: '#CEF6F8',
|
|
52
|
+
cyan6: '#DFFAFB',
|
|
53
|
+
cyan7: '#EEFBFC',
|
|
54
|
+
// 导航壳层。原导航 hex,拉开底与 hover:navy3 不再当 hover(与 navy2 过近)。
|
|
55
|
+
// navy4 用原侧栏 hover #31394F。navy6 在 navy1 上 7.21、navy2 上 6.33(AA)
|
|
56
|
+
navy1: '#0C1323',
|
|
57
|
+
navy2: '#1B202C',
|
|
58
|
+
navy3: '#1D2534',
|
|
59
|
+
navy4: '#31394F',
|
|
60
|
+
navy5: '#384A6B',
|
|
61
|
+
navy6: '#96A2B9',
|
|
62
|
+
navy7: '#C4C6CC',
|
|
63
|
+
radiusS: '2px',
|
|
40
64
|
radius: '6px',
|
|
41
|
-
|
|
65
|
+
radiusL: '8px',
|
|
66
|
+
// 对齐 Figma effect 变量 Buttom-primary:DROP_SHADOW #3B6EF540 (brand2 @25%) offset(0,4) blur10
|
|
67
|
+
mainButtonBoxShadow: '0 4px 10px #3B6EF540',
|
|
68
|
+
// 对齐 Figma Shadow/Card - Normal:DROP_SHADOW #1919290D offset(0,2) blur4
|
|
69
|
+
cardBoxShadow: '0 2px 4px #1919290D',
|
|
70
|
+
// 对齐 Figma Shadow/Card - Hover:DROP_SHADOW #0000001A offset(0,2) blur4(卡片悬停加深)
|
|
71
|
+
cardHoverBoxShadow: '0 2px 4px #0000001A',
|
|
72
|
+
// 对齐 Figma Shadow/Pop:DROP_SHADOW #00000029 offset(0,0) blur20(Popover / 图标选择弹层)
|
|
73
|
+
popBoxShadow: '0 0 20px #00000029'
|
|
42
74
|
};
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
'--aidev-radius-s': string;
|
|
2
3
|
'--aidev-radius': string;
|
|
4
|
+
'--aidev-radius-l': string;
|
|
3
5
|
'--aidev-form-color': string;
|
|
4
6
|
'--aidev-form-background': string;
|
|
5
7
|
'--aidev-form-border-color': string;
|
|
6
8
|
'--aidev-form-hover-border-color': string;
|
|
7
9
|
'--aidev-form-active-border-color': string;
|
|
8
|
-
'--aidev-
|
|
9
|
-
'--aidev-border-color': string;
|
|
10
|
+
'--aidev-form-error-border-color': string;
|
|
11
|
+
'--aidev-form-disabled-border-color': string;
|
|
12
|
+
'--aidev-form-placeholder-color': string;
|
|
13
|
+
'--aidev-line-strong-color': string;
|
|
14
|
+
'--aidev-line-medium-color': string;
|
|
15
|
+
'--aidev-line-weak-color': string;
|
|
16
|
+
'--aidev-resize-collapse-background': string;
|
|
17
|
+
'--aidev-resize-collapse-color': string;
|
|
10
18
|
'--aidev-background': string;
|
|
11
19
|
'--aidev-main-background': string;
|
|
12
20
|
'--aidev-title-color': string;
|
|
@@ -14,6 +22,7 @@ declare const _default: {
|
|
|
14
22
|
'--aidev-assist-color': string;
|
|
15
23
|
'--aidev-disabled-color': string;
|
|
16
24
|
'--aidev-inner-background': string;
|
|
25
|
+
'--aidev-assist-content-background': string;
|
|
17
26
|
'--aidev-main-button-color': string;
|
|
18
27
|
'--aidev-main-button-background': string;
|
|
19
28
|
'--aidev-main-button-border-color': string;
|
|
@@ -22,11 +31,50 @@ declare const _default: {
|
|
|
22
31
|
'--aidev-main-button-hover-border-color': string;
|
|
23
32
|
'--aidev-main-button-active-border-color': string;
|
|
24
33
|
'--aidev-main-button-box-shadow': string;
|
|
34
|
+
'--aidev-main-button-disabled-background': string;
|
|
35
|
+
'--aidev-main-button-disabled-color': string;
|
|
36
|
+
'--aidev-basic-button-hover-color': string;
|
|
37
|
+
'--aidev-ghost-button-color': string;
|
|
38
|
+
'--aidev-ghost-button-border-color': string;
|
|
39
|
+
'--aidev-ghost-button-hover-color': string;
|
|
40
|
+
'--aidev-ghost-button-hover-border-color': string;
|
|
41
|
+
'--aidev-ghost-button-hover-background': string;
|
|
42
|
+
'--aidev-danger-button-color': string;
|
|
43
|
+
'--aidev-danger-button-border-color': string;
|
|
44
|
+
'--aidev-outline-button-disabled-background': string;
|
|
45
|
+
'--aidev-outline-button-disabled-border-color': string;
|
|
46
|
+
'--aidev-outline-button-disabled-color': string;
|
|
47
|
+
'--aidev-radio-background': string;
|
|
48
|
+
'--aidev-radio-border-color': string;
|
|
49
|
+
'--aidev-radio-hover-border-color': string;
|
|
50
|
+
'--aidev-radio-disabled-background': string;
|
|
51
|
+
'--aidev-radio-disabled-border-color': string;
|
|
52
|
+
'--aidev-radio-checked-color': string;
|
|
53
|
+
'--aidev-radio-checked-mark-color': string;
|
|
54
|
+
'--aidev-radio-checked-disabled-color': string;
|
|
55
|
+
'--aidev-radio-checked-disabled-border-color': string;
|
|
56
|
+
'--aidev-checkbox-background': string;
|
|
57
|
+
'--aidev-checkbox-border-color': string;
|
|
58
|
+
'--aidev-checkbox-hover-border-color': string;
|
|
59
|
+
'--aidev-checkbox-disabled-background': string;
|
|
60
|
+
'--aidev-checkbox-disabled-border-color': string;
|
|
61
|
+
'--aidev-checkbox-checked-color': string;
|
|
62
|
+
'--aidev-checkbox-checked-mark-color': string;
|
|
63
|
+
'--aidev-checkbox-checked-disabled-color': string;
|
|
64
|
+
'--aidev-checkbox-tree-indeterminate-background': string;
|
|
65
|
+
'--aidev-checkbox-tree-indeterminate-border-color': string;
|
|
66
|
+
'--aidev-checkbox-tree-indeterminate-mark-color': string;
|
|
67
|
+
'--aidev-checkbox-tree-indeterminate-disabled-mark-color': string;
|
|
25
68
|
'--aidev-clickable-color': string;
|
|
26
69
|
'--aidev-clickable-hover-color': string;
|
|
70
|
+
'--aidev-card-box-shadow': string;
|
|
71
|
+
'--aidev-card-hover-box-shadow': string;
|
|
72
|
+
'--aidev-pop-box-shadow': string;
|
|
73
|
+
'--aidev-dropdown-menu-hover-background': string;
|
|
27
74
|
'--aidev-list-item-hover-background': string;
|
|
28
75
|
'--aidev-list-item-active-background': string;
|
|
29
76
|
'--aidev-list-item-active-count-background': string;
|
|
77
|
+
'--aidev-capsule-hover-background': string;
|
|
30
78
|
'--aidev-icon-hover-background': string;
|
|
31
79
|
'--aidev-icon-light-hover-background': string;
|
|
32
80
|
'--aidev-item-hover-background': string;
|
|
@@ -38,6 +86,28 @@ declare const _default: {
|
|
|
38
86
|
'--aidev-generate-space-background': string;
|
|
39
87
|
'--aidev-generate-space-hover-color': string;
|
|
40
88
|
'--aidev-generate-space-hover-background': string;
|
|
89
|
+
'--aidev-agent-type-single-color': string;
|
|
90
|
+
'--aidev-agent-type-single-background': string;
|
|
91
|
+
'--aidev-agent-type-flow-color': string;
|
|
92
|
+
'--aidev-agent-type-flow-background': string;
|
|
93
|
+
'--aidev-agent-type-craw-color': string;
|
|
94
|
+
'--aidev-agent-type-craw-background': string;
|
|
95
|
+
'--aidev-alert-info-background': string;
|
|
96
|
+
'--aidev-alert-info-icon-color': string;
|
|
97
|
+
'--aidev-alert-warning-background': string;
|
|
98
|
+
'--aidev-alert-warning-icon-color': string;
|
|
99
|
+
'--aidev-alert-danger-background': string;
|
|
100
|
+
'--aidev-alert-danger-icon-color': string;
|
|
101
|
+
'--aidev-alert-success-background': string;
|
|
102
|
+
'--aidev-alert-success-icon-color': string;
|
|
103
|
+
'--aidev-tag-color': string;
|
|
104
|
+
'--aidev-tag-background': string;
|
|
105
|
+
'--aidev-tag-hover-background': string;
|
|
106
|
+
'--aidev-tag-border-color': string;
|
|
107
|
+
'--aidev-tag-filled-color': string;
|
|
108
|
+
'--aidev-tag-filled-background': string;
|
|
109
|
+
'--aidev-tag-filled-hover-background': string;
|
|
110
|
+
'--aidev-exception-illustration-shadow-color': string;
|
|
41
111
|
'--default-color': string;
|
|
42
112
|
'--primary-color': string;
|
|
43
113
|
};
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
//
|
|
2
|
+
// 圆角(s = 2px,默认 6px,l = 8px 卡片)
|
|
3
|
+
'--aidev-radius-s': 'radiusS',
|
|
3
4
|
'--aidev-radius': 'radius',
|
|
5
|
+
'--aidev-radius-l': 'radiusL',
|
|
4
6
|
// 表单
|
|
5
7
|
'--aidev-form-color': 'neutral2',
|
|
6
8
|
'--aidev-form-background': 'neutral10',
|
|
7
9
|
'--aidev-form-border-color': 'neutral4',
|
|
8
10
|
'--aidev-form-hover-border-color': 'neutral3',
|
|
9
11
|
'--aidev-form-active-border-color': 'brand2',
|
|
10
|
-
|
|
11
|
-
'--aidev-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
'--aidev-form-error-border-color': 'danger2',
|
|
13
|
+
'--aidev-form-disabled-border-color': 'neutral5',
|
|
14
|
+
'--aidev-form-placeholder-color': 'neutral4',
|
|
15
|
+
// 线条色(强 / 中 / 弱),按深浅选,不绑定场景:边框、分割线、表格线、滚动条等通用
|
|
16
|
+
'--aidev-line-strong-color': 'neutral5',
|
|
17
|
+
'--aidev-line-medium-color': 'neutral6',
|
|
18
|
+
'--aidev-line-weak-color': 'neutral7',
|
|
19
|
+
// resize-layout 折叠条(Figma 328786:16012:底 Neutral/6 #E4E9F2,箭头白)
|
|
20
|
+
'--aidev-resize-collapse-background': 'neutral5',
|
|
21
|
+
'--aidev-resize-collapse-color': 'neutral10',
|
|
14
22
|
// 整个网站的背景色
|
|
15
23
|
'--aidev-background': 'neutral8',
|
|
16
24
|
// 主要区域背景色
|
|
@@ -23,8 +31,10 @@ export default {
|
|
|
23
31
|
'--aidev-assist-color': 'neutral3',
|
|
24
32
|
// 网站禁用文字颜色
|
|
25
33
|
'--aidev-disabled-color': 'neutral4',
|
|
26
|
-
//
|
|
34
|
+
// 在主要区域内的,部分区域的背景色(轨道、折叠标题等 chrome)
|
|
27
35
|
'--aidev-inner-background': 'neutral6',
|
|
36
|
+
// 局部辅助内容底(表单联动分组)。Figma Neutral/8,比 inner 弱一档,比页面底 Neutral/9 强一档
|
|
37
|
+
'--aidev-assist-content-background': 'neutral7',
|
|
28
38
|
// 主按钮相关颜色
|
|
29
39
|
'--aidev-main-button-color': 'neutral10',
|
|
30
40
|
'--aidev-main-button-background': 'brand2',
|
|
@@ -34,17 +44,67 @@ export default {
|
|
|
34
44
|
'--aidev-main-button-hover-border-color': 'brand3',
|
|
35
45
|
'--aidev-main-button-active-border-color': 'brand1',
|
|
36
46
|
'--aidev-main-button-box-shadow': 'mainButtonBoxShadow',
|
|
37
|
-
//
|
|
47
|
+
// 主按钮禁用态(Figma:底 neutral5 / 字白 / 无阴影)
|
|
48
|
+
'--aidev-main-button-disabled-background': 'neutral5',
|
|
49
|
+
'--aidev-main-button-disabled-color': 'neutral10',
|
|
50
|
+
// 基础按钮 hover 文字(Figma:常规 neutral2 → hover neutral1 深黑)
|
|
51
|
+
'--aidev-basic-button-hover-color': 'neutral1',
|
|
52
|
+
// 幽灵按钮(primary outline):常规 brand2;hover 底 brand6 / 边 brand1 / 字 brand3
|
|
53
|
+
'--aidev-ghost-button-color': 'brand2',
|
|
54
|
+
'--aidev-ghost-button-border-color': 'brand2',
|
|
55
|
+
'--aidev-ghost-button-hover-color': 'brand3',
|
|
56
|
+
'--aidev-ghost-button-hover-border-color': 'brand1',
|
|
57
|
+
'--aidev-ghost-button-hover-background': 'brand6',
|
|
58
|
+
// 警示按钮(danger outline):边 / 字 danger2
|
|
59
|
+
'--aidev-danger-button-color': 'danger2',
|
|
60
|
+
'--aidev-danger-button-border-color': 'danger2',
|
|
61
|
+
// 描边类按钮禁用态(基础/幽灵/警示统一,Figma:底 neutral9 / 边 neutral5 / 字 neutral4)
|
|
62
|
+
'--aidev-outline-button-disabled-background': 'neutral9',
|
|
63
|
+
'--aidev-outline-button-disabled-border-color': 'neutral5',
|
|
64
|
+
'--aidev-outline-button-disabled-color': 'neutral4',
|
|
65
|
+
// Radio / 卡片多选框(Figma Radio-元件 329641:2153)
|
|
66
|
+
'--aidev-radio-background': 'neutral10',
|
|
67
|
+
'--aidev-radio-border-color': 'neutral4',
|
|
68
|
+
'--aidev-radio-hover-border-color': 'brand2',
|
|
69
|
+
'--aidev-radio-disabled-background': 'neutral9',
|
|
70
|
+
'--aidev-radio-disabled-border-color': 'neutral5',
|
|
71
|
+
'--aidev-radio-checked-color': 'brand2',
|
|
72
|
+
'--aidev-radio-checked-mark-color': 'neutral10',
|
|
73
|
+
'--aidev-radio-checked-disabled-color': 'brand4',
|
|
74
|
+
'--aidev-radio-checked-disabled-border-color': 'brand5',
|
|
75
|
+
// Checkbox(Figma checkbox 元件 329641:759)。半选禁用是 brand4 底+白杠,不是灰底
|
|
76
|
+
'--aidev-checkbox-background': 'neutral10',
|
|
77
|
+
'--aidev-checkbox-border-color': 'neutral3',
|
|
78
|
+
'--aidev-checkbox-hover-border-color': 'brand2',
|
|
79
|
+
'--aidev-checkbox-disabled-background': 'neutral9',
|
|
80
|
+
'--aidev-checkbox-disabled-border-color': 'neutral5',
|
|
81
|
+
'--aidev-checkbox-checked-color': 'brand2',
|
|
82
|
+
'--aidev-checkbox-checked-mark-color': 'neutral10',
|
|
83
|
+
'--aidev-checkbox-checked-disabled-color': 'brand4',
|
|
84
|
+
'--aidev-checkbox-tree-indeterminate-background': 'brand6',
|
|
85
|
+
'--aidev-checkbox-tree-indeterminate-border-color': 'brand4',
|
|
86
|
+
'--aidev-checkbox-tree-indeterminate-mark-color': 'brand2',
|
|
87
|
+
'--aidev-checkbox-tree-indeterminate-disabled-mark-color': 'neutral4',
|
|
88
|
+
// 可点击区域文字颜色(主题主色 brand2;不要用更深的 brand1,12px 链接会发灰发黑)
|
|
38
89
|
'--aidev-clickable-color': 'brand2',
|
|
39
90
|
'--aidev-clickable-hover-color': 'brand3',
|
|
91
|
+
// 卡片阴影(Figma:Shadow/Card - Normal);hover 加深用 Card - Hover
|
|
92
|
+
'--aidev-card-box-shadow': 'cardBoxShadow',
|
|
93
|
+
'--aidev-card-hover-box-shadow': 'cardHoverBoxShadow',
|
|
94
|
+
// Popover 阴影(Figma:Shadow/Pop #00000029 offset(0,0) blur20)
|
|
95
|
+
'--aidev-pop-box-shadow': 'popBoxShadow',
|
|
96
|
+
// 下拉菜单项 hover 底(Figma 极简菜单项 Neutral/8 #F0F4FA)
|
|
97
|
+
'--aidev-dropdown-menu-hover-background': 'neutral7',
|
|
40
98
|
// 列表项颜色
|
|
41
99
|
'--aidev-list-item-hover-background': 'neutral7',
|
|
42
100
|
'--aidev-list-item-active-background': 'brand6',
|
|
43
101
|
'--aidev-list-item-active-count-background': 'brand4',
|
|
102
|
+
// 胶囊 Tab 未选 hover:Neutral/5 @ 50%。实心 Neutral/5 在 Neutral/7 轨道上过深
|
|
103
|
+
'--aidev-capsule-hover-background': 'color-mix(in srgb, var(--aidev-form-border-color) 50%, transparent)',
|
|
44
104
|
// 图标按钮 hover / 选中高亮背景(icon 在深色一点背景下)
|
|
45
105
|
'--aidev-icon-hover-background': 'brand5',
|
|
46
|
-
// 图标按钮 hover
|
|
47
|
-
'--aidev-icon-light-hover-background': '
|
|
106
|
+
// 图标按钮 hover 底(浅底):Brand 最弱色阶 brand7
|
|
107
|
+
'--aidev-icon-light-hover-background': 'brand7',
|
|
48
108
|
// 列表项 / 卡片 hover / 选中高亮背景
|
|
49
109
|
'--aidev-item-hover-background': 'brand6',
|
|
50
110
|
// 资源使用范围相关颜色
|
|
@@ -52,12 +112,40 @@ export default {
|
|
|
52
112
|
'--aidev-generate-public-background': 'success6',
|
|
53
113
|
'--aidev-generate-public-hover-color': 'success1',
|
|
54
114
|
'--aidev-generate-public-hover-background': 'success5',
|
|
55
|
-
'--aidev-generate-space-color': '
|
|
56
|
-
'--aidev-generate-space-background': '
|
|
57
|
-
'--aidev-generate-space-hover-color': '
|
|
58
|
-
'--aidev-generate-space-hover-background': '
|
|
115
|
+
'--aidev-generate-space-color': 'cyan2',
|
|
116
|
+
'--aidev-generate-space-background': 'cyan6',
|
|
117
|
+
'--aidev-generate-space-hover-color': 'cyan1',
|
|
118
|
+
'--aidev-generate-space-hover-background': 'cyan5',
|
|
119
|
+
// 单智能体标签(对标公开:2 字 / 6 底)
|
|
120
|
+
'--aidev-agent-type-single-color': 'brand2',
|
|
121
|
+
'--aidev-agent-type-single-background': 'brand6',
|
|
122
|
+
// 流程智能体标签(对标公开:2 字 / 6 底)
|
|
123
|
+
'--aidev-agent-type-flow-color': 'purple2',
|
|
124
|
+
'--aidev-agent-type-flow-background': 'purple6',
|
|
125
|
+
// 协作智能体标签(对标公开:warn1 字 / warn6 底)
|
|
126
|
+
'--aidev-agent-type-craw-color': 'warn1',
|
|
127
|
+
'--aidev-agent-type-craw-background': 'warn6',
|
|
128
|
+
// Alert(Figma 329062:50433)。四态底 6 号、图标 2 号;字/关闭复用 main / assist
|
|
129
|
+
'--aidev-alert-info-background': 'brand6',
|
|
130
|
+
'--aidev-alert-info-icon-color': 'brand2',
|
|
131
|
+
'--aidev-alert-warning-background': 'warn6',
|
|
132
|
+
'--aidev-alert-warning-icon-color': 'warn2',
|
|
133
|
+
'--aidev-alert-danger-background': 'danger6',
|
|
134
|
+
'--aidev-alert-danger-icon-color': 'danger2',
|
|
135
|
+
'--aidev-alert-success-background': 'success6',
|
|
136
|
+
'--aidev-alert-success-icon-color': 'success2',
|
|
137
|
+
// 灰色 Tag(Figma Tag 328917:10413 浅灰色;深灰色走 filled)
|
|
138
|
+
'--aidev-tag-color': 'neutral2',
|
|
139
|
+
'--aidev-tag-background': 'neutral6',
|
|
140
|
+
'--aidev-tag-hover-background': 'neutral5',
|
|
141
|
+
'--aidev-tag-border-color': 'neutral4',
|
|
142
|
+
'--aidev-tag-filled-color': 'neutral10',
|
|
143
|
+
'--aidev-tag-filled-background': 'neutral3',
|
|
144
|
+
'--aidev-tag-filled-hover-background': 'neutral4',
|
|
145
|
+
// 空态 / 异常插图投影。SVG 里靠 fill-opacity 压到 3%~10%,不是实色块
|
|
146
|
+
'--aidev-exception-illustration-shadow-color': 'neutral1',
|
|
59
147
|
// bkui 字体颜色
|
|
60
148
|
'--default-color': 'neutral2',
|
|
61
|
-
// bkui
|
|
149
|
+
// bkui 主颜色,只用于修改bkui组件的主题色,不要在aidev中使用这个变量
|
|
62
150
|
'--primary-color': 'brand2'
|
|
63
151
|
};
|
|
@@ -193,7 +193,8 @@ export const transferIResourceReferenceApi2IResourceReference = (data)=>{
|
|
|
193
193
|
* @returns IApprovalSettingValueApi
|
|
194
194
|
*/ export const transferIApprovalSettingValue2IApprovalSettingValueApi = (data)=>({
|
|
195
195
|
approval_enabled: data.approvalEnabled,
|
|
196
|
-
approval_strategy_id: data.approvalStrategyId
|
|
196
|
+
approval_strategy_id: data.approvalStrategyId,
|
|
197
|
+
executor_identity: data.executorIdentity
|
|
197
198
|
});
|
|
198
199
|
/**
|
|
199
200
|
* 接口转换为ui使用(配置审批策略)
|
|
@@ -201,5 +202,6 @@ export const transferIResourceReferenceApi2IResourceReference = (data)=>{
|
|
|
201
202
|
* @returns IApprovalSettingValue
|
|
202
203
|
*/ export const transferIApprovalSettingValueApi2IApprovalSettingValue = (data)=>({
|
|
203
204
|
approvalEnabled: data.approval_enabled,
|
|
204
|
-
approvalStrategyId: data.approval_strategy_id
|
|
205
|
+
approvalStrategyId: data.approval_strategy_id,
|
|
206
|
+
executorIdentity: data.executor_identity
|
|
205
207
|
});
|
package/dist/types/common.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PrimaryTableCol } from 'tdesign-vue-next';
|
|
2
|
-
import { EnumCharacter, GroupType, OrderMethod, ResourceStatus, SessionPromptRole, TTableColumnAlign, TTableColumnFixed, TTableColumnType } from './enum';
|
|
2
|
+
import { EnumCharacter, ExecutorIdentity, GroupType, OrderMethod, ResourceStatus, SessionPromptRole, TTableColumnAlign, TTableColumnFixed, TTableColumnType } from './enum';
|
|
3
3
|
import type { IResourcePermission, IResourcePermissionApi } from './permission';
|
|
4
4
|
export { TableSort as ITTableSort, SortInfo as ITTableSortInfo, } from 'tdesign-vue-next';
|
|
5
5
|
export type ITTableColumn<T> = Omit<PrimaryTableCol<T>, 'type' | 'fixed' | 'align'> & {
|
|
@@ -226,8 +226,10 @@ export interface IResourceReferenceApi {
|
|
|
226
226
|
export interface IApprovalSettingValue {
|
|
227
227
|
approvalEnabled?: boolean;
|
|
228
228
|
approvalStrategyId?: string;
|
|
229
|
+
executorIdentity?: ExecutorIdentity;
|
|
229
230
|
}
|
|
230
231
|
export interface IApprovalSettingValueApi {
|
|
231
232
|
approval_enabled?: boolean;
|
|
232
233
|
approval_strategy_id?: string;
|
|
234
|
+
executor_identity?: ExecutorIdentity;
|
|
233
235
|
}
|