@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,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;
@@ -110,13 +110,24 @@ var index = function index(props) {
110
110
  className: "".concat(clsPrefix, "-body")
111
111
  }, list.map(renderVoucherItem)));
112
112
  };
113
- return /*#__PURE__*/React.createElement(React.Fragment, null, renderModal(), /*#__PURE__*/React.createElement(PisellCard, {
113
+ var renderModalMode = function renderModalMode() {
114
+ var sortList = (mixedSort === null || mixedSort === void 0 ? void 0 : mixedSort(dataSource)) || dataSource;
115
+ return /*#__PURE__*/React.createElement("div", {
116
+ style: {
117
+ padding: '10px 0',
118
+ display: "flex",
119
+ flexDirection: "column",
120
+ gap: 12
121
+ }
122
+ }, sortList.map(renderVoucherItem));
123
+ };
124
+ return /*#__PURE__*/React.createElement(React.Fragment, null, !props.isInModal ? renderModal() : null, /*#__PURE__*/React.createElement(PisellCard, {
114
125
  padding: 8,
115
126
  borderRadius: 8,
116
127
  style: _objectSpread({
117
128
  width: 378
118
129
  }, style),
119
130
  className: clsPrefix
120
- }, renderMixedMode()));
131
+ }, props.isInModal ? renderModalMode() : renderMixedMode()));
121
132
  };
122
133
  export 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;
@@ -32,13 +32,25 @@ var BasicInfo = function BasicInfo(props) {
32
32
  return null;
33
33
  };
34
34
  var hasSpecs = (bundle === null || bundle === void 0 ? void 0 : bundle.length) || (options === null || options === void 0 ? void 0 : options.length) || product_option_string;
35
+ var renderImage = function renderImage() {
36
+ if (!isShowImage) return null;
37
+ if (image) {
38
+ return /*#__PURE__*/React.createElement("img", {
39
+ src: imageAli.ali(image, 64),
40
+ className: "product-cover"
41
+ });
42
+ }
43
+
44
+ // 如果没有图片,显示文字图片
45
+ var displayText = name ? name.slice(0, 2) : '';
46
+ return /*#__PURE__*/React.createElement("div", {
47
+ className: "product-cover-text"
48
+ }, displayText);
49
+ };
35
50
  return /*#__PURE__*/React.createElement("div", {
36
51
  className: "".concat(PREFIX, "__basic-info"),
37
52
  style: style || {}
38
- }, renderNumTag(), isShowImage && image && /*#__PURE__*/React.createElement("img", {
39
- src: imageAli.ali(image, 64),
40
- className: "product-cover"
41
- }), (!isShowImage || !image) && num > 1 ? /*#__PURE__*/React.createElement("div", {
53
+ }, renderNumTag(), renderImage(), (!isShowImage || !image && !name) && num > 1 ? /*#__PURE__*/React.createElement("div", {
42
54
  style: {
43
55
  width: 26
44
56
  }
@@ -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;
@@ -13,7 +13,7 @@ var prefix = 'pisell-lowcode-';
13
13
  var Header = function Header(props) {
14
14
  var isShowDelete = props.isShowDelete,
15
15
  item = props.item,
16
- showImage = props.showImage,
16
+ isShowImage = props.isShowImage,
17
17
  onDelete = props.onDelete,
18
18
  disabledEdit = props.disabledEdit,
19
19
  onEditProduct = props.onEditProduct,
@@ -66,14 +66,26 @@ var Header = function Header(props) {
66
66
  var showDelete = useMemo(function () {
67
67
  return isShowDelete && !disabledEdit && !disabled;
68
68
  }, [isShowDelete, disabledEdit, disabled]);
69
+ var renderImage = function renderImage() {
70
+ if (!isShowImage) return null;
71
+ if (image) {
72
+ return /*#__PURE__*/React.createElement("img", {
73
+ src: imageAli.ali(image, 64),
74
+ className: "".concat(prefix, "product-header-cover")
75
+ });
76
+ }
77
+
78
+ // 如果没有图片,显示文字图片
79
+ var displayText = name ? name.slice(0, 2) : '';
80
+ return /*#__PURE__*/React.createElement("div", {
81
+ className: "".concat(prefix, "product-header-cover-text")
82
+ }, displayText);
83
+ };
69
84
  return /*#__PURE__*/React.createElement("div", {
70
85
  className: classNames("".concat(prefix, "product-header"), headerCenterStyle && "".concat(prefix, "product-options-header"))
71
86
  }, showDelete ? /*#__PURE__*/React.createElement(DeleteButton, {
72
87
  onDelete: onDelete
73
- }) : null, showImage ? /*#__PURE__*/React.createElement("img", {
74
- src: imageAli.ali(image, 64),
75
- className: "".concat(prefix, "product-header-cover")
76
- }) : null, id ? /*#__PURE__*/React.createElement("div", {
88
+ }) : null, renderImage(), id ? /*#__PURE__*/React.createElement("div", {
77
89
  className: classNames("".concat(prefix, "product-right-wrap"), _defineProperty({}, "".concat(prefix, "product-right-wrap-stretch"), isShowEditProduct))
78
90
  }, /*#__PURE__*/React.createElement("div", {
79
91
  className: "".concat(prefix, "product-title")
@@ -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;
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["dataSource", "isShowImage", "isShowHolder", "isShowNote", "isShowDelete", "isShowPackageNote", "isShowEditProduct", "onEditProduct", "onAction", "onDelete", "onNote", "onLike", "onCard", "onChangeResource", "onChangeHolder"];
2
+ var _excluded = ["dataSource", "isShowImage", "isShowHolder", "isShowNote", "isShowDelete", "isShowPackageNote", "isShowEditProduct", "scenario", "onEditProduct", "onAction", "onDelete", "onNote", "onLike", "onCard", "onChangeResource", "onChangeHolder"];
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -46,6 +46,7 @@ var ProductCard = function ProductCard(props) {
46
46
  isShowPackageNote = _props$isShowPackageN === void 0 ? defaultValue.isShowPackageNote : _props$isShowPackageN,
47
47
  _props$isShowEditProd = props.isShowEditProduct,
48
48
  isShowEditProduct = _props$isShowEditProd === void 0 ? defaultValue.isShowEditProduct : _props$isShowEditProd,
49
+ scenario = props.scenario,
49
50
  _onEditProduct = props.onEditProduct,
50
51
  _onAction = props.onAction,
51
52
  _onDelete = props.onDelete,
@@ -102,7 +103,7 @@ var ProductCard = function ProductCard(props) {
102
103
  return _onDelete === null || _onDelete === void 0 ? void 0 : _onDelete(dataSource);
103
104
  }
104
105
  })), /*#__PURE__*/React.createElement(CardPro, {
105
- className: classNames('pisell-lowcode-product-card', _defineProperty(_defineProperty({}, 'pisell-lowcode-product-card-image', !showImage), 'pisell-lowcode-normal-product-card', !showImage && isNormalProduct)),
106
+ className: classNames('pisell-lowcode-product-card', _defineProperty(_defineProperty(_defineProperty({}, 'pisell-lowcode-product-card-image', !showImage && scenario !== 'booking2'), 'pisell-lowcode-normal-product-card', !showImage && isNormalProduct && scenario !== 'booking2'), 'pisell-lowcode-product-card-image-booking2', scenario === 'booking2')),
106
107
  key: _id
107
108
  }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
108
109
  onClick: function onClick(e) {
@@ -47,6 +47,12 @@
47
47
  }
48
48
  }
49
49
 
50
+ .pisell-lowcode-product-card-image-booking2 {
51
+ .pisell-cardPro-content {
52
+ padding: 4px;
53
+ }
54
+ }
55
+
50
56
  .pisell-lowcode-product-card-wrap {
51
57
  position: relative;
52
58
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Radio: (props: any) => JSX.Element;
2
3
  export default Radio;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SegmentedProps } from "antd";
2
3
  import "./index.less";
3
4
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Skeleton: (props: any) => JSX.Element;
2
3
  export default Skeleton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SliderOuter: (props: any) => JSX.Element;
2
3
  export default SliderOuter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
  import "./index.less";
3
4
  interface InlineMenuProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ExportFile: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from "../../../../../types";
2
3
  import "./index.less";
3
4
  declare const ExportTable: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ImportLog: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare type ImportTableProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, ModeType } from "../../../types";
2
3
  import "./index.less";
3
4
  declare type GallerySettingProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './PopoverContent.less';
2
3
  declare type FieldType = string | number;
3
4
  export declare type GroupValue = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceGroupType } from "../../../types";
2
3
  declare type GroupProps = {
3
4
  setting: DataSourceGroupType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewType, ModeType } from "../../../types";
2
3
  declare type ViewModeProps = {
3
4
  view: GridViewType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterType } from "../../filter/types";
2
3
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
3
4
  import "./index.less";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Summary: ({ summary }: any) => JSX.Element | null;
3
4
  export default Summary;
@@ -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,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
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -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;