@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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SortIconProps {
3
2
  sortOrder: null | "ascend" | "descend";
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewProps } from '../types';
3
2
  declare const View: (props: GridViewProps & {
4
3
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TimePicker: (props: any) => JSX.Element;
3
2
  export default TimePicker;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Upload: (props: any) => JSX.Element;
3
2
  export default Upload;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const formatStringToTime: (value: string) => {
3
2
  valueArray: string[];
4
3
  valueString: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guest: (props: any) => JSX.Element;
4
3
  export default Guest;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guide: (props: any) => JSX.Element;
4
3
  export default Guide;
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  'pisell-wallet-pass-card-redeem': string;
125
125
  'pisell-wallet-pass-card-code': string;
126
126
  'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-valid': string;
127
128
  'pisell-wallet-pass-card-confirm': string;
128
129
  'pisell-wallet-pass-card-cancel': string;
129
130
  'pisell-wallet-pass-card-required': string;
@@ -150,6 +150,7 @@ export default {
150
150
  'pisell-wallet-pass-card-redeem': 'Redeem',
151
151
  'pisell-wallet-pass-card-code': 'Code',
152
152
  'pisell-wallet-pass-card-valid-to': 'Valid to',
153
+ 'pisell-wallet-pass-card-valid': 'Valid',
153
154
  'pisell-wallet-pass-card-confirm': 'Confirm',
154
155
  'pisell-wallet-pass-card-cancel': 'Cancel',
155
156
  'pisell-wallet-pass-card-required': 'This field is required',
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  'pisell-wallet-pass-card-redeem': string;
125
125
  'pisell-wallet-pass-card-code': string;
126
126
  'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-valid': string;
127
128
  'pisell-wallet-pass-card-confirm': string;
128
129
  'pisell-wallet-pass-card-cancel': string;
129
130
  'pisell-wallet-pass-card-required': string;
@@ -150,6 +150,7 @@ export default {
150
150
  'pisell-wallet-pass-card-redeem': '兑换',
151
151
  'pisell-wallet-pass-card-code': '识别码编号',
152
152
  'pisell-wallet-pass-card-valid-to': '有效期至',
153
+ 'pisell-wallet-pass-card-valid': '有效期',
153
154
  'pisell-wallet-pass-card-confirm': '确认',
154
155
  'pisell-wallet-pass-card-cancel': '取消',
155
156
  'pisell-wallet-pass-card-required': '此字段必填',
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  'pisell-wallet-pass-card-redeem': string;
125
125
  'pisell-wallet-pass-card-code': string;
126
126
  'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-valid': string;
127
128
  'pisell-wallet-pass-card-confirm': string;
128
129
  'pisell-wallet-pass-card-cancel': string;
129
130
  'pisell-wallet-pass-card-required': string;
@@ -150,6 +150,7 @@ export default {
150
150
  'pisell-wallet-pass-card-redeem': '兌換',
151
151
  'pisell-wallet-pass-card-code': '識別碼編號',
152
152
  'pisell-wallet-pass-card-valid-to': '有效期至',
153
+ 'pisell-wallet-pass-card-valid': '有效期',
153
154
  'pisell-wallet-pass-card-confirm': '確認',
154
155
  'pisell-wallet-pass-card-cancel': '取消',
155
156
  'pisell-wallet-pass-card-required': '此欄位為必填',
@@ -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;
@@ -63,7 +63,6 @@ var PisellConfigProvider = (props) => {
63
63
  locale: locale || "en",
64
64
  getSymbolic
65
65
  };
66
- console.log(config, "config");
67
66
  const staticFunction = import_antd.App.useApp();
68
67
  (0, import_pisellMessage.setMessage)(staticFunction.message);
69
68
  (0, import_functions.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
  /** 是否展示二维码 */
@@ -63,7 +63,9 @@ var PisellCardList = (props) => {
63
63
  empty,
64
64
  showEmpty,
65
65
  showBalanceSymbol,
66
- onChangeDebounce
66
+ onChangeDebounce,
67
+ validDateBySchedule,
68
+ scheduleList
67
69
  } = props;
68
70
  return data.length ? /* @__PURE__ */ import_react.default.createElement(
69
71
  import_pisellCheckboxGroup.default,
@@ -96,6 +98,8 @@ var PisellCardList = (props) => {
96
98
  showBalanceSymbol: showBalanceSymbol || (item == null ? void 0 : item.showBalanceSymbol),
97
99
  showActions: props.showActions || (item == null ? void 0 : item.showActions),
98
100
  actions: props.actions || (item == null ? void 0 : item.actions),
101
+ validDateBySchedule: validDateBySchedule || (item == null ? void 0 : item.validDateBySchedule),
102
+ scheduleList: scheduleList || (item == null ? void 0 : item.scheduleList),
99
103
  beforeEdit: (record) => {
100
104
  var _a;
101
105
  return (_a = props == null ? void 0 : props.beforeEdit) == null ? void 0 : _a.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 */
@@ -39,6 +39,7 @@ var import_antd = require("antd");
39
39
  var import_dayjs = __toESM(require("dayjs"));
40
40
  var import_iconfont = __toESM(require("../iconfont"));
41
41
  var import__ = require("../../index");
42
+ var import_utils = require("@pisell/utils");
42
43
  var import_Amount = __toESM(require("../pisellText/components/Amount"));
43
44
  var import_index = require("./index.less");
44
45
  var import_locales = require("../../locales");
@@ -52,6 +53,7 @@ var PisellWalletPassCard = (props) => {
52
53
  const [pressTimer, setPressTimer] = import_react.default.useState(
53
54
  null
54
55
  );
56
+ const config = (0, import__.usePisellConfig)();
55
57
  (0, import_react.useEffect)(() => {
56
58
  return () => {
57
59
  if (pressTimer) {
@@ -93,7 +95,9 @@ var PisellWalletPassCard = (props) => {
93
95
  beforeEdit,
94
96
  onConfirmEdit,
95
97
  originData,
96
- style = {}
98
+ style = {},
99
+ validDateBySchedule,
100
+ scheduleList
97
101
  } = props;
98
102
  (0, import_react.useEffect)(() => {
99
103
  document.body.id = "body";
@@ -182,6 +186,12 @@ var PisellWalletPassCard = (props) => {
182
186
  }
183
187
  setLastTap(now);
184
188
  };
189
+ const formatValidDate = (0, import_react.useMemo)(() => {
190
+ if (validDateBySchedule && scheduleList && (scheduleList == null ? void 0 : scheduleList.length) > 0) {
191
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, (0, import_locales.getText)("pisell-wallet-pass-card-valid"), " ", (0, import_utils.getScheduleSummary)(scheduleList, config == null ? void 0 : config.locale) || validDate);
192
+ }
193
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, (0, import_locales.getText)("pisell-wallet-pass-card-valid-to"), " ", !!validDate ? validDate : (0, import_locales.getText)("pisell-wallet-pass-card-expireDate"));
194
+ }, [validDateBySchedule, scheduleList, validDate]);
185
195
  const _onConfirmEdit = () => {
186
196
  form.validateFields().then((values) => {
187
197
  var _a;
@@ -316,7 +326,7 @@ var PisellWalletPassCard = (props) => {
316
326
  useThousandsSeparator: true,
317
327
  value: discount
318
328
  }
319
- )) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, discount, "% ", (0, import_locales.getText)("pisell-discount-card-unit"))))), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && !isMini && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && /* @__PURE__ */ import_react.default.createElement("div", null, (0, import_locales.getText)("pisell-wallet-pass-card-valid-to"), " ", !!validDate ? validDate : (0, import_locales.getText)("pisell-wallet-pass-card-expireDate")))));
329
+ )) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, discount, "% ", (0, import_locales.getText)("pisell-discount-card-unit"))))), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap", style: { marginRight: showQrCode && !isMini ? 60 : 0 } }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && !isMini && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && /* @__PURE__ */ import_react.default.createElement("div", null, formatValidDate))));
320
330
  };
321
331
  const getInputItem = (name2) => {
322
332
  if ("validDate" === name2) {
@@ -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;