@cakejp/design-system 0.4.1 → 0.6.0
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/CHANGELOG.md +47 -1
- package/CLAUDE.md +22 -128
- package/README.md +5 -0
- package/bin/init.js +2 -2
- package/contracts/components.json +5 -1
- package/contracts/rules.json +17 -0
- package/dist/index.css +1 -1
- package/dist/index.js +846 -827
- package/dist/types/components/ec/product-carousel.d.ts +1 -1
- package/dist/types/components/primitives/form-field.d.ts +10 -1
- package/dist/types/components/primitives/list-item.d.ts +4 -1
- package/package.json +3 -3
- package/templates/AGENTS.md +1 -1
- package/templates/CLAUDE.md +1 -1
- package/AGENTS.md +0 -144
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { clsx as
|
|
2
|
+
import { clsx as Pa } from "clsx";
|
|
3
3
|
import { twMerge as Ba } from "tailwind-merge";
|
|
4
|
-
import { jsx as e, jsxs as i, Fragment as
|
|
4
|
+
import { jsx as e, jsxs as i, Fragment as D } from "react/jsx-runtime";
|
|
5
5
|
import * as w from "react";
|
|
6
|
-
import
|
|
7
|
-
import { ChevronDownIcon as ne, MoreHorizontal as
|
|
8
|
-
import { Accordion as re, Slot as ye, AlertDialog as
|
|
9
|
-
import { cva as
|
|
10
|
-
import { Warning2 as
|
|
6
|
+
import Ha from "react";
|
|
7
|
+
import { ChevronDownIcon as ne, MoreHorizontal as ja, ChevronRight as La, ChevronLeftIcon as la, ChevronRightIcon as oe, XIcon as da, SearchIcon as _a, CheckIcon as ge, CircleIcon as _e, ChevronUpIcon as Ia, MoreHorizontalIcon as Aa, Check as Ie, Loader2Icon as Da, OctagonXIcon as Oa, TriangleAlertIcon as Ra, InfoIcon as Fa, CircleCheckIcon as $a, X as xe, Loader2 as Wa, StarHalf as Va } from "lucide-react";
|
|
8
|
+
import { Accordion as re, Slot as ye, AlertDialog as q, AspectRatio as qa, Avatar as Ae, Checkbox as me, Collapsible as De, Dialog as H, ContextMenu as j, Select as O, DropdownMenu as L, Label as Ga, HoverCard as ue, Menubar as _, NavigationMenu as K, Popover as pe, Progress as qe, RadioGroup as Be, ScrollArea as te, Separator as Ka, Slider as de, Switch as Ge, Tabs as Ne, Toggle as Ua, ToggleGroup as ca, Tooltip as ae } from "radix-ui";
|
|
9
|
+
import { cva as R } from "class-variance-authority";
|
|
10
|
+
import { Warning2 as Xa, CloseCircle as Ja, InfoCircle as we, TickCircle as Ya, MinusSquare as Qa, TickSquare as ma, ArrowLeft2 as le, ArrowRight2 as V, Setting4 as Za, ArrowDown2 as Y, Trash as He, Add as se, More as et, ArrowUp2 as at, Notification as Oe, Minus as je, SearchNormal1 as Te, Link2 as tt, Home2 as ua, ShoppingCart as pa, Cake as rt, Shop as ke, Chart2 as st, Box as ha, Setting2 as va, HamburgerMenu as it, User as fa, Calendar as Re, Ticket2 as Fe, Clock as nt, Bookmark as ba, Monitor as ot, Star1 as Le, Edit2 as lt, Gift as dt, People as ct, Sms as mt, Card as ut, Logout as pt, ShieldTick as ht, Tag2 as vt, ExportSquare as ft, Like1 as bt, Camera as gt, Location as xt, TrendUp as yt, TrendDown as Nt, ArrowLeft as Ke } from "iconsax-reactjs";
|
|
11
11
|
import { getDefaultClassNames as ga, DayPicker as wt } from "react-day-picker";
|
|
12
12
|
import { Command as Q } from "cmdk";
|
|
13
|
-
import { Drawer as
|
|
14
|
-
import { FormProvider as Tt, Controller as kt, useFormContext as zt, useFormState as
|
|
15
|
-
import { useTheme as
|
|
16
|
-
import { Toaster as
|
|
13
|
+
import { Drawer as U } from "vaul";
|
|
14
|
+
import { FormProvider as Tt, Controller as kt, useFormContext as zt, useFormState as Et } from "react-hook-form";
|
|
15
|
+
import { useTheme as St } from "next-themes";
|
|
16
|
+
import { Toaster as Ct } from "sonner";
|
|
17
17
|
function s(...a) {
|
|
18
|
-
return Ba(
|
|
18
|
+
return Ba(Pa(a));
|
|
19
19
|
}
|
|
20
20
|
function Ns({
|
|
21
21
|
...a
|
|
@@ -30,7 +30,7 @@ function ws({
|
|
|
30
30
|
re.Item,
|
|
31
31
|
{
|
|
32
32
|
"data-slot": "accordion-item",
|
|
33
|
-
className: s("border-b last:border-b-0", a),
|
|
33
|
+
className: s("border-b border-[var(--Border-Medium-Emphasis)] last:border-b-0", a),
|
|
34
34
|
...t
|
|
35
35
|
}
|
|
36
36
|
);
|
|
@@ -45,7 +45,7 @@ function Ts({
|
|
|
45
45
|
{
|
|
46
46
|
"data-slot": "accordion-trigger",
|
|
47
47
|
className: s(
|
|
48
|
-
"flex w-full flex-1 cursor-pointer items-center justify-between gap-4 py-4 text-left typo-label-md transition-all outline-none hover:bg-[var(--Surface-Tertiary)]/60 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
48
|
+
"flex w-full flex-1 cursor-pointer items-center justify-between gap-4 py-4 text-left typo-label-md text-[var(--Text-High-Emphasis)] transition-all outline-none hover:bg-[var(--Surface-Tertiary)]/60 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
49
49
|
a
|
|
50
50
|
),
|
|
51
51
|
...r,
|
|
@@ -71,7 +71,7 @@ function ks({
|
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const Ue = R(
|
|
75
75
|
"relative w-full",
|
|
76
76
|
{
|
|
77
77
|
variants: {
|
|
@@ -124,7 +124,7 @@ const Xe = D(
|
|
|
124
124
|
variant: "info"
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
),
|
|
127
|
+
), Xe = R(
|
|
128
128
|
"flex w-full gap-2 items-start p-4 rounded-lg border",
|
|
129
129
|
{
|
|
130
130
|
variants: {
|
|
@@ -142,11 +142,11 @@ const Xe = D(
|
|
|
142
142
|
variant: "info"
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
), he = w.createContext("info"),
|
|
145
|
+
), he = w.createContext("info"), Mt = (a) => a === "success" || a === "info" || a === "error" || a === "warning", Pt = {
|
|
146
146
|
success: { Icon: Ya, color: "text-[var(--Text-Success)]" },
|
|
147
147
|
info: { Icon: we, color: "text-[var(--Text-Medium-Emphasis)]" },
|
|
148
148
|
error: { Icon: Ja, color: "text-[var(--Text-Caution)]" },
|
|
149
|
-
warning: { Icon:
|
|
149
|
+
warning: { Icon: Xa, color: "text-[var(--Text-Warning)]" }
|
|
150
150
|
};
|
|
151
151
|
function zs({
|
|
152
152
|
className: a,
|
|
@@ -156,20 +156,20 @@ function zs({
|
|
|
156
156
|
description: o,
|
|
157
157
|
icon: l,
|
|
158
158
|
action: d,
|
|
159
|
-
...
|
|
159
|
+
...u
|
|
160
160
|
}) {
|
|
161
|
-
const c =
|
|
161
|
+
const c = Mt(t);
|
|
162
162
|
if (c && !r && (n || o)) {
|
|
163
|
-
const { Icon: v, color: h } =
|
|
163
|
+
const { Icon: v, color: h } = Pt[t], b = xa[t] ?? "", p = l ?? /* @__PURE__ */ e(v, { size: 24, className: s("shrink-0", h) });
|
|
164
164
|
return /* @__PURE__ */ e(he.Provider, { value: t, children: /* @__PURE__ */ e(
|
|
165
165
|
"div",
|
|
166
166
|
{
|
|
167
167
|
"data-slot": "alert",
|
|
168
168
|
"data-variant": t,
|
|
169
169
|
role: "alert",
|
|
170
|
-
className: s(
|
|
171
|
-
...
|
|
172
|
-
children: /* @__PURE__ */ i("div", { className:
|
|
170
|
+
className: s(Ue({ variant: t }), a),
|
|
171
|
+
...u,
|
|
172
|
+
children: /* @__PURE__ */ i("div", { className: Xe({ variant: t }), children: [
|
|
173
173
|
p,
|
|
174
174
|
/* @__PURE__ */ i("div", { className: "flex-1 min-w-0", children: [
|
|
175
175
|
n && /* @__PURE__ */ e("div", { className: s("typo-label-md", b), children: n }),
|
|
@@ -186,9 +186,9 @@ function zs({
|
|
|
186
186
|
"data-slot": "alert",
|
|
187
187
|
"data-variant": t,
|
|
188
188
|
role: "alert",
|
|
189
|
-
className: s(
|
|
190
|
-
...
|
|
191
|
-
children: c ? /* @__PURE__ */ e("div", { className:
|
|
189
|
+
className: s(Ue({ variant: t }), a),
|
|
190
|
+
...u,
|
|
191
|
+
children: c ? /* @__PURE__ */ e("div", { className: Xe({ variant: t }), children: r }) : r
|
|
192
192
|
}
|
|
193
193
|
) });
|
|
194
194
|
}
|
|
@@ -201,7 +201,7 @@ const xa = {
|
|
|
201
201
|
"inline-caution": "text-[var(--Text-Caution)]",
|
|
202
202
|
"inline-warning": "text-[var(--Text-Warning)]"
|
|
203
203
|
};
|
|
204
|
-
function
|
|
204
|
+
function Es({ className: a, ...t }) {
|
|
205
205
|
const r = w.useContext(he), n = xa[r ?? "info"] ?? "";
|
|
206
206
|
return /* @__PURE__ */ e(
|
|
207
207
|
"div",
|
|
@@ -221,7 +221,7 @@ const Bt = {
|
|
|
221
221
|
"inline-caution": "text-[var(--Text-Caution)]",
|
|
222
222
|
"inline-warning": "text-[var(--Text-Warning)]"
|
|
223
223
|
};
|
|
224
|
-
function
|
|
224
|
+
function Ss({
|
|
225
225
|
className: a,
|
|
226
226
|
...t
|
|
227
227
|
}) {
|
|
@@ -239,8 +239,8 @@ function Cs({
|
|
|
239
239
|
}
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
const ve =
|
|
243
|
-
"inline-flex shrink-0 items-center justify-center gap-2 rounded-
|
|
242
|
+
const ve = R(
|
|
243
|
+
"inline-flex shrink-0 items-center justify-center gap-2 rounded-lg typo-label-md whitespace-nowrap transition-all outline-none focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50 disabled:pointer-events-none aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
244
244
|
{
|
|
245
245
|
variants: {
|
|
246
246
|
variant: {
|
|
@@ -265,20 +265,20 @@ const ve = D(
|
|
|
265
265
|
},
|
|
266
266
|
size: {
|
|
267
267
|
default: "h-10 px-5 py-2 has-[>svg]:px-4",
|
|
268
|
-
xs: "h-6 gap-1 rounded
|
|
269
|
-
sm: "h-8 gap-1.5 rounded-
|
|
270
|
-
lg: "h-12 rounded-
|
|
271
|
-
xl: "h-14 rounded-[
|
|
268
|
+
xs: "h-6 gap-1 rounded px-2 typo-label-sm has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
269
|
+
sm: "h-8 gap-1.5 rounded-lg px-3 has-[>svg]:px-2.5",
|
|
270
|
+
lg: "h-12 rounded-xl px-6 typo-label-lg has-[>svg]:px-5",
|
|
271
|
+
xl: "h-14 rounded-[14px] px-6 typo-label-lg has-[>svg]:px-5",
|
|
272
272
|
/**
|
|
273
273
|
* hero — トップページの hero / final-CTA 専用の特大 CTA。
|
|
274
274
|
* min-height 3.5rem (56px), padding 0 1.5rem, fully rounded。
|
|
275
275
|
* xl と異なり pill shape (rounded-full) で印象的に。
|
|
276
276
|
*/
|
|
277
277
|
hero: "min-h-14 rounded-full px-6 typo-label-lg has-[>svg]:px-5",
|
|
278
|
-
icon: "size-9 rounded-
|
|
279
|
-
"icon-xs": "size-6 rounded
|
|
280
|
-
"icon-sm": "size-8 rounded-
|
|
281
|
-
"icon-lg": "size-10 rounded-
|
|
278
|
+
icon: "size-9 rounded-lg",
|
|
279
|
+
"icon-xs": "size-6 rounded [&_svg:not([class*='size-'])]:size-3",
|
|
280
|
+
"icon-sm": "size-8 rounded-lg",
|
|
281
|
+
"icon-lg": "size-10 rounded-lg"
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
defaultVariants: {
|
|
@@ -306,27 +306,27 @@ function T({
|
|
|
306
306
|
}
|
|
307
307
|
);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Cs({
|
|
310
310
|
...a
|
|
311
311
|
}) {
|
|
312
|
-
return /* @__PURE__ */ e(
|
|
312
|
+
return /* @__PURE__ */ e(q.Root, { "data-slot": "alert-dialog", ...a });
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function Ms({
|
|
315
315
|
...a
|
|
316
316
|
}) {
|
|
317
|
-
return /* @__PURE__ */ e(
|
|
317
|
+
return /* @__PURE__ */ e(q.Trigger, { "data-slot": "alert-dialog-trigger", ...a });
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function Ht({
|
|
320
320
|
...a
|
|
321
321
|
}) {
|
|
322
|
-
return /* @__PURE__ */ e(
|
|
322
|
+
return /* @__PURE__ */ e(q.Portal, { "data-slot": "alert-dialog-portal", ...a });
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function jt({
|
|
325
325
|
className: a,
|
|
326
326
|
...t
|
|
327
327
|
}) {
|
|
328
328
|
return /* @__PURE__ */ e(
|
|
329
|
-
|
|
329
|
+
q.Overlay,
|
|
330
330
|
{
|
|
331
331
|
"data-slot": "alert-dialog-overlay",
|
|
332
332
|
className: s(
|
|
@@ -337,21 +337,21 @@ function Ht({
|
|
|
337
337
|
}
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Ps({
|
|
341
341
|
className: a,
|
|
342
342
|
size: t = "default",
|
|
343
343
|
...r
|
|
344
344
|
}) {
|
|
345
|
-
return /* @__PURE__ */ i(
|
|
346
|
-
/* @__PURE__ */ e(
|
|
345
|
+
return /* @__PURE__ */ i(Ht, { children: [
|
|
346
|
+
/* @__PURE__ */ e(jt, {}),
|
|
347
347
|
/* @__PURE__ */ e(
|
|
348
|
-
|
|
348
|
+
q.Content,
|
|
349
349
|
{
|
|
350
350
|
"data-slot": "alert-dialog-content",
|
|
351
351
|
"data-size": t,
|
|
352
352
|
onOpenAutoFocus: (n) => n.preventDefault(),
|
|
353
353
|
className: s(
|
|
354
|
-
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",
|
|
354
|
+
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-[var(--Border-Medium-Emphasis)] bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",
|
|
355
355
|
a
|
|
356
356
|
),
|
|
357
357
|
...r
|
|
@@ -375,7 +375,7 @@ function Bs({
|
|
|
375
375
|
}
|
|
376
376
|
);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Hs({
|
|
379
379
|
className: a,
|
|
380
380
|
...t
|
|
381
381
|
}) {
|
|
@@ -391,16 +391,16 @@ function js({
|
|
|
391
391
|
}
|
|
392
392
|
);
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function js({
|
|
395
395
|
className: a,
|
|
396
396
|
...t
|
|
397
397
|
}) {
|
|
398
398
|
return /* @__PURE__ */ e(
|
|
399
|
-
|
|
399
|
+
q.Title,
|
|
400
400
|
{
|
|
401
401
|
"data-slot": "alert-dialog-title",
|
|
402
402
|
className: s(
|
|
403
|
-
"typo-heading-lg sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",
|
|
403
|
+
"typo-heading-lg text-[var(--Text-High-Emphasis)] sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",
|
|
404
404
|
a
|
|
405
405
|
),
|
|
406
406
|
...t
|
|
@@ -412,7 +412,7 @@ function Ls({
|
|
|
412
412
|
...t
|
|
413
413
|
}) {
|
|
414
414
|
return /* @__PURE__ */ e(
|
|
415
|
-
|
|
415
|
+
q.Description,
|
|
416
416
|
{
|
|
417
417
|
"data-slot": "alert-dialog-description",
|
|
418
418
|
className: s("typo-body-sm text-muted-foreground", a),
|
|
@@ -427,7 +427,7 @@ function _s({
|
|
|
427
427
|
...n
|
|
428
428
|
}) {
|
|
429
429
|
return /* @__PURE__ */ e(T, { variant: t, size: r, asChild: !0, children: /* @__PURE__ */ e(
|
|
430
|
-
|
|
430
|
+
q.Action,
|
|
431
431
|
{
|
|
432
432
|
"data-slot": "alert-dialog-action",
|
|
433
433
|
className: s(a),
|
|
@@ -442,7 +442,7 @@ function Is({
|
|
|
442
442
|
...n
|
|
443
443
|
}) {
|
|
444
444
|
return /* @__PURE__ */ e(T, { variant: t, size: r, asChild: !0, children: /* @__PURE__ */ e(
|
|
445
|
-
|
|
445
|
+
q.Cancel,
|
|
446
446
|
{
|
|
447
447
|
"data-slot": "alert-dialog-cancel",
|
|
448
448
|
className: s(a),
|
|
@@ -502,7 +502,7 @@ function Rs({
|
|
|
502
502
|
}
|
|
503
503
|
);
|
|
504
504
|
}
|
|
505
|
-
const Lt =
|
|
505
|
+
const Lt = R(
|
|
506
506
|
"inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 typo-label-sm whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
507
507
|
{
|
|
508
508
|
variants: {
|
|
@@ -601,7 +601,7 @@ function Rt({ className: a, ...t }) {
|
|
|
601
601
|
}
|
|
602
602
|
);
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function Ft({
|
|
605
605
|
children: a,
|
|
606
606
|
className: t,
|
|
607
607
|
...r
|
|
@@ -618,7 +618,7 @@ function $t({
|
|
|
618
618
|
}
|
|
619
619
|
);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Fs({
|
|
622
622
|
className: a,
|
|
623
623
|
...t
|
|
624
624
|
}) {
|
|
@@ -631,13 +631,13 @@ function $s({
|
|
|
631
631
|
className: s("flex size-9 items-center justify-center", a),
|
|
632
632
|
...t,
|
|
633
633
|
children: [
|
|
634
|
-
/* @__PURE__ */ e(
|
|
634
|
+
/* @__PURE__ */ e(ja, { className: "size-4" }),
|
|
635
635
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "More" })
|
|
636
636
|
]
|
|
637
637
|
}
|
|
638
638
|
);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function $s({
|
|
641
641
|
className: a,
|
|
642
642
|
classNames: t,
|
|
643
643
|
showOutsideDays: r = !0,
|
|
@@ -645,7 +645,7 @@ function Fs({
|
|
|
645
645
|
buttonVariant: o = "ghost",
|
|
646
646
|
formatters: l,
|
|
647
647
|
components: d,
|
|
648
|
-
...
|
|
648
|
+
...u
|
|
649
649
|
}) {
|
|
650
650
|
const c = ga();
|
|
651
651
|
return /* @__PURE__ */ e(
|
|
@@ -660,7 +660,7 @@ function Fs({
|
|
|
660
660
|
),
|
|
661
661
|
captionLayout: n,
|
|
662
662
|
formatters: {
|
|
663
|
-
formatMonthDropdown: (
|
|
663
|
+
formatMonthDropdown: (m) => m.toLocaleString("default", { month: "short" }),
|
|
664
664
|
...l
|
|
665
665
|
},
|
|
666
666
|
classNames: {
|
|
@@ -701,7 +701,7 @@ function Fs({
|
|
|
701
701
|
c.dropdown
|
|
702
702
|
),
|
|
703
703
|
caption_label: s(
|
|
704
|
-
"typo-label-sm select-none",
|
|
704
|
+
"typo-label-sm select-none text-[var(--Text-Medium-Emphasis)]",
|
|
705
705
|
n === "label" ? "" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 [&>svg]:size-3.5 [&>svg]:text-muted-foreground",
|
|
706
706
|
c.caption_label
|
|
707
707
|
),
|
|
@@ -722,7 +722,7 @@ function Fs({
|
|
|
722
722
|
),
|
|
723
723
|
day: s(
|
|
724
724
|
"group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",
|
|
725
|
-
|
|
725
|
+
u.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md",
|
|
726
726
|
c.day
|
|
727
727
|
),
|
|
728
728
|
range_start: s(
|
|
@@ -747,31 +747,31 @@ function Fs({
|
|
|
747
747
|
...t
|
|
748
748
|
},
|
|
749
749
|
components: {
|
|
750
|
-
Root: ({ className:
|
|
750
|
+
Root: ({ className: m, rootRef: v, ...h }) => /* @__PURE__ */ e(
|
|
751
751
|
"div",
|
|
752
752
|
{
|
|
753
753
|
"data-slot": "calendar",
|
|
754
754
|
ref: v,
|
|
755
|
-
className: s(
|
|
755
|
+
className: s(m),
|
|
756
756
|
...h
|
|
757
757
|
}
|
|
758
758
|
),
|
|
759
|
-
Chevron: ({ className:
|
|
759
|
+
Chevron: ({ className: m, orientation: v, ...h }) => v === "left" ? /* @__PURE__ */ e(la, { className: s("size-4", m), ...h }) : v === "right" ? /* @__PURE__ */ e(
|
|
760
760
|
oe,
|
|
761
761
|
{
|
|
762
|
-
className: s("size-4",
|
|
762
|
+
className: s("size-4", m),
|
|
763
763
|
...h
|
|
764
764
|
}
|
|
765
|
-
) : /* @__PURE__ */ e(ne, { className: s("size-4",
|
|
766
|
-
DayButton:
|
|
767
|
-
WeekNumber: ({ children:
|
|
765
|
+
) : /* @__PURE__ */ e(ne, { className: s("size-4", m), ...h }),
|
|
766
|
+
DayButton: $t,
|
|
767
|
+
WeekNumber: ({ children: m, ...v }) => /* @__PURE__ */ e("td", { ...v, children: /* @__PURE__ */ e("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: m }) }),
|
|
768
768
|
...d
|
|
769
769
|
},
|
|
770
|
-
...
|
|
770
|
+
...u
|
|
771
771
|
}
|
|
772
772
|
);
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function $t({
|
|
775
775
|
className: a,
|
|
776
776
|
day: t,
|
|
777
777
|
modifiers: r,
|
|
@@ -806,7 +806,7 @@ function Wt({ className: a, ...t }) {
|
|
|
806
806
|
{
|
|
807
807
|
"data-slot": "card",
|
|
808
808
|
className: s(
|
|
809
|
-
"flex flex-col gap-4 rounded-2xl border bg-card p-4 text-card-foreground",
|
|
809
|
+
"flex flex-col gap-4 rounded-2xl border border-[var(--Border-Medium-Emphasis)] bg-card p-4 text-card-foreground",
|
|
810
810
|
a
|
|
811
811
|
),
|
|
812
812
|
...t
|
|
@@ -869,7 +869,7 @@ function Vt({ className: a, ...t }) {
|
|
|
869
869
|
}
|
|
870
870
|
);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Ks({ className: a, ...t }) {
|
|
873
873
|
return /* @__PURE__ */ e(
|
|
874
874
|
"div",
|
|
875
875
|
{
|
|
@@ -891,8 +891,8 @@ function Je({
|
|
|
891
891
|
"peer flex size-5 shrink-0 items-center justify-center rounded-[5px] border-2 border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] transition-colors outline-none",
|
|
892
892
|
"data-[state=checked]:border-transparent data-[state=checked]:bg-transparent",
|
|
893
893
|
"data-[state=indeterminate]:border-transparent data-[state=indeterminate]:bg-transparent",
|
|
894
|
-
"hover:border-[var(--
|
|
895
|
-
"focus-visible:border-[var(--
|
|
894
|
+
"hover:border-[var(--Focus-High-Emphasis)] data-[state=checked]:hover:border-transparent data-[state=indeterminate]:hover:border-transparent",
|
|
895
|
+
"focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)]/20",
|
|
896
896
|
"disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:border-[var(--Border-Medium-Emphasis)]",
|
|
897
897
|
a
|
|
898
898
|
),
|
|
@@ -908,7 +908,7 @@ function Je({
|
|
|
908
908
|
}
|
|
909
909
|
);
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function Us({
|
|
912
912
|
label: a,
|
|
913
913
|
description: t,
|
|
914
914
|
count: r,
|
|
@@ -917,7 +917,7 @@ function Xs({
|
|
|
917
917
|
id: l,
|
|
918
918
|
...d
|
|
919
919
|
}) {
|
|
920
|
-
const
|
|
920
|
+
const u = w.useId(), c = l ?? u;
|
|
921
921
|
return a === void 0 ? /* @__PURE__ */ e(Je, { id: c, className: o, ...d }) : /* @__PURE__ */ i(
|
|
922
922
|
"label",
|
|
923
923
|
{
|
|
@@ -942,7 +942,7 @@ function Xs({
|
|
|
942
942
|
}
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function Xs({
|
|
946
946
|
className: a,
|
|
947
947
|
...t
|
|
948
948
|
}) {
|
|
@@ -1069,29 +1069,29 @@ function Zs({
|
|
|
1069
1069
|
function qt({
|
|
1070
1070
|
...a
|
|
1071
1071
|
}) {
|
|
1072
|
-
return /* @__PURE__ */ e(
|
|
1072
|
+
return /* @__PURE__ */ e(H.Root, { "data-slot": "dialog", ...a });
|
|
1073
1073
|
}
|
|
1074
1074
|
function ei({
|
|
1075
1075
|
...a
|
|
1076
1076
|
}) {
|
|
1077
|
-
return /* @__PURE__ */ e(
|
|
1077
|
+
return /* @__PURE__ */ e(H.Trigger, { "data-slot": "dialog-trigger", ...a });
|
|
1078
1078
|
}
|
|
1079
1079
|
function Gt({
|
|
1080
1080
|
...a
|
|
1081
1081
|
}) {
|
|
1082
|
-
return /* @__PURE__ */ e(
|
|
1082
|
+
return /* @__PURE__ */ e(H.Portal, { "data-slot": "dialog-portal", ...a });
|
|
1083
1083
|
}
|
|
1084
1084
|
function ai({
|
|
1085
1085
|
...a
|
|
1086
1086
|
}) {
|
|
1087
|
-
return /* @__PURE__ */ e(
|
|
1087
|
+
return /* @__PURE__ */ e(H.Close, { "data-slot": "dialog-close", ...a });
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function Kt({
|
|
1090
1090
|
className: a,
|
|
1091
1091
|
...t
|
|
1092
1092
|
}) {
|
|
1093
1093
|
return /* @__PURE__ */ e(
|
|
1094
|
-
|
|
1094
|
+
H.Overlay,
|
|
1095
1095
|
{
|
|
1096
1096
|
"data-slot": "dialog-overlay",
|
|
1097
1097
|
className: s(
|
|
@@ -1102,16 +1102,16 @@ function Ut({
|
|
|
1102
1102
|
}
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function Ut({
|
|
1106
1106
|
className: a,
|
|
1107
1107
|
children: t,
|
|
1108
1108
|
showCloseButton: r = !0,
|
|
1109
1109
|
...n
|
|
1110
1110
|
}) {
|
|
1111
1111
|
return /* @__PURE__ */ i(Gt, { "data-slot": "dialog-portal", children: [
|
|
1112
|
-
/* @__PURE__ */ e(
|
|
1112
|
+
/* @__PURE__ */ e(Kt, {}),
|
|
1113
1113
|
/* @__PURE__ */ i(
|
|
1114
|
-
|
|
1114
|
+
H.Content,
|
|
1115
1115
|
{
|
|
1116
1116
|
"data-slot": "dialog-content",
|
|
1117
1117
|
onOpenAutoFocus: (o) => o.preventDefault(),
|
|
@@ -1123,7 +1123,7 @@ function Xt({
|
|
|
1123
1123
|
children: [
|
|
1124
1124
|
t,
|
|
1125
1125
|
r && /* @__PURE__ */ i(
|
|
1126
|
-
|
|
1126
|
+
H.Close,
|
|
1127
1127
|
{
|
|
1128
1128
|
"data-slot": "dialog-close",
|
|
1129
1129
|
className: "absolute top-2 right-2 flex size-10 items-center justify-center rounded-full text-[var(--Text-Low-Emphasis)] transition-colors hover:bg-[var(--Surface-Tertiary)] hover:text-[var(--Text-High-Emphasis)] focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)] focus-visible:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
@@ -1138,7 +1138,7 @@ function Xt({
|
|
|
1138
1138
|
)
|
|
1139
1139
|
] });
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function Xt({ className: a, ...t }) {
|
|
1142
1142
|
return /* @__PURE__ */ e(
|
|
1143
1143
|
"div",
|
|
1144
1144
|
{
|
|
@@ -1165,7 +1165,7 @@ function ti({
|
|
|
1165
1165
|
...n,
|
|
1166
1166
|
children: [
|
|
1167
1167
|
r,
|
|
1168
|
-
t && /* @__PURE__ */ e(
|
|
1168
|
+
t && /* @__PURE__ */ e(H.Close, { asChild: !0, children: /* @__PURE__ */ e(T, { variant: "tertiary", children: "Close" }) })
|
|
1169
1169
|
]
|
|
1170
1170
|
}
|
|
1171
1171
|
);
|
|
@@ -1175,7 +1175,7 @@ function Jt({
|
|
|
1175
1175
|
...t
|
|
1176
1176
|
}) {
|
|
1177
1177
|
return /* @__PURE__ */ e(
|
|
1178
|
-
|
|
1178
|
+
H.Title,
|
|
1179
1179
|
{
|
|
1180
1180
|
"data-slot": "dialog-title",
|
|
1181
1181
|
className: s("typo-heading-lg text-[var(--Text-High-Emphasis)]", a),
|
|
@@ -1188,7 +1188,7 @@ function Yt({
|
|
|
1188
1188
|
...t
|
|
1189
1189
|
}) {
|
|
1190
1190
|
return /* @__PURE__ */ e(
|
|
1191
|
-
|
|
1191
|
+
H.Description,
|
|
1192
1192
|
{
|
|
1193
1193
|
"data-slot": "dialog-description",
|
|
1194
1194
|
className: s("typo-body-sm text-[var(--Text-Medium-Emphasis)]", a),
|
|
@@ -1221,12 +1221,12 @@ function ri({
|
|
|
1221
1221
|
...l
|
|
1222
1222
|
}) {
|
|
1223
1223
|
return /* @__PURE__ */ i(qt, { ...l, children: [
|
|
1224
|
-
/* @__PURE__ */ i(
|
|
1224
|
+
/* @__PURE__ */ i(Xt, { className: "sr-only", children: [
|
|
1225
1225
|
/* @__PURE__ */ e(Jt, { children: a }),
|
|
1226
1226
|
/* @__PURE__ */ e(Yt, { children: t })
|
|
1227
1227
|
] }),
|
|
1228
1228
|
/* @__PURE__ */ e(
|
|
1229
|
-
|
|
1229
|
+
Ut,
|
|
1230
1230
|
{
|
|
1231
1231
|
className: s("overflow-hidden p-0", n),
|
|
1232
1232
|
showCloseButton: o,
|
|
@@ -1243,7 +1243,7 @@ function si({
|
|
|
1243
1243
|
"div",
|
|
1244
1244
|
{
|
|
1245
1245
|
"data-slot": "command-input-wrapper",
|
|
1246
|
-
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
1246
|
+
className: "flex h-9 items-center gap-2 border-b border-[var(--Border-Medium-Emphasis)] px-3",
|
|
1247
1247
|
children: [
|
|
1248
1248
|
/* @__PURE__ */ e(_a, { className: "size-4 shrink-0 opacity-50" }),
|
|
1249
1249
|
/* @__PURE__ */ e(
|
|
@@ -1353,33 +1353,33 @@ function ci({
|
|
|
1353
1353
|
function mi({
|
|
1354
1354
|
...a
|
|
1355
1355
|
}) {
|
|
1356
|
-
return /* @__PURE__ */ e(
|
|
1356
|
+
return /* @__PURE__ */ e(j.Root, { "data-slot": "context-menu", ...a });
|
|
1357
1357
|
}
|
|
1358
1358
|
function ui({
|
|
1359
1359
|
...a
|
|
1360
1360
|
}) {
|
|
1361
|
-
return /* @__PURE__ */ e(
|
|
1361
|
+
return /* @__PURE__ */ e(j.Trigger, { "data-slot": "context-menu-trigger", ...a });
|
|
1362
1362
|
}
|
|
1363
1363
|
function pi({
|
|
1364
1364
|
...a
|
|
1365
1365
|
}) {
|
|
1366
|
-
return /* @__PURE__ */ e(
|
|
1366
|
+
return /* @__PURE__ */ e(j.Group, { "data-slot": "context-menu-group", ...a });
|
|
1367
1367
|
}
|
|
1368
1368
|
function hi({
|
|
1369
1369
|
...a
|
|
1370
1370
|
}) {
|
|
1371
|
-
return /* @__PURE__ */ e(
|
|
1371
|
+
return /* @__PURE__ */ e(j.Portal, { "data-slot": "context-menu-portal", ...a });
|
|
1372
1372
|
}
|
|
1373
1373
|
function vi({
|
|
1374
1374
|
...a
|
|
1375
1375
|
}) {
|
|
1376
|
-
return /* @__PURE__ */ e(
|
|
1376
|
+
return /* @__PURE__ */ e(j.Sub, { "data-slot": "context-menu-sub", ...a });
|
|
1377
1377
|
}
|
|
1378
1378
|
function fi({
|
|
1379
1379
|
...a
|
|
1380
1380
|
}) {
|
|
1381
1381
|
return /* @__PURE__ */ e(
|
|
1382
|
-
|
|
1382
|
+
j.RadioGroup,
|
|
1383
1383
|
{
|
|
1384
1384
|
"data-slot": "context-menu-radio-group",
|
|
1385
1385
|
...a
|
|
@@ -1393,7 +1393,7 @@ function bi({
|
|
|
1393
1393
|
...n
|
|
1394
1394
|
}) {
|
|
1395
1395
|
return /* @__PURE__ */ i(
|
|
1396
|
-
|
|
1396
|
+
j.SubTrigger,
|
|
1397
1397
|
{
|
|
1398
1398
|
"data-slot": "context-menu-sub-trigger",
|
|
1399
1399
|
"data-inset": t,
|
|
@@ -1414,11 +1414,11 @@ function gi({
|
|
|
1414
1414
|
...t
|
|
1415
1415
|
}) {
|
|
1416
1416
|
return /* @__PURE__ */ e(
|
|
1417
|
-
|
|
1417
|
+
j.SubContent,
|
|
1418
1418
|
{
|
|
1419
1419
|
"data-slot": "context-menu-sub-content",
|
|
1420
1420
|
className: s(
|
|
1421
|
-
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1421
|
+
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1422
1422
|
a
|
|
1423
1423
|
),
|
|
1424
1424
|
...t
|
|
@@ -1429,13 +1429,13 @@ function xi({
|
|
|
1429
1429
|
className: a,
|
|
1430
1430
|
...t
|
|
1431
1431
|
}) {
|
|
1432
|
-
return /* @__PURE__ */ e(
|
|
1433
|
-
|
|
1432
|
+
return /* @__PURE__ */ e(j.Portal, { children: /* @__PURE__ */ e(
|
|
1433
|
+
j.Content,
|
|
1434
1434
|
{
|
|
1435
1435
|
"data-slot": "context-menu-content",
|
|
1436
1436
|
collisionPadding: 8,
|
|
1437
1437
|
className: s(
|
|
1438
|
-
"fixed z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1438
|
+
"fixed z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1439
1439
|
a
|
|
1440
1440
|
),
|
|
1441
1441
|
...t
|
|
@@ -1449,7 +1449,7 @@ function yi({
|
|
|
1449
1449
|
...n
|
|
1450
1450
|
}) {
|
|
1451
1451
|
return /* @__PURE__ */ e(
|
|
1452
|
-
|
|
1452
|
+
j.Item,
|
|
1453
1453
|
{
|
|
1454
1454
|
"data-slot": "context-menu-item",
|
|
1455
1455
|
"data-inset": t,
|
|
@@ -1469,7 +1469,7 @@ function Ni({
|
|
|
1469
1469
|
...n
|
|
1470
1470
|
}) {
|
|
1471
1471
|
return /* @__PURE__ */ i(
|
|
1472
|
-
|
|
1472
|
+
j.CheckboxItem,
|
|
1473
1473
|
{
|
|
1474
1474
|
"data-slot": "context-menu-checkbox-item",
|
|
1475
1475
|
className: s(
|
|
@@ -1479,7 +1479,7 @@ function Ni({
|
|
|
1479
1479
|
checked: r,
|
|
1480
1480
|
...n,
|
|
1481
1481
|
children: [
|
|
1482
|
-
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(
|
|
1482
|
+
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(j.ItemIndicator, { children: /* @__PURE__ */ e(ge, { className: "size-4" }) }) }),
|
|
1483
1483
|
t
|
|
1484
1484
|
]
|
|
1485
1485
|
}
|
|
@@ -1491,7 +1491,7 @@ function wi({
|
|
|
1491
1491
|
...r
|
|
1492
1492
|
}) {
|
|
1493
1493
|
return /* @__PURE__ */ i(
|
|
1494
|
-
|
|
1494
|
+
j.RadioItem,
|
|
1495
1495
|
{
|
|
1496
1496
|
"data-slot": "context-menu-radio-item",
|
|
1497
1497
|
className: s(
|
|
@@ -1500,7 +1500,7 @@ function wi({
|
|
|
1500
1500
|
),
|
|
1501
1501
|
...r,
|
|
1502
1502
|
children: [
|
|
1503
|
-
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(
|
|
1503
|
+
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(j.ItemIndicator, { children: /* @__PURE__ */ e(_e, { className: "size-2 fill-current" }) }) }),
|
|
1504
1504
|
t
|
|
1505
1505
|
]
|
|
1506
1506
|
}
|
|
@@ -1512,7 +1512,7 @@ function Ti({
|
|
|
1512
1512
|
...r
|
|
1513
1513
|
}) {
|
|
1514
1514
|
return /* @__PURE__ */ e(
|
|
1515
|
-
|
|
1515
|
+
j.Label,
|
|
1516
1516
|
{
|
|
1517
1517
|
"data-slot": "context-menu-label",
|
|
1518
1518
|
"data-inset": t,
|
|
@@ -1529,7 +1529,7 @@ function ki({
|
|
|
1529
1529
|
...t
|
|
1530
1530
|
}) {
|
|
1531
1531
|
return /* @__PURE__ */ e(
|
|
1532
|
-
|
|
1532
|
+
j.Separator,
|
|
1533
1533
|
{
|
|
1534
1534
|
"data-slot": "context-menu-separator",
|
|
1535
1535
|
className: s("-mx-1 my-1 h-px bg-border", a),
|
|
@@ -1553,57 +1553,57 @@ function zi({
|
|
|
1553
1553
|
}
|
|
1554
1554
|
);
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Ei({
|
|
1557
1557
|
...a
|
|
1558
1558
|
}) {
|
|
1559
|
-
return /* @__PURE__ */ e(
|
|
1559
|
+
return /* @__PURE__ */ e(O.Root, { "data-slot": "select", ...a });
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Si({
|
|
1562
1562
|
...a
|
|
1563
1563
|
}) {
|
|
1564
|
-
return /* @__PURE__ */ e(
|
|
1564
|
+
return /* @__PURE__ */ e(O.Group, { "data-slot": "select-group", ...a });
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function Ci({
|
|
1567
1567
|
...a
|
|
1568
1568
|
}) {
|
|
1569
|
-
return /* @__PURE__ */ e(
|
|
1569
|
+
return /* @__PURE__ */ e(O.Value, { "data-slot": "select-value", ...a });
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1571
|
+
function Mi({
|
|
1572
1572
|
className: a,
|
|
1573
1573
|
size: t = "default",
|
|
1574
1574
|
children: r,
|
|
1575
1575
|
...n
|
|
1576
1576
|
}) {
|
|
1577
1577
|
return /* @__PURE__ */ i(
|
|
1578
|
-
|
|
1578
|
+
O.Trigger,
|
|
1579
1579
|
{
|
|
1580
1580
|
"data-slot": "select-trigger",
|
|
1581
1581
|
"data-size": t,
|
|
1582
1582
|
className: s(
|
|
1583
|
-
"flex w-full items-center justify-between gap-2 rounded-lg border border-[var(--Border-High-Emphasis)] bg-transparent px-3 py-2 typo-body-md whitespace-nowrap transition-[color,box-shadow,border-color] outline-none hover:border-[var(--
|
|
1583
|
+
"flex w-full items-center justify-between gap-2 rounded-lg border border-[var(--Border-High-Emphasis)] bg-transparent px-3 py-2 typo-body-md whitespace-nowrap transition-[color,box-shadow,border-color] outline-none hover:border-[var(--Focus-High-Emphasis)] hover:bg-[var(--Surface-Secondary)] focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50 disabled:cursor-not-allowed disabled:border-[var(--Border-Medium-Emphasis)] disabled:bg-[var(--Surface-Secondary)] disabled:text-[var(--Text-Disable)] disabled:hover:border-[var(--Border-Medium-Emphasis)] disabled:hover:bg-[var(--Surface-Secondary)] aria-invalid:border-[var(--Border-Caution)] aria-invalid:ring-[var(--Border-Caution)]/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-10 data-[size=sm]:h-9 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
1584
1584
|
a
|
|
1585
1585
|
),
|
|
1586
1586
|
...n,
|
|
1587
1587
|
children: [
|
|
1588
1588
|
r,
|
|
1589
|
-
/* @__PURE__ */ e(
|
|
1589
|
+
/* @__PURE__ */ e(O.Icon, { asChild: !0, children: /* @__PURE__ */ e(ne, { className: "size-4 text-[var(--Text-High-Emphasis)]" }) })
|
|
1590
1590
|
]
|
|
1591
1591
|
}
|
|
1592
1592
|
);
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1594
|
+
function Pi({
|
|
1595
1595
|
className: a,
|
|
1596
1596
|
children: t,
|
|
1597
1597
|
position: r = "item-aligned",
|
|
1598
1598
|
align: n = "center",
|
|
1599
1599
|
...o
|
|
1600
1600
|
}) {
|
|
1601
|
-
return /* @__PURE__ */ e(
|
|
1602
|
-
|
|
1601
|
+
return /* @__PURE__ */ e(O.Portal, { children: /* @__PURE__ */ i(
|
|
1602
|
+
O.Content,
|
|
1603
1603
|
{
|
|
1604
1604
|
"data-slot": "select-content",
|
|
1605
1605
|
className: s(
|
|
1606
|
-
"relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1606
|
+
"relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1607
1607
|
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
1608
1608
|
a
|
|
1609
1609
|
),
|
|
@@ -1613,7 +1613,7 @@ function Mi({
|
|
|
1613
1613
|
children: [
|
|
1614
1614
|
/* @__PURE__ */ e(Zt, {}),
|
|
1615
1615
|
/* @__PURE__ */ e(
|
|
1616
|
-
|
|
1616
|
+
O.Viewport,
|
|
1617
1617
|
{
|
|
1618
1618
|
className: s(
|
|
1619
1619
|
"p-1",
|
|
@@ -1632,7 +1632,7 @@ function Bi({
|
|
|
1632
1632
|
...t
|
|
1633
1633
|
}) {
|
|
1634
1634
|
return /* @__PURE__ */ e(
|
|
1635
|
-
|
|
1635
|
+
O.Label,
|
|
1636
1636
|
{
|
|
1637
1637
|
"data-slot": "select-label",
|
|
1638
1638
|
className: s("px-2 py-1.5 typo-body-sm text-muted-foreground", a),
|
|
@@ -1640,13 +1640,13 @@ function Bi({
|
|
|
1640
1640
|
}
|
|
1641
1641
|
);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Hi({
|
|
1644
1644
|
className: a,
|
|
1645
1645
|
children: t,
|
|
1646
1646
|
...r
|
|
1647
1647
|
}) {
|
|
1648
1648
|
return /* @__PURE__ */ i(
|
|
1649
|
-
|
|
1649
|
+
O.Item,
|
|
1650
1650
|
{
|
|
1651
1651
|
"data-slot": "select-item",
|
|
1652
1652
|
className: s(
|
|
@@ -1660,20 +1660,20 @@ function ji({
|
|
|
1660
1660
|
{
|
|
1661
1661
|
"data-slot": "select-item-indicator",
|
|
1662
1662
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
1663
|
-
children: /* @__PURE__ */ e(
|
|
1663
|
+
children: /* @__PURE__ */ e(O.ItemIndicator, { children: /* @__PURE__ */ e(ge, { className: "size-4" }) })
|
|
1664
1664
|
}
|
|
1665
1665
|
),
|
|
1666
|
-
/* @__PURE__ */ e(
|
|
1666
|
+
/* @__PURE__ */ e(O.ItemText, { children: t })
|
|
1667
1667
|
]
|
|
1668
1668
|
}
|
|
1669
1669
|
);
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function ji({
|
|
1672
1672
|
className: a,
|
|
1673
1673
|
...t
|
|
1674
1674
|
}) {
|
|
1675
1675
|
return /* @__PURE__ */ e(
|
|
1676
|
-
|
|
1676
|
+
O.Separator,
|
|
1677
1677
|
{
|
|
1678
1678
|
"data-slot": "select-separator",
|
|
1679
1679
|
className: s("pointer-events-none -mx-1 my-1 h-px bg-border", a),
|
|
@@ -1686,7 +1686,7 @@ function Zt({
|
|
|
1686
1686
|
...t
|
|
1687
1687
|
}) {
|
|
1688
1688
|
return /* @__PURE__ */ e(
|
|
1689
|
-
|
|
1689
|
+
O.ScrollUpButton,
|
|
1690
1690
|
{
|
|
1691
1691
|
"data-slot": "select-scroll-up-button",
|
|
1692
1692
|
className: s(
|
|
@@ -1703,7 +1703,7 @@ function er({
|
|
|
1703
1703
|
...t
|
|
1704
1704
|
}) {
|
|
1705
1705
|
return /* @__PURE__ */ e(
|
|
1706
|
-
|
|
1706
|
+
O.ScrollDownButton,
|
|
1707
1707
|
{
|
|
1708
1708
|
"data-slot": "select-scroll-down-button",
|
|
1709
1709
|
className: s(
|
|
@@ -1747,7 +1747,7 @@ function rr({
|
|
|
1747
1747
|
"data-slot": "dropdown-menu-content",
|
|
1748
1748
|
sideOffset: t,
|
|
1749
1749
|
className: s(
|
|
1750
|
-
"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 typo-body-md text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1750
|
+
"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 typo-body-md text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1751
1751
|
a
|
|
1752
1752
|
),
|
|
1753
1753
|
...r
|
|
@@ -1865,7 +1865,7 @@ function Ri({
|
|
|
1865
1865
|
}
|
|
1866
1866
|
);
|
|
1867
1867
|
}
|
|
1868
|
-
function
|
|
1868
|
+
function Fi({
|
|
1869
1869
|
className: a,
|
|
1870
1870
|
...t
|
|
1871
1871
|
}) {
|
|
@@ -1881,7 +1881,7 @@ function $i({
|
|
|
1881
1881
|
}
|
|
1882
1882
|
);
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function $i({
|
|
1885
1885
|
...a
|
|
1886
1886
|
}) {
|
|
1887
1887
|
return /* @__PURE__ */ e(L.Sub, { "data-slot": "dropdown-menu-sub", ...a });
|
|
@@ -1918,7 +1918,7 @@ function Vi({
|
|
|
1918
1918
|
{
|
|
1919
1919
|
"data-slot": "dropdown-menu-sub-content",
|
|
1920
1920
|
className: s(
|
|
1921
|
-
"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1921
|
+
"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1922
1922
|
a
|
|
1923
1923
|
),
|
|
1924
1924
|
...t
|
|
@@ -1935,7 +1935,7 @@ function qi({ className: a, ...t }) {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
);
|
|
1937
1937
|
}
|
|
1938
|
-
|
|
1938
|
+
R(
|
|
1939
1939
|
"group/row border-b border-[var(--Border-Low-Emphasis)] transition-colors",
|
|
1940
1940
|
{
|
|
1941
1941
|
variants: {
|
|
@@ -1949,7 +1949,7 @@ D(
|
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
1951
|
);
|
|
1952
|
-
|
|
1952
|
+
R(
|
|
1953
1953
|
"px-4 py-4 align-middle whitespace-nowrap typo-body-md text-[var(--Text-High-Emphasis)] [&:has([role=checkbox])]:w-12 [&:has([role=checkbox])]:pr-0",
|
|
1954
1954
|
{
|
|
1955
1955
|
variants: {
|
|
@@ -1973,29 +1973,29 @@ D(
|
|
|
1973
1973
|
function Gi({
|
|
1974
1974
|
...a
|
|
1975
1975
|
}) {
|
|
1976
|
-
return /* @__PURE__ */ e(
|
|
1976
|
+
return /* @__PURE__ */ e(U.Root, { "data-slot": "drawer", ...a });
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function Ki({
|
|
1979
1979
|
...a
|
|
1980
1980
|
}) {
|
|
1981
|
-
return /* @__PURE__ */ e(
|
|
1981
|
+
return /* @__PURE__ */ e(U.Trigger, { "data-slot": "drawer-trigger", ...a });
|
|
1982
1982
|
}
|
|
1983
1983
|
function ir({
|
|
1984
1984
|
...a
|
|
1985
1985
|
}) {
|
|
1986
|
-
return /* @__PURE__ */ e(
|
|
1986
|
+
return /* @__PURE__ */ e(U.Portal, { "data-slot": "drawer-portal", ...a });
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function Ui({
|
|
1989
1989
|
...a
|
|
1990
1990
|
}) {
|
|
1991
|
-
return /* @__PURE__ */ e(
|
|
1991
|
+
return /* @__PURE__ */ e(U.Close, { "data-slot": "drawer-close", ...a });
|
|
1992
1992
|
}
|
|
1993
1993
|
function nr({
|
|
1994
1994
|
className: a,
|
|
1995
1995
|
...t
|
|
1996
1996
|
}) {
|
|
1997
1997
|
return /* @__PURE__ */ e(
|
|
1998
|
-
|
|
1998
|
+
U.Overlay,
|
|
1999
1999
|
{
|
|
2000
2000
|
"data-slot": "drawer-overlay",
|
|
2001
2001
|
className: s(
|
|
@@ -2006,7 +2006,7 @@ function nr({
|
|
|
2006
2006
|
}
|
|
2007
2007
|
);
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function Xi({
|
|
2010
2010
|
className: a,
|
|
2011
2011
|
children: t,
|
|
2012
2012
|
...r
|
|
@@ -2014,11 +2014,11 @@ function Ki({
|
|
|
2014
2014
|
return /* @__PURE__ */ i(ir, { "data-slot": "drawer-portal", children: [
|
|
2015
2015
|
/* @__PURE__ */ e(nr, {}),
|
|
2016
2016
|
/* @__PURE__ */ i(
|
|
2017
|
-
|
|
2017
|
+
U.Content,
|
|
2018
2018
|
{
|
|
2019
2019
|
"data-slot": "drawer-content",
|
|
2020
2020
|
className: s(
|
|
2021
|
-
"group/drawer-content fixed z-50 flex h-auto flex-col bg-background",
|
|
2021
|
+
"group/drawer-content fixed z-50 flex h-auto flex-col border-[var(--Border-Medium-Emphasis)] bg-background",
|
|
2022
2022
|
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
|
|
2023
2023
|
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
|
|
2024
2024
|
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
|
|
@@ -2062,7 +2062,7 @@ function Qi({
|
|
|
2062
2062
|
...t
|
|
2063
2063
|
}) {
|
|
2064
2064
|
return /* @__PURE__ */ e(
|
|
2065
|
-
|
|
2065
|
+
U.Title,
|
|
2066
2066
|
{
|
|
2067
2067
|
"data-slot": "drawer-title",
|
|
2068
2068
|
className: s("typo-heading-lg text-[var(--Text-High-Emphasis)]", a),
|
|
@@ -2075,7 +2075,7 @@ function Zi({
|
|
|
2075
2075
|
...t
|
|
2076
2076
|
}) {
|
|
2077
2077
|
return /* @__PURE__ */ e(
|
|
2078
|
-
|
|
2078
|
+
U.Description,
|
|
2079
2079
|
{
|
|
2080
2080
|
"data-slot": "drawer-description",
|
|
2081
2081
|
className: s("typo-body-sm text-[var(--Text-Medium-Emphasis)]", a),
|
|
@@ -2083,7 +2083,7 @@ function Zi({
|
|
|
2083
2083
|
}
|
|
2084
2084
|
);
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function $e({
|
|
2087
2087
|
className: a,
|
|
2088
2088
|
required: t,
|
|
2089
2089
|
children: r,
|
|
@@ -2110,7 +2110,7 @@ const en = Tt, ya = w.createContext(
|
|
|
2110
2110
|
), an = ({
|
|
2111
2111
|
...a
|
|
2112
2112
|
}) => /* @__PURE__ */ e(ya.Provider, { value: { name: a.name }, children: /* @__PURE__ */ e(kt, { ...a }) }), ze = () => {
|
|
2113
|
-
const a = w.useContext(ya), t = w.useContext(Na), { getFieldState: r } = zt(), n =
|
|
2113
|
+
const a = w.useContext(ya), t = w.useContext(Na), { getFieldState: r } = zt(), n = Et({ name: a.name }), o = r(a.name, n);
|
|
2114
2114
|
if (!a)
|
|
2115
2115
|
throw new Error("useFormField should be used within <FormField>");
|
|
2116
2116
|
const { id: l } = t;
|
|
@@ -2142,7 +2142,7 @@ function rn({
|
|
|
2142
2142
|
}) {
|
|
2143
2143
|
const { error: r, formItemId: n } = ze();
|
|
2144
2144
|
return /* @__PURE__ */ e(
|
|
2145
|
-
|
|
2145
|
+
$e,
|
|
2146
2146
|
{
|
|
2147
2147
|
"data-slot": "form-label",
|
|
2148
2148
|
"data-error": !!r,
|
|
@@ -2215,7 +2215,7 @@ function cn({
|
|
|
2215
2215
|
align: t,
|
|
2216
2216
|
sideOffset: r,
|
|
2217
2217
|
className: s(
|
|
2218
|
-
"z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2218
|
+
"z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2219
2219
|
a
|
|
2220
2220
|
),
|
|
2221
2221
|
...n
|
|
@@ -2229,7 +2229,7 @@ function or({ className: a, type: t, ...r }) {
|
|
|
2229
2229
|
type: t,
|
|
2230
2230
|
"data-slot": "input",
|
|
2231
2231
|
className: s(
|
|
2232
|
-
"h-12 w-full min-w-0 rounded-lg border border-[var(--Border-High-Emphasis)] bg-transparent px-3 py-1 typo-body-lg md:typo-body-md transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:typo-label-sm file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-[var(--Border-Low-Emphasis)] disabled:bg-[var(--Surface-Secondary)] disabled:text-[var(--Text-Disable)] disabled:placeholder:text-[var(--Text-Disable)]",
|
|
2232
|
+
"h-12 w-full min-w-0 rounded-lg border border-[var(--Border-High-Emphasis)] bg-transparent px-3 py-1 typo-body-lg md:typo-body-md transition-[color,box-shadow,border-color] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:typo-label-sm file:text-foreground placeholder:text-muted-foreground hover:border-[var(--Focus-High-Emphasis)] disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-[var(--Border-Low-Emphasis)] disabled:bg-[var(--Surface-Secondary)] disabled:text-[var(--Text-Disable)] disabled:placeholder:text-[var(--Text-Disable)]",
|
|
2233
2233
|
"focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50",
|
|
2234
2234
|
"aria-invalid:border-[var(--Border-Caution)] aria-invalid:ring-[var(--Border-Caution)]/20",
|
|
2235
2235
|
a
|
|
@@ -2247,7 +2247,7 @@ function mn({
|
|
|
2247
2247
|
{
|
|
2248
2248
|
"data-slot": "menubar",
|
|
2249
2249
|
className: s(
|
|
2250
|
-
"flex h-9 items-center gap-1 rounded-md border bg-background p-1 shadow-xs",
|
|
2250
|
+
"flex h-9 items-center gap-1 rounded-md border border-[var(--Border-Medium-Emphasis)] bg-background p-1 shadow-xs",
|
|
2251
2251
|
a
|
|
2252
2252
|
),
|
|
2253
2253
|
...t
|
|
@@ -2305,7 +2305,7 @@ function fn({
|
|
|
2305
2305
|
alignOffset: r,
|
|
2306
2306
|
sideOffset: n,
|
|
2307
2307
|
className: s(
|
|
2308
|
-
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2308
|
+
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2309
2309
|
a
|
|
2310
2310
|
),
|
|
2311
2311
|
...o
|
|
@@ -2460,21 +2460,21 @@ function zn({
|
|
|
2460
2460
|
{
|
|
2461
2461
|
"data-slot": "menubar-sub-content",
|
|
2462
2462
|
className: s(
|
|
2463
|
-
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2463
|
+
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2464
2464
|
a
|
|
2465
2465
|
),
|
|
2466
2466
|
...t
|
|
2467
2467
|
}
|
|
2468
2468
|
);
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function En({
|
|
2471
2471
|
className: a,
|
|
2472
2472
|
children: t,
|
|
2473
2473
|
viewport: r = !0,
|
|
2474
2474
|
...n
|
|
2475
2475
|
}) {
|
|
2476
2476
|
return /* @__PURE__ */ i(
|
|
2477
|
-
|
|
2477
|
+
K.Root,
|
|
2478
2478
|
{
|
|
2479
2479
|
"data-slot": "navigation-menu",
|
|
2480
2480
|
"data-viewport": r,
|
|
@@ -2490,12 +2490,12 @@ function Sn({
|
|
|
2490
2490
|
}
|
|
2491
2491
|
);
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function Sn({
|
|
2494
2494
|
className: a,
|
|
2495
2495
|
...t
|
|
2496
2496
|
}) {
|
|
2497
2497
|
return /* @__PURE__ */ e(
|
|
2498
|
-
|
|
2498
|
+
K.List,
|
|
2499
2499
|
{
|
|
2500
2500
|
"data-slot": "navigation-menu-list",
|
|
2501
2501
|
className: s(
|
|
@@ -2506,12 +2506,12 @@ function Cn({
|
|
|
2506
2506
|
}
|
|
2507
2507
|
);
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function Cn({
|
|
2510
2510
|
className: a,
|
|
2511
2511
|
...t
|
|
2512
2512
|
}) {
|
|
2513
2513
|
return /* @__PURE__ */ e(
|
|
2514
|
-
|
|
2514
|
+
K.Item,
|
|
2515
2515
|
{
|
|
2516
2516
|
"data-slot": "navigation-menu-item",
|
|
2517
2517
|
className: s("relative", a),
|
|
@@ -2519,16 +2519,16 @@ function En({
|
|
|
2519
2519
|
}
|
|
2520
2520
|
);
|
|
2521
2521
|
}
|
|
2522
|
-
const dr =
|
|
2523
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 typo-label-md transition-[color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
2522
|
+
const dr = R(
|
|
2523
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 typo-label-md text-foreground transition-[color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
2524
2524
|
);
|
|
2525
|
-
function
|
|
2525
|
+
function Mn({
|
|
2526
2526
|
className: a,
|
|
2527
2527
|
children: t,
|
|
2528
2528
|
...r
|
|
2529
2529
|
}) {
|
|
2530
2530
|
return /* @__PURE__ */ i(
|
|
2531
|
-
|
|
2531
|
+
K.Trigger,
|
|
2532
2532
|
{
|
|
2533
2533
|
"data-slot": "navigation-menu-trigger",
|
|
2534
2534
|
className: s(dr(), "group", a),
|
|
@@ -2547,17 +2547,17 @@ function Pn({
|
|
|
2547
2547
|
}
|
|
2548
2548
|
);
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2550
|
+
function Pn({
|
|
2551
2551
|
className: a,
|
|
2552
2552
|
...t
|
|
2553
2553
|
}) {
|
|
2554
2554
|
return /* @__PURE__ */ e(
|
|
2555
|
-
|
|
2555
|
+
K.Content,
|
|
2556
2556
|
{
|
|
2557
2557
|
"data-slot": "navigation-menu-content",
|
|
2558
2558
|
className: s(
|
|
2559
2559
|
"top-0 left-0 w-full p-2 pr-2.5 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out md:absolute md:w-auto",
|
|
2560
|
-
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95",
|
|
2560
|
+
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-[var(--Border-Medium-Emphasis)] group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95",
|
|
2561
2561
|
a
|
|
2562
2562
|
),
|
|
2563
2563
|
...t
|
|
@@ -2575,11 +2575,11 @@ function cr({
|
|
|
2575
2575
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
2576
2576
|
),
|
|
2577
2577
|
children: /* @__PURE__ */ e(
|
|
2578
|
-
|
|
2578
|
+
K.Viewport,
|
|
2579
2579
|
{
|
|
2580
2580
|
"data-slot": "navigation-menu-viewport",
|
|
2581
2581
|
className: s(
|
|
2582
|
-
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
2582
|
+
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover text-popover-foreground shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
2583
2583
|
a
|
|
2584
2584
|
),
|
|
2585
2585
|
...t
|
|
@@ -2593,7 +2593,7 @@ function Bn({
|
|
|
2593
2593
|
...t
|
|
2594
2594
|
}) {
|
|
2595
2595
|
return /* @__PURE__ */ e(
|
|
2596
|
-
|
|
2596
|
+
K.Link,
|
|
2597
2597
|
{
|
|
2598
2598
|
"data-slot": "navigation-menu-link",
|
|
2599
2599
|
className: s(
|
|
@@ -2604,12 +2604,12 @@ function Bn({
|
|
|
2604
2604
|
}
|
|
2605
2605
|
);
|
|
2606
2606
|
}
|
|
2607
|
-
function
|
|
2607
|
+
function Hn({
|
|
2608
2608
|
className: a,
|
|
2609
2609
|
...t
|
|
2610
2610
|
}) {
|
|
2611
2611
|
return /* @__PURE__ */ e(
|
|
2612
|
-
|
|
2612
|
+
K.Indicator,
|
|
2613
2613
|
{
|
|
2614
2614
|
"data-slot": "navigation-menu-indicator",
|
|
2615
2615
|
className: s(
|
|
@@ -2621,7 +2621,7 @@ function jn({
|
|
|
2621
2621
|
}
|
|
2622
2622
|
);
|
|
2623
2623
|
}
|
|
2624
|
-
function
|
|
2624
|
+
function jn({ className: a, ...t }) {
|
|
2625
2625
|
return /* @__PURE__ */ e(
|
|
2626
2626
|
"nav",
|
|
2627
2627
|
{
|
|
@@ -2718,7 +2718,7 @@ function Dn({
|
|
|
2718
2718
|
{
|
|
2719
2719
|
"aria-hidden": !0,
|
|
2720
2720
|
"data-slot": "pagination-ellipsis",
|
|
2721
|
-
className: s("flex size-10 items-center justify-center", a),
|
|
2721
|
+
className: s("flex size-10 items-center justify-center text-muted-foreground", a),
|
|
2722
2722
|
...t,
|
|
2723
2723
|
children: [
|
|
2724
2724
|
/* @__PURE__ */ e(Aa, { className: "size-4" }),
|
|
@@ -2737,7 +2737,7 @@ function Rn({
|
|
|
2737
2737
|
}) {
|
|
2738
2738
|
return /* @__PURE__ */ e(pe.Trigger, { "data-slot": "popover-trigger", ...a });
|
|
2739
2739
|
}
|
|
2740
|
-
function
|
|
2740
|
+
function Fn({
|
|
2741
2741
|
className: a,
|
|
2742
2742
|
align: t = "center",
|
|
2743
2743
|
sideOffset: r = 4,
|
|
@@ -2750,14 +2750,14 @@ function $n({
|
|
|
2750
2750
|
align: t,
|
|
2751
2751
|
sideOffset: r,
|
|
2752
2752
|
className: s(
|
|
2753
|
-
"z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2753
|
+
"z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2754
2754
|
a
|
|
2755
2755
|
),
|
|
2756
2756
|
...n
|
|
2757
2757
|
}
|
|
2758
2758
|
) });
|
|
2759
2759
|
}
|
|
2760
|
-
function
|
|
2760
|
+
function $n({
|
|
2761
2761
|
className: a,
|
|
2762
2762
|
value: t,
|
|
2763
2763
|
...r
|
|
@@ -2935,7 +2935,7 @@ function Ta({
|
|
|
2935
2935
|
...n
|
|
2936
2936
|
}) {
|
|
2937
2937
|
return /* @__PURE__ */ e(
|
|
2938
|
-
|
|
2938
|
+
Ka.Root,
|
|
2939
2939
|
{
|
|
2940
2940
|
"data-slot": "separator",
|
|
2941
2941
|
decorative: r,
|
|
@@ -2949,29 +2949,29 @@ function Ta({
|
|
|
2949
2949
|
);
|
|
2950
2950
|
}
|
|
2951
2951
|
function Gn({ ...a }) {
|
|
2952
|
-
return /* @__PURE__ */ e(
|
|
2952
|
+
return /* @__PURE__ */ e(H.Root, { "data-slot": "sheet", ...a });
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function Kn({
|
|
2955
2955
|
...a
|
|
2956
2956
|
}) {
|
|
2957
|
-
return /* @__PURE__ */ e(
|
|
2957
|
+
return /* @__PURE__ */ e(H.Trigger, { "data-slot": "sheet-trigger", ...a });
|
|
2958
2958
|
}
|
|
2959
|
-
function
|
|
2959
|
+
function Un({
|
|
2960
2960
|
...a
|
|
2961
2961
|
}) {
|
|
2962
|
-
return /* @__PURE__ */ e(
|
|
2962
|
+
return /* @__PURE__ */ e(H.Close, { "data-slot": "sheet-close", ...a });
|
|
2963
2963
|
}
|
|
2964
2964
|
function ur({
|
|
2965
2965
|
...a
|
|
2966
2966
|
}) {
|
|
2967
|
-
return /* @__PURE__ */ e(
|
|
2967
|
+
return /* @__PURE__ */ e(H.Portal, { "data-slot": "sheet-portal", ...a });
|
|
2968
2968
|
}
|
|
2969
2969
|
function pr({
|
|
2970
2970
|
className: a,
|
|
2971
2971
|
...t
|
|
2972
2972
|
}) {
|
|
2973
2973
|
return /* @__PURE__ */ e(
|
|
2974
|
-
|
|
2974
|
+
H.Overlay,
|
|
2975
2975
|
{
|
|
2976
2976
|
"data-slot": "sheet-overlay",
|
|
2977
2977
|
className: s(
|
|
@@ -2982,7 +2982,7 @@ function pr({
|
|
|
2982
2982
|
}
|
|
2983
2983
|
);
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function Xn({
|
|
2986
2986
|
className: a,
|
|
2987
2987
|
children: t,
|
|
2988
2988
|
side: r = "right",
|
|
@@ -2992,13 +2992,13 @@ function Kn({
|
|
|
2992
2992
|
return /* @__PURE__ */ i(ur, { children: [
|
|
2993
2993
|
/* @__PURE__ */ e(pr, {}),
|
|
2994
2994
|
/* @__PURE__ */ i(
|
|
2995
|
-
|
|
2995
|
+
H.Content,
|
|
2996
2996
|
{
|
|
2997
2997
|
"data-slot": "sheet-content",
|
|
2998
2998
|
onOpenAutoFocus: (l) => l.preventDefault(),
|
|
2999
2999
|
onCloseAutoFocus: (l) => l.preventDefault(),
|
|
3000
3000
|
className: s(
|
|
3001
|
-
"fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
|
|
3001
|
+
"fixed z-50 flex flex-col gap-4 border-[var(--Border-Medium-Emphasis)] bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
|
|
3002
3002
|
r === "right" && "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
|
|
3003
3003
|
r === "left" && "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
3004
3004
|
r === "top" && "inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
@@ -3008,7 +3008,7 @@ function Kn({
|
|
|
3008
3008
|
...o,
|
|
3009
3009
|
children: [
|
|
3010
3010
|
t,
|
|
3011
|
-
n && /* @__PURE__ */ i(
|
|
3011
|
+
n && /* @__PURE__ */ i(H.Close, { className: "absolute top-2 right-2 flex size-10 items-center justify-center rounded-full text-[var(--Text-Low-Emphasis)] transition-colors hover:bg-[var(--Surface-Tertiary)] hover:text-[var(--Text-High-Emphasis)] focus:ring-2 focus:ring-[var(--Focus-High-Emphasis)] focus:outline-hidden disabled:pointer-events-none", children: [
|
|
3012
3012
|
/* @__PURE__ */ e(da, { className: "size-5" }),
|
|
3013
3013
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "閉じる" })
|
|
3014
3014
|
] })
|
|
@@ -3042,7 +3042,7 @@ function Qn({
|
|
|
3042
3042
|
...t
|
|
3043
3043
|
}) {
|
|
3044
3044
|
return /* @__PURE__ */ e(
|
|
3045
|
-
|
|
3045
|
+
H.Title,
|
|
3046
3046
|
{
|
|
3047
3047
|
"data-slot": "sheet-title",
|
|
3048
3048
|
className: s("typo-heading-lg text-foreground", a),
|
|
@@ -3055,7 +3055,7 @@ function Zn({
|
|
|
3055
3055
|
...t
|
|
3056
3056
|
}) {
|
|
3057
3057
|
return /* @__PURE__ */ e(
|
|
3058
|
-
|
|
3058
|
+
H.Description,
|
|
3059
3059
|
{
|
|
3060
3060
|
"data-slot": "sheet-description",
|
|
3061
3061
|
className: s("typo-body-sm text-muted-foreground", a),
|
|
@@ -3117,7 +3117,7 @@ function ao({
|
|
|
3117
3117
|
)
|
|
3118
3118
|
}
|
|
3119
3119
|
),
|
|
3120
|
-
Array.from({ length: d.length }, (
|
|
3120
|
+
Array.from({ length: d.length }, (u, c) => /* @__PURE__ */ e(
|
|
3121
3121
|
de.Thumb,
|
|
3122
3122
|
{
|
|
3123
3123
|
"data-slot": "slider-thumb",
|
|
@@ -3216,7 +3216,7 @@ function so({ className: a, ...t }) {
|
|
|
3216
3216
|
"thead",
|
|
3217
3217
|
{
|
|
3218
3218
|
"data-slot": "table-header",
|
|
3219
|
-
className: s("[&_tr]:border-b", a),
|
|
3219
|
+
className: s("[&_tr]:border-b [&_tr]:border-[var(--Border-Medium-Emphasis)]", a),
|
|
3220
3220
|
...t
|
|
3221
3221
|
}
|
|
3222
3222
|
);
|
|
@@ -3237,7 +3237,7 @@ function no({ className: a, ...t }) {
|
|
|
3237
3237
|
{
|
|
3238
3238
|
"data-slot": "table-footer",
|
|
3239
3239
|
className: s(
|
|
3240
|
-
"border-t bg-muted/50 typo-label-sm [&>tr]:last:border-b-0",
|
|
3240
|
+
"border-t border-[var(--Border-Medium-Emphasis)] bg-muted/50 typo-label-sm [&>tr]:last:border-b-0",
|
|
3241
3241
|
a
|
|
3242
3242
|
),
|
|
3243
3243
|
...t
|
|
@@ -3250,7 +3250,7 @@ function oo({ className: a, ...t }) {
|
|
|
3250
3250
|
{
|
|
3251
3251
|
"data-slot": "table-row",
|
|
3252
3252
|
className: s(
|
|
3253
|
-
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
3253
|
+
"border-b border-[var(--Border-Medium-Emphasis)] transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
3254
3254
|
a
|
|
3255
3255
|
),
|
|
3256
3256
|
...t
|
|
@@ -3309,7 +3309,7 @@ function uo({
|
|
|
3309
3309
|
}
|
|
3310
3310
|
);
|
|
3311
3311
|
}
|
|
3312
|
-
const vr =
|
|
3312
|
+
const vr = R(
|
|
3313
3313
|
"group/tabs-list inline-flex items-center",
|
|
3314
3314
|
{
|
|
3315
3315
|
variants: {
|
|
@@ -3392,7 +3392,7 @@ function fr({ className: a, ...t }) {
|
|
|
3392
3392
|
{
|
|
3393
3393
|
"data-slot": "textarea",
|
|
3394
3394
|
className: s(
|
|
3395
|
-
"flex field-sizing-content min-h-16 w-full rounded-lg border border-[var(--Border-High-Emphasis)] bg-transparent px-3 py-2 typo-body-lg md:typo-body-md transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-[var(--Border-Low-Emphasis)] disabled:bg-[var(--Surface-Secondary)] disabled:text-[var(--Text-Disable)] disabled:placeholder:text-[var(--Text-Disable)] aria-invalid:border-[var(--Border-Caution)] aria-invalid:ring-[var(--Border-Caution)]/20",
|
|
3395
|
+
"flex field-sizing-content min-h-16 w-full rounded-lg border border-[var(--Border-High-Emphasis)] bg-transparent px-3 py-2 typo-body-lg md:typo-body-md transition-[color,box-shadow,border-color] outline-none placeholder:text-muted-foreground hover:border-[var(--Focus-High-Emphasis)] focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-[var(--Border-Low-Emphasis)] disabled:bg-[var(--Surface-Secondary)] disabled:text-[var(--Text-Disable)] disabled:placeholder:text-[var(--Text-Disable)] aria-invalid:border-[var(--Border-Caution)] aria-invalid:ring-[var(--Border-Caution)]/20",
|
|
3396
3396
|
a
|
|
3397
3397
|
),
|
|
3398
3398
|
...t
|
|
@@ -3400,15 +3400,15 @@ function fr({ className: a, ...t }) {
|
|
|
3400
3400
|
);
|
|
3401
3401
|
}
|
|
3402
3402
|
const fo = ({ ...a }) => {
|
|
3403
|
-
const { theme: t = "system" } =
|
|
3403
|
+
const { theme: t = "system" } = St();
|
|
3404
3404
|
return /* @__PURE__ */ e(
|
|
3405
|
-
|
|
3405
|
+
Ct,
|
|
3406
3406
|
{
|
|
3407
3407
|
theme: t,
|
|
3408
3408
|
className: "toaster group",
|
|
3409
3409
|
icons: {
|
|
3410
|
-
success: /* @__PURE__ */ e(
|
|
3411
|
-
info: /* @__PURE__ */ e(
|
|
3410
|
+
success: /* @__PURE__ */ e($a, { className: "size-4 text-[var(--Text-Success)]" }),
|
|
3411
|
+
info: /* @__PURE__ */ e(Fa, { className: "size-4 text-[var(--Primitive-Sea-600)]" }),
|
|
3412
3412
|
warning: /* @__PURE__ */ e(Ra, { className: "size-4 text-[var(--Text-Warning)]" }),
|
|
3413
3413
|
error: /* @__PURE__ */ e(Oa, { className: "size-4 text-[var(--Text-Caution)]" }),
|
|
3414
3414
|
loading: /* @__PURE__ */ e(Da, { className: "size-4 animate-spin text-[var(--Text-Medium-Emphasis)]" })
|
|
@@ -3436,7 +3436,7 @@ const fo = ({ ...a }) => {
|
|
|
3436
3436
|
...a
|
|
3437
3437
|
}
|
|
3438
3438
|
);
|
|
3439
|
-
}, br =
|
|
3439
|
+
}, br = R(
|
|
3440
3440
|
"inline-flex items-center justify-center gap-2 rounded-md typo-label-sm whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3441
3441
|
{
|
|
3442
3442
|
variants: {
|
|
@@ -3463,7 +3463,7 @@ function bo({
|
|
|
3463
3463
|
...n
|
|
3464
3464
|
}) {
|
|
3465
3465
|
return /* @__PURE__ */ e(
|
|
3466
|
-
|
|
3466
|
+
Ua.Root,
|
|
3467
3467
|
{
|
|
3468
3468
|
"data-slot": "toggle",
|
|
3469
3469
|
className: s(br({ variant: t, size: r, className: a })),
|
|
@@ -3471,7 +3471,7 @@ function bo({
|
|
|
3471
3471
|
}
|
|
3472
3472
|
);
|
|
3473
3473
|
}
|
|
3474
|
-
const gr =
|
|
3474
|
+
const gr = R(
|
|
3475
3475
|
"flex items-center gap-1.5 py-1.5 overflow-x-auto scrollbar-none",
|
|
3476
3476
|
{
|
|
3477
3477
|
variants: {
|
|
@@ -3485,7 +3485,7 @@ const gr = D(
|
|
|
3485
3485
|
width: "fit"
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
|
-
), xr =
|
|
3488
|
+
), xr = R(
|
|
3489
3489
|
[
|
|
3490
3490
|
"inline-flex shrink-0 items-center justify-center",
|
|
3491
3491
|
"h-9 rounded-full px-3",
|
|
@@ -3641,14 +3641,14 @@ function ko({
|
|
|
3641
3641
|
onNext: o,
|
|
3642
3642
|
nextLabel: l = "次へ",
|
|
3643
3643
|
children: d,
|
|
3644
|
-
...
|
|
3644
|
+
...u
|
|
3645
3645
|
}) {
|
|
3646
3646
|
return /* @__PURE__ */ e(
|
|
3647
3647
|
"div",
|
|
3648
3648
|
{
|
|
3649
3649
|
"data-slot": "coach-mark",
|
|
3650
3650
|
className: s("relative inline-block", a),
|
|
3651
|
-
...
|
|
3651
|
+
...u,
|
|
3652
3652
|
children: /* @__PURE__ */ i(
|
|
3653
3653
|
"div",
|
|
3654
3654
|
{
|
|
@@ -3731,15 +3731,15 @@ function fe({
|
|
|
3731
3731
|
moreLabel: o = "もっと見る",
|
|
3732
3732
|
onMoreClick: l,
|
|
3733
3733
|
action: d,
|
|
3734
|
-
onPrev:
|
|
3734
|
+
onPrev: u,
|
|
3735
3735
|
onNext: c,
|
|
3736
|
-
prevDisabled:
|
|
3736
|
+
prevDisabled: m = !1,
|
|
3737
3737
|
nextDisabled: v = !1,
|
|
3738
3738
|
size: h = "lg",
|
|
3739
3739
|
as: b,
|
|
3740
3740
|
...p
|
|
3741
3741
|
}) {
|
|
3742
|
-
const f = b ?? wr[h], x = ["3xl", "2xl", "xl", "lg"].includes(h), k =
|
|
3742
|
+
const f = b ?? wr[h], x = ["3xl", "2xl", "xl", "lg"].includes(h), k = u || c, g = n || l, N = !!n, y = /* @__PURE__ */ i(D, { children: [
|
|
3743
3743
|
/* @__PURE__ */ e(
|
|
3744
3744
|
f,
|
|
3745
3745
|
{
|
|
@@ -3765,10 +3765,10 @@ function fe({
|
|
|
3765
3765
|
"div",
|
|
3766
3766
|
{
|
|
3767
3767
|
"data-slot": "section-header",
|
|
3768
|
-
className: s("flex flex-col gap-2
|
|
3768
|
+
className: s("flex flex-col gap-2", a),
|
|
3769
3769
|
...p,
|
|
3770
3770
|
children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2 min-w-0", children: [
|
|
3771
|
-
|
|
3771
|
+
N ? /* @__PURE__ */ e("a", { href: n, className: "flex min-w-0 flex-1 flex-col gap-1", children: y }) : /* @__PURE__ */ e("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: y }),
|
|
3772
3772
|
/* @__PURE__ */ i("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
3773
3773
|
g && (n ? /* @__PURE__ */ e(
|
|
3774
3774
|
"a",
|
|
@@ -3796,8 +3796,8 @@ function fe({
|
|
|
3796
3796
|
variant: "ghost",
|
|
3797
3797
|
size: "icon-sm",
|
|
3798
3798
|
"aria-label": "前へ",
|
|
3799
|
-
onClick:
|
|
3800
|
-
disabled:
|
|
3799
|
+
onClick: u,
|
|
3800
|
+
disabled: m,
|
|
3801
3801
|
className: "rounded-full border border-[var(--Border-Medium-Emphasis)]",
|
|
3802
3802
|
children: /* @__PURE__ */ e(le, { size: 16 })
|
|
3803
3803
|
}
|
|
@@ -3811,7 +3811,7 @@ function fe({
|
|
|
3811
3811
|
onClick: c,
|
|
3812
3812
|
disabled: v,
|
|
3813
3813
|
className: "rounded-full border border-[var(--Border-Medium-Emphasis)]",
|
|
3814
|
-
children: /* @__PURE__ */ e(
|
|
3814
|
+
children: /* @__PURE__ */ e(V, { size: 16 })
|
|
3815
3815
|
}
|
|
3816
3816
|
)
|
|
3817
3817
|
] })
|
|
@@ -3838,7 +3838,7 @@ function zo({
|
|
|
3838
3838
|
headerSize: o,
|
|
3839
3839
|
items: l,
|
|
3840
3840
|
aspectRatio: d = "16/9",
|
|
3841
|
-
bannerSize:
|
|
3841
|
+
bannerSize: u = "md",
|
|
3842
3842
|
className: c
|
|
3843
3843
|
}) {
|
|
3844
3844
|
return /* @__PURE__ */ i(
|
|
@@ -3854,12 +3854,13 @@ function zo({
|
|
|
3854
3854
|
subtitle: t,
|
|
3855
3855
|
moreHref: r,
|
|
3856
3856
|
moreLabel: n,
|
|
3857
|
-
size: o
|
|
3857
|
+
size: o,
|
|
3858
|
+
className: "px-4"
|
|
3858
3859
|
}
|
|
3859
3860
|
),
|
|
3860
3861
|
/* @__PURE__ */ i("div", { className: "flex gap-3 overflow-x-auto px-4 pb-2 scrollbar-hide mt-3", children: [
|
|
3861
|
-
l.map((
|
|
3862
|
-
const h = /* @__PURE__ */ i(
|
|
3862
|
+
l.map((m, v) => {
|
|
3863
|
+
const h = /* @__PURE__ */ i(D, { children: [
|
|
3863
3864
|
/* @__PURE__ */ e(
|
|
3864
3865
|
"div",
|
|
3865
3866
|
{
|
|
@@ -3870,23 +3871,23 @@ function zo({
|
|
|
3870
3871
|
children: /* @__PURE__ */ e(
|
|
3871
3872
|
"img",
|
|
3872
3873
|
{
|
|
3873
|
-
src:
|
|
3874
|
-
alt:
|
|
3874
|
+
src: m.imageUrl,
|
|
3875
|
+
alt: m.alt,
|
|
3875
3876
|
className: "h-full w-full object-cover"
|
|
3876
3877
|
}
|
|
3877
3878
|
)
|
|
3878
3879
|
}
|
|
3879
3880
|
),
|
|
3880
|
-
|
|
3881
|
-
|
|
3881
|
+
m.label && /* @__PURE__ */ e("p", { className: "typo-label-sm text-[var(--Text-High-Emphasis)] mt-1.5", children: m.label }),
|
|
3882
|
+
m.sublabel && /* @__PURE__ */ e("p", { className: "typo-body-xs text-[var(--Text-Medium-Emphasis)]", children: m.sublabel })
|
|
3882
3883
|
] });
|
|
3883
|
-
return
|
|
3884
|
+
return m.href ? /* @__PURE__ */ e(
|
|
3884
3885
|
"a",
|
|
3885
3886
|
{
|
|
3886
|
-
href:
|
|
3887
|
+
href: m.href,
|
|
3887
3888
|
className: s(
|
|
3888
3889
|
"group shrink-0",
|
|
3889
|
-
Ye[
|
|
3890
|
+
Ye[u]
|
|
3890
3891
|
),
|
|
3891
3892
|
children: /* @__PURE__ */ e("div", { className: "transition-opacity duration-150 group-hover:opacity-80", children: h })
|
|
3892
3893
|
},
|
|
@@ -3896,7 +3897,7 @@ function zo({
|
|
|
3896
3897
|
{
|
|
3897
3898
|
className: s(
|
|
3898
3899
|
"shrink-0",
|
|
3899
|
-
Ye[
|
|
3900
|
+
Ye[u]
|
|
3900
3901
|
),
|
|
3901
3902
|
children: h
|
|
3902
3903
|
},
|
|
@@ -3909,7 +3910,7 @@ function zo({
|
|
|
3909
3910
|
}
|
|
3910
3911
|
);
|
|
3911
3912
|
}
|
|
3912
|
-
function
|
|
3913
|
+
function Eo({
|
|
3913
3914
|
className: a,
|
|
3914
3915
|
bordered: t = !0,
|
|
3915
3916
|
children: r,
|
|
@@ -3929,7 +3930,7 @@ function So({
|
|
|
3929
3930
|
}
|
|
3930
3931
|
);
|
|
3931
3932
|
}
|
|
3932
|
-
const zr =
|
|
3933
|
+
const zr = R(
|
|
3933
3934
|
"absolute flex items-center justify-center rounded-full typo-label-xs",
|
|
3934
3935
|
{
|
|
3935
3936
|
variants: {
|
|
@@ -3948,7 +3949,7 @@ const zr = D(
|
|
|
3948
3949
|
}
|
|
3949
3950
|
}
|
|
3950
3951
|
);
|
|
3951
|
-
function
|
|
3952
|
+
function Er({
|
|
3952
3953
|
className: a,
|
|
3953
3954
|
children: t,
|
|
3954
3955
|
count: r,
|
|
@@ -3956,12 +3957,12 @@ function Sr({
|
|
|
3956
3957
|
dot: o = !1,
|
|
3957
3958
|
hidden: l = !1,
|
|
3958
3959
|
color: d,
|
|
3959
|
-
size:
|
|
3960
|
+
size: u = "sm",
|
|
3960
3961
|
...c
|
|
3961
3962
|
}) {
|
|
3962
3963
|
if (l || r != null && r <= 0 && !o)
|
|
3963
3964
|
return /* @__PURE__ */ e("span", { className: "relative inline-flex", children: t });
|
|
3964
|
-
const
|
|
3965
|
+
const m = o || r == null, v = r != null ? r > n ? `${n}+` : String(r) : void 0, h = v != null && v.length > 1, b = u === "sm" ? "h-2 w-2" : "h-2.5 w-2.5", p = u === "sm" ? h ? "h-3.5 min-w-3.5 px-1" : "h-3.5 w-3.5" : h ? "h-4 min-w-4 px-1" : "h-4 w-4", f = m ? "-right-0.5 -top-0.5" : "-right-1.5 -top-1";
|
|
3965
3966
|
return /* @__PURE__ */ i("span", { className: "relative inline-flex", children: [
|
|
3966
3967
|
t,
|
|
3967
3968
|
/* @__PURE__ */ e(
|
|
@@ -3969,20 +3970,20 @@ function Sr({
|
|
|
3969
3970
|
{
|
|
3970
3971
|
"data-slot": "notification-badge",
|
|
3971
3972
|
className: s(
|
|
3972
|
-
zr({ color: d, size:
|
|
3973
|
+
zr({ color: d, size: u }),
|
|
3973
3974
|
f,
|
|
3974
|
-
|
|
3975
|
+
m ? b : p,
|
|
3975
3976
|
a
|
|
3976
3977
|
),
|
|
3977
3978
|
role: v ? "status" : void 0,
|
|
3978
3979
|
"aria-label": v ? `${v}件の通知` : "通知あり",
|
|
3979
3980
|
...c,
|
|
3980
|
-
children: !
|
|
3981
|
+
children: !m && v
|
|
3981
3982
|
}
|
|
3982
3983
|
)
|
|
3983
3984
|
] });
|
|
3984
3985
|
}
|
|
3985
|
-
function
|
|
3986
|
+
function Sr({
|
|
3986
3987
|
className: a,
|
|
3987
3988
|
items: t,
|
|
3988
3989
|
banner: r,
|
|
@@ -4027,7 +4028,7 @@ function Cr({
|
|
|
4027
4028
|
o.isActive && "bg-[var(--Surface-Accent-Primary-Light)]"
|
|
4028
4029
|
),
|
|
4029
4030
|
children: /* @__PURE__ */ e(
|
|
4030
|
-
|
|
4031
|
+
Er,
|
|
4031
4032
|
{
|
|
4032
4033
|
count: o.badgeCount,
|
|
4033
4034
|
size: "md",
|
|
@@ -4056,7 +4057,7 @@ function Cr({
|
|
|
4056
4057
|
}
|
|
4057
4058
|
);
|
|
4058
4059
|
}
|
|
4059
|
-
function
|
|
4060
|
+
function So({ selectedCount: a, children: t, className: r }) {
|
|
4060
4061
|
return /* @__PURE__ */ i(
|
|
4061
4062
|
"div",
|
|
4062
4063
|
{
|
|
@@ -4077,7 +4078,7 @@ function Co({ selectedCount: a, children: t, className: r }) {
|
|
|
4077
4078
|
}
|
|
4078
4079
|
);
|
|
4079
4080
|
}
|
|
4080
|
-
function
|
|
4081
|
+
function Co({ items: a, className: t }) {
|
|
4081
4082
|
return /* @__PURE__ */ i(
|
|
4082
4083
|
"div",
|
|
4083
4084
|
{
|
|
@@ -4137,20 +4138,20 @@ function Eo({ items: a, className: t }) {
|
|
|
4137
4138
|
}
|
|
4138
4139
|
);
|
|
4139
4140
|
}
|
|
4140
|
-
const
|
|
4141
|
+
const Cr = {
|
|
4141
4142
|
sm: "size-[60px]",
|
|
4142
4143
|
md: "size-[100px]",
|
|
4143
4144
|
lg: "size-[120px]"
|
|
4144
|
-
},
|
|
4145
|
+
}, Mr = {
|
|
4145
4146
|
sm: "max-w-[60px]",
|
|
4146
4147
|
md: "max-w-[100px]",
|
|
4147
4148
|
lg: "max-w-[120px]"
|
|
4148
|
-
},
|
|
4149
|
+
}, Pr = {
|
|
4149
4150
|
sm: "calc((100vw - 32px) / 4.05)",
|
|
4150
4151
|
md: "calc((100vw - 32px) / 3.5)",
|
|
4151
4152
|
lg: "calc((100vw - 32px) / 3.0)"
|
|
4152
4153
|
};
|
|
4153
|
-
function
|
|
4154
|
+
function Mo({
|
|
4154
4155
|
title: a,
|
|
4155
4156
|
moreHref: t,
|
|
4156
4157
|
headerSize: r = "lg",
|
|
@@ -4158,9 +4159,9 @@ function Po({
|
|
|
4158
4159
|
thumbnailSize: o = "md",
|
|
4159
4160
|
thumbnailShape: l = "square",
|
|
4160
4161
|
layout: d = "scroll",
|
|
4161
|
-
gridRows:
|
|
4162
|
+
gridRows: u = 3,
|
|
4162
4163
|
gridCols: c = 4,
|
|
4163
|
-
pcGridCols:
|
|
4164
|
+
pcGridCols: m,
|
|
4164
4165
|
className: v
|
|
4165
4166
|
}) {
|
|
4166
4167
|
const h = l === "circle" ? "rounded-full" : "rounded-lg", b = (p, f, x) => /* @__PURE__ */ i(
|
|
@@ -4174,7 +4175,7 @@ function Po({
|
|
|
4174
4175
|
{
|
|
4175
4176
|
className: s(
|
|
4176
4177
|
"overflow-hidden shrink-0",
|
|
4177
|
-
f ? "size-24" : x ? "w-full aspect-square" :
|
|
4178
|
+
f ? "size-24" : x ? "w-full aspect-square" : Cr[o],
|
|
4178
4179
|
h
|
|
4179
4180
|
),
|
|
4180
4181
|
children: /* @__PURE__ */ e(
|
|
@@ -4192,7 +4193,7 @@ function Po({
|
|
|
4192
4193
|
{
|
|
4193
4194
|
className: s(
|
|
4194
4195
|
"typo-label-sm text-[var(--Text-High-Emphasis)] text-center",
|
|
4195
|
-
f ? "max-w-[96px]" : x ? "w-full" :
|
|
4196
|
+
f ? "max-w-[96px]" : x ? "w-full" : Mr[o]
|
|
4196
4197
|
),
|
|
4197
4198
|
children: p.name
|
|
4198
4199
|
}
|
|
@@ -4202,28 +4203,28 @@ function Po({
|
|
|
4202
4203
|
p.href
|
|
4203
4204
|
);
|
|
4204
4205
|
return /* @__PURE__ */ i("section", { "data-slot": "category-scroll", className: s("py-4 @[960px]:max-w-[960px] @[960px]:mx-auto", v), children: [
|
|
4205
|
-
/* @__PURE__ */ e(fe, { title: a, moreHref: t, size: r }),
|
|
4206
|
-
d === "grid" ? /* @__PURE__ */ i(
|
|
4207
|
-
/* @__PURE__ */ i("div", { className: s("mt-3 overflow-x-auto pl-4 pb-2 scrollbar-hide",
|
|
4206
|
+
/* @__PURE__ */ e(fe, { title: a, moreHref: t, size: r, className: "px-4" }),
|
|
4207
|
+
d === "grid" ? /* @__PURE__ */ i(D, { children: [
|
|
4208
|
+
/* @__PURE__ */ i("div", { className: s("mt-3 overflow-x-auto pl-4 pb-2 scrollbar-hide", m && "@[960px]:hidden"), children: [
|
|
4208
4209
|
/* @__PURE__ */ e(
|
|
4209
4210
|
"div",
|
|
4210
4211
|
{
|
|
4211
4212
|
className: "grid gap-2",
|
|
4212
4213
|
style: {
|
|
4213
|
-
gridTemplateRows: `repeat(${
|
|
4214
|
+
gridTemplateRows: `repeat(${u}, auto)`,
|
|
4214
4215
|
gridAutoFlow: "column",
|
|
4215
|
-
gridAutoColumns:
|
|
4216
|
+
gridAutoColumns: Pr[o]
|
|
4216
4217
|
},
|
|
4217
4218
|
children: n.map((p) => b(p, !1, !0))
|
|
4218
4219
|
}
|
|
4219
4220
|
),
|
|
4220
4221
|
/* @__PURE__ */ e("div", { className: "shrink-0 w-4", "aria-hidden": "true" })
|
|
4221
4222
|
] }),
|
|
4222
|
-
|
|
4223
|
+
m && /* @__PURE__ */ e(
|
|
4223
4224
|
"div",
|
|
4224
4225
|
{
|
|
4225
4226
|
className: "hidden @[960px]:grid @[960px]:gap-x-2 @[960px]:gap-y-4 @[960px]:px-6 @[960px]:mt-3",
|
|
4226
|
-
style: { gridTemplateColumns: `repeat(${
|
|
4227
|
+
style: { gridTemplateColumns: `repeat(${m}, 1fr)` },
|
|
4227
4228
|
children: n.map((p) => b(p, !0))
|
|
4228
4229
|
}
|
|
4229
4230
|
)
|
|
@@ -4236,7 +4237,7 @@ function Po({
|
|
|
4236
4237
|
)
|
|
4237
4238
|
] });
|
|
4238
4239
|
}
|
|
4239
|
-
const Qe =
|
|
4240
|
+
const Qe = R(
|
|
4240
4241
|
"inline-flex items-center justify-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)]",
|
|
4241
4242
|
{
|
|
4242
4243
|
variants: {
|
|
@@ -4278,26 +4279,26 @@ function za({
|
|
|
4278
4279
|
href: o,
|
|
4279
4280
|
selected: l = !1,
|
|
4280
4281
|
soldOut: d = !1,
|
|
4281
|
-
removable:
|
|
4282
|
+
removable: u = !1,
|
|
4282
4283
|
onRemove: c,
|
|
4283
|
-
count:
|
|
4284
|
+
count: m,
|
|
4284
4285
|
children: v,
|
|
4285
4286
|
...h
|
|
4286
4287
|
}) {
|
|
4287
|
-
const b = l ? "accent" : t, p = d && !l, f = p ? "border border-[var(--Text-Disable)] bg-[var(--Surface-Secondary)] text-[var(--Text-Disable)]" : void 0, x =
|
|
4288
|
+
const b = l ? "accent" : t, p = d && !l, f = p ? "border border-[var(--Text-Disable)] bg-[var(--Surface-Secondary)] text-[var(--Text-Disable)]" : void 0, x = m !== void 0 && /* @__PURE__ */ e(
|
|
4288
4289
|
"span",
|
|
4289
4290
|
{
|
|
4290
4291
|
className: s(
|
|
4291
4292
|
"inline-flex items-center justify-center rounded-full px-1.5 min-w-[1.25rem] typo-label-xs transition-colors",
|
|
4292
4293
|
l ? "bg-[var(--Brand-Cake-Orange)] text-[var(--Text-on-Inverse)] group-hover:bg-[var(--Surface-Primary)] group-hover:text-[var(--Brand-Cake-Orange)]" : "bg-[var(--Surface-Tertiary)] text-[var(--Text-Medium-Emphasis)]"
|
|
4293
4294
|
),
|
|
4294
|
-
children:
|
|
4295
|
+
children: m
|
|
4295
4296
|
}
|
|
4296
|
-
), k = /* @__PURE__ */ i(
|
|
4297
|
+
), k = /* @__PURE__ */ i(D, { children: [
|
|
4297
4298
|
v,
|
|
4298
4299
|
x,
|
|
4299
4300
|
p && /* @__PURE__ */ e("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e("div", { className: "h-[67px] w-px origin-center rotate-45 bg-[var(--Text-Disable)]" }) }),
|
|
4300
|
-
|
|
4301
|
+
u && /* @__PURE__ */ e(
|
|
4301
4302
|
"button",
|
|
4302
4303
|
{
|
|
4303
4304
|
type: "button",
|
|
@@ -4338,7 +4339,7 @@ function za({
|
|
|
4338
4339
|
}
|
|
4339
4340
|
);
|
|
4340
4341
|
}
|
|
4341
|
-
function
|
|
4342
|
+
function Po({
|
|
4342
4343
|
className: a,
|
|
4343
4344
|
icon: t,
|
|
4344
4345
|
title: r,
|
|
@@ -4372,7 +4373,7 @@ function Bo({
|
|
|
4372
4373
|
onRetry: o,
|
|
4373
4374
|
retryLabel: l = "再試行",
|
|
4374
4375
|
action: d,
|
|
4375
|
-
...
|
|
4376
|
+
...u
|
|
4376
4377
|
}) {
|
|
4377
4378
|
return /* @__PURE__ */ i(
|
|
4378
4379
|
"div",
|
|
@@ -4382,7 +4383,7 @@ function Bo({
|
|
|
4382
4383
|
"flex flex-col items-center justify-center px-4 py-20 text-center",
|
|
4383
4384
|
a
|
|
4384
4385
|
),
|
|
4385
|
-
...
|
|
4386
|
+
...u,
|
|
4386
4387
|
children: [
|
|
4387
4388
|
t && /* @__PURE__ */ e("div", { className: "shrink-0 text-[var(--Object-Caution)]", children: t }),
|
|
4388
4389
|
/* @__PURE__ */ e("p", { className: "mt-4 typo-heading-md text-[var(--Text-High-Emphasis)]", children: r }),
|
|
@@ -4395,7 +4396,7 @@ function Bo({
|
|
|
4395
4396
|
}
|
|
4396
4397
|
);
|
|
4397
4398
|
}
|
|
4398
|
-
function
|
|
4399
|
+
function Ho({
|
|
4399
4400
|
filters: a,
|
|
4400
4401
|
resultCount: t,
|
|
4401
4402
|
sortLabel: r,
|
|
@@ -4403,9 +4404,9 @@ function jo({
|
|
|
4403
4404
|
onMoreFilters: o,
|
|
4404
4405
|
onBack: l,
|
|
4405
4406
|
activeFilterCount: d,
|
|
4406
|
-
variant:
|
|
4407
|
+
variant: u = "sp",
|
|
4407
4408
|
className: c,
|
|
4408
|
-
...
|
|
4409
|
+
...m
|
|
4409
4410
|
}) {
|
|
4410
4411
|
return /* @__PURE__ */ i(
|
|
4411
4412
|
"nav",
|
|
@@ -4413,7 +4414,7 @@ function jo({
|
|
|
4413
4414
|
"aria-label": "商品フィルター",
|
|
4414
4415
|
"data-slot": "filter-bar",
|
|
4415
4416
|
className: s("@container space-y-2", c),
|
|
4416
|
-
...
|
|
4417
|
+
...m,
|
|
4417
4418
|
children: [
|
|
4418
4419
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-1 overflow-x-auto scrollbar-hide", children: [
|
|
4419
4420
|
l && /* @__PURE__ */ e(
|
|
@@ -4529,7 +4530,7 @@ function Br({ className: a }) {
|
|
|
4529
4530
|
}
|
|
4530
4531
|
);
|
|
4531
4532
|
}
|
|
4532
|
-
function
|
|
4533
|
+
function Hr({
|
|
4533
4534
|
title: a,
|
|
4534
4535
|
children: t
|
|
4535
4536
|
}) {
|
|
@@ -4577,7 +4578,7 @@ function jr({
|
|
|
4577
4578
|
)
|
|
4578
4579
|
] });
|
|
4579
4580
|
}
|
|
4580
|
-
function
|
|
4581
|
+
function jr({ groups: a }) {
|
|
4581
4582
|
const t = a.length <= 4 ? "@lg:grid-cols-4" : a.length === 5 ? "@lg:grid-cols-5" : "@lg:grid-cols-6";
|
|
4582
4583
|
return /* @__PURE__ */ e("div", { className: s("grid grid-cols-3 gap-6", t), children: a.map((r) => /* @__PURE__ */ i("div", { children: [
|
|
4583
4584
|
/* @__PURE__ */ e("h3", { className: "typo-label-md text-[var(--Text-High-Emphasis)] mb-3", children: r.title }),
|
|
@@ -4632,7 +4633,7 @@ function Ze({ links: a }) {
|
|
|
4632
4633
|
}
|
|
4633
4634
|
) }, t.label)) });
|
|
4634
4635
|
}
|
|
4635
|
-
function
|
|
4636
|
+
function jo({
|
|
4636
4637
|
className: a,
|
|
4637
4638
|
linkGroups: t = [],
|
|
4638
4639
|
copyright: r = "© Cake.jp Co., Ltd.",
|
|
@@ -4640,9 +4641,9 @@ function Ho({
|
|
|
4640
4641
|
logoHref: o = "/",
|
|
4641
4642
|
socialLinks: l = [],
|
|
4642
4643
|
description: d,
|
|
4643
|
-
paymentMethods:
|
|
4644
|
+
paymentMethods: u = [],
|
|
4644
4645
|
trustBadge: c,
|
|
4645
|
-
bottomLinks:
|
|
4646
|
+
bottomLinks: m = [],
|
|
4646
4647
|
...v
|
|
4647
4648
|
}) {
|
|
4648
4649
|
return /* @__PURE__ */ i(
|
|
@@ -4656,8 +4657,8 @@ function Ho({
|
|
|
4656
4657
|
),
|
|
4657
4658
|
...v,
|
|
4658
4659
|
children: [
|
|
4659
|
-
t.length > 0 && /* @__PURE__ */ i(
|
|
4660
|
-
/* @__PURE__ */ e("nav", { "aria-label": "フッターナビゲーション", "data-slot": "footer-links", className: "border-t border-[var(--Border-Medium-Emphasis)] @lg:hidden", children: t.map((h) => /* @__PURE__ */ i(
|
|
4660
|
+
t.length > 0 && /* @__PURE__ */ i(D, { children: [
|
|
4661
|
+
/* @__PURE__ */ e("nav", { "aria-label": "フッターナビゲーション", "data-slot": "footer-links", className: "border-t border-[var(--Border-Medium-Emphasis)] @lg:hidden", children: t.map((h) => /* @__PURE__ */ i(Hr, { title: h.title, children: [
|
|
4661
4662
|
/* @__PURE__ */ e(Ze, { links: h.links }),
|
|
4662
4663
|
h.subGroups?.map((b) => /* @__PURE__ */ i("div", { children: [
|
|
4663
4664
|
/* @__PURE__ */ e("div", { className: "border-t border-[var(--Border-Low-Emphasis)] px-5 py-5 typo-body-md text-[var(--Text-High-Emphasis)]", children: b.title }),
|
|
@@ -4670,7 +4671,7 @@ function Ho({
|
|
|
4670
4671
|
"aria-label": "フッターナビゲーション",
|
|
4671
4672
|
"data-slot": "footer-links-pc",
|
|
4672
4673
|
className: "hidden @lg:block border-t border-[var(--Border-Medium-Emphasis)]",
|
|
4673
|
-
children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-[1065px] px-5 py-16", children: /* @__PURE__ */ e(
|
|
4674
|
+
children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-[1065px] px-5 py-16", children: /* @__PURE__ */ e(jr, { groups: t }) })
|
|
4674
4675
|
}
|
|
4675
4676
|
)
|
|
4676
4677
|
] }),
|
|
@@ -4697,14 +4698,14 @@ function Ho({
|
|
|
4697
4698
|
))
|
|
4698
4699
|
}
|
|
4699
4700
|
),
|
|
4700
|
-
|
|
4701
|
+
u.length > 0 && /* @__PURE__ */ i(
|
|
4701
4702
|
"div",
|
|
4702
4703
|
{
|
|
4703
4704
|
"data-slot": "footer-payment",
|
|
4704
4705
|
className: "border-t border-[var(--Border-Low-Emphasis)] px-5 py-6",
|
|
4705
4706
|
children: [
|
|
4706
4707
|
/* @__PURE__ */ e("p", { className: "typo-label-sm text-[var(--Text-Low-Emphasis)] text-center mb-3", children: "お支払い方法" }),
|
|
4707
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap items-center justify-center gap-1.5 @sm:gap-2", children:
|
|
4708
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap items-center justify-center gap-1.5 @sm:gap-2", children: u.map((h) => /* @__PURE__ */ e(
|
|
4708
4709
|
"div",
|
|
4709
4710
|
{
|
|
4710
4711
|
className: "flex items-center justify-center",
|
|
@@ -4736,12 +4737,12 @@ function Ho({
|
|
|
4736
4737
|
]
|
|
4737
4738
|
}
|
|
4738
4739
|
),
|
|
4739
|
-
|
|
4740
|
+
m.length > 0 && /* @__PURE__ */ e(
|
|
4740
4741
|
"div",
|
|
4741
4742
|
{
|
|
4742
4743
|
"data-slot": "footer-bottom-links",
|
|
4743
4744
|
className: "border-t border-[var(--Border-Low-Emphasis)] px-5 py-4",
|
|
4744
|
-
children: /* @__PURE__ */ e("div", { className: "flex flex-wrap items-center justify-center gap-x-3 gap-y-2 @sm:gap-x-4", children:
|
|
4745
|
+
children: /* @__PURE__ */ e("div", { className: "flex flex-wrap items-center justify-center gap-x-3 gap-y-2 @sm:gap-x-4", children: m.map((h) => /* @__PURE__ */ e(
|
|
4745
4746
|
"a",
|
|
4746
4747
|
{
|
|
4747
4748
|
href: h.href,
|
|
@@ -4774,20 +4775,23 @@ function Lo({
|
|
|
4774
4775
|
required: t,
|
|
4775
4776
|
optional: r,
|
|
4776
4777
|
description: n,
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4778
|
+
descriptionPosition: o = "above",
|
|
4779
|
+
error: l,
|
|
4780
|
+
htmlFor: d,
|
|
4781
|
+
children: u,
|
|
4782
|
+
className: c
|
|
4781
4783
|
}) {
|
|
4782
|
-
|
|
4784
|
+
const m = n ? /* @__PURE__ */ e("p", { className: "typo-body-xs text-[var(--Text-Low-Emphasis)]", children: n }) : null;
|
|
4785
|
+
return /* @__PURE__ */ i("div", { className: s("space-y-1.5", c), "data-slot": "form-field", children: [
|
|
4783
4786
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
4784
|
-
/* @__PURE__ */ e(
|
|
4787
|
+
/* @__PURE__ */ e($e, { htmlFor: d, className: "typo-label-md", children: a }),
|
|
4785
4788
|
t && /* @__PURE__ */ e("span", { className: "inline-flex items-center px-1.5 py-0.5 rounded bg-[var(--Surface-Caution)] typo-label-xs text-[var(--Text-on-Inverse)]", children: "必須" }),
|
|
4786
4789
|
r && /* @__PURE__ */ e("span", { className: "inline-flex items-center px-1.5 py-0.5 rounded bg-[var(--Surface-Tertiary)] typo-label-xs text-[var(--Text-Low-Emphasis)]", children: "任意" })
|
|
4787
4790
|
] }),
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
o
|
|
4791
|
+
o === "above" && m,
|
|
4792
|
+
u,
|
|
4793
|
+
o === "below" && m,
|
|
4794
|
+
l && /* @__PURE__ */ e("p", { className: "typo-body-xs text-[var(--Text-Caution)]", children: l })
|
|
4791
4795
|
] });
|
|
4792
4796
|
}
|
|
4793
4797
|
function _o({
|
|
@@ -4798,39 +4802,39 @@ function _o({
|
|
|
4798
4802
|
autoPlay: o = 0,
|
|
4799
4803
|
peek: l = !1,
|
|
4800
4804
|
pcSlidesPerView: d = 1,
|
|
4801
|
-
centeredSlides:
|
|
4805
|
+
centeredSlides: u = !1,
|
|
4802
4806
|
className: c,
|
|
4803
|
-
...
|
|
4807
|
+
...m
|
|
4804
4808
|
}) {
|
|
4805
4809
|
const v = w.useRef(null), [h, b] = w.useState(0), p = a.length, f = t === "square" ? "aspect-square" : t === "video" ? "aspect-video" : t === "ogp" ? "aspect-[1.91/1]" : "aspect-[311/162.5]";
|
|
4806
4810
|
w.useEffect(() => {
|
|
4807
|
-
const
|
|
4808
|
-
if (!
|
|
4809
|
-
const
|
|
4811
|
+
const N = v.current;
|
|
4812
|
+
if (!N) return;
|
|
4813
|
+
const y = new IntersectionObserver(
|
|
4810
4814
|
(z) => {
|
|
4811
4815
|
for (const B of z)
|
|
4812
4816
|
if (B.isIntersecting) {
|
|
4813
|
-
const
|
|
4817
|
+
const E = Number(
|
|
4814
4818
|
B.target.dataset.index
|
|
4815
4819
|
);
|
|
4816
|
-
Number.isNaN(
|
|
4820
|
+
Number.isNaN(E) || b(E);
|
|
4817
4821
|
}
|
|
4818
4822
|
},
|
|
4819
|
-
{ root:
|
|
4823
|
+
{ root: N, threshold: 0.6 }
|
|
4820
4824
|
);
|
|
4821
|
-
return
|
|
4825
|
+
return N.querySelectorAll("[data-slide]").forEach((z) => y.observe(z)), () => y.disconnect();
|
|
4822
4826
|
}, [p]), w.useEffect(() => {
|
|
4823
4827
|
if (o <= 0 || p <= 1) return;
|
|
4824
|
-
const
|
|
4828
|
+
const N = setInterval(() => {
|
|
4825
4829
|
x((h + 1) % p);
|
|
4826
4830
|
}, o);
|
|
4827
|
-
return () => clearInterval(
|
|
4831
|
+
return () => clearInterval(N);
|
|
4828
4832
|
}, [o, h, p]);
|
|
4829
|
-
function x(
|
|
4830
|
-
const
|
|
4831
|
-
if (!
|
|
4832
|
-
const S =
|
|
4833
|
-
S &&
|
|
4833
|
+
function x(N) {
|
|
4834
|
+
const y = v.current;
|
|
4835
|
+
if (!y) return;
|
|
4836
|
+
const S = y.children[N];
|
|
4837
|
+
S && y.scrollTo({ left: S.offsetLeft, behavior: "smooth" });
|
|
4834
4838
|
}
|
|
4835
4839
|
function k() {
|
|
4836
4840
|
x(h <= 0 ? p - 1 : h - 1);
|
|
@@ -4843,7 +4847,7 @@ function _o({
|
|
|
4843
4847
|
{
|
|
4844
4848
|
"data-slot": "image-carousel",
|
|
4845
4849
|
className: s("@container group/carousel relative", c),
|
|
4846
|
-
...
|
|
4850
|
+
...m,
|
|
4847
4851
|
children: [
|
|
4848
4852
|
/* @__PURE__ */ e(
|
|
4849
4853
|
"div",
|
|
@@ -4856,46 +4860,46 @@ function _o({
|
|
|
4856
4860
|
// flex item の w-full が自動で ~426px になる(768px の 55.5%)
|
|
4857
4861
|
// @[768px]: と @[960px]: は数値指定で CSS 出力順が保証されるため
|
|
4858
4862
|
// 960px+ では @[960px]:px-0 が必ず上書きする
|
|
4859
|
-
|
|
4863
|
+
u && "@[768px]:px-[22.25%] @[960px]:px-0 @[768px]:gap-4",
|
|
4860
4864
|
// PC 複数枚表示時のスライド間ギャップ(本番 spaceBetween:24 準拠)
|
|
4861
4865
|
// cascade: @[960px]:gap-6 > @[768px]:gap-4 at 960px+
|
|
4862
4866
|
d > 1 && "@[960px]:gap-6"
|
|
4863
4867
|
),
|
|
4864
4868
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
4865
|
-
children: a.map((
|
|
4869
|
+
children: a.map((N, y) => /* @__PURE__ */ e(
|
|
4866
4870
|
"div",
|
|
4867
4871
|
{
|
|
4868
4872
|
"data-slide": !0,
|
|
4869
|
-
"data-index":
|
|
4873
|
+
"data-index": y,
|
|
4870
4874
|
className: s(
|
|
4871
4875
|
"shrink-0 snap-start",
|
|
4872
4876
|
// centeredSlides: タブレットで snap-center、PC で snap-start に戻す
|
|
4873
|
-
|
|
4877
|
+
u && "@[768px]:snap-center @[960px]:snap-start",
|
|
4874
4878
|
l ? d > 1 ? "w-[calc(100%-48px)] pr-3 @[960px]:w-[calc((100%-48px)/3)] @[960px]:pr-0" : "w-[calc(100%-48px)] pr-3 @[960px]:w-full @[960px]:pr-0" : d > 1 ? "w-full @[960px]:w-[calc((100%-48px)/3)]" : "w-full"
|
|
4875
4879
|
),
|
|
4876
|
-
children:
|
|
4880
|
+
children: N.href ? /* @__PURE__ */ e("a", { href: N.href, className: "block", children: /* @__PURE__ */ e(
|
|
4877
4881
|
"img",
|
|
4878
4882
|
{
|
|
4879
|
-
src:
|
|
4880
|
-
alt:
|
|
4881
|
-
loading:
|
|
4883
|
+
src: N.src,
|
|
4884
|
+
alt: N.alt,
|
|
4885
|
+
loading: y === 0 ? "eager" : "lazy",
|
|
4882
4886
|
className: s("w-full rounded-md object-cover @[960px]:rounded-lg", f)
|
|
4883
4887
|
}
|
|
4884
4888
|
) }) : /* @__PURE__ */ e(
|
|
4885
4889
|
"img",
|
|
4886
4890
|
{
|
|
4887
|
-
src:
|
|
4888
|
-
alt:
|
|
4889
|
-
loading:
|
|
4891
|
+
src: N.src,
|
|
4892
|
+
alt: N.alt,
|
|
4893
|
+
loading: y === 0 ? "eager" : "lazy",
|
|
4890
4894
|
className: s("w-full rounded-md object-cover @[960px]:rounded-lg", f)
|
|
4891
4895
|
}
|
|
4892
4896
|
)
|
|
4893
4897
|
},
|
|
4894
|
-
|
|
4898
|
+
y
|
|
4895
4899
|
))
|
|
4896
4900
|
}
|
|
4897
4901
|
),
|
|
4898
|
-
n && p > 1 && /* @__PURE__ */ i(
|
|
4902
|
+
n && p > 1 && /* @__PURE__ */ i(D, { children: [
|
|
4899
4903
|
/* @__PURE__ */ e(
|
|
4900
4904
|
"button",
|
|
4901
4905
|
{
|
|
@@ -4913,22 +4917,22 @@ function _o({
|
|
|
4913
4917
|
onClick: g,
|
|
4914
4918
|
"aria-label": "次へ",
|
|
4915
4919
|
className: "absolute right-2 top-1/2 z-10 hidden size-10 -translate-y-1/2 items-center justify-center rounded-full border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Secondary)] shadow-md transition-opacity hover:bg-[var(--Surface-Tertiary)] @md:flex @[960px]:opacity-0 @[960px]:group-hover/carousel:opacity-100",
|
|
4916
|
-
children: /* @__PURE__ */ e(
|
|
4920
|
+
children: /* @__PURE__ */ e(V, { size: 20, className: "text-[var(--Object-High-Emphasis)]" })
|
|
4917
4921
|
}
|
|
4918
4922
|
)
|
|
4919
4923
|
] }),
|
|
4920
|
-
r && p > 1 && /* @__PURE__ */ e("div", { className: "mt-2 flex items-center justify-center gap-1.5 @[960px]:hidden", children: a.map((
|
|
4924
|
+
r && p > 1 && /* @__PURE__ */ e("div", { className: "mt-2 flex items-center justify-center gap-1.5 @[960px]:hidden", children: a.map((N, y) => /* @__PURE__ */ e(
|
|
4921
4925
|
"button",
|
|
4922
4926
|
{
|
|
4923
4927
|
type: "button",
|
|
4924
|
-
onClick: () => x(
|
|
4925
|
-
"aria-label": `スライド ${
|
|
4928
|
+
onClick: () => x(y),
|
|
4929
|
+
"aria-label": `スライド ${y + 1}`,
|
|
4926
4930
|
className: s(
|
|
4927
4931
|
"size-2 rounded-full transition-colors",
|
|
4928
|
-
|
|
4932
|
+
y === h ? "bg-[var(--Text-High-Emphasis)]" : "bg-[var(--Surface-Tertiary)]"
|
|
4929
4933
|
)
|
|
4930
4934
|
},
|
|
4931
|
-
|
|
4935
|
+
y
|
|
4932
4936
|
)) })
|
|
4933
4937
|
]
|
|
4934
4938
|
}
|
|
@@ -4942,13 +4946,13 @@ function Io({
|
|
|
4942
4946
|
showDots: o = !0,
|
|
4943
4947
|
layout: l = "default",
|
|
4944
4948
|
className: d,
|
|
4945
|
-
...
|
|
4949
|
+
...u
|
|
4946
4950
|
}) {
|
|
4947
|
-
const [c,
|
|
4951
|
+
const [c, m] = w.useState(0);
|
|
4948
4952
|
if (a.length === 0) return null;
|
|
4949
4953
|
const v = (p) => {
|
|
4950
4954
|
const f = (p % a.length + a.length) % a.length;
|
|
4951
|
-
f !== c &&
|
|
4955
|
+
f !== c && m(f);
|
|
4952
4956
|
}, h = {
|
|
4953
4957
|
square: "aspect-square",
|
|
4954
4958
|
"4:3": "aspect-[4/3]",
|
|
@@ -4960,7 +4964,7 @@ function Io({
|
|
|
4960
4964
|
{
|
|
4961
4965
|
"data-slot": "image-gallery",
|
|
4962
4966
|
className: s("flex flex-row-reverse gap-6", d),
|
|
4963
|
-
...
|
|
4967
|
+
...u,
|
|
4964
4968
|
children: [
|
|
4965
4969
|
/* @__PURE__ */ i("div", { className: s("relative min-w-0 grow overflow-hidden rounded-lg", h), children: [
|
|
4966
4970
|
/* @__PURE__ */ e(
|
|
@@ -5013,7 +5017,7 @@ function Io({
|
|
|
5013
5017
|
{
|
|
5014
5018
|
"data-slot": "image-gallery",
|
|
5015
5019
|
className: s("space-y-2", d),
|
|
5016
|
-
...
|
|
5020
|
+
...u,
|
|
5017
5021
|
children: [
|
|
5018
5022
|
/* @__PURE__ */ i("div", { className: s("relative w-full overflow-hidden", h), children: [
|
|
5019
5023
|
/* @__PURE__ */ e(
|
|
@@ -5032,7 +5036,7 @@ function Io({
|
|
|
5032
5036
|
))
|
|
5033
5037
|
}
|
|
5034
5038
|
),
|
|
5035
|
-
a.length > 1 && /* @__PURE__ */ i(
|
|
5039
|
+
a.length > 1 && /* @__PURE__ */ i(D, { children: [
|
|
5036
5040
|
/* @__PURE__ */ e(
|
|
5037
5041
|
"button",
|
|
5038
5042
|
{
|
|
@@ -5050,7 +5054,7 @@ function Io({
|
|
|
5050
5054
|
className: "absolute right-2 top-1/2 flex size-10 -translate-y-1/2 items-center justify-center rounded-full bg-[var(--Surface-Primary)]/80 shadow-sm transition-colors hover:bg-[var(--Surface-Primary)]",
|
|
5051
5055
|
onClick: () => v(c + 1),
|
|
5052
5056
|
"aria-label": "次の画像",
|
|
5053
|
-
children: /* @__PURE__ */ e(
|
|
5057
|
+
children: /* @__PURE__ */ e(V, { size: 20, className: "text-[var(--Text-High-Emphasis)]" })
|
|
5054
5058
|
}
|
|
5055
5059
|
)
|
|
5056
5060
|
] }),
|
|
@@ -5121,7 +5125,7 @@ function Ao({
|
|
|
5121
5125
|
},
|
|
5122
5126
|
"data-slot": "image-uploader",
|
|
5123
5127
|
children: [
|
|
5124
|
-
a.map((
|
|
5128
|
+
a.map((u, c) => /* @__PURE__ */ i(
|
|
5125
5129
|
"div",
|
|
5126
5130
|
{
|
|
5127
5131
|
className: "relative aspect-square rounded-xl bg-[var(--Surface-Tertiary)] border border-[var(--Border-Low-Emphasis)] overflow-hidden group",
|
|
@@ -5129,8 +5133,8 @@ function Ao({
|
|
|
5129
5133
|
/* @__PURE__ */ e(
|
|
5130
5134
|
"img",
|
|
5131
5135
|
{
|
|
5132
|
-
src:
|
|
5133
|
-
alt:
|
|
5136
|
+
src: u.src,
|
|
5137
|
+
alt: u.alt,
|
|
5134
5138
|
className: "absolute inset-0 size-full object-cover"
|
|
5135
5139
|
}
|
|
5136
5140
|
),
|
|
@@ -5138,9 +5142,9 @@ function Ao({
|
|
|
5138
5142
|
"button",
|
|
5139
5143
|
{
|
|
5140
5144
|
className: "size-8 rounded-full bg-[var(--Primitive-White-alpha-1000)]/80 flex items-center justify-center",
|
|
5141
|
-
"aria-label": `${
|
|
5145
|
+
"aria-label": `${u.alt}を削除`,
|
|
5142
5146
|
onClick: () => r?.(c),
|
|
5143
|
-
children: /* @__PURE__ */ e(
|
|
5147
|
+
children: /* @__PURE__ */ e(He, { size: 16, className: "text-[var(--Text-Caution)]" })
|
|
5144
5148
|
}
|
|
5145
5149
|
) }),
|
|
5146
5150
|
/* @__PURE__ */ e("div", { className: "absolute top-1 left-1 size-5 rounded bg-[var(--Primitive-Black-alpha-1000)]/60 text-[var(--Primitive-White-alpha-1000)] flex items-center justify-center typo-label-xs", children: c + 1 })
|
|
@@ -5203,9 +5207,9 @@ function Oo({
|
|
|
5203
5207
|
badgeCount: o,
|
|
5204
5208
|
toggleChecked: l = !1,
|
|
5205
5209
|
onToggleChange: d,
|
|
5206
|
-
leftIcon:
|
|
5210
|
+
leftIcon: u,
|
|
5207
5211
|
leftImageUrl: c,
|
|
5208
|
-
size:
|
|
5212
|
+
size: m = "sm",
|
|
5209
5213
|
selected: v = !1,
|
|
5210
5214
|
showBorder: h = !0,
|
|
5211
5215
|
showBadgeDot: b = !1,
|
|
@@ -5213,42 +5217,57 @@ function Oo({
|
|
|
5213
5217
|
className: f,
|
|
5214
5218
|
...x
|
|
5215
5219
|
}) {
|
|
5216
|
-
const g = t ? "md" : !!(
|
|
5220
|
+
const g = t ? "md" : !!(u || c) ? "lg" : m, N = !!p, y = !N && typeof x.onClick == "function", S = N || y, z = y ? (I) => {
|
|
5221
|
+
x.onKeyDown?.(I), !I.defaultPrevented && (I.key === "Enter" || I.key === " ") && (I.preventDefault(), I.currentTarget.click());
|
|
5222
|
+
} : x.onKeyDown, B = g === "lg" ? "min-h-16 py-4" : g === "md" ? "min-h-14 py-2" : "min-h-11 py-2", E = g === "lg" ? "typo-body-lg text-[var(--Text-High-Emphasis)]" : "typo-body-md text-[var(--Text-High-Emphasis)]", P = s(
|
|
5223
|
+
"relative flex w-full items-center gap-2 bg-[var(--Surface-Primary)] px-4 rounded-lg",
|
|
5224
|
+
B,
|
|
5225
|
+
v && "bg-[var(--Surface-Secondary)]",
|
|
5226
|
+
S && "transition-colors hover:bg-[var(--Surface-Tertiary)]",
|
|
5227
|
+
y && "cursor-pointer focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50",
|
|
5228
|
+
f
|
|
5229
|
+
), $ = /* @__PURE__ */ i(D, { children: [
|
|
5230
|
+
c && /* @__PURE__ */ e("div", { className: "relative shrink-0 size-8 overflow-hidden rounded-[var(--radius-sm,4px)]", children: /* @__PURE__ */ e("img", { src: c, alt: "", className: "size-full object-cover" }) }),
|
|
5231
|
+
u && !c && /* @__PURE__ */ e("div", { className: "shrink-0 size-5 flex items-center justify-center text-[var(--Object-High-Emphasis)]", children: u }),
|
|
5232
|
+
/* @__PURE__ */ i("div", { className: "flex flex-1 min-w-0 flex-col gap-0", children: [
|
|
5233
|
+
/* @__PURE__ */ e("span", { className: s("truncate", E), children: a }),
|
|
5234
|
+
t && /* @__PURE__ */ e("span", { className: "truncate typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: t })
|
|
5235
|
+
] }),
|
|
5236
|
+
r === "arrow-right" && /* @__PURE__ */ e(V, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5237
|
+
r === "arrow-down" && /* @__PURE__ */ e(Y, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5238
|
+
r === "text" && n && /* @__PURE__ */ e("span", { className: "shrink-0 typo-body-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
5239
|
+
r === "badge" && o !== void 0 && /* @__PURE__ */ e("span", { className: "flex shrink-0 h-[13px] min-w-[13px] items-center justify-center rounded-full bg-[var(--Surface-Caution,#ec0000)] px-1 typo-label-xs text-white", children: o }),
|
|
5240
|
+
r === "toggle" && /* @__PURE__ */ e(
|
|
5241
|
+
hr,
|
|
5242
|
+
{
|
|
5243
|
+
checked: l,
|
|
5244
|
+
onCheckedChange: d,
|
|
5245
|
+
className: "shrink-0"
|
|
5246
|
+
}
|
|
5247
|
+
),
|
|
5248
|
+
b && /* @__PURE__ */ e("span", { className: "absolute left-1 top-1/2 -translate-y-1/2 size-2 rounded-full bg-[var(--Surface-Caution,#ec0000)]", "aria-hidden": !0 }),
|
|
5249
|
+
h && g !== "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Surface-Secondary)]", "aria-hidden": !0 }),
|
|
5250
|
+
h && g === "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Border-Medium-Emphasis)]", "aria-hidden": !0 })
|
|
5251
|
+
] });
|
|
5252
|
+
return p ? /* @__PURE__ */ e(
|
|
5253
|
+
"a",
|
|
5254
|
+
{
|
|
5255
|
+
href: p,
|
|
5256
|
+
...x,
|
|
5257
|
+
className: "block rounded-lg focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50",
|
|
5258
|
+
children: /* @__PURE__ */ e("div", { className: P, children: $ })
|
|
5259
|
+
}
|
|
5260
|
+
) : /* @__PURE__ */ e(
|
|
5217
5261
|
"div",
|
|
5218
5262
|
{
|
|
5219
|
-
className:
|
|
5220
|
-
"relative flex w-full items-center gap-2 bg-[var(--Surface-Primary)] px-4 rounded-lg",
|
|
5221
|
-
y,
|
|
5222
|
-
v && "bg-[var(--Surface-Secondary)]",
|
|
5223
|
-
f
|
|
5224
|
-
),
|
|
5263
|
+
className: P,
|
|
5225
5264
|
...x,
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
/* @__PURE__ */ e("span", { className: s("truncate", N), children: a }),
|
|
5231
|
-
t && /* @__PURE__ */ e("span", { className: "truncate typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: t })
|
|
5232
|
-
] }),
|
|
5233
|
-
r === "arrow-right" && /* @__PURE__ */ e(F, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5234
|
-
r === "arrow-down" && /* @__PURE__ */ e(Y, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5235
|
-
r === "text" && n && /* @__PURE__ */ e("span", { className: "shrink-0 typo-body-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
5236
|
-
r === "badge" && o !== void 0 && /* @__PURE__ */ e("span", { className: "flex shrink-0 h-[13px] min-w-[13px] items-center justify-center rounded-full bg-[var(--Surface-Caution,#ec0000)] px-1 typo-label-xs text-white", children: o }),
|
|
5237
|
-
r === "toggle" && /* @__PURE__ */ e(
|
|
5238
|
-
hr,
|
|
5239
|
-
{
|
|
5240
|
-
checked: l,
|
|
5241
|
-
onCheckedChange: d,
|
|
5242
|
-
className: "shrink-0"
|
|
5243
|
-
}
|
|
5244
|
-
),
|
|
5245
|
-
b && /* @__PURE__ */ e("span", { className: "absolute left-1 top-1/2 -translate-y-1/2 size-2 rounded-full bg-[var(--Surface-Caution,#ec0000)]", "aria-hidden": !0 }),
|
|
5246
|
-
h && g !== "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Surface-Secondary)]", "aria-hidden": !0 }),
|
|
5247
|
-
h && g === "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Border-Medium-Emphasis)]", "aria-hidden": !0 })
|
|
5248
|
-
]
|
|
5265
|
+
role: y ? "button" : x.role,
|
|
5266
|
+
tabIndex: y ? 0 : x.tabIndex,
|
|
5267
|
+
onKeyDown: z,
|
|
5268
|
+
children: $
|
|
5249
5269
|
}
|
|
5250
5270
|
);
|
|
5251
|
-
return p ? /* @__PURE__ */ e("a", { href: p, className: "block", children: S }) : S;
|
|
5252
5271
|
}
|
|
5253
5272
|
function Ro({
|
|
5254
5273
|
userName: a,
|
|
@@ -5258,9 +5277,9 @@ function Ro({
|
|
|
5258
5277
|
banners: o,
|
|
5259
5278
|
onClose: l,
|
|
5260
5279
|
onLogin: d,
|
|
5261
|
-
loginHref:
|
|
5280
|
+
loginHref: u = "/security/login_link/",
|
|
5262
5281
|
className: c,
|
|
5263
|
-
...
|
|
5282
|
+
...m
|
|
5264
5283
|
}) {
|
|
5265
5284
|
const [v, h] = w.useState(
|
|
5266
5285
|
/* @__PURE__ */ new Set()
|
|
@@ -5278,7 +5297,7 @@ function Ro({
|
|
|
5278
5297
|
"flex h-full w-80 flex-col bg-[var(--Surface-Primary)]",
|
|
5279
5298
|
c
|
|
5280
5299
|
),
|
|
5281
|
-
...
|
|
5300
|
+
...m,
|
|
5282
5301
|
children: [
|
|
5283
5302
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between px-4 py-3", children: [
|
|
5284
5303
|
t ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i("p", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: [
|
|
@@ -5296,11 +5315,11 @@ function Ro({
|
|
|
5296
5315
|
}
|
|
5297
5316
|
)
|
|
5298
5317
|
] }),
|
|
5299
|
-
!t && !r && /* @__PURE__ */ i(
|
|
5318
|
+
!t && !r && /* @__PURE__ */ i(D, { children: [
|
|
5300
5319
|
/* @__PURE__ */ e("div", { className: "py-2", children: /* @__PURE__ */ e("ul", { children: /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
|
|
5301
5320
|
"a",
|
|
5302
5321
|
{
|
|
5303
|
-
href:
|
|
5322
|
+
href: u,
|
|
5304
5323
|
onClick: d ? (p) => {
|
|
5305
5324
|
p.preventDefault(), d();
|
|
5306
5325
|
} : void 0,
|
|
@@ -5322,7 +5341,7 @@ function Ro({
|
|
|
5322
5341
|
/* @__PURE__ */ e("span", { children: p.title })
|
|
5323
5342
|
] }) }),
|
|
5324
5343
|
/* @__PURE__ */ e("ul", { children: p.items.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(ea, { item: x }) }, x.label)) }),
|
|
5325
|
-
p.itemsExtra && p.itemsExtra.length > 0 && /* @__PURE__ */ i(
|
|
5344
|
+
p.itemsExtra && p.itemsExtra.length > 0 && /* @__PURE__ */ i(D, { children: [
|
|
5326
5345
|
v.has(f) && /* @__PURE__ */ e("ul", { children: p.itemsExtra.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(ea, { item: x }) }, x.label)) }),
|
|
5327
5346
|
/* @__PURE__ */ e(
|
|
5328
5347
|
T,
|
|
@@ -5330,10 +5349,10 @@ function Ro({
|
|
|
5330
5349
|
variant: "ghost",
|
|
5331
5350
|
className: "flex w-full items-center justify-center gap-1 rounded-none px-4 py-3 typo-label-md text-[var(--Text-Accent-Primary)]",
|
|
5332
5351
|
onClick: () => b(f),
|
|
5333
|
-
children: v.has(f) ? /* @__PURE__ */ i(
|
|
5352
|
+
children: v.has(f) ? /* @__PURE__ */ i(D, { children: [
|
|
5334
5353
|
/* @__PURE__ */ e("span", { children: "折りたたむ" }),
|
|
5335
5354
|
/* @__PURE__ */ e(at, { size: 16 })
|
|
5336
|
-
] }) : /* @__PURE__ */ i(
|
|
5355
|
+
] }) : /* @__PURE__ */ i(D, { children: [
|
|
5337
5356
|
/* @__PURE__ */ e("span", { children: "すべて表示" }),
|
|
5338
5357
|
/* @__PURE__ */ e(Y, { size: 16 })
|
|
5339
5358
|
] })
|
|
@@ -5386,12 +5405,12 @@ function ea({ item: a }) {
|
|
|
5386
5405
|
a.badge && /* @__PURE__ */ e("span", { className: "rounded-full bg-[var(--Brand-Cake-Orange)] px-2 py-0.5 typo-label-xs text-[var(--Text-on-Inverse)]", children: a.badge }),
|
|
5387
5406
|
a.subText && /* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: a.subText })
|
|
5388
5407
|
] }),
|
|
5389
|
-
a.hasChildren && /* @__PURE__ */ e(
|
|
5408
|
+
a.hasChildren && /* @__PURE__ */ e(V, { size: 16, className: "shrink-0 text-[var(--Object-High-Emphasis)]" })
|
|
5390
5409
|
]
|
|
5391
5410
|
}
|
|
5392
5411
|
);
|
|
5393
5412
|
}
|
|
5394
|
-
function
|
|
5413
|
+
function Fo({
|
|
5395
5414
|
className: a,
|
|
5396
5415
|
items: t,
|
|
5397
5416
|
variant: r = "text",
|
|
@@ -5452,7 +5471,7 @@ function $o({
|
|
|
5452
5471
|
}
|
|
5453
5472
|
);
|
|
5454
5473
|
}
|
|
5455
|
-
function
|
|
5474
|
+
function $o({
|
|
5456
5475
|
notifications: a,
|
|
5457
5476
|
variant: t = "vertical",
|
|
5458
5477
|
emptyMessage: r = "新着のお知らせはありません",
|
|
@@ -5492,7 +5511,7 @@ function Fo({
|
|
|
5492
5511
|
l.isUnread && /* @__PURE__ */ e(_t, { variant: "destructive", className: "shrink-0 w-fit", children: "NEW" }),
|
|
5493
5512
|
/* @__PURE__ */ e("span", { className: "typo-body-md text-[var(--Text-High-Emphasis)] truncate", children: l.message })
|
|
5494
5513
|
] }),
|
|
5495
|
-
/* @__PURE__ */ e(
|
|
5514
|
+
/* @__PURE__ */ e(V, { size: 16, className: "text-[var(--Text-Low-Emphasis)] shrink-0 ml-auto" })
|
|
5496
5515
|
]
|
|
5497
5516
|
},
|
|
5498
5517
|
l.id
|
|
@@ -5515,7 +5534,7 @@ function Fo({
|
|
|
5515
5534
|
}
|
|
5516
5535
|
);
|
|
5517
5536
|
}
|
|
5518
|
-
const Lr =
|
|
5537
|
+
const Lr = R("inline-flex items-baseline gap-0.5 text-[var(--Text-High-Emphasis)]", {
|
|
5519
5538
|
variants: {
|
|
5520
5539
|
size: {
|
|
5521
5540
|
sm: "typo-label-md",
|
|
@@ -5546,9 +5565,9 @@ function be({
|
|
|
5546
5565
|
showTaxLabel: o = !0,
|
|
5547
5566
|
currency: l = "¥",
|
|
5548
5567
|
size: d = "md",
|
|
5549
|
-
...
|
|
5568
|
+
...u
|
|
5550
5569
|
}) {
|
|
5551
|
-
const c = t.toLocaleString("ja-JP"),
|
|
5570
|
+
const c = t.toLocaleString("ja-JP"), m = r?.toLocaleString("ja-JP"), v = n?.toLocaleString("ja-JP"), h = n != null && n > t, b = r != null && r > t, p = d ?? "md", f = h ? `${l}${c} 税込、元の価格 ${l}${v}` : b ? `${l}${c}〜${l}${m} 税込` : `${l}${c} 税込`;
|
|
5552
5571
|
return /* @__PURE__ */ i(
|
|
5553
5572
|
"div",
|
|
5554
5573
|
{
|
|
@@ -5556,7 +5575,7 @@ function be({
|
|
|
5556
5575
|
className: s("flex flex-col", a),
|
|
5557
5576
|
role: "group",
|
|
5558
5577
|
"aria-label": f,
|
|
5559
|
-
...
|
|
5578
|
+
...u,
|
|
5560
5579
|
children: [
|
|
5561
5580
|
h && /* @__PURE__ */ i(
|
|
5562
5581
|
"span",
|
|
@@ -5581,13 +5600,13 @@ function be({
|
|
|
5581
5600
|
h && "text-[var(--Text-Caution)]"
|
|
5582
5601
|
),
|
|
5583
5602
|
children: [
|
|
5584
|
-
b ? /* @__PURE__ */ i(
|
|
5603
|
+
b ? /* @__PURE__ */ i(D, { children: [
|
|
5585
5604
|
l,
|
|
5586
5605
|
c,
|
|
5587
5606
|
"〜",
|
|
5588
5607
|
l,
|
|
5589
|
-
|
|
5590
|
-
] }) : /* @__PURE__ */ i(
|
|
5608
|
+
m
|
|
5609
|
+
] }) : /* @__PURE__ */ i(D, { children: [
|
|
5591
5610
|
l,
|
|
5592
5611
|
c
|
|
5593
5612
|
] }),
|
|
@@ -5624,7 +5643,7 @@ function Wo({
|
|
|
5624
5643
|
"aria-label": "ステップ",
|
|
5625
5644
|
...o,
|
|
5626
5645
|
children: t.map((l, d) => {
|
|
5627
|
-
const
|
|
5646
|
+
const u = d < r, c = d === r, m = u || c, v = d === t.length - 1;
|
|
5628
5647
|
return /* @__PURE__ */ i("div", { className: s("flex items-start", !v && "flex-1"), children: [
|
|
5629
5648
|
/* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-1.5", children: [
|
|
5630
5649
|
/* @__PURE__ */ e(
|
|
@@ -5632,10 +5651,10 @@ function Wo({
|
|
|
5632
5651
|
{
|
|
5633
5652
|
className: s(
|
|
5634
5653
|
"flex size-7 items-center justify-center rounded-full typo-label-sm transition-colors",
|
|
5635
|
-
|
|
5654
|
+
m ? "bg-[var(--Brand-Cake-Orange)] text-[var(--Text-on-Inverse)]" : "bg-[var(--Surface-Tertiary)] text-[var(--Text-Low-Emphasis)]"
|
|
5636
5655
|
),
|
|
5637
5656
|
"aria-current": c ? "step" : void 0,
|
|
5638
|
-
children: n &&
|
|
5657
|
+
children: n && u ? /* @__PURE__ */ e(Ie, { className: "size-4 shrink-0" }) : d + 1
|
|
5639
5658
|
}
|
|
5640
5659
|
),
|
|
5641
5660
|
/* @__PURE__ */ e(
|
|
@@ -5643,7 +5662,7 @@ function Wo({
|
|
|
5643
5662
|
{
|
|
5644
5663
|
className: s(
|
|
5645
5664
|
"transition-colors",
|
|
5646
|
-
|
|
5665
|
+
m ? "typo-label-xs text-[var(--Text-High-Emphasis)]" : "typo-body-xs text-[var(--Text-Low-Emphasis)]"
|
|
5647
5666
|
),
|
|
5648
5667
|
children: l
|
|
5649
5668
|
}
|
|
@@ -5654,7 +5673,7 @@ function Wo({
|
|
|
5654
5673
|
{
|
|
5655
5674
|
className: s(
|
|
5656
5675
|
"h-0.5 w-full rounded-full transition-colors",
|
|
5657
|
-
|
|
5676
|
+
u ? "bg-[var(--Brand-Cake-Orange)]" : "bg-[var(--Border-Medium-Emphasis)]"
|
|
5658
5677
|
)
|
|
5659
5678
|
}
|
|
5660
5679
|
) })
|
|
@@ -5663,7 +5682,7 @@ function Wo({
|
|
|
5663
5682
|
}
|
|
5664
5683
|
);
|
|
5665
5684
|
}
|
|
5666
|
-
function
|
|
5685
|
+
function Ea({
|
|
5667
5686
|
className: a,
|
|
5668
5687
|
value: t,
|
|
5669
5688
|
min: r = 1,
|
|
@@ -5671,38 +5690,38 @@ function Sa({
|
|
|
5671
5690
|
onChange: o,
|
|
5672
5691
|
disabled: l = !1,
|
|
5673
5692
|
error: d = !1,
|
|
5674
|
-
size:
|
|
5693
|
+
size: u = "md",
|
|
5675
5694
|
editable: c = !0,
|
|
5676
|
-
showTrash:
|
|
5695
|
+
showTrash: m = !1,
|
|
5677
5696
|
onDelete: v,
|
|
5678
5697
|
...h
|
|
5679
5698
|
}) {
|
|
5680
|
-
const [b, p] = w.useState(String(t)), f =
|
|
5699
|
+
const [b, p] = w.useState(String(t)), f = m && t <= r, x = t > r && !l, k = t < n && !l, g = f && !l;
|
|
5681
5700
|
w.useEffect(() => {
|
|
5682
5701
|
p(String(t));
|
|
5683
5702
|
}, [t]);
|
|
5684
|
-
const
|
|
5703
|
+
const N = () => {
|
|
5685
5704
|
if (f) {
|
|
5686
5705
|
v?.();
|
|
5687
5706
|
return;
|
|
5688
5707
|
}
|
|
5689
5708
|
x && o?.(t - 1);
|
|
5690
|
-
},
|
|
5709
|
+
}, y = () => {
|
|
5691
5710
|
k && o?.(t + 1);
|
|
5692
|
-
}, S = (
|
|
5693
|
-
const
|
|
5694
|
-
if (
|
|
5711
|
+
}, S = (E) => {
|
|
5712
|
+
const P = E.target.value;
|
|
5713
|
+
if (P === "") {
|
|
5695
5714
|
p("");
|
|
5696
5715
|
return;
|
|
5697
5716
|
}
|
|
5698
|
-
/^\d+$/.test(
|
|
5717
|
+
/^\d+$/.test(P) && p(P);
|
|
5699
5718
|
}, z = () => {
|
|
5700
|
-
const
|
|
5701
|
-
isNaN(
|
|
5702
|
-
}, B = (
|
|
5703
|
-
|
|
5719
|
+
const E = parseInt(b, 10);
|
|
5720
|
+
isNaN(E) || E < r ? (o?.(r), p(String(r))) : E > n ? (o?.(n), p(String(n))) : (o?.(E), p(String(E)));
|
|
5721
|
+
}, B = (E) => {
|
|
5722
|
+
E.key === "Enter" && z();
|
|
5704
5723
|
};
|
|
5705
|
-
return
|
|
5724
|
+
return u === "sm" ? /* @__PURE__ */ i(
|
|
5706
5725
|
"div",
|
|
5707
5726
|
{
|
|
5708
5727
|
"data-slot": "quantity-selector",
|
|
@@ -5725,10 +5744,10 @@ function Sa({
|
|
|
5725
5744
|
"flex size-7 items-center justify-center rounded-full transition-colors",
|
|
5726
5745
|
x || g ? "text-[var(--Object-High-Emphasis)] hover:bg-[var(--Overlay-Light)] active:bg-[var(--Overlay-Medium)]" : "text-[var(--Object-Disable)]"
|
|
5727
5746
|
),
|
|
5728
|
-
onClick:
|
|
5747
|
+
onClick: N,
|
|
5729
5748
|
disabled: !(x || g),
|
|
5730
5749
|
"aria-label": f ? "削除" : "数量を減らす",
|
|
5731
|
-
children: f ? /* @__PURE__ */ e(
|
|
5750
|
+
children: f ? /* @__PURE__ */ e(He, { size: 14 }) : /* @__PURE__ */ e(je, { size: 14 })
|
|
5732
5751
|
}
|
|
5733
5752
|
),
|
|
5734
5753
|
c ? /* @__PURE__ */ e(
|
|
@@ -5770,7 +5789,7 @@ function Sa({
|
|
|
5770
5789
|
"flex size-7 items-center justify-center rounded-full transition-colors",
|
|
5771
5790
|
k ? "text-[var(--Object-High-Emphasis)] hover:bg-[var(--Overlay-Light)] active:bg-[var(--Overlay-Medium)]" : "text-[var(--Object-Disable)]"
|
|
5772
5791
|
),
|
|
5773
|
-
onClick:
|
|
5792
|
+
onClick: y,
|
|
5774
5793
|
disabled: !k,
|
|
5775
5794
|
"aria-label": "数量を増やす",
|
|
5776
5795
|
children: /* @__PURE__ */ e(se, { size: 14 })
|
|
@@ -5796,10 +5815,10 @@ function Sa({
|
|
|
5796
5815
|
"flex size-10 items-center justify-center rounded-full border transition-colors",
|
|
5797
5816
|
x || g ? "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-High-Emphasis)] hover:border-[var(--Border-High-Emphasis)] hover:bg-[var(--Surface-Tertiary)] active:bg-[var(--Surface-Tertiary)]" : "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-Disable)]"
|
|
5798
5817
|
),
|
|
5799
|
-
onClick:
|
|
5818
|
+
onClick: N,
|
|
5800
5819
|
disabled: !(x || g),
|
|
5801
5820
|
"aria-label": f ? "削除" : "数量を減らす",
|
|
5802
|
-
children: f ? /* @__PURE__ */ e(
|
|
5821
|
+
children: f ? /* @__PURE__ */ e(He, { size: 18 }) : /* @__PURE__ */ e(je, { size: 18 })
|
|
5803
5822
|
}
|
|
5804
5823
|
),
|
|
5805
5824
|
c ? /* @__PURE__ */ e(
|
|
@@ -5843,7 +5862,7 @@ function Sa({
|
|
|
5843
5862
|
"flex size-10 items-center justify-center rounded-full border transition-colors",
|
|
5844
5863
|
k ? "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-High-Emphasis)] hover:border-[var(--Border-High-Emphasis)] hover:bg-[var(--Surface-Tertiary)] active:bg-[var(--Surface-Tertiary)]" : "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-Disable)]"
|
|
5845
5864
|
),
|
|
5846
|
-
onClick:
|
|
5865
|
+
onClick: y,
|
|
5847
5866
|
disabled: !k,
|
|
5848
5867
|
"aria-label": "数量を増やす",
|
|
5849
5868
|
children: /* @__PURE__ */ e(se, { size: 18 })
|
|
@@ -5862,26 +5881,26 @@ const Ar = w.forwardRef(
|
|
|
5862
5881
|
searchHref: o,
|
|
5863
5882
|
...l
|
|
5864
5883
|
}, d) => {
|
|
5865
|
-
const
|
|
5884
|
+
const u = w.useRef(null), c = w.useCallback(
|
|
5866
5885
|
(h) => {
|
|
5867
|
-
|
|
5886
|
+
u.current = h, typeof d == "function" ? d(h) : d && (d.current = h);
|
|
5868
5887
|
},
|
|
5869
5888
|
[d]
|
|
5870
|
-
),
|
|
5871
|
-
const h =
|
|
5889
|
+
), m = () => {
|
|
5890
|
+
const h = u.current?.value ?? "";
|
|
5872
5891
|
h.trim() && (r?.(h), o && (window.location.href = o.replace(
|
|
5873
5892
|
"{query}",
|
|
5874
5893
|
encodeURIComponent(h)
|
|
5875
5894
|
)));
|
|
5876
5895
|
}, v = (h) => {
|
|
5877
|
-
h.key === "Enter" &&
|
|
5896
|
+
h.key === "Enter" && m(), l.onKeyDown?.(h);
|
|
5878
5897
|
};
|
|
5879
5898
|
return /* @__PURE__ */ i(
|
|
5880
5899
|
"div",
|
|
5881
5900
|
{
|
|
5882
5901
|
"data-slot": "search-bar",
|
|
5883
5902
|
className: s(
|
|
5884
|
-
"group flex items-center overflow-hidden rounded-lg border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Secondary)] transition-colors hover:border-[var(--Border-High-Emphasis)] focus-within:border-[var(--
|
|
5903
|
+
"group flex items-center overflow-hidden rounded-lg border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Secondary)] transition-colors hover:border-[var(--Border-High-Emphasis)] focus-within:border-[var(--Focus-High-Emphasis)] focus-within:ring-1 focus-within:ring-[var(--Focus-High-Emphasis)]",
|
|
5885
5904
|
n === "sm" ? "h-9" : "h-11",
|
|
5886
5905
|
a
|
|
5887
5906
|
),
|
|
@@ -5909,7 +5928,7 @@ const Ar = w.forwardRef(
|
|
|
5909
5928
|
"flex shrink-0 items-center justify-center border-l border-[var(--Border-Medium-Emphasis)] text-[var(--Text-Low-Emphasis)] transition-colors hover:bg-[var(--Surface-Tertiary)] hover:text-[var(--Text-High-Emphasis)]",
|
|
5910
5929
|
n === "sm" ? "size-9" : "h-11 w-11"
|
|
5911
5930
|
),
|
|
5912
|
-
onClick:
|
|
5931
|
+
onClick: m,
|
|
5913
5932
|
"aria-label": "検索",
|
|
5914
5933
|
children: /* @__PURE__ */ e(Te, { size: n === "sm" ? 14 : 16 })
|
|
5915
5934
|
}
|
|
@@ -6057,11 +6076,11 @@ function qo({
|
|
|
6057
6076
|
}
|
|
6058
6077
|
);
|
|
6059
6078
|
}
|
|
6060
|
-
function
|
|
6079
|
+
function Fr(a) {
|
|
6061
6080
|
const t = `/iframe.html?id=${encodeURIComponent(a)}&viewMode=story`;
|
|
6062
6081
|
window.location.href = t;
|
|
6063
6082
|
}
|
|
6064
|
-
function
|
|
6083
|
+
function $r({
|
|
6065
6084
|
activeMenu: a,
|
|
6066
6085
|
groups: t,
|
|
6067
6086
|
ariaLabel: r = "サイドメニュー",
|
|
@@ -6080,14 +6099,14 @@ function Fr({
|
|
|
6080
6099
|
...o,
|
|
6081
6100
|
children: /* @__PURE__ */ e("div", { className: "py-4", children: t.map((l, d) => /* @__PURE__ */ i("div", { className: "mb-1", children: [
|
|
6082
6101
|
l.groupLabel && /* @__PURE__ */ e("p", { className: "px-4 py-2 typo-label-xs text-[var(--Text-Low-Emphasis)] uppercase", children: l.groupLabel }),
|
|
6083
|
-
/* @__PURE__ */ e("ul", { children: l.items.map((
|
|
6084
|
-
const c =
|
|
6102
|
+
/* @__PURE__ */ e("ul", { children: l.items.map((u) => {
|
|
6103
|
+
const c = u.key === a;
|
|
6085
6104
|
return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
|
|
6086
6105
|
"a",
|
|
6087
6106
|
{
|
|
6088
|
-
href:
|
|
6089
|
-
onClick: (
|
|
6090
|
-
|
|
6107
|
+
href: u.href,
|
|
6108
|
+
onClick: (m) => {
|
|
6109
|
+
u.storyId && (m.preventDefault(), Fr(u.storyId));
|
|
6091
6110
|
},
|
|
6092
6111
|
className: s(
|
|
6093
6112
|
"flex items-center gap-3 px-4 py-2.5 typo-body-md transition-colors hover:bg-[var(--Surface-Secondary)] cursor-pointer",
|
|
@@ -6099,14 +6118,14 @@ function Fr({
|
|
|
6099
6118
|
"span",
|
|
6100
6119
|
{
|
|
6101
6120
|
className: c ? "text-[var(--Text-Accent-Primary)]" : "text-[var(--Object-High-Emphasis)]",
|
|
6102
|
-
children:
|
|
6121
|
+
children: u.icon
|
|
6103
6122
|
}
|
|
6104
6123
|
),
|
|
6105
|
-
/* @__PURE__ */ e("span", { className: "flex-1", children:
|
|
6106
|
-
/* @__PURE__ */ e(
|
|
6124
|
+
/* @__PURE__ */ e("span", { className: "flex-1", children: u.label }),
|
|
6125
|
+
/* @__PURE__ */ e(V, { size: 14, className: "text-[var(--Object-Low-Emphasis)]" })
|
|
6107
6126
|
]
|
|
6108
6127
|
}
|
|
6109
|
-
) },
|
|
6128
|
+
) }, u.key);
|
|
6110
6129
|
}) }),
|
|
6111
6130
|
d < t.length - 1 && /* @__PURE__ */ e(Ta, { className: "my-2 mx-4" })
|
|
6112
6131
|
] }, d)) })
|
|
@@ -6181,9 +6200,9 @@ function Go({
|
|
|
6181
6200
|
{
|
|
6182
6201
|
type: "button",
|
|
6183
6202
|
className: s(
|
|
6184
|
-
"flex size-12 items-center justify-center rounded-lg border border-[var(--Border-Low-Emphasis)] bg-[var(--Surface-Primary)] transition-colors hover:bg-[var(--Surface-Secondary)]",
|
|
6203
|
+
"flex size-12 items-center justify-center rounded-lg border border-[var(--Border-Low-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Text-High-Emphasis)] transition-colors hover:bg-[var(--Surface-Secondary)]",
|
|
6185
6204
|
a === "apple" && "border-[var(--Primitive-Gray-alpha-900)] bg-[var(--Primitive-Gray-alpha-900)] text-[var(--Primitive-White-alpha-1000)] hover:opacity-90 dark:border-[var(--Primitive-White-alpha-200)] dark:bg-[var(--Primitive-White-alpha-200)] dark:text-[var(--Primitive-White-alpha-1000)]",
|
|
6186
|
-
(a === "amazon" || a === "google") && "dark:border-[var(--Primitive-White-alpha-200)] dark:bg-[var(--Primitive-White-alpha-100)]",
|
|
6205
|
+
(a === "amazon" || a === "google") && "text-[var(--Text-High-Emphasis)] dark:border-[var(--Primitive-White-alpha-200)] dark:bg-[var(--Primitive-White-alpha-100)] dark:text-[var(--Text-High-Emphasis)]",
|
|
6187
6206
|
n
|
|
6188
6207
|
),
|
|
6189
6208
|
"aria-label": l.label,
|
|
@@ -6202,7 +6221,7 @@ function Go({
|
|
|
6202
6221
|
{
|
|
6203
6222
|
type: "button",
|
|
6204
6223
|
className: s(
|
|
6205
|
-
"flex w-full items-center justify-center gap-3 rounded-lg border px-4 py-3 typo-label-md transition-opacity hover:opacity-90",
|
|
6224
|
+
"flex w-full items-center justify-center gap-3 rounded-lg border border-[var(--Border-Medium-Emphasis)] px-4 py-3 typo-label-md transition-opacity hover:opacity-90",
|
|
6206
6225
|
d,
|
|
6207
6226
|
n
|
|
6208
6227
|
),
|
|
@@ -6214,14 +6233,14 @@ function Go({
|
|
|
6214
6233
|
}
|
|
6215
6234
|
);
|
|
6216
6235
|
}
|
|
6217
|
-
function
|
|
6236
|
+
function Ko({
|
|
6218
6237
|
items: a,
|
|
6219
6238
|
activeIndex: t = 0,
|
|
6220
6239
|
onSelect: r,
|
|
6221
6240
|
className: n
|
|
6222
6241
|
}) {
|
|
6223
|
-
const [o, l] = w.useState(t), d = (
|
|
6224
|
-
l(
|
|
6242
|
+
const [o, l] = w.useState(t), d = (u) => {
|
|
6243
|
+
l(u), r?.(u);
|
|
6225
6244
|
};
|
|
6226
6245
|
return /* @__PURE__ */ e(
|
|
6227
6246
|
"div",
|
|
@@ -6229,23 +6248,23 @@ function Uo({
|
|
|
6229
6248
|
"data-slot": "status-count-tabs",
|
|
6230
6249
|
className: s("flex gap-2 overflow-x-auto scrollbar-hide", n),
|
|
6231
6250
|
role: "tablist",
|
|
6232
|
-
children: a.map((
|
|
6251
|
+
children: a.map((u, c) => /* @__PURE__ */ e(
|
|
6233
6252
|
za,
|
|
6234
6253
|
{
|
|
6235
6254
|
selected: o === c,
|
|
6236
|
-
count:
|
|
6255
|
+
count: u.count,
|
|
6237
6256
|
size: "sm",
|
|
6238
6257
|
onClick: () => d(c),
|
|
6239
6258
|
role: "tab",
|
|
6240
6259
|
"aria-selected": o === c,
|
|
6241
|
-
children:
|
|
6260
|
+
children: u.label
|
|
6242
6261
|
},
|
|
6243
|
-
|
|
6262
|
+
u.label
|
|
6244
6263
|
))
|
|
6245
6264
|
}
|
|
6246
6265
|
);
|
|
6247
6266
|
}
|
|
6248
|
-
const Vr =
|
|
6267
|
+
const Vr = R(
|
|
6249
6268
|
"inline-flex items-center gap-1 rounded text-nowrap",
|
|
6250
6269
|
{
|
|
6251
6270
|
variants: {
|
|
@@ -6364,22 +6383,22 @@ const ta = [
|
|
|
6364
6383
|
{ label: "メールテンプレート", href: "#" }
|
|
6365
6384
|
]
|
|
6366
6385
|
};
|
|
6367
|
-
function
|
|
6386
|
+
function Uo({
|
|
6368
6387
|
children: a,
|
|
6369
6388
|
activeNav: t = "home",
|
|
6370
6389
|
title: r = "",
|
|
6371
6390
|
breadcrumbs: n,
|
|
6372
6391
|
shopName: o = "Sample Shop"
|
|
6373
6392
|
}) {
|
|
6374
|
-
const [l, d] = w.useState(null), [
|
|
6393
|
+
const [l, d] = w.useState(null), [u, c] = w.useState(!1);
|
|
6375
6394
|
return /* @__PURE__ */ i("div", { className: "@container flex min-h-screen bg-[var(--Surface-Secondary)]", "data-slot": "admin-layout", children: [
|
|
6376
|
-
/* @__PURE__ */ e(aa, { name: "AdminSideNav", className: "hidden @md:block border-0 rounded-none border-r-2", children: /* @__PURE__ */ e("nav", { className: "fixed left-0 top-0 z-40 flex h-full w-[72px] flex-col items-center bg-[var(--Surface-Primary)] border-r border-[var(--Border-Low-Emphasis)] pt-16", children: ta.map((
|
|
6377
|
-
const v =
|
|
6395
|
+
/* @__PURE__ */ e(aa, { name: "AdminSideNav", className: "hidden @md:block border-0 rounded-none border-r-2 border-[var(--Border-Medium-Emphasis)]", children: /* @__PURE__ */ e("nav", { className: "fixed left-0 top-0 z-40 flex h-full w-[72px] flex-col items-center bg-[var(--Surface-Primary)] border-r border-[var(--Border-Low-Emphasis)] pt-16", children: ta.map((m) => {
|
|
6396
|
+
const v = m.icon, h = t === m.id, b = m.id in ce;
|
|
6378
6397
|
return /* @__PURE__ */ i(
|
|
6379
6398
|
"div",
|
|
6380
6399
|
{
|
|
6381
6400
|
className: "relative",
|
|
6382
|
-
onMouseEnter: () => d(b ?
|
|
6401
|
+
onMouseEnter: () => d(b ? m.id : null),
|
|
6383
6402
|
onMouseLeave: () => d(null),
|
|
6384
6403
|
children: [
|
|
6385
6404
|
/* @__PURE__ */ i(
|
|
@@ -6391,11 +6410,11 @@ function Xo({
|
|
|
6391
6410
|
),
|
|
6392
6411
|
children: [
|
|
6393
6412
|
/* @__PURE__ */ e(v, { size: 24, variant: h ? "Bold" : "Outline" }),
|
|
6394
|
-
/* @__PURE__ */ e("span", { className: "leading-none", children:
|
|
6413
|
+
/* @__PURE__ */ e("span", { className: "leading-none", children: m.label })
|
|
6395
6414
|
]
|
|
6396
6415
|
}
|
|
6397
6416
|
),
|
|
6398
|
-
b && l ===
|
|
6417
|
+
b && l === m.id && /* @__PURE__ */ e("div", { className: "absolute left-full top-0 z-50 ml-0 w-[240px] rounded-2xl bg-[var(--Surface-Primary)] shadow-[0px_4px_6px_-4px_rgba(24,39,75,0.12),0px_8px_8px_-4px_rgba(24,39,75,0.08)] border border-[var(--Border-Low-Emphasis)] py-2", children: ce[m.id].map((p) => /* @__PURE__ */ e(
|
|
6399
6418
|
"a",
|
|
6400
6419
|
{
|
|
6401
6420
|
href: p.href,
|
|
@@ -6406,18 +6425,18 @@ function Xo({
|
|
|
6406
6425
|
)) })
|
|
6407
6426
|
]
|
|
6408
6427
|
},
|
|
6409
|
-
|
|
6428
|
+
m.id
|
|
6410
6429
|
);
|
|
6411
6430
|
}) }) }),
|
|
6412
|
-
|
|
6431
|
+
u && /* @__PURE__ */ i("div", { className: "fixed inset-0 z-50 @md:hidden", children: [
|
|
6413
6432
|
/* @__PURE__ */ e("div", { className: "absolute inset-0 bg-[var(--Primitive-Black-alpha-1000)]/40", onClick: () => c(!1) }),
|
|
6414
6433
|
/* @__PURE__ */ i("nav", { className: "absolute left-0 top-0 h-full w-[280px] bg-[var(--Surface-Primary)] shadow-lg overflow-y-auto", children: [
|
|
6415
6434
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between border-b border-[var(--Border-Low-Emphasis)] px-4 py-3", children: [
|
|
6416
6435
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: o }),
|
|
6417
6436
|
/* @__PURE__ */ e("button", { onClick: () => c(!1), className: "size-10 flex items-center justify-center", "aria-label": "閉じる", children: /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Medium-Emphasis)]", children: "×" }) })
|
|
6418
6437
|
] }),
|
|
6419
|
-
ta.map((
|
|
6420
|
-
const v =
|
|
6438
|
+
ta.map((m) => {
|
|
6439
|
+
const v = m.icon, h = t === m.id, b = m.id in ce;
|
|
6421
6440
|
return /* @__PURE__ */ i("div", { children: [
|
|
6422
6441
|
/* @__PURE__ */ i(
|
|
6423
6442
|
"button",
|
|
@@ -6428,18 +6447,18 @@ function Xo({
|
|
|
6428
6447
|
),
|
|
6429
6448
|
children: [
|
|
6430
6449
|
/* @__PURE__ */ e(v, { size: 20, variant: h ? "Bold" : "Outline" }),
|
|
6431
|
-
/* @__PURE__ */ e("span", { className: "typo-label-md", children:
|
|
6450
|
+
/* @__PURE__ */ e("span", { className: "typo-label-md", children: m.label }),
|
|
6432
6451
|
b && /* @__PURE__ */ e(Y, { size: 16, className: "ml-auto text-[var(--Text-Low-Emphasis)]" })
|
|
6433
6452
|
]
|
|
6434
6453
|
}
|
|
6435
6454
|
),
|
|
6436
|
-
b && /* @__PURE__ */ e("div", { className: "bg-[var(--Surface-Secondary)]", children: ce[
|
|
6437
|
-
] },
|
|
6455
|
+
b && /* @__PURE__ */ e("div", { className: "bg-[var(--Surface-Secondary)]", children: ce[m.id].map((p) => /* @__PURE__ */ e("a", { href: p.href, className: "block px-12 py-2.5 typo-body-md text-[var(--Text-Medium-Emphasis)] hover:text-[var(--Text-High-Emphasis)]", children: p.label }, p.label)) })
|
|
6456
|
+
] }, m.id);
|
|
6438
6457
|
})
|
|
6439
6458
|
] })
|
|
6440
6459
|
] }),
|
|
6441
6460
|
/* @__PURE__ */ i("div", { className: "@container/main flex flex-1 flex-col @md:pl-[72px]", children: [
|
|
6442
|
-
/* @__PURE__ */ e(aa, { name: "AdminHeader", className: "border-0 rounded-none border-b-2", children: /* @__PURE__ */ i("header", { className: "fixed top-0 left-0 @md:left-[72px] right-0 z-30 flex h-14 @md:h-16 items-center justify-between bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)] px-3 @md:px-4", children: [
|
|
6461
|
+
/* @__PURE__ */ e(aa, { name: "AdminHeader", className: "border-0 rounded-none border-b-2 border-[var(--Border-Medium-Emphasis)]", children: /* @__PURE__ */ i("header", { className: "fixed top-0 left-0 @md:left-[72px] right-0 z-30 flex h-14 @md:h-16 items-center justify-between bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)] px-3 @md:px-4", children: [
|
|
6443
6462
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2 @md:gap-3", children: [
|
|
6444
6463
|
/* @__PURE__ */ e(
|
|
6445
6464
|
"button",
|
|
@@ -6465,9 +6484,9 @@ function Xo({
|
|
|
6465
6484
|
] }) }),
|
|
6466
6485
|
/* @__PURE__ */ i("main", { className: "mt-14 @md:mt-16 flex-1 p-4 @md:p-6", children: [
|
|
6467
6486
|
(n || r) && /* @__PURE__ */ i("div", { className: "mb-4 space-y-1", children: [
|
|
6468
|
-
n && n.length > 0 && /* @__PURE__ */ e("nav", { className: "flex items-center gap-1 typo-body-sm text-[var(--Text-Low-Emphasis)]", "aria-label": "パンくず", children: n.map((
|
|
6469
|
-
v > 0 && /* @__PURE__ */ e(
|
|
6470
|
-
|
|
6487
|
+
n && n.length > 0 && /* @__PURE__ */ e("nav", { className: "flex items-center gap-1 typo-body-sm text-[var(--Text-Low-Emphasis)]", "aria-label": "パンくず", children: n.map((m, v) => /* @__PURE__ */ i(w.Fragment, { children: [
|
|
6488
|
+
v > 0 && /* @__PURE__ */ e(V, { size: 12 }),
|
|
6489
|
+
m.href ? /* @__PURE__ */ e("a", { href: m.href, className: "hover:text-[var(--Text-Accent-Primary)] transition-colors", children: m.label }) : /* @__PURE__ */ e("span", { className: "text-[var(--Text-High-Emphasis)]", children: m.label })
|
|
6471
6490
|
] }, v)) }),
|
|
6472
6491
|
r && /* @__PURE__ */ e("h1", { className: "typo-heading-2xl text-[var(--Text-High-Emphasis)]", children: r })
|
|
6473
6492
|
] }),
|
|
@@ -6476,7 +6495,7 @@ function Xo({
|
|
|
6476
6495
|
] })
|
|
6477
6496
|
] });
|
|
6478
6497
|
}
|
|
6479
|
-
function
|
|
6498
|
+
function Xo({
|
|
6480
6499
|
name: a,
|
|
6481
6500
|
relation: t,
|
|
6482
6501
|
type: r,
|
|
@@ -6484,20 +6503,20 @@ function Ko({
|
|
|
6484
6503
|
daysLeft: o,
|
|
6485
6504
|
memo: l,
|
|
6486
6505
|
editHref: d,
|
|
6487
|
-
onEdit:
|
|
6506
|
+
onEdit: u,
|
|
6488
6507
|
className: c,
|
|
6489
|
-
...
|
|
6508
|
+
...m
|
|
6490
6509
|
}) {
|
|
6491
|
-
const v = d ? /* @__PURE__ */ e(T, { variant: "tertiary", size: "xs", asChild: !0, children: /* @__PURE__ */ e("a", { href: d, children: "編集" }) }) :
|
|
6510
|
+
const v = d ? /* @__PURE__ */ e(T, { variant: "tertiary", size: "xs", asChild: !0, children: /* @__PURE__ */ e("a", { href: d, children: "編集" }) }) : u ? /* @__PURE__ */ e(T, { variant: "tertiary", size: "xs", onClick: u, children: "編集" }) : null;
|
|
6492
6511
|
return /* @__PURE__ */ i(
|
|
6493
6512
|
"div",
|
|
6494
6513
|
{
|
|
6495
6514
|
"data-slot": "anniversary-card",
|
|
6496
6515
|
className: s(
|
|
6497
|
-
"min-w-[200px] rounded-xl border border-[var(--Border-Medium-Emphasis)] p-4 space-y-2",
|
|
6516
|
+
"min-w-[200px] rounded-xl border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] p-4 space-y-2",
|
|
6498
6517
|
c
|
|
6499
6518
|
),
|
|
6500
|
-
...
|
|
6519
|
+
...m,
|
|
6501
6520
|
children: [
|
|
6502
6521
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2", children: [
|
|
6503
6522
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
@@ -6570,7 +6589,7 @@ function Jo({
|
|
|
6570
6589
|
className: n,
|
|
6571
6590
|
...o
|
|
6572
6591
|
}) {
|
|
6573
|
-
const l = Math.floor(t / 3600), d = Math.floor(t % 3600 / 60),
|
|
6592
|
+
const l = Math.floor(t / 3600), d = Math.floor(t % 3600 / 60), u = t % 60, c = (h) => String(h).padStart(2, "0"), v = r ?? (a === "before" ? "開始まで" : a === "active" ? "終了まで" : "");
|
|
6574
6593
|
return a === "ended" ? /* @__PURE__ */ e(
|
|
6575
6594
|
"div",
|
|
6576
6595
|
{
|
|
@@ -6594,17 +6613,17 @@ function Jo({
|
|
|
6594
6613
|
children: [
|
|
6595
6614
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: v }),
|
|
6596
6615
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-0.5", children: [
|
|
6597
|
-
/* @__PURE__ */ e(
|
|
6616
|
+
/* @__PURE__ */ e(Me, { value: c(l) }),
|
|
6598
6617
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: ":" }),
|
|
6599
|
-
/* @__PURE__ */ e(
|
|
6618
|
+
/* @__PURE__ */ e(Me, { value: c(d) }),
|
|
6600
6619
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: ":" }),
|
|
6601
|
-
/* @__PURE__ */ e(
|
|
6620
|
+
/* @__PURE__ */ e(Me, { value: c(u) })
|
|
6602
6621
|
] })
|
|
6603
6622
|
]
|
|
6604
6623
|
}
|
|
6605
6624
|
);
|
|
6606
6625
|
}
|
|
6607
|
-
function
|
|
6626
|
+
function Me({ value: a }) {
|
|
6608
6627
|
return /* @__PURE__ */ e("span", { className: "flex h-7 min-w-7 items-center justify-center rounded bg-[var(--Primitive-Gray-900)] px-1 typo-label-md tabular-nums text-[var(--Primitive-White-alpha-1000)]", children: a });
|
|
6609
6628
|
}
|
|
6610
6629
|
function Yo({
|
|
@@ -6615,16 +6634,16 @@ function Yo({
|
|
|
6615
6634
|
shopThumbnailUrl: o,
|
|
6616
6635
|
shopName: l,
|
|
6617
6636
|
status: d = "available",
|
|
6618
|
-
onAcquire:
|
|
6637
|
+
onAcquire: u,
|
|
6619
6638
|
acquireLabel: c = "クーポンを獲得する",
|
|
6620
|
-
layout:
|
|
6639
|
+
layout: m = "vertical",
|
|
6621
6640
|
limitLabel: v,
|
|
6622
6641
|
conditionText: h,
|
|
6623
6642
|
expiryText: b,
|
|
6624
6643
|
className: p,
|
|
6625
6644
|
...f
|
|
6626
6645
|
}) {
|
|
6627
|
-
return
|
|
6646
|
+
return m === "horizontal" ? /* @__PURE__ */ e(
|
|
6628
6647
|
Gr,
|
|
6629
6648
|
{
|
|
6630
6649
|
title: a,
|
|
@@ -6632,7 +6651,7 @@ function Yo({
|
|
|
6632
6651
|
conditionText: h,
|
|
6633
6652
|
expiryText: b,
|
|
6634
6653
|
status: d,
|
|
6635
|
-
onAcquire:
|
|
6654
|
+
onAcquire: u,
|
|
6636
6655
|
className: p,
|
|
6637
6656
|
...f
|
|
6638
6657
|
}
|
|
@@ -6672,7 +6691,7 @@ function Yo({
|
|
|
6672
6691
|
t && /* @__PURE__ */ e("p", { className: "mt-1 break-words typo-body-md text-[var(--Text-Medium-Emphasis)]", children: t })
|
|
6673
6692
|
] }),
|
|
6674
6693
|
/* @__PURE__ */ e("div", { className: "px-4 py-3", children: /* @__PURE__ */ e("div", { className: "border-t border-dashed border-[var(--Border-Medium-Emphasis)]" }) }),
|
|
6675
|
-
/* @__PURE__ */ e("div", { className: "px-4 pb-4", children: /* @__PURE__ */ e(
|
|
6694
|
+
/* @__PURE__ */ e("div", { className: "px-4 pb-4", children: /* @__PURE__ */ e(Sa, { status: d, onAcquire: u, label: c, size: "lg" }) })
|
|
6676
6695
|
]
|
|
6677
6696
|
}
|
|
6678
6697
|
);
|
|
@@ -6685,7 +6704,7 @@ function Gr({
|
|
|
6685
6704
|
status: o = "available",
|
|
6686
6705
|
onAcquire: l,
|
|
6687
6706
|
className: d,
|
|
6688
|
-
...
|
|
6707
|
+
...u
|
|
6689
6708
|
}) {
|
|
6690
6709
|
return /* @__PURE__ */ i(
|
|
6691
6710
|
"div",
|
|
@@ -6693,7 +6712,7 @@ function Gr({
|
|
|
6693
6712
|
"data-slot": "coupon-card",
|
|
6694
6713
|
"data-layout": "horizontal",
|
|
6695
6714
|
className: s("flex items-stretch min-w-0 overflow-hidden", d),
|
|
6696
|
-
...
|
|
6715
|
+
...u,
|
|
6697
6716
|
children: [
|
|
6698
6717
|
/* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col items-start justify-center gap-1 rounded-l-lg border-b border-l border-t border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] px-3 py-2", children: [
|
|
6699
6718
|
t && /* @__PURE__ */ e("span", { className: "shrink-0 rounded-full bg-[var(--Surface-Accent-Primary-Light)] px-2 py-0.5 typo-body-sm text-[var(--Text-Accent-Primary)]", children: t }),
|
|
@@ -6704,12 +6723,12 @@ function Gr({
|
|
|
6704
6723
|
] })
|
|
6705
6724
|
] }),
|
|
6706
6725
|
/* @__PURE__ */ e("div", { className: "flex items-stretch justify-center", children: /* @__PURE__ */ e("svg", { width: "2", height: "100%", preserveAspectRatio: "none", className: "text-[var(--Border-Medium-Emphasis)]", children: /* @__PURE__ */ e("line", { x1: "1", y1: "0", x2: "1", y2: "100%", stroke: "currentColor", strokeWidth: "2", strokeDasharray: "4 3" }) }) }),
|
|
6707
|
-
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center rounded-r-lg border-b border-r border-t border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] px-3", children: /* @__PURE__ */ e(
|
|
6726
|
+
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center rounded-r-lg border-b border-r border-t border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] px-3", children: /* @__PURE__ */ e(Sa, { status: o, onAcquire: l, label: "獲得する", size: "sm" }) })
|
|
6708
6727
|
]
|
|
6709
6728
|
}
|
|
6710
6729
|
);
|
|
6711
6730
|
}
|
|
6712
|
-
function
|
|
6731
|
+
function Sa({
|
|
6713
6732
|
status: a,
|
|
6714
6733
|
onAcquire: t,
|
|
6715
6734
|
label: r,
|
|
@@ -6726,7 +6745,7 @@ function Ca({
|
|
|
6726
6745
|
"bg-[var(--Brand-Cake-Orange)] text-[var(--Text-on-Inverse)] transition-colors hover:bg-[var(--Hover-Primary-Button)] active:scale-[0.98]"
|
|
6727
6746
|
),
|
|
6728
6747
|
children: [
|
|
6729
|
-
o && /* @__PURE__ */ e(
|
|
6748
|
+
o && /* @__PURE__ */ e(Fe, { size: 16 }),
|
|
6730
6749
|
r
|
|
6731
6750
|
]
|
|
6732
6751
|
}
|
|
@@ -6735,7 +6754,7 @@ function Ca({
|
|
|
6735
6754
|
"獲得済み"
|
|
6736
6755
|
] }) : /* @__PURE__ */ e("div", { className: s(l, "bg-[var(--Surface-Secondary)] text-[var(--Text-Low-Emphasis)]"), children: "獲得不可" });
|
|
6737
6756
|
}
|
|
6738
|
-
const
|
|
6757
|
+
const Kr = ["日", "月", "火", "水", "木", "金", "土"];
|
|
6739
6758
|
function Qo({
|
|
6740
6759
|
year: a,
|
|
6741
6760
|
month: t,
|
|
@@ -6744,16 +6763,16 @@ function Qo({
|
|
|
6744
6763
|
onDaySelect: o,
|
|
6745
6764
|
selectedDate: l,
|
|
6746
6765
|
className: d,
|
|
6747
|
-
...
|
|
6766
|
+
...u
|
|
6748
6767
|
}) {
|
|
6749
|
-
const c = new Date(a, t - 1, 1),
|
|
6768
|
+
const c = new Date(a, t - 1, 1), m = new Date(a, t, 0), v = c.getDay(), h = m.getDate(), b = [];
|
|
6750
6769
|
let p = Array(v).fill(null);
|
|
6751
6770
|
for (let g = 1; g <= h; g++) {
|
|
6752
|
-
const
|
|
6771
|
+
const N = new Date(a, t - 1, g), y = r.find(
|
|
6753
6772
|
(S) => S.date.getFullYear() === a && S.date.getMonth() === t - 1 && S.date.getDate() === g
|
|
6754
6773
|
);
|
|
6755
6774
|
p.push(
|
|
6756
|
-
|
|
6775
|
+
y ?? { date: N, availability: "available" }
|
|
6757
6776
|
), p.length === 7 && (b.push(p), p = []);
|
|
6758
6777
|
}
|
|
6759
6778
|
if (p.length > 0) {
|
|
@@ -6772,7 +6791,7 @@ function Qo({
|
|
|
6772
6791
|
{
|
|
6773
6792
|
"data-slot": "delivery-calendar",
|
|
6774
6793
|
className: s("space-y-2", d),
|
|
6775
|
-
...
|
|
6794
|
+
...u,
|
|
6776
6795
|
children: [
|
|
6777
6796
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
6778
6797
|
/* @__PURE__ */ e(T, { variant: "ghost", size: "icon-sm", onClick: f, "aria-label": "前月", children: /* @__PURE__ */ e(le, { size: 16 }) }),
|
|
@@ -6780,58 +6799,58 @@ function Qo({
|
|
|
6780
6799
|
t,
|
|
6781
6800
|
"月"
|
|
6782
6801
|
] }),
|
|
6783
|
-
/* @__PURE__ */ e(T, { variant: "ghost", size: "icon-sm", onClick: x, "aria-label": "次月", children: /* @__PURE__ */ e(
|
|
6802
|
+
/* @__PURE__ */ e(T, { variant: "ghost", size: "icon-sm", onClick: x, "aria-label": "次月", children: /* @__PURE__ */ e(V, { size: 16 }) })
|
|
6784
6803
|
] }),
|
|
6785
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 text-center", children:
|
|
6804
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 text-center", children: Kr.map((g, N) => /* @__PURE__ */ e(
|
|
6786
6805
|
"span",
|
|
6787
6806
|
{
|
|
6788
6807
|
className: s(
|
|
6789
6808
|
"py-1 typo-label-sm",
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6809
|
+
N === 0 && "text-[var(--Text-Caution)]",
|
|
6810
|
+
N === 6 && "text-[var(--Primitive-Sea-600)]",
|
|
6811
|
+
N > 0 && N < 6 && "text-[var(--Text-Medium-Emphasis)]"
|
|
6793
6812
|
),
|
|
6794
6813
|
children: g
|
|
6795
6814
|
},
|
|
6796
6815
|
g
|
|
6797
6816
|
)) }),
|
|
6798
|
-
b.map((g,
|
|
6799
|
-
if (!
|
|
6817
|
+
b.map((g, N) => /* @__PURE__ */ e("div", { className: "grid grid-cols-7 text-center", children: g.map((y, S) => {
|
|
6818
|
+
if (!y)
|
|
6800
6819
|
return /* @__PURE__ */ e("div", { className: "py-1" }, `empty-${S}`);
|
|
6801
|
-
const z =
|
|
6820
|
+
const z = y.date.getDay(), B = k(y.date), E = y.availability !== "unavailable";
|
|
6802
6821
|
return /* @__PURE__ */ i(
|
|
6803
6822
|
"button",
|
|
6804
6823
|
{
|
|
6805
6824
|
type: "button",
|
|
6806
|
-
disabled: !
|
|
6807
|
-
onClick: () =>
|
|
6825
|
+
disabled: !E,
|
|
6826
|
+
onClick: () => E && o?.(y.date),
|
|
6808
6827
|
className: s(
|
|
6809
6828
|
"flex flex-col items-center gap-0.5 rounded-md py-1.5 typo-body-md transition-colors",
|
|
6810
|
-
|
|
6829
|
+
E && "cursor-pointer hover:bg-[var(--Surface-Secondary)]",
|
|
6811
6830
|
B && "relative z-10 bg-[var(--Brand-Cake-Orange)]/10 ring-1 ring-inset ring-[var(--Brand-Cake-Orange)]",
|
|
6812
|
-
!
|
|
6831
|
+
!E && "cursor-default opacity-60",
|
|
6813
6832
|
z === 0 && "text-[var(--Text-Caution)]",
|
|
6814
6833
|
z === 6 && "text-[var(--Primitive-Sea-600)]",
|
|
6815
6834
|
z > 0 && z < 6 && "text-[var(--Text-High-Emphasis)]"
|
|
6816
6835
|
),
|
|
6817
6836
|
children: [
|
|
6818
|
-
/* @__PURE__ */ e("span", { children:
|
|
6819
|
-
/* @__PURE__ */ e(
|
|
6837
|
+
/* @__PURE__ */ e("span", { children: y.date.getDate() }),
|
|
6838
|
+
/* @__PURE__ */ e(Ur, { availability: y.availability })
|
|
6820
6839
|
]
|
|
6821
6840
|
},
|
|
6822
|
-
|
|
6841
|
+
y.date.getDate()
|
|
6823
6842
|
);
|
|
6824
|
-
}) },
|
|
6843
|
+
}) }, N))
|
|
6825
6844
|
]
|
|
6826
6845
|
}
|
|
6827
6846
|
);
|
|
6828
6847
|
}
|
|
6829
|
-
function
|
|
6848
|
+
function Ur({
|
|
6830
6849
|
availability: a
|
|
6831
6850
|
}) {
|
|
6832
6851
|
return a === "available" ? /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Success)]", children: "○" }) : a === "few" ? /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Warning)]", children: "△" }) : /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Low-Emphasis)]", children: "×" });
|
|
6833
6852
|
}
|
|
6834
|
-
const
|
|
6853
|
+
const Xr = [
|
|
6835
6854
|
{
|
|
6836
6855
|
items: [
|
|
6837
6856
|
{
|
|
@@ -6913,7 +6932,7 @@ const Kr = [
|
|
|
6913
6932
|
groupLabel: "ポイント・キャンペーン",
|
|
6914
6933
|
items: [
|
|
6915
6934
|
{
|
|
6916
|
-
icon: /* @__PURE__ */ e(
|
|
6935
|
+
icon: /* @__PURE__ */ e(Fe, { size: 16 }),
|
|
6917
6936
|
label: "クーポン",
|
|
6918
6937
|
href: "/mypage/coupon_list/",
|
|
6919
6938
|
key: "coupons",
|
|
@@ -6983,7 +7002,7 @@ function Zo({
|
|
|
6983
7002
|
onEdit: o,
|
|
6984
7003
|
children: l,
|
|
6985
7004
|
className: d,
|
|
6986
|
-
...
|
|
7005
|
+
...u
|
|
6987
7006
|
}) {
|
|
6988
7007
|
return /* @__PURE__ */ i(
|
|
6989
7008
|
"div",
|
|
@@ -6995,7 +7014,7 @@ function Zo({
|
|
|
6995
7014
|
o && "cursor-pointer hover:bg-[var(--Surface-Secondary)] hover:border-[var(--Border-High-Emphasis)]",
|
|
6996
7015
|
d
|
|
6997
7016
|
),
|
|
6998
|
-
...
|
|
7017
|
+
...u,
|
|
6999
7018
|
children: [
|
|
7000
7019
|
/* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
7001
7020
|
/* @__PURE__ */ e("h3", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: a }),
|
|
@@ -7013,7 +7032,7 @@ function Zo({
|
|
|
7013
7032
|
className: "flex shrink-0 items-center gap-0.5 typo-body-md text-[var(--Text-Accent-Primary)] transition-colors hover:opacity-80",
|
|
7014
7033
|
children: [
|
|
7015
7034
|
n,
|
|
7016
|
-
/* @__PURE__ */ e(
|
|
7035
|
+
/* @__PURE__ */ e(V, { size: 20, className: "text-[var(--Text-Accent-Primary)]" })
|
|
7017
7036
|
]
|
|
7018
7037
|
}
|
|
7019
7038
|
)
|
|
@@ -7029,9 +7048,9 @@ function el({
|
|
|
7029
7048
|
ctaLabel: o,
|
|
7030
7049
|
onCTAClick: l,
|
|
7031
7050
|
showSecurityBadge: d = !1,
|
|
7032
|
-
securityText:
|
|
7051
|
+
securityText: u = "SSL暗号化通信で安全にお手続きいただけます",
|
|
7033
7052
|
disableFixed: c = !1,
|
|
7034
|
-
ctaDisabled:
|
|
7053
|
+
ctaDisabled: m = !1,
|
|
7035
7054
|
...v
|
|
7036
7055
|
}) {
|
|
7037
7056
|
const h = /* @__PURE__ */ i("div", { className: "space-y-2 px-4 py-3", children: [
|
|
@@ -7057,13 +7076,13 @@ function el({
|
|
|
7057
7076
|
size: "xl",
|
|
7058
7077
|
className: "w-full",
|
|
7059
7078
|
onClick: l,
|
|
7060
|
-
disabled:
|
|
7079
|
+
disabled: m,
|
|
7061
7080
|
children: o
|
|
7062
7081
|
}
|
|
7063
7082
|
),
|
|
7064
7083
|
d && /* @__PURE__ */ i("p", { className: "flex items-center justify-center gap-1 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: [
|
|
7065
7084
|
/* @__PURE__ */ e(ht, { size: 12 }),
|
|
7066
|
-
|
|
7085
|
+
u
|
|
7067
7086
|
] })
|
|
7068
7087
|
] });
|
|
7069
7088
|
return c ? /* @__PURE__ */ e(
|
|
@@ -7103,7 +7122,7 @@ const Jr = {
|
|
|
7103
7122
|
amex: "https://assets.cake.jp/bp/img/carts/ec/logo/amex.png",
|
|
7104
7123
|
diners: "https://assets.cake.jp/bp/img/carts/ec/logo/diners.png"
|
|
7105
7124
|
};
|
|
7106
|
-
function
|
|
7125
|
+
function Pe({ brand: a, className: t, ...r }) {
|
|
7107
7126
|
return /* @__PURE__ */ e(
|
|
7108
7127
|
"img",
|
|
7109
7128
|
{
|
|
@@ -7122,17 +7141,17 @@ function al({
|
|
|
7122
7141
|
status: o = "registered",
|
|
7123
7142
|
acceptedBrands: l,
|
|
7124
7143
|
className: d,
|
|
7125
|
-
...
|
|
7144
|
+
...u
|
|
7126
7145
|
}) {
|
|
7127
7146
|
return /* @__PURE__ */ i(
|
|
7128
7147
|
"div",
|
|
7129
7148
|
{
|
|
7130
7149
|
"data-slot": "payment-method",
|
|
7131
7150
|
className: s("space-y-3", d),
|
|
7132
|
-
...
|
|
7151
|
+
...u,
|
|
7133
7152
|
children: [
|
|
7134
7153
|
o === "registered" && t && /* @__PURE__ */ i("div", { className: "flex items-center gap-3", children: [
|
|
7135
|
-
/* @__PURE__ */ e(
|
|
7154
|
+
/* @__PURE__ */ e(Pe, { brand: t }),
|
|
7136
7155
|
/* @__PURE__ */ i("div", { children: [
|
|
7137
7156
|
/* @__PURE__ */ e("p", { className: "typo-label-sm text-[var(--Text-High-Emphasis)]", children: a }),
|
|
7138
7157
|
r && /* @__PURE__ */ i("p", { className: "typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: [
|
|
@@ -7150,7 +7169,7 @@ function al({
|
|
|
7150
7169
|
"が登録されていません"
|
|
7151
7170
|
] }),
|
|
7152
7171
|
o === "expired" && /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
7153
|
-
t && /* @__PURE__ */ e(
|
|
7172
|
+
t && /* @__PURE__ */ e(Pe, { brand: t }),
|
|
7154
7173
|
/* @__PURE__ */ i("div", { children: [
|
|
7155
7174
|
/* @__PURE__ */ e("p", { className: "typo-label-sm text-[var(--Text-Caution)]", children: "有効期限切れ" }),
|
|
7156
7175
|
r && /* @__PURE__ */ i("p", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: [
|
|
@@ -7159,12 +7178,12 @@ function al({
|
|
|
7159
7178
|
] })
|
|
7160
7179
|
] })
|
|
7161
7180
|
] }),
|
|
7162
|
-
l && l.length > 0 && /* @__PURE__ */ e("ul", { className: "flex items-center gap-2 list-none p-0 m-0", children: l.map((c) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
7181
|
+
l && l.length > 0 && /* @__PURE__ */ e("ul", { className: "flex items-center gap-2 list-none p-0 m-0", children: l.map((c) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(Pe, { brand: c }) }, c)) })
|
|
7163
7182
|
]
|
|
7164
7183
|
}
|
|
7165
7184
|
);
|
|
7166
7185
|
}
|
|
7167
|
-
function
|
|
7186
|
+
function Ee({
|
|
7168
7187
|
size: a = 14,
|
|
7169
7188
|
className: t
|
|
7170
7189
|
}) {
|
|
@@ -7195,18 +7214,18 @@ function ie({
|
|
|
7195
7214
|
showValue: l = !0,
|
|
7196
7215
|
...d
|
|
7197
7216
|
}) {
|
|
7198
|
-
const
|
|
7217
|
+
const u = Math.max(0, Math.min(5, t)), { iconSize: c, valueCls: m, countCls: v } = Qr[n];
|
|
7199
7218
|
return /* @__PURE__ */ i(
|
|
7200
7219
|
"div",
|
|
7201
7220
|
{
|
|
7202
7221
|
"data-slot": "rating-stars",
|
|
7203
7222
|
className: s("inline-flex items-center gap-0.5", a),
|
|
7204
7223
|
role: "img",
|
|
7205
|
-
"aria-label": `評価 ${
|
|
7224
|
+
"aria-label": `評価 ${u.toFixed(1)} / 5${r != null ? ` (${r}件)` : ""}`,
|
|
7206
7225
|
...d,
|
|
7207
7226
|
children: [
|
|
7208
7227
|
/* @__PURE__ */ e(
|
|
7209
|
-
|
|
7228
|
+
Ee,
|
|
7210
7229
|
{
|
|
7211
7230
|
size: c,
|
|
7212
7231
|
className: "text-[var(--Brand-Cake-Orange)]"
|
|
@@ -7217,9 +7236,9 @@ function ie({
|
|
|
7217
7236
|
{
|
|
7218
7237
|
className: s(
|
|
7219
7238
|
"text-[var(--Brand-Cake-Orange)]",
|
|
7220
|
-
|
|
7239
|
+
m
|
|
7221
7240
|
),
|
|
7222
|
-
children:
|
|
7241
|
+
children: u.toFixed(2)
|
|
7223
7242
|
}
|
|
7224
7243
|
),
|
|
7225
7244
|
o && r != null && /* @__PURE__ */ i("span", { className: s("text-[var(--Text-Low-Emphasis)]", v), children: [
|
|
@@ -7256,7 +7275,7 @@ function ra({
|
|
|
7256
7275
|
}
|
|
7257
7276
|
) : null;
|
|
7258
7277
|
}
|
|
7259
|
-
function
|
|
7278
|
+
function Se({ size: a = 20, filled: t = !1 }) {
|
|
7260
7279
|
return /* @__PURE__ */ e(
|
|
7261
7280
|
"svg",
|
|
7262
7281
|
{
|
|
@@ -7297,7 +7316,7 @@ function sa({
|
|
|
7297
7316
|
},
|
|
7298
7317
|
"aria-label": a ? "お気に入りから削除" : "お気に入りに追加",
|
|
7299
7318
|
children: /* @__PURE__ */ e(
|
|
7300
|
-
|
|
7319
|
+
Se,
|
|
7301
7320
|
{
|
|
7302
7321
|
size: r === "sm" ? 16 : 20,
|
|
7303
7322
|
filled: a
|
|
@@ -7339,9 +7358,9 @@ function es({
|
|
|
7339
7358
|
price: o,
|
|
7340
7359
|
originalPrice: l,
|
|
7341
7360
|
rating: d,
|
|
7342
|
-
reviewCount:
|
|
7361
|
+
reviewCount: u,
|
|
7343
7362
|
shopName: c,
|
|
7344
|
-
shopHref:
|
|
7363
|
+
shopHref: m,
|
|
7345
7364
|
tags: v = [],
|
|
7346
7365
|
isFavorite: h = !1,
|
|
7347
7366
|
onFavoriteToggle: b,
|
|
@@ -7350,13 +7369,13 @@ function es({
|
|
|
7350
7369
|
ranking: x,
|
|
7351
7370
|
deliveryDate: k,
|
|
7352
7371
|
orientation: g = "vertical",
|
|
7353
|
-
showDiscountBadge:
|
|
7354
|
-
showCartButton:
|
|
7372
|
+
showDiscountBadge: N = !0,
|
|
7373
|
+
showCartButton: y = !1,
|
|
7355
7374
|
onCartAdd: S,
|
|
7356
7375
|
cartButtonLabel: z = "カートに追加",
|
|
7357
7376
|
...B
|
|
7358
7377
|
}) {
|
|
7359
|
-
const
|
|
7378
|
+
const E = N ? Zr(o, l) : null;
|
|
7360
7379
|
return g === "horizontal" ? /* @__PURE__ */ i(
|
|
7361
7380
|
"div",
|
|
7362
7381
|
{
|
|
@@ -7369,18 +7388,18 @@ function es({
|
|
|
7369
7388
|
x != null && /* @__PURE__ */ e(ia, { rank: x }),
|
|
7370
7389
|
/* @__PURE__ */ i("div", { className: "relative h-auto w-28 shrink-0 overflow-hidden rounded-lg @sm:w-36", children: [
|
|
7371
7390
|
/* @__PURE__ */ e("img", { src: r, alt: n ?? t, className: "h-full w-full object-cover", loading: "lazy" }),
|
|
7372
|
-
|
|
7373
|
-
v.length > 0 && /* @__PURE__ */ e("div", { className: "absolute bottom-1.5 left-1.5 z-[2] flex flex-wrap gap-1", children: !
|
|
7391
|
+
E && /* @__PURE__ */ e(ee, { variant: "sale", size: "sm", className: "absolute bottom-1.5 left-1.5 z-[2]", children: E }),
|
|
7392
|
+
v.length > 0 && /* @__PURE__ */ e("div", { className: "absolute bottom-1.5 left-1.5 z-[2] flex flex-wrap gap-1", children: !E && v.map((P) => /* @__PURE__ */ e(ee, { variant: P.variant, size: "sm", children: P.label }, P.label)) }),
|
|
7374
7393
|
b && /* @__PURE__ */ e("div", { className: "absolute bottom-1 right-1 z-10", children: /* @__PURE__ */ e(sa, { isFavorite: h, onToggle: b, size: "sm" }) })
|
|
7375
7394
|
] }),
|
|
7376
7395
|
/* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col justify-between py-1 pl-3 pr-1", children: [
|
|
7377
7396
|
/* @__PURE__ */ i("div", { className: "space-y-0.5", children: [
|
|
7378
|
-
c && /* @__PURE__ */ e(na, { name: c, href:
|
|
7397
|
+
c && /* @__PURE__ */ e(na, { name: c, href: m }),
|
|
7379
7398
|
/* @__PURE__ */ e("h3", { className: "line-clamp-2 typo-body-md text-[var(--Text-High-Emphasis)]", children: t })
|
|
7380
7399
|
] }),
|
|
7381
7400
|
/* @__PURE__ */ i("div", { className: "mt-1 space-y-0.5", children: [
|
|
7382
7401
|
/* @__PURE__ */ i("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
7383
|
-
d != null && /* @__PURE__ */ e(ie, { rating: d, reviewCount:
|
|
7402
|
+
d != null && /* @__PURE__ */ e(ie, { rating: d, reviewCount: u, size: "sm" }),
|
|
7384
7403
|
k && /* @__PURE__ */ i("p", { className: "typo-body-xs text-[var(--Text-Medium-Emphasis)]", children: [
|
|
7385
7404
|
"最短 ",
|
|
7386
7405
|
k
|
|
@@ -7405,17 +7424,17 @@ function es({
|
|
|
7405
7424
|
/* @__PURE__ */ i("div", { className: "aspect-square overflow-hidden rounded-lg", children: [
|
|
7406
7425
|
/* @__PURE__ */ e("img", { src: r, alt: n ?? t, className: "h-full w-full object-cover transition-transform duration-200 group-hover:scale-105", loading: "lazy" }),
|
|
7407
7426
|
/* @__PURE__ */ e("div", { className: "absolute inset-x-1 bottom-1 z-[3] flex items-end", children: /* @__PURE__ */ i("div", { className: "flex flex-wrap gap-1", children: [
|
|
7408
|
-
|
|
7409
|
-
v.map((
|
|
7427
|
+
E && /* @__PURE__ */ e(ee, { variant: "sale", size: "sm", children: E }),
|
|
7428
|
+
v.map((P) => /* @__PURE__ */ e(ee, { variant: P.variant, size: "sm", children: P.label }, P.label))
|
|
7410
7429
|
] }) })
|
|
7411
7430
|
] }),
|
|
7412
7431
|
b && /* @__PURE__ */ e("div", { className: "absolute bottom-1.5 right-1.5 z-[4]", children: /* @__PURE__ */ e(sa, { isFavorite: h, onToggle: b }) })
|
|
7413
7432
|
] }),
|
|
7414
7433
|
/* @__PURE__ */ i("div", { className: "flex flex-1 flex-col gap-0.5", children: [
|
|
7415
|
-
c && /* @__PURE__ */ e(na, { name: c, href:
|
|
7434
|
+
c && /* @__PURE__ */ e(na, { name: c, href: m }),
|
|
7416
7435
|
/* @__PURE__ */ e("h3", { className: "line-clamp-2 typo-body-md text-[var(--Text-High-Emphasis)]", children: t }),
|
|
7417
7436
|
(d != null || k) && /* @__PURE__ */ i("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
7418
|
-
d != null && /* @__PURE__ */ e(ie, { rating: d, reviewCount:
|
|
7437
|
+
d != null && /* @__PURE__ */ e(ie, { rating: d, reviewCount: u, size: "sm" }),
|
|
7419
7438
|
k && /* @__PURE__ */ i("p", { className: "typo-body-xs text-[var(--Text-Medium-Emphasis)]", children: [
|
|
7420
7439
|
"最短 ",
|
|
7421
7440
|
k
|
|
@@ -7423,13 +7442,13 @@ function es({
|
|
|
7423
7442
|
] }),
|
|
7424
7443
|
/* @__PURE__ */ e(be, { price: o, originalPrice: l, size: "md", showTaxLabel: !1 })
|
|
7425
7444
|
] }),
|
|
7426
|
-
|
|
7445
|
+
y && /* @__PURE__ */ e(
|
|
7427
7446
|
"button",
|
|
7428
7447
|
{
|
|
7429
7448
|
type: "button",
|
|
7430
7449
|
className: "relative z-10 flex h-9 w-full items-center justify-center gap-0.5 rounded-xl bg-[var(--Brand-Cake-Orange)] typo-label-md text-[var(--Text-on-Inverse)] transition-colors hover:bg-[var(--Hover-Primary-Button)] active:bg-[var(--Active-Primary-Button)]",
|
|
7431
|
-
onClick: (
|
|
7432
|
-
|
|
7450
|
+
onClick: (P) => {
|
|
7451
|
+
P.preventDefault(), P.stopPropagation(), S?.();
|
|
7433
7452
|
},
|
|
7434
7453
|
children: z
|
|
7435
7454
|
}
|
|
@@ -7453,9 +7472,9 @@ function tl({
|
|
|
7453
7472
|
sectionImageAlt: o,
|
|
7454
7473
|
sectionImageHref: l,
|
|
7455
7474
|
moreHref: d,
|
|
7456
|
-
moreLabel:
|
|
7475
|
+
moreLabel: u,
|
|
7457
7476
|
onMoreClick: c,
|
|
7458
|
-
headerSize:
|
|
7477
|
+
headerSize: m,
|
|
7459
7478
|
products: v,
|
|
7460
7479
|
cardSize: h = "sm",
|
|
7461
7480
|
showRanking: b = !1,
|
|
@@ -7486,24 +7505,24 @@ function tl({
|
|
|
7486
7505
|
title: a,
|
|
7487
7506
|
subtitle: t,
|
|
7488
7507
|
moreHref: d,
|
|
7489
|
-
moreLabel:
|
|
7508
|
+
moreLabel: u,
|
|
7490
7509
|
onMoreClick: c,
|
|
7491
|
-
size:
|
|
7492
|
-
className: "px-0"
|
|
7510
|
+
size: m
|
|
7493
7511
|
}
|
|
7494
7512
|
),
|
|
7495
7513
|
r && /* @__PURE__ */ e("p", { className: "mt-1 line-clamp-3 typo-body-md text-[var(--Text-Medium-Emphasis)]", children: r })
|
|
7496
7514
|
] })
|
|
7497
|
-
] }) : /* @__PURE__ */ i(
|
|
7515
|
+
] }) : /* @__PURE__ */ i(D, { children: [
|
|
7498
7516
|
/* @__PURE__ */ e(
|
|
7499
7517
|
fe,
|
|
7500
7518
|
{
|
|
7501
7519
|
title: a,
|
|
7502
7520
|
subtitle: t,
|
|
7503
7521
|
moreHref: d,
|
|
7504
|
-
moreLabel:
|
|
7522
|
+
moreLabel: u,
|
|
7505
7523
|
onMoreClick: c,
|
|
7506
|
-
size:
|
|
7524
|
+
size: m,
|
|
7525
|
+
className: "px-4"
|
|
7507
7526
|
}
|
|
7508
7527
|
),
|
|
7509
7528
|
r && /* @__PURE__ */ e("p", { className: "mt-1 px-4 line-clamp-3 typo-body-md text-[var(--Text-Medium-Emphasis)]", children: r })
|
|
@@ -7513,21 +7532,21 @@ function tl({
|
|
|
7513
7532
|
h === "responsive" ? "gap-2 @[736px]:gap-4 @[928px]:gap-6" : "gap-3",
|
|
7514
7533
|
p && "items-stretch"
|
|
7515
7534
|
), children: [
|
|
7516
|
-
v.map((
|
|
7535
|
+
v.map((N, y) => /* @__PURE__ */ e(
|
|
7517
7536
|
"div",
|
|
7518
7537
|
{
|
|
7519
7538
|
className: s("shrink-0", as[h]),
|
|
7520
7539
|
children: /* @__PURE__ */ e(
|
|
7521
7540
|
es,
|
|
7522
7541
|
{
|
|
7523
|
-
...
|
|
7524
|
-
ranking: b ?
|
|
7542
|
+
...N,
|
|
7543
|
+
ranking: b ? y + 1 : N.ranking,
|
|
7525
7544
|
showCartButton: p,
|
|
7526
|
-
className: s(
|
|
7545
|
+
className: s(N.className, p && "h-full")
|
|
7527
7546
|
}
|
|
7528
7547
|
)
|
|
7529
7548
|
},
|
|
7530
|
-
|
|
7549
|
+
N.name + y
|
|
7531
7550
|
)),
|
|
7532
7551
|
/* @__PURE__ */ e("div", { className: "shrink-0 w-4 @[736px]:w-4 @[928px]:w-4", "aria-hidden": "true" })
|
|
7533
7552
|
] })
|
|
@@ -7543,9 +7562,9 @@ function rl({
|
|
|
7543
7562
|
countdownText: o,
|
|
7544
7563
|
resaleText: l,
|
|
7545
7564
|
className: d,
|
|
7546
|
-
...
|
|
7565
|
+
...u
|
|
7547
7566
|
}) {
|
|
7548
|
-
const c = a === "sold-out" || a === "timesale-ended" || a === "pre-sale",
|
|
7567
|
+
const c = a === "sold-out" || a === "timesale-ended" || a === "pre-sale", m = {
|
|
7549
7568
|
"add-to-cart": "カートに追加",
|
|
7550
7569
|
resale: "再販通知を受け取る",
|
|
7551
7570
|
timesale: "タイムセール カートに追加",
|
|
@@ -7562,7 +7581,7 @@ function rl({
|
|
|
7562
7581
|
{
|
|
7563
7582
|
"data-slot": "product-cta",
|
|
7564
7583
|
className: s("space-y-2", d),
|
|
7565
|
-
...
|
|
7584
|
+
...u,
|
|
7566
7585
|
children: [
|
|
7567
7586
|
/* @__PURE__ */ e(
|
|
7568
7587
|
T,
|
|
@@ -7571,7 +7590,7 @@ function rl({
|
|
|
7571
7590
|
className: "w-full",
|
|
7572
7591
|
disabled: c,
|
|
7573
7592
|
onClick: t,
|
|
7574
|
-
children:
|
|
7593
|
+
children: m[a]
|
|
7575
7594
|
}
|
|
7576
7595
|
),
|
|
7577
7596
|
r && /* @__PURE__ */ i(
|
|
@@ -7616,9 +7635,9 @@ function sl({
|
|
|
7616
7635
|
isSale: o = !1,
|
|
7617
7636
|
rating: l,
|
|
7618
7637
|
reviewCount: d,
|
|
7619
|
-
ctaLabel:
|
|
7638
|
+
ctaLabel: u = "カートに追加",
|
|
7620
7639
|
onCtaClick: c,
|
|
7621
|
-
ctaDisabled:
|
|
7640
|
+
ctaDisabled: m = !1,
|
|
7622
7641
|
onTabClick: v,
|
|
7623
7642
|
...h
|
|
7624
7643
|
}) {
|
|
@@ -7653,7 +7672,7 @@ function sl({
|
|
|
7653
7672
|
/* @__PURE__ */ e("p", { className: "line-clamp-1 typo-label-sm text-[var(--Text-High-Emphasis)]", children: r }),
|
|
7654
7673
|
/* @__PURE__ */ i("div", { className: "flex items-center", children: [
|
|
7655
7674
|
/* @__PURE__ */ i("div", { className: s(
|
|
7656
|
-
"flex items-baseline",
|
|
7675
|
+
"flex items-baseline text-[var(--Text-High-Emphasis)]",
|
|
7657
7676
|
o && "text-[var(--Text-Caution)]"
|
|
7658
7677
|
), children: [
|
|
7659
7678
|
/* @__PURE__ */ i("span", { className: "typo-heading-md text-inherit", children: [
|
|
@@ -7677,8 +7696,8 @@ function sl({
|
|
|
7677
7696
|
{
|
|
7678
7697
|
size: "lg",
|
|
7679
7698
|
onClick: c,
|
|
7680
|
-
disabled:
|
|
7681
|
-
children:
|
|
7699
|
+
disabled: m,
|
|
7700
|
+
children: u
|
|
7682
7701
|
}
|
|
7683
7702
|
)
|
|
7684
7703
|
] })
|
|
@@ -7694,9 +7713,9 @@ function il({
|
|
|
7694
7713
|
shopName: o,
|
|
7695
7714
|
shopHref: l,
|
|
7696
7715
|
brandLabel: d,
|
|
7697
|
-
brandHref:
|
|
7716
|
+
brandHref: u,
|
|
7698
7717
|
rating: c,
|
|
7699
|
-
reviewCount:
|
|
7718
|
+
reviewCount: m,
|
|
7700
7719
|
coupons: v,
|
|
7701
7720
|
sizeOptions: h,
|
|
7702
7721
|
selectedSize: b,
|
|
@@ -7705,16 +7724,16 @@ function il({
|
|
|
7705
7724
|
onSizeInfoClick: x,
|
|
7706
7725
|
deliveryPrefecture: k,
|
|
7707
7726
|
onPrefectureChange: g,
|
|
7708
|
-
earliestDelivery:
|
|
7709
|
-
quantity:
|
|
7727
|
+
earliestDelivery: N,
|
|
7728
|
+
quantity: y = 1,
|
|
7710
7729
|
onQuantityChange: S,
|
|
7711
7730
|
pointInfo: z,
|
|
7712
7731
|
onAddToCart: B,
|
|
7713
|
-
addToCartLabel:
|
|
7714
|
-
onBookmark:
|
|
7715
|
-
isBookmarked:
|
|
7716
|
-
promoBanner:
|
|
7717
|
-
...
|
|
7732
|
+
addToCartLabel: E = "カートに追加",
|
|
7733
|
+
onBookmark: P,
|
|
7734
|
+
isBookmarked: $ = !1,
|
|
7735
|
+
promoBanner: I,
|
|
7736
|
+
...C
|
|
7718
7737
|
}) {
|
|
7719
7738
|
return /* @__PURE__ */ i(
|
|
7720
7739
|
"div",
|
|
@@ -7724,11 +7743,11 @@ function il({
|
|
|
7724
7743
|
"flex w-[400px] max-w-full flex-col rounded-2xl border-2 border-[var(--Surface-Tertiary)] bg-[var(--Surface-Primary)]",
|
|
7725
7744
|
a
|
|
7726
7745
|
),
|
|
7727
|
-
...
|
|
7746
|
+
...C,
|
|
7728
7747
|
children: [
|
|
7729
7748
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 overflow-hidden px-6 pb-2 pt-6", children: [
|
|
7730
7749
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
|
|
7731
|
-
n && n.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: n.map((
|
|
7750
|
+
n && n.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: n.map((M, F) => /* @__PURE__ */ e(ee, { variant: M.variant, size: "md", children: M.label }, F)) }),
|
|
7732
7751
|
/* @__PURE__ */ e("h2", { className: "typo-heading-2xl text-[var(--Text-High-Emphasis)]", children: t }),
|
|
7733
7752
|
o && /* @__PURE__ */ i("div", { className: "flex w-full items-center gap-1", children: [
|
|
7734
7753
|
/* @__PURE__ */ e(
|
|
@@ -7755,10 +7774,10 @@ function il({
|
|
|
7755
7774
|
className: "shrink-0 text-[var(--Text-Medium-Emphasis)]"
|
|
7756
7775
|
}
|
|
7757
7776
|
),
|
|
7758
|
-
|
|
7777
|
+
u ? /* @__PURE__ */ e(
|
|
7759
7778
|
"a",
|
|
7760
7779
|
{
|
|
7761
|
-
href:
|
|
7780
|
+
href: u,
|
|
7762
7781
|
className: "typo-label-md text-[var(--Text-Medium-Emphasis)] underline",
|
|
7763
7782
|
children: d
|
|
7764
7783
|
}
|
|
@@ -7771,7 +7790,7 @@ function il({
|
|
|
7771
7790
|
ie,
|
|
7772
7791
|
{
|
|
7773
7792
|
rating: c,
|
|
7774
|
-
reviewCount:
|
|
7793
|
+
reviewCount: m,
|
|
7775
7794
|
size: "md",
|
|
7776
7795
|
showValue: !0,
|
|
7777
7796
|
showCount: !0
|
|
@@ -7780,40 +7799,40 @@ function il({
|
|
|
7780
7799
|
] }),
|
|
7781
7800
|
v && v.length > 0 && /* @__PURE__ */ i("div", { className: "flex flex-col pb-2", children: [
|
|
7782
7801
|
/* @__PURE__ */ i("div", { className: "z-[2] flex items-center gap-0.5 self-start rounded bg-[var(--Surface-Info)] px-2 py-1", children: [
|
|
7783
|
-
/* @__PURE__ */ e(
|
|
7802
|
+
/* @__PURE__ */ e(Fe, { size: 16, className: "text-[var(--Text-on-Inverse)]" }),
|
|
7784
7803
|
/* @__PURE__ */ e("span", { className: "typo-label-sm text-[var(--Text-on-Inverse)]", children: "対象クーポン" })
|
|
7785
7804
|
] }),
|
|
7786
|
-
/* @__PURE__ */ e("div", { className: "-mt-2 z-[1] flex flex-col gap-0 rounded-lg bg-[var(--Surface-Info-Light)] px-4 py-3 pt-5", children: v.map((
|
|
7787
|
-
|
|
7805
|
+
/* @__PURE__ */ e("div", { className: "-mt-2 z-[1] flex flex-col gap-0 rounded-lg bg-[var(--Surface-Info-Light)] px-4 py-3 pt-5", children: v.map((M, F) => /* @__PURE__ */ i(w.Fragment, { children: [
|
|
7806
|
+
F > 0 && /* @__PURE__ */ e("div", { className: "my-2 border-t border-dashed border-[var(--Border-Info)]" }),
|
|
7788
7807
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2 py-1", children: [
|
|
7789
|
-
/* @__PURE__ */ e("span", { className: "min-w-0 truncate typo-label-lg text-[var(--Text-Info)]", children:
|
|
7790
|
-
|
|
7808
|
+
/* @__PURE__ */ e("span", { className: "min-w-0 truncate typo-label-lg text-[var(--Text-Info)]", children: M.label }),
|
|
7809
|
+
M.actionLabel && /* @__PURE__ */ e(
|
|
7791
7810
|
"button",
|
|
7792
7811
|
{
|
|
7793
7812
|
type: "button",
|
|
7794
7813
|
className: "shrink-0 typo-body-md text-[var(--Text-Info)] underline",
|
|
7795
|
-
onClick:
|
|
7796
|
-
children:
|
|
7814
|
+
onClick: M.onAction,
|
|
7815
|
+
children: M.actionLabel
|
|
7797
7816
|
}
|
|
7798
7817
|
)
|
|
7799
7818
|
] })
|
|
7800
|
-
] },
|
|
7819
|
+
] }, F)) })
|
|
7801
7820
|
] })
|
|
7802
7821
|
] }),
|
|
7803
7822
|
h && h.length > 0 && /* @__PURE__ */ i("div", { className: "flex flex-col py-2", children: [
|
|
7804
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-3 overflow-hidden px-6 py-2", children: h.map((
|
|
7823
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-3 overflow-hidden px-6 py-2", children: h.map((M, F) => /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-[11px]", children: M.map((A) => /* @__PURE__ */ e(
|
|
7805
7824
|
za,
|
|
7806
7825
|
{
|
|
7807
7826
|
shape: "square",
|
|
7808
7827
|
size: "tile",
|
|
7809
7828
|
variant: "filled",
|
|
7810
|
-
selected: b ===
|
|
7811
|
-
soldOut:
|
|
7812
|
-
onClick: () => p?.(
|
|
7813
|
-
children:
|
|
7829
|
+
selected: b === A.value,
|
|
7830
|
+
soldOut: A.soldOut,
|
|
7831
|
+
onClick: () => p?.(A.value),
|
|
7832
|
+
children: A.label
|
|
7814
7833
|
},
|
|
7815
|
-
|
|
7816
|
-
)) },
|
|
7834
|
+
A.value
|
|
7835
|
+
)) }, F)) }),
|
|
7817
7836
|
f && /* @__PURE__ */ i(
|
|
7818
7837
|
"button",
|
|
7819
7838
|
{
|
|
@@ -7833,7 +7852,7 @@ function il({
|
|
|
7833
7852
|
}
|
|
7834
7853
|
)
|
|
7835
7854
|
] }),
|
|
7836
|
-
(k ||
|
|
7855
|
+
(k || N) && /* @__PURE__ */ i("div", { className: "flex min-w-0 items-center gap-2 rounded-lg px-4 py-2", children: [
|
|
7837
7856
|
k && /* @__PURE__ */ i(
|
|
7838
7857
|
"button",
|
|
7839
7858
|
{
|
|
@@ -7852,19 +7871,19 @@ function il({
|
|
|
7852
7871
|
]
|
|
7853
7872
|
}
|
|
7854
7873
|
),
|
|
7855
|
-
|
|
7874
|
+
N && /* @__PURE__ */ i("div", { className: "min-w-0 shrink text-[var(--Text-High-Emphasis)]", children: [
|
|
7856
7875
|
/* @__PURE__ */ e("span", { className: "typo-body-md", children: "への最短お届け日は" }),
|
|
7857
7876
|
/* @__PURE__ */ e("br", {}),
|
|
7858
|
-
/* @__PURE__ */ e("span", { className: "typo-label-md", children:
|
|
7877
|
+
/* @__PURE__ */ e("span", { className: "typo-label-md", children: N }),
|
|
7859
7878
|
/* @__PURE__ */ e("span", { className: "typo-body-md", children: "です" })
|
|
7860
7879
|
] })
|
|
7861
7880
|
] }),
|
|
7862
7881
|
S && /* @__PURE__ */ i("div", { className: "flex items-center gap-6 px-6 py-2", children: [
|
|
7863
7882
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: "数量" }),
|
|
7864
7883
|
/* @__PURE__ */ e(
|
|
7865
|
-
|
|
7884
|
+
Ea,
|
|
7866
7885
|
{
|
|
7867
|
-
value:
|
|
7886
|
+
value: y,
|
|
7868
7887
|
onChange: S,
|
|
7869
7888
|
size: "md",
|
|
7870
7889
|
editable: !1
|
|
@@ -7912,7 +7931,7 @@ function il({
|
|
|
7912
7931
|
className: "w-full",
|
|
7913
7932
|
onClick: B,
|
|
7914
7933
|
disabled: !B,
|
|
7915
|
-
children:
|
|
7934
|
+
children: E
|
|
7916
7935
|
}
|
|
7917
7936
|
),
|
|
7918
7937
|
/* @__PURE__ */ i(
|
|
@@ -7921,33 +7940,33 @@ function il({
|
|
|
7921
7940
|
variant: "tertiary",
|
|
7922
7941
|
size: "xl",
|
|
7923
7942
|
className: "mb-2 w-full",
|
|
7924
|
-
onClick:
|
|
7943
|
+
onClick: P,
|
|
7925
7944
|
children: [
|
|
7926
7945
|
/* @__PURE__ */ e(
|
|
7927
|
-
|
|
7946
|
+
Se,
|
|
7928
7947
|
{
|
|
7929
7948
|
size: 20,
|
|
7930
|
-
filled:
|
|
7949
|
+
filled: $
|
|
7931
7950
|
}
|
|
7932
7951
|
),
|
|
7933
|
-
|
|
7952
|
+
$ ? "ブックマーク済み" : "ブックマークに追加"
|
|
7934
7953
|
]
|
|
7935
7954
|
}
|
|
7936
7955
|
)
|
|
7937
7956
|
] }) }),
|
|
7938
|
-
|
|
7957
|
+
I && /* @__PURE__ */ e("div", { className: "p-4", "data-missing-component": "PromoBanner", children: /* @__PURE__ */ i(
|
|
7939
7958
|
"button",
|
|
7940
7959
|
{
|
|
7941
7960
|
type: "button",
|
|
7942
7961
|
className: "flex w-full items-center gap-2 rounded-lg border border-[var(--Border-Info)] bg-[var(--Surface-Info-Light)] px-4 py-4",
|
|
7943
|
-
onClick:
|
|
7962
|
+
onClick: I.onClick,
|
|
7944
7963
|
children: [
|
|
7945
7964
|
/* @__PURE__ */ i("div", { className: "flex flex-1 flex-col items-start gap-2", children: [
|
|
7946
|
-
/* @__PURE__ */ e("span", { className: "rounded bg-[var(--Surface-Info)] px-2 py-1 typo-label-md text-[var(--Text-on-Inverse)]", children:
|
|
7947
|
-
/* @__PURE__ */ e("span", { className: "typo-body-md text-left text-[var(--Text-Info)]", children:
|
|
7965
|
+
/* @__PURE__ */ e("span", { className: "rounded bg-[var(--Surface-Info)] px-2 py-1 typo-label-md text-[var(--Text-on-Inverse)]", children: I.badge }),
|
|
7966
|
+
/* @__PURE__ */ e("span", { className: "typo-body-md text-left text-[var(--Text-Info)]", children: I.text })
|
|
7948
7967
|
] }),
|
|
7949
7968
|
/* @__PURE__ */ e(
|
|
7950
|
-
|
|
7969
|
+
V,
|
|
7951
7970
|
{
|
|
7952
7971
|
size: 24,
|
|
7953
7972
|
className: "shrink-0 text-[var(--Text-Info)]"
|
|
@@ -7968,9 +7987,9 @@ function nl({
|
|
|
7968
7987
|
shopHref: o,
|
|
7969
7988
|
brandName: l,
|
|
7970
7989
|
tags: d,
|
|
7971
|
-
hashTags:
|
|
7990
|
+
hashTags: u,
|
|
7972
7991
|
statusLabel: c,
|
|
7973
|
-
variant:
|
|
7992
|
+
variant: m = "default",
|
|
7974
7993
|
showCartButton: v = !1,
|
|
7975
7994
|
onAddToCart: h,
|
|
7976
7995
|
showDetailButton: b = !1,
|
|
@@ -7979,45 +7998,45 @@ function nl({
|
|
|
7979
7998
|
href: x,
|
|
7980
7999
|
orderDate: k,
|
|
7981
8000
|
deliveryInfo: g,
|
|
7982
|
-
totalPrice:
|
|
7983
|
-
showReviewButton:
|
|
8001
|
+
totalPrice: N,
|
|
8002
|
+
showReviewButton: y = !1,
|
|
7984
8003
|
optionInfo: S,
|
|
7985
8004
|
// cart variant props
|
|
7986
8005
|
quantity: z,
|
|
7987
8006
|
onQuantityChange: B,
|
|
7988
|
-
quantitySize:
|
|
7989
|
-
originalPrice:
|
|
7990
|
-
priceLabel:
|
|
7991
|
-
deliveryText:
|
|
7992
|
-
onDelete:
|
|
7993
|
-
onSaveForLater:
|
|
7994
|
-
imageSize:
|
|
8007
|
+
quantitySize: E = "sm",
|
|
8008
|
+
originalPrice: P,
|
|
8009
|
+
priceLabel: $,
|
|
8010
|
+
deliveryText: I,
|
|
8011
|
+
onDelete: C,
|
|
8012
|
+
onSaveForLater: M,
|
|
8013
|
+
imageSize: F = "size-20",
|
|
7995
8014
|
// slot props
|
|
7996
|
-
leftSlot:
|
|
8015
|
+
leftSlot: A,
|
|
7997
8016
|
rightSlot: Z,
|
|
7998
8017
|
bottomSlot: We,
|
|
7999
|
-
className:
|
|
8000
|
-
...
|
|
8018
|
+
className: Ca,
|
|
8019
|
+
...Ma
|
|
8001
8020
|
}) {
|
|
8002
|
-
const
|
|
8021
|
+
const X = m === "small" || m === "xsm", J = m === "review", W = m === "cart", Ve = W ? F : m === "xsm" ? "size-10" : X ? "size-14" : "size-[102px]";
|
|
8003
8022
|
return /* @__PURE__ */ i(
|
|
8004
8023
|
"div",
|
|
8005
8024
|
{
|
|
8006
8025
|
"data-slot": "list-item",
|
|
8007
8026
|
className: s(
|
|
8008
8027
|
"flex flex-col bg-[var(--Surface-Primary)]",
|
|
8009
|
-
|
|
8010
|
-
|
|
8028
|
+
m === "lp" && "flex-col rounded-xl bg-[var(--Surface-Secondary)] p-4",
|
|
8029
|
+
Ca
|
|
8011
8030
|
),
|
|
8012
|
-
...
|
|
8031
|
+
...Ma,
|
|
8013
8032
|
children: [
|
|
8014
8033
|
/* @__PURE__ */ i("div", { className: s(
|
|
8015
8034
|
"flex gap-2 px-4 py-2 min-w-0 overflow-hidden",
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8035
|
+
X && "gap-2 px-3 py-2",
|
|
8036
|
+
W && "gap-3 p-4",
|
|
8037
|
+
m === "lp" && "gap-3 px-0 py-0"
|
|
8019
8038
|
), children: [
|
|
8020
|
-
|
|
8039
|
+
A ? /* @__PURE__ */ e("div", { className: "shrink-0", children: A }) : t && !W ? /* @__PURE__ */ i("a", { href: x ?? "#", className: "relative shrink-0", children: [
|
|
8021
8040
|
/* @__PURE__ */ e(
|
|
8022
8041
|
"img",
|
|
8023
8042
|
{
|
|
@@ -8026,13 +8045,13 @@ function nl({
|
|
|
8026
8045
|
className: s(
|
|
8027
8046
|
"rounded-lg object-cover",
|
|
8028
8047
|
Ve,
|
|
8029
|
-
|
|
8048
|
+
m === "lp" && "aspect-video w-full size-auto rounded-lg"
|
|
8030
8049
|
)
|
|
8031
8050
|
}
|
|
8032
8051
|
),
|
|
8033
8052
|
c && /* @__PURE__ */ e("span", { className: "absolute top-1.5 left-1.5 rounded bg-[var(--Surface-Primary)]/80 px-1.5 py-0.5 typo-label-xs text-[var(--Text-Medium-Emphasis)]", children: c })
|
|
8034
8053
|
] }) : null,
|
|
8035
|
-
!
|
|
8054
|
+
!A && t && W && /* @__PURE__ */ i(
|
|
8036
8055
|
"div",
|
|
8037
8056
|
{
|
|
8038
8057
|
className: s(
|
|
@@ -8054,9 +8073,9 @@ function nl({
|
|
|
8054
8073
|
),
|
|
8055
8074
|
/* @__PURE__ */ i("div", { className: s(
|
|
8056
8075
|
"min-w-0 flex-1",
|
|
8057
|
-
J ? "flex flex-col justify-between self-stretch" :
|
|
8076
|
+
J ? "flex flex-col justify-between self-stretch" : W ? "flex flex-col gap-2" : "space-y-1"
|
|
8058
8077
|
), children: [
|
|
8059
|
-
(n || l) && !
|
|
8078
|
+
(n || l) && !X && !J && (o ? /* @__PURE__ */ i(
|
|
8060
8079
|
"a",
|
|
8061
8080
|
{
|
|
8062
8081
|
href: o,
|
|
@@ -8070,85 +8089,85 @@ function nl({
|
|
|
8070
8089
|
n,
|
|
8071
8090
|
l && ` / ${l}`
|
|
8072
8091
|
] })),
|
|
8073
|
-
|
|
8092
|
+
W ? /* @__PURE__ */ e("h3", { className: "line-clamp-2 typo-body-md text-[var(--Text-High-Emphasis)] min-w-0 break-words", children: a }) : /* @__PURE__ */ e(
|
|
8074
8093
|
"a",
|
|
8075
8094
|
{
|
|
8076
8095
|
href: x ?? "#",
|
|
8077
8096
|
className: s(
|
|
8078
8097
|
"block text-[var(--Text-High-Emphasis)]",
|
|
8079
|
-
|
|
8098
|
+
X ? "truncate typo-body-sm" : "line-clamp-2 typo-label-md"
|
|
8080
8099
|
),
|
|
8081
8100
|
children: a
|
|
8082
8101
|
}
|
|
8083
8102
|
),
|
|
8084
|
-
|
|
8103
|
+
u && u.length > 0 && !X && !J && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-x-1", children: u.map((G) => /* @__PURE__ */ i("span", { className: "typo-body-xs text-[var(--Text-Medium-Emphasis)]", children: [
|
|
8085
8104
|
"#",
|
|
8086
8105
|
G
|
|
8087
8106
|
] }, G)) }),
|
|
8088
|
-
d && d.length > 0 && !
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
/* @__PURE__ */ e("div", { className: s("min-w-0 shrink-0",
|
|
8107
|
+
d && d.length > 0 && !X && !J && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-1", children: d.map((G, Ce) => /* @__PURE__ */ e(ee, { variant: G.variant, size: W ? "sm" : void 0, children: G.label }, Ce)) }),
|
|
8108
|
+
W && I && /* @__PURE__ */ e("p", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: I }),
|
|
8109
|
+
W && r !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center justify-between min-w-0 gap-2 overflow-hidden", children: [
|
|
8110
|
+
$ && /* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)] shrink-0", children: $ }),
|
|
8111
|
+
/* @__PURE__ */ e("div", { className: s("min-w-0 shrink-0", !$ && "ml-auto"), children: /* @__PURE__ */ e(
|
|
8093
8112
|
be,
|
|
8094
8113
|
{
|
|
8095
8114
|
price: r,
|
|
8096
|
-
originalPrice:
|
|
8115
|
+
originalPrice: P,
|
|
8097
8116
|
size: "sm",
|
|
8098
8117
|
showTaxLabel: !1
|
|
8099
8118
|
}
|
|
8100
8119
|
) })
|
|
8101
8120
|
] }),
|
|
8102
|
-
|
|
8121
|
+
W && (z !== void 0 || C || M) && /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
8103
8122
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
|
|
8104
|
-
|
|
8123
|
+
C && /* @__PURE__ */ e(
|
|
8105
8124
|
T,
|
|
8106
8125
|
{
|
|
8107
8126
|
variant: "tertiary",
|
|
8108
8127
|
size: "sm",
|
|
8109
|
-
onClick:
|
|
8128
|
+
onClick: C,
|
|
8110
8129
|
"aria-label": "削除",
|
|
8111
8130
|
children: "削除"
|
|
8112
8131
|
}
|
|
8113
8132
|
),
|
|
8114
|
-
|
|
8133
|
+
M && /* @__PURE__ */ i(
|
|
8115
8134
|
T,
|
|
8116
8135
|
{
|
|
8117
8136
|
variant: "tertiary",
|
|
8118
8137
|
size: "sm",
|
|
8119
|
-
onClick:
|
|
8138
|
+
onClick: M,
|
|
8120
8139
|
"aria-label": "あとで買う",
|
|
8121
8140
|
children: [
|
|
8122
|
-
/* @__PURE__ */ e(
|
|
8141
|
+
/* @__PURE__ */ e(Se, { size: 16 }),
|
|
8123
8142
|
"あとで買う"
|
|
8124
8143
|
]
|
|
8125
8144
|
}
|
|
8126
8145
|
)
|
|
8127
8146
|
] }),
|
|
8128
8147
|
z !== void 0 && /* @__PURE__ */ e(
|
|
8129
|
-
|
|
8148
|
+
Ea,
|
|
8130
8149
|
{
|
|
8131
8150
|
value: z,
|
|
8132
|
-
size:
|
|
8151
|
+
size: E,
|
|
8133
8152
|
onChange: B
|
|
8134
8153
|
}
|
|
8135
8154
|
)
|
|
8136
8155
|
] }),
|
|
8137
|
-
r !== void 0 && !J &&
|
|
8156
|
+
r !== void 0 && !J && !W && /* @__PURE__ */ i("p", { className: s(
|
|
8138
8157
|
"text-[var(--Text-High-Emphasis)]",
|
|
8139
|
-
|
|
8158
|
+
X ? "typo-label-sm" : "typo-label-md"
|
|
8140
8159
|
), children: [
|
|
8141
8160
|
"¥",
|
|
8142
8161
|
r.toLocaleString()
|
|
8143
8162
|
] }),
|
|
8144
|
-
J &&
|
|
8163
|
+
J && N !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
8145
8164
|
/* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: "合計" }),
|
|
8146
8165
|
/* @__PURE__ */ i("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: [
|
|
8147
8166
|
"¥",
|
|
8148
|
-
|
|
8167
|
+
N.toLocaleString()
|
|
8149
8168
|
] })
|
|
8150
8169
|
] }),
|
|
8151
|
-
|
|
8170
|
+
m === "order-history" && /* @__PURE__ */ i("div", { className: "space-y-0.5 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: [
|
|
8152
8171
|
k && /* @__PURE__ */ i("p", { children: [
|
|
8153
8172
|
"お届け日:",
|
|
8154
8173
|
k
|
|
@@ -8157,18 +8176,18 @@ function nl({
|
|
|
8157
8176
|
"お届け先:",
|
|
8158
8177
|
g
|
|
8159
8178
|
] }),
|
|
8160
|
-
|
|
8179
|
+
N !== void 0 && /* @__PURE__ */ i("p", { children: [
|
|
8161
8180
|
"合計:",
|
|
8162
8181
|
/* @__PURE__ */ i("span", { className: "typo-label-sm text-[var(--Text-High-Emphasis)]", children: [
|
|
8163
8182
|
"¥",
|
|
8164
|
-
|
|
8183
|
+
N.toLocaleString()
|
|
8165
8184
|
] })
|
|
8166
8185
|
] })
|
|
8167
8186
|
] }),
|
|
8168
|
-
S && /* @__PURE__ */ e("div", { className: "space-y-0.5 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: Object.entries(S).map(([G,
|
|
8187
|
+
S && /* @__PURE__ */ e("div", { className: "space-y-0.5 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: Object.entries(S).map(([G, Ce]) => /* @__PURE__ */ i("p", { children: [
|
|
8169
8188
|
G,
|
|
8170
8189
|
":",
|
|
8171
|
-
/* @__PURE__ */ e("span", { className: "text-[var(--Text-Medium-Emphasis)]", children:
|
|
8190
|
+
/* @__PURE__ */ e("span", { className: "text-[var(--Text-Medium-Emphasis)]", children: Ce })
|
|
8172
8191
|
] }, G)) })
|
|
8173
8192
|
] }),
|
|
8174
8193
|
Z ? /* @__PURE__ */ e("div", { className: "shrink-0 self-start", children: Z }) : f && !J && /* @__PURE__ */ e(
|
|
@@ -8192,9 +8211,9 @@ function nl({
|
|
|
8192
8211
|
}
|
|
8193
8212
|
)
|
|
8194
8213
|
] }),
|
|
8195
|
-
We ? /* @__PURE__ */ e("div", { className: "px-4 py-3", children: We }) : (v || b ||
|
|
8214
|
+
We ? /* @__PURE__ */ e("div", { className: "px-4 py-3", children: We }) : (v || b || y) && /* @__PURE__ */ i("div", { className: "flex justify-end gap-3.5 px-4 py-3", children: [
|
|
8196
8215
|
b && /* @__PURE__ */ e(T, { variant: "tertiary", size: "sm", onClick: p, children: "商品詳細を見る" }),
|
|
8197
|
-
|
|
8216
|
+
y && /* @__PURE__ */ e(T, { variant: "secondary", size: "sm", children: "レビューを書く" }),
|
|
8198
8217
|
v && /* @__PURE__ */ e(T, { size: "sm", onClick: h, children: "カートに追加" })
|
|
8199
8218
|
] })
|
|
8200
8219
|
]
|
|
@@ -8209,25 +8228,25 @@ function ol({
|
|
|
8209
8228
|
helpText: o,
|
|
8210
8229
|
error: l,
|
|
8211
8230
|
children: d,
|
|
8212
|
-
className:
|
|
8231
|
+
className: u,
|
|
8213
8232
|
...c
|
|
8214
8233
|
}) {
|
|
8215
|
-
const
|
|
8234
|
+
const m = w.useId(), v = o ? `${m}-help` : void 0, h = l ? `${m}-error` : void 0, b = [v, h].filter(Boolean).join(" ") || void 0;
|
|
8216
8235
|
return /* @__PURE__ */ i(
|
|
8217
8236
|
"div",
|
|
8218
8237
|
{
|
|
8219
8238
|
"data-slot": "product-option",
|
|
8220
8239
|
role: "group",
|
|
8221
|
-
"aria-labelledby": `${
|
|
8240
|
+
"aria-labelledby": `${m}-label`,
|
|
8222
8241
|
className: s(
|
|
8223
8242
|
"space-y-2 rounded-lg border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] p-3",
|
|
8224
8243
|
l && "border-[var(--Border-Caution)]",
|
|
8225
|
-
|
|
8244
|
+
u
|
|
8226
8245
|
),
|
|
8227
8246
|
...c,
|
|
8228
8247
|
children: [
|
|
8229
8248
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
8230
|
-
/* @__PURE__ */ i(
|
|
8249
|
+
/* @__PURE__ */ i($e, { id: `${m}-label`, className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: [
|
|
8231
8250
|
t,
|
|
8232
8251
|
r && /* @__PURE__ */ e("span", { className: "ml-1 text-[var(--Text-Caution)]", "aria-hidden": "true", children: "*" })
|
|
8233
8252
|
] }),
|
|
@@ -8261,7 +8280,7 @@ function ll({
|
|
|
8261
8280
|
onClick: () => n?.(Math.max(t, a - 1)),
|
|
8262
8281
|
disabled: a <= t,
|
|
8263
8282
|
"aria-label": "減らす",
|
|
8264
|
-
children: /* @__PURE__ */ e(
|
|
8283
|
+
children: /* @__PURE__ */ e(je, { size: 16 })
|
|
8265
8284
|
}
|
|
8266
8285
|
),
|
|
8267
8286
|
/* @__PURE__ */ e("span", { className: "w-8 text-center typo-label-md tabular-nums text-[var(--Text-High-Emphasis)]", "aria-live": "polite", children: a }),
|
|
@@ -8358,15 +8377,15 @@ function ul({
|
|
|
8358
8377
|
text: o,
|
|
8359
8378
|
imageUrl: l,
|
|
8360
8379
|
productName: d,
|
|
8361
|
-
productImageUrl:
|
|
8380
|
+
productImageUrl: u,
|
|
8362
8381
|
helpfulCount: c,
|
|
8363
|
-
isLiked:
|
|
8382
|
+
isLiked: m = !1,
|
|
8364
8383
|
onLikeClick: v,
|
|
8365
8384
|
onMoreClick: h,
|
|
8366
8385
|
maxLength: b = 80,
|
|
8367
8386
|
...p
|
|
8368
8387
|
}) {
|
|
8369
|
-
const f = t === "pc", x = t === "card", k = o.length > b ? o.slice(0, b) + "..." : o, g = o.length > b,
|
|
8388
|
+
const f = t === "pc", x = t === "card", k = o.length > b ? o.slice(0, b) + "..." : o, g = o.length > b, N = f ? "size-64" : "size-20";
|
|
8370
8389
|
return /* @__PURE__ */ i(
|
|
8371
8390
|
"div",
|
|
8372
8391
|
{
|
|
@@ -8380,10 +8399,10 @@ function ul({
|
|
|
8380
8399
|
...p,
|
|
8381
8400
|
children: [
|
|
8382
8401
|
x && d && /* @__PURE__ */ i("div", { className: "flex w-full items-center gap-1.5 rounded bg-[var(--Surface-Secondary)] p-2", children: [
|
|
8383
|
-
|
|
8402
|
+
u && /* @__PURE__ */ e(
|
|
8384
8403
|
"img",
|
|
8385
8404
|
{
|
|
8386
|
-
src:
|
|
8405
|
+
src: u,
|
|
8387
8406
|
alt: d,
|
|
8388
8407
|
className: "size-8 shrink-0 rounded object-cover"
|
|
8389
8408
|
}
|
|
@@ -8391,8 +8410,8 @@ function ul({
|
|
|
8391
8410
|
/* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-High-Emphasis)]", children: d })
|
|
8392
8411
|
] }),
|
|
8393
8412
|
/* @__PURE__ */ i("div", { className: "flex w-full items-center justify-between", children: [
|
|
8394
|
-
/* @__PURE__ */ e("div", { className: "flex items-start", children: Array.from({ length: 5 }).map((
|
|
8395
|
-
|
|
8413
|
+
/* @__PURE__ */ e("div", { className: "flex items-start", children: Array.from({ length: 5 }).map((y, S) => /* @__PURE__ */ e(
|
|
8414
|
+
Ee,
|
|
8396
8415
|
{
|
|
8397
8416
|
size: 20,
|
|
8398
8417
|
className: s(
|
|
@@ -8423,7 +8442,7 @@ function ul({
|
|
|
8423
8442
|
}
|
|
8424
8443
|
)
|
|
8425
8444
|
] }),
|
|
8426
|
-
l && /* @__PURE__ */ e("div", { className: s("shrink-0 overflow-hidden rounded-lg",
|
|
8445
|
+
l && /* @__PURE__ */ e("div", { className: s("shrink-0 overflow-hidden rounded-lg", N), children: /* @__PURE__ */ e(
|
|
8427
8446
|
"img",
|
|
8428
8447
|
{
|
|
8429
8448
|
src: l,
|
|
@@ -8446,9 +8465,9 @@ function ul({
|
|
|
8446
8465
|
{
|
|
8447
8466
|
size: 16,
|
|
8448
8467
|
className: s(
|
|
8449
|
-
|
|
8468
|
+
m ? "fill-[var(--Brand-Cake-Orange)] text-[var(--Brand-Cake-Orange)]" : "text-[var(--Text-Medium-Emphasis)]"
|
|
8450
8469
|
),
|
|
8451
|
-
variant:
|
|
8470
|
+
variant: m ? "Bold" : "Outline"
|
|
8452
8471
|
}
|
|
8453
8472
|
),
|
|
8454
8473
|
/* @__PURE__ */ e(
|
|
@@ -8456,9 +8475,9 @@ function ul({
|
|
|
8456
8475
|
{
|
|
8457
8476
|
className: s(
|
|
8458
8477
|
"typo-label-md",
|
|
8459
|
-
|
|
8478
|
+
m ? "text-[var(--Text-Accent-Primary)]" : "text-[var(--Text-Medium-Emphasis)]"
|
|
8460
8479
|
),
|
|
8461
|
-
children:
|
|
8480
|
+
children: m ? c.toString() : `参考になった ${c}`
|
|
8462
8481
|
}
|
|
8463
8482
|
)
|
|
8464
8483
|
]
|
|
@@ -8476,77 +8495,77 @@ function pl({
|
|
|
8476
8495
|
isSubmitting: o = !1,
|
|
8477
8496
|
maxImages: l = 3,
|
|
8478
8497
|
maxLength: d = 500,
|
|
8479
|
-
productName:
|
|
8498
|
+
productName: u,
|
|
8480
8499
|
productImageUrl: c,
|
|
8481
|
-
className:
|
|
8500
|
+
className: m,
|
|
8482
8501
|
...v
|
|
8483
8502
|
}) {
|
|
8484
|
-
const [h, b] = w.useState(a), [p, f] = w.useState(0), [x, k] = w.useState(t), [g,
|
|
8485
|
-
function C
|
|
8486
|
-
const
|
|
8487
|
-
|
|
8488
|
-
const
|
|
8489
|
-
|
|
8503
|
+
const [h, b] = w.useState(a), [p, f] = w.useState(0), [x, k] = w.useState(t), [g, N] = w.useState([]), [y, S] = w.useState([]), z = w.useRef(null), B = p || h;
|
|
8504
|
+
function E(C) {
|
|
8505
|
+
const M = Array.from(C.target.files ?? []), F = [...g, ...M].slice(0, l);
|
|
8506
|
+
N(F);
|
|
8507
|
+
const A = F.map((Z) => URL.createObjectURL(Z));
|
|
8508
|
+
y.forEach((Z) => URL.revokeObjectURL(Z)), S(A), z.current && (z.current.value = "");
|
|
8490
8509
|
}
|
|
8491
|
-
function
|
|
8492
|
-
URL.revokeObjectURL(
|
|
8510
|
+
function P(C) {
|
|
8511
|
+
URL.revokeObjectURL(y[C]), N((M) => M.filter((F, A) => A !== C)), S((M) => M.filter((F, A) => A !== C));
|
|
8493
8512
|
}
|
|
8494
|
-
function
|
|
8495
|
-
|
|
8513
|
+
function $(C) {
|
|
8514
|
+
C.preventDefault(), h !== 0 && r?.({ rating: h, text: x, images: g });
|
|
8496
8515
|
}
|
|
8497
8516
|
w.useEffect(() => () => {
|
|
8498
|
-
|
|
8517
|
+
y.forEach((C) => URL.revokeObjectURL(C));
|
|
8499
8518
|
}, []);
|
|
8500
|
-
const
|
|
8519
|
+
const I = ["", "残念", "いまいち", "普通", "満足", "最高!"];
|
|
8501
8520
|
return /* @__PURE__ */ i(
|
|
8502
8521
|
"form",
|
|
8503
8522
|
{
|
|
8504
8523
|
"data-slot": "review-form",
|
|
8505
8524
|
className: s(
|
|
8506
8525
|
"flex flex-col gap-4 rounded-xl bg-[var(--Surface-Primary)] p-4",
|
|
8507
|
-
|
|
8526
|
+
m
|
|
8508
8527
|
),
|
|
8509
|
-
onSubmit:
|
|
8528
|
+
onSubmit: $,
|
|
8510
8529
|
...v,
|
|
8511
8530
|
children: [
|
|
8512
|
-
|
|
8531
|
+
u && /* @__PURE__ */ i("div", { className: "flex items-center gap-2 rounded-lg bg-[var(--Surface-Secondary)] p-3", children: [
|
|
8513
8532
|
c && /* @__PURE__ */ e(
|
|
8514
8533
|
"img",
|
|
8515
8534
|
{
|
|
8516
8535
|
src: c,
|
|
8517
|
-
alt:
|
|
8536
|
+
alt: u,
|
|
8518
8537
|
className: "size-12 shrink-0 rounded-lg object-cover"
|
|
8519
8538
|
}
|
|
8520
8539
|
),
|
|
8521
|
-
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children:
|
|
8540
|
+
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: u })
|
|
8522
8541
|
] }),
|
|
8523
8542
|
/* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-2", children: [
|
|
8524
8543
|
/* @__PURE__ */ e("p", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: "評価を選択してください" }),
|
|
8525
|
-
/* @__PURE__ */ e("div", { className: "flex items-center gap-1", role: "radiogroup", "aria-label": "星評価", children: [1, 2, 3, 4, 5].map((
|
|
8544
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-1", role: "radiogroup", "aria-label": "星評価", children: [1, 2, 3, 4, 5].map((C) => /* @__PURE__ */ e(
|
|
8526
8545
|
"button",
|
|
8527
8546
|
{
|
|
8528
8547
|
type: "button",
|
|
8529
8548
|
role: "radio",
|
|
8530
|
-
"aria-checked": h ===
|
|
8531
|
-
"aria-label": `${
|
|
8549
|
+
"aria-checked": h === C,
|
|
8550
|
+
"aria-label": `${C}つ星`,
|
|
8532
8551
|
className: "rounded-full p-1 transition-transform hover:scale-110 focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)]",
|
|
8533
|
-
onClick: () => b(
|
|
8534
|
-
onMouseEnter: () => f(
|
|
8552
|
+
onClick: () => b(C),
|
|
8553
|
+
onMouseEnter: () => f(C),
|
|
8535
8554
|
onMouseLeave: () => f(0),
|
|
8536
8555
|
children: /* @__PURE__ */ e(
|
|
8537
|
-
|
|
8556
|
+
Ee,
|
|
8538
8557
|
{
|
|
8539
8558
|
size: 32,
|
|
8540
8559
|
className: s(
|
|
8541
8560
|
"transition-colors",
|
|
8542
|
-
|
|
8561
|
+
C <= B ? "text-[var(--Brand-Cake-Orange)]" : "text-[var(--Border-Medium-Emphasis)]"
|
|
8543
8562
|
)
|
|
8544
8563
|
}
|
|
8545
8564
|
)
|
|
8546
8565
|
},
|
|
8547
|
-
|
|
8566
|
+
C
|
|
8548
8567
|
)) }),
|
|
8549
|
-
B > 0 && /* @__PURE__ */ e("p", { className: "typo-body-sm text-[var(--Text-Accent-Primary)]", children:
|
|
8568
|
+
B > 0 && /* @__PURE__ */ e("p", { className: "typo-body-sm text-[var(--Text-Accent-Primary)]", children: I[B] })
|
|
8550
8569
|
] }),
|
|
8551
8570
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-1.5", children: [
|
|
8552
8571
|
/* @__PURE__ */ e(
|
|
@@ -8554,7 +8573,7 @@ function pl({
|
|
|
8554
8573
|
{
|
|
8555
8574
|
placeholder: "商品の感想を書いてください(任意)",
|
|
8556
8575
|
value: x,
|
|
8557
|
-
onChange: (
|
|
8576
|
+
onChange: (C) => k(C.target.value.slice(0, d)),
|
|
8558
8577
|
rows: 5,
|
|
8559
8578
|
className: "resize-none"
|
|
8560
8579
|
}
|
|
@@ -8572,19 +8591,19 @@ function pl({
|
|
|
8572
8591
|
"枚)"
|
|
8573
8592
|
] }),
|
|
8574
8593
|
/* @__PURE__ */ i("div", { className: "flex flex-wrap gap-2", children: [
|
|
8575
|
-
|
|
8576
|
-
/* @__PURE__ */ e("img", { src:
|
|
8594
|
+
y.map((C, M) => /* @__PURE__ */ i("div", { className: "relative size-20 overflow-hidden rounded-lg", children: [
|
|
8595
|
+
/* @__PURE__ */ e("img", { src: C, alt: `添付画像${M + 1}`, className: "size-full object-cover" }),
|
|
8577
8596
|
/* @__PURE__ */ e(
|
|
8578
8597
|
"button",
|
|
8579
8598
|
{
|
|
8580
8599
|
type: "button",
|
|
8581
|
-
onClick: () => M
|
|
8600
|
+
onClick: () => P(M),
|
|
8582
8601
|
className: "absolute right-1 top-1 flex size-5 items-center justify-center rounded-full bg-[var(--Overlay-Dark)] text-[var(--Text-on-Inverse)] transition-colors hover:bg-[var(--Overlay-Dark)]",
|
|
8583
|
-
"aria-label": `画像${
|
|
8602
|
+
"aria-label": `画像${M + 1}を削除`,
|
|
8584
8603
|
children: /* @__PURE__ */ e(xe, { className: "size-3" })
|
|
8585
8604
|
}
|
|
8586
8605
|
)
|
|
8587
|
-
] },
|
|
8606
|
+
] }, M)),
|
|
8588
8607
|
g.length < l && /* @__PURE__ */ i(
|
|
8589
8608
|
"button",
|
|
8590
8609
|
{
|
|
@@ -8606,7 +8625,7 @@ function pl({
|
|
|
8606
8625
|
accept: "image/*",
|
|
8607
8626
|
multiple: !0,
|
|
8608
8627
|
className: "hidden",
|
|
8609
|
-
onChange:
|
|
8628
|
+
onChange: E
|
|
8610
8629
|
}
|
|
8611
8630
|
)
|
|
8612
8631
|
] })
|
|
@@ -8655,7 +8674,7 @@ function hl({
|
|
|
8655
8674
|
children: [
|
|
8656
8675
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-3", children: [
|
|
8657
8676
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-1.5", children: [
|
|
8658
|
-
/* @__PURE__ */ e(
|
|
8677
|
+
/* @__PURE__ */ e(Ee, { size: 28, className: "text-[var(--Brand-Cake-Orange)]" }),
|
|
8659
8678
|
/* @__PURE__ */ e("span", { className: "typo-heading-3xl tabular-nums text-[var(--Text-High-Emphasis)]", children: a.toFixed(2) })
|
|
8660
8679
|
] }),
|
|
8661
8680
|
/* @__PURE__ */ i("span", { className: "typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: [
|
|
@@ -8688,7 +8707,7 @@ function vl({
|
|
|
8688
8707
|
productName: o,
|
|
8689
8708
|
imageUrls: l,
|
|
8690
8709
|
className: d,
|
|
8691
|
-
...
|
|
8710
|
+
...u
|
|
8692
8711
|
}) {
|
|
8693
8712
|
return /* @__PURE__ */ i(
|
|
8694
8713
|
"div",
|
|
@@ -8698,7 +8717,7 @@ function vl({
|
|
|
8698
8717
|
"space-y-2 border-b border-[var(--Border-Low-Emphasis)] py-4 last:border-b-0",
|
|
8699
8718
|
d
|
|
8700
8719
|
),
|
|
8701
|
-
...
|
|
8720
|
+
...u,
|
|
8702
8721
|
children: [
|
|
8703
8722
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
8704
8723
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
@@ -8712,14 +8731,14 @@ function vl({
|
|
|
8712
8731
|
o
|
|
8713
8732
|
] }),
|
|
8714
8733
|
/* @__PURE__ */ e("p", { className: "typo-body-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
8715
|
-
l && l.length > 0 && /* @__PURE__ */ e("div", { className: "flex gap-2", children: l.map((c,
|
|
8734
|
+
l && l.length > 0 && /* @__PURE__ */ e("div", { className: "flex gap-2", children: l.map((c, m) => /* @__PURE__ */ e(
|
|
8716
8735
|
"img",
|
|
8717
8736
|
{
|
|
8718
8737
|
src: c,
|
|
8719
|
-
alt: `レビュー画像 ${
|
|
8738
|
+
alt: `レビュー画像 ${m + 1}`,
|
|
8720
8739
|
className: "size-16 rounded-md object-cover"
|
|
8721
8740
|
},
|
|
8722
|
-
|
|
8741
|
+
m
|
|
8723
8742
|
)) })
|
|
8724
8743
|
]
|
|
8725
8744
|
}
|
|
@@ -8766,9 +8785,9 @@ function fl({
|
|
|
8766
8785
|
rating: o,
|
|
8767
8786
|
reviewCount: l,
|
|
8768
8787
|
area: d,
|
|
8769
|
-
deliveryDate:
|
|
8788
|
+
deliveryDate: u,
|
|
8770
8789
|
isBookmarked: c = !1,
|
|
8771
|
-
onBookmarkToggle:
|
|
8790
|
+
onBookmarkToggle: m,
|
|
8772
8791
|
href: v,
|
|
8773
8792
|
variant: h = "default",
|
|
8774
8793
|
className: b,
|
|
@@ -8854,20 +8873,20 @@ function fl({
|
|
|
8854
8873
|
")"
|
|
8855
8874
|
] })
|
|
8856
8875
|
] }),
|
|
8857
|
-
|
|
8876
|
+
u && /* @__PURE__ */ i("p", { className: "typo-body-xs text-[var(--Text-Accent-Primary)]", children: [
|
|
8858
8877
|
"最短",
|
|
8859
|
-
|
|
8878
|
+
u,
|
|
8860
8879
|
"お届け"
|
|
8861
8880
|
] })
|
|
8862
8881
|
] })
|
|
8863
8882
|
] }),
|
|
8864
|
-
|
|
8883
|
+
m && /* @__PURE__ */ e(
|
|
8865
8884
|
T,
|
|
8866
8885
|
{
|
|
8867
8886
|
variant: "ghost",
|
|
8868
8887
|
size: "icon",
|
|
8869
8888
|
onClick: (f) => {
|
|
8870
|
-
f.preventDefault(), f.stopPropagation(),
|
|
8889
|
+
f.preventDefault(), f.stopPropagation(), m();
|
|
8871
8890
|
},
|
|
8872
8891
|
className: s(
|
|
8873
8892
|
"z-[1] shrink-0 rounded-full",
|
|
@@ -8875,7 +8894,7 @@ function fl({
|
|
|
8875
8894
|
),
|
|
8876
8895
|
"aria-label": c ? "お気に入り解除" : "お気に入りに追加",
|
|
8877
8896
|
children: /* @__PURE__ */ e(
|
|
8878
|
-
|
|
8897
|
+
Se,
|
|
8879
8898
|
{
|
|
8880
8899
|
size: 20,
|
|
8881
8900
|
filled: c
|
|
@@ -8942,9 +8961,9 @@ function oa({
|
|
|
8942
8961
|
onBack: o,
|
|
8943
8962
|
backLabel: l = "戻る",
|
|
8944
8963
|
actions: d,
|
|
8945
|
-
navItems:
|
|
8964
|
+
navItems: u,
|
|
8946
8965
|
rightSlot: c,
|
|
8947
|
-
centerSlot:
|
|
8966
|
+
centerSlot: m,
|
|
8948
8967
|
bottomSlot: v,
|
|
8949
8968
|
disableSticky: h = !1,
|
|
8950
8969
|
...b
|
|
@@ -8971,24 +8990,24 @@ function oa({
|
|
|
8971
8990
|
children: [
|
|
8972
8991
|
/* @__PURE__ */ i("div", { className: s(
|
|
8973
8992
|
"flex items-center justify-between px-4 py-3",
|
|
8974
|
-
|
|
8993
|
+
u && "@[768px]:hidden"
|
|
8975
8994
|
), children: [
|
|
8976
8995
|
x,
|
|
8977
8996
|
k
|
|
8978
8997
|
] }),
|
|
8979
|
-
|
|
8998
|
+
u && /* @__PURE__ */ i("div", { className: "hidden @[768px]:flex items-center justify-between h-14 px-6", children: [
|
|
8980
8999
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-6", children: [
|
|
8981
9000
|
x,
|
|
8982
|
-
/* @__PURE__ */ e("nav", { className: "flex items-center gap-0.5", children:
|
|
8983
|
-
const
|
|
9001
|
+
/* @__PURE__ */ e("nav", { className: "flex items-center gap-0.5", children: u.map((g) => {
|
|
9002
|
+
const N = g.href ? "a" : "button", y = g.href ? { href: g.href } : { type: "button", onClick: g.onClick };
|
|
8984
9003
|
return /* @__PURE__ */ e(
|
|
8985
|
-
|
|
9004
|
+
N,
|
|
8986
9005
|
{
|
|
8987
9006
|
className: s(
|
|
8988
9007
|
"px-3 py-1.5 typo-body-sm rounded-md transition-colors whitespace-nowrap",
|
|
8989
9008
|
g.isActive ? "text-[var(--Text-High-Emphasis)] font-bold" : "text-[var(--Text-Medium-Emphasis)] hover:text-[var(--Text-High-Emphasis)] hover:bg-[var(--Surface-Secondary)]"
|
|
8990
9009
|
),
|
|
8991
|
-
...
|
|
9010
|
+
...y,
|
|
8992
9011
|
children: g.label
|
|
8993
9012
|
},
|
|
8994
9013
|
g.label
|
|
@@ -9034,10 +9053,10 @@ function oa({
|
|
|
9034
9053
|
size: "icon-sm",
|
|
9035
9054
|
"aria-label": l,
|
|
9036
9055
|
onClick: o,
|
|
9037
|
-
children: /* @__PURE__ */ e(
|
|
9056
|
+
children: /* @__PURE__ */ e(Ke, { size: 20 })
|
|
9038
9057
|
}
|
|
9039
9058
|
),
|
|
9040
|
-
|
|
9059
|
+
m && /* @__PURE__ */ e("div", { className: "flex-1", children: m })
|
|
9041
9060
|
] })
|
|
9042
9061
|
}
|
|
9043
9062
|
) : /* @__PURE__ */ i(
|
|
@@ -9059,7 +9078,7 @@ function oa({
|
|
|
9059
9078
|
size: "icon-sm",
|
|
9060
9079
|
"aria-label": l,
|
|
9061
9080
|
onClick: o,
|
|
9062
|
-
children: /* @__PURE__ */ e(
|
|
9081
|
+
children: /* @__PURE__ */ e(Ke, { size: 20 })
|
|
9063
9082
|
}
|
|
9064
9083
|
),
|
|
9065
9084
|
/* @__PURE__ */ e("h1", { className: "flex-1 text-center typo-heading-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
@@ -9109,21 +9128,21 @@ function gl({
|
|
|
9109
9128
|
/* @__PURE__ */ e("h1", { className: "typo-heading-xl text-[var(--Text-High-Emphasis)] px-4 py-3", children: a })
|
|
9110
9129
|
] }),
|
|
9111
9130
|
/* @__PURE__ */ e("div", { className: "hidden @md:block", children: /* @__PURE__ */ e(oa, { logo: /* @__PURE__ */ e(qr, {}), variant: "logo", actions: ss }) }),
|
|
9112
|
-
/* @__PURE__ */ e("div", { className: "hidden @md:block bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)]", children: /* @__PURE__ */ e("div", { className: "max-w-[1280px] mx-auto px-6 py-3", children: /* @__PURE__ */ e(It, { children: /* @__PURE__ */ e(At, { children: d.map((
|
|
9113
|
-
const
|
|
9114
|
-
return /* @__PURE__ */ i(
|
|
9115
|
-
c > 0 && /* @__PURE__ */ e(
|
|
9116
|
-
/* @__PURE__ */ e(Dt, { children:
|
|
9131
|
+
/* @__PURE__ */ e("div", { className: "hidden @md:block bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)]", children: /* @__PURE__ */ e("div", { className: "max-w-[1280px] mx-auto px-6 py-3", children: /* @__PURE__ */ e(It, { children: /* @__PURE__ */ e(At, { children: d.map((u, c) => {
|
|
9132
|
+
const m = c === d.length - 1;
|
|
9133
|
+
return /* @__PURE__ */ i(Ha.Fragment, { children: [
|
|
9134
|
+
c > 0 && /* @__PURE__ */ e(Ft, {}),
|
|
9135
|
+
/* @__PURE__ */ e(Dt, { children: m ? /* @__PURE__ */ e(Rt, { children: u.label }) : /* @__PURE__ */ e(Ot, { href: u.href ?? "#", children: u.label }) })
|
|
9117
9136
|
] }, c);
|
|
9118
9137
|
}) }) }) }) }),
|
|
9119
9138
|
/* @__PURE__ */ i("div", { className: "@md:max-w-[1280px] @md:mx-auto @md:mt-10 @md:mb-10 @md:grid @md:[grid-template:'side_main'_1fr_/_256px_1fr] @md:gap-6 @md:items-start", children: [
|
|
9120
|
-
/* @__PURE__ */ e("div", { className: "hidden @md:block @md:[grid-area:side] rounded-2xl overflow-hidden shadow-sm", children: /* @__PURE__ */ e(
|
|
9139
|
+
/* @__PURE__ */ e("div", { className: "hidden @md:block @md:[grid-area:side] rounded-2xl overflow-hidden shadow-sm", children: /* @__PURE__ */ e($r, { groups: Xr, activeMenu: t, ariaLabel: "マイページメニュー" }) }),
|
|
9121
9140
|
/* @__PURE__ */ i("main", { className: "@md:[grid-area:main] bg-[var(--Surface-Primary)] @md:rounded-2xl @md:shadow-sm pb-20 @md:pb-8", children: [
|
|
9122
9141
|
/* @__PURE__ */ e("div", { className: "hidden @md:flex items-center gap-3 px-6 py-5 border-b border-[var(--Border-Low-Emphasis)]", children: /* @__PURE__ */ e("h1", { className: "typo-heading-lg text-[var(--Text-High-Emphasis)]", children: a }) }),
|
|
9123
9142
|
r
|
|
9124
9143
|
] })
|
|
9125
9144
|
] }),
|
|
9126
|
-
/* @__PURE__ */ e(
|
|
9145
|
+
/* @__PURE__ */ e(Sr, { items: o, className: "@md:hidden" })
|
|
9127
9146
|
] });
|
|
9128
9147
|
}
|
|
9129
9148
|
export {
|
|
@@ -9131,52 +9150,52 @@ export {
|
|
|
9131
9150
|
ks as AccordionContent,
|
|
9132
9151
|
ws as AccordionItem,
|
|
9133
9152
|
Ts as AccordionTrigger,
|
|
9134
|
-
|
|
9153
|
+
Uo as AdminLayout,
|
|
9135
9154
|
zs as Alert,
|
|
9136
|
-
|
|
9137
|
-
|
|
9155
|
+
Ss as AlertDescription,
|
|
9156
|
+
Cs as AlertDialog,
|
|
9138
9157
|
_s as AlertDialogAction,
|
|
9139
9158
|
Is as AlertDialogCancel,
|
|
9140
|
-
|
|
9159
|
+
Ps as AlertDialogContent,
|
|
9141
9160
|
Ls as AlertDialogDescription,
|
|
9142
|
-
|
|
9161
|
+
Hs as AlertDialogFooter,
|
|
9143
9162
|
Bs as AlertDialogHeader,
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9163
|
+
jt as AlertDialogOverlay,
|
|
9164
|
+
Ht as AlertDialogPortal,
|
|
9165
|
+
js as AlertDialogTitle,
|
|
9166
|
+
Ms as AlertDialogTrigger,
|
|
9167
|
+
Es as AlertTitle,
|
|
9168
|
+
Xo as AnniversaryCard,
|
|
9150
9169
|
As as AspectRatio,
|
|
9151
9170
|
Ds as Avatar,
|
|
9152
9171
|
Rs as AvatarFallback,
|
|
9153
9172
|
Os as AvatarImage,
|
|
9154
9173
|
_t as Badge,
|
|
9155
9174
|
zo as BannerCarousel,
|
|
9156
|
-
|
|
9175
|
+
Sr as BottomTabBar,
|
|
9157
9176
|
It as Breadcrumb,
|
|
9158
|
-
|
|
9177
|
+
Fs as BreadcrumbEllipsis,
|
|
9159
9178
|
Dt as BreadcrumbItem,
|
|
9160
9179
|
Ot as BreadcrumbLink,
|
|
9161
9180
|
At as BreadcrumbList,
|
|
9162
9181
|
Rt as BreadcrumbPage,
|
|
9163
|
-
|
|
9164
|
-
|
|
9182
|
+
Ft as BreadcrumbSeparator,
|
|
9183
|
+
So as BulkActionBar,
|
|
9165
9184
|
T as Button,
|
|
9166
9185
|
Lo as CakeFormField,
|
|
9167
9186
|
qr as CakeLogo,
|
|
9168
|
-
|
|
9187
|
+
$s as Calendar,
|
|
9169
9188
|
Wt as Card,
|
|
9170
9189
|
Gs as CardAction,
|
|
9171
9190
|
Vt as CardContent,
|
|
9172
9191
|
qs as CardDescription,
|
|
9173
|
-
|
|
9192
|
+
Ks as CardFooter,
|
|
9174
9193
|
Ws as CardHeader,
|
|
9175
9194
|
Vs as CardTitle,
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9195
|
+
Mo as CategoryScroll,
|
|
9196
|
+
Co as CategoryShortcuts,
|
|
9197
|
+
Us as Checkbox,
|
|
9198
|
+
Xs as CheckboxCardGroup,
|
|
9180
9199
|
Js as CheckboxCardItem,
|
|
9181
9200
|
za as Chip,
|
|
9182
9201
|
ko as CoachMark,
|
|
@@ -9209,29 +9228,29 @@ export {
|
|
|
9209
9228
|
ui as ContextMenuTrigger,
|
|
9210
9229
|
Jo as CountdownTimer,
|
|
9211
9230
|
Yo as CouponCard,
|
|
9212
|
-
|
|
9231
|
+
Pe as CreditCardIcon,
|
|
9213
9232
|
qi as DataTable,
|
|
9214
9233
|
Qo as DeliveryCalendar,
|
|
9215
9234
|
qt as Dialog,
|
|
9216
9235
|
ai as DialogClose,
|
|
9217
|
-
|
|
9236
|
+
Ut as DialogContent,
|
|
9218
9237
|
Yt as DialogDescription,
|
|
9219
9238
|
ti as DialogFooter,
|
|
9220
|
-
|
|
9221
|
-
|
|
9239
|
+
Xt as DialogHeader,
|
|
9240
|
+
Kt as DialogOverlay,
|
|
9222
9241
|
Gt as DialogPortal,
|
|
9223
9242
|
Jt as DialogTitle,
|
|
9224
9243
|
ei as DialogTrigger,
|
|
9225
9244
|
Gi as Drawer,
|
|
9226
|
-
|
|
9227
|
-
|
|
9245
|
+
Ui as DrawerClose,
|
|
9246
|
+
Xi as DrawerContent,
|
|
9228
9247
|
Zi as DrawerDescription,
|
|
9229
9248
|
Yi as DrawerFooter,
|
|
9230
9249
|
Ji as DrawerHeader,
|
|
9231
9250
|
nr as DrawerOverlay,
|
|
9232
9251
|
ir as DrawerPortal,
|
|
9233
9252
|
Qi as DrawerTitle,
|
|
9234
|
-
|
|
9253
|
+
Ki as DrawerTrigger,
|
|
9235
9254
|
ar as DropdownMenu,
|
|
9236
9255
|
Ii as DropdownMenuCheckboxItem,
|
|
9237
9256
|
rr as DropdownMenuContent,
|
|
@@ -9242,15 +9261,15 @@ export {
|
|
|
9242
9261
|
Ai as DropdownMenuRadioGroup,
|
|
9243
9262
|
Di as DropdownMenuRadioItem,
|
|
9244
9263
|
Ri as DropdownMenuSeparator,
|
|
9245
|
-
|
|
9246
|
-
|
|
9264
|
+
Fi as DropdownMenuShortcut,
|
|
9265
|
+
$i as DropdownMenuSub,
|
|
9247
9266
|
Vi as DropdownMenuSubContent,
|
|
9248
9267
|
Wi as DropdownMenuSubTrigger,
|
|
9249
9268
|
tr as DropdownMenuTrigger,
|
|
9250
|
-
|
|
9269
|
+
Po as EmptyState,
|
|
9251
9270
|
Bo as ErrorState,
|
|
9252
|
-
|
|
9253
|
-
|
|
9271
|
+
Ho as FilterBar,
|
|
9272
|
+
jo as Footer,
|
|
9254
9273
|
en as Form,
|
|
9255
9274
|
sn as FormControl,
|
|
9256
9275
|
nn as FormDescription,
|
|
@@ -9267,7 +9286,7 @@ export {
|
|
|
9267
9286
|
Ao as ImageUploader,
|
|
9268
9287
|
or as Input,
|
|
9269
9288
|
Do as KebabMenu,
|
|
9270
|
-
|
|
9289
|
+
$e as Label,
|
|
9271
9290
|
Oo as ListItem,
|
|
9272
9291
|
Ro as MenuDrawer,
|
|
9273
9292
|
mn as Menubar,
|
|
@@ -9288,23 +9307,23 @@ export {
|
|
|
9288
9307
|
vn as MenubarTrigger,
|
|
9289
9308
|
aa as MissingComponent,
|
|
9290
9309
|
gl as MypageShell,
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9310
|
+
En as NavigationMenu,
|
|
9311
|
+
Pn as NavigationMenuContent,
|
|
9312
|
+
Hn as NavigationMenuIndicator,
|
|
9313
|
+
Cn as NavigationMenuItem,
|
|
9295
9314
|
Bn as NavigationMenuLink,
|
|
9296
|
-
|
|
9297
|
-
|
|
9315
|
+
Sn as NavigationMenuList,
|
|
9316
|
+
Mn as NavigationMenuTrigger,
|
|
9298
9317
|
cr as NavigationMenuViewport,
|
|
9299
|
-
|
|
9300
|
-
|
|
9318
|
+
Er as NotificationBadge,
|
|
9319
|
+
$o as NotificationList,
|
|
9301
9320
|
ml as OptionImageUpload,
|
|
9302
9321
|
ll as OptionQuantity,
|
|
9303
9322
|
dl as OptionSelect,
|
|
9304
9323
|
cl as OptionText,
|
|
9305
9324
|
Zo as OrderSection,
|
|
9306
9325
|
el as OrderSummary,
|
|
9307
|
-
|
|
9326
|
+
jn as Pagination,
|
|
9308
9327
|
Ln as PaginationContent,
|
|
9309
9328
|
Dn as PaginationEllipsis,
|
|
9310
9329
|
_n as PaginationItem,
|
|
@@ -9313,7 +9332,7 @@ export {
|
|
|
9313
9332
|
In as PaginationPrevious,
|
|
9314
9333
|
al as PaymentMethodDisplay,
|
|
9315
9334
|
On as Popover,
|
|
9316
|
-
|
|
9335
|
+
Fn as PopoverContent,
|
|
9317
9336
|
Rn as PopoverTrigger,
|
|
9318
9337
|
be as PriceDisplay,
|
|
9319
9338
|
rl as ProductCTA,
|
|
@@ -9323,9 +9342,9 @@ export {
|
|
|
9323
9342
|
il as ProductDetailSidebar,
|
|
9324
9343
|
nl as ProductListItem,
|
|
9325
9344
|
ol as ProductOption,
|
|
9326
|
-
|
|
9345
|
+
$n as Progress,
|
|
9327
9346
|
Wo as ProgressSteps,
|
|
9328
|
-
|
|
9347
|
+
Ea as QuantitySelector,
|
|
9329
9348
|
Wn as RadioGroup,
|
|
9330
9349
|
Vn as RadioGroupItem,
|
|
9331
9350
|
ie as RatingStars,
|
|
@@ -9338,37 +9357,37 @@ export {
|
|
|
9338
9357
|
Ar as SearchBar,
|
|
9339
9358
|
Vo as SearchPanel,
|
|
9340
9359
|
fe as SectionHeader,
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9360
|
+
Ei as Select,
|
|
9361
|
+
Pi as SelectContent,
|
|
9362
|
+
Si as SelectGroup,
|
|
9363
|
+
Hi as SelectItem,
|
|
9345
9364
|
Bi as SelectLabel,
|
|
9346
9365
|
er as SelectScrollDownButton,
|
|
9347
9366
|
Zt as SelectScrollUpButton,
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9367
|
+
ji as SelectSeparator,
|
|
9368
|
+
Mi as SelectTrigger,
|
|
9369
|
+
Ci as SelectValue,
|
|
9351
9370
|
Ta as Separator,
|
|
9352
9371
|
qo as ShareButtons,
|
|
9353
9372
|
Gn as Sheet,
|
|
9354
|
-
|
|
9355
|
-
|
|
9373
|
+
Un as SheetClose,
|
|
9374
|
+
Xn as SheetContent,
|
|
9356
9375
|
Zn as SheetDescription,
|
|
9357
9376
|
Yn as SheetFooter,
|
|
9358
9377
|
Jn as SheetHeader,
|
|
9359
9378
|
Qn as SheetTitle,
|
|
9360
|
-
|
|
9379
|
+
Kn as SheetTrigger,
|
|
9361
9380
|
fl as ShopCard,
|
|
9362
|
-
|
|
9381
|
+
$r as SideNav,
|
|
9363
9382
|
eo as Skeleton,
|
|
9364
9383
|
ao as Slider,
|
|
9365
9384
|
Go as SocialLoginButton,
|
|
9366
|
-
|
|
9385
|
+
Ee as SparkleIcon,
|
|
9367
9386
|
to as Spinner,
|
|
9368
9387
|
bl as StatCard,
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9388
|
+
Ko as StatusCountTabs,
|
|
9389
|
+
Eo as StickyActionBar,
|
|
9390
|
+
Fo as SubNav,
|
|
9372
9391
|
hr as Switch,
|
|
9373
9392
|
ro as Table,
|
|
9374
9393
|
io as TableBody,
|
|
@@ -9396,7 +9415,7 @@ export {
|
|
|
9396
9415
|
ve as buttonVariants,
|
|
9397
9416
|
Qe as chipVariants,
|
|
9398
9417
|
s as cn,
|
|
9399
|
-
|
|
9418
|
+
Xr as mypageMenuGroups,
|
|
9400
9419
|
dr as navigationMenuTriggerStyle,
|
|
9401
9420
|
zr as notificationBadgeVariants,
|
|
9402
9421
|
Lr as priceDisplayVariants,
|