@pisell/private-materials 6.6.4 → 6.6.5
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/ticketBooking/utils/index.d.ts +2 -1
- package/es/components/ticketBooking/utils/index.js +2 -1
- package/lib/components/ticketBooking/utils/index.d.ts +2 -1
- package/lib/components/ticketBooking/utils/index.js +2 -1
- package/package.json +3 -3
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "customer" | "wallet" | "walletPass" | "product" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|
|
@@ -79,6 +79,7 @@ export declare const rulesHooks: {
|
|
|
79
79
|
num: any;
|
|
80
80
|
quantity: any;
|
|
81
81
|
vouchersApplicable: any;
|
|
82
|
+
startDate: any;
|
|
82
83
|
};
|
|
83
84
|
setProduct(product: Record<string, any>, values: {
|
|
84
85
|
total: number;
|
|
@@ -388,7 +388,8 @@ export var rulesHooks = {
|
|
|
388
388
|
origin_total: product._extend.origin_total,
|
|
389
389
|
num: product._extend.quantity,
|
|
390
390
|
quantity: product._extend.quantity || 1,
|
|
391
|
-
vouchersApplicable: product.vouchersApplicable
|
|
391
|
+
vouchersApplicable: product.vouchersApplicable,
|
|
392
|
+
startDate: product._extend.startDate
|
|
392
393
|
};
|
|
393
394
|
return detail;
|
|
394
395
|
},
|
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "customer" | "wallet" | "walletPass" | "product" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|
|
@@ -79,6 +79,7 @@ export declare const rulesHooks: {
|
|
|
79
79
|
num: any;
|
|
80
80
|
quantity: any;
|
|
81
81
|
vouchersApplicable: any;
|
|
82
|
+
startDate: any;
|
|
82
83
|
};
|
|
83
84
|
setProduct(product: Record<string, any>, values: {
|
|
84
85
|
total: number;
|
|
@@ -356,7 +356,8 @@ var rulesHooks = {
|
|
|
356
356
|
origin_total: product._extend.origin_total,
|
|
357
357
|
num: product._extend.quantity,
|
|
358
358
|
quantity: product._extend.quantity || 1,
|
|
359
|
-
vouchersApplicable: product.vouchersApplicable
|
|
359
|
+
vouchersApplicable: product.vouchersApplicable,
|
|
360
|
+
startDate: product._extend.startDate
|
|
360
361
|
};
|
|
361
362
|
return detail;
|
|
362
363
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.5",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@react-spring/web": "^9.6.1",
|
|
63
63
|
"@use-gesture/react": "^10.3.1",
|
|
64
64
|
"@pisell/materials": "6.6.2",
|
|
65
|
-
"@pisell/utils": "3.0.2",
|
|
66
65
|
"@pisell/icon": "0.0.11",
|
|
67
|
-
"@pisell/date-picker": "3.0.7"
|
|
66
|
+
"@pisell/date-picker": "3.0.7",
|
|
67
|
+
"@pisell/utils": "3.0.2"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|