@tipp/ui 1.6.11 → 1.6.13
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 +418 -276
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +7 -3
- package/dist/app/platform/coach-question-list.cjs +175 -33
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +6 -2
- package/dist/app/platform/edit-coaching-time.cjs +218 -76
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +7 -3
- package/dist/app/platform/edit-service-type.cjs +211 -69
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +7 -3
- package/dist/app/platform/goal-manage-card-edit.cjs +220 -78
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +7 -3
- package/dist/app/platform/goal-manage-card-read.cjs +205 -63
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +6 -2
- package/dist/app/platform/on-offline-radio-card.cjs +204 -62
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +7 -3
- package/dist/app/platform/report-card.cjs +176 -34
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +6 -2
- package/dist/app/platform/reservation-card.cjs +246 -104
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +7 -3
- package/dist/app/platform/session-card.cjs +263 -121
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +7 -3
- package/dist/app/platform/session-review-simple-read.cjs +176 -34
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +209 -67
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +186 -44
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +189 -47
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +175 -33
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +6 -2
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +185 -43
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +6 -2
- package/dist/app/platform/userInfos/utils.cjs +177 -35
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +6 -2
- package/dist/atoms/index.cjs +197 -55
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +6 -2
- package/dist/atoms/pagination.cjs +155 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +6 -2
- package/dist/chunk-36JWMSRI.js +39 -0
- package/dist/chunk-36JWMSRI.js.map +1 -0
- package/dist/chunk-3WSZRTAF.js +50 -0
- package/dist/chunk-3WSZRTAF.js.map +1 -0
- package/dist/chunk-7WVKYXIG.js +1 -0
- package/dist/chunk-7WVKYXIG.js.map +1 -0
- package/dist/chunk-A75U32HT.js +39 -0
- package/dist/chunk-A75U32HT.js.map +1 -0
- package/dist/chunk-CG4LCYFW.js +192 -0
- package/dist/chunk-CG4LCYFW.js.map +1 -0
- package/dist/chunk-MZAO3VEU.js +41 -0
- package/dist/chunk-MZAO3VEU.js.map +1 -0
- package/dist/chunk-T6CF4F7J.js +41 -0
- package/dist/chunk-T6CF4F7J.js.map +1 -0
- package/dist/chunk-UZMOWHC3.js +52 -0
- package/dist/chunk-UZMOWHC3.js.map +1 -0
- package/dist/icon.cjs +150 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +4 -0
- package/dist/icon.d.ts +4 -0
- package/dist/icon.js +20 -4
- package/dist/icons/camera-disabled.cjs +98 -0
- package/dist/icons/camera-disabled.cjs.map +1 -0
- package/dist/icons/camera-disabled.d.cts +6 -0
- package/dist/icons/camera-disabled.d.ts +6 -0
- package/dist/icons/camera-disabled.js +8 -0
- package/dist/icons/camera-disabled.js.map +1 -0
- package/dist/icons/camera.cjs +96 -0
- package/dist/icons/camera.cjs.map +1 -0
- package/dist/icons/camera.d.cts +6 -0
- package/dist/icons/camera.d.ts +6 -0
- package/dist/icons/camera.js +8 -0
- package/dist/icons/camera.js.map +1 -0
- package/dist/icons/end-call.js +3 -44
- package/dist/icons/end-call.js.map +1 -1
- package/dist/icons/index.cjs +150 -0
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +4 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +20 -4
- package/dist/icons/mic.js +3 -46
- package/dist/icons/mic.js.map +1 -1
- package/dist/icons/video-disabled.cjs +4 -4
- package/dist/icons/video-disabled.cjs.map +1 -1
- package/dist/icons/video-disabled.d.cts +2 -2
- package/dist/icons/video-disabled.d.ts +2 -2
- package/dist/icons/video-disabled.js +4 -36
- package/dist/icons/video-disabled.js.map +1 -1
- package/dist/icons/video.cjs +4 -4
- package/dist/icons/video.cjs.map +1 -1
- package/dist/icons/video.d.cts +2 -2
- package/dist/icons/video.d.ts +2 -2
- package/dist/icons/video.js +4 -34
- package/dist/icons/video.js.map +1 -1
- package/dist/index.cjs +556 -406
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +21 -5
- package/dist/molecules/date-picker/date-picker-button.cjs +183 -41
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +6 -2
- package/dist/molecules/date-picker/index.cjs +154 -12
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +6 -2
- package/dist/molecules/expand-table/index.cjs +199 -57
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +7 -3
- package/dist/molecules/expand-table/row.cjs +175 -33
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +6 -2
- package/dist/molecules/index.cjs +316 -174
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +7 -3
- package/dist/molecules/navigation.cjs +175 -33
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +6 -2
- package/dist/molecules/radio-button-card.cjs +173 -31
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +6 -2
- package/dist/molecules/stepper.cjs +162 -20
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +6 -2
- package/dist/molecules/tag-selector.cjs +215 -73
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +6 -2
- package/dist/molecules/time-select.cjs +174 -32
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +6 -2
- package/package.json +1 -1
- package/src/icons/{video-disabled.tsx → camera-disabled.tsx} +2 -2
- package/src/icons/{video.tsx → camera.tsx} +2 -2
- package/src/icons/index.ts +4 -0
package/dist/app/index.cjs
CHANGED
|
@@ -833,15 +833,157 @@ var TriangleArrowDownIcon = React7.forwardRef(
|
|
|
833
833
|
);
|
|
834
834
|
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
835
835
|
|
|
836
|
-
// src/
|
|
836
|
+
// src/icons/mic.tsx
|
|
837
|
+
var React8 = __toESM(require("react"), 1);
|
|
837
838
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
839
|
+
var MicIcon = React8.forwardRef(
|
|
840
|
+
(_a, forwardedRef) => {
|
|
841
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
842
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
843
|
+
"svg",
|
|
844
|
+
__spreadProps(__spreadValues({
|
|
845
|
+
fill: "none",
|
|
846
|
+
height: "16",
|
|
847
|
+
viewBox: "0 0 12 16",
|
|
848
|
+
width: "12",
|
|
849
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
850
|
+
}, props), {
|
|
851
|
+
ref: forwardedRef,
|
|
852
|
+
children: [
|
|
853
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
854
|
+
"path",
|
|
855
|
+
{
|
|
856
|
+
clipRule: "evenodd",
|
|
857
|
+
d: "M9.15383 8.15726H9.17422V7.79011V3.71671H9.17378C9.14572 1.93538 7.69297 0.5 5.90497 0.5C4.11696 0.5 2.66421 1.93538 2.63616 3.71671H2.63577V3.75606C2.63575 3.76044 2.63574 3.76483 2.63574 3.76923C2.63574 3.77362 2.63575 3.77801 2.63577 3.78239V7.79011V8.15726H2.65615C2.83862 9.78997 4.22357 11.0593 5.90499 11.0593C7.58642 11.0593 8.97136 9.78997 9.15383 8.15726Z",
|
|
858
|
+
fill: color,
|
|
859
|
+
fillRule: "evenodd"
|
|
860
|
+
}
|
|
861
|
+
),
|
|
862
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
863
|
+
"path",
|
|
864
|
+
{
|
|
865
|
+
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",
|
|
866
|
+
stroke: color,
|
|
867
|
+
strokeLinecap: "round",
|
|
868
|
+
strokeWidth: "1.2"
|
|
869
|
+
}
|
|
870
|
+
)
|
|
871
|
+
]
|
|
872
|
+
})
|
|
873
|
+
);
|
|
874
|
+
}
|
|
875
|
+
);
|
|
876
|
+
MicIcon.displayName = "MicIcon";
|
|
838
877
|
|
|
839
|
-
// src/
|
|
878
|
+
// src/icons/camera.tsx
|
|
879
|
+
var React9 = __toESM(require("react"), 1);
|
|
840
880
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
881
|
+
var CameraIcon = React9.forwardRef(
|
|
882
|
+
(_a, forwardedRef) => {
|
|
883
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
885
|
+
"svg",
|
|
886
|
+
__spreadProps(__spreadValues({
|
|
887
|
+
fill: "none",
|
|
888
|
+
height: "16",
|
|
889
|
+
ref: forwardedRef,
|
|
890
|
+
viewBox: "0 0 16 16",
|
|
891
|
+
width: "16",
|
|
892
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
893
|
+
}, props), {
|
|
894
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
895
|
+
"path",
|
|
896
|
+
{
|
|
897
|
+
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",
|
|
898
|
+
fill: color
|
|
899
|
+
}
|
|
900
|
+
)
|
|
901
|
+
})
|
|
902
|
+
);
|
|
903
|
+
}
|
|
904
|
+
);
|
|
905
|
+
CameraIcon.displayName = "CameraIcon";
|
|
906
|
+
|
|
907
|
+
// src/icons/camera-disabled.tsx
|
|
908
|
+
var React10 = __toESM(require("react"), 1);
|
|
909
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
910
|
+
var CameraDisabledIcon = React10.forwardRef(
|
|
911
|
+
(_a, forwardedRef) => {
|
|
912
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
913
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
914
|
+
"svg",
|
|
915
|
+
__spreadProps(__spreadValues({
|
|
916
|
+
fill: "none",
|
|
917
|
+
height: "16",
|
|
918
|
+
ref: forwardedRef,
|
|
919
|
+
viewBox: "0 0 16 16",
|
|
920
|
+
width: "16",
|
|
921
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
922
|
+
}, props), {
|
|
923
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
924
|
+
"path",
|
|
925
|
+
{
|
|
926
|
+
clipRule: "evenodd",
|
|
927
|
+
d: "M0 3.3872C0 2.4624 0.470588 2 1.41176 2H10.3529C11.2941 2 11.7647 2.9248 11.7647 3.3872V4.95122C11.7647 5.10908 11.8924 5.2368 12.0502 5.2368H12.2353C12.5222 5.2368 14.6546 4.11005 15.577 3.61542C15.768 3.51296 16 3.65133 16 3.86817V11.714C16 11.9256 15.7782 12.0638 15.5883 11.9706L12.2949 10.3525C12.2557 10.3332 12.2126 10.3232 12.1689 10.3232H12.0504C11.8926 10.3232 11.7647 10.451 11.7647 10.6089V12.1728C11.7647 13.0976 11.7647 13.56 10.8235 13.56H0.941176C0.470588 13.56 0 13.0976 0 12.1728V3.3872ZM8.67719 6.41215C8.8854 6.20379 8.8854 5.86598 8.67719 5.65762C8.46887 5.44925 8.13116 5.44925 7.92284 5.65762L6.16668 7.4145L4.41052 5.65762C4.2022 5.44925 3.8645 5.44925 3.65618 5.65762C3.44794 5.86598 3.44794 6.20379 3.65618 6.41215L5.41244 8.16904L3.65618 9.92593C3.44794 10.1343 3.44794 10.4721 3.65618 10.6805C3.8645 10.8888 4.2022 10.8888 4.41052 10.6805L6.16668 8.92358L7.92284 10.6805C8.13116 10.8888 8.46887 10.8888 8.67719 10.6805C8.8854 10.4721 8.8854 10.1343 8.67719 9.92593L6.92092 8.16904L8.67719 6.41215Z",
|
|
928
|
+
fill: color,
|
|
929
|
+
fillRule: "evenodd"
|
|
930
|
+
}
|
|
931
|
+
)
|
|
932
|
+
})
|
|
933
|
+
);
|
|
934
|
+
}
|
|
935
|
+
);
|
|
936
|
+
CameraDisabledIcon.displayName = "VideoDisabledIcon";
|
|
937
|
+
|
|
938
|
+
// src/icons/end-call.tsx
|
|
939
|
+
var React11 = __toESM(require("react"), 1);
|
|
940
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
941
|
+
var EndCallIcon = React11.forwardRef(
|
|
942
|
+
(_a, forwardedRef) => {
|
|
943
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
945
|
+
"svg",
|
|
946
|
+
__spreadProps(__spreadValues({
|
|
947
|
+
fill: "none",
|
|
948
|
+
height: "16",
|
|
949
|
+
ref: forwardedRef,
|
|
950
|
+
viewBox: "0 0 16 16",
|
|
951
|
+
width: "16",
|
|
952
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
953
|
+
}, props), {
|
|
954
|
+
children: [
|
|
955
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
956
|
+
"path",
|
|
957
|
+
{
|
|
958
|
+
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",
|
|
959
|
+
fill: color
|
|
960
|
+
}
|
|
961
|
+
),
|
|
962
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
963
|
+
"path",
|
|
964
|
+
{
|
|
965
|
+
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",
|
|
966
|
+
stroke: color,
|
|
967
|
+
strokeLinecap: "round",
|
|
968
|
+
strokeWidth: "1.5"
|
|
969
|
+
}
|
|
970
|
+
)
|
|
971
|
+
]
|
|
972
|
+
})
|
|
973
|
+
);
|
|
974
|
+
}
|
|
975
|
+
);
|
|
976
|
+
EndCallIcon.displayName = "EndCallIcon";
|
|
977
|
+
|
|
978
|
+
// src/atoms/pagination.tsx
|
|
979
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
980
|
+
|
|
981
|
+
// src/atoms/field-error-wrapper.tsx
|
|
982
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
841
983
|
|
|
842
984
|
// src/atoms/ellipsis-tooltip.tsx
|
|
843
985
|
var import_react16 = require("react");
|
|
844
|
-
var
|
|
986
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
845
987
|
|
|
846
988
|
// src/atoms/drawer.tsx
|
|
847
989
|
var import_react17 = require("react");
|
|
@@ -849,12 +991,12 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
849
991
|
var import_themes50 = require("@radix-ui/themes");
|
|
850
992
|
|
|
851
993
|
// src/icons/close-panel-arrow.tsx
|
|
852
|
-
var
|
|
853
|
-
var
|
|
854
|
-
var ClosePanelArrowIcon =
|
|
994
|
+
var React14 = __toESM(require("react"), 1);
|
|
995
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
996
|
+
var ClosePanelArrowIcon = React14.forwardRef(
|
|
855
997
|
(_a, forwardedRef) => {
|
|
856
998
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
857
|
-
return /* @__PURE__ */ (0,
|
|
999
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
858
1000
|
"svg",
|
|
859
1001
|
__spreadProps(__spreadValues({
|
|
860
1002
|
fill: "none",
|
|
@@ -865,7 +1007,7 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
865
1007
|
}, props), {
|
|
866
1008
|
ref: forwardedRef,
|
|
867
1009
|
children: [
|
|
868
|
-
/* @__PURE__ */ (0,
|
|
1010
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
869
1011
|
"path",
|
|
870
1012
|
{
|
|
871
1013
|
clipRule: "evenodd",
|
|
@@ -874,7 +1016,7 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
874
1016
|
fillRule: "evenodd"
|
|
875
1017
|
}
|
|
876
1018
|
),
|
|
877
|
-
/* @__PURE__ */ (0,
|
|
1019
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
878
1020
|
"path",
|
|
879
1021
|
{
|
|
880
1022
|
clipRule: "evenodd",
|
|
@@ -891,16 +1033,16 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
891
1033
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
892
1034
|
|
|
893
1035
|
// src/atoms/drawer.tsx
|
|
894
|
-
var
|
|
1036
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
895
1037
|
|
|
896
1038
|
// src/molecules/form/form.tsx
|
|
897
1039
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
898
1040
|
var import_react18 = require("react");
|
|
899
|
-
var
|
|
1041
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
900
1042
|
var Root7 = (0, import_react18.forwardRef)(
|
|
901
1043
|
(_a, ref) => {
|
|
902
1044
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
903
|
-
return /* @__PURE__ */ (0,
|
|
1045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
904
1046
|
RadixForm.Root,
|
|
905
1047
|
__spreadProps(__spreadValues({}, rest), {
|
|
906
1048
|
className: `FormRoot ${className || ""}`,
|
|
@@ -917,22 +1059,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
917
1059
|
var Field2 = (0, import_react18.forwardRef)(
|
|
918
1060
|
(_a, ref) => {
|
|
919
1061
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
920
|
-
return /* @__PURE__ */ (0,
|
|
1062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
921
1063
|
RadixForm.Field,
|
|
922
1064
|
__spreadProps(__spreadValues({}, rest), {
|
|
923
1065
|
className: `FormField ${className || ""}`,
|
|
924
1066
|
ref,
|
|
925
|
-
children: /* @__PURE__ */ (0,
|
|
1067
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FieldContext.Provider, { value: rest, children })
|
|
926
1068
|
})
|
|
927
1069
|
);
|
|
928
1070
|
}
|
|
929
1071
|
);
|
|
930
1072
|
Field2.displayName = "FORM_FIELD";
|
|
931
1073
|
function HeadingLabel(props) {
|
|
932
|
-
return /* @__PURE__ */ (0,
|
|
1074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
933
1075
|
}
|
|
934
1076
|
function CaptionLabel(props) {
|
|
935
|
-
return /* @__PURE__ */ (0,
|
|
1077
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
936
1078
|
}
|
|
937
1079
|
var Label2 = (0, import_react18.forwardRef)(
|
|
938
1080
|
(_a, ref) => {
|
|
@@ -949,15 +1091,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
949
1091
|
}
|
|
950
1092
|
}, [variant]);
|
|
951
1093
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
952
|
-
return /* @__PURE__ */ (0,
|
|
1094
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
953
1095
|
RadixForm.Label,
|
|
954
1096
|
__spreadProps(__spreadValues({}, rest), {
|
|
955
1097
|
asChild: true,
|
|
956
1098
|
className: `FormLabel ${className || ""}`,
|
|
957
1099
|
ref,
|
|
958
|
-
children: /* @__PURE__ */ (0,
|
|
1100
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Comp, { children: [
|
|
959
1101
|
children,
|
|
960
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
1102
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
961
1103
|
] })
|
|
962
1104
|
})
|
|
963
1105
|
);
|
|
@@ -967,13 +1109,13 @@ Label2.displayName = "FORM_Label";
|
|
|
967
1109
|
var Message2 = (0, import_react18.forwardRef)(
|
|
968
1110
|
(_a, ref) => {
|
|
969
1111
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
970
|
-
return /* @__PURE__ */ (0,
|
|
1112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
971
1113
|
RadixForm.Message,
|
|
972
1114
|
__spreadProps(__spreadValues({}, rest), {
|
|
973
1115
|
asChild: true,
|
|
974
1116
|
className: `FormMessage ${className || ""}`,
|
|
975
1117
|
ref,
|
|
976
|
-
children: /* @__PURE__ */ (0,
|
|
1118
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { color: "red", children })
|
|
977
1119
|
})
|
|
978
1120
|
);
|
|
979
1121
|
}
|
|
@@ -983,7 +1125,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
983
1125
|
(_a, ref) => {
|
|
984
1126
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
985
1127
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
986
|
-
return /* @__PURE__ */ (0,
|
|
1128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
987
1129
|
RadixForm.Control,
|
|
988
1130
|
__spreadProps(__spreadValues({}, rest), {
|
|
989
1131
|
className: `FormControl ${className || ""}`,
|
|
@@ -1006,10 +1148,10 @@ function FormItem(_a) {
|
|
|
1006
1148
|
"children",
|
|
1007
1149
|
"errorMessage"
|
|
1008
1150
|
]);
|
|
1009
|
-
return /* @__PURE__ */ (0,
|
|
1010
|
-
/* @__PURE__ */ (0,
|
|
1151
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1152
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
1011
1153
|
children,
|
|
1012
|
-
/* @__PURE__ */ (0,
|
|
1154
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
1013
1155
|
] }));
|
|
1014
1156
|
}
|
|
1015
1157
|
var Form = {
|
|
@@ -1024,7 +1166,7 @@ var Form = {
|
|
|
1024
1166
|
|
|
1025
1167
|
// src/atoms/auto-sizing-input.tsx
|
|
1026
1168
|
var import_react19 = require("react");
|
|
1027
|
-
var
|
|
1169
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1028
1170
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
1029
1171
|
(_a, ref) => {
|
|
1030
1172
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -1047,46 +1189,46 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1047
1189
|
(0, import_react19.useEffect)(() => {
|
|
1048
1190
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
1049
1191
|
}, [value, onChangeValue]);
|
|
1050
|
-
return /* @__PURE__ */ (0,
|
|
1051
|
-
/* @__PURE__ */ (0,
|
|
1052
|
-
/* @__PURE__ */ (0,
|
|
1192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1193
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1194
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
1053
1195
|
] });
|
|
1054
1196
|
}
|
|
1055
1197
|
);
|
|
1056
1198
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
1057
1199
|
|
|
1058
1200
|
// src/atoms/bullet-text.tsx
|
|
1059
|
-
var
|
|
1201
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1060
1202
|
function BulletText(_a) {
|
|
1061
1203
|
var _b = _a, {
|
|
1062
1204
|
children
|
|
1063
1205
|
} = _b, rest = __objRest(_b, [
|
|
1064
1206
|
"children"
|
|
1065
1207
|
]);
|
|
1066
|
-
return /* @__PURE__ */ (0,
|
|
1067
|
-
/* @__PURE__ */ (0,
|
|
1068
|
-
/* @__PURE__ */ (0,
|
|
1208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1209
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1210
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
1069
1211
|
] });
|
|
1070
1212
|
}
|
|
1071
1213
|
|
|
1072
1214
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
1073
|
-
var
|
|
1215
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1074
1216
|
function CoachingCustomerInfoSmall({
|
|
1075
1217
|
customer,
|
|
1076
1218
|
children,
|
|
1077
1219
|
badge
|
|
1078
1220
|
}) {
|
|
1079
|
-
return /* @__PURE__ */ (0,
|
|
1221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1080
1222
|
import_themes22.Flex,
|
|
1081
1223
|
{
|
|
1082
1224
|
direction: { initial: "column", xs: "row" },
|
|
1083
1225
|
gap: "3",
|
|
1084
1226
|
justify: "between",
|
|
1085
1227
|
children: [
|
|
1086
|
-
/* @__PURE__ */ (0,
|
|
1087
|
-
/* @__PURE__ */ (0,
|
|
1088
|
-
/* @__PURE__ */ (0,
|
|
1089
|
-
/* @__PURE__ */ (0,
|
|
1228
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
1229
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1230
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
1231
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
1090
1232
|
] }) }),
|
|
1091
1233
|
children
|
|
1092
1234
|
]
|
|
@@ -1097,7 +1239,7 @@ function CoachingCustomerInfoSmall({
|
|
|
1097
1239
|
// src/app/platform/userInfos/utils.tsx
|
|
1098
1240
|
var import_date_fns = require("date-fns");
|
|
1099
1241
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
1100
|
-
var
|
|
1242
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1101
1243
|
var infoList = [
|
|
1102
1244
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
1103
1245
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -1153,21 +1295,21 @@ var sessionList = [
|
|
|
1153
1295
|
var renderItem = (args) => {
|
|
1154
1296
|
const { info, data, onClickCopy } = args;
|
|
1155
1297
|
const value = info.getValue(data);
|
|
1156
|
-
return /* @__PURE__ */ (0,
|
|
1298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
1157
1299
|
info.render ? info.render(value) : value || "-",
|
|
1158
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
1300
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
1159
1301
|
] });
|
|
1160
1302
|
};
|
|
1161
1303
|
var renderDataListItem = (args) => {
|
|
1162
1304
|
const { info, data, onClickCopy } = args;
|
|
1163
|
-
return /* @__PURE__ */ (0,
|
|
1164
|
-
/* @__PURE__ */ (0,
|
|
1165
|
-
/* @__PURE__ */ (0,
|
|
1305
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1306
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
1166
1308
|
] }, info.label);
|
|
1167
1309
|
};
|
|
1168
1310
|
function CopyButton(props) {
|
|
1169
1311
|
const { value, onClickCopy } = props;
|
|
1170
|
-
return /* @__PURE__ */ (0,
|
|
1312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1171
1313
|
Button,
|
|
1172
1314
|
{
|
|
1173
1315
|
color: "gray",
|
|
@@ -1176,13 +1318,13 @@ function CopyButton(props) {
|
|
|
1176
1318
|
},
|
|
1177
1319
|
style: { marginLeft: "0", marginTop: "0" },
|
|
1178
1320
|
variant: "transparent",
|
|
1179
|
-
children: /* @__PURE__ */ (0,
|
|
1321
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons4.CopyIcon, {})
|
|
1180
1322
|
}
|
|
1181
1323
|
);
|
|
1182
1324
|
}
|
|
1183
1325
|
|
|
1184
1326
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
1185
|
-
var
|
|
1327
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1186
1328
|
function CoachingCustomerInfoMedium({
|
|
1187
1329
|
customer,
|
|
1188
1330
|
session,
|
|
@@ -1190,28 +1332,28 @@ function CoachingCustomerInfoMedium({
|
|
|
1190
1332
|
badge,
|
|
1191
1333
|
onClickCopy
|
|
1192
1334
|
}) {
|
|
1193
|
-
return /* @__PURE__ */ (0,
|
|
1194
|
-
/* @__PURE__ */ (0,
|
|
1195
|
-
/* @__PURE__ */ (0,
|
|
1196
|
-
/* @__PURE__ */ (0,
|
|
1335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1336
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes6.Box, { children: [
|
|
1337
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1338
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1197
1339
|
badge
|
|
1198
1340
|
] }),
|
|
1199
|
-
/* @__PURE__ */ (0,
|
|
1341
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1200
1342
|
] }),
|
|
1201
1343
|
children,
|
|
1202
|
-
/* @__PURE__ */ (0,
|
|
1344
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1203
1345
|
(el) => renderDataListItem({
|
|
1204
1346
|
info: el,
|
|
1205
1347
|
data: session,
|
|
1206
1348
|
onClickCopy
|
|
1207
1349
|
})
|
|
1208
1350
|
) }) }),
|
|
1209
|
-
/* @__PURE__ */ (0,
|
|
1210
|
-
/* @__PURE__ */ (0,
|
|
1211
|
-
/* @__PURE__ */ (0,
|
|
1351
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
1352
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
1353
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes39.Separator, { size: "4" })
|
|
1212
1354
|
] }),
|
|
1213
|
-
/* @__PURE__ */ (0,
|
|
1214
|
-
return /* @__PURE__ */ (0,
|
|
1355
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
1356
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { children: renderItem({
|
|
1215
1357
|
info: el,
|
|
1216
1358
|
data: customer,
|
|
1217
1359
|
onClickCopy
|
|
@@ -1221,7 +1363,7 @@ function CoachingCustomerInfoMedium({
|
|
|
1221
1363
|
}
|
|
1222
1364
|
|
|
1223
1365
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
1224
|
-
var
|
|
1366
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1225
1367
|
function CoachingCustomerInfoLarge({
|
|
1226
1368
|
customer,
|
|
1227
1369
|
session,
|
|
@@ -1229,24 +1371,24 @@ function CoachingCustomerInfoLarge({
|
|
|
1229
1371
|
badge,
|
|
1230
1372
|
onClickCopy
|
|
1231
1373
|
}) {
|
|
1232
|
-
return /* @__PURE__ */ (0,
|
|
1233
|
-
/* @__PURE__ */ (0,
|
|
1234
|
-
/* @__PURE__ */ (0,
|
|
1235
|
-
/* @__PURE__ */ (0,
|
|
1374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1375
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes6.Box, { children: [
|
|
1376
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1377
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1236
1378
|
badge
|
|
1237
1379
|
] }),
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1380
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1239
1381
|
] }),
|
|
1240
1382
|
children,
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1383
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1242
1384
|
(el) => renderDataListItem({
|
|
1243
1385
|
info: el,
|
|
1244
1386
|
data: session,
|
|
1245
1387
|
onClickCopy
|
|
1246
1388
|
})
|
|
1247
1389
|
) }) }),
|
|
1248
|
-
/* @__PURE__ */ (0,
|
|
1249
|
-
/* @__PURE__ */ (0,
|
|
1390
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes39.Separator, { size: "4" }),
|
|
1391
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1250
1392
|
(info) => renderDataListItem({
|
|
1251
1393
|
info,
|
|
1252
1394
|
data: customer,
|
|
@@ -1257,19 +1399,19 @@ function CoachingCustomerInfoLarge({
|
|
|
1257
1399
|
}
|
|
1258
1400
|
|
|
1259
1401
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
1260
|
-
var
|
|
1402
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1261
1403
|
function CoachingCustomerInfo(props) {
|
|
1262
|
-
return /* @__PURE__ */ (0,
|
|
1263
|
-
/* @__PURE__ */ (0,
|
|
1264
|
-
/* @__PURE__ */ (0,
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1404
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
|
|
1405
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
1406
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
1407
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
1266
1408
|
] });
|
|
1267
1409
|
}
|
|
1268
1410
|
|
|
1269
1411
|
// src/app/platform/goal-manage-card-read.tsx
|
|
1270
1412
|
var import_react20 = require("react");
|
|
1271
1413
|
var import_date_fns2 = require("date-fns");
|
|
1272
|
-
var
|
|
1414
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1273
1415
|
function GoalManageCardRead(props) {
|
|
1274
1416
|
const {
|
|
1275
1417
|
title,
|
|
@@ -1287,7 +1429,7 @@ function GoalManageCardRead(props) {
|
|
|
1287
1429
|
const onClickOpen = (0, import_react20.useCallback)(() => {
|
|
1288
1430
|
setOpen((p) => !p);
|
|
1289
1431
|
}, []);
|
|
1290
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
1432
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.ChevronDownIcon, {});
|
|
1291
1433
|
const badgeMeta = (0, import_react20.useMemo)(() => {
|
|
1292
1434
|
if (!completed && dueDate) {
|
|
1293
1435
|
if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -1300,40 +1442,40 @@ function GoalManageCardRead(props) {
|
|
|
1300
1442
|
return null;
|
|
1301
1443
|
}, [completed, dueDate]);
|
|
1302
1444
|
const renderSubTitle = (0, import_react20.useCallback)((subTitle) => {
|
|
1303
|
-
return /* @__PURE__ */ (0,
|
|
1445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
1304
1446
|
}, []);
|
|
1305
1447
|
const renderSubContent = (0, import_react20.useCallback)((content) => {
|
|
1306
|
-
return /* @__PURE__ */ (0,
|
|
1448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
1307
1449
|
}, []);
|
|
1308
1450
|
const renderCompleteButton = (0, import_react20.useCallback)(() => {
|
|
1309
1451
|
if (completed) {
|
|
1310
|
-
return /* @__PURE__ */ (0,
|
|
1452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
1311
1453
|
}
|
|
1312
|
-
return /* @__PURE__ */ (0,
|
|
1313
|
-
/* @__PURE__ */ (0,
|
|
1314
|
-
/* @__PURE__ */ (0,
|
|
1454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1455
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Button, { size: "small", children: [
|
|
1456
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.RocketIcon, {}),
|
|
1315
1457
|
"\uB2EC\uC131\uD558\uAE30"
|
|
1316
1458
|
] }) }),
|
|
1317
|
-
/* @__PURE__ */ (0,
|
|
1318
|
-
/* @__PURE__ */ (0,
|
|
1319
|
-
/* @__PURE__ */ (0,
|
|
1320
|
-
/* @__PURE__ */ (0,
|
|
1321
|
-
/* @__PURE__ */ (0,
|
|
1459
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1460
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1461
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1462
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
1322
1464
|
] })
|
|
1323
1465
|
] })
|
|
1324
1466
|
] });
|
|
1325
1467
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
1326
|
-
return /* @__PURE__ */ (0,
|
|
1327
|
-
/* @__PURE__ */ (0,
|
|
1328
|
-
/* @__PURE__ */ (0,
|
|
1329
|
-
/* @__PURE__ */ (0,
|
|
1330
|
-
/* @__PURE__ */ (0,
|
|
1331
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
1332
|
-
/* @__PURE__ */ (0,
|
|
1468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
1469
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
1470
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
1471
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
1472
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
1473
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
1474
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
1333
1475
|
] }),
|
|
1334
1476
|
renderCompleteButton()
|
|
1335
1477
|
] }),
|
|
1336
|
-
open ? /* @__PURE__ */ (0,
|
|
1478
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1337
1479
|
import_themes39.Separator,
|
|
1338
1480
|
{
|
|
1339
1481
|
mb: "4",
|
|
@@ -1342,37 +1484,37 @@ function GoalManageCardRead(props) {
|
|
|
1342
1484
|
style: { gridColumnStart: "span 2" }
|
|
1343
1485
|
}
|
|
1344
1486
|
) : null,
|
|
1345
|
-
/* @__PURE__ */ (0,
|
|
1346
|
-
/* @__PURE__ */ (0,
|
|
1347
|
-
/* @__PURE__ */ (0,
|
|
1487
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Collapse, { open, children: [
|
|
1488
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1489
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes6.Box, { children: [
|
|
1348
1490
|
renderSubTitle(
|
|
1349
1491
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
1350
1492
|
),
|
|
1351
1493
|
renderSubContent(expectedEffect)
|
|
1352
1494
|
] }),
|
|
1353
|
-
/* @__PURE__ */ (0,
|
|
1495
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes6.Box, { children: [
|
|
1354
1496
|
renderSubTitle(
|
|
1355
1497
|
"\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"
|
|
1356
1498
|
),
|
|
1357
1499
|
renderSubContent(huddle)
|
|
1358
1500
|
] })
|
|
1359
1501
|
] }),
|
|
1360
|
-
/* @__PURE__ */ (0,
|
|
1361
|
-
/* @__PURE__ */ (0,
|
|
1362
|
-
/* @__PURE__ */ (0,
|
|
1363
|
-
/* @__PURE__ */ (0,
|
|
1502
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
1503
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1504
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
1505
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.TrashIcon, {}),
|
|
1364
1506
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
1365
1507
|
] }) }),
|
|
1366
|
-
/* @__PURE__ */ (0,
|
|
1367
|
-
/* @__PURE__ */ (0,
|
|
1368
|
-
/* @__PURE__ */ (0,
|
|
1369
|
-
/* @__PURE__ */ (0,
|
|
1370
|
-
/* @__PURE__ */ (0,
|
|
1508
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1509
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1510
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1512
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
1371
1513
|
] })
|
|
1372
1514
|
] })
|
|
1373
1515
|
] }),
|
|
1374
|
-
/* @__PURE__ */ (0,
|
|
1375
|
-
/* @__PURE__ */ (0,
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
1517
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.Pencil1Icon, {}),
|
|
1376
1518
|
"\uC218\uC815\uD558\uAE30"
|
|
1377
1519
|
] })
|
|
1378
1520
|
] })
|
|
@@ -1391,20 +1533,20 @@ var import_react22 = require("react");
|
|
|
1391
1533
|
// src/molecules/expand-table/row.tsx
|
|
1392
1534
|
var import_react_table = require("@tanstack/react-table");
|
|
1393
1535
|
var import_react21 = require("react");
|
|
1394
|
-
var
|
|
1536
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1395
1537
|
|
|
1396
1538
|
// src/molecules/expand-table/index.tsx
|
|
1397
|
-
var
|
|
1539
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1398
1540
|
|
|
1399
1541
|
// src/molecules/navigation.tsx
|
|
1400
|
-
var
|
|
1542
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1401
1543
|
|
|
1402
1544
|
// src/molecules/date-picker/index.tsx
|
|
1403
1545
|
var import_react23 = require("react");
|
|
1404
1546
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
1405
1547
|
var import_react_datepicker = require("react-datepicker");
|
|
1406
1548
|
var import_locale = require("date-fns/locale");
|
|
1407
|
-
var
|
|
1549
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1408
1550
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
1409
1551
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
1410
1552
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
@@ -1412,7 +1554,7 @@ var DatePicker = (0, import_react23.forwardRef)(
|
|
|
1412
1554
|
(props, ref) => {
|
|
1413
1555
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1414
1556
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1415
|
-
return /* @__PURE__ */ (0,
|
|
1557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1416
1558
|
ReactDatePicker,
|
|
1417
1559
|
__spreadProps(__spreadValues({
|
|
1418
1560
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1443,35 +1585,35 @@ var renderCustomHeader = (props) => {
|
|
|
1443
1585
|
} = props;
|
|
1444
1586
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1445
1587
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1446
|
-
return /* @__PURE__ */ (0,
|
|
1447
|
-
/* @__PURE__ */ (0,
|
|
1588
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1589
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1448
1590
|
import_themes18.IconButton,
|
|
1449
1591
|
{
|
|
1450
1592
|
disabled: prevMonthButtonDisabled,
|
|
1451
1593
|
onClick: decreaseMonth,
|
|
1452
1594
|
type: "button",
|
|
1453
1595
|
variant: "ghost",
|
|
1454
|
-
children: /* @__PURE__ */ (0,
|
|
1596
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1455
1597
|
}
|
|
1456
1598
|
),
|
|
1457
|
-
/* @__PURE__ */ (0,
|
|
1458
|
-
/* @__PURE__ */ (0,
|
|
1599
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1600
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1459
1601
|
year,
|
|
1460
1602
|
"\uB144"
|
|
1461
1603
|
] }),
|
|
1462
|
-
/* @__PURE__ */ (0,
|
|
1604
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1463
1605
|
month,
|
|
1464
1606
|
"\uC6D4"
|
|
1465
1607
|
] })
|
|
1466
1608
|
] }),
|
|
1467
|
-
/* @__PURE__ */ (0,
|
|
1609
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1468
1610
|
import_themes18.IconButton,
|
|
1469
1611
|
{
|
|
1470
1612
|
disabled: nextMonthButtonDisabled,
|
|
1471
1613
|
onClick: increaseMonth,
|
|
1472
1614
|
type: "button",
|
|
1473
1615
|
variant: "ghost",
|
|
1474
|
-
children: /* @__PURE__ */ (0,
|
|
1616
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_icons3.ChevronRightIcon, {})
|
|
1475
1617
|
}
|
|
1476
1618
|
)
|
|
1477
1619
|
] });
|
|
@@ -1480,12 +1622,12 @@ var renderCustomHeader = (props) => {
|
|
|
1480
1622
|
// src/molecules/dot-navigation.tsx
|
|
1481
1623
|
var import_react24 = require("react");
|
|
1482
1624
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1483
|
-
var
|
|
1625
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1484
1626
|
|
|
1485
1627
|
// src/molecules/stepper.tsx
|
|
1486
1628
|
var import_react25 = require("react");
|
|
1487
1629
|
var import_themes51 = require("@radix-ui/themes");
|
|
1488
|
-
var
|
|
1630
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1489
1631
|
var StepContext = (0, import_react25.createContext)({
|
|
1490
1632
|
active: false,
|
|
1491
1633
|
completed: false,
|
|
@@ -1495,24 +1637,24 @@ var StepContext = (0, import_react25.createContext)({
|
|
|
1495
1637
|
// src/molecules/tag-selector.tsx
|
|
1496
1638
|
var import_react26 = require("react");
|
|
1497
1639
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
1498
|
-
var
|
|
1640
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1499
1641
|
|
|
1500
1642
|
// src/theme/theme-provider.tsx
|
|
1501
1643
|
var import_themes52 = require("@radix-ui/themes");
|
|
1502
|
-
var
|
|
1644
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1503
1645
|
|
|
1504
1646
|
// src/molecules/learning-post.tsx
|
|
1505
|
-
var
|
|
1647
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1506
1648
|
|
|
1507
1649
|
// src/molecules/force-refresh.tsx
|
|
1508
1650
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
1509
|
-
var
|
|
1651
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1510
1652
|
|
|
1511
1653
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
1512
1654
|
var import_react27 = require("react");
|
|
1513
1655
|
var import_date_fns3 = require("date-fns");
|
|
1514
1656
|
var import_clsx = require("clsx");
|
|
1515
|
-
var
|
|
1657
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1516
1658
|
function DatePickerButton(props) {
|
|
1517
1659
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
1518
1660
|
const buttonProps = (0, import_react27.useMemo)(() => {
|
|
@@ -1531,12 +1673,12 @@ function DatePickerButton(props) {
|
|
|
1531
1673
|
(disabled || props.readOnly) && "disabled"
|
|
1532
1674
|
);
|
|
1533
1675
|
}, [disabled, props.readOnly]);
|
|
1534
|
-
return /* @__PURE__ */ (0,
|
|
1676
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1535
1677
|
DatePicker,
|
|
1536
1678
|
__spreadProps(__spreadValues({
|
|
1537
|
-
customInput: /* @__PURE__ */ (0,
|
|
1679
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1538
1680
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1539
|
-
/* @__PURE__ */ (0,
|
|
1681
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons3.CalendarIcon, {})
|
|
1540
1682
|
] }) })),
|
|
1541
1683
|
wrapperClassName: "full-width"
|
|
1542
1684
|
}, rest), {
|
|
@@ -1570,7 +1712,7 @@ var getTimeOption = (time) => {
|
|
|
1570
1712
|
};
|
|
1571
1713
|
|
|
1572
1714
|
// src/molecules/time-select.tsx
|
|
1573
|
-
var
|
|
1715
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1574
1716
|
var getOptionValue = (date, timeValue) => {
|
|
1575
1717
|
if (date && timeValue) {
|
|
1576
1718
|
if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -1596,21 +1738,21 @@ function TimeSelect(_a) {
|
|
|
1596
1738
|
const [minOption, maxOption] = (0, import_react28.useMemo)(() => {
|
|
1597
1739
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1598
1740
|
}, [maxTime, minTime, time]);
|
|
1599
|
-
return /* @__PURE__ */ (0,
|
|
1600
|
-
/* @__PURE__ */ (0,
|
|
1601
|
-
/* @__PURE__ */ (0,
|
|
1741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1743
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1602
1744
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1603
1745
|
if (!visible) {
|
|
1604
1746
|
return null;
|
|
1605
1747
|
}
|
|
1606
|
-
return /* @__PURE__ */ (0,
|
|
1748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Select.Item, { value: option, children: option }, option);
|
|
1607
1749
|
}) })
|
|
1608
1750
|
] }));
|
|
1609
1751
|
}
|
|
1610
1752
|
|
|
1611
1753
|
// src/molecules/radio-button-card.tsx
|
|
1612
1754
|
var import_react29 = require("react");
|
|
1613
|
-
var
|
|
1755
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1614
1756
|
var RadioCardContext = (0, import_react29.createContext)({});
|
|
1615
1757
|
function Root8(props) {
|
|
1616
1758
|
const [value, setValue] = (0, import_react29.useState)(props.value || props.defaultValue);
|
|
@@ -1622,7 +1764,7 @@ function Root8(props) {
|
|
|
1622
1764
|
},
|
|
1623
1765
|
[props]
|
|
1624
1766
|
);
|
|
1625
|
-
return /* @__PURE__ */ (0,
|
|
1767
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
1626
1768
|
}
|
|
1627
1769
|
function Item(_a) {
|
|
1628
1770
|
var _b = _a, {
|
|
@@ -1639,9 +1781,9 @@ function Item(_a) {
|
|
|
1639
1781
|
"justify",
|
|
1640
1782
|
"RadioWrapper"
|
|
1641
1783
|
]);
|
|
1642
|
-
return /* @__PURE__ */ (0,
|
|
1784
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1643
1785
|
children,
|
|
1644
|
-
/* @__PURE__ */ (0,
|
|
1786
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
1645
1787
|
import_themes32.Radio,
|
|
1646
1788
|
{
|
|
1647
1789
|
checked: itemRest.value === value,
|
|
@@ -1658,10 +1800,10 @@ var RadioButtonCard = {
|
|
|
1658
1800
|
|
|
1659
1801
|
// src/molecules/download-card.tsx
|
|
1660
1802
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
1661
|
-
var
|
|
1803
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1662
1804
|
|
|
1663
1805
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
1664
|
-
var
|
|
1806
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1665
1807
|
var initialValues = {
|
|
1666
1808
|
goal: "",
|
|
1667
1809
|
effect: "",
|
|
@@ -1690,11 +1832,11 @@ function GoalManageCardEdit(props) {
|
|
|
1690
1832
|
var _a;
|
|
1691
1833
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
1692
1834
|
}, [props, values]);
|
|
1693
|
-
return /* @__PURE__ */ (0,
|
|
1694
|
-
/* @__PURE__ */ (0,
|
|
1695
|
-
/* @__PURE__ */ (0,
|
|
1696
|
-
/* @__PURE__ */ (0,
|
|
1697
|
-
/* @__PURE__ */ (0,
|
|
1835
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
1836
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1837
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Form.Field, { name: "title", children: [
|
|
1838
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1698
1840
|
TextField.Root,
|
|
1699
1841
|
{
|
|
1700
1842
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -1705,11 +1847,11 @@ function GoalManageCardEdit(props) {
|
|
|
1705
1847
|
value: values.goal
|
|
1706
1848
|
}
|
|
1707
1849
|
),
|
|
1708
|
-
/* @__PURE__ */ (0,
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
1709
1851
|
] }),
|
|
1710
|
-
/* @__PURE__ */ (0,
|
|
1711
|
-
/* @__PURE__ */ (0,
|
|
1712
|
-
/* @__PURE__ */ (0,
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Form.Field, { name: "effect", children: [
|
|
1853
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
1854
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1713
1855
|
TextArea,
|
|
1714
1856
|
{
|
|
1715
1857
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -1721,11 +1863,11 @@ function GoalManageCardEdit(props) {
|
|
|
1721
1863
|
value: values.effect
|
|
1722
1864
|
}
|
|
1723
1865
|
),
|
|
1724
|
-
/* @__PURE__ */ (0,
|
|
1866
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
1725
1867
|
] }),
|
|
1726
|
-
/* @__PURE__ */ (0,
|
|
1727
|
-
/* @__PURE__ */ (0,
|
|
1728
|
-
/* @__PURE__ */ (0,
|
|
1868
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Form.Field, { name: "huddle", children: [
|
|
1869
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
1870
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1729
1871
|
TextArea,
|
|
1730
1872
|
{
|
|
1731
1873
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -1739,11 +1881,11 @@ function GoalManageCardEdit(props) {
|
|
|
1739
1881
|
value: values.huddle
|
|
1740
1882
|
}
|
|
1741
1883
|
),
|
|
1742
|
-
/* @__PURE__ */ (0,
|
|
1884
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
1743
1885
|
] }),
|
|
1744
|
-
/* @__PURE__ */ (0,
|
|
1745
|
-
/* @__PURE__ */ (0,
|
|
1746
|
-
/* @__PURE__ */ (0,
|
|
1886
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
1887
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1747
1889
|
DatePickerButton,
|
|
1748
1890
|
{
|
|
1749
1891
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -1754,11 +1896,11 @@ function GoalManageCardEdit(props) {
|
|
|
1754
1896
|
selected: values.dueDate
|
|
1755
1897
|
}
|
|
1756
1898
|
),
|
|
1757
|
-
/* @__PURE__ */ (0,
|
|
1899
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
1758
1900
|
] })
|
|
1759
1901
|
] }),
|
|
1760
|
-
/* @__PURE__ */ (0,
|
|
1761
|
-
/* @__PURE__ */ (0,
|
|
1902
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
1903
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1762
1904
|
Button,
|
|
1763
1905
|
{
|
|
1764
1906
|
color: "gray",
|
|
@@ -1769,7 +1911,7 @@ function GoalManageCardEdit(props) {
|
|
|
1769
1911
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
1770
1912
|
}
|
|
1771
1913
|
),
|
|
1772
|
-
/* @__PURE__ */ (0,
|
|
1914
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
1773
1915
|
] })
|
|
1774
1916
|
] }) });
|
|
1775
1917
|
}
|
|
@@ -1780,7 +1922,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
1780
1922
|
|
|
1781
1923
|
// src/app/platform/edit-coaching-time.tsx
|
|
1782
1924
|
var import_react31 = require("react");
|
|
1783
|
-
var
|
|
1925
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1784
1926
|
var getValueFromDefaultValue = (args) => {
|
|
1785
1927
|
return {
|
|
1786
1928
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -1850,10 +1992,10 @@ function EditCoachingTime(props) {
|
|
|
1850
1992
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
1851
1993
|
}
|
|
1852
1994
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
1853
|
-
return /* @__PURE__ */ (0,
|
|
1854
|
-
/* @__PURE__ */ (0,
|
|
1855
|
-
/* @__PURE__ */ (0,
|
|
1856
|
-
/* @__PURE__ */ (0,
|
|
1995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Form.Root, { children: [
|
|
1996
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Form.Field, { name: "date", children: [
|
|
1997
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
1998
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
1857
1999
|
DatePickerButton,
|
|
1858
2000
|
{
|
|
1859
2001
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -1863,7 +2005,7 @@ function EditCoachingTime(props) {
|
|
|
1863
2005
|
}
|
|
1864
2006
|
)
|
|
1865
2007
|
] }),
|
|
1866
|
-
/* @__PURE__ */ (0,
|
|
2008
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1867
2009
|
import_themes23.Grid,
|
|
1868
2010
|
{
|
|
1869
2011
|
align: "center",
|
|
@@ -1878,10 +2020,10 @@ function EditCoachingTime(props) {
|
|
|
1878
2020
|
mt: "5",
|
|
1879
2021
|
width: "100%",
|
|
1880
2022
|
children: [
|
|
1881
|
-
/* @__PURE__ */ (0,
|
|
1882
|
-
/* @__PURE__ */ (0,
|
|
1883
|
-
/* @__PURE__ */ (0,
|
|
1884
|
-
/* @__PURE__ */ (0,
|
|
2023
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
2024
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {}),
|
|
2025
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
1885
2027
|
TimeSelect,
|
|
1886
2028
|
{
|
|
1887
2029
|
onValueChange: onChangeStartTime,
|
|
@@ -1889,8 +2031,8 @@ function EditCoachingTime(props) {
|
|
|
1889
2031
|
value: values.startTime
|
|
1890
2032
|
}
|
|
1891
2033
|
),
|
|
1892
|
-
/* @__PURE__ */ (0,
|
|
1893
|
-
/* @__PURE__ */ (0,
|
|
2034
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes39.Separator, {}) }),
|
|
2035
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
1894
2036
|
TimeSelect,
|
|
1895
2037
|
{
|
|
1896
2038
|
onValueChange: onChangeEndTime,
|
|
@@ -1898,13 +2040,13 @@ function EditCoachingTime(props) {
|
|
|
1898
2040
|
value: values.endTime
|
|
1899
2041
|
}
|
|
1900
2042
|
),
|
|
1901
|
-
/* @__PURE__ */ (0,
|
|
2043
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
1902
2044
|
]
|
|
1903
2045
|
}
|
|
1904
2046
|
),
|
|
1905
|
-
/* @__PURE__ */ (0,
|
|
1906
|
-
/* @__PURE__ */ (0,
|
|
1907
|
-
/* @__PURE__ */ (0,
|
|
2047
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
2048
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2049
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1908
2050
|
] })
|
|
1909
2051
|
] }) });
|
|
1910
2052
|
}
|
|
@@ -1914,20 +2056,20 @@ var import_react32 = require("react");
|
|
|
1914
2056
|
|
|
1915
2057
|
// src/app/platform/on-offline-radio-card.tsx
|
|
1916
2058
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
1917
|
-
var
|
|
2059
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1918
2060
|
var SERVICE_TYPE = {
|
|
1919
2061
|
onlineCoaching: "onlineCoaching",
|
|
1920
2062
|
offlineCoaching: "offlineCoaching"
|
|
1921
2063
|
};
|
|
1922
2064
|
var breakpoint = "sm";
|
|
1923
2065
|
function HideSmallBox(props) {
|
|
1924
|
-
return /* @__PURE__ */ (0,
|
|
2066
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
1925
2067
|
}
|
|
1926
2068
|
function OnOfflineRadioCard(props) {
|
|
1927
2069
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
1928
2070
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
1929
2071
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
1930
|
-
return /* @__PURE__ */ (0,
|
|
2072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
1931
2073
|
RadioButtonCard.Root,
|
|
1932
2074
|
__spreadProps(__spreadValues({
|
|
1933
2075
|
RadioWrapper: Wrapper,
|
|
@@ -1936,13 +2078,13 @@ function OnOfflineRadioCard(props) {
|
|
|
1936
2078
|
justify
|
|
1937
2079
|
}, props), {
|
|
1938
2080
|
children: [
|
|
1939
|
-
/* @__PURE__ */ (0,
|
|
1940
|
-
/* @__PURE__ */ (0,
|
|
1941
|
-
/* @__PURE__ */ (0,
|
|
2081
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2082
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
1942
2084
|
] }) }),
|
|
1943
|
-
/* @__PURE__ */ (0,
|
|
1944
|
-
/* @__PURE__ */ (0,
|
|
1945
|
-
/* @__PURE__ */ (0,
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
1946
2088
|
] }) })
|
|
1947
2089
|
]
|
|
1948
2090
|
})
|
|
@@ -1950,7 +2092,7 @@ function OnOfflineRadioCard(props) {
|
|
|
1950
2092
|
}
|
|
1951
2093
|
|
|
1952
2094
|
// src/app/platform/edit-service-type.tsx
|
|
1953
|
-
var
|
|
2095
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
1954
2096
|
function EditServiceType(props) {
|
|
1955
2097
|
const { defaultServiceType, onClickCancel } = props;
|
|
1956
2098
|
const [sessionType, setSessionType] = (0, import_react32.useState)(
|
|
@@ -1960,8 +2102,8 @@ function EditServiceType(props) {
|
|
|
1960
2102
|
var _a;
|
|
1961
2103
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
1962
2104
|
}, [props, sessionType]);
|
|
1963
|
-
return /* @__PURE__ */ (0,
|
|
1964
|
-
/* @__PURE__ */ (0,
|
|
2105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes6.Box, { children: [
|
|
2106
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1965
2107
|
Typo,
|
|
1966
2108
|
{
|
|
1967
2109
|
as: "p",
|
|
@@ -1971,16 +2113,16 @@ function EditServiceType(props) {
|
|
|
1971
2113
|
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"
|
|
1972
2114
|
}
|
|
1973
2115
|
),
|
|
1974
|
-
/* @__PURE__ */ (0,
|
|
1975
|
-
/* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1978
2120
|
] })
|
|
1979
2121
|
] });
|
|
1980
2122
|
}
|
|
1981
2123
|
|
|
1982
2124
|
// src/app/platform/session-card.tsx
|
|
1983
|
-
var
|
|
2125
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
1984
2126
|
var preventDefault2 = (e) => {
|
|
1985
2127
|
e.preventDefault();
|
|
1986
2128
|
};
|
|
@@ -2011,33 +2153,33 @@ function SessionCard(props) {
|
|
|
2011
2153
|
"sessionType"
|
|
2012
2154
|
]);
|
|
2013
2155
|
const renderEditButton = (0, import_react33.useCallback)(() => {
|
|
2014
|
-
return /* @__PURE__ */ (0,
|
|
2156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react_icons3.Pencil1Icon, {}) });
|
|
2015
2157
|
}, []);
|
|
2016
2158
|
const sessionTimeStr = (0, import_react33.useMemo)(() => {
|
|
2017
2159
|
if (!startAt || !endAt)
|
|
2018
2160
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
2019
2161
|
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")}`;
|
|
2020
2162
|
}, [startAt, endAt]);
|
|
2021
|
-
return /* @__PURE__ */ (0,
|
|
2022
|
-
/* @__PURE__ */ (0,
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2165
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
2024
2166
|
TitleExtra,
|
|
2025
|
-
error ? /* @__PURE__ */ (0,
|
|
2167
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
2026
2168
|
] }),
|
|
2027
|
-
/* @__PURE__ */ (0,
|
|
2028
|
-
/* @__PURE__ */ (0,
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
2030
|
-
/* @__PURE__ */ (0,
|
|
2169
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2170
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2171
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2172
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2031
2173
|
sessionTimeStr,
|
|
2032
|
-
editable ? /* @__PURE__ */ (0,
|
|
2033
|
-
/* @__PURE__ */ (0,
|
|
2034
|
-
/* @__PURE__ */ (0,
|
|
2174
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Dialog.Root, { children: [
|
|
2175
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2176
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2035
2177
|
Dialog.Content,
|
|
2036
2178
|
{
|
|
2037
2179
|
onOpenAutoFocus: preventDefault2,
|
|
2038
2180
|
style: { overflow: "visible" },
|
|
2039
2181
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
2040
|
-
children: /* @__PURE__ */ (0,
|
|
2182
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2041
2183
|
EditCoachingTime,
|
|
2042
2184
|
{
|
|
2043
2185
|
defaultEndAt: endAt,
|
|
@@ -2050,18 +2192,18 @@ function SessionCard(props) {
|
|
|
2050
2192
|
] }) : null
|
|
2051
2193
|
] })
|
|
2052
2194
|
] }),
|
|
2053
|
-
/* @__PURE__ */ (0,
|
|
2054
|
-
/* @__PURE__ */ (0,
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2056
|
-
/* @__PURE__ */ (0,
|
|
2195
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
2196
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2057
2199
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
2058
|
-
editable ? /* @__PURE__ */ (0,
|
|
2059
|
-
/* @__PURE__ */ (0,
|
|
2060
|
-
/* @__PURE__ */ (0,
|
|
2200
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Dialog.Root, { children: [
|
|
2201
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2202
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2061
2203
|
Dialog.Content,
|
|
2062
2204
|
{
|
|
2063
2205
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
2064
|
-
children: /* @__PURE__ */ (0,
|
|
2206
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2065
2207
|
EditServiceType,
|
|
2066
2208
|
{
|
|
2067
2209
|
defaultServiceType: sessionType,
|
|
@@ -2073,32 +2215,32 @@ function SessionCard(props) {
|
|
|
2073
2215
|
] }) : null
|
|
2074
2216
|
] })
|
|
2075
2217
|
] }),
|
|
2076
|
-
/* @__PURE__ */ (0,
|
|
2218
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
2077
2219
|
] })
|
|
2078
2220
|
] })
|
|
2079
2221
|
] }) }));
|
|
2080
2222
|
}
|
|
2081
2223
|
|
|
2082
2224
|
// src/app/platform/coach-question-list.tsx
|
|
2083
|
-
var
|
|
2225
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2084
2226
|
function QuestionItem({ question, answer }) {
|
|
2085
|
-
return /* @__PURE__ */ (0,
|
|
2086
|
-
/* @__PURE__ */ (0,
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes6.Box, { children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2088
2230
|
] }, question);
|
|
2089
2231
|
}
|
|
2090
2232
|
function CoachQuestionList({
|
|
2091
2233
|
questions
|
|
2092
2234
|
}) {
|
|
2093
|
-
return /* @__PURE__ */ (0,
|
|
2094
|
-
return /* @__PURE__ */ (0,
|
|
2235
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2095
2237
|
}) });
|
|
2096
2238
|
}
|
|
2097
2239
|
|
|
2098
2240
|
// src/app/platform/reservation-card.tsx
|
|
2099
2241
|
var import_react34 = require("react");
|
|
2100
2242
|
var import_date_fns7 = require("date-fns");
|
|
2101
|
-
var
|
|
2243
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2102
2244
|
function ReservationCard(props) {
|
|
2103
2245
|
const {
|
|
2104
2246
|
sessionNumber,
|
|
@@ -2132,9 +2274,9 @@ function ReservationCard(props) {
|
|
|
2132
2274
|
}, [defaultTime, defaultType]);
|
|
2133
2275
|
const ActionButtons = (0, import_react34.useMemo)(() => {
|
|
2134
2276
|
if (readonly) {
|
|
2135
|
-
return /* @__PURE__ */ (0,
|
|
2277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2136
2278
|
}
|
|
2137
|
-
return /* @__PURE__ */ (0,
|
|
2279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_icons3.Cross1Icon, {}) });
|
|
2138
2280
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2139
2281
|
const onChangeDate = (0, import_react34.useCallback)(
|
|
2140
2282
|
(newDate) => {
|
|
@@ -2191,47 +2333,47 @@ function ReservationCard(props) {
|
|
|
2191
2333
|
});
|
|
2192
2334
|
}
|
|
2193
2335
|
}, [editValues, maxTime, readonly]);
|
|
2194
|
-
return /* @__PURE__ */ (0,
|
|
2336
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2195
2337
|
Card,
|
|
2196
2338
|
{
|
|
2197
2339
|
error: Boolean(error),
|
|
2198
2340
|
size: "3",
|
|
2199
2341
|
style: { overflow: "visible", contain: "initial" },
|
|
2200
2342
|
children: [
|
|
2201
|
-
/* @__PURE__ */ (0,
|
|
2202
|
-
/* @__PURE__ */ (0,
|
|
2343
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2203
2345
|
import_themes23.Grid,
|
|
2204
2346
|
{
|
|
2205
2347
|
align: "center",
|
|
2206
2348
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2207
2349
|
gapY: "2",
|
|
2208
2350
|
children: [
|
|
2209
|
-
/* @__PURE__ */ (0,
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2351
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2352
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2211
2353
|
customerName || "-",
|
|
2212
2354
|
"\uB2D8 ",
|
|
2213
2355
|
sessionNumber || "-",
|
|
2214
2356
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2215
2357
|
] }),
|
|
2216
|
-
/* @__PURE__ */ (0,
|
|
2358
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2217
2359
|
] }),
|
|
2218
|
-
error ? /* @__PURE__ */ (0,
|
|
2360
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2219
2361
|
]
|
|
2220
2362
|
}
|
|
2221
2363
|
),
|
|
2222
|
-
/* @__PURE__ */ (0,
|
|
2364
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2223
2365
|
] }),
|
|
2224
|
-
/* @__PURE__ */ (0,
|
|
2366
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2225
2367
|
Form.Root,
|
|
2226
2368
|
{
|
|
2227
2369
|
onSubmit: (e) => {
|
|
2228
2370
|
e.preventDefault();
|
|
2229
2371
|
},
|
|
2230
|
-
children: /* @__PURE__ */ (0,
|
|
2231
|
-
/* @__PURE__ */ (0,
|
|
2232
|
-
/* @__PURE__ */ (0,
|
|
2233
|
-
/* @__PURE__ */ (0,
|
|
2234
|
-
/* @__PURE__ */ (0,
|
|
2372
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2373
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Form.Label, { asChild: true, children: [
|
|
2374
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2375
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
2376
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2235
2377
|
DatePickerButton,
|
|
2236
2378
|
{
|
|
2237
2379
|
disabled: readonly,
|
|
@@ -2243,7 +2385,7 @@ function ReservationCard(props) {
|
|
|
2243
2385
|
size: "large"
|
|
2244
2386
|
}
|
|
2245
2387
|
),
|
|
2246
|
-
/* @__PURE__ */ (0,
|
|
2388
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2247
2389
|
TimeSelect,
|
|
2248
2390
|
{
|
|
2249
2391
|
disabled: readonly,
|
|
@@ -2257,9 +2399,9 @@ function ReservationCard(props) {
|
|
|
2257
2399
|
)
|
|
2258
2400
|
] })
|
|
2259
2401
|
] }) }),
|
|
2260
|
-
/* @__PURE__ */ (0,
|
|
2261
|
-
/* @__PURE__ */ (0,
|
|
2262
|
-
/* @__PURE__ */ (0,
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Form.Field, { name: "type", children: [
|
|
2403
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
2404
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2263
2405
|
OnOfflineRadioCard,
|
|
2264
2406
|
{
|
|
2265
2407
|
disabled: readonly,
|
|
@@ -2269,8 +2411,8 @@ function ReservationCard(props) {
|
|
|
2269
2411
|
}
|
|
2270
2412
|
) })
|
|
2271
2413
|
] }),
|
|
2272
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2273
|
-
/* @__PURE__ */ (0,
|
|
2414
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2415
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2274
2416
|
Button,
|
|
2275
2417
|
{
|
|
2276
2418
|
color: "gray",
|
|
@@ -2280,12 +2422,12 @@ function ReservationCard(props) {
|
|
|
2280
2422
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2281
2423
|
}
|
|
2282
2424
|
),
|
|
2283
|
-
/* @__PURE__ */ (0,
|
|
2425
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2284
2426
|
] })
|
|
2285
2427
|
] })
|
|
2286
2428
|
}
|
|
2287
2429
|
) }),
|
|
2288
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2430
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2289
2431
|
import_themes6.Box,
|
|
2290
2432
|
{
|
|
2291
2433
|
mt: "5",
|
|
@@ -2293,14 +2435,14 @@ function ReservationCard(props) {
|
|
|
2293
2435
|
py: "4",
|
|
2294
2436
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2295
2437
|
width: "100%",
|
|
2296
|
-
children: /* @__PURE__ */ (0,
|
|
2297
|
-
/* @__PURE__ */ (0,
|
|
2438
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2439
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Typo, { children: [
|
|
2298
2440
|
sessionNumber || "-",
|
|
2299
2441
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2300
2442
|
] }),
|
|
2301
|
-
/* @__PURE__ */ (0,
|
|
2443
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2302
2444
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2303
|
-
/* @__PURE__ */ (0,
|
|
2445
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_icons3.ArrowRightIcon, {})
|
|
2304
2446
|
] })
|
|
2305
2447
|
] })
|
|
2306
2448
|
}
|
|
@@ -2312,14 +2454,14 @@ function ReservationCard(props) {
|
|
|
2312
2454
|
|
|
2313
2455
|
// src/app/platform/session-review-simple-read.tsx
|
|
2314
2456
|
var import_react35 = require("react");
|
|
2315
|
-
var
|
|
2457
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2316
2458
|
function SubTitleWrapper({
|
|
2317
2459
|
children,
|
|
2318
2460
|
title
|
|
2319
2461
|
}) {
|
|
2320
|
-
return /* @__PURE__ */ (0,
|
|
2321
|
-
/* @__PURE__ */ (0,
|
|
2322
|
-
/* @__PURE__ */ (0,
|
|
2462
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2463
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_themes6.Box, { children })
|
|
2323
2465
|
] });
|
|
2324
2466
|
}
|
|
2325
2467
|
function SessionReviewSimpleRead({
|
|
@@ -2344,22 +2486,22 @@ function SessionReviewSimpleRead({
|
|
|
2344
2486
|
color: "error"
|
|
2345
2487
|
};
|
|
2346
2488
|
}, [helpfulness]);
|
|
2347
|
-
return /* @__PURE__ */ (0,
|
|
2348
|
-
/* @__PURE__ */ (0,
|
|
2349
|
-
/* @__PURE__ */ (0,
|
|
2489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2490
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.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_runtime59.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2491
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2350
2492
|
] }) });
|
|
2351
2493
|
}
|
|
2352
2494
|
|
|
2353
2495
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
2354
|
-
var
|
|
2496
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2355
2497
|
function SectionWrapper({
|
|
2356
2498
|
title,
|
|
2357
2499
|
children
|
|
2358
2500
|
}) {
|
|
2359
|
-
return /* @__PURE__ */ (0,
|
|
2360
|
-
/* @__PURE__ */ (0,
|
|
2361
|
-
/* @__PURE__ */ (0,
|
|
2362
|
-
/* @__PURE__ */ (0,
|
|
2501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_themes6.Box, { children: [
|
|
2502
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2503
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2504
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes39.Separator, { size: "4" })
|
|
2363
2505
|
] }),
|
|
2364
2506
|
children
|
|
2365
2507
|
] });
|
|
@@ -2369,11 +2511,11 @@ function SessionUserInfoDetail({
|
|
|
2369
2511
|
session,
|
|
2370
2512
|
onClickCopy
|
|
2371
2513
|
}) {
|
|
2372
|
-
return /* @__PURE__ */ (0,
|
|
2373
|
-
/* @__PURE__ */ (0,
|
|
2514
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2515
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2374
2516
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
2375
2517
|
) }) }),
|
|
2376
|
-
/* @__PURE__ */ (0,
|
|
2518
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
2377
2519
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
2378
2520
|
) }) })
|
|
2379
2521
|
] });
|
|
@@ -2381,7 +2523,7 @@ function SessionUserInfoDetail({
|
|
|
2381
2523
|
|
|
2382
2524
|
// src/app/platform/report-card.tsx
|
|
2383
2525
|
var import_react36 = require("react");
|
|
2384
|
-
var
|
|
2526
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2385
2527
|
function ReportCard(props) {
|
|
2386
2528
|
const { title, file, status } = props;
|
|
2387
2529
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
@@ -2397,21 +2539,21 @@ function ReportCard(props) {
|
|
|
2397
2539
|
document.body.removeChild(link);
|
|
2398
2540
|
}, [file]);
|
|
2399
2541
|
if (status) {
|
|
2400
|
-
return /* @__PURE__ */ (0,
|
|
2401
|
-
/* @__PURE__ */ (0,
|
|
2542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
2543
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2402
2544
|
status
|
|
2403
2545
|
] }) });
|
|
2404
2546
|
}
|
|
2405
|
-
return /* @__PURE__ */ (0,
|
|
2547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2406
2548
|
import_themes22.Flex,
|
|
2407
2549
|
{
|
|
2408
2550
|
direction: { initial: "column", xs: "row" },
|
|
2409
2551
|
gapY: "2",
|
|
2410
2552
|
justify: "between",
|
|
2411
2553
|
children: [
|
|
2412
|
-
/* @__PURE__ */ (0,
|
|
2413
|
-
/* @__PURE__ */ (0,
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2554
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2555
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2556
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_icons3.DownloadIcon, {}),
|
|
2415
2557
|
file == null ? void 0 : file.buttonName
|
|
2416
2558
|
] }) }, file == null ? void 0 : file.url)
|
|
2417
2559
|
]
|