@pisell/materials 6.3.1 → 6.3.2

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 (174) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.js +28 -24
  8. package/build/lowcode/view.js +29 -25
  9. package/es/components/DragSortList/index.js +6 -6
  10. package/es/components/batch-editor/index.d.ts +1 -0
  11. package/es/components/classicLayout/index.js +4 -5
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -2
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  17. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  20. package/es/components/dataSourceComponents/fields/index.d.ts +7 -6
  21. package/es/components/date-picker/index.d.ts +1 -0
  22. package/es/components/filter/index.d.ts +1 -0
  23. package/es/components/icon/index.js +5 -5
  24. package/es/components/list/index.js +6 -6
  25. package/es/components/page/index.d.ts +1 -0
  26. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  27. package/es/components/pisellCardList/index.js +3 -1
  28. package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
  29. package/es/components/pisellCheckboxGroup/index.js +15 -1
  30. package/es/components/pisellInput/index.d.ts +1 -0
  31. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  32. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  33. package/es/components/pisellModal/components/index.d.ts +1 -0
  34. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  35. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  36. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  37. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  38. package/es/components/qrcode/index.js +1 -1
  39. package/es/components/sort/components/InlineMenu/index.js +1 -1
  40. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  41. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  42. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  43. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  44. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  45. package/es/components/table/Actions/index.d.ts +1 -0
  46. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  47. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  48. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  49. package/es/components/table/Header/Buttons/index.js +5 -5
  50. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  51. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  52. package/es/components/table/Table/SelectField/index.js +4 -4
  53. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  54. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  55. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  56. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  57. package/es/components/table/Table/fields/index.d.ts +1 -0
  58. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  59. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  60. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  61. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  62. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  64. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  65. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  66. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  68. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  71. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  74. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  75. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  76. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  77. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  78. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  79. package/es/components/table/Table/utils.d.ts +1 -1
  80. package/es/components/table/View/index.d.ts +1 -0
  81. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  82. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  83. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  84. package/es/components/translation/utils.js +5 -5
  85. package/es/components/versionSelect/index.d.ts +1 -0
  86. package/es/components/walletCard/Guide/index.js +12 -1
  87. package/es/hooks/useResponsive.js +2 -2
  88. package/es/utils/hoc.js +1 -1
  89. package/es/utils/miniRedux.js +8 -9
  90. package/lib/components/batch-editor/index.d.ts +1 -0
  91. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  92. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  93. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  94. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -2
  95. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  96. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  97. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  98. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  99. package/lib/components/dataSourceComponents/fields/index.d.ts +7 -6
  100. package/lib/components/date-picker/index.d.ts +1 -0
  101. package/lib/components/filter/index.d.ts +1 -0
  102. package/lib/components/lowCodePage/index.js +1 -2
  103. package/lib/components/page/index.d.ts +1 -0
  104. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  105. package/lib/components/pisellCardList/index.js +3 -1
  106. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
  107. package/lib/components/pisellCheckboxGroup/index.js +16 -0
  108. package/lib/components/pisellInput/index.d.ts +1 -0
  109. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  110. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  111. package/lib/components/pisellModal/components/index.d.ts +1 -0
  112. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  113. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  114. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  115. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  116. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  117. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  118. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  119. package/lib/components/table/Actions/index.d.ts +1 -0
  120. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  121. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  122. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  123. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  124. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  125. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  126. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  127. package/lib/components/table/Table/fields/index.d.ts +1 -0
  128. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  129. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  130. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  131. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  132. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  133. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  134. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  135. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  136. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  137. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  138. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  139. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  140. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  141. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  142. package/lib/components/table/Table/fields/utils/index.js +1 -2
  143. package/lib/components/table/Table/utils.d.ts +1 -1
  144. package/lib/components/table/View/index.d.ts +1 -0
  145. package/lib/components/versionSelect/index.d.ts +1 -0
  146. package/lib/components/walletCard/Guide/index.js +11 -1
  147. package/lib/hooks/useResponsive.js +3 -6
  148. package/package.json +1 -1
  149. package/dist/umd/materials.min.css +0 -1
  150. package/dist/umd/materials.min.js +0 -1
  151. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  152. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  153. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  154. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  155. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  156. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  157. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  158. package/es/components/pisellAdjustPrice/type.d.ts +0 -20
  159. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  160. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  161. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  162. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  163. package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
  164. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  165. package/es/components/walletCard/Guide/index.d.ts +0 -3
  166. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  167. package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
  168. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  169. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  170. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  171. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  172. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
  173. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  174. package/lib/components/walletCard/Guide/index.d.ts +0 -3
@@ -1 +0,0 @@
1
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +0,0 @@
1
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.707 4.293a1 1 0 0 1 0 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l5.293 5.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z"/></svg>
@@ -1 +0,0 @@
1
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-5.293-5.293a1 1 0 0 1 0-1.414Z"/></svg>
@@ -1 +0,0 @@
1
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Z"/></svg>
@@ -1 +0,0 @@
1
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11.258-3.976a2 2 0 0 0-2.225 1.308 1 1 0 1 1-1.886-.664 4 4 0 0 1 7.773 1.333c0 1.53-1.135 2.54-1.945 3.081a8.044 8.044 0 0 1-1.686.848l-.035.013-.011.003-.004.002h-.002L11.92 13l.316.949a1 1 0 0 1-.633-1.897l.016-.006.074-.027a6.051 6.051 0 0 0 1.172-.6c.69-.46 1.055-.95 1.055-1.419v-.001a2 2 0 0 0-1.662-1.975ZM11 17a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Z"/></svg>
@@ -1 +0,0 @@
1
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.293 3.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L8 6.414V20a1 1 0 1 1-2 0V6.414L3.707 8.707a1 1 0 0 1-1.414-1.414l4-4ZM16 17.586V4a1 1 0 1 1 2 0v13.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L16 17.586Z"/></svg>
@@ -1,32 +0,0 @@
1
- export declare const defaultConfig: {
2
- dark: {
3
- backgroundColor: string;
4
- containerBackgroundColor: string;
5
- buttonBackgroundColor: string;
6
- textColor: string;
7
- resetButtonBackgroundColor: string;
8
- resetButtonTextColor: string;
9
- isDoneButtonFollowTheme: boolean;
10
- doneButtonBackgroundColor: string;
11
- doneButtonTextColor: string;
12
- isShowMainText: boolean;
13
- mainTextColor: string;
14
- isShowSubText: boolean;
15
- subTextColor: string;
16
- };
17
- light: {
18
- backgroundColor: string;
19
- containerBackgroundColor: string;
20
- buttonBackgroundColor: string;
21
- textColor: string;
22
- resetButtonBackgroundColor: string;
23
- resetButtonTextColor: string;
24
- isDoneButtonFollowTheme: boolean;
25
- doneButtonBackgroundColor: string;
26
- doneButtonTextColor: string;
27
- isShowMainText: boolean;
28
- mainTextColor: string;
29
- isShowSubText: boolean;
30
- subTextColor: string;
31
- };
32
- };
@@ -1,20 +0,0 @@
1
- export interface PisellAdjustPriceProps {
2
- value?: number;
3
- originValue: number;
4
- defaultValue?: number;
5
- onChange?: (val: number) => void;
6
- selectType?: 'light' | 'dark';
7
- backgroundColor?: string;
8
- containerBackgroundColor?: string;
9
- buttonBackgroundColor?: string;
10
- textColor?: string;
11
- resetButtonBackgroundColor?: string;
12
- resetButtonTextColor?: string;
13
- isDoneButtonFollowTheme?: boolean;
14
- doneButtonBackgroundColor?: string;
15
- doneButtonTextColor?: string;
16
- isShowMainText?: boolean;
17
- mainTextColor?: string;
18
- isShowSubText?: boolean;
19
- subTextColor?: string;
20
- }
@@ -1,32 +0,0 @@
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
- };
@@ -1,44 +0,0 @@
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
- }
@@ -1,21 +0,0 @@
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;
@@ -1,32 +0,0 @@
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
- };
@@ -1,25 +0,0 @@
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
- selectType?: 'light' | 'dark';
12
- backgroundColor?: string;
13
- containerBackgroundColor?: string;
14
- buttonBackgroundColor?: string;
15
- textColor?: string;
16
- resetButtonBackgroundColor?: string;
17
- resetButtonTextColor?: string;
18
- isDoneButtonFollowTheme?: boolean;
19
- doneButtonBackgroundColor?: string;
20
- doneButtonTextColor?: string;
21
- keyboardBackgroundColor?: string;
22
- keyboardButtonBackgroundColor?: string;
23
- keyboardButtonTextColor?: string;
24
- keyboardButtonHoverColor?: string;
25
- }
@@ -1,13 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Guide: (props: any) => JSX.Element;
3
- export default Guide;
@@ -1,32 +0,0 @@
1
- export declare const defaultConfig: {
2
- dark: {
3
- backgroundColor: string;
4
- containerBackgroundColor: string;
5
- buttonBackgroundColor: string;
6
- textColor: string;
7
- resetButtonBackgroundColor: string;
8
- resetButtonTextColor: string;
9
- isDoneButtonFollowTheme: boolean;
10
- doneButtonBackgroundColor: string;
11
- doneButtonTextColor: string;
12
- isShowMainText: boolean;
13
- mainTextColor: string;
14
- isShowSubText: boolean;
15
- subTextColor: string;
16
- };
17
- light: {
18
- backgroundColor: string;
19
- containerBackgroundColor: string;
20
- buttonBackgroundColor: string;
21
- textColor: string;
22
- resetButtonBackgroundColor: string;
23
- resetButtonTextColor: string;
24
- isDoneButtonFollowTheme: boolean;
25
- doneButtonBackgroundColor: string;
26
- doneButtonTextColor: string;
27
- isShowMainText: boolean;
28
- mainTextColor: string;
29
- isShowSubText: boolean;
30
- subTextColor: string;
31
- };
32
- };
@@ -1,20 +0,0 @@
1
- export interface PisellAdjustPriceProps {
2
- value?: number;
3
- originValue: number;
4
- defaultValue?: number;
5
- onChange?: (val: number) => void;
6
- selectType?: 'light' | 'dark';
7
- backgroundColor?: string;
8
- containerBackgroundColor?: string;
9
- buttonBackgroundColor?: string;
10
- textColor?: string;
11
- resetButtonBackgroundColor?: string;
12
- resetButtonTextColor?: string;
13
- isDoneButtonFollowTheme?: boolean;
14
- doneButtonBackgroundColor?: string;
15
- doneButtonTextColor?: string;
16
- isShowMainText?: boolean;
17
- mainTextColor?: string;
18
- isShowSubText?: boolean;
19
- subTextColor?: string;
20
- }
@@ -1,32 +0,0 @@
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
- };
@@ -1,44 +0,0 @@
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
- }
@@ -1,21 +0,0 @@
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;
@@ -1,32 +0,0 @@
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
- };
@@ -1,25 +0,0 @@
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
- selectType?: 'light' | 'dark';
12
- backgroundColor?: string;
13
- containerBackgroundColor?: string;
14
- buttonBackgroundColor?: string;
15
- textColor?: string;
16
- resetButtonBackgroundColor?: string;
17
- resetButtonTextColor?: string;
18
- isDoneButtonFollowTheme?: boolean;
19
- doneButtonBackgroundColor?: string;
20
- doneButtonTextColor?: string;
21
- keyboardBackgroundColor?: string;
22
- keyboardButtonBackgroundColor?: string;
23
- keyboardButtonTextColor?: string;
24
- keyboardButtonHoverColor?: string;
25
- }
@@ -1,13 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Guide: (props: any) => JSX.Element;
3
- export default Guide;