aldehyde 0.2.516 → 0.2.518

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.
Files changed (186) hide show
  1. package/lib/controls/auto-complete/index.d.ts.map +1 -1
  2. package/lib/controls/auto-complete/index.js +2 -4
  3. package/lib/controls/auto-complete/index.js.map +1 -1
  4. package/lib/controls/direct-file-view/index.d.ts.map +1 -1
  5. package/lib/controls/direct-file-view/index.js +4 -1
  6. package/lib/controls/direct-file-view/index.js.map +1 -1
  7. package/lib/controls/entry-control.d.ts.map +1 -1
  8. package/lib/controls/entry-control.js +4 -0
  9. package/lib/controls/entry-control.js.map +1 -1
  10. package/lib/controls/icon-selector/icon/phonenode-menu-icon/iconfont.css +99 -99
  11. package/lib/controls/view-control.d.ts.map +1 -1
  12. package/lib/controls/view-control.js +1 -0
  13. package/lib/controls/view-control.js.map +1 -1
  14. package/lib/detail/view/act-dtmpl-view.d.ts +2 -0
  15. package/lib/detail/view/act-dtmpl-view.d.ts.map +1 -1
  16. package/lib/detail/view/act-dtmpl-view.js +3 -2
  17. package/lib/detail/view/act-dtmpl-view.js.map +1 -1
  18. package/lib/detail/view/dtmpl-view.d.ts +11 -0
  19. package/lib/detail/view/dtmpl-view.d.ts.map +1 -1
  20. package/lib/detail/view/dtmpl-view.js +20 -17
  21. package/lib/detail/view/dtmpl-view.js.map +1 -1
  22. package/lib/detail/view/field-view-group.d.ts +9 -0
  23. package/lib/detail/view/field-view-group.d.ts.map +1 -1
  24. package/lib/detail/view/field-view-group.js +17 -15
  25. package/lib/detail/view/field-view-group.js.map +1 -1
  26. package/lib/detail/view/index.less +6 -0
  27. package/lib/draw-canvas-edit/components/asset-bar/index.less +35 -35
  28. package/lib/draw-canvas-edit/components/main-header/index.less +23 -23
  29. package/lib/form/dtmpl-form.d.ts +12 -1
  30. package/lib/form/dtmpl-form.d.ts.map +1 -1
  31. package/lib/form/dtmpl-form.js +35 -27
  32. package/lib/form/dtmpl-form.js.map +1 -1
  33. package/lib/form/form-Item-group.d.ts +9 -0
  34. package/lib/form/form-Item-group.d.ts.map +1 -1
  35. package/lib/form/form-Item-group.js +13 -3
  36. package/lib/form/form-Item-group.js.map +1 -1
  37. package/lib/list/card-list/card-list-item.d.ts.map +1 -1
  38. package/lib/list/card-list/card-list-item.js +28 -6
  39. package/lib/list/card-list/card-list-item.js.map +1 -1
  40. package/lib/lowcode-components/base-table/index.less +61 -61
  41. package/lib/lowcode-components/data-number/index.d.ts +2 -0
  42. package/lib/lowcode-components/data-number/index.d.ts.map +1 -1
  43. package/lib/lowcode-components/data-number/index.js +21 -1
  44. package/lib/lowcode-components/data-number/index.js.map +1 -1
  45. package/lib/lowcode-components/data-number/index.less +10 -10
  46. package/lib/lowcode-components/date-time/index.less +4 -4
  47. package/lib/lowcode-components/four-angle-glow-border/index.less +49 -49
  48. package/lib/lowcode-components/line-chart/index.js +7 -7
  49. package/lib/lowcode-components/line-chart/index.js.map +1 -1
  50. package/lib/lowcode-components/lowcode-view/component/font/FontGlobal.css +26 -26
  51. package/lib/lowcode-components/lowcode-view/component/screen-fit/index.less +13 -13
  52. package/lib/lowcode-components/text-scroller/index.less +28 -28
  53. package/lib/module/dtmpl-edit-page.d.ts +1 -0
  54. package/lib/module/dtmpl-edit-page.d.ts.map +1 -1
  55. package/lib/module/dtmpl-edit-page.js +5 -5
  56. package/lib/module/dtmpl-edit-page.js.map +1 -1
  57. package/lib/module/dtmpl-view-card.d.ts +2 -0
  58. package/lib/module/dtmpl-view-card.d.ts.map +1 -1
  59. package/lib/module/dtmpl-view-card.js +7 -4
  60. package/lib/module/dtmpl-view-card.js.map +1 -1
  61. package/lib/module/dtmpl-view-drawer.d.ts +2 -0
  62. package/lib/module/dtmpl-view-drawer.d.ts.map +1 -1
  63. package/lib/module/dtmpl-view-drawer.js +3 -2
  64. package/lib/module/dtmpl-view-drawer.js.map +1 -1
  65. package/lib/module/dtmpl-view-modal.d.ts +2 -0
  66. package/lib/module/dtmpl-view-modal.d.ts.map +1 -1
  67. package/lib/module/dtmpl-view-modal.js +3 -2
  68. package/lib/module/dtmpl-view-modal.js.map +1 -1
  69. package/lib/module/ttmpl-table.d.ts.map +1 -1
  70. package/lib/module/ttmpl-table.js +1 -1
  71. package/lib/module/ttmpl-table.js.map +1 -1
  72. package/lib/routable/index.less +5 -0
  73. package/lib/routable/ltmpl-route.d.ts +1 -0
  74. package/lib/routable/ltmpl-route.d.ts.map +1 -1
  75. package/lib/routable/ltmpl-route.js +37 -7
  76. package/lib/routable/ltmpl-route.js.map +1 -1
  77. package/lib/routable/ttmpl-table-route.d.ts.map +1 -1
  78. package/lib/routable/ttmpl-table-route.js +2 -1
  79. package/lib/routable/ttmpl-table-route.js.map +1 -1
  80. package/lib/table/act-table.d.ts +3 -0
  81. package/lib/table/act-table.d.ts.map +1 -1
  82. package/lib/table/act-table.js +9 -6
  83. package/lib/table/act-table.js.map +1 -1
  84. package/lib/table/column/column-builder.d.ts.map +1 -1
  85. package/lib/table/column/column-builder.js +22 -10
  86. package/lib/table/column/column-builder.js.map +1 -1
  87. package/lib/table/pagination.js +1 -1
  88. package/lib/table/pagination.js.map +1 -1
  89. package/lib/table/relation-table.d.ts +5 -0
  90. package/lib/table/relation-table.d.ts.map +1 -1
  91. package/lib/table/relation-table.js +54 -10
  92. package/lib/table/relation-table.js.map +1 -1
  93. package/lib/tmpl/control-type-supportor.d.ts.map +1 -1
  94. package/lib/tmpl/control-type-supportor.js +1 -0
  95. package/lib/tmpl/control-type-supportor.js.map +1 -1
  96. package/lib/tmpl/hcservice-v3.d.ts +2 -0
  97. package/lib/tmpl/hcservice-v3.d.ts.map +1 -1
  98. package/lib/tmpl/hcservice-v3.js +26 -0
  99. package/lib/tmpl/hcservice-v3.js.map +1 -1
  100. package/lib/tmpl/interface.d.ts +8 -1
  101. package/lib/tmpl/interface.d.ts.map +1 -1
  102. package/lib/tmpl/interface.js.map +1 -1
  103. package/lib/units/index.d.ts +2 -0
  104. package/lib/units/index.d.ts.map +1 -1
  105. package/lib/units/index.js +45 -0
  106. package/lib/units/index.js.map +1 -1
  107. package/package.json +1 -1
  108. package/src/aldehyde/controls/auto-complete/index.tsx +4 -6
  109. package/src/aldehyde/controls/direct-file-view/index.tsx +4 -1
  110. package/src/aldehyde/controls/entry-control.tsx +4 -0
  111. package/src/aldehyde/controls/icon-selector/icon/phonenode-menu-icon/iconfont.css +99 -99
  112. package/src/aldehyde/controls/icon-selector/icon/phonenode-menu-icon/iconfont.json +156 -156
  113. package/src/aldehyde/controls/view-control.tsx +1 -0
  114. package/src/aldehyde/detail/view/act-dtmpl-view.tsx +4 -1
  115. package/src/aldehyde/detail/view/dtmpl-view.tsx +20 -26
  116. package/src/aldehyde/detail/view/field-view-group.tsx +20 -22
  117. package/src/aldehyde/detail/view/index.less +6 -0
  118. package/src/aldehyde/draw-canvas-edit/components/asset-bar/index.less +35 -35
  119. package/src/aldehyde/draw-canvas-edit/components/asset-bar/index.tsx +110 -110
  120. package/src/aldehyde/draw-canvas-edit/components/main-header/index.less +23 -23
  121. package/src/aldehyde/draw-canvas-edit/components/main-header/index.tsx +263 -263
  122. package/src/aldehyde/draw-canvas-edit/components/render/draws/index.ts +7 -7
  123. package/src/aldehyde/draw-canvas-edit/components/render/graphs/base-graph.ts +241 -241
  124. package/src/aldehyde/draw-canvas-edit/components/render/graphs/circle.ts +699 -699
  125. package/src/aldehyde/draw-canvas-edit/components/render/graphs/curve.ts +500 -500
  126. package/src/aldehyde/draw-canvas-edit/components/render/graphs/index.ts +5 -5
  127. package/src/aldehyde/draw-canvas-edit/components/render/graphs/line.ts +493 -493
  128. package/src/aldehyde/draw-canvas-edit/components/render/graphs/rect.ts +680 -680
  129. package/src/aldehyde/draw-canvas-edit/components/render/handlers/drag-handlers.ts +68 -68
  130. package/src/aldehyde/draw-canvas-edit/components/render/handlers/graph-handlers.ts +113 -113
  131. package/src/aldehyde/draw-canvas-edit/components/render/handlers/index.ts +9 -9
  132. package/src/aldehyde/draw-canvas-edit/components/render/handlers/key-move-handlers.ts +49 -49
  133. package/src/aldehyde/draw-canvas-edit/components/render/handlers/link-handlers.ts +45 -45
  134. package/src/aldehyde/draw-canvas-edit/components/render/handlers/shutcut-handlers.ts +45 -45
  135. package/src/aldehyde/draw-canvas-edit/components/render/handlers/text-handlers.ts +81 -81
  136. package/src/aldehyde/draw-canvas-edit/components/render/handlers/zoom-handlers.ts +59 -59
  137. package/src/aldehyde/draw-canvas-edit/components/render/tools/align-tool.ts +89 -89
  138. package/src/aldehyde/draw-canvas-edit/components/render/tools/asset-tool.ts +154 -154
  139. package/src/aldehyde/draw-canvas-edit/components/render/tools/link-tool.ts +222 -222
  140. package/src/aldehyde/draw-canvas-edit/components/render/tools/z-index-tool.ts +224 -224
  141. package/src/aldehyde/draw-canvas-edit/components/render/utils/a-star.ts +116 -116
  142. package/src/aldehyde/draw-canvas-edit/components/render/utils/bezier-scene-func.ts +72 -72
  143. package/src/aldehyde/draw-canvas-edit/components/setting-form/imag-upload.tsx +119 -119
  144. package/src/aldehyde/form/dtmpl-form.tsx +59 -55
  145. package/src/aldehyde/form/form-Item-group.tsx +16 -5
  146. package/src/aldehyde/layout4/imgs/user.svg +26 -26
  147. package/src/aldehyde/list/card-list/card-list-item.tsx +26 -7
  148. package/src/aldehyde/lowcode-components/base-color-block/index.tsx +31 -31
  149. package/src/aldehyde/lowcode-components/base-table/index.less +61 -61
  150. package/src/aldehyde/lowcode-components/data-number/index.less +10 -10
  151. package/src/aldehyde/lowcode-components/data-number/index.tsx +22 -1
  152. package/src/aldehyde/lowcode-components/date-time/index.less +4 -4
  153. package/src/aldehyde/lowcode-components/date-time/index.tsx +64 -64
  154. package/src/aldehyde/lowcode-components/four-angle-glow-border/index.less +49 -49
  155. package/src/aldehyde/lowcode-components/four-angle-glow-border/index.tsx +53 -53
  156. package/src/aldehyde/lowcode-components/line-chart/index.tsx +7 -7
  157. package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-controller.ts +64 -64
  158. package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-definition.ts +77 -77
  159. package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-designer-loader.ts +36 -36
  160. package/src/aldehyde/lowcode-components/lowcode-view/component/component-container.tsx +144 -144
  161. package/src/aldehyde/lowcode-components/lowcode-view/component/font/FontGlobal.css +26 -26
  162. package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/controller.ts +36 -36
  163. package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/definition.ts +53 -53
  164. package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/index.tsx +15 -15
  165. package/src/aldehyde/lowcode-components/lowcode-view/component/layer-builder.tsx +98 -98
  166. package/src/aldehyde/lowcode-components/lowcode-view/component/screen-fit/index.less +13 -13
  167. package/src/aldehyde/lowcode-components/lowcode-view/component/screen-fit/index.tsx +121 -121
  168. package/src/aldehyde/lowcode-components/placeholder-component/index.tsx +81 -81
  169. package/src/aldehyde/lowcode-components/text-scroller/index.less +28 -28
  170. package/src/aldehyde/lowcode-components/text-scroller/index.tsx +173 -173
  171. package/src/aldehyde/module/dtmpl-edit-page.tsx +10 -1
  172. package/src/aldehyde/module/dtmpl-view-card.tsx +39 -34
  173. package/src/aldehyde/module/dtmpl-view-drawer.tsx +4 -2
  174. package/src/aldehyde/module/dtmpl-view-modal.tsx +4 -2
  175. package/src/aldehyde/module/ttmpl-table.tsx +1 -0
  176. package/src/aldehyde/routable/index.less +5 -0
  177. package/src/aldehyde/routable/ltmpl-route.tsx +39 -4
  178. package/src/aldehyde/routable/ttmpl-table-route.tsx +3 -0
  179. package/src/aldehyde/table/act-table.tsx +11 -6
  180. package/src/aldehyde/table/column/column-builder.tsx +14 -3
  181. package/src/aldehyde/table/pagination.tsx +1 -1
  182. package/src/aldehyde/table/relation-table.tsx +77 -16
  183. package/src/aldehyde/tmpl/control-type-supportor.tsx +1 -0
  184. package/src/aldehyde/tmpl/hcservice-v3.tsx +23 -0
  185. package/src/aldehyde/tmpl/interface.tsx +9 -2
  186. package/src/aldehyde/units/index.tsx +44 -0
@@ -1,110 +1,110 @@
1
- import React, { DragEvent, useEffect, useMemo, useState } from 'react';
2
- import { Collapse, Tooltip } from "antd";
3
- import { ProgramConfig } from "../../../index";
4
- import './index.less';
5
-
6
- // 组件分组配置
7
- const assetGroups = [
8
- { key: 'SVG', label: '矢量图(SVG)' },
9
- { key: 'picture', label: '图片' },
10
- { key: 'GIF', label: 'GIF' },
11
- // { key: 'composite', label: '图形组合 (JSON)' },
12
- { key: 'other', label: '其他' }
13
- ];
14
-
15
- export const handleImgUrl = (val: string) => {
16
- let src = val;
17
- if (!src || src.startsWith("http")) {
18
- return src;
19
- }
20
- if (src.includes("@R@")) {
21
- const text = src.split("@R@")[1];
22
- if (text.startsWith("http")) {
23
- return text;
24
- }
25
- src = text;
26
- }
27
- const url = encodeURI(ProgramConfig.joinPath(
28
- ProgramConfig.joinPath(ProgramConfig.api(), "/v3/files"),
29
- src
30
- )) +
31
- `?@token=${ProgramConfig.hydrocarbonToken()}&@programToken=${ProgramConfig.programCode()}&@applicationToken=${ProgramConfig.applicationCode()}`;
32
- return url;
33
- }
34
-
35
- // 不显示连接线的组件类型
36
- const noLinkToolType = ["workstation"];
37
-
38
- interface AssetItem {
39
- body: {
40
- path: string;
41
- suffix: string;
42
- };
43
- type: string; // 组件类型
44
- config?: string; // 组件配置
45
- }
46
-
47
- const AssetList = () => {
48
- const [activeKey, setActiveKey] = useState<string[]>(["SVG", "picture", "GIF", "other"]);
49
- const [component2D, setComponent2D] = useState<any>({});
50
-
51
- // 拖拽
52
- const handleDragStart = (e: DragEvent, item: AssetItem) => {
53
- if (!item?.body) {
54
- return;
55
- }
56
- let defValues = {};
57
- try {
58
- const config = JSON.parse(item.config || "[]");
59
- config.forEach(item => {
60
- item.groups.forEach(r => r.fields?.forEach(i => {
61
- if (i.defaultValue || i.defaultValue === 0) {
62
- defValues[i.id] = i.defaultValue;
63
- }
64
- }));
65
- });
66
- } catch { defValues = {} }
67
- e.dataTransfer.setData('defaultValues', JSON.stringify(defValues)); // 默认值配置
68
- e.dataTransfer.setData('componentItem', JSON.stringify(item)); // 整体配置信息
69
- e.dataTransfer.setData('src', item.body.path); // 组件地址
70
- e.dataTransfer.setData('type', item.body.suffix);
71
- e.dataTransfer.setData('componentType', item.type || ''); // 组件类型
72
- e.dataTransfer.setData('showPoints', noLinkToolType.includes(item.type) ? "false" : "true");
73
- };
74
-
75
- const get2DComponent = async () => {
76
- if (!activeKey?.length) {
77
- return;
78
- }
79
- const res = await ProgramConfig.get2DComponent(activeKey);
80
- setComponent2D(res);
81
- }
82
-
83
- useEffect(() => {
84
- get2DComponent();
85
- }, [activeKey])
86
-
87
- // 组件渲染
88
- const assetNodes = useMemo(() => {
89
- const temArr = assetGroups?.map(r => ({
90
- ...r,
91
- children: component2D[r.key]?.length ? <ul className="asset-list">
92
- {component2D[r.key].map((item, idx) => {
93
- const temDom = <li key={idx} draggable onDragStart={(e) => handleDragStart(e, item)}>
94
- <img src={handleImgUrl(item?.body?.path)} alt="" />
95
- </li>;
96
- return item.title ? <Tooltip title={item.title}>{temDom}</Tooltip> : temDom;
97
- })}
98
- </ul> : null
99
- }))?.filter(r => r.children);
100
- return temArr || [];
101
- }, [component2D]);
102
-
103
- return (
104
- <div className="asset-bar">
105
- <Collapse styles={{ body: { padding: "4px 8px 8px" } }} size="small" onChange={setActiveKey} bordered={false} items={assetNodes} activeKey={activeKey} />
106
- </div>
107
- )
108
- };
109
-
110
- export default AssetList;
1
+ import React, { DragEvent, useEffect, useMemo, useState } from 'react';
2
+ import { Collapse, Tooltip } from "antd";
3
+ import { ProgramConfig } from "../../../index";
4
+ import './index.less';
5
+
6
+ // 组件分组配置
7
+ const assetGroups = [
8
+ { key: 'SVG', label: '矢量图(SVG)' },
9
+ { key: 'picture', label: '图片' },
10
+ { key: 'GIF', label: 'GIF' },
11
+ // { key: 'composite', label: '图形组合 (JSON)' },
12
+ { key: 'other', label: '其他' }
13
+ ];
14
+
15
+ export const handleImgUrl = (val: string) => {
16
+ let src = val;
17
+ if (!src || src.startsWith("http")) {
18
+ return src;
19
+ }
20
+ if (src.includes("@R@")) {
21
+ const text = src.split("@R@")[1];
22
+ if (text.startsWith("http")) {
23
+ return text;
24
+ }
25
+ src = text;
26
+ }
27
+ const url = encodeURI(ProgramConfig.joinPath(
28
+ ProgramConfig.joinPath(ProgramConfig.api(), "/v3/files"),
29
+ src
30
+ )) +
31
+ `?@token=${ProgramConfig.hydrocarbonToken()}&@programToken=${ProgramConfig.programCode()}&@applicationToken=${ProgramConfig.applicationCode()}`;
32
+ return url;
33
+ }
34
+
35
+ // 不显示连接线的组件类型
36
+ const noLinkToolType = ["workstation"];
37
+
38
+ interface AssetItem {
39
+ body: {
40
+ path: string;
41
+ suffix: string;
42
+ };
43
+ type: string; // 组件类型
44
+ config?: string; // 组件配置
45
+ }
46
+
47
+ const AssetList = () => {
48
+ const [activeKey, setActiveKey] = useState<string[]>(["SVG", "picture", "GIF", "other"]);
49
+ const [component2D, setComponent2D] = useState<any>({});
50
+
51
+ // 拖拽
52
+ const handleDragStart = (e: DragEvent, item: AssetItem) => {
53
+ if (!item?.body) {
54
+ return;
55
+ }
56
+ let defValues = {};
57
+ try {
58
+ const config = JSON.parse(item.config || "[]");
59
+ config.forEach(item => {
60
+ item.groups.forEach(r => r.fields?.forEach(i => {
61
+ if (i.defaultValue || i.defaultValue === 0) {
62
+ defValues[i.id] = i.defaultValue;
63
+ }
64
+ }));
65
+ });
66
+ } catch { defValues = {} }
67
+ e.dataTransfer.setData('defaultValues', JSON.stringify(defValues)); // 默认值配置
68
+ e.dataTransfer.setData('componentItem', JSON.stringify(item)); // 整体配置信息
69
+ e.dataTransfer.setData('src', item.body.path); // 组件地址
70
+ e.dataTransfer.setData('type', item.body.suffix);
71
+ e.dataTransfer.setData('componentType', item.type || ''); // 组件类型
72
+ e.dataTransfer.setData('showPoints', noLinkToolType.includes(item.type) ? "false" : "true");
73
+ };
74
+
75
+ const get2DComponent = async () => {
76
+ if (!activeKey?.length) {
77
+ return;
78
+ }
79
+ const res = await ProgramConfig.get2DComponent(activeKey);
80
+ setComponent2D(res);
81
+ }
82
+
83
+ useEffect(() => {
84
+ get2DComponent();
85
+ }, [activeKey])
86
+
87
+ // 组件渲染
88
+ const assetNodes = useMemo(() => {
89
+ const temArr = assetGroups?.map(r => ({
90
+ ...r,
91
+ children: component2D[r.key]?.length ? <ul className="asset-list">
92
+ {component2D[r.key].map((item, idx) => {
93
+ const temDom = <li key={idx} draggable onDragStart={(e) => handleDragStart(e, item)}>
94
+ <img src={handleImgUrl(item?.body?.path)} alt="" />
95
+ </li>;
96
+ return item.title ? <Tooltip title={item.title}>{temDom}</Tooltip> : temDom;
97
+ })}
98
+ </ul> : null
99
+ }))?.filter(r => r.children);
100
+ return temArr || [];
101
+ }, [component2D]);
102
+
103
+ return (
104
+ <div className="asset-bar">
105
+ <Collapse styles={{ body: { padding: "4px 8px 8px" } }} size="small" onChange={setActiveKey} bordered={false} items={assetNodes} activeKey={activeKey} />
106
+ </div>
107
+ )
108
+ };
109
+
110
+ export default AssetList;
@@ -1,24 +1,24 @@
1
- .main-header {
2
- min-height: 40px;
3
- padding: 4px 8px;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- background: var(--ant-layout-body-bg);
8
- overflow-x: auto;
9
- overflow-y: hidden;
10
-
11
- button {
12
- padding: 4px 8px;
13
- font-size: 16px;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
17
-
18
- &.active {
19
- background-color: var(--ant-color-primary);
20
- color: #fff;
21
- }
22
-
23
- }
1
+ .main-header {
2
+ min-height: 40px;
3
+ padding: 4px 8px;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: center;
7
+ background: var(--ant-layout-body-bg);
8
+ overflow-x: auto;
9
+ overflow-y: hidden;
10
+
11
+ button {
12
+ padding: 4px 8px;
13
+ font-size: 16px;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+
18
+ &.active {
19
+ background-color: var(--ant-color-primary);
20
+ color: #fff;
21
+ }
22
+
23
+ }
24
24
  }