@pisell/private-materials 6.12.310 → 6.12.312
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.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/HDLKiosk/locales.js +0 -5
- package/es/components/HDLKiosk/slices/customization/Screen/index.less +1 -5
- package/es/components/HDLKiosk/ui/entry/Screen/index.js +6 -4
- package/es/components/HDLKiosk/ui/entry/Screen/index.less +11 -20
- package/es/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.js +1 -0
- package/es/components/bigSale/components/ProductList/index.js +1 -0
- package/es/components/bigSale/components/TimeBar/index.js +1 -0
- package/es/components/bigSale/dialog.js +1 -0
- package/es/components/bigSale/hooks/useBigSaleContext.js +1 -0
- package/es/components/bigSale/hooks/useSelectFloorMapResourceForBigSale.js +1 -0
- package/es/components/bigSale/index.js +1 -0
- package/es/components/bigSale/templates/Kiosk/index.js +1 -0
- package/es/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.js +1 -0
- package/es/index.js +2 -0
- 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/pisellReservation/index.js +17 -0
- package/es/plus/saleDetail/Base.js +1 -0
- package/es/plus/saleDetail/components/Client/hooks/useClientSelectorProps.js +1 -0
- package/es/plus/saleDetail/components/DetailActions/PrintAction.js +1 -0
- package/es/plus/saleDetail/components/DetailActions/index.js +1 -0
- package/es/plus/saleDetail/components/SummaryFinancialSections/index.js +1 -0
- package/es/plus/saleDetail/index.js +1 -0
- package/es/plus/saleDetail/tmpl/B/components/Dish/index.js +1 -0
- package/es/plus/saleDetail/tmpl/B/index.js +1 -0
- package/es/plus/salesSdk/index.js +54 -0
- 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/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/lib/components/HDLKiosk/locales.js +0 -5
- package/lib/components/HDLKiosk/slices/customization/Screen/index.less +1 -5
- package/lib/components/HDLKiosk/ui/entry/Screen/index.js +6 -4
- package/lib/components/HDLKiosk/ui/entry/Screen/index.less +11 -20
- package/package.json +3 -3
- package/es/private-materials/lowcode/authmodal/meta.d.ts +0 -1
|
@@ -74,7 +74,6 @@ const localeTexts = {
|
|
|
74
74
|
"pisell2.hdl-kiosk.eyebrow": "Freshly prepared · Weighed for you",
|
|
75
75
|
"pisell2.hdl-kiosk.entry-title": "How would you like to start?",
|
|
76
76
|
"pisell2.hdl-kiosk.entry-supporting": "Tap once, scan below, or simply place your bowl on the scale.",
|
|
77
|
-
"pisell2.hdl-kiosk.technical-support": "Powered by Pisell",
|
|
78
77
|
"pisell2.hdl-kiosk.entry-assistance": "This service is temporarily unavailable. Please contact our staff for assistance.",
|
|
79
78
|
"pisell2.hdl-kiosk.entry-data-preparing": "Getting ready",
|
|
80
79
|
"pisell2.hdl-kiosk.entry-language-label": "Choose homepage language",
|
|
@@ -323,7 +322,6 @@ const localeTexts = {
|
|
|
323
322
|
"pisell2.hdl-kiosk.eyebrow": "新鲜现做 · 按重计价",
|
|
324
323
|
"pisell2.hdl-kiosk.entry-title": "请选择开始方式",
|
|
325
324
|
"pisell2.hdl-kiosk.entry-supporting": "点击快速下单,或在下方扫码、将餐碗放上称台。",
|
|
326
|
-
"pisell2.hdl-kiosk.technical-support": "Pisell 技术支持",
|
|
327
325
|
"pisell2.hdl-kiosk.entry-assistance": "服务暂时无法使用,请联系工作人员。",
|
|
328
326
|
"pisell2.hdl-kiosk.entry-data-preparing": "正在准备",
|
|
329
327
|
"pisell2.hdl-kiosk.entry-language-label": "选择首页语言",
|
|
@@ -572,7 +570,6 @@ const localeTexts = {
|
|
|
572
570
|
"pisell2.hdl-kiosk.eyebrow": "新鮮現做 · 按重計價",
|
|
573
571
|
"pisell2.hdl-kiosk.entry-title": "請選擇開始方式",
|
|
574
572
|
"pisell2.hdl-kiosk.entry-supporting": "點擊快速下單,或在下方掃碼、將餐碗放上秤台。",
|
|
575
|
-
"pisell2.hdl-kiosk.technical-support": "Pisell 技術支援",
|
|
576
573
|
"pisell2.hdl-kiosk.entry-assistance": "服務暫時無法使用,請聯絡工作人員。",
|
|
577
574
|
"pisell2.hdl-kiosk.entry-data-preparing": "正在準備",
|
|
578
575
|
"pisell2.hdl-kiosk.entry-language-label": "選擇首頁語言",
|
|
@@ -821,7 +818,6 @@ const localeTexts = {
|
|
|
821
818
|
"pisell2.hdl-kiosk.eyebrow": "できたて · 重量販売",
|
|
822
819
|
"pisell2.hdl-kiosk.entry-title": "開始方法を選んでください",
|
|
823
820
|
"pisell2.hdl-kiosk.entry-supporting": "クイック注文をタップするか、下でバーコードを読み取るか、器をはかりに置いてください。",
|
|
824
|
-
"pisell2.hdl-kiosk.technical-support": "Pisell テクニカルサポート",
|
|
825
821
|
"pisell2.hdl-kiosk.entry-assistance": "現在このサービスを利用できません。スタッフにお声がけください。",
|
|
826
822
|
"pisell2.hdl-kiosk.entry-data-preparing": "準備中",
|
|
827
823
|
"pisell2.hdl-kiosk.entry-language-label": "ホーム画面の言語を選択",
|
|
@@ -1070,7 +1066,6 @@ const localeTexts = {
|
|
|
1070
1066
|
"pisell2.hdl-kiosk.eyebrow": "Preparado na hora · Cobrado por peso",
|
|
1071
1067
|
"pisell2.hdl-kiosk.entry-title": "Como deseja começar?",
|
|
1072
1068
|
"pisell2.hdl-kiosk.entry-supporting": "Toque para fazer um pedido rápido, leia o código abaixo ou coloque a sua tigela na balança.",
|
|
1073
|
-
"pisell2.hdl-kiosk.technical-support": "Suporte técnico Pisell",
|
|
1074
1069
|
"pisell2.hdl-kiosk.entry-assistance": "Este serviço está temporariamente indisponível. Peça ajuda a um funcionário.",
|
|
1075
1070
|
"pisell2.hdl-kiosk.entry-data-preparing": "A preparar",
|
|
1076
1071
|
"pisell2.hdl-kiosk.entry-language-label": "Escolher o idioma do ecrã inicial",
|
|
@@ -62,11 +62,7 @@
|
|
|
62
62
|
left: 0;
|
|
63
63
|
min-width: 0;
|
|
64
64
|
padding: 15px 22px 17px;
|
|
65
|
-
background: linear-gradient(
|
|
66
|
-
180deg,
|
|
67
|
-
rgba(255, 255, 255, 0.35),
|
|
68
|
-
rgba(255, 255, 255, 0.88)
|
|
69
|
-
);
|
|
65
|
+
background: linear-gradient(#e5c0c0dd, #ffffffe0);
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
.hdl-customization-product__copy p {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useEntryScreenLayout } from "./useEntryScreenLayout.js";
|
|
2
2
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
3
3
|
import { locales } from "@pisell/utils";
|
|
4
|
+
import { PisellBrand } from "@pisell/materials";
|
|
4
5
|
import { Palette } from "@pisell/icon";
|
|
5
6
|
//#region src/components/HDLKiosk/ui/entry/Screen/index.tsx
|
|
6
7
|
const ACTIVATION_COOLDOWN_MS = 650;
|
|
@@ -147,11 +148,12 @@ function EntryScreen({ locale, model, theme, onThemeChange, isActive = true, onL
|
|
|
147
148
|
src: "https://static.pisellcdn.com/hero-centered.png",
|
|
148
149
|
alt: "",
|
|
149
150
|
hidden: theme !== "cream"
|
|
150
|
-
})), /* @__PURE__ */ React.createElement(
|
|
151
|
-
className: "hdl-entry-
|
|
152
|
-
|
|
151
|
+
})), /* @__PURE__ */ React.createElement(PisellBrand, {
|
|
152
|
+
className: "hdl-entry-pisell-brand",
|
|
153
|
+
theme: theme === "black-gold" ? "dark" : "light",
|
|
154
|
+
locale: entryLocale,
|
|
153
155
|
onClick: onTechnicalSupportClick
|
|
154
|
-
}
|
|
156
|
+
}), /* @__PURE__ */ React.createElement("header", { className: "hdl-entry-screen__header" }, /* @__PURE__ */ React.createElement("button", {
|
|
155
157
|
type: "button",
|
|
156
158
|
className: "hdl-entry-theme-toggle",
|
|
157
159
|
"aria-label": themeLabel,
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
--hdl-entry-touch-border: #f2ce8e;
|
|
13
13
|
--hdl-entry-touch-background: #ffd07a1a;
|
|
14
14
|
--hdl-entry-control-background: rgba(17, 16, 14, 0.76);
|
|
15
|
-
--hdl-entry-support-background: rgba(17, 16, 14, 0.4);
|
|
16
15
|
--hdl-entry-loading-background: rgba(17, 16, 14, 0.72);
|
|
17
16
|
color-scheme: dark;
|
|
18
17
|
|
|
@@ -27,7 +26,6 @@
|
|
|
27
26
|
--hdl-entry-touch-border: #b7442a;
|
|
28
27
|
--hdl-entry-touch-background: #ffdfb61a;
|
|
29
28
|
--hdl-entry-control-background: rgba(255, 248, 236, 0.8);
|
|
30
|
-
--hdl-entry-support-background: rgba(244, 236, 220, 0.6);
|
|
31
29
|
--hdl-entry-loading-background: rgba(244, 236, 220, 0.72);
|
|
32
30
|
color-scheme: light;
|
|
33
31
|
}
|
|
@@ -270,26 +268,21 @@
|
|
|
270
268
|
animation: hdl-entry-touch-response 600ms ease-out;
|
|
271
269
|
}
|
|
272
270
|
|
|
273
|
-
.hdl-entry-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
color: var(--hdl-entry-copy);
|
|
284
|
-
font-size: 16px;
|
|
285
|
-
line-height: normal;
|
|
286
|
-
text-align: center;
|
|
287
|
-
cursor: pointer;
|
|
271
|
+
.hdl-entry-pisell-brand {
|
|
272
|
+
--pisell-brand-z-index: 5;
|
|
273
|
+
--pisell-brand-focus: var(--hdl-entry-focus);
|
|
274
|
+
// Kiosk 按有效画布宽度缩放,并保留小屏下限、大屏上限和安全区。
|
|
275
|
+
--pisell-brand-inset: clamp(18px, calc(var(--hdl-entry-canvas-width) * 48 / 1080), 64px);
|
|
276
|
+
--pisell-brand-font-size: clamp(12px, calc(var(--hdl-entry-canvas-width) * 22 / 1080), 28px);
|
|
277
|
+
--pisell-brand-top-height: clamp(50px, calc(var(--hdl-entry-canvas-width) * 112 / 1080), 148px);
|
|
278
|
+
--pisell-brand-top-gap: clamp(14px, calc(var(--hdl-entry-canvas-width) * 26 / 1080), 34px);
|
|
279
|
+
--pisell-brand-top-logo-width: clamp(76px, calc(var(--hdl-entry-canvas-width) * 180 / 1080), 240px);
|
|
280
|
+
--pisell-brand-top-padding: max(10px, env(safe-area-inset-top, 0px));
|
|
288
281
|
}
|
|
289
282
|
|
|
290
283
|
.hdl-entry-screen__header {
|
|
291
284
|
position: absolute;
|
|
292
|
-
top:
|
|
285
|
+
top: ~"calc(clamp(50px, var(--hdl-entry-canvas-width) * 112 / 1080, 148px) + 16px)";
|
|
293
286
|
right: 5%;
|
|
294
287
|
left: 5%;
|
|
295
288
|
z-index: 4;
|
|
@@ -389,7 +382,6 @@
|
|
|
389
382
|
|
|
390
383
|
.hdl-entry-language:focus-within,
|
|
391
384
|
.hdl-entry-theme-toggle:focus-visible,
|
|
392
|
-
.hdl-entry-technical-support:focus-visible,
|
|
393
385
|
.hdl-entry-screen__notices button:focus-visible {
|
|
394
386
|
outline: 3px solid var(--hdl-entry-focus);
|
|
395
387
|
outline-offset: 5px;
|
|
@@ -397,7 +389,6 @@
|
|
|
397
389
|
|
|
398
390
|
.hdl-entry-screen[data-compact='true'] {
|
|
399
391
|
.hdl-entry-screen__header {
|
|
400
|
-
top: 40px;
|
|
401
392
|
right: 20px;
|
|
402
393
|
left: 20px;
|
|
403
394
|
gap: 12px;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import useEngineContext from "../../../../hooks/useEngineContext.js";
|
|
2
2
|
import { subscribeBookingDateChange } from "../../../../plus/salesSdk/utils/bookingDate.js";
|
|
3
|
+
import "../../../../plus/salesSdk/index.js";
|
|
3
4
|
import dayjs from "dayjs";
|
|
4
5
|
import { useCallback, useEffect, useState } from "react";
|
|
5
6
|
//#region src/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.ts
|
|
@@ -14,6 +14,7 @@ import { generateProductTabs } from "../../../ticketBooking/components/ProductDi
|
|
|
14
14
|
import { useSalesSdkBusinessAvailability } from "../../../../plus/salesSdk/context/SalesSdkBusinessAvailabilityContext.js";
|
|
15
15
|
import { showAddToCartToast } from "../../../../plus/salesSdk/components/showAddToCartToast.js";
|
|
16
16
|
import { mergeBookingsForDisplay } from "../../../../plus/salesSdk/utils/mergeBookingsForDisplay.js";
|
|
17
|
+
import "../../../../plus/salesSdk/index.js";
|
|
17
18
|
import { buildBigSaleProductListPreferencesKey, readBigSaleProductListPreferences, readStoredBigSaleProductListPreferences, removeBigSaleProductListPreferences, resolveBigSaleAutoProductListPreferences, writeBigSaleProductListPreferences } from "../../utils/productListPreferences.js";
|
|
18
19
|
import { resolveBigSaleProductDisplayConfig, useBigSaleProductListConfig } from "../../hooks/useBigSaleProductListConfig.js";
|
|
19
20
|
import locales_default from "../../locales/index.js";
|
|
@@ -4,6 +4,7 @@ import withResponsive from "../../../../responsive/withResponsive.js";
|
|
|
4
4
|
import useInitLocalesOnce from "../../../../hooks/useInitLocalesOnce.js";
|
|
5
5
|
import { subscribeBookingDateChange } from "../../../../plus/salesSdk/utils/bookingDate.js";
|
|
6
6
|
import { useSalesSdkBookingContext } from "../../../../plus/salesSdk/context/SalesSdkBookingContext.js";
|
|
7
|
+
import "../../../../plus/salesSdk/index.js";
|
|
7
8
|
import locales_default from "../../locales/index.js";
|
|
8
9
|
import { getPosWeekStartsOn, resolvePosCountryCode } from "../../../../utils/posDateLocale.js";
|
|
9
10
|
import dayjs from "dayjs";
|
|
@@ -6,6 +6,7 @@ import { buildInitBookingContextParams, collectBookingIdsFromTempOrder } from ".
|
|
|
6
6
|
import { useSalesSdk } from "../../plus/salesSdk/hooks/useSalesSdk.js";
|
|
7
7
|
import { useSalesSdkCart } from "../../plus/salesSdk/hooks/useSalesSdkCart.js";
|
|
8
8
|
import { SalesSdkPrepareOrderSwitchContext, SalesSdkRootRefreshContext } from "../../plus/salesSdk/context/SalesSdkProvider.js";
|
|
9
|
+
import "../../plus/salesSdk/index.js";
|
|
9
10
|
import { isPersistedBigSaleOrderId } from "./utils/orderIdentity.js";
|
|
10
11
|
import { seedDineInReservationToCart } from "../../plus/pisellReservation/utils/seedDineInReservationToCart.js";
|
|
11
12
|
import BigSale from "./index.js";
|
|
@@ -4,6 +4,7 @@ import { useSalesSdkCustomer } from "../../../plus/salesSdk/hooks/useSalesSdkCus
|
|
|
4
4
|
import { useSalesSdkBookingContext } from "../../../plus/salesSdk/context/SalesSdkBookingContext.js";
|
|
5
5
|
import { useSalesSdkSummary } from "../../../plus/salesSdk/hooks/useSalesSdkSummary.js";
|
|
6
6
|
import { useSalesSdkProducts } from "../../../plus/salesSdk/hooks/useSalesSdkProducts.js";
|
|
7
|
+
import "../../../plus/salesSdk/index.js";
|
|
7
8
|
import { useMemo } from "react";
|
|
8
9
|
//#region src/components/bigSale/hooks/useBigSaleContext.ts
|
|
9
10
|
/**
|
|
@@ -3,6 +3,7 @@ import { _asyncToGenerator } from "../../../_virtual/_@oxc-project_runtime@0.122
|
|
|
3
3
|
import { buildInitBookingContextParams, collectBookingIdsFromTempOrder } from "../../../plus/salesSdk/utils/buildDefaultLoadProductsParams.js";
|
|
4
4
|
import { useSalesSdkUIHosts } from "../../../plus/salesSdk/context/SalesSdkUIHostsContext.js";
|
|
5
5
|
import { SalesSdkRootRefreshContext } from "../../../plus/salesSdk/context/SalesSdkProvider.js";
|
|
6
|
+
import "../../../plus/salesSdk/index.js";
|
|
6
7
|
import { isPersistedBigSaleOrderId } from "../utils/orderIdentity.js";
|
|
7
8
|
import { resolveOrderIdForHostActions } from "../../../plus/pisellReservation/components/bookingDetailModal/bookingDetailHostActions.js";
|
|
8
9
|
import { usePicoCodingOpenData } from "../../../plus/pisellReservation/hooks/usePicoCodingOpenData.js";
|
|
@@ -8,6 +8,7 @@ import { useSalesSdk } from "../../plus/salesSdk/hooks/useSalesSdk.js";
|
|
|
8
8
|
import { useSalesSdkCustomer } from "../../plus/salesSdk/hooks/useSalesSdkCustomer.js";
|
|
9
9
|
import { SalesSdkProvider } from "../../plus/salesSdk/context/SalesSdkProvider.js";
|
|
10
10
|
import { SalesSdkBookingContextProvider } from "../../plus/salesSdk/context/SalesSdkBookingContext.js";
|
|
11
|
+
import "../../plus/salesSdk/index.js";
|
|
11
12
|
import { ResponsiveBigSaleBase } from "./Base.js";
|
|
12
13
|
import { isBigSaleProductSelectionFlowScene, resolveBigSaleSelectionFlowConfig } from "./selectionFlowConfig.js";
|
|
13
14
|
import { isKioskPresentation } from "./templateCapabilities.js";
|
|
@@ -12,6 +12,7 @@ import { useSalesSdkBusinessAvailability } from "../../../../plus/salesSdk/conte
|
|
|
12
12
|
import { collectUnassignedHolderLines } from "../../../../plus/salesSdk/utils/holderSubmitValidation.js";
|
|
13
13
|
import { isFulfillmentTimingBooking } from "../../../../plus/salesSdk/utils/fulfillmentTimingBooking.js";
|
|
14
14
|
import { useSalesSdk } from "../../../../plus/salesSdk/hooks/useSalesSdk.js";
|
|
15
|
+
import "../../../../plus/salesSdk/index.js";
|
|
15
16
|
import { usePickSaleDetailContext } from "../../hooks/usePickSaleDetailContext.js";
|
|
16
17
|
import { resolveBigSaleAutoProductListPreferences } from "../../utils/productListPreferences.js";
|
|
17
18
|
import { resolveBigSaleProductDisplayConfig } from "../../hooks/useBigSaleProductListConfig.js";
|
|
@@ -2,6 +2,7 @@ import useEngineContext from "../../hooks/useEngineContext.js";
|
|
|
2
2
|
import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
|
|
3
3
|
import { useSalesSdk } from "../../plus/salesSdk/hooks/useSalesSdk.js";
|
|
4
4
|
import { getTempOrderSyncPayload, shouldApplySharedTempOrderPayload } from "../../plus/salesSdk/tempOrderSync.js";
|
|
5
|
+
import "../../plus/salesSdk/index.js";
|
|
5
6
|
import { useEffect, useRef } from "react";
|
|
6
7
|
import { useMemoizedFn } from "ahooks";
|
|
7
8
|
//#region src/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.tsx
|
package/es/index.js
CHANGED
|
@@ -87,6 +87,7 @@ import { useSalesSdkProducts } from "./plus/salesSdk/hooks/useSalesSdkProducts.j
|
|
|
87
87
|
import SalesSdkDemo from "./plus/salesSdk/demo/index.js";
|
|
88
88
|
import { useSalesSdkDish } from "./plus/salesSdk/hooks/useSalesSdkDish.js";
|
|
89
89
|
import { useSyncOsModule } from "./plus/salesSdk/hooks/useSyncOsModule.js";
|
|
90
|
+
import "./plus/salesSdk/index.js";
|
|
90
91
|
import BigSaleRightActionPanel from "./components/BigSaleRightActionPanel/index.js";
|
|
91
92
|
import ResponsiveWrapper from "./components/list/ResponsiveWrapper.js";
|
|
92
93
|
import { resolveBigSaleSelectionFlowConfig } from "./components/bigSale/selectionFlowConfig.js";
|
|
@@ -141,6 +142,7 @@ import PisellVenueControlPage from "./plus/pisellReservation/PisellVenueControlP
|
|
|
141
142
|
import PisellVenueWallPage from "./plus/pisellReservation/PisellVenueWallPage.js";
|
|
142
143
|
import PisellReservationTablePage from "./plus/pisellReservation/PisellReservationTablePage.js";
|
|
143
144
|
import SelectFloorMapResourceDialog from "./plus/pisellReservation/components/SelectFloorMapResourceDialog.js";
|
|
145
|
+
import "./plus/pisellReservation/index.js";
|
|
144
146
|
import { PisellTopology, PisellTopologyCore } from "./plus/pisellTopology/PisellTopology.js";
|
|
145
147
|
import cupProject_default from "./components/ecocup/cupProject/index.js";
|
|
146
148
|
import CupList from "./components/ecocup/cupList/index.js";
|
|
@@ -280,4 +280,4 @@ function attachSelectedSettlement(item, selectedSettlement) {
|
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
//#endregion
|
|
283
|
-
export { attachSelectedSettlement, buildSettlementPriceRows, createVirtualOnlySkuDisplayProduct, formatSettlementAmount, formatSettlementSelectionTotal, formatTempOrderSettlementAmount, getSettlementKey, getSettlementOptions, hasSettlementOptions, hasSufficientVirtualCurrencyBalance, isVirtualOnlySettlementProduct, isVirtualSettlementTempOrder, resolveConfiguredUnavailableReason, resolveLegalSettlementAddOnUnitPrice, resolveSettlementOptionEntries, resolveVirtualSettlementErrorMessage, showVirtualSettlementErrorToast };
|
|
283
|
+
export { attachSelectedSettlement, buildSettlementPriceRows, createVirtualOnlySkuDisplayProduct, findFirstVirtualCurrencyAsset, formatSettlementAmount, formatSettlementSelectionTotal, formatTempOrderSettlementAmount, getReservedVirtualSettlementAmount, getSettlementKey, getSettlementOptions, hasSettlementOptions, hasSufficientVirtualCurrencyBalance, isVirtualOnlySettlementProduct, isVirtualSettlementTempOrder, resolveConfiguredUnavailableReason, resolveLegalSettlementAddOnUnitPrice, resolveSettlementOptionEntries, resolveVirtualSettlementErrorMessage, showVirtualSettlementErrorToast };
|
|
@@ -259,4 +259,4 @@ function bookingListToReservationTableRows(bookings) {
|
|
|
259
259
|
return rows;
|
|
260
260
|
}
|
|
261
261
|
//#endregion
|
|
262
|
-
export { applyHostResourceShellToBaseRow, bookingListToReservationTableRows, customerBrief, extractResourceRecordIds, filterBookingsByResourceIds, hostBookingUiPatchFromRecord, mergeBookingsForResourceRecord };
|
|
262
|
+
export { applyHostResourceShellToBaseRow, bookingListToReservationTableRows, customerBrief, extractResourceRecordIds, filterBookingsByResourceIds, hostBookingStatusToCardStatus, hostBookingUiPatchFromRecord, mergeBookingsForResourceRecord };
|
|
@@ -78,4 +78,4 @@ function toastFloorPlanLoadError(err) {
|
|
|
78
78
|
PisellToast({ content: err instanceof Error ? err.message : String(err) });
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
81
|
-
export { PISELL_RESERVATION_FLOOR_PLAN_CODE, ensureShopFloorPlanByCode, saveViewConfigToShopFloorPlan, shopLayoutToSceneElements$1 as shopLayoutToSceneElements, toastFloorPlanLoadError, toastFloorPlanSaveError, unsubscribeShopFloorPlanCodeQuery };
|
|
81
|
+
export { PISELL_RESERVATION_FLOOR_PLAN_CODE, buildDefaultReservationFloorPlanPostBody, ensureShopFloorPlanByCode, putShopFloorPlan, saveViewConfigToShopFloorPlan, shopLayoutToSceneElements$1 as shopLayoutToSceneElements, toastFloorPlanLoadError, toastFloorPlanSaveError, unsubscribeShopFloorPlanCodeQuery };
|
|
@@ -927,4 +927,4 @@ function getReservationDataSourceFormColumns() {
|
|
|
927
927
|
];
|
|
928
928
|
}
|
|
929
929
|
//#endregion
|
|
930
|
-
export { RESERVATION_BOUND_ROUND_TABLE_ELEMENT_KIND, RESERVATION_BOUND_TABLE_ELEMENT_KIND, applyReservationFloorMapLiveLabels, defaultReservationTableRows, getDefaultReservationFloorMapConfig, getReservationDataSourceFormColumns, getReservationFloorMapShellConfig, mergeFloorMapElementKindCategoriesWithDefaults, mergeFloorMapElementKindsWithDefaults };
|
|
930
|
+
export { RESERVATION_BOUND_ROUND_TABLE_ELEMENT_KIND, RESERVATION_BOUND_TABLE_ELEMENT_KIND, applyReservationFloorMapLiveLabels, defaultReservationSceneElements, defaultReservationTableRows, getDefaultReservationFloorMapConfig, getReservationDataSourceFormColumns, getReservationFloorMapShellConfig, mergeFloorMapElementKindCategoriesWithDefaults, mergeFloorMapElementKindsWithDefaults };
|
|
@@ -0,0 +1,17 @@
|
|
|
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 {};
|
|
@@ -13,6 +13,7 @@ import { useSalesSdkCustomer } from "../salesSdk/hooks/useSalesSdkCustomer.js";
|
|
|
13
13
|
import locales_default from "./locales.js";
|
|
14
14
|
import { useSalesSdkBookingContext } from "../salesSdk/context/SalesSdkBookingContext.js";
|
|
15
15
|
import { useSalesSdkSummary } from "../salesSdk/hooks/useSalesSdkSummary.js";
|
|
16
|
+
import "../salesSdk/index.js";
|
|
16
17
|
import locales_default$1 from "./components/LineItem/locales.js";
|
|
17
18
|
import { SaleOrderActionBoundary } from "./actions/index.js";
|
|
18
19
|
import { SaleDetailTemplateRenderer } from "./tmpl/index.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import useEngineContext from "../../../../../hooks/useEngineContext.js";
|
|
2
2
|
import { _objectSpread2 } from "../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
3
3
|
import { useSalesSdkBookingContext } from "../../../../salesSdk/context/SalesSdkBookingContext.js";
|
|
4
|
+
import "../../../../salesSdk/index.js";
|
|
4
5
|
import { useMemo } from "react";
|
|
5
6
|
import { useMemoizedFn } from "ahooks";
|
|
6
7
|
//#region src/plus/saleDetail/components/Client/hooks/useClientSelectorProps.ts
|
|
@@ -4,6 +4,7 @@ import { _asyncToGenerator } from "../../../../_virtual/_@oxc-project_runtime@0.
|
|
|
4
4
|
import { _objectWithoutProperties } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import useLogger from "../../../../hooks/useLogger.js";
|
|
6
6
|
import { useSalesSdk } from "../../../salesSdk/hooks/useSalesSdk.js";
|
|
7
|
+
import "../../../salesSdk/index.js";
|
|
7
8
|
import { invokeLocalReceiptPrint, resolveLocalReceiptPrintModule, resolveSaleDetailOrderIdFromSales } from "./utils.js";
|
|
8
9
|
import { getRemotePrintActions, getWristbandList } from "../../serve.js";
|
|
9
10
|
import { EBizPrintType } from "./types.js";
|
|
@@ -10,6 +10,7 @@ import { useSalesSdk } from "../../../salesSdk/hooks/useSalesSdk.js";
|
|
|
10
10
|
import { useSalesSdkCart } from "../../../salesSdk/hooks/useSalesSdkCart.js";
|
|
11
11
|
import { useSalesSdkGlobalScanActivity } from "../../../salesSdk/context/SalesSdkGlobalScanActivityContext.js";
|
|
12
12
|
import { useSalesSdkSummary } from "../../../salesSdk/hooks/useSalesSdkSummary.js";
|
|
13
|
+
import "../../../salesSdk/index.js";
|
|
13
14
|
import { resolveSaleDetailTempOrder } from "../../utils.js";
|
|
14
15
|
import { getNumericAmount, getSalesHostModule, resolveSaleDetailOrderIdFromSales, resolveSaleDetailOrderIdFromSalesResult, shouldCloseDialogAfterCheckout, updateLocalOrder } from "./utils.js";
|
|
15
16
|
import { deriveSaleOrderSubmitState } from "../../actions/state.js";
|
|
@@ -5,6 +5,7 @@ import { isAppliedPaymentRecord } from "../../../salesSdk/utils/paymentStatus.js
|
|
|
5
5
|
import { useSalesSdk } from "../../../salesSdk/hooks/useSalesSdk.js";
|
|
6
6
|
import { useSalesSdkCart } from "../../../salesSdk/hooks/useSalesSdkCart.js";
|
|
7
7
|
import { useSalesSdkSummary } from "../../../salesSdk/hooks/useSalesSdkSummary.js";
|
|
8
|
+
import "../../../salesSdk/index.js";
|
|
8
9
|
import { resolveSaleDetailTempOrder } from "../../utils.js";
|
|
9
10
|
import React, { memo, useMemo } from "react";
|
|
10
11
|
import { formatAmount, locales } from "@pisell/utils";
|
|
@@ -5,6 +5,7 @@ import { useSalesSdk } from "../salesSdk/hooks/useSalesSdk.js";
|
|
|
5
5
|
import { SalesSdkProvider } from "../salesSdk/context/SalesSdkProvider.js";
|
|
6
6
|
import { SalesSdkDishProvider } from "../salesSdk/context/SalesSdkDishContext.js";
|
|
7
7
|
import { SalesSdkBookingContextProvider } from "../salesSdk/context/SalesSdkBookingContext.js";
|
|
8
|
+
import "../salesSdk/index.js";
|
|
8
9
|
import Base_default from "./Base.js";
|
|
9
10
|
import { resolveSaleDetailOsProps } from "./osProps.js";
|
|
10
11
|
import React, { forwardRef, useImperativeHandle } from "react";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import useStableInstanceId from "../../../../../../hooks/useStableInstanceId.js";
|
|
2
2
|
import { useSalesSdkDish } from "../../../../../salesSdk/hooks/useSalesSdkDish.js";
|
|
3
3
|
import { useCurrentSalesSdkDish } from "../../../../../salesSdk/hooks/useCurrentSalesSdkDish.js";
|
|
4
|
+
import "../../../../../salesSdk/index.js";
|
|
4
5
|
import { SaleDetailStatusOverview } from "../shared/StatusOverview.js";
|
|
5
6
|
import { DishGroupView } from "./DishGroupView.js";
|
|
6
7
|
import dayjs from "dayjs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import useEngineContext from "../../../../hooks/useEngineContext.js";
|
|
2
2
|
import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
3
3
|
import { useCurrentSalesSdkDish } from "../../../salesSdk/hooks/useCurrentSalesSdkDish.js";
|
|
4
|
+
import "../../../salesSdk/index.js";
|
|
4
5
|
import { getInternalNotesByScheduleEvent } from "../../serve.js";
|
|
5
6
|
import { TEMPLATE_B_PAY_ACTIONS, TEMPLATE_B_SUMMARY_ACTIONS } from "../../components/DetailActions/configs/index.js";
|
|
6
7
|
import { DetailActions } from "../../components/DetailActions/index.js";
|
|
@@ -0,0 +1,54 @@
|
|
|
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 "./context/SalesSdkBusinessAvailabilityContext.js";
|
|
10
|
+
import "./utils/appendPromotionTags.js";
|
|
11
|
+
import "./utils/productSkuOptions.js";
|
|
12
|
+
import "./context/SalesSdkUIHostsContext.js";
|
|
13
|
+
import "./utils/runAddProductFlow.js";
|
|
14
|
+
import "./components/showAddToCartToast.js";
|
|
15
|
+
import "./utils/resolveAddProductDebounceKey.js";
|
|
16
|
+
import "./utils/identity.js";
|
|
17
|
+
import "./utils/resolveInCartQuantityForAddToast.js";
|
|
18
|
+
import "./utils/addProductWithFlowDebounced.js";
|
|
19
|
+
import "./utils/customerAuthGate.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 {};
|
|
@@ -31,4 +31,4 @@ function subscribeBookingDateChange(bookingTicket, callback) {
|
|
|
31
31
|
return typeof off === "function" ? off : () => {};
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
export { formatBookingDateTime, subscribeBookingDateChange };
|
|
34
|
+
export { BOOKING_CONTEXT_DATE_EVENT, formatBookingDateTime, subscribeBookingDateChange };
|
|
@@ -71,4 +71,4 @@ function buildHolderListRequestKey(params) {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
//#endregion
|
|
74
|
-
export { buildHolderListRequestKey, buildHolderListRequestParams, enrichCartBookingHolderDisplay, resolveHolderDisplayConfig };
|
|
74
|
+
export { buildHolderListRequestKey, buildHolderListRequestParams, enrichCartBookingHolderDisplay, pickHolderIdFromBooking, resolveHolderDisplayConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthMethodType, VerificationMethod } from "./shared/types.js";
|
|
1
|
+
import { AuthMethodType, EmailAuthConfig, EmailRegistrationVerification, LoginFormData, OAuthConfig, PhoneAuthConfig, RegisterFormData, UIConfig, VerificationMethod } from "./shared/types.js";
|
|
2
2
|
import { Login2, Login2Config, Login2Events, Login2Props } from "./Login2.js";
|
|
3
3
|
import { Register2, Register2Config, Register2Events, Register2Props } from "./Register2.js";
|
|
4
|
-
import { AuthModal
|
|
4
|
+
import { AuthModal } from "./AuthModal.js";
|
|
@@ -226,4 +226,4 @@ interface RegisterFormData {
|
|
|
226
226
|
verification_token?: string;
|
|
227
227
|
}
|
|
228
228
|
//#endregion
|
|
229
|
-
export { AuthMethodType, EmailAuthConfig, LegalTermsConfig, LoginFormData, LoginMethodItem, OAuthConfig, PhoneAuthConfig, RegisterFormData, RegistrationMethodItem, UIConfig, VerificationMethod };
|
|
229
|
+
export { AuthMethodType, EmailAuthConfig, EmailRegistrationVerification, LegalTermsConfig, LoginFormData, LoginMethodItem, OAuthConfig, PhoneAuthConfig, RegisterFormData, RegistrationMethodItem, UIConfig, VerificationMethod };
|
|
@@ -74,7 +74,6 @@ const localeTexts = {
|
|
|
74
74
|
"pisell2.hdl-kiosk.eyebrow": "Freshly prepared · Weighed for you",
|
|
75
75
|
"pisell2.hdl-kiosk.entry-title": "How would you like to start?",
|
|
76
76
|
"pisell2.hdl-kiosk.entry-supporting": "Tap once, scan below, or simply place your bowl on the scale.",
|
|
77
|
-
"pisell2.hdl-kiosk.technical-support": "Powered by Pisell",
|
|
78
77
|
"pisell2.hdl-kiosk.entry-assistance": "This service is temporarily unavailable. Please contact our staff for assistance.",
|
|
79
78
|
"pisell2.hdl-kiosk.entry-data-preparing": "Getting ready",
|
|
80
79
|
"pisell2.hdl-kiosk.entry-language-label": "Choose homepage language",
|
|
@@ -323,7 +322,6 @@ const localeTexts = {
|
|
|
323
322
|
"pisell2.hdl-kiosk.eyebrow": "新鲜现做 · 按重计价",
|
|
324
323
|
"pisell2.hdl-kiosk.entry-title": "请选择开始方式",
|
|
325
324
|
"pisell2.hdl-kiosk.entry-supporting": "点击快速下单,或在下方扫码、将餐碗放上称台。",
|
|
326
|
-
"pisell2.hdl-kiosk.technical-support": "Pisell 技术支持",
|
|
327
325
|
"pisell2.hdl-kiosk.entry-assistance": "服务暂时无法使用,请联系工作人员。",
|
|
328
326
|
"pisell2.hdl-kiosk.entry-data-preparing": "正在准备",
|
|
329
327
|
"pisell2.hdl-kiosk.entry-language-label": "选择首页语言",
|
|
@@ -572,7 +570,6 @@ const localeTexts = {
|
|
|
572
570
|
"pisell2.hdl-kiosk.eyebrow": "新鮮現做 · 按重計價",
|
|
573
571
|
"pisell2.hdl-kiosk.entry-title": "請選擇開始方式",
|
|
574
572
|
"pisell2.hdl-kiosk.entry-supporting": "點擊快速下單,或在下方掃碼、將餐碗放上秤台。",
|
|
575
|
-
"pisell2.hdl-kiosk.technical-support": "Pisell 技術支援",
|
|
576
573
|
"pisell2.hdl-kiosk.entry-assistance": "服務暫時無法使用,請聯絡工作人員。",
|
|
577
574
|
"pisell2.hdl-kiosk.entry-data-preparing": "正在準備",
|
|
578
575
|
"pisell2.hdl-kiosk.entry-language-label": "選擇首頁語言",
|
|
@@ -821,7 +818,6 @@ const localeTexts = {
|
|
|
821
818
|
"pisell2.hdl-kiosk.eyebrow": "できたて · 重量販売",
|
|
822
819
|
"pisell2.hdl-kiosk.entry-title": "開始方法を選んでください",
|
|
823
820
|
"pisell2.hdl-kiosk.entry-supporting": "クイック注文をタップするか、下でバーコードを読み取るか、器をはかりに置いてください。",
|
|
824
|
-
"pisell2.hdl-kiosk.technical-support": "Pisell テクニカルサポート",
|
|
825
821
|
"pisell2.hdl-kiosk.entry-assistance": "現在このサービスを利用できません。スタッフにお声がけください。",
|
|
826
822
|
"pisell2.hdl-kiosk.entry-data-preparing": "準備中",
|
|
827
823
|
"pisell2.hdl-kiosk.entry-language-label": "ホーム画面の言語を選択",
|
|
@@ -1070,7 +1066,6 @@ const localeTexts = {
|
|
|
1070
1066
|
"pisell2.hdl-kiosk.eyebrow": "Preparado na hora · Cobrado por peso",
|
|
1071
1067
|
"pisell2.hdl-kiosk.entry-title": "Como deseja começar?",
|
|
1072
1068
|
"pisell2.hdl-kiosk.entry-supporting": "Toque para fazer um pedido rápido, leia o código abaixo ou coloque a sua tigela na balança.",
|
|
1073
|
-
"pisell2.hdl-kiosk.technical-support": "Suporte técnico Pisell",
|
|
1074
1069
|
"pisell2.hdl-kiosk.entry-assistance": "Este serviço está temporariamente indisponível. Peça ajuda a um funcionário.",
|
|
1075
1070
|
"pisell2.hdl-kiosk.entry-data-preparing": "A preparar",
|
|
1076
1071
|
"pisell2.hdl-kiosk.entry-language-label": "Escolher o idioma do ecrã inicial",
|
|
@@ -62,11 +62,7 @@
|
|
|
62
62
|
left: 0;
|
|
63
63
|
min-width: 0;
|
|
64
64
|
padding: 15px 22px 17px;
|
|
65
|
-
background: linear-gradient(
|
|
66
|
-
180deg,
|
|
67
|
-
rgba(255, 255, 255, 0.35),
|
|
68
|
-
rgba(255, 255, 255, 0.88)
|
|
69
|
-
);
|
|
65
|
+
background: linear-gradient(#e5c0c0dd, #ffffffe0);
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
.hdl-customization-product__copy p {
|
|
@@ -3,6 +3,7 @@ const require_useEntryScreenLayout = require("./useEntryScreenLayout.js");
|
|
|
3
3
|
let react = require("react");
|
|
4
4
|
react = require_runtime.__toESM(react);
|
|
5
5
|
let _pisell_utils = require("@pisell/utils");
|
|
6
|
+
let _pisell_materials = require("@pisell/materials");
|
|
6
7
|
let _pisell_icon = require("@pisell/icon");
|
|
7
8
|
//#region src/components/HDLKiosk/ui/entry/Screen/index.tsx
|
|
8
9
|
const ACTIVATION_COOLDOWN_MS = 650;
|
|
@@ -149,11 +150,12 @@ function EntryScreen({ locale, model, theme, onThemeChange, isActive = true, onL
|
|
|
149
150
|
src: "https://static.pisellcdn.com/hero-centered.png",
|
|
150
151
|
alt: "",
|
|
151
152
|
hidden: theme !== "cream"
|
|
152
|
-
})), /* @__PURE__ */ react.default.createElement(
|
|
153
|
-
className: "hdl-entry-
|
|
154
|
-
|
|
153
|
+
})), /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellBrand, {
|
|
154
|
+
className: "hdl-entry-pisell-brand",
|
|
155
|
+
theme: theme === "black-gold" ? "dark" : "light",
|
|
156
|
+
locale: entryLocale,
|
|
155
157
|
onClick: onTechnicalSupportClick
|
|
156
|
-
}
|
|
158
|
+
}), /* @__PURE__ */ react.default.createElement("header", { className: "hdl-entry-screen__header" }, /* @__PURE__ */ react.default.createElement("button", {
|
|
157
159
|
type: "button",
|
|
158
160
|
className: "hdl-entry-theme-toggle",
|
|
159
161
|
"aria-label": themeLabel,
|