@agentscope-ai/design 1.0.8 → 1.0.9
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/lib/antd/styles/alert.style.d.ts +2 -10
- package/lib/antd/styles/alert.style.js +11 -12
- package/lib/antd/styles/breadcrumb.style.d.ts +2 -18
- package/lib/antd/styles/breadcrumb.style.js +13 -15
- package/lib/antd/styles/button.style.d.ts +2 -80
- package/lib/antd/styles/button.style.js +63 -47
- package/lib/antd/styles/dropdown.style.d.ts +2 -15
- package/lib/antd/styles/dropdown.style.js +27 -16
- package/lib/antd/styles/floatButton.style.d.ts +2 -8
- package/lib/antd/styles/floatButton.style.js +13 -12
- package/lib/antd/styles/index.style.d.ts +4 -18
- package/lib/antd/styles/index.style.js +52 -53
- package/lib/antd/styles/inputNumber.style.d.ts +2 -18
- package/lib/antd/styles/inputNumber.style.js +23 -17
- package/lib/antd/styles/message.style.d.ts +2 -5
- package/lib/antd/styles/message.style.js +9 -10
- package/lib/antd/styles/notification.style.d.ts +2 -46
- package/lib/antd/styles/notification.style.js +31 -29
- package/lib/antd/styles/popover.style.d.ts +2 -13
- package/lib/antd/styles/popover.style.js +15 -14
- package/lib/antd/styles/radio.style.d.ts +2 -24
- package/lib/antd/styles/radio.style.js +29 -18
- package/lib/antd/styles/segment.style.d.ts +2 -7
- package/lib/antd/styles/segment.style.js +11 -12
- package/lib/antd/styles/select.style.d.ts +2 -31
- package/lib/antd/styles/select.style.js +51 -28
- package/lib/antd/styles/slider.style.d.ts +2 -22
- package/lib/antd/styles/slider.style.js +19 -21
- package/lib/antd/styles/table.style.d.ts +2 -5
- package/lib/antd/styles/table.style.js +7 -10
- package/lib/antd/styles/tooltip.style.d.ts +2 -8
- package/lib/antd/styles/tooltip.style.js +13 -11
- package/lib/antd/themes/bailianTheme.json +1 -1
- package/lib/antd/themes/generateThemeByToken.js +1 -1
- package/lib/components/commonComponents/AlertDialog/demo/demo1.js +13 -79
- package/lib/components/commonComponents/AlertDialog/demo/demo2.js +44 -64
- package/lib/components/commonComponents/AlertDialog/index.d.ts +14 -1
- package/lib/components/commonComponents/AlertDialog/index.js +25 -17
- package/lib/components/commonComponents/AlertDialog/index.style.d.ts +1 -17
- package/lib/components/commonComponents/AlertDialog/index.style.js +16 -30
- package/lib/components/commonComponents/Anchor/demo/demo1.d.ts +0 -4
- package/lib/components/commonComponents/Anchor/demo/demo1.js +3 -4
- package/lib/components/commonComponents/Anchor/demo/demo2.d.ts +0 -4
- package/lib/components/commonComponents/Anchor/demo/demo2.js +3 -5
- package/lib/components/commonComponents/Anchor/index.js +7 -3
- package/lib/components/commonComponents/Anchor/index.style.d.ts +1 -14
- package/lib/components/commonComponents/Anchor/index.style.js +18 -23
- package/lib/components/commonComponents/Avatar/index.js +11 -7
- package/lib/components/commonComponents/Avatar/index.style.d.ts +1 -7
- package/lib/components/commonComponents/Avatar/index.style.js +6 -21
- package/lib/components/commonComponents/Breadcrumb/index.js +9 -6
- package/lib/components/commonComponents/Breadcrumb/index.style.d.ts +1 -117
- package/lib/components/commonComponents/Breadcrumb/index.style.js +32 -61
- package/lib/components/commonComponents/Card/index.js +23 -20
- package/lib/components/commonComponents/Card/index.style.d.ts +1 -71
- package/lib/components/commonComponents/Card/index.style.js +24 -46
- package/lib/components/commonComponents/Checkbox/index.js +13 -10
- package/lib/components/commonComponents/Checkbox/index.style.d.ts +1 -34
- package/lib/components/commonComponents/Checkbox/index.style.js +50 -38
- package/lib/components/commonComponents/CodeBlock/index.js +13 -12
- package/lib/components/commonComponents/CodeBlock/index.style.d.ts +1 -354
- package/lib/components/commonComponents/CodeBlock/index.style.js +26 -72
- package/lib/components/commonComponents/Collapse/index.js +7 -3
- package/lib/components/commonComponents/Collapse/index.style.d.ts +1 -57
- package/lib/components/commonComponents/Collapse/index.style.js +34 -47
- package/lib/components/commonComponents/CollapsePanel/index.d.ts +10 -0
- package/lib/components/commonComponents/CollapsePanel/index.js +56 -44
- package/lib/components/commonComponents/CollapsePanel/index.style.d.ts +1 -287
- package/lib/components/commonComponents/CollapsePanel/index.style.js +42 -97
- package/lib/components/commonComponents/ConfigProvider/index.js +11 -8
- package/lib/components/commonComponents/DatePicker/index.js +45 -39
- package/lib/components/commonComponents/DatePicker/index.style.d.ts +1 -102
- package/lib/components/commonComponents/DatePicker/index.style.js +66 -61
- package/lib/components/commonComponents/Descriptions/index.js +14 -10
- package/lib/components/commonComponents/Descriptions/index.style.d.ts +1 -17
- package/lib/components/commonComponents/Descriptions/index.style.js +32 -29
- package/lib/components/commonComponents/Drawer/Confirm.d.ts +1 -1
- package/lib/components/commonComponents/Drawer/Confirm.js +26 -24
- package/lib/components/commonComponents/Drawer/index.js +15 -11
- package/lib/components/commonComponents/Drawer/index.style.d.ts +1 -84
- package/lib/components/commonComponents/Drawer/index.style.js +44 -54
- package/lib/components/commonComponents/Dropdown/index.d.ts +1 -2
- package/lib/components/commonComponents/Dropdown/index.js +15 -12
- package/lib/components/commonComponents/Dropdown/index.style.d.ts +1 -78
- package/lib/components/commonComponents/Dropdown/index.style.js +48 -40
- package/lib/components/commonComponents/EllipsisTip/index.js +14 -10
- package/lib/components/commonComponents/EllipsisTip/index.style.d.ts +1 -10
- package/lib/components/commonComponents/EllipsisTip/index.style.js +6 -24
- package/lib/components/commonComponents/Empty/index.js +46 -44
- package/lib/components/commonComponents/Empty/index.style.d.ts +1 -113
- package/lib/components/commonComponents/Empty/index.style.js +22 -51
- package/lib/components/commonComponents/FileIcon/index.js +27 -24
- package/lib/components/commonComponents/FileIcon/index.style.d.ts +1 -61
- package/lib/components/commonComponents/FileIcon/index.style.js +20 -42
- package/lib/components/commonComponents/FloatButton/demo/demo1.js +1 -1
- package/lib/components/commonComponents/FloatButton/demo/demo2.js +1 -1
- package/lib/components/commonComponents/Form/index.js +6 -5
- package/lib/components/commonComponents/Form/index.style.d.ts +1 -53
- package/lib/components/commonComponents/Form/index.style.js +26 -38
- package/lib/components/commonComponents/HelpIcon/index.js +25 -20
- package/lib/components/commonComponents/HelpIcon/index.style.d.ts +1 -16
- package/lib/components/commonComponents/HelpIcon/index.style.js +16 -29
- package/lib/components/commonComponents/IconButton/index.js +15 -11
- package/lib/components/commonComponents/IconButton/index.style.d.ts +1 -11
- package/lib/components/commonComponents/IconButton/index.style.js +10 -24
- package/lib/components/commonComponents/IconFont/index.d.ts +1 -2
- package/lib/components/commonComponents/IconFont/index.js +14 -9
- package/lib/components/commonComponents/IconFont/index.style.d.ts +1 -67
- package/lib/components/commonComponents/IconFont/index.style.js +14 -44
- package/lib/components/commonComponents/Image/index.js +8 -5
- package/lib/components/commonComponents/Image/index.style.d.ts +1 -22
- package/lib/components/commonComponents/Image/index.style.js +16 -30
- package/lib/components/commonComponents/Input/index.js +17 -11
- package/lib/components/commonComponents/Input/index.style.d.ts +1 -70
- package/lib/components/commonComponents/Input/index.style.js +46 -42
- package/lib/components/commonComponents/Modal/index.js +19 -16
- package/lib/components/commonComponents/Modal/index.style.d.ts +1 -111
- package/lib/components/commonComponents/Modal/index.style.js +54 -72
- package/lib/components/commonComponents/Pagination/index.d.ts +1 -1
- package/lib/components/commonComponents/Pagination/index.js +36 -31
- package/lib/components/commonComponents/Pagination/index.style.d.ts +1 -49
- package/lib/components/commonComponents/Pagination/index.style.js +26 -42
- package/lib/components/commonComponents/Popconfirm/demo/demo1.js +13 -0
- package/lib/components/commonComponents/Popconfirm/demo/demo2.d.ts +3 -0
- package/lib/components/commonComponents/Popconfirm/demo/demo2.js +49 -0
- package/lib/components/commonComponents/Popconfirm/index.d.ts +9 -2
- package/lib/components/commonComponents/Popconfirm/index.js +50 -8
- package/lib/components/commonComponents/PromptsEditor/index.js +2 -2
- package/lib/components/commonComponents/RadioButton/index.js +9 -10
- package/lib/components/commonComponents/RadioButton/index.style.d.ts +1 -72
- package/lib/components/commonComponents/RadioButton/index.style.js +52 -63
- package/lib/components/commonComponents/Result/index.style.d.ts +1 -3
- package/lib/components/commonComponents/Result/index.style.js +4 -16
- package/lib/components/commonComponents/Select/demo/demo2.js +0 -1
- package/lib/components/commonComponents/SlateEditor/elements/Var.js +11 -8
- package/lib/components/commonComponents/SlateEditor/elements/index.style.d.ts +1 -14
- package/lib/components/commonComponents/SlateEditor/elements/index.style.js +4 -21
- package/lib/components/commonComponents/SlateEditor/index.js +34 -31
- package/lib/components/commonComponents/SlateEditor/index.style.d.ts +1 -28
- package/lib/components/commonComponents/SlateEditor/index.style.js +4 -36
- package/lib/components/commonComponents/Slider/{slider.input.d.ts → Input/index.d.ts} +1 -1
- package/lib/components/commonComponents/Slider/Input/index.js +91 -0
- package/lib/components/commonComponents/Slider/Input/index.style.d.ts +1 -0
- package/lib/components/commonComponents/Slider/Input/index.style.js +22 -0
- package/lib/components/commonComponents/Slider/demo/demo4.d.ts +3 -0
- package/lib/components/commonComponents/Slider/demo/demo4.js +33 -0
- package/lib/components/commonComponents/Slider/demo/demo5.d.ts +3 -0
- package/lib/components/commonComponents/Slider/demo/demo5.js +34 -0
- package/lib/components/commonComponents/Slider/index.d.ts +2 -2
- package/lib/components/commonComponents/Slider/index.js +11 -7
- package/lib/components/commonComponents/Slider/index.style.d.ts +1 -7
- package/lib/components/commonComponents/Slider/index.style.js +10 -22
- package/lib/components/commonComponents/SliderSelector/index.js +38 -35
- package/lib/components/commonComponents/SliderSelector/index.style.d.ts +1 -38
- package/lib/components/commonComponents/SliderSelector/index.style.js +20 -37
- package/lib/components/commonComponents/Spinner/index.d.ts +4 -4
- package/lib/components/commonComponents/Spinner/index.js +28 -24
- package/lib/components/commonComponents/Spinner/index.style.d.ts +1 -79
- package/lib/components/commonComponents/Spinner/index.style.js +30 -61
- package/lib/components/commonComponents/Statistic/index.js +7 -3
- package/lib/components/commonComponents/Statistic/index.style.d.ts +1 -15
- package/lib/components/commonComponents/Statistic/index.style.js +14 -26
- package/lib/components/commonComponents/Steps/index.js +10 -6
- package/lib/components/commonComponents/Steps/index.style.d.ts +1 -162
- package/lib/components/commonComponents/Steps/index.style.js +68 -78
- package/lib/components/commonComponents/Switch/index.js +13 -10
- package/lib/components/commonComponents/Switch/index.style.d.ts +1 -25
- package/lib/components/commonComponents/Switch/index.style.js +22 -33
- package/lib/components/commonComponents/Table/index.js +10 -6
- package/lib/components/commonComponents/Table/index.style.d.ts +1 -52
- package/lib/components/commonComponents/Table/index.style.js +18 -32
- package/lib/components/commonComponents/Tabs/index.js +35 -29
- package/lib/components/commonComponents/Tabs/index.style.d.ts +1 -55
- package/lib/components/commonComponents/Tabs/index.style.js +38 -44
- package/lib/components/commonComponents/Tag/index.js +13 -9
- package/lib/components/commonComponents/Tag/index.style.d.ts +1 -56
- package/lib/components/commonComponents/Tag/index.style.js +54 -58
- package/lib/components/commonComponents/TimePicker/index.js +36 -30
- package/lib/components/commonComponents/TimePicker/index.style.d.ts +1 -71
- package/lib/components/commonComponents/TimePicker/index.style.js +54 -50
- package/lib/components/commonComponents/Tooltip/index.js +14 -10
- package/lib/components/commonComponents/Tooltip/index.style.d.ts +1 -24
- package/lib/components/commonComponents/Tooltip/index.style.js +26 -32
- package/lib/components/commonComponents/Upload/index.js +15 -9
- package/lib/components/commonComponents/Upload/index.style.d.ts +1 -125
- package/lib/components/commonComponents/Upload/index.style.js +80 -90
- package/lib/index.d.ts +3 -3
- package/lib/index.js +2 -2
- package/lib/libs/env/index.js +1 -1
- package/lib/libs/newCreateStyle/index.d.ts +7 -0
- package/lib/libs/newCreateStyle/index.js +26 -0
- package/llms/index.llms.txt +43 -43
- package/package.json +3 -3
- package/lib/components/commonComponents/Popconfirm/demo/demo.js +0 -155
- package/lib/components/commonComponents/Slider/slider.input.js +0 -76
- package/lib/components/commonComponents/spark.style.d.ts +0 -45
- package/lib/components/commonComponents/spark.style.js +0 -62
- /package/lib/components/commonComponents/Popconfirm/demo/{demo.d.ts → demo1.d.ts} +0 -0
|
@@ -1,90 +1,80 @@
|
|
|
1
|
-
var
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
color: "var(--".concat(antPrefix, "-color-text-tertiary)")
|
|
82
|
-
})))));
|
|
83
|
-
}
|
|
84
|
-
var useIndexStyle = createStyle(function (_ref2) {
|
|
85
|
-
var css = _ref2.css,
|
|
86
|
-
params = _objectWithoutProperties(_ref2, _excluded);
|
|
87
|
-
var result = css(getIndexStyleData(params));
|
|
88
|
-
return result;
|
|
89
|
-
});
|
|
90
|
-
export default useIndexStyle;
|
|
1
|
+
var _templateObject;
|
|
2
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
3
|
+
import createGlobalStyle from "../../../libs/newCreateStyle";
|
|
4
|
+
export var useStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-upload.", "-upload-wrapper {\n .", "-upload.", "-upload-select {\n border: var(--", "-line-width) dashed var(--", "-color-border-secondary);\n background-color: var(--", "-color-fill-tertiary);\n }\n \n .", "-upload-drag {\n border: var(--", "-line-width) dashed var(--", "-color-border-secondary);\n background-color: var(--", "-color-fill-tertiary);\n \n .", "-upload-btn {\n padding: 32px 48px;\n }\n \n .", "-upload-drag-container {\n text-align: center;\n \n .", "-upload-icon {\n display: inline-grid;\n place-items: center;\n width: 40px;\n height: 40px;\n border-radius: 8px;\n background: var(--", "-color-bg-base);\n }\n \n .", "-upload-text {\n margin-top: 8px;\n margin-bottom: 0;\n color: var(--", "-color-text);\n font-weight: 500;\n line-height: 24px;\n }\n \n .", "-upload-hint {\n margin-top: 4px;\n margin-bottom: 0;\n color: var(--", "-color-text-secondary);\n line-height: 20px;\n }\n }\n }\n}\n\n.", "-upload.", "-custom-uploaded {\n .", "-upload-list {\n &:first-child {\n margin-top: 0;\n width: 242px;\n }\n \n .", "-upload-list-item {\n display: flex;\n align-items: center;\n height: 60px;\n padding: 9px 12px;\n margin-top: 20px;\n border-color: var(--", "-color-border-secondary);\n border-style: solid;\n \n .", "-upload-list-item-thumbnail {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 40px;\n height: 40px;\n }\n \n .", "-upload-list-item-name {\n width: 150px;\n color: var(--", "-color-text);\n line-height: 24px;\n font-weight: 500;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n \n .", "-upload-list-item-actions {\n .", "-btn {\n width: 32px;\n height: 32px;\n color: var(--", "-color-text-tertiary);\n }\n }\n \n .", "-upload-list-item-progress {\n bottom: 6px;\n padding-left: 48px;\n \n .", "-progress {\n display: flex;\n align-items: center;\n height: 20px;\n }\n }\n \n &.", "-upload-list-item-error {\n border-color: var(--", "-color-border-secondary);\n \n .", "-upload-list-item-name {\n color: var(--", "-color-error);\n }\n \n .", "-btn-icon .anticon {\n color: var(--", "-color-text-tertiary);\n }\n }\n }\n }\n}\n"])), function (p) {
|
|
5
|
+
return p.sparkPrefix;
|
|
6
|
+
}, function (p) {
|
|
7
|
+
return p.antPrefix;
|
|
8
|
+
}, function (p) {
|
|
9
|
+
return p.antPrefix;
|
|
10
|
+
}, function (p) {
|
|
11
|
+
return p.antPrefix;
|
|
12
|
+
}, function (p) {
|
|
13
|
+
return p.antPrefix;
|
|
14
|
+
}, function (p) {
|
|
15
|
+
return p.antPrefix;
|
|
16
|
+
}, function (p) {
|
|
17
|
+
return p.antPrefix;
|
|
18
|
+
}, function (p) {
|
|
19
|
+
return p.antPrefix;
|
|
20
|
+
}, function (p) {
|
|
21
|
+
return p.antPrefix;
|
|
22
|
+
}, function (p) {
|
|
23
|
+
return p.antPrefix;
|
|
24
|
+
}, function (p) {
|
|
25
|
+
return p.antPrefix;
|
|
26
|
+
}, function (p) {
|
|
27
|
+
return p.antPrefix;
|
|
28
|
+
}, function (p) {
|
|
29
|
+
return p.antPrefix;
|
|
30
|
+
}, function (p) {
|
|
31
|
+
return p.antPrefix;
|
|
32
|
+
}, function (p) {
|
|
33
|
+
return p.antPrefix;
|
|
34
|
+
}, function (p) {
|
|
35
|
+
return p.antPrefix;
|
|
36
|
+
}, function (p) {
|
|
37
|
+
return p.antPrefix;
|
|
38
|
+
}, function (p) {
|
|
39
|
+
return p.antPrefix;
|
|
40
|
+
}, function (p) {
|
|
41
|
+
return p.antPrefix;
|
|
42
|
+
}, function (p) {
|
|
43
|
+
return p.sparkPrefix;
|
|
44
|
+
}, function (p) {
|
|
45
|
+
return p.sparkPrefix;
|
|
46
|
+
}, function (p) {
|
|
47
|
+
return p.antPrefix;
|
|
48
|
+
}, function (p) {
|
|
49
|
+
return p.antPrefix;
|
|
50
|
+
}, function (p) {
|
|
51
|
+
return p.antPrefix;
|
|
52
|
+
}, function (p) {
|
|
53
|
+
return p.antPrefix;
|
|
54
|
+
}, function (p) {
|
|
55
|
+
return p.antPrefix;
|
|
56
|
+
}, function (p) {
|
|
57
|
+
return p.antPrefix;
|
|
58
|
+
}, function (p) {
|
|
59
|
+
return p.antPrefix;
|
|
60
|
+
}, function (p) {
|
|
61
|
+
return p.antPrefix;
|
|
62
|
+
}, function (p) {
|
|
63
|
+
return p.antPrefix;
|
|
64
|
+
}, function (p) {
|
|
65
|
+
return p.antPrefix;
|
|
66
|
+
}, function (p) {
|
|
67
|
+
return p.antPrefix;
|
|
68
|
+
}, function (p) {
|
|
69
|
+
return p.antPrefix;
|
|
70
|
+
}, function (p) {
|
|
71
|
+
return p.antPrefix;
|
|
72
|
+
}, function (p) {
|
|
73
|
+
return p.antPrefix;
|
|
74
|
+
}, function (p) {
|
|
75
|
+
return p.antPrefix;
|
|
76
|
+
}, function (p) {
|
|
77
|
+
return p.antPrefix;
|
|
78
|
+
}, function (p) {
|
|
79
|
+
return p.antPrefix;
|
|
80
|
+
});
|
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import generateThemeByToken from './antd/themes/generateThemeByToken';
|
|
|
2
2
|
/**
|
|
3
3
|
* 通用组件
|
|
4
4
|
*/
|
|
5
|
-
export { Alert, Badge, InputNumber, Progress, Radio, Select, Skeleton, type AlertProps, type BadgeProps, type CollapseProps, type DescriptionsProps, type InputNumberProps, type NotificationArgsProps, type PopoverProps, type ProgressProps, type RadioProps, type SelectProps, type SkeletonProps, type StatisticProps, type StepsProps, type TableProps, } from 'antd';
|
|
5
|
+
export { Alert, Badge, FloatButton, InputNumber, Progress, Radio, Select, Skeleton, type AlertProps, type BadgeProps, type CollapseProps, type DescriptionsProps, type FloatButtonProps, type InputNumberProps, type NotificationArgsProps, type PopoverProps, type ProgressProps, type RadioProps, type SelectProps, type SkeletonProps, type StatisticProps, type StepsProps, type TableProps, } from 'antd';
|
|
6
6
|
export { default as AlertDialog, type AlertDialogProps, } from './components/commonComponents/AlertDialog';
|
|
7
7
|
export { default as Anchor, type AnchorProps, } from './components/commonComponents/Anchor';
|
|
8
8
|
export { default as Avatar } from './components/commonComponents/Avatar';
|
|
@@ -30,13 +30,13 @@ export { default as notification } from './components/commonComponents/Notificat
|
|
|
30
30
|
export { default as Pagination, type SparkPaginationProps as PaginationProps, } from './components/commonComponents/Pagination';
|
|
31
31
|
export { default as Popconfirm, type SparkPopconfirmProps as PopconfirmProps, } from './components/commonComponents/Popconfirm';
|
|
32
32
|
export { default as Popover } from './components/commonComponents/Popover';
|
|
33
|
-
export { default as PromptsEditor, type PromptsEditorProps, } from './components/commonComponents/PromptsEditor';
|
|
33
|
+
export { default as MdEditor, default as PromptsEditor, type PromptsEditorProps as MdEditorProps, type PromptsEditorProps, } from './components/commonComponents/PromptsEditor';
|
|
34
34
|
export { default as RadioButton, type SparkRadioButtonProps as RadioButtonProps, } from './components/commonComponents/RadioButton';
|
|
35
35
|
export { default as Result, type SparkResultProps, } from './components/commonComponents/Result';
|
|
36
36
|
export { default as Steps } from './components/commonComponents/Steps';
|
|
37
37
|
export { default as SlateEditor } from './components/commonComponents/SlateEditor';
|
|
38
38
|
export { default as Slider, type SliderInputProps, } from './components/commonComponents/Slider';
|
|
39
|
-
export { default as Spinner, type SparkSpinnerProps, } from './components/commonComponents/Spinner';
|
|
39
|
+
export { default as Spinner, type SparkSpinnerProps, type SparkSpinnerProps as SpinnerProps, } from './components/commonComponents/Spinner';
|
|
40
40
|
export { default as Descriptions } from './components/commonComponents/Descriptions';
|
|
41
41
|
export { default as SliderSelector } from './components/commonComponents/SliderSelector';
|
|
42
42
|
export { default as Statistic } from './components/commonComponents/Statistic';
|
package/lib/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import generateThemeByToken from "./antd/themes/generateThemeByToken";
|
|
|
7
7
|
/**
|
|
8
8
|
* 通用组件
|
|
9
9
|
*/
|
|
10
|
-
export { Alert, Badge, InputNumber, Progress, Radio, Select, Skeleton } from 'antd';
|
|
10
|
+
export { Alert, Badge, FloatButton, InputNumber, Progress, Radio, Select, Skeleton } from 'antd';
|
|
11
11
|
export { default as AlertDialog } from "./components/commonComponents/AlertDialog";
|
|
12
12
|
export { default as Anchor } from "./components/commonComponents/Anchor";
|
|
13
13
|
export { default as Avatar } from "./components/commonComponents/Avatar";
|
|
@@ -35,7 +35,7 @@ export { default as notification } from "./components/commonComponents/Notificat
|
|
|
35
35
|
export { default as Pagination } from "./components/commonComponents/Pagination";
|
|
36
36
|
export { default as Popconfirm } from "./components/commonComponents/Popconfirm";
|
|
37
37
|
export { default as Popover } from "./components/commonComponents/Popover";
|
|
38
|
-
export { default as PromptsEditor } from "./components/commonComponents/PromptsEditor";
|
|
38
|
+
export { default as MdEditor, default as PromptsEditor } from "./components/commonComponents/PromptsEditor";
|
|
39
39
|
export { default as RadioButton } from "./components/commonComponents/RadioButton";
|
|
40
40
|
export { default as Result } from "./components/commonComponents/Result";
|
|
41
41
|
export { default as Steps } from "./components/commonComponents/Steps";
|
package/lib/libs/env/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
export function getLang() {
|
|
7
7
|
// 优先级:cookie > 环境变量 > 默认值
|
|
8
|
-
if (location.host.includes('console.aliyun.com')) {
|
|
8
|
+
if (location.host.includes('bailian.console.aliyun.com')) {
|
|
9
9
|
return 'zh-CN';
|
|
10
10
|
}
|
|
11
11
|
if (Cookies.get('aliyun_lang')) {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CSSStyle } from 'antd-style';
|
|
2
|
+
import { GlobalTheme } from 'antd-style/lib/factories/createGlobalStyle';
|
|
3
|
+
export default function createGlobalStyle(...styles: CSSStyle<GlobalTheme & {
|
|
4
|
+
sparkPrefix: string;
|
|
5
|
+
antPrefix: string;
|
|
6
|
+
blPrefix: string;
|
|
7
|
+
}>): () => () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useCommonConfig } from "../../config";
|
|
2
|
+
import { createGlobalStyle as originCreateGlobalStyle } from 'antd-style';
|
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
+
export default function createGlobalStyle() {
|
|
5
|
+
for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
6
|
+
styles[_key] = arguments[_key];
|
|
7
|
+
}
|
|
8
|
+
return function () {
|
|
9
|
+
var _useCommonConfig = useCommonConfig(),
|
|
10
|
+
sparkPrefix = _useCommonConfig.sparkPrefix,
|
|
11
|
+
antPrefix = _useCommonConfig.antPrefix,
|
|
12
|
+
blPrefix = _useCommonConfig.blPrefix;
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
var Style = originCreateGlobalStyle.apply(void 0, styles);
|
|
15
|
+
return function () {
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
return /*#__PURE__*/_jsx(Style
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
, {
|
|
20
|
+
sparkPrefix: sparkPrefix,
|
|
21
|
+
antPrefix: antPrefix,
|
|
22
|
+
blPrefix: blPrefix
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}
|
package/llms/index.llms.txt
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
# 索引
|
|
2
2
|
|
|
3
|
-
- [](components/commonComponents/
|
|
4
|
-
- [](components/commonComponents/
|
|
5
|
-
- [](components/commonComponents/
|
|
6
|
-
- [](components/commonComponents/
|
|
7
|
-
- [](components/commonComponents/
|
|
8
|
-
- [](components/commonComponents/
|
|
9
|
-
- [](components/commonComponents/
|
|
10
|
-
- [](components/commonComponents/
|
|
11
|
-
- [](components/commonComponents/
|
|
12
|
-
- [](components/commonComponents/
|
|
13
|
-
- [](components/commonComponents/
|
|
14
|
-
- [](components/commonComponents/
|
|
15
|
-
- [](components/commonComponents/
|
|
16
|
-
- [](components/commonComponents/
|
|
17
|
-
- [](components/commonComponents/
|
|
18
|
-
- [](components/commonComponents/
|
|
19
|
-
- [](components/commonComponents/
|
|
20
|
-
- [](components/commonComponents/
|
|
21
|
-
- [](components/commonComponents/
|
|
22
|
-
- [](components/commonComponents/
|
|
23
|
-
- [](components/commonComponents/
|
|
24
|
-
- [](components/commonComponents/
|
|
25
|
-
- [](components/commonComponents/
|
|
26
|
-
- [](components/commonComponents/
|
|
27
|
-
- [](components/commonComponents/
|
|
28
|
-
- [](components/commonComponents/
|
|
29
|
-
- [](components/commonComponents/
|
|
30
|
-
- [](components/commonComponents/
|
|
31
|
-
- [](components/commonComponents/
|
|
32
|
-
- [](components/commonComponents/
|
|
33
|
-
- [](components/commonComponents/
|
|
34
|
-
- [](components/commonComponents/
|
|
35
|
-
- [](components/commonComponents/
|
|
36
|
-
- [](components/commonComponents/
|
|
37
|
-
- [](components/commonComponents/
|
|
38
|
-
- [](components/commonComponents/
|
|
39
|
-
- [](components/commonComponents/
|
|
40
|
-
- [](components/commonComponents/
|
|
41
|
-
- [](components/commonComponents/
|
|
42
|
-
- [](components/commonComponents/
|
|
43
|
-
- [](components/commonComponents/
|
|
44
|
-
- [](components/commonComponents/
|
|
45
|
-
- [](components/commonComponents/
|
|
3
|
+
- [Alert](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Alert/index.zh-CN.llms.txt)
|
|
4
|
+
- [Anchor](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Anchor/index.zh-CN.llms.txt)
|
|
5
|
+
- [Avatar](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Avatar/index.zh-CN.llms.txt)
|
|
6
|
+
- [Breadcrumb](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Breadcrumb/index.zh-CN.llms.txt)
|
|
7
|
+
- [Button](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Button/index.zh-CN.llms.txt)
|
|
8
|
+
- [Card](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Card/index.zh-CN.llms.txt)
|
|
9
|
+
- [Checkbox](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Checkbox/index.zh-CN.llms.txt)
|
|
10
|
+
- [CodeBlock](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
|
|
11
|
+
- [Collapse](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Collapse/index.zh-CN.llms.txt)
|
|
12
|
+
- [CollapsePanel](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
|
|
13
|
+
- [DatePicker](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/DatePicker/index.zh-CN.llms.txt)
|
|
14
|
+
- [Descriptions](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Descriptions/index.zh-CN.llms.txt)
|
|
15
|
+
- [Drawer](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Drawer/index.zh-CN.llms.txt)
|
|
16
|
+
- [Dropdown](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Dropdown/index.zh-CN.llms.txt)
|
|
17
|
+
- [Empty](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Empty/index.zh-CN.llms.txt)
|
|
18
|
+
- [FloatButton](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/FloatButton/index.zh-CN.llms.txt)
|
|
19
|
+
- [Form](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Form/index.zh-CN.llms.txt)
|
|
20
|
+
- [IconButton](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/IconButton/index.zh-CN.llms.txt)
|
|
21
|
+
- [Image](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Image/index.zh-CN.llms.txt)
|
|
22
|
+
- [Input](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Input/index.zh-CN.llms.txt)
|
|
23
|
+
- [InputNumber](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/InputNumber/index.zh-CN.llms.txt)
|
|
24
|
+
- [Message](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Message/index.zh-CN.llms.txt)
|
|
25
|
+
- [Modal](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Modal/index.zh-CN.llms.txt)
|
|
26
|
+
- [Notification](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Notification/index.zh-CN.llms.txt)
|
|
27
|
+
- [Pagination](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Pagination/index.zh-CN.llms.txt)
|
|
28
|
+
- [Popover](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Popover/index.zh-CN.llms.txt)
|
|
29
|
+
- [Progress](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Progress/index.zh-CN.llms.txt)
|
|
30
|
+
- [Radio](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Radio/index.zh-CN.llms.txt)
|
|
31
|
+
- [RadioButton](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/RadioButton/index.zh-CN.llms.txt)
|
|
32
|
+
- [Result](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Result/index.zh-CN.llms.txt)
|
|
33
|
+
- [Select](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Select/index.zh-CN.llms.txt)
|
|
34
|
+
- [Skeleton](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Skeleton/index.zh-CN.llms.txt)
|
|
35
|
+
- [Slider](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Slider/index.zh-CN.llms.txt)
|
|
36
|
+
- [Spinner](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Spinner/index.zh-CN.llms.txt)
|
|
37
|
+
- [Statistic](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Statistic/index.zh-CN.llms.txt)
|
|
38
|
+
- [Steps](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Steps/index.zh-CN.llms.txt)
|
|
39
|
+
- [Switch](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Switch/index.zh-CN.llms.txt)
|
|
40
|
+
- [Table](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Table/index.zh-CN.llms.txt)
|
|
41
|
+
- [Tabs](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Tabs/index.zh-CN.llms.txt)
|
|
42
|
+
- [Tag](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Tag/index.zh-CN.llms.txt)
|
|
43
|
+
- [TimePicker](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/TimePicker/index.zh-CN.llms.txt)
|
|
44
|
+
- [Tooltip](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Tooltip/index.zh-CN.llms.txt)
|
|
45
|
+
- [Upload](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.6.4/docs-dist/llms/components/commonComponents/Upload/index.zh-CN.llms.txt)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentscope-ai/design",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Basic components for the best experience of LLM",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"ci:install-deps": "tnpm i pnpm@9 -D && pnpm --version && pnpm install",
|
|
25
25
|
"copy-antd-docs": "node copy-antd-docs.js",
|
|
26
26
|
"dev": "dumi dev",
|
|
27
|
-
"docs:build": "dumi build",
|
|
27
|
+
"docs:build": "dumi build && node scripts/build-index-llms-txt.js",
|
|
28
28
|
"docs:preview": "dumi preview",
|
|
29
29
|
"docs:syncYuque": "node syncYuque.js",
|
|
30
30
|
"docsMD:build": "node docMD.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@agentscope-ai/icons": "^1.0.
|
|
64
|
+
"@agentscope-ai/icons": "^1.0.35",
|
|
65
65
|
"@codemirror/autocomplete": "^6.18.7",
|
|
66
66
|
"@codemirror/lang-cpp": "^6.0.2",
|
|
67
67
|
"@codemirror/lang-css": "^6.3.1",
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { Button, ConfigProvider, Popconfirm } from "../../../..";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
var text = 'Are you sure to delete this task?';
|
|
6
|
-
var description = 'Delete the task';
|
|
7
|
-
var ButtonWidth = 80;
|
|
8
|
-
var App = function App() {
|
|
9
|
-
return /*#__PURE__*/_jsx(ConfigProvider, {
|
|
10
|
-
button: {
|
|
11
|
-
style: {
|
|
12
|
-
width: ButtonWidth,
|
|
13
|
-
margin: 4
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
children: /*#__PURE__*/_jsxs("div", {
|
|
17
|
-
className: "demo",
|
|
18
|
-
children: [/*#__PURE__*/_jsxs("div", {
|
|
19
|
-
style: {
|
|
20
|
-
marginInlineStart: ButtonWidth,
|
|
21
|
-
whiteSpace: 'nowrap'
|
|
22
|
-
},
|
|
23
|
-
children: [/*#__PURE__*/_jsx(Popconfirm, {
|
|
24
|
-
placement: "topLeft",
|
|
25
|
-
title: text,
|
|
26
|
-
description: description,
|
|
27
|
-
okText: "Yes",
|
|
28
|
-
cancelText: "No",
|
|
29
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
30
|
-
children: "TL"
|
|
31
|
-
})
|
|
32
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
33
|
-
placement: "top",
|
|
34
|
-
title: text,
|
|
35
|
-
description: description,
|
|
36
|
-
okText: "Yes",
|
|
37
|
-
cancelText: "No",
|
|
38
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
39
|
-
children: "Top"
|
|
40
|
-
})
|
|
41
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
42
|
-
placement: "topRight",
|
|
43
|
-
title: text,
|
|
44
|
-
description: description,
|
|
45
|
-
okText: "Yes",
|
|
46
|
-
cancelText: "No",
|
|
47
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
48
|
-
children: "TR"
|
|
49
|
-
})
|
|
50
|
-
})]
|
|
51
|
-
}), /*#__PURE__*/_jsxs("div", {
|
|
52
|
-
style: {
|
|
53
|
-
width: ButtonWidth,
|
|
54
|
-
float: 'inline-start'
|
|
55
|
-
},
|
|
56
|
-
children: [/*#__PURE__*/_jsx(Popconfirm, {
|
|
57
|
-
placement: "leftTop",
|
|
58
|
-
title: text,
|
|
59
|
-
description: description,
|
|
60
|
-
okText: "Yes",
|
|
61
|
-
cancelText: "No",
|
|
62
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
63
|
-
children: "LT"
|
|
64
|
-
})
|
|
65
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
66
|
-
placement: "left",
|
|
67
|
-
title: text,
|
|
68
|
-
description: description,
|
|
69
|
-
okText: "Yes",
|
|
70
|
-
cancelText: "No",
|
|
71
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
72
|
-
children: "Left"
|
|
73
|
-
})
|
|
74
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
75
|
-
placement: "leftBottom",
|
|
76
|
-
title: text,
|
|
77
|
-
description: description,
|
|
78
|
-
okText: "Yes",
|
|
79
|
-
cancelText: "No",
|
|
80
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
81
|
-
children: "LB"
|
|
82
|
-
})
|
|
83
|
-
})]
|
|
84
|
-
}), /*#__PURE__*/_jsxs("div", {
|
|
85
|
-
style: {
|
|
86
|
-
width: ButtonWidth,
|
|
87
|
-
marginInlineStart: ButtonWidth * 4 + 24
|
|
88
|
-
},
|
|
89
|
-
children: [/*#__PURE__*/_jsx(Popconfirm, {
|
|
90
|
-
placement: "rightTop",
|
|
91
|
-
title: text,
|
|
92
|
-
description: description,
|
|
93
|
-
okText: "Yes",
|
|
94
|
-
cancelText: "No",
|
|
95
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
96
|
-
children: "RT"
|
|
97
|
-
})
|
|
98
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
99
|
-
placement: "right",
|
|
100
|
-
title: text,
|
|
101
|
-
description: description,
|
|
102
|
-
okText: "Yes",
|
|
103
|
-
cancelText: "No",
|
|
104
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
105
|
-
children: "Right"
|
|
106
|
-
})
|
|
107
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
108
|
-
placement: "rightBottom",
|
|
109
|
-
title: text,
|
|
110
|
-
description: description,
|
|
111
|
-
okText: "Yes",
|
|
112
|
-
cancelText: "No",
|
|
113
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
114
|
-
children: "RB"
|
|
115
|
-
})
|
|
116
|
-
})]
|
|
117
|
-
}), /*#__PURE__*/_jsxs("div", {
|
|
118
|
-
style: {
|
|
119
|
-
marginInlineStart: ButtonWidth,
|
|
120
|
-
clear: 'both',
|
|
121
|
-
whiteSpace: 'nowrap'
|
|
122
|
-
},
|
|
123
|
-
children: [/*#__PURE__*/_jsx(Popconfirm, {
|
|
124
|
-
placement: "bottomLeft",
|
|
125
|
-
title: text,
|
|
126
|
-
description: description,
|
|
127
|
-
okText: "Yes",
|
|
128
|
-
cancelText: "No",
|
|
129
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
130
|
-
children: "BL"
|
|
131
|
-
})
|
|
132
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
133
|
-
placement: "bottom",
|
|
134
|
-
title: text,
|
|
135
|
-
description: description,
|
|
136
|
-
okText: "Yes",
|
|
137
|
-
cancelText: "No",
|
|
138
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
139
|
-
children: "Bottom"
|
|
140
|
-
})
|
|
141
|
-
}), /*#__PURE__*/_jsx(Popconfirm, {
|
|
142
|
-
placement: "bottomRight",
|
|
143
|
-
title: text,
|
|
144
|
-
description: description,
|
|
145
|
-
okText: "Yes",
|
|
146
|
-
cancelText: "No",
|
|
147
|
-
children: /*#__PURE__*/_jsx(Button, {
|
|
148
|
-
children: "BR"
|
|
149
|
-
})
|
|
150
|
-
})]
|
|
151
|
-
})]
|
|
152
|
-
})
|
|
153
|
-
});
|
|
154
|
-
};
|
|
155
|
-
export default App;
|