@pisell/private-materials 3.2.1 → 3.2.3

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 (262) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +3 -3
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/booking/addons/model.d.ts +10 -1
  12. package/es/components/booking/addons/model.js +5 -5
  13. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  14. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  16. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  17. package/es/components/booking/components/browserSelect/index.js +1 -1
  18. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  19. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  20. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  21. package/es/components/booking/deposit/index.d.ts +1 -0
  22. package/es/components/booking/forms/model.d.ts +10 -1
  23. package/es/components/booking/forms/model.js +5 -5
  24. package/es/components/booking/forms/single/index.d.ts +1 -0
  25. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  26. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  27. package/es/components/booking/info/date/index.d.ts +1 -0
  28. package/es/components/booking/info/header/index.d.ts +1 -0
  29. package/es/components/booking/info/model.d.ts +10 -1
  30. package/es/components/booking/info/notes/index.d.ts +1 -0
  31. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  32. package/es/components/booking/info/service/like/index.js +1 -1
  33. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  34. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  35. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  36. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  37. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  38. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  39. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  40. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  41. package/es/components/booking/materiels/contacts/index.js +5 -5
  42. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  43. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  44. package/es/components/booking/materiels/startTime/index.js +1 -1
  45. package/es/components/booking/model.d.ts +9 -1
  46. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  47. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  48. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  49. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  50. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  51. package/es/components/booking/notes/addNote/index.js +1 -1
  52. package/es/components/booking/notes/model.d.ts +10 -1
  53. package/es/components/booking/notes/model.js +5 -5
  54. package/es/components/booking/payments/model.d.ts +10 -1
  55. package/es/components/booking/payments/model.js +5 -5
  56. package/es/components/booking/utils.d.ts +2 -2
  57. package/es/components/eftpos/index.d.ts +1 -0
  58. package/es/components/eftpos/pos.d.ts +1 -0
  59. package/es/components/eftposPay/amount.d.ts +2 -1
  60. package/es/components/eftposPay/app.d.ts +1 -0
  61. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  62. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  63. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  64. package/es/components/eftposPay/device.d.ts +2 -1
  65. package/es/components/eftposPay/hooks.d.ts +1 -1
  66. package/es/components/eftposPay/payo/config.d.ts +1 -0
  67. package/es/components/eftposPay/store/index.d.ts +4 -4
  68. package/es/components/eftposPay/tip.d.ts +1 -0
  69. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  70. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  71. package/es/components/listComponent/index.js +5 -5
  72. package/es/components/login/index.js +1 -1
  73. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  74. package/es/components/pay/toC/model.d.ts +9 -1
  75. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  76. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  77. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  78. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  79. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  80. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  81. package/es/components/productExtension/card/index.js +3 -3
  82. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  83. package/es/components/productExtension/fields/Forms/index.js +12 -12
  84. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  85. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  86. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  87. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  88. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  89. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  90. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  91. package/es/components/productExtension/index.d.ts +1 -0
  92. package/es/components/productExtension/index.js +7 -7
  93. package/es/components/productExtension/server.js +2 -2
  94. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  95. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  96. package/es/components/schedules/calendar/index.d.ts +1 -0
  97. package/es/components/schedules/calendar/index.js +4 -4
  98. package/es/components/schedules/calendar/serve.js +2 -2
  99. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  100. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  101. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  102. package/es/components/schedules/components/ResourceList/index.js +1 -1
  103. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  104. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  105. package/es/components/schedules/components/Search/index.js +5 -5
  106. package/es/components/schedules/index.js +10 -10
  107. package/es/components/schedules/model.d.ts +9 -1
  108. package/es/components/schedules/model.js +5 -5
  109. package/es/components/schedules/openHours/index.js +1 -1
  110. package/es/components/schedules/openHours/serve.js +2 -2
  111. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  112. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  113. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  114. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  115. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  117. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  118. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  119. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  120. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  121. package/es/components/schedules/products/list/index.d.ts +1 -0
  122. package/es/components/schedules/products/serve.js +2 -2
  123. package/es/components/schedules/products/utils.js +5 -5
  124. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  125. package/es/components/schedules/resources/detail/index.js +10 -10
  126. package/es/components/schedules/resources/index.d.ts +1 -0
  127. package/es/components/schedules/resources/list/index.d.ts +1 -0
  128. package/es/components/schedules/resources/list/index.js +2 -2
  129. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  130. package/es/components/schedules/resources/serve.js +2 -2
  131. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  132. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  133. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  134. package/es/components/schedules/schedules/index.d.ts +1 -0
  135. package/es/components/schedules/utils.js +4 -4
  136. package/es/components/selectModal/index.js +2 -2
  137. package/es/components/taxSelect/index.d.ts +1 -0
  138. package/es/components/wallet/Detail/index.js +69 -63
  139. package/es/components/wallet/Detail/index.less +1 -1
  140. package/es/components/wallet/Detail/locales.d.ts +6 -0
  141. package/es/components/wallet/Detail/locales.js +6 -0
  142. package/es/components/wallet/Detail/model.d.ts +13 -1
  143. package/es/components/wallet/DiscountCard/index.js +0 -7
  144. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  145. package/es/components/wallet/PointCard/index.js +1 -3
  146. package/es/components/wallet/PointCard/model.d.ts +13 -1
  147. package/es/components/wallet/RechargeableCard/index.js +0 -1
  148. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  149. package/es/components/wallet/Voucher/index.js +36 -3
  150. package/es/components/wallet/Voucher/model.d.ts +13 -1
  151. package/es/components/wallet/components/FooterButtons/index.js +1 -1
  152. package/es/components/wallet/components/WalletCard.js +0 -1
  153. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  154. package/es/components/wallet/index.js +2 -3
  155. package/es/components/wallet/locales.js +1 -1
  156. package/es/components/wallet/model.d.ts +9 -1
  157. package/es/components/walletList/index.js +2 -4
  158. package/es/components/walletList/index.less +1 -2
  159. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  160. package/es/hooks/useComponents.js +1 -1
  161. package/lib/components/booking/addons/model.d.ts +10 -1
  162. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  163. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  164. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  165. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  166. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  167. package/lib/components/booking/deposit/index.d.ts +1 -0
  168. package/lib/components/booking/forms/model.d.ts +10 -1
  169. package/lib/components/booking/forms/single/index.d.ts +1 -0
  170. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  171. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  172. package/lib/components/booking/info/date/index.d.ts +1 -0
  173. package/lib/components/booking/info/header/index.d.ts +1 -0
  174. package/lib/components/booking/info/model.d.ts +10 -1
  175. package/lib/components/booking/info/notes/index.d.ts +1 -0
  176. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  177. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  178. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  179. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  180. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  181. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  182. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  183. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  184. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  185. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  186. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  187. package/lib/components/booking/model.d.ts +9 -1
  188. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  189. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  190. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  191. package/lib/components/booking/notes/model.d.ts +10 -1
  192. package/lib/components/booking/payments/model.d.ts +10 -1
  193. package/lib/components/booking/utils.d.ts +2 -2
  194. package/lib/components/eftpos/index.d.ts +1 -0
  195. package/lib/components/eftpos/pos.d.ts +1 -0
  196. package/lib/components/eftposPay/amount.d.ts +2 -1
  197. package/lib/components/eftposPay/app.d.ts +1 -0
  198. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  199. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  200. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  201. package/lib/components/eftposPay/device.d.ts +2 -1
  202. package/lib/components/eftposPay/hooks.d.ts +1 -1
  203. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  204. package/lib/components/eftposPay/store/index.d.ts +4 -4
  205. package/lib/components/eftposPay/tip.d.ts +1 -0
  206. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  207. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  208. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  209. package/lib/components/pay/toC/model.d.ts +9 -1
  210. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  211. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  212. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  213. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  214. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  215. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  216. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  217. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  218. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  219. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  220. package/lib/components/productExtension/index.d.ts +1 -0
  221. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  222. package/lib/components/schedules/calendar/index.d.ts +1 -0
  223. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  224. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  225. package/lib/components/schedules/index.js +1 -2
  226. package/lib/components/schedules/model.d.ts +9 -1
  227. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  228. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  229. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  230. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  231. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  232. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  233. package/lib/components/schedules/products/list/index.d.ts +1 -0
  234. package/lib/components/schedules/resources/index.d.ts +1 -0
  235. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  236. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  237. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  238. package/lib/components/schedules/schedules/index.d.ts +1 -0
  239. package/lib/components/schedules/utils.js +1 -1
  240. package/lib/components/taxSelect/index.d.ts +1 -0
  241. package/lib/components/wallet/Detail/index.js +54 -52
  242. package/lib/components/wallet/Detail/index.less +1 -1
  243. package/lib/components/wallet/Detail/locales.d.ts +6 -0
  244. package/lib/components/wallet/Detail/locales.js +6 -0
  245. package/lib/components/wallet/Detail/model.d.ts +13 -1
  246. package/lib/components/wallet/DiscountCard/index.js +0 -5
  247. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  248. package/lib/components/wallet/PointCard/index.js +0 -2
  249. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  250. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  251. package/lib/components/wallet/Voucher/index.js +26 -1
  252. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  253. package/lib/components/wallet/components/FooterButtons/index.js +2 -1
  254. package/lib/components/wallet/components/WalletCard.js +0 -1
  255. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  256. package/lib/components/wallet/index.js +2 -3
  257. package/lib/components/wallet/locales.js +1 -1
  258. package/lib/components/wallet/model.d.ts +9 -1
  259. package/lib/components/walletList/index.js +2 -3
  260. package/lib/components/walletList/index.less +1 -2
  261. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  262. package/package.json +4 -4
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -100,4 +101,11 @@ export declare const walkInData: {
100
101
  id: number;
101
102
  nickname: string;
102
103
  };
103
- export declare const Provider: any, Context: any;
104
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
105
+ state: FormState;
106
+ } & {
107
+ dispatch: (params: {
108
+ type: string;
109
+ payload: any;
110
+ }) => void;
111
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  isEdit: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -153,10 +153,10 @@ export declare const getProductTotalPrice: (item: any) => number;
153
153
  export declare const getDuration: (duration: number | {
154
154
  type: string;
155
155
  value: number;
156
- }) => number | "flexible" | {
156
+ }) => number | {
157
157
  type: string;
158
158
  value: number;
159
- };
159
+ } | "flexible";
160
160
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
161
161
  export declare const getIsEdit: (state: any) => boolean;
162
162
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos, DeviceStatus } from './const';
2
3
  import './index.less';
3
4
  interface PosProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DeviceProp } from "./const";
2
3
  interface PosProps {
3
4
  eftposName: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -8,7 +9,7 @@ import { PosProps } from './const';
8
9
  */
9
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
11
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
13
  [keys: string]: unknown;
13
14
  } | undefined, other?: any) => void) | undefined;
14
15
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 取消签名确认页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps, PosProps } from './const';
2
3
  import './device.less';
3
4
  /**
@@ -10,7 +11,7 @@ import './device.less';
10
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
12
  api: PayProps['api'];
12
13
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
15
  [keys: string]: unknown;
15
16
  } | undefined, other?: any) => void) | undefined;
16
17
  onClose: () => void;
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe">;
22
+ readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "payo" | "stripe">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -295,15 +295,15 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
298
+ mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
300
+ eftpos?: "tyro" | "windcave" | "payo" | "stripe" | undefined;
301
+ action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "step" | "unset" | undefined;
306
+ type?: "unset" | "step" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './tip.less';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 按钮操作区
3
4
  * @description: 仅包含签名
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -24,4 +25,11 @@ export interface PayGroup {
24
25
  pay_number?: string;
25
26
  _order: any;
26
27
  }
27
- export declare const Provider: any, Context: any;
28
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
29
+ state: FormState;
30
+ } & {
31
+ dispatch: (params: {
32
+ type: string;
33
+ payload: any;
34
+ }) => void;
35
+ }>;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface CustomerListProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PopoverProps } from 'antd';
2
3
  import { CustomerCardProps } from './CustomerCard';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItemPreview;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -78,8 +78,7 @@ var Schedules = (0, import_model.Provider)((props) => {
78
78
  var _a;
79
79
  if (tabKey === "openHours" && ((_a = openHoursRef.current) == null ? void 0 : _a.getIsEdit())) {
80
80
  const confirm = await (0, import_utils.saveConfirm)();
81
- if (!confirm)
82
- return;
81
+ if (!confirm) return;
83
82
  setForceUpdateOpenHours((p) => p + 1);
84
83
  }
85
84
  setState({
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
3
4
  export default AddSchedules;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Value = number[];
3
4
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ProductListProps {
3
4
  loading: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: () => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ResourcesListProps = {
3
4
  list: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from '../../type';
2
3
  import './index.less';
3
4
  declare type AllSchedulesPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from "antd";
2
3
  import { ScheduleItem } from "../../type";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SchedulesConnect: () => JSX.Element;
2
3
  export default SchedulesConnect;
@@ -27,8 +27,8 @@ __export(utils_exports, {
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var import_utils = require("@pisell/utils");
29
29
  var Request = class {
30
+ request = {};
30
31
  constructor() {
31
- this.request = {};
32
32
  }
33
33
  setRequest(val) {
34
34
  this.request = val;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  import "./index.less";
3
4
  interface TaxSelectProps {