@pisell/materials 3.3.70 → 3.3.71

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 (249) 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 +7 -7
  5. package/build/lowcode/render/default/view.js +15 -15
  6. package/build/lowcode/view.js +5 -5
  7. package/es/components/appVersionControl/index.d.ts +1 -0
  8. package/es/components/auto-complete-number/index.d.ts +0 -1
  9. package/es/components/badge/index.d.ts +0 -1
  10. package/es/components/batch-editor/fields/index.d.ts +0 -1
  11. package/es/components/batch-editor/index.d.ts +0 -1
  12. package/es/components/calendar/index.d.ts +0 -1
  13. package/es/components/checkbox/index.d.ts +0 -1
  14. package/es/components/classicLayout/index.d.ts +0 -1
  15. package/es/components/colorPicker/index.d.ts +0 -1
  16. package/es/components/config-provider/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  18. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  19. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  24. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  26. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  28. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  30. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
  32. package/es/components/dropdown/index.d.ts +0 -1
  33. package/es/components/filter/components/items/index.d.ts +0 -1
  34. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  35. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  36. package/es/components/filter/components/items/text/index.d.ts +0 -1
  37. package/es/components/filter/index.d.ts +0 -1
  38. package/es/components/pisell-config-provider/index.js +0 -1
  39. package/es/components/pisellCard/index.d.ts +0 -1
  40. package/es/components/pisellCardList/index.d.ts +4 -0
  41. package/es/components/pisellCardList/index.js +5 -1
  42. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  43. package/es/components/pisellLoading/index.d.ts +0 -1
  44. package/es/components/pisellUpload/index.d.ts +0 -1
  45. package/es/components/pisellWalletPassCard/index.d.ts +4 -0
  46. package/es/components/pisellWalletPassCard/index.js +17 -4
  47. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  48. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  49. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  50. package/es/components/radio/index.d.ts +0 -1
  51. package/es/components/segmented/index.d.ts +0 -1
  52. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  53. package/es/components/select-time/index.d.ts +0 -1
  54. package/es/components/skeleton/index.d.ts +0 -1
  55. package/es/components/slider/index.d.ts +0 -1
  56. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  57. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  58. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  59. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  60. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  61. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  62. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  63. package/es/components/table/Summary/index.d.ts +0 -1
  64. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  65. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  66. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  67. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  68. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  69. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  85. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  86. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  87. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  88. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  89. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  90. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  91. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  92. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  93. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  94. package/es/components/table/Table/utils.d.ts +1 -1
  95. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  96. package/es/components/table/View/index.d.ts +0 -1
  97. package/es/components/time-picker/index.d.ts +0 -1
  98. package/es/components/upload/index.d.ts +0 -1
  99. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  100. package/es/components/walletCard/Guest/index.d.ts +0 -1
  101. package/es/components/walletCard/Guide/index.d.ts +0 -1
  102. package/es/locales/en-US.d.ts +1 -0
  103. package/es/locales/en-US.js +1 -0
  104. package/es/locales/zh-CN.d.ts +1 -0
  105. package/es/locales/zh-CN.js +1 -0
  106. package/es/locales/zh-TW.d.ts +1 -0
  107. package/es/locales/zh-TW.js +1 -0
  108. package/lib/components/appVersionControl/index.d.ts +1 -0
  109. package/lib/components/auto-complete-number/index.d.ts +0 -1
  110. package/lib/components/badge/index.d.ts +0 -1
  111. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  112. package/lib/components/batch-editor/index.d.ts +0 -1
  113. package/lib/components/calendar/index.d.ts +0 -1
  114. package/lib/components/checkbox/index.d.ts +0 -1
  115. package/lib/components/classicLayout/index.d.ts +0 -1
  116. package/lib/components/colorPicker/index.d.ts +0 -1
  117. package/lib/components/config-provider/index.d.ts +0 -1
  118. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  119. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  120. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  121. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  122. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  123. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  124. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  125. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  126. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  127. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  128. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  129. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  130. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  131. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  132. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
  133. package/lib/components/dropdown/index.d.ts +0 -1
  134. package/lib/components/filter/components/items/index.d.ts +0 -1
  135. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  136. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  137. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  138. package/lib/components/filter/index.d.ts +0 -1
  139. package/lib/components/pisell-config-provider/index.js +0 -1
  140. package/lib/components/pisellCard/index.d.ts +0 -1
  141. package/lib/components/pisellCardList/index.d.ts +4 -0
  142. package/lib/components/pisellCardList/index.js +5 -1
  143. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  144. package/lib/components/pisellLoading/index.d.ts +0 -1
  145. package/lib/components/pisellUpload/index.d.ts +0 -1
  146. package/lib/components/pisellWalletPassCard/index.d.ts +4 -0
  147. package/lib/components/pisellWalletPassCard/index.js +12 -2
  148. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  149. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  150. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  151. package/lib/components/radio/index.d.ts +0 -1
  152. package/lib/components/segmented/index.d.ts +0 -1
  153. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  154. package/lib/components/select-time/index.d.ts +0 -1
  155. package/lib/components/skeleton/index.d.ts +0 -1
  156. package/lib/components/slider/index.d.ts +0 -1
  157. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  158. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  159. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  160. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  161. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  162. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  163. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  164. package/lib/components/table/Summary/index.d.ts +0 -1
  165. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  166. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  167. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  168. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  169. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  170. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  171. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  172. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  173. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  174. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  175. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  176. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  177. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  178. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  179. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  180. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  181. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  182. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  183. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  184. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  185. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  186. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  187. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  188. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  189. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  190. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  191. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  192. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  193. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  194. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  195. package/lib/components/table/Table/utils.d.ts +1 -1
  196. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  197. package/lib/components/table/View/index.d.ts +0 -1
  198. package/lib/components/time-picker/index.d.ts +0 -1
  199. package/lib/components/upload/index.d.ts +0 -1
  200. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  201. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  202. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  203. package/lib/locales/en-US.d.ts +1 -0
  204. package/lib/locales/en-US.js +1 -0
  205. package/lib/locales/zh-CN.d.ts +1 -0
  206. package/lib/locales/zh-CN.js +1 -0
  207. package/lib/locales/zh-TW.d.ts +1 -0
  208. package/lib/locales/zh-TW.js +1 -0
  209. package/package.json +3 -3
  210. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +0 -16
  211. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
  212. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -179
  213. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  214. package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +0 -24
  215. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  216. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  217. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  218. package/es/components/dataSourceComponents/fields/Switch/ReadPretty.d.ts +0 -5
  219. package/es/components/dataSourceComponents/fields/Switch/type.d.ts +0 -16
  220. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  221. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -120
  222. package/es/components/drag-sort-tree/index.d.ts +0 -5
  223. package/es/components/login-and-register/index.d.ts +0 -82
  224. package/es/components/pisellQRScanner/index.d.ts +0 -24
  225. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  226. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  227. package/es/components/table/serve.d.ts +0 -13
  228. package/es/components/table/types.d.ts +0 -268
  229. package/es/components/tabs/index.d.ts +0 -17
  230. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +0 -16
  231. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
  232. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -179
  233. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  234. package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +0 -24
  235. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  236. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  237. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  238. package/lib/components/dataSourceComponents/fields/Switch/ReadPretty.d.ts +0 -5
  239. package/lib/components/dataSourceComponents/fields/Switch/type.d.ts +0 -16
  240. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  241. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -120
  242. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  243. package/lib/components/login-and-register/index.d.ts +0 -82
  244. package/lib/components/pisellQRScanner/index.d.ts +0 -24
  245. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  246. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  247. package/lib/components/table/serve.d.ts +0 -13
  248. package/lib/components/table/types.d.ts +0 -268
  249. package/lib/components/tabs/index.d.ts +0 -17
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AppVersionControlProps } from './types';
2
3
  import './index.less';
3
4
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutoCompleteProps, InputNumberProps } from "antd";
3
2
  interface AutoCompleteNumberProps {
4
3
  autoCompleteProps: AutoCompleteProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BadgeProps as OriginalBadgeprops } from 'antd';
3
2
  import './index.less';
4
3
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  price: import("react").FC<import("./Price").PriceProps>;
4
3
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Calendar: (props: any) => JSX.Element;
3
2
  export default Calendar;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Checkbox: (props: any) => JSX.Element;
3
2
  export default Checkbox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ClassicLayout: (props: any) => JSX.Element;
4
3
  export default ClassicLayout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from 'antd';
3
2
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
3
2
  import "dayjs/locale/zh-cn";
4
3
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
3
2
  export default DataSourceImage;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceQRCode: (props: any) => JSX.Element;
3
2
  export default DataSourceQRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Drawer } from 'antd';
2
3
  import { OperationItem } from '../type';
3
4
  declare const useDrawerState: (operationContent?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DateRangePickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IconSelectProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TextAreaProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UrlProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  export declare const formatUrl: (url: string) => string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TimePickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TranslationProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const CameraPopover: (props: {
2
3
  onLocalFileClick: () => void;
3
4
  onCameraChange: (file: any) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Dropdown: (props: any) => JSX.Element;
3
2
  export default Dropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: () => JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: (props: any) => JSX.Element;
3
2
  export default Text;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterProps } from "./types";
3
2
  declare const Filter: (props: FilterProps) => JSX.Element | null;
4
3
  export default Filter;
@@ -28,7 +28,6 @@ var PisellConfigProvider = function PisellConfigProvider(props) {
28
28
  locale: locale || 'en',
29
29
  getSymbolic: getSymbolic
30
30
  };
31
- console.log(config, 'config');
32
31
  var staticFunction = App.useApp();
33
32
  setMessage(staticFunction.message);
34
33
  setModal(staticFunction.modal);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface PisellCardProps extends CardProps {
@@ -31,6 +31,10 @@ export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'opt
31
31
  showCode?: boolean;
32
32
  /** 是否展示到期时间 */
33
33
  showValidDate?: boolean;
34
+ /** 使用日程信息计算有效期 */
35
+ validDateBySchedule?: boolean;
36
+ /** 日程列表 */
37
+ scheduleList?: any[];
34
38
  /** 是否展示详情按钮 */
35
39
  showDetail?: boolean;
36
40
  /** 是否展示二维码 */
@@ -38,7 +38,9 @@ var PisellCardList = function PisellCardList(props) {
38
38
  empty = props.empty,
39
39
  showEmpty = props.showEmpty,
40
40
  showBalanceSymbol = props.showBalanceSymbol,
41
- onChangeDebounce = props.onChangeDebounce;
41
+ onChangeDebounce = props.onChangeDebounce,
42
+ validDateBySchedule = props.validDateBySchedule,
43
+ scheduleList = props.scheduleList;
42
44
  return data.length ? /*#__PURE__*/React.createElement(PisellCheckboxGroup, {
43
45
  options: data,
44
46
  value: value,
@@ -65,6 +67,8 @@ var PisellCardList = function PisellCardList(props) {
65
67
  showBalanceSymbol: showBalanceSymbol || (item === null || item === void 0 ? void 0 : item.showBalanceSymbol),
66
68
  showActions: props.showActions || (item === null || item === void 0 ? void 0 : item.showActions),
67
69
  actions: props.actions || (item === null || item === void 0 ? void 0 : item.actions),
70
+ validDateBySchedule: validDateBySchedule || (item === null || item === void 0 ? void 0 : item.validDateBySchedule),
71
+ scheduleList: scheduleList || (item === null || item === void 0 ? void 0 : item.scheduleList),
68
72
  beforeEdit: function beforeEdit(record) {
69
73
  var _props$beforeEdit;
70
74
  return props === null || props === void 0 || (_props$beforeEdit = props.beforeEdit) === null || _props$beforeEdit === void 0 ? void 0 : _props$beforeEdit.call(props, record, index);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ScanProps {
4
3
  onChange: (val: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { UploadProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface PisellUploadProps extends UploadProps {
@@ -43,6 +43,10 @@ export interface PisellWalletPassCardProps {
43
43
  showCode?: boolean;
44
44
  /** 是否展示有效期 */
45
45
  showValidDate?: boolean;
46
+ /** 使用日程信息计算有效期 */
47
+ validDateBySchedule?: boolean;
48
+ /** 日程列表 */
49
+ scheduleList?: any[];
46
50
  /** 是否展示右上角详情按钮 */
47
51
  showDetail?: boolean;
48
52
  /** 是否展示qrCode */
@@ -19,7 +19,8 @@ import { CheckCircleFilled, EditOutlined, ExclamationCircleOutlined, MoreOutline
19
19
  import { Dropdown, Form, Input, InputNumber, DatePicker } from 'antd';
20
20
  import dayjs from 'dayjs';
21
21
  import Iconfont from "../iconfont";
22
- import { PisellModal } from "../../index";
22
+ import { PisellModal, usePisellConfig } from "../../index";
23
+ import { getScheduleSummary } from '@pisell/utils';
23
24
  import Amount from "../pisellText/components/Amount";
24
25
 
25
26
  // @ts-ignore
@@ -52,6 +53,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
52
53
  _React$useState8 = _slicedToArray(_React$useState7, 2),
53
54
  pressTimer = _React$useState8[0],
54
55
  setPressTimer = _React$useState8[1];
56
+ var config = usePisellConfig();
55
57
 
56
58
  // 添加 useEffect 清理定时器
57
59
  useEffect(function () {
@@ -108,7 +110,9 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
108
110
  onConfirmEdit = props.onConfirmEdit,
109
111
  originData = props.originData,
110
112
  _props$style = props.style,
111
- style = _props$style === void 0 ? {} : _props$style;
113
+ style = _props$style === void 0 ? {} : _props$style,
114
+ validDateBySchedule = props.validDateBySchedule,
115
+ scheduleList = props.scheduleList;
112
116
  useEffect(function () {
113
117
  document.body.id = 'body';
114
118
  }, []);
@@ -233,6 +237,12 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
233
237
  }
234
238
  setLastTap(now);
235
239
  };
240
+ var formatValidDate = useMemo(function () {
241
+ if (validDateBySchedule && scheduleList && (scheduleList === null || scheduleList === void 0 ? void 0 : scheduleList.length) > 0) {
242
+ return /*#__PURE__*/React.createElement(React.Fragment, null, getText('pisell-wallet-pass-card-valid'), ' ', getScheduleSummary(scheduleList, config === null || config === void 0 ? void 0 : config.locale) || validDate);
243
+ }
244
+ return /*#__PURE__*/React.createElement(React.Fragment, null, getText('pisell-wallet-pass-card-valid-to'), ' ', !!validDate ? validDate : getText('pisell-wallet-pass-card-expireDate'));
245
+ }, [validDateBySchedule, scheduleList, validDate]);
236
246
  var _onConfirmEdit = function _onConfirmEdit() {
237
247
  form.validateFields().then(function (values) {
238
248
  var _values$validDate;
@@ -366,10 +376,13 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
366
376
  useThousandsSeparator: true,
367
377
  value: discount
368
378
  })) : /*#__PURE__*/React.createElement(React.Fragment, null, discount, "% ", getText('pisell-discount-card-unit'))))), /*#__PURE__*/React.createElement("div", {
369
- className: "pisell-card-code-wrap"
379
+ className: "pisell-card-code-wrap",
380
+ style: {
381
+ marginRight: showQrCode && !isMini ? 60 : 0
382
+ }
370
383
  }, /*#__PURE__*/React.createElement("div", {
371
384
  className: "pisell-card-code"
372
- }, showCode && !isMini && /*#__PURE__*/React.createElement("div", null, code), showValidDate && /*#__PURE__*/React.createElement("div", null, getText('pisell-wallet-pass-card-valid-to'), ' ', !!validDate ? validDate : getText('pisell-wallet-pass-card-expireDate')))));
385
+ }, showCode && !isMini && /*#__PURE__*/React.createElement("div", null, code), showValidDate && /*#__PURE__*/React.createElement("div", null, formatValidDate))));
373
386
  };
374
387
  var getInputItem = function getInputItem(name) {
375
388
  if ('validDate' === name) {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Divider: ({ type }: any) => JSX.Element;
4
3
  export default Divider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
4
3
  style?: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
2
  export default SelectHolderMultiple;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Radio: (props: any) => JSX.Element;
3
2
  export default Radio;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SegmentedProps } from "antd";
3
2
  import "./index.less";
4
3
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: string;
@@ -1,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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Skeleton: (props: any) => JSX.Element;
3
2
  export default Skeleton;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SliderOuter: (props: any) => JSX.Element;
3
2
  export default SliderOuter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
  import "./index.less";
4
3
  interface InlineMenuProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './PopoverContent.less';
3
2
  declare type FieldType = string | number;
4
3
  export declare type GroupValue = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Summary: ({ summary }: any) => JSX.Element | null;
4
3
  export default Summary;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const summary: (props: any) => JSX.Element;
3
2
  export default summary;
@@ -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" | "column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_setting")[];
158
+ }) => ("column_setting" | "gallery_setting" | "order_by" | "group_by" | "filters" | "view_mode" | "filter_setting")[];
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 {};