@pisell/materials 6.5.7 → 6.5.9

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 (219) 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.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appVersionControl/index.d.ts +0 -1
  8. package/es/components/cardPro/index.d.ts +3 -0
  9. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  11. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  12. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  13. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  14. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  15. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  16. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  17. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  18. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  19. package/es/components/lowCodePage/index.d.ts +0 -1
  20. package/es/components/pisell-config-provider/index.d.ts +13 -0
  21. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  22. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  23. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  24. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  25. package/es/components/pisellInput/index.d.ts +0 -1
  26. package/es/components/pisellLoading/index.d.ts +0 -1
  27. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  28. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  29. package/es/components/pisellModal/components/index.d.ts +0 -1
  30. package/es/components/pisellQRScanner/index.d.ts +24 -0
  31. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  32. package/es/components/pisellToast/index.d.ts +17 -0
  33. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  34. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  35. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  36. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  37. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  38. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  39. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  40. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  41. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  42. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  43. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  44. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  45. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  46. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  47. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  48. package/es/components/productCard/components/Header/index.d.ts +3 -0
  49. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  50. package/es/components/productCard/components/Note/index.d.ts +0 -1
  51. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  52. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  53. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  54. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  55. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  56. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  57. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  58. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  59. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  60. package/es/components/productCard/components/Time/index.d.ts +0 -1
  61. package/es/components/qrcode/index.d.ts +0 -1
  62. package/es/components/select-time/index.d.ts +0 -1
  63. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  64. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  65. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  66. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  67. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  69. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  85. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  86. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  87. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  88. package/es/components/table/Table/utils.d.ts +1 -1
  89. package/es/components/table/index.js +1 -1
  90. package/es/components/versionSelect/index.d.ts +0 -1
  91. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  92. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  93. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  94. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  95. package/es/components/virtual-keyboard/index.d.ts +25 -0
  96. package/es/utils/index.d.ts +1 -1
  97. package/es/utils/platform.d.ts +1 -1
  98. package/lib/components/appVersionControl/index.d.ts +0 -1
  99. package/lib/components/cardPro/index.d.ts +3 -0
  100. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  101. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  102. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  103. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  104. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  105. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  106. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  107. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  108. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  109. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  110. package/lib/components/lowCodePage/index.d.ts +0 -1
  111. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  112. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  113. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  114. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  115. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  116. package/lib/components/pisellInput/index.d.ts +0 -1
  117. package/lib/components/pisellLoading/index.d.ts +0 -1
  118. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  119. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  120. package/lib/components/pisellModal/components/index.d.ts +0 -1
  121. package/lib/components/pisellQRScanner/index.d.ts +24 -0
  122. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  123. package/lib/components/pisellToast/index.d.ts +17 -0
  124. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  125. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  126. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  127. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  128. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  129. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  130. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  131. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  132. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  133. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  134. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  135. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  136. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  137. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  138. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  139. package/lib/components/productCard/components/Header/index.d.ts +3 -0
  140. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  141. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  142. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  143. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  144. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  145. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  146. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  147. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  148. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  149. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  150. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  151. package/lib/components/productCard/components/Time/index.d.ts +0 -1
  152. package/lib/components/qrcode/index.d.ts +0 -1
  153. package/lib/components/select-time/index.d.ts +0 -1
  154. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  155. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  156. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  157. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  158. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  159. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  160. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  161. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  162. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  163. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  164. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  165. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  166. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  167. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  168. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  169. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  170. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  171. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  172. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  173. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  174. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  175. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  176. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  177. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  178. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  179. package/lib/components/table/Table/utils.d.ts +1 -1
  180. package/lib/components/table/index.js +1 -1
  181. package/lib/components/versionSelect/index.d.ts +0 -1
  182. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  183. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  184. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  185. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  186. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  187. package/lib/utils/index.d.ts +1 -1
  188. package/lib/utils/platform.d.ts +1 -1
  189. package/package.json +1 -1
  190. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  191. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  192. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  193. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
  194. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  195. package/es/components/drag-sort-tree/index.d.ts +0 -5
  196. package/es/components/filter/types.d.ts +0 -45
  197. package/es/components/login-and-register/index.d.ts +0 -82
  198. package/es/components/pisellEmpty/index.d.ts +0 -19
  199. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  200. package/es/components/select/index.d.ts +0 -9
  201. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  202. package/es/components/table/Actions/index.d.ts +0 -17
  203. package/es/components/table/serve.d.ts +0 -13
  204. package/es/components/table/types.d.ts +0 -268
  205. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  206. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  207. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  208. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
  209. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  210. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  211. package/lib/components/filter/types.d.ts +0 -45
  212. package/lib/components/login-and-register/index.d.ts +0 -82
  213. package/lib/components/pisellEmpty/index.d.ts +0 -19
  214. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  215. package/lib/components/select/index.d.ts +0 -9
  216. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  217. package/lib/components/table/Actions/index.d.ts +0 -17
  218. package/lib/components/table/serve.d.ts +0 -13
  219. package/lib/components/table/types.d.ts +0 -268
@@ -0,0 +1,13 @@
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;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
2
  export default SelectHolderMultiple;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ResourceItem {
4
3
  id: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
4
3
  export default Time;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const QRCode: (props: any) => JSX.Element;
3
2
  export default QRCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
3
2
  import { PopoverProps, TimePickerProps } from "antd";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -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 "./index.less";
3
2
  declare type RenderFieldsProps = {
4
3
  fields: string[];
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: number;
3
- vertical: number;
2
+ horizontal: any;
3
+ vertical: any;
4
4
  };
5
5
  export default useGapSize;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): boolean;
5
+ }): any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): boolean;
5
+ }): any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filters" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
158
+ }) => ("filters" | "column_setting" | "gallery_setting" | "order_by" | "group_by" | "filter_setting" | "view_mode")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -180,7 +180,7 @@ var GridView = Provider( /*#__PURE__*/forwardRef(function (props, ref) {
180
180
  useEffect(function () {
181
181
  modal.dispatch({
182
182
  type: 'setUtils',
183
- payload: utils || {}
183
+ payload: omit(utils, ['pisellos']) || {}
184
184
  });
185
185
  modal.dispatch({
186
186
  type: 'setIsTerminal',
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface Version {
@@ -0,0 +1,5 @@
1
+ import { AmountProps, RightItemsStyleProps } from './types';
2
+ import './index.less';
3
+ export type { AmountProps, RightItemsStyleProps };
4
+ declare const Amount: (props: AmountProps) => JSX.Element;
5
+ export default Amount;
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ import { BaseNumberKeyboardProps } from '../BaseNumberKeyboard';
3
+ export interface RightItemsStyleProps {
4
+ buttonBackgroundColor?: string;
5
+ textColor?: string;
6
+ resetButtonBackgroundColor?: string;
7
+ resetButtonTextColor?: string;
8
+ isDoneButtonFollowTheme?: boolean;
9
+ doneButtonBackgroundColor?: string;
10
+ doneButtonTextColor?: string;
11
+ }
12
+ export interface AmountProps {
13
+ max?: number;
14
+ min?: number;
15
+ doneText?: string;
16
+ resetText?: string;
17
+ defaultValue?: string | number;
18
+ placeholder?: string;
19
+ amountProps?: {
20
+ showCurrencySymbol: boolean;
21
+ useThousandsSeparator: boolean;
22
+ };
23
+ presets?: BaseNumberKeyboardProps['presets'];
24
+ value?: string | number;
25
+ onChange?: (val: string | number) => void;
26
+ onEnter?: (val: string | number) => void;
27
+ defaultSelect?: boolean;
28
+ inputFormat?: (_v: string) => React.ReactNode | null;
29
+ rightItemsStyle?: RightItemsStyleProps;
30
+ selectType?: 'light' | 'dark';
31
+ backgroundColor?: string;
32
+ containerBackgroundColor?: string;
33
+ buttonBackgroundColor?: string;
34
+ textColor?: string;
35
+ resetButtonBackgroundColor?: string;
36
+ resetButtonTextColor?: string;
37
+ isDoneButtonFollowTheme?: boolean;
38
+ doneButtonBackgroundColor?: string;
39
+ doneButtonTextColor?: string;
40
+ keyboardBackgroundColor?: string;
41
+ keyboardButtonBackgroundColor?: string;
42
+ keyboardButtonTextColor?: string;
43
+ keyboardButtonHoverColor?: string;
44
+ }
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { PresetsProps } from './Presets';
3
+ import { KeyboardProps } from '../Keyboard';
4
+ import { RightItemsStyleProps } from '../Amount';
5
+ import './index.less';
6
+ export interface BaseNumberKeyboardProps {
7
+ placeholder?: string;
8
+ format?: (val: string) => React.ReactNode;
9
+ defaultValue?: string | number;
10
+ doneText?: string;
11
+ resetText?: string;
12
+ onChange?: (val: string) => void;
13
+ onEnter?: (val: string) => void;
14
+ value?: string | number;
15
+ max?: number;
16
+ min?: number;
17
+ presets?: PresetsProps['presets'];
18
+ defaultSelect?: boolean;
19
+ rightItemsStyle?: RightItemsStyleProps;
20
+ customDisplay?: React.ReactNode | ((props: any) => React.ReactNode);
21
+ keyboardProps?: KeyboardProps;
22
+ style?: React.CSSProperties;
23
+ }
24
+ declare const BaseNumberKeyboard: (props: BaseNumberKeyboardProps) => JSX.Element;
25
+ export default BaseNumberKeyboard;
@@ -0,0 +1,5 @@
1
+ import { NumberProps } from './types';
2
+ import './index.less';
3
+ export type { NumberProps };
4
+ declare const Number: (props: NumberProps) => JSX.Element;
5
+ export default Number;
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { KeyboardProps } from "./Keyboard";
3
+ import { VirtualKeyInputProps } from "./VirtualKeyInput";
4
+ import "./index.less";
5
+ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ keyboardProps?: KeyboardProps;
7
+ virtualKeyInputProps?: VirtualKeyInputProps;
8
+ rightPanel?: React.ReactNode;
9
+ style?: React.CSSProperties;
10
+ onChange?: (value?: any) => void;
11
+ value?: string;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ keyboardBackgroundColor?: string;
18
+ keyboardButtonBackgroundColor?: string;
19
+ keyboardButtonTextColor?: string;
20
+ keyboardButtonHoverColor?: string;
21
+ primaryButtonBackgroundColor?: string;
22
+ primaryButtonTextColor?: string;
23
+ }
24
+ declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
25
+ export default VirtualKeyboard;
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string;
2
+ export declare const getCssNumber: (val: string | number) => string | number;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppVersionControlProps } from './types';
3
2
  import './index.less';
4
3
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
- dataSourceKey: string | undefined;
4
- dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
2
+ dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
5
4
  };
6
5
  export default useDataSourceKey;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
22
+ title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
31
+ subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: any;
34
34
  onRow: (record: any) => any;
@@ -69,7 +69,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
69
69
  useCustomAction: boolean;
70
70
  actionType: string;
71
71
  openMode: "modal" | "drawer";
72
- openContentSize: "large" | "small" | "middle";
72
+ openContentSize: "large" | "middle" | "small";
73
73
  openTitle: string;
74
74
  key: string;
75
75
  } | undefined;
@@ -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;
@@ -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
  declare const CameraPopover: (props: {
3
2
  onLocalFileClick: () => void;
4
3
  onCameraChange: (file: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -59,7 +59,11 @@ 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("./Input/type").InputProps> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
63
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
+ } & {
65
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
+ }) | 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> & {
63
67
  JSON: import("react").FC<any>;
64
68
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
65
69
  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>;
@@ -80,10 +84,6 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
80
84
  fieldKey?: string | undefined;
81
85
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
82
86
  }) | (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<{}> & {
87
87
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
88
  } & {
89
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -97,5 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
97
97
  dataSource?: any;
98
98
  }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.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> | 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>;
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>;
101
101
  export { getFieldComponent, formFieldMap };
@@ -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 './index.less';
@@ -0,0 +1,18 @@
1
+ import './index.less';
2
+ import { ValueProps, SortType } from '../types';
3
+ declare type IdType = string | number;
4
+ declare type TreeItemProps = {
5
+ id: string | number;
6
+ key: string | number;
7
+ item: ValueProps | any;
8
+ depth: number;
9
+ lists: any[];
10
+ childrenProps?: SortType;
11
+ sensors?: any;
12
+ expandedKeys?: IdType[];
13
+ setExpandedKeys?: any;
14
+ onSelectKeys?: (ids: IdType) => void;
15
+ onChange?: (value: any[]) => void;
16
+ };
17
+ declare const TreeItem: (props: TreeItemProps) => JSX.Element;
18
+ export default TreeItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type LowCodePageProps = {
3
2
  id: number;
4
3
  };
@@ -0,0 +1,13 @@
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
+ getSymbolic?: () => string;
11
+ }
12
+ declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
13
+ export default PisellConfigProvider;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { PisellAdjustPriceProps } from './type';
3
+ declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
4
+ export default PisellAdjustPrice;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from '../pisell-config-provider/context';
3
+ import './index.less';
4
+ export interface PisellCheckboxGroupOption {
5
+ label: string;
6
+ value: string;
7
+ disabled?: boolean;
8
+ error?: boolean;
9
+ [key: string]: any;
10
+ }
11
+ declare type PisellCheckboxGroupValue = string | string[] | any;
12
+ export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
13
+ platform?: PisellContextType['platform'];
14
+ direction?: 'horizontal' | 'vertical';
15
+ fullWidth?: boolean;
16
+ gap?: number;
17
+ padding?: number;
18
+ options: PisellCheckboxGroupOption[];
19
+ onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
20
+ value?: PisellCheckboxGroupValue;
21
+ renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
22
+ rowKey?: string;
23
+ mode?: 'multiple' | 'single';
24
+ iconPosition?: 'left' | 'right' | 'hide';
25
+ optionClassName?: string;
26
+ optionActiveClassName?: string;
27
+ onChangeDebounce?: boolean;
28
+ onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
29
+ showActiveBackground?: boolean;
30
+ }
31
+ /**
32
+ * @title: PisellCheckboxGroup
33
+ * @description: 选中组件
34
+ * @param {PisellCheckboxGroupProps} props
35
+ * @return {*}
36
+ * @Author: zhiwei.Wang
37
+ * @Date: 2024-08-16 10:34
38
+ */
39
+ declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
40
+ export default PisellCheckboxGroup;
@@ -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, ButtonProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  export interface CopyProps extends InputProps {
@@ -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
  declare const PisellInput: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  import './index.less';
4
3
  export interface MobileModalProps extends PcModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';