@pisell/materials 2.2.100 → 2.2.102

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 (231) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +4 -4
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +3 -3
  10. package/es/components/auto-complete-number/index.d.ts +1 -0
  11. package/es/components/badge/index.d.ts +1 -0
  12. package/es/components/batch-editor/fields/index.d.ts +1 -0
  13. package/es/components/calendar/index.d.ts +1 -0
  14. package/es/components/cardPro/index.d.ts +1 -0
  15. package/es/components/checkbox/index.d.ts +1 -0
  16. package/es/components/classicLayout/index.d.ts +1 -0
  17. package/es/components/colorPicker/index.d.ts +1 -0
  18. package/es/components/config-provider/index.d.ts +1 -0
  19. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  21. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  22. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  23. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  28. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  31. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  32. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  33. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  34. package/es/components/dataSourceComponents/fields/index.d.ts +13 -13
  35. package/es/components/dropdown/index.d.ts +1 -0
  36. package/es/components/filter/components/items/index.d.ts +1 -0
  37. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  38. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  39. package/es/components/filter/components/items/text/index.d.ts +1 -0
  40. package/es/components/media/index.d.ts +18 -0
  41. package/es/components/media/index.js +340 -0
  42. package/es/components/media/index.less +100 -0
  43. package/es/components/pisell-config-provider/index.d.ts +1 -0
  44. package/es/components/pisellCard/index.d.ts +1 -0
  45. package/es/components/pisellCardList/index.d.ts +2 -0
  46. package/es/components/pisellCardList/index.js +3 -1
  47. package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
  48. package/es/components/pisellCheckboxGroup/index.js +5 -2
  49. package/es/components/pisellCheckboxGroup/index.less +7 -1
  50. package/es/components/pisellDatePicker/index.d.ts +1 -0
  51. package/es/components/pisellText/components/Amount/index.js +2 -1
  52. package/es/components/pisellUpload/index.d.ts +1 -0
  53. package/es/components/pisellVHFix/index.d.ts +13 -0
  54. package/es/components/pisellVHFix/index.js +36 -0
  55. package/es/components/pisellVHFix/index.less +10 -0
  56. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  57. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  58. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  59. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  60. package/es/components/radio/index.d.ts +1 -0
  61. package/es/components/segmented/index.d.ts +1 -0
  62. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  63. package/es/components/skeleton/index.d.ts +1 -0
  64. package/es/components/slider/index.d.ts +1 -0
  65. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  66. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  67. package/es/components/table/Summary/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  71. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  80. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  85. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  92. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  93. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  94. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  95. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  96. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  97. package/es/components/table/Table/utils.d.ts +1 -1
  98. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  99. package/es/components/time-picker/index.d.ts +1 -0
  100. package/es/components/upload/index.d.ts +1 -0
  101. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  102. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  103. package/es/components/walletCard/Guest/index.d.ts +1 -0
  104. package/es/utils/platform.d.ts +1 -1
  105. package/lib/components/auto-complete-number/index.d.ts +1 -0
  106. package/lib/components/badge/index.d.ts +1 -0
  107. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  108. package/lib/components/calendar/index.d.ts +1 -0
  109. package/lib/components/cardPro/index.d.ts +1 -0
  110. package/lib/components/checkbox/index.d.ts +1 -0
  111. package/lib/components/classicLayout/index.d.ts +1 -0
  112. package/lib/components/colorPicker/index.d.ts +1 -0
  113. package/lib/components/config-provider/index.d.ts +1 -0
  114. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  115. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  116. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  117. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  118. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  119. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  120. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  121. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  122. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  123. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  124. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  125. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  126. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  127. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  128. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  129. package/lib/components/dataSourceComponents/fields/index.d.ts +13 -13
  130. package/lib/components/dropdown/index.d.ts +1 -0
  131. package/lib/components/filter/components/items/index.d.ts +1 -0
  132. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  133. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  134. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  135. package/lib/components/media/index.d.ts +18 -0
  136. package/lib/components/media/index.js +265 -0
  137. package/lib/components/media/index.less +100 -0
  138. package/lib/components/pisell-config-provider/index.d.ts +1 -0
  139. package/lib/components/pisellCard/index.d.ts +1 -0
  140. package/lib/components/pisellCardList/index.d.ts +2 -0
  141. package/lib/components/pisellCardList/index.js +3 -1
  142. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
  143. package/lib/components/pisellCheckboxGroup/index.js +2 -0
  144. package/lib/components/pisellCheckboxGroup/index.less +7 -1
  145. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  146. package/lib/components/pisellText/components/Amount/index.js +2 -1
  147. package/lib/components/pisellUpload/index.d.ts +1 -0
  148. package/lib/components/pisellVHFix/index.d.ts +13 -0
  149. package/lib/components/pisellVHFix/index.js +56 -0
  150. package/lib/components/pisellVHFix/index.less +10 -0
  151. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  152. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  153. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  154. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  155. package/lib/components/radio/index.d.ts +1 -0
  156. package/lib/components/segmented/index.d.ts +1 -0
  157. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  158. package/lib/components/skeleton/index.d.ts +1 -0
  159. package/lib/components/slider/index.d.ts +1 -0
  160. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  161. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  162. package/lib/components/table/Summary/index.d.ts +1 -0
  163. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  164. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  165. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  166. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  167. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  168. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  169. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  170. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  171. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  172. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  173. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  174. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  175. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  176. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  177. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  178. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  179. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  180. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  181. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  182. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  183. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  184. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  185. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  186. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  187. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  188. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  189. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  190. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  191. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  192. package/lib/components/table/Table/utils.d.ts +1 -1
  193. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  194. package/lib/components/time-picker/index.d.ts +1 -0
  195. package/lib/components/upload/index.d.ts +1 -0
  196. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  197. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  198. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  199. package/lib/utils/platform.d.ts +1 -1
  200. package/lowcode/pisell-upload/meta.ts +8 -0
  201. package/package.json +1 -1
  202. package/es/components/iconfont/index.d.ts +0 -8
  203. package/es/components/pisell-config-provider/context.d.ts +0 -20
  204. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  205. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  206. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  207. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  208. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -96
  209. package/es/components/productCard/components/Action/index.d.ts +0 -3
  210. package/es/components/productCard/locales.d.ts +0 -84
  211. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  212. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  213. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  214. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  215. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  216. package/es/components/walletCard/Guide/index.d.ts +0 -3
  217. package/lib/components/iconfont/index.d.ts +0 -8
  218. package/lib/components/pisell-config-provider/context.d.ts +0 -20
  219. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  220. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  221. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  222. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  223. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -96
  224. package/lib/components/productCard/components/Action/index.d.ts +0 -3
  225. package/lib/components/productCard/locales.d.ts +0 -84
  226. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  227. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  228. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  229. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  230. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  231. package/lib/components/walletCard/Guide/index.d.ts +0 -3
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
3
4
  style?: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Radio: (props: any) => JSX.Element;
2
3
  export default Radio;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SegmentedProps } from "antd";
2
3
  import "./index.less";
3
4
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Skeleton: (props: any) => JSX.Element;
2
3
  export default Skeleton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SliderOuter: (props: any) => JSX.Element;
2
3
  export default SliderOuter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
  import "./index.less";
3
4
  interface InlineMenuProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type ColumnsSettingProps = {
2
3
  value?: Record<string, any>[];
3
4
  onChange?: (val: Record<string, any>[]) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Summary: ({ summary }: any) => JSX.Element | null;
3
4
  export default Summary;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const summary: (props: any) => JSX.Element;
2
3
  export default summary;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
158
+ }) => ("column_setting" | "group_by" | "order_by" | "view_mode" | "gallery_setting" | "filter_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SortIconProps {
2
3
  sortOrder: null | "ascend" | "descend";
3
4
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TimePicker: (props: any) => JSX.Element;
2
3
  export default TimePicker;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Upload: (props: any) => JSX.Element;
2
3
  export default Upload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./Presets.less";
2
3
  export declare type PresetsItem = {
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const formatStringToTime: (value: string) => {
2
3
  valueArray: string[];
3
4
  valueString: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guest: (props: any) => JSX.Element;
3
4
  export default Guest;
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AutoCompleteProps, InputNumberProps } from "antd";
2
3
  interface AutoCompleteNumberProps {
3
4
  autoCompleteProps: AutoCompleteProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BadgeProps as OriginalBadgeprops } from 'antd';
2
3
  import './index.less';
3
4
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  price: import("react").FC<import("./Price").PriceProps>;
3
4
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Calendar: (props: any) => JSX.Element;
2
3
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: (props: any) => JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Checkbox: (props: any) => JSX.Element;
2
3
  export default Checkbox;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ClassicLayout: (props: any) => JSX.Element;
3
4
  export default ClassicLayout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from 'antd';
2
3
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
3
4
  export default ColorPicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
2
3
  import "dayjs/locale/zh-cn";
3
4
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
43
43
  }) => JSX.Element;
44
44
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
45
  options?: any;
46
- optionSourceType?: "custom" | "default" | "api" | undefined;
46
+ optionSourceType?: "default" | "custom" | "api" | undefined;
47
47
  labelField: string;
48
48
  valueField: string;
49
49
  extraParams?: Record<string, any> | undefined;
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -53,7 +53,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
53
53
  width: number;
54
54
  align: "center" | "left" | "right";
55
55
  fixed: false | "left" | "right";
56
- type: "button" | "link";
56
+ type: "link" | "button";
57
57
  items: OperationItem[];
58
58
  } | undefined;
59
59
  operationContent?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DateRangePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSelectProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "saas" | "xzero";
5
+ rootDomain: "custom" | "xzero" | "saas";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextAreaProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UrlProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  export declare const formatUrl: (url: string) => string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "custom" | "default" | "api" | undefined;
4
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TimePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "custom" | "xzero" | "saas";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -35,7 +35,7 @@ declare const formFieldMap: {
35
35
  };
36
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
37
  options?: any;
38
- optionSourceType?: "custom" | "default" | "api" | undefined;
38
+ optionSourceType?: "default" | "custom" | "api" | undefined;
39
39
  labelField: string;
40
40
  valueField: string;
41
41
  extraParams?: Record<string, any> | undefined;
@@ -60,13 +60,7 @@ declare const formFieldMap: {
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
64
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
- } & {
66
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
67
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
68
- onChange: (value: string) => void;
69
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
70
64
  JSON: import("react").FC<any>;
71
65
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
72
66
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -79,24 +73,30 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
79
73
  Subdomain: import("react").FC<import("antd").InputProps & {
80
74
  onChange: (value: string) => void;
81
75
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
82
- rootDomain: "custom" | "saas" | "xzero";
76
+ rootDomain: "custom" | "xzero" | "saas";
83
77
  customDomain?: string | undefined;
84
78
  value?: string | undefined;
85
79
  tenantId: string;
86
80
  name?: string | undefined;
87
81
  fieldKey?: string | undefined;
88
82
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
89
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
83
+ }) | (import("react").FC<{}> & {
84
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
85
+ } & {
86
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
87
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
90
88
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
89
  } & {
92
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
93
91
  }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
94
92
  options?: any;
95
- optionSourceType?: "custom" | "default" | "api" | undefined;
93
+ optionSourceType?: "default" | "custom" | "api" | undefined;
96
94
  labelField: string;
97
95
  valueField: string;
98
96
  extraParams?: Record<string, any> | undefined;
99
97
  } & {
100
98
  dataSource?: any;
101
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
99
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
+ onChange: (value: string) => void;
101
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Dropdown: (props: any) => JSX.Element;
2
3
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: () => JSX.Element;
2
3
  export default Text;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: (props: any) => JSX.Element;
2
3
  export default Text;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface MediaProps {
3
+ __designMode?: 'design' | undefined;
4
+ value?: string | string[];
5
+ onChange?: (value: string | string[]) => void;
6
+ multiple?: boolean;
7
+ maxCount?: number;
8
+ accept?: string;
9
+ disabled?: boolean;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ placeholder?: string;
13
+ showUploadList?: boolean;
14
+ listType?: 'text' | 'picture' | 'picture-card';
15
+ }
16
+ import './index.less';
17
+ declare const Media: React.ForwardRefExoticComponent<MediaProps & React.RefAttributes<HTMLDivElement>>;
18
+ export default Media;