@pisell/private-materials 3.3.98 → 3.3.100

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 (197) 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/businessModel/SalesModel/index.d.ts +0 -1
  8. package/es/components/Sales/Cart/index.d.ts +53 -0
  9. package/es/components/Sales/Cart/utils.d.ts +63 -0
  10. package/es/components/Sales/Checkout/index.d.ts +37 -0
  11. package/es/components/Sales/Checkout/serve.d.ts +15 -0
  12. package/es/components/Sales/Checkout/utils.d.ts +35 -0
  13. package/es/components/Sales/Summary/index.d.ts +35 -0
  14. package/es/components/Sales/Summary/serve.d.ts +1 -0
  15. package/es/components/Sales/Summary/utils.d.ts +51 -0
  16. package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
  18. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  19. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  20. package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
  21. package/es/components/appointmentBooking/index.d.ts +3 -0
  22. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  23. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  24. package/es/components/booking/components/voucher/index.d.ts +3 -0
  25. package/es/components/booking/forms/table/index.d.ts +0 -1
  26. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  27. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  28. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  29. package/es/components/booking/info/hooks/useInfoHolder.js +8 -1
  30. package/es/components/booking/info/service/Lists.d.ts +0 -1
  31. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  32. package/es/components/booking/info/service/like/index.d.ts +0 -1
  33. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  34. package/es/components/booking/info/service2/utils.d.ts +1 -1
  35. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  36. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  37. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  38. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  39. package/es/components/eftpos/form/index.d.ts +0 -1
  40. package/es/components/eftpos/group/index.d.ts +0 -1
  41. package/es/components/eftpos/hooks.d.ts +0 -1
  42. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  43. package/es/components/eftpos/icon/device.d.ts +0 -1
  44. package/es/components/eftpos/receipt/index.d.ts +0 -1
  45. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  46. package/es/components/eftposPay/amount.d.ts +1 -1
  47. package/es/components/eftposPay/app.d.ts +0 -1
  48. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  49. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  50. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  51. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  52. package/es/components/eftposPay/const.d.ts +184 -0
  53. package/es/components/eftposPay/device.d.ts +1 -1
  54. package/es/components/eftposPay/hooks.d.ts +35 -0
  55. package/es/components/eftposPay/index.d.ts +4 -0
  56. package/es/components/eftposPay/linkly/const.d.ts +23 -0
  57. package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  58. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  59. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  60. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  61. package/es/components/eftposPay/linkly/service.d.ts +32 -0
  62. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  63. package/es/components/eftposPay/pay.d.ts +20 -0
  64. package/es/components/eftposPay/store/index.d.ts +355 -0
  65. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  66. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
  67. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  68. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
  69. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
  70. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  71. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  72. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  73. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
  75. package/es/components/eventBooking/locales.d.ts +246 -0
  76. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  77. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  78. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  79. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  80. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  81. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  82. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  83. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  84. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  85. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  86. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  87. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  88. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  89. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  90. package/es/components/schedules/products/index.d.ts +0 -1
  91. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  92. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  93. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  94. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  95. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  96. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  97. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  98. package/es/components/ticketBooking/locales.d.ts +171 -0
  99. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  100. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  101. package/es/utils/index.d.ts +23 -0
  102. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  103. package/lib/components/Sales/Cart/index.d.ts +53 -0
  104. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  105. package/lib/components/Sales/Checkout/index.d.ts +37 -0
  106. package/lib/components/Sales/Checkout/serve.d.ts +15 -0
  107. package/lib/components/Sales/Checkout/utils.d.ts +35 -0
  108. package/lib/components/Sales/Summary/index.d.ts +35 -0
  109. package/lib/components/Sales/Summary/serve.d.ts +1 -0
  110. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  111. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  112. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
  113. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  114. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  115. package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
  116. package/lib/components/appointmentBooking/index.d.ts +3 -0
  117. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  118. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  119. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  120. package/lib/components/booking/forms/table/index.d.ts +0 -1
  121. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  122. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  123. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  124. package/lib/components/booking/info/hooks/useInfoHolder.js +6 -1
  125. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  126. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  127. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  128. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  129. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  130. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  131. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  132. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  133. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  134. package/lib/components/eftpos/form/index.d.ts +0 -1
  135. package/lib/components/eftpos/group/index.d.ts +0 -1
  136. package/lib/components/eftpos/hooks.d.ts +0 -1
  137. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  138. package/lib/components/eftpos/icon/device.d.ts +0 -1
  139. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  140. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  141. package/lib/components/eftposPay/amount.d.ts +1 -1
  142. package/lib/components/eftposPay/app.d.ts +0 -1
  143. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  144. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  145. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  146. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  147. package/lib/components/eftposPay/const.d.ts +184 -0
  148. package/lib/components/eftposPay/device.d.ts +1 -1
  149. package/lib/components/eftposPay/hooks.d.ts +35 -0
  150. package/lib/components/eftposPay/index.d.ts +4 -0
  151. package/lib/components/eftposPay/linkly/const.d.ts +23 -0
  152. package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  153. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  154. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  155. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  156. package/lib/components/eftposPay/linkly/service.d.ts +32 -0
  157. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  158. package/lib/components/eftposPay/pay.d.ts +20 -0
  159. package/lib/components/eftposPay/store/index.d.ts +355 -0
  160. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  161. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
  162. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  163. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
  164. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
  165. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  166. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  167. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  168. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  169. package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
  170. package/lib/components/eventBooking/locales.d.ts +246 -0
  171. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  172. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  173. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  174. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  175. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  176. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  177. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  178. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  179. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  180. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  181. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  182. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  183. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  184. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  185. package/lib/components/schedules/products/index.d.ts +0 -1
  186. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  187. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  188. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  189. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  190. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  191. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  192. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  193. package/lib/components/ticketBooking/locales.d.ts +171 -0
  194. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  195. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  196. package/lib/utils/index.d.ts +23 -0
  197. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PaymentRequestForm: () => JSX.Element | null;
3
2
  export default PaymentRequestForm;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface PaymentMethodsRef {
3
+ onPay: (props: any) => void;
4
+ }
5
+ interface PaymentMethodsProps {
6
+ payCallback: (props: any) => void;
7
+ }
8
+ declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
9
+ export default _default;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -0,0 +1,9 @@
1
+ import './index.less';
2
+ interface AddServiceProps {
3
+ onEdit?: any;
4
+ dispatch?: any;
5
+ state?: any;
6
+ renderMode?: 'current' | 'drawer';
7
+ }
8
+ declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
9
+ export default AddSerivce;
@@ -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;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ export declare const _formatBookingDetail: (data: any, modalState: any) => any;
3
+ declare const TicketBooking: () => JSX.Element;
4
+ export default TicketBooking;
@@ -0,0 +1,171 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.forms': string;
6
+ 'pisell2.ticket-booking.sales': string;
7
+ 'pisell2.ticket-booking.payment': string;
8
+ 'pisell2.ticket-booking.unsaved-changes': string;
9
+ 'pisell2.ticket-booking.exit-confirm': string;
10
+ 'pisell2.ticket-booking.go-back': string;
11
+ 'pisell2.ticket-booking.exit': string;
12
+ 'pisell2.ticket-booking.deposit': string;
13
+ 'pisell2.ticket-booking.copy-success': string;
14
+ 'pisell2.ticket-booking.no-data': string;
15
+ 'pisell2.ticket-booking.authorized': string;
16
+ 'pisell2.ticket-booking.paid': string;
17
+ 'pisell2.ticket-booking.partially-paid': string;
18
+ 'pisell2.ticket-booking.partially-refunded': string;
19
+ 'pisell2.ticket-booking.payment-pending': string;
20
+ 'pisell2.ticket-booking.refunded': string;
21
+ 'pisell2.ticket-booking.unpaid': string;
22
+ 'pisell2.ticket-booking.voided': string;
23
+ 'pisell2.ticket-booking.pending': string;
24
+ 'pisell2.ticket-booking.all': string;
25
+ 'pisell2.ticket-booking.not-started': string;
26
+ 'pisell2.ticket-booking.started': string;
27
+ 'pisell2.ticket-booking.finished': string;
28
+ 'pisell2.ticket-booking.canceled': string;
29
+ 'pisell2.ticket-booking.inform': string;
30
+ 'pisell2.ticket-booking.check-management': string;
31
+ 'pisell2.ticket-booking.confirm': string;
32
+ 'pisell2.ticket-booking.dashboard': string;
33
+ 'pisell2.ticket-booking.booking-list': string;
34
+ 'pisell2.ticket-booking.full-data': string;
35
+ 'pisell2.ticket-booking.today': string;
36
+ 'pisell2.ticket-booking.now': string;
37
+ 'pisell2.ticket-booking.start-time': string;
38
+ 'pisell2.ticket-booking.create-time': string;
39
+ 'pisell2.ticket-booking.customer': string;
40
+ 'pisell2.ticket-booking.total': string;
41
+ 'pisell2.ticket-booking.search': string;
42
+ 'pisell2.ticket-booking.refresh-success': string;
43
+ 'pisell2.ticket-booking.loading': string;
44
+ 'pisell2.ticket-booking.appointment-not-found': string;
45
+ 'pisell2.ticket-booking.scan': string;
46
+ 'pisell2.ticket-booking.create-new': string;
47
+ 'pisell2.ticket-booking.add-to-cart': string;
48
+ 'pisell2.ticket-booking.not-available-title': string;
49
+ 'pisell2.ticket-booking.not-available-ok': string;
50
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
51
+ 'pisell2.product.card.cart-items': (number: number) => string;
52
+ 'pisell2.product.card.subtotal': string;
53
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
54
+ 'pisell2.product.card.day': (val: number) => string;
55
+ 'pisell2.product.card.day.event': (val: number) => string;
56
+ 'pisell2.product.card.minute': (val: number) => string;
57
+ };
58
+ 'zh-CN': {
59
+ 'pisell2.ticket-booking.info': string;
60
+ 'pisell2.ticket-booking.notes': string;
61
+ 'pisell2.ticket-booking.forms': string;
62
+ 'pisell2.ticket-booking.sales': string;
63
+ 'pisell2.ticket-booking.payment': string;
64
+ 'pisell2.ticket-booking.unsaved-changes': string;
65
+ 'pisell2.ticket-booking.exit-confirm': string;
66
+ 'pisell2.ticket-booking.go-back': string;
67
+ 'pisell2.ticket-booking.exit': string;
68
+ 'pisell2.ticket-booking.deposit': string;
69
+ 'pisell2.ticket-booking.copy-success': string;
70
+ 'pisell2.ticket-booking.no-data': string;
71
+ 'pisell2.ticket-booking.authorized': string;
72
+ 'pisell2.ticket-booking.paid': string;
73
+ 'pisell2.ticket-booking.partially-paid': string;
74
+ 'pisell2.ticket-booking.partially-refunded': string;
75
+ 'pisell2.ticket-booking.payment-pending': string;
76
+ 'pisell2.ticket-booking.refunded': string;
77
+ 'pisell2.ticket-booking.unpaid': string;
78
+ 'pisell2.ticket-booking.voided': string;
79
+ 'pisell2.ticket-booking.pending': string;
80
+ 'pisell2.ticket-booking.all': string;
81
+ 'pisell2.ticket-booking.not-started': string;
82
+ 'pisell2.ticket-booking.started': string;
83
+ 'pisell2.ticket-booking.finished': string;
84
+ 'pisell2.ticket-booking.canceled': string;
85
+ 'pisell2.ticket-booking.inform': string;
86
+ 'pisell2.ticket-booking.check-management': string;
87
+ 'pisell2.ticket-booking.confirm': string;
88
+ 'pisell2.ticket-booking.dashboard': string;
89
+ 'pisell2.ticket-booking.booking-list': string;
90
+ 'pisell2.ticket-booking.full-data': string;
91
+ 'pisell2.ticket-booking.today': string;
92
+ 'pisell2.ticket-booking.now': string;
93
+ 'pisell2.ticket-booking.start-time': string;
94
+ 'pisell2.ticket-booking.create-time': string;
95
+ 'pisell2.ticket-booking.customer': string;
96
+ 'pisell2.ticket-booking.total': string;
97
+ 'pisell2.ticket-booking.search': string;
98
+ 'pisell2.ticket-booking.refresh-success': string;
99
+ 'pisell2.ticket-booking.loading': string;
100
+ 'pisell2.ticket-booking.appointment-not-found': string;
101
+ 'pisell2.ticket-booking.scan': string;
102
+ 'pisell2.ticket-booking.create-new': string;
103
+ 'pisell2.ticket-booking.add-to-cart': string;
104
+ 'pisell2.ticket-booking.not-available-title': string;
105
+ 'pisell2.ticket-booking.not-available-ok': string;
106
+ 'pisell2.product.card.cart-items': (number: number) => string;
107
+ 'pisell2.product.card.subtotal': string;
108
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
109
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
110
+ 'pisell2.product.card.day': (val: number) => string;
111
+ 'pisell2.product.card.day.event': (val: number) => string;
112
+ 'pisell2.product.card.minute': (val: number) => string;
113
+ };
114
+ 'zh-HK': {
115
+ 'pisell2.ticket-booking.info': string;
116
+ 'pisell2.ticket-booking.notes': string;
117
+ 'pisell2.ticket-booking.forms': string;
118
+ 'pisell2.ticket-booking.sales': string;
119
+ 'pisell2.ticket-booking.payment': string;
120
+ 'pisell2.ticket-booking.unsaved-changes': string;
121
+ 'pisell2.ticket-booking.exit-confirm': string;
122
+ 'pisell2.ticket-booking.go-back': string;
123
+ 'pisell2.ticket-booking.exit': string;
124
+ 'pisell2.ticket-booking.deposit': string;
125
+ 'pisell2.ticket-booking.copy-success': string;
126
+ 'pisell2.ticket-booking.no-data': string;
127
+ 'pisell2.ticket-booking.authorized': string;
128
+ 'pisell2.ticket-booking.paid': string;
129
+ 'pisell2.ticket-booking.partially-paid': string;
130
+ 'pisell2.ticket-booking.partially-refunded': string;
131
+ 'pisell2.ticket-booking.payment-pending': string;
132
+ 'pisell2.ticket-booking.refunded': string;
133
+ 'pisell2.ticket-booking.unpaid': string;
134
+ 'pisell2.ticket-booking.voided': string;
135
+ 'pisell2.ticket-booking.pending': string;
136
+ 'pisell2.ticket-booking.all': string;
137
+ 'pisell2.ticket-booking.not-started': string;
138
+ 'pisell2.ticket-booking.started': string;
139
+ 'pisell2.ticket-booking.finished': string;
140
+ 'pisell2.ticket-booking.canceled': string;
141
+ 'pisell2.ticket-booking.inform': string;
142
+ 'pisell2.ticket-booking.check-management': string;
143
+ 'pisell2.ticket-booking.confirm': string;
144
+ 'pisell2.ticket-booking.dashboard': string;
145
+ 'pisell2.ticket-booking.booking-list': string;
146
+ 'pisell2.ticket-booking.full-data': string;
147
+ 'pisell2.ticket-booking.today': string;
148
+ 'pisell2.ticket-booking.now': string;
149
+ 'pisell2.ticket-booking.start-time': string;
150
+ 'pisell2.ticket-booking.create-time': string;
151
+ 'pisell2.ticket-booking.customer': string;
152
+ 'pisell2.ticket-booking.total': string;
153
+ 'pisell2.ticket-booking.search': string;
154
+ 'pisell2.ticket-booking.refresh-success': string;
155
+ 'pisell2.ticket-booking.loading': string;
156
+ 'pisell2.ticket-booking.appointment-not-found': string;
157
+ 'pisell2.ticket-booking.scan': string;
158
+ 'pisell2.ticket-booking.create-new': string;
159
+ 'pisell2.ticket-booking.add-to-cart': string;
160
+ 'pisell2.ticket-booking.not-available-title': string;
161
+ 'pisell2.ticket-booking.not-available-ok': string;
162
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
163
+ 'pisell2.product.card.cart-items': (number: number) => string;
164
+ 'pisell2.product.card.subtotal': string;
165
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
166
+ 'pisell2.product.card.day': (val: number) => string;
167
+ 'pisell2.product.card.day.event': (val: number) => string;
168
+ 'pisell2.product.card.minute': (val: number) => string;
169
+ };
170
+ };
171
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const formatProductMessage: (product: any, utils: any) => string;
2
+ export default formatProductMessage;
@@ -0,0 +1,31 @@
1
+ import 'dayjs/locale/zh-cn';
2
+ import 'dayjs/locale/en';
3
+ import 'dayjs/locale/zh-tw';
4
+ /**
5
+ * @title: 是否英文
6
+ * @description:
7
+ * @param {any} item
8
+ * @return {*}
9
+ * @Author: WangHan
10
+ * @Date: 2024-12-28 22:49
11
+ */
12
+ export declare const isEn: (item: any) => boolean;
13
+ /**
14
+ * @title: 跨日预约时间
15
+ * @description:
16
+ * @param {any} item
17
+ * @return {*}
18
+ * @Author: WangHan
19
+ * @Date: 2024-12-28 22:50
20
+ */
21
+ export declare const formatMultiDayDate: (item: any) => string;
22
+ /**
23
+ * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
24
+ * @description:
25
+ * @param {any} item
26
+ * @param {any} currentDate
27
+ * @return {*}
28
+ * @Author: zhiwei.Wang
29
+ * @Date: 2024-04-26 14:04
30
+ */
31
+ export declare const getServiceTime: (item: any, currentDate: any, utils: any) => string;
@@ -0,0 +1,23 @@
1
+ import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
2
+ declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
3
+ declare class Request {
4
+ private request;
5
+ constructor();
6
+ setRequest(val: any): void;
7
+ withCustomToast(config?: any): any;
8
+ getRequest(): {
9
+ get: (url: string, params: any, config?: any) => Promise<any>;
10
+ post: (url: string, params: any, config?: any) => Promise<any>;
11
+ put: RType;
12
+ remove: RType;
13
+ custom: RType;
14
+ };
15
+ }
16
+ export declare const request: Request;
17
+ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
+ export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
+ export declare const saveConfirm: () => Promise<{
20
+ destroy: () => void;
21
+ update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
22
+ }>;
23
+ export { modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.3.98",
3
+ "version": "3.3.100",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",