@pisell/private-materials 3.0.135 → 3.0.136

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 (30) 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/render/default/view.js +2 -2
  7. package/build/lowcode/view.js +2 -2
  8. package/es/components/booking/addons/model.d.ts +2 -1
  9. package/es/components/booking/components/footer/index.js +2 -1
  10. package/es/components/booking/forms/model.d.ts +2 -1
  11. package/es/components/booking/info/header/index.js +2 -1
  12. package/es/components/booking/info/service/addTimeModal/index.js +2 -1
  13. package/es/components/booking/notes/index.d.ts +1 -1
  14. package/es/components/booking/notes/model.d.ts +2 -1
  15. package/es/components/booking/payments/model.d.ts +2 -1
  16. package/es/components/eftposPay/device.d.ts +1 -1
  17. package/es/components/schedules/index.d.ts +1 -1
  18. package/es/components/schedules/model.d.ts +2 -1
  19. package/lib/components/booking/addons/model.d.ts +2 -1
  20. package/lib/components/booking/components/footer/index.js +2 -1
  21. package/lib/components/booking/forms/model.d.ts +2 -1
  22. package/lib/components/booking/info/header/index.js +2 -1
  23. package/lib/components/booking/info/service/addTimeModal/index.js +2 -1
  24. package/lib/components/booking/notes/index.d.ts +1 -1
  25. package/lib/components/booking/notes/model.d.ts +2 -1
  26. package/lib/components/booking/payments/model.d.ts +2 -1
  27. package/lib/components/eftposPay/device.d.ts +1 -1
  28. package/lib/components/schedules/index.d.ts +1 -1
  29. package/lib/components/schedules/model.d.ts +2 -1
  30. package/package.json +3 -3
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -237,7 +237,8 @@ var Footer = function Footer(props) {
237
237
  module: 'booking',
238
238
  key: 'booking_checkout',
239
239
  data: {
240
- order_id: order_id
240
+ order_id: order_id,
241
+ callbackType: "pisell2"
241
242
  }
242
243
  }));
243
244
  case 2:
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -228,7 +228,8 @@ var header = function header(_ref) {
228
228
  module: 'booking',
229
229
  key: 'booking_checkout',
230
230
  data: {
231
- order_id: state.bookingId
231
+ order_id: state.bookingId,
232
+ callbackType: "pisell2"
232
233
  }
233
234
  }));
234
235
  case 2:
@@ -461,7 +461,8 @@ var AddTimeModal = function AddTimeModal() {
461
461
  module: 'booking',
462
462
  key: 'booking_checkout',
463
463
  data: {
464
- order_id: state.bookingId
464
+ order_id: state.bookingId,
465
+ callbackType: "pisell2"
465
466
  }
466
467
  }));
467
468
  case 2:
@@ -4,5 +4,5 @@ export interface InfoProps {
4
4
  globalState: any;
5
5
  setGlobalState: any;
6
6
  }
7
- declare const Notes: (props: any) => JSX.Element;
7
+ declare const Notes: (props: any) => any;
8
8
  export default Notes;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -4,7 +4,7 @@ import './device.less';
4
4
  declare const _default: ({ api, onChange, onClose, className, device_number, isIpad, net, }: {
5
5
  api: PayProps['api'];
6
6
  className?: string | undefined;
7
- onChange?: ((status: "fail" | "success" | "page", params?: string | {
7
+ onChange?: ((status: "page" | "success" | "fail", params?: string | {
8
8
  [keys: string]: unknown;
9
9
  } | undefined) => void) | undefined;
10
10
  onClose: () => void;
@@ -1,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => JSX.Element;
2
+ declare const Schedules: (props: any) => any;
3
3
  export default Schedules;
@@ -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,7 +69,7 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
72
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
72
73
  state: FormState;
73
74
  } & {
74
75
  dispatch: (params: {
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -187,7 +187,8 @@ var Footer = (props) => {
187
187
  module: "booking",
188
188
  key: "booking_checkout",
189
189
  data: {
190
- order_id
190
+ order_id,
191
+ callbackType: "pisell2"
191
192
  }
192
193
  });
193
194
  }
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -138,7 +138,8 @@ var header = ({ state, dispatch }) => {
138
138
  module: "booking",
139
139
  key: "booking_checkout",
140
140
  data: {
141
- order_id: state.bookingId
141
+ order_id: state.bookingId,
142
+ callbackType: "pisell2"
142
143
  }
143
144
  });
144
145
  }
@@ -362,7 +362,8 @@ var AddTimeModal = () => {
362
362
  module: "booking",
363
363
  key: "booking_checkout",
364
364
  data: {
365
- order_id: state.bookingId
365
+ order_id: state.bookingId,
366
+ callbackType: "pisell2"
366
367
  }
367
368
  });
368
369
  }
@@ -4,5 +4,5 @@ export interface InfoProps {
4
4
  globalState: any;
5
5
  setGlobalState: any;
6
6
  }
7
- declare const Notes: (props: any) => JSX.Element;
7
+ declare const Notes: (props: any) => any;
8
8
  export default Notes;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from "../model";
2
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
3
4
  state: FormState;
4
5
  } & {
5
6
  dispatch: (params: {
@@ -4,7 +4,7 @@ import './device.less';
4
4
  declare const _default: ({ api, onChange, onClose, className, device_number, isIpad, net, }: {
5
5
  api: PayProps['api'];
6
6
  className?: string | undefined;
7
- onChange?: ((status: "fail" | "success" | "page", params?: string | {
7
+ onChange?: ((status: "page" | "success" | "fail", params?: string | {
8
8
  [keys: string]: unknown;
9
9
  } | undefined) => void) | undefined;
10
10
  onClose: () => void;
@@ -1,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => JSX.Element;
2
+ declare const Schedules: (props: any) => any;
3
3
  export default Schedules;
@@ -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,7 +69,7 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
72
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
72
73
  state: FormState;
73
74
  } & {
74
75
  dispatch: (params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.0.135",
3
+ "version": "3.0.136",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,9 +59,9 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/utils": "1.0.42",
63
- "@pisell/materials": "3.0.47",
64
62
  "@pisell/icon": "0.0.11",
63
+ "@pisell/materials": "3.0.47",
64
+ "@pisell/utils": "1.0.42",
65
65
  "@pisell/date-picker": "1.0.100"
66
66
  },
67
67
  "peerDependencies": {