@tipp/ui 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.cjs +100 -92
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +26 -26
- package/dist/app/platform/coach-question-list.cjs +7 -7
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +10 -10
- package/dist/app/platform/edit-coaching-time.cjs +18 -18
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +18 -18
- package/dist/app/platform/edit-service-type.cjs +10 -10
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +17 -17
- package/dist/app/platform/goal-manage-card-edit.cjs +14 -14
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +16 -16
- package/dist/app/platform/goal-manage-card-read.cjs +16 -16
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +11 -11
- package/dist/app/platform/on-offline-radio-card.js +15 -15
- package/dist/app/platform/report-card.cjs +7 -7
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +15 -15
- package/dist/app/platform/reservation-card.cjs +28 -28
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +16 -16
- package/dist/app/platform/session-card.cjs +69 -61
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +19 -19
- package/dist/app/platform/session-review-simple-read.cjs +8 -8
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +10 -10
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +17 -17
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +13 -13
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +8 -8
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +11 -11
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +13 -13
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +11 -11
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +11 -11
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +10 -10
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +11 -11
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +11 -11
- package/dist/app/platform/userInfos/utils.js +10 -10
- package/dist/atoms/dialog.cjs +49 -81
- package/dist/atoms/dialog.cjs.map +1 -1
- package/dist/atoms/dialog.d.cts +2 -0
- package/dist/atoms/dialog.d.ts +2 -0
- package/dist/atoms/dialog.js +3 -3
- package/dist/atoms/drawer.js +2 -2
- package/dist/atoms/index.cjs +76 -68
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +19 -19
- package/dist/chunk-2M2IFCSK.js +52 -0
- package/dist/chunk-2M2IFCSK.js.map +1 -0
- package/dist/chunk-2OS7X2DG.js +138 -0
- package/dist/chunk-2OS7X2DG.js.map +1 -0
- package/dist/chunk-36JB7UOF.js +138 -0
- package/dist/chunk-36JB7UOF.js.map +1 -0
- package/dist/chunk-4T4KKREE.js +30 -0
- package/dist/chunk-4T4KKREE.js.map +1 -0
- package/dist/chunk-5327PTNJ.js +138 -0
- package/dist/chunk-5327PTNJ.js.map +1 -0
- package/dist/chunk-547DJCAJ.js +74 -0
- package/dist/chunk-547DJCAJ.js.map +1 -0
- package/dist/chunk-5AAS42YG.js +98 -0
- package/dist/chunk-5AAS42YG.js.map +1 -0
- package/dist/chunk-5E3TLMRW.js +138 -0
- package/dist/chunk-5E3TLMRW.js.map +1 -0
- package/dist/chunk-5FP6SWXJ.js +203 -0
- package/dist/chunk-5FP6SWXJ.js.map +1 -0
- package/dist/chunk-6Y3Z5OIX.js +101 -0
- package/dist/chunk-6Y3Z5OIX.js.map +1 -0
- package/dist/chunk-7EDPO2Y5.js +138 -0
- package/dist/chunk-7EDPO2Y5.js.map +1 -0
- package/dist/chunk-7OJSWKHZ.js +138 -0
- package/dist/chunk-7OJSWKHZ.js.map +1 -0
- package/dist/chunk-7TWIGS7O.js +101 -0
- package/dist/chunk-7TWIGS7O.js.map +1 -0
- package/dist/chunk-7WLDXOOO.js +350 -0
- package/dist/chunk-7WLDXOOO.js.map +1 -0
- package/dist/chunk-7ZEWNVHJ.js +192 -0
- package/dist/chunk-7ZEWNVHJ.js.map +1 -0
- package/dist/chunk-AKKAPBO4.js +52 -0
- package/dist/chunk-AKKAPBO4.js.map +1 -0
- package/dist/chunk-AOCMD34M.js +138 -0
- package/dist/chunk-AOCMD34M.js.map +1 -0
- package/dist/chunk-AP5ARKJL.js +138 -0
- package/dist/chunk-AP5ARKJL.js.map +1 -0
- package/dist/chunk-C24NCIRF.js +138 -0
- package/dist/chunk-C24NCIRF.js.map +1 -0
- package/dist/chunk-C3QWDJ3D.js +145 -0
- package/dist/chunk-C3QWDJ3D.js.map +1 -0
- package/dist/chunk-CEMVFONQ.js +104 -0
- package/dist/chunk-CEMVFONQ.js.map +1 -0
- package/dist/chunk-CJ3XXETF.js +109 -0
- package/dist/chunk-CJ3XXETF.js.map +1 -0
- package/dist/chunk-EBSM7TV4.js +101 -0
- package/dist/chunk-EBSM7TV4.js.map +1 -0
- package/dist/chunk-FMCDZEXR.js +58 -0
- package/dist/chunk-FMCDZEXR.js.map +1 -0
- package/dist/chunk-H623KT6H.js +138 -0
- package/dist/chunk-H623KT6H.js.map +1 -0
- package/dist/chunk-IE5GRQOQ.js +112 -0
- package/dist/chunk-IE5GRQOQ.js.map +1 -0
- package/dist/chunk-IVGPZUCB.js +203 -0
- package/dist/chunk-IVGPZUCB.js.map +1 -0
- package/dist/chunk-JTEQ25Z5.js +101 -0
- package/dist/chunk-JTEQ25Z5.js.map +1 -0
- package/dist/chunk-JXRHM4PD.js +138 -0
- package/dist/chunk-JXRHM4PD.js.map +1 -0
- package/dist/chunk-JZXYBYIV.js +39 -0
- package/dist/chunk-JZXYBYIV.js.map +1 -0
- package/dist/chunk-KJMWCR2G.js +101 -0
- package/dist/chunk-KJMWCR2G.js.map +1 -0
- package/dist/chunk-LQT6ZGLA.js +138 -0
- package/dist/chunk-LQT6ZGLA.js.map +1 -0
- package/dist/chunk-M5G5KMUE.js +76 -0
- package/dist/chunk-M5G5KMUE.js.map +1 -0
- package/dist/chunk-MI2LODDO.js +138 -0
- package/dist/chunk-MI2LODDO.js.map +1 -0
- package/dist/chunk-MOZLM3CP.js +171 -0
- package/dist/chunk-MOZLM3CP.js.map +1 -0
- package/dist/chunk-MR4FQ4H6.js +93 -0
- package/dist/chunk-MR4FQ4H6.js.map +1 -0
- package/dist/chunk-NFTADDQN.js +138 -0
- package/dist/chunk-NFTADDQN.js.map +1 -0
- package/dist/chunk-NHC6ZFBA.js +138 -0
- package/dist/chunk-NHC6ZFBA.js.map +1 -0
- package/dist/chunk-NPSJEUC6.js +138 -0
- package/dist/chunk-NPSJEUC6.js.map +1 -0
- package/dist/chunk-OUZT3SDR.js +59 -0
- package/dist/chunk-OUZT3SDR.js.map +1 -0
- package/dist/chunk-PWPVK2HB.js +112 -0
- package/dist/chunk-PWPVK2HB.js.map +1 -0
- package/dist/chunk-Q64HDW6R.js +109 -0
- package/dist/chunk-Q64HDW6R.js.map +1 -0
- package/dist/chunk-QJ4FYN6G.js +76 -0
- package/dist/chunk-QJ4FYN6G.js.map +1 -0
- package/dist/chunk-QNYWSY5P.js +164 -0
- package/dist/chunk-QNYWSY5P.js.map +1 -0
- package/dist/chunk-R255GZPB.js +35 -0
- package/dist/chunk-R255GZPB.js.map +1 -0
- package/dist/chunk-RGH3ADLO.js +101 -0
- package/dist/chunk-RGH3ADLO.js.map +1 -0
- package/dist/chunk-RLFG5TCU.js +98 -0
- package/dist/chunk-RLFG5TCU.js.map +1 -0
- package/dist/chunk-TCF7B3N3.js +101 -0
- package/dist/chunk-TCF7B3N3.js.map +1 -0
- package/dist/chunk-TJ564MUO.js +145 -0
- package/dist/chunk-TJ564MUO.js.map +1 -0
- package/dist/chunk-TJSCVJT2.js +138 -0
- package/dist/chunk-TJSCVJT2.js.map +1 -0
- package/dist/chunk-TMDNIBIV.js +64 -0
- package/dist/chunk-TMDNIBIV.js.map +1 -0
- package/dist/chunk-TW5EULWR.js +93 -0
- package/dist/chunk-TW5EULWR.js.map +1 -0
- package/dist/chunk-UB6KOKKQ.js +138 -0
- package/dist/chunk-UB6KOKKQ.js.map +1 -0
- package/dist/chunk-UVJASJN4.js +64 -0
- package/dist/chunk-UVJASJN4.js.map +1 -0
- package/dist/chunk-VYGMNI7T.js +138 -0
- package/dist/chunk-VYGMNI7T.js.map +1 -0
- package/dist/chunk-W4QKUPPN.js +138 -0
- package/dist/chunk-W4QKUPPN.js.map +1 -0
- package/dist/chunk-WVBFSWKT.js +104 -0
- package/dist/chunk-WVBFSWKT.js.map +1 -0
- package/dist/chunk-X3SEOKG4.js +243 -0
- package/dist/chunk-X3SEOKG4.js.map +1 -0
- package/dist/chunk-XBYZM24U.js +112 -0
- package/dist/chunk-XBYZM24U.js.map +1 -0
- package/dist/chunk-XEJG52Y3.js +112 -0
- package/dist/chunk-XEJG52Y3.js.map +1 -0
- package/dist/chunk-XEJNYJF6.js +80 -0
- package/dist/chunk-XEJNYJF6.js.map +1 -0
- package/dist/chunk-XNOQPF6O.js +171 -0
- package/dist/chunk-XNOQPF6O.js.map +1 -0
- package/dist/chunk-Y2MNPJCI.js +73 -0
- package/dist/chunk-Y2MNPJCI.js.map +1 -0
- package/dist/chunk-YHW5PCCE.js +57 -0
- package/dist/chunk-YHW5PCCE.js.map +1 -0
- package/dist/chunk-YK2IAHKI.js +138 -0
- package/dist/chunk-YK2IAHKI.js.map +1 -0
- package/dist/chunk-YVWOLJ44.js +101 -0
- package/dist/chunk-YVWOLJ44.js.map +1 -0
- package/dist/chunk-ZAQQ6H6W.js +30 -0
- package/dist/chunk-ZAQQ6H6W.js.map +1 -0
- package/dist/chunk-ZUL5FOQW.js +203 -0
- package/dist/chunk-ZUL5FOQW.js.map +1 -0
- package/dist/chunk-ZW34437K.js +138 -0
- package/dist/chunk-ZW34437K.js.map +1 -0
- package/dist/chunk-ZW37CDPD.js +243 -0
- package/dist/chunk-ZW37CDPD.js.map +1 -0
- package/dist/index.cjs +147 -139
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +5 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +56 -56
- package/dist/layouts/index.js +10 -10
- package/dist/layouts/response-display.js +10 -10
- package/dist/molecules/date-picker/date-picker-button.cjs +12 -12
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +10 -10
- package/dist/molecules/expand-table/index.cjs +12 -12
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +13 -13
- package/dist/molecules/expand-table/row.js +10 -10
- package/dist/molecules/form.d.cts +1 -1
- package/dist/molecules/form.d.ts +1 -1
- package/dist/molecules/index.cjs +46 -46
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +15 -15
- package/dist/molecules/navigation.js +10 -10
- package/dist/molecules/radio-button-card.js +10 -10
- package/dist/molecules/stepper.js +2 -2
- package/dist/molecules/tag-selector.js +11 -11
- package/dist/molecules/time-select.js +10 -10
- package/package.json +3 -3
- package/src/atoms/dialog.tsx +23 -6
package/dist/index.cjs
CHANGED
|
@@ -117,24 +117,24 @@ __export(src_exports, {
|
|
|
117
117
|
EditCoachingTime: () => EditCoachingTime,
|
|
118
118
|
EditServiceType: () => EditServiceType,
|
|
119
119
|
EllipsisTooltip: () => EllipsisTooltip,
|
|
120
|
-
Em: () =>
|
|
120
|
+
Em: () => import_themes21.Em,
|
|
121
121
|
ExclamationTriangleIcon: () => import_react_icons3.ExclamationTriangleIcon,
|
|
122
122
|
ExitIcon: () => import_react_icons3.ExitIcon,
|
|
123
123
|
ExpandTable: () => ExpandTable,
|
|
124
124
|
FieldErrorWrapper: () => FieldErrorWrapper,
|
|
125
125
|
FileIcon: () => import_react_icons3.FileIcon,
|
|
126
|
-
Flex: () =>
|
|
126
|
+
Flex: () => import_themes22.Flex,
|
|
127
127
|
ForceRefresh: () => ForceRefresh,
|
|
128
128
|
Form: () => Form,
|
|
129
129
|
GearIcon: () => import_react_icons3.GearIcon,
|
|
130
130
|
GlobeIcon: () => import_react_icons3.GlobeIcon,
|
|
131
131
|
GoalManageCardEdit: () => GoalManageCardEdit,
|
|
132
132
|
GoalManageCardRead: () => GoalManageCardRead,
|
|
133
|
-
Grid: () =>
|
|
133
|
+
Grid: () => import_themes23.Grid,
|
|
134
134
|
Heading: () => Heading2,
|
|
135
135
|
HorizontalBarChart: () => HorizontalBarChart,
|
|
136
|
-
HoverCard: () =>
|
|
137
|
-
IconButton: () =>
|
|
136
|
+
HoverCard: () => import_themes24.HoverCard,
|
|
137
|
+
IconButton: () => import_themes18.IconButton,
|
|
138
138
|
InfoCircledIcon: () => import_react_icons3.InfoCircledIcon,
|
|
139
139
|
Inset: () => import_themes25.Inset,
|
|
140
140
|
Kbd: () => import_themes26.Kbd,
|
|
@@ -446,7 +446,7 @@ var import_themes15 = require("@radix-ui/themes");
|
|
|
446
446
|
// src/atoms/dialog.tsx
|
|
447
447
|
var RadixDialog = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
448
448
|
var import_react_icons2 = require("@radix-ui/react-icons");
|
|
449
|
-
var
|
|
449
|
+
var import_themes19 = require("@radix-ui/themes");
|
|
450
450
|
|
|
451
451
|
// src/atoms/toast.tsx
|
|
452
452
|
var import_react_icons = require("@radix-ui/react-icons");
|
|
@@ -476,8 +476,37 @@ function ToastContainer(props) {
|
|
|
476
476
|
);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
// src/atoms/
|
|
479
|
+
// src/atoms/heading.tsx
|
|
480
|
+
var import_themes16 = require("@radix-ui/themes");
|
|
481
|
+
var import_react7 = require("react");
|
|
482
|
+
var import_themes17 = require("@radix-ui/themes");
|
|
480
483
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
484
|
+
function Heading2(props) {
|
|
485
|
+
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
486
|
+
const radixSize = (0, import_react7.useMemo)(() => {
|
|
487
|
+
switch (variant) {
|
|
488
|
+
case "heading1":
|
|
489
|
+
return "7";
|
|
490
|
+
case "heading2":
|
|
491
|
+
return "6";
|
|
492
|
+
case "heading3":
|
|
493
|
+
return "5";
|
|
494
|
+
case "heading4":
|
|
495
|
+
return "4";
|
|
496
|
+
case "heading5":
|
|
497
|
+
return "3";
|
|
498
|
+
default:
|
|
499
|
+
return size;
|
|
500
|
+
}
|
|
501
|
+
}, [size, variant]);
|
|
502
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_themes16.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// src/atoms/icon-button.tsx
|
|
506
|
+
var import_themes18 = require("@radix-ui/themes");
|
|
507
|
+
|
|
508
|
+
// src/atoms/dialog.tsx
|
|
509
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
481
510
|
var preventDefault = (e) => {
|
|
482
511
|
e.preventDefault();
|
|
483
512
|
};
|
|
@@ -490,7 +519,9 @@ function Content2(props) {
|
|
|
490
519
|
minWidth,
|
|
491
520
|
maxHeight,
|
|
492
521
|
height,
|
|
493
|
-
minHeight
|
|
522
|
+
minHeight,
|
|
523
|
+
title,
|
|
524
|
+
buttons
|
|
494
525
|
} = _a, rest = __objRest(_a, [
|
|
495
526
|
"children",
|
|
496
527
|
"style",
|
|
@@ -499,10 +530,12 @@ function Content2(props) {
|
|
|
499
530
|
"minWidth",
|
|
500
531
|
"maxHeight",
|
|
501
532
|
"height",
|
|
502
|
-
"minHeight"
|
|
533
|
+
"minHeight",
|
|
534
|
+
"title",
|
|
535
|
+
"buttons"
|
|
503
536
|
]);
|
|
504
|
-
return /* @__PURE__ */ (0,
|
|
505
|
-
/* @__PURE__ */ (0,
|
|
537
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
|
|
538
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
506
539
|
RadixDialog.Content,
|
|
507
540
|
__spreadProps(__spreadValues({
|
|
508
541
|
className: "DialogContent",
|
|
@@ -516,13 +549,17 @@ function Content2(props) {
|
|
|
516
549
|
minHeight
|
|
517
550
|
}, style)
|
|
518
551
|
}, rest), {
|
|
519
|
-
children:
|
|
520
|
-
/* @__PURE__ */ (0,
|
|
521
|
-
|
|
522
|
-
|
|
552
|
+
children: [
|
|
553
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes19.Flex, { gap: "2", justify: "between", children: [
|
|
554
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Heading2, { variant: "heading3", children: title }) : title }),
|
|
555
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes18.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_icons2.Cross1Icon, {}) }) })
|
|
556
|
+
] }),
|
|
557
|
+
children,
|
|
558
|
+
buttons ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Flex, { gap: "3", justify: "end", mt: "3", children: buttons }) : null
|
|
559
|
+
]
|
|
523
560
|
})
|
|
524
561
|
),
|
|
525
|
-
/* @__PURE__ */ (0,
|
|
562
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ToastContainer, {})
|
|
526
563
|
] }) }) });
|
|
527
564
|
}
|
|
528
565
|
function Close2(_a) {
|
|
@@ -531,7 +568,7 @@ function Close2(_a) {
|
|
|
531
568
|
} = _b, rest = __objRest(_b, [
|
|
532
569
|
"children"
|
|
533
570
|
]);
|
|
534
|
-
return /* @__PURE__ */ (0,
|
|
571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Close, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
|
|
535
572
|
}
|
|
536
573
|
function Trigger2(_a) {
|
|
537
574
|
var _b = _a, {
|
|
@@ -539,7 +576,7 @@ function Trigger2(_a) {
|
|
|
539
576
|
} = _b, rest = __objRest(_b, [
|
|
540
577
|
"children"
|
|
541
578
|
]);
|
|
542
|
-
return /* @__PURE__ */ (0,
|
|
579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Trigger, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
|
|
543
580
|
}
|
|
544
581
|
var Dialog = {
|
|
545
582
|
Root: RadixDialog.Root,
|
|
@@ -551,17 +588,17 @@ var Dialog = {
|
|
|
551
588
|
};
|
|
552
589
|
|
|
553
590
|
// src/atoms/dropdown-menu.tsx
|
|
554
|
-
var
|
|
555
|
-
var
|
|
556
|
-
var
|
|
557
|
-
var Content3 = (0,
|
|
591
|
+
var import_themes20 = require("@radix-ui/themes");
|
|
592
|
+
var import_react8 = require("react");
|
|
593
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
594
|
+
var Content3 = (0, import_react8.forwardRef)((props, ref) => {
|
|
558
595
|
const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
|
|
559
|
-
const contentClassName = (0,
|
|
596
|
+
const contentClassName = (0, import_react8.useMemo)(() => {
|
|
560
597
|
const cls = isNavigation ? "dropdown-navigation" : "";
|
|
561
598
|
return [cls, className].join(" ");
|
|
562
599
|
}, [isNavigation, className]);
|
|
563
|
-
return /* @__PURE__ */ (0,
|
|
564
|
-
|
|
600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
601
|
+
import_themes20.DropdownMenu.Content,
|
|
565
602
|
__spreadProps(__spreadValues({
|
|
566
603
|
ref
|
|
567
604
|
}, rest), {
|
|
@@ -570,49 +607,20 @@ var Content3 = (0, import_react7.forwardRef)((props, ref) => {
|
|
|
570
607
|
);
|
|
571
608
|
});
|
|
572
609
|
Content3.displayName = "DropdownMenu.Content";
|
|
573
|
-
var DropdownMenu = __spreadProps(__spreadValues({},
|
|
610
|
+
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes20.DropdownMenu), {
|
|
574
611
|
Content: Content3
|
|
575
612
|
});
|
|
576
613
|
|
|
577
614
|
// src/atoms/em.tsx
|
|
578
|
-
var
|
|
615
|
+
var import_themes21 = require("@radix-ui/themes");
|
|
579
616
|
|
|
580
617
|
// src/atoms/flex.tsx
|
|
581
|
-
var import_themes19 = require("@radix-ui/themes");
|
|
582
|
-
|
|
583
|
-
// src/atoms/grid.tsx
|
|
584
|
-
var import_themes20 = require("@radix-ui/themes");
|
|
585
|
-
|
|
586
|
-
// src/atoms/heading.tsx
|
|
587
|
-
var import_themes21 = require("@radix-ui/themes");
|
|
588
|
-
var import_react8 = require("react");
|
|
589
618
|
var import_themes22 = require("@radix-ui/themes");
|
|
590
|
-
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
591
|
-
function Heading2(props) {
|
|
592
|
-
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
593
|
-
const radixSize = (0, import_react8.useMemo)(() => {
|
|
594
|
-
switch (variant) {
|
|
595
|
-
case "heading1":
|
|
596
|
-
return "7";
|
|
597
|
-
case "heading2":
|
|
598
|
-
return "6";
|
|
599
|
-
case "heading3":
|
|
600
|
-
return "5";
|
|
601
|
-
case "heading4":
|
|
602
|
-
return "4";
|
|
603
|
-
case "heading5":
|
|
604
|
-
return "3";
|
|
605
|
-
default:
|
|
606
|
-
return size;
|
|
607
|
-
}
|
|
608
|
-
}, [size, variant]);
|
|
609
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes21.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
610
|
-
}
|
|
611
619
|
|
|
612
|
-
// src/atoms/
|
|
620
|
+
// src/atoms/grid.tsx
|
|
613
621
|
var import_themes23 = require("@radix-ui/themes");
|
|
614
622
|
|
|
615
|
-
// src/atoms/
|
|
623
|
+
// src/atoms/hover-card.tsx
|
|
616
624
|
var import_themes24 = require("@radix-ui/themes");
|
|
617
625
|
|
|
618
626
|
// src/atoms/inset.tsx
|
|
@@ -916,9 +924,9 @@ function Pagination(props) {
|
|
|
916
924
|
size: "3",
|
|
917
925
|
style: { borderRadius: "50%" }
|
|
918
926
|
};
|
|
919
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
927
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_themes22.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
|
|
920
928
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
921
|
-
|
|
929
|
+
import_themes18.IconButton,
|
|
922
930
|
__spreadProps(__spreadValues({
|
|
923
931
|
disabled: !doublePrev,
|
|
924
932
|
onClick: onClickDoublePrev
|
|
@@ -926,8 +934,8 @@ function Pagination(props) {
|
|
|
926
934
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_icons3.DoubleArrowLeftIcon, __spreadValues({}, iconSize))
|
|
927
935
|
})
|
|
928
936
|
),
|
|
929
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
930
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
937
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_icons3.ChevronLeftIcon, __spreadValues({}, iconSize)) })),
|
|
938
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes22.Flex, { gap: "1", children: visibleItems.map((item) => {
|
|
931
939
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
932
940
|
"button",
|
|
933
941
|
{
|
|
@@ -941,9 +949,9 @@ function Pagination(props) {
|
|
|
941
949
|
item
|
|
942
950
|
);
|
|
943
951
|
}) }),
|
|
944
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
952
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_icons3.ChevronRightIcon, __spreadValues({}, iconSize)) })),
|
|
945
953
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
946
|
-
|
|
954
|
+
import_themes18.IconButton,
|
|
947
955
|
__spreadProps(__spreadValues({
|
|
948
956
|
disabled: !doubleNext,
|
|
949
957
|
onClick: onClickDoubleNext
|
|
@@ -960,7 +968,7 @@ function FieldErrorWrapper({
|
|
|
960
968
|
children,
|
|
961
969
|
error
|
|
962
970
|
}) {
|
|
963
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes22.Flex, { direction: "column", gap: "1", children: [
|
|
964
972
|
children,
|
|
965
973
|
error ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
|
|
966
974
|
] });
|
|
@@ -1079,12 +1087,12 @@ function Content6(props) {
|
|
|
1079
1087
|
}, rest), {
|
|
1080
1088
|
children: [
|
|
1081
1089
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1082
|
-
|
|
1090
|
+
import_themes22.Flex,
|
|
1083
1091
|
{
|
|
1084
1092
|
align: "center",
|
|
1085
1093
|
px: { initial: "4", md: "6" },
|
|
1086
1094
|
py: { initial: "2", md: "4" },
|
|
1087
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1095
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_themes18.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ClosePanelArrowIcon, {}) }) })
|
|
1088
1096
|
}
|
|
1089
1097
|
),
|
|
1090
1098
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_themes39.Separator, { orientation: "horizontal", size: "4" }),
|
|
@@ -1257,7 +1265,7 @@ function BulletText(_a) {
|
|
|
1257
1265
|
} = _b, rest = __objRest(_b, [
|
|
1258
1266
|
"children"
|
|
1259
1267
|
]);
|
|
1260
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1268
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1261
1269
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1262
1270
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
1263
1271
|
] });
|
|
@@ -1448,7 +1456,7 @@ function ExpandTable(props) {
|
|
|
1448
1456
|
(rowLength) => {
|
|
1449
1457
|
if (isLoading) {
|
|
1450
1458
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1451
|
-
|
|
1459
|
+
import_themes22.Flex,
|
|
1452
1460
|
{
|
|
1453
1461
|
align: "center",
|
|
1454
1462
|
height: "100%",
|
|
@@ -1460,7 +1468,7 @@ function ExpandTable(props) {
|
|
|
1460
1468
|
);
|
|
1461
1469
|
}
|
|
1462
1470
|
if (rowLength === 0) {
|
|
1463
|
-
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes22.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder");
|
|
1464
1472
|
}
|
|
1465
1473
|
return null;
|
|
1466
1474
|
},
|
|
@@ -1494,7 +1502,7 @@ function ExpandTable(props) {
|
|
|
1494
1502
|
header.getContext()
|
|
1495
1503
|
) }),
|
|
1496
1504
|
sortable ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1497
|
-
|
|
1505
|
+
import_themes22.Flex,
|
|
1498
1506
|
{
|
|
1499
1507
|
direction: "column",
|
|
1500
1508
|
style: { marginLeft: "var(--space-2)" },
|
|
@@ -1536,7 +1544,7 @@ function ExpandTable(props) {
|
|
|
1536
1544
|
`row_${row.id}`
|
|
1537
1545
|
);
|
|
1538
1546
|
}) }),
|
|
1539
|
-
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1547
|
+
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1540
1548
|
Pagination,
|
|
1541
1549
|
{
|
|
1542
1550
|
count: pageCount,
|
|
@@ -1557,7 +1565,7 @@ function Navigation({
|
|
|
1557
1565
|
activeKey
|
|
1558
1566
|
}) {
|
|
1559
1567
|
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1560
|
-
|
|
1568
|
+
import_themes22.Flex,
|
|
1561
1569
|
{
|
|
1562
1570
|
direction: "column",
|
|
1563
1571
|
gap: "4",
|
|
@@ -1568,8 +1576,8 @@ function Navigation({
|
|
|
1568
1576
|
},
|
|
1569
1577
|
children: items == null ? void 0 : items.map((item) => {
|
|
1570
1578
|
const { key, title, icon, itemRender, onClick, children } = item;
|
|
1571
|
-
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1572
|
-
itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_themes22.Flex, { direction: "column", onClick, children: [
|
|
1580
|
+
itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_themes22.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
|
|
1573
1581
|
icon,
|
|
1574
1582
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { variant: "subtitle", children: title })
|
|
1575
1583
|
] }),
|
|
@@ -1610,7 +1618,7 @@ var DatePicker = (0, import_react22.forwardRef)(
|
|
|
1610
1618
|
(props, ref) => {
|
|
1611
1619
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1612
1620
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1613
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1614
1622
|
ReactDatePicker,
|
|
1615
1623
|
__spreadProps(__spreadValues({
|
|
1616
1624
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1641,9 +1649,9 @@ var renderCustomHeader = (props) => {
|
|
|
1641
1649
|
} = props;
|
|
1642
1650
|
const year = date ? date.getFullYear() : "-";
|
|
1643
1651
|
const month = date ? date.getMonth() + 1 : "-";
|
|
1644
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1652
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1645
1653
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1646
|
-
|
|
1654
|
+
import_themes18.IconButton,
|
|
1647
1655
|
{
|
|
1648
1656
|
disabled: prevMonthButtonDisabled,
|
|
1649
1657
|
onClick: decreaseMonth,
|
|
@@ -1652,7 +1660,7 @@ var renderCustomHeader = (props) => {
|
|
|
1652
1660
|
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1653
1661
|
}
|
|
1654
1662
|
),
|
|
1655
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1663
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1656
1664
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1657
1665
|
year,
|
|
1658
1666
|
"\uB144"
|
|
@@ -1663,7 +1671,7 @@ var renderCustomHeader = (props) => {
|
|
|
1663
1671
|
] })
|
|
1664
1672
|
] }),
|
|
1665
1673
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1666
|
-
|
|
1674
|
+
import_themes18.IconButton,
|
|
1667
1675
|
{
|
|
1668
1676
|
disabled: nextMonthButtonDisabled,
|
|
1669
1677
|
onClick: increaseMonth,
|
|
@@ -1705,7 +1713,7 @@ function DotNavigation(props) {
|
|
|
1705
1713
|
return;
|
|
1706
1714
|
setCurrentDot(dotIndex);
|
|
1707
1715
|
}, [dotIndex]);
|
|
1708
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes22.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
|
|
1709
1717
|
const isSelected = currentDot === index;
|
|
1710
1718
|
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1711
1719
|
import_react_icons4.DotFilledIcon,
|
|
@@ -1744,7 +1752,7 @@ function Root9(props) {
|
|
|
1744
1752
|
direction = "vertical"
|
|
1745
1753
|
} = props;
|
|
1746
1754
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1747
|
-
|
|
1755
|
+
import_themes22.Flex,
|
|
1748
1756
|
{
|
|
1749
1757
|
gap: "3",
|
|
1750
1758
|
style: {
|
|
@@ -1798,7 +1806,7 @@ function Step(props) {
|
|
|
1798
1806
|
return IncompleteStep;
|
|
1799
1807
|
}, [completed, active]);
|
|
1800
1808
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1801
|
-
|
|
1809
|
+
import_themes22.Flex,
|
|
1802
1810
|
{
|
|
1803
1811
|
align: "center",
|
|
1804
1812
|
direction: direction === "horizontal" ? "row" : "column",
|
|
@@ -2065,12 +2073,12 @@ function TagSelector(props) {
|
|
|
2065
2073
|
const focusClassName = focus ? " focused" : "";
|
|
2066
2074
|
const readOnlyClassName = readOnly ? " read-only" : "";
|
|
2067
2075
|
const errorClassName = error ? " error" : "";
|
|
2068
|
-
const readonlyContent = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2076
|
+
const readonlyContent = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes22.Flex, { gap: "1", children: selectedItem.map((item) => {
|
|
2069
2077
|
return tagRender ? tagRender(item) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Badge, { size: badgeSize, children: item.name }, item.id);
|
|
2070
2078
|
}) });
|
|
2071
2079
|
const editContent = /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
2072
2080
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
2073
|
-
|
|
2081
|
+
import_themes22.Flex,
|
|
2074
2082
|
{
|
|
2075
2083
|
align: "center",
|
|
2076
2084
|
gap: "1",
|
|
@@ -2112,7 +2120,7 @@ function TagSelector(props) {
|
|
|
2112
2120
|
] });
|
|
2113
2121
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Root, { open: Boolean(filteredOptions.length) && open, children: [
|
|
2114
2122
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Trigger, { style: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2115
|
-
|
|
2123
|
+
import_themes23.Grid,
|
|
2116
2124
|
{
|
|
2117
2125
|
align: "center",
|
|
2118
2126
|
className: `tag-selector ${size} ${focusClassName}${readOnlyClassName}${errorClassName}`,
|
|
@@ -2143,7 +2151,7 @@ function TagSelector(props) {
|
|
|
2143
2151
|
scrollbars: "vertical",
|
|
2144
2152
|
style: { height: OPTION_HEIGHT * 8 },
|
|
2145
2153
|
type: "auto",
|
|
2146
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2154
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes22.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
|
|
2147
2155
|
const isSelected = Boolean(
|
|
2148
2156
|
selected.find((el) => el === item.id)
|
|
2149
2157
|
);
|
|
@@ -2168,7 +2176,7 @@ function TagSelector(props) {
|
|
|
2168
2176
|
boxShadow: "none"
|
|
2169
2177
|
},
|
|
2170
2178
|
variant: isSelected ? "soft" : "outline",
|
|
2171
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
2179
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { justify: "between", width: "100%", children: [
|
|
2172
2180
|
item.name,
|
|
2173
2181
|
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.CheckIcon, {}) : null
|
|
2174
2182
|
] })
|
|
@@ -2212,7 +2220,7 @@ function LearningPost(props) {
|
|
|
2212
2220
|
scaling: "110%",
|
|
2213
2221
|
style: {},
|
|
2214
2222
|
children: html ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2215
|
-
|
|
2223
|
+
import_themes23.Grid,
|
|
2216
2224
|
{
|
|
2217
2225
|
columns: { initial: "1", md: "130px 1fr 130px" },
|
|
2218
2226
|
gap: { initial: "2", md: "5" },
|
|
@@ -2225,7 +2233,7 @@ function LearningPost(props) {
|
|
|
2225
2233
|
children: [
|
|
2226
2234
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {}),
|
|
2227
2235
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2228
|
-
|
|
2236
|
+
import_themes22.Flex,
|
|
2229
2237
|
{
|
|
2230
2238
|
align: "center",
|
|
2231
2239
|
direction: "column",
|
|
@@ -2234,9 +2242,9 @@ function LearningPost(props) {
|
|
|
2234
2242
|
overflow: "hidden",
|
|
2235
2243
|
width: "100%",
|
|
2236
2244
|
children: [
|
|
2237
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2245
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes23.Grid, { align: "start", columns: { initial: "1", sm: "2" }, gap: "2", children: [
|
|
2238
2246
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2239
|
-
|
|
2247
|
+
import_themes23.Grid,
|
|
2240
2248
|
{
|
|
2241
2249
|
gap: "3",
|
|
2242
2250
|
mb: { initial: "4", sm: "0" },
|
|
@@ -2255,7 +2263,7 @@ function LearningPost(props) {
|
|
|
2255
2263
|
}
|
|
2256
2264
|
),
|
|
2257
2265
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { children: metaDescription }),
|
|
2258
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
2266
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes22.Flex, { gap: "1", wrap: "wrap", children: tags == null ? void 0 : tags.map((el) => {
|
|
2259
2267
|
var _a;
|
|
2260
2268
|
if ((_a = el.name) == null ? void 0 : _a.startsWith("filter"))
|
|
2261
2269
|
return;
|
|
@@ -2291,7 +2299,7 @@ function LearningPost(props) {
|
|
|
2291
2299
|
]
|
|
2292
2300
|
}
|
|
2293
2301
|
) : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2294
|
-
|
|
2302
|
+
import_themes22.Flex,
|
|
2295
2303
|
{
|
|
2296
2304
|
align: "center",
|
|
2297
2305
|
direction: "column",
|
|
@@ -2337,7 +2345,7 @@ function CodeSize3(props) {
|
|
|
2337
2345
|
);
|
|
2338
2346
|
}
|
|
2339
2347
|
function ForceRefresh() {
|
|
2340
|
-
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2341
2349
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Typo, { children: [
|
|
2342
2350
|
"1. \uD06C\uB86C \uBE0C\uB77C\uC6B0\uC800 \uC624\uB978\uCABD \uC0C1\uB2E8\uC758",
|
|
2343
2351
|
" ",
|
|
@@ -2356,7 +2364,7 @@ function ForceRefresh() {
|
|
|
2356
2364
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CodeSize3, { children: "\uAC1C\uBC1C\uC790 \uB3C4\uAD6C" }),
|
|
2357
2365
|
" \uBA54\uB274\uB97C \uC120\uD0DD\uD569\uB2C8\uB2E4. (\uB610\uB294 \uC544\uB798\uC758 \uB2E8\uCD95\uD0A4\uB97C \uC0AC\uC6A9 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.)"
|
|
2358
2366
|
] }),
|
|
2359
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2367
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", p: "0", pl: "3", children: [
|
|
2360
2368
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Typo, { children: [
|
|
2361
2369
|
"a. \uC708\uB3C4\uC6B0 \uB2E8\uCD95\uD0A4: ",
|
|
2362
2370
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes26.Kbd, { children: "F12" })
|
|
@@ -2408,7 +2416,7 @@ function DatePickerButton(props) {
|
|
|
2408
2416
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
2409
2417
|
DatePicker,
|
|
2410
2418
|
__spreadProps(__spreadValues({
|
|
2411
|
-
customInput: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
2419
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
2412
2420
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
2413
2421
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.CalendarIcon, {})
|
|
2414
2422
|
] }) })),
|
|
@@ -2503,7 +2511,7 @@ function TimeSelect(_a) {
|
|
|
2503
2511
|
return getTimeOptions();
|
|
2504
2512
|
}, []);
|
|
2505
2513
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
2506
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2514
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
|
|
2507
2515
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Content, { children: timeOptions.map((time) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Item, { value: time, children: time }, time)) })
|
|
2508
2516
|
] }));
|
|
2509
2517
|
}
|
|
@@ -2546,7 +2554,7 @@ function Item(_a) {
|
|
|
2546
2554
|
"justify",
|
|
2547
2555
|
"RadioWrapper"
|
|
2548
2556
|
]);
|
|
2549
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
2557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
2550
2558
|
children,
|
|
2551
2559
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2552
2560
|
import_themes32.Radio,
|
|
@@ -2858,13 +2866,13 @@ function CoachingCustomerInfoSmall({
|
|
|
2858
2866
|
return (0, import_biz_utils.getTextFromProjectState)(session == null ? void 0 : session.state);
|
|
2859
2867
|
}, [session == null ? void 0 : session.state]);
|
|
2860
2868
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
2861
|
-
|
|
2869
|
+
import_themes22.Flex,
|
|
2862
2870
|
{
|
|
2863
2871
|
direction: { initial: "column", xs: "row" },
|
|
2864
2872
|
gap: "3",
|
|
2865
2873
|
justify: "between",
|
|
2866
2874
|
children: [
|
|
2867
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
2875
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
2868
2876
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2869
2877
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
2870
2878
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Badge, { color: badgeColor, children: sessionText })
|
|
@@ -2960,9 +2968,9 @@ function CoachingCustomerInfoMedium({
|
|
|
2960
2968
|
const sessionText = (0, import_react31.useMemo)(() => {
|
|
2961
2969
|
return (0, import_biz_utils2.getTextFromProjectState)(session == null ? void 0 : session.state);
|
|
2962
2970
|
}, [session == null ? void 0 : session.state]);
|
|
2963
|
-
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2964
2972
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes6.Box, { children: [
|
|
2965
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2973
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
2966
2974
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2967
2975
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Badge, { color: badgeColor, children: sessionText })
|
|
2968
2976
|
] }),
|
|
@@ -2970,11 +2978,11 @@ function CoachingCustomerInfoMedium({
|
|
|
2970
2978
|
] }),
|
|
2971
2979
|
children,
|
|
2972
2980
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map((el) => renderDataListItem(el, session)) }) }),
|
|
2973
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2981
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
2974
2982
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
2975
2983
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes39.Separator, { size: "4" })
|
|
2976
2984
|
] }),
|
|
2977
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2985
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
2978
2986
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typo, { children: renderItem(el, customer) }, el.label);
|
|
2979
2987
|
}) })
|
|
2980
2988
|
] });
|
|
@@ -2995,9 +3003,9 @@ function CoachingCustomerInfoLarge({
|
|
|
2995
3003
|
const sessionText = (0, import_react32.useMemo)(() => {
|
|
2996
3004
|
return (0, import_biz_utils3.getTextFromProjectState)(session == null ? void 0 : session.state);
|
|
2997
3005
|
}, [session == null ? void 0 : session.state]);
|
|
2998
|
-
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2999
3007
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes6.Box, { children: [
|
|
3000
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3008
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
3001
3009
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
3002
3010
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Badge, { color: badgeColor, children: sessionText })
|
|
3003
3011
|
] }),
|
|
@@ -3071,7 +3079,7 @@ function GoalManageCardRead(props) {
|
|
|
3071
3079
|
] }) }),
|
|
3072
3080
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes29.Popover.Content, { children: [
|
|
3073
3081
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
3074
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3082
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
3075
3083
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
3076
3084
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: props.onClickComplete, size: "small", children: "\uC608" }) })
|
|
3077
3085
|
] })
|
|
@@ -3088,11 +3096,11 @@ function GoalManageCardRead(props) {
|
|
|
3088
3096
|
}
|
|
3089
3097
|
);
|
|
3090
3098
|
}, [completed, onCompleteChange, props.onClickComplete]);
|
|
3091
|
-
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3092
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
3100
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
3093
3101
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3094
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3095
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3102
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
3103
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
3096
3104
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Badge, { color: statusColor, children: status }),
|
|
3097
3105
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns3.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
3098
3106
|
] }),
|
|
@@ -3108,7 +3116,7 @@ function GoalManageCardRead(props) {
|
|
|
3108
3116
|
}
|
|
3109
3117
|
) : null,
|
|
3110
3118
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Collapse, { open, children: [
|
|
3111
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3119
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3112
3120
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes6.Box, { children: [
|
|
3113
3121
|
renderSubTitle(
|
|
3114
3122
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
@@ -3120,7 +3128,7 @@ function GoalManageCardRead(props) {
|
|
|
3120
3128
|
renderSubContent(huddle)
|
|
3121
3129
|
] })
|
|
3122
3130
|
] }),
|
|
3123
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3131
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
3124
3132
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3125
3133
|
Button,
|
|
3126
3134
|
{
|
|
@@ -3176,7 +3184,7 @@ function GoalManageCardEdit(props) {
|
|
|
3176
3184
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
3177
3185
|
}, [props, values]);
|
|
3178
3186
|
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
3179
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
3187
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3180
3188
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "title", children: [
|
|
3181
3189
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
3182
3190
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
@@ -3242,7 +3250,7 @@ function GoalManageCardEdit(props) {
|
|
|
3242
3250
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
3243
3251
|
] })
|
|
3244
3252
|
] }),
|
|
3245
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
3253
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
3246
3254
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3247
3255
|
Button,
|
|
3248
3256
|
{
|
|
@@ -3397,7 +3405,7 @@ function EditCoachingTime(props) {
|
|
|
3397
3405
|
)
|
|
3398
3406
|
] }),
|
|
3399
3407
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
3400
|
-
|
|
3408
|
+
import_themes23.Grid,
|
|
3401
3409
|
{
|
|
3402
3410
|
align: "center",
|
|
3403
3411
|
columns: {
|
|
@@ -3435,7 +3443,7 @@ function EditCoachingTime(props) {
|
|
|
3435
3443
|
]
|
|
3436
3444
|
}
|
|
3437
3445
|
),
|
|
3438
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
3446
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
3439
3447
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3440
3448
|
Button,
|
|
3441
3449
|
{
|
|
@@ -3487,11 +3495,11 @@ function OnOfflineRadioCard(props) {
|
|
|
3487
3495
|
justify
|
|
3488
3496
|
}, props), {
|
|
3489
3497
|
children: [
|
|
3490
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
3498
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
3491
3499
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
3492
3500
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
3493
3501
|
] }) }),
|
|
3494
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
3502
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
3495
3503
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
3496
3504
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
3497
3505
|
] }) })
|
|
@@ -3531,7 +3539,7 @@ function EditServiceType(props) {
|
|
|
3531
3539
|
}
|
|
3532
3540
|
),
|
|
3533
3541
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
3534
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
3542
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
3535
3543
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3536
3544
|
Button,
|
|
3537
3545
|
{
|
|
@@ -3586,8 +3594,8 @@ function SessionCard(props) {
|
|
|
3586
3594
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
3587
3595
|
return `${(0, import_date_fns5.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns5.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
3588
3596
|
}, [startAt, endAt]);
|
|
3589
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
3590
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
3597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
3598
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
3591
3599
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
3592
3600
|
TitleExtra,
|
|
3593
3601
|
error ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
@@ -3617,7 +3625,7 @@ function SessionCard(props) {
|
|
|
3617
3625
|
] }) : null
|
|
3618
3626
|
] })
|
|
3619
3627
|
] }),
|
|
3620
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
3628
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
3621
3629
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes15.DataList.Item, { children: [
|
|
3622
3630
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
3623
3631
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes15.DataList.Value, { children: [
|
|
@@ -3634,7 +3642,7 @@ function SessionCard(props) {
|
|
|
3634
3642
|
] }) : null
|
|
3635
3643
|
] })
|
|
3636
3644
|
] }),
|
|
3637
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
3645
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
3638
3646
|
] })
|
|
3639
3647
|
] })
|
|
3640
3648
|
] }) }));
|
|
@@ -3651,7 +3659,7 @@ function QuestionItem({ question, answer }) {
|
|
|
3651
3659
|
function CoachQuestionList({
|
|
3652
3660
|
questions
|
|
3653
3661
|
}) {
|
|
3654
|
-
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
3655
3663
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
3656
3664
|
}) });
|
|
3657
3665
|
}
|
|
@@ -3733,15 +3741,15 @@ function ReservationCard(props) {
|
|
|
3733
3741
|
size: "3",
|
|
3734
3742
|
style: { overflow: "visible", contain: "initial" },
|
|
3735
3743
|
children: [
|
|
3736
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3744
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
3737
3745
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3738
|
-
|
|
3746
|
+
import_themes23.Grid,
|
|
3739
3747
|
{
|
|
3740
3748
|
align: "center",
|
|
3741
3749
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
3742
3750
|
gapY: "2",
|
|
3743
3751
|
children: [
|
|
3744
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3752
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
3745
3753
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Heading2, { variant: "heading4", children: [
|
|
3746
3754
|
customerName || "-",
|
|
3747
3755
|
"\uB2D8 ",
|
|
@@ -3754,7 +3762,7 @@ function ReservationCard(props) {
|
|
|
3754
3762
|
]
|
|
3755
3763
|
}
|
|
3756
3764
|
),
|
|
3757
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3765
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
3758
3766
|
] }),
|
|
3759
3767
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3760
3768
|
Form.Root,
|
|
@@ -3762,10 +3770,10 @@ function ReservationCard(props) {
|
|
|
3762
3770
|
onSubmit: (e) => {
|
|
3763
3771
|
e.preventDefault();
|
|
3764
3772
|
},
|
|
3765
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3773
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3766
3774
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Form.Label, { asChild: true, children: [
|
|
3767
3775
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
3768
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3776
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
3769
3777
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3770
3778
|
DatePickerButton,
|
|
3771
3779
|
{
|
|
@@ -3799,7 +3807,7 @@ function ReservationCard(props) {
|
|
|
3799
3807
|
}
|
|
3800
3808
|
) })
|
|
3801
3809
|
] }),
|
|
3802
|
-
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3810
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
3803
3811
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3804
3812
|
Button,
|
|
3805
3813
|
{
|
|
@@ -3823,7 +3831,7 @@ function ReservationCard(props) {
|
|
|
3823
3831
|
py: "4",
|
|
3824
3832
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
3825
3833
|
width: "100%",
|
|
3826
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
3834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
3827
3835
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Typo, { children: [
|
|
3828
3836
|
sessionNumber || "-",
|
|
3829
3837
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
@@ -3847,7 +3855,7 @@ function SubTitleWrapper({
|
|
|
3847
3855
|
children,
|
|
3848
3856
|
title
|
|
3849
3857
|
}) {
|
|
3850
|
-
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
3858
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
3851
3859
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
3852
3860
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes6.Box, { children })
|
|
3853
3861
|
] });
|
|
@@ -3883,7 +3891,7 @@ function SessionReviewSimpleRead({
|
|
|
3883
3891
|
sessionNumber || "-",
|
|
3884
3892
|
"\uD68C\uCC28 \uC138\uC158 \uD6C4\uAE30"
|
|
3885
3893
|
] }),
|
|
3886
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
3894
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3887
3895
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SubTitleWrapper, { title: "\uC774\uBC88 \uCF54\uCE6D\uC774 \uBAA9\uD45C \uB2EC\uC131\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uB098\uC694?", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
3888
3896
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
3889
3897
|
] })
|
|
@@ -3897,7 +3905,7 @@ function SectionWrapper({
|
|
|
3897
3905
|
children
|
|
3898
3906
|
}) {
|
|
3899
3907
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes6.Box, { children: [
|
|
3900
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3908
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
3901
3909
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
3902
3910
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes39.Separator, { size: "4" })
|
|
3903
3911
|
] }),
|
|
@@ -3908,7 +3916,7 @@ function SessionUserInfoDetail({
|
|
|
3908
3916
|
customer,
|
|
3909
3917
|
session
|
|
3910
3918
|
}) {
|
|
3911
|
-
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3919
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
3912
3920
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes15.DataList.Root, { children: sessionList.map((info) => renderDataListItem(info, session)) }) }),
|
|
3913
3921
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes15.DataList.Root, { children: infoList.map((info) => renderDataListItem(info, customer)) }) })
|
|
3914
3922
|
] });
|
|
@@ -3919,7 +3927,7 @@ var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
|
3919
3927
|
function ReportCard(props) {
|
|
3920
3928
|
const { title, file, status } = props;
|
|
3921
3929
|
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Card, { children: [
|
|
3922
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
3930
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
3923
3931
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3924
3932
|
status
|
|
3925
3933
|
] }),
|