@anker-in/ui 0.3.1 → 0.3.2
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +168 -158
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +169 -159
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import dayjs4 from 'dayjs';
|
|
|
10
10
|
import utc from 'dayjs/plugin/utc';
|
|
11
11
|
import timezone from 'dayjs/plugin/timezone';
|
|
12
12
|
import 'dayjs/locale/zh-cn';
|
|
13
|
-
import { QRCode, theme, ConfigProvider, Calendar, Select } from 'antd';
|
|
13
|
+
import { Image, QRCode, theme, ConfigProvider, Calendar, Select } from 'antd';
|
|
14
14
|
import dayLocaleData from 'dayjs/plugin/localeData';
|
|
15
15
|
import weekday from 'dayjs/plugin/weekday';
|
|
16
16
|
import weekOfYear from 'dayjs/plugin/weekOfYear';
|
|
@@ -12122,7 +12122,9 @@ var DemoRoomDetail2 = ({
|
|
|
12122
12122
|
if (demoRoom?.latitude && demoRoom?.longitude) {
|
|
12123
12123
|
return `https://www.google.com/maps/search/?api=1&query=${demoRoom.latitude},${demoRoom.longitude}`;
|
|
12124
12124
|
} else if (address) {
|
|
12125
|
-
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(
|
|
12125
|
+
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(
|
|
12126
|
+
address
|
|
12127
|
+
)}`;
|
|
12126
12128
|
}
|
|
12127
12129
|
return "#";
|
|
12128
12130
|
})();
|
|
@@ -12143,129 +12145,133 @@ var DemoRoomDetail2 = ({
|
|
|
12143
12145
|
/* @__PURE__ */ jsx("p", { className: "text-sm mt-2", children: error.message })
|
|
12144
12146
|
] }) });
|
|
12145
12147
|
}
|
|
12146
|
-
return /* @__PURE__ */ jsx("div", { className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxs(
|
|
12147
|
-
"
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
{
|
|
12155
|
-
className: "text-
|
|
12156
|
-
children: desc
|
|
12157
|
-
|
|
12158
|
-
index
|
|
12159
|
-
)) }),
|
|
12160
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
12161
|
-
/* @__PURE__ */ jsxs(
|
|
12162
|
-
"svg",
|
|
12163
|
-
{
|
|
12164
|
-
width: "24",
|
|
12165
|
-
height: "24",
|
|
12166
|
-
viewBox: "0 0 24 24",
|
|
12167
|
-
fill: "none",
|
|
12168
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12169
|
-
className: "flex-shrink-0 mt-0.5",
|
|
12170
|
-
children: [
|
|
12171
|
-
/* @__PURE__ */ jsx(
|
|
12172
|
-
"path",
|
|
12173
|
-
{
|
|
12174
|
-
d: "M14.4643 7.4929H9.65565M3.16391 18.7132H20.8171C22.0122 18.7132 22.981 17.7563 22.981 16.576L23 13.8348L22.981 6.42431C22.981 5.24396 22.0122 4.28711 20.8171 4.28711H3.16391C1.96882 4.28711 1 5.24396 1 6.42431V16.576C1 17.7563 1.96882 18.7132 3.16391 18.7132Z",
|
|
12175
|
-
stroke: "currentColor",
|
|
12176
|
-
strokeWidth: "2",
|
|
12177
|
-
strokeLinecap: "round",
|
|
12178
|
-
strokeLinejoin: "round"
|
|
12179
|
-
}
|
|
12180
|
-
),
|
|
12181
|
-
/* @__PURE__ */ jsx(
|
|
12182
|
-
"path",
|
|
12183
|
-
{
|
|
12184
|
-
d: "M5.32812 18.2325V14.4238C5.32812 13.8715 5.77584 13.4238 6.32813 13.4238H17.7925C18.3447 13.4238 18.7925 13.8715 18.7925 14.4238V18.2325",
|
|
12185
|
-
stroke: "currentColor",
|
|
12186
|
-
strokeWidth: "2",
|
|
12187
|
-
strokeLinecap: "round",
|
|
12188
|
-
strokeLinejoin: "round"
|
|
12189
|
-
}
|
|
12190
|
-
)
|
|
12191
|
-
]
|
|
12192
|
-
}
|
|
12193
|
-
),
|
|
12194
|
-
/* @__PURE__ */ jsx("span", { className: "text-base text-gray-900", children: devices })
|
|
12195
|
-
] }),
|
|
12196
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
12197
|
-
/* @__PURE__ */ jsxs(
|
|
12198
|
-
"svg",
|
|
12199
|
-
{
|
|
12200
|
-
width: "24",
|
|
12201
|
-
height: "24",
|
|
12202
|
-
viewBox: "0 0 24 24",
|
|
12203
|
-
fill: "none",
|
|
12204
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12205
|
-
className: "flex-shrink-0 mt-0.5",
|
|
12206
|
-
children: [
|
|
12207
|
-
/* @__PURE__ */ jsx(
|
|
12208
|
-
"path",
|
|
12209
|
-
{
|
|
12210
|
-
d: "M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2Z",
|
|
12211
|
-
stroke: "currentColor",
|
|
12212
|
-
strokeWidth: "2",
|
|
12213
|
-
strokeLinecap: "round",
|
|
12214
|
-
strokeLinejoin: "round"
|
|
12215
|
-
}
|
|
12216
|
-
),
|
|
12217
|
-
/* @__PURE__ */ jsx(
|
|
12218
|
-
"circle",
|
|
12219
|
-
{
|
|
12220
|
-
cx: "12",
|
|
12221
|
-
cy: "9",
|
|
12222
|
-
r: "2.5",
|
|
12223
|
-
stroke: "currentColor",
|
|
12224
|
-
strokeWidth: "2"
|
|
12225
|
-
}
|
|
12226
|
-
)
|
|
12227
|
-
]
|
|
12228
|
-
}
|
|
12229
|
-
),
|
|
12230
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
12231
|
-
/* @__PURE__ */ jsx("p", { className: "text-base text-gray-900", children: address }),
|
|
12232
|
-
/* @__PURE__ */ jsxs(
|
|
12233
|
-
"a",
|
|
12148
|
+
return /* @__PURE__ */ jsx("div", { className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxs(
|
|
12149
|
+
"div",
|
|
12150
|
+
{
|
|
12151
|
+
className: cn(
|
|
12152
|
+
"gap-[80px] l:gap-[40px] l:flex l:flex-col-reverse items-start py-[24px] l:pb-[64px]",
|
|
12153
|
+
images.length > 0 ? "grid grid-cols-2" : "flex"
|
|
12154
|
+
),
|
|
12155
|
+
children: [
|
|
12156
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
12157
|
+
/* @__PURE__ */ jsx("h1", { className: "text-[48px] l:text-[32px] font-bold text-gray-900 leading-tight", children: title }),
|
|
12158
|
+
/* @__PURE__ */ jsx("div", { className: "mt-[20px]", children: descriptions?.map((desc, index) => /* @__PURE__ */ jsx(
|
|
12159
|
+
"p",
|
|
12234
12160
|
{
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
|
|
12161
|
+
className: "text-base text-gray-600 leading-relaxed",
|
|
12162
|
+
children: desc
|
|
12163
|
+
},
|
|
12164
|
+
index
|
|
12165
|
+
)) }),
|
|
12166
|
+
!!devices && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
12167
|
+
/* @__PURE__ */ jsxs(
|
|
12168
|
+
"svg",
|
|
12169
|
+
{
|
|
12170
|
+
width: "24",
|
|
12171
|
+
height: "24",
|
|
12172
|
+
viewBox: "0 0 24 24",
|
|
12173
|
+
fill: "none",
|
|
12174
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12175
|
+
className: "flex-shrink-0 mt-0.5",
|
|
12176
|
+
children: [
|
|
12177
|
+
/* @__PURE__ */ jsx(
|
|
12178
|
+
"path",
|
|
12179
|
+
{
|
|
12180
|
+
d: "M14.4643 7.4929H9.65565M3.16391 18.7132H20.8171C22.0122 18.7132 22.981 17.7563 22.981 16.576L23 13.8348L22.981 6.42431C22.981 5.24396 22.0122 4.28711 20.8171 4.28711H3.16391C1.96882 4.28711 1 5.24396 1 6.42431V16.576C1 17.7563 1.96882 18.7132 3.16391 18.7132Z",
|
|
12181
|
+
stroke: "currentColor",
|
|
12182
|
+
strokeWidth: "2",
|
|
12183
|
+
strokeLinecap: "round",
|
|
12184
|
+
strokeLinejoin: "round"
|
|
12185
|
+
}
|
|
12186
|
+
),
|
|
12187
|
+
/* @__PURE__ */ jsx(
|
|
12188
|
+
"path",
|
|
12189
|
+
{
|
|
12190
|
+
d: "M5.32812 18.2325V14.4238C5.32812 13.8715 5.77584 13.4238 6.32813 13.4238H17.7925C18.3447 13.4238 18.7925 13.8715 18.7925 14.4238V18.2325",
|
|
12191
|
+
stroke: "currentColor",
|
|
12192
|
+
strokeWidth: "2",
|
|
12193
|
+
strokeLinecap: "round",
|
|
12194
|
+
strokeLinejoin: "round"
|
|
12195
|
+
}
|
|
12196
|
+
)
|
|
12197
|
+
]
|
|
12198
|
+
}
|
|
12199
|
+
),
|
|
12200
|
+
/* @__PURE__ */ jsx("span", { className: "text-base text-gray-900", children: devices })
|
|
12201
|
+
] }),
|
|
12202
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
12203
|
+
/* @__PURE__ */ jsxs(
|
|
12204
|
+
"svg",
|
|
12205
|
+
{
|
|
12206
|
+
width: "24",
|
|
12207
|
+
height: "24",
|
|
12208
|
+
viewBox: "0 0 24 24",
|
|
12209
|
+
fill: "none",
|
|
12210
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12211
|
+
className: "flex-shrink-0 mt-0.5",
|
|
12212
|
+
children: [
|
|
12213
|
+
/* @__PURE__ */ jsx(
|
|
12214
|
+
"path",
|
|
12215
|
+
{
|
|
12216
|
+
d: "M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2Z",
|
|
12217
|
+
stroke: "currentColor",
|
|
12218
|
+
strokeWidth: "2",
|
|
12219
|
+
strokeLinecap: "round",
|
|
12220
|
+
strokeLinejoin: "round"
|
|
12221
|
+
}
|
|
12222
|
+
),
|
|
12223
|
+
/* @__PURE__ */ jsx(
|
|
12224
|
+
"circle",
|
|
12225
|
+
{
|
|
12226
|
+
cx: "12",
|
|
12227
|
+
cy: "9",
|
|
12228
|
+
r: "2.5",
|
|
12229
|
+
stroke: "currentColor",
|
|
12230
|
+
strokeWidth: "2"
|
|
12231
|
+
}
|
|
12232
|
+
)
|
|
12233
|
+
]
|
|
12234
|
+
}
|
|
12235
|
+
),
|
|
12236
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
12237
|
+
/* @__PURE__ */ jsx("p", { className: "text-base text-gray-900", children: address }),
|
|
12238
|
+
/* @__PURE__ */ jsxs(
|
|
12239
|
+
"a",
|
|
12240
|
+
{
|
|
12241
|
+
href: googleMapsLink,
|
|
12242
|
+
target: "_blank",
|
|
12243
|
+
rel: "noopener noreferrer",
|
|
12244
|
+
className: "inline-flex items-center gap-1 text-sm text-blue-600 hover:text-blue-700 mt-1 underline",
|
|
12245
|
+
children: [
|
|
12246
|
+
pageData.openInGoogleMaps,
|
|
12247
|
+
/* @__PURE__ */ jsx(
|
|
12248
|
+
"svg",
|
|
12251
12249
|
{
|
|
12252
|
-
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
12256
|
-
|
|
12250
|
+
width: "12",
|
|
12251
|
+
height: "12",
|
|
12252
|
+
viewBox: "0 0 12 12",
|
|
12253
|
+
fill: "none",
|
|
12254
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12255
|
+
children: /* @__PURE__ */ jsx(
|
|
12256
|
+
"path",
|
|
12257
|
+
{
|
|
12258
|
+
d: "M3 9L9 3M9 3H3M9 3V9",
|
|
12259
|
+
stroke: "currentColor",
|
|
12260
|
+
strokeWidth: "1.5",
|
|
12261
|
+
strokeLinecap: "round",
|
|
12262
|
+
strokeLinejoin: "round"
|
|
12263
|
+
}
|
|
12264
|
+
)
|
|
12257
12265
|
}
|
|
12258
12266
|
)
|
|
12259
|
-
|
|
12260
|
-
|
|
12261
|
-
|
|
12262
|
-
}
|
|
12263
|
-
)
|
|
12264
|
-
] })
|
|
12265
|
-
|
|
12266
|
-
|
|
12267
|
-
images.length > 0 && /* @__PURE__ */ jsxs("div", { className: "relative l:w-full min-l:h-[400px] rounded-2xl overflow-hidden demo-room-swiper", children: [
|
|
12268
|
-
/* @__PURE__ */ jsx("style", { children: `
|
|
12267
|
+
]
|
|
12268
|
+
}
|
|
12269
|
+
)
|
|
12270
|
+
] })
|
|
12271
|
+
] })
|
|
12272
|
+
] }),
|
|
12273
|
+
images.length > 0 && /* @__PURE__ */ jsxs("div", { className: "relative l:w-full min-l:h-[400px] rounded-2xl overflow-hidden demo-room-swiper", children: [
|
|
12274
|
+
/* @__PURE__ */ jsx("style", { children: `
|
|
12269
12275
|
.demo-room-swiper .swiper-pagination-bullet {
|
|
12270
12276
|
background-color: rgba(255, 255, 255, 0.5);
|
|
12271
12277
|
}
|
|
@@ -12295,32 +12301,34 @@ var DemoRoomDetail2 = ({
|
|
|
12295
12301
|
right: 16px !important;
|
|
12296
12302
|
}
|
|
12297
12303
|
` }),
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
{
|
|
12301
|
-
modules: [Navigation, Pagination, Autoplay],
|
|
12302
|
-
spaceBetween: 0,
|
|
12303
|
-
slidesPerView: 1,
|
|
12304
|
-
navigation: images.length > 1,
|
|
12305
|
-
pagination: images.length > 1 ? { clickable: true } : false,
|
|
12306
|
-
autoplay: images.length > 1 ? {
|
|
12307
|
-
delay: 3e3,
|
|
12308
|
-
disableOnInteraction: false
|
|
12309
|
-
} : false,
|
|
12310
|
-
loop: images.length > 1,
|
|
12311
|
-
className: "h-full rounded-2xl",
|
|
12312
|
-
children: images.map((img, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsx("div", { className: "relative w-full h-full bg-gray-100", children: /* @__PURE__ */ jsx(
|
|
12313
|
-
"img",
|
|
12304
|
+
/* @__PURE__ */ jsx(
|
|
12305
|
+
Swiper2,
|
|
12314
12306
|
{
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12307
|
+
modules: [Navigation, Pagination, Autoplay],
|
|
12308
|
+
spaceBetween: 0,
|
|
12309
|
+
slidesPerView: 1,
|
|
12310
|
+
navigation: images.length > 1,
|
|
12311
|
+
pagination: images.length > 1 ? { clickable: true } : false,
|
|
12312
|
+
autoplay: images.length > 1 ? {
|
|
12313
|
+
delay: 3e3,
|
|
12314
|
+
disableOnInteraction: false
|
|
12315
|
+
} : false,
|
|
12316
|
+
loop: images.length > 1,
|
|
12317
|
+
className: "h-full rounded-2xl",
|
|
12318
|
+
children: images.map((img, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsx("div", { className: "relative w-full h-full bg-gray-100", children: /* @__PURE__ */ jsx(
|
|
12319
|
+
"img",
|
|
12320
|
+
{
|
|
12321
|
+
src: img,
|
|
12322
|
+
alt: `Demo room view ${index + 1}`,
|
|
12323
|
+
className: "w-full h-full object-cover"
|
|
12324
|
+
}
|
|
12325
|
+
) }) }, index))
|
|
12318
12326
|
}
|
|
12319
|
-
)
|
|
12320
|
-
}
|
|
12321
|
-
|
|
12322
|
-
|
|
12323
|
-
|
|
12327
|
+
)
|
|
12328
|
+
] })
|
|
12329
|
+
]
|
|
12330
|
+
}
|
|
12331
|
+
) });
|
|
12324
12332
|
};
|
|
12325
12333
|
DemoRoomDetail2.displayName = "DemoRoomDetail";
|
|
12326
12334
|
|
|
@@ -12524,9 +12532,7 @@ var BookingFormO2O = ({
|
|
|
12524
12532
|
const selectedPodButtonLink = useMemo(() => {
|
|
12525
12533
|
if (isPodButtonDisabled) return void 0;
|
|
12526
12534
|
if (isPodDesignEditMode) {
|
|
12527
|
-
const editBaseUrl = getSafePageDataUrl(
|
|
12528
|
-
selectedPodContent?.buttonEditLink
|
|
12529
|
-
);
|
|
12535
|
+
const editBaseUrl = getSafePageDataUrl(selectedPodContent?.buttonEditLink);
|
|
12530
12536
|
if (!editBaseUrl || !effectiveStoreManagerId || !effectiveMirSessionId) {
|
|
12531
12537
|
return void 0;
|
|
12532
12538
|
}
|
|
@@ -12598,7 +12604,11 @@ var BookingFormO2O = ({
|
|
|
12598
12604
|
onChange: (event2) => {
|
|
12599
12605
|
setSelectedPurposeType(event2.target.value);
|
|
12600
12606
|
},
|
|
12601
|
-
|
|
12607
|
+
disabled: !!token,
|
|
12608
|
+
className: cn(
|
|
12609
|
+
"h-[48px] w-full appearance-none rounded-[8px] border border-[#D9DCE1] bg-white px-[16px] pr-[48px] text-[16px] font-medium text-[#2A2C32] outline-none transition-colors focus:border-[#080A0F] focus:ring-2 focus:ring-[#3ADB67]/30 l:text-[14px]",
|
|
12610
|
+
token && "pointer-events-none cursor-not-allowed opacity-50"
|
|
12611
|
+
),
|
|
12602
12612
|
children: purposeOptions.map((item, index) => /* @__PURE__ */ jsx(
|
|
12603
12613
|
"option",
|
|
12604
12614
|
{
|
|
@@ -12669,7 +12679,7 @@ var BookingFormO2O = ({
|
|
|
12669
12679
|
onQuestionnaireSubmit,
|
|
12670
12680
|
pageData: dateTimePickerPageData,
|
|
12671
12681
|
selectedPurposeType: selectedPurpose?.type,
|
|
12672
|
-
podDesignId
|
|
12682
|
+
podDesignId: mirSessionId
|
|
12673
12683
|
}
|
|
12674
12684
|
) })
|
|
12675
12685
|
] })
|
|
@@ -12679,6 +12689,7 @@ BookingFormO2O.displayName = "BookingFormO2O";
|
|
|
12679
12689
|
var BookingSuccessO2O = ({
|
|
12680
12690
|
bookingData: initialBookingData,
|
|
12681
12691
|
token,
|
|
12692
|
+
isStoreUser,
|
|
12682
12693
|
apiConfig,
|
|
12683
12694
|
onScheduleAgain,
|
|
12684
12695
|
onCancelSuccess,
|
|
@@ -12798,7 +12809,9 @@ var BookingSuccessO2O = ({
|
|
|
12798
12809
|
const fetchBookingDesign = async () => {
|
|
12799
12810
|
try {
|
|
12800
12811
|
const apiClient = createDemoRoomApi(apiConfig);
|
|
12801
|
-
const design = await apiClient.getBookingDesign({
|
|
12812
|
+
const design = await apiClient.getBookingDesign({
|
|
12813
|
+
booking_token: token
|
|
12814
|
+
});
|
|
12802
12815
|
setBookingDesign(design);
|
|
12803
12816
|
} catch (err) {
|
|
12804
12817
|
console.error("Failed to fetch booking design:", err);
|
|
@@ -12860,9 +12873,7 @@ var BookingSuccessO2O = ({
|
|
|
12860
12873
|
}
|
|
12861
12874
|
const podDesignName = bookingDesign?.material;
|
|
12862
12875
|
const podDesignImage = bookingDesign?.thumb_url;
|
|
12863
|
-
|
|
12864
|
-
console.log(bookingDesign);
|
|
12865
|
-
console.log(bookingData);
|
|
12876
|
+
bookingDesign?.order_code;
|
|
12866
12877
|
return /* @__PURE__ */ jsx("div", { className: `min-h-screen l:py-0 l:px-0 py-12 px-6 ${className || ""}`, children: /* @__PURE__ */ jsxs("div", { className: "mx-auto", children: [
|
|
12867
12878
|
/* @__PURE__ */ jsx("h1", { className: "text-[48px] xxl:text-[32px] font-bold text-[#080A0F] mb-8 print:hidden", children: pageData.yourAppointment }),
|
|
12868
12879
|
isCancelled && /* @__PURE__ */ jsxs("div", { className: "bg-white rounded-[16px] l:items-start p-6 mb-4 l:gap-2 flex l:flex-col items-center justify-between print:hidden", children: [
|
|
@@ -12978,15 +12989,14 @@ var BookingSuccessO2O = ({
|
|
|
12978
12989
|
" ",
|
|
12979
12990
|
podDesignName
|
|
12980
12991
|
] }),
|
|
12981
|
-
bookingData?.status && pageData.podData?.status?.[bookingData.status] && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[#4A4C56]", children: pageData.podData.status[bookingData.status] })
|
|
12982
|
-
podOrderCode && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[#4A4C56]", children: podOrderCode })
|
|
12992
|
+
bookingData?.status && pageData.podData?.status?.[bookingData.status] && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[#4A4C56]", children: pageData.podData.status[bookingData.status] })
|
|
12983
12993
|
] }),
|
|
12984
12994
|
podDesignImage && /* @__PURE__ */ jsx(
|
|
12985
|
-
|
|
12995
|
+
Image,
|
|
12986
12996
|
{
|
|
12987
12997
|
src: podDesignImage,
|
|
12988
12998
|
alt: podDesignName,
|
|
12989
|
-
className: "w-[88px] h-[88px] rounded-[8px] object-cover
|
|
12999
|
+
className: "!w-[88px] !h-[88px] rounded-[8px] !object-cover"
|
|
12990
13000
|
}
|
|
12991
13001
|
)
|
|
12992
13002
|
] })
|
|
@@ -13003,7 +13013,7 @@ var BookingSuccessO2O = ({
|
|
|
13003
13013
|
children: /* @__PURE__ */ jsx(
|
|
13004
13014
|
QRCode,
|
|
13005
13015
|
{
|
|
13006
|
-
value:
|
|
13016
|
+
value: `${pageData.podData?.QRCodeUrl}${token}&isStoreUser=true` || "",
|
|
13007
13017
|
size: 200
|
|
13008
13018
|
}
|
|
13009
13019
|
)
|