@pisell/private-materials 3.4.52 → 3.4.53

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 (522) 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 +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  21. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  22. package/es/components/appointmentBooking/index.d.ts +0 -1
  23. package/es/components/booking/addons/model.d.ts +10 -1
  24. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  25. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  26. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  27. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  28. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  29. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  30. package/es/components/booking/components/footer/index.d.ts +0 -1
  31. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  32. package/es/components/booking/deposit/index.d.ts +0 -1
  33. package/es/components/booking/forms/footer.d.ts +0 -1
  34. package/es/components/booking/forms/model.d.ts +10 -1
  35. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  36. package/es/components/booking/forms/single/index.d.ts +0 -1
  37. package/es/components/booking/forms/table/index.d.ts +0 -1
  38. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  39. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  40. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  41. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  42. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  43. package/es/components/booking/info/date/index.d.ts +0 -1
  44. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  45. package/es/components/booking/info/header/index.d.ts +0 -1
  46. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  47. package/es/components/booking/info/index.d.ts +0 -1
  48. package/es/components/booking/info/model.d.ts +10 -1
  49. package/es/components/booking/info/notes/index.d.ts +0 -1
  50. package/es/components/booking/info/service/Lists.d.ts +0 -1
  51. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  52. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  53. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  54. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  55. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  56. package/es/components/booking/info/service/like/index.d.ts +0 -1
  57. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  58. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  59. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  60. package/es/components/booking/info/service2/utils.d.ts +1 -1
  61. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  62. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  63. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  64. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  65. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  66. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  67. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  68. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  69. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  70. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  71. package/es/components/booking/model.d.ts +9 -1
  72. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  73. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  74. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  75. package/es/components/booking/notes/model.d.ts +10 -1
  76. package/es/components/booking/payments/model.d.ts +10 -1
  77. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  78. package/es/components/eftpos/form/index.d.ts +0 -1
  79. package/es/components/eftpos/group/index.d.ts +0 -1
  80. package/es/components/eftpos/hooks.d.ts +0 -1
  81. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  82. package/es/components/eftpos/icon/device.d.ts +0 -1
  83. package/es/components/eftpos/index.d.ts +0 -1
  84. package/es/components/eftpos/pos.d.ts +0 -1
  85. package/es/components/eftpos/receipt/index.d.ts +0 -1
  86. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  87. package/es/components/eftposPay/amount.d.ts +0 -1
  88. package/es/components/eftposPay/app.d.ts +0 -1
  89. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  90. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  91. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  92. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  93. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  94. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  95. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  96. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  97. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  98. package/es/components/eftposPay/device.d.ts +0 -1
  99. package/es/components/eftposPay/hooks.d.ts +1 -1
  100. package/es/components/eftposPay/index.d.ts +0 -1
  101. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  102. package/es/components/eftposPay/pay.d.ts +0 -1
  103. package/es/components/eftposPay/payo/config.d.ts +0 -1
  104. package/es/components/eftposPay/store/index.d.ts +4 -4
  105. package/es/components/eftposPay/tip.d.ts +0 -1
  106. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  107. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  108. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  109. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  112. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  113. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  114. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  115. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  116. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  119. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  122. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  123. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  124. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  125. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  126. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  127. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  128. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  131. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  132. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  133. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  134. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  135. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  136. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  137. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  138. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  139. package/es/components/eventBooking/index.d.ts +0 -1
  140. package/es/components/index.d.ts +2 -1
  141. package/es/components/index.js +2 -1
  142. package/es/components/login/index.d.ts +0 -1
  143. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  145. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  146. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  147. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  148. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  149. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  150. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  151. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  152. package/es/components/pay/toC/model.d.ts +9 -1
  153. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  154. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  155. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  156. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  157. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  158. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  159. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  160. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  161. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  162. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  163. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  164. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  165. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  166. package/es/components/productExtension/index.d.ts +0 -1
  167. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  168. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  169. package/es/components/ruleSetting/index.d.ts +0 -1
  170. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  171. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  172. package/es/components/schedules/calendar/index.d.ts +0 -1
  173. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  174. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  175. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  176. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  177. package/es/components/schedules/model.d.ts +9 -1
  178. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  179. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  180. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  181. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  182. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  183. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  184. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  185. package/es/components/schedules/products/index.d.ts +0 -1
  186. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  187. package/es/components/schedules/products/list/index.d.ts +0 -1
  188. package/es/components/schedules/resources/index.d.ts +0 -1
  189. package/es/components/schedules/resources/list/index.d.ts +0 -1
  190. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  191. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  192. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  193. package/es/components/schedules/schedules/index.d.ts +0 -1
  194. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  195. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  196. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  197. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  198. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  199. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  200. package/es/components/shoppingCart/index.d.ts +0 -1
  201. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  202. package/es/components/systemSettings/registry/components/GroupModal.js +160 -0
  203. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  204. package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
  205. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  206. package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
  207. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  208. package/es/components/systemSettings/registry/components/SectionList.js +174 -0
  209. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  210. package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
  211. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  212. package/es/components/systemSettings/registry/components/index.js +4 -0
  213. package/es/components/systemSettings/registry/index.d.ts +5 -0
  214. package/es/components/systemSettings/registry/index.js +1059 -0
  215. package/es/components/systemSettings/registry/index.less +410 -0
  216. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  217. package/es/components/systemSettings/registry/locales.js +300 -0
  218. package/es/components/systemSettings/registry/services.d.ts +77 -0
  219. package/es/components/systemSettings/registry/services.js +472 -0
  220. package/es/components/systemSettings/registry/types.d.ts +126 -0
  221. package/es/components/systemSettings/registry/types.js +1 -0
  222. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  223. package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
  224. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  225. package/es/components/systemSettings/registry/utils/validators.js +44 -0
  226. package/es/components/taxSelect/index.d.ts +0 -1
  227. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  228. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  229. package/es/components/wallet/Detail/model.d.ts +13 -1
  230. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  231. package/es/components/wallet/PointCard/model.d.ts +13 -1
  232. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  233. package/es/components/wallet/Voucher/model.d.ts +13 -1
  234. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  235. package/es/components/wallet/model.d.ts +9 -1
  236. package/es/components/walletList/index.d.ts +0 -1
  237. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  238. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  239. package/es/hooks/usePaymentLogger.d.ts +0 -1
  240. package/es/index.d.ts +2 -0
  241. package/es/index.js +3 -1
  242. package/es/plus/clientName/index.d.ts +0 -1
  243. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
  244. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  245. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  246. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  247. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  248. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  249. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  250. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  251. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  252. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  253. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  254. package/es/plus/walletPassGallery/components/footerButton/index.js +2 -4
  255. package/es/plus/walletPassGallery/components/footerButton/index.less +14 -59
  256. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  257. package/es/plus/walletPassGallery/components/passDetail/index.js +5 -1
  258. package/es/plus/walletPassGallery/components/passDetail/index.less +4 -0
  259. package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  260. package/es/plus/walletPassGallery/components/recharge/index.js +19 -8
  261. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  262. package/es/plus/walletPassGallery/index.d.ts +0 -1
  263. package/es/plus/walletPassGallery/index.js +3 -1
  264. package/es/pro/Login2.0/index.less +15 -8
  265. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  266. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  267. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  268. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  269. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  270. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  271. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  272. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  273. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  274. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  275. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  276. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  277. package/lib/components/appointmentBooking/index.d.ts +0 -1
  278. package/lib/components/booking/addons/model.d.ts +10 -1
  279. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  280. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  281. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  282. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  283. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  284. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  285. package/lib/components/booking/components/footer/index.d.ts +0 -1
  286. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  287. package/lib/components/booking/deposit/index.d.ts +0 -1
  288. package/lib/components/booking/forms/footer.d.ts +0 -1
  289. package/lib/components/booking/forms/model.d.ts +10 -1
  290. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  291. package/lib/components/booking/forms/single/index.d.ts +0 -1
  292. package/lib/components/booking/forms/table/index.d.ts +0 -1
  293. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  294. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  295. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  296. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  297. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  298. package/lib/components/booking/info/date/index.d.ts +0 -1
  299. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  300. package/lib/components/booking/info/header/index.d.ts +0 -1
  301. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  302. package/lib/components/booking/info/index.d.ts +0 -1
  303. package/lib/components/booking/info/model.d.ts +10 -1
  304. package/lib/components/booking/info/notes/index.d.ts +0 -1
  305. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  306. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  307. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  308. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  309. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  310. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  311. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  312. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  313. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  314. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  315. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  316. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  317. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  318. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  319. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  320. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  321. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  322. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  323. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  324. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  325. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  326. package/lib/components/booking/model.d.ts +9 -1
  327. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  328. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  329. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  330. package/lib/components/booking/notes/model.d.ts +10 -1
  331. package/lib/components/booking/payments/model.d.ts +10 -1
  332. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  333. package/lib/components/eftpos/form/index.d.ts +0 -1
  334. package/lib/components/eftpos/group/index.d.ts +0 -1
  335. package/lib/components/eftpos/hooks.d.ts +0 -1
  336. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  337. package/lib/components/eftpos/icon/device.d.ts +0 -1
  338. package/lib/components/eftpos/index.d.ts +0 -1
  339. package/lib/components/eftpos/pos.d.ts +0 -1
  340. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  341. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  342. package/lib/components/eftposPay/amount.d.ts +0 -1
  343. package/lib/components/eftposPay/app.d.ts +0 -1
  344. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  345. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  346. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  347. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  348. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  349. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  350. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  351. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  352. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  353. package/lib/components/eftposPay/device.d.ts +0 -1
  354. package/lib/components/eftposPay/hooks.d.ts +1 -1
  355. package/lib/components/eftposPay/index.d.ts +0 -1
  356. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  357. package/lib/components/eftposPay/pay.d.ts +0 -1
  358. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  359. package/lib/components/eftposPay/store/index.d.ts +4 -4
  360. package/lib/components/eftposPay/tip.d.ts +0 -1
  361. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  362. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  363. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  364. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  365. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  366. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  367. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  368. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  369. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  370. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  371. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  372. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  373. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  374. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  375. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  376. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  377. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  378. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  379. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  380. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  381. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  382. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  383. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  384. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  385. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  386. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  387. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  388. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  389. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  390. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  391. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  392. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  393. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  394. package/lib/components/eventBooking/index.d.ts +0 -1
  395. package/lib/components/index.d.ts +2 -1
  396. package/lib/components/index.js +3 -0
  397. package/lib/components/login/index.d.ts +0 -1
  398. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  399. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  400. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  401. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  402. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  403. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  404. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  405. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  406. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  407. package/lib/components/pay/toC/model.d.ts +9 -1
  408. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  409. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  410. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  411. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  412. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  413. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  414. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  415. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  416. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  417. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  418. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  419. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  420. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  421. package/lib/components/productExtension/index.d.ts +0 -1
  422. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  423. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  424. package/lib/components/ruleSetting/index.d.ts +0 -1
  425. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  426. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  427. package/lib/components/schedules/calendar/index.d.ts +0 -1
  428. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  429. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  430. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  431. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  432. package/lib/components/schedules/model.d.ts +9 -1
  433. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  434. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  435. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  436. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  437. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  438. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  439. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  440. package/lib/components/schedules/products/index.d.ts +0 -1
  441. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  442. package/lib/components/schedules/products/list/index.d.ts +0 -1
  443. package/lib/components/schedules/resources/index.d.ts +0 -1
  444. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  445. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  446. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  447. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  448. package/lib/components/schedules/schedules/index.d.ts +0 -1
  449. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  450. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  451. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  452. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  453. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  454. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  455. package/lib/components/shoppingCart/index.d.ts +0 -1
  456. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  457. package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
  458. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  459. package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
  460. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  461. package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
  462. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  463. package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
  464. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  465. package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
  466. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  467. package/lib/components/systemSettings/registry/components/index.js +48 -0
  468. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  469. package/lib/components/systemSettings/registry/index.js +529 -0
  470. package/lib/components/systemSettings/registry/index.less +410 -0
  471. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  472. package/lib/components/systemSettings/registry/locales.js +324 -0
  473. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  474. package/lib/components/systemSettings/registry/services.js +290 -0
  475. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  476. package/lib/components/systemSettings/registry/types.js +17 -0
  477. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  478. package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
  479. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  480. package/lib/components/systemSettings/registry/utils/validators.js +54 -0
  481. package/lib/components/taxSelect/index.d.ts +0 -1
  482. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  483. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  484. package/lib/components/wallet/Detail/model.d.ts +13 -1
  485. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  486. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  487. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  488. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  489. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  490. package/lib/components/wallet/model.d.ts +9 -1
  491. package/lib/components/walletList/index.d.ts +0 -1
  492. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  493. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  494. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  495. package/lib/index.d.ts +2 -0
  496. package/lib/index.js +6 -0
  497. package/lib/plus/clientName/index.d.ts +0 -1
  498. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
  499. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  500. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  501. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  502. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  503. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  504. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  505. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  506. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  507. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  508. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  509. package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
  510. package/lib/plus/walletPassGallery/components/footerButton/index.less +14 -59
  511. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  512. package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -1
  513. package/lib/plus/walletPassGallery/components/passDetail/index.less +4 -0
  514. package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  515. package/lib/plus/walletPassGallery/components/recharge/index.js +7 -1
  516. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  517. package/lib/plus/walletPassGallery/index.d.ts +0 -1
  518. package/lib/plus/walletPassGallery/index.js +3 -1
  519. package/lib/pro/Login2.0/index.less +15 -8
  520. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  521. package/lowcode/settings-registry/meta.ts +29 -0
  522. package/package.json +4 -4
@@ -0,0 +1,284 @@
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
+ /**
3
+ * 类型验证工具函数
4
+ * 用于验证默认值是否符合指定的字段类型
5
+ */
6
+
7
+ /**
8
+ * 验证字符串类型
9
+ */
10
+ var validateString = function validateString(value) {
11
+ if (value === null || value === undefined || value === '') {
12
+ return {
13
+ isValid: true
14
+ };
15
+ }
16
+ if (typeof value === 'string') {
17
+ return {
18
+ isValid: true
19
+ };
20
+ }
21
+ return {
22
+ isValid: false,
23
+ error: '默认值必须是字符串类型'
24
+ };
25
+ };
26
+
27
+ /**
28
+ * 验证整数类型
29
+ */
30
+ var validateInteger = function validateInteger(value) {
31
+ if (value === null || value === undefined || value === '') {
32
+ return {
33
+ isValid: true
34
+ };
35
+ }
36
+
37
+ // 如果是数字,检查是否为整数
38
+ if (typeof value === 'number') {
39
+ if (!Number.isInteger(value)) {
40
+ return {
41
+ isValid: false,
42
+ error: '默认值必须是整数'
43
+ };
44
+ }
45
+ return {
46
+ isValid: true
47
+ };
48
+ }
49
+
50
+ // 如果是字符串,尝试转换
51
+ if (typeof value === 'string') {
52
+ var trimmed = value.trim();
53
+ if (trimmed === '') {
54
+ return {
55
+ isValid: true
56
+ };
57
+ }
58
+ var num = Number(trimmed);
59
+ if (isNaN(num) || !Number.isInteger(num)) {
60
+ return {
61
+ isValid: false,
62
+ error: '默认值必须是有效的整数'
63
+ };
64
+ }
65
+ return {
66
+ isValid: true
67
+ };
68
+ }
69
+ return {
70
+ isValid: false,
71
+ error: '默认值必须是有效的整数'
72
+ };
73
+ };
74
+
75
+ /**
76
+ * 验证浮点数类型
77
+ */
78
+ var validateFloat = function validateFloat(value) {
79
+ if (value === null || value === undefined || value === '') {
80
+ return {
81
+ isValid: true
82
+ };
83
+ }
84
+
85
+ // 如果是数字,检查是否有效
86
+ if (typeof value === 'number') {
87
+ if (!isFinite(value)) {
88
+ return {
89
+ isValid: false,
90
+ error: '默认值必须是有效的数字'
91
+ };
92
+ }
93
+ return {
94
+ isValid: true
95
+ };
96
+ }
97
+
98
+ // 如果是字符串,尝试转换
99
+ if (typeof value === 'string') {
100
+ var trimmed = value.trim();
101
+ if (trimmed === '') {
102
+ return {
103
+ isValid: true
104
+ };
105
+ }
106
+ var num = Number(trimmed);
107
+ if (isNaN(num) || !isFinite(num)) {
108
+ return {
109
+ isValid: false,
110
+ error: '默认值必须是有效的数字'
111
+ };
112
+ }
113
+ return {
114
+ isValid: true
115
+ };
116
+ }
117
+ return {
118
+ isValid: false,
119
+ error: '默认值必须是有效的数字'
120
+ };
121
+ };
122
+
123
+ /**
124
+ * 验证布尔类型
125
+ */
126
+ var validateBoolean = function validateBoolean(value) {
127
+ if (value === null || value === undefined || value === '') {
128
+ return {
129
+ isValid: true
130
+ };
131
+ }
132
+
133
+ // 如果是字符串,只接受 'true' 或 'false'
134
+ if (typeof value === 'string') {
135
+ var trimmed = value.trim().toLowerCase();
136
+ if (trimmed === '') {
137
+ return {
138
+ isValid: true
139
+ };
140
+ }
141
+ if (trimmed !== 'true' && trimmed !== 'false') {
142
+ return {
143
+ isValid: false,
144
+ error: '默认值必须是 true 或 false'
145
+ };
146
+ }
147
+ return {
148
+ isValid: true
149
+ };
150
+ }
151
+
152
+ // 如果是布尔类型
153
+ if (typeof value === 'boolean') {
154
+ return {
155
+ isValid: true
156
+ };
157
+ }
158
+ return {
159
+ isValid: false,
160
+ error: '默认值必须是 true 或 false'
161
+ };
162
+ };
163
+
164
+ /**
165
+ * 验证数组类型(JSON对象/数组)
166
+ */
167
+ var validateArray = function validateArray(value) {
168
+ if (value === null || value === undefined || value === '') {
169
+ return {
170
+ isValid: true
171
+ };
172
+ }
173
+
174
+ // 如果是字符串,尝试解析为JSON
175
+ if (typeof value === 'string') {
176
+ var trimmed = value.trim();
177
+ if (trimmed === '') {
178
+ return {
179
+ isValid: true
180
+ };
181
+ }
182
+ try {
183
+ var parsed = JSON.parse(trimmed);
184
+ // 检查解析后的值是否为对象或数组
185
+ if (_typeof(parsed) !== 'object' || parsed === null) {
186
+ return {
187
+ isValid: false,
188
+ error: '默认值必须是有效的JSON对象或数组'
189
+ };
190
+ }
191
+ return {
192
+ isValid: true
193
+ };
194
+ } catch (error) {
195
+ return {
196
+ isValid: false,
197
+ error: '默认值必须是有效的JSON对象或数组'
198
+ };
199
+ }
200
+ }
201
+
202
+ // 如果是对象或数组
203
+ if (_typeof(value) === 'object' && value !== null) {
204
+ return {
205
+ isValid: true
206
+ };
207
+ }
208
+ return {
209
+ isValid: false,
210
+ error: '默认值必须是有效的JSON对象或数组'
211
+ };
212
+ };
213
+
214
+ /**
215
+ * 根据字段类型验证默认值
216
+ */
217
+ export var validateDefaultValue = function validateDefaultValue(fieldType, defaultValue) {
218
+ if (!fieldType) {
219
+ return {
220
+ isValid: false,
221
+ error: '字段类型不能为空'
222
+ };
223
+ }
224
+ switch (fieldType.toLowerCase()) {
225
+ case 'string':
226
+ return validateString(defaultValue);
227
+ case 'integer':
228
+ return validateInteger(defaultValue);
229
+ case 'float':
230
+ return validateFloat(defaultValue);
231
+ case 'boolean':
232
+ return validateBoolean(defaultValue);
233
+ case 'array':
234
+ return validateArray(defaultValue);
235
+ default:
236
+ return {
237
+ isValid: false,
238
+ error: "\u4E0D\u652F\u6301\u7684\u5B57\u6BB5\u7C7B\u578B: ".concat(fieldType)
239
+ };
240
+ }
241
+ };
242
+
243
+ /**
244
+ * 解析默认值为对应的类型
245
+ */
246
+ export var parseDefaultValue = function parseDefaultValue(fieldType, defaultValue) {
247
+ if (defaultValue === null || defaultValue === undefined || defaultValue === '') {
248
+ return null;
249
+ }
250
+ switch (fieldType.toLowerCase()) {
251
+ case 'string':
252
+ return String(defaultValue);
253
+ case 'integer':
254
+ if (typeof defaultValue === 'string') {
255
+ var trimmed = defaultValue.trim();
256
+ if (trimmed === '') return null;
257
+ return parseInt(trimmed, 10);
258
+ }
259
+ return defaultValue;
260
+ case 'float':
261
+ if (typeof defaultValue === 'string') {
262
+ var _trimmed = defaultValue.trim();
263
+ if (_trimmed === '') return null;
264
+ return parseFloat(_trimmed);
265
+ }
266
+ return defaultValue;
267
+ case 'boolean':
268
+ if (typeof defaultValue === 'string') {
269
+ var _trimmed2 = defaultValue.trim().toLowerCase();
270
+ if (_trimmed2 === '') return null;
271
+ return _trimmed2 === 'true';
272
+ }
273
+ return Boolean(defaultValue);
274
+ case 'array':
275
+ if (typeof defaultValue === 'string') {
276
+ var _trimmed3 = defaultValue.trim();
277
+ if (_trimmed3 === '') return null;
278
+ return JSON.parse(_trimmed3);
279
+ }
280
+ return defaultValue;
281
+ default:
282
+ return defaultValue;
283
+ }
284
+ };
@@ -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,44 @@
1
+ /**
2
+ * 验证器工具函数
3
+ */
4
+
5
+ /**
6
+ * 创建带前缀的应用标识符验证器
7
+ * 用于验证设置项的键格式
8
+ */
9
+ export var createPrefixedAppIdentifierValidator = function createPrefixedAppIdentifierValidator(sectionCode) {
10
+ return function (_, value) {
11
+ if (!value) {
12
+ return Promise.resolve();
13
+ }
14
+
15
+ // 检查是否以section code开头
16
+ var expectedPrefix = "".concat(sectionCode, ".");
17
+ if (!value.startsWith(expectedPrefix)) {
18
+ return Promise.reject(new Error("\u952E\u5FC5\u987B\u4EE5 \"".concat(expectedPrefix, "\" \u5F00\u5934")));
19
+ }
20
+
21
+ // 检查剩余部分的格式
22
+ var remainingPart = value.substring(expectedPrefix.length);
23
+ if (!remainingPart) {
24
+ return Promise.reject(new Error('键不能只包含前缀'));
25
+ }
26
+
27
+ // 验证格式:只能包含小写字母、数字、点、下划线
28
+ var validPattern = /^[a-z0-9._]+$/;
29
+ if (!validPattern.test(remainingPart)) {
30
+ return Promise.reject(new Error('键只能包含小写字母、数字、点、下划线'));
31
+ }
32
+
33
+ // 不能以点或下划线开头或结尾
34
+ if (remainingPart.startsWith('.') || remainingPart.startsWith('_') || remainingPart.endsWith('.') || remainingPart.endsWith('_')) {
35
+ return Promise.reject(new Error('键不能以点或下划线开头或结尾'));
36
+ }
37
+
38
+ // 不能包含连续的点或下划线
39
+ if (remainingPart.includes('..') || remainingPart.includes('__') || remainingPart.includes('._') || remainingPart.includes('_.')) {
40
+ return Promise.reject(new Error('键不能包含连续的点或下划线'));
41
+ }
42
+ return Promise.resolve();
43
+ };
44
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  import "./index.less";
4
3
  interface TaxSelectProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const index: () => JSX.Element;
4
3
  export default index;
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ addWalletCard: any;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ walletDetailState: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,14 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ setup?: 'menu' | 'list' | 'detail' | string;
5
+ }
6
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
+ state: RechargeState;
8
+ } & {
9
+ dispatch: (params: {
10
+ type: string;
11
+ payload: any;
12
+ }) => void;
13
+ }>;
14
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,29 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from './serve';
2
3
  export interface WalletCardItemProps {
3
4
  id: string;
@@ -26,4 +27,11 @@ export interface WalletListProps {
26
27
  currentSearchListItemCode?: string;
27
28
  [key: string]: any;
28
29
  }
29
- export declare const Provider: any, Context: any;
30
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
+ global_wallet: WalletListProps;
32
+ } & {
33
+ dispatch: (params: {
34
+ type: string;
35
+ payload: any;
36
+ }) => void;
37
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WalletList: (props: any) => JSX.Element;
4
3
  export default WalletList;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './../../index.less';
3
2
  declare const Search: () => JSX.Element;
4
3
  export default Search;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface LogData {
3
2
  key: string;
4
3
  value: any;
package/es/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export { default as TaxSelect } from './components/taxSelect';
22
22
  export { default as EftposPay } from './components/eftposPay';
23
23
  export { default as ToCPay } from './components/pay/toC';
24
24
  export { default as Eftpos } from './components/eftpos';
25
+ export { default as Wallet } from './components/wallet';
25
26
  export { default as WalletList } from './components/walletList';
26
27
  export { default as BookingDashboard } from './components/booking/dashboard';
27
28
  export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
@@ -56,3 +57,4 @@ export { default as ContactInfoModal } from './plus/contactInfoModal';
56
57
  export { Login2, Register2, AuthModal } from './pro/Login2.0';
57
58
  export { default as WalletEditor } from './plus/walletEditor';
58
59
  export { default as WalletPassGallery } from './plus/walletPassGallery';
60
+ export { default as SettingsRegistry } from './components/systemSettings/registry';
package/es/index.js CHANGED
@@ -26,6 +26,7 @@ export { default as TaxSelect } from "./components/taxSelect";
26
26
  export { default as EftposPay } from "./components/eftposPay";
27
27
  export { default as ToCPay } from "./components/pay/toC";
28
28
  export { default as Eftpos } from "./components/eftpos";
29
+ export { default as Wallet } from "./components/wallet";
29
30
  export { default as WalletList } from "./components/walletList";
30
31
  export { default as BookingDashboard } from "./components/booking/dashboard";
31
32
  export { default as PisellSelectCustomerModal } from "./components/pisellSelectCustomerModal";
@@ -58,4 +59,5 @@ export { default as ContactInfo } from "./plus/contactInfo";
58
59
  export { default as ContactInfoModal } from "./plus/contactInfoModal";
59
60
  export { Login2, Register2, AuthModal } from "./pro/Login2.0";
60
61
  export { default as WalletEditor } from "./plus/walletEditor";
61
- export { default as WalletPassGallery } from "./plus/walletPassGallery";
62
+ export { default as WalletPassGallery } from "./plus/walletPassGallery";
63
+ export { default as SettingsRegistry } from "./components/systemSettings/registry";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContactInfoContent: (props: any) => JSX.Element;
4
3
  export default ContactInfoContent;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from './types';
3
2
  import './index.less';
4
3
  declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  declare const GoLogin: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRStepStatus } from '../types';
3
2
  import '../index.less';
4
3
  declare const VerifyError: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: string[] | undefined;
@@ -212,10 +212,7 @@ var FooterButtons = function FooterButtons(_ref) {
212
212
  className: "pisell-wallet-pass-gallery_footer-buttons-item pisell-wallet-pass-gallery_footer-buttons-item-primary"
213
213
  }, locales.getText('wallet-pass-gallery.recharge')));
214
214
  }
215
-
216
- // 根据按钮数量设置不同的类名
217
- var buttonCount = buttons.length;
218
- var className = "pisell-wallet-pass-gallery_footer-buttons pisell-wallet-pass-gallery_footer-buttons-count-".concat(buttonCount);
215
+ var className = "pisell-wallet-pass-gallery_footer-buttons";
219
216
  return buttons.length > 0 ? /*#__PURE__*/React.createElement("div", {
220
217
  className: className
221
218
  }, buttons) : null;
@@ -223,6 +220,7 @@ var FooterButtons = function FooterButtons(_ref) {
223
220
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
224
221
  className: "pisell-wallet-pass-gallery_footer"
225
222
  }, renderButtons()), /*#__PURE__*/React.createElement(PisellModal, {
223
+ destroyOnClose: true,
226
224
  platform: platform,
227
225
  mobileModalHeight: "auto",
228
226
  headerDivider: false,