@pisell/private-materials 6.4.14 → 6.4.16

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 (59) 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 +150 -150
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/Sales/Summary/utils.d.ts +1 -1
  10. package/es/components/booking/addons/model.d.ts +1 -10
  11. package/es/components/booking/forms/model.d.ts +1 -10
  12. package/es/components/booking/info/model.d.ts +1 -10
  13. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  14. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  15. package/es/components/booking/model.d.ts +1 -9
  16. package/es/components/booking/notes/model.d.ts +1 -10
  17. package/es/components/booking/payments/model.d.ts +1 -10
  18. package/es/components/booking/utils.d.ts +2 -2
  19. package/es/components/checkout/PaymentModal.js +11 -4
  20. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  21. package/es/components/eftposPay/hooks.d.ts +1 -1
  22. package/es/components/eftposPay/store/index.d.ts +4 -4
  23. package/es/components/pay/toC/model.d.ts +1 -9
  24. package/es/components/schedules/model.d.ts +1 -9
  25. package/es/components/schedules/utils.d.ts +1 -1
  26. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  27. package/es/components/wallet/Detail/model.d.ts +1 -13
  28. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  29. package/es/components/wallet/PointCard/model.d.ts +1 -13
  30. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  31. package/es/components/wallet/Voucher/model.d.ts +1 -13
  32. package/es/components/wallet/model.d.ts +1 -9
  33. package/es/utils/index.d.ts +1 -1
  34. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  35. package/lib/components/booking/addons/model.d.ts +1 -10
  36. package/lib/components/booking/forms/model.d.ts +1 -10
  37. package/lib/components/booking/info/model.d.ts +1 -10
  38. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  39. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  40. package/lib/components/booking/model.d.ts +1 -9
  41. package/lib/components/booking/notes/model.d.ts +1 -10
  42. package/lib/components/booking/payments/model.d.ts +1 -10
  43. package/lib/components/booking/utils.d.ts +2 -2
  44. package/lib/components/checkout/PaymentModal.js +9 -2
  45. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  46. package/lib/components/eftposPay/hooks.d.ts +1 -1
  47. package/lib/components/eftposPay/store/index.d.ts +4 -4
  48. package/lib/components/pay/toC/model.d.ts +1 -9
  49. package/lib/components/schedules/model.d.ts +1 -9
  50. package/lib/components/schedules/utils.d.ts +1 -1
  51. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  52. package/lib/components/wallet/Detail/model.d.ts +1 -13
  53. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  54. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  55. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  56. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  57. package/lib/components/wallet/model.d.ts +1 -9
  58. package/lib/utils/index.d.ts +1 -1
  59. package/package.json +4 -4
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -41,7 +41,7 @@ declare type ScanData = {
41
41
  };
42
42
  };
43
43
  export declare const formatScanCustomer: (data: ScanData) => {
44
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
44
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
45
45
  data: any;
46
46
  scanCode: string;
47
47
  } | null;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- selectedGiftOptionId: string | null;
4
- cardList: Array<{
5
- id: string;
6
- name: string;
7
- price: number;
8
- }>;
9
- selectedItem: {
10
- id?: string;
11
- gift_price?: number;
12
- price?: number;
13
- name?: string;
14
- variant_id?: string;
15
- };
16
- productId?: string;
17
- detailId?: string;
18
- total: string | number;
19
- rechargeModalOpen: boolean;
20
- }
21
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
- state: RechargeState;
23
- } & {
24
- dispatch: (params: {
25
- type: string;
26
- payload: any;
27
- }) => void;
28
- }>;
29
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: 0;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
30
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
- global_wallet: WalletListProps;
32
- } & {
33
- dispatch: (params: {
34
- type: string;
35
- payload: any;
36
- }) => void;
37
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => 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
22
  }>;
23
23
  export { modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.4.14",
3
+ "version": "6.4.16",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "react-resizable": "^3.0.5",
61
61
  "styled-components": "^6.0.0-rc.3",
62
+ "@pisell/date-picker": "3.0.6",
62
63
  "@pisell/icon": "0.0.11",
63
- "@pisell/utils": "3.0.2",
64
- "@pisell/materials": "6.4.1",
65
- "@pisell/date-picker": "3.0.6"
64
+ "@pisell/materials": "6.4.2",
65
+ "@pisell/utils": "3.0.2"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",