@pisell/private-materials 6.12.358 → 6.12.360
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/preview.js +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.js +3 -3
- package/es/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.js +0 -1
- package/es/components/bigSale/components/ProductList/index.js +0 -1
- package/es/components/bigSale/components/TimeBar/index.js +0 -1
- package/es/components/bigSale/dialog.js +0 -1
- package/es/components/bigSale/hooks/useBigSaleContext.js +0 -1
- package/es/components/bigSale/hooks/useSelectFloorMapResourceForBigSale.js +0 -1
- package/es/components/bigSale/index.js +2 -2
- package/es/components/bigSale/templates/Kiosk/index.js +0 -1
- package/es/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.js +0 -1
- package/es/index.js +0 -2
- package/es/plus/multiCurrencySettlement/index.js +1 -1
- 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/pisellSalesProductCard/index.js +8 -3
- package/es/plus/saleDetail/Base.js +0 -1
- package/es/plus/saleDetail/components/Client/hooks/useClientSelectorProps.js +0 -1
- package/es/plus/saleDetail/components/DetailActions/PrintAction.js +0 -1
- package/es/plus/saleDetail/components/DetailActions/index.js +0 -1
- package/es/plus/saleDetail/components/SummaryFinancialSections/index.js +0 -1
- package/es/plus/saleDetail/index.js +0 -1
- package/es/plus/saleDetail/tmpl/B/components/Dish/index.js +0 -1
- package/es/plus/saleDetail/tmpl/B/index.js +0 -1
- package/es/plus/salesSdk/utils/addProductWithFlowDebounced.js +1 -1
- package/es/plus/salesSdk/utils/bookingDate.js +1 -1
- package/es/plus/salesSdk/utils/enrichCartLineHolderDisplay.js +1 -1
- 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 +2 -2
- package/es/pro/Login2.0/shared/types.d.ts +1 -1
- package/es/pro/skuDetailModal/index.js +33 -5
- package/es/pro/skuDetailModal/noteDiagnostics.js +110 -0
- package/lib/components/bigSale/index.js +2 -1
- package/lib/plus/pisellSalesProductCard/index.js +8 -3
- package/lib/pro/skuDetailModal/index.js +33 -5
- package/lib/pro/skuDetailModal/noteDiagnostics.js +110 -0
- package/package.json +2 -2
- package/es/plus/pisellReservation/index.js +0 -17
- package/es/plus/salesSdk/index.js +0 -54
|
@@ -26,6 +26,7 @@ const require_locales$1 = require("./flow/locales.js");
|
|
|
26
26
|
const require_rememberTime = require("./flow/rememberTime.js");
|
|
27
27
|
const require_index$6 = require("./appearances/index.js");
|
|
28
28
|
const require_useToast = require("../../hooks/useToast.js");
|
|
29
|
+
const require_noteDiagnostics = require("./noteDiagnostics.js");
|
|
29
30
|
const require_LoadingPanel = require("./LoadingPanel.js");
|
|
30
31
|
const require_index$7 = require("./components/CollapsibleSection/index.js");
|
|
31
32
|
const require_utils$4 = require("./components/weighing/utils.js");
|
|
@@ -246,6 +247,13 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
246
247
|
const selectionFlowCanScrollDownRef = (0, react.useRef)(false);
|
|
247
248
|
const Toast = require_useToast.default();
|
|
248
249
|
const logger = require_useLogger.default();
|
|
250
|
+
const loggerRef = (0, react.useRef)(logger);
|
|
251
|
+
loggerRef.current = logger;
|
|
252
|
+
const noteDiagnosticsRef = (0, react.useRef)(null);
|
|
253
|
+
(0, react.useEffect)(() => () => {
|
|
254
|
+
var _noteDiagnosticsRef$c;
|
|
255
|
+
return (_noteDiagnosticsRef$c = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c === void 0 ? void 0 : _noteDiagnosticsRef$c.stop();
|
|
256
|
+
}, []);
|
|
249
257
|
/**
|
|
250
258
|
* @description SKUOptionsSelection ref,用于触发内部校验与读取最终值
|
|
251
259
|
*/
|
|
@@ -929,7 +937,9 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
929
937
|
},
|
|
930
938
|
open: function() {
|
|
931
939
|
var _ref17 = require_asyncToGenerator._asyncToGenerator(function* (data) {
|
|
932
|
-
var _skuDetailConfig$enab, _skuDetailConfig$isSh, _skuDetailConfig$isSh2, _skuDetailConfig$isSh3, _skuDetailConfig$isSh4, _skuDetailConfig$isSh5, _skuDetailConfig$hide, _skuDetailConfig$isSh6, _skuDetailConfig$isSh7, _skuDetailConfig$isSh8, _skuDetailConfig$exte, _skuDetailConfig$useC, _skuDetailConfig$cust, _skuDetailConfig$isCa, _skuDetailConfig, _skuDetailConfig2, _data$bundle_group, _data$_extend, _data$_extend2, _data$discount_list, _ref15, _data$_extend3, _data$_extend4, _data$_extend5, _data$discount_list$f, _data$discount_list2, _ref16, _data$_extend$priceOv, _data$_extend7;
|
|
940
|
+
var _noteDiagnosticsRef$c2, _product_id, _skuDetailConfig$enab, _skuDetailConfig$isSh, _skuDetailConfig$isSh2, _skuDetailConfig$isSh3, _skuDetailConfig$isSh4, _skuDetailConfig$isSh5, _skuDetailConfig$hide, _skuDetailConfig$isSh6, _skuDetailConfig$isSh7, _skuDetailConfig$isSh8, _skuDetailConfig$exte, _skuDetailConfig$useC, _skuDetailConfig$cust, _skuDetailConfig$isCa, _skuDetailConfig, _skuDetailConfig2, _data$bundle_group, _data$_extend, _data$_extend2, _data$discount_list, _ref15, _data$_extend3, _data$_extend4, _data$_extend5, _data$discount_list$f, _data$discount_list2, _ref16, _data$_extend$priceOv, _data$_extend7;
|
|
941
|
+
(_noteDiagnosticsRef$c2 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c2 === void 0 || _noteDiagnosticsRef$c2.stop();
|
|
942
|
+
noteDiagnosticsRef.current = require_noteDiagnostics.createSkuNoteDiagnostics(() => loggerRef.current, (_product_id = data.product_id) !== null && _product_id !== void 0 ? _product_id : data.id, "date" in data && !("_extend" in data) ? "create" : "edit");
|
|
933
943
|
selectionFlowOpenedAtRef.current = (0, dayjs.default)().toISOString();
|
|
934
944
|
const currentTaskId = openTaskIdRef.current + 1;
|
|
935
945
|
openTaskIdRef.current = currentTaskId;
|
|
@@ -1256,6 +1266,8 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
1256
1266
|
};
|
|
1257
1267
|
}(),
|
|
1258
1268
|
close: () => {
|
|
1269
|
+
var _noteDiagnosticsRef$c3;
|
|
1270
|
+
(_noteDiagnosticsRef$c3 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c3 === void 0 || _noteDiagnosticsRef$c3.stop();
|
|
1259
1271
|
openTaskIdRef.current += 1;
|
|
1260
1272
|
setOpen(false);
|
|
1261
1273
|
setDetailLoading(false);
|
|
@@ -1489,6 +1501,8 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
1489
1501
|
* @description 关闭动画结束后再清空详情态,避免退出动画期间因 productData 为空闪回骨架屏。
|
|
1490
1502
|
*/
|
|
1491
1503
|
const resetModalStateAfterClose = (0, react.useCallback)(() => {
|
|
1504
|
+
var _noteDiagnosticsRef$c4;
|
|
1505
|
+
(_noteDiagnosticsRef$c4 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c4 === void 0 || _noteDiagnosticsRef$c4.stop();
|
|
1492
1506
|
setProductData(null);
|
|
1493
1507
|
setDetailLoading(false);
|
|
1494
1508
|
setNote("");
|
|
@@ -1512,6 +1526,8 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
1512
1526
|
lateQuantityRevalidationTaskRef.current = null;
|
|
1513
1527
|
}, []);
|
|
1514
1528
|
const modalCloseAction = () => {
|
|
1529
|
+
var _noteDiagnosticsRef$c5;
|
|
1530
|
+
(_noteDiagnosticsRef$c5 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c5 === void 0 || _noteDiagnosticsRef$c5.stop();
|
|
1515
1531
|
openTaskIdRef.current += 1;
|
|
1516
1532
|
flowDateHydrationVersionRef.current += 1;
|
|
1517
1533
|
lateQuantityReviewStepIndexRef.current = null;
|
|
@@ -1534,7 +1550,8 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
1534
1550
|
};
|
|
1535
1551
|
const handleConfirm = function() {
|
|
1536
1552
|
var _ref18 = require_asyncToGenerator._asyncToGenerator(function* (flowDraft) {
|
|
1537
|
-
var _bookingState$booking3, _selectionFlowRef$cur8, _selectionFlowService3;
|
|
1553
|
+
var _noteDiagnosticsRef$c6, _bookingState$booking3, _selectionFlowRef$cur8, _selectionFlowService3;
|
|
1554
|
+
(_noteDiagnosticsRef$c6 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c6 === void 0 || _noteDiagnosticsRef$c6.skuConfirm(note.length);
|
|
1538
1555
|
if (confirmDisabledRef.current) return false;
|
|
1539
1556
|
if (flowDraft && require_rememberTime.requiresManualTimeSelection(flowDraft)) return false;
|
|
1540
1557
|
if (isCustomSelectionFlow && !flowDraft) {
|
|
@@ -1856,17 +1873,28 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
1856
1873
|
productData === null || productData === void 0 ? void 0 : productData._id,
|
|
1857
1874
|
productData === null || productData === void 0 ? void 0 : productData.id
|
|
1858
1875
|
]);
|
|
1876
|
+
const onOpenNote = () => {
|
|
1877
|
+
var _noteDiagnosticsRef$c7;
|
|
1878
|
+
(_noteDiagnosticsRef$c7 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c7 === void 0 || _noteDiagnosticsRef$c7.open(note.length);
|
|
1879
|
+
setNoteModalOpen(true);
|
|
1880
|
+
};
|
|
1859
1881
|
const onNoteConfirm = (note) => {
|
|
1882
|
+
var _noteDiagnosticsRef$c8;
|
|
1883
|
+
(_noteDiagnosticsRef$c8 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c8 === void 0 || _noteDiagnosticsRef$c8.confirm(note.length);
|
|
1860
1884
|
setNote(note);
|
|
1861
1885
|
updateCustomFlowDraft({ note }, ["note"]);
|
|
1862
1886
|
setNoteModalOpen(false);
|
|
1863
1887
|
};
|
|
1864
1888
|
const onNoteDelete = () => {
|
|
1889
|
+
var _noteDiagnosticsRef$c9;
|
|
1890
|
+
(_noteDiagnosticsRef$c9 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c9 === void 0 || _noteDiagnosticsRef$c9.stop();
|
|
1865
1891
|
setNote("");
|
|
1866
1892
|
updateCustomFlowDraft({ note: "" }, ["note"]);
|
|
1867
1893
|
setNoteModalOpen(false);
|
|
1868
1894
|
};
|
|
1869
1895
|
const onNoteCancel = () => {
|
|
1896
|
+
var _noteDiagnosticsRef$c10;
|
|
1897
|
+
(_noteDiagnosticsRef$c10 = noteDiagnosticsRef.current) === null || _noteDiagnosticsRef$c10 === void 0 || _noteDiagnosticsRef$c10.stop();
|
|
1870
1898
|
setNoteModalOpen(false);
|
|
1871
1899
|
};
|
|
1872
1900
|
const handleManualPriceChange = () => {
|
|
@@ -2002,7 +2030,7 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
2002
2030
|
max: 99999
|
|
2003
2031
|
})), note && /* @__PURE__ */ react.default.createElement("div", { className: "note-section note-section-right" }, /* @__PURE__ */ react.default.createElement("div", { className: "note-label" }, _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.note")), /* @__PURE__ */ react.default.createElement("div", {
|
|
2004
2032
|
className: "note-text",
|
|
2005
|
-
onClick:
|
|
2033
|
+
onClick: onOpenNote
|
|
2006
2034
|
}, note))), /* @__PURE__ */ react.default.createElement("div", { className: "price-summary-section" }, !isVirtualOnlySettlement ? /* @__PURE__ */ react.default.createElement("div", { className: "price-item" }, /* @__PURE__ */ react.default.createElement("div", null, _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.subtotal")), /* @__PURE__ */ react.default.createElement("div", null, subtotalText)) : null, !isVirtualOnlySettlement ? /* @__PURE__ */ react.default.createElement("div", { className: "price-item" }, /* @__PURE__ */ react.default.createElement("div", null, _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.discount"), discountsCount > 0 && /* @__PURE__ */ react.default.createElement("span", { className: "price-item-danger" }, "\xA0(", discountsCount, ")")), /* @__PURE__ */ react.default.createElement("div", { className: "price-item-danger" }, discountsCount > 0 ? "-" : "", symbol, totalDiscounts)) : null, !isVirtualOnlySettlement && priceOverride !== null && typeof priceOverride !== "undefined" && /* @__PURE__ */ react.default.createElement("div", { className: "price-item" }, /* @__PURE__ */ react.default.createElement("div", { onClick: handleManualPriceChange }, _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.manual.price.change"), /* @__PURE__ */ react.default.createElement("span", { className: "price-item-override" }, priceOverrideText)), /* @__PURE__ */ react.default.createElement("div", { className: "price-item-danger" }, priceChangeText)), /* @__PURE__ */ react.default.createElement("div", { className: "price-item-total" }, /* @__PURE__ */ react.default.createElement("div", { className: "price-item-total-label" }, _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.total"), !isVirtualOnlySettlement ? /* @__PURE__ */ react.default.createElement("span", { className: "price-item-total-gst" }, "(", (productData === null || productData === void 0 ? void 0 : productData.is_charge_tax) ? _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.gst.incl") : _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.gst.excl"), ")") : null), /* @__PURE__ */ react.default.createElement("div", { className: "price-item-total-values" }, !isVirtualOnlySettlement ? /* @__PURE__ */ react.default.createElement("div", { className: "price-item-total-value" }, totalText) : null, virtualSettlementTotals.map(({ option, text }) => /* @__PURE__ */ react.default.createElement("div", {
|
|
2007
2035
|
key: `virtual:${String(option.currency_product_id || option.data_variant_id)}`,
|
|
2008
2036
|
className: `price-item-total-settlement-value${option.available === false ? " is-disabled" : ""}`,
|
|
@@ -2020,7 +2048,7 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
2020
2048
|
onCancel: handleCancel,
|
|
2021
2049
|
onRemove: handleRemove,
|
|
2022
2050
|
onManualPriceChange: handleManualPriceChange,
|
|
2023
|
-
onOpenNote
|
|
2051
|
+
onOpenNote,
|
|
2024
2052
|
onConfirm: () => {
|
|
2025
2053
|
handleConfirm();
|
|
2026
2054
|
}
|
|
@@ -2277,7 +2305,7 @@ const SkuDetailModal = ({ onConfirm, onRemove, onClose, variant, confirmDisabled
|
|
|
2277
2305
|
type: "button",
|
|
2278
2306
|
className: "sku-detail-appearance__note",
|
|
2279
2307
|
disabled: appearanceConfirmPending,
|
|
2280
|
-
onClick:
|
|
2308
|
+
onClick: onOpenNote
|
|
2281
2309
|
}, note || _pisell_utils.locales.getText("pisell2.text.sku.detail.modal.btn.add.note")),
|
|
2282
2310
|
removeControl: !isCreateMode && skuDetailConfig.isShowRemove !== false && onRemove && /* @__PURE__ */ react.default.createElement("button", {
|
|
2283
2311
|
type: "button",
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
//#region src/pro/skuDetailModal/noteDiagnostics.ts
|
|
2
|
+
const VIEWPORT_INTERVAL_MS = 250;
|
|
3
|
+
const MAX_VIEWPORT_EVENTS = 10;
|
|
4
|
+
/** SKU 内默认启用;不修改 NoteModal 接口或商品数据。 */
|
|
5
|
+
function createSkuNoteDiagnostics(getLogger, productId, mode) {
|
|
6
|
+
const startedAtMs = Date.now();
|
|
7
|
+
const traceId = `sku-note-${startedAtMs}-${Math.random().toString(36).slice(2)}`;
|
|
8
|
+
let seq = 0;
|
|
9
|
+
let noteLength = 0;
|
|
10
|
+
let opened = false;
|
|
11
|
+
let active = false;
|
|
12
|
+
let noteAttempt = 0;
|
|
13
|
+
let skuConfirmLogged = false;
|
|
14
|
+
let cleanup = () => {};
|
|
15
|
+
const seen = /* @__PURE__ */ new Set();
|
|
16
|
+
const log = (event, source) => {
|
|
17
|
+
try {
|
|
18
|
+
var _getLogger, _document$body;
|
|
19
|
+
const capturedAtMs = Date.now();
|
|
20
|
+
const viewport = window.visualViewport;
|
|
21
|
+
(_getLogger = getLogger()) === null || _getLogger === void 0 || _getLogger.addLog({
|
|
22
|
+
type: "info",
|
|
23
|
+
title: event,
|
|
24
|
+
metadata: {
|
|
25
|
+
module: "SkuNoteDiagnostics",
|
|
26
|
+
category: "performance",
|
|
27
|
+
traceId,
|
|
28
|
+
seq: ++seq,
|
|
29
|
+
capturedAtMs,
|
|
30
|
+
elapsedMs: Math.max(0, capturedAtMs - startedAtMs),
|
|
31
|
+
productId,
|
|
32
|
+
mode,
|
|
33
|
+
noteAttempt,
|
|
34
|
+
noteLength,
|
|
35
|
+
source,
|
|
36
|
+
viewport: {
|
|
37
|
+
innerWidth: window.innerWidth,
|
|
38
|
+
innerHeight: window.innerHeight,
|
|
39
|
+
visualViewport: viewport ? {
|
|
40
|
+
width: viewport.width,
|
|
41
|
+
height: viewport.height,
|
|
42
|
+
offsetTop: viewport.offsetTop,
|
|
43
|
+
scale: viewport.scale
|
|
44
|
+
} : null,
|
|
45
|
+
bodyTransform: ((_document$body = document.body) === null || _document$body === void 0 ? void 0 : _document$body.style.transform) || ""
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
} catch (_unused) {}
|
|
50
|
+
};
|
|
51
|
+
const stop = () => {
|
|
52
|
+
active = false;
|
|
53
|
+
cleanup();
|
|
54
|
+
cleanup = () => {};
|
|
55
|
+
};
|
|
56
|
+
return {
|
|
57
|
+
open(length) {
|
|
58
|
+
stop();
|
|
59
|
+
opened = active = true;
|
|
60
|
+
noteLength = length;
|
|
61
|
+
noteAttempt += 1;
|
|
62
|
+
seen.clear();
|
|
63
|
+
let count = 0;
|
|
64
|
+
let lastAt = -Infinity;
|
|
65
|
+
const onResize = (event) => {
|
|
66
|
+
const now = Date.now();
|
|
67
|
+
if (!active || count >= MAX_VIEWPORT_EVENTS || now - lastAt < VIEWPORT_INTERVAL_MS) return;
|
|
68
|
+
lastAt = now;
|
|
69
|
+
count += 1;
|
|
70
|
+
log("note_viewport_change", event.currentTarget === window ? "window" : "visualViewport");
|
|
71
|
+
};
|
|
72
|
+
const onNoteEvent = (event) => {
|
|
73
|
+
const target = event.target;
|
|
74
|
+
if (!active || !(target instanceof HTMLTextAreaElement) || !target.closest(".note-modal-content .note-input")) return;
|
|
75
|
+
noteLength = target.value.length;
|
|
76
|
+
const title = event.type === "focusin" ? "note_focus" : "note_first_input";
|
|
77
|
+
if (seen.has(title)) return;
|
|
78
|
+
seen.add(title);
|
|
79
|
+
log(title);
|
|
80
|
+
};
|
|
81
|
+
const visualViewport = window.visualViewport;
|
|
82
|
+
window.addEventListener("resize", onResize);
|
|
83
|
+
visualViewport === null || visualViewport === void 0 || visualViewport.addEventListener("resize", onResize);
|
|
84
|
+
document.addEventListener("focusin", onNoteEvent, true);
|
|
85
|
+
document.addEventListener("input", onNoteEvent, true);
|
|
86
|
+
cleanup = () => {
|
|
87
|
+
window.removeEventListener("resize", onResize);
|
|
88
|
+
visualViewport === null || visualViewport === void 0 || visualViewport.removeEventListener("resize", onResize);
|
|
89
|
+
document.removeEventListener("focusin", onNoteEvent, true);
|
|
90
|
+
document.removeEventListener("input", onNoteEvent, true);
|
|
91
|
+
};
|
|
92
|
+
log("note_open");
|
|
93
|
+
},
|
|
94
|
+
confirm(length) {
|
|
95
|
+
if (!active) return;
|
|
96
|
+
noteLength = length;
|
|
97
|
+
log("note_confirm");
|
|
98
|
+
stop();
|
|
99
|
+
},
|
|
100
|
+
stop,
|
|
101
|
+
skuConfirm(length) {
|
|
102
|
+
if (!opened || skuConfirmLogged) return;
|
|
103
|
+
skuConfirmLogged = true;
|
|
104
|
+
noteLength = length;
|
|
105
|
+
log("sku_confirm");
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
//#endregion
|
|
110
|
+
exports.createSkuNoteDiagnostics = createSkuNoteDiagnostics;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.360",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
74
74
|
"styled-components": "^6.0.0-rc.3",
|
|
75
75
|
"use-sync-external-store": "^1.6.0",
|
|
76
|
-
"@pisell/pi-payment-sdk": "0.0.4",
|
|
77
76
|
"@pisell/materials": "6.12.86",
|
|
78
77
|
"@pisell/utils": "3.0.7",
|
|
78
|
+
"@pisell/pi-payment-sdk": "0.0.4",
|
|
79
79
|
"@pisell/icon": "0.0.11",
|
|
80
80
|
"@pisell/date-picker": "3.0.12"
|
|
81
81
|
},
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./serve/formResourcePage.js";
|
|
2
|
-
import "./floorRoomCard/mapRowToFloorRoomCardData.js";
|
|
3
|
-
import "./floorRoomCard/ReservationFloorRoomCard.js";
|
|
4
|
-
import "./floorMap/reservationMock.js";
|
|
5
|
-
import "./floorMap/floorPlanApi.js";
|
|
6
|
-
import "./reservationConstants.js";
|
|
7
|
-
import "./data/bookingToReservationTables.js";
|
|
8
|
-
import "./data/formResourceToReservationTables.js";
|
|
9
|
-
import "./data/salesEmbeddedResourceToTableRows.js";
|
|
10
|
-
import "./floorMap/reservationCards.js";
|
|
11
|
-
import "./PisellReservation.js";
|
|
12
|
-
import "./PisellReservationBookingPage.js";
|
|
13
|
-
import "./PisellVenueControlPage.js";
|
|
14
|
-
import "./PisellVenueWallPage.js";
|
|
15
|
-
import "./PisellReservationTablePage.js";
|
|
16
|
-
import "./components/SelectFloorMapResourceDialog.js";
|
|
17
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import "./hosts/createInstanceHostBridge.js";
|
|
2
|
-
import "./holderConfirm/createHolderConfirmBridge.js";
|
|
3
|
-
import "./giftSelect/createGiftSelectBridge.js";
|
|
4
|
-
import "./context/SalesSdkHostBridgesContext.js";
|
|
5
|
-
import "./utils/formatHolderOptions.js";
|
|
6
|
-
import "./utils/enrichCartLineHolderDisplay.js";
|
|
7
|
-
import "./context/SalesSdkHolderContext.js";
|
|
8
|
-
import "../multiCurrencySettlement/index.js";
|
|
9
|
-
import "./utils/customerAuthGate.js";
|
|
10
|
-
import "./context/SalesSdkBusinessAvailabilityContext.js";
|
|
11
|
-
import "./utils/appendPromotionTags.js";
|
|
12
|
-
import "./utils/productSkuOptions.js";
|
|
13
|
-
import "./context/SalesSdkUIHostsContext.js";
|
|
14
|
-
import "./utils/runAddProductFlow.js";
|
|
15
|
-
import "./components/showAddToCartToast.js";
|
|
16
|
-
import "./utils/resolveAddProductDebounceKey.js";
|
|
17
|
-
import "./utils/identity.js";
|
|
18
|
-
import "./utils/resolveInCartQuantityForAddToast.js";
|
|
19
|
-
import "./utils/addProductWithFlowDebounced.js";
|
|
20
|
-
import "./utils/bookingDate.js";
|
|
21
|
-
import "./utils/holderSubmitValidation.js";
|
|
22
|
-
import "./utils/removeOrderProducts.js";
|
|
23
|
-
import "./selectors.js";
|
|
24
|
-
import "./utils/enrich.js";
|
|
25
|
-
import "./giftSelect/createOpenGiftSelectHost.js";
|
|
26
|
-
import "./utils/ensureHoldersBeforeSubmit.js";
|
|
27
|
-
import "./hooks/useSalesSdk.js";
|
|
28
|
-
import "./bookingEditService/BookingEditServiceDrawer.js";
|
|
29
|
-
import "./hosts/BookingEditHostRenderer.js";
|
|
30
|
-
import "./hosts/CustomerAuthHostRenderer.js";
|
|
31
|
-
import "./hooks/useSalesSdkCart.js";
|
|
32
|
-
import "./hooks/useSalesSdkCustomer.js";
|
|
33
|
-
import "./normalProductDetail/NormalProductDetailHostRenderer.js";
|
|
34
|
-
import "./hosts/createOpenBookingEditHost.js";
|
|
35
|
-
import "./hosts/createOpenMultiDaySelectHost.js";
|
|
36
|
-
import "./hosts/createOpenHolderSelectHost.js";
|
|
37
|
-
import "./hosts/createOpenCustomerAuthHost.js";
|
|
38
|
-
import "./demo/hosts/legacyOpenProductDetail.js";
|
|
39
|
-
import "./hosts/createCompositeOpenProductDetailHost.js";
|
|
40
|
-
import "./normalProductDetail/createOpenNormalProductDetailHost.js";
|
|
41
|
-
import "./normalProductDetail/createOpenBookingSelectionFlowHost.js";
|
|
42
|
-
import "./giftSelect/GiftSelectModal.js";
|
|
43
|
-
import "./giftSelect/GiftSelectHostRenderer.js";
|
|
44
|
-
import "./allergy/AllergySelectionModal.js";
|
|
45
|
-
import "./context/SalesSdkProvider.js";
|
|
46
|
-
import "./context/SalesSdkDishContext.js";
|
|
47
|
-
import "./context/SalesSdkBookingContext.js";
|
|
48
|
-
import "./hooks/useSalesSdkSummary.js";
|
|
49
|
-
import "./hooks/useSalesSdkProducts.js";
|
|
50
|
-
import "./demo/index.js";
|
|
51
|
-
import "./hooks/useSalesSdkDish.js";
|
|
52
|
-
import "./hooks/useCurrentSalesSdkDish.js";
|
|
53
|
-
import "./hooks/useSyncOsModule.js";
|
|
54
|
-
export {};
|