@pisell/private-materials 3.4.46 → 3.4.47

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 (209) 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 +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/pro/Login2.0/Login2.js +2 -1
  8. package/es/pro/Login2.0/Register2.js +2 -1
  9. package/lib/pro/Login2.0/Login2.js +2 -1
  10. package/lib/pro/Login2.0/Register2.js +2 -1
  11. package/package.json +2 -2
  12. package/es/components/Sales/Event/Detail.d.ts +0 -30
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  16. package/es/components/appointmentBooking/hooks.d.ts +0 -107
  17. package/es/components/appointmentBooking/locales.d.ts +0 -363
  18. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
  19. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
  20. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
  21. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
  22. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
  23. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
  24. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
  25. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
  26. package/es/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
  27. package/es/components/authentication/admin/AuthMethods/index.d.ts +0 -8
  28. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  29. package/es/components/authentication/admin/AuthMethods/types.d.ts +0 -76
  30. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
  31. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  32. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  33. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  34. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  35. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  36. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  37. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +0 -8
  38. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  39. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
  40. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
  41. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  42. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  43. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
  44. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
  45. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  46. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
  47. package/es/components/authentication/admin/CustomerAuth/index.d.ts +0 -6
  48. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  49. package/es/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
  50. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
  51. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  52. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
  53. package/es/components/authentication/admin/DeviceAuth/index.d.ts +0 -6
  54. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  55. package/es/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
  56. package/es/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
  57. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  58. package/es/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
  59. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +0 -6
  60. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  61. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
  62. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +0 -6
  63. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  64. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
  65. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +0 -6
  66. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  67. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
  68. package/es/components/authentication/admin/index.d.ts +0 -26
  69. package/es/components/authentication/index.d.ts +0 -0
  70. package/es/components/booking/components/customSelect/index.d.ts +0 -38
  71. package/es/components/booking/components/footer/index.d.ts +0 -11
  72. package/es/components/booking/components/footer/utils.d.ts +0 -41
  73. package/es/components/booking/forms/footer.d.ts +0 -6
  74. package/es/components/booking/info/client/index.d.ts +0 -4
  75. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  76. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
  77. package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  78. package/es/components/booking/info/main.d.ts +0 -12
  79. package/es/components/booking/info/model.d.ts +0 -5
  80. package/es/components/booking/info2/index.d.ts +0 -12
  81. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -2
  82. package/es/components/booking/locales.d.ts +0 -834
  83. package/es/components/booking/model.d.ts +0 -111
  84. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  85. package/es/components/index.d.ts +0 -23
  86. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
  87. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
  88. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  89. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +0 -15
  90. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +0 -19
  91. package/es/components/pay/toC/index.d.ts +0 -3
  92. package/es/components/pay/toC/locales.d.ts +0 -298
  93. package/es/components/pay/toC/model.d.ts +0 -32
  94. package/es/components/pay/toC/serve.d.ts +0 -62
  95. package/es/index.d.ts +0 -57
  96. package/es/plus/clientName/index.d.ts +0 -4
  97. package/es/plus/clientName/type.d.ts +0 -13
  98. package/es/plus/clientName/utils.d.ts +0 -2
  99. package/es/plus/contactInfo/components/Avatar/index.d.ts +0 -10
  100. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  101. package/es/plus/contactInfo/index.d.ts +0 -6
  102. package/es/plus/contactInfo/locales.d.ts +0 -15
  103. package/es/plus/contactInfo/types.d.ts +0 -91
  104. package/es/plus/contactInfo/utils.d.ts +0 -7
  105. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -3
  106. package/es/plus/contactInfoModal/index.d.ts +0 -41
  107. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  108. package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
  109. package/es/plus/productSelect/index.d.ts +0 -32
  110. package/es/pro/pisellPaymentList/example.d.ts +0 -19
  111. package/lib/components/Sales/Event/Detail.d.ts +0 -30
  112. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  113. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
  114. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  115. package/lib/components/appointmentBooking/hooks.d.ts +0 -107
  116. package/lib/components/appointmentBooking/locales.d.ts +0 -363
  117. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
  118. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
  119. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
  120. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
  121. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
  122. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
  123. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
  124. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
  125. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
  126. package/lib/components/authentication/admin/AuthMethods/index.d.ts +0 -8
  127. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  128. package/lib/components/authentication/admin/AuthMethods/types.d.ts +0 -76
  129. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
  130. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  131. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  132. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  133. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  134. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  135. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  136. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +0 -8
  137. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  138. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
  139. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
  140. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  141. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  142. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
  143. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
  144. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  145. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
  146. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +0 -6
  147. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  148. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
  149. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
  150. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  151. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
  152. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +0 -6
  153. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  154. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
  155. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
  156. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  157. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
  158. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +0 -6
  159. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  160. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
  161. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +0 -6
  162. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  163. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
  164. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +0 -6
  165. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  166. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
  167. package/lib/components/authentication/admin/index.d.ts +0 -26
  168. package/lib/components/authentication/index.d.ts +0 -0
  169. package/lib/components/booking/components/customSelect/index.d.ts +0 -38
  170. package/lib/components/booking/components/footer/index.d.ts +0 -11
  171. package/lib/components/booking/components/footer/utils.d.ts +0 -41
  172. package/lib/components/booking/forms/footer.d.ts +0 -6
  173. package/lib/components/booking/info/client/index.d.ts +0 -4
  174. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  175. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
  176. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  177. package/lib/components/booking/info/main.d.ts +0 -12
  178. package/lib/components/booking/info/model.d.ts +0 -5
  179. package/lib/components/booking/info2/index.d.ts +0 -12
  180. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -2
  181. package/lib/components/booking/locales.d.ts +0 -834
  182. package/lib/components/booking/model.d.ts +0 -111
  183. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  184. package/lib/components/index.d.ts +0 -23
  185. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
  186. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
  187. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  188. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +0 -15
  189. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +0 -19
  190. package/lib/components/pay/toC/index.d.ts +0 -3
  191. package/lib/components/pay/toC/locales.d.ts +0 -298
  192. package/lib/components/pay/toC/model.d.ts +0 -32
  193. package/lib/components/pay/toC/serve.d.ts +0 -62
  194. package/lib/index.d.ts +0 -57
  195. package/lib/plus/clientName/index.d.ts +0 -4
  196. package/lib/plus/clientName/type.d.ts +0 -13
  197. package/lib/plus/clientName/utils.d.ts +0 -2
  198. package/lib/plus/contactInfo/components/Avatar/index.d.ts +0 -10
  199. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  200. package/lib/plus/contactInfo/index.d.ts +0 -6
  201. package/lib/plus/contactInfo/locales.d.ts +0 -15
  202. package/lib/plus/contactInfo/types.d.ts +0 -91
  203. package/lib/plus/contactInfo/utils.d.ts +0 -7
  204. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -3
  205. package/lib/plus/contactInfoModal/index.d.ts +0 -41
  206. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  207. package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
  208. package/lib/plus/productSelect/index.d.ts +0 -32
  209. package/lib/pro/pisellPaymentList/example.d.ts +0 -19
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- import { IClientNameProps } from './type';
3
- declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
4
- export default ClientName;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- export declare type ClientData = {
3
- display_name?: string;
4
- nickname?: string;
5
- first_name?: string;
6
- last_name?: string;
7
- [key: string]: any;
8
- };
9
- export interface IClientNameProps {
10
- dataSource?: string | ClientData | null;
11
- className?: string;
12
- style?: React.CSSProperties;
13
- }
@@ -1,2 +0,0 @@
1
- import { ClientData } from './type';
2
- export declare const getClientName: (dataSource: string | ClientData | null) => string | null;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { AvatarConfig } from '../../types';
3
- import '../../index.less';
4
- interface AvatarProps {
5
- config?: AvatarConfig;
6
- name: string;
7
- cover?: string;
8
- }
9
- declare const Avatar: React.FC<AvatarProps>;
10
- export default Avatar;
@@ -1,46 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- declare type NativeProps<S extends string = never> = {
4
- className?: string;
5
- style?: React.CSSProperties & Partial<Record<S, string>>;
6
- };
7
- declare type PropagationEvent = 'click';
8
- import './index.less';
9
- declare type SideType = 'left' | 'right';
10
- export declare type SwipeActionRef = {
11
- close: () => void;
12
- show: (side?: SideType) => void;
13
- };
14
- declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
15
- export declare type Action = {
16
- key: string | number;
17
- text: ReactNode;
18
- color?: ActionColor | string;
19
- onClick?: (e: React.MouseEvent) => void;
20
- style?: React.CSSProperties;
21
- };
22
- export declare type SwipeActionProps = {
23
- rightActions?: Action[];
24
- leftActions?: Action[];
25
- onAction?: (action: Action, e: React.MouseEvent) => void;
26
- closeOnTouchOutside?: boolean;
27
- closeOnAction?: boolean;
28
- children: ReactNode;
29
- stopPropagation?: PropagationEvent[];
30
- onActionsReveal?: (side: SideType) => void;
31
- onClose?: () => void;
32
- escapeDom?: string;
33
- } & NativeProps<'--background'>;
34
- export declare const SwipeAction: React.ForwardRefExoticComponent<{
35
- rightActions?: Action[] | undefined;
36
- leftActions?: Action[] | undefined;
37
- onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
38
- closeOnTouchOutside?: boolean | undefined;
39
- closeOnAction?: boolean | undefined;
40
- children: ReactNode;
41
- stopPropagation?: "click"[] | undefined;
42
- onActionsReveal?: ((side: SideType) => void) | undefined;
43
- onClose?: (() => void) | undefined;
44
- escapeDom?: string | undefined;
45
- } & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
46
- export {};
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { ContactInfoProps } from './types';
3
- import './index.less';
4
- export declare const PREFIX = "pisell-plus-contact-info";
5
- declare const ContactInfo: React.FC<ContactInfoProps>;
6
- export default ContactInfo;
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.contact-info.placeholder': string;
4
- 'pisell2.text.contact-info.actions.delete': string;
5
- };
6
- 'zh-CN': {
7
- 'pisell2.text.contact-info.placeholder': string;
8
- 'pisell2.text.contact-info.actions.delete': string;
9
- };
10
- 'zh-HK': {
11
- 'pisell2.text.contact-info.placeholder': string;
12
- 'pisell2.text.contact-info.actions.delete': string;
13
- };
14
- };
15
- export default _default;
@@ -1,91 +0,0 @@
1
- import React, { CSSProperties } from 'react';
2
- /**
3
- * 联系信息数据
4
- */
5
- export interface ContactInfoData {
6
- first_name?: string;
7
- last_name?: string;
8
- phone?: {
9
- phone: string;
10
- country_calling_code: string;
11
- country_code?: string;
12
- };
13
- email?: string;
14
- avatar?: string;
15
- }
16
- /**
17
- * 卡片布局类型
18
- */
19
- export declare type Direction = 'horizontal' | 'vertical';
20
- /**
21
- * 头像尺寸类型
22
- */
23
- export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
24
- /**
25
- * 头像形状类型
26
- */
27
- export declare type AvatarShape = 'circle' | 'square';
28
- /**
29
- * 头像配置
30
- */
31
- export interface AvatarConfig {
32
- shape?: AvatarShape;
33
- borderRadius?: number;
34
- size?: AvatarSize;
35
- useTextAvatar?: boolean;
36
- children?: string;
37
- }
38
- /**
39
- * 姓名样式配置
40
- */
41
- export interface NameStyle {
42
- fontSize?: number | string;
43
- fontWeight?: number | string;
44
- color?: string;
45
- textDecoration?: string;
46
- }
47
- export interface StyleConfig {
48
- width?: number | string;
49
- border?: 'solid' | 'unset';
50
- borderWidth?: number | string;
51
- borderColor?: string;
52
- borderRadius?: number | string;
53
- padding?: number | string;
54
- [key: string]: any;
55
- }
56
- /**
57
- * 文本样式配置
58
- */
59
- export interface TextStyle {
60
- fontSize?: number | string;
61
- fontWeight?: number | string;
62
- color?: string;
63
- }
64
- /**
65
- * ContactInfo 组件属性接口
66
- */
67
- export interface ContactInfoProps {
68
- dataSource?: ContactInfoData;
69
- defaultName?: string;
70
- placeholder?: string | React.ReactNode;
71
- isShowDelete?: boolean;
72
- children?: React.ReactNode;
73
- direction?: Direction;
74
- horizontalGap?: number | string;
75
- verticalGap?: number | string;
76
- isShowAvatar?: boolean;
77
- isShowPhone?: boolean;
78
- isShowEmail?: boolean;
79
- avatar?: AvatarConfig;
80
- style?: StyleConfig;
81
- nameStyle?: NameStyle;
82
- textStyle?: TextStyle;
83
- placeholderStyle?: CSSProperties;
84
- button?: {
85
- addButtonIcon?: string;
86
- editButtonIcon?: string;
87
- };
88
- onSave?: (value: any) => void;
89
- onDelete?: () => void;
90
- onCancel?: () => void;
91
- }
@@ -1,7 +0,0 @@
1
- interface FieldMapping<T = any, R = any> {
2
- [key: string]: string | ((data: T) => R) | undefined;
3
- }
4
- export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
5
- export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
6
- export declare const getAvatarText: (name: string) => string;
7
- export {};
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const ContactInfoContent: (props: any) => JSX.Element;
3
- export default ContactInfoContent;
@@ -1,41 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface ContactInfoModalProps {
4
- open: boolean;
5
- title?: string;
6
- onCancel: () => void;
7
- onSave: (values: any) => void;
8
- isShowDelete?: boolean;
9
- onDelete: () => void;
10
- dataSource?: {
11
- first_name?: string;
12
- last_name?: string;
13
- display_name?: string;
14
- email?: string;
15
- phone?: {
16
- phone: string;
17
- country_calling_code: string;
18
- country_code?: string;
19
- };
20
- };
21
- config?: {
22
- first_name?: {
23
- visible?: boolean;
24
- required?: boolean;
25
- };
26
- last_name?: {
27
- visible?: boolean;
28
- required?: boolean;
29
- };
30
- phone?: {
31
- visible?: boolean;
32
- required?: boolean;
33
- };
34
- email?: {
35
- visible?: boolean;
36
- required?: boolean;
37
- };
38
- };
39
- }
40
- declare const ContactInfoModal: React.FC<ContactInfoModalProps>;
41
- export default ContactInfoModal;
@@ -1,66 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.button.save': string;
4
- 'pisell2.text.button.delete': string;
5
- 'pisell2.text.button.cancel': string;
6
- 'pisell2.text.contact-info.actions.delete': string;
7
- 'pisell2.text.contact-info.modal.title': string;
8
- 'pisell2.text.contact-info.modal.first-name': string;
9
- 'pisell2.text.contact-info.modal.first-name-placeholder': string;
10
- 'pisell2.text.contact-info.modal.first-name-required': string;
11
- 'pisell2.text.contact-info.modal.last-name': string;
12
- 'pisell2.text.contact-info.modal.last-name-placeholder': string;
13
- 'pisell2.text.contact-info.modal.last-name-required': string;
14
- 'pisell2.text.contact-info.modal.mobile': string;
15
- 'pisell2.text.contact-info.modal.mobile-placeholder': string;
16
- 'pisell2.text.contact-info.modal.mobile-required': string;
17
- 'pisell2.text.contact-info.modal.mobile-error': string;
18
- 'pisell2.text.contact-info.modal.email': string;
19
- 'pisell2.text.contact-info.modal.email-placeholder': string;
20
- 'pisell2.text.contact-info.modal.email-required': string;
21
- 'pisell2.text.contact-info.modal.email-error': string;
22
- };
23
- 'zh-CN': {
24
- 'pisell2.text.button.save': string;
25
- 'pisell2.text.button.delete': string;
26
- 'pisell2.text.button.cancel': string;
27
- 'pisell2.text.contact-info.actions.delete': string;
28
- 'pisell2.text.contact-info.modal.title': string;
29
- 'pisell2.text.contact-info.modal.first-name': string;
30
- 'pisell2.text.contact-info.modal.first-name-placeholder': string;
31
- 'pisell2.text.contact-info.modal.first-name-required': string;
32
- 'pisell2.text.contact-info.modal.last-name': string;
33
- 'pisell2.text.contact-info.modal.last-name-placeholder': string;
34
- 'pisell2.text.contact-info.modal.last-name-required': string;
35
- 'pisell2.text.contact-info.modal.mobile': string;
36
- 'pisell2.text.contact-info.modal.mobile-placeholder': string;
37
- 'pisell2.text.contact-info.modal.mobile-required': string;
38
- 'pisell2.text.contact-info.modal.mobile-error': string;
39
- 'pisell2.text.contact-info.modal.email': string;
40
- 'pisell2.text.contact-info.modal.email-placeholder': string;
41
- 'pisell2.text.contact-info.modal.email-required': string;
42
- 'pisell2.text.contact-info.modal.email-error': string;
43
- };
44
- 'zh-HK': {
45
- 'pisell2.text.button.save': string;
46
- 'pisell2.text.button.delete': string;
47
- 'pisell2.text.button.cancel': string;
48
- 'pisell2.text.contact-info.actions.delete': string;
49
- 'pisell2.text.contact-info.modal.title': string;
50
- 'pisell2.text.contact-info.modal.first-name': string;
51
- 'pisell2.text.contact-info.modal.first-name-placeholder': string;
52
- 'pisell2.text.contact-info.modal.first-name-required': string;
53
- 'pisell2.text.contact-info.modal.last-name': string;
54
- 'pisell2.text.contact-info.modal.last-name-placeholder': string;
55
- 'pisell2.text.contact-info.modal.last-name-required': string;
56
- 'pisell2.text.contact-info.modal.mobile': string;
57
- 'pisell2.text.contact-info.modal.mobile-placeholder': string;
58
- 'pisell2.text.contact-info.modal.mobile-required': string;
59
- 'pisell2.text.contact-info.modal.mobile-error': string;
60
- 'pisell2.text.contact-info.modal.email': string;
61
- 'pisell2.text.contact-info.modal.email-placeholder': string;
62
- 'pisell2.text.contact-info.modal.email-required': string;
63
- 'pisell2.text.contact-info.modal.email-error': string;
64
- };
65
- };
66
- export default _default;
@@ -1,47 +0,0 @@
1
- import React from 'react';
2
- import ProductCardSkeleton from './ProductCardSkeleton';
3
- import './index.less';
4
- declare type BoolConfigVal = 0 | 1;
5
- export interface ProductCardConfig {
6
- isProductCover?: BoolConfigVal;
7
- imgWidth?: string;
8
- imgHeight?: string;
9
- radius?: number;
10
- isTitle?: BoolConfigVal;
11
- isSubtitle?: BoolConfigVal;
12
- showSpec?: boolean;
13
- isTag?: BoolConfigVal;
14
- isPrice?: BoolConfigVal;
15
- isOriginPrice?: BoolConfigVal;
16
- showZeroPrice?: boolean;
17
- showMarketingTag?: boolean;
18
- showRemark?: boolean;
19
- isStock?: BoolConfigVal;
20
- }
21
- export interface ProductCardProps {
22
- item: any;
23
- index: number;
24
- context?: {
25
- onItemIntersectionIn: (item: any) => void;
26
- onItemIntersectionOut: (item: any) => void;
27
- };
28
- className?: string;
29
- onSelectProduct?: (item: any) => void;
30
- currentProductId?: number;
31
- onSelect?: (item: any) => void;
32
- onSelectCover?: (item: any) => void;
33
- onSelectInfo?: (item: any) => void;
34
- isSelected?: boolean;
35
- decorateConfig?: ProductCardConfig;
36
- }
37
- export declare const ProductCard: React.MemoExoticComponent<({ item, index, context, onSelect, onSelectCover, onSelectInfo, isSelected, className, decorateConfig, }: ProductCardProps) => JSX.Element>;
38
- export declare const DefaultItemContent: React.MemoExoticComponent<(props: {
39
- item: any;
40
- index: number;
41
- context?: {
42
- onItemIntersectionIn: (item: any) => void;
43
- onItemIntersectionOut: (item: any) => void;
44
- } | undefined;
45
- }) => JSX.Element>;
46
- export default ProductCard;
47
- export { ProductCardSkeleton };
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface ProductSelectProps {
4
- dataSource: any[];
5
- showSearch?: boolean;
6
- showTab?: boolean;
7
- layout?: {
8
- grid: boolean;
9
- config: string;
10
- };
11
- onChange: (value: any, type?: string) => void;
12
- value?: number;
13
- loading?: boolean;
14
- style?: React.CSSProperties;
15
- emptyDescription?: string;
16
- /** 当前滚动元素 */
17
- scrollDom?: string;
18
- /** 商品列表上方的其它组件 */
19
- offsetDom?: any;
20
- /** 样式变量 */
21
- token?: Partial<any>;
22
- /** 后台装修单选模式下的已选中项 */
23
- selectedItems?: Array<any>;
24
- /** 后台装修配置 */
25
- productListSetting?: Partial<any>;
26
- /** 兼容scrollDom */
27
- customScrollParent?: HTMLElement | string;
28
- hideCategoryWhenOne?: boolean;
29
- }
30
- export declare const PREFIX = "pisell-product-select";
31
- declare const index: ({ dataSource, emptyDescription, showSearch, scrollDom, offsetDom, style, token: customToken, onChange, value, selectedItems, productListSetting, customScrollParent, loading, layout, hideCategoryWhenOne, ...rest }: ProductSelectProps) => JSX.Element;
32
- export default index;
@@ -1,19 +0,0 @@
1
- /**
2
- * PisellPaymentList 使用示例
3
- *
4
- * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
- * 包括如何通过 Context 访问父组件配置
6
- */
7
- export declare const BasicExample: () => JSX.Element;
8
- export declare const ChildrenExample: () => JSX.Element;
9
- export declare const CustomItemExample: () => JSX.Element;
10
- export declare const MethodConfigExample: () => JSX.Element;
11
- export declare const FullFeatureExample: () => JSX.Element;
12
- declare const _default: {
13
- BasicExample: () => JSX.Element;
14
- ChildrenExample: () => JSX.Element;
15
- CustomItemExample: () => JSX.Element;
16
- MethodConfigExample: () => JSX.Element;
17
- FullFeatureExample: () => JSX.Element;
18
- };
19
- export default _default;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- interface EventDetailContextType {
3
- detail: any;
4
- open: boolean;
5
- onOpenEventDetail: (eventItem: any) => void;
6
- onCloseEventDetail: () => void;
7
- onSelectEventDetail: () => void;
8
- selectEventDetailBookingOptions: (v: any) => void;
9
- getEventDetailSelectDate: {
10
- run: (id: number, params: any) => void;
11
- loading: boolean;
12
- data?: any;
13
- };
14
- currentBookingOption: any;
15
- selectEventDetailProductDetail: (productDetail: any) => void;
16
- checkBeforeSelectEventDetail: () => boolean;
17
- getProductDetailRequest: any;
18
- }
19
- interface EventDetailProviderProps {
20
- children: React.ReactNode;
21
- }
22
- export declare const EventDetailContext: React.Context<EventDetailContextType | undefined>;
23
- export declare const EventDetailProvider: React.FC<EventDetailProviderProps>;
24
- /**
25
- * 使用步骤管理的Hook
26
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
27
- * @returns {StepContextType} 步骤管理上下文
28
- */
29
- export declare const useEventDetail: () => EventDetailContextType;
30
- export {};
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const CartItem: ({ onNext, renderContactInfo }: any) => JSX.Element;
3
- export default CartItem;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const ConfirmInformation: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default ConfirmInformation;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default Services;
@@ -1,107 +0,0 @@
1
- export declare const useAppointmentBooking: () => any;
2
- export declare const useShopDiscount: () => any;
3
- export declare const contextUtils: () => any;
4
- /**
5
- * @title: 监听步骤发生变化
6
- * @description:
7
- * @return {*}
8
- * @Author: WangHan
9
- * @Date: 2025-04-15 11:11
10
- */
11
- export declare const useAppointmentBookingStep: () => {
12
- getStepIndex: (type: string, skipNumber?: number) => any;
13
- stepList: any;
14
- removeStep: (key: string) => any;
15
- addStep: (props: any, stepKey?: string) => any;
16
- updateStep: (key: string, step: any) => void;
17
- nextStep: () => any;
18
- };
19
- /**
20
- * @title: 获取商品数据
21
- * @description:
22
- * @return {*}
23
- * @Author: WangHan
24
- * @Date: 2025-04-15 11:12
25
- */
26
- export declare const useAppointmentBookingProduct: () => {
27
- checkProductType: (productId: number) => Promise<any>;
28
- getProducts: () => Promise<any>;
29
- };
30
- /**
31
- * @title: 更新购物车数据
32
- * @description:
33
- * @return {*}
34
- * @Author: WangHan
35
- * @Date: 2025-04-15 11:12
36
- */
37
- export declare const useAppointmentBookingCart: () => void;
38
- /**
39
- * @title: 获取登录状态
40
- * @description:
41
- * @return {*}
42
- * @Author: WangHan
43
- * @Date: 2025-04-15 11:14
44
- */
45
- export declare const useAppointmentBookingLogin: () => {
46
- isLogin: boolean;
47
- openLoginModal: (params: {
48
- callback: any;
49
- }) => void;
50
- };
51
- /**
52
- * @title: 获取账户
53
- * @description:
54
- * @return {*}
55
- * @Author: WangHan
56
- * @Date: 2025-04-15 11:15
57
- */
58
- export declare const useAppointmentBookingAccount: () => {
59
- accountLists: any;
60
- getHolders: () => Promise<any>;
61
- form_id: any;
62
- addAccount: (val: any, type?: string) => Promise<any>;
63
- checkAccount: (type: any) => any;
64
- };
65
- /**
66
- * @title: 获取资源数据
67
- * @description:
68
- * @return {*}
69
- * @Author: WangHan
70
- * @Date: 2025-04-15 11:29
71
- */
72
- export declare const useAppointmentBookingResource: () => {
73
- getResourceTimeSlot: (index?: number) => Promise<void>;
74
- getResourceList: () => {
75
- resources: any;
76
- resourceCodes: any;
77
- };
78
- };
79
- /**
80
- * @title: 是否跳过资源选择步骤
81
- * @description:
82
- * @return {*}
83
- * @Author: WangHan
84
- * @Date: 2025-04-21 11:47
85
- */
86
- export declare const useIsSkipResourceStep: () => {
87
- checkSkipResourceStep: () => Promise<boolean>;
88
- };
89
- /**
90
- * @title: 获取预约配置
91
- * @description:
92
- * @return {*}
93
- * @Author: WangHan
94
- * @Date: 2025-04-24 18:15
95
- */
96
- export declare const useAppointmentBookingSetting: () => {
97
- isDateSelectedFirst: boolean;
98
- isFormSubject: boolean;
99
- isRetailTemplate: any;
100
- customPageId: any;
101
- channel: any;
102
- bookingSubject: any;
103
- setOtherData: (key: string, val: any) => any;
104
- getOtherData: (key: string) => any;
105
- formName: any;
106
- bookingSetting: any;
107
- };