@pisell/materials 1.0.980 → 1.0.982

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 (233) 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 +149 -146
  7. package/build/lowcode/render/default/view.js +30 -26
  8. package/build/lowcode/view.js +30 -26
  9. package/es/components/auto-complete-number/index.d.ts +0 -1
  10. package/es/components/badge/index.d.ts +0 -1
  11. package/es/components/batch-editor/fields/index.d.ts +0 -1
  12. package/es/components/calendar/index.d.ts +0 -1
  13. package/es/components/checkbox/index.d.ts +0 -1
  14. package/es/components/classicLayout/index.d.ts +0 -1
  15. package/es/components/colorPicker/index.d.ts +0 -1
  16. package/es/components/config-provider/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  18. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  19. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  24. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  26. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  28. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  29. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  30. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/index.d.ts +17 -17
  32. package/es/components/date-picker/index.d.ts +1 -0
  33. package/es/components/dropdown/index.d.ts +0 -1
  34. package/es/components/filter/components/items/index.d.ts +0 -1
  35. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  36. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  37. package/es/components/filter/components/items/text/index.d.ts +0 -1
  38. package/es/components/iconfont/index.d.ts +8 -0
  39. package/es/components/pisellCard/index.d.ts +0 -1
  40. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  41. package/es/components/pisellDatePicker/index.d.ts +0 -1
  42. package/es/components/pisellGoodPassCard/index.d.ts +50 -0
  43. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  44. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  45. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  46. package/es/components/pisellTooltip/index.d.ts +0 -1
  47. package/es/components/pisellUpload/index.d.ts +0 -1
  48. package/es/components/pisellWalletPassCard/index.js +1 -1
  49. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  50. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  51. package/es/components/radio/index.d.ts +0 -1
  52. package/es/components/segmented/index.d.ts +0 -1
  53. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  54. package/es/components/skeleton/index.d.ts +0 -1
  55. package/es/components/slider/index.d.ts +0 -1
  56. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  57. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  58. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  59. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  60. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  61. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  62. package/es/components/table/Summary/index.d.ts +0 -1
  63. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  64. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  65. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  66. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  67. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  68. package/es/components/table/Table/fields/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  85. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  86. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  87. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  88. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  89. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  90. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  91. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  92. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  93. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  94. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  95. package/es/components/table/hooks/useTransColumns.d.ts +14 -0
  96. package/es/components/time-picker/index.d.ts +0 -1
  97. package/es/components/upload/index.d.ts +0 -1
  98. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  99. package/es/components/walletCard/Guest/index.d.ts +0 -1
  100. package/es/components/walletCard/Guide/index.d.ts +0 -1
  101. package/lib/components/auto-complete-number/index.d.ts +0 -1
  102. package/lib/components/badge/index.d.ts +0 -1
  103. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  104. package/lib/components/calendar/index.d.ts +0 -1
  105. package/lib/components/checkbox/index.d.ts +0 -1
  106. package/lib/components/classicLayout/index.d.ts +0 -1
  107. package/lib/components/colorPicker/index.d.ts +0 -1
  108. package/lib/components/config-provider/index.d.ts +0 -1
  109. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  110. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  111. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  112. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  113. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  114. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  115. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  116. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  117. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  118. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  119. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  120. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  121. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  122. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  123. package/lib/components/dataSourceComponents/fields/index.d.ts +17 -17
  124. package/lib/components/date-picker/index.d.ts +1 -0
  125. package/lib/components/dropdown/index.d.ts +0 -1
  126. package/lib/components/filter/components/items/index.d.ts +0 -1
  127. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  128. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  129. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  130. package/lib/components/iconfont/index.d.ts +8 -0
  131. package/lib/components/pisellCard/index.d.ts +0 -1
  132. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  133. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  134. package/lib/components/pisellGoodPassCard/index.d.ts +50 -0
  135. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  136. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  137. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  138. package/lib/components/pisellTooltip/index.d.ts +0 -1
  139. package/lib/components/pisellUpload/index.d.ts +0 -1
  140. package/lib/components/pisellWalletPassCard/index.js +1 -1
  141. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  142. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  143. package/lib/components/radio/index.d.ts +0 -1
  144. package/lib/components/segmented/index.d.ts +0 -1
  145. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  146. package/lib/components/skeleton/index.d.ts +0 -1
  147. package/lib/components/slider/index.d.ts +0 -1
  148. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  149. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  150. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  151. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  152. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  153. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  154. package/lib/components/table/Summary/index.d.ts +0 -1
  155. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  156. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  157. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  158. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  159. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  160. package/lib/components/table/Table/fields/index.d.ts +1 -0
  161. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  162. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  163. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  164. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  165. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  166. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  167. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  168. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  169. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  170. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  171. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  172. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  173. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  174. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  175. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  176. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  177. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  178. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  179. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  180. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  181. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  182. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  183. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  184. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  185. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  186. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  187. package/lib/components/table/hooks/useTransColumns.d.ts +14 -0
  188. package/lib/components/time-picker/index.d.ts +0 -1
  189. package/lib/components/upload/index.d.ts +0 -1
  190. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  191. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  192. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  193. package/package.json +2 -2
  194. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  195. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +0 -16
  196. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
  197. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -179
  198. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  199. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  200. package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +0 -24
  201. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  202. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -28
  203. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -33
  204. package/es/components/dataSourceComponents/fields/Switch/ReadPretty.d.ts +0 -5
  205. package/es/components/dataSourceComponents/fields/Switch/WithMode.d.ts +0 -3
  206. package/es/components/dataSourceComponents/fields/Switch/index.d.ts +0 -3
  207. package/es/components/dataSourceComponents/fields/Switch/type.d.ts +0 -16
  208. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  209. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -5
  210. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -38
  211. package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  212. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -120
  213. package/es/components/pisellCamera/index.d.ts +0 -4
  214. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  215. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +0 -16
  216. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
  217. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -179
  218. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  219. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  220. package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +0 -24
  221. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  222. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -28
  223. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -33
  224. package/lib/components/dataSourceComponents/fields/Switch/ReadPretty.d.ts +0 -5
  225. package/lib/components/dataSourceComponents/fields/Switch/WithMode.d.ts +0 -3
  226. package/lib/components/dataSourceComponents/fields/Switch/index.d.ts +0 -3
  227. package/lib/components/dataSourceComponents/fields/Switch/type.d.ts +0 -16
  228. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  229. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -5
  230. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -38
  231. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  232. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -120
  233. package/lib/components/pisellCamera/index.d.ts +0 -4
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const summary: (props: any) => JSX.Element;
3
2
  export default summary;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SortIconProps {
3
2
  sortOrder: null | "ascend" | "descend";
4
3
  }
@@ -0,0 +1,14 @@
1
+ import { FormInstance } from "antd/es/form";
2
+ declare type UseTransColumnsProps = {
3
+ columns: Record<string, any>[];
4
+ form: FormInstance;
5
+ localPagination: boolean;
6
+ handleSave?: (row: Record<string, any>) => void;
7
+ handleResize?: (index: number, record: Record<string, any>) => (e: any, p2: any) => void;
8
+ dragSort: boolean;
9
+ bordered: boolean;
10
+ };
11
+ declare const useTransColumns: (params: UseTransColumnsProps) => {
12
+ columns: any[];
13
+ };
14
+ export default useTransColumns;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TimePicker: (props: any) => JSX.Element;
3
2
  export default TimePicker;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Upload: (props: any) => JSX.Element;
3
2
  export default Upload;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const formatStringToTime: (value: string) => {
3
2
  valueArray: string[];
4
3
  valueString: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guest: (props: any) => JSX.Element;
4
3
  export default Guest;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guide: (props: any) => JSX.Element;
4
3
  export default Guide;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutoCompleteProps, InputNumberProps } from "antd";
3
2
  interface AutoCompleteNumberProps {
4
3
  autoCompleteProps: AutoCompleteProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BadgeProps as OriginalBadgeprops } from 'antd';
3
2
  import './index.less';
4
3
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  price: import("react").FC<import("./Price").PriceProps>;
4
3
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Calendar: (props: any) => JSX.Element;
3
2
  export default Calendar;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Checkbox: (props: any) => JSX.Element;
3
2
  export default Checkbox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ClassicLayout: (props: any) => JSX.Element;
4
3
  export default ClassicLayout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from 'antd';
3
2
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
3
2
  import "dayjs/locale/zh-cn";
4
3
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DateRangePickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IconSelectProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { JsonProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -0,0 +1,24 @@
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PasswordProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TextAreaProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UrlProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  export declare const formatUrl: (url: string) => string;
@@ -1,6 +1,6 @@
1
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
2
  options?: any;
3
- optionSourceType?: "custom" | "api" | "default" | undefined;
3
+ optionSourceType?: "default" | "custom" | "api" | undefined;
4
4
  labelField: string;
5
5
  valueField: string;
6
6
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TimePickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TranslationProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -34,7 +34,7 @@ declare const formFieldMap: {
34
34
  };
35
35
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
36
36
  options?: any;
37
- optionSourceType?: "custom" | "api" | "default" | undefined;
37
+ optionSourceType?: "default" | "custom" | "api" | undefined;
38
38
  labelField: string;
39
39
  valueField: string;
40
40
  extraParams?: Record<string, any> | undefined;
@@ -59,19 +59,7 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./IconSelect/type").IconSelectProps & 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("./Upload/type").UploadProps & 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("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<any> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
63
- options?: any;
64
- optionSourceType?: "custom" | "api" | "default" | undefined;
65
- labelField: string;
66
- valueField: string;
67
- extraParams?: Record<string, any> | undefined;
68
- } & {
69
- dataSource?: any;
70
- }) => JSX.Element) | (import("react").FC<{}> & {
71
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
72
- } & {
73
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
74
- }) | 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("./Input/type").InputProps> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
75
63
  JSON: import("react").FC<any>;
76
64
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
77
65
  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>;
@@ -91,11 +79,23 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
91
79
  name?: string | undefined;
92
80
  fieldKey?: string | undefined;
93
81
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
94
- }) | (import("react").FC<{}> & {
82
+ }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
84
+ } & {
85
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
+ }) | 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<{}> & {
95
87
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
96
88
  } & {
97
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
98
- }) | 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("antd").InputProps & {
90
+ }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
91
+ options?: any;
92
+ optionSourceType?: "default" | "custom" | "api" | undefined;
93
+ labelField: string;
94
+ valueField: string;
95
+ extraParams?: Record<string, any> | undefined;
96
+ } & {
97
+ dataSource?: any;
98
+ }) => JSX.Element) | 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("antd").InputProps & {
99
99
  onChange: (value: string) => void;
100
- } & 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>;
100
+ } & 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>;
101
101
  export { getFieldComponent, formFieldMap };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DatePicker: (props: any) => JSX.Element;
2
3
  export default DatePicker;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Dropdown: (props: any) => JSX.Element;
3
2
  export default Dropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: () => JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: (props: any) => JSX.Element;
3
2
  export default Text;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -0,0 +1,8 @@
1
+ import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
2
+ import React from 'react';
3
+ interface IconFontProps extends IconComponentProps {
4
+ type: string;
5
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
6
+ }
7
+ declare const IconFont: React.FC<IconFontProps>;
8
+ export default IconFont;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface PisellCardProps extends CardProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
3
2
  import { Dayjs } from 'dayjs';
4
3
  import './detePickerCpt.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PisellDatePicker: (props: any) => JSX.Element;
3
2
  export default PisellDatePicker;
@@ -0,0 +1,50 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface ApplicableProductDetails {
4
+ amount: string;
5
+ type: string;
6
+ resource_id: number;
7
+ title: string;
8
+ original_amount: string;
9
+ }
10
+ interface Discount {
11
+ id: number;
12
+ product_name: string;
13
+ encoded: string;
14
+ code: string;
15
+ tag: string;
16
+ expire_time?: string;
17
+ product_id: number;
18
+ relation_type: string;
19
+ par_value: string;
20
+ used_par_value: string;
21
+ limit_status: string;
22
+ limited_relation_product_data: any;
23
+ balance: string;
24
+ format_title: any;
25
+ product: any;
26
+ savedAmount: number;
27
+ isDisabled: boolean;
28
+ isSelected?: boolean;
29
+ isAvailable?: boolean;
30
+ isUsed?: boolean;
31
+ applicableProductIds?: number[];
32
+ applicableProductDetails: ApplicableProductDetails[];
33
+ appliedProductDetails: any[];
34
+ }
35
+ export interface PisellGoodPassCardProps {
36
+ /**数据源 */
37
+ dataSource: Array<Discount>;
38
+ /**事件 */
39
+ onChange?: (current: {
40
+ id: string | number;
41
+ isSelected: boolean;
42
+ }) => void;
43
+ /**样式 */
44
+ style: React.CSSProperties;
45
+ /**快捷展示排序 */
46
+ mixedSort?: (val: Discount[]) => Discount[];
47
+ isInModal: boolean;
48
+ }
49
+ declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
50
+ export default index;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ScanProps {
4
3
  onChange: (val: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import './index.less';
4
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
3
2
  import { PisellContextType } from "../pisell-config-provider/context";
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { UploadProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface PisellUploadProps extends UploadProps {
@@ -457,7 +457,7 @@ var PisellWalletPassCard = (props) => {
457
457
  useThousandsSeparator: true,
458
458
  value: discount
459
459
  }
460
- )) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, discount, "% ", (0, import_locales.getText)("pisell-discount-card-unit"))))), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap", style: { marginRight: showQrCode && !isMini ? 60 : 0 } }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && !isMini && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && /* @__PURE__ */ import_react.default.createElement("div", null, formatValidDate))));
460
+ )) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, discount, "% ", (0, import_locales.getText)("pisell-discount-card-unit"))))), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap", style: { marginRight: showQrCode && !isMini ? 60 : 0 } }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && !isMini && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && (!isMini || !_showHolderName) && /* @__PURE__ */ import_react.default.createElement("div", null, formatValidDate))));
461
461
  };
462
462
  const getInputItem = (name2) => {
463
463
  if ("validDate" === name2) {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Divider: ({ type }: any) => JSX.Element;
4
3
  export default Divider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
4
3
  style?: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Radio: (props: any) => JSX.Element;
3
2
  export default Radio;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SegmentedProps } from "antd";
3
2
  import "./index.less";
4
3
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Skeleton: (props: any) => JSX.Element;
3
2
  export default Skeleton;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SliderOuter: (props: any) => JSX.Element;
3
2
  export default SliderOuter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
  import "./index.less";
4
3
  interface InlineMenuProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './PopoverContent.less';
3
2
  declare type FieldType = string | number;
4
3
  export declare type GroupValue = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Summary: ({ summary }: any) => JSX.Element | null;
4
3
  export default Summary;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;