@pisell/private-materials 3.4.16 → 3.4.18

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 (211) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/appointmentBooking/components/Content/index.js +1 -1
  12. package/es/components/appointmentBooking/components/Content/index.less +3 -3
  13. package/es/components/appointmentBooking/components/Services/index.js +2 -2
  14. package/es/components/appointmentBooking/index.js +8 -2
  15. package/es/components/booking/info2/service/addTimeModal/index.js +0 -1
  16. package/es/components/booking/utils.d.ts +2 -2
  17. package/es/components/eftposPay/hooks.d.ts +1 -1
  18. package/es/components/eftposPay/store/index.d.ts +2 -2
  19. package/es/components/eventBooking/index.js +8 -1
  20. package/es/components/ticketBooking/components/addServiceVariant/addService.js +3 -3
  21. package/es/hooks/useWindowSize.js +8 -1
  22. package/es/index.d.ts +3 -0
  23. package/es/index.js +4 -1
  24. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  25. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.js +29 -0
  26. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.less +30 -0
  27. package/es/plus/productSelect/CategoryTabs/index.d.ts +18 -0
  28. package/es/plus/productSelect/CategoryTabs/index.js +171 -0
  29. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  30. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.js +37 -0
  31. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.less +81 -0
  32. package/es/plus/productSelect/ProductCard/index.d.ts +45 -0
  33. package/es/plus/productSelect/ProductCard/index.js +170 -0
  34. package/es/plus/productSelect/ProductCard/index.less +253 -0
  35. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  36. package/es/plus/productSelect/ProductList/gridComponents.js +149 -0
  37. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  38. package/es/plus/productSelect/ProductList/index.js +72 -0
  39. package/es/plus/productSelect/ProductList/index.less +0 -0
  40. package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  41. package/es/plus/productSelect/components/IntersectionObserver.js +276 -0
  42. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  43. package/es/plus/productSelect/components/TabsStructure/TabsStructure.js +357 -0
  44. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +224 -0
  45. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  46. package/es/plus/productSelect/components/TabsStructure/hooks.js +243 -0
  47. package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  48. package/es/plus/productSelect/components/TabsStructure/index.js +13 -0
  49. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  50. package/es/plus/productSelect/components/TabsStructure/styles.js +87 -0
  51. package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  52. package/es/plus/productSelect/components/TabsStructure/types.js +1 -0
  53. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  54. package/es/plus/productSelect/components/TabsStructure/utils.js +56 -0
  55. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
  56. package/es/plus/productSelect/components/pisellPriceText/index.js +44 -0
  57. package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
  58. package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
  59. package/es/plus/productSelect/hooks/useToken.js +34 -0
  60. package/es/plus/productSelect/index.d.ts +31 -0
  61. package/es/plus/productSelect/index.js +270 -0
  62. package/es/plus/productSelect/index.less +56 -0
  63. package/es/plus/productSelect/locales.d.ts +18 -0
  64. package/es/plus/productSelect/locales.js +17 -0
  65. package/es/plus/productSelect/theme/token.d.ts +17 -0
  66. package/es/plus/productSelect/theme/token.js +19 -0
  67. package/es/plus/productSelect/utils.d.ts +39 -0
  68. package/es/plus/productSelect/utils.js +162 -0
  69. package/es/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  70. package/es/plus/saasCreateOrganization/components/Header.js +62 -0
  71. package/es/plus/saasCreateOrganization/index.d.ts +4 -0
  72. package/es/plus/saasCreateOrganization/index.js +15 -0
  73. package/es/plus/saasCreateOrganization/index.less +55 -0
  74. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  75. package/es/plus/saasCreateOrganization/locales.js +14 -0
  76. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  77. package/es/plus/saasCreateOrganization/types.js +1 -0
  78. package/es/plus/saasLogin/index.d.ts +5 -0
  79. package/es/plus/saasLogin/index.js +165 -0
  80. package/es/plus/saasLogin/index.less +136 -0
  81. package/es/plus/saasLogin/locales.d.ts +51 -0
  82. package/es/plus/saasLogin/locales.js +50 -0
  83. package/es/plus/saasLogin/types.d.ts +62 -0
  84. package/es/plus/saasLogin/types.js +1 -0
  85. package/es/plus/saasLogin/utils.d.ts +35 -0
  86. package/es/plus/saasLogin/utils.js +31 -0
  87. package/es/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  88. package/es/plus/saasRegister/components/EntryEmail.js +92 -0
  89. package/es/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  90. package/es/plus/saasRegister/components/EntryInfo.js +145 -0
  91. package/es/plus/saasRegister/components/GoLogin.d.ts +4 -0
  92. package/es/plus/saasRegister/components/GoLogin.js +27 -0
  93. package/es/plus/saasRegister/components/Header.d.ts +3 -0
  94. package/es/plus/saasRegister/components/Header.js +62 -0
  95. package/es/plus/saasRegister/components/VerifyError.d.ts +8 -0
  96. package/es/plus/saasRegister/components/VerifyError.js +68 -0
  97. package/es/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  98. package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
  99. package/es/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
  100. package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
  101. package/es/plus/saasRegister/index.d.ts +5 -0
  102. package/es/plus/saasRegister/index.js +246 -0
  103. package/es/plus/saasRegister/index.less +218 -0
  104. package/es/plus/saasRegister/locales.d.ts +117 -0
  105. package/es/plus/saasRegister/locales.js +116 -0
  106. package/es/plus/saasRegister/types.d.ts +114 -0
  107. package/es/plus/saasRegister/types.js +24 -0
  108. package/lib/components/appointmentBooking/components/Content/index.js +1 -1
  109. package/lib/components/appointmentBooking/components/Content/index.less +3 -3
  110. package/lib/components/appointmentBooking/components/Services/index.js +2 -2
  111. package/lib/components/appointmentBooking/index.js +6 -1
  112. package/lib/components/booking/info2/service/addTimeModal/index.js +0 -1
  113. package/lib/components/booking/utils.d.ts +2 -2
  114. package/lib/components/eftposPay/hooks.d.ts +1 -1
  115. package/lib/components/eftposPay/store/index.d.ts +2 -2
  116. package/lib/components/eventBooking/index.js +6 -1
  117. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +3 -3
  118. package/lib/hooks/useWindowSize.js +6 -1
  119. package/lib/index.d.ts +3 -0
  120. package/lib/index.js +9 -0
  121. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  122. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.js +62 -0
  123. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.less +30 -0
  124. package/lib/plus/productSelect/CategoryTabs/index.d.ts +18 -0
  125. package/lib/plus/productSelect/CategoryTabs/index.js +183 -0
  126. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  127. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.js +58 -0
  128. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.less +81 -0
  129. package/lib/plus/productSelect/ProductCard/index.d.ts +45 -0
  130. package/lib/plus/productSelect/ProductCard/index.js +184 -0
  131. package/lib/plus/productSelect/ProductCard/index.less +253 -0
  132. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  133. package/lib/plus/productSelect/ProductList/gridComponents.js +148 -0
  134. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  135. package/lib/plus/productSelect/ProductList/index.js +86 -0
  136. package/lib/plus/productSelect/ProductList/index.less +0 -0
  137. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  138. package/lib/plus/productSelect/components/IntersectionObserver.js +269 -0
  139. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  140. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.js +393 -0
  141. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +224 -0
  142. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  143. package/lib/plus/productSelect/components/TabsStructure/hooks.js +209 -0
  144. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  145. package/lib/plus/productSelect/components/TabsStructure/index.js +92 -0
  146. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  147. package/lib/plus/productSelect/components/TabsStructure/styles.js +122 -0
  148. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  149. package/lib/plus/productSelect/components/TabsStructure/types.js +17 -0
  150. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  151. package/lib/plus/productSelect/components/TabsStructure/utils.js +72 -0
  152. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
  153. package/lib/plus/productSelect/components/pisellPriceText/index.js +73 -0
  154. package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
  155. package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
  156. package/lib/plus/productSelect/hooks/useToken.js +50 -0
  157. package/lib/plus/productSelect/index.d.ts +31 -0
  158. package/lib/plus/productSelect/index.js +299 -0
  159. package/lib/plus/productSelect/index.less +56 -0
  160. package/lib/plus/productSelect/locales.d.ts +18 -0
  161. package/lib/plus/productSelect/locales.js +41 -0
  162. package/lib/plus/productSelect/theme/token.d.ts +17 -0
  163. package/lib/plus/productSelect/theme/token.js +47 -0
  164. package/lib/plus/productSelect/utils.d.ts +39 -0
  165. package/lib/plus/productSelect/utils.js +138 -0
  166. package/lib/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  167. package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
  168. package/lib/plus/saasCreateOrganization/index.d.ts +4 -0
  169. package/lib/plus/saasCreateOrganization/index.js +47 -0
  170. package/lib/plus/saasCreateOrganization/index.less +55 -0
  171. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  172. package/lib/plus/saasCreateOrganization/locales.js +38 -0
  173. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  174. package/lib/plus/saasCreateOrganization/types.js +17 -0
  175. package/lib/plus/saasLogin/index.d.ts +5 -0
  176. package/lib/plus/saasLogin/index.js +171 -0
  177. package/lib/plus/saasLogin/index.less +136 -0
  178. package/lib/plus/saasLogin/locales.d.ts +51 -0
  179. package/lib/plus/saasLogin/locales.js +74 -0
  180. package/lib/plus/saasLogin/types.d.ts +62 -0
  181. package/lib/plus/saasLogin/types.js +17 -0
  182. package/lib/plus/saasLogin/utils.d.ts +35 -0
  183. package/lib/plus/saasLogin/utils.js +50 -0
  184. package/lib/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  185. package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
  186. package/lib/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  187. package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
  188. package/lib/plus/saasRegister/components/GoLogin.d.ts +4 -0
  189. package/lib/plus/saasRegister/components/GoLogin.js +58 -0
  190. package/lib/plus/saasRegister/components/Header.d.ts +3 -0
  191. package/lib/plus/saasRegister/components/Header.js +99 -0
  192. package/lib/plus/saasRegister/components/VerifyError.d.ts +8 -0
  193. package/lib/plus/saasRegister/components/VerifyError.js +123 -0
  194. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  195. package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
  196. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
  197. package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
  198. package/lib/plus/saasRegister/index.d.ts +5 -0
  199. package/lib/plus/saasRegister/index.js +205 -0
  200. package/lib/plus/saasRegister/index.less +218 -0
  201. package/lib/plus/saasRegister/locales.d.ts +117 -0
  202. package/lib/plus/saasRegister/locales.js +140 -0
  203. package/lib/plus/saasRegister/types.d.ts +114 -0
  204. package/lib/plus/saasRegister/types.js +54 -0
  205. package/lowcode/saas-create-organization/meta.ts +214 -0
  206. package/lowcode/saas-create-organization/snippets.ts +25 -0
  207. package/lowcode/saas-login/meta.ts +370 -0
  208. package/lowcode/saas-login/snippets.ts +38 -0
  209. package/lowcode/saas-register/meta.ts +386 -0
  210. package/lowcode/saas-register/snippets.ts +31 -0
  211. package/package.json +2 -2
@@ -0,0 +1,116 @@
1
+ export default {
2
+ en: {
3
+ 'pisell-saas-register-welcome-message': 'Welcome to',
4
+ 'pisell-saas-register-title': 'Create account',
5
+ 'pisell-saas-register-subtitle': 'Welcome back! Please enter your details.',
6
+ 'pisell-saas-register-email-label': 'Email Address',
7
+ 'pisell-saas-register-email-placeholder': 'Enter your email',
8
+ 'pisell-saas-register-email-error': 'Please input your email!',
9
+ 'pisell-saas-register-email-error-valid': 'Please enter a valid email!',
10
+ 'pisell-saas-register-button': 'Continue',
11
+ 'pisell-saas-register-login-text': 'Already have an account?',
12
+ 'pisell-saas-register-login-link-text': 'Log in',
13
+ 'pisell-saas-register-failed-button-text': 'Back to Registration',
14
+ 'pisell-saas-register-failed-email-registered-title': 'This email is already registered. Please log in or use a different email',
15
+ 'pisell-saas-register-verify-email-title': 'Verify your email',
16
+ 'pisell-saas-register-verify-email-subtitle': 'Use the verification link sent to your email address',
17
+ 'pisell-saas-register-resend-text': "Didn't receive a link? ",
18
+ 'pisell-saas-register-resend-button-text': 'Resend',
19
+ 'pisell-saas-register-verifying-email-title': 'Verifying your email...',
20
+ 'pisell-saas-register-failed-link-expired-title': 'Verification link expired',
21
+ 'pisell-saas-register-failed-link-expired-subtitle': 'Your verification link has expired. Please request a new verification email to continue.',
22
+ 'pisell-saas-register-failed-link-invalid-title': 'Invalid verification link',
23
+ 'pisell-saas-register-failed-link-invalid-subtitle': 'The verification link is invalid. Please start the registration process again.',
24
+ 'pisell-saas-register-failed-link-email-registered-title': 'Already registered',
25
+ 'pisell-saas-register-failed-link-email-registered-subtitle': 'This email is already registered. Please log in.',
26
+ 'pisell-saas-register-failed-link-email-registered-button-text': 'Log in',
27
+ 'pisell-saas-register-password-label': 'Password',
28
+ 'pisell-saas-register-password-placeholder': 'Enter your password',
29
+ 'pisell-saas-register-password-required': 'Please input your password!',
30
+ 'pisell-saas-register-divider-text': 'Your Information',
31
+ 'pisell-saas-register-first-name-label': 'First Name',
32
+ 'pisell-saas-register-first-name-placeholder': 'Enter your first name',
33
+ 'pisell-saas-register-last-name-label': 'Last Name',
34
+ 'pisell-saas-register-last-name-placeholder': 'Enter your last name',
35
+ 'pisell-saas-register-entry-info-title': 'Set Password',
36
+ 'pisell-saas-register-entry-info-subtitle': 'Your email has been verified. Please set your password and provide your personal information.',
37
+ 'pisell-saas-register-entry-info-document-title': 'Account Setup',
38
+ 'pisell-saas-register-entry-info-document-description': 'Your email has been verified. Please set your password and provide your personal information.'
39
+ },
40
+ 'zh-CN': {
41
+ 'pisell-saas-register-welcome-message': '欢迎使用',
42
+ 'pisell-saas-register-title': '创建账号',
43
+ 'pisell-saas-register-subtitle': '欢迎回来!请输入您的详细信息。',
44
+ 'pisell-saas-register-email-label': '邮箱地址',
45
+ 'pisell-saas-register-email-placeholder': '输入您的邮箱',
46
+ 'pisell-saas-register-email-error': '请输入您的邮箱!',
47
+ 'pisell-saas-register-email-error-valid': '请输入有效的邮箱!',
48
+ 'pisell-saas-register-button': '继续',
49
+ 'pisell-saas-register-login-text': '已有账号?',
50
+ 'pisell-saas-register-login-link-text': '立即登录',
51
+ 'pisell-saas-register-failed-button-text': '返回注册页面',
52
+ 'pisell-saas-register-failed-email-registered-title': '该邮箱已注册,请登录或使用其他邮箱',
53
+ 'pisell-saas-register-verify-email-title': '验证您的邮箱',
54
+ 'pisell-saas-register-verify-email-subtitle': '请使用发送到您邮箱的验证链接',
55
+ 'pisell-saas-register-resend-text': '没有收到链接?',
56
+ 'pisell-saas-register-resend-button-text': '重新发送',
57
+ 'pisell-saas-register-verifying-email-title': '正在验证您的邮箱...',
58
+ 'pisell-saas-register-failed-link-expired-title': '验证链接已过期',
59
+ 'pisell-saas-register-failed-link-expired-subtitle': '您的验证链接已过期。请重新申请验证邮件以继续。',
60
+ 'pisell-saas-register-failed-link-invalid-title': '无效的验证链接',
61
+ 'pisell-saas-register-failed-link-invalid-subtitle': '验证链接无效。请重新开始注册流程。',
62
+ 'pisell-saas-register-failed-link-email-registered-title': '已注册',
63
+ 'pisell-saas-register-failed-link-email-registered-subtitle': '该邮箱已注册,请登录',
64
+ 'pisell-saas-register-failed-link-email-registered-button-text': '登录',
65
+ 'pisell-saas-register-password-label': '密码',
66
+ 'pisell-saas-register-password-placeholder': '输入您的密码',
67
+ 'pisell-saas-register-password-required': '请输入您的密码!',
68
+ 'pisell-saas-register-divider-text': '您的信息',
69
+ 'pisell-saas-register-first-name-label': '名',
70
+ 'pisell-saas-register-first-name-placeholder': '输入您的名',
71
+ 'pisell-saas-register-last-name-label': '姓',
72
+ 'pisell-saas-register-last-name-placeholder': '输入您的姓',
73
+ 'pisell-saas-register-entry-info-title': '设置密码',
74
+ 'pisell-saas-register-entry-info-subtitle': '邮箱已验证,请设置密码并填写个人信息。',
75
+ 'pisell-saas-register-entry-info-document-title': '账户设置',
76
+ 'pisell-saas-register-entry-info-document-description': '邮箱已验证,请设置密码并填写个人信息。'
77
+ },
78
+ 'zh-HK': {
79
+ 'pisell-saas-register-welcome-message': '歡迎使用',
80
+ 'pisell-saas-register-title': '創建帳號',
81
+ 'pisell-saas-register-subtitle': '歡迎回來!請輸入您的詳細信息。',
82
+ 'pisell-saas-register-email-label': '電郵地址',
83
+ 'pisell-saas-register-email-placeholder': '輸入您的電子郵件',
84
+ 'pisell-saas-register-email-error': '請輸入您的電子郵件!',
85
+ 'pisell-saas-register-email-error-valid': '請輸入有效的電子郵件!',
86
+ 'pisell-saas-register-button': '繼續',
87
+ 'pisell-saas-register-login-text': '已有帳號?',
88
+ 'pisell-saas-register-login-link-text': '立即登入',
89
+ 'pisell-saas-register-failed-button-text': '返回註冊頁面',
90
+ 'pisell-saas-register-failed-email-registered-title': '該電郵已註冊,請登入或使用其他電郵',
91
+ 'pisell-saas-register-verify-email-title': '驗證您的電郵',
92
+ 'pisell-saas-register-verify-email-subtitle': '請使用發送到您郵箱的驗證鏈接',
93
+ 'pisell-saas-register-resend-text': '沒有收到鏈接?',
94
+ 'pisell-saas-register-resend-button-text': '重新發送',
95
+ 'pisell-saas-register-verifying-email-title': '正在驗證您的電郵...',
96
+ 'pisell-saas-register-failed-link-expired-title': '驗證鏈接已過期',
97
+ 'pisell-saas-register-failed-link-expired-subtitle': '您的驗證鏈接已過期。請重新申請驗證郵件以繼續。',
98
+ 'pisell-saas-register-failed-link-invalid-title': '無效的驗證鏈接',
99
+ 'pisell-saas-register-failed-link-invalid-subtitle': '驗證鏈接無效。請重新開始註冊流程。',
100
+ 'pisell-saas-register-failed-link-email-registered-title': '已註冊',
101
+ 'pisell-saas-register-failed-link-email-registered-subtitle': '該電郵已註冊,請登入',
102
+ 'pisell-saas-register-failed-link-email-registered-button-text': '登入',
103
+ 'pisell-saas-register-password-label': '密碼',
104
+ 'pisell-saas-register-password-placeholder': '輸入您的密碼',
105
+ 'pisell-saas-register-password-required': '請輸入您的密碼!',
106
+ 'pisell-saas-register-divider-text': '您的信息',
107
+ 'pisell-saas-register-first-name-label': '名',
108
+ 'pisell-saas-register-first-name-placeholder': '輸入您的名',
109
+ 'pisell-saas-register-last-name-label': '姓',
110
+ 'pisell-saas-register-last-name-placeholder': '輸入您的姓',
111
+ 'pisell-saas-register-entry-info-title': '設定密碼',
112
+ 'pisell-saas-register-entry-info-subtitle': '郵箱已驗證,請設定密碼並填寫個人資訊。',
113
+ 'pisell-saas-register-entry-info-document-title': '帳戶設定',
114
+ 'pisell-saas-register-entry-info-document-description': '郵箱已驗證,請設定密碼並填寫個人資訊。'
115
+ }
116
+ };
@@ -0,0 +1,114 @@
1
+ export declare enum SRStepStatus {
2
+ /** 邮箱已被注册 */
3
+ FAILED_EMAIL_REGISTERED = "failed_email_registered",
4
+ /** 链接过期 */
5
+ FAILED_LINK_EXPIRED = "failed_link_expired",
6
+ /** 链接无效 */
7
+ FAILED_LINK_INVALID = "failed_link_invalid",
8
+ /** 链接中邮箱已被注册 */
9
+ FAILED_LINK_EMAIL_REGISTERED = "failed_link_email_registered"
10
+ }
11
+ export declare enum SRStepKey {
12
+ /** 输入邮箱 */
13
+ ENTRY_EMAIL = "entry_email",
14
+ /** 邮箱等待验证 */
15
+ WAIT_VERIFY_EMAIL = "wait_verify_email",
16
+ /** 邮箱验证中 */
17
+ VERIFYING_EMAIL = "verifying_email",
18
+ /** 录入信息 */
19
+ ENTRY_INFO = "entry_info",
20
+ /** 验证失败 */
21
+ VERIFY_FAILED = "verify_failed"
22
+ }
23
+ export declare enum SRVerifyCode {
24
+ /** 成功 */
25
+ SUCCESS = 200,
26
+ /** 链接已过期 */
27
+ LINK_EXPIRED = 601000,
28
+ /** 邮箱已被注册 */
29
+ EMAIL_REGISTERED = 601001,
30
+ /** 链接无效 */
31
+ LINK_INVALID = 601002
32
+ }
33
+ export interface SRStep {
34
+ key: SRStepKey;
35
+ status?: SRStepStatus;
36
+ params?: {
37
+ [key: string]: any;
38
+ };
39
+ }
40
+ export interface SRProps {
41
+ /** 是否显示Logo */
42
+ showLogo?: boolean;
43
+ /** Logo图片地址 */
44
+ logo?: string;
45
+ /** Logo位置 */
46
+ logoPosition?: 'left' | 'center' | 'right';
47
+ /** Logo尺寸 */
48
+ logoSize?: {
49
+ width?: number;
50
+ height?: number;
51
+ };
52
+ /** 是否显示欢迎语 */
53
+ showWelcomeMessage?: boolean;
54
+ /** 欢迎语 */
55
+ welcomeMessage?: string;
56
+ /** 欢迎语对齐方式 */
57
+ welcomeMessageAlign?: 'left' | 'center' | 'right';
58
+ /** 是否显示标题 */
59
+ showTitle?: boolean;
60
+ /** 标题 */
61
+ title?: string;
62
+ /** 标题对齐方式 */
63
+ titleAlign?: 'left' | 'center' | 'right';
64
+ /** 副标题 */
65
+ subtitle?: string;
66
+ /** 是否显示副标题 */
67
+ showSubtitle?: boolean;
68
+ /** 副标题对齐方式 */
69
+ subtitleAlign?: 'left' | 'center' | 'right';
70
+ /** 邮箱输入框标题 */
71
+ emailLabel?: string;
72
+ /** 邮箱输入框占位符 */
73
+ emailPlaceholder?: string;
74
+ /** 按钮文本 */
75
+ buttonText?: string;
76
+ /** 密码输入框标题 */
77
+ passwordLabel?: string;
78
+ /** 密码输入框占位符 */
79
+ passwordPlaceholder?: string;
80
+ /** 是否显示分割线 */
81
+ showDivider?: boolean;
82
+ /** 分割线文案 */
83
+ dividerText?: string;
84
+ /** 是否显示名字 */
85
+ showFirstName?: boolean;
86
+ /** 是否显示姓氏 */
87
+ showLastName?: boolean;
88
+ /** 是否显示去登录入口 */
89
+ showLogin?: boolean;
90
+ /** 去登录入口对齐方式 */
91
+ loginAlign?: 'left' | 'center' | 'right';
92
+ /** 是否显示去登录入口文本 */
93
+ showLoginText?: boolean;
94
+ /** 去登录入口文本 */
95
+ loginText?: string;
96
+ /** 是否显示去登录入口链接文本 */
97
+ showLoginLinkText?: boolean;
98
+ /** 去登录入口链接文本 */
99
+ loginLinkText?: string;
100
+ /** 邮箱验证回调 */
101
+ onVerifyEmail?: (email: string) => Promise<boolean>;
102
+ /** 重新发送验证码回调 */
103
+ onSendEmail?: (email: string) => Promise<void>;
104
+ /** 去登录入口点击回调 */
105
+ onGoLogin?: () => void;
106
+ /** 验证链接回调 */
107
+ onVerifyLink?: (emailToken: string) => Promise<{
108
+ code: number;
109
+ }>;
110
+ /** 信息录入回调 */
111
+ onEntryInfo?: (info: any) => Promise<void>;
112
+ /** step 变化回调 */
113
+ onStepChange?: (step: SRStep) => void;
114
+ }
@@ -0,0 +1,24 @@
1
+ // ********** 为了缩短命名长度,使用SRStepStatus代替SaasRegisterStepStatus **********
2
+
3
+ export var SRStepStatus = /*#__PURE__*/function (SRStepStatus) {
4
+ SRStepStatus["FAILED_EMAIL_REGISTERED"] = "failed_email_registered";
5
+ SRStepStatus["FAILED_LINK_EXPIRED"] = "failed_link_expired";
6
+ SRStepStatus["FAILED_LINK_INVALID"] = "failed_link_invalid";
7
+ SRStepStatus["FAILED_LINK_EMAIL_REGISTERED"] = "failed_link_email_registered";
8
+ return SRStepStatus;
9
+ }({});
10
+ export var SRStepKey = /*#__PURE__*/function (SRStepKey) {
11
+ SRStepKey["ENTRY_EMAIL"] = "entry_email";
12
+ SRStepKey["WAIT_VERIFY_EMAIL"] = "wait_verify_email";
13
+ SRStepKey["VERIFYING_EMAIL"] = "verifying_email";
14
+ SRStepKey["ENTRY_INFO"] = "entry_info";
15
+ SRStepKey["VERIFY_FAILED"] = "verify_failed";
16
+ return SRStepKey;
17
+ }({});
18
+ export var SRVerifyCode = /*#__PURE__*/function (SRVerifyCode) {
19
+ SRVerifyCode[SRVerifyCode["SUCCESS"] = 200] = "SUCCESS";
20
+ SRVerifyCode[SRVerifyCode["LINK_EXPIRED"] = 601000] = "LINK_EXPIRED";
21
+ SRVerifyCode[SRVerifyCode["EMAIL_REGISTERED"] = 601001] = "EMAIL_REGISTERED";
22
+ SRVerifyCode[SRVerifyCode["LINK_INVALID"] = 601002] = "LINK_INVALID";
23
+ return SRVerifyCode;
24
+ }({});
@@ -199,7 +199,7 @@ var Layout = () => {
199
199
  var _a2, _b2;
200
200
  if ((0, import_utils.isMobile)()) {
201
201
  const header = document.querySelector(".event-progress-bar");
202
- const footer = document.querySelector(".pisell-section-footers-wrapper");
202
+ const footer = document.querySelector(".pisell-section-footers-wrapper") || document.querySelector("#layout-footer");
203
203
  const content = document.querySelector(
204
204
  ".parallel-content-mobile-wrap"
205
205
  );
@@ -7,7 +7,7 @@
7
7
  flex: 1;
8
8
 
9
9
  .pisell-product-select-wrapper {
10
- .pisell-product-select-tabs-wrapper {
10
+ .pisell-product-select__tabs-wrapper {
11
11
  top: 77px !important;
12
12
  }
13
13
  }
@@ -50,7 +50,7 @@
50
50
  flex: none;
51
51
 
52
52
  .pisell-product-select-wrapper {
53
- .pisell-product-select-tabs-wrapper {
53
+ .pisell-product-select__tabs-wrapper {
54
54
  top: 0 !important;
55
55
  }
56
56
  }
@@ -97,7 +97,7 @@
97
97
 
98
98
  .parallel-content-retail-wrap {
99
99
  .pisell-product-select-wrapper {
100
- .pisell-product-select-tabs-wrapper {
100
+ .pisell-product-select__tabs-wrapper {
101
101
  top: 0px !important;
102
102
  }
103
103
  }
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(Services_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_dayjs = __toESM(require("dayjs"));
37
37
  var import_utils = require("@pisell/utils");
38
- var import_productSelect = __toESM(require("../../../productSelect"));
38
+ var import_productSelect = __toESM(require("../../../../plus/productSelect"));
39
39
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
40
40
  var import_context = require("../../context");
41
41
  var import_hooks = require("../../hooks");
@@ -174,7 +174,7 @@ var Services = (0, import_react.forwardRef)((props, ref) => {
174
174
  const _isMobile = (0, import_react.useMemo)(() => {
175
175
  if (typeof import_utils.isMobile === "function") return (0, import_utils.isMobile)();
176
176
  return import_utils.isMobile;
177
- }, import_utils.isMobile);
177
+ }, [import_utils.isMobile]);
178
178
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-service-wrap" }, /* @__PURE__ */ import_react.default.createElement(
179
179
  import_productSelect.default,
180
180
  {
@@ -60,7 +60,12 @@ var AppointmentBooking = () => {
60
60
  }, []);
61
61
  (0, import_react.useEffect)(() => {
62
62
  const setRealVH = () => {
63
- const vh = window.innerHeight * 0.01;
63
+ let height = window.innerHeight;
64
+ const urlParams = new URLSearchParams(window.location.search);
65
+ if (urlParams.has("fromTabbar")) {
66
+ height = height - 54;
67
+ }
68
+ const vh = height * 0.01;
64
69
  document.documentElement.style.setProperty("--vh", `${vh}px`);
65
70
  };
66
71
  setRealVH();
@@ -208,7 +208,6 @@ var AddTimeModal = () => {
208
208
  setLoading("list");
209
209
  const newList = await _getAddTimeProducts();
210
210
  let list = newList.map((d) => {
211
- debugger;
212
211
  let isUsable = (0, import_utils2.isUsableProduct)(d.add_time, state.service.cacheItem);
213
212
  return {
214
213
  ...d,
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | {
168
+ }) => number | "flexible" | {
169
169
  type: string;
170
170
  value: number;
171
- } | "flexible";
171
+ };
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -297,8 +297,8 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
- action?: "amount" | "deviceList" | "pay" | undefined;
300
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | "linkly" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -68,7 +68,12 @@ var Content = () => {
68
68
  }, []);
69
69
  (0, import_react.useEffect)(() => {
70
70
  const setRealVH = () => {
71
- const vh = window.innerHeight * 0.01;
71
+ let height = window.innerHeight;
72
+ const urlParams = new URLSearchParams(window.location.search);
73
+ if (urlParams.has("formTabbar")) {
74
+ height = height - 54;
75
+ }
76
+ const vh = height * 0.01;
72
77
  document.documentElement.style.setProperty("--vh", `${vh}px`);
73
78
  };
74
79
  setRealVH();
@@ -42,7 +42,7 @@ var import_utils4 = require("../../../booking/info/service2/utils");
42
42
  var import_utils5 = require("../../../booking/info/utils");
43
43
  var import_serve = require("../../../booking/info/service/serve");
44
44
  var import_serviceManager = require("../../../booking/info/service/serviceManager");
45
- var import_productSelect = __toESM(require("../../../productSelect"));
45
+ var import_productSelect = __toESM(require("../../../../plus/productSelect"));
46
46
  var import_index = require("./index.less");
47
47
  var import_utils6 = require("../../utils");
48
48
  var import_notAvailable = __toESM(require("../notAvailable"));
@@ -477,8 +477,8 @@ var AddSerivce = (props) => {
477
477
  isTitle: 1,
478
478
  isSubtitle: 1,
479
479
  isPrice: 1,
480
- isOriginPrice: 1,
481
- isStock: 1
480
+ isOriginPrice: 0,
481
+ isStock: 0
482
482
  }
483
483
  }
484
484
  ), /* @__PURE__ */ import_react.default.createElement(import_notAvailable.default, { ref: notAvailableRef }));
@@ -30,7 +30,12 @@ var useWindowSize = (options = {}) => {
30
30
  (0, import_react.useEffect)(() => {
31
31
  let timeoutId;
32
32
  const setRealVH = () => {
33
- const vh = window.innerHeight * 0.01;
33
+ let height = window.innerHeight;
34
+ const urlParams = new URLSearchParams(window.location.search);
35
+ if (urlParams.has("formTabbar")) {
36
+ height = height - 54;
37
+ }
38
+ const vh = height * 0.01;
34
39
  document.documentElement.style.setProperty("--vh", `${vh}px`);
35
40
  };
36
41
  const debouncedHandleResize = () => {
package/lib/index.d.ts CHANGED
@@ -45,3 +45,6 @@ export { default as TicketBooking } from './components/ticketBooking';
45
45
  export { default as SubTotal } from './components/subTotal';
46
46
  export { default as EditBookingModal } from './components/booking/editBookingModal';
47
47
  export { default as StepController } from './components/stepController';
48
+ export { default as SaasLogin } from './plus/saasLogin';
49
+ export { default as SaasRegister } from './plus/saasRegister';
50
+ export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
package/lib/index.js CHANGED
@@ -62,6 +62,9 @@ __export(src_exports, {
62
62
  PisellSelectCustomerModal: () => import_pisellSelectCustomerModal.default,
63
63
  ProductExtension: () => import_productExtension.default,
64
64
  RuleSetting: () => import_ruleSetting.default,
65
+ SaasCreateOrganization: () => import_saasCreateOrganization.default,
66
+ SaasLogin: () => import_saasLogin.default,
67
+ SaasRegister: () => import_saasRegister.default,
65
68
  Schedules: () => import_schedules.default,
66
69
  ShoppingCart: () => import_shoppingCart.default,
67
70
  StepController: () => import_stepController.default,
@@ -126,6 +129,9 @@ var import_ticketBooking = __toESM(require("./components/ticketBooking"));
126
129
  var import_subTotal = __toESM(require("./components/subTotal"));
127
130
  var import_editBookingModal = __toESM(require("./components/booking/editBookingModal"));
128
131
  var import_stepController = __toESM(require("./components/stepController"));
132
+ var import_saasLogin = __toESM(require("./plus/saasLogin"));
133
+ var import_saasRegister = __toESM(require("./plus/saasRegister"));
134
+ var import_saasCreateOrganization = __toESM(require("./plus/saasCreateOrganization"));
129
135
  import_dayjs.default.extend(import_weekday.default);
130
136
  import_dayjs.default.extend(import_localeData.default);
131
137
  // Annotate the CommonJS export names for ESM import in node:
@@ -163,6 +169,9 @@ import_dayjs.default.extend(import_localeData.default);
163
169
  PisellSelectCustomerModal,
164
170
  ProductExtension,
165
171
  RuleSetting,
172
+ SaasCreateOrganization,
173
+ SaasLogin,
174
+ SaasRegister,
166
175
  Schedules,
167
176
  ShoppingCart,
168
177
  StepController,
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './CategorySkeleton.less';
3
+ interface CategorySkeletonProps {
4
+ className?: string;
5
+ style?: React.CSSProperties;
6
+ tabCount?: number;
7
+ animated?: boolean;
8
+ }
9
+ declare const CategorySkeleton: React.FC<CategorySkeletonProps>;
10
+ export default CategorySkeleton;
@@ -0,0 +1,62 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/productSelect/CategoryTabs/CategorySkeleton.tsx
30
+ var CategorySkeleton_exports = {};
31
+ __export(CategorySkeleton_exports, {
32
+ default: () => CategorySkeleton_default
33
+ });
34
+ module.exports = __toCommonJS(CategorySkeleton_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_classnames = __toESM(require("classnames"));
37
+ var import_CategorySkeleton = require("./CategorySkeleton.less");
38
+ var CategorySkeleton = ({
39
+ className,
40
+ style,
41
+ tabCount = 5,
42
+ animated = true
43
+ }) => {
44
+ const containerClass = (0, import_classnames.default)(
45
+ "category-skeleton",
46
+ {
47
+ "category-skeleton--animated": animated
48
+ },
49
+ className
50
+ );
51
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: containerClass, style }, Array.from({ length: tabCount }, (_, index) => /* @__PURE__ */ import_react.default.createElement(
52
+ "div",
53
+ {
54
+ key: index,
55
+ className: "category-skeleton__tab",
56
+ style: {
57
+ width: `${Math.floor(Math.random() * 40) + 80}px`
58
+ }
59
+ }
60
+ )));
61
+ };
62
+ var CategorySkeleton_default = CategorySkeleton;
@@ -0,0 +1,30 @@
1
+ .category-skeleton {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 8px;
5
+ padding: 16px 12px;
6
+
7
+ &__tab {
8
+ height: 32px;
9
+ background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
10
+ background-size: 200% 100%;
11
+ border-radius: 20px;
12
+ flex-shrink: 0;
13
+ height: 40px;
14
+ }
15
+
16
+ &--animated {
17
+ .category-skeleton__tab {
18
+ animation: skeleton-loading 1.5s ease-in-out infinite;
19
+ }
20
+ }
21
+ }
22
+
23
+ @keyframes skeleton-loading {
24
+ 0% {
25
+ background-position: 200% 0;
26
+ }
27
+ 100% {
28
+ background-position: -200% 0;
29
+ }
30
+ }
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import '../components/TabsStructure/TabsStructure.less';
3
+ import CategorySkeleton from './CategorySkeleton';
4
+ declare type TabItem = {
5
+ key: string;
6
+ label: React.ReactNode;
7
+ icon?: React.ReactNode;
8
+ };
9
+ interface IProps {
10
+ items: TabItem[];
11
+ activeKey: string;
12
+ onChange: (key: string) => void;
13
+ loading?: boolean;
14
+ skeleton?: React.ReactNode;
15
+ }
16
+ declare const CategoryTabs: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
17
+ export default CategoryTabs;
18
+ export { CategorySkeleton };