@blueking/ai-ui-sdk 0.5.1-beta.4 → 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 +2 -2
- package/dist/components/render-agent/agent-search.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 +24 -23
- package/dist/components/render-auto-height-textarea/index.script.vue.js.js +7 -7
- package/dist/components/render-auto-height-textarea/index.vue.css +13 -13
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +11 -11
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.script.vue.js.js +14 -10
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +8 -8
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/agent/upgrade.script.vue.js.js +9 -5
- 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/agent-command/info-tool.script.vue.js.js +10 -8
- package/dist/components/render-card/base/approval-strategy-popover.script.vue.js.js +81 -27
- package/dist/components/render-card/base/approval-strategy-popover.vue.d.ts +2 -0
- package/dist/components/render-card/base/collection-icon.script.vue.js.js +1 -1
- package/dist/components/render-card/base/reference-icon.script.vue.js.js +3 -3
- package/dist/components/render-card/base.script.vue.js +6 -6
- package/dist/components/render-card/base.vue.css +27 -24
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledge/info-tool.script.vue.js.js +2 -1
- package/dist/components/render-card/knowledgebase/info-tool.script.vue.js.js +2 -2
- package/dist/components/render-card/llm/corner-badge.script.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.script.vue.js.js +2 -2
- package/dist/components/render-card/llm/icons.vue.css +3 -3
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +3 -3
- 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 +20 -20
- package/dist/components/render-card/mcp/name-suffix.script.vue.js +6 -2
- package/dist/components/render-card/mcp/name-suffix.vue.css +4 -4
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/mcp/prefix-info-tool.script.vue.js.js +2 -2
- package/dist/components/render-card/mcp/selected-tools-info.script.vue.js.js +13 -9
- package/dist/components/render-card/prompt/icons.script.vue.js.js +2 -2
- package/dist/components/render-card/prompt/icons.vue.css +2 -2
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/skill/prefix-info-tool.script.vue.js +3 -2
- 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 +4 -2
- 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.script.vue.js.js +2 -1
- package/dist/components/render-choose-tag/index.vue.css +12 -12
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.script.vue.js.js +1 -1
- package/dist/components/render-collapse/index.vue.css +3 -3
- 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 +6 -6
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-collection/search/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.script.vue.js +4 -4
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +7 -7
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.script.vue.js.js +2 -2
- package/dist/components/render-dataset/components/batch-review-dataset-data/index.script.vue.js.js +19 -17
- package/dist/components/render-dataset/components/dataset-data-level/index.script.vue.js +2 -2
- package/dist/components/render-dataset/components/dataset-data-status/index.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +2 -2
- package/dist/components/render-dataset/components/dataset-data-valid/index.script.vue.js.js +6 -6
- package/dist/components/render-dataset/components/edit-dataset-data/index.script.vue.js.js +20 -16
- 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 +94 -95
- 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.script.vue.js.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/dataset-footer.script.vue.js.js +8 -4
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js +5 -5
- package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +2 -2
- 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.script.vue.js.js +13 -14
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +4 -4
- 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.script.vue.js.js +8 -4
- 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.script.vue.js.js +25 -21
- 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/components/source-type-icon/index.script.vue.js.js +3 -3
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +8 -5
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js +9 -9
- 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 +8 -8
- 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-footer.script.vue.js.js +17 -9
- 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.script.vue.js +8 -8
- package/dist/components/render-dialog/choose-result.vue.css +26 -22
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.script.vue.js.js +2 -2
- package/dist/components/render-dialog/choose-space.vue.css +17 -16
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +7 -7
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-dropdown/index.vue.css +2 -2
- 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 +17 -17
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +12 -12
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +14 -14
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +13 -9
- package/dist/components/render-image/index.script.vue.js.js +1 -1
- package/dist/components/render-knowledge/icon/index.vue.css +2 -2
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-knowledge/search/index.script.vue.js.js +1 -1
- package/dist/components/render-knowledgebase/search/index.script.vue.js.js +1 -1
- package/dist/components/render-markdown/edit.postcss.css +28 -2
- package/dist/components/render-markdown/prism-atom-one-dark.postcss.css +1 -1
- package/dist/components/render-markdown/view.postcss.css +4 -4
- package/dist/components/render-mcp/install/index.script.vue.js.js +7 -7
- package/dist/components/render-mcp/search/index.script.vue.js.js +1 -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 +2 -2
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-prompt/search/index.script.vue.js.js +1 -1
- package/dist/components/render-reference/index.script.vue.js +6 -6
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-relate-agent/index.script.vue.js +5 -3
- package/dist/components/render-resource-info/index.script.vue.js +4 -4
- 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 +6 -6
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-search-empty/index.script.vue.js.js +12 -6
- package/dist/components/render-select-plus-extension/index.vue.css +4 -4
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +2 -2
- package/dist/components/render-skill/icons/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/install/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/install/openclaw-windows-instances.script.vue.js.js +7 -7
- package/dist/components/render-skill/search/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/variable-form/index.script.vue.js +3 -3
- package/dist/components/render-t-table/index.script.vue.js.js +55 -52
- package/dist/components/render-t-table/index.vue.css +55 -47
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.script.vue.js.js +5 -4
- package/dist/components/render-tag-tree/index.vue.css +12 -13
- 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-tool/search/index.script.vue.js.js +1 -1
- package/dist/components/render-tree/index.script.vue.js +1 -2
- package/dist/components/render-tree/index.vue.css +5 -5
- package/dist/components.d.ts +2 -1
- package/dist/components.ts.js +2 -1
- package/dist/css/bk-patch.css +1099 -0
- package/dist/css/g-utilities.css +147 -142
- package/dist/css/g-utilities.manifest.json +33 -30
- package/dist/css/main.css +10 -0
- package/dist/css/variable/blue-theme.d.ts +69 -0
- package/dist/css/variable/blue-theme.ts.js +74 -0
- package/dist/css/variable/token.d.ts +114 -0
- package/dist/css/variable/token.ts.js +151 -0
- package/dist/hooks/use-style.d.ts +7 -3
- package/dist/hooks/use-style.ts.js +45 -3
- 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/{fonts → bk-icon/fonts}/iconcool.eot +0 -0
- /package/dist/css/{fonts → bk-icon/fonts}/iconcool.svg +0 -0
- /package/dist/css/{fonts → bk-icon/fonts}/iconcool.ttf +0 -0
- /package/dist/css/{fonts → bk-icon/fonts}/iconcool.woff +0 -0
- /package/dist/css/{iconcool.js → bk-icon/iconcool.js} +0 -0
- /package/dist/css/{style.css → bk-icon/style.css} +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
brand1: string;
|
|
3
|
+
brand2: string;
|
|
4
|
+
brand3: string;
|
|
5
|
+
brand4: string;
|
|
6
|
+
brand5: string;
|
|
7
|
+
brand6: string;
|
|
8
|
+
brand7: string;
|
|
9
|
+
neutral1: string;
|
|
10
|
+
neutral2: string;
|
|
11
|
+
neutral3: string;
|
|
12
|
+
neutral4: string;
|
|
13
|
+
neutral5: string;
|
|
14
|
+
neutral6: string;
|
|
15
|
+
neutral7: string;
|
|
16
|
+
neutral8: string;
|
|
17
|
+
neutral9: string;
|
|
18
|
+
neutral10: string;
|
|
19
|
+
success1: string;
|
|
20
|
+
success2: string;
|
|
21
|
+
success3: string;
|
|
22
|
+
success4: string;
|
|
23
|
+
success5: string;
|
|
24
|
+
success6: string;
|
|
25
|
+
success7: string;
|
|
26
|
+
warn1: string;
|
|
27
|
+
warn2: string;
|
|
28
|
+
warn3: string;
|
|
29
|
+
warn4: string;
|
|
30
|
+
warn5: string;
|
|
31
|
+
warn6: string;
|
|
32
|
+
warn7: string;
|
|
33
|
+
danger1: string;
|
|
34
|
+
danger2: string;
|
|
35
|
+
danger3: string;
|
|
36
|
+
danger4: string;
|
|
37
|
+
danger5: string;
|
|
38
|
+
danger6: string;
|
|
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;
|
|
62
|
+
radius: string;
|
|
63
|
+
radiusL: string;
|
|
64
|
+
mainButtonBoxShadow: string;
|
|
65
|
+
cardBoxShadow: string;
|
|
66
|
+
cardHoverBoxShadow: string;
|
|
67
|
+
popBoxShadow: string;
|
|
68
|
+
};
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
brand1: '#274ECF',
|
|
3
|
+
brand2: '#3B6EF5',
|
|
4
|
+
brand3: '#6691FF',
|
|
5
|
+
brand4: '#99B9FF',
|
|
6
|
+
brand5: '#C7D8FF',
|
|
7
|
+
brand6: '#E5EDFF',
|
|
8
|
+
brand7: '#F0F4FF',
|
|
9
|
+
neutral1: '#111214',
|
|
10
|
+
neutral2: '#4A5973',
|
|
11
|
+
neutral3: '#8F9FBD',
|
|
12
|
+
neutral4: '#C1CDE5',
|
|
13
|
+
neutral5: '#E4E9F2',
|
|
14
|
+
neutral6: '#E9EDF5',
|
|
15
|
+
neutral7: '#F0F4FA',
|
|
16
|
+
neutral8: '#F7F9FD',
|
|
17
|
+
neutral9: '#FBFCFE',
|
|
18
|
+
neutral10: '#FFFFFF',
|
|
19
|
+
success1: '#299E56',
|
|
20
|
+
success2: '#2CAF5E',
|
|
21
|
+
success3: '#65C389',
|
|
22
|
+
success4: '#A1E3BA',
|
|
23
|
+
success5: '#CBF0DA',
|
|
24
|
+
success6: '#DAF6E5',
|
|
25
|
+
success7: '#EBFAF0',
|
|
26
|
+
warn1: '#E38B02',
|
|
27
|
+
warn2: '#F59500',
|
|
28
|
+
warn3: '#F8B64F',
|
|
29
|
+
warn4: '#F9D090',
|
|
30
|
+
warn5: '#FCE5C0',
|
|
31
|
+
warn6: '#FDEED8',
|
|
32
|
+
warn7: '#FDF4E8',
|
|
33
|
+
danger1: '#E71818',
|
|
34
|
+
danger2: '#EA3636',
|
|
35
|
+
danger3: '#FF5656',
|
|
36
|
+
danger4: '#F8B4B4',
|
|
37
|
+
danger5: '#FFDDDD',
|
|
38
|
+
danger6: '#FFEBEB',
|
|
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',
|
|
64
|
+
radius: '6px',
|
|
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'
|
|
74
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'--aidev-radius-s': string;
|
|
3
|
+
'--aidev-radius': string;
|
|
4
|
+
'--aidev-radius-l': string;
|
|
5
|
+
'--aidev-form-color': string;
|
|
6
|
+
'--aidev-form-background': string;
|
|
7
|
+
'--aidev-form-border-color': string;
|
|
8
|
+
'--aidev-form-hover-border-color': string;
|
|
9
|
+
'--aidev-form-active-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;
|
|
18
|
+
'--aidev-background': string;
|
|
19
|
+
'--aidev-main-background': string;
|
|
20
|
+
'--aidev-title-color': string;
|
|
21
|
+
'--aidev-main-color': string;
|
|
22
|
+
'--aidev-assist-color': string;
|
|
23
|
+
'--aidev-disabled-color': string;
|
|
24
|
+
'--aidev-inner-background': string;
|
|
25
|
+
'--aidev-assist-content-background': string;
|
|
26
|
+
'--aidev-main-button-color': string;
|
|
27
|
+
'--aidev-main-button-background': string;
|
|
28
|
+
'--aidev-main-button-border-color': string;
|
|
29
|
+
'--aidev-main-button-hover-background': string;
|
|
30
|
+
'--aidev-main-button-active-background': string;
|
|
31
|
+
'--aidev-main-button-hover-border-color': string;
|
|
32
|
+
'--aidev-main-button-active-border-color': string;
|
|
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;
|
|
68
|
+
'--aidev-clickable-color': string;
|
|
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;
|
|
74
|
+
'--aidev-list-item-hover-background': string;
|
|
75
|
+
'--aidev-list-item-active-background': string;
|
|
76
|
+
'--aidev-list-item-active-count-background': string;
|
|
77
|
+
'--aidev-capsule-hover-background': string;
|
|
78
|
+
'--aidev-icon-hover-background': string;
|
|
79
|
+
'--aidev-icon-light-hover-background': string;
|
|
80
|
+
'--aidev-item-hover-background': string;
|
|
81
|
+
'--aidev-generate-public-color': string;
|
|
82
|
+
'--aidev-generate-public-background': string;
|
|
83
|
+
'--aidev-generate-public-hover-color': string;
|
|
84
|
+
'--aidev-generate-public-hover-background': string;
|
|
85
|
+
'--aidev-generate-space-color': string;
|
|
86
|
+
'--aidev-generate-space-background': string;
|
|
87
|
+
'--aidev-generate-space-hover-color': string;
|
|
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;
|
|
111
|
+
'--default-color': string;
|
|
112
|
+
'--primary-color': string;
|
|
113
|
+
};
|
|
114
|
+
export default _default;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
// 圆角(s = 2px,默认 6px,l = 8px 卡片)
|
|
3
|
+
'--aidev-radius-s': 'radiusS',
|
|
4
|
+
'--aidev-radius': 'radius',
|
|
5
|
+
'--aidev-radius-l': 'radiusL',
|
|
6
|
+
// 表单
|
|
7
|
+
'--aidev-form-color': 'neutral2',
|
|
8
|
+
'--aidev-form-background': 'neutral10',
|
|
9
|
+
'--aidev-form-border-color': 'neutral4',
|
|
10
|
+
'--aidev-form-hover-border-color': 'neutral3',
|
|
11
|
+
'--aidev-form-active-border-color': 'brand2',
|
|
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',
|
|
22
|
+
// 整个网站的背景色
|
|
23
|
+
'--aidev-background': 'neutral8',
|
|
24
|
+
// 主要区域背景色
|
|
25
|
+
'--aidev-main-background': 'neutral10',
|
|
26
|
+
// 网站标题颜色
|
|
27
|
+
'--aidev-title-color': 'neutral1',
|
|
28
|
+
// 网站正文颜色
|
|
29
|
+
'--aidev-main-color': 'neutral2',
|
|
30
|
+
// 网站辅助文字颜色
|
|
31
|
+
'--aidev-assist-color': 'neutral3',
|
|
32
|
+
// 网站禁用文字颜色
|
|
33
|
+
'--aidev-disabled-color': 'neutral4',
|
|
34
|
+
// 在主要区域内的,部分区域的背景色(轨道、折叠标题等 chrome)
|
|
35
|
+
'--aidev-inner-background': 'neutral6',
|
|
36
|
+
// 局部辅助内容底(表单联动分组)。Figma Neutral/8,比 inner 弱一档,比页面底 Neutral/9 强一档
|
|
37
|
+
'--aidev-assist-content-background': 'neutral7',
|
|
38
|
+
// 主按钮相关颜色
|
|
39
|
+
'--aidev-main-button-color': 'neutral10',
|
|
40
|
+
'--aidev-main-button-background': 'brand2',
|
|
41
|
+
'--aidev-main-button-border-color': 'brand2',
|
|
42
|
+
'--aidev-main-button-hover-background': 'brand3',
|
|
43
|
+
'--aidev-main-button-active-background': 'brand1',
|
|
44
|
+
'--aidev-main-button-hover-border-color': 'brand3',
|
|
45
|
+
'--aidev-main-button-active-border-color': 'brand1',
|
|
46
|
+
'--aidev-main-button-box-shadow': 'mainButtonBoxShadow',
|
|
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 链接会发灰发黑)
|
|
89
|
+
'--aidev-clickable-color': 'brand2',
|
|
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',
|
|
98
|
+
// 列表项颜色
|
|
99
|
+
'--aidev-list-item-hover-background': 'neutral7',
|
|
100
|
+
'--aidev-list-item-active-background': 'brand6',
|
|
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)',
|
|
104
|
+
// 图标按钮 hover / 选中高亮背景(icon 在深色一点背景下)
|
|
105
|
+
'--aidev-icon-hover-background': 'brand5',
|
|
106
|
+
// 图标按钮 hover 底(浅底):Brand 最弱色阶 brand7
|
|
107
|
+
'--aidev-icon-light-hover-background': 'brand7',
|
|
108
|
+
// 列表项 / 卡片 hover / 选中高亮背景
|
|
109
|
+
'--aidev-item-hover-background': 'brand6',
|
|
110
|
+
// 资源使用范围相关颜色
|
|
111
|
+
'--aidev-generate-public-color': 'success2',
|
|
112
|
+
'--aidev-generate-public-background': 'success6',
|
|
113
|
+
'--aidev-generate-public-hover-color': 'success1',
|
|
114
|
+
'--aidev-generate-public-hover-background': 'success5',
|
|
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',
|
|
147
|
+
// bkui 字体颜色
|
|
148
|
+
'--default-color': 'neutral2',
|
|
149
|
+
// bkui 主颜色,只用于修改bkui组件的主题色,不要在aidev中使用这个变量
|
|
150
|
+
'--primary-color': 'brand2'
|
|
151
|
+
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import '../css/g-utilities.css';
|
|
2
|
-
import '../css/style.css';
|
|
3
|
-
import '../css/iconcool.js';
|
|
2
|
+
import '../css/bk-icon/style.css';
|
|
3
|
+
import '../css/bk-icon/iconcool.js';
|
|
4
|
+
import '../css/bk-patch.css';
|
|
5
|
+
import '../css/main.css';
|
|
4
6
|
import 'tippy.js/dist/tippy.css';
|
|
5
|
-
export declare const useStyle: () =>
|
|
7
|
+
export declare const useStyle: () => {
|
|
8
|
+
setTheme: (extraTokenMap?: Record<string, string>) => void;
|
|
9
|
+
};
|
|
@@ -1,6 +1,48 @@
|
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
import blueTheme from '../css/variable/blue-theme.ts.js';
|
|
30
|
+
import tokenMap from '../css/variable/token.ts.js';
|
|
1
31
|
import '../css/g-utilities.css';
|
|
2
|
-
import '../css/style.css';
|
|
3
|
-
import '../css/iconcool.js';
|
|
32
|
+
import '../css/bk-icon/style.css';
|
|
33
|
+
import '../css/bk-icon/iconcool.js';
|
|
34
|
+
import '../css/bk-patch.css';
|
|
35
|
+
import '../css/main.css';
|
|
4
36
|
import 'tippy.js/dist/tippy.css';
|
|
5
37
|
// use side effect to import css
|
|
6
|
-
export const useStyle = ()=>{
|
|
38
|
+
export const useStyle = ()=>{
|
|
39
|
+
const styleSheet = document.createElement('style');
|
|
40
|
+
document.head.appendChild(styleSheet);
|
|
41
|
+
const setTheme = (extraTokenMap)=>{
|
|
42
|
+
const declarations = Object.entries(_object_spread({}, tokenMap, extraTokenMap)).map(([cssVar, token])=>` ${cssVar}: ${blueTheme[token] || token};`).join('\n');
|
|
43
|
+
styleSheet.textContent = `:root {\n${declarations}\n}`;
|
|
44
|
+
};
|
|
45
|
+
return {
|
|
46
|
+
setTheme
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -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
|
}
|
package/dist/types/enum.d.ts
CHANGED
package/dist/types/enum.ts.js
CHANGED
|
@@ -440,3 +440,8 @@ export var TTableColumnType;
|
|
|
440
440
|
TTableColumnType["Single"] = "single";
|
|
441
441
|
TTableColumnType["Multiple"] = "multiple";
|
|
442
442
|
})(TTableColumnType || (TTableColumnType = {}));
|
|
443
|
+
export var ExecutorIdentity;
|
|
444
|
+
(function(ExecutorIdentity) {
|
|
445
|
+
ExecutorIdentity["User"] = "user";
|
|
446
|
+
ExecutorIdentity["Approver"] = "approver";
|
|
447
|
+
})(ExecutorIdentity || (ExecutorIdentity = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueking/ai-ui-sdk",
|
|
3
|
-
"version": "0.5.1-beta.
|
|
3
|
+
"version": "0.5.1-beta.6",
|
|
4
4
|
"description": "蓝鲸AI UI SDK",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"types": "dist/main.d.ts",
|
|
@@ -99,9 +99,9 @@
|
|
|
99
99
|
"vue-router": "^4.2.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@blueking/aidev-g-utilities": "0.1.0-beta.
|
|
102
|
+
"@blueking/aidev-g-utilities": "0.1.0-beta.30",
|
|
103
103
|
"@blueking/babel-preset-bk": "2.1.3",
|
|
104
|
-
"@blueking/cli-service": "0.2.2-beta.
|
|
104
|
+
"@blueking/cli-service": "0.2.2-beta.2",
|
|
105
105
|
"@blueking/eslint-config-bk": "2.1.0",
|
|
106
106
|
"@blueking/stylelint-config-bk": "2.1.0-beta.10",
|
|
107
107
|
"@types/markdown-it": "^14.1.2",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|