@pisell/materials 2.2.92 → 2.2.93

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 (225) 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 +1 -1
  6. package/build/lowcode/preview.js +164 -148
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +39 -25
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +39 -25
  11. package/es/components/appVersionControl/index.d.ts +1 -0
  12. package/es/components/auto-complete-number/index.d.ts +1 -0
  13. package/es/components/badge/index.d.ts +1 -0
  14. package/es/components/batch-editor/fields/index.d.ts +1 -0
  15. package/es/components/calendar/index.d.ts +1 -0
  16. package/es/components/cardPro/index.d.ts +1 -0
  17. package/es/components/checkbox/index.d.ts +1 -0
  18. package/es/components/classicLayout/index.d.ts +1 -0
  19. package/es/components/config-provider/index.d.ts +1 -0
  20. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  23. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  31. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  32. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  33. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  34. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  35. package/es/components/drag-sort-tree/index.d.ts +1 -0
  36. package/es/components/dropdown/index.d.ts +1 -0
  37. package/es/components/pisellCard/index.d.ts +1 -0
  38. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  39. package/es/components/pisellDatePicker/index.d.ts +1 -0
  40. package/es/components/pisellGoodPassCard/index.d.ts +1 -0
  41. package/es/components/pisellGoodPassCard/index.js +13 -2
  42. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  43. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  44. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  45. package/es/components/pisellTooltip/index.d.ts +1 -0
  46. package/es/components/pisellUpload/index.d.ts +1 -0
  47. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  48. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +16 -4
  49. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +15 -0
  50. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  51. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  52. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  53. package/es/components/productCard/cartSkuCard/index.less +1 -1
  54. package/es/components/productCard/components/Action/index.d.ts +1 -0
  55. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  56. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  57. package/es/components/productCard/components/Header/index.js +17 -5
  58. package/es/components/productCard/components/Header/index.less +15 -0
  59. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  60. package/es/components/productCard/components/Time/index.d.ts +1 -0
  61. package/es/components/productCard/index.js +3 -2
  62. package/es/components/productCard/index.less +6 -0
  63. package/es/components/radio/index.d.ts +1 -0
  64. package/es/components/segmented/index.d.ts +1 -0
  65. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  66. package/es/components/skeleton/index.d.ts +1 -0
  67. package/es/components/slider/index.d.ts +1 -0
  68. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  69. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  70. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  71. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  72. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  73. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  74. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  75. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  76. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  77. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  78. package/es/components/table/Actions/index.d.ts +1 -0
  79. package/es/components/table/Summary/index.d.ts +1 -0
  80. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/index.d.ts +1 -0
  85. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  92. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  93. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  94. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  95. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  96. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  97. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  98. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  99. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  100. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  101. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  102. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  103. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  104. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  105. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  106. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  107. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  108. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  109. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  110. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  111. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  112. package/es/components/time-picker/index.d.ts +1 -0
  113. package/es/components/upload/index.d.ts +1 -0
  114. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  115. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  116. package/es/components/walletCard/Guest/index.d.ts +1 -0
  117. package/es/components/walletCard/Guide/index.d.ts +1 -0
  118. package/lib/components/appVersionControl/index.d.ts +1 -0
  119. package/lib/components/auto-complete-number/index.d.ts +1 -0
  120. package/lib/components/badge/index.d.ts +1 -0
  121. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  122. package/lib/components/calendar/index.d.ts +1 -0
  123. package/lib/components/cardPro/index.d.ts +1 -0
  124. package/lib/components/checkbox/index.d.ts +1 -0
  125. package/lib/components/classicLayout/index.d.ts +1 -0
  126. package/lib/components/config-provider/index.d.ts +1 -0
  127. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  128. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  129. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  130. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  131. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  132. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  133. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  134. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  135. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  136. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  137. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  138. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  139. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  140. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  141. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  142. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  143. package/lib/components/dropdown/index.d.ts +1 -0
  144. package/lib/components/pisellCard/index.d.ts +1 -0
  145. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  146. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  147. package/lib/components/pisellGoodPassCard/index.d.ts +1 -0
  148. package/lib/components/pisellGoodPassCard/index.js +6 -2
  149. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  150. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  151. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  152. package/lib/components/pisellTooltip/index.d.ts +1 -0
  153. package/lib/components/pisellUpload/index.d.ts +1 -0
  154. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  155. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +9 -1
  156. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +15 -0
  157. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  158. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  159. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  160. package/lib/components/productCard/cartSkuCard/index.less +1 -1
  161. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  162. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  163. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  164. package/lib/components/productCard/components/Header/index.js +16 -8
  165. package/lib/components/productCard/components/Header/index.less +15 -0
  166. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  167. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  168. package/lib/components/productCard/index.js +4 -2
  169. package/lib/components/productCard/index.less +6 -0
  170. package/lib/components/radio/index.d.ts +1 -0
  171. package/lib/components/segmented/index.d.ts +1 -0
  172. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  173. package/lib/components/skeleton/index.d.ts +1 -0
  174. package/lib/components/slider/index.d.ts +1 -0
  175. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  176. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  177. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  178. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  179. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  180. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  181. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  182. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  183. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  184. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  185. package/lib/components/table/Actions/index.d.ts +1 -0
  186. package/lib/components/table/Summary/index.d.ts +1 -0
  187. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  188. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  189. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  190. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  191. package/lib/components/table/Table/fields/index.d.ts +1 -0
  192. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  193. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  194. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  195. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  196. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  197. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  198. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  199. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  200. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  201. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  202. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  203. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  204. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  205. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  206. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  207. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  208. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  209. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  210. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  211. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  212. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  213. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  214. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  215. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  216. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  217. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  218. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  219. package/lib/components/time-picker/index.d.ts +1 -0
  220. package/lib/components/upload/index.d.ts +1 -0
  221. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  222. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  223. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  224. package/lib/components/walletCard/Guide/index.d.ts +1 -0
  225. package/package.json +3 -3
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  import "./index.less";
3
4
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SortIconProps {
2
3
  sortOrder: null | "ascend" | "descend";
3
4
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TimePicker: (props: any) => JSX.Element;
2
3
  export default TimePicker;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Upload: (props: any) => JSX.Element;
2
3
  export default Upload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./Presets.less";
2
3
  export declare type PresetsItem = {
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const formatStringToTime: (value: string) => {
2
3
  valueArray: string[];
3
4
  valueString: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guest: (props: any) => JSX.Element;
3
4
  export default Guest;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guide: (props: any) => JSX.Element;
3
4
  export default Guide;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AutoCompleteProps, InputNumberProps } from "antd";
2
3
  interface AutoCompleteNumberProps {
3
4
  autoCompleteProps: AutoCompleteProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BadgeProps as OriginalBadgeprops } from 'antd';
2
3
  import './index.less';
3
4
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  price: import("react").FC<import("./Price").PriceProps>;
3
4
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Calendar: (props: any) => JSX.Element;
2
3
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: (props: any) => JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Checkbox: (props: any) => JSX.Element;
2
3
  export default Checkbox;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ClassicLayout: (props: any) => JSX.Element;
3
4
  export default ClassicLayout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
2
3
  import "dayjs/locale/zh-cn";
3
4
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
2
3
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
3
4
  export default DataSourceWrapper;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DateRangePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSelectProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextAreaProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UrlProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  export declare const formatUrl: (url: string) => string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TimePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ValueProps, SortType } from '../types';
3
4
  declare type IdType = string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { SortType } from './types';
3
4
  declare const DragSortTree: (props: SortType) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Dropdown: (props: any) => JSX.Element;
2
3
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CardProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellCardProps extends CardProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './detePickerCpt.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PisellDatePicker: (props: any) => JSX.Element;
2
3
  export default PisellDatePicker;
@@ -44,6 +44,7 @@ export interface PisellGoodPassCardProps {
44
44
  style: React.CSSProperties;
45
45
  /**快捷展示排序 */
46
46
  mixedSort?: (val: Discount[]) => Discount[];
47
+ isInModal: boolean;
47
48
  }
48
49
  declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
49
50
  export default index;
@@ -94,7 +94,11 @@ var index = (props) => {
94
94
  const list = sortList.length > 3 ? sortList.slice(0, 3) : sortList;
95
95
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: `${clsPrefix}-header` }, /* @__PURE__ */ import_react.default.createElement("div", null, (0, import_locales.getText)("pisell2.text.goodpass.product-vouchers")), /* @__PURE__ */ import_react.default.createElement(import_antd.Typography.Text, { underline: true, onClick: () => setShowModal(true) }, (0, import_locales.getText)("pisell2.text.goodpass.view-more"))), /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { style: { margin: 4 } }), /* @__PURE__ */ import_react.default.createElement("div", { className: `${clsPrefix}-body` }, list.map(renderVoucherItem)));
96
96
  };
97
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, renderModal(), /* @__PURE__ */ import_react.default.createElement(
97
+ const renderModalMode = () => {
98
+ const sortList = (mixedSort == null ? void 0 : mixedSort(dataSource)) || dataSource;
99
+ return /* @__PURE__ */ import_react.default.createElement("div", { style: { padding: "10px 0", display: "flex", flexDirection: "column", gap: 12 } }, sortList.map(renderVoucherItem));
100
+ };
101
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, !props.isInModal ? renderModal() : null, /* @__PURE__ */ import_react.default.createElement(
98
102
  import__.PisellCard,
99
103
  {
100
104
  padding: 8,
@@ -105,7 +109,7 @@ var index = (props) => {
105
109
  },
106
110
  className: clsPrefix
107
111
  },
108
- renderMixedMode()
112
+ props.isInModal ? renderModalMode() : renderMixedMode()
109
113
  ));
110
114
  };
111
115
  var pisellGoodPassCard_default = index;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface ScanProps {
3
4
  onChange: (val: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import './index.less';
3
4
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
3
  import { PisellContextType } from "../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { UploadProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellUploadProps extends UploadProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface PisellWalletPassCardProps {
3
4
  id: number;
@@ -66,6 +66,14 @@ var BasicInfo = (props) => {
66
66
  return null;
67
67
  };
68
68
  const hasSpecs = (bundle == null ? void 0 : bundle.length) || (options == null ? void 0 : options.length) || product_option_string;
69
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), isShowImage && image && /* @__PURE__ */ import_react.default.createElement("img", { src: import_utils.image.ali(image, 64), className: `product-cover` }), (!isShowImage || !image) && num > 1 ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 26 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasSpecs ? /* @__PURE__ */ import_react.default.createElement(import_specs.default, { dataSource }) : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol))), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num, 2, symbol)), origin_total && Number(total) !== Number(origin_total) ? /* @__PURE__ */ import_react.default.createElement("div", { className: `origin-amount` }, (0, import_utils.formatAmount)(origin_total * num, 2, symbol)) : null));
69
+ const renderImage = () => {
70
+ if (!isShowImage) return null;
71
+ if (image) {
72
+ return /* @__PURE__ */ import_react.default.createElement("img", { src: import_utils.image.ali(image, 64), className: `product-cover` });
73
+ }
74
+ const displayText = name ? name.slice(0, 2) : "";
75
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `product-cover-text` }, displayText);
76
+ };
77
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), (!isShowImage || !image && !name) && num > 1 ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 26 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasSpecs ? /* @__PURE__ */ import_react.default.createElement(import_specs.default, { dataSource }) : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol))), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num, 2, symbol)), origin_total && Number(total) !== Number(origin_total) ? /* @__PURE__ */ import_react.default.createElement("div", { className: `origin-amount` }, (0, import_utils.formatAmount)(origin_total * num, 2, symbol)) : null));
70
78
  };
71
79
  var basicInfo_default = BasicInfo;
@@ -36,6 +36,21 @@
36
36
  border-radius: 6px;
37
37
  }
38
38
 
39
+ .product-cover-text {
40
+ width: 48px;
41
+ height: 48px;
42
+ flex-shrink: 0;
43
+ border-radius: 8px;
44
+ background-color: #DEDEDE;
45
+ color: #7E7E7E;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ font-size: 22px;
50
+ font-weight: 500;
51
+ line-height: 1;
52
+ }
53
+
39
54
  .product-info {
40
55
  flex: 1;
41
56
  display: flex;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Holders: (props: any) => JSX.Element | null;
3
4
  export default Holders;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: (props: any) => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'dayjs/locale/zh-cn';
2
3
  import 'dayjs/locale/en';
3
4
  import 'dayjs/locale/zh-tw';
@@ -1,5 +1,5 @@
1
1
  .pisell-cart-sku-card-wrapper {
2
- border-radius: 4px;
2
+ border-radius: 8px;
3
3
  background: var(--Base-White, #fff);
4
4
  border: 1px solid var(--Gray-300, #d0d5dd);
5
5
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Action: ({ item, onAction }: any) => JSX.Element;
3
4
  export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Divider: ({ type }: any) => JSX.Element;
3
4
  export default Divider;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
3
4
  export default DeleteButton;
@@ -44,7 +44,7 @@ var Header = (props) => {
44
44
  const {
45
45
  isShowDelete,
46
46
  item,
47
- showImage,
47
+ isShowImage,
48
48
  onDelete,
49
49
  disabledEdit,
50
50
  onEditProduct,
@@ -71,6 +71,20 @@ var Header = (props) => {
71
71
  const showDelete = (0, import_react.useMemo)(() => {
72
72
  return isShowDelete && !disabledEdit && !disabled;
73
73
  }, [isShowDelete, disabledEdit, disabled]);
74
+ const renderImage = () => {
75
+ if (!isShowImage) return null;
76
+ if (image) {
77
+ return /* @__PURE__ */ import_react.default.createElement(
78
+ "img",
79
+ {
80
+ src: import_utils.image.ali(image, 64),
81
+ className: `${prefix}product-header-cover`
82
+ }
83
+ );
84
+ }
85
+ const displayText = name ? name.slice(0, 2) : "";
86
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}product-header-cover-text` }, displayText);
87
+ };
74
88
  return /* @__PURE__ */ import_react.default.createElement(
75
89
  "div",
76
90
  {
@@ -80,13 +94,7 @@ var Header = (props) => {
80
94
  )
81
95
  },
82
96
  showDelete ? /* @__PURE__ */ import_react.default.createElement(import_DeleteButton.default, { onDelete }) : null,
83
- showImage ? /* @__PURE__ */ import_react.default.createElement(
84
- "img",
85
- {
86
- src: import_utils.image.ali(image, 64),
87
- className: `${prefix}product-header-cover`
88
- }
89
- ) : null,
97
+ renderImage(),
90
98
  id ? /* @__PURE__ */ import_react.default.createElement(
91
99
  "div",
92
100
  {
@@ -19,6 +19,21 @@
19
19
  border-radius: 8px;
20
20
  }
21
21
 
22
+ &-product-header-cover-text {
23
+ width: 64px;
24
+ height: 64px;
25
+ flex-shrink: 0;
26
+ border-radius: 8px;
27
+ background-color: #DEDEDE;
28
+ color: #7E7E7E;
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ font-size: 22px;
33
+ font-weight: 500;
34
+ line-height: 1;
35
+ }
36
+
22
37
  &-product-right-wrap {
23
38
  display: flex;
24
39
  flex-direction: column;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
3
4
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
3
4
  export default Time;
@@ -64,6 +64,7 @@ var ProductCard = (props) => {
64
64
  isShowDelete = import_status.defaultValue.isShowDelete,
65
65
  isShowPackageNote = import_status.defaultValue.isShowPackageNote,
66
66
  isShowEditProduct = import_status.defaultValue.isShowEditProduct,
67
+ scenario,
67
68
  onEditProduct,
68
69
  onAction,
69
70
  onDelete,
@@ -107,8 +108,9 @@ var ProductCard = (props) => {
107
108
  import_cardPro.default,
108
109
  {
109
110
  className: (0, import_classnames.default)("pisell-lowcode-product-card", {
110
- ["pisell-lowcode-product-card-image"]: !showImage,
111
- ["pisell-lowcode-normal-product-card"]: !showImage && isNormalProduct
111
+ ["pisell-lowcode-product-card-image"]: !showImage && scenario !== "booking2",
112
+ ["pisell-lowcode-normal-product-card"]: !showImage && isNormalProduct && scenario !== "booking2",
113
+ ["pisell-lowcode-product-card-image-booking2"]: scenario === "booking2"
112
114
  }),
113
115
  key: _id
114
116
  },