@pisell/private-materials 6.6.46 → 6.6.48

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 (285) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  8. package/es/components/appointmentBooking/locales.d.ts +603 -0
  9. package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  10. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  11. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  12. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  13. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  14. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  15. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  17. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  23. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  24. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  25. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  26. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  27. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  28. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  29. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  30. package/es/components/booking/addons/model.d.ts +1 -10
  31. package/es/components/booking/components/actionButtons/index.d.ts +31 -0
  32. package/es/components/booking/components/footer/amount.js +5 -0
  33. package/es/components/booking/components/voucher/utils.d.ts +5 -0
  34. package/es/components/booking/editBookingModal/locales.d.ts +33 -0
  35. package/es/components/booking/editBookingModal/mock.d.ts +991 -0
  36. package/es/components/booking/forms/model.d.ts +1 -10
  37. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  38. package/es/components/booking/hooks/useQuotation.js +2 -2
  39. package/es/components/booking/info/model.d.ts +1 -10
  40. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  41. package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  42. package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
  43. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  45. package/es/components/booking/locales.d.ts +1619 -0
  46. package/es/components/booking/model.d.ts +1 -9
  47. package/es/components/booking/notes/model.d.ts +1 -10
  48. package/es/components/booking/payments/model.d.ts +1 -10
  49. package/es/components/booking/utils.d.ts +2 -2
  50. package/es/components/checkout/PaymentModal.d.ts +31 -0
  51. package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  52. package/es/components/checkout/locales.d.ts +853 -0
  53. package/es/components/eftpos/locales.d.ts +163 -0
  54. package/es/components/eftposPay/locales.d.ts +608 -0
  55. package/es/components/eventBooking/locales.d.ts +408 -0
  56. package/es/components/list/locales.d.ts +108 -0
  57. package/es/components/list/utils/getText.d.ts +53 -0
  58. package/es/components/login/locales.d.ts +38 -0
  59. package/es/components/pay/toB/locales.d.ts +88 -0
  60. package/es/components/pay/toC/locales.d.ts +511 -0
  61. package/es/components/pay/toC/model.d.ts +1 -9
  62. package/es/components/pinModal/locales.d.ts +43 -0
  63. package/es/components/pinVerifyModal/locales.d.ts +38 -0
  64. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  65. package/es/components/productExtension/locales.d.ts +78 -0
  66. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  67. package/es/components/productSelect/locales.d.ts +38 -0
  68. package/es/components/ruleSetting/locales.d.ts +78 -0
  69. package/es/components/schedules/locales.d.ts +143 -0
  70. package/es/components/schedules/model.d.ts +1 -9
  71. package/es/components/shoppingCart/locales.d.ts +58 -0
  72. package/es/components/stepController/locales.d.ts +43 -0
  73. package/es/components/subTotal/locales.d.ts +68 -0
  74. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  75. package/es/components/systemSettings/registry/locales.d.ts +456 -0
  76. package/es/components/systemSettings/registry/types.d.ts +128 -0
  77. package/es/components/taxSelect/locales.d.ts +38 -0
  78. package/es/components/ticketBooking/locales.d.ts +328 -0
  79. package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
  80. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  81. package/es/components/wallet/utils.d.ts +48 -0
  82. package/es/components/walletList/index.d.ts +4 -0
  83. package/es/components/walletList/locales.d.ts +43 -0
  84. package/es/components/walletList/types/index.d.ts +196 -0
  85. package/es/plus/clientCard/index.d.ts +7 -0
  86. package/es/plus/clientCard/locales.d.ts +28 -0
  87. package/es/plus/clientCard/types.d.ts +135 -0
  88. package/es/plus/clinetSearch/locales.d.ts +178 -0
  89. package/es/plus/contactInfo/locales.d.ts +23 -0
  90. package/es/plus/contactInfoModal/locales.d.ts +108 -0
  91. package/es/plus/noteModal/locales.d.ts +53 -0
  92. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  93. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  94. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  95. package/es/plus/productSelect/locales.d.ts +38 -0
  96. package/es/plus/saasAttendance/index.d.ts +6 -0
  97. package/es/plus/saasAttendance/locales.d.ts +528 -0
  98. package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  99. package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  100. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  101. package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  102. package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  103. package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
  104. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  105. package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  106. package/es/plus/saasAttendance/settings/index.d.ts +18 -0
  107. package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
  108. package/es/plus/saasAttendance/settings/types.d.ts +130 -0
  109. package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
  110. package/es/plus/saasLogin/locales.d.ts +83 -0
  111. package/es/plus/saasRegister/locales.d.ts +193 -0
  112. package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  113. package/es/plus/saasRole/index.d.ts +14 -0
  114. package/es/plus/saasRole/locales.d.ts +319 -0
  115. package/es/plus/saasRole/serve.d.ts +72 -0
  116. package/es/plus/saasRole/types.d.ts +177 -0
  117. package/es/plus/saasRole/utils.d.ts +0 -0
  118. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  119. package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  120. package/es/plus/saasTeamMembers/index.d.ts +5 -0
  121. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  122. package/es/plus/saasTeamMembers/serve.d.ts +95 -0
  123. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  124. package/es/plus/selectHolder/locales.d.ts +38 -0
  125. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  126. package/es/plus/walletEditor/locales.d.ts +223 -0
  127. package/es/plus/walletEditor/types.d.ts +54 -0
  128. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  129. package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  130. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  131. package/es/plus/walletPassGallery/index.d.ts +11 -0
  132. package/es/plus/walletPassGallery/locales.d.ts +473 -0
  133. package/es/plus/walletPassGallery/serve.d.ts +245 -0
  134. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  135. package/es/pro/Login2.0/locales.d.ts +903 -0
  136. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  137. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  138. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  139. package/es/pro/numberKeyboard/locales.d.ts +18 -0
  140. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  141. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  142. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  143. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  144. package/es/pro/skuDetailModal/locales.d.ts +78 -0
  145. package/es/pro/skuDetailModal/types.d.ts +352 -0
  146. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  147. package/lib/components/appointmentBooking/locales.d.ts +603 -0
  148. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  149. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  150. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  151. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  152. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  153. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  154. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  155. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  156. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  157. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  158. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  159. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  160. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  161. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  162. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  163. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  164. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  165. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  166. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  167. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  168. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  169. package/lib/components/booking/addons/model.d.ts +1 -10
  170. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  171. package/lib/components/booking/components/footer/amount.js +5 -0
  172. package/lib/components/booking/components/voucher/utils.d.ts +5 -0
  173. package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
  174. package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
  175. package/lib/components/booking/forms/model.d.ts +1 -10
  176. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  177. package/lib/components/booking/hooks/useQuotation.js +2 -2
  178. package/lib/components/booking/info/model.d.ts +1 -10
  179. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  180. package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  181. package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
  182. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  183. package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  184. package/lib/components/booking/locales.d.ts +1619 -0
  185. package/lib/components/booking/model.d.ts +1 -9
  186. package/lib/components/booking/notes/model.d.ts +1 -10
  187. package/lib/components/booking/payments/model.d.ts +1 -10
  188. package/lib/components/booking/utils.d.ts +2 -2
  189. package/lib/components/checkout/PaymentModal.d.ts +31 -0
  190. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  191. package/lib/components/checkout/locales.d.ts +853 -0
  192. package/lib/components/eftpos/locales.d.ts +163 -0
  193. package/lib/components/eftposPay/locales.d.ts +608 -0
  194. package/lib/components/eventBooking/locales.d.ts +408 -0
  195. package/lib/components/list/locales.d.ts +108 -0
  196. package/lib/components/list/utils/getText.d.ts +53 -0
  197. package/lib/components/login/locales.d.ts +38 -0
  198. package/lib/components/pay/toB/locales.d.ts +88 -0
  199. package/lib/components/pay/toC/locales.d.ts +511 -0
  200. package/lib/components/pay/toC/model.d.ts +1 -9
  201. package/lib/components/pinModal/locales.d.ts +43 -0
  202. package/lib/components/pinVerifyModal/locales.d.ts +38 -0
  203. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  204. package/lib/components/productExtension/locales.d.ts +78 -0
  205. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  206. package/lib/components/productSelect/locales.d.ts +38 -0
  207. package/lib/components/ruleSetting/locales.d.ts +78 -0
  208. package/lib/components/schedules/locales.d.ts +143 -0
  209. package/lib/components/schedules/model.d.ts +1 -9
  210. package/lib/components/shoppingCart/locales.d.ts +58 -0
  211. package/lib/components/stepController/locales.d.ts +43 -0
  212. package/lib/components/subTotal/locales.d.ts +68 -0
  213. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  214. package/lib/components/systemSettings/registry/locales.d.ts +456 -0
  215. package/lib/components/systemSettings/registry/types.d.ts +128 -0
  216. package/lib/components/taxSelect/locales.d.ts +38 -0
  217. package/lib/components/ticketBooking/locales.d.ts +328 -0
  218. package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
  219. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  220. package/lib/components/wallet/utils.d.ts +48 -0
  221. package/lib/components/walletList/index.d.ts +4 -0
  222. package/lib/components/walletList/locales.d.ts +43 -0
  223. package/lib/components/walletList/types/index.d.ts +196 -0
  224. package/lib/plus/clientCard/index.d.ts +7 -0
  225. package/lib/plus/clientCard/locales.d.ts +28 -0
  226. package/lib/plus/clientCard/types.d.ts +135 -0
  227. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  228. package/lib/plus/contactInfo/locales.d.ts +23 -0
  229. package/lib/plus/contactInfoModal/locales.d.ts +108 -0
  230. package/lib/plus/noteModal/locales.d.ts +53 -0
  231. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  232. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  233. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  234. package/lib/plus/productSelect/locales.d.ts +38 -0
  235. package/lib/plus/saasAttendance/index.d.ts +6 -0
  236. package/lib/plus/saasAttendance/locales.d.ts +528 -0
  237. package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  238. package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  239. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  240. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  241. package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  242. package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
  243. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  244. package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  245. package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
  246. package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
  247. package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
  248. package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
  249. package/lib/plus/saasLogin/locales.d.ts +83 -0
  250. package/lib/plus/saasRegister/locales.d.ts +193 -0
  251. package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  252. package/lib/plus/saasRole/index.d.ts +14 -0
  253. package/lib/plus/saasRole/locales.d.ts +319 -0
  254. package/lib/plus/saasRole/serve.d.ts +72 -0
  255. package/lib/plus/saasRole/types.d.ts +177 -0
  256. package/lib/plus/saasRole/utils.d.ts +0 -0
  257. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  258. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  259. package/lib/plus/saasTeamMembers/index.d.ts +5 -0
  260. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  261. package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
  262. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  263. package/lib/plus/selectHolder/locales.d.ts +38 -0
  264. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  265. package/lib/plus/walletEditor/locales.d.ts +223 -0
  266. package/lib/plus/walletEditor/types.d.ts +54 -0
  267. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  268. package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  269. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  270. package/lib/plus/walletPassGallery/index.d.ts +11 -0
  271. package/lib/plus/walletPassGallery/locales.d.ts +473 -0
  272. package/lib/plus/walletPassGallery/serve.d.ts +245 -0
  273. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  274. package/lib/pro/Login2.0/locales.d.ts +903 -0
  275. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  276. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  277. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  278. package/lib/pro/numberKeyboard/locales.d.ts +18 -0
  279. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  280. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  281. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  282. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  283. package/lib/pro/skuDetailModal/locales.d.ts +78 -0
  284. package/lib/pro/skuDetailModal/types.d.ts +352 -0
  285. package/package.json +4 -4
@@ -0,0 +1,68 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.subtotal.deposit': string;
4
+ 'pisell2.subtotal.total': string;
5
+ 'pisell2.subtotal.subtotal': string;
6
+ 'pisell2.subtotal.tax': string;
7
+ 'pisell2.subtotal.delivery-fee': string;
8
+ 'pisell2.subtotal.discount': string;
9
+ 'pisell2.subtotal.point-deduction': string;
10
+ 'pisell2.subtotal.member-deduction': string;
11
+ 'pisell2.subtotal.items': string;
12
+ 'pisell2.subtotal.not-contain': string;
13
+ 'pisell2.subtotal.included': string;
14
+ };
15
+ 'zh-CN': {
16
+ 'pisell2.subtotal.deposit': string;
17
+ 'pisell2.subtotal.total': string;
18
+ 'pisell2.subtotal.subtotal': string;
19
+ 'pisell2.subtotal.tax': string;
20
+ 'pisell2.subtotal.delivery-fee': string;
21
+ 'pisell2.subtotal.discount': string;
22
+ 'pisell2.subtotal.point-deduction': string;
23
+ 'pisell2.subtotal.member-deduction': string;
24
+ 'pisell2.subtotal.items': string;
25
+ 'pisell2.subtotal.not-contain': string;
26
+ 'pisell2.subtotal.included': string;
27
+ };
28
+ 'zh-HK': {
29
+ 'pisell2.subtotal.deposit': string;
30
+ 'pisell2.subtotal.total': string;
31
+ 'pisell2.subtotal.subtotal': string;
32
+ 'pisell2.subtotal.tax': string;
33
+ 'pisell2.subtotal.delivery-fee': string;
34
+ 'pisell2.subtotal.discount': string;
35
+ 'pisell2.subtotal.point-deduction': string;
36
+ 'pisell2.subtotal.member-deduction': string;
37
+ 'pisell2.subtotal.items': string;
38
+ 'pisell2.subtotal.not-contain': string;
39
+ 'pisell2.subtotal.included': string;
40
+ };
41
+ ja: {
42
+ 'pisell2.subtotal.deposit': string;
43
+ 'pisell2.subtotal.total': string;
44
+ 'pisell2.subtotal.subtotal': string;
45
+ 'pisell2.subtotal.tax': string;
46
+ 'pisell2.subtotal.delivery-fee': string;
47
+ 'pisell2.subtotal.discount': string;
48
+ 'pisell2.subtotal.point-deduction': string;
49
+ 'pisell2.subtotal.member-deduction': string;
50
+ 'pisell2.subtotal.items': string;
51
+ 'pisell2.subtotal.not-contain': string;
52
+ 'pisell2.subtotal.included': string;
53
+ };
54
+ pt: {
55
+ 'pisell2.subtotal.deposit': string;
56
+ 'pisell2.subtotal.total': string;
57
+ 'pisell2.subtotal.subtotal': string;
58
+ 'pisell2.subtotal.tax': string;
59
+ 'pisell2.subtotal.delivery-fee': string;
60
+ 'pisell2.subtotal.discount': string;
61
+ 'pisell2.subtotal.point-deduction': string;
62
+ 'pisell2.subtotal.member-deduction': string;
63
+ 'pisell2.subtotal.items': string;
64
+ 'pisell2.subtotal.not-contain': string;
65
+ 'pisell2.subtotal.included': string;
66
+ };
67
+ };
68
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ItemModalProps } from '../types';
3
+ declare const ItemModal: React.FC<ItemModalProps>;
4
+ export default ItemModal;
@@ -0,0 +1,456 @@
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
+ ja: {
272
+ 'registry.title': string;
273
+ 'registry.sections.title': string;
274
+ 'registry.sections.empty': string;
275
+ 'registry.sections.loadMore': string;
276
+ 'registry.sections.noMore': string;
277
+ 'registry.table.title': string;
278
+ 'registry.table.name': string;
279
+ 'registry.table.key': string;
280
+ 'registry.table.type': string;
281
+ 'registry.table.interface': string;
282
+ 'registry.table.scopes': string;
283
+ 'registry.table.default': string;
284
+ 'registry.table.description': string;
285
+ 'registry.table.actions': string;
286
+ 'registry.level.group': string;
287
+ 'registry.level.item': string;
288
+ 'registry.action.add.group': string;
289
+ 'registry.action.add.item': string;
290
+ 'registry.action.edit': string;
291
+ 'registry.action.delete': string;
292
+ 'registry.action.expand': string;
293
+ 'registry.action.collapse': string;
294
+ 'registry.modal.add.group': string;
295
+ 'registry.modal.edit.group': string;
296
+ 'registry.modal.add.item': string;
297
+ 'registry.modal.edit.item': string;
298
+ 'registry.modal.delete.title': string;
299
+ 'registry.modal.delete.group.content': string;
300
+ 'registry.modal.delete.group.hasItems.title': string;
301
+ 'registry.modal.delete.group.hasItems.content': string;
302
+ 'registry.modal.delete.item.content': string;
303
+ 'registry.form.title': string;
304
+ 'registry.form.name': string;
305
+ 'registry.form.name.placeholder': string;
306
+ 'registry.form.code': string;
307
+ 'registry.form.code.placeholder': string;
308
+ 'registry.form.key': string;
309
+ 'registry.form.key.placeholder': string;
310
+ 'registry.form.fieldType': string;
311
+ 'registry.form.fieldType.placeholder': string;
312
+ 'registry.form.interfaceType': string;
313
+ 'registry.form.interfaceType.placeholder': string;
314
+ 'registry.form.scopes': string;
315
+ 'registry.form.scopes.placeholder': string;
316
+ 'registry.form.description': string;
317
+ 'registry.form.description.placeholder': string;
318
+ 'registry.form.systemDefaultValue': string;
319
+ 'registry.form.systemDefaultValue.placeholder': string;
320
+ 'registry.form.uiSchema': string;
321
+ 'registry.form.uiSchema.placeholder': string;
322
+ 'registry.button.ok': string;
323
+ 'registry.button.cancel': string;
324
+ 'registry.button.save': string;
325
+ 'registry.message.save.success': string;
326
+ 'registry.message.delete.success': string;
327
+ 'registry.message.required': string;
328
+ 'registry.message.code.exists': string;
329
+ 'registry.message.key.exists': string;
330
+ 'registry.message.code.pattern': string;
331
+ 'registry.message.key.pattern': string;
332
+ 'registry.message.code.format': string;
333
+ 'registry.message.code.start': string;
334
+ 'registry.message.code.end': string;
335
+ 'registry.message.code.consecutive': string;
336
+ 'registry.message.name.maxLength': string;
337
+ 'registry.message.key.maxLength': string;
338
+ 'registry.message.description.maxLength': string;
339
+ 'registry.message.uiSchema.invalid': string;
340
+ 'registry.message.select.section': string;
341
+ 'registry.message.loading.groups': string;
342
+ 'registry.message.no.settings': string;
343
+ 'registry.message.load.failed': string;
344
+ 'registry.message.create.group.error': string;
345
+ 'registry.drag.drop.here': string;
346
+ 'registry.empty.container.placeholder': string;
347
+ 'registry.message.update.group.error': string;
348
+ 'registry.message.delete.group.error': string;
349
+ 'registry.message.create.item.error': string;
350
+ 'registry.message.update.item.error': string;
351
+ 'registry.message.delete.item.error': string;
352
+ 'registry.message.reorder.success': string;
353
+ 'registry.message.reorder.error': string;
354
+ 'registry.message.move.success': string;
355
+ 'registry.message.move.error': string;
356
+ 'registry.scope.systemDefault': string;
357
+ 'registry.scope.saasDefault': string;
358
+ 'registry.scope.organization': string;
359
+ 'registry.scope.business': string;
360
+ 'registry.scope.channel': string;
361
+ 'registry.scope.board': string;
362
+ };
363
+ pt: {
364
+ 'registry.title': string;
365
+ 'registry.sections.title': string;
366
+ 'registry.sections.empty': string;
367
+ 'registry.sections.loadMore': string;
368
+ 'registry.sections.noMore': string;
369
+ 'registry.table.title': string;
370
+ 'registry.table.name': string;
371
+ 'registry.table.key': string;
372
+ 'registry.table.type': string;
373
+ 'registry.table.interface': string;
374
+ 'registry.table.scopes': string;
375
+ 'registry.table.default': string;
376
+ 'registry.table.description': string;
377
+ 'registry.table.actions': string;
378
+ 'registry.level.group': string;
379
+ 'registry.level.item': string;
380
+ 'registry.action.add.group': string;
381
+ 'registry.action.add.item': string;
382
+ 'registry.action.edit': string;
383
+ 'registry.action.delete': string;
384
+ 'registry.action.expand': string;
385
+ 'registry.action.collapse': string;
386
+ 'registry.modal.add.group': string;
387
+ 'registry.modal.edit.group': string;
388
+ 'registry.modal.add.item': string;
389
+ 'registry.modal.edit.item': string;
390
+ 'registry.modal.delete.title': string;
391
+ 'registry.modal.delete.group.content': string;
392
+ 'registry.modal.delete.group.hasItems.title': string;
393
+ 'registry.modal.delete.group.hasItems.content': string;
394
+ 'registry.modal.delete.item.content': string;
395
+ 'registry.form.title': string;
396
+ 'registry.form.name': string;
397
+ 'registry.form.name.placeholder': string;
398
+ 'registry.form.code': string;
399
+ 'registry.form.code.placeholder': string;
400
+ 'registry.form.key': string;
401
+ 'registry.form.key.placeholder': string;
402
+ 'registry.form.fieldType': string;
403
+ 'registry.form.fieldType.placeholder': string;
404
+ 'registry.form.interfaceType': string;
405
+ 'registry.form.interfaceType.placeholder': string;
406
+ 'registry.form.scopes': string;
407
+ 'registry.form.scopes.placeholder': string;
408
+ 'registry.form.description': string;
409
+ 'registry.form.description.placeholder': string;
410
+ 'registry.form.systemDefaultValue': string;
411
+ 'registry.form.systemDefaultValue.placeholder': string;
412
+ 'registry.form.uiSchema': string;
413
+ 'registry.form.uiSchema.placeholder': string;
414
+ 'registry.button.ok': string;
415
+ 'registry.button.cancel': string;
416
+ 'registry.button.save': string;
417
+ 'registry.message.save.success': string;
418
+ 'registry.message.delete.success': string;
419
+ 'registry.message.required': string;
420
+ 'registry.message.code.exists': string;
421
+ 'registry.message.key.exists': string;
422
+ 'registry.message.code.pattern': string;
423
+ 'registry.message.key.pattern': string;
424
+ 'registry.message.code.format': string;
425
+ 'registry.message.code.start': string;
426
+ 'registry.message.code.end': string;
427
+ 'registry.message.code.consecutive': string;
428
+ 'registry.message.name.maxLength': string;
429
+ 'registry.message.key.maxLength': string;
430
+ 'registry.message.description.maxLength': string;
431
+ 'registry.message.uiSchema.invalid': string;
432
+ 'registry.message.select.section': string;
433
+ 'registry.message.loading.groups': string;
434
+ 'registry.message.no.settings': string;
435
+ 'registry.message.load.failed': string;
436
+ 'registry.message.create.group.error': string;
437
+ 'registry.drag.drop.here': string;
438
+ 'registry.empty.container.placeholder': string;
439
+ 'registry.message.update.group.error': string;
440
+ 'registry.message.delete.group.error': string;
441
+ 'registry.message.create.item.error': string;
442
+ 'registry.message.update.item.error': string;
443
+ 'registry.message.delete.item.error': string;
444
+ 'registry.message.reorder.success': string;
445
+ 'registry.message.reorder.error': string;
446
+ 'registry.message.move.success': string;
447
+ 'registry.message.move.error': string;
448
+ 'registry.scope.systemDefault': string;
449
+ 'registry.scope.saasDefault': string;
450
+ 'registry.scope.organization': string;
451
+ 'registry.scope.business': string;
452
+ 'registry.scope.channel': string;
453
+ 'registry.scope.board': string;
454
+ };
455
+ };
456
+ export default _default;
@@ -0,0 +1,128 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface MultiLanguageText {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ 'ja': string;
7
+ 'pt': string;
8
+ original: string;
9
+ }
10
+ export interface BaseItem {
11
+ id: number;
12
+ name: string | MultiLanguageText;
13
+ code: string;
14
+ order?: number;
15
+ }
16
+ export interface SettingItem extends BaseItem {
17
+ key?: string;
18
+ scopes?: string[];
19
+ groupId?: number;
20
+ group_id?: number;
21
+ fieldType?: string;
22
+ type?: string;
23
+ interfaceType?: string;
24
+ interface?: string;
25
+ description?: string | MultiLanguageText;
26
+ systemDefaultValue?: string;
27
+ default?: string;
28
+ uiSchema?: string;
29
+ schema?: any;
30
+ title?: string | MultiLanguageText;
31
+ sort: number;
32
+ created_at?: string | null;
33
+ updated_at?: string | null;
34
+ deleted_at?: string | null;
35
+ }
36
+ export interface SettingGroup extends BaseItem {
37
+ items: SettingItem[];
38
+ expanded?: boolean;
39
+ sort: number;
40
+ }
41
+ export interface Section extends BaseItem {
42
+ icon?: string;
43
+ description?: string | MultiLanguageText;
44
+ groups: SettingGroup[];
45
+ created_at?: string | null;
46
+ updated_at?: string | null;
47
+ deleted_at?: string | null;
48
+ }
49
+ export interface TreeNode {
50
+ key: string;
51
+ type: 'group' | 'item';
52
+ data: SettingGroup | SettingItem;
53
+ children?: TreeNode[];
54
+ parentKey?: string;
55
+ }
56
+ export declare type OperationType = 'add' | 'edit' | 'delete';
57
+ export interface DragItem {
58
+ id: number;
59
+ type: 'group' | 'item';
60
+ groupId?: number;
61
+ }
62
+ export interface RegistryProps {
63
+ className?: string;
64
+ style?: CSSProperties;
65
+ sections?: Section[];
66
+ selectedSectionId?: number;
67
+ onSectionSelect?: (sectionId: number) => void;
68
+ onDataChange?: (sections: Section[]) => void;
69
+ }
70
+ export interface SectionListProps {
71
+ sections: Section[];
72
+ selectedSectionId?: number;
73
+ onSectionSelect: (sectionId: number) => void;
74
+ loading?: boolean;
75
+ hasMore?: boolean;
76
+ onLoadMore?: () => void;
77
+ }
78
+ export interface SettingsTableProps {
79
+ section?: Section;
80
+ groupList?: SettingGroup[];
81
+ groupLoading?: boolean;
82
+ onDataChange?: (section: Section) => void;
83
+ onEditGroup?: (group: SettingGroup) => void;
84
+ onDeleteGroup?: (groupId: number) => void;
85
+ onAddItem?: (groupId: number) => void;
86
+ onEditItem?: (item: SettingItem) => void;
87
+ onDeleteItem?: (itemId: number) => void;
88
+ onGroupReorder?: (groupIds: number[]) => void;
89
+ onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
90
+ }
91
+ export interface GroupFormData {
92
+ title: MultiLanguageText;
93
+ code: string;
94
+ }
95
+ export interface ItemFormData {
96
+ name: MultiLanguageText;
97
+ key: string;
98
+ fieldType: string;
99
+ interfaceType?: string;
100
+ scopes: string[];
101
+ description?: MultiLanguageText;
102
+ default?: string | null;
103
+ uiSchema?: string;
104
+ }
105
+ export interface GroupModalProps {
106
+ open: boolean;
107
+ type: OperationType;
108
+ data?: SettingGroup;
109
+ onOk: (data: GroupFormData) => void | Promise<void>;
110
+ onCancel: () => void;
111
+ }
112
+ export interface ItemModalProps {
113
+ open: boolean;
114
+ type: OperationType;
115
+ data?: SettingItem;
116
+ section?: Section;
117
+ onOk: (data: ItemFormData) => void | Promise<void>;
118
+ onCancel: () => void;
119
+ }
120
+ export interface ApiResponse<T> {
121
+ data: T[];
122
+ meta: {
123
+ count: number;
124
+ page: number;
125
+ pageSize: number;
126
+ totalPage: number;
127
+ };
128
+ }