@pisell/private-materials 6.3.220 → 6.3.222
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.css +1 -1
- package/build/lowcode/render/default/view.js +13 -13
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +13 -13
- package/es/components/kioskSkuDetail/index.js +7 -7
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +53 -26
- package/es/components/scanOrder/components/Content/index.js +14 -2
- package/es/components/scanOrder/components/ExitConfirmModal/index.js +84 -0
- package/es/components/scanOrder/components/ExitConfirmModal/index.less +182 -0
- package/es/components/scanOrder/locales.js +20 -0
- package/es/index.d.ts +9 -1
- package/es/index.js +6 -2
- package/es/plus/inventory/BindingModal.js +94 -0
- package/es/plus/inventory/InventoryItemManagement.d.ts +7 -0
- package/es/plus/inventory/InventoryItemManagement.js +204 -0
- package/es/plus/inventory/InventoryLocationManagement.d.ts +7 -0
- package/es/plus/inventory/InventoryLocationManagement.js +296 -0
- package/es/plus/inventory/InventoryUnitManagement.d.ts +7 -0
- package/es/plus/inventory/InventoryUnitManagement.js +144 -0
- package/es/plus/inventory/ItemDrawer.js +266 -0
- package/es/plus/inventory/RecordDialog.js +141 -0
- package/es/plus/inventory/StockList.js +132 -0
- package/es/plus/inventory/api.js +66 -0
- package/es/plus/inventory/components.js +172 -0
- package/es/plus/inventory/context.js +118 -0
- package/es/plus/inventory/forms.js +46 -0
- package/es/plus/inventory/hooks.js +235 -0
- package/es/plus/inventory/index.less +559 -0
- package/es/plus/inventory/locales.js +277 -0
- package/es/plus/inventory/types.d.ts +10 -0
- package/es/plus/inventory/utils.js +24 -0
- package/es/plus/panpacificTask/JobCard.js +22 -0
- package/es/plus/panpacificTask/JobDrawer.js +366 -0
- package/es/plus/panpacificTask/JobForm.js +312 -0
- package/es/plus/panpacificTask/JobStatus.js +29 -0
- package/es/plus/panpacificTask/PanpacificTask.d.ts +7 -0
- package/es/plus/panpacificTask/PanpacificTask.js +552 -0
- package/es/plus/panpacificTask/PhotoPreview.js +37 -0
- package/es/plus/panpacificTask/README.md +114 -0
- package/es/plus/panpacificTask/attachments.js +64 -0
- package/es/plus/panpacificTask/index.d.ts +2 -0
- package/es/plus/panpacificTask/index.less +539 -0
- package/es/plus/panpacificTask/locales.js +586 -0
- package/es/plus/panpacificTask/model.js +260 -0
- package/es/plus/panpacificTask/saveJob.js +68 -0
- package/es/plus/panpacificTask/serve.js +243 -0
- package/es/plus/panpacificTask/tenant.js +16 -0
- package/es/plus/panpacificTask/types.d.ts +19 -0
- package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
- package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
- package/es/plus/pisellSupersetDashboard/README.md +291 -0
- package/es/plus/pisellSupersetDashboard/index.d.ts +15 -0
- package/es/plus/pisellSupersetDashboard/index.js +187 -0
- package/es/plus/pisellSupersetDashboard/index.less +83 -0
- package/es/plus/pisellSupersetDashboard/locales.js +36 -0
- package/es/plus/pisellSupersetDashboard/serve.js +51 -0
- package/es/plus/pisellSupersetDashboard/types.d.ts +17 -0
- package/es/plus/skuOptionsSelection/store/createStore.js +2 -2
- package/es/private-materials/lowcode/authmodal/meta.d.ts +1 -0
- package/es/pro/Login2.0/AuthModal.d.ts +1 -1
- package/es/pro/Login2.0/index.d.ts +1 -2
- package/es/pro/Login2.0/shared/types.d.ts +1 -1
- package/lib/components/kioskSkuDetail/index.js +7 -7
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +53 -26
- package/lib/components/scanOrder/components/Content/index.js +14 -2
- package/lib/components/scanOrder/components/ExitConfirmModal/index.js +86 -0
- package/lib/components/scanOrder/components/ExitConfirmModal/index.less +182 -0
- package/lib/components/scanOrder/locales.js +20 -0
- package/lib/index.d.ts +9 -1
- package/lib/index.js +136 -126
- package/lib/plus/inventory/BindingModal.js +96 -0
- package/lib/plus/inventory/InventoryItemManagement.d.ts +7 -0
- package/lib/plus/inventory/InventoryItemManagement.js +206 -0
- package/lib/plus/inventory/InventoryLocationManagement.d.ts +7 -0
- package/lib/plus/inventory/InventoryLocationManagement.js +298 -0
- package/lib/plus/inventory/InventoryUnitManagement.d.ts +7 -0
- package/lib/plus/inventory/InventoryUnitManagement.js +146 -0
- package/lib/plus/inventory/ItemDrawer.js +268 -0
- package/lib/plus/inventory/RecordDialog.js +143 -0
- package/lib/plus/inventory/StockList.js +134 -0
- package/lib/plus/inventory/api.js +66 -0
- package/lib/plus/inventory/components.js +181 -0
- package/lib/plus/inventory/context.js +121 -0
- package/lib/plus/inventory/forms.js +50 -0
- package/lib/plus/inventory/hooks.js +240 -0
- package/lib/plus/inventory/index.less +559 -0
- package/lib/plus/inventory/locales.js +277 -0
- package/lib/plus/inventory/types.d.ts +10 -0
- package/lib/plus/inventory/utils.js +30 -0
- package/lib/plus/panpacificTask/JobCard.js +24 -0
- package/lib/plus/panpacificTask/JobDrawer.js +368 -0
- package/lib/plus/panpacificTask/JobForm.js +314 -0
- package/lib/plus/panpacificTask/JobStatus.js +33 -0
- package/lib/plus/panpacificTask/PanpacificTask.d.ts +7 -0
- package/lib/plus/panpacificTask/PanpacificTask.js +555 -0
- package/lib/plus/panpacificTask/PhotoPreview.js +39 -0
- package/lib/plus/panpacificTask/README.md +114 -0
- package/lib/plus/panpacificTask/attachments.js +66 -0
- package/lib/plus/panpacificTask/index.d.ts +2 -0
- package/lib/plus/panpacificTask/index.less +539 -0
- package/lib/plus/panpacificTask/locales.js +586 -0
- package/lib/plus/panpacificTask/model.js +289 -0
- package/lib/plus/panpacificTask/saveJob.js +68 -0
- package/lib/plus/panpacificTask/serve.js +260 -0
- package/lib/plus/panpacificTask/tenant.js +17 -0
- package/lib/plus/panpacificTask/types.d.ts +19 -0
- package/lib/plus/pisellSupersetDashboard/README.md +291 -0
- package/lib/plus/pisellSupersetDashboard/index.d.ts +15 -0
- package/lib/plus/pisellSupersetDashboard/index.js +189 -0
- package/lib/plus/pisellSupersetDashboard/index.less +83 -0
- package/lib/plus/pisellSupersetDashboard/locales.js +36 -0
- package/lib/plus/pisellSupersetDashboard/serve.js +52 -0
- package/lib/plus/pisellSupersetDashboard/types.d.ts +17 -0
- package/lowcode/inventory-item-management/meta.ts +20 -0
- package/lowcode/inventory-location-management/meta.ts +20 -0
- package/lowcode/inventory-unit-management/meta.ts +20 -0
- package/lowcode/panpacific-task/meta.ts +51 -0
- package/lowcode/pisell-superset-dashboard/meta.ts +75 -0
- package/package.json +4 -2
- package/es/plus/pisellReservation/index.js +0 -17
|
@@ -21,7 +21,7 @@ const DEFAULT_COIN_OR_CARD = 0;
|
|
|
21
21
|
* - 底部用 PisellNumberSelector 做数量编辑
|
|
22
22
|
*/
|
|
23
23
|
function KioskSkuDetail(props) {
|
|
24
|
-
var _ref, _context$appHelper, _context$engine, _context$appHelper2, _store$getState, _store$getState2, _store$getState3, _interaction$utils
|
|
24
|
+
var _ref, _context$appHelper, _context$engine, _context$appHelper2, _store$getState, _store$getState2, _store$getState3, _interaction$utils;
|
|
25
25
|
const { className, style, onAddToCart } = props;
|
|
26
26
|
/**
|
|
27
27
|
* @description 从 URL 中读取 productId(兼容 search / hash query)
|
|
@@ -165,14 +165,14 @@ function KioskSkuDetail(props) {
|
|
|
165
165
|
}(), [getData, scheduleDate]);
|
|
166
166
|
const loadRef = useRef(loadByProductId);
|
|
167
167
|
loadRef.current = loadByProductId;
|
|
168
|
-
const shop_id = interaction === null || interaction === void 0 || (_interaction$utils
|
|
168
|
+
const shop_id = interaction === null || interaction === void 0 || (_interaction$utils = interaction.utils) === null || _interaction$utils === void 0 || (_interaction$utils = _interaction$utils.getStore().getState()) === null || _interaction$utils === void 0 || (_interaction$utils = _interaction$utils.global) === null || _interaction$utils === void 0 || (_interaction$utils = _interaction$utils.shop) === null || _interaction$utils === void 0 ? void 0 : _interaction$utils.id;
|
|
169
169
|
useEffect(() => {
|
|
170
|
-
var _interaction$
|
|
171
|
-
interaction === null || interaction === void 0 || (_interaction$
|
|
170
|
+
var _interaction$utils2, _interaction$utils2$p, _interaction$utils3, _interaction$utils3$m, _interaction$utils4, _interaction$utils4$m, _interaction$utils5, _interaction$utils5$m;
|
|
171
|
+
interaction === null || interaction === void 0 || (_interaction$utils2 = interaction.utils) === null || _interaction$utils2 === void 0 || (_interaction$utils2$p = _interaction$utils2.postMessageToApp) === null || _interaction$utils2$p === void 0 || _interaction$utils2$p.call(_interaction$utils2, {
|
|
172
172
|
module: "wallet_pass",
|
|
173
173
|
key: "page_load"
|
|
174
174
|
});
|
|
175
|
-
interaction === null || interaction === void 0 || (_interaction$
|
|
175
|
+
interaction === null || interaction === void 0 || (_interaction$utils3 = interaction.utils) === null || _interaction$utils3 === void 0 || (_interaction$utils3$m = _interaction$utils3.mountFunction) === null || _interaction$utils3$m === void 0 || _interaction$utils3$m.call(_interaction$utils3, "wallet_pass", "restore_buy_wallet_pass", (id) => {
|
|
176
176
|
console.log("重置状态", id);
|
|
177
177
|
console.log("宽", window.innerWidth);
|
|
178
178
|
console.log("高", window.innerHeight);
|
|
@@ -186,7 +186,7 @@ function KioskSkuDetail(props) {
|
|
|
186
186
|
"9230"
|
|
187
187
|
].includes(String(shop_id)));
|
|
188
188
|
});
|
|
189
|
-
interaction === null || interaction === void 0 || (_interaction$
|
|
189
|
+
interaction === null || interaction === void 0 || (_interaction$utils4 = interaction.utils) === null || _interaction$utils4 === void 0 || (_interaction$utils4$m = _interaction$utils4.mountFunction) === null || _interaction$utils4$m === void 0 || _interaction$utils4$m.call(_interaction$utils4, "wallet_pass", "restore_recharge_wallet_pass", (_data) => {
|
|
190
190
|
const data = JSON.parse(_data || "{}");
|
|
191
191
|
console.log("重置状态", data === null || data === void 0 ? void 0 : data.productId);
|
|
192
192
|
console.log("宽", window.innerWidth);
|
|
@@ -198,7 +198,7 @@ function KioskSkuDetail(props) {
|
|
|
198
198
|
setShouldSelectCoinOrCard(false);
|
|
199
199
|
setNativeInitData(data);
|
|
200
200
|
});
|
|
201
|
-
interaction === null || interaction === void 0 || (_interaction$
|
|
201
|
+
interaction === null || interaction === void 0 || (_interaction$utils5 = interaction.utils) === null || _interaction$utils5 === void 0 || (_interaction$utils5$m = _interaction$utils5.mountFunction) === null || _interaction$utils5$m === void 0 || _interaction$utils5$m.call(_interaction$utils5, "wallet_pass", "edit_buy_wallet_pass", (data) => {
|
|
202
202
|
console.log("编辑状态", data);
|
|
203
203
|
const productData = JSON.parse(data);
|
|
204
204
|
/**
|
|
@@ -65,6 +65,19 @@ const setHistoryLog = (log) => {
|
|
|
65
65
|
const getCurrentTime = () => {
|
|
66
66
|
return dayjs().format("YYYY-MM-DD HH:mm:ss");
|
|
67
67
|
};
|
|
68
|
+
const getErrorDetails = (error) => {
|
|
69
|
+
var _error$message, _error$response$statu, _error$response, _error$response$statu2, _error$response2;
|
|
70
|
+
if (error == null || typeof error !== "object") return error;
|
|
71
|
+
return {
|
|
72
|
+
name: error.name,
|
|
73
|
+
message: (_error$message = error.message) !== null && _error$message !== void 0 ? _error$message : error.msg,
|
|
74
|
+
stack: error.stack,
|
|
75
|
+
code: error.code,
|
|
76
|
+
type: error.type,
|
|
77
|
+
status: (_error$response$statu = (_error$response = error.response) === null || _error$response === void 0 ? void 0 : _error$response.status) !== null && _error$response$statu !== void 0 ? _error$response$statu : error.status,
|
|
78
|
+
statusText: (_error$response$statu2 = (_error$response2 = error.response) === null || _error$response2 === void 0 ? void 0 : _error$response2.statusText) !== null && _error$response$statu2 !== void 0 ? _error$response$statu2 : error.statusText
|
|
79
|
+
};
|
|
80
|
+
};
|
|
68
81
|
/**
|
|
69
82
|
* @title: 点击支付
|
|
70
83
|
* @description:
|
|
@@ -163,19 +176,11 @@ const startPayment = function() {
|
|
|
163
176
|
msg: "步骤5完成: challenge iframe结束",
|
|
164
177
|
time: getCurrentTime()
|
|
165
178
|
});
|
|
166
|
-
setHistoryLog({
|
|
167
|
-
msg: "步骤6开始: 调用check_pares接口",
|
|
168
|
-
time: getCurrentTime()
|
|
169
|
-
});
|
|
170
179
|
yield checkPARes(step2, step4, step5);
|
|
171
180
|
if (isCancelled === null || isCancelled === void 0 ? void 0 : isCancelled()) {
|
|
172
181
|
closeIframe();
|
|
173
182
|
return;
|
|
174
183
|
}
|
|
175
|
-
setHistoryLog({
|
|
176
|
-
msg: "步骤6完成: check_pares接口返回",
|
|
177
|
-
time: getCurrentTime()
|
|
178
|
-
});
|
|
179
184
|
}
|
|
180
185
|
if (isCancelled === null || isCancelled === void 0 ? void 0 : isCancelled()) {
|
|
181
186
|
closeIframe();
|
|
@@ -190,10 +195,11 @@ const startPayment = function() {
|
|
|
190
195
|
return true;
|
|
191
196
|
} catch (err) {
|
|
192
197
|
console.log("error", err);
|
|
198
|
+
const errorDetails = getErrorDetails(err);
|
|
193
199
|
setHistoryLog({
|
|
194
200
|
msg: "支付异常",
|
|
195
201
|
time: getCurrentTime(),
|
|
196
|
-
error:
|
|
202
|
+
error: errorDetails,
|
|
197
203
|
errorCode: err === null || err === void 0 ? void 0 : err.code
|
|
198
204
|
});
|
|
199
205
|
closeIframe();
|
|
@@ -204,7 +210,7 @@ const startPayment = function() {
|
|
|
204
210
|
callback === null || callback === void 0 || callback({ key: "bankVerifyFailed" });
|
|
205
211
|
return false;
|
|
206
212
|
}
|
|
207
|
-
paymentData.error =
|
|
213
|
+
paymentData.error = errorDetails;
|
|
208
214
|
paymentEnd(_objectSpread2({ status: "fail" }, paymentInfo), callback);
|
|
209
215
|
return false;
|
|
210
216
|
}
|
|
@@ -526,22 +532,43 @@ const checkPARes = function() {
|
|
|
526
532
|
const { tdsPayKey, tdsPayToken } = step4;
|
|
527
533
|
const cres = step5;
|
|
528
534
|
const request_unique_idempotency_token = getUniqueIdempotencyToken();
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
});
|
|
544
|
-
|
|
535
|
+
const startedAt = Date.now();
|
|
536
|
+
const getRequestLogContext = () => {
|
|
537
|
+
const timestamp = Date.now();
|
|
538
|
+
return {
|
|
539
|
+
time: getCurrentTime(),
|
|
540
|
+
timestamp,
|
|
541
|
+
durationMs: timestamp - startedAt,
|
|
542
|
+
order_id,
|
|
543
|
+
pay_number,
|
|
544
|
+
request_unique_idempotency_token,
|
|
545
|
+
online: typeof navigator !== "undefined" ? navigator.onLine : void 0,
|
|
546
|
+
visibilityState: typeof document !== "undefined" ? document.visibilityState : void 0
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
setHistoryLog(_objectSpread2(_objectSpread2({ msg: "步骤6开始: 调用check_pares接口" }, getRequestLogContext()), {}, { userAgent: typeof navigator !== "undefined" ? navigator.userAgent : void 0 }));
|
|
550
|
+
try {
|
|
551
|
+
const { data } = yield request.getRequest().post("/h5/pay/order/mw-3ds-pay/v2/check_pares", {
|
|
552
|
+
order_id,
|
|
553
|
+
pay_number,
|
|
554
|
+
request_unique_idempotency_token,
|
|
555
|
+
mw_data: {
|
|
556
|
+
transactionProduct: pay_info.check_tds_auth.product_name,
|
|
557
|
+
cres,
|
|
558
|
+
accessToken: pay_info.check_tds_auth.access_token,
|
|
559
|
+
tdsPayKey,
|
|
560
|
+
tdsPayToken,
|
|
561
|
+
paymentCardName: pay_info.check_tds_auth.card_name,
|
|
562
|
+
transactionAmount: amount,
|
|
563
|
+
card_id: pay_info.check_tds_auth.card_id
|
|
564
|
+
}
|
|
565
|
+
}, { manualErrorHandling: true });
|
|
566
|
+
setHistoryLog(_objectSpread2({ msg: "步骤6完成: check_pares接口返回" }, getRequestLogContext()));
|
|
567
|
+
return data;
|
|
568
|
+
} catch (error) {
|
|
569
|
+
setHistoryLog(_objectSpread2(_objectSpread2({ msg: "步骤6异常: check_pares接口失败" }, getRequestLogContext()), {}, { error: getErrorDetails(error) }));
|
|
570
|
+
throw error;
|
|
571
|
+
}
|
|
545
572
|
});
|
|
546
573
|
return function checkPARes(_x14, _x15, _x16) {
|
|
547
574
|
return _ref6.apply(this, arguments);
|
|
@@ -11,6 +11,7 @@ import Menu$1 from "../Menu/index.js";
|
|
|
11
11
|
import ErrorState from "../ErrorState/index.js";
|
|
12
12
|
import ScanOrderInitializing from "../Initializing/index.js";
|
|
13
13
|
import Check from "../Check/index.js";
|
|
14
|
+
import ExitConfirmModal from "../ExitConfirmModal/index.js";
|
|
14
15
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
15
16
|
import { Modal, message } from "antd";
|
|
16
17
|
import { isMobile, locales } from "@pisell/utils";
|
|
@@ -51,6 +52,7 @@ function ReadyState() {
|
|
|
51
52
|
const utils = contextUtils();
|
|
52
53
|
const [FormCard] = useComponents({ components: ["FormCard"] });
|
|
53
54
|
const formModalRef = useRef(null);
|
|
55
|
+
const [exitConfirmOpen, setExitConfirmOpen] = useState(false);
|
|
54
56
|
const [formSubmitting, setFormSubmitting] = useState(false);
|
|
55
57
|
const [policyModal, setPolicyModal] = useState({
|
|
56
58
|
open: false,
|
|
@@ -161,6 +163,9 @@ function ReadyState() {
|
|
|
161
163
|
else if (app === null || app === void 0 || (_app$history2 = app.history) === null || _app$history2 === void 0 ? void 0 : _app$history2.push) app.history.push("/");
|
|
162
164
|
else location.replace("/");
|
|
163
165
|
};
|
|
166
|
+
const confirmExitToHome = () => {
|
|
167
|
+
setExitConfirmOpen(true);
|
|
168
|
+
};
|
|
164
169
|
/** 弹出入口人数弹窗,返回有效人数或取消/关闭时为 null */
|
|
165
170
|
const requestEntryPaxModal = () => new Promise((resolve) => {
|
|
166
171
|
var _tableFormRecordRef$c;
|
|
@@ -200,7 +205,7 @@ function ReadyState() {
|
|
|
200
205
|
_asyncToGenerator(function* () {
|
|
201
206
|
const pax = yield requestEntryPaxModal();
|
|
202
207
|
if (pax == null) {
|
|
203
|
-
|
|
208
|
+
confirmExitToHome();
|
|
204
209
|
return;
|
|
205
210
|
}
|
|
206
211
|
try {
|
|
@@ -212,7 +217,7 @@ function ReadyState() {
|
|
|
212
217
|
})();
|
|
213
218
|
return;
|
|
214
219
|
}
|
|
215
|
-
|
|
220
|
+
confirmExitToHome();
|
|
216
221
|
};
|
|
217
222
|
const enterProductStep = function() {
|
|
218
223
|
var _ref3 = _asyncToGenerator(function* () {
|
|
@@ -598,6 +603,13 @@ function ReadyState() {
|
|
|
598
603
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Header, {
|
|
599
604
|
currentStep,
|
|
600
605
|
onBack: handleBack
|
|
606
|
+
}), /* @__PURE__ */ React.createElement(ExitConfirmModal, {
|
|
607
|
+
open: exitConfirmOpen,
|
|
608
|
+
onContinue: () => setExitConfirmOpen(false),
|
|
609
|
+
onExit: () => {
|
|
610
|
+
setExitConfirmOpen(false);
|
|
611
|
+
navigateToHome();
|
|
612
|
+
}
|
|
601
613
|
}), /* @__PURE__ */ React.createElement("div", {
|
|
602
614
|
className: `pisell-scan-order-content-wrap ${isMobileView ? "pisell-scan-order-content-mobile-wrap" : ""} ${!isShowFooter && isMobileView ? "pisell-scan-order-content-wrap-with-footer" : ""}`,
|
|
603
615
|
"data-cart-validation-passed": String(cartValidation === null || cartValidation === void 0 ? void 0 : cartValidation.passed)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import React, { useRef } from "react";
|
|
2
|
+
import { Modal } from "antd";
|
|
3
|
+
import { locales } from "@pisell/utils";
|
|
4
|
+
import "./index.less";
|
|
5
|
+
//#region src/components/scanOrder/components/ExitConfirmModal/index.tsx
|
|
6
|
+
function ExitConfirmModal({ open, onContinue, onExit }) {
|
|
7
|
+
const continueButtonRef = useRef(null);
|
|
8
|
+
return /* @__PURE__ */ React.createElement(Modal, {
|
|
9
|
+
open,
|
|
10
|
+
centered: true,
|
|
11
|
+
width: 400,
|
|
12
|
+
prefixCls: "pisell-scan-order-exit",
|
|
13
|
+
wrapClassName: "pisell-scan-order-exit-wrap",
|
|
14
|
+
maskClosable: false,
|
|
15
|
+
onCancel: onContinue,
|
|
16
|
+
footer: null,
|
|
17
|
+
afterOpenChange: (visible) => {
|
|
18
|
+
var _continueButtonRef$cu;
|
|
19
|
+
if (visible) (_continueButtonRef$cu = continueButtonRef.current) === null || _continueButtonRef$cu === void 0 || _continueButtonRef$cu.focus();
|
|
20
|
+
},
|
|
21
|
+
title: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", {
|
|
22
|
+
className: "pisell-scan-order-exit-visual",
|
|
23
|
+
"aria-hidden": "true"
|
|
24
|
+
}, /* @__PURE__ */ React.createElement("svg", {
|
|
25
|
+
viewBox: "0 0 240 140",
|
|
26
|
+
fill: "none",
|
|
27
|
+
focusable: "false"
|
|
28
|
+
}, /* @__PURE__ */ React.createElement("rect", {
|
|
29
|
+
x: "30",
|
|
30
|
+
y: "12",
|
|
31
|
+
width: "66",
|
|
32
|
+
height: "116",
|
|
33
|
+
rx: "12",
|
|
34
|
+
fill: "var(--exit-illustration-surface)",
|
|
35
|
+
stroke: "currentColor",
|
|
36
|
+
strokeWidth: "4"
|
|
37
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
38
|
+
d: "M51 13v5h24v-5M55 118h16",
|
|
39
|
+
stroke: "currentColor",
|
|
40
|
+
strokeWidth: "4",
|
|
41
|
+
strokeLinecap: "round"
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "M44 55v-9h9m29 9v-9h-9M44 79v9h9m29-9v9h-9",
|
|
44
|
+
stroke: "var(--exit-accent)",
|
|
45
|
+
strokeWidth: "4",
|
|
46
|
+
strokeLinecap: "round"
|
|
47
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
48
|
+
d: "m108 57 17-7m-17 20h21m-21 13 17 7",
|
|
49
|
+
stroke: "var(--exit-accent)",
|
|
50
|
+
strokeWidth: "4",
|
|
51
|
+
strokeLinecap: "round"
|
|
52
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
53
|
+
d: "m160 36 37 1 19 85h-24",
|
|
54
|
+
fill: "currentColor"
|
|
55
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
56
|
+
d: "M147 35h42a4 4 0 0 1 4 4l-8 79a4 4 0 0 1-4 4h-45a4 4 0 0 1-4-4l10-79a5 5 0 0 1 5-4Z",
|
|
57
|
+
fill: "var(--exit-illustration-surface)",
|
|
58
|
+
stroke: "currentColor",
|
|
59
|
+
strokeWidth: "4"
|
|
60
|
+
}), /* @__PURE__ */ React.createElement("g", { transform: "matrix(1 0 -0.12 1 147 49)" }, /* @__PURE__ */ React.createElement("path", {
|
|
61
|
+
d: "M0 0h12v12H0zM22 0h12v12H22zM0 22h12v12H0z",
|
|
62
|
+
stroke: "currentColor",
|
|
63
|
+
strokeWidth: "2.5"
|
|
64
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
65
|
+
d: "M4 4h4v4H4zM26 4h4v4H26zM4 26h4v4H4z",
|
|
66
|
+
fill: "currentColor"
|
|
67
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
68
|
+
d: "M22 22h5v6h7M22 34h5",
|
|
69
|
+
stroke: "currentColor",
|
|
70
|
+
strokeWidth: "4"
|
|
71
|
+
})))), /* @__PURE__ */ React.createElement("h2", { className: "pisell-scan-order-exit-heading" }, String(locales.getText("pisell2.scan.order.exit.title"))))
|
|
72
|
+
}, /* @__PURE__ */ React.createElement("p", { className: "pisell-scan-order-exit-description" }, String(locales.getText("pisell2.scan.order.exit.description"))), /* @__PURE__ */ React.createElement("div", { className: "pisell-scan-order-exit-actions" }, /* @__PURE__ */ React.createElement("button", {
|
|
73
|
+
ref: continueButtonRef,
|
|
74
|
+
type: "button",
|
|
75
|
+
className: "pisell-scan-order-exit-continue",
|
|
76
|
+
onClick: onContinue
|
|
77
|
+
}, String(locales.getText("pisell2.scan.order.exit.continue"))), /* @__PURE__ */ React.createElement("button", {
|
|
78
|
+
type: "button",
|
|
79
|
+
className: "pisell-scan-order-exit-leave",
|
|
80
|
+
onClick: onExit
|
|
81
|
+
}, String(locales.getText("pisell2.scan.order.exit.confirm")))));
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
export { ExitConfirmModal as default };
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
.pisell-scan-order-exit-root {
|
|
2
|
+
--exit-accent: var(--theme-color);
|
|
3
|
+
--exit-surface: #fff;
|
|
4
|
+
--exit-visual-surface: #f5f5f5;
|
|
5
|
+
--exit-illustration-surface: #fff;
|
|
6
|
+
--exit-heading: #101828;
|
|
7
|
+
--exit-description: #475467;
|
|
8
|
+
--exit-border: rgba(0, 0, 0, 0.12);
|
|
9
|
+
--exit-action-border: var(--exit-accent);
|
|
10
|
+
--exit-mask: rgba(0, 0, 0, 0.45);
|
|
11
|
+
--exit-shadow: rgba(0, 0, 0, 0.2);
|
|
12
|
+
|
|
13
|
+
.pisell-scan-order-exit-mask {
|
|
14
|
+
background: var(--exit-mask);
|
|
15
|
+
backdrop-filter: blur(4px);
|
|
16
|
+
-webkit-backdrop-filter: blur(4px);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pisell-scan-order-exit-wrap {
|
|
20
|
+
padding: max(16px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pisell-scan-order-exit {
|
|
24
|
+
max-width: calc(100vw - 32px);
|
|
25
|
+
padding-bottom: 0;
|
|
26
|
+
color: var(--exit-heading);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pisell-scan-order-exit-content {
|
|
30
|
+
max-height: calc(100vh - 32px);
|
|
31
|
+
max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
|
|
32
|
+
overflow-y: auto;
|
|
33
|
+
overscroll-behavior: contain;
|
|
34
|
+
padding: 20px;
|
|
35
|
+
border: 1px solid var(--exit-border);
|
|
36
|
+
border-radius: 24px;
|
|
37
|
+
background: var(--exit-surface);
|
|
38
|
+
box-shadow: 0 24px 64px var(--exit-shadow);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pisell-scan-order-exit-header {
|
|
42
|
+
margin: 0;
|
|
43
|
+
background: transparent;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pisell-scan-order-exit-close {
|
|
47
|
+
top: 12px;
|
|
48
|
+
inset-inline-end: 12px;
|
|
49
|
+
width: 40px;
|
|
50
|
+
height: 40px;
|
|
51
|
+
color: var(--exit-heading);
|
|
52
|
+
border: 1px solid var(--exit-border);
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
background: var(--exit-illustration-surface);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.pisell-scan-order-exit-visual {
|
|
58
|
+
display: grid;
|
|
59
|
+
place-items: center;
|
|
60
|
+
min-height: 128px;
|
|
61
|
+
padding: 8px 32px;
|
|
62
|
+
border-radius: 16px;
|
|
63
|
+
background: var(--exit-visual-surface);
|
|
64
|
+
color: var(--exit-accent);
|
|
65
|
+
|
|
66
|
+
svg {
|
|
67
|
+
display: block;
|
|
68
|
+
width: 200px;
|
|
69
|
+
max-width: 100%;
|
|
70
|
+
height: 120px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.pisell-scan-order-exit-heading {
|
|
75
|
+
margin: 24px 0 12px;
|
|
76
|
+
color: var(--exit-heading);
|
|
77
|
+
font-size: 26px;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
line-height: 1.25;
|
|
80
|
+
text-align: center;
|
|
81
|
+
overflow-wrap: anywhere;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.pisell-scan-order-exit-description {
|
|
85
|
+
margin: 0 0 24px;
|
|
86
|
+
color: var(--exit-description);
|
|
87
|
+
font-size: 15px;
|
|
88
|
+
line-height: 1.7;
|
|
89
|
+
text-align: center;
|
|
90
|
+
overflow-wrap: anywhere;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.pisell-scan-order-exit-actions {
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
gap: 10px;
|
|
97
|
+
|
|
98
|
+
button {
|
|
99
|
+
width: 100%;
|
|
100
|
+
min-height: 48px;
|
|
101
|
+
padding: 12px 20px;
|
|
102
|
+
border: 1px solid transparent;
|
|
103
|
+
border-radius: 999px;
|
|
104
|
+
font: inherit;
|
|
105
|
+
font-size: 16px;
|
|
106
|
+
font-weight: 600;
|
|
107
|
+
line-height: 1.5;
|
|
108
|
+
white-space: normal;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
touch-action: manipulation;
|
|
111
|
+
-webkit-tap-highlight-color: transparent;
|
|
112
|
+
|
|
113
|
+
&:focus-visible {
|
|
114
|
+
outline: 3px solid var(--exit-accent);
|
|
115
|
+
outline-offset: 3px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:active {
|
|
119
|
+
opacity: 0.8;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.pisell-scan-order-exit-continue {
|
|
124
|
+
color: #fff;
|
|
125
|
+
background: var(--exit-accent);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.pisell-scan-order-exit-leave {
|
|
129
|
+
color: var(--exit-heading);
|
|
130
|
+
border-color: var(--exit-action-border);
|
|
131
|
+
background: transparent;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media (max-width: 360px), (max-height: 700px) {
|
|
137
|
+
.pisell-scan-order-exit-root {
|
|
138
|
+
.pisell-scan-order-exit-content {
|
|
139
|
+
padding: 16px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.pisell-scan-order-exit-visual {
|
|
143
|
+
min-height: 96px;
|
|
144
|
+
|
|
145
|
+
svg {
|
|
146
|
+
height: 96px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.pisell-scan-order-exit-heading {
|
|
151
|
+
margin-top: 18px;
|
|
152
|
+
font-size: 24px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.pisell-scan-order-exit-description {
|
|
156
|
+
margin-bottom: 20px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@media (prefers-reduced-motion: reduce) {
|
|
162
|
+
.pisell-scan-order-exit-root {
|
|
163
|
+
.pisell-scan-order-exit,
|
|
164
|
+
.pisell-scan-order-exit-mask {
|
|
165
|
+
animation: none !important;
|
|
166
|
+
transition: none !important;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@supports (color: color-mix(in srgb, black, white)) {
|
|
172
|
+
.pisell-scan-order-exit-root {
|
|
173
|
+
--exit-surface: color-mix(in srgb, var(--exit-accent) 10%, white);
|
|
174
|
+
--exit-visual-surface: color-mix(in srgb, var(--exit-accent) 7%, white);
|
|
175
|
+
--exit-illustration-surface: color-mix(in srgb, var(--exit-accent) 2%, white);
|
|
176
|
+
--exit-heading: color-mix(in srgb, var(--exit-accent) 35%, #101828);
|
|
177
|
+
--exit-description: color-mix(in srgb, var(--exit-accent) 15%, #475467);
|
|
178
|
+
--exit-border: color-mix(in srgb, var(--exit-accent) 16%, transparent);
|
|
179
|
+
--exit-action-border: color-mix(in srgb, var(--exit-accent) 40%, transparent);
|
|
180
|
+
--exit-shadow: color-mix(in srgb, var(--exit-accent) 24%, transparent);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
//#region src/components/scanOrder/locales.ts
|
|
2
2
|
var locales_default = {
|
|
3
3
|
en: {
|
|
4
|
+
"pisell2.scan.order.exit.title": "Leave ordering?",
|
|
5
|
+
"pisell2.scan.order.exit.description": "You will return to the store homepage. To continue ordering by QR code, scan the table QR code again.",
|
|
6
|
+
"pisell2.scan.order.exit.confirm": "Leave ordering",
|
|
7
|
+
"pisell2.scan.order.exit.continue": "Continue ordering",
|
|
4
8
|
"pisell2.scan.order.action.confirm.order": "Confirm order",
|
|
5
9
|
"pisell2.event.confirm": "Confirm",
|
|
6
10
|
"pisell2.scan.order.resource.unavailable.confirm": "OK",
|
|
@@ -71,6 +75,10 @@ var locales_default = {
|
|
|
71
75
|
"pisell2.appointment.fill-form": "Enter your details"
|
|
72
76
|
},
|
|
73
77
|
"zh-CN": {
|
|
78
|
+
"pisell2.scan.order.exit.title": "确认退出点单?",
|
|
79
|
+
"pisell2.scan.order.exit.description": "退出后将返回商家首页。如需继续扫码点单,请重新扫描桌台二维码。",
|
|
80
|
+
"pisell2.scan.order.exit.confirm": "确认退出",
|
|
81
|
+
"pisell2.scan.order.exit.continue": "继续点单",
|
|
74
82
|
"pisell2.scan.order.action.confirm.order": "确认下单",
|
|
75
83
|
"pisell2.event.confirm": "确定",
|
|
76
84
|
"pisell2.scan.order.resource.unavailable.confirm": "好的",
|
|
@@ -141,6 +149,10 @@ var locales_default = {
|
|
|
141
149
|
"pisell2.appointment.fill-form": "填写信息"
|
|
142
150
|
},
|
|
143
151
|
"zh-HK": {
|
|
152
|
+
"pisell2.scan.order.exit.title": "確認退出點單?",
|
|
153
|
+
"pisell2.scan.order.exit.description": "退出後將返回商家首頁。如需繼續掃碼點單,請重新掃描桌台二維碼。",
|
|
154
|
+
"pisell2.scan.order.exit.confirm": "確認退出",
|
|
155
|
+
"pisell2.scan.order.exit.continue": "繼續點單",
|
|
144
156
|
"pisell2.scan.order.action.confirm.order": "確認下單",
|
|
145
157
|
"pisell2.event.confirm": "確認",
|
|
146
158
|
"pisell2.scan.order.resource.unavailable.confirm": "好的",
|
|
@@ -211,6 +223,10 @@ var locales_default = {
|
|
|
211
223
|
"pisell2.appointment.fill-form": "填寫資訊"
|
|
212
224
|
},
|
|
213
225
|
ja: {
|
|
226
|
+
"pisell2.scan.order.exit.title": "注文画面を終了しますか?",
|
|
227
|
+
"pisell2.scan.order.exit.description": "店舗のホームページに戻ります。QRコードでの注文を続けるには、テーブルのQRコードをもう一度読み取ってください。",
|
|
228
|
+
"pisell2.scan.order.exit.confirm": "終了する",
|
|
229
|
+
"pisell2.scan.order.exit.continue": "注文を続ける",
|
|
214
230
|
"pisell2.scan.order.action.confirm.order": "注文を確定",
|
|
215
231
|
"pisell2.event.confirm": "確認",
|
|
216
232
|
"pisell2.scan.order.resource.unavailable.confirm": "OK",
|
|
@@ -281,6 +297,10 @@ var locales_default = {
|
|
|
281
297
|
"pisell2.appointment.fill-form": "詳細を入力"
|
|
282
298
|
},
|
|
283
299
|
pt: {
|
|
300
|
+
"pisell2.scan.order.exit.title": "Sair do pedido?",
|
|
301
|
+
"pisell2.scan.order.exit.description": "Você voltará à página inicial da loja. Para continuar pedindo por QR code, escaneie novamente o QR code da mesa.",
|
|
302
|
+
"pisell2.scan.order.exit.confirm": "Confirmar saída",
|
|
303
|
+
"pisell2.scan.order.exit.continue": "Continuar pedido",
|
|
284
304
|
"pisell2.scan.order.action.confirm.order": "Confirmar pedido",
|
|
285
305
|
"pisell2.event.confirm": "Confirmar",
|
|
286
306
|
"pisell2.scan.order.resource.unavailable.confirm": "OK",
|
package/es/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { _default as _default$9 } from "./components/pay/toC/index.js";
|
|
|
23
23
|
import { _default as _default$1 } from "./components/eftpos/index.js";
|
|
24
24
|
import { WalletList } from "./components/walletList/index.js";
|
|
25
25
|
import { BookingDashboard } from "./components/booking/dashboard/index.js";
|
|
26
|
+
import { PisellSupersetDashboardProps } from "./plus/pisellSupersetDashboard/types.js";
|
|
27
|
+
import { PisellSupersetDashboard } from "./plus/pisellSupersetDashboard/index.js";
|
|
26
28
|
import { PisellSelectCustomerModal } from "./components/pisellSelectCustomerModal/index.js";
|
|
27
29
|
import { EventBooking } from "./components/eventBooking/index.js";
|
|
28
30
|
import { EventCard } from "./components/eventBooking/components/eventCard/index.js";
|
|
@@ -84,6 +86,10 @@ import { Registry } from "./components/systemSettings/registry/index.js";
|
|
|
84
86
|
import { SaasRole } from "./plus/saasRole/index.js";
|
|
85
87
|
import { SaasTeamMembersProps } from "./plus/saasTeamMembers/type.js";
|
|
86
88
|
import { SaasTeamMembers } from "./plus/saasTeamMembers/index.js";
|
|
89
|
+
import { InventoryPageProps } from "./plus/inventory/types.js";
|
|
90
|
+
import { InventoryItemManagement } from "./plus/inventory/InventoryItemManagement.js";
|
|
91
|
+
import { InventoryUnitManagement } from "./plus/inventory/InventoryUnitManagement.js";
|
|
92
|
+
import { InventoryLocationManagement } from "./plus/inventory/InventoryLocationManagement.js";
|
|
87
93
|
import { SaasDeviceProfileProps } from "./plus/saasDevice/deviceProfile/types.js";
|
|
88
94
|
import { SaasDeviceProfile } from "./plus/saasDevice/deviceProfile/index.js";
|
|
89
95
|
import { SaasDevicePlanningProps } from "./plus/saasDevice/devicePlanning/model/types.js";
|
|
@@ -106,6 +112,8 @@ import { FinancialSummaryAmountFormatOptions, FinancialSummaryData, FinancialSum
|
|
|
106
112
|
import { PisellFinancialSummary } from "./plus/pisellFinancialSummary/PisellFinancialSummary.js";
|
|
107
113
|
import { _default as _default$10 } from "./plus/pisellFinancialSummary/locales.js";
|
|
108
114
|
import { PiPaymentResult } from "./plus/piPaymentResult/index.js";
|
|
115
|
+
import { PanpacificTaskProps } from "./plus/panpacificTask/types.js";
|
|
116
|
+
import { PanpacificTask } from "./plus/panpacificTask/PanpacificTask.js";
|
|
109
117
|
import { FloorMapBookingClickArgs, FloorMapBookingClickMode, PisellReservationProps, PisellReservationTableRow, ResourceSelectModeConfig, SelectFloorMapResourcePayload } from "./plus/pisellReservation/types.js";
|
|
110
118
|
import { PisellReservationCore } from "./plus/pisellReservation/PisellReservation.js";
|
|
111
119
|
import { PisellReservation, PisellReservationBookingPage } from "./plus/pisellReservation/PisellReservationBookingPage.js";
|
|
@@ -123,4 +131,4 @@ import { PisellProResourcePickerModal } from "./plus/pisellProResourcePickerModa
|
|
|
123
131
|
import { PisellFloorMapPaletteViewAllModal } from "./plus/pisellProResourcePickerModal/PisellFloorMapPaletteViewAllModal.js";
|
|
124
132
|
import { PisellCashCounting } from "./components/pisellCashCounting/PisellCashCounting.js";
|
|
125
133
|
import { _default as _default$5 } from "./plus/pisellAdyenDashboard/index.js";
|
|
126
|
-
export { AppointmentBooking, Deposit as AppointmentDeposit, AuthModal, Booking, Addons as BookingAddons, Contacts as BookingContacts, BookingDashboard, Deposit$1 as BookingDeposit, Duration as BookingDuration, Forms as BookingForms, APP as BookingInfo, Notes as BookingNotes, Payments as BookingPayment, Resources as BookingResources, StartTime as BookingStartTime, ChannelAuthSetting, ClientCard, ClientSearch, ComprehensiveSearch, ContactInfo, ContactInfoModal, CustomerAuth, CustomerOAuthConfig, type CustomerOAuthConfigProps, DeviceAuth, type DeviceAuthProps, CupList as EcoCupList, EcoCupProject, CustomerList as EcoCustomerList, _default as EditBookingModal, _default$1 as Eftpos, _default$2 as EftposPay, EventBooking, BookingAvailabilityCalendar as EventBookingAvailabilityCalendar, BookingDetailModal as EventBookingDetailModal, BookingServiceList as EventBookingServiceList, EventCard, PisellProductCard as EventProductCard, ProgressBar as EventProgressBar, PisellResourceCard as EventResourceDisplay, EventResourceUsability, EventScheduleCalendar, PisellSelectHolder as EventSelectHolder, TimeResourceSelector as EventTimeResourceSelector, type FinancialSummaryAmountFormatOptions, type FinancialSummaryData, type FinancialSummaryLineItem, type FinancialSummaryPaymentItem, type FinancialSummaryRefundItem, type FinancialSummaryTotalBlock, type FloorMapBookingClickArgs, type FloorMapBookingClickMode, HolderList, KioskSkuDetail, Login, Login2, type LoginProps, OAuthConfig, Onlineshopauth as OnlineShopAuth, OrderList, OrgAdminAuth, type OrgAdminAuthProps, PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY, PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY, POSOperatorAuth, type POSOperatorAuthProps, PiPaymentResult, _default$3 as PinModal, _default$4 as PinVerifyModal, _default$5 as PisellAdyenDashboard, PisellCashCounting, PisellFinancialSummary, type PisellFinancialSummaryProps, PisellFloorMapPaletteViewAllModal, PisellProResourcePickerModal, type PisellProResourcePickerModalProps, type PisellProResourcePickerMode, PisellReservation, PisellReservationBookingPage, PisellReservationCore, type PisellReservationProps, PisellReservationTablePage, type PisellReservationTableRow, PisellSalesGrid, PisellSelectCustomerModal, PisellTopology, PisellTopologyCore, type PisellTopologyProps, PisellVenueControlPage, PisellVenueWallPage, PisellNumberSelector as ProNumberSelector, ProductExtension, _default$6 as ProductStockCheckModal, Register2, type ResourceSelectModeConfig, RuleSetting, SKUOptionsSelection, SaaSAdminAuth, type SaaSAdminAuthProps, SaaSManagermentAuth, SaasAttendance, SaasCreateOrganization, SaasDevicePasscodes, type SaasDevicePasscodesProps, SaasDevicePlanning, type SaasDevicePlanningProps, SaasDeviceProfile, type SaasDeviceProfileProps, SaasLogin, _default$7 as SaasRegister, SaasRole, SaasTeamMembers, type SaasTeamMembersProps, SaleDetail, ScanOrder, type ScanOrderProps, Schedules, SelectFloorMapResourceDialog, type SelectFloorMapResourcePayload, PisellSelectHolder$1 as SelectHolder, Selector, Registry as SettingsRegistry, shoppingCart as ShoppingCart, StepController, SubTotal, TaxSelect, _default$8 as TicketBooking, _default$9 as ToCPay, type TopologyDeviceRow, VenueBooking, AddServiceVariant as VerticalAddService, VerticalClient, WalletEditor, WalletList, PassDetail as WalletPassDetail, WalletPassGallery, WorkspacesList as WorkspaceList, WorkSpaceListDetail as WorkspaceListDetail, PisellReservationBookingPage as default, defaultReservationTableRows, _default$10 as financialSummaryLocales, getDefaultReservationFloorMapConfig, PisellSalesManagement as pisellSalesManagement };
|
|
134
|
+
export { AppointmentBooking, Deposit as AppointmentDeposit, AuthModal, Booking, Addons as BookingAddons, Contacts as BookingContacts, BookingDashboard, Deposit$1 as BookingDeposit, Duration as BookingDuration, Forms as BookingForms, APP as BookingInfo, Notes as BookingNotes, Payments as BookingPayment, Resources as BookingResources, StartTime as BookingStartTime, ChannelAuthSetting, ClientCard, ClientSearch, ComprehensiveSearch, ContactInfo, ContactInfoModal, CustomerAuth, CustomerOAuthConfig, type CustomerOAuthConfigProps, DeviceAuth, type DeviceAuthProps, CupList as EcoCupList, EcoCupProject, CustomerList as EcoCustomerList, _default as EditBookingModal, _default$1 as Eftpos, _default$2 as EftposPay, EventBooking, BookingAvailabilityCalendar as EventBookingAvailabilityCalendar, BookingDetailModal as EventBookingDetailModal, BookingServiceList as EventBookingServiceList, EventCard, PisellProductCard as EventProductCard, ProgressBar as EventProgressBar, PisellResourceCard as EventResourceDisplay, EventResourceUsability, EventScheduleCalendar, PisellSelectHolder as EventSelectHolder, TimeResourceSelector as EventTimeResourceSelector, type FinancialSummaryAmountFormatOptions, type FinancialSummaryData, type FinancialSummaryLineItem, type FinancialSummaryPaymentItem, type FinancialSummaryRefundItem, type FinancialSummaryTotalBlock, type FloorMapBookingClickArgs, type FloorMapBookingClickMode, HolderList, InventoryItemManagement, type InventoryPageProps as InventoryItemManagementProps, InventoryLocationManagement, type InventoryPageProps as InventoryLocationManagementProps, type InventoryPageProps, InventoryUnitManagement, type InventoryPageProps as InventoryUnitManagementProps, KioskSkuDetail, Login, Login2, type LoginProps, OAuthConfig, Onlineshopauth as OnlineShopAuth, OrderList, OrgAdminAuth, type OrgAdminAuthProps, PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY, PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY, POSOperatorAuth, type POSOperatorAuthProps, PanpacificTask, type PanpacificTaskProps, PiPaymentResult, _default$3 as PinModal, _default$4 as PinVerifyModal, _default$5 as PisellAdyenDashboard, PisellCashCounting, PisellFinancialSummary, type PisellFinancialSummaryProps, PisellFloorMapPaletteViewAllModal, PisellProResourcePickerModal, type PisellProResourcePickerModalProps, type PisellProResourcePickerMode, PisellReservation, PisellReservationBookingPage, PisellReservationCore, type PisellReservationProps, PisellReservationTablePage, type PisellReservationTableRow, PisellSalesGrid, PisellSelectCustomerModal, PisellSupersetDashboard, type PisellSupersetDashboardProps, PisellTopology, PisellTopologyCore, type PisellTopologyProps, PisellVenueControlPage, PisellVenueWallPage, PisellNumberSelector as ProNumberSelector, ProductExtension, _default$6 as ProductStockCheckModal, Register2, type ResourceSelectModeConfig, RuleSetting, SKUOptionsSelection, SaaSAdminAuth, type SaaSAdminAuthProps, SaaSManagermentAuth, SaasAttendance, SaasCreateOrganization, SaasDevicePasscodes, type SaasDevicePasscodesProps, SaasDevicePlanning, type SaasDevicePlanningProps, SaasDeviceProfile, type SaasDeviceProfileProps, SaasLogin, _default$7 as SaasRegister, SaasRole, SaasTeamMembers, type SaasTeamMembersProps, SaleDetail, ScanOrder, type ScanOrderProps, Schedules, SelectFloorMapResourceDialog, type SelectFloorMapResourcePayload, PisellSelectHolder$1 as SelectHolder, Selector, Registry as SettingsRegistry, shoppingCart as ShoppingCart, StepController, SubTotal, TaxSelect, _default$8 as TicketBooking, _default$9 as ToCPay, type TopologyDeviceRow, VenueBooking, AddServiceVariant as VerticalAddService, VerticalClient, WalletEditor, WalletList, PassDetail as WalletPassDetail, WalletPassGallery, WorkspacesList as WorkspaceList, WorkSpaceListDetail as WorkspaceListDetail, PisellReservationBookingPage as default, defaultReservationTableRows, _default$10 as financialSummaryLocales, getDefaultReservationFloorMapConfig, PisellSalesManagement as pisellSalesManagement };
|
package/es/index.js
CHANGED
|
@@ -28,6 +28,7 @@ import eftpos_default from "./components/eftpos/index.js";
|
|
|
28
28
|
import pinModal_default from "./components/pinModal/index.js";
|
|
29
29
|
import WalletList from "./components/walletList/index.js";
|
|
30
30
|
import BookingDashboard from "./components/booking/dashboard/index.js";
|
|
31
|
+
import PisellSupersetDashboard from "./plus/pisellSupersetDashboard/index.js";
|
|
31
32
|
import PisellSelectCustomerModal from "./components/pisellSelectCustomerModal/index.js";
|
|
32
33
|
import ProgressBar from "./components/eventBooking/components/progressBar/index.js";
|
|
33
34
|
import PisellSelectHolder from "./components/eventBooking/components/selectHolder/index.js";
|
|
@@ -78,6 +79,9 @@ import HolderList from "./plus/selectHolder/components/HolderList/index.js";
|
|
|
78
79
|
import PisellSelectHolder$1 from "./plus/selectHolder/index.js";
|
|
79
80
|
import SaasRole from "./plus/saasRole/index.js";
|
|
80
81
|
import SaasTeamMembers from "./plus/saasTeamMembers/index.js";
|
|
82
|
+
import InventoryItemManagement from "./plus/inventory/InventoryItemManagement.js";
|
|
83
|
+
import InventoryUnitManagement from "./plus/inventory/InventoryUnitManagement.js";
|
|
84
|
+
import InventoryLocationManagement from "./plus/inventory/InventoryLocationManagement.js";
|
|
81
85
|
import SaasDeviceProfile from "./plus/saasDevice/deviceProfile/index.js";
|
|
82
86
|
import SaasDevicePlanning from "./plus/saasDevice/devicePlanning/index.js";
|
|
83
87
|
import SaasDevicePasscodes from "./plus/saasDevice/devicePasscodes/index.js";
|
|
@@ -96,6 +100,7 @@ import PisellSalesManagement from "./plus/pisellSalesManagement/index.js";
|
|
|
96
100
|
import { PisellFinancialSummary } from "./plus/pisellFinancialSummary/PisellFinancialSummary.js";
|
|
97
101
|
import locales_default from "./plus/pisellFinancialSummary/locales.js";
|
|
98
102
|
import PiPaymentResult from "./plus/piPaymentResult/index.js";
|
|
103
|
+
import PanpacificTask from "./plus/panpacificTask/PanpacificTask.js";
|
|
99
104
|
import { defaultReservationTableRows, getDefaultReservationFloorMapConfig } from "./plus/pisellReservation/floorMap/reservationMock.js";
|
|
100
105
|
import { PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY, PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY } from "./plus/pisellReservation/reservationConstants.js";
|
|
101
106
|
import PisellProResourcePickerModal from "./plus/pisellProResourcePickerModal/PisellProResourcePickerModal.js";
|
|
@@ -106,7 +111,6 @@ import PisellVenueControlPage from "./plus/pisellReservation/PisellVenueControlP
|
|
|
106
111
|
import PisellVenueWallPage from "./plus/pisellReservation/PisellVenueWallPage.js";
|
|
107
112
|
import PisellReservationTablePage from "./plus/pisellReservation/PisellReservationTablePage.js";
|
|
108
113
|
import SelectFloorMapResourceDialog from "./plus/pisellReservation/components/SelectFloorMapResourceDialog.js";
|
|
109
|
-
import "./plus/pisellReservation/index.js";
|
|
110
114
|
import { PisellTopology, PisellTopologyCore } from "./plus/pisellTopology/PisellTopology.js";
|
|
111
115
|
import pisellAdyenDashboard_default from "./plus/pisellAdyenDashboard/index.js";
|
|
112
116
|
import weekday from "dayjs/plugin/weekday";
|
|
@@ -116,4 +120,4 @@ import localeData from "dayjs/plugin/localeData";
|
|
|
116
120
|
dayjs.extend(weekday);
|
|
117
121
|
dayjs.extend(localeData);
|
|
118
122
|
//#endregion
|
|
119
|
-
export { AppointmentBooking, Deposit as AppointmentDeposit, AuthModal, Booking, Addons as BookingAddons, Contacts as BookingContacts, BookingDashboard, Deposit$1 as BookingDeposit, Duration as BookingDuration, Forms as BookingForms, APP as BookingInfo, Notes as BookingNotes, Payments as BookingPayment, Resources as BookingResources, StartTime as BookingStartTime, ChannelAuthSetting, ClientCard, ClientSearch, ComprehensiveSearch, ContactInfo, ContactInfoModal, CustomerAuth, CustomerOAuthConfig, DeviceAuth, CupList as EcoCupList, EcoCupProject, CustomerList as EcoCustomerList, editBookingModal_default as EditBookingModal, eftpos_default as Eftpos, eftposPay_default as EftposPay, EventBooking, BookingAvailabilityCalendar as EventBookingAvailabilityCalendar, BookingDetailModal as EventBookingDetailModal, BookingServiceList as EventBookingServiceList, EventCard, PisellProductCard as EventProductCard, ProgressBar as EventProgressBar, PisellResourceCard as EventResourceDisplay, EventResourceUsability, EventScheduleCalendar, PisellSelectHolder as EventSelectHolder, TimeResourceSelector as EventTimeResourceSelector, HolderList, KioskSkuDetail, Login, Login2, OAuthConfig, Onlineshopauth as OnlineShopAuth, OrderList, OrgAdminAuth, PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY, PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY, POSOperatorAuth, PiPaymentResult, pinModal_default as PinModal, pinVerifyModal_default as PinVerifyModal, pisellAdyenDashboard_default as PisellAdyenDashboard, PisellCashCounting, PisellFinancialSummary, PisellFloorMapPaletteViewAllModal, PisellProResourcePickerModal, PisellReservation, PisellReservationBookingPage, PisellReservationCore, PisellReservationTablePage, pisellSalesGrid_default as PisellSalesGrid, PisellSelectCustomerModal, PisellTopology, PisellTopologyCore, PisellVenueControlPage, PisellVenueWallPage, PisellNumberSelector as ProNumberSelector, ProductExtension, productStockCheckModal_default as ProductStockCheckModal, Register2, RuleSetting, SKUOptionsSelection, SaaSAdminAuth, SaaSManagermentAuth, SaasAttendance, SaasCreateOrganization, SaasDevicePasscodes, SaasDevicePlanning, SaasDeviceProfile, SaasLogin, saasRegister_default as SaasRegister, SaasRole, SaasTeamMembers, SaleDetail, ScanOrder, Schedules, SelectFloorMapResourceDialog, PisellSelectHolder$1 as SelectHolder, Selector, Registry as SettingsRegistry, shoppingCart as ShoppingCart, StepController, SubTotal, TaxSelect, ticketBooking_default as TicketBooking, toC_default as ToCPay, VenueBooking, AddServiceVariant as VerticalAddService, VerticalClient, walletEditor_default as WalletEditor, WalletList, PassDetail as WalletPassDetail, WalletPassGallery, WorkspacesList as WorkspaceList, WorkSpaceListDetail as WorkspaceListDetail, PisellReservationBookingPage as default, defaultReservationTableRows, locales_default as financialSummaryLocales, getDefaultReservationFloorMapConfig, PisellSalesManagement as pisellSalesManagement };
|
|
123
|
+
export { AppointmentBooking, Deposit as AppointmentDeposit, AuthModal, Booking, Addons as BookingAddons, Contacts as BookingContacts, BookingDashboard, Deposit$1 as BookingDeposit, Duration as BookingDuration, Forms as BookingForms, APP as BookingInfo, Notes as BookingNotes, Payments as BookingPayment, Resources as BookingResources, StartTime as BookingStartTime, ChannelAuthSetting, ClientCard, ClientSearch, ComprehensiveSearch, ContactInfo, ContactInfoModal, CustomerAuth, CustomerOAuthConfig, DeviceAuth, CupList as EcoCupList, EcoCupProject, CustomerList as EcoCustomerList, editBookingModal_default as EditBookingModal, eftpos_default as Eftpos, eftposPay_default as EftposPay, EventBooking, BookingAvailabilityCalendar as EventBookingAvailabilityCalendar, BookingDetailModal as EventBookingDetailModal, BookingServiceList as EventBookingServiceList, EventCard, PisellProductCard as EventProductCard, ProgressBar as EventProgressBar, PisellResourceCard as EventResourceDisplay, EventResourceUsability, EventScheduleCalendar, PisellSelectHolder as EventSelectHolder, TimeResourceSelector as EventTimeResourceSelector, HolderList, InventoryItemManagement, InventoryLocationManagement, InventoryUnitManagement, KioskSkuDetail, Login, Login2, OAuthConfig, Onlineshopauth as OnlineShopAuth, OrderList, OrgAdminAuth, PISELL_RESERVATION_TABLE_PAGE_STORAGE_KEY, PISELL_RESERVATION_VENUE_WALL_PAGE_STORAGE_KEY, POSOperatorAuth, PanpacificTask, PiPaymentResult, pinModal_default as PinModal, pinVerifyModal_default as PinVerifyModal, pisellAdyenDashboard_default as PisellAdyenDashboard, PisellCashCounting, PisellFinancialSummary, PisellFloorMapPaletteViewAllModal, PisellProResourcePickerModal, PisellReservation, PisellReservationBookingPage, PisellReservationCore, PisellReservationTablePage, pisellSalesGrid_default as PisellSalesGrid, PisellSelectCustomerModal, PisellSupersetDashboard, PisellTopology, PisellTopologyCore, PisellVenueControlPage, PisellVenueWallPage, PisellNumberSelector as ProNumberSelector, ProductExtension, productStockCheckModal_default as ProductStockCheckModal, Register2, RuleSetting, SKUOptionsSelection, SaaSAdminAuth, SaaSManagermentAuth, SaasAttendance, SaasCreateOrganization, SaasDevicePasscodes, SaasDevicePlanning, SaasDeviceProfile, SaasLogin, saasRegister_default as SaasRegister, SaasRole, SaasTeamMembers, SaleDetail, ScanOrder, Schedules, SelectFloorMapResourceDialog, PisellSelectHolder$1 as SelectHolder, Selector, Registry as SettingsRegistry, shoppingCart as ShoppingCart, StepController, SubTotal, TaxSelect, ticketBooking_default as TicketBooking, toC_default as ToCPay, VenueBooking, AddServiceVariant as VerticalAddService, VerticalClient, walletEditor_default as WalletEditor, WalletList, PassDetail as WalletPassDetail, WalletPassGallery, WorkspacesList as WorkspaceList, WorkSpaceListDetail as WorkspaceListDetail, PisellReservationBookingPage as default, defaultReservationTableRows, locales_default as financialSummaryLocales, getDefaultReservationFloorMapConfig, PisellSalesManagement as pisellSalesManagement };
|