@agentscope-ai/design 1.0.7 → 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.
Files changed (211) hide show
  1. package/lib/antd/styles/alert.style.d.ts +2 -10
  2. package/lib/antd/styles/alert.style.js +11 -12
  3. package/lib/antd/styles/breadcrumb.style.d.ts +2 -18
  4. package/lib/antd/styles/breadcrumb.style.js +13 -15
  5. package/lib/antd/styles/button.style.d.ts +2 -80
  6. package/lib/antd/styles/button.style.js +63 -47
  7. package/lib/antd/styles/dropdown.style.d.ts +2 -15
  8. package/lib/antd/styles/dropdown.style.js +27 -16
  9. package/lib/antd/styles/floatButton.style.d.ts +2 -8
  10. package/lib/antd/styles/floatButton.style.js +13 -12
  11. package/lib/antd/styles/index.style.d.ts +4 -18
  12. package/lib/antd/styles/index.style.js +52 -53
  13. package/lib/antd/styles/inputNumber.style.d.ts +2 -18
  14. package/lib/antd/styles/inputNumber.style.js +23 -17
  15. package/lib/antd/styles/message.style.d.ts +2 -5
  16. package/lib/antd/styles/message.style.js +9 -10
  17. package/lib/antd/styles/notification.style.d.ts +2 -46
  18. package/lib/antd/styles/notification.style.js +31 -29
  19. package/lib/antd/styles/popover.style.d.ts +2 -13
  20. package/lib/antd/styles/popover.style.js +15 -14
  21. package/lib/antd/styles/radio.style.d.ts +2 -24
  22. package/lib/antd/styles/radio.style.js +29 -18
  23. package/lib/antd/styles/segment.style.d.ts +2 -7
  24. package/lib/antd/styles/segment.style.js +11 -12
  25. package/lib/antd/styles/select.style.d.ts +2 -31
  26. package/lib/antd/styles/select.style.js +51 -28
  27. package/lib/antd/styles/slider.style.d.ts +2 -22
  28. package/lib/antd/styles/slider.style.js +19 -21
  29. package/lib/antd/styles/table.style.d.ts +2 -5
  30. package/lib/antd/styles/table.style.js +7 -10
  31. package/lib/antd/styles/tooltip.style.d.ts +2 -8
  32. package/lib/antd/styles/tooltip.style.js +13 -11
  33. package/lib/antd/themes/_readme.txt +1 -0
  34. package/lib/antd/themes/bailianTheme.json +1 -1
  35. package/lib/antd/themes/generateThemeByToken.d.ts +1 -1
  36. package/lib/antd/themes/generateThemeByToken.js +1 -1
  37. package/lib/components/commonComponents/AlertDialog/demo/demo1.js +13 -79
  38. package/lib/components/commonComponents/AlertDialog/demo/demo2.js +44 -64
  39. package/lib/components/commonComponents/AlertDialog/index.d.ts +14 -1
  40. package/lib/components/commonComponents/AlertDialog/index.js +25 -17
  41. package/lib/components/commonComponents/AlertDialog/index.style.d.ts +1 -17
  42. package/lib/components/commonComponents/AlertDialog/index.style.js +16 -30
  43. package/lib/components/commonComponents/Anchor/demo/demo1.d.ts +0 -4
  44. package/lib/components/commonComponents/Anchor/demo/demo1.js +3 -4
  45. package/lib/components/commonComponents/Anchor/demo/demo2.d.ts +0 -4
  46. package/lib/components/commonComponents/Anchor/demo/demo2.js +3 -5
  47. package/lib/components/commonComponents/Anchor/index.js +7 -3
  48. package/lib/components/commonComponents/Anchor/index.style.d.ts +1 -14
  49. package/lib/components/commonComponents/Anchor/index.style.js +18 -23
  50. package/lib/components/commonComponents/Avatar/index.js +11 -7
  51. package/lib/components/commonComponents/Avatar/index.style.d.ts +1 -7
  52. package/lib/components/commonComponents/Avatar/index.style.js +6 -21
  53. package/lib/components/commonComponents/Breadcrumb/index.js +10 -7
  54. package/lib/components/commonComponents/Breadcrumb/index.style.d.ts +1 -107
  55. package/lib/components/commonComponents/Breadcrumb/index.style.js +32 -60
  56. package/lib/components/commonComponents/Button/index.js +27 -5
  57. package/lib/components/commonComponents/Card/index.js +23 -20
  58. package/lib/components/commonComponents/Card/index.style.d.ts +1 -71
  59. package/lib/components/commonComponents/Card/index.style.js +24 -46
  60. package/lib/components/commonComponents/Checkbox/index.js +13 -10
  61. package/lib/components/commonComponents/Checkbox/index.style.d.ts +1 -34
  62. package/lib/components/commonComponents/Checkbox/index.style.js +50 -38
  63. package/lib/components/commonComponents/CodeBlock/index.js +16 -13
  64. package/lib/components/commonComponents/CodeBlock/index.style.d.ts +1 -354
  65. package/lib/components/commonComponents/CodeBlock/index.style.js +26 -72
  66. package/lib/components/commonComponents/Collapse/index.js +7 -3
  67. package/lib/components/commonComponents/Collapse/index.style.d.ts +1 -57
  68. package/lib/components/commonComponents/Collapse/index.style.js +34 -47
  69. package/lib/components/commonComponents/CollapsePanel/index.d.ts +10 -0
  70. package/lib/components/commonComponents/CollapsePanel/index.js +56 -44
  71. package/lib/components/commonComponents/CollapsePanel/index.style.d.ts +1 -287
  72. package/lib/components/commonComponents/CollapsePanel/index.style.js +42 -97
  73. package/lib/components/commonComponents/ConfigProvider/index.js +11 -8
  74. package/lib/components/commonComponents/DatePicker/index.js +45 -39
  75. package/lib/components/commonComponents/DatePicker/index.style.d.ts +1 -102
  76. package/lib/components/commonComponents/DatePicker/index.style.js +66 -61
  77. package/lib/components/commonComponents/Descriptions/index.js +14 -10
  78. package/lib/components/commonComponents/Descriptions/index.style.d.ts +1 -17
  79. package/lib/components/commonComponents/Descriptions/index.style.js +32 -29
  80. package/lib/components/commonComponents/Drawer/Confirm.d.ts +1 -1
  81. package/lib/components/commonComponents/Drawer/Confirm.js +26 -24
  82. package/lib/components/commonComponents/Drawer/index.js +15 -11
  83. package/lib/components/commonComponents/Drawer/index.style.d.ts +1 -84
  84. package/lib/components/commonComponents/Drawer/index.style.js +44 -54
  85. package/lib/components/commonComponents/Dropdown/index.d.ts +1 -2
  86. package/lib/components/commonComponents/Dropdown/index.js +15 -12
  87. package/lib/components/commonComponents/Dropdown/index.style.d.ts +1 -78
  88. package/lib/components/commonComponents/Dropdown/index.style.js +48 -40
  89. package/lib/components/commonComponents/EllipsisTip/index.js +14 -10
  90. package/lib/components/commonComponents/EllipsisTip/index.style.d.ts +1 -10
  91. package/lib/components/commonComponents/EllipsisTip/index.style.js +6 -24
  92. package/lib/components/commonComponents/Empty/index.js +46 -44
  93. package/lib/components/commonComponents/Empty/index.style.d.ts +1 -113
  94. package/lib/components/commonComponents/Empty/index.style.js +22 -51
  95. package/lib/components/commonComponents/Empty/svg/Illustrate.js +2 -2
  96. package/lib/components/commonComponents/FileIcon/index.js +27 -24
  97. package/lib/components/commonComponents/FileIcon/index.style.d.ts +1 -61
  98. package/lib/components/commonComponents/FileIcon/index.style.js +20 -42
  99. package/lib/components/commonComponents/FloatButton/demo/demo1.js +1 -1
  100. package/lib/components/commonComponents/FloatButton/demo/demo2.js +1 -1
  101. package/lib/components/commonComponents/Form/index.js +6 -5
  102. package/lib/components/commonComponents/Form/index.style.d.ts +1 -53
  103. package/lib/components/commonComponents/Form/index.style.js +26 -38
  104. package/lib/components/commonComponents/HelpIcon/index.js +25 -20
  105. package/lib/components/commonComponents/HelpIcon/index.style.d.ts +1 -16
  106. package/lib/components/commonComponents/HelpIcon/index.style.js +16 -29
  107. package/lib/components/commonComponents/IconButton/index.js +15 -11
  108. package/lib/components/commonComponents/IconButton/index.style.d.ts +1 -11
  109. package/lib/components/commonComponents/IconButton/index.style.js +10 -24
  110. package/lib/components/commonComponents/IconFont/index.d.ts +1 -2
  111. package/lib/components/commonComponents/IconFont/index.js +14 -9
  112. package/lib/components/commonComponents/IconFont/index.style.d.ts +1 -67
  113. package/lib/components/commonComponents/IconFont/index.style.js +14 -44
  114. package/lib/components/commonComponents/Image/index.js +8 -5
  115. package/lib/components/commonComponents/Image/index.style.d.ts +1 -22
  116. package/lib/components/commonComponents/Image/index.style.js +16 -30
  117. package/lib/components/commonComponents/Input/index.js +17 -11
  118. package/lib/components/commonComponents/Input/index.style.d.ts +1 -70
  119. package/lib/components/commonComponents/Input/index.style.js +46 -42
  120. package/lib/components/commonComponents/Modal/index.js +19 -16
  121. package/lib/components/commonComponents/Modal/index.style.d.ts +1 -111
  122. package/lib/components/commonComponents/Modal/index.style.js +54 -72
  123. package/lib/components/commonComponents/Pagination/index.d.ts +1 -1
  124. package/lib/components/commonComponents/Pagination/index.js +36 -31
  125. package/lib/components/commonComponents/Pagination/index.style.d.ts +1 -49
  126. package/lib/components/commonComponents/Pagination/index.style.js +26 -42
  127. package/lib/components/commonComponents/Popconfirm/demo/demo1.js +13 -0
  128. package/lib/components/commonComponents/Popconfirm/demo/demo2.d.ts +3 -0
  129. package/lib/components/commonComponents/Popconfirm/demo/demo2.js +49 -0
  130. package/lib/components/commonComponents/Popconfirm/index.d.ts +9 -2
  131. package/lib/components/commonComponents/Popconfirm/index.js +50 -8
  132. package/lib/components/commonComponents/PromptsEditor/VarRender.d.ts +6 -0
  133. package/lib/components/commonComponents/PromptsEditor/VarRender.js +84 -0
  134. package/lib/components/commonComponents/PromptsEditor/VarSelectInput.d.ts +6 -0
  135. package/lib/components/commonComponents/PromptsEditor/VarSelectInput.js +60 -0
  136. package/lib/components/commonComponents/PromptsEditor/demo/basic.d.ts +1 -0
  137. package/lib/components/commonComponents/PromptsEditor/demo/basic.js +30 -0
  138. package/lib/components/commonComponents/PromptsEditor/index.d.ts +42 -0
  139. package/lib/components/commonComponents/PromptsEditor/index.js +134 -0
  140. package/lib/components/commonComponents/RadioButton/index.js +9 -10
  141. package/lib/components/commonComponents/RadioButton/index.style.d.ts +1 -72
  142. package/lib/components/commonComponents/RadioButton/index.style.js +52 -63
  143. package/lib/components/commonComponents/Result/index.style.d.ts +1 -3
  144. package/lib/components/commonComponents/Result/index.style.js +4 -16
  145. package/lib/components/commonComponents/Select/demo/demo2.js +0 -1
  146. package/lib/components/commonComponents/SlateEditor/elements/Var.js +11 -8
  147. package/lib/components/commonComponents/SlateEditor/elements/index.style.d.ts +1 -14
  148. package/lib/components/commonComponents/SlateEditor/elements/index.style.js +4 -21
  149. package/lib/components/commonComponents/SlateEditor/index.js +34 -31
  150. package/lib/components/commonComponents/SlateEditor/index.style.d.ts +1 -28
  151. package/lib/components/commonComponents/SlateEditor/index.style.js +4 -36
  152. package/lib/components/commonComponents/Slider/{slider.input.d.ts → Input/index.d.ts} +1 -1
  153. package/lib/components/commonComponents/Slider/Input/index.js +91 -0
  154. package/lib/components/commonComponents/Slider/Input/index.style.d.ts +1 -0
  155. package/lib/components/commonComponents/Slider/Input/index.style.js +22 -0
  156. package/lib/components/commonComponents/Slider/demo/demo4.d.ts +3 -0
  157. package/lib/components/commonComponents/Slider/demo/demo4.js +33 -0
  158. package/lib/components/commonComponents/Slider/demo/demo5.d.ts +3 -0
  159. package/lib/components/commonComponents/Slider/demo/demo5.js +34 -0
  160. package/lib/components/commonComponents/Slider/index.d.ts +2 -2
  161. package/lib/components/commonComponents/Slider/index.js +11 -7
  162. package/lib/components/commonComponents/Slider/index.style.d.ts +1 -7
  163. package/lib/components/commonComponents/Slider/index.style.js +10 -22
  164. package/lib/components/commonComponents/SliderSelector/index.js +38 -35
  165. package/lib/components/commonComponents/SliderSelector/index.style.d.ts +1 -38
  166. package/lib/components/commonComponents/SliderSelector/index.style.js +20 -37
  167. package/lib/components/commonComponents/Spinner/index.d.ts +4 -4
  168. package/lib/components/commonComponents/Spinner/index.js +28 -24
  169. package/lib/components/commonComponents/Spinner/index.style.d.ts +1 -79
  170. package/lib/components/commonComponents/Spinner/index.style.js +30 -61
  171. package/lib/components/commonComponents/Statistic/index.js +7 -3
  172. package/lib/components/commonComponents/Statistic/index.style.d.ts +1 -15
  173. package/lib/components/commonComponents/Statistic/index.style.js +14 -26
  174. package/lib/components/commonComponents/Steps/index.js +10 -6
  175. package/lib/components/commonComponents/Steps/index.style.d.ts +1 -162
  176. package/lib/components/commonComponents/Steps/index.style.js +68 -78
  177. package/lib/components/commonComponents/Switch/index.js +13 -10
  178. package/lib/components/commonComponents/Switch/index.style.d.ts +1 -25
  179. package/lib/components/commonComponents/Switch/index.style.js +22 -33
  180. package/lib/components/commonComponents/Table/index.js +10 -6
  181. package/lib/components/commonComponents/Table/index.style.d.ts +1 -52
  182. package/lib/components/commonComponents/Table/index.style.js +18 -32
  183. package/lib/components/commonComponents/Tabs/index.js +35 -29
  184. package/lib/components/commonComponents/Tabs/index.style.d.ts +1 -55
  185. package/lib/components/commonComponents/Tabs/index.style.js +38 -44
  186. package/lib/components/commonComponents/Tag/demo/demo2.js +0 -1
  187. package/lib/components/commonComponents/Tag/demo/demo3.js +0 -2
  188. package/lib/components/commonComponents/Tag/index.js +14 -10
  189. package/lib/components/commonComponents/Tag/index.style.d.ts +1 -56
  190. package/lib/components/commonComponents/Tag/index.style.js +54 -58
  191. package/lib/components/commonComponents/TimePicker/index.js +36 -30
  192. package/lib/components/commonComponents/TimePicker/index.style.d.ts +1 -71
  193. package/lib/components/commonComponents/TimePicker/index.style.js +54 -50
  194. package/lib/components/commonComponents/Tooltip/index.js +14 -13
  195. package/lib/components/commonComponents/Tooltip/index.style.d.ts +1 -24
  196. package/lib/components/commonComponents/Tooltip/index.style.js +26 -32
  197. package/lib/components/commonComponents/Upload/index.js +15 -9
  198. package/lib/components/commonComponents/Upload/index.style.d.ts +1 -125
  199. package/lib/components/commonComponents/Upload/index.style.js +80 -90
  200. package/lib/index.d.ts +3 -2
  201. package/lib/index.js +10 -5
  202. package/lib/libs/env/index.js +1 -1
  203. package/lib/libs/newCreateStyle/index.d.ts +7 -0
  204. package/lib/libs/newCreateStyle/index.js +26 -0
  205. package/llms/index.llms.txt +43 -43
  206. package/package.json +11 -8
  207. package/lib/components/commonComponents/Popconfirm/demo/demo.js +0 -155
  208. package/lib/components/commonComponents/Slider/slider.input.js +0 -76
  209. package/lib/components/commonComponents/spark.style.d.ts +0 -45
  210. package/lib/components/commonComponents/spark.style.js +0 -62
  211. /package/lib/components/commonComponents/Popconfirm/demo/{demo.d.ts → demo1.d.ts} +0 -0
@@ -1,42 +1,46 @@
1
- var _excluded = ["css"];
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import createStyle from "../../../libs/createStyle";
9
- export function getIndexStyleData(params) {
10
- var antPrefix = params.antPrefix;
11
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(antPrefix, "-input-outlined, .").concat(antPrefix, "-input-outlined.").concat(antPrefix, "-input-disabled, .").concat(antPrefix, "-input-outlined[disabled]"), {
12
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
13
- }), ".".concat(antPrefix, "-input-outlined"), {
14
- backgroundColor: "var(--".concat(antPrefix, "-color-bg-base)")
15
- }), ".".concat(antPrefix, "-input"), _defineProperty(_defineProperty({
16
- fontWeight: 400,
17
- borderRadius: '6px'
18
- }, ".".concat(antPrefix, "-input-show-count-suffix, .").concat(antPrefix, "-input-data-count-suffix"), {
19
- color: "var(--".concat(antPrefix, "-color-text-tertiary)")
20
- }), '&::placeholder', {
21
- color: "var(--".concat(antPrefix, "-color-text-tertiary)")
22
- })), ".".concat(antPrefix, "-input-affix-wrapper"), _defineProperty({}, ".".concat(antPrefix, "-input-prefix"), {
23
- marginInlineEnd: '8px',
24
- color: "var(--".concat(antPrefix, "-color-text-tertiary)")
25
- })), ".".concat(antPrefix, "-input-affix-wrapper .").concat(antPrefix, "-input-clear-icon"), {
26
- fontSize: '15px'
27
- }), ".".concat(antPrefix, "-input-round"), {
28
- borderRadius: '999px'
29
- }), ".".concat(antPrefix, "-text-area"), {
30
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
31
- }), ".".concat(antPrefix, "-input-sm"), {
32
- height: '24px',
33
- fontSize: '12px'
34
- });
35
- }
36
- var useIndexStyle = createStyle(function (_ref2) {
37
- var css = _ref2.css,
38
- params = _objectWithoutProperties(_ref2, _excluded);
39
- var result = css(getIndexStyleData(params));
40
- return result;
41
- });
42
- 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.", "-input-outlined,\n.", "-input-outlined.", "-input-disabled,\n.", "-input-outlined[disabled] {\n border-color: var(--", "-color-border-secondary);\n}\n\n.", "-input-outlined {\n background-color: var(--", "-color-bg-base);\n}\n\n.", "-input {\n font-weight: 400;\n border-radius: 6px;\n \n .", "-input-show-count-suffix,\n .", "-input-data-count-suffix {\n color: var(--", "-color-text-tertiary);\n }\n \n &::placeholder {\n color: var(--", "-color-text-tertiary);\n }\n}\n\n/* prefix\u95F4\u8DDD */\n.", "-input-affix-wrapper {\n .", "-input-prefix {\n margin-inline-end: 8px;\n color: var(--", "-color-text-tertiary);\n }\n}\n\n.", "-input-affix-wrapper .", "-input-clear-icon {\n font-size: 15px;\n}\n\n.", "-input-round {\n border-radius: 999px;\n}\n\n.", "-text-area {\n border-color: var(--", "-color-border-secondary);\n}\n\n.", "-input-sm {\n height: 24px;\n font-size: 12px;\n}\n"])), function (p) {
5
+ return p.antPrefix;
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.antPrefix;
44
+ }, function (p) {
45
+ return p.antPrefix;
46
+ });
@@ -11,11 +11,12 @@ import { getCommonConfig } from "../../../config";
11
11
  import { CloseOutlined } from '@agentscope-ai/icons-override-antd';
12
12
  import { Modal } from 'antd';
13
13
  import classNames from 'classnames';
14
- import useIndexStyle from "./index.style";
14
+ import { useStyle } from "./index.style";
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
16
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { Fragment as _Fragment } from "react/jsx-runtime";
17
18
  var SparkModal = function SparkModal(props) {
18
- useIndexStyle();
19
+ var Style = useStyle();
19
20
  var _getCommonConfig = getCommonConfig(),
20
21
  sparkPrefix = _getCommonConfig.sparkPrefix;
21
22
  var _props$showDivider = props.showDivider,
@@ -43,20 +44,22 @@ var SparkModal = function SparkModal(props) {
43
44
  }
44
45
  }) : null;
45
46
  var mergedFooter = props.footer === undefined ? renderFooter : props.footer;
46
- return /*#__PURE__*/_jsx(Modal, _objectSpread(_objectSpread({}, restProps), {}, {
47
- closeIcon: null,
48
- title: /*#__PURE__*/_jsxs("div", {
49
- className: "".concat(sparkPrefix, "-modal-title-wrapper"),
50
- children: [/*#__PURE__*/_jsx("div", {
51
- className: "".concat(sparkPrefix, "-modal-title"),
52
- children: props.title
53
- }), mergedCloseIcon]
54
- }),
55
- wrapClassName: classNames("".concat(sparkPrefix, "-modal"), _defineProperty({}, "".concat(sparkPrefix, "-show-divider"), showDivider), props.wrapClassName, 'animate-in'),
56
- wrapStyle: _objectSpread({}, props.wrapStyle),
57
- footer: mergedFooter,
58
- transitionName: ""
59
- }));
47
+ return /*#__PURE__*/_jsxs(_Fragment, {
48
+ children: [/*#__PURE__*/_jsx(Style, {}), /*#__PURE__*/_jsx(Modal, _objectSpread(_objectSpread({}, restProps), {}, {
49
+ closeIcon: null,
50
+ title: /*#__PURE__*/_jsxs("div", {
51
+ className: "".concat(sparkPrefix, "-modal-title-wrapper"),
52
+ children: [/*#__PURE__*/_jsx("div", {
53
+ className: "".concat(sparkPrefix, "-modal-title"),
54
+ children: props.title
55
+ }), mergedCloseIcon]
56
+ }),
57
+ wrapClassName: classNames("".concat(sparkPrefix, "-modal"), _defineProperty({}, "".concat(sparkPrefix, "-show-divider"), showDivider), props.wrapClassName, 'animate-in'),
58
+ wrapStyle: _objectSpread({}, props.wrapStyle),
59
+ footer: mergedFooter,
60
+ transitionName: ""
61
+ }))]
62
+ });
60
63
  };
61
64
  SparkModal.useModal = Modal.useModal;
62
65
  SparkModal.success = Modal.success;
@@ -1,111 +1 @@
1
- export declare function getIndexStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- minHeight: string;
5
- padding?: undefined;
6
- border?: undefined;
7
- } | {
8
- [x: string]: string | number | {
9
- [x: string]: string | number | {
10
- [x: string]: string | {
11
- [x: string]: string | {
12
- flex: number;
13
- cursor?: undefined;
14
- } | {
15
- cursor: string;
16
- flex?: undefined;
17
- };
18
- display: string;
19
- justifyContent: string;
20
- alignItems: string;
21
- gap: string;
22
- };
23
- lineHeight: string;
24
- };
25
- padding: string;
26
- marginBottom: number;
27
- color?: undefined;
28
- marginTop?: undefined;
29
- width?: undefined;
30
- height?: undefined;
31
- top?: undefined;
32
- right?: undefined;
33
- '&:hover'?: undefined;
34
- } | {
35
- padding: number;
36
- color: string;
37
- marginBottom?: undefined;
38
- marginTop?: undefined;
39
- width?: undefined;
40
- height?: undefined;
41
- top?: undefined;
42
- right?: undefined;
43
- '&:hover'?: undefined;
44
- } | {
45
- [x: string]: string | number | {
46
- [x: string]: string | {
47
- fontSize: string;
48
- fontWeight: string;
49
- lineHeight: string;
50
- color: string;
51
- display?: undefined;
52
- gap?: undefined;
53
- } | {
54
- display: string;
55
- gap: string;
56
- fontSize?: undefined;
57
- fontWeight?: undefined;
58
- lineHeight?: undefined;
59
- color?: undefined;
60
- };
61
- display: string;
62
- justifyContent: string;
63
- alignItems: string;
64
- };
65
- padding: string;
66
- marginTop: number;
67
- marginBottom?: undefined;
68
- color?: undefined;
69
- width?: undefined;
70
- height?: undefined;
71
- top?: undefined;
72
- right?: undefined;
73
- '&:hover'?: undefined;
74
- } | {
75
- [x: string]: number | {
76
- color: string;
77
- background?: undefined;
78
- } | {
79
- background: string;
80
- color?: undefined;
81
- };
82
- width: number;
83
- height: number;
84
- top: number;
85
- right: number;
86
- "&:hover": {
87
- background: string;
88
- };
89
- padding?: undefined;
90
- marginBottom?: undefined;
91
- color?: undefined;
92
- marginTop?: undefined;
93
- };
94
- padding: number;
95
- border: string;
96
- minHeight?: undefined;
97
- };
98
- } | {
99
- [x: string]: {
100
- [x: string]: {
101
- borderBottom: string;
102
- borderTop?: undefined;
103
- } | {
104
- borderTop: string;
105
- borderBottom?: undefined;
106
- };
107
- };
108
- };
109
- };
110
- declare const useIndexStyle: () => void;
111
- export default useIndexStyle;
1
+ export declare const useStyle: () => () => import("react/jsx-runtime").JSX.Element;
@@ -1,72 +1,54 @@
1
- var _excluded = ["css"];
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import createStyle from "../../../libs/createStyle";
9
- export function getIndexStyleData(params) {
10
- var antPrefix = params.antPrefix,
11
- sparkPrefix = params.sparkPrefix;
12
- return _defineProperty(_defineProperty({}, ".".concat(sparkPrefix, "-modal"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-modal-title"), {
13
- minHeight: '24px'
14
- }), ".".concat(antPrefix, "-modal-content"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
15
- padding: 0,
16
- border: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
17
- }, ".".concat(antPrefix, "-modal-header"), _defineProperty({
18
- padding: '18px 20px',
19
- marginBottom: 0
20
- }, ".".concat(antPrefix, "-modal-title"), _defineProperty({
21
- lineHeight: '28px'
22
- }, ".".concat(sparkPrefix, "-modal-title-wrapper"), _defineProperty(_defineProperty({
23
- display: 'flex',
24
- justifyContent: 'space-between',
25
- alignItems: 'center',
26
- gap: '12px'
27
- }, ".".concat(sparkPrefix, "-modal-title"), {
28
- flex: 1
29
- }), ".".concat(sparkPrefix, "-modal-title-close"), {
30
- cursor: 'pointer'
31
- })))), ".".concat(antPrefix, "-modal-body"), {
32
- padding: 20,
33
- color: "var(--".concat(antPrefix, "-color-text-secondary)")
34
- }), ".".concat(antPrefix, "-modal-footer"), _defineProperty({
35
- padding: '16px 20px',
36
- marginTop: 0
37
- }, ".".concat(sparkPrefix, "-modal-footer-wrapper"), _defineProperty(_defineProperty({
38
- display: 'flex',
39
- justifyContent: 'space-between',
40
- alignItems: 'center'
41
- }, ".".concat(sparkPrefix, "-modal-footer-info"), {
42
- fontSize: '14px',
43
- fontWeight: 'normal',
44
- lineHeight: '24px',
45
- color: "var(--".concat(antPrefix, "-color-text-tertiary)")
46
- }), ".".concat(sparkPrefix, "-modal-footer-origin-node"), {
47
- display: 'flex',
48
- gap: '12px'
49
- }))), ".".concat(antPrefix, "-modal-close"), _defineProperty(_defineProperty({
50
- width: 32,
51
- height: 32,
52
- top: 16,
53
- right: 16
54
- }, ".".concat(antPrefix, "-modal-close-icon"), {
55
- color: "var(--".concat(antPrefix, "-color-text)")
56
- }), "&:hover", {
57
- background: 'none'
58
- })))), ".".concat(sparkPrefix, "-show-divider"), _defineProperty({}, ".".concat(antPrefix, "-modal-content"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-modal-header"), {
59
- borderBottom: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
60
- }), ".".concat(antPrefix, "-modal-footer"), {
61
- borderTop: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
62
- })));
63
- }
64
- var useIndexStyle = function useIndexStyle() {
65
- createStyle(function (_ref2) {
66
- var css = _ref2.css,
67
- params = _objectWithoutProperties(_ref2, _excluded);
68
- var result = css(getIndexStyleData(params));
69
- return result;
70
- })();
71
- };
72
- 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.", "-modal {\n .", "-modal-title {\n min-height: 24px;\n }\n \n .", "-modal-content {\n padding: 0;\n border: 1px solid var(--", "-color-border-secondary);\n \n .", "-modal-header {\n padding: 18px 20px;\n margin-bottom: 0;\n \n .", "-modal-title {\n line-height: 28px;\n \n .", "-modal-title-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n \n .", "-modal-title {\n flex: 1;\n }\n \n .", "-modal-title-close {\n cursor: pointer;\n }\n }\n }\n }\n \n .", "-modal-body {\n padding: 20px;\n color: var(--", "-color-text-secondary);\n }\n \n .", "-modal-footer {\n padding: 16px 20px;\n margin-top: 0;\n \n .", "-modal-footer-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n \n .", "-modal-footer-info {\n font-size: 14px;\n font-weight: normal;\n line-height: 24px;\n color: var(--", "-color-text-tertiary);\n }\n \n .", "-modal-footer-origin-node {\n display: flex;\n gap: 12px;\n }\n }\n }\n \n .", "-modal-close {\n width: 32px;\n height: 32px;\n top: 16px;\n right: 16px;\n \n .", "-modal-close-icon {\n color: var(--", "-color-text);\n }\n \n &:hover {\n background: none;\n }\n }\n }\n}\n\n.", "-show-divider {\n .", "-modal-content {\n .", "-modal-header {\n border-bottom: 1px solid var(--", "-color-border-secondary);\n }\n \n .", "-modal-footer {\n border-top: 1px solid var(--", "-color-border-secondary);\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.sparkPrefix;
18
+ }, function (p) {
19
+ return p.sparkPrefix;
20
+ }, function (p) {
21
+ return p.sparkPrefix;
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.sparkPrefix;
30
+ }, function (p) {
31
+ return p.sparkPrefix;
32
+ }, function (p) {
33
+ return p.antPrefix;
34
+ }, function (p) {
35
+ return p.sparkPrefix;
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.antPrefix;
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
+ });
@@ -3,7 +3,7 @@ export interface SparkPaginationProps extends PaginationProps {
3
3
  /**
4
4
  * @description 是否展示上一页/下一页的切换按钮
5
5
  * @descriptionEn Whether to show previous/next page switch button
6
- * @default 'false'
6
+ * @default false
7
7
  */
8
8
  hideSwitchButton?: boolean;
9
9
  }
@@ -12,21 +12,30 @@ import { getCommonConfig } from "../../../config";
12
12
  import { SparkMoreLine } from '@agentscope-ai/icons';
13
13
  import { LeftOutlined, RightOutlined } from "@agentscope-ai/icons-override-antd";
14
14
  import { Flex, Pagination } from 'antd';
15
- import useIndexStyle from "./index.style";
15
+ import { useStyle } from "./index.style";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  import { jsxs as _jsxs } from "react/jsx-runtime";
18
+ import { Fragment as _Fragment } from "react/jsx-runtime";
18
19
  export default (function (props) {
19
20
  var _props$hideSwitchButt = props.hideSwitchButton,
20
21
  hideSwitchButton = _props$hideSwitchButt === void 0 ? false : _props$hideSwitchButt,
21
22
  restProps = _objectWithoutProperties(props, _excluded);
22
23
  var _getCommonConfig = getCommonConfig(),
23
24
  sparkPrefix = _getCommonConfig.sparkPrefix;
24
- useIndexStyle();
25
+ var Style = useStyle();
25
26
  var mergedItemRender = function mergedItemRender() {
26
- if (hideSwitchButton || props.itemRender) {
27
- return props.itemRender;
28
- }
29
27
  var sparkItemRender = function sparkItemRender(_, type, originalElement) {
28
+ // 优先处理省略号替换
29
+ if (type === 'jump-prev' || type === 'jump-next') {
30
+ // 替换省略号为自定义图标
31
+ return /*#__PURE__*/_jsx(SparkMoreLine, {
32
+ className: "".concat(sparkPrefix, "-jump-next-icon")
33
+ });
34
+ }
35
+ // 如果禁用了切换按钮或者有自定义的itemRender,则不处理上一页下一页按钮
36
+ if (hideSwitchButton || props.itemRender) {
37
+ return originalElement;
38
+ }
30
39
  if (type === 'prev') {
31
40
  return /*#__PURE__*/_jsx("a", {
32
41
  children: /*#__PURE__*/_jsxs(Flex, {
@@ -47,35 +56,31 @@ export default (function (props) {
47
56
  })
48
57
  });
49
58
  }
50
- if (type === 'jump-prev' || type === 'jump-next') {
51
- // 替换省略号为自定义图标
52
- return /*#__PURE__*/_jsx(SparkMoreLine, {
53
- className: "".concat(sparkPrefix, "-jump-next-icon")
54
- });
55
- }
56
59
  return originalElement;
57
60
  };
58
61
  return sparkItemRender;
59
62
  };
60
63
  var shouldShowSizeChanger = restProps.total && restProps.total > 50;
61
- return /*#__PURE__*/_jsx(Pagination, _objectSpread(_objectSpread({
62
- itemRender: mergedItemRender()
63
- }, restProps), {}, {
64
- showSizeChanger: shouldShowSizeChanger ? {
65
- options: [{
66
- label: '10 Items / Pages',
67
- value: 10
68
- }, {
69
- label: '20 Items / Pages',
70
- value: 20
71
- }, {
72
- label: '50 Items / Pages',
73
- value: 50
74
- }, {
75
- label: '100 Items / Pages',
76
- value: 100
77
- }]
78
- } : false,
79
- className: "".concat(sparkPrefix, "-pagination")
80
- }));
64
+ return /*#__PURE__*/_jsxs(_Fragment, {
65
+ children: [/*#__PURE__*/_jsx(Style, {}), /*#__PURE__*/_jsx(Pagination, _objectSpread(_objectSpread({
66
+ itemRender: mergedItemRender()
67
+ }, restProps), {}, {
68
+ showSizeChanger: shouldShowSizeChanger ? {
69
+ options: [{
70
+ label: '10 Items / Pages',
71
+ value: 10
72
+ }, {
73
+ label: '20 Items / Pages',
74
+ value: 20
75
+ }, {
76
+ label: '50 Items / Pages',
77
+ value: 50
78
+ }, {
79
+ label: '100 Items / Pages',
80
+ value: 100
81
+ }]
82
+ } : false,
83
+ className: "".concat(sparkPrefix, "-pagination")
84
+ }))]
85
+ });
81
86
  });
@@ -1,49 +1 @@
1
- export declare function getIndexStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: string | {
4
- fontWeight: number;
5
- borderColor?: undefined;
6
- borderRadius?: undefined;
7
- a?: undefined;
8
- color?: undefined;
9
- display?: undefined;
10
- alignItems?: undefined;
11
- justifyContent?: undefined;
12
- } | {
13
- borderColor: string;
14
- borderRadius: number;
15
- a: {
16
- color: string;
17
- };
18
- fontWeight?: undefined;
19
- color?: undefined;
20
- display?: undefined;
21
- alignItems?: undefined;
22
- justifyContent?: undefined;
23
- } | {
24
- color: string;
25
- fontWeight?: undefined;
26
- borderColor?: undefined;
27
- borderRadius?: undefined;
28
- a?: undefined;
29
- display?: undefined;
30
- alignItems?: undefined;
31
- justifyContent?: undefined;
32
- } | {
33
- display: string;
34
- alignItems: string;
35
- justifyContent: string;
36
- fontWeight?: undefined;
37
- borderColor?: undefined;
38
- borderRadius?: undefined;
39
- a?: undefined;
40
- color?: undefined;
41
- };
42
- color: string;
43
- a: {
44
- color: string;
45
- };
46
- };
47
- };
48
- declare const useIndexStyle: (props?: {}) => import("../../../config").CommonConfig;
49
- export default useIndexStyle;
1
+ export declare const useStyle: () => () => import("react/jsx-runtime").JSX.Element;
@@ -1,42 +1,26 @@
1
- var _excluded = ["css"];
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import createStyle from "../../../libs/createStyle";
9
- export function getIndexStyleData(params) {
10
- var antPrefix = params.antPrefix,
11
- sparkPrefix = params.sparkPrefix;
12
- return _defineProperty({}, ".".concat(sparkPrefix, "-pagination"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
13
- color: "var(--".concat(sparkPrefix, "-color-text) !important")
14
- }, ".".concat(antPrefix, "-pagination-total-text"), {
15
- fontWeight: 500
16
- }), ".".concat(antPrefix, "-select-selection-item"), {
17
- fontWeight: 500
18
- }), ".".concat(antPrefix, "-pagination-item-active.").concat(antPrefix, "-pagination-item"), {
19
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)"),
20
- borderRadius: 8,
21
- a: {
22
- color: "var(--".concat(antPrefix, "-color-text) !important")
23
- }
24
- }), "a", {
25
- color: "var(--".concat(antPrefix, "-color-text) !important")
26
- }), ".".concat(antPrefix, "-pagination-jump-next"), {
27
- display: 'flex',
28
- alignItems: 'center',
29
- justifyContent: 'center'
30
- }), ".".concat(antPrefix, "-pagination-jump-prev"), {
31
- display: 'flex',
32
- alignItems: 'center',
33
- justifyContent: 'center'
34
- }));
35
- }
36
- var useIndexStyle = createStyle(function (_ref2) {
37
- var css = _ref2.css,
38
- params = _objectWithoutProperties(_ref2, _excluded);
39
- var result = css(getIndexStyleData(params));
40
- return result;
41
- });
42
- 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.", "-pagination {\n color: var(--", "-color-text) !important;\n \n .", "-pagination-total-text {\n font-weight: 500;\n }\n \n .", "-select-selection-item {\n font-weight: 500;\n }\n \n .", "-pagination-item-active.", "-pagination-item {\n border-color: var(--", "-color-border-secondary);\n border-radius: 8px;\n \n a {\n color: var(--", "-color-text) !important;\n }\n }\n \n a {\n color: var(--", "-color-text) !important;\n }\n \n .", "-pagination-jump-next {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n \n .", "-pagination-jump-prev {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n}\n"])), function (p) {
5
+ return p.sparkPrefix;
6
+ }, function (p) {
7
+ return p.sparkPrefix;
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
+ });