@pisell/private-materials 3.0.182 → 3.0.183
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/booking/info/clientVariant/hooks/useClientFn.js +2 -2
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +2 -2
- package/package.json +2 -2
|
@@ -189,8 +189,8 @@ var useClientFn = function useClientFn(_params) {
|
|
|
189
189
|
return;
|
|
190
190
|
}
|
|
191
191
|
if (data === 'createBooking') {
|
|
192
|
-
var _window, _window$shopApi, _window$shopApi$booki;
|
|
193
|
-
(_window = window) === null || _window === void 0 ? void 0 : (_window$shopApi = _window.shopApi) === null || _window$shopApi === void 0 ? void 0 : (_window$shopApi$booki = _window$shopApi.booking) === null || _window$shopApi$booki === void 0 ? void 0 : _window$shopApi$booki.refreshBookingData();
|
|
192
|
+
var _window, _window$shopApi, _window$shopApi$booki, _window$shopApi$booki2;
|
|
193
|
+
(_window = window) === null || _window === void 0 ? void 0 : (_window$shopApi = _window.shopApi) === null || _window$shopApi === void 0 ? void 0 : (_window$shopApi$booki = _window$shopApi.booking) === null || _window$shopApi$booki === void 0 ? void 0 : (_window$shopApi$booki2 = _window$shopApi$booki.refreshBookingData) === null || _window$shopApi$booki2 === void 0 ? void 0 : _window$shopApi$booki2.call(_window$shopApi$booki);
|
|
194
194
|
return;
|
|
195
195
|
}
|
|
196
196
|
if (data) {
|
|
@@ -162,12 +162,12 @@ var useClientFn = (_params) => {
|
|
|
162
162
|
type: "pisell1.handleOpenCustomerModal",
|
|
163
163
|
data: { id: state.client.value.id },
|
|
164
164
|
callback: (data) => {
|
|
165
|
-
var _a2, _b2;
|
|
165
|
+
var _a2, _b2, _c2;
|
|
166
166
|
if (state.disabledEdit) {
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
169
169
|
if (data === "createBooking") {
|
|
170
|
-
(_b2 = (_a2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _a2.booking) == null ? void 0 : _b2.refreshBookingData();
|
|
170
|
+
(_c2 = (_b2 = (_a2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _a2.booking) == null ? void 0 : _b2.refreshBookingData) == null ? void 0 : _c2.call(_b2);
|
|
171
171
|
return;
|
|
172
172
|
}
|
|
173
173
|
if (data) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.183",
|
|
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/date-picker": "1.0.100",
|
|
63
62
|
"@pisell/utils": "1.0.42",
|
|
64
63
|
"@pisell/icon": "0.0.11",
|
|
64
|
+
"@pisell/date-picker": "1.0.100",
|
|
65
65
|
"@pisell/materials": "3.0.52"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|