@tipp/ui 1.6.25 → 1.6.26
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 +429 -425
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +8 -8
- package/dist/app/platform/coach-question-list.cjs +86 -82
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +4 -4
- package/dist/app/platform/contents-card.cjs +70 -66
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +4 -4
- package/dist/app/platform/edit-coaching-time.cjs +158 -154
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +6 -6
- package/dist/app/platform/edit-service-type.cjs +145 -141
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +6 -6
- package/dist/app/platform/goal-manage-card-edit.cjs +154 -150
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +5 -5
- package/dist/app/platform/goal-manage-card-read.cjs +128 -124
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +4 -4
- package/dist/app/platform/on-offline-radio-card.cjs +134 -130
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +5 -5
- package/dist/app/platform/report-card.cjs +89 -85
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +4 -4
- package/dist/app/platform/reservation-card.cjs +191 -187
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +5 -5
- package/dist/app/platform/session-card.cjs +213 -209
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +8 -8
- package/dist/app/platform/session-review-simple-read.cjs +89 -85
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +4 -4
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +120 -116
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +4 -4
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +97 -93
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +4 -4
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +100 -96
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +4 -4
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +86 -82
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +4 -4
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +96 -92
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +4 -4
- package/dist/app/platform/userInfos/utils.cjs +88 -84
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +4 -4
- package/dist/atoms/dialog.cjs +1 -1
- package/dist/atoms/dialog.cjs.map +1 -1
- package/dist/atoms/dialog.js +1 -1
- package/dist/atoms/ellipsis-tooltip.cjs +101 -42
- package/dist/atoms/ellipsis-tooltip.cjs.map +1 -1
- package/dist/atoms/ellipsis-tooltip.js +4 -3
- package/dist/atoms/index.cjs +169 -145
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.d.cts +5 -1
- package/dist/atoms/index.d.ts +5 -1
- package/dist/atoms/index.js +11 -5
- package/dist/atoms/scroll-area.cjs +2 -1
- package/dist/atoms/scroll-area.cjs.map +1 -1
- package/dist/atoms/scroll-area.d.cts +10 -1
- package/dist/atoms/scroll-area.d.ts +10 -1
- package/dist/atoms/scroll-area.js +1 -1
- package/dist/atoms/tooltip.cjs +67 -3
- package/dist/atoms/tooltip.cjs.map +1 -1
- package/dist/atoms/tooltip.d.cts +9 -1
- package/dist/atoms/tooltip.d.ts +9 -1
- package/dist/atoms/tooltip.js +9 -3
- package/dist/chunk-2YJ3EG6A.js +164 -0
- package/dist/chunk-2YJ3EG6A.js.map +1 -0
- package/dist/chunk-3IOLG7AJ.js +145 -0
- package/dist/chunk-3IOLG7AJ.js.map +1 -0
- package/dist/chunk-4DTD3FXF.js +47 -0
- package/dist/chunk-4DTD3FXF.js.map +1 -0
- package/dist/chunk-4Z5NYYOE.js +145 -0
- package/dist/chunk-4Z5NYYOE.js.map +1 -0
- package/dist/chunk-5VDTWYNQ.js +357 -0
- package/dist/chunk-5VDTWYNQ.js.map +1 -0
- package/dist/chunk-7KMPLHBV.js +357 -0
- package/dist/chunk-7KMPLHBV.js.map +1 -0
- package/dist/chunk-AFQMLTCH.js +54 -0
- package/dist/chunk-AFQMLTCH.js.map +1 -0
- package/dist/chunk-AQG6J4WX.js +357 -0
- package/dist/chunk-AQG6J4WX.js.map +1 -0
- package/dist/chunk-AW7YHNJD.js +174 -0
- package/dist/chunk-AW7YHNJD.js.map +1 -0
- package/dist/chunk-CIO2WR2Q.js +145 -0
- package/dist/chunk-CIO2WR2Q.js.map +1 -0
- package/dist/chunk-ED3ABG7K.js +54 -0
- package/dist/chunk-ED3ABG7K.js.map +1 -0
- package/dist/chunk-ERDNB5SX.js +30 -0
- package/dist/chunk-ERDNB5SX.js.map +1 -0
- package/dist/chunk-EREBMLDQ.js +58 -0
- package/dist/chunk-EREBMLDQ.js.map +1 -0
- package/dist/chunk-HN2C35F6.js +70 -0
- package/dist/chunk-HN2C35F6.js.map +1 -0
- package/dist/chunk-J5RZURAR.js +106 -0
- package/dist/chunk-J5RZURAR.js.map +1 -0
- package/dist/chunk-JRPA2S7O.js +54 -0
- package/dist/chunk-JRPA2S7O.js.map +1 -0
- package/dist/chunk-KT4BIOJJ.js +54 -0
- package/dist/chunk-KT4BIOJJ.js.map +1 -0
- package/dist/chunk-KWVNYSQW.js +10 -0
- package/dist/chunk-KWVNYSQW.js.map +1 -0
- package/dist/chunk-OT4OMHJV.js +58 -0
- package/dist/chunk-OT4OMHJV.js.map +1 -0
- package/dist/chunk-OYYJEZVP.js +84 -0
- package/dist/chunk-OYYJEZVP.js.map +1 -0
- package/dist/chunk-P442X52N.js +284 -0
- package/dist/chunk-P442X52N.js.map +1 -0
- package/dist/chunk-RYORYWPY.js +164 -0
- package/dist/chunk-RYORYWPY.js.map +1 -0
- package/dist/chunk-TBEOWECF.js +47 -0
- package/dist/chunk-TBEOWECF.js.map +1 -0
- package/dist/chunk-VJ7EA7ZF.js +54 -0
- package/dist/chunk-VJ7EA7ZF.js.map +1 -0
- package/dist/chunk-X5L3SBB7.js +174 -0
- package/dist/chunk-X5L3SBB7.js.map +1 -0
- package/dist/index.cjs +666 -642
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +15 -9
- package/dist/molecules/date-picker/date-picker-button.cjs +100 -96
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +4 -4
- package/dist/molecules/expand-table/index.cjs +138 -134
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +4 -4
- package/dist/molecules/expand-table/row.cjs +95 -91
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +4 -4
- package/dist/molecules/index.cjs +319 -314
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +5 -5
- package/dist/molecules/navigation.cjs +86 -82
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +4 -4
- package/dist/molecules/radio-button-card.cjs +90 -86
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +4 -4
- package/dist/molecules/tag-selector.cjs +102 -97
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +5 -5
- package/dist/molecules/time-select.cjs +88 -84
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +4 -4
- package/package.json +5 -3
- package/src/atoms/dialog.tsx +1 -1
- package/src/atoms/ellipsis-tooltip.tsx +39 -20
- package/src/atoms/scroll-area.tsx +8 -1
- package/src/atoms/tooltip.tsx +72 -1
package/dist/app/index.cjs
CHANGED
|
@@ -460,7 +460,7 @@ function Content2(props) {
|
|
|
460
460
|
!hideCloseButton && /* @__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_icons.Cross1Icon, {}) }) })
|
|
461
461
|
] }),
|
|
462
462
|
children,
|
|
463
|
-
buttons ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Flex, { gap: "3", justify: "end", mt: "3", children: buttons }) : null
|
|
463
|
+
buttons ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Flex, { gap: "3", justify: "end", mt: "3", width: "100%", children: buttons }) : null
|
|
464
464
|
]
|
|
465
465
|
})
|
|
466
466
|
) }) }) });
|
|
@@ -713,46 +713,50 @@ Root4.displayName = "TextField.Root";
|
|
|
713
713
|
var TextField = { Root: Root4, Slot: import_themes47.TextField.Slot };
|
|
714
714
|
|
|
715
715
|
// src/atoms/tooltip.tsx
|
|
716
|
-
var import_themes48 = require("@radix-ui/themes");
|
|
717
|
-
|
|
718
|
-
// src/atoms/collapse.tsx
|
|
719
716
|
var import_react15 = require("react");
|
|
717
|
+
var import_react_tooltip = require("@radix-ui/react-tooltip");
|
|
718
|
+
var import_react_popover = require("@radix-ui/react-popover");
|
|
720
719
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
720
|
+
var TouchContext = (0, import_react15.createContext)(void 0);
|
|
721
|
+
|
|
722
|
+
// src/atoms/collapse.tsx
|
|
723
|
+
var import_react16 = require("react");
|
|
724
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
721
725
|
function Collapse(props) {
|
|
722
726
|
const { children, closedHeight = "0" } = props;
|
|
723
|
-
const [open, setOpen] = (0,
|
|
727
|
+
const [open, setOpen] = (0, import_react16.useState)(() => {
|
|
724
728
|
return props.open || props.defaultOpen || false;
|
|
725
729
|
});
|
|
726
|
-
(0,
|
|
730
|
+
(0, import_react16.useEffect)(() => {
|
|
727
731
|
if (props.open === void 0)
|
|
728
732
|
return;
|
|
729
733
|
setOpen(props.open);
|
|
730
734
|
}, [props.open]);
|
|
731
|
-
const ref = (0,
|
|
732
|
-
(0,
|
|
735
|
+
const ref = (0, import_react16.useRef)(null);
|
|
736
|
+
(0, import_react16.useEffect)(() => {
|
|
733
737
|
if (!ref.current)
|
|
734
738
|
return;
|
|
735
739
|
ref.current.style.maxHeight = open ? `${ref.current.scrollHeight}px` : closedHeight;
|
|
736
740
|
}, [closedHeight, open]);
|
|
737
|
-
return /* @__PURE__ */ (0,
|
|
741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "tipp-collapse", ref, children });
|
|
738
742
|
}
|
|
739
743
|
|
|
740
744
|
// src/atoms/spinner.tsx
|
|
741
|
-
var
|
|
745
|
+
var import_themes48 = require("@radix-ui/themes");
|
|
742
746
|
|
|
743
747
|
// src/atoms/pagination.tsx
|
|
744
|
-
var
|
|
748
|
+
var import_react17 = require("react");
|
|
745
749
|
|
|
746
750
|
// src/icon.ts
|
|
747
751
|
var import_react_icons2 = require("@radix-ui/react-icons");
|
|
748
752
|
|
|
749
753
|
// src/icons/phone-ring.tsx
|
|
750
754
|
var React6 = __toESM(require("react"), 1);
|
|
751
|
-
var
|
|
755
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
752
756
|
var PhoneRingIcon = React6.forwardRef(
|
|
753
757
|
(_a, forwardedRef) => {
|
|
754
758
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
755
|
-
return /* @__PURE__ */ (0,
|
|
759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
756
760
|
"svg",
|
|
757
761
|
__spreadProps(__spreadValues({
|
|
758
762
|
fill: "none",
|
|
@@ -763,14 +767,14 @@ var PhoneRingIcon = React6.forwardRef(
|
|
|
763
767
|
}, props), {
|
|
764
768
|
ref: forwardedRef,
|
|
765
769
|
children: [
|
|
766
|
-
/* @__PURE__ */ (0,
|
|
770
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
767
771
|
"path",
|
|
768
772
|
{
|
|
769
773
|
d: "M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
770
774
|
fill: color
|
|
771
775
|
}
|
|
772
776
|
),
|
|
773
|
-
/* @__PURE__ */ (0,
|
|
777
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
774
778
|
"path",
|
|
775
779
|
{
|
|
776
780
|
d: "M9.33335 4.22765C10.4699 4.62936 11.3707 5.53016 11.7724 6.66671M9.97701 2.33337C11.7004 2.93456 13.0655 4.2997 13.6667 6.02305M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
@@ -788,11 +792,11 @@ PhoneRingIcon.displayName = "ArrowUpIcon";
|
|
|
788
792
|
|
|
789
793
|
// src/icons/up.tsx
|
|
790
794
|
var React7 = __toESM(require("react"), 1);
|
|
791
|
-
var
|
|
795
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
792
796
|
var TriangleArrowUpIcon = React7.forwardRef(
|
|
793
797
|
(_a, forwardedRef) => {
|
|
794
798
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
795
|
-
return /* @__PURE__ */ (0,
|
|
799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
796
800
|
"svg",
|
|
797
801
|
__spreadProps(__spreadValues({
|
|
798
802
|
fill: "none",
|
|
@@ -802,7 +806,7 @@ var TriangleArrowUpIcon = React7.forwardRef(
|
|
|
802
806
|
xmlns: "http://www.w3.org/2000/svg"
|
|
803
807
|
}, props), {
|
|
804
808
|
ref: forwardedRef,
|
|
805
|
-
children: /* @__PURE__ */ (0,
|
|
809
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
806
810
|
"path",
|
|
807
811
|
{
|
|
808
812
|
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
@@ -817,11 +821,11 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
|
817
821
|
|
|
818
822
|
// src/icons/down.tsx
|
|
819
823
|
var React8 = __toESM(require("react"), 1);
|
|
820
|
-
var
|
|
824
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
821
825
|
var TriangleArrowDownIcon = React8.forwardRef(
|
|
822
826
|
(_a, forwardedRef) => {
|
|
823
827
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
824
|
-
return /* @__PURE__ */ (0,
|
|
828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
825
829
|
"svg",
|
|
826
830
|
__spreadProps(__spreadValues({
|
|
827
831
|
fill: "none",
|
|
@@ -831,7 +835,7 @@ var TriangleArrowDownIcon = React8.forwardRef(
|
|
|
831
835
|
xmlns: "http://www.w3.org/2000/svg"
|
|
832
836
|
}, props), {
|
|
833
837
|
ref: forwardedRef,
|
|
834
|
-
children: /* @__PURE__ */ (0,
|
|
838
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
835
839
|
"path",
|
|
836
840
|
{
|
|
837
841
|
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
@@ -846,11 +850,11 @@ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
|
846
850
|
|
|
847
851
|
// src/icons/mic.tsx
|
|
848
852
|
var React9 = __toESM(require("react"), 1);
|
|
849
|
-
var
|
|
853
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
850
854
|
var MicIcon = React9.forwardRef(
|
|
851
855
|
(_a, forwardedRef) => {
|
|
852
856
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
853
|
-
return /* @__PURE__ */ (0,
|
|
857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
854
858
|
"svg",
|
|
855
859
|
__spreadProps(__spreadValues({
|
|
856
860
|
fill: "none",
|
|
@@ -861,7 +865,7 @@ var MicIcon = React9.forwardRef(
|
|
|
861
865
|
}, props), {
|
|
862
866
|
ref: forwardedRef,
|
|
863
867
|
children: [
|
|
864
|
-
/* @__PURE__ */ (0,
|
|
868
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
865
869
|
"path",
|
|
866
870
|
{
|
|
867
871
|
clipRule: "evenodd",
|
|
@@ -870,7 +874,7 @@ var MicIcon = React9.forwardRef(
|
|
|
870
874
|
fillRule: "evenodd"
|
|
871
875
|
}
|
|
872
876
|
),
|
|
873
|
-
/* @__PURE__ */ (0,
|
|
877
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
874
878
|
"path",
|
|
875
879
|
{
|
|
876
880
|
d: "M1.30707 7.51038C1.30707 8.87401 2.61826 12.2831 5.90497 12.2831M5.90497 12.2831V15.4999M5.90497 12.2831C8.8595 11.9148 10.0284 10.8351 10.5203 7.51038M5.90497 15.4999H4.05182M5.90497 15.4999H7.81056",
|
|
@@ -888,11 +892,11 @@ MicIcon.displayName = "MicIcon";
|
|
|
888
892
|
|
|
889
893
|
// src/icons/camera.tsx
|
|
890
894
|
var React10 = __toESM(require("react"), 1);
|
|
891
|
-
var
|
|
895
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
892
896
|
var CameraIcon = React10.forwardRef(
|
|
893
897
|
(_a, forwardedRef) => {
|
|
894
898
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
895
|
-
return /* @__PURE__ */ (0,
|
|
899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
896
900
|
"svg",
|
|
897
901
|
__spreadProps(__spreadValues({
|
|
898
902
|
fill: "none",
|
|
@@ -902,7 +906,7 @@ var CameraIcon = React10.forwardRef(
|
|
|
902
906
|
width: "16",
|
|
903
907
|
xmlns: "http://www.w3.org/2000/svg"
|
|
904
908
|
}, props), {
|
|
905
|
-
children: /* @__PURE__ */ (0,
|
|
909
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
906
910
|
"path",
|
|
907
911
|
{
|
|
908
912
|
d: "M1.41176 2C0.470588 2 0 2.46222 0 3.38667C0 4.31111 0 11.2444 0 12.1689C0 13.0933 0.470588 13.5556 0.941176 13.5556C1.41176 13.5556 9.88235 13.5556 10.8235 13.5556C11.7647 13.5556 11.7647 13.0933 11.7647 12.1689C11.7647 11.5595 11.7647 10.9502 11.7647 10.6056C11.7647 10.4478 11.8926 10.32 12.0504 10.32H12.1689C12.2126 10.32 12.2557 10.33 12.2949 10.3493L14.1176 11.2444L15.5883 11.9667C15.7782 12.06 16 11.9218 16 11.7103V3.86745C16 3.6507 15.768 3.51238 15.577 3.61479C14.6546 4.10924 12.5222 5.23556 12.2353 5.23556C12.1353 5.23556 12.0821 5.23556 12.0502 5.23556C11.8924 5.23556 11.7647 5.10789 11.7647 4.95009C11.7647 4.51892 11.7647 3.71688 11.7647 3.38667C11.7647 2.92444 11.2941 2 10.3529 2C9.41177 2 2.35294 2 1.41176 2Z",
|
|
@@ -917,11 +921,11 @@ CameraIcon.displayName = "CameraIcon";
|
|
|
917
921
|
|
|
918
922
|
// src/icons/camera-disabled.tsx
|
|
919
923
|
var React11 = __toESM(require("react"), 1);
|
|
920
|
-
var
|
|
924
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
921
925
|
var CameraDisabledIcon = React11.forwardRef(
|
|
922
926
|
(_a, forwardedRef) => {
|
|
923
927
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
924
|
-
return /* @__PURE__ */ (0,
|
|
928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
925
929
|
"svg",
|
|
926
930
|
__spreadProps(__spreadValues({
|
|
927
931
|
fill: "none",
|
|
@@ -931,7 +935,7 @@ var CameraDisabledIcon = React11.forwardRef(
|
|
|
931
935
|
width: "16",
|
|
932
936
|
xmlns: "http://www.w3.org/2000/svg"
|
|
933
937
|
}, props), {
|
|
934
|
-
children: /* @__PURE__ */ (0,
|
|
938
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
935
939
|
"path",
|
|
936
940
|
{
|
|
937
941
|
clipRule: "evenodd",
|
|
@@ -948,11 +952,11 @@ CameraDisabledIcon.displayName = "VideoDisabledIcon";
|
|
|
948
952
|
|
|
949
953
|
// src/icons/end-call.tsx
|
|
950
954
|
var React12 = __toESM(require("react"), 1);
|
|
951
|
-
var
|
|
955
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
952
956
|
var EndCallIcon = React12.forwardRef(
|
|
953
957
|
(_a, forwardedRef) => {
|
|
954
958
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
955
|
-
return /* @__PURE__ */ (0,
|
|
959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
956
960
|
"svg",
|
|
957
961
|
__spreadProps(__spreadValues({
|
|
958
962
|
fill: "none",
|
|
@@ -963,14 +967,14 @@ var EndCallIcon = React12.forwardRef(
|
|
|
963
967
|
xmlns: "http://www.w3.org/2000/svg"
|
|
964
968
|
}, props), {
|
|
965
969
|
children: [
|
|
966
|
-
/* @__PURE__ */ (0,
|
|
970
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
967
971
|
"path",
|
|
968
972
|
{
|
|
969
973
|
d: "M8 6.66667C8.90629 6.66667 9.77647 6.83841 10.5856 7.15419C10.6552 7.18136 10.69 7.19494 10.7285 7.21836C10.865 7.30159 10.9727 7.47044 10.9981 7.64117C11.0053 7.68921 11.0053 7.73711 11.0053 7.83291C11.0053 8.1259 11.0053 8.27239 11.0285 8.39394C11.1159 8.8523 11.4382 9.2104 11.8507 9.30757C11.9601 9.33333 12.092 9.33333 12.3557 9.33333H12.5026C12.9035 9.33333 13.1039 9.33333 13.266 9.27424C13.5883 9.1567 13.841 8.87584 13.9468 8.51773C14 8.33766 14 8.11498 14 7.6696V7.53749C14 7.09364 14 6.87172 13.9405 6.63611C13.8745 6.37466 13.7013 6.04705 13.528 5.85561C13.3718 5.68309 13.2352 5.5984 12.9619 5.42901C11.4932 4.51871 9.80113 4 8 4C6.19887 4 4.50678 4.51871 3.03812 5.42901C2.76484 5.5984 2.6282 5.68309 2.472 5.85561C2.29868 6.04705 2.12553 6.37466 2.0595 6.63611C2 6.87172 2 7.09364 2 7.53749V7.6696C2 8.11498 2 8.33766 2.05319 8.51773C2.15897 8.87584 2.41174 9.1567 2.73404 9.27424C2.8961 9.33333 3.09652 9.33333 3.49736 9.33333L3.64434 9.33333C3.90803 9.33333 4.03987 9.33333 4.14926 9.30757C4.56179 9.2104 4.88408 8.8523 4.97153 8.39394C4.99472 8.27239 4.99472 8.1259 4.99472 7.83291C4.99472 7.73711 4.99472 7.68921 5.00187 7.64117C5.0273 7.47044 5.13499 7.30159 5.27154 7.21836C5.30996 7.19494 5.34476 7.18136 5.41436 7.15419C6.22353 6.83841 7.09371 6.66667 8 6.66667Z",
|
|
970
974
|
fill: color
|
|
971
975
|
}
|
|
972
976
|
),
|
|
973
|
-
/* @__PURE__ */ (0,
|
|
977
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
974
978
|
"path",
|
|
975
979
|
{
|
|
976
980
|
d: "M2 12H14M8 6.66667C8.90629 6.66667 9.77647 6.83841 10.5856 7.15419C10.6552 7.18136 10.69 7.19494 10.7285 7.21836C10.865 7.30159 10.9727 7.47044 10.9981 7.64117C11.0053 7.68921 11.0053 7.73711 11.0053 7.83291C11.0053 8.1259 11.0053 8.27239 11.0285 8.39394C11.1159 8.8523 11.4382 9.2104 11.8507 9.30757C11.9601 9.33333 12.092 9.33333 12.3557 9.33333H12.5026C12.9035 9.33333 13.1039 9.33333 13.266 9.27424C13.5883 9.1567 13.841 8.87584 13.9468 8.51773C14 8.33766 14 8.11498 14 7.6696V7.53749C14 7.09364 14 6.87172 13.9405 6.63611C13.8745 6.37466 13.7013 6.04705 13.528 5.85561C13.3718 5.68309 13.2352 5.5984 12.9619 5.42901C11.4932 4.51871 9.80113 4 8 4C6.19887 4 4.50678 4.51871 3.03812 5.42901C2.76484 5.5984 2.6282 5.68309 2.472 5.85561C2.29868 6.04705 2.12553 6.37466 2.0595 6.63611C2 6.87172 2 7.09364 2 7.53749V7.6696C2 8.11498 2 8.33766 2.05319 8.51773C2.15897 8.87584 2.41174 9.1567 2.73404 9.27424C2.8961 9.33333 3.09652 9.33333 3.49736 9.33333L3.64434 9.33333C3.90803 9.33333 4.03987 9.33333 4.14926 9.30757C4.56179 9.2104 4.88408 8.8523 4.97153 8.39394C4.99472 8.27239 4.99472 8.1259 4.99472 7.83291C4.99472 7.73711 4.99472 7.68921 5.00187 7.64117C5.0273 7.47044 5.13499 7.30159 5.27154 7.21836C5.30996 7.19494 5.34476 7.18136 5.41436 7.15419C6.22353 6.83841 7.09371 6.66667 8 6.66667Z",
|
|
@@ -987,26 +991,26 @@ var EndCallIcon = React12.forwardRef(
|
|
|
987
991
|
EndCallIcon.displayName = "EndCallIcon";
|
|
988
992
|
|
|
989
993
|
// src/atoms/pagination.tsx
|
|
990
|
-
var
|
|
994
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
991
995
|
|
|
992
996
|
// src/atoms/field-error-wrapper.tsx
|
|
993
|
-
var
|
|
997
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
994
998
|
|
|
995
999
|
// src/atoms/ellipsis-tooltip.tsx
|
|
996
|
-
var
|
|
997
|
-
var
|
|
1000
|
+
var import_react18 = require("react");
|
|
1001
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
998
1002
|
|
|
999
1003
|
// src/atoms/drawer.tsx
|
|
1000
1004
|
var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1001
|
-
var
|
|
1005
|
+
var import_themes49 = require("@radix-ui/themes");
|
|
1002
1006
|
|
|
1003
1007
|
// src/icons/close-panel-arrow.tsx
|
|
1004
1008
|
var React15 = __toESM(require("react"), 1);
|
|
1005
|
-
var
|
|
1009
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1006
1010
|
var ClosePanelArrowIcon = React15.forwardRef(
|
|
1007
1011
|
(_a, forwardedRef) => {
|
|
1008
1012
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1009
|
-
return /* @__PURE__ */ (0,
|
|
1013
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1010
1014
|
"svg",
|
|
1011
1015
|
__spreadProps(__spreadValues({
|
|
1012
1016
|
fill: "none",
|
|
@@ -1017,7 +1021,7 @@ var ClosePanelArrowIcon = React15.forwardRef(
|
|
|
1017
1021
|
}, props), {
|
|
1018
1022
|
ref: forwardedRef,
|
|
1019
1023
|
children: [
|
|
1020
|
-
/* @__PURE__ */ (0,
|
|
1024
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1021
1025
|
"path",
|
|
1022
1026
|
{
|
|
1023
1027
|
clipRule: "evenodd",
|
|
@@ -1026,7 +1030,7 @@ var ClosePanelArrowIcon = React15.forwardRef(
|
|
|
1026
1030
|
fillRule: "evenodd"
|
|
1027
1031
|
}
|
|
1028
1032
|
),
|
|
1029
|
-
/* @__PURE__ */ (0,
|
|
1033
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1030
1034
|
"path",
|
|
1031
1035
|
{
|
|
1032
1036
|
clipRule: "evenodd",
|
|
@@ -1043,22 +1047,22 @@ var ClosePanelArrowIcon = React15.forwardRef(
|
|
|
1043
1047
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
1044
1048
|
|
|
1045
1049
|
// src/atoms/drawer.tsx
|
|
1046
|
-
var
|
|
1050
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1047
1051
|
|
|
1048
1052
|
// src/atoms/toast.tsx
|
|
1049
1053
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
1050
1054
|
var import_react_toastify = require("react-toastify");
|
|
1051
1055
|
var import_react_toastify2 = require("react-toastify");
|
|
1052
|
-
var
|
|
1056
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1053
1057
|
|
|
1054
1058
|
// src/molecules/form/form.tsx
|
|
1055
1059
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
1056
|
-
var
|
|
1057
|
-
var
|
|
1058
|
-
var Root7 = (0,
|
|
1060
|
+
var import_react19 = require("react");
|
|
1061
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1062
|
+
var Root7 = (0, import_react19.forwardRef)(
|
|
1059
1063
|
(_a, ref) => {
|
|
1060
1064
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1061
|
-
return /* @__PURE__ */ (0,
|
|
1065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1062
1066
|
RadixForm.Root,
|
|
1063
1067
|
__spreadProps(__spreadValues({}, rest), {
|
|
1064
1068
|
className: `FormRoot ${className || ""}`,
|
|
@@ -1069,33 +1073,33 @@ var Root7 = (0, import_react18.forwardRef)(
|
|
|
1069
1073
|
}
|
|
1070
1074
|
);
|
|
1071
1075
|
Root7.displayName = "FORM_ROOT";
|
|
1072
|
-
var FieldContext = (0,
|
|
1076
|
+
var FieldContext = (0, import_react19.createContext)({
|
|
1073
1077
|
name: ""
|
|
1074
1078
|
});
|
|
1075
|
-
var Field2 = (0,
|
|
1079
|
+
var Field2 = (0, import_react19.forwardRef)(
|
|
1076
1080
|
(_a, ref) => {
|
|
1077
1081
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1078
|
-
return /* @__PURE__ */ (0,
|
|
1082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1079
1083
|
RadixForm.Field,
|
|
1080
1084
|
__spreadProps(__spreadValues({}, rest), {
|
|
1081
1085
|
className: `FormField ${className || ""}`,
|
|
1082
1086
|
ref,
|
|
1083
|
-
children: /* @__PURE__ */ (0,
|
|
1087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(FieldContext.Provider, { value: rest, children })
|
|
1084
1088
|
})
|
|
1085
1089
|
);
|
|
1086
1090
|
}
|
|
1087
1091
|
);
|
|
1088
1092
|
Field2.displayName = "FORM_FIELD";
|
|
1089
1093
|
function HeadingLabel(props) {
|
|
1090
|
-
return /* @__PURE__ */ (0,
|
|
1094
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
1091
1095
|
}
|
|
1092
1096
|
function CaptionLabel(props) {
|
|
1093
|
-
return /* @__PURE__ */ (0,
|
|
1097
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
1094
1098
|
}
|
|
1095
|
-
var Label2 = (0,
|
|
1099
|
+
var Label2 = (0, import_react19.forwardRef)(
|
|
1096
1100
|
(_a, ref) => {
|
|
1097
1101
|
var _b = _a, { children, className, variant } = _b, rest = __objRest(_b, ["children", "className", "variant"]);
|
|
1098
|
-
const Comp = (0,
|
|
1102
|
+
const Comp = (0, import_react19.useMemo)(() => {
|
|
1099
1103
|
switch (variant) {
|
|
1100
1104
|
case "title":
|
|
1101
1105
|
return HeadingLabel;
|
|
@@ -1106,42 +1110,42 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
1106
1110
|
return Typo;
|
|
1107
1111
|
}
|
|
1108
1112
|
}, [variant]);
|
|
1109
|
-
const fieldProps = (0,
|
|
1110
|
-
return /* @__PURE__ */ (0,
|
|
1113
|
+
const fieldProps = (0, import_react19.useContext)(FieldContext);
|
|
1114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1111
1115
|
RadixForm.Label,
|
|
1112
1116
|
__spreadProps(__spreadValues({}, rest), {
|
|
1113
1117
|
asChild: true,
|
|
1114
1118
|
className: `FormLabel ${className || ""}`,
|
|
1115
1119
|
ref,
|
|
1116
|
-
children: /* @__PURE__ */ (0,
|
|
1120
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Comp, { children: [
|
|
1117
1121
|
children,
|
|
1118
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
1122
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
1119
1123
|
] })
|
|
1120
1124
|
})
|
|
1121
1125
|
);
|
|
1122
1126
|
}
|
|
1123
1127
|
);
|
|
1124
1128
|
Label2.displayName = "FORM_Label";
|
|
1125
|
-
var Message2 = (0,
|
|
1129
|
+
var Message2 = (0, import_react19.forwardRef)(
|
|
1126
1130
|
(_a, ref) => {
|
|
1127
1131
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1128
|
-
return /* @__PURE__ */ (0,
|
|
1132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1129
1133
|
RadixForm.Message,
|
|
1130
1134
|
__spreadProps(__spreadValues({}, rest), {
|
|
1131
1135
|
asChild: true,
|
|
1132
1136
|
className: `FormMessage ${className || ""}`,
|
|
1133
1137
|
ref,
|
|
1134
|
-
children: /* @__PURE__ */ (0,
|
|
1138
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, { color: "red", children })
|
|
1135
1139
|
})
|
|
1136
1140
|
);
|
|
1137
1141
|
}
|
|
1138
1142
|
);
|
|
1139
1143
|
Message2.displayName = "FORM_Message";
|
|
1140
|
-
var Control2 = (0,
|
|
1144
|
+
var Control2 = (0, import_react19.forwardRef)(
|
|
1141
1145
|
(_a, ref) => {
|
|
1142
1146
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
1143
|
-
const fieldProps = (0,
|
|
1144
|
-
return /* @__PURE__ */ (0,
|
|
1147
|
+
const fieldProps = (0, import_react19.useContext)(FieldContext);
|
|
1148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1145
1149
|
RadixForm.Control,
|
|
1146
1150
|
__spreadProps(__spreadValues({}, rest), {
|
|
1147
1151
|
className: `FormControl ${className || ""}`,
|
|
@@ -1164,10 +1168,10 @@ function FormItem(_a) {
|
|
|
1164
1168
|
"children",
|
|
1165
1169
|
"errorMessage"
|
|
1166
1170
|
]);
|
|
1167
|
-
return /* @__PURE__ */ (0,
|
|
1168
|
-
/* @__PURE__ */ (0,
|
|
1171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1172
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
1169
1173
|
children,
|
|
1170
|
-
/* @__PURE__ */ (0,
|
|
1174
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
1171
1175
|
] }));
|
|
1172
1176
|
}
|
|
1173
1177
|
var Form = {
|
|
@@ -1181,70 +1185,70 @@ var Form = {
|
|
|
1181
1185
|
};
|
|
1182
1186
|
|
|
1183
1187
|
// src/atoms/auto-sizing-input.tsx
|
|
1184
|
-
var
|
|
1185
|
-
var
|
|
1186
|
-
var AutoSizingInput = (0,
|
|
1188
|
+
var import_react20 = require("react");
|
|
1189
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1190
|
+
var AutoSizingInput = (0, import_react20.forwardRef)(
|
|
1187
1191
|
(_a, ref) => {
|
|
1188
1192
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
1189
|
-
const [value, setValue] = (0,
|
|
1190
|
-
const [width, setWidth] = (0,
|
|
1191
|
-
const span = (0,
|
|
1192
|
-
(0,
|
|
1193
|
+
const [value, setValue] = (0, import_react20.useState)(_value);
|
|
1194
|
+
const [width, setWidth] = (0, import_react20.useState)(0);
|
|
1195
|
+
const span = (0, import_react20.useRef)(null);
|
|
1196
|
+
(0, import_react20.useEffect)(() => {
|
|
1193
1197
|
span.current && setWidth(span.current.offsetWidth);
|
|
1194
1198
|
}, [value]);
|
|
1195
|
-
const changeHandler = (0,
|
|
1199
|
+
const changeHandler = (0, import_react20.useCallback)(
|
|
1196
1200
|
(evt) => {
|
|
1197
1201
|
onChange == null ? void 0 : onChange(evt);
|
|
1198
1202
|
setValue(evt.target.value);
|
|
1199
1203
|
},
|
|
1200
1204
|
[onChange]
|
|
1201
1205
|
);
|
|
1202
|
-
(0,
|
|
1206
|
+
(0, import_react20.useEffect)(() => {
|
|
1203
1207
|
setValue(_value || "");
|
|
1204
1208
|
}, [_value]);
|
|
1205
|
-
(0,
|
|
1209
|
+
(0, import_react20.useEffect)(() => {
|
|
1206
1210
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
1207
1211
|
}, [value, onChangeValue]);
|
|
1208
|
-
return /* @__PURE__ */ (0,
|
|
1209
|
-
/* @__PURE__ */ (0,
|
|
1210
|
-
/* @__PURE__ */ (0,
|
|
1212
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1213
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
1211
1215
|
] });
|
|
1212
1216
|
}
|
|
1213
1217
|
);
|
|
1214
1218
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
1215
1219
|
|
|
1216
1220
|
// src/atoms/bullet-text.tsx
|
|
1217
|
-
var
|
|
1221
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1218
1222
|
function BulletText(_a) {
|
|
1219
1223
|
var _b = _a, {
|
|
1220
1224
|
children
|
|
1221
1225
|
} = _b, rest = __objRest(_b, [
|
|
1222
1226
|
"children"
|
|
1223
1227
|
]);
|
|
1224
|
-
return /* @__PURE__ */ (0,
|
|
1225
|
-
/* @__PURE__ */ (0,
|
|
1226
|
-
/* @__PURE__ */ (0,
|
|
1228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1229
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1230
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
1227
1231
|
] });
|
|
1228
1232
|
}
|
|
1229
1233
|
|
|
1230
1234
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
1231
|
-
var
|
|
1235
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1232
1236
|
function CoachingCustomerInfoSmall({
|
|
1233
1237
|
customer,
|
|
1234
1238
|
children,
|
|
1235
1239
|
badge
|
|
1236
1240
|
}) {
|
|
1237
|
-
return /* @__PURE__ */ (0,
|
|
1241
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1238
1242
|
import_themes22.Flex,
|
|
1239
1243
|
{
|
|
1240
1244
|
direction: { initial: "column", xs: "row" },
|
|
1241
1245
|
gap: "3",
|
|
1242
1246
|
justify: "between",
|
|
1243
1247
|
children: [
|
|
1244
|
-
/* @__PURE__ */ (0,
|
|
1245
|
-
/* @__PURE__ */ (0,
|
|
1246
|
-
/* @__PURE__ */ (0,
|
|
1247
|
-
/* @__PURE__ */ (0,
|
|
1248
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
1249
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1250
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
1251
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
1248
1252
|
] }) }),
|
|
1249
1253
|
children
|
|
1250
1254
|
]
|
|
@@ -1255,7 +1259,7 @@ function CoachingCustomerInfoSmall({
|
|
|
1255
1259
|
// src/app/platform/userInfos/utils.tsx
|
|
1256
1260
|
var import_date_fns = require("date-fns");
|
|
1257
1261
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
1258
|
-
var
|
|
1262
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1259
1263
|
var infoList = [
|
|
1260
1264
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
1261
1265
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -1315,21 +1319,21 @@ var sessionList = [
|
|
|
1315
1319
|
var renderItem = (args) => {
|
|
1316
1320
|
const { info, data, onClickCopy } = args;
|
|
1317
1321
|
const value = info.getValue(data);
|
|
1318
|
-
return /* @__PURE__ */ (0,
|
|
1322
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
|
|
1319
1323
|
info.render ? info.render(value) : value || "-",
|
|
1320
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
1324
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
1321
1325
|
] });
|
|
1322
1326
|
};
|
|
1323
1327
|
var renderDataListItem = (args) => {
|
|
1324
1328
|
const { info, data, onClickCopy } = args;
|
|
1325
|
-
return /* @__PURE__ */ (0,
|
|
1326
|
-
/* @__PURE__ */ (0,
|
|
1327
|
-
/* @__PURE__ */ (0,
|
|
1329
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1330
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
1331
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
1328
1332
|
] }, info.label);
|
|
1329
1333
|
};
|
|
1330
1334
|
function CopyButton(props) {
|
|
1331
1335
|
const { value, onClickCopy } = props;
|
|
1332
|
-
return /* @__PURE__ */ (0,
|
|
1336
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1333
1337
|
Button,
|
|
1334
1338
|
{
|
|
1335
1339
|
color: "gray",
|
|
@@ -1338,13 +1342,13 @@ function CopyButton(props) {
|
|
|
1338
1342
|
},
|
|
1339
1343
|
style: { marginLeft: "0", marginTop: "0" },
|
|
1340
1344
|
variant: "transparent",
|
|
1341
|
-
children: /* @__PURE__ */ (0,
|
|
1345
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons4.CopyIcon, {})
|
|
1342
1346
|
}
|
|
1343
1347
|
);
|
|
1344
1348
|
}
|
|
1345
1349
|
|
|
1346
1350
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
1347
|
-
var
|
|
1351
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1348
1352
|
function CoachingCustomerInfoMedium({
|
|
1349
1353
|
customer,
|
|
1350
1354
|
session,
|
|
@@ -1352,28 +1356,28 @@ function CoachingCustomerInfoMedium({
|
|
|
1352
1356
|
badge,
|
|
1353
1357
|
onClickCopy
|
|
1354
1358
|
}) {
|
|
1355
|
-
return /* @__PURE__ */ (0,
|
|
1356
|
-
/* @__PURE__ */ (0,
|
|
1357
|
-
/* @__PURE__ */ (0,
|
|
1358
|
-
/* @__PURE__ */ (0,
|
|
1359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1360
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes6.Box, { children: [
|
|
1361
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1362
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1359
1363
|
badge
|
|
1360
1364
|
] }),
|
|
1361
|
-
/* @__PURE__ */ (0,
|
|
1365
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1362
1366
|
] }),
|
|
1363
1367
|
children,
|
|
1364
|
-
/* @__PURE__ */ (0,
|
|
1368
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1365
1369
|
(el) => renderDataListItem({
|
|
1366
1370
|
info: el,
|
|
1367
1371
|
data: session,
|
|
1368
1372
|
onClickCopy
|
|
1369
1373
|
})
|
|
1370
1374
|
) }) }),
|
|
1371
|
-
/* @__PURE__ */ (0,
|
|
1372
|
-
/* @__PURE__ */ (0,
|
|
1373
|
-
/* @__PURE__ */ (0,
|
|
1375
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
1376
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
1377
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes39.Separator, { size: "4" })
|
|
1374
1378
|
] }),
|
|
1375
|
-
/* @__PURE__ */ (0,
|
|
1376
|
-
return /* @__PURE__ */ (0,
|
|
1379
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
1380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { children: renderItem({
|
|
1377
1381
|
info: el,
|
|
1378
1382
|
data: customer,
|
|
1379
1383
|
onClickCopy
|
|
@@ -1383,7 +1387,7 @@ function CoachingCustomerInfoMedium({
|
|
|
1383
1387
|
}
|
|
1384
1388
|
|
|
1385
1389
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
1386
|
-
var
|
|
1390
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1387
1391
|
function CoachingCustomerInfoLarge({
|
|
1388
1392
|
customer,
|
|
1389
1393
|
session,
|
|
@@ -1391,24 +1395,24 @@ function CoachingCustomerInfoLarge({
|
|
|
1391
1395
|
badge,
|
|
1392
1396
|
onClickCopy
|
|
1393
1397
|
}) {
|
|
1394
|
-
return /* @__PURE__ */ (0,
|
|
1395
|
-
/* @__PURE__ */ (0,
|
|
1396
|
-
/* @__PURE__ */ (0,
|
|
1397
|
-
/* @__PURE__ */ (0,
|
|
1398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1399
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes6.Box, { children: [
|
|
1400
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1401
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1398
1402
|
badge
|
|
1399
1403
|
] }),
|
|
1400
|
-
/* @__PURE__ */ (0,
|
|
1404
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1401
1405
|
] }),
|
|
1402
1406
|
children,
|
|
1403
|
-
/* @__PURE__ */ (0,
|
|
1407
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1404
1408
|
(el) => renderDataListItem({
|
|
1405
1409
|
info: el,
|
|
1406
1410
|
data: session,
|
|
1407
1411
|
onClickCopy
|
|
1408
1412
|
})
|
|
1409
1413
|
) }) }),
|
|
1410
|
-
/* @__PURE__ */ (0,
|
|
1411
|
-
/* @__PURE__ */ (0,
|
|
1414
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes39.Separator, { size: "4" }),
|
|
1415
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1412
1416
|
(info) => renderDataListItem({
|
|
1413
1417
|
info,
|
|
1414
1418
|
data: customer,
|
|
@@ -1419,19 +1423,19 @@ function CoachingCustomerInfoLarge({
|
|
|
1419
1423
|
}
|
|
1420
1424
|
|
|
1421
1425
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
1422
|
-
var
|
|
1426
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1423
1427
|
function CoachingCustomerInfo(props) {
|
|
1424
|
-
return /* @__PURE__ */ (0,
|
|
1425
|
-
/* @__PURE__ */ (0,
|
|
1426
|
-
/* @__PURE__ */ (0,
|
|
1427
|
-
/* @__PURE__ */ (0,
|
|
1428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
|
|
1429
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
1430
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
1431
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
1428
1432
|
] });
|
|
1429
1433
|
}
|
|
1430
1434
|
|
|
1431
1435
|
// src/app/platform/goal-manage-card-read.tsx
|
|
1432
|
-
var
|
|
1436
|
+
var import_react21 = require("react");
|
|
1433
1437
|
var import_date_fns2 = require("date-fns");
|
|
1434
|
-
var
|
|
1438
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1435
1439
|
function GoalManageCardRead(props) {
|
|
1436
1440
|
const {
|
|
1437
1441
|
title,
|
|
@@ -1445,12 +1449,12 @@ function GoalManageCardRead(props) {
|
|
|
1445
1449
|
onClickIncomplete,
|
|
1446
1450
|
onClickComplete
|
|
1447
1451
|
} = props;
|
|
1448
|
-
const [open, setOpen] = (0,
|
|
1449
|
-
const onClickOpen = (0,
|
|
1452
|
+
const [open, setOpen] = (0, import_react21.useState)(Boolean(defaultOpen));
|
|
1453
|
+
const onClickOpen = (0, import_react21.useCallback)(() => {
|
|
1450
1454
|
setOpen((p) => !p);
|
|
1451
1455
|
}, []);
|
|
1452
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
1453
|
-
const badgeMeta = (0,
|
|
1456
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
1457
|
+
const badgeMeta = (0, import_react21.useMemo)(() => {
|
|
1454
1458
|
if (!completed && dueDate) {
|
|
1455
1459
|
if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
|
|
1456
1460
|
return {
|
|
@@ -1461,41 +1465,41 @@ function GoalManageCardRead(props) {
|
|
|
1461
1465
|
}
|
|
1462
1466
|
return null;
|
|
1463
1467
|
}, [completed, dueDate]);
|
|
1464
|
-
const renderSubTitle = (0,
|
|
1465
|
-
return /* @__PURE__ */ (0,
|
|
1468
|
+
const renderSubTitle = (0, import_react21.useCallback)((subTitle) => {
|
|
1469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
1466
1470
|
}, []);
|
|
1467
|
-
const renderSubContent = (0,
|
|
1468
|
-
return /* @__PURE__ */ (0,
|
|
1471
|
+
const renderSubContent = (0, import_react21.useCallback)((content) => {
|
|
1472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
1469
1473
|
}, []);
|
|
1470
|
-
const renderCompleteButton = (0,
|
|
1474
|
+
const renderCompleteButton = (0, import_react21.useCallback)(() => {
|
|
1471
1475
|
if (completed) {
|
|
1472
|
-
return /* @__PURE__ */ (0,
|
|
1476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
1473
1477
|
}
|
|
1474
|
-
return /* @__PURE__ */ (0,
|
|
1475
|
-
/* @__PURE__ */ (0,
|
|
1476
|
-
/* @__PURE__ */ (0,
|
|
1478
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1479
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Button, { size: "small", children: [
|
|
1480
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_icons2.RocketIcon, {}),
|
|
1477
1481
|
"\uB2EC\uC131\uD558\uAE30"
|
|
1478
1482
|
] }) }),
|
|
1479
|
-
/* @__PURE__ */ (0,
|
|
1480
|
-
/* @__PURE__ */ (0,
|
|
1481
|
-
/* @__PURE__ */ (0,
|
|
1482
|
-
/* @__PURE__ */ (0,
|
|
1483
|
-
/* @__PURE__ */ (0,
|
|
1483
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1484
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1485
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1486
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1487
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
1484
1488
|
] })
|
|
1485
1489
|
] })
|
|
1486
1490
|
] });
|
|
1487
1491
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
1488
|
-
return /* @__PURE__ */ (0,
|
|
1489
|
-
/* @__PURE__ */ (0,
|
|
1490
|
-
/* @__PURE__ */ (0,
|
|
1491
|
-
/* @__PURE__ */ (0,
|
|
1492
|
-
/* @__PURE__ */ (0,
|
|
1493
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
1494
|
-
/* @__PURE__ */ (0,
|
|
1492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
1493
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
1494
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
1495
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
1497
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
1498
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
1495
1499
|
] }),
|
|
1496
1500
|
renderCompleteButton()
|
|
1497
1501
|
] }),
|
|
1498
|
-
open ? /* @__PURE__ */ (0,
|
|
1502
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1499
1503
|
import_themes39.Separator,
|
|
1500
1504
|
{
|
|
1501
1505
|
mb: "4",
|
|
@@ -1504,37 +1508,37 @@ function GoalManageCardRead(props) {
|
|
|
1504
1508
|
style: { gridColumnStart: "span 2" }
|
|
1505
1509
|
}
|
|
1506
1510
|
) : null,
|
|
1507
|
-
/* @__PURE__ */ (0,
|
|
1508
|
-
/* @__PURE__ */ (0,
|
|
1509
|
-
/* @__PURE__ */ (0,
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Collapse, { open, children: [
|
|
1512
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1513
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes6.Box, { children: [
|
|
1510
1514
|
renderSubTitle(
|
|
1511
1515
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
1512
1516
|
),
|
|
1513
1517
|
renderSubContent(expectedEffect)
|
|
1514
1518
|
] }),
|
|
1515
|
-
/* @__PURE__ */ (0,
|
|
1519
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes6.Box, { children: [
|
|
1516
1520
|
renderSubTitle(
|
|
1517
1521
|
"\uBAA9\uD45C\uB97C \uC774\uB8E8\uAE30\uAE4C\uC9C0 \uBC29\uD574\uAC00 \uB420 \uC218 \uC788\uB294 \uC694\uC18C\uB4E4\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4"
|
|
1518
1522
|
),
|
|
1519
1523
|
renderSubContent(huddle)
|
|
1520
1524
|
] })
|
|
1521
1525
|
] }),
|
|
1522
|
-
/* @__PURE__ */ (0,
|
|
1523
|
-
/* @__PURE__ */ (0,
|
|
1524
|
-
/* @__PURE__ */ (0,
|
|
1525
|
-
/* @__PURE__ */ (0,
|
|
1526
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
1527
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1528
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
1529
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_icons2.TrashIcon, {}),
|
|
1526
1530
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
1527
1531
|
] }) }),
|
|
1528
|
-
/* @__PURE__ */ (0,
|
|
1529
|
-
/* @__PURE__ */ (0,
|
|
1530
|
-
/* @__PURE__ */ (0,
|
|
1531
|
-
/* @__PURE__ */ (0,
|
|
1532
|
-
/* @__PURE__ */ (0,
|
|
1532
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1533
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1534
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1535
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1536
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
1533
1537
|
] })
|
|
1534
1538
|
] })
|
|
1535
1539
|
] }),
|
|
1536
|
-
/* @__PURE__ */ (0,
|
|
1537
|
-
/* @__PURE__ */ (0,
|
|
1540
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
1541
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
1538
1542
|
"\uC218\uC815\uD558\uAE30"
|
|
1539
1543
|
] })
|
|
1540
1544
|
] })
|
|
@@ -1543,38 +1547,38 @@ function GoalManageCardRead(props) {
|
|
|
1543
1547
|
}
|
|
1544
1548
|
|
|
1545
1549
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
1546
|
-
var
|
|
1550
|
+
var import_react31 = require("react");
|
|
1547
1551
|
var import_date_fns5 = require("date-fns");
|
|
1548
1552
|
|
|
1549
1553
|
// src/molecules/expand-table/index.tsx
|
|
1550
1554
|
var import_react_table2 = require("@tanstack/react-table");
|
|
1551
|
-
var
|
|
1555
|
+
var import_react23 = require("react");
|
|
1552
1556
|
|
|
1553
1557
|
// src/molecules/expand-table/row.tsx
|
|
1554
1558
|
var import_react_table = require("@tanstack/react-table");
|
|
1555
|
-
var
|
|
1556
|
-
var
|
|
1559
|
+
var import_react22 = require("react");
|
|
1560
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1557
1561
|
|
|
1558
1562
|
// src/molecules/expand-table/index.tsx
|
|
1559
|
-
var
|
|
1563
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1560
1564
|
|
|
1561
1565
|
// src/molecules/navigation.tsx
|
|
1562
|
-
var
|
|
1566
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1563
1567
|
|
|
1564
1568
|
// src/molecules/date-picker/index.tsx
|
|
1565
|
-
var
|
|
1569
|
+
var import_react24 = require("react");
|
|
1566
1570
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
1567
1571
|
var import_react_datepicker = require("react-datepicker");
|
|
1568
1572
|
var import_locale = require("date-fns/locale");
|
|
1569
|
-
var
|
|
1573
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1570
1574
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
1571
1575
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
1572
1576
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
1573
|
-
var DatePicker = (0,
|
|
1577
|
+
var DatePicker = (0, import_react24.forwardRef)(
|
|
1574
1578
|
(props, ref) => {
|
|
1575
1579
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1576
1580
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1577
|
-
return /* @__PURE__ */ (0,
|
|
1581
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1578
1582
|
ReactDatePicker,
|
|
1579
1583
|
__spreadProps(__spreadValues({
|
|
1580
1584
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1605,102 +1609,102 @@ var renderCustomHeader = (props) => {
|
|
|
1605
1609
|
} = props;
|
|
1606
1610
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1607
1611
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1608
|
-
return /* @__PURE__ */ (0,
|
|
1609
|
-
/* @__PURE__ */ (0,
|
|
1612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1613
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1610
1614
|
import_themes18.IconButton,
|
|
1611
1615
|
{
|
|
1612
1616
|
disabled: prevMonthButtonDisabled,
|
|
1613
1617
|
onClick: decreaseMonth,
|
|
1614
1618
|
type: "button",
|
|
1615
1619
|
variant: "ghost",
|
|
1616
|
-
children: /* @__PURE__ */ (0,
|
|
1620
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
1617
1621
|
}
|
|
1618
1622
|
),
|
|
1619
|
-
/* @__PURE__ */ (0,
|
|
1620
|
-
/* @__PURE__ */ (0,
|
|
1623
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1621
1625
|
year,
|
|
1622
1626
|
"\uB144"
|
|
1623
1627
|
] }),
|
|
1624
|
-
/* @__PURE__ */ (0,
|
|
1628
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1625
1629
|
month,
|
|
1626
1630
|
"\uC6D4"
|
|
1627
1631
|
] })
|
|
1628
1632
|
] }),
|
|
1629
|
-
/* @__PURE__ */ (0,
|
|
1633
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1630
1634
|
import_themes18.IconButton,
|
|
1631
1635
|
{
|
|
1632
1636
|
disabled: nextMonthButtonDisabled,
|
|
1633
1637
|
onClick: increaseMonth,
|
|
1634
1638
|
type: "button",
|
|
1635
1639
|
variant: "ghost",
|
|
1636
|
-
children: /* @__PURE__ */ (0,
|
|
1640
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
1637
1641
|
}
|
|
1638
1642
|
)
|
|
1639
1643
|
] });
|
|
1640
1644
|
};
|
|
1641
1645
|
|
|
1642
1646
|
// src/molecules/dot-navigation.tsx
|
|
1643
|
-
var
|
|
1647
|
+
var import_react25 = require("react");
|
|
1644
1648
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1645
|
-
var
|
|
1649
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1646
1650
|
|
|
1647
1651
|
// src/molecules/stepper.tsx
|
|
1648
|
-
var
|
|
1649
|
-
var
|
|
1650
|
-
var
|
|
1651
|
-
var StepContext = (0,
|
|
1652
|
+
var import_react26 = require("react");
|
|
1653
|
+
var import_themes50 = require("@radix-ui/themes");
|
|
1654
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1655
|
+
var StepContext = (0, import_react26.createContext)({
|
|
1652
1656
|
active: false,
|
|
1653
1657
|
completed: false,
|
|
1654
1658
|
index: 0
|
|
1655
1659
|
});
|
|
1656
1660
|
|
|
1657
1661
|
// src/molecules/tag-selector.tsx
|
|
1658
|
-
var
|
|
1662
|
+
var import_react27 = require("react");
|
|
1659
1663
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
1660
|
-
var
|
|
1664
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1661
1665
|
|
|
1662
1666
|
// src/theme/theme-provider.tsx
|
|
1663
|
-
var
|
|
1664
|
-
var
|
|
1667
|
+
var import_themes51 = require("@radix-ui/themes");
|
|
1668
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1665
1669
|
|
|
1666
1670
|
// src/molecules/learning-post.tsx
|
|
1667
|
-
var
|
|
1671
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1668
1672
|
|
|
1669
1673
|
// src/molecules/force-refresh.tsx
|
|
1670
1674
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
1671
|
-
var
|
|
1675
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1672
1676
|
|
|
1673
1677
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
1674
|
-
var
|
|
1678
|
+
var import_react28 = require("react");
|
|
1675
1679
|
var import_date_fns3 = require("date-fns");
|
|
1676
1680
|
var import_clsx2 = require("clsx");
|
|
1677
|
-
var
|
|
1681
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1678
1682
|
function DatePickerButton(props) {
|
|
1679
1683
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
1680
|
-
const buttonProps = (0,
|
|
1684
|
+
const buttonProps = (0, import_react28.useMemo)(() => {
|
|
1681
1685
|
const variant = "outline";
|
|
1682
1686
|
const color = "gray";
|
|
1683
1687
|
return { size, color, variant, disabled };
|
|
1684
1688
|
}, [disabled, size]);
|
|
1685
|
-
const selectFormat = (0,
|
|
1689
|
+
const selectFormat = (0, import_react28.useMemo)(() => {
|
|
1686
1690
|
if (formatProps)
|
|
1687
1691
|
return formatProps;
|
|
1688
1692
|
return (date) => {
|
|
1689
1693
|
return date ? (0, import_date_fns3.format)(date, "yyyy\uB144 MM\uC6D4 dd\uC77C") : placeholder;
|
|
1690
1694
|
};
|
|
1691
1695
|
}, [formatProps, placeholder]);
|
|
1692
|
-
const className = (0,
|
|
1696
|
+
const className = (0, import_react28.useMemo)(() => {
|
|
1693
1697
|
return (0, import_clsx2.clsx)(
|
|
1694
1698
|
"date-picker-button",
|
|
1695
1699
|
(disabled || props.readOnly) && "disabled"
|
|
1696
1700
|
);
|
|
1697
1701
|
}, [disabled, props.readOnly]);
|
|
1698
|
-
return /* @__PURE__ */ (0,
|
|
1702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
1699
1703
|
DatePicker,
|
|
1700
1704
|
__spreadProps(__spreadValues({
|
|
1701
|
-
customInput: /* @__PURE__ */ (0,
|
|
1705
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1702
1706
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1703
|
-
/* @__PURE__ */ (0,
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons2.CalendarIcon, {})
|
|
1704
1708
|
] }) })),
|
|
1705
1709
|
wrapperClassName: "full-width"
|
|
1706
1710
|
}, rest), {
|
|
@@ -1710,7 +1714,7 @@ function DatePickerButton(props) {
|
|
|
1710
1714
|
}
|
|
1711
1715
|
|
|
1712
1716
|
// src/molecules/time-select.tsx
|
|
1713
|
-
var
|
|
1717
|
+
var import_react29 = require("react");
|
|
1714
1718
|
var import_date_fns4 = require("date-fns");
|
|
1715
1719
|
|
|
1716
1720
|
// src/utils/get-time-options.ts
|
|
@@ -1736,7 +1740,7 @@ var getTimeOption = (time) => {
|
|
|
1736
1740
|
};
|
|
1737
1741
|
|
|
1738
1742
|
// src/molecules/time-select.tsx
|
|
1739
|
-
var
|
|
1743
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1740
1744
|
var getOptionValue = (date, timeValue) => {
|
|
1741
1745
|
if (date && timeValue) {
|
|
1742
1746
|
if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -1756,31 +1760,31 @@ function TimeSelect(_a) {
|
|
|
1756
1760
|
"minTime",
|
|
1757
1761
|
"time"
|
|
1758
1762
|
]);
|
|
1759
|
-
const timeOptions = (0,
|
|
1763
|
+
const timeOptions = (0, import_react29.useMemo)(() => {
|
|
1760
1764
|
return getTimeOptions();
|
|
1761
1765
|
}, []);
|
|
1762
|
-
const [minOption, maxOption] = (0,
|
|
1766
|
+
const [minOption, maxOption] = (0, import_react29.useMemo)(() => {
|
|
1763
1767
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1764
1768
|
}, [maxTime, minTime, time]);
|
|
1765
|
-
return /* @__PURE__ */ (0,
|
|
1766
|
-
/* @__PURE__ */ (0,
|
|
1767
|
-
/* @__PURE__ */ (0,
|
|
1769
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1770
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1771
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1768
1772
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1769
1773
|
if (!visible) {
|
|
1770
1774
|
return null;
|
|
1771
1775
|
}
|
|
1772
|
-
return /* @__PURE__ */ (0,
|
|
1776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Select.Item, { value: option, children: option }, option);
|
|
1773
1777
|
}) })
|
|
1774
1778
|
] }));
|
|
1775
1779
|
}
|
|
1776
1780
|
|
|
1777
1781
|
// src/molecules/radio-button-card.tsx
|
|
1778
|
-
var
|
|
1779
|
-
var
|
|
1780
|
-
var RadioCardContext = (0,
|
|
1782
|
+
var import_react30 = require("react");
|
|
1783
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1784
|
+
var RadioCardContext = (0, import_react30.createContext)({});
|
|
1781
1785
|
function Root8(props) {
|
|
1782
|
-
const [value, setValue] = (0,
|
|
1783
|
-
const onValueChange = (0,
|
|
1786
|
+
const [value, setValue] = (0, import_react30.useState)(props.value || props.defaultValue);
|
|
1787
|
+
const onValueChange = (0, import_react30.useCallback)(
|
|
1784
1788
|
(v) => {
|
|
1785
1789
|
var _a;
|
|
1786
1790
|
setValue(v);
|
|
@@ -1788,7 +1792,7 @@ function Root8(props) {
|
|
|
1788
1792
|
},
|
|
1789
1793
|
[props]
|
|
1790
1794
|
);
|
|
1791
|
-
return /* @__PURE__ */ (0,
|
|
1795
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
1792
1796
|
}
|
|
1793
1797
|
function Item(_a) {
|
|
1794
1798
|
var _b = _a, {
|
|
@@ -1796,18 +1800,18 @@ function Item(_a) {
|
|
|
1796
1800
|
} = _b, itemRest = __objRest(_b, [
|
|
1797
1801
|
"children"
|
|
1798
1802
|
]);
|
|
1799
|
-
const _a2 = (0,
|
|
1803
|
+
const _a2 = (0, import_react30.useContext)(RadioCardContext), {
|
|
1800
1804
|
value,
|
|
1801
1805
|
justify,
|
|
1802
|
-
RadioWrapper =
|
|
1806
|
+
RadioWrapper = import_react30.Fragment
|
|
1803
1807
|
} = _a2, rootRest = __objRest(_a2, [
|
|
1804
1808
|
"value",
|
|
1805
1809
|
"justify",
|
|
1806
1810
|
"RadioWrapper"
|
|
1807
1811
|
]);
|
|
1808
|
-
return /* @__PURE__ */ (0,
|
|
1812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1809
1813
|
children,
|
|
1810
|
-
/* @__PURE__ */ (0,
|
|
1814
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1811
1815
|
import_themes32.Radio,
|
|
1812
1816
|
{
|
|
1813
1817
|
checked: itemRest.value === value,
|
|
@@ -1824,13 +1828,13 @@ var RadioButtonCard = {
|
|
|
1824
1828
|
|
|
1825
1829
|
// src/molecules/download-card.tsx
|
|
1826
1830
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
1827
|
-
var
|
|
1831
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1828
1832
|
|
|
1829
1833
|
// src/molecules/ghost-post.tsx
|
|
1830
|
-
var
|
|
1834
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1831
1835
|
|
|
1832
1836
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
1833
|
-
var
|
|
1837
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
1834
1838
|
var initialValues = {
|
|
1835
1839
|
goal: "",
|
|
1836
1840
|
effect: "",
|
|
@@ -1841,8 +1845,8 @@ var dummyFn = () => {
|
|
|
1841
1845
|
};
|
|
1842
1846
|
function GoalManageCardEdit(props) {
|
|
1843
1847
|
const { defaultValues, errors } = props;
|
|
1844
|
-
const [values, setValues] = (0,
|
|
1845
|
-
const onChange = (0,
|
|
1848
|
+
const [values, setValues] = (0, import_react31.useState)(defaultValues || initialValues);
|
|
1849
|
+
const onChange = (0, import_react31.useCallback)(
|
|
1846
1850
|
(v) => {
|
|
1847
1851
|
var _a;
|
|
1848
1852
|
setValues((prev) => __spreadValues(__spreadValues({}, prev), v));
|
|
@@ -1850,20 +1854,20 @@ function GoalManageCardEdit(props) {
|
|
|
1850
1854
|
},
|
|
1851
1855
|
[props]
|
|
1852
1856
|
);
|
|
1853
|
-
const onClickInit = (0,
|
|
1857
|
+
const onClickInit = (0, import_react31.useCallback)(() => {
|
|
1854
1858
|
var _a;
|
|
1855
1859
|
setValues(initialValues);
|
|
1856
1860
|
(_a = props.onChange) == null ? void 0 : _a.call(props, defaultValues || initialValues);
|
|
1857
1861
|
}, [defaultValues, props]);
|
|
1858
|
-
const onClickSubmit = (0,
|
|
1862
|
+
const onClickSubmit = (0, import_react31.useCallback)(() => {
|
|
1859
1863
|
var _a;
|
|
1860
1864
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
1861
1865
|
}, [props, values]);
|
|
1862
|
-
return /* @__PURE__ */ (0,
|
|
1863
|
-
/* @__PURE__ */ (0,
|
|
1864
|
-
/* @__PURE__ */ (0,
|
|
1865
|
-
/* @__PURE__ */ (0,
|
|
1866
|
-
/* @__PURE__ */ (0,
|
|
1866
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
1867
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1868
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "title", children: [
|
|
1869
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1870
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1867
1871
|
TextField.Root,
|
|
1868
1872
|
{
|
|
1869
1873
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -1874,11 +1878,11 @@ function GoalManageCardEdit(props) {
|
|
|
1874
1878
|
value: values.goal
|
|
1875
1879
|
}
|
|
1876
1880
|
),
|
|
1877
|
-
/* @__PURE__ */ (0,
|
|
1881
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
1878
1882
|
] }),
|
|
1879
|
-
/* @__PURE__ */ (0,
|
|
1880
|
-
/* @__PURE__ */ (0,
|
|
1881
|
-
/* @__PURE__ */ (0,
|
|
1883
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "effect", children: [
|
|
1884
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
1885
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1882
1886
|
TextArea,
|
|
1883
1887
|
{
|
|
1884
1888
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -1890,11 +1894,11 @@ function GoalManageCardEdit(props) {
|
|
|
1890
1894
|
value: values.effect
|
|
1891
1895
|
}
|
|
1892
1896
|
),
|
|
1893
|
-
/* @__PURE__ */ (0,
|
|
1897
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
1894
1898
|
] }),
|
|
1895
|
-
/* @__PURE__ */ (0,
|
|
1896
|
-
/* @__PURE__ */ (0,
|
|
1897
|
-
/* @__PURE__ */ (0,
|
|
1899
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "huddle", children: [
|
|
1900
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
1901
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1898
1902
|
TextArea,
|
|
1899
1903
|
{
|
|
1900
1904
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -1908,11 +1912,11 @@ function GoalManageCardEdit(props) {
|
|
|
1908
1912
|
value: values.huddle
|
|
1909
1913
|
}
|
|
1910
1914
|
),
|
|
1911
|
-
/* @__PURE__ */ (0,
|
|
1915
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
1912
1916
|
] }),
|
|
1913
|
-
/* @__PURE__ */ (0,
|
|
1914
|
-
/* @__PURE__ */ (0,
|
|
1915
|
-
/* @__PURE__ */ (0,
|
|
1917
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
1918
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1919
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1916
1920
|
DatePickerButton,
|
|
1917
1921
|
{
|
|
1918
1922
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -1923,11 +1927,11 @@ function GoalManageCardEdit(props) {
|
|
|
1923
1927
|
selected: values.dueDate
|
|
1924
1928
|
}
|
|
1925
1929
|
),
|
|
1926
|
-
/* @__PURE__ */ (0,
|
|
1930
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
1927
1931
|
] })
|
|
1928
1932
|
] }),
|
|
1929
|
-
/* @__PURE__ */ (0,
|
|
1930
|
-
/* @__PURE__ */ (0,
|
|
1933
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
1934
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1931
1935
|
Button,
|
|
1932
1936
|
{
|
|
1933
1937
|
color: "gray",
|
|
@@ -1938,18 +1942,18 @@ function GoalManageCardEdit(props) {
|
|
|
1938
1942
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
1939
1943
|
}
|
|
1940
1944
|
),
|
|
1941
|
-
/* @__PURE__ */ (0,
|
|
1945
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
1942
1946
|
] })
|
|
1943
1947
|
] }) });
|
|
1944
1948
|
}
|
|
1945
1949
|
|
|
1946
1950
|
// src/app/platform/session-card.tsx
|
|
1947
|
-
var
|
|
1951
|
+
var import_react34 = require("react");
|
|
1948
1952
|
var import_date_fns6 = require("date-fns");
|
|
1949
1953
|
|
|
1950
1954
|
// src/app/platform/edit-coaching-time.tsx
|
|
1951
|
-
var
|
|
1952
|
-
var
|
|
1955
|
+
var import_react32 = require("react");
|
|
1956
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
1953
1957
|
var getValueFromDefaultValue = (args) => {
|
|
1954
1958
|
return {
|
|
1955
1959
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -1969,14 +1973,14 @@ var getDateFromValue = (date, time) => {
|
|
|
1969
1973
|
};
|
|
1970
1974
|
function EditCoachingTime(props) {
|
|
1971
1975
|
const { defaultEndAt, defaultStartAt, onClickCancel } = props;
|
|
1972
|
-
const [values, setValues] = (0,
|
|
1976
|
+
const [values, setValues] = (0, import_react32.useState)(() => {
|
|
1973
1977
|
return getValueFromDefaultValue({
|
|
1974
1978
|
startAt: defaultStartAt,
|
|
1975
1979
|
endAt: defaultEndAt
|
|
1976
1980
|
});
|
|
1977
1981
|
});
|
|
1978
|
-
const [timeError, setTimeError] = (0,
|
|
1979
|
-
const checkTimeError = (0,
|
|
1982
|
+
const [timeError, setTimeError] = (0, import_react32.useState)("");
|
|
1983
|
+
const checkTimeError = (0, import_react32.useCallback)(
|
|
1980
1984
|
(startTime, endTime) => {
|
|
1981
1985
|
const error = startTime >= endTime ? "\uC2DC\uC791\uC2DC\uAC04\uC744 \uC885\uB8CC\uC2DC\uAC04\uBCF4\uB2E4 \uBE60\uB974\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694." : "";
|
|
1982
1986
|
if (error) {
|
|
@@ -1987,7 +1991,7 @@ function EditCoachingTime(props) {
|
|
|
1987
1991
|
},
|
|
1988
1992
|
[]
|
|
1989
1993
|
);
|
|
1990
|
-
const onChangeStartTime = (0,
|
|
1994
|
+
const onChangeStartTime = (0, import_react32.useCallback)(
|
|
1991
1995
|
(v) => {
|
|
1992
1996
|
checkTimeError(v, values.endTime);
|
|
1993
1997
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -1996,7 +2000,7 @@ function EditCoachingTime(props) {
|
|
|
1996
2000
|
},
|
|
1997
2001
|
[checkTimeError, values.endTime]
|
|
1998
2002
|
);
|
|
1999
|
-
const onChangeEndTime = (0,
|
|
2003
|
+
const onChangeEndTime = (0, import_react32.useCallback)(
|
|
2000
2004
|
(v) => {
|
|
2001
2005
|
checkTimeError(values.startTime, v);
|
|
2002
2006
|
setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -2005,12 +2009,12 @@ function EditCoachingTime(props) {
|
|
|
2005
2009
|
},
|
|
2006
2010
|
[checkTimeError, values.startTime]
|
|
2007
2011
|
);
|
|
2008
|
-
const onChangeDate = (0,
|
|
2012
|
+
const onChangeDate = (0, import_react32.useCallback)((date) => {
|
|
2009
2013
|
date && setValues((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
2010
2014
|
date
|
|
2011
2015
|
}));
|
|
2012
2016
|
}, []);
|
|
2013
|
-
const onClickSave = (0,
|
|
2017
|
+
const onClickSave = (0, import_react32.useCallback)(() => {
|
|
2014
2018
|
if (checkTimeError(values.startTime, values.endTime)) {
|
|
2015
2019
|
const startAt = getDateFromValue(values.date, values.startTime);
|
|
2016
2020
|
const endAt = getDateFromValue(values.date, values.endTime);
|
|
@@ -2019,10 +2023,10 @@ function EditCoachingTime(props) {
|
|
|
2019
2023
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
2020
2024
|
}
|
|
2021
2025
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
2022
|
-
return /* @__PURE__ */ (0,
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2024
|
-
/* @__PURE__ */ (0,
|
|
2025
|
-
/* @__PURE__ */ (0,
|
|
2026
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Form.Root, { children: [
|
|
2027
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Form.Field, { name: "date", children: [
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2026
2030
|
DatePickerButton,
|
|
2027
2031
|
{
|
|
2028
2032
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -2032,7 +2036,7 @@ function EditCoachingTime(props) {
|
|
|
2032
2036
|
}
|
|
2033
2037
|
)
|
|
2034
2038
|
] }),
|
|
2035
|
-
/* @__PURE__ */ (0,
|
|
2039
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2036
2040
|
import_themes23.Grid,
|
|
2037
2041
|
{
|
|
2038
2042
|
align: "center",
|
|
@@ -2047,10 +2051,10 @@ function EditCoachingTime(props) {
|
|
|
2047
2051
|
mt: "5",
|
|
2048
2052
|
width: "100%",
|
|
2049
2053
|
children: [
|
|
2050
|
-
/* @__PURE__ */ (0,
|
|
2051
|
-
/* @__PURE__ */ (0,
|
|
2052
|
-
/* @__PURE__ */ (0,
|
|
2053
|
-
/* @__PURE__ */ (0,
|
|
2054
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
2055
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {}),
|
|
2056
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
2057
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2054
2058
|
TimeSelect,
|
|
2055
2059
|
{
|
|
2056
2060
|
onValueChange: onChangeStartTime,
|
|
@@ -2058,8 +2062,8 @@ function EditCoachingTime(props) {
|
|
|
2058
2062
|
value: values.startTime
|
|
2059
2063
|
}
|
|
2060
2064
|
),
|
|
2061
|
-
/* @__PURE__ */ (0,
|
|
2062
|
-
/* @__PURE__ */ (0,
|
|
2065
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes39.Separator, {}) }),
|
|
2066
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2063
2067
|
TimeSelect,
|
|
2064
2068
|
{
|
|
2065
2069
|
onValueChange: onChangeEndTime,
|
|
@@ -2067,36 +2071,36 @@ function EditCoachingTime(props) {
|
|
|
2067
2071
|
value: values.endTime
|
|
2068
2072
|
}
|
|
2069
2073
|
),
|
|
2070
|
-
/* @__PURE__ */ (0,
|
|
2074
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
2071
2075
|
]
|
|
2072
2076
|
}
|
|
2073
2077
|
),
|
|
2074
|
-
/* @__PURE__ */ (0,
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2076
|
-
/* @__PURE__ */ (0,
|
|
2078
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
2079
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2080
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2077
2081
|
] })
|
|
2078
2082
|
] }) });
|
|
2079
2083
|
}
|
|
2080
2084
|
|
|
2081
2085
|
// src/app/platform/edit-service-type.tsx
|
|
2082
|
-
var
|
|
2086
|
+
var import_react33 = require("react");
|
|
2083
2087
|
|
|
2084
2088
|
// src/app/platform/on-offline-radio-card.tsx
|
|
2085
2089
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
2086
|
-
var
|
|
2090
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2087
2091
|
var SERVICE_TYPE = {
|
|
2088
2092
|
onlineCoaching: "onlineCoaching",
|
|
2089
2093
|
offlineCoaching: "offlineCoaching"
|
|
2090
2094
|
};
|
|
2091
2095
|
var breakpoint = "sm";
|
|
2092
2096
|
function HideSmallBox(props) {
|
|
2093
|
-
return /* @__PURE__ */ (0,
|
|
2097
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
2094
2098
|
}
|
|
2095
2099
|
function OnOfflineRadioCard(props) {
|
|
2096
2100
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
2097
2101
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
2098
2102
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
2099
|
-
return /* @__PURE__ */ (0,
|
|
2103
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2100
2104
|
RadioButtonCard.Root,
|
|
2101
2105
|
__spreadProps(__spreadValues({
|
|
2102
2106
|
RadioWrapper: Wrapper,
|
|
@@ -2105,13 +2109,13 @@ function OnOfflineRadioCard(props) {
|
|
|
2105
2109
|
justify
|
|
2106
2110
|
}, props), {
|
|
2107
2111
|
children: [
|
|
2108
|
-
/* @__PURE__ */ (0,
|
|
2109
|
-
/* @__PURE__ */ (0,
|
|
2110
|
-
/* @__PURE__ */ (0,
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
2114
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
2111
2115
|
] }) }),
|
|
2112
|
-
/* @__PURE__ */ (0,
|
|
2113
|
-
/* @__PURE__ */ (0,
|
|
2114
|
-
/* @__PURE__ */ (0,
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
2115
2119
|
] }) })
|
|
2116
2120
|
]
|
|
2117
2121
|
})
|
|
@@ -2119,18 +2123,18 @@ function OnOfflineRadioCard(props) {
|
|
|
2119
2123
|
}
|
|
2120
2124
|
|
|
2121
2125
|
// src/app/platform/edit-service-type.tsx
|
|
2122
|
-
var
|
|
2126
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2123
2127
|
function EditServiceType(props) {
|
|
2124
2128
|
const { defaultServiceType, onClickCancel } = props;
|
|
2125
|
-
const [sessionType, setSessionType] = (0,
|
|
2129
|
+
const [sessionType, setSessionType] = (0, import_react33.useState)(
|
|
2126
2130
|
defaultServiceType
|
|
2127
2131
|
);
|
|
2128
|
-
const onClickSave = (0,
|
|
2132
|
+
const onClickSave = (0, import_react33.useCallback)(() => {
|
|
2129
2133
|
var _a;
|
|
2130
2134
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
2131
2135
|
}, [props, sessionType]);
|
|
2132
|
-
return /* @__PURE__ */ (0,
|
|
2133
|
-
/* @__PURE__ */ (0,
|
|
2136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes6.Box, { children: [
|
|
2137
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2134
2138
|
Typo,
|
|
2135
2139
|
{
|
|
2136
2140
|
as: "p",
|
|
@@ -2140,16 +2144,16 @@ function EditServiceType(props) {
|
|
|
2140
2144
|
children: "\uC138\uC158 \uC720\uD615\uC5D0 \uB530\uB77C \uCC45\uC815\uB418\uB294 \uCF54\uCE6D \uAE08\uC561\uC774 \uB2EC\uB77C\uC9C0\uBBC0\uB85C, \uC815\uD655\uD558\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694"
|
|
2141
2145
|
}
|
|
2142
2146
|
),
|
|
2143
|
-
/* @__PURE__ */ (0,
|
|
2144
|
-
/* @__PURE__ */ (0,
|
|
2145
|
-
/* @__PURE__ */ (0,
|
|
2146
|
-
/* @__PURE__ */ (0,
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2150
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2147
2151
|
] })
|
|
2148
2152
|
] });
|
|
2149
2153
|
}
|
|
2150
2154
|
|
|
2151
2155
|
// src/app/platform/session-card.tsx
|
|
2152
|
-
var
|
|
2156
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2153
2157
|
var preventDefault2 = (e) => {
|
|
2154
2158
|
e.preventDefault();
|
|
2155
2159
|
};
|
|
@@ -2179,34 +2183,34 @@ function SessionCard(props) {
|
|
|
2179
2183
|
"endAt",
|
|
2180
2184
|
"sessionType"
|
|
2181
2185
|
]);
|
|
2182
|
-
const renderEditButton = (0,
|
|
2183
|
-
return /* @__PURE__ */ (0,
|
|
2186
|
+
const renderEditButton = (0, import_react34.useCallback)(() => {
|
|
2187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
2184
2188
|
}, []);
|
|
2185
|
-
const sessionTimeStr = (0,
|
|
2189
|
+
const sessionTimeStr = (0, import_react34.useMemo)(() => {
|
|
2186
2190
|
if (!startAt || !endAt)
|
|
2187
2191
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
2188
2192
|
return `${(0, import_date_fns6.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns6.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
2189
2193
|
}, [startAt, endAt]);
|
|
2190
|
-
return /* @__PURE__ */ (0,
|
|
2191
|
-
/* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2195
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2196
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
2193
2197
|
TitleExtra,
|
|
2194
|
-
error ? /* @__PURE__ */ (0,
|
|
2198
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
2195
2199
|
] }),
|
|
2196
|
-
/* @__PURE__ */ (0,
|
|
2197
|
-
/* @__PURE__ */ (0,
|
|
2198
|
-
/* @__PURE__ */ (0,
|
|
2199
|
-
/* @__PURE__ */ (0,
|
|
2200
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2201
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2202
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2203
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2200
2204
|
sessionTimeStr,
|
|
2201
|
-
editable ? /* @__PURE__ */ (0,
|
|
2202
|
-
/* @__PURE__ */ (0,
|
|
2203
|
-
/* @__PURE__ */ (0,
|
|
2205
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Dialog.Root, { children: [
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2207
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2204
2208
|
Dialog.Content,
|
|
2205
2209
|
{
|
|
2206
2210
|
onOpenAutoFocus: preventDefault2,
|
|
2207
2211
|
style: { overflow: "visible" },
|
|
2208
2212
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
2209
|
-
children: /* @__PURE__ */ (0,
|
|
2213
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2210
2214
|
EditCoachingTime,
|
|
2211
2215
|
{
|
|
2212
2216
|
defaultEndAt: endAt,
|
|
@@ -2219,18 +2223,18 @@ function SessionCard(props) {
|
|
|
2219
2223
|
] }) : null
|
|
2220
2224
|
] })
|
|
2221
2225
|
] }),
|
|
2222
|
-
/* @__PURE__ */ (0,
|
|
2223
|
-
/* @__PURE__ */ (0,
|
|
2224
|
-
/* @__PURE__ */ (0,
|
|
2225
|
-
/* @__PURE__ */ (0,
|
|
2226
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2226
2230
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
2227
|
-
editable ? /* @__PURE__ */ (0,
|
|
2228
|
-
/* @__PURE__ */ (0,
|
|
2229
|
-
/* @__PURE__ */ (0,
|
|
2231
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Dialog.Root, { children: [
|
|
2232
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2230
2234
|
Dialog.Content,
|
|
2231
2235
|
{
|
|
2232
2236
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
2233
|
-
children: /* @__PURE__ */ (0,
|
|
2237
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2234
2238
|
EditServiceType,
|
|
2235
2239
|
{
|
|
2236
2240
|
defaultServiceType: sessionType,
|
|
@@ -2242,32 +2246,32 @@ function SessionCard(props) {
|
|
|
2242
2246
|
] }) : null
|
|
2243
2247
|
] })
|
|
2244
2248
|
] }),
|
|
2245
|
-
/* @__PURE__ */ (0,
|
|
2249
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
2246
2250
|
] })
|
|
2247
2251
|
] })
|
|
2248
2252
|
] }) }));
|
|
2249
2253
|
}
|
|
2250
2254
|
|
|
2251
2255
|
// src/app/platform/coach-question-list.tsx
|
|
2252
|
-
var
|
|
2256
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2253
2257
|
function QuestionItem({ question, answer }) {
|
|
2254
|
-
return /* @__PURE__ */ (0,
|
|
2255
|
-
/* @__PURE__ */ (0,
|
|
2256
|
-
/* @__PURE__ */ (0,
|
|
2258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_themes6.Box, { children: [
|
|
2259
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2257
2261
|
] }, question);
|
|
2258
2262
|
}
|
|
2259
2263
|
function CoachQuestionList({
|
|
2260
2264
|
questions
|
|
2261
2265
|
}) {
|
|
2262
|
-
return /* @__PURE__ */ (0,
|
|
2263
|
-
return /* @__PURE__ */ (0,
|
|
2266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2264
2268
|
}) });
|
|
2265
2269
|
}
|
|
2266
2270
|
|
|
2267
2271
|
// src/app/platform/reservation-card.tsx
|
|
2268
|
-
var
|
|
2272
|
+
var import_react35 = require("react");
|
|
2269
2273
|
var import_date_fns7 = require("date-fns");
|
|
2270
|
-
var
|
|
2274
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2271
2275
|
function ReservationCard(props) {
|
|
2272
2276
|
const {
|
|
2273
2277
|
sessionNumber,
|
|
@@ -2282,30 +2286,30 @@ function ReservationCard(props) {
|
|
|
2282
2286
|
onClickCancel,
|
|
2283
2287
|
onClickCompleteSession
|
|
2284
2288
|
} = props;
|
|
2285
|
-
const [editValues, setEditValues] = (0,
|
|
2289
|
+
const [editValues, setEditValues] = (0, import_react35.useState)({
|
|
2286
2290
|
date: props.defaultTime,
|
|
2287
2291
|
type: props.defaultType
|
|
2288
2292
|
});
|
|
2289
2293
|
const date = readonly ? defaultTime : editValues.date;
|
|
2290
2294
|
const type = readonly ? defaultType : editValues.type;
|
|
2291
2295
|
const time = date && getTimeOption(date);
|
|
2292
|
-
const onClickSave = (0,
|
|
2296
|
+
const onClickSave = (0, import_react35.useCallback)(() => {
|
|
2293
2297
|
var _a;
|
|
2294
2298
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, editValues);
|
|
2295
2299
|
}, [editValues, props]);
|
|
2296
|
-
const onClickReset = (0,
|
|
2300
|
+
const onClickReset = (0, import_react35.useCallback)(() => {
|
|
2297
2301
|
setEditValues({
|
|
2298
2302
|
date: defaultTime,
|
|
2299
2303
|
type: defaultType
|
|
2300
2304
|
});
|
|
2301
2305
|
}, [defaultTime, defaultType]);
|
|
2302
|
-
const ActionButtons = (0,
|
|
2306
|
+
const ActionButtons = (0, import_react35.useMemo)(() => {
|
|
2303
2307
|
if (readonly) {
|
|
2304
|
-
return /* @__PURE__ */ (0,
|
|
2308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2305
2309
|
}
|
|
2306
|
-
return /* @__PURE__ */ (0,
|
|
2310
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
2307
2311
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2308
|
-
const onChangeDate = (0,
|
|
2312
|
+
const onChangeDate = (0, import_react35.useCallback)(
|
|
2309
2313
|
(newDate) => {
|
|
2310
2314
|
if (!newDate)
|
|
2311
2315
|
return;
|
|
@@ -2318,14 +2322,14 @@ function ReservationCard(props) {
|
|
|
2318
2322
|
},
|
|
2319
2323
|
[time]
|
|
2320
2324
|
);
|
|
2321
|
-
const onChangeType = (0,
|
|
2325
|
+
const onChangeType = (0, import_react35.useCallback)((newType) => {
|
|
2322
2326
|
setEditValues((prev) => {
|
|
2323
2327
|
return __spreadProps(__spreadValues({}, prev), {
|
|
2324
2328
|
type: newType
|
|
2325
2329
|
});
|
|
2326
2330
|
});
|
|
2327
2331
|
}, []);
|
|
2328
|
-
const onChangeTime = (0,
|
|
2332
|
+
const onChangeTime = (0, import_react35.useCallback)(
|
|
2329
2333
|
(v) => {
|
|
2330
2334
|
const { hour, minute } = parseTimeOption(v);
|
|
2331
2335
|
if (typeof v === "undefined") {
|
|
@@ -2343,7 +2347,7 @@ function ReservationCard(props) {
|
|
|
2343
2347
|
},
|
|
2344
2348
|
[date]
|
|
2345
2349
|
);
|
|
2346
|
-
(0,
|
|
2350
|
+
(0, import_react35.useEffect)(() => {
|
|
2347
2351
|
if (!minTime || !editValues.date || readonly)
|
|
2348
2352
|
return;
|
|
2349
2353
|
if (editValues.date < minTime) {
|
|
@@ -2355,7 +2359,7 @@ function ReservationCard(props) {
|
|
|
2355
2359
|
});
|
|
2356
2360
|
}
|
|
2357
2361
|
}, [editValues, minTime, readonly]);
|
|
2358
|
-
(0,
|
|
2362
|
+
(0, import_react35.useEffect)(() => {
|
|
2359
2363
|
if (!maxTime || !editValues.date || readonly)
|
|
2360
2364
|
return;
|
|
2361
2365
|
if (editValues.date > maxTime) {
|
|
@@ -2367,47 +2371,47 @@ function ReservationCard(props) {
|
|
|
2367
2371
|
});
|
|
2368
2372
|
}
|
|
2369
2373
|
}, [editValues, maxTime, readonly]);
|
|
2370
|
-
return /* @__PURE__ */ (0,
|
|
2374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2371
2375
|
Card,
|
|
2372
2376
|
{
|
|
2373
2377
|
error: Boolean(error),
|
|
2374
2378
|
size: "3",
|
|
2375
2379
|
style: { overflow: "visible", contain: "initial" },
|
|
2376
2380
|
children: [
|
|
2377
|
-
/* @__PURE__ */ (0,
|
|
2378
|
-
/* @__PURE__ */ (0,
|
|
2381
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
2382
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2379
2383
|
import_themes23.Grid,
|
|
2380
2384
|
{
|
|
2381
2385
|
align: "center",
|
|
2382
2386
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2383
2387
|
gapY: "2",
|
|
2384
2388
|
children: [
|
|
2385
|
-
/* @__PURE__ */ (0,
|
|
2386
|
-
/* @__PURE__ */ (0,
|
|
2389
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2390
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2387
2391
|
customerName || "-",
|
|
2388
2392
|
"\uB2D8 ",
|
|
2389
2393
|
sessionNumber || "-",
|
|
2390
2394
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2391
2395
|
] }),
|
|
2392
|
-
/* @__PURE__ */ (0,
|
|
2396
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2393
2397
|
] }),
|
|
2394
|
-
error ? /* @__PURE__ */ (0,
|
|
2398
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2395
2399
|
]
|
|
2396
2400
|
}
|
|
2397
2401
|
),
|
|
2398
|
-
/* @__PURE__ */ (0,
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2399
2403
|
] }),
|
|
2400
|
-
/* @__PURE__ */ (0,
|
|
2404
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2401
2405
|
Form.Root,
|
|
2402
2406
|
{
|
|
2403
2407
|
onSubmit: (e) => {
|
|
2404
2408
|
e.preventDefault();
|
|
2405
2409
|
},
|
|
2406
|
-
children: /* @__PURE__ */ (0,
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2409
|
-
/* @__PURE__ */ (0,
|
|
2410
|
-
/* @__PURE__ */ (0,
|
|
2410
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2411
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Form.Label, { asChild: true, children: [
|
|
2412
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2413
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
2414
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2411
2415
|
DatePickerButton,
|
|
2412
2416
|
{
|
|
2413
2417
|
disabled: readonly,
|
|
@@ -2419,7 +2423,7 @@ function ReservationCard(props) {
|
|
|
2419
2423
|
size: "large"
|
|
2420
2424
|
}
|
|
2421
2425
|
),
|
|
2422
|
-
/* @__PURE__ */ (0,
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2423
2427
|
TimeSelect,
|
|
2424
2428
|
{
|
|
2425
2429
|
disabled: readonly,
|
|
@@ -2433,9 +2437,9 @@ function ReservationCard(props) {
|
|
|
2433
2437
|
)
|
|
2434
2438
|
] })
|
|
2435
2439
|
] }) }),
|
|
2436
|
-
/* @__PURE__ */ (0,
|
|
2437
|
-
/* @__PURE__ */ (0,
|
|
2438
|
-
/* @__PURE__ */ (0,
|
|
2440
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Form.Field, { name: "type", children: [
|
|
2441
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
2442
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2439
2443
|
OnOfflineRadioCard,
|
|
2440
2444
|
{
|
|
2441
2445
|
disabled: readonly,
|
|
@@ -2445,8 +2449,8 @@ function ReservationCard(props) {
|
|
|
2445
2449
|
}
|
|
2446
2450
|
) })
|
|
2447
2451
|
] }),
|
|
2448
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2449
|
-
/* @__PURE__ */ (0,
|
|
2452
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2453
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2450
2454
|
Button,
|
|
2451
2455
|
{
|
|
2452
2456
|
color: "gray",
|
|
@@ -2456,12 +2460,12 @@ function ReservationCard(props) {
|
|
|
2456
2460
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2457
2461
|
}
|
|
2458
2462
|
),
|
|
2459
|
-
/* @__PURE__ */ (0,
|
|
2463
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2460
2464
|
] })
|
|
2461
2465
|
] })
|
|
2462
2466
|
}
|
|
2463
2467
|
) }),
|
|
2464
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2468
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2465
2469
|
import_themes6.Box,
|
|
2466
2470
|
{
|
|
2467
2471
|
mt: "5",
|
|
@@ -2469,14 +2473,14 @@ function ReservationCard(props) {
|
|
|
2469
2473
|
py: "4",
|
|
2470
2474
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2471
2475
|
width: "100%",
|
|
2472
|
-
children: /* @__PURE__ */ (0,
|
|
2473
|
-
/* @__PURE__ */ (0,
|
|
2476
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2477
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Typo, { children: [
|
|
2474
2478
|
sessionNumber || "-",
|
|
2475
2479
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2476
2480
|
] }),
|
|
2477
|
-
/* @__PURE__ */ (0,
|
|
2481
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2478
2482
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2479
|
-
/* @__PURE__ */ (0,
|
|
2483
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
2480
2484
|
] })
|
|
2481
2485
|
] })
|
|
2482
2486
|
}
|
|
@@ -2487,22 +2491,22 @@ function ReservationCard(props) {
|
|
|
2487
2491
|
}
|
|
2488
2492
|
|
|
2489
2493
|
// src/app/platform/session-review-simple-read.tsx
|
|
2490
|
-
var
|
|
2491
|
-
var
|
|
2494
|
+
var import_react36 = require("react");
|
|
2495
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2492
2496
|
function SubTitleWrapper({
|
|
2493
2497
|
children,
|
|
2494
2498
|
title
|
|
2495
2499
|
}) {
|
|
2496
|
-
return /* @__PURE__ */ (0,
|
|
2497
|
-
/* @__PURE__ */ (0,
|
|
2498
|
-
/* @__PURE__ */ (0,
|
|
2500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2501
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2502
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes6.Box, { children })
|
|
2499
2503
|
] });
|
|
2500
2504
|
}
|
|
2501
2505
|
function SessionReviewSimpleRead({
|
|
2502
2506
|
helpfulness,
|
|
2503
2507
|
review
|
|
2504
2508
|
}) {
|
|
2505
|
-
const helpfulnessMeta = (0,
|
|
2509
|
+
const helpfulnessMeta = (0, import_react36.useMemo)(() => {
|
|
2506
2510
|
if (helpfulness) {
|
|
2507
2511
|
return {
|
|
2508
2512
|
text: "\uB124",
|
|
@@ -2520,22 +2524,22 @@ function SessionReviewSimpleRead({
|
|
|
2520
2524
|
color: "error"
|
|
2521
2525
|
};
|
|
2522
2526
|
}, [helpfulness]);
|
|
2523
|
-
return /* @__PURE__ */ (0,
|
|
2524
|
-
/* @__PURE__ */ (0,
|
|
2525
|
-
/* @__PURE__ */ (0,
|
|
2527
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2528
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.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_runtime62.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2529
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2526
2530
|
] }) });
|
|
2527
2531
|
}
|
|
2528
2532
|
|
|
2529
2533
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
2530
|
-
var
|
|
2534
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2531
2535
|
function SectionWrapper({
|
|
2532
2536
|
title,
|
|
2533
2537
|
children
|
|
2534
2538
|
}) {
|
|
2535
|
-
return /* @__PURE__ */ (0,
|
|
2536
|
-
/* @__PURE__ */ (0,
|
|
2537
|
-
/* @__PURE__ */ (0,
|
|
2538
|
-
/* @__PURE__ */ (0,
|
|
2539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes6.Box, { children: [
|
|
2540
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2541
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2542
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes39.Separator, { size: "4" })
|
|
2539
2543
|
] }),
|
|
2540
2544
|
children
|
|
2541
2545
|
] });
|
|
@@ -2545,22 +2549,22 @@ function SessionUserInfoDetail({
|
|
|
2545
2549
|
session,
|
|
2546
2550
|
onClickCopy
|
|
2547
2551
|
}) {
|
|
2548
|
-
return /* @__PURE__ */ (0,
|
|
2549
|
-
/* @__PURE__ */ (0,
|
|
2552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2553
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2550
2554
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
2551
2555
|
) }) }),
|
|
2552
|
-
/* @__PURE__ */ (0,
|
|
2556
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
2553
2557
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
2554
2558
|
) }) })
|
|
2555
2559
|
] });
|
|
2556
2560
|
}
|
|
2557
2561
|
|
|
2558
2562
|
// src/app/platform/report-card.tsx
|
|
2559
|
-
var
|
|
2560
|
-
var
|
|
2563
|
+
var import_react37 = require("react");
|
|
2564
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2561
2565
|
function ReportCard(props) {
|
|
2562
2566
|
const { title, file, status } = props;
|
|
2563
|
-
const onClickDownload = (0,
|
|
2567
|
+
const onClickDownload = (0, import_react37.useCallback)(() => {
|
|
2564
2568
|
if (!file)
|
|
2565
2569
|
return;
|
|
2566
2570
|
const { url, fileName } = file;
|
|
@@ -2573,21 +2577,21 @@ function ReportCard(props) {
|
|
|
2573
2577
|
document.body.removeChild(link);
|
|
2574
2578
|
}, [file]);
|
|
2575
2579
|
if (status) {
|
|
2576
|
-
return /* @__PURE__ */ (0,
|
|
2577
|
-
/* @__PURE__ */ (0,
|
|
2580
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2578
2582
|
status
|
|
2579
2583
|
] }) });
|
|
2580
2584
|
}
|
|
2581
|
-
return /* @__PURE__ */ (0,
|
|
2585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2582
2586
|
import_themes22.Flex,
|
|
2583
2587
|
{
|
|
2584
2588
|
direction: { initial: "column", xs: "row" },
|
|
2585
2589
|
gapY: "2",
|
|
2586
2590
|
justify: "between",
|
|
2587
2591
|
children: [
|
|
2588
|
-
/* @__PURE__ */ (0,
|
|
2589
|
-
/* @__PURE__ */ (0,
|
|
2590
|
-
/* @__PURE__ */ (0,
|
|
2592
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2593
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2594
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
2591
2595
|
file == null ? void 0 : file.buttonName
|
|
2592
2596
|
] }) }, file == null ? void 0 : file.url)
|
|
2593
2597
|
]
|
|
@@ -2596,9 +2600,9 @@ function ReportCard(props) {
|
|
|
2596
2600
|
}
|
|
2597
2601
|
|
|
2598
2602
|
// src/app/platform/contents-card.tsx
|
|
2599
|
-
var
|
|
2600
|
-
var
|
|
2601
|
-
var ContentsCard = (0,
|
|
2603
|
+
var import_react38 = require("react");
|
|
2604
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2605
|
+
var ContentsCard = (0, import_react38.forwardRef)(
|
|
2602
2606
|
({
|
|
2603
2607
|
title,
|
|
2604
2608
|
description,
|
|
@@ -2608,7 +2612,7 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2608
2612
|
onClickCard,
|
|
2609
2613
|
isLoading = false
|
|
2610
2614
|
}, ref) => {
|
|
2611
|
-
return /* @__PURE__ */ (0,
|
|
2615
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2612
2616
|
Card,
|
|
2613
2617
|
{
|
|
2614
2618
|
onClick: onClickCard,
|
|
@@ -2621,7 +2625,7 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2621
2625
|
maxHeight: "450px"
|
|
2622
2626
|
},
|
|
2623
2627
|
children: [
|
|
2624
|
-
/* @__PURE__ */ (0,
|
|
2628
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2625
2629
|
import_themes6.Box,
|
|
2626
2630
|
{
|
|
2627
2631
|
height: "210px",
|
|
@@ -2633,12 +2637,12 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2633
2637
|
width: "100%"
|
|
2634
2638
|
}
|
|
2635
2639
|
) }) }),
|
|
2636
|
-
/* @__PURE__ */ (0,
|
|
2637
|
-
/* @__PURE__ */ (0,
|
|
2638
|
-
/* @__PURE__ */ (0,
|
|
2639
|
-
/* @__PURE__ */ (0,
|
|
2640
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
2641
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes6.Box, { children: [
|
|
2642
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
2643
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
2640
2644
|
] }),
|
|
2641
|
-
/* @__PURE__ */ (0,
|
|
2645
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2642
2646
|
import_themes23.Grid,
|
|
2643
2647
|
{
|
|
2644
2648
|
align: "center",
|
|
@@ -2648,10 +2652,10 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2648
2652
|
style: { marginTop: "auto" },
|
|
2649
2653
|
width: "100%",
|
|
2650
2654
|
children: [
|
|
2651
|
-
/* @__PURE__ */ (0,
|
|
2652
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
2655
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
2656
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(DropdownMenu.Root, { children: [
|
|
2657
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
2658
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2655
2659
|
DropdownMenu.Item,
|
|
2656
2660
|
{
|
|
2657
2661
|
onClick: (e) => {
|
|
@@ -2675,7 +2679,7 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2675
2679
|
ContentsCard.displayName = "ContentsCard";
|
|
2676
2680
|
|
|
2677
2681
|
// src/app/platform/curriculum-card.tsx
|
|
2678
|
-
var
|
|
2682
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2679
2683
|
function CurriculumCard(props) {
|
|
2680
2684
|
const {
|
|
2681
2685
|
title,
|
|
@@ -2686,7 +2690,7 @@ function CurriculumCard(props) {
|
|
|
2686
2690
|
bgColor,
|
|
2687
2691
|
onClick
|
|
2688
2692
|
} = props;
|
|
2689
|
-
return /* @__PURE__ */ (0,
|
|
2693
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2690
2694
|
import_themes23.Grid,
|
|
2691
2695
|
{
|
|
2692
2696
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -2695,7 +2699,7 @@ function CurriculumCard(props) {
|
|
|
2695
2699
|
onClick,
|
|
2696
2700
|
style: { cursor: "pointer" },
|
|
2697
2701
|
children: [
|
|
2698
|
-
/* @__PURE__ */ (0,
|
|
2702
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2699
2703
|
import_themes6.Box,
|
|
2700
2704
|
{
|
|
2701
2705
|
height: "165px",
|
|
@@ -2710,32 +2714,32 @@ function CurriculumCard(props) {
|
|
|
2710
2714
|
backgroundAttachment: "local"
|
|
2711
2715
|
},
|
|
2712
2716
|
width: "100%",
|
|
2713
|
-
children: /* @__PURE__ */ (0,
|
|
2717
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
2714
2718
|
}
|
|
2715
2719
|
),
|
|
2716
|
-
/* @__PURE__ */ (0,
|
|
2717
|
-
/* @__PURE__ */ (0,
|
|
2718
|
-
/* @__PURE__ */ (0,
|
|
2719
|
-
/* @__PURE__ */ (0,
|
|
2720
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2721
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
2722
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2723
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2720
2724
|
Badge,
|
|
2721
2725
|
{
|
|
2722
2726
|
size: "medium",
|
|
2723
2727
|
style: { justifySelf: "flex-start" },
|
|
2724
2728
|
variant: "outline",
|
|
2725
|
-
children: /* @__PURE__ */ (0,
|
|
2726
|
-
/* @__PURE__ */ (0,
|
|
2729
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
2730
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_icons2.TimerIcon, {}),
|
|
2727
2731
|
runningTime
|
|
2728
2732
|
] })
|
|
2729
2733
|
}
|
|
2730
2734
|
)
|
|
2731
2735
|
] }),
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2733
|
-
return /* @__PURE__ */ (0,
|
|
2736
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
2737
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
2734
2738
|
}) }) }),
|
|
2735
|
-
/* @__PURE__ */ (0,
|
|
2736
|
-
/* @__PURE__ */ (0,
|
|
2737
|
-
/* @__PURE__ */ (0,
|
|
2738
|
-
/* @__PURE__ */ (0,
|
|
2739
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes39.Separator, { size: "4" }),
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
2741
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
2742
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
2739
2743
|
] })
|
|
2740
2744
|
] })
|
|
2741
2745
|
]
|