@pisell/private-materials 6.6.46 → 6.6.47

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 (267) 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/components/actionButtons/index.d.ts +31 -0
  31. package/es/components/booking/components/voucher/utils.d.ts +5 -0
  32. package/es/components/booking/editBookingModal/locales.d.ts +33 -0
  33. package/es/components/booking/editBookingModal/mock.d.ts +991 -0
  34. package/es/components/booking/hooks/useQuotation.js +2 -2
  35. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  36. package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  37. package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
  38. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  39. package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  40. package/es/components/booking/locales.d.ts +1619 -0
  41. package/es/components/booking/utils.d.ts +2 -2
  42. package/es/components/checkout/PaymentModal.d.ts +31 -0
  43. package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  44. package/es/components/checkout/locales.d.ts +853 -0
  45. package/es/components/eftpos/locales.d.ts +163 -0
  46. package/es/components/eftposPay/locales.d.ts +608 -0
  47. package/es/components/eventBooking/locales.d.ts +408 -0
  48. package/es/components/list/locales.d.ts +108 -0
  49. package/es/components/list/utils/getText.d.ts +53 -0
  50. package/es/components/login/locales.d.ts +38 -0
  51. package/es/components/pay/toB/locales.d.ts +88 -0
  52. package/es/components/pay/toC/locales.d.ts +511 -0
  53. package/es/components/pinModal/locales.d.ts +43 -0
  54. package/es/components/pinVerifyModal/locales.d.ts +38 -0
  55. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  56. package/es/components/productExtension/locales.d.ts +78 -0
  57. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  58. package/es/components/productSelect/locales.d.ts +38 -0
  59. package/es/components/ruleSetting/locales.d.ts +78 -0
  60. package/es/components/schedules/locales.d.ts +143 -0
  61. package/es/components/shoppingCart/locales.d.ts +58 -0
  62. package/es/components/stepController/locales.d.ts +43 -0
  63. package/es/components/subTotal/locales.d.ts +68 -0
  64. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  65. package/es/components/systemSettings/registry/locales.d.ts +456 -0
  66. package/es/components/systemSettings/registry/types.d.ts +128 -0
  67. package/es/components/taxSelect/locales.d.ts +38 -0
  68. package/es/components/ticketBooking/locales.d.ts +328 -0
  69. package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
  70. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  71. package/es/components/wallet/utils.d.ts +48 -0
  72. package/es/components/walletList/index.d.ts +4 -0
  73. package/es/components/walletList/locales.d.ts +43 -0
  74. package/es/components/walletList/types/index.d.ts +196 -0
  75. package/es/plus/clientCard/index.d.ts +7 -0
  76. package/es/plus/clientCard/locales.d.ts +28 -0
  77. package/es/plus/clientCard/types.d.ts +135 -0
  78. package/es/plus/clinetSearch/locales.d.ts +178 -0
  79. package/es/plus/contactInfo/locales.d.ts +23 -0
  80. package/es/plus/contactInfoModal/locales.d.ts +108 -0
  81. package/es/plus/noteModal/locales.d.ts +53 -0
  82. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  83. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  84. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  85. package/es/plus/productSelect/locales.d.ts +38 -0
  86. package/es/plus/saasAttendance/index.d.ts +6 -0
  87. package/es/plus/saasAttendance/locales.d.ts +528 -0
  88. package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  89. package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  90. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  91. package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  92. package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  93. package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
  94. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  95. package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  96. package/es/plus/saasAttendance/settings/index.d.ts +18 -0
  97. package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
  98. package/es/plus/saasAttendance/settings/types.d.ts +130 -0
  99. package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
  100. package/es/plus/saasLogin/locales.d.ts +83 -0
  101. package/es/plus/saasRegister/locales.d.ts +193 -0
  102. package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  103. package/es/plus/saasRole/index.d.ts +14 -0
  104. package/es/plus/saasRole/locales.d.ts +319 -0
  105. package/es/plus/saasRole/serve.d.ts +72 -0
  106. package/es/plus/saasRole/types.d.ts +177 -0
  107. package/es/plus/saasRole/utils.d.ts +0 -0
  108. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  109. package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  110. package/es/plus/saasTeamMembers/index.d.ts +5 -0
  111. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  112. package/es/plus/saasTeamMembers/serve.d.ts +95 -0
  113. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  114. package/es/plus/selectHolder/locales.d.ts +38 -0
  115. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  116. package/es/plus/walletEditor/locales.d.ts +223 -0
  117. package/es/plus/walletEditor/types.d.ts +54 -0
  118. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  119. package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  120. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  121. package/es/plus/walletPassGallery/index.d.ts +11 -0
  122. package/es/plus/walletPassGallery/locales.d.ts +473 -0
  123. package/es/plus/walletPassGallery/serve.d.ts +245 -0
  124. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  125. package/es/pro/Login2.0/locales.d.ts +903 -0
  126. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  127. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  128. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  129. package/es/pro/numberKeyboard/locales.d.ts +18 -0
  130. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  131. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  132. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  133. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  134. package/es/pro/skuDetailModal/locales.d.ts +78 -0
  135. package/es/pro/skuDetailModal/types.d.ts +352 -0
  136. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  137. package/lib/components/appointmentBooking/locales.d.ts +603 -0
  138. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  139. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  140. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  141. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  142. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  143. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  144. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  145. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  146. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  147. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  148. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  149. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  150. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  151. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  152. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  153. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  154. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  155. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  156. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  157. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  158. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  159. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  160. package/lib/components/booking/components/voucher/utils.d.ts +5 -0
  161. package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
  162. package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
  163. package/lib/components/booking/hooks/useQuotation.js +2 -2
  164. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  165. package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  166. package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
  167. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  168. package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  169. package/lib/components/booking/locales.d.ts +1619 -0
  170. package/lib/components/booking/utils.d.ts +2 -2
  171. package/lib/components/checkout/PaymentModal.d.ts +31 -0
  172. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  173. package/lib/components/checkout/locales.d.ts +853 -0
  174. package/lib/components/eftpos/locales.d.ts +163 -0
  175. package/lib/components/eftposPay/locales.d.ts +608 -0
  176. package/lib/components/eventBooking/locales.d.ts +408 -0
  177. package/lib/components/list/locales.d.ts +108 -0
  178. package/lib/components/list/utils/getText.d.ts +53 -0
  179. package/lib/components/login/locales.d.ts +38 -0
  180. package/lib/components/pay/toB/locales.d.ts +88 -0
  181. package/lib/components/pay/toC/locales.d.ts +511 -0
  182. package/lib/components/pinModal/locales.d.ts +43 -0
  183. package/lib/components/pinVerifyModal/locales.d.ts +38 -0
  184. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  185. package/lib/components/productExtension/locales.d.ts +78 -0
  186. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  187. package/lib/components/productSelect/locales.d.ts +38 -0
  188. package/lib/components/ruleSetting/locales.d.ts +78 -0
  189. package/lib/components/schedules/locales.d.ts +143 -0
  190. package/lib/components/shoppingCart/locales.d.ts +58 -0
  191. package/lib/components/stepController/locales.d.ts +43 -0
  192. package/lib/components/subTotal/locales.d.ts +68 -0
  193. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  194. package/lib/components/systemSettings/registry/locales.d.ts +456 -0
  195. package/lib/components/systemSettings/registry/types.d.ts +128 -0
  196. package/lib/components/taxSelect/locales.d.ts +38 -0
  197. package/lib/components/ticketBooking/locales.d.ts +328 -0
  198. package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
  199. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  200. package/lib/components/wallet/utils.d.ts +48 -0
  201. package/lib/components/walletList/index.d.ts +4 -0
  202. package/lib/components/walletList/locales.d.ts +43 -0
  203. package/lib/components/walletList/types/index.d.ts +196 -0
  204. package/lib/plus/clientCard/index.d.ts +7 -0
  205. package/lib/plus/clientCard/locales.d.ts +28 -0
  206. package/lib/plus/clientCard/types.d.ts +135 -0
  207. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  208. package/lib/plus/contactInfo/locales.d.ts +23 -0
  209. package/lib/plus/contactInfoModal/locales.d.ts +108 -0
  210. package/lib/plus/noteModal/locales.d.ts +53 -0
  211. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  212. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  213. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  214. package/lib/plus/productSelect/locales.d.ts +38 -0
  215. package/lib/plus/saasAttendance/index.d.ts +6 -0
  216. package/lib/plus/saasAttendance/locales.d.ts +528 -0
  217. package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  218. package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  219. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  220. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  221. package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  222. package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
  223. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  224. package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  225. package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
  226. package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
  227. package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
  228. package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
  229. package/lib/plus/saasLogin/locales.d.ts +83 -0
  230. package/lib/plus/saasRegister/locales.d.ts +193 -0
  231. package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  232. package/lib/plus/saasRole/index.d.ts +14 -0
  233. package/lib/plus/saasRole/locales.d.ts +319 -0
  234. package/lib/plus/saasRole/serve.d.ts +72 -0
  235. package/lib/plus/saasRole/types.d.ts +177 -0
  236. package/lib/plus/saasRole/utils.d.ts +0 -0
  237. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  238. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  239. package/lib/plus/saasTeamMembers/index.d.ts +5 -0
  240. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  241. package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
  242. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  243. package/lib/plus/selectHolder/locales.d.ts +38 -0
  244. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  245. package/lib/plus/walletEditor/locales.d.ts +223 -0
  246. package/lib/plus/walletEditor/types.d.ts +54 -0
  247. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  248. package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  249. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  250. package/lib/plus/walletPassGallery/index.d.ts +11 -0
  251. package/lib/plus/walletPassGallery/locales.d.ts +473 -0
  252. package/lib/plus/walletPassGallery/serve.d.ts +245 -0
  253. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  254. package/lib/pro/Login2.0/locales.d.ts +903 -0
  255. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  256. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  257. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  258. package/lib/pro/numberKeyboard/locales.d.ts +18 -0
  259. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  260. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  261. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  262. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  263. package/lib/pro/skuDetailModal/locales.d.ts +78 -0
  264. package/lib/pro/skuDetailModal/types.d.ts +352 -0
  265. package/lowcode/eco-cup-list/meta.ts +63 -0
  266. package/lowcode/eco-customer-list/meta.ts +63 -0
  267. package/package.json +3 -3
@@ -0,0 +1,352 @@
1
+ export declare type ChannelApplication = 'online-store' | 'pos' | 'wholesalebusiness' | 'kiosk';
2
+ export declare type ProductType = 'physical' | 'virtual';
3
+ export declare type WeightUnit = 'KILOGRAMS' | 'GRAMS' | 'POUNDS' | 'OUNCES';
4
+ export declare type DurationType = 'minutes' | 'hours' | 'days';
5
+ export declare type ResourceType = 'single' | 'multiple';
6
+ export declare type RelationType = 'form';
7
+ export declare type EventType = 'schedule_event';
8
+ export declare type MaxParticipantsType = 'custom-limit' | 'unlimited';
9
+ export interface TimeSlice {
10
+ label: string;
11
+ value: string;
12
+ }
13
+ export interface DurationSlice {
14
+ label: string;
15
+ value: number;
16
+ }
17
+ export interface MultiLanguageName {
18
+ en?: string;
19
+ 'zh-CN'?: string;
20
+ 'zh-HK'?: string;
21
+ original?: string;
22
+ 'ja'?: string;
23
+ 'pt'?: string;
24
+ auto?: string;
25
+ }
26
+ export interface MultiLanguageTitle {
27
+ label: {
28
+ type: 'i18n';
29
+ 'en-US': string;
30
+ 'zh-CN': string;
31
+ 'ja'?: string;
32
+ 'pt'?: string;
33
+ };
34
+ }
35
+ export interface SelectType {
36
+ type: 'single' | 'multiple';
37
+ min: number;
38
+ max: number;
39
+ }
40
+ export interface Duration {
41
+ type: DurationType;
42
+ value: number;
43
+ }
44
+ export interface CutOffTime {
45
+ unit: number;
46
+ unit_type: DurationType;
47
+ future_day: number;
48
+ type: 'advance';
49
+ ongoing: {
50
+ type: 'before_end';
51
+ unit: number;
52
+ };
53
+ }
54
+ export interface MachineCode {
55
+ make_over: number;
56
+ beforehand: number;
57
+ limit_count: number;
58
+ customer: number;
59
+ send_action: string;
60
+ hide_recharge: number;
61
+ distributor_automatic: number;
62
+ }
63
+ export interface Form {
64
+ id: number;
65
+ shop_id: number;
66
+ title: string;
67
+ navigation_display: number;
68
+ button: string;
69
+ describe: string;
70
+ status: 'published' | 'draft';
71
+ resource_sort: number;
72
+ code: string;
73
+ type: 'manual' | 'auto';
74
+ version: number;
75
+ setting: any;
76
+ created_at: string;
77
+ updated_at: string;
78
+ }
79
+ export interface PartyroomPackage {
80
+ type: 'product_all' | 'product_part';
81
+ }
82
+ export interface EventListItem {
83
+ id: number;
84
+ start_date?: string;
85
+ start_time?: string;
86
+ end_date?: string;
87
+ end_time?: string;
88
+ relation_id: number;
89
+ number?: number;
90
+ start_at?: string;
91
+ end_at?: string;
92
+ keys?: string;
93
+ pax: number;
94
+ type: EventType;
95
+ pax_list: Record<string, number>;
96
+ }
97
+ export interface TimeConfig {
98
+ keys: string;
99
+ schedule_id: number;
100
+ item_type: string;
101
+ item_id: number;
102
+ start_date: string;
103
+ end_date: string;
104
+ start_time: string;
105
+ end_time: string;
106
+ is_all: number;
107
+ relation_type: RelationType;
108
+ start_at: string;
109
+ end_at: string;
110
+ event_list: EventListItem[];
111
+ max_participants_type?: MaxParticipantsType;
112
+ max_participants_limit?: number;
113
+ is_blocked?: number;
114
+ blocked_times?: any[];
115
+ order_event_count?: number;
116
+ unique?: string;
117
+ _extend?: {
118
+ isMaxLimitRange: boolean;
119
+ isDateRange: boolean;
120
+ isCountRange: boolean;
121
+ isUsable: boolean;
122
+ };
123
+ }
124
+ export interface ResourceMetadata {
125
+ combined_resource: any;
126
+ }
127
+ export interface ResourceItem {
128
+ id: number;
129
+ main_field: string;
130
+ sort: number;
131
+ form_id: number;
132
+ times: TimeConfig[];
133
+ capacity: number;
134
+ combined_resource: any;
135
+ resource_form_id: string | number;
136
+ form_code: string;
137
+ resourceType: ResourceType;
138
+ children: any[];
139
+ metadata: ResourceMetadata;
140
+ form_tag?: any;
141
+ policy?: number;
142
+ partyroom_package?: PartyroomPackage;
143
+ status?: string;
144
+ description?: string;
145
+ media?: string;
146
+ subtitle?: string;
147
+ room_name?: string;
148
+ labelText?: string;
149
+ form_record_id?: number;
150
+ item_type?: string;
151
+ form_resource_sort?: number;
152
+ form_title?: string;
153
+ form?: Form;
154
+ _extend?: {
155
+ usableTime?: TimeConfig;
156
+ };
157
+ usable?: boolean;
158
+ label?: any;
159
+ }
160
+ export interface ResourceTypeInfo {
161
+ id: number;
162
+ title: string;
163
+ status: number;
164
+ code: string;
165
+ created_at: string;
166
+ updated_at: string | null;
167
+ type: ResourceType;
168
+ optional_resource: number[];
169
+ default_resource: any[];
170
+ select_type: SelectType;
171
+ resource_type_id: number;
172
+ renderList?: ResourceItem[];
173
+ form_id?: number;
174
+ renderListMaps?: Record<string, ResourceItem>;
175
+ }
176
+ export interface ProductResource {
177
+ resources: ResourceTypeInfo[];
178
+ }
179
+ export interface CapacityCustom {
180
+ name: MultiLanguageName;
181
+ min: number;
182
+ max: number;
183
+ id: string;
184
+ }
185
+ export interface CapacityPackage {
186
+ }
187
+ export interface Capacity {
188
+ type: 'product' | 'package';
189
+ custom: CapacityCustom[];
190
+ package: CapacityPackage[];
191
+ }
192
+ export interface ProductDisplaySetting {
193
+ kiosk: {
194
+ use_display_mode: number;
195
+ product_option_mode: any;
196
+ product_option_mode_paging: any;
197
+ product_bundle_mode: any;
198
+ product_bundle_mode_paging: any;
199
+ };
200
+ }
201
+ export interface ShelfProductData {
202
+ }
203
+ export interface Category {
204
+ id: number;
205
+ name: string;
206
+ icon: string;
207
+ slug: string;
208
+ sort: number;
209
+ }
210
+ export interface Collection {
211
+ id: number;
212
+ title: string;
213
+ cover: string;
214
+ }
215
+ export interface ExtendData {
216
+ duration: number;
217
+ start_time: string;
218
+ start_date: string;
219
+ quantity: number;
220
+ price: string;
221
+ product_name: string;
222
+ other: {
223
+ bundle: any[];
224
+ key: number;
225
+ option: any[];
226
+ product_id: number;
227
+ product_variant_id: number;
228
+ quantity: number;
229
+ rowKey: number;
230
+ session: any;
231
+ unique: string;
232
+ };
233
+ total: number;
234
+ origin_total: number;
235
+ startDate: string;
236
+ endDate: string;
237
+ capacity: Array<{
238
+ id: number;
239
+ value: number;
240
+ name: string;
241
+ }>;
242
+ resource: Record<string, Array<{
243
+ children: any[];
244
+ form_id: number;
245
+ relation_id: number;
246
+ like_status: string;
247
+ errors: any[];
248
+ metadata: {
249
+ form_name: string;
250
+ resource_name: string;
251
+ };
252
+ }>>;
253
+ note?: string;
254
+ }
255
+ export interface TimeObj {
256
+ timeSlices: TimeSlice[];
257
+ durationSlicesBasedOnTime: DurationSlice[];
258
+ }
259
+ export interface DataObj {
260
+ timeObj: TimeObj;
261
+ capacitys: Capacity;
262
+ resourcesOrigin: ResourceTypeInfo[];
263
+ resources: ResourceTypeInfo[];
264
+ resourceMaps: Record<string, ResourceTypeInfo>;
265
+ }
266
+ export interface DiscountItem {
267
+ amount: number;
268
+ type: 'discount_card' | 'discount_code' | 'discount_package';
269
+ discount: {
270
+ resource_id: number;
271
+ title: MultiLanguageTitle;
272
+ original_amount: number;
273
+ product_id: number;
274
+ percent: string;
275
+ };
276
+ num: number;
277
+ }
278
+ export interface ProductData {
279
+ id: number;
280
+ extension_id: number;
281
+ extension_type: string;
282
+ shop_id: number;
283
+ title: string;
284
+ slug: string;
285
+ status: 'published' | 'draft' | 'archived';
286
+ stock_quantity: number;
287
+ sales_quantity: number;
288
+ sum_stock: number;
289
+ price: string;
290
+ original_price: string;
291
+ cost_price: string;
292
+ cover: string;
293
+ channel_application: ChannelApplication[];
294
+ is_track: number;
295
+ over_sold: number;
296
+ is_gst: number;
297
+ code: string;
298
+ barcode: string;
299
+ is_delivery: number;
300
+ weight_unit: WeightUnit;
301
+ weight_value: string;
302
+ type: ProductType;
303
+ unit: string;
304
+ sort: number;
305
+ subtitle: string;
306
+ minimum_markup_price: string;
307
+ is_bundle: number;
308
+ bundle_group_count: number;
309
+ option_group_count: number;
310
+ is_variant: number;
311
+ variant_count: number;
312
+ cut_off_time: CutOffTime;
313
+ policy: number;
314
+ machine_code: MachineCode;
315
+ duration: Duration;
316
+ product_resource: ProductResource;
317
+ capacity: Capacity;
318
+ product_display_setting: ProductDisplaySetting;
319
+ shelf_product_datas: ShelfProductData[];
320
+ step_value: number;
321
+ min_num_unit: number;
322
+ schedules: any[];
323
+ is_charge_tax: number;
324
+ base_price: string;
325
+ variant: any[];
326
+ category: Category[];
327
+ collection: Collection[];
328
+ product_id: number;
329
+ _id: string;
330
+ _key: number;
331
+ _extend: ExtendData;
332
+ new: number;
333
+ currentDefaultTime: string;
334
+ _data: DataObj;
335
+ autoClose: boolean;
336
+ _serviceKey: string;
337
+ _holderKey: string;
338
+ discount_list: DiscountItem[];
339
+ }
340
+ export declare type SkuDetailModalData = ProductData;
341
+ export interface SkuDetailModalProps {
342
+ /** 确认回调 */
343
+ onConfirm?: (data: ProductData) => void;
344
+ /** 删除回调 */
345
+ onRemove?: (productData: ProductData) => void;
346
+ /** 关闭回调 */
347
+ onClose?: () => void;
348
+ }
349
+ export interface SkuDetailModalRef {
350
+ /** 打开弹窗 */
351
+ open: (data: ProductData) => void;
352
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @title: 获取包括今天的后七天日期
3
+ * @description:
4
+ * @param {*}
5
+ * @return {*}
6
+ * @Author: 严文强
7
+ * @Date: 2024-02-01 11:00
8
+ */
9
+ export declare const getNextSevenDaysList: (defaultDay: string) => string[];
10
+ /**
11
+ * @title: 将年月日信息只展示为天
12
+ * @description: 如果为今天 则返回ToDay
13
+ * @param {*}
14
+ * @return {*}
15
+ * @Author: 严文强
16
+ * @Date: 2024-02-01 11:00
17
+ */
18
+ export declare const ShowDayOnly: (date: string) => string;
19
+ /**
20
+ * @title: 日历星期多语言
21
+ * @description:
22
+ * @param {*}
23
+ * @return {*}
24
+ * @Author: 严文强
25
+ * @Date: 2024-02-01 18:42
26
+ */
27
+ export declare const weekListText: string[];
28
+ /**
29
+ * @title: 不同状态颜色值
30
+ * @description:
31
+ * @param {*}
32
+ * @return {*}
33
+ * @Author: xiangxiang.shao
34
+ * @Date: 2024-02-19 11:35
35
+ */
36
+ export declare const statusColor: {
37
+ call_to_book: string;
38
+ lots_of_space: string;
39
+ filling_up_fast: string;
40
+ sold_out: string;
41
+ };
42
+ /**
43
+ * @title: 根据预约量数据判断当前状态
44
+ * @description:
45
+ * @param {*}
46
+ * @return {*}
47
+ * @Author: xiangxiang.shao
48
+ * @Date: 2024-02-19 11:35
49
+ */
50
+ export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
51
+ status: string;
52
+ disabled: boolean;
53
+ };
54
+ /**
55
+ * @title: 根据当前日期以设定判断当前是否是call_to_book状态
56
+ * @description:
57
+ * @param {*}
58
+ * @return {*}
59
+ * @Author: xiangxiang.shao
60
+ * @Date: 2024-02-21 10:10
61
+ */
62
+ export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
63
+ export declare const localeTypes: any;