@pisell/materials 2.2.88 → 2.2.89

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 (247) 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 +4 -4
  6. package/build/lowcode/preview.js +160 -144
  7. package/build/lowcode/render/default/view.js +36 -26
  8. package/build/lowcode/view.js +40 -30
  9. package/es/components/batch-editor/index.d.ts +0 -1
  10. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  15. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  18. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  19. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  22. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  24. package/es/components/dataSourceComponents/fields/index.d.ts +19 -20
  25. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  26. package/es/components/date-picker/index.d.ts +0 -1
  27. package/es/components/filter/index.d.ts +0 -1
  28. package/es/components/list/index.d.ts +0 -1
  29. package/es/components/lowCodePage/index.d.ts +0 -1
  30. package/es/components/page/index.d.ts +0 -1
  31. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  32. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  33. package/es/components/pisellInput/index.d.ts +0 -1
  34. package/es/components/pisellLoading/index.d.ts +0 -1
  35. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  36. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  37. package/es/components/pisellModal/components/index.d.ts +0 -1
  38. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  39. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  40. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  41. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  42. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  43. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  44. package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
  45. package/es/components/productCard/cartSkuCard/index.js +1 -1
  46. package/es/components/productCard/cartSkuCard/locales.d.ts +3 -0
  47. package/es/components/productCard/cartSkuCard/locales.js +6 -3
  48. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  49. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  50. package/es/components/productCard/components/Header/index.d.ts +0 -1
  51. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  52. package/es/components/productCard/components/Note/index.d.ts +0 -1
  53. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  54. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  55. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  56. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  57. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  58. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  59. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  60. package/es/components/qrcode/index.d.ts +0 -1
  61. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  62. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  63. package/es/components/table/Actions/index.d.ts +0 -1
  64. package/es/components/table/BasicTable/index.d.ts +0 -1
  65. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  66. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  67. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  68. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  69. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/index.d.ts +2 -3
  74. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  85. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  86. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  87. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  88. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  89. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  90. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  91. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  92. package/es/components/table/Table/utils.d.ts +1 -1
  93. package/es/components/table/View/index.d.ts +0 -1
  94. package/es/components/versionSelect/index.d.ts +0 -1
  95. package/es/utils/index.d.ts +1 -1
  96. package/es/utils/platform.d.ts +1 -1
  97. package/lib/components/batch-editor/index.d.ts +0 -1
  98. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  99. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  100. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  101. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  102. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  103. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  104. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  105. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  106. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  107. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  108. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  109. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  110. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  111. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  112. package/lib/components/dataSourceComponents/fields/index.d.ts +19 -20
  113. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  114. package/lib/components/date-picker/index.d.ts +0 -1
  115. package/lib/components/filter/index.d.ts +0 -1
  116. package/lib/components/list/index.d.ts +0 -1
  117. package/lib/components/lowCodePage/index.d.ts +0 -1
  118. package/lib/components/page/index.d.ts +0 -1
  119. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  120. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  121. package/lib/components/pisellInput/index.d.ts +0 -1
  122. package/lib/components/pisellLoading/index.d.ts +0 -1
  123. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  124. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  125. package/lib/components/pisellModal/components/index.d.ts +0 -1
  126. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  127. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  128. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  129. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  130. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  131. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  132. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
  133. package/lib/components/productCard/cartSkuCard/index.js +1 -1
  134. package/lib/components/productCard/cartSkuCard/locales.d.ts +3 -0
  135. package/lib/components/productCard/cartSkuCard/locales.js +6 -3
  136. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  137. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  138. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  139. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  140. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  141. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  142. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  143. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  144. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  145. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  146. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  147. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  148. package/lib/components/qrcode/index.d.ts +0 -1
  149. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  150. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  151. package/lib/components/table/Actions/index.d.ts +0 -1
  152. package/lib/components/table/BasicTable/index.d.ts +0 -1
  153. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  154. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  155. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  156. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  157. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  158. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  159. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  160. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  161. package/lib/components/table/Table/fields/index.d.ts +2 -3
  162. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  163. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  164. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  165. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  166. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  167. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  168. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  169. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  170. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  171. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  172. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  173. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  174. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  175. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  176. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  177. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  178. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  179. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  180. package/lib/components/table/Table/utils.d.ts +1 -1
  181. package/lib/components/table/View/index.d.ts +0 -1
  182. package/lib/components/versionSelect/index.d.ts +0 -1
  183. package/lib/utils/index.d.ts +1 -1
  184. package/lib/utils/platform.d.ts +1 -1
  185. package/package.json +1 -1
  186. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
  187. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  188. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  189. package/es/components/drag-sort-tree/index.d.ts +0 -4
  190. package/es/components/login-and-register/index.d.ts +0 -82
  191. package/es/components/pisellAdjustPrice/index.d.ts +0 -5
  192. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  193. package/es/components/pisellAdjustPrice/type.d.ts +0 -20
  194. package/es/components/pisellEmpty/index.d.ts +0 -19
  195. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  196. package/es/components/productCard/components/Warning/index.d.ts +0 -7
  197. package/es/components/productCard/index.d.ts +0 -7
  198. package/es/components/productCard/locales.d.ts +0 -84
  199. package/es/components/productCard/status.d.ts +0 -32
  200. package/es/components/productCard/types.d.ts +0 -84
  201. package/es/components/productCard/utils.d.ts +0 -31
  202. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  203. package/es/components/table/types.d.ts +0 -251
  204. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
  205. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  206. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  207. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -21
  208. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  209. package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
  210. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  211. package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
  212. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  213. package/es/index.d.ts +0 -140
  214. package/es/locales/en-US.d.ts +0 -278
  215. package/es/locales/zh-CN.d.ts +0 -273
  216. package/es/locales/zh-TW.d.ts +0 -273
  217. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
  218. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  219. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  220. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  221. package/lib/components/login-and-register/index.d.ts +0 -82
  222. package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
  223. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  224. package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
  225. package/lib/components/pisellEmpty/index.d.ts +0 -19
  226. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  227. package/lib/components/productCard/components/Warning/index.d.ts +0 -7
  228. package/lib/components/productCard/index.d.ts +0 -7
  229. package/lib/components/productCard/locales.d.ts +0 -84
  230. package/lib/components/productCard/status.d.ts +0 -32
  231. package/lib/components/productCard/types.d.ts +0 -84
  232. package/lib/components/productCard/utils.d.ts +0 -31
  233. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  234. package/lib/components/table/types.d.ts +0 -251
  235. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
  236. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  237. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  238. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -21
  239. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  240. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
  241. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  242. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
  243. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  244. package/lib/index.d.ts +0 -140
  245. package/lib/locales/en-US.d.ts +0 -278
  246. package/lib/locales/zh-CN.d.ts +0 -273
  247. package/lib/locales/zh-TW.d.ts +0 -273
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, GallerySettingValueType } from "../../../../../types";
3
2
  declare type CoverProps = {
4
3
  cover?: GallerySettingType["cover"];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type RenderFieldsProps = {
4
3
  fields: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: number;
3
- vertical: number;
2
+ horizontal: any;
3
+ vertical: any;
4
4
  };
5
5
  export default useGapSize;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -198,12 +197,12 @@ export declare const fieldList: ({
198
197
  field_icon: string;
199
198
  field_name: string;
200
199
  field_type: string;
201
- default_value: boolean;
200
+ default_value: string;
202
201
  } | {
203
202
  field_icon: string;
204
203
  field_name: string;
205
204
  field_type: string;
206
- default_value: string;
205
+ default_value: boolean;
207
206
  } | {
208
207
  field_icon: string;
209
208
  field_name: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): boolean;
5
+ }): any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  import "./index.less";
4
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): boolean;
5
+ }): any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
4
3
  export default SortRow;
@@ -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
+ }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewProps } from '../types';
3
2
  declare const View: (props: GridViewProps & {
4
3
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface Version {
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string;
2
+ export declare const getCssNumber: (val: string | number) => string | number;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "2.2.88",
3
+ "version": "2.2.89",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -1,78 +0,0 @@
1
- /// <reference types="react" />
2
- import { ColumnType } from 'antd/es/table';
3
- import { DataSourceType } from '../provider/dataSource/DataSourceContext';
4
- export declare type OperationItem = {
5
- label?: string;
6
- openMode: 'modal' | 'drawer' | 'custom';
7
- openContentSize: 'small' | 'middle' | 'large';
8
- openTitle: string;
9
- actionType: 'detail' | 'edit' | 'delete' | 'custom';
10
- key: string;
11
- buttonProps?: any;
12
- onClick?: (record: any) => void;
13
- };
14
- export interface DataSourceTableProps {
15
- title?: string | React.ReactNode | (() => React.ReactNode);
16
- subTitle?: string | React.ReactNode | (() => React.ReactNode);
17
- titleButtons?: {
18
- show: boolean;
19
- maxCount: number;
20
- items: OperationItem[];
21
- };
22
- tableButtons?: {
23
- show: boolean;
24
- maxCount: number;
25
- items: OperationItem[];
26
- };
27
- buttons?: any[];
28
- operation?: {
29
- show: boolean;
30
- title: string;
31
- width: number;
32
- align: 'left' | 'center' | 'right';
33
- fixed: 'left' | 'right' | false;
34
- type: 'link' | 'button';
35
- items: OperationItem[];
36
- };
37
- operationContent?: {
38
- [key: string]: React.ReactNode;
39
- };
40
- dataSource: DataSourceType;
41
- columns: ColumnType<any>[];
42
- filter: any;
43
- search?: {
44
- show: boolean;
45
- placeholder: string;
46
- };
47
- __designMode: string;
48
- componentId: string;
49
- clickToDetail?: {
50
- show: boolean;
51
- useCustomAction: boolean;
52
- actionType: string;
53
- openMode: 'modal' | 'drawer';
54
- openContentSize: 'small' | 'middle' | 'large';
55
- openTitle: string;
56
- key: string;
57
- };
58
- onRow?: any;
59
- filterBy?: Record<string, any>;
60
- sortBy: string;
61
- tabs?: {
62
- show: boolean;
63
- type: string;
64
- items: {
65
- name: string;
66
- filterBy: Record<string, any>;
67
- sortBy: string;
68
- }[];
69
- };
70
- onValuesChange?: (changedValues: any, values: any) => void;
71
- extraParams?: {
72
- list?: Record<string, any>;
73
- get?: Record<string, any>;
74
- update?: Record<string, any>;
75
- create?: Record<string, any>;
76
- destroy?: Record<string, any>;
77
- };
78
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * 获取nocobase数据列表
3
- */
4
- export declare const getCountryDataList: () => Promise<any>;
5
- export interface Country {
6
- id: number;
7
- name: {
8
- en: string;
9
- "zh-CN": string;
10
- "zh-HK": string;
11
- original: string;
12
- };
13
- code: string;
14
- calling_code: string;
15
- currency_code: string;
16
- sort: number;
17
- status: string;
18
- created_at: string;
19
- updated_at: string;
20
- prefix: string;
21
- }
22
- export declare const useCountries: () => {
23
- data: Country[];
24
- };
@@ -1,18 +0,0 @@
1
- import './index.less';
2
- import { ValueProps, SortType } from '../types';
3
- declare type IdType = string | number;
4
- declare type TreeItemProps = {
5
- id: string | number;
6
- key: string | number;
7
- item: ValueProps | any;
8
- depth: number;
9
- lists: any[];
10
- childrenProps?: SortType;
11
- sensors?: any;
12
- expandedKeys?: IdType[];
13
- setExpandedKeys?: any;
14
- onSelectKeys?: (ids: IdType) => void;
15
- onChange?: (value: any[]) => void;
16
- };
17
- declare const TreeItem: (props: TreeItemProps) => JSX.Element;
18
- export default TreeItem;
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- import { SortType } from './types';
3
- declare const DragSortTree: (props: SortType) => JSX.Element;
4
- export default DragSortTree;
@@ -1,82 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- /**
4
- * loginAndRegister组件的属性接口
5
- */
6
- export interface loginAndRegisterProps {
7
- /** Logo相关配置 */
8
- showLogo?: boolean;
9
- logo?: string;
10
- logoPosition?: 'left' | 'center' | 'right';
11
- logoSize?: {
12
- width?: number;
13
- height?: number;
14
- };
15
- /** 标题相关配置 */
16
- title?: string;
17
- showTitle?: boolean;
18
- titleAlign?: 'left' | 'center' | 'right';
19
- /** 副标题相关配置 */
20
- subtitle?: string;
21
- showSubtitle?: boolean;
22
- subtitleAlign?: 'left' | 'center' | 'right';
23
- /** 登录方式配置 */
24
- loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
25
- defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
26
- /** 表单配置 */
27
- emailLabel?: string;
28
- passwordLabel?: string;
29
- emailPlaceholder?: string;
30
- passwordPlaceholder?: string;
31
- emailRules?: any[];
32
- buttonText?: string;
33
- rememberMeText?: string;
34
- forgotPasswordText?: string;
35
- showRememberMe?: boolean;
36
- showForgotPassword?: boolean;
37
- /** 社交登录配置 */
38
- socialLoginTexts?: {
39
- google?: string;
40
- facebook?: string;
41
- apple?: string;
42
- };
43
- /** 底部配置 */
44
- showFooter?: boolean;
45
- showSignUp?: boolean;
46
- signUpText?: string;
47
- signUpLink?: string;
48
- signUpPosition?: 'left' | 'center' | 'right';
49
- otherLinks?: Array<{
50
- text: string;
51
- url: string;
52
- }>;
53
- otherLinksPosition?: 'left' | 'center' | 'right';
54
- /** 登录/注册切换配置 */
55
- showTabs?: boolean;
56
- loginTabText?: string;
57
- registerTabText?: string;
58
- /** 注册表单配置 */
59
- registerEmailPlaceholder?: string;
60
- registerPasswordPlaceholder?: string;
61
- registerButtonText?: string;
62
- /** 事件回调 */
63
- onLogin?: (values: {
64
- email: string;
65
- loginMethod: string;
66
- }) => void;
67
- onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
68
- onSignUp?: () => void;
69
- onRegister?: (values: {
70
- email: string;
71
- password: string;
72
- }) => void;
73
- /** 新增背景图片属性 */
74
- backgroundImage?: string;
75
- }
76
- /**
77
- * Saas登录组件
78
- * @param props - 组件属性
79
- * @returns React组件
80
- */
81
- declare const loginAndRegister: React.FC<loginAndRegisterProps>;
82
- export default loginAndRegister;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- import { PisellAdjustPriceProps } from './type';
4
- declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
5
- export default PisellAdjustPrice;
@@ -1,32 +0,0 @@
1
- export declare const defaultConfig: {
2
- dark: {
3
- backgroundColor: string;
4
- containerBackgroundColor: string;
5
- buttonBackgroundColor: string;
6
- textColor: string;
7
- resetButtonBackgroundColor: string;
8
- resetButtonTextColor: string;
9
- isDoneButtonFollowTheme: boolean;
10
- doneButtonBackgroundColor: string;
11
- doneButtonTextColor: string;
12
- isShowMainText: boolean;
13
- mainTextColor: string;
14
- isShowSubText: boolean;
15
- subTextColor: string;
16
- };
17
- light: {
18
- backgroundColor: string;
19
- containerBackgroundColor: string;
20
- buttonBackgroundColor: string;
21
- textColor: string;
22
- resetButtonBackgroundColor: string;
23
- resetButtonTextColor: string;
24
- isDoneButtonFollowTheme: boolean;
25
- doneButtonBackgroundColor: string;
26
- doneButtonTextColor: string;
27
- isShowMainText: boolean;
28
- mainTextColor: string;
29
- isShowSubText: boolean;
30
- subTextColor: string;
31
- };
32
- };
@@ -1,20 +0,0 @@
1
- export interface PisellAdjustPriceProps {
2
- value?: number;
3
- originValue: number;
4
- defaultValue?: number;
5
- onChange?: (val: number) => void;
6
- selectType?: 'light' | 'dark';
7
- backgroundColor?: string;
8
- containerBackgroundColor?: string;
9
- buttonBackgroundColor?: string;
10
- textColor?: string;
11
- resetButtonBackgroundColor?: string;
12
- resetButtonTextColor?: string;
13
- isDoneButtonFollowTheme?: boolean;
14
- doneButtonBackgroundColor?: string;
15
- doneButtonTextColor?: string;
16
- isShowMainText?: boolean;
17
- mainTextColor?: string;
18
- isShowSubText?: boolean;
19
- subTextColor?: string;
20
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { EmptyProps } from 'antd';
3
- import { PisellContextType } from '../pisell-config-provider/context';
4
- import './index.less';
5
- export interface PisellEmptyProps extends EmptyProps {
6
- /** 平台 */
7
- platform?: PisellContextType['platform'];
8
- /** 额外内容描述 */
9
- extraDescription?: React.ReactNode;
10
- /** 额外内容描述 */
11
- icon?: React.ReactNode;
12
- /** 自定义底部额外操作区域 */
13
- footer?: React.ReactNode;
14
- [key: string]: any;
15
- /** 最大宽度 */
16
- maxWidth?: number;
17
- }
18
- declare const PisellEmpty: (props: PisellEmptyProps) => JSX.Element;
19
- export default PisellEmpty;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
3
- export default DeleteButton;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import '../../index.less';
3
- declare const Warning: React.FC<{
4
- errorMessage: string | Array<string>;
5
- osWarnTips: Array<string>;
6
- }>;
7
- export default Warning;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ProductCardTypes } from './types';
3
- import './index.less';
4
- declare const ProductCard: React.FC<ProductCardTypes> & {
5
- V2: any;
6
- };
7
- export default ProductCard;
@@ -1,84 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.product.card.day': (val: number) => string;
4
- 'pisell2.product.card.day.event': (val: number) => string;
5
- 'pisell2.product.card.minute': (val: number) => string;
6
- 'pisell2.product.card.discount.reason': string;
7
- 'pisell2.product.card.discount.note': string;
8
- 'pisell2.product.card.edit': string;
9
- 'pisell2.product.card.discount.add.note': string;
10
- 'pisell2.product.card.discount.edit.note': string;
11
- 'pisell2.product.card.confirm': string;
12
- 'pisell2.product.card.cancel': string;
13
- 'pisell2.product.card.note.pla': string;
14
- 'pisell2.product.card.items.package': string;
15
- 'pisell2.product.card.view-all': string;
16
- 'pisell2.product.card.view-less': string;
17
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
18
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
19
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
20
- 'pisell2.product.card.add.holder.modal.title.1': string;
21
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
22
- 'pisell2.product.card.sales': string;
23
- 'pisell2.product.card.add.holder.modal.cancel': string;
24
- 'pisell2.product.card.add.holder.modal.clear': string;
25
- 'pisell2.product.card.add.holder.modal.apply': string;
26
- 'pisell2.product.card.add.holder.modal.add': string;
27
- 'pisell2.product.card.closing-soon.warning': string;
28
- };
29
- 'zh-CN': {
30
- 'pisell2.product.card.edit': string;
31
- 'pisell2.product.card.day': (val: number) => string;
32
- 'pisell2.product.card.day.event': (val: number) => string;
33
- 'pisell2.product.card.minute': (val: number) => string;
34
- 'pisell2.product.card.discount.reason': string;
35
- 'pisell2.product.card.discount.note': string;
36
- 'pisell2.product.card.discount.add.note': string;
37
- 'pisell2.product.card.discount.edit.note': string;
38
- 'pisell2.product.card.confirm': string;
39
- 'pisell2.product.card.cancel': string;
40
- 'pisell2.product.card.note.pla': string;
41
- 'pisell2.product.card.items.package': string;
42
- 'pisell2.product.card.view-all': string;
43
- 'pisell2.product.card.view-less': string;
44
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
45
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
46
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
47
- 'pisell2.product.card.add.holder.modal.title.1': string;
48
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
49
- 'pisell2.product.card.sales': string;
50
- 'pisell2.product.card.add.holder.modal.cancel': string;
51
- 'pisell2.product.card.add.holder.modal.clear': string;
52
- 'pisell2.product.card.add.holder.modal.apply': string;
53
- 'pisell2.product.card.add.holder.modal.add': string;
54
- 'pisell2.product.card.closing-soon.warning': string;
55
- };
56
- 'zh-HK': {
57
- 'pisell2.product.card.edit': string;
58
- 'pisell2.product.card.day': (val: number) => string;
59
- 'pisell2.product.card.day.event': (val: number) => string;
60
- 'pisell2.product.card.minute': (val: number) => string;
61
- 'pisell2.product.card.discount.reason': string;
62
- 'pisell2.product.card.discount.note': string;
63
- 'pisell2.product.card.discount.add.note': string;
64
- 'pisell2.product.card.discount.edit.note': string;
65
- 'pisell2.product.card.confirm': string;
66
- 'pisell2.product.card.cancel': string;
67
- 'pisell2.product.card.note.pla': string;
68
- 'pisell2.product.card.items.package': string;
69
- 'pisell2.product.card.view-all': string;
70
- 'pisell2.product.card.view-less': string;
71
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
72
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
73
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
74
- 'pisell2.product.card.add.holder.modal.title.1': string;
75
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
76
- 'pisell2.product.card.sales': string;
77
- 'pisell2.product.card.add.holder.modal.cancel': string;
78
- 'pisell2.product.card.add.holder.modal.clear': string;
79
- 'pisell2.product.card.add.holder.modal.apply': string;
80
- 'pisell2.product.card.add.holder.modal.add': string;
81
- 'pisell2.product.card.closing-soon.warning': string;
82
- };
83
- };
84
- export default _default;