@pisell/private-materials 6.3.10 → 6.3.12

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 (316) 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 +13 -13
  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/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +27 -3
  14. package/es/components/appointmentBooking/components/Content/index.js +3 -3
  15. package/es/components/appointmentBooking/components/Voucher/index.js +6 -5
  16. package/es/components/appointmentBooking/hooks.js +4 -2
  17. package/es/components/appointmentBooking/index.js +10 -0
  18. package/es/components/booking/addons/index.js +12 -8
  19. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  20. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  21. package/es/components/booking/components/browserSelect/index.js +1 -1
  22. package/es/components/booking/components/footer/index.js +19 -9
  23. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  24. package/es/components/booking/components/voucher/index.js +8 -5
  25. package/es/components/booking/forms/model.js +5 -5
  26. package/es/components/booking/forms/table/index.d.ts +0 -1
  27. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  28. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  29. package/es/components/booking/info/index.d.ts +0 -1
  30. package/es/components/booking/info/service/like/index.d.ts +0 -1
  31. package/es/components/booking/info/service/like/index.js +1 -1
  32. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  33. package/es/components/booking/info2/service/addService/utils.js +16 -1
  34. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  35. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  36. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  37. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  38. package/es/components/booking/notes/model.js +5 -5
  39. package/es/components/booking/payments/model.js +5 -5
  40. package/es/components/booking/utils.d.ts +2 -2
  41. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  42. package/es/components/eftpos/form/index.d.ts +0 -1
  43. package/es/components/eftpos/group/index.d.ts +0 -1
  44. package/es/components/eftpos/hooks.d.ts +0 -1
  45. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  46. package/es/components/eftpos/icon/device.d.ts +0 -1
  47. package/es/components/eftpos/receipt/index.d.ts +0 -1
  48. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  49. package/es/components/eftposPay/amount.d.ts +1 -1
  50. package/es/components/eftposPay/app.d.ts +0 -1
  51. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  52. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  53. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  54. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  55. package/es/components/eftposPay/device.d.ts +1 -1
  56. package/es/components/eftposPay/hooks.d.ts +2 -2
  57. package/es/components/eftposPay/store/index.d.ts +3 -3
  58. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  59. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +34 -8
  60. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  61. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  62. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  64. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/progressBar/index.js +0 -20
  66. package/es/components/listComponent/index.js +5 -5
  67. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +7 -20
  68. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  69. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  70. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  71. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  72. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  73. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  74. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  75. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -12
  76. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +24 -31
  77. package/es/components/pay/toC/utils.d.ts +1 -1
  78. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  79. package/es/components/productExtension/card/index.js +3 -3
  80. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  81. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  82. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  83. package/es/components/productExtension/fields/Forms/index.js +12 -12
  84. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  85. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  86. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  87. package/es/components/productExtension/server.js +2 -2
  88. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  89. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  90. package/es/components/schedules/calendar/index.js +4 -4
  91. package/es/components/schedules/calendar/serve.js +2 -2
  92. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  93. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  94. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  95. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  96. package/es/components/schedules/components/ResourceList/index.js +1 -1
  97. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  98. package/es/components/schedules/components/Search/index.js +5 -5
  99. package/es/components/schedules/model.js +5 -5
  100. package/es/components/schedules/openHours/index.js +1 -1
  101. package/es/components/schedules/openHours/serve.js +2 -2
  102. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  108. package/es/components/schedules/products/index.d.ts +0 -1
  109. package/es/components/schedules/products/serve.js +2 -2
  110. package/es/components/schedules/products/utils.js +5 -5
  111. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  112. package/es/components/schedules/resources/detail/index.js +10 -10
  113. package/es/components/schedules/resources/list/index.js +2 -2
  114. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  115. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  116. package/es/components/schedules/resources/serve.js +2 -2
  117. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  118. package/es/components/schedules/utils.d.ts +1 -1
  119. package/es/components/schedules/utils.js +4 -4
  120. package/es/components/selectModal/index.js +2 -2
  121. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  122. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  123. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  124. package/es/components/wallet/Detail/index.js +250 -64
  125. package/es/components/wallet/Detail/locales.d.ts +51 -0
  126. package/es/components/wallet/Detail/locales.js +57 -3
  127. package/es/components/wallet/Detail/serve.js +5 -1
  128. package/es/components/wallet/components/UsageRules/index.d.ts +23 -0
  129. package/es/components/wallet/components/UsageRules/index.js +147 -0
  130. package/es/components/wallet/components/UsageRules/index.less +157 -0
  131. package/es/components/wallet/components/WalletCard.js +2 -3
  132. package/es/components/wallet/components/index.d.ts +1 -0
  133. package/es/components/wallet/components/index.js +2 -1
  134. package/es/hooks/useComponents.js +1 -1
  135. package/es/index.d.ts +3 -0
  136. package/es/index.js +4 -1
  137. package/es/plus/productSelect/ProductCard/index.less +5 -22
  138. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  139. package/es/plus/productSelect/components/pisellPriceText/index.js +1 -0
  140. package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
  141. package/es/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  142. package/es/plus/saasCreateOrganization/components/Header.js +62 -0
  143. package/es/plus/saasCreateOrganization/index.d.ts +4 -0
  144. package/es/plus/saasCreateOrganization/index.js +15 -0
  145. package/es/plus/saasCreateOrganization/index.less +55 -0
  146. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  147. package/es/plus/saasCreateOrganization/locales.js +14 -0
  148. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  149. package/es/plus/saasCreateOrganization/types.js +1 -0
  150. package/es/plus/saasLogin/index.d.ts +5 -0
  151. package/es/plus/saasLogin/index.js +165 -0
  152. package/es/plus/saasLogin/index.less +136 -0
  153. package/es/plus/saasLogin/locales.d.ts +51 -0
  154. package/es/plus/saasLogin/locales.js +50 -0
  155. package/es/plus/saasLogin/types.d.ts +62 -0
  156. package/es/plus/saasLogin/types.js +1 -0
  157. package/es/plus/saasLogin/utils.d.ts +35 -0
  158. package/es/plus/saasLogin/utils.js +31 -0
  159. package/es/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  160. package/es/plus/saasRegister/components/EntryEmail.js +92 -0
  161. package/es/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  162. package/es/plus/saasRegister/components/EntryInfo.js +145 -0
  163. package/es/plus/saasRegister/components/GoLogin.d.ts +4 -0
  164. package/es/plus/saasRegister/components/GoLogin.js +27 -0
  165. package/es/plus/saasRegister/components/Header.d.ts +3 -0
  166. package/es/plus/saasRegister/components/Header.js +62 -0
  167. package/es/plus/saasRegister/components/VerifyError.d.ts +8 -0
  168. package/es/plus/saasRegister/components/VerifyError.js +68 -0
  169. package/es/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  170. package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
  171. package/es/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
  172. package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
  173. package/es/plus/saasRegister/index.d.ts +5 -0
  174. package/es/plus/saasRegister/index.js +246 -0
  175. package/es/plus/saasRegister/index.less +218 -0
  176. package/es/plus/saasRegister/locales.d.ts +117 -0
  177. package/es/plus/saasRegister/locales.js +116 -0
  178. package/es/plus/saasRegister/types.d.ts +114 -0
  179. package/es/plus/saasRegister/types.js +24 -0
  180. package/es/utils/index.d.ts +1 -1
  181. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  182. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  183. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +22 -2
  184. package/lib/components/appointmentBooking/components/Content/index.js +2 -2
  185. package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
  186. package/lib/components/appointmentBooking/hooks.js +4 -2
  187. package/lib/components/appointmentBooking/index.js +6 -0
  188. package/lib/components/booking/addons/index.js +1 -11
  189. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  190. package/lib/components/booking/components/footer/index.js +15 -8
  191. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  192. package/lib/components/booking/components/voucher/index.js +3 -1
  193. package/lib/components/booking/forms/table/index.d.ts +0 -1
  194. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  195. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  196. package/lib/components/booking/info/index.d.ts +0 -1
  197. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  198. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  199. package/lib/components/booking/info2/service/addService/utils.js +15 -3
  200. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  201. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  202. package/lib/components/booking/utils.d.ts +2 -2
  203. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  204. package/lib/components/eftpos/form/index.d.ts +0 -1
  205. package/lib/components/eftpos/group/index.d.ts +0 -1
  206. package/lib/components/eftpos/hooks.d.ts +0 -1
  207. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  208. package/lib/components/eftpos/icon/device.d.ts +0 -1
  209. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  210. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  211. package/lib/components/eftposPay/amount.d.ts +1 -1
  212. package/lib/components/eftposPay/app.d.ts +0 -1
  213. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  214. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  215. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  216. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  217. package/lib/components/eftposPay/device.d.ts +1 -1
  218. package/lib/components/eftposPay/hooks.d.ts +2 -2
  219. package/lib/components/eftposPay/store/index.d.ts +3 -3
  220. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  221. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +30 -8
  222. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  223. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  224. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  225. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  226. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  227. package/lib/components/eventBooking/components/progressBar/index.js +0 -18
  228. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +7 -11
  229. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  230. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  231. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  232. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  233. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  234. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  235. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  236. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -9
  237. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -6
  238. package/lib/components/pay/toC/utils.d.ts +1 -1
  239. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  240. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  241. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  242. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  243. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  244. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  245. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  246. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  247. package/lib/components/schedules/products/index.d.ts +0 -1
  248. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  249. package/lib/components/schedules/utils.d.ts +1 -1
  250. package/lib/components/schedules/utils.js +1 -1
  251. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  252. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  253. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  254. package/lib/components/wallet/Detail/index.js +128 -9
  255. package/lib/components/wallet/Detail/locales.d.ts +51 -0
  256. package/lib/components/wallet/Detail/locales.js +57 -3
  257. package/lib/components/wallet/Detail/serve.js +6 -1
  258. package/lib/components/wallet/components/UsageRules/index.d.ts +23 -0
  259. package/lib/components/wallet/components/UsageRules/index.js +113 -0
  260. package/lib/components/wallet/components/UsageRules/index.less +157 -0
  261. package/lib/components/wallet/components/WalletCard.js +1 -1
  262. package/lib/components/wallet/components/index.d.ts +1 -0
  263. package/lib/components/wallet/components/index.js +3 -0
  264. package/lib/index.d.ts +3 -0
  265. package/lib/index.js +9 -0
  266. package/lib/plus/productSelect/ProductCard/index.less +5 -22
  267. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  268. package/lib/plus/productSelect/components/pisellPriceText/index.js +1 -0
  269. package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
  270. package/lib/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  271. package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
  272. package/lib/plus/saasCreateOrganization/index.d.ts +4 -0
  273. package/lib/plus/saasCreateOrganization/index.js +47 -0
  274. package/lib/plus/saasCreateOrganization/index.less +55 -0
  275. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  276. package/lib/plus/saasCreateOrganization/locales.js +38 -0
  277. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  278. package/lib/plus/saasCreateOrganization/types.js +17 -0
  279. package/lib/plus/saasLogin/index.d.ts +5 -0
  280. package/lib/plus/saasLogin/index.js +171 -0
  281. package/lib/plus/saasLogin/index.less +136 -0
  282. package/lib/plus/saasLogin/locales.d.ts +51 -0
  283. package/lib/plus/saasLogin/locales.js +74 -0
  284. package/lib/plus/saasLogin/types.d.ts +62 -0
  285. package/lib/plus/saasLogin/types.js +17 -0
  286. package/lib/plus/saasLogin/utils.d.ts +35 -0
  287. package/lib/plus/saasLogin/utils.js +50 -0
  288. package/lib/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  289. package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
  290. package/lib/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  291. package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
  292. package/lib/plus/saasRegister/components/GoLogin.d.ts +4 -0
  293. package/lib/plus/saasRegister/components/GoLogin.js +58 -0
  294. package/lib/plus/saasRegister/components/Header.d.ts +3 -0
  295. package/lib/plus/saasRegister/components/Header.js +99 -0
  296. package/lib/plus/saasRegister/components/VerifyError.d.ts +8 -0
  297. package/lib/plus/saasRegister/components/VerifyError.js +123 -0
  298. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  299. package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
  300. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +7 -0
  301. package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
  302. package/lib/plus/saasRegister/index.d.ts +5 -0
  303. package/lib/plus/saasRegister/index.js +205 -0
  304. package/lib/plus/saasRegister/index.less +218 -0
  305. package/lib/plus/saasRegister/locales.d.ts +117 -0
  306. package/lib/plus/saasRegister/locales.js +140 -0
  307. package/lib/plus/saasRegister/types.d.ts +114 -0
  308. package/lib/plus/saasRegister/types.js +54 -0
  309. package/lib/utils/index.d.ts +1 -1
  310. package/lowcode/saas-create-organization/meta.ts +214 -0
  311. package/lowcode/saas-create-organization/snippets.ts +25 -0
  312. package/lowcode/saas-login/meta.ts +370 -0
  313. package/lowcode/saas-login/snippets.ts +38 -0
  314. package/lowcode/saas-register/meta.ts +386 -0
  315. package/lowcode/saas-register/snippets.ts +31 -0
  316. package/package.json +5 -5
@@ -0,0 +1,147 @@
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
+ 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; }
3
+ 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; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import React from 'react';
8
+ import { Typography } from '@pisell/materials';
9
+ import "./index.less";
10
+ var Text = Typography.Text;
11
+ function UsageRules(_ref) {
12
+ var _ref$className = _ref.className,
13
+ className = _ref$className === void 0 ? '' : _ref$className,
14
+ style = _ref.style,
15
+ rules = _ref.rules,
16
+ _ref$personalLimit = _ref.personalLimit,
17
+ personalLimit = _ref$personalLimit === void 0 ? {
18
+ total: 5,
19
+ remaining: 3,
20
+ note: '用完后此券将自动失效'
21
+ } : _ref$personalLimit,
22
+ locales = _ref.locales;
23
+ // Helper function to interpolate text with variables
24
+ var interpolateText = function interpolateText(text, variables) {
25
+ return text.replace(/\{(\w+)\}/g, function (match, key) {
26
+ return variables[key] !== undefined ? variables[key] : match;
27
+ });
28
+ };
29
+
30
+ // Get localized text with fallback
31
+ var getText = function getText(key, fallback) {
32
+ return (locales === null || locales === void 0 ? void 0 : locales.getText(key)) || fallback || key;
33
+ };
34
+
35
+ // Generate rule description with limit value
36
+ var getRuleDescription = function getRuleDescription(type, limit) {
37
+ // Handle unlimited case (limit = 0 means unlimited)
38
+ if (limit === 0 && type === 'monthly') {
39
+ return getText('page.wallet.monthlyLimitUnlimited', '无限制');
40
+ }
41
+ var templateKey = "page.wallet.".concat(type, "LimitDesc");
42
+ var template = getText(templateKey, '');
43
+ return interpolateText(template, {
44
+ limit: limit
45
+ });
46
+ };
47
+
48
+ // Generate rule reset time text
49
+ var getRuleResetTime = function getRuleResetTime(type) {
50
+ var resetKey = "page.wallet.".concat(type, "Reset");
51
+ return getText(resetKey, '');
52
+ };
53
+
54
+ // Default rules with localized text
55
+ var defaultRules = [{
56
+ type: 'daily',
57
+ limit: 3,
58
+ description: getRuleDescription('daily', 3),
59
+ resetTime: getRuleResetTime('daily')
60
+ }, {
61
+ type: 'weekly',
62
+ limit: 15,
63
+ description: getRuleDescription('weekly', 15),
64
+ resetTime: getRuleResetTime('weekly')
65
+ }, {
66
+ type: 'monthly',
67
+ limit: 60,
68
+ description: getRuleDescription('monthly', 60),
69
+ resetTime: getRuleResetTime('monthly')
70
+ }];
71
+
72
+ // Process rules to add localized descriptions
73
+ var processedRules = rules ? rules.map(function (rule) {
74
+ return _objectSpread(_objectSpread({}, rule), {}, {
75
+ description: getRuleDescription(rule.type, rule.limit),
76
+ resetTime: getRuleResetTime(rule.type)
77
+ });
78
+ }) : defaultRules;
79
+ var finalRules = processedRules;
80
+ var getRuleLabel = function getRuleLabel(type) {
81
+ switch (type) {
82
+ case 'daily':
83
+ return getText('page.wallet.dailyLimit', '每日限制:');
84
+ case 'weekly':
85
+ return getText('page.wallet.weeklyLimit', '每周限制:');
86
+ case 'monthly':
87
+ return getText('page.wallet.monthlyLimit', '每月限制:');
88
+ default:
89
+ return getText('page.wallet.dailyLimit', '限制:');
90
+ }
91
+ };
92
+ return /*#__PURE__*/React.createElement("div", {
93
+ className: "usage-rules ".concat(className),
94
+ style: style
95
+ }, /*#__PURE__*/React.createElement(Text, {
96
+ className: "usage-rules-title"
97
+ }, getText('page.wallet.usageRules', '使用规则')), /*#__PURE__*/React.createElement(Text, {
98
+ className: "usage-rules-subtitle"
99
+ }, getText('page.wallet.usageRulesSubtitle', '请仔细阅读以下使用条件')), /*#__PURE__*/React.createElement("div", {
100
+ className: "usage-rules-section"
101
+ }, /*#__PURE__*/React.createElement(Text, {
102
+ className: "usage-rules-section-title"
103
+ }, getText('page.wallet.timeUsageLimits', '时间使用限制')), /*#__PURE__*/React.createElement("div", {
104
+ className: "usage-rules-list"
105
+ }, finalRules.length > 0 ? finalRules.map(function (rule, index) {
106
+ return /*#__PURE__*/React.createElement("div", {
107
+ key: index,
108
+ className: "usage-rules-item"
109
+ }, /*#__PURE__*/React.createElement("div", {
110
+ className: "usage-rules-item-content"
111
+ }, /*#__PURE__*/React.createElement("div", {
112
+ className: "usage-rules-item-main-line"
113
+ }, /*#__PURE__*/React.createElement(Text, {
114
+ className: "usage-rules-item-label"
115
+ }, getRuleLabel(rule.type)), /*#__PURE__*/React.createElement(Text, {
116
+ className: "usage-rules-item-description"
117
+ }, rule.description)), rule.resetTime && /*#__PURE__*/React.createElement(Text, {
118
+ className: "usage-rules-item-reset"
119
+ }, rule.resetTime)));
120
+ }) : /*#__PURE__*/React.createElement("div", {
121
+ className: "usage-rules-item"
122
+ }, /*#__PURE__*/React.createElement("div", {
123
+ className: "usage-rules-item-content"
124
+ }, /*#__PURE__*/React.createElement(Text, {
125
+ className: "usage-rules-item-description"
126
+ }, getText('page.wallet.monthlyLimitUnlimited', '无限制')))))), /*#__PURE__*/React.createElement("div", {
127
+ className: "usage-rules-section"
128
+ }, /*#__PURE__*/React.createElement(Text, {
129
+ className: "usage-rules-section-title"
130
+ }, getText('page.wallet.totalQuantityControl', '总量控制')), /*#__PURE__*/React.createElement("div", {
131
+ className: "usage-rules-item"
132
+ }, /*#__PURE__*/React.createElement("div", {
133
+ className: "usage-rules-item-content"
134
+ }, personalLimit.total > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
135
+ className: "usage-rules-item-label"
136
+ }, getText('page.wallet.personalLimit', '个人限额:')), /*#__PURE__*/React.createElement(Text, {
137
+ className: "usage-rules-item-description"
138
+ }, interpolateText(getText('page.wallet.personalLimitDesc', '您最多可使用此券{total}次(剩余{remaining}次)'), {
139
+ total: personalLimit.total,
140
+ remaining: personalLimit.remaining
141
+ })), /*#__PURE__*/React.createElement(Text, {
142
+ className: "usage-rules-item-note"
143
+ }, getText('page.wallet.voucherExpireNote', '用完后此券将自动失效'))) : /*#__PURE__*/React.createElement(Text, {
144
+ className: "usage-rules-item-description"
145
+ }, getText('page.wallet.monthlyLimitUnlimited', '无限制'))))));
146
+ }
147
+ export default UsageRules;
@@ -0,0 +1,157 @@
1
+ .usage-rules {
2
+ padding: 16px;
3
+ background: #ffffff;
4
+ border-radius: 8px;
5
+ border: 1px solid #f0f0f0;
6
+ margin-top: 16px;
7
+ margin-bottom: 20px;
8
+
9
+ // 确保所有Text组件都是块级元素
10
+ .ant-typography {
11
+ display: block !important;
12
+ width: 100% !important;
13
+ margin-bottom: 0 !important;
14
+ }
15
+
16
+ &-title {
17
+ font-size: 18px;
18
+ font-weight: 600;
19
+ color: #000000;
20
+ line-height: 24px;
21
+ margin-bottom: 8px;
22
+ display: block;
23
+ width: 100%;
24
+ }
25
+
26
+ &-subtitle {
27
+ font-size: 14px;
28
+ color: #6B7280;
29
+ line-height: 20px;
30
+ margin-bottom: 24px;
31
+ display: block;
32
+ width: 100%;
33
+ }
34
+
35
+ &-section {
36
+ margin-bottom: 24px;
37
+
38
+ &:last-child {
39
+ margin-bottom: 0;
40
+ }
41
+
42
+ &-title {
43
+ font-size: 16px;
44
+ font-weight: 500;
45
+ color: #6B7280;
46
+ line-height: 20px;
47
+ margin-bottom: 16px;
48
+ display: block;
49
+ width: 100%;
50
+ }
51
+ }
52
+
53
+ &-list {
54
+ display: flex;
55
+ flex-direction: column;
56
+ gap: 16px;
57
+ }
58
+
59
+ &-item {
60
+ position: relative;
61
+ display: flex;
62
+ align-items: flex-start;
63
+
64
+ &::before {
65
+ content: '•';
66
+ color: #697281;
67
+ font-size: 16px;
68
+ line-height: 20px;
69
+ font-weight: bold;
70
+ margin-right: 8px;
71
+ flex-shrink: 0;
72
+ margin-top: 0;
73
+ }
74
+
75
+ &-content {
76
+ flex: 1;
77
+ min-width: 0;
78
+ }
79
+
80
+ &-main-line {
81
+ margin-bottom: 4px;
82
+ }
83
+
84
+ &-label {
85
+ font-size: 14px;
86
+ font-weight: 600;
87
+ color: #000000;
88
+ line-height: 20px;
89
+ display: inline;
90
+ margin-right: 4px;
91
+ }
92
+
93
+ &-description {
94
+ font-size: 14px;
95
+ color: #000000;
96
+ line-height: 20px;
97
+ display: inline;
98
+ word-wrap: break-word;
99
+ }
100
+
101
+ &-reset {
102
+ font-size: 14px;
103
+ color: #000000;
104
+ line-height: 20px;
105
+ display: block;
106
+ width: 100%;
107
+ }
108
+
109
+ &-note {
110
+ font-size: 14px;
111
+ color: #000000;
112
+ line-height: 20px;
113
+ margin-top: 4px;
114
+ display: block;
115
+ width: 100%;
116
+ }
117
+ }
118
+
119
+ }
120
+
121
+ // 响应式设计
122
+ @media (max-width: 768px) {
123
+ .usage-rules {
124
+ padding: 12px;
125
+ margin-top: 12px;
126
+
127
+ &-title {
128
+ font-size: 16px;
129
+ }
130
+
131
+ &-subtitle {
132
+ font-size: 13px;
133
+ }
134
+
135
+ &-section {
136
+ margin-bottom: 20px;
137
+
138
+ &-title {
139
+ font-size: 15px;
140
+ }
141
+ }
142
+
143
+ &-item {
144
+ &::before {
145
+ font-size: 14px;
146
+ margin-right: 6px;
147
+ }
148
+
149
+ &-label,
150
+ &-description,
151
+ &-reset,
152
+ &-note {
153
+ font-size: 13px;
154
+ }
155
+ }
156
+ }
157
+ }
@@ -62,9 +62,8 @@ var WalletCard = function WalletCard(_ref) {
62
62
  disabled: isDisabled,
63
63
  showDisabledReason: isDisabled,
64
64
  disabledReason: disabledReason,
65
- style: {
66
- marginBottom: 16,
67
- width: '100%'
65
+ propStyle: {
66
+ marginBottom: 16
68
67
  },
69
68
  showBalanceSymbol: !['point_card', 'good_pass'].includes(tag),
70
69
  active: isActive,
@@ -1,2 +1,3 @@
1
1
  export { default as WalletBar } from './WalletBar';
2
2
  export { default as FooterButtons } from './FooterButtons';
3
+ export { default as UsageRules } from './UsageRules';
@@ -1,3 +1,4 @@
1
1
  // 导出所有公共组件
2
2
  export { default as WalletBar } from "./WalletBar";
3
- export { default as FooterButtons } from "./FooterButtons";
3
+ export { default as FooterButtons } from "./FooterButtons";
4
+ export { default as UsageRules } from "./UsageRules";
@@ -8,7 +8,7 @@ var useComponents = function useComponents(params) {
8
8
  var _utils$getComponents;
9
9
  var _ref = appHelper || {},
10
10
  utils = _ref.utils;
11
- return (utils === null || utils === void 0 || (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
11
+ return (utils === null || utils === void 0 ? void 0 : (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
12
12
  }, [components]);
13
13
  return Cpt;
14
14
  };
package/es/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/es/index.js CHANGED
@@ -48,4 +48,7 @@ export { default as AppointmentDeposit } from "./components/appointmentBooking/d
48
48
  export { default as TicketBooking } from "./components/ticketBooking";
49
49
  export { default as SubTotal } from "./components/subTotal";
50
50
  export { default as EditBookingModal } from "./components/booking/editBookingModal";
51
- export { default as StepController } from "./components/stepController";
51
+ export { default as StepController } from "./components/stepController";
52
+ export { default as SaasLogin } from "./plus/saasLogin";
53
+ export { default as SaasRegister } from "./plus/saasRegister";
54
+ export { default as SaasCreateOrganization } from "./plus/saasCreateOrganization";
@@ -201,7 +201,8 @@
201
201
  .price-info {
202
202
  display: flex;
203
203
  align-items: center;
204
- gap: 8px;
204
+ flex-wrap: wrap;
205
+ gap: unset;
205
206
  }
206
207
 
207
208
  .price {
@@ -210,6 +211,8 @@
210
211
  font-style: normal;
211
212
  font-weight: 600;
212
213
  line-height: 28px;
214
+ overflow: hidden;
215
+ margin-right: 8px;
213
216
  }
214
217
 
215
218
  .original-price {
@@ -219,6 +222,7 @@
219
222
  font-weight: 400;
220
223
  line-height: 24px;
221
224
  position: relative;
225
+ overflow: hidden;
222
226
 
223
227
  &::before {
224
228
  content: '';
@@ -246,25 +250,4 @@
246
250
  }
247
251
  }
248
252
  }
249
-
250
- // 网格布局中的产品卡片样式调整
251
- .product-grid-wrapper {
252
- .pisell-product-select__product-card {
253
- min-width: unset;
254
- width: 100%;
255
- }
256
- }
257
-
258
- // 列表布局中的产品卡片样式调整
259
- .product-list-wrapper {
260
- .pisell-product-select__product-card {
261
- min-width: 363px;
262
- max-width: unset;
263
- margin-top: 12px;
264
-
265
- &:first-child {
266
- margin-top: 0;
267
- }
268
- }
269
- }
270
253
  }
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './index.less';
2
3
  interface IProps {
3
4
  value: string | number;
4
5
  isMini?: boolean;
@@ -8,6 +8,7 @@ import React, { useMemo } from 'react';
8
8
  import { PisellText } from '@pisell/materials';
9
9
  import classNames from 'classnames';
10
10
  import useEngineContext from "../../../../hooks/useEngineContext";
11
+ import "./index.less";
11
12
  var index = function index(props) {
12
13
  var _context$appHelper$ut;
13
14
  var context = useEngineContext();
@@ -0,0 +1,4 @@
1
+ .pisell-price-text {
2
+ overflow: hidden;
3
+ text-overflow: ellipsis;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { SCOProps } from '../types';
2
+ import '../index.less';
3
+ export declare const Header: (props: SCOProps) => JSX.Element;
@@ -0,0 +1,62 @@
1
+ import React from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import "../index.less";
4
+ export var Header = function Header(props) {
5
+ var _props$showLogo = props.showLogo,
6
+ showLogo = _props$showLogo === void 0 ? true : _props$showLogo,
7
+ _props$logo = props.logo,
8
+ logo = _props$logo === void 0 ? '' : _props$logo,
9
+ _props$logoSize = props.logoSize,
10
+ logoSize = _props$logoSize === void 0 ? {
11
+ width: 48,
12
+ height: 48
13
+ } : _props$logoSize,
14
+ _props$logoPosition = props.logoPosition,
15
+ logoPosition = _props$logoPosition === void 0 ? 'center' : _props$logoPosition,
16
+ _props$showWelcomeMes = props.showWelcomeMessage,
17
+ showWelcomeMessage = _props$showWelcomeMes === void 0 ? true : _props$showWelcomeMes,
18
+ _props$welcomeMessage = props.welcomeMessage,
19
+ welcomeMessage = _props$welcomeMessage === void 0 ? locales.getText('pisell-saas-create-org-welcome-message') : _props$welcomeMessage,
20
+ _props$welcomeMessage2 = props.welcomeMessageAlign,
21
+ welcomeMessageAlign = _props$welcomeMessage2 === void 0 ? 'center' : _props$welcomeMessage2,
22
+ _props$showTitle = props.showTitle,
23
+ showTitle = _props$showTitle === void 0 ? true : _props$showTitle,
24
+ _props$title = props.title,
25
+ title = _props$title === void 0 ? locales.getText('pisell-saas-create-org-title') : _props$title,
26
+ _props$titleAlign = props.titleAlign,
27
+ titleAlign = _props$titleAlign === void 0 ? 'center' : _props$titleAlign,
28
+ _props$showSubtitle = props.showSubtitle,
29
+ showSubtitle = _props$showSubtitle === void 0 ? true : _props$showSubtitle,
30
+ _props$subtitle = props.subtitle,
31
+ subtitle = _props$subtitle === void 0 ? '' : _props$subtitle,
32
+ _props$subtitleAlign = props.subtitleAlign,
33
+ subtitleAlign = _props$subtitleAlign === void 0 ? 'center' : _props$subtitleAlign;
34
+ return /*#__PURE__*/React.createElement(React.Fragment, null, showLogo && /*#__PURE__*/React.createElement("div", {
35
+ className: "pisell-saas-create-org-logo ".concat(logoPosition),
36
+ style: {
37
+ width: logoSize.width,
38
+ height: logoSize.height
39
+ }
40
+ }, logo && /*#__PURE__*/React.createElement("img", {
41
+ src: logo,
42
+ alt: "logo",
43
+ style: {
44
+ height: (logoSize === null || logoSize === void 0 ? void 0 : logoSize.height) || 48
45
+ }
46
+ })), showWelcomeMessage && /*#__PURE__*/React.createElement("h1", {
47
+ className: "pisell-saas-create-org-welcome-message",
48
+ style: {
49
+ textAlign: welcomeMessageAlign
50
+ }
51
+ }, welcomeMessage || ''), showTitle && /*#__PURE__*/React.createElement("h1", {
52
+ className: "pisell-saas-create-org-title",
53
+ style: {
54
+ textAlign: titleAlign
55
+ }
56
+ }, title || ''), showSubtitle && /*#__PURE__*/React.createElement("div", {
57
+ className: "pisell-saas-create-org-subtitle",
58
+ style: {
59
+ textAlign: subtitleAlign
60
+ }
61
+ }, subtitle || ''));
62
+ };
@@ -0,0 +1,4 @@
1
+ import { SCOProps } from './types';
2
+ import './index.less';
3
+ declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
4
+ export default SaasCreateOrganization;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import useEngineContext from "../../hooks/useEngineContext";
4
+ import { Header } from "./components/Header";
5
+ import localeTexts from "./locales";
6
+ import "./index.less";
7
+ var SaasCreateOrganization = function SaasCreateOrganization(props) {
8
+ var _context$engine;
9
+ var context = useEngineContext();
10
+ locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
11
+ return /*#__PURE__*/React.createElement("div", {
12
+ className: "pisell-saas-create-org-container"
13
+ }, /*#__PURE__*/React.createElement(Header, props), /*#__PURE__*/React.createElement("div", null, props === null || props === void 0 ? void 0 : props.children));
14
+ };
15
+ export default SaasCreateOrganization;
@@ -0,0 +1,55 @@
1
+ .pisell-saas-create-org-container {
2
+ width: 360px;
3
+ max-width: 360px;
4
+ min-width: 266px;
5
+ margin: 0 20px;
6
+ overflow-x: hidden;
7
+
8
+ // Logo样式
9
+ .pisell-saas-create-org-logo {
10
+ width: fit-content;
11
+ height: 48px;
12
+ border-radius: 8px;
13
+
14
+ &.left {
15
+ margin-right: auto;
16
+ margin-left: 0;
17
+ }
18
+
19
+ &.center {
20
+ margin: 0 auto;
21
+ }
22
+
23
+ &.right {
24
+ margin-left: auto;
25
+ margin-right: 0;
26
+ }
27
+
28
+ img {
29
+ height: 48px;
30
+ object-fit: contain;
31
+ }
32
+ }
33
+
34
+ .pisell-saas-create-org-welcome-message {
35
+ margin-top: 10px;
36
+ color: #101828;
37
+ text-align: center;
38
+ font-size: 20px;
39
+ font-weight: 500;
40
+ }
41
+
42
+ .pisell-saas-create-org-title {
43
+ margin-top: 24px;
44
+ font-size: 30px;
45
+ font-weight: 600;
46
+ color: #101828;
47
+ }
48
+
49
+ .pisell-saas-create-org-subtitle {
50
+ margin-top: 12px;
51
+ font-size: 16px;
52
+ color: #475467;
53
+ font-weight: 400;
54
+ }
55
+ }
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell-saas-create-org-welcome-message': string;
4
+ 'pisell-saas-create-org-title': string;
5
+ };
6
+ 'zh-CN': {
7
+ 'pisell-saas-create-org-welcome-message': string;
8
+ 'pisell-saas-create-org-title': string;
9
+ };
10
+ 'zh-TW': {
11
+ 'pisell-saas-create-org-welcome-message': string;
12
+ 'pisell-saas-create-org-title': string;
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1,14 @@
1
+ export default {
2
+ en: {
3
+ 'pisell-saas-create-org-welcome-message': 'Welcome to',
4
+ 'pisell-saas-create-org-title': 'Create your organization'
5
+ },
6
+ 'zh-CN': {
7
+ 'pisell-saas-create-org-welcome-message': '欢迎使用',
8
+ 'pisell-saas-create-org-title': '创建您的企业'
9
+ },
10
+ 'zh-TW': {
11
+ 'pisell-saas-create-org-welcome-message': '歡迎使用',
12
+ 'pisell-saas-create-org-title': '創建您的企業'
13
+ }
14
+ };
@@ -0,0 +1,69 @@
1
+ /// <reference types="react" />
2
+ export interface SCOProps {
3
+ /** 是否显示Logo */
4
+ showLogo?: boolean;
5
+ /** Logo图片地址 */
6
+ logo?: string;
7
+ /** Logo位置 */
8
+ logoPosition?: 'left' | 'center' | 'right';
9
+ /** Logo尺寸 */
10
+ logoSize?: {
11
+ width?: number;
12
+ height?: number;
13
+ };
14
+ /** 是否显示欢迎语 */
15
+ showWelcomeMessage?: boolean;
16
+ /** 欢迎语 */
17
+ welcomeMessage?: string;
18
+ /** 欢迎语对齐方式 */
19
+ welcomeMessageAlign?: 'left' | 'center' | 'right';
20
+ /** 是否显示标题 */
21
+ showTitle?: boolean;
22
+ /** 标题 */
23
+ title?: string;
24
+ /** 标题对齐方式 */
25
+ titleAlign?: 'left' | 'center' | 'right';
26
+ /** 副标题 */
27
+ subtitle?: string;
28
+ /** 是否显示副标题 */
29
+ showSubtitle?: boolean;
30
+ /** 副标题对齐方式 */
31
+ subtitleAlign?: 'left' | 'center' | 'right';
32
+ /** 是否显示公司名称输入框 */
33
+ showCompanyName?: boolean;
34
+ /** 公司名称输入框标题 */
35
+ companyNameLabel?: string;
36
+ /** 公司名称输入框占位符 */
37
+ companyNamePlaceholder?: string;
38
+ /** 公司名称输入框必填 */
39
+ companyNameRequired?: boolean;
40
+ /** 是否显示域名输入框 */
41
+ showDomain?: boolean;
42
+ /** 域名输入框标题 */
43
+ domainLabel?: string;
44
+ /** 域名输入框占位符 */
45
+ domainPlaceholder?: string;
46
+ /** 域名输入框必填 */
47
+ domainRequired?: boolean;
48
+ /** 是否显示分割线 */
49
+ showDivider?: boolean;
50
+ /** 分割线文案 */
51
+ dividerText?: string;
52
+ /** 是否显示时区选择 */
53
+ showTimezoneSelect?: boolean;
54
+ /** 时区选择标题 */
55
+ timezoneSelectLabel?: string;
56
+ /** 时区选择必填 */
57
+ timezoneSelectRequired?: boolean;
58
+ /** 是否显示语言选择 */
59
+ showLanguageSelect?: boolean;
60
+ /** 语言选择标题 */
61
+ languageSelectLabel?: string;
62
+ /** 语言选择必填 */
63
+ languageSelectRequired?: boolean;
64
+ /** 按钮文本 */
65
+ buttonText?: string;
66
+ /** 创建企业回调 */
67
+ onCreateOrganization?: (info: any) => Promise<void>;
68
+ children?: React.ReactNode;
69
+ }