@pisell/materials 1.0.885 → 1.0.887

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 (209) 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/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +2 -2
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +2 -2
  9. package/es/components/translation/index.js +2 -1
  10. package/es/components/translation/index.less +4 -2
  11. package/lib/components/translation/index.js +2 -1
  12. package/lib/components/translation/index.less +4 -2
  13. package/package.json +1 -1
  14. package/es/components/appVersionControl/index.d.ts +0 -5
  15. package/es/components/appVersionControl/index.d.ts.map +0 -1
  16. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -4
  17. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts.map +0 -1
  18. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -57
  19. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts.map +0 -1
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts.map +0 -1
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts.map +0 -1
  24. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  25. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts.map +0 -1
  26. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -11
  27. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts.map +0 -1
  28. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -11
  29. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts.map +0 -1
  30. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  31. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts.map +0 -1
  32. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  33. package/es/components/drag-sort-tree/TreeItem/index.d.ts.map +0 -1
  34. package/es/components/drag-sort-tree/index.d.ts +0 -5
  35. package/es/components/drag-sort-tree/index.d.ts.map +0 -1
  36. package/es/components/iconfont/index.d.ts +0 -9
  37. package/es/components/iconfont/index.d.ts.map +0 -1
  38. package/es/components/login-and-register/index.d.ts +0 -83
  39. package/es/components/login-and-register/index.d.ts.map +0 -1
  40. package/es/components/pisell-config-provider/index.d.ts +0 -13
  41. package/es/components/pisell-config-provider/index.d.ts.map +0 -1
  42. package/es/components/pisellAdjustPrice/index.d.ts +0 -10
  43. package/es/components/pisellAdjustPrice/index.d.ts.map +0 -1
  44. package/es/components/pisellEmpty/index.d.ts +0 -20
  45. package/es/components/pisellEmpty/index.d.ts.map +0 -1
  46. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  47. package/es/components/pisellGoodPassCard/index.d.ts.map +0 -1
  48. package/es/components/pisellToast/index.d.ts +0 -17
  49. package/es/components/pisellToast/index.d.ts.map +0 -1
  50. package/es/components/productCard/components/Action/index.d.ts +0 -4
  51. package/es/components/productCard/components/Action/index.d.ts.map +0 -1
  52. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  53. package/es/components/productCard/components/Header/DeleteButton/index.d.ts.map +0 -1
  54. package/es/components/productCard/components/Header/index.d.ts +0 -4
  55. package/es/components/productCard/components/Header/index.d.ts.map +0 -1
  56. package/es/components/productCard/components/Sales/index.d.ts +0 -4
  57. package/es/components/productCard/components/Sales/index.d.ts.map +0 -1
  58. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  59. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts.map +0 -1
  60. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  61. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts.map +0 -1
  62. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
  63. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts.map +0 -1
  64. package/es/components/productCard/components/Time/index.d.ts +0 -4
  65. package/es/components/productCard/components/Time/index.d.ts.map +0 -1
  66. package/es/components/productCard/index.d.ts +0 -6
  67. package/es/components/productCard/index.d.ts.map +0 -1
  68. package/es/components/productCard/locales.d.ts +0 -85
  69. package/es/components/productCard/locales.d.ts.map +0 -1
  70. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
  71. package/es/components/table/Actions/component/ExportImport/index.d.ts.map +0 -1
  72. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -15
  73. package/es/components/table/Gallery/components/GalleryItem/index.d.ts.map +0 -1
  74. package/es/components/table/Gallery/index.d.ts +0 -6
  75. package/es/components/table/Gallery/index.d.ts.map +0 -1
  76. package/es/components/table/Table/index.d.ts +0 -5
  77. package/es/components/table/Table/index.d.ts.map +0 -1
  78. package/es/components/table/Table/utils.d.ts +0 -162
  79. package/es/components/table/Table/utils.d.ts.map +0 -1
  80. package/es/components/table/hooks/useTableSetting.d.ts +0 -23
  81. package/es/components/table/hooks/useTableSetting.d.ts.map +0 -1
  82. package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
  83. package/es/components/table/hooks/useTransDataSource.d.ts.map +0 -1
  84. package/es/components/table/types.d.ts +0 -252
  85. package/es/components/table/types.d.ts.map +0 -1
  86. package/es/components/translation/index.d.ts +0 -15
  87. package/es/components/translation/index.d.ts.map +0 -1
  88. package/es/components/versionModal/index.d.ts +0 -24
  89. package/es/components/versionModal/index.d.ts.map +0 -1
  90. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -23
  91. package/es/components/virtual-keyboard/Amount/index.d.ts.map +0 -1
  92. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -20
  93. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts.map +0 -1
  94. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -22
  95. package/es/components/virtual-keyboard/Keyboard/index.d.ts.map +0 -1
  96. package/es/components/virtual-keyboard/Number/index.d.ts +0 -14
  97. package/es/components/virtual-keyboard/Number/index.d.ts.map +0 -1
  98. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -12
  99. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts.map +0 -1
  100. package/es/components/virtual-keyboard/index.d.ts +0 -15
  101. package/es/components/virtual-keyboard/index.d.ts.map +0 -1
  102. package/es/components/walletCard/index.d.ts +0 -68
  103. package/es/components/walletCard/index.d.ts.map +0 -1
  104. package/es/index.d.ts +0 -142
  105. package/es/index.d.ts.map +0 -1
  106. package/es/locales/en-US.d.ts +0 -279
  107. package/es/locales/en-US.d.ts.map +0 -1
  108. package/es/locales/zh-CN.d.ts +0 -274
  109. package/es/locales/zh-CN.d.ts.map +0 -1
  110. package/es/locales/zh-TW.d.ts +0 -274
  111. package/es/locales/zh-TW.d.ts.map +0 -1
  112. package/lib/components/appVersionControl/index.d.ts +0 -5
  113. package/lib/components/appVersionControl/index.d.ts.map +0 -1
  114. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -4
  115. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts.map +0 -1
  116. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -57
  117. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts.map +0 -1
  118. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  119. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts.map +0 -1
  120. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  121. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts.map +0 -1
  122. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  123. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts.map +0 -1
  124. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -11
  125. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts.map +0 -1
  126. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -11
  127. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts.map +0 -1
  128. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  129. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts.map +0 -1
  130. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  131. package/lib/components/drag-sort-tree/TreeItem/index.d.ts.map +0 -1
  132. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  133. package/lib/components/drag-sort-tree/index.d.ts.map +0 -1
  134. package/lib/components/iconfont/index.d.ts +0 -9
  135. package/lib/components/iconfont/index.d.ts.map +0 -1
  136. package/lib/components/login-and-register/index.d.ts +0 -83
  137. package/lib/components/login-and-register/index.d.ts.map +0 -1
  138. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  139. package/lib/components/pisell-config-provider/index.d.ts.map +0 -1
  140. package/lib/components/pisellAdjustPrice/index.d.ts +0 -10
  141. package/lib/components/pisellAdjustPrice/index.d.ts.map +0 -1
  142. package/lib/components/pisellEmpty/index.d.ts +0 -20
  143. package/lib/components/pisellEmpty/index.d.ts.map +0 -1
  144. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  145. package/lib/components/pisellGoodPassCard/index.d.ts.map +0 -1
  146. package/lib/components/pisellToast/index.d.ts +0 -17
  147. package/lib/components/pisellToast/index.d.ts.map +0 -1
  148. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  149. package/lib/components/productCard/components/Action/index.d.ts.map +0 -1
  150. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  151. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts.map +0 -1
  152. package/lib/components/productCard/components/Header/index.d.ts +0 -4
  153. package/lib/components/productCard/components/Header/index.d.ts.map +0 -1
  154. package/lib/components/productCard/components/Sales/index.d.ts +0 -4
  155. package/lib/components/productCard/components/Sales/index.d.ts.map +0 -1
  156. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  157. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts.map +0 -1
  158. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  159. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts.map +0 -1
  160. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
  161. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts.map +0 -1
  162. package/lib/components/productCard/components/Time/index.d.ts +0 -4
  163. package/lib/components/productCard/components/Time/index.d.ts.map +0 -1
  164. package/lib/components/productCard/index.d.ts +0 -6
  165. package/lib/components/productCard/index.d.ts.map +0 -1
  166. package/lib/components/productCard/locales.d.ts +0 -85
  167. package/lib/components/productCard/locales.d.ts.map +0 -1
  168. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
  169. package/lib/components/table/Actions/component/ExportImport/index.d.ts.map +0 -1
  170. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -15
  171. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts.map +0 -1
  172. package/lib/components/table/Gallery/index.d.ts +0 -6
  173. package/lib/components/table/Gallery/index.d.ts.map +0 -1
  174. package/lib/components/table/Table/index.d.ts +0 -5
  175. package/lib/components/table/Table/index.d.ts.map +0 -1
  176. package/lib/components/table/Table/utils.d.ts +0 -162
  177. package/lib/components/table/Table/utils.d.ts.map +0 -1
  178. package/lib/components/table/hooks/useTableSetting.d.ts +0 -23
  179. package/lib/components/table/hooks/useTableSetting.d.ts.map +0 -1
  180. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
  181. package/lib/components/table/hooks/useTransDataSource.d.ts.map +0 -1
  182. package/lib/components/table/types.d.ts +0 -252
  183. package/lib/components/table/types.d.ts.map +0 -1
  184. package/lib/components/translation/index.d.ts +0 -15
  185. package/lib/components/translation/index.d.ts.map +0 -1
  186. package/lib/components/versionModal/index.d.ts +0 -24
  187. package/lib/components/versionModal/index.d.ts.map +0 -1
  188. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -23
  189. package/lib/components/virtual-keyboard/Amount/index.d.ts.map +0 -1
  190. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -20
  191. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts.map +0 -1
  192. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -22
  193. package/lib/components/virtual-keyboard/Keyboard/index.d.ts.map +0 -1
  194. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -14
  195. package/lib/components/virtual-keyboard/Number/index.d.ts.map +0 -1
  196. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -12
  197. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts.map +0 -1
  198. package/lib/components/virtual-keyboard/index.d.ts +0 -15
  199. package/lib/components/virtual-keyboard/index.d.ts.map +0 -1
  200. package/lib/components/walletCard/index.d.ts +0 -68
  201. package/lib/components/walletCard/index.d.ts.map +0 -1
  202. package/lib/index.d.ts +0 -142
  203. package/lib/index.d.ts.map +0 -1
  204. package/lib/locales/en-US.d.ts +0 -279
  205. package/lib/locales/en-US.d.ts.map +0 -1
  206. package/lib/locales/zh-CN.d.ts +0 -274
  207. package/lib/locales/zh-CN.d.ts.map +0 -1
  208. package/lib/locales/zh-TW.d.ts +0 -274
  209. package/lib/locales/zh-TW.d.ts.map +0 -1
@@ -1,39 +0,0 @@
1
- import { Drawer } from 'antd';
2
- import { OperationItem } from '../type';
3
- declare const useDrawerState: (operationContent?: {
4
- [key: string]: import("react").ReactNode;
5
- } | undefined) => {
6
- drawerVisible: boolean;
7
- setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
- openDrawer: (item: OperationItem) => void;
9
- closeDrawer: () => void;
10
- drawerContent: import("react").ReactNode;
11
- Container: {
12
- (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
13
- confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
14
- destroy: () => void;
15
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
16
- };
17
- info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
18
- destroy: () => void;
19
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
- };
21
- error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
22
- destroy: () => void;
23
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
24
- };
25
- warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
26
- warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
27
- destroy: () => void;
28
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
29
- };
30
- success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
31
- destroy: () => void;
32
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
33
- };
34
- Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
35
- } | typeof Drawer;
36
- containerProps: {};
37
- };
38
- export default useDrawerState;
39
- //# sourceMappingURL=useDrawerState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDrawerState.d.ts","sourceRoot":"","sources":["useDrawerState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG9B,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AASxC,QAAA,MAAM,cAAc;;;;;uBAkBQ,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DxC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,98 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from '../type';
3
- import { OperationItem } from '../type';
4
- interface UseTablePropsProps {
5
- data: any;
6
- originProps: DataSourceTableProps;
7
- openDrawer: (type: OperationItem) => void;
8
- closeDrawer: () => void;
9
- refreshData: () => void;
10
- handleFilterChange: (changedFields: any, allFields: any) => void;
11
- tableRef: any;
12
- }
13
- /**
14
- * 处理table的props
15
- * 转换title
16
- * @param props
17
- * @returns
18
- */
19
- declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
21
- pagination: {
22
- total: number;
23
- current: number;
24
- pageSize: number;
25
- size: string;
26
- showSizeChanger: boolean;
27
- };
28
- columns: import("./useColumns").Column[];
29
- subTitle: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
30
- buttons: any[] | null;
31
- filter: JSX.Element | null;
32
- onRow: (record: any) => any;
33
- actionButtons: any[] | null;
34
- titleButtons?: {
35
- show: boolean;
36
- maxCount: number;
37
- items: OperationItem[];
38
- } | undefined;
39
- tableButtons?: {
40
- show: boolean;
41
- maxCount: number;
42
- items: OperationItem[];
43
- } | undefined;
44
- operation?: {
45
- show: boolean;
46
- title: string; /**
47
- * 处理table的props
48
- * 转换title
49
- * @param props
50
- * @returns
51
- */
52
- width: number;
53
- align: "center" | "left" | "right";
54
- fixed: false | "left" | "right";
55
- type: "link" | "button";
56
- items: OperationItem[];
57
- } | undefined;
58
- operationContent?: {
59
- [key: string]: React.ReactNode;
60
- } | undefined;
61
- dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
62
- search?: {
63
- show: boolean;
64
- placeholder: string;
65
- } | undefined;
66
- __designMode: string;
67
- componentId: string;
68
- clickToDetail?: {
69
- show: boolean;
70
- useCustomAction: boolean;
71
- actionType: string;
72
- openMode: "modal" | "drawer";
73
- openContentSize: "small" | "large" | "middle";
74
- openTitle: string;
75
- key: string;
76
- } | undefined;
77
- filterBy?: Record<string, any> | undefined;
78
- sortBy: string;
79
- tabs?: {
80
- show: boolean;
81
- type: string;
82
- items: {
83
- name: string;
84
- filterBy: Record<string, any>;
85
- sortBy: string;
86
- }[];
87
- } | undefined;
88
- onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
89
- extraParams?: {
90
- list?: Record<string, any> | undefined;
91
- get?: Record<string, any> | undefined;
92
- update?: Record<string, any> | undefined;
93
- create?: Record<string, any> | undefined;
94
- destroy?: Record<string, any> | undefined;
95
- } | undefined;
96
- };
97
- export default useTableProps;
98
- //# sourceMappingURL=useTableProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTableProps.d.ts","sourceRoot":"","sources":["useTableProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAM/C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAMxC,UAAU,kBAAkB;IAC1B,IAAI,EAAE,GAAG,CAAC;IACV,WAAW,EAAE,oBAAoB,CAAC;IAClC,UAAU,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,EAAE,CAAC,aAAa,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,IAAI,CAAC;IACjE,QAAQ,EAAE,GAAG,CAAC;CACf;AAED;;;;;GAKG;AACH,QAAA,MAAM,aAAa,UAAW,kBAAkB;;;;;;;;;;;;;oBA8PT,GAAG;;;;;;;;;;;;;;uBApQ1C;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsSF,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,79 +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
- }
79
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"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"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from 'antd';
3
- import { ModeType } from "../../dataSourceForm/type";
4
- export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
5
- renderMode: ModeType;
6
- value?: string;
7
- onChange?: (value: string) => void;
8
- }
9
- declare const MobileNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
10
- export default MobileNumberInputWithMode;
11
- //# sourceMappingURL=WithMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithMode.d.ts","sourceRoot":"","sources":["WithMode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAS,UAAU,EAAS,MAAM,MAAM,CAAC;AAWhD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAKrD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9C,UAAU,EAAE,QAAQ,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAyLD,QAAA,MAAM,yBAAyB,gFAA2D,CAAC;AAE3F,eAAe,yBAAyB,CAAC"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from 'antd';
3
- import { ModeType } from "../../dataSourceForm/type";
4
- export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
5
- renderMode: ModeType;
6
- value?: string;
7
- onChange?: (value: string) => void;
8
- }
9
- declare const PhoneNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
10
- export default PhoneNumberInputWithMode;
11
- //# sourceMappingURL=WithMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithMode.d.ts","sourceRoot":"","sources":["WithMode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAS,UAAU,EAAS,MAAM,MAAM,CAAC;AAWhD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAKrD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9C,UAAU,EAAE,QAAQ,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAyKD,QAAA,MAAM,wBAAwB,gFAA0D,CAAC;AAEzF,eAAe,wBAAwB,CAAC"}
@@ -1,25 +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
- };
25
- //# sourceMappingURL=serve.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["serve.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,kBAAkB,oBAa9B,CAAC;AAEF,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,YAAY;UAAe,OAAO,EAAE;CA8BhD,CAAC"}
@@ -1,19 +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;
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAsBA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGhD,aAAK,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9B,aAAK,aAAa,GAAG;IACnB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,GAAG,GAAG,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,aAAa,gBAmOrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,5 +0,0 @@
1
- import './index.less';
2
- import { SortType } from './types';
3
- declare const DragSortTree: (props: SortType) => JSX.Element;
4
- export default DragSortTree;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAiBA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAInC,QAAA,MAAM,YAAY,UAAW,QAAQ,gBAiGpC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,9 +0,0 @@
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;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,aAAc,SAAQ,kBAAkB;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC;CACpD;AAKD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAErC,CAAC;AACF,eAAe,QAAQ,CAAC"}
@@ -1,83 +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;
83
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"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"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from './context';
3
- interface PisellConfigProviderType {
4
- platform?: PisellContextType['platform'];
5
- children: React.ReactNode;
6
- /** 货币符号 */
7
- symbol?: string;
8
- /** 当前语言环境 */
9
- locale?: string;
10
- }
11
- declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
12
- export default PisellConfigProvider;
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAsB,EAAgB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAM3E,UAAU,wBAAwB;IAChC,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAoC5D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,10 +0,0 @@
1
- import './index.less';
2
- export interface PisellAdjustPriceProps {
3
- value?: number;
4
- originValue: number;
5
- defaultValue?: number;
6
- onChange?: (val: number) => void;
7
- }
8
- declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
9
- export default PisellAdjustPrice;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAQA,OAAO,cAAc,CAAC;AAGtB,MAAM,WAAW,sBAAsB;IAErC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,QAAA,MAAM,iBAAiB,UAAW,sBAAsB,gBA0JvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,20 +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;
20
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,UAAU,EAAE,MAAM,MAAM,CAAC;AAIzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,SAAS;IACT,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;IACzC,aAAa;IACb,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,aAAa;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,kBAAkB;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,WAAW;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAGD,QAAA,MAAM,WAAW,UAAW,gBAAgB,gBAmC3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,50 +0,0 @@
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
- }
48
- declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
49
- export default index;
50
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,cAAc,CAAC;AAEtB,UAAU,wBAAwB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,6BAA6B,EAAE,GAAG,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,OAAO,CAAC;IAEpB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC,wBAAwB,EAAE,wBAAwB,EAAE,CAAC;IAErD,qBAAqB,EAAE,GAAG,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS;IACT,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC5B,QAAQ;IACR,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3E,QAAQ;IACR,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,YAAY;IACZ,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,CAAC;CAC7C;AAID,QAAA,MAAM,KAAK,UAAW,uBAAuB,gBA0G5C,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellToastProps {
4
- /** 提示内容 */
5
- content: React.ReactNode;
6
- /** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
7
- duration?: number;
8
- /** 是否展示action */
9
- showAction?: boolean;
10
- /** action文案 */
11
- actionText?: string;
12
- /** 关闭时触发的回调函数 */
13
- onClose?: () => void;
14
- }
15
- declare const PisellToast: (props: PisellToastProps) => void;
16
- export default PisellToast;
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,gBAAgB;IAC/B,YAAY;IACZ,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,UAAW,gBAAgB,SAuB3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- declare const Action: ({ item, onAction }: any) => JSX.Element;
3
- export default Action;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,MAAM,uBAAwB,GAAG,gBAgBtC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
3
- export default DeleteButton;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,YAAY,iBAAkB,GAAG,gBAYtC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- declare const Header: (props: any) => JSX.Element;
3
- export default Header;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAQA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,MAAM,UAAW,GAAG,gBA+GzB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
3
- export default Sales;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAKtB,QAAA,MAAM,KAAK,yBAA0B,GAAG,uBA2BvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
- export default SelectHolder;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,YAAY,+JAYf,GAAG,gBAsIL,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,14 +0,0 @@
1
- import './index.less';
2
- interface SelectHolderModalProps {
3
- visible: boolean;
4
- onClose: () => void;
5
- onConfirm: (value: any) => void;
6
- lists: any[];
7
- value: any[];
8
- holderMaxCount: number;
9
- addHolderButtonText: string;
10
- onAdd: () => void;
11
- }
12
- declare const SelectHolderModal: (props: SelectHolderModalProps) => JSX.Element;
13
- export default SelectHolderModal;
14
- //# sourceMappingURL=index.d.ts.map