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