@pisell/private-materials 6.8.31 → 6.8.32

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 (425) 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 +150 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  14. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  15. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  16. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  17. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  18. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  19. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  20. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  21. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  22. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  23. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  24. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  28. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  30. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  36. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  37. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  38. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  39. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  40. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  41. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  42. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  43. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  44. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  45. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  46. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  47. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  48. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  49. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  50. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  51. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  52. package/es/components/authentication/index.d.ts +0 -0
  53. package/es/components/booking/addons/model.d.ts +10 -0
  54. package/es/components/booking/components/actionButtons/index.d.ts +31 -0
  55. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  56. package/es/components/booking/components/footer/index.d.ts +0 -1
  57. package/es/components/booking/components/footer/utils.d.ts +67 -0
  58. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  59. package/es/components/booking/components/voucher/index.d.ts +3 -0
  60. package/es/components/booking/deposit/index.d.ts +0 -1
  61. package/es/components/booking/forms/model.d.ts +10 -1
  62. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  63. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  64. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  65. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  66. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  67. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  68. package/es/components/booking/info/index.d.ts +0 -1
  69. package/es/components/booking/info/model.d.ts +10 -1
  70. package/es/components/booking/info/notes/index.d.ts +0 -1
  71. package/es/components/booking/info/service/Lists.d.ts +2 -0
  72. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  73. package/es/components/booking/info/service/like/index.d.ts +0 -1
  74. package/es/components/booking/info/service/serve.d.ts +34 -0
  75. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  76. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  77. package/es/components/booking/info/service2/utils.d.ts +219 -0
  78. package/es/components/booking/info/utils.d.ts +50 -0
  79. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  80. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  81. package/es/components/booking/info2/service/editService/index.d.ts +8 -0
  82. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  83. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  84. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  85. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  86. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  87. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  88. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  89. package/es/components/booking/notes/model.d.ts +10 -1
  90. package/es/components/booking/payments/model.d.ts +10 -1
  91. package/es/components/booking/utils.d.ts +182 -0
  92. package/es/components/checkout/PaymentModal.d.ts +39 -0
  93. package/es/components/checkout/components/AdditionalModule/index.d.ts +15 -0
  94. package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  95. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  96. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  97. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
  98. package/es/components/checkout/hooks/useWalletPass.d.ts +40 -0
  99. package/es/components/checkout/plugin.d.ts +2 -0
  100. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  101. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  102. package/es/components/eftpos/form/index.d.ts +0 -1
  103. package/es/components/eftpos/group/index.d.ts +0 -1
  104. package/es/components/eftpos/hooks.d.ts +0 -1
  105. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  106. package/es/components/eftpos/icon/device.d.ts +0 -1
  107. package/es/components/eftpos/receipt/index.d.ts +0 -1
  108. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  109. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  110. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  111. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  112. package/es/components/eftposPay/hooks.d.ts +1 -1
  113. package/es/components/eftposPay/store/index.d.ts +1 -1
  114. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  115. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  116. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  119. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  122. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  123. package/es/components/list/List.d.ts +5 -0
  124. package/es/components/list/hooks/useListState.d.ts +45 -0
  125. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  126. package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
  127. package/es/components/pay/toB/types/index.d.ts +72 -0
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  130. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  131. package/es/components/pay/toC/locales.d.ts +301 -0
  132. package/es/components/pay/toC/model.d.ts +9 -1
  133. package/es/components/pay/toC/status.d.ts +13 -0
  134. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  135. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  136. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  137. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  138. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  139. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  140. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  141. package/es/components/productExtension/index.d.ts +0 -1
  142. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  143. package/es/components/schedules/model.d.ts +9 -1
  144. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  145. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  146. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  147. package/es/components/shoppingCart/index.d.ts +0 -1
  148. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  149. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  150. package/es/components/systemSettings/registry/services.d.ts +77 -0
  151. package/es/components/systemSettings/registry/types.d.ts +126 -0
  152. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  153. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  154. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  155. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
  156. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
  157. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  158. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  159. package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  160. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  161. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  162. package/es/components/ticketBooking/index.d.ts +15 -0
  163. package/es/components/ticketBooking/serve.d.ts +288 -0
  164. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  165. package/es/components/wallet/utils.d.ts +48 -0
  166. package/es/components/walletList/types/index.d.ts +194 -0
  167. package/es/plus/clientName/index.d.ts +4 -0
  168. package/es/plus/clientName/type.d.ts +13 -0
  169. package/es/plus/clientName/utils.d.ts +2 -0
  170. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  171. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  172. package/es/plus/contactInfo/locales.d.ts +15 -0
  173. package/es/plus/contactInfo/types.d.ts +91 -0
  174. package/es/plus/contactInfo/utils.d.ts +7 -0
  175. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  176. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  177. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  178. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  179. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  180. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  181. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  182. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
  185. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  186. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  187. package/es/plus/productSelect/utils.d.ts +39 -0
  188. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  189. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  190. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  191. package/es/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  192. package/es/plus/walletEditor/types.d.ts +52 -0
  193. package/es/plus/webPosLogin/WebPosLogin.d.ts +11 -0
  194. package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  195. package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  196. package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  197. package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
  198. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  199. package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
  200. package/es/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
  201. package/es/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
  202. package/es/plus/webPosLogin/index.d.ts +12 -0
  203. package/es/plus/webPosLogin/locales.d.ts +49 -0
  204. package/es/plus/webPosLogin/service.d.ts +44 -0
  205. package/es/plus/webPosLogin/types.d.ts +286 -0
  206. package/es/pro/Login2.0/Login2.d.ts +61 -0
  207. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  208. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  209. package/es/pro/Login2.0/locales.d.ts +543 -0
  210. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  211. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  212. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  213. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  214. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  215. package/es/pro/Login2.0/types.d.ts +167 -0
  216. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  217. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  218. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  219. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  220. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  221. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  222. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  223. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  224. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  225. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  226. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  227. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  228. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  229. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  230. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  231. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  232. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  233. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  234. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  235. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  236. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  237. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  238. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  239. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  240. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  241. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  242. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  243. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  244. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  245. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  246. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  247. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  248. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  249. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  250. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  251. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  252. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  253. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  254. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  255. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  256. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  257. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  258. package/lib/components/authentication/index.d.ts +0 -0
  259. package/lib/components/booking/addons/model.d.ts +10 -0
  260. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  261. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  262. package/lib/components/booking/components/footer/index.d.ts +0 -1
  263. package/lib/components/booking/components/footer/utils.d.ts +67 -0
  264. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  265. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  266. package/lib/components/booking/deposit/index.d.ts +0 -1
  267. package/lib/components/booking/forms/model.d.ts +10 -1
  268. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  269. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  270. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  271. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  272. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  273. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  274. package/lib/components/booking/info/index.d.ts +0 -1
  275. package/lib/components/booking/info/model.d.ts +10 -1
  276. package/lib/components/booking/info/notes/index.d.ts +0 -1
  277. package/lib/components/booking/info/service/Lists.d.ts +2 -0
  278. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  279. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  280. package/lib/components/booking/info/service/serve.d.ts +34 -0
  281. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  282. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  283. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  284. package/lib/components/booking/info/utils.d.ts +50 -0
  285. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  286. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  287. package/lib/components/booking/info2/service/editService/index.d.ts +8 -0
  288. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  289. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  290. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  291. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  292. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  293. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  294. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  295. package/lib/components/booking/notes/model.d.ts +10 -1
  296. package/lib/components/booking/payments/model.d.ts +10 -1
  297. package/lib/components/booking/utils.d.ts +182 -0
  298. package/lib/components/checkout/PaymentModal.d.ts +39 -0
  299. package/lib/components/checkout/components/AdditionalModule/index.d.ts +15 -0
  300. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  301. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  302. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  303. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +14 -0
  304. package/lib/components/checkout/hooks/useWalletPass.d.ts +40 -0
  305. package/lib/components/checkout/plugin.d.ts +2 -0
  306. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  307. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  308. package/lib/components/eftpos/form/index.d.ts +0 -1
  309. package/lib/components/eftpos/group/index.d.ts +0 -1
  310. package/lib/components/eftpos/hooks.d.ts +0 -1
  311. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  312. package/lib/components/eftpos/icon/device.d.ts +0 -1
  313. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  314. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  315. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  316. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  317. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  318. package/lib/components/eftposPay/hooks.d.ts +1 -1
  319. package/lib/components/eftposPay/store/index.d.ts +1 -1
  320. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  321. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  322. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  323. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  324. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  325. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  326. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  327. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  328. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  329. package/lib/components/list/List.d.ts +5 -0
  330. package/lib/components/list/hooks/useListState.d.ts +45 -0
  331. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  332. package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
  333. package/lib/components/pay/toB/types/index.d.ts +72 -0
  334. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  335. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  336. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  337. package/lib/components/pay/toC/locales.d.ts +301 -0
  338. package/lib/components/pay/toC/model.d.ts +9 -1
  339. package/lib/components/pay/toC/status.d.ts +13 -0
  340. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  341. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  342. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  343. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  344. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  345. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  346. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  347. package/lib/components/productExtension/index.d.ts +0 -1
  348. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  349. package/lib/components/schedules/model.d.ts +9 -1
  350. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  351. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  352. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  353. package/lib/components/shoppingCart/index.d.ts +0 -1
  354. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  355. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  356. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  357. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  358. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  359. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  360. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  361. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +31 -0
  362. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
  363. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  364. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  365. package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  366. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  367. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  368. package/lib/components/ticketBooking/index.d.ts +15 -0
  369. package/lib/components/ticketBooking/serve.d.ts +288 -0
  370. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  371. package/lib/components/wallet/utils.d.ts +48 -0
  372. package/lib/components/walletList/types/index.d.ts +194 -0
  373. package/lib/plus/clientName/index.d.ts +4 -0
  374. package/lib/plus/clientName/type.d.ts +13 -0
  375. package/lib/plus/clientName/utils.d.ts +2 -0
  376. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  377. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  378. package/lib/plus/contactInfo/locales.d.ts +15 -0
  379. package/lib/plus/contactInfo/types.d.ts +91 -0
  380. package/lib/plus/contactInfo/utils.d.ts +7 -0
  381. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  382. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  383. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  384. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  385. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  386. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  387. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  388. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  389. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  390. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +1 -1
  391. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  392. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  393. package/lib/plus/productSelect/utils.d.ts +39 -0
  394. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  395. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  396. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  397. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +7 -0
  398. package/lib/plus/walletEditor/types.d.ts +52 -0
  399. package/lib/plus/webPosLogin/WebPosLogin.d.ts +11 -0
  400. package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  401. package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  402. package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  403. package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
  404. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  405. package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
  406. package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
  407. package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
  408. package/lib/plus/webPosLogin/index.d.ts +12 -0
  409. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  410. package/lib/plus/webPosLogin/service.d.ts +44 -0
  411. package/lib/plus/webPosLogin/types.d.ts +286 -0
  412. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  413. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  414. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  415. package/lib/pro/Login2.0/locales.d.ts +543 -0
  416. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  417. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  418. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  419. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  420. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  421. package/lib/pro/Login2.0/types.d.ts +167 -0
  422. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  423. package/package.json +3 -3
  424. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  425. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SectionListProps } from '../types';
3
+ declare const SectionList: React.FC<SectionListProps>;
4
+ export default SectionList;
@@ -0,0 +1,272 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'registry.title': string;
4
+ 'registry.sections.title': string;
5
+ 'registry.sections.empty': string;
6
+ 'registry.sections.loadMore': string;
7
+ 'registry.sections.noMore': string;
8
+ 'registry.table.title': string;
9
+ 'registry.table.name': string;
10
+ 'registry.table.key': string;
11
+ 'registry.table.type': string;
12
+ 'registry.table.interface': string;
13
+ 'registry.table.scopes': string;
14
+ 'registry.table.default': string;
15
+ 'registry.table.description': string;
16
+ 'registry.table.actions': string;
17
+ 'registry.level.group': string;
18
+ 'registry.level.item': string;
19
+ 'registry.action.add.group': string;
20
+ 'registry.action.add.item': string;
21
+ 'registry.action.edit': string;
22
+ 'registry.action.delete': string;
23
+ 'registry.action.expand': string;
24
+ 'registry.action.collapse': string;
25
+ 'registry.modal.add.group': string;
26
+ 'registry.modal.edit.group': string;
27
+ 'registry.modal.add.item': string;
28
+ 'registry.modal.edit.item': string;
29
+ 'registry.modal.delete.title': string;
30
+ 'registry.modal.delete.group.content': string;
31
+ 'registry.modal.delete.group.hasItems.title': string;
32
+ 'registry.modal.delete.group.hasItems.content': string;
33
+ 'registry.modal.delete.item.content': string;
34
+ 'registry.form.title': string;
35
+ 'registry.form.name': string;
36
+ 'registry.form.name.placeholder': string;
37
+ 'registry.form.code': string;
38
+ 'registry.form.code.placeholder': string;
39
+ 'registry.form.key': string;
40
+ 'registry.form.key.placeholder': string;
41
+ 'registry.form.fieldType': string;
42
+ 'registry.form.fieldType.placeholder': string;
43
+ 'registry.form.interfaceType': string;
44
+ 'registry.form.interfaceType.placeholder': string;
45
+ 'registry.form.scopes': string;
46
+ 'registry.form.scopes.placeholder': string;
47
+ 'registry.form.description': string;
48
+ 'registry.form.description.placeholder': string;
49
+ 'registry.form.systemDefaultValue': string;
50
+ 'registry.form.systemDefaultValue.placeholder': string;
51
+ 'registry.form.uiSchema': string;
52
+ 'registry.form.uiSchema.placeholder': string;
53
+ 'registry.button.ok': string;
54
+ 'registry.button.cancel': string;
55
+ 'registry.button.save': string;
56
+ 'registry.message.save.success': string;
57
+ 'registry.message.delete.success': string;
58
+ 'registry.message.required': string;
59
+ 'registry.message.code.exists': string;
60
+ 'registry.message.key.exists': string;
61
+ 'registry.message.code.pattern': string;
62
+ 'registry.message.key.pattern': string;
63
+ 'registry.message.code.format': string;
64
+ 'registry.message.code.start': string;
65
+ 'registry.message.code.end': string;
66
+ 'registry.message.code.consecutive': string;
67
+ 'registry.message.name.maxLength': string;
68
+ 'registry.message.key.maxLength': string;
69
+ 'registry.message.description.maxLength': string;
70
+ 'registry.message.uiSchema.invalid': string;
71
+ 'registry.message.select.section': string;
72
+ 'registry.message.loading.groups': string;
73
+ 'registry.message.no.settings': string;
74
+ 'registry.message.load.failed': string;
75
+ 'registry.message.create.group.error': string;
76
+ 'registry.drag.drop.here': string;
77
+ 'registry.empty.container.placeholder': string;
78
+ 'registry.message.update.group.error': string;
79
+ 'registry.message.delete.group.error': string;
80
+ 'registry.message.create.item.error': string;
81
+ 'registry.message.update.item.error': string;
82
+ 'registry.message.delete.item.error': string;
83
+ 'registry.message.reorder.success': string;
84
+ 'registry.message.reorder.error': string;
85
+ 'registry.message.move.success': string;
86
+ 'registry.message.move.error': string;
87
+ 'registry.scope.systemDefault': string;
88
+ 'registry.scope.saasDefault': string;
89
+ 'registry.scope.organization': string;
90
+ 'registry.scope.business': string;
91
+ 'registry.scope.channel': string;
92
+ 'registry.scope.board': string;
93
+ };
94
+ 'zh-CN': {
95
+ 'registry.title': string;
96
+ 'registry.sections.title': string;
97
+ 'registry.sections.empty': string;
98
+ 'registry.sections.loadMore': string;
99
+ 'registry.sections.noMore': string;
100
+ 'registry.table.title': string;
101
+ 'registry.table.name': string;
102
+ 'registry.table.key': string;
103
+ 'registry.table.type': string;
104
+ 'registry.table.interface': string;
105
+ 'registry.table.scopes': string;
106
+ 'registry.table.default': string;
107
+ 'registry.table.description': string;
108
+ 'registry.table.actions': string;
109
+ 'registry.level.group': string;
110
+ 'registry.level.item': string;
111
+ 'registry.action.add.group': string;
112
+ 'registry.action.add.item': string;
113
+ 'registry.action.edit': string;
114
+ 'registry.action.delete': string;
115
+ 'registry.action.expand': string;
116
+ 'registry.action.collapse': string;
117
+ 'registry.modal.add.group': string;
118
+ 'registry.modal.edit.group': string;
119
+ 'registry.modal.add.item': string;
120
+ 'registry.modal.edit.item': string;
121
+ 'registry.modal.delete.title': string;
122
+ 'registry.modal.delete.group.content': string;
123
+ 'registry.modal.delete.group.hasItems.title': string;
124
+ 'registry.modal.delete.group.hasItems.content': string;
125
+ 'registry.modal.delete.item.content': string;
126
+ 'registry.form.title': string;
127
+ 'registry.form.name': string;
128
+ 'registry.form.name.placeholder': string;
129
+ 'registry.form.code': string;
130
+ 'registry.form.code.placeholder': string;
131
+ 'registry.form.key': string;
132
+ 'registry.form.key.placeholder': string;
133
+ 'registry.form.fieldType': string;
134
+ 'registry.form.fieldType.placeholder': string;
135
+ 'registry.form.interfaceType': string;
136
+ 'registry.form.interfaceType.placeholder': string;
137
+ 'registry.form.scopes': string;
138
+ 'registry.form.scopes.placeholder': string;
139
+ 'registry.form.description': string;
140
+ 'registry.form.description.placeholder': string;
141
+ 'registry.form.systemDefaultValue': string;
142
+ 'registry.form.systemDefaultValue.placeholder': string;
143
+ 'registry.form.uiSchema': string;
144
+ 'registry.form.uiSchema.placeholder': string;
145
+ 'registry.button.ok': string;
146
+ 'registry.button.cancel': string;
147
+ 'registry.button.save': string;
148
+ 'registry.message.save.success': string;
149
+ 'registry.message.delete.success': string;
150
+ 'registry.message.required': string;
151
+ 'registry.message.code.exists': string;
152
+ 'registry.message.key.exists': string;
153
+ 'registry.message.code.pattern': string;
154
+ 'registry.message.key.pattern': string;
155
+ 'registry.message.code.format': string;
156
+ 'registry.message.code.start': string;
157
+ 'registry.message.code.end': string;
158
+ 'registry.message.code.consecutive': string;
159
+ 'registry.message.name.maxLength': string;
160
+ 'registry.message.key.maxLength': string;
161
+ 'registry.message.description.maxLength': string;
162
+ 'registry.message.uiSchema.invalid': string;
163
+ 'registry.message.select.section': string;
164
+ 'registry.message.loading.groups': string;
165
+ 'registry.message.no.settings': string;
166
+ 'registry.message.load.failed': string;
167
+ 'registry.message.create.group.error': string;
168
+ 'registry.message.update.group.error': string;
169
+ 'registry.message.delete.group.error': string;
170
+ 'registry.message.create.item.error': string;
171
+ 'registry.message.update.item.error': string;
172
+ 'registry.message.delete.item.error': string;
173
+ 'registry.message.reorder.success': string;
174
+ 'registry.message.reorder.error': string;
175
+ 'registry.message.move.success': string;
176
+ 'registry.message.move.error': string;
177
+ 'registry.drag.drop.here': string;
178
+ 'registry.empty.container.placeholder': string;
179
+ 'registry.scope.systemDefault': string;
180
+ 'registry.scope.saasDefault': string;
181
+ 'registry.scope.organization': string;
182
+ 'registry.scope.business': string;
183
+ 'registry.scope.channel': string;
184
+ 'registry.scope.board': string;
185
+ };
186
+ 'zh-HK': {
187
+ 'registry.title': string;
188
+ 'registry.sections.title': string;
189
+ 'registry.sections.empty': string;
190
+ 'registry.sections.loadMore': string;
191
+ 'registry.sections.noMore': string;
192
+ 'registry.table.title': string;
193
+ 'registry.table.name': string;
194
+ 'registry.table.key': string;
195
+ 'registry.table.scopes': string;
196
+ 'registry.table.actions': string;
197
+ 'registry.level.group': string;
198
+ 'registry.level.item': string;
199
+ 'registry.action.add.group': string;
200
+ 'registry.action.add.item': string;
201
+ 'registry.action.edit': string;
202
+ 'registry.action.delete': string;
203
+ 'registry.action.expand': string;
204
+ 'registry.action.collapse': string;
205
+ 'registry.modal.add.group': string;
206
+ 'registry.modal.edit.group': string;
207
+ 'registry.modal.add.item': string;
208
+ 'registry.modal.edit.item': string;
209
+ 'registry.modal.delete.title': string;
210
+ 'registry.modal.delete.group.content': string;
211
+ 'registry.modal.delete.group.hasItems.title': string;
212
+ 'registry.modal.delete.group.hasItems.content': string;
213
+ 'registry.modal.delete.item.content': string;
214
+ 'registry.form.title': string;
215
+ 'registry.form.name': string;
216
+ 'registry.form.name.placeholder': string;
217
+ 'registry.form.code': string;
218
+ 'registry.form.code.placeholder': string;
219
+ 'registry.form.key': string;
220
+ 'registry.form.key.placeholder': string;
221
+ 'registry.form.fieldType': string;
222
+ 'registry.form.fieldType.placeholder': string;
223
+ 'registry.form.interfaceType': string;
224
+ 'registry.form.interfaceType.placeholder': string;
225
+ 'registry.form.scopes': string;
226
+ 'registry.form.scopes.placeholder': string;
227
+ 'registry.form.description': string;
228
+ 'registry.form.description.placeholder': string;
229
+ 'registry.form.systemDefaultValue': string;
230
+ 'registry.form.systemDefaultValue.placeholder': string;
231
+ 'registry.form.uiSchema': string;
232
+ 'registry.form.uiSchema.placeholder': string;
233
+ 'registry.button.ok': string;
234
+ 'registry.button.cancel': string;
235
+ 'registry.button.save': string;
236
+ 'registry.message.save.success': string;
237
+ 'registry.message.delete.success': string;
238
+ 'registry.message.required': string;
239
+ 'registry.message.code.exists': string;
240
+ 'registry.message.key.exists': string;
241
+ 'registry.message.code.pattern': string;
242
+ 'registry.message.key.pattern': string;
243
+ 'registry.message.code.format': string;
244
+ 'registry.message.code.start': string;
245
+ 'registry.message.code.end': string;
246
+ 'registry.message.code.consecutive': string;
247
+ 'registry.message.name.maxLength': string;
248
+ 'registry.message.key.maxLength': string;
249
+ 'registry.message.description.maxLength': string;
250
+ 'registry.message.select.section': string;
251
+ 'registry.message.loading.groups': string;
252
+ 'registry.message.no.settings': string;
253
+ 'registry.message.load.failed': string;
254
+ 'registry.message.create.group.error': string;
255
+ 'registry.message.update.group.error': string;
256
+ 'registry.message.delete.group.error': string;
257
+ 'registry.message.create.item.error': string;
258
+ 'registry.message.update.item.error': string;
259
+ 'registry.message.delete.item.error': string;
260
+ 'registry.message.reorder.success': string;
261
+ 'registry.message.reorder.error': string;
262
+ 'registry.message.move.success': string;
263
+ 'registry.message.move.error': string;
264
+ 'registry.scope.systemDefault': string;
265
+ 'registry.scope.saasDefault': string;
266
+ 'registry.scope.organization': string;
267
+ 'registry.scope.business': string;
268
+ 'registry.scope.channel': string;
269
+ 'registry.scope.board': string;
270
+ };
271
+ };
272
+ export default _default;
@@ -0,0 +1,77 @@
1
+ import { ApiResponse, MultiLanguageText, SettingGroup, Section, SettingItem } from './types';
2
+ export interface CreateGroupParams {
3
+ section_code: string;
4
+ code: string;
5
+ title: MultiLanguageText;
6
+ sort: number;
7
+ }
8
+ export interface UpdateGroupParams {
9
+ id: number;
10
+ code: string;
11
+ title: MultiLanguageText;
12
+ }
13
+ export interface DeleteGroupParams {
14
+ id: number;
15
+ }
16
+ export interface SortGroupParams {
17
+ section_code: string;
18
+ group_ids: number[];
19
+ }
20
+ export declare const createGroup: (request: any, params: CreateGroupParams) => Promise<ApiResponse<SettingGroup>>;
21
+ export declare const updateGroup: (request: any, params: UpdateGroupParams) => Promise<ApiResponse<SettingGroup>>;
22
+ export declare const deleteGroup: (request: any, params: DeleteGroupParams) => Promise<any>;
23
+ export declare const sortGroups: (request: any, params: SortGroupParams) => Promise<any>;
24
+ export declare const getSectionList: (request: any, params: {
25
+ page?: number;
26
+ pageSize?: number;
27
+ filter?: Record<string, any>;
28
+ }) => Promise<ApiResponse<Section>>;
29
+ export declare const getGroupList: (request: any, params: {
30
+ page?: number;
31
+ pageSize?: number;
32
+ filter?: Record<string, any>;
33
+ }) => Promise<ApiResponse<SettingGroup>>;
34
+ export interface CreateItemParams {
35
+ section_code: string;
36
+ group_id: number;
37
+ code: string;
38
+ title: MultiLanguageText;
39
+ description?: MultiLanguageText;
40
+ type: string;
41
+ interface?: string;
42
+ default?: string | null;
43
+ scopes?: string[];
44
+ schema?: any;
45
+ sort?: number;
46
+ }
47
+ export interface UpdateItemParams {
48
+ id: number;
49
+ section_code: string;
50
+ group_id: number;
51
+ code: string;
52
+ title: MultiLanguageText;
53
+ description?: MultiLanguageText;
54
+ type: string;
55
+ interface?: string;
56
+ default?: string | null;
57
+ scopes?: string[];
58
+ schema?: any;
59
+ sort?: number;
60
+ }
61
+ export interface DeleteItemParams {
62
+ id: number;
63
+ }
64
+ export interface SortItemParams {
65
+ id: number;
66
+ group_id: string;
67
+ item_ids: number[];
68
+ }
69
+ export declare const createItem: (request: any, params: CreateItemParams) => Promise<ApiResponse<SettingItem>>;
70
+ export declare const updateItem: (request: any, params: UpdateItemParams) => Promise<ApiResponse<SettingItem>>;
71
+ export declare const deleteItem: (request: any, params: DeleteItemParams) => Promise<any>;
72
+ export declare const sortItems: (request: any, params: SortItemParams) => Promise<any>;
73
+ export declare const getItemList: (request: any, params: {
74
+ page?: number;
75
+ pageSize?: number;
76
+ filter?: Record<string, any>;
77
+ }) => Promise<ApiResponse<SettingItem>>;
@@ -0,0 +1,126 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface MultiLanguageText {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ original: string;
7
+ }
8
+ export interface BaseItem {
9
+ id: number;
10
+ name: string | MultiLanguageText;
11
+ code: string;
12
+ order?: number;
13
+ }
14
+ export interface SettingItem extends BaseItem {
15
+ key?: string;
16
+ scopes?: string[];
17
+ groupId?: number;
18
+ group_id?: number;
19
+ fieldType?: string;
20
+ type?: string;
21
+ interfaceType?: string;
22
+ interface?: string;
23
+ description?: string | MultiLanguageText;
24
+ systemDefaultValue?: string;
25
+ default?: string;
26
+ uiSchema?: string;
27
+ schema?: any;
28
+ title?: string | MultiLanguageText;
29
+ sort: number;
30
+ created_at?: string | null;
31
+ updated_at?: string | null;
32
+ deleted_at?: string | null;
33
+ }
34
+ export interface SettingGroup extends BaseItem {
35
+ items: SettingItem[];
36
+ expanded?: boolean;
37
+ sort: number;
38
+ }
39
+ export interface Section extends BaseItem {
40
+ icon?: string;
41
+ description?: string | MultiLanguageText;
42
+ groups: SettingGroup[];
43
+ created_at?: string | null;
44
+ updated_at?: string | null;
45
+ deleted_at?: string | null;
46
+ }
47
+ export interface TreeNode {
48
+ key: string;
49
+ type: 'group' | 'item';
50
+ data: SettingGroup | SettingItem;
51
+ children?: TreeNode[];
52
+ parentKey?: string;
53
+ }
54
+ export declare type OperationType = 'add' | 'edit' | 'delete';
55
+ export interface DragItem {
56
+ id: number;
57
+ type: 'group' | 'item';
58
+ groupId?: number;
59
+ }
60
+ export interface RegistryProps {
61
+ className?: string;
62
+ style?: CSSProperties;
63
+ sections?: Section[];
64
+ selectedSectionId?: number;
65
+ onSectionSelect?: (sectionId: number) => void;
66
+ onDataChange?: (sections: Section[]) => void;
67
+ }
68
+ export interface SectionListProps {
69
+ sections: Section[];
70
+ selectedSectionId?: number;
71
+ onSectionSelect: (sectionId: number) => void;
72
+ loading?: boolean;
73
+ hasMore?: boolean;
74
+ onLoadMore?: () => void;
75
+ }
76
+ export interface SettingsTableProps {
77
+ section?: Section;
78
+ groupList?: SettingGroup[];
79
+ groupLoading?: boolean;
80
+ onDataChange?: (section: Section) => void;
81
+ onEditGroup?: (group: SettingGroup) => void;
82
+ onDeleteGroup?: (groupId: number) => void;
83
+ onAddItem?: (groupId: number) => void;
84
+ onEditItem?: (item: SettingItem) => void;
85
+ onDeleteItem?: (itemId: number) => void;
86
+ onGroupReorder?: (groupIds: number[]) => void;
87
+ onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
88
+ }
89
+ export interface GroupFormData {
90
+ title: MultiLanguageText;
91
+ code: string;
92
+ }
93
+ export interface ItemFormData {
94
+ name: MultiLanguageText;
95
+ key: string;
96
+ fieldType: string;
97
+ interfaceType?: string;
98
+ scopes: string[];
99
+ description?: MultiLanguageText;
100
+ default?: string | null;
101
+ uiSchema?: string;
102
+ }
103
+ export interface GroupModalProps {
104
+ open: boolean;
105
+ type: OperationType;
106
+ data?: SettingGroup;
107
+ onOk: (data: GroupFormData) => void | Promise<void>;
108
+ onCancel: () => void;
109
+ }
110
+ export interface ItemModalProps {
111
+ open: boolean;
112
+ type: OperationType;
113
+ data?: SettingItem;
114
+ section?: Section;
115
+ onOk: (data: ItemFormData) => void | Promise<void>;
116
+ onCancel: () => void;
117
+ }
118
+ export interface ApiResponse<T> {
119
+ data: T[];
120
+ meta: {
121
+ count: number;
122
+ page: number;
123
+ pageSize: number;
124
+ totalPage: number;
125
+ };
126
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 类型验证工具函数
3
+ * 用于验证默认值是否符合指定的字段类型
4
+ */
5
+ export interface ValidationResult {
6
+ isValid: boolean;
7
+ error?: string;
8
+ }
9
+ /**
10
+ * 根据字段类型验证默认值
11
+ */
12
+ export declare const validateDefaultValue: (fieldType: string, defaultValue: any) => ValidationResult;
13
+ /**
14
+ * 解析默认值为对应的类型
15
+ */
16
+ export declare const parseDefaultValue: (fieldType: string, defaultValue: any) => any;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 验证器工具函数
3
+ */
4
+ /**
5
+ * 创建带前缀的应用标识符验证器
6
+ * 用于验证设置项的键格式
7
+ */
8
+ export declare const createPrefixedAppIdentifierValidator: (sectionCode: string) => (_: any, value: string) => Promise<void>;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { ProductDisplayConfig } from './types';
3
+ import './index.less';
4
+ interface ProductDisplayAdapterProps {
5
+ /** 展示配置 */
6
+ config: ProductDisplayConfig;
7
+ /** 数据源 */
8
+ dataSource: any[];
9
+ /** 加载状态 */
10
+ loading?: boolean;
11
+ /** 当前选中的产品ID */
12
+ currentProductId?: number;
13
+ /** 选择产品回调 */
14
+ onSelectProduct: (item: any, type?: 'select' | 'detail') => void;
15
+ /** 空状态描述 */
16
+ emptyDescription?: string;
17
+ /** 自定义样式 */
18
+ style?: React.CSSProperties;
19
+ /** 自定义类名 */
20
+ className?: string;
21
+ }
22
+ /**
23
+ * 产品展示适配器组件
24
+ * 统一管理 ProductSelect 和 SkuList 两种展示模式
25
+ */
26
+ declare const ProductDisplayAdapter: React.FC<ProductDisplayAdapterProps>;
27
+ export default ProductDisplayAdapter;
@@ -0,0 +1,31 @@
1
+ import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter';
2
+ import './index.less';
3
+ interface AddServiceProps {
4
+ onEdit?: any;
5
+ dispatch?: any;
6
+ state?: any;
7
+ renderMode?: 'current' | 'drawer';
8
+ onPrerenderComplete?: () => void;
9
+ onGetProductsReady?: (getProducts: any) => void;
10
+ /**
11
+ * 产品展示配置
12
+ *
13
+ * 支持两种方式:
14
+ * 1. 简易模式:传入预设字符串,如 'product-select', 'sku-list-a1', 'sku-list-a2', 'sku-list-a5'
15
+ * 2. 完整配置模式:传入完整的配置对象
16
+ *
17
+ * @example
18
+ * // 简易模式
19
+ * <AddService productDisplayConfig="sku-list-a1" />
20
+ *
21
+ * @example
22
+ * // 完整配置模式
23
+ * <AddService productDisplayConfig={{
24
+ * displayMode: 'sku-list',
25
+ * skuListConfig: { ... }
26
+ * }} />
27
+ */
28
+ productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
29
+ }
30
+ declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
31
+ export default AddSerivce;
@@ -0,0 +1,10 @@
1
+ import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
2
+ interface AddServiceVariantProps {
3
+ globalState: any;
4
+ setGlobalState: any;
5
+ onPrerenderComplete?: () => void;
6
+ onGetProductsReady?: (getProducts: any) => void;
7
+ productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
8
+ }
9
+ declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
10
+ export default AddServiceVariant;
@@ -0,0 +1,8 @@
1
+ export declare const formatVariantGroupTitle: (title: any, variant_group?: never[]) => string | undefined;
2
+ export declare const createCacheItem: (detail: any, values: any, state: any) => any;
3
+ export declare const isVariant: (item: any) => boolean;
4
+ export declare const isOption: (item: any) => boolean;
5
+ export declare const isBundle: (item: any) => boolean;
6
+ export declare const genValues: (item: any, code: string) => any;
7
+ export declare const setHandleSetService: (fn: ((list: any[], code: string) => void) | null) => void;
8
+ export declare const getHandleSetService: () => ((list: any[], code: string) => void) | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
4
3
  export declare const _formatBookingDetail: (data: any, modalState: any) => any;