@pisell/materials 6.4.6 → 6.5.1

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 (223) 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/meta.js +1 -1
  5. package/es/components/batch-editor/index.d.ts +1 -0
  6. package/es/components/cardPro/index.d.ts +4 -0
  7. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  8. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  9. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  10. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  13. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  14. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  16. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  17. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  18. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  19. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  21. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  22. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  23. package/es/components/date-picker/index.d.ts +1 -0
  24. package/es/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
  25. package/es/components/drag-sort-tree/index.d.ts +1 -0
  26. package/es/components/filter/index.d.ts +1 -0
  27. package/es/components/iconfont/index.d.ts +8 -0
  28. package/es/components/list/index.d.ts +1 -0
  29. package/es/components/lowCodePage/index.d.ts +1 -0
  30. package/es/components/pisell-config-provider/context.d.ts +22 -0
  31. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  32. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  33. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  34. package/es/components/pisellLoading/index.d.ts +1 -0
  35. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  36. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  37. package/es/components/pisellModal/components/index.d.ts +1 -0
  38. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  39. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  40. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  41. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  42. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  43. package/es/components/productCard/components/Action/index.d.ts +3 -0
  44. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  45. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  46. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  47. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  48. package/es/components/productCard/components/Note/index.d.ts +1 -0
  49. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  50. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  51. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  52. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  53. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  54. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  55. package/es/components/productCard/locales.d.ts +84 -0
  56. package/es/components/productCard/status.d.ts +32 -0
  57. package/es/components/productCard/types.d.ts +84 -0
  58. package/es/components/qrcode/index.d.ts +1 -0
  59. package/es/components/select-time/index.d.ts +1 -0
  60. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  61. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  62. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  63. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  64. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  65. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  66. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  67. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  68. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  69. package/es/components/table/Actions/index.d.ts +1 -0
  70. package/es/components/table/BasicTable/index.d.ts +1 -0
  71. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  72. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  73. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  74. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  75. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/index.d.ts +3 -2
  80. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  85. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  92. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  93. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  94. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  95. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  96. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  97. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  98. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  99. package/es/components/table/Table/utils.d.ts +1 -1
  100. package/es/components/table/View/index.d.ts +1 -0
  101. package/es/components/table/types.d.ts +251 -0
  102. package/es/components/versionSelect/index.d.ts +1 -0
  103. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  104. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  105. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  106. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  107. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  108. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  109. package/es/components/walletCard/Guide/index.d.ts +4 -0
  110. package/es/locales/en-US.d.ts +285 -0
  111. package/es/locales/zh-CN.d.ts +280 -0
  112. package/es/locales/zh-TW.d.ts +280 -0
  113. package/es/utils/index.d.ts +1 -1
  114. package/lib/components/batch-editor/index.d.ts +1 -0
  115. package/lib/components/cardPro/index.d.ts +4 -0
  116. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  117. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  118. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  119. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  120. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  121. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  122. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  123. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  124. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  125. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  126. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  127. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  128. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  129. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  130. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  131. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  132. package/lib/components/date-picker/index.d.ts +1 -0
  133. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
  134. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  135. package/lib/components/filter/index.d.ts +1 -0
  136. package/lib/components/iconfont/index.d.ts +8 -0
  137. package/lib/components/list/index.d.ts +1 -0
  138. package/lib/components/lowCodePage/index.d.ts +1 -0
  139. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  140. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  141. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  142. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  143. package/lib/components/pisellLoading/index.d.ts +1 -0
  144. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  145. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  146. package/lib/components/pisellModal/components/index.d.ts +1 -0
  147. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  148. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  149. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  150. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  151. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  152. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  153. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  154. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  155. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  156. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  157. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  158. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  159. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  160. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  161. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  162. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  163. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  164. package/lib/components/productCard/locales.d.ts +84 -0
  165. package/lib/components/productCard/status.d.ts +32 -0
  166. package/lib/components/productCard/types.d.ts +84 -0
  167. package/lib/components/qrcode/index.d.ts +1 -0
  168. package/lib/components/select-time/index.d.ts +1 -0
  169. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  170. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  171. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  172. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  173. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  174. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  175. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  176. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  177. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  178. package/lib/components/table/Actions/index.d.ts +1 -0
  179. package/lib/components/table/BasicTable/index.d.ts +1 -0
  180. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  181. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  182. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  183. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  184. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  185. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  186. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  187. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  188. package/lib/components/table/Table/fields/index.d.ts +3 -2
  189. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  190. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  191. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  192. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  193. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  194. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  195. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  196. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  197. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  198. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  199. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  200. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  201. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  202. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  203. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  204. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  205. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  206. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  207. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  208. package/lib/components/table/Table/utils.d.ts +1 -1
  209. package/lib/components/table/View/index.d.ts +1 -0
  210. package/lib/components/table/types.d.ts +251 -0
  211. package/lib/components/versionSelect/index.d.ts +1 -0
  212. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  213. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  214. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  215. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  216. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  217. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  218. package/lib/components/walletCard/Guide/index.d.ts +4 -0
  219. package/lib/locales/en-US.d.ts +285 -0
  220. package/lib/locales/zh-CN.d.ts +280 -0
  221. package/lib/locales/zh-TW.d.ts +280 -0
  222. package/lib/utils/index.d.ts +1 -1
  223. package/package.json +1 -1
@@ -0,0 +1,251 @@
1
+ import { FilterType } from "../filter/types";
2
+ import { SortItemProps } from "../sort/types";
3
+ import React from "react";
4
+ export declare type StorageMode = "" | "localStorage";
5
+ /**
6
+ * 排序总配置
7
+ */
8
+ export declare type SortType = {
9
+ /** 排序是否展示 */
10
+ show: boolean;
11
+ /** 排序存储模式 */
12
+ storageMode: StorageMode;
13
+ list: SortItemProps[];
14
+ };
15
+ /**
16
+ * 列展示总配置
17
+ */
18
+ export declare type ColumnSettingType = {
19
+ /** 列设置是否展示 */
20
+ show: boolean;
21
+ /** 列设置存储模式 */
22
+ storageMode: StorageMode;
23
+ };
24
+ declare type DataSourceListItemType = {
25
+ isCustom: boolean;
26
+ columnKey?: string;
27
+ label?: string;
28
+ name?: string | string[];
29
+ isHidden?: boolean;
30
+ };
31
+ /**
32
+ * 数据源分组总配置
33
+ */
34
+ export declare type DataSourceGroupType = {
35
+ /** 分组设置是否展示 */
36
+ show: boolean;
37
+ /** 分组设置存储模式 */
38
+ storageMode: StorageMode;
39
+ /** */
40
+ list: DataSourceListItemType[];
41
+ };
42
+ /**
43
+ * Gallery封面总配置
44
+ */
45
+ declare type GalleryCoverType = {
46
+ /** 封面是否展示 */
47
+ show: boolean;
48
+ /**
49
+ * 封面图片可以使用的字段
50
+ */
51
+ fields: string[];
52
+ /**
53
+ * 封面高度
54
+ */
55
+ height: number;
56
+ /** 图片裁剪方式 */
57
+ objectFit: "fill" | "cover";
58
+ };
59
+ /**
60
+ * Gallery标题总配置
61
+ */
62
+ declare type GalleryTitleType = {
63
+ /** 标题使用的字段 */
64
+ field: string;
65
+ /** 标题行数 */
66
+ line: number;
67
+ };
68
+ /**
69
+ * Gallery头部区域总配置
70
+ */
71
+ declare type GalleryHeaderType = {
72
+ /** 头部区域插槽 */
73
+ slot?: (record: Record<string, any>, index: number) => React.ReactNode;
74
+ /** 头部区域其他字段设置 */
75
+ fields: {
76
+ /** 头部区域其他字段是否展示 */
77
+ show: boolean;
78
+ /** 头部区域其他字段 */
79
+ list: string[];
80
+ };
81
+ };
82
+ /**
83
+ * Gallery内容区域总配置
84
+ */
85
+ declare type GalleryContentType = {
86
+ /** 内容区域字段配置 */
87
+ fields: {
88
+ columnKey: string;
89
+ show: boolean;
90
+ }[];
91
+ };
92
+ export declare type GallerySettingValueType = {
93
+ coverField: string | "noCover";
94
+ coverObjectFit: "fill" | "cover";
95
+ compactMode: "default" | "compact";
96
+ isShowLabel: boolean;
97
+ };
98
+ /**
99
+ * Gallery底部区域总配置
100
+ */
101
+ declare type GalleryFooterType = {
102
+ /** 底部区域自定义渲染 */
103
+ render: (record: Record<string, any>, index: number) => React.ReactNode;
104
+ /** 底部区域高度 */
105
+ height: number;
106
+ };
107
+ /**
108
+ * Gallery模式总配置
109
+ */
110
+ export declare type GallerySettingType = {
111
+ /** 卡片最小宽度 */
112
+ cardMinWidth: number;
113
+ /** 卡片最大宽度 */
114
+ cardMaxWidth: number;
115
+ /** 水平间隔 */
116
+ horizontalGutter: number;
117
+ /** 垂直间隔 */
118
+ verticalGutter: number;
119
+ /** 封面配置 */
120
+ cover: GalleryCoverType;
121
+ /** 标题配置 */
122
+ title: GalleryTitleType;
123
+ /** 头部区域 */
124
+ header: GalleryHeaderType;
125
+ /** 内容区域 */
126
+ content: GalleryContentType;
127
+ /** 固定高度 */
128
+ fixedHeight: boolean;
129
+ /** 固定的卡片高度 */
130
+ cardHeight: number;
131
+ /** 固定顶部 */
132
+ fixedHeader: boolean;
133
+ /** 固定底部 */
134
+ fixedFooter: boolean;
135
+ /** 底部区域 */
136
+ footer: GalleryFooterType;
137
+ /** 卡片点击时间 */
138
+ onItem: (record: Record<string, any>, index: number) => void;
139
+ };
140
+ /** 视图模式 */
141
+ export declare type ModeType = "grid" | "gallery" | "kanban";
142
+ /**
143
+ * 视图模式总配置
144
+ */
145
+ export declare type GridViewType = {
146
+ /** 默认视图模式 */
147
+ defaultViewMode: ModeType;
148
+ /** 开启多视图模式可进行页面内转换 */
149
+ multiple: boolean;
150
+ /** 当前可用的视图模式列表 */
151
+ modeList: ModeType[];
152
+ };
153
+ declare type SortDetail = {
154
+ fromIndex: number;
155
+ toIndex: number;
156
+ dataSource: Record<string, any>[];
157
+ fromId: number | string;
158
+ toId: number | string;
159
+ fromItem: Record<string, any>;
160
+ toItem: Record<string, any>;
161
+ };
162
+ /** 导入导出模式 */
163
+ export declare type ExportImportModeType = "import" | "export" | "export_file" | "import_log";
164
+ /**
165
+ * @title: 导出导入api
166
+ * @description:
167
+ * @return {*}
168
+ * @Author: WangHan
169
+ * @Date: 2024-09-11 15:44
170
+ */
171
+ export declare type ApiProps = {
172
+ export?: string;
173
+ import?: string;
174
+ export_file: string;
175
+ import_log?: string;
176
+ template?: string;
177
+ };
178
+ /**
179
+ * 导入导出配置
180
+ */
181
+ export declare type ExportImportType = {
182
+ /** 是否展示 */
183
+ show: boolean;
184
+ /** 当前所选项 */
185
+ selectLists: string[];
186
+ /** 导入模版链接 */
187
+ templateFileUrl: string;
188
+ /** 标题 */
189
+ title: string;
190
+ hiddenKeys?: string[];
191
+ apiUrl?: ApiProps;
192
+ otherParams?: any;
193
+ };
194
+ export declare type GridViewProps = {
195
+ columns: any;
196
+ dataSource: any[];
197
+ dispatch: any;
198
+ /**
199
+ * 画册模式的配置
200
+ */
201
+ gallery: GallerySettingType;
202
+ /**
203
+ * 视图设置
204
+ */
205
+ view: GridViewType;
206
+ style: React.CSSProperties;
207
+ pagination: any;
208
+ filter: FilterType;
209
+ buttons: React.ReactNode | any[];
210
+ actionButtons: any;
211
+ sort: SortType;
212
+ title?: React.ReactNode | (() => React.ReactNode);
213
+ showTitle?: boolean;
214
+ subTitle?: React.ReactNode | (() => React.ReactNode);
215
+ showSubTitle?: boolean;
216
+ exportImport: ExportImportType;
217
+ onValuesChange: (changedValues: any, values: any) => void;
218
+ summary: any;
219
+ utils: any;
220
+ rowKey: ((record: Record<string, any>) => string) | string;
221
+ columnSetting?: ColumnSettingType;
222
+ dataSourceGroup?: DataSourceGroupType;
223
+ loading: boolean;
224
+ dragSort: boolean;
225
+ onSortChange?: (detail: SortDetail) => boolean;
226
+ __id?: string;
227
+ __designMode?: "design";
228
+ /**
229
+ * 当前本地配置的key 用此hash是否改变用来判断是否清空本地配置 不填默认使用columns数据生成hash
230
+ */
231
+ currentSettingKey?: string;
232
+ /**
233
+ * 当前本地配置的唯一值, 不填默认使用currentSettingKey
234
+ */
235
+ currentComponentId?: string;
236
+ /**
237
+ * 当前表格中数据发生变化事件 包含本地筛选和外部传入数据变化
238
+ * @param currentDataSource
239
+ */
240
+ onDataSourceChange?: (currentDataSource: Record<string, any>[]) => void;
241
+ tabs: {
242
+ show: boolean;
243
+ type: 'default' | 'button' | 'buttonGroup' | 'dropdown';
244
+ items: {
245
+ name: string;
246
+ filterBy?: Record<string, any>;
247
+ sortBy?: string;
248
+ }[];
249
+ };
250
+ };
251
+ export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface Version {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AmountProps, RightItemsStyleProps } from './types';
2
3
  import './index.less';
3
4
  export type { AmountProps, RightItemsStyleProps };
@@ -0,0 +1,32 @@
1
+ export declare const amountThemeConfig: {
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
+ keyboardBackgroundColor: string;
13
+ keyboardButtonBackgroundColor: string;
14
+ keyboardButtonTextColor: string;
15
+ keyboardButtonHoverColor: 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
+ keyboardBackgroundColor: string;
28
+ keyboardButtonBackgroundColor: string;
29
+ keyboardButtonTextColor: string;
30
+ keyboardButtonHoverColor: string;
31
+ };
32
+ };
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type ItemValue = string | number;
4
+ export interface Item {
5
+ value: ItemValue;
6
+ label: React.ReactNode;
7
+ disabled: boolean;
8
+ type: 'text' | 'primary';
9
+ style?: React.CSSProperties;
10
+ size?: number;
11
+ }
12
+ export interface KeyboardProps {
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+ onChange?: (value?: ItemValue) => void;
16
+ items?: Item[];
17
+ rightItems?: Item[];
18
+ keydown?: boolean;
19
+ }
20
+ declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
21
+ export default _default;
@@ -0,0 +1,32 @@
1
+ export declare const numberThemeConfig: {
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
+ keyboardBackgroundColor: string;
13
+ keyboardButtonBackgroundColor: string;
14
+ keyboardButtonTextColor: string;
15
+ keyboardButtonHoverColor: 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
+ keyboardBackgroundColor: string;
28
+ keyboardButtonBackgroundColor: string;
29
+ keyboardButtonTextColor: string;
30
+ keyboardButtonHoverColor: string;
31
+ };
32
+ };
@@ -0,0 +1,26 @@
1
+ export interface NumberProps {
2
+ max?: number;
3
+ min?: number;
4
+ doneText?: string;
5
+ resetText: string;
6
+ defaultValue?: string | number;
7
+ placeholder?: string;
8
+ value?: string | number;
9
+ onChange?: (val: string | number) => void;
10
+ onEnter?: (val: string | number) => void;
11
+ defaultSelect?: boolean;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ resetButtonBackgroundColor?: string;
18
+ resetButtonTextColor?: string;
19
+ isDoneButtonFollowTheme?: boolean;
20
+ doneButtonBackgroundColor?: string;
21
+ doneButtonTextColor?: string;
22
+ keyboardBackgroundColor?: string;
23
+ keyboardButtonBackgroundColor?: string;
24
+ keyboardButtonTextColor?: string;
25
+ keyboardButtonHoverColor?: string;
26
+ }
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'antd';
3
+ import './index.less';
4
+ export interface VirtualKeyInputProps extends InputProps {
5
+ previewValue?: string;
6
+ renderInput?: (props: any) => any;
7
+ showDelete?: boolean;
8
+ onValueSelect?: (selected: boolean) => void;
9
+ defaultSelect?: boolean;
10
+ style?: React.CSSProperties;
11
+ }
12
+ declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
13
+ export default VirtualKeyInput;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Guide: (props: any) => JSX.Element;
4
+ export default Guide;
@@ -0,0 +1,285 @@
1
+ declare const _default: {
2
+ "table-filter-search": string;
3
+ "table-filter-clear": string;
4
+ "table-filter-filter": string;
5
+ "table-filter-min": string;
6
+ "table-filter-max": string;
7
+ "table-pagination-previous": string;
8
+ "table-pagination-next": string;
9
+ "table-pagination-total": (current: string, total: string) => string;
10
+ "select-dropdown-render-select-all": string;
11
+ "select-dropdown-render-search": string;
12
+ "sort-button-text": string;
13
+ "sort-oldest-to-newest": string;
14
+ "sort-newest-to-oldest": string;
15
+ "sort-a-z": string;
16
+ "sort-z-a": string;
17
+ "sort-from-morning-to-night": string;
18
+ "sort-from-evening-to-morning": string;
19
+ "sort-0-9": string;
20
+ "sort-9-0": string;
21
+ "table-action-filter-button": string;
22
+ "table-action-filter-quick-filter": string;
23
+ "table-action-filter-quick-filter-tip": (count: number) => string;
24
+ "table-action-filter-other-filter": string;
25
+ "table-action-filter-other-filter-tip": () => string;
26
+ "table-action-group-by-title": string;
27
+ "table-action-group-by-title-tip": string;
28
+ "table-action-column-title": string;
29
+ "table-column-group-records": string;
30
+ "table-column-group-lock-tip": string;
31
+ "table-column-drag-sort-disabled-tip": string;
32
+ "table-action-filter-no-filter": string;
33
+ "table-action-range-picker-presets-today": string;
34
+ "table-action-range-picker-presets-yesterday": string;
35
+ "table-action-range-picker-presets-last-3-day": string;
36
+ "table-action-range-picker-presets-last-7-day": string;
37
+ "table-action-range-picker-presets-last-14-day": string;
38
+ "table-action-range-picker-presets-last-30-day": string;
39
+ "table-action-range-picker-presets-last-90-day": string;
40
+ "virtual-keyboard-time-now": string;
41
+ "virtual-keyboard-time-ok": string;
42
+ 'batch-editor-batch-edit': string;
43
+ 'batch-editor-actions': string;
44
+ 'batch-editor-remove': string;
45
+ 'batch-editor-price': string;
46
+ 'batch-editor-cancel': string;
47
+ 'batch-editor-search': string;
48
+ 'batch-editor-confirm': string;
49
+ 'batch-editor-batch-remove': string;
50
+ 'batch-editor-quick-edit': string;
51
+ 'batch-editor-what-price': string;
52
+ 'batch-editor-quick-edit-title': (product: string, num: string) => string;
53
+ 'batch-editor-quick-edit-title-2': (product: string) => string;
54
+ 'table-action-export-import-export-success': string;
55
+ 'table-action-export-import-button': string;
56
+ 'table-action-export-import-export-range': string;
57
+ 'table-action-export-import-current-page': string;
58
+ 'table-action-export-import-all-records': string;
59
+ 'table-action-export-import-selected-records': string;
60
+ 'table-action-export-import-selected': string;
61
+ 'table-action-export-import-item': (length: number) => string;
62
+ 'table-action-export-import-product': string;
63
+ 'table-action-export-import-table-text-input-title': string;
64
+ 'table-action-export-import-table-text-input-describe': string;
65
+ 'table-action-export-import-table-error-file': string;
66
+ 'table-action-export-import-import-success': string;
67
+ 'table-action-export-import-import-phone': string;
68
+ 'table-action-export-import-table-success-download': string;
69
+ 'table-action-export-import-table-textimport-product': string;
70
+ 'table-action-export-import-table-text-product-template': string;
71
+ 'table-action-export-import-table-text-click-download': string;
72
+ 'table-action-export-import-table-text-edit-file': string;
73
+ 'table-action-export-import-button-import': string;
74
+ 'table-action-export-import-cancel': string;
75
+ 'table-action-export-import-file-completed': string;
76
+ 'table-action-export-import-file-processing': string;
77
+ 'table-action-export-import-file-pending': string;
78
+ 'table-action-export-import-file-refresh': string;
79
+ 'table-action-export-import-export-title': string;
80
+ 'table-action-export-import-file-hint': string;
81
+ 'table-action-export-import-file-name': string;
82
+ 'table-action-export-import-file-content': string;
83
+ 'table-action-export-import-file-content-all': string;
84
+ 'table-action-export-import-file-content-part': string;
85
+ 'table-action-export-import-file-status': string;
86
+ 'table-action-export-import-file-account': string;
87
+ 'table-action-export-import-file-created': string;
88
+ 'table-action-export-import-file-record': (length: number) => string;
89
+ 'table-action-export-import-import-title': string;
90
+ 'table-action-export-import-log-hint': string;
91
+ 'table-action-export-import-log-name': string;
92
+ 'table-action-export-import-log-result': string;
93
+ 'table-action-export-import-log-ok': (num: number) => string;
94
+ 'table-action-export-import-log-err': (num: number) => string;
95
+ 'table-action-export-import-log-check': string;
96
+ 'table-action-export-import-log-detail-title': string;
97
+ 'table-action-export-import-log-err-log': string;
98
+ 'table-action-export-import-log-copy': string;
99
+ 'table-action-export-import-table-success-copy': string;
100
+ 'drag-sort-tree-unavailable-today-tip': string;
101
+ 'date-picker-today': string;
102
+ 'date-picker-yesterday': string;
103
+ 'date-picker-tomorrow': string;
104
+ 'date-picker-next_monday': string;
105
+ 'date-picker-last_friday': string;
106
+ 'date-picker-first_day_of_this_month': string;
107
+ 'date-picker-last_day_of_this_month': string;
108
+ 'date-picker-first_day_of_next_month': string;
109
+ 'date-picker-last_day_of_last_month': string;
110
+ 'date-picker-invalid-date': string;
111
+ "date-picker-apply": string;
112
+ 'date-picker-shortcut-custom': string;
113
+ 'pisell-input-copy-success': string;
114
+ 'pisell-input-copy': string;
115
+ 'pisell-empty-description-no-data': string;
116
+ 'pisell-information-entry-input-search': string;
117
+ 'pisell-information-entry-input-confirm': string;
118
+ 'pisell-information-entry-scan-exit': string;
119
+ 'pisell-wallet-pass-card-detail': string;
120
+ 'pisell-wallet-pass-card-edit': string;
121
+ 'pisell-wallet-pass-card-name': string;
122
+ 'pisell-wallet-pass-card-store-name': string;
123
+ 'pisell-wallet-pass-card-balance': string;
124
+ 'pisell-wallet-pass-card-redeem': string;
125
+ 'pisell-wallet-pass-card-code': string;
126
+ 'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-confirm': string;
128
+ 'pisell-wallet-pass-card-cancel': string;
129
+ 'pisell-wallet-pass-card-required': string;
130
+ 'pisell-wallet-pass-card-expireDate': string;
131
+ 'pisell-adjust-price-price-override': string;
132
+ 'pisell-adjust-price-discount': string;
133
+ 'pisell-adjust-price-discount-amount': string;
134
+ 'pisell-adjust-price-discount-percentage': string;
135
+ 'pisell-adjust-price-total-after-discount': string;
136
+ 'pisell-adjust-price-discount-can-be-maximum': string;
137
+ 'pisell-discount-card-title': string;
138
+ 'pisell-discount-card-unit': string;
139
+ 'pisell-discount-card-fixed-amount-prefix': string;
140
+ 'pisell-data-source-table-add': string;
141
+ 'pisell-data-source-table-edit': string;
142
+ 'pisell-data-source-table-detail': string;
143
+ 'pisell-data-source-table-delete': string;
144
+ 'pisell-record-view-available': string;
145
+ 'pisell-record-view-unavailable': string;
146
+ 'pisell-data-source-form-required-message': string;
147
+ 'pisell-data-source-form-email-message': string;
148
+ 'pisell-data-source-form-domain-message': string;
149
+ 'pisell-data-source-form-url-message': string;
150
+ 'pisell-data-source-form-phone-message': string;
151
+ 'pisell-data-source-form-min-length-message': (minLength: number) => string;
152
+ 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
153
+ 'pisell-data-source-form-min-value-message': (minValue: number) => string;
154
+ 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
155
+ 'pisell-data-source-form-mobile-message': string;
156
+ 'pisell-data-source-form-pattern-message': string;
157
+ 'pisell-number-format-thousand': string;
158
+ 'pisell-number-format-million': string;
159
+ 'pisell-number-format-billion': string;
160
+ 'walletCard-done': string;
161
+ 'walletCard-qrcode': string;
162
+ 'walletCard-barcode': string;
163
+ 'pisell-upload-button': string;
164
+ 'pisell-upload-setting-size-error': (maxSize: number) => string;
165
+ 'pisell-upload-setting-type-error': (type: string) => string;
166
+ 'pisell-upload-count-error': (count: number) => string;
167
+ 'pisell-upload-error': (name: string) => string;
168
+ 'pisell-upload-multilingual-title': string;
169
+ 'pisell-upload-multilingual-item-title-original': string;
170
+ 'pisell-upload-multilingual-item-title-en': string;
171
+ 'pisell-upload-multilingual-item-title-zh-CN': string;
172
+ 'pisell-upload-multilingual-item-title-zh-HK': string;
173
+ 'pisell-color-picker-default': string;
174
+ 'pisell-action-get-data': string;
175
+ 'pisell-action-delete-success': string;
176
+ 'pisell-action-delete-failed': string;
177
+ 'walletCard-piont': string;
178
+ 'walletCard-rechargeable': string;
179
+ 'walletCard-voucher': string;
180
+ 'walletCard-discount': string;
181
+ 'pisellQrcode-done': string;
182
+ 'pisellQrcode-qrcode': string;
183
+ 'pisell-delete-confirm-title': string;
184
+ 'pisell-delete-confirm-content': string;
185
+ 'pisell-delete-confirm-ok': string;
186
+ 'pisell-delete-confirm-cancel': string;
187
+ 'pisell-design-mode-action-disabled': string;
188
+ 'pisell-translation-original': string;
189
+ 'pisell-version-modal-title': string;
190
+ 'pisell-version-modal-current-version': string;
191
+ 'pisell-version-modal-version': string;
192
+ 'pisell-version-modal-update-notes': string;
193
+ 'pisell-version-modal-patch': string;
194
+ 'pisell-version-modal-minor': string;
195
+ 'pisell-version-modal-major': string;
196
+ 'pisell-version-modal-custom': string;
197
+ 'pisell-version-modal-cancel': string;
198
+ 'pisell-version-modal-confirm': string;
199
+ 'pisell-version-modal-describe-update-notes': string;
200
+ 'pisell-version-modal-version-error': string;
201
+ 'pisell-version-modal-version-required': string;
202
+ 'pisell-version-modal-based-on-version': string;
203
+ 'subdomain-error-too-short': string;
204
+ 'subdomain-error-too-long': string;
205
+ 'subdomain-error-pattern': string;
206
+ 'subdomain-error-numbers-only': string;
207
+ 'subdomain-error-hyphen-ends': string;
208
+ 'subdomain-error-consecutive-hyphens': string;
209
+ 'subdomain-error-required': string;
210
+ 'pisell-icon-select-outlined': string;
211
+ 'pisell-icon-select-filled': string;
212
+ 'pisell-icon-select-two-tone': string;
213
+ 'pisell-icon-select-iconfont': string;
214
+ 'pisell-icon-select-search': string;
215
+ 'pisell-icon-select-select': string;
216
+ 'pisell-lowcode-app-version-control-live': string;
217
+ 'pisell-lowcode-app-version-control-draft': string;
218
+ 'pisell-lowcode-app-version-control-deprecated': string;
219
+ 'pisell-lowcode-app-version-control-new-version': string;
220
+ 'pisell-lowcode-app-version-control-promote-to-live': string;
221
+ 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
222
+ 'pisell-lowcode-app-version-control-promote-version-describe': string;
223
+ 'pisell-lowcode-app-version-control-promote-version-ok': string;
224
+ 'pisell-lowcode-app-version-control-promote-version-cancel': string;
225
+ 'pisell-lowcode-app-version-control-version-exists': string;
226
+ 'pisell-lowcode-drop-sort-add': string;
227
+ 'pisell-lowcode-navigation-menu-add-sub-menu': string;
228
+ 'pisell-lowcode-navigation-menu-add-page': string;
229
+ 'pisell-lowcode-navigation-menu-add-page-tip': string;
230
+ 'pisell-lowcode-navigation-menu-tag-base': string;
231
+ 'pisell-lowcode-navigation-menu-tag-proCode': string;
232
+ 'pisell-lowcode-navigation-menu-tag-pisell1': string;
233
+ 'pisell-lowcode-navigation-menu-tag-group': string;
234
+ 'pisell-lowcode-navigation-menu-tag-sub-menu': string;
235
+ 'pisell-lowcode-navigation-menu-tag-custom': string;
236
+ 'pisell-data-source-form-app-identifier-pattern': string;
237
+ 'pisell-data-source-form-app-identifier-start-with-letter': string;
238
+ 'pisell-group-permissions-rule-required': string;
239
+ 'pisell-group-permissions-rule-limit': string;
240
+ 'pisell-data-source-form-app-identifier-letters-only': string;
241
+ 'pisell-data-source-form-app-identifier-alphanumeric': string;
242
+ 'pisell-data-source-form-app-identifier-special-ends': string;
243
+ 'pisell-data-source-form-app-identifier-consecutive-special': string;
244
+ "qrscanner-loading": string;
245
+ "qrscanner-success": string;
246
+ "qrscanner-success-qrcode": string;
247
+ "qrscanner-success-barcode": string;
248
+ "qrscanner-error-upload-image": string;
249
+ "qrscanner-error-load-failed": string;
250
+ "qrscanner-error-no-code": string;
251
+ "qrscanner-error-camera-init": string;
252
+ "qrscanner-error-process-image": string;
253
+ 'pisell-login-and-register-title': string;
254
+ 'pisell-login-and-register-subtitle': string;
255
+ 'pisell-login-and-register-email-label': string;
256
+ 'pisell-login-and-register-email-placeholder': string;
257
+ 'pisell-login-and-register-password-label': string;
258
+ 'pisell-login-and-register-password-placeholder': string;
259
+ 'pisell-login-and-register-email-error': string;
260
+ 'pisell-login-and-register-email-error-valid': string;
261
+ 'pisell-login-and-register-password-error': string;
262
+ 'pisell-login-and-register-login': string;
263
+ 'pisell-login-and-register-google': string;
264
+ 'pisell-login-and-register-facebook': string;
265
+ 'pisell-login-and-register-apple': string;
266
+ 'pisell-login-and-register-sign-up': string;
267
+ 'pisell-login-and-register-login-tab': string;
268
+ 'pisell-login-and-register-register-tab': string;
269
+ 'pisell-login-and-register-register-email-placeholder': string;
270
+ 'pisell-login-and-register-register-password-placeholder': string;
271
+ 'pisell-login-and-register-register-button-text': string;
272
+ 'pisell-login-and-register-remember-me': string;
273
+ 'pisell-login-and-register-forgot-password': string;
274
+ 'pisell2.text.goodpass.product-vouchers': string;
275
+ 'pisell2.text.goodpass.last-settlement': string;
276
+ 'pisell2.text.goodpass.view-more': string;
277
+ 'pisell2.text.goodpass.save': string;
278
+ 'pisell-wallet-pass-card-status-used': string;
279
+ 'pisell-wallet-pass-card-status-expired': string;
280
+ 'pisell-wallet-pass-card-status-disabled': string;
281
+ 'pisell-wallet-pass-card-status-conflict': string;
282
+ 'pisell-wallet-pass-card-reset': string;
283
+ 'pisell-wallet-pass-card-done': string;
284
+ };
285
+ export default _default;