@tipp/ui 2.0.5 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.cjs +505 -308
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +65 -60
- package/dist/app/platform/coach-question-list.cjs +231 -34
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +38 -33
- package/dist/app/platform/contents-card.cjs +259 -62
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +38 -33
- package/dist/app/platform/curriculum-card.cjs +213 -16
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +11 -6
- package/dist/app/platform/edit-coaching-time.cjs +275 -78
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +48 -43
- package/dist/app/platform/edit-service-type.cjs +268 -71
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +47 -42
- package/dist/app/platform/goal-manage-card-edit.cjs +277 -80
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +48 -43
- package/dist/app/platform/goal-manage-card-read.cjs +261 -64
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +38 -33
- package/dist/app/platform/on-offline-radio-card.cjs +261 -64
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +47 -42
- package/dist/app/platform/report-card.cjs +234 -37
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +38 -33
- package/dist/app/platform/reservation-card.cjs +303 -106
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +48 -43
- package/dist/app/platform/session-card.cjs +320 -123
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +49 -44
- package/dist/app/platform/session-review-simple-read.cjs +232 -35
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +38 -33
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +265 -68
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +41 -36
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +242 -45
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +38 -33
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +245 -48
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +38 -33
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +231 -34
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +37 -32
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +241 -44
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +37 -32
- package/dist/app/platform/userInfos/utils.cjs +233 -36
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +37 -32
- package/dist/atoms/index.cjs +256 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +73 -68
- package/dist/atoms/pagination.cjs +210 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +9 -4
- package/dist/atoms/toast.cjs +1 -1
- package/dist/atoms/toast.cjs.map +1 -1
- package/dist/atoms/toast.js +1 -1
- package/dist/chunk-26ZU5KUR.js +39 -0
- package/dist/chunk-26ZU5KUR.js.map +1 -0
- package/dist/chunk-4LUNQ3CA.js +1 -0
- package/dist/{chunk-2NPJVXPG.js → chunk-5QDXJKPG.js} +7 -7
- package/dist/{chunk-5KZGH6FB.js → chunk-6BCKUMXK.js} +2 -2
- package/dist/chunk-BUR6IEYN.js +54 -0
- package/dist/chunk-BUR6IEYN.js.map +1 -0
- package/dist/chunk-D3T4W2PT.js +96 -0
- package/dist/chunk-D3T4W2PT.js.map +1 -0
- package/dist/chunk-D7EHLF4N.js +63 -0
- package/dist/chunk-D7EHLF4N.js.map +1 -0
- package/dist/chunk-D7EYDD4E.js +52 -0
- package/dist/chunk-D7EYDD4E.js.map +1 -0
- package/dist/chunk-ECVAWQXV.js +54 -0
- package/dist/chunk-ECVAWQXV.js.map +1 -0
- package/dist/chunk-EHNRZEFC.js +145 -0
- package/dist/{chunk-K3EDEQP6.js → chunk-ERRML4CH.js} +4 -4
- package/dist/chunk-IVB77FRN.js +52 -0
- package/dist/chunk-IVB77FRN.js.map +1 -0
- package/dist/{chunk-LI5NKNUK.js → chunk-JKJCI4MU.js} +2 -2
- package/dist/chunk-K25BYIJ7.js +42 -0
- package/dist/chunk-K25BYIJ7.js.map +1 -0
- package/dist/{chunk-TF3Q4TQM.js → chunk-QAHOUIRL.js} +2 -2
- package/dist/{chunk-ECLZ3IGO.js → chunk-QD5ZSFPG.js} +1 -1
- package/dist/chunk-QD5ZSFPG.js.map +1 -0
- package/dist/{chunk-JPZNEPCW.js → chunk-QJ5OFLUS.js} +2 -2
- package/dist/chunk-S57U6FZO.js +42 -0
- package/dist/chunk-S57U6FZO.js.map +1 -0
- package/dist/{chunk-KDEUSAQW.js → chunk-T2ORCMNM.js} +7 -7
- package/dist/chunk-T2ORCMNM.js.map +1 -0
- package/dist/chunk-TTBHLLMV.js +281 -0
- package/dist/chunk-UQN63IRS.js +54 -0
- package/dist/chunk-UQN63IRS.js.map +1 -0
- package/dist/chunk-VO7TWLMN.js +144 -0
- package/dist/chunk-VO7TWLMN.js.map +1 -0
- package/dist/{chunk-A2NYBAVH.js → chunk-VPSEKCUO.js} +2 -2
- package/dist/chunk-VPSEKCUO.js.map +1 -0
- package/dist/chunk-VY56ZADJ.js +1 -0
- package/dist/chunk-VY56ZADJ.js.map +1 -0
- package/dist/chunk-XSX6K7SK.js +45 -0
- package/dist/chunk-XSX6K7SK.js.map +1 -0
- package/dist/chunk-YAKBC4L7.js +45 -0
- package/dist/chunk-YAKBC4L7.js.map +1 -0
- package/dist/chunk-Z6DWN5OD.js +174 -0
- package/dist/chunk-Z6DWN5OD.js.map +1 -0
- package/dist/icon.cjs +207 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +5 -0
- package/dist/icon.d.ts +5 -0
- package/dist/icon.js +29 -9
- package/dist/icons/circle-check.cjs +102 -0
- package/dist/icons/circle-check.cjs.map +1 -0
- package/dist/icons/circle-check.d.cts +6 -0
- package/dist/icons/circle-check.d.ts +6 -0
- package/dist/icons/circle-check.js +8 -0
- package/dist/icons/circle-check.js.map +1 -0
- package/dist/icons/circle-pencil.cjs +111 -0
- package/dist/icons/circle-pencil.cjs.map +1 -0
- package/dist/icons/circle-pencil.d.cts +6 -0
- package/dist/icons/circle-pencil.d.ts +6 -0
- package/dist/icons/circle-pencil.js +8 -0
- package/dist/icons/circle-pencil.js.map +1 -0
- package/dist/icons/circle-play.cjs +99 -0
- package/dist/icons/circle-play.cjs.map +1 -0
- package/dist/icons/circle-play.d.cts +6 -0
- package/dist/icons/circle-play.d.ts +6 -0
- package/dist/icons/circle-play.js +8 -0
- package/dist/icons/circle-play.js.map +1 -0
- package/dist/icons/circle-quote.cjs +111 -0
- package/dist/icons/circle-quote.cjs.map +1 -0
- package/dist/icons/circle-quote.d.cts +6 -0
- package/dist/icons/circle-quote.d.ts +6 -0
- package/dist/icons/circle-quote.js +8 -0
- package/dist/icons/circle-quote.js.map +1 -0
- package/dist/icons/circle-satisfaction.cjs +109 -0
- package/dist/icons/circle-satisfaction.cjs.map +1 -0
- package/dist/icons/circle-satisfaction.d.cts +6 -0
- package/dist/icons/circle-satisfaction.d.ts +6 -0
- package/dist/icons/circle-satisfaction.js +8 -0
- package/dist/icons/circle-satisfaction.js.map +1 -0
- package/dist/icons/circle_check.cjs +102 -0
- package/dist/icons/circle_check.cjs.map +1 -0
- package/dist/icons/circle_check.d.cts +6 -0
- package/dist/icons/circle_check.d.ts +6 -0
- package/dist/icons/circle_check.js +8 -0
- package/dist/icons/circle_check.js.map +1 -0
- package/dist/icons/circle_pencil.cjs +111 -0
- package/dist/icons/circle_pencil.cjs.map +1 -0
- package/dist/icons/circle_pencil.d.cts +6 -0
- package/dist/icons/circle_pencil.d.ts +6 -0
- package/dist/icons/circle_pencil.js +8 -0
- package/dist/icons/circle_pencil.js.map +1 -0
- package/dist/icons/circle_play.cjs +99 -0
- package/dist/icons/circle_play.cjs.map +1 -0
- package/dist/icons/circle_play.d.cts +6 -0
- package/dist/icons/circle_play.d.ts +6 -0
- package/dist/icons/circle_play.js +8 -0
- package/dist/icons/circle_play.js.map +1 -0
- package/dist/icons/circle_quote.cjs +111 -0
- package/dist/icons/circle_quote.cjs.map +1 -0
- package/dist/icons/circle_quote.d.cts +6 -0
- package/dist/icons/circle_quote.d.ts +6 -0
- package/dist/icons/circle_quote.js +53 -0
- package/dist/icons/circle_quote.js.map +1 -0
- package/dist/icons/circle_satisfaction.cjs +109 -0
- package/dist/icons/circle_satisfaction.cjs.map +1 -0
- package/dist/icons/circle_satisfaction.d.cts +6 -0
- package/dist/icons/circle_satisfaction.d.ts +6 -0
- package/dist/icons/circle_satisfaction.js +8 -0
- package/dist/icons/circle_satisfaction.js.map +1 -0
- package/dist/icons/index.cjs +207 -0
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +5 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/index.js +29 -9
- package/dist/index.cjs +654 -447
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +145 -125
- package/dist/molecules/date-picker/date-picker-button.cjs +239 -42
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +39 -34
- package/dist/molecules/date-picker/index.cjs +209 -12
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +10 -5
- package/dist/molecules/expand-table/index.cjs +255 -58
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +38 -33
- package/dist/molecules/expand-table/row.cjs +231 -34
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +37 -32
- package/dist/molecules/form/form.cjs.map +1 -1
- package/dist/molecules/form/form.d.cts +11 -11
- package/dist/molecules/form/form.d.ts +11 -11
- package/dist/molecules/form/form.js +1 -1
- package/dist/molecules/form/index.cjs.map +1 -1
- package/dist/molecules/form/index.d.cts +1 -1
- package/dist/molecules/form/index.d.ts +1 -1
- package/dist/molecules/form/index.js +1 -1
- package/dist/molecules/index.cjs +379 -182
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +58 -53
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/navigation.cjs +231 -34
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +37 -32
- package/dist/molecules/radio-button-card.cjs +229 -32
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +37 -32
- package/dist/molecules/stepper.cjs +217 -20
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +11 -6
- package/dist/molecules/tag-selector.cjs +271 -74
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +38 -33
- package/dist/molecules/time-select.cjs +230 -33
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +38 -33
- package/dist/utils/index.js +3 -3
- package/package.json +15 -6
- package/src/atoms/toast.tsx +1 -2
- package/src/icons/circle-check.tsx +29 -0
- package/src/icons/circle-pencil.tsx +35 -0
- package/src/icons/circle-play.tsx +26 -0
- package/src/icons/circle-quote.tsx +35 -0
- package/src/icons/circle-satisfaction.tsx +33 -0
- package/src/icons/index.ts +5 -0
- package/src/molecules/date-picker/index.tsx +0 -2
- package/src/molecules/form/form.tsx +1 -1
- package/dist/chunk-7WVKYXIG.js +0 -1
- package/dist/chunk-ECLZ3IGO.js.map +0 -1
- /package/dist/{chunk-7WVKYXIG.js.map → chunk-4LUNQ3CA.js.map} +0 -0
- /package/dist/{chunk-2NPJVXPG.js.map → chunk-5QDXJKPG.js.map} +0 -0
- /package/dist/{chunk-5KZGH6FB.js.map → chunk-6BCKUMXK.js.map} +0 -0
- /package/dist/{chunk-KDEUSAQW.js.map → chunk-EHNRZEFC.js.map} +0 -0
- /package/dist/{chunk-K3EDEQP6.js.map → chunk-ERRML4CH.js.map} +0 -0
- /package/dist/{chunk-JPZNEPCW.js.map → chunk-JKJCI4MU.js.map} +0 -0
- /package/dist/{chunk-TF3Q4TQM.js.map → chunk-QAHOUIRL.js.map} +0 -0
- /package/dist/{chunk-LI5NKNUK.js.map → chunk-QJ5OFLUS.js.map} +0 -0
- /package/dist/{chunk-A2NYBAVH.js.map → chunk-TTBHLLMV.js.map} +0 -0
package/dist/app/index.cjs
CHANGED
|
@@ -979,27 +979,224 @@ var EndCallIcon = React12.forwardRef(
|
|
|
979
979
|
);
|
|
980
980
|
EndCallIcon.displayName = "EndCallIcon";
|
|
981
981
|
|
|
982
|
-
// src/
|
|
982
|
+
// src/icons/circle-play.tsx
|
|
983
|
+
var React13 = __toESM(require("react"), 1);
|
|
983
984
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
985
|
+
var CirclePlayIcon = React13.forwardRef(
|
|
986
|
+
(_a, forwardedRef) => {
|
|
987
|
+
var _b = _a, { color = "#currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
988
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
989
|
+
"svg",
|
|
990
|
+
__spreadProps(__spreadValues({
|
|
991
|
+
fill: "none",
|
|
992
|
+
height: "16",
|
|
993
|
+
viewBox: "0 0 16 16",
|
|
994
|
+
width: "16",
|
|
995
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
996
|
+
}, props), {
|
|
997
|
+
ref: forwardedRef,
|
|
998
|
+
children: [
|
|
999
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("circle", { cx: "8", cy: "8", fill: color, r: "8" }),
|
|
1000
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1001
|
+
"path",
|
|
1002
|
+
{
|
|
1003
|
+
d: "M13.25 7.56699C13.5833 7.75944 13.5833 8.24056 13.25 8.43301L5.75 12.7631C5.41667 12.9556 5 12.715 5 12.3301L5 3.66987C5 3.28497 5.41667 3.04441 5.75 3.23686L13.25 7.56699Z",
|
|
1004
|
+
fill: "white"
|
|
1005
|
+
}
|
|
1006
|
+
)
|
|
1007
|
+
]
|
|
1008
|
+
})
|
|
1009
|
+
);
|
|
1010
|
+
}
|
|
1011
|
+
);
|
|
1012
|
+
CirclePlayIcon.displayName = "CirclePlayIcon";
|
|
984
1013
|
|
|
985
|
-
// src/
|
|
1014
|
+
// src/icons/circle-pencil.tsx
|
|
1015
|
+
var React14 = __toESM(require("react"), 1);
|
|
986
1016
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1017
|
+
var CirclePencilIcon = React14.forwardRef(
|
|
1018
|
+
(_a, forwardedRef) => {
|
|
1019
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1021
|
+
"svg",
|
|
1022
|
+
__spreadProps(__spreadValues({
|
|
1023
|
+
fill: "none",
|
|
1024
|
+
height: "16",
|
|
1025
|
+
viewBox: "0 0 16 16",
|
|
1026
|
+
width: "16",
|
|
1027
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1028
|
+
}, props), {
|
|
1029
|
+
ref: forwardedRef,
|
|
1030
|
+
children: [
|
|
1031
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("circle", { cx: "8", cy: "8", fill: color, r: "8" }),
|
|
1032
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1033
|
+
"rect",
|
|
1034
|
+
{
|
|
1035
|
+
fill: "white",
|
|
1036
|
+
fillOpacity: "0.01",
|
|
1037
|
+
height: "12",
|
|
1038
|
+
transform: "translate(2 2)",
|
|
1039
|
+
width: "12"
|
|
1040
|
+
}
|
|
1041
|
+
),
|
|
1042
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1043
|
+
"path",
|
|
1044
|
+
{
|
|
1045
|
+
clipRule: "evenodd",
|
|
1046
|
+
d: "M11.4829 2.91721C11.3266 2.761 11.0733 2.761 10.9172 2.91721L4.97162 8.86274C4.89965 8.9347 4.84208 9.01974 4.80199 9.11329L3.63233 11.8424C3.5679 11.9928 3.60149 12.1672 3.71715 12.2829C3.8328 12.3985 4.00722 12.4321 4.15755 12.3677L6.88675 11.198C6.9803 11.158 7.06534 11.1004 7.13731 11.0284L13.0829 5.08289C13.239 4.92668 13.239 4.67342 13.0829 4.51721L11.4829 2.91721ZM5.53731 9.42842L11.2 3.76574L12.2343 4.80005L6.57162 10.4628L5.37537 10.9754L5.02463 10.6247L5.53731 9.42842Z",
|
|
1047
|
+
fill: "white",
|
|
1048
|
+
fillRule: "evenodd"
|
|
1049
|
+
}
|
|
1050
|
+
)
|
|
1051
|
+
]
|
|
1052
|
+
})
|
|
1053
|
+
);
|
|
1054
|
+
}
|
|
1055
|
+
);
|
|
1056
|
+
CirclePencilIcon.displayName = "CirclePencilIcon";
|
|
1057
|
+
|
|
1058
|
+
// src/icons/circle-check.tsx
|
|
1059
|
+
var React15 = __toESM(require("react"), 1);
|
|
1060
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1061
|
+
var CircleCheckIcon = React15.forwardRef(
|
|
1062
|
+
(_a, forwardedRef) => {
|
|
1063
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1064
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1065
|
+
"svg",
|
|
1066
|
+
__spreadProps(__spreadValues({
|
|
1067
|
+
fill: "none",
|
|
1068
|
+
height: "16",
|
|
1069
|
+
viewBox: "0 0 16 16",
|
|
1070
|
+
width: "16",
|
|
1071
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1072
|
+
}, props), {
|
|
1073
|
+
ref: forwardedRef,
|
|
1074
|
+
children: [
|
|
1075
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
|
|
1076
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { fill: "white", fillOpacity: "0.01", height: "16", width: "16" }),
|
|
1077
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1078
|
+
"path",
|
|
1079
|
+
{
|
|
1080
|
+
clipRule: "evenodd",
|
|
1081
|
+
d: "M12.2314 3.97533C12.5395 4.17683 12.626 4.58999 12.4245 4.89815L7.8912 11.8315C7.78436 11.9949 7.61128 12.1032 7.41763 12.1279C7.22398 12.1527 7.02923 12.0912 6.88477 11.9599L3.95144 9.29328C3.679 9.04561 3.65892 8.62397 3.90659 8.35154C4.15426 8.0791 4.57589 8.05901 4.84833 8.30669L7.20313 10.4474L11.3086 4.16849C11.5101 3.86033 11.9232 3.77385 12.2314 3.97533Z",
|
|
1082
|
+
fill: color,
|
|
1083
|
+
fillRule: "evenodd"
|
|
1084
|
+
}
|
|
1085
|
+
)
|
|
1086
|
+
]
|
|
1087
|
+
})
|
|
1088
|
+
);
|
|
1089
|
+
}
|
|
1090
|
+
);
|
|
1091
|
+
CircleCheckIcon.displayName = "CircleCheckIcon";
|
|
1092
|
+
|
|
1093
|
+
// src/icons/circle-satisfaction.tsx
|
|
1094
|
+
var React16 = __toESM(require("react"), 1);
|
|
1095
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1096
|
+
var CircleSatisfactionIcon = React16.forwardRef(
|
|
1097
|
+
(_a, forwardedRef) => {
|
|
1098
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1100
|
+
"svg",
|
|
1101
|
+
__spreadProps(__spreadValues({
|
|
1102
|
+
fill: "none",
|
|
1103
|
+
height: "16",
|
|
1104
|
+
viewBox: "0 0 16 16",
|
|
1105
|
+
width: "16",
|
|
1106
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1107
|
+
}, props), {
|
|
1108
|
+
ref: forwardedRef,
|
|
1109
|
+
children: [
|
|
1110
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
|
|
1111
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1112
|
+
"rect",
|
|
1113
|
+
{
|
|
1114
|
+
fill: "white",
|
|
1115
|
+
fillOpacity: "0.01",
|
|
1116
|
+
height: "12",
|
|
1117
|
+
transform: "translate(2 2)",
|
|
1118
|
+
width: "12"
|
|
1119
|
+
}
|
|
1120
|
+
),
|
|
1121
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1122
|
+
"path",
|
|
1123
|
+
{
|
|
1124
|
+
d: "M7.77842 2.53284C7.86041 2.33573 8.13963 2.33573 8.22162 2.53284L9.53074 5.68036C9.5653 5.76346 9.64346 5.82023 9.73316 5.82742L13.1312 6.09985C13.344 6.1169 13.4302 6.38246 13.2682 6.52134L10.6792 8.73904C10.6109 8.79758 10.581 8.88946 10.6019 8.97699L11.3929 12.2928C11.4424 12.5005 11.2165 12.6647 11.0343 12.5534L8.12512 10.7764C8.04832 10.7296 7.95172 10.7296 7.87492 10.7764L4.96574 12.5534C4.78356 12.6647 4.55766 12.5005 4.60719 12.2928L5.39815 8.97699C5.41904 8.88946 5.38918 8.79758 5.32084 8.73904L2.73191 6.52134C2.56978 6.38246 2.65607 6.1169 2.86886 6.09985L6.26688 5.82742C6.35658 5.82023 6.43474 5.76346 6.4693 5.68036L7.77842 2.53284Z",
|
|
1125
|
+
fill: color
|
|
1126
|
+
}
|
|
1127
|
+
)
|
|
1128
|
+
]
|
|
1129
|
+
})
|
|
1130
|
+
);
|
|
1131
|
+
}
|
|
1132
|
+
);
|
|
1133
|
+
CircleSatisfactionIcon.displayName = "CircleSatisfactionIcon";
|
|
1134
|
+
|
|
1135
|
+
// src/icons/circle-quote.tsx
|
|
1136
|
+
var React17 = __toESM(require("react"), 1);
|
|
1137
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1138
|
+
var CircleQuoteIcon = React17.forwardRef(
|
|
1139
|
+
(_a, forwardedRef) => {
|
|
1140
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1142
|
+
"svg",
|
|
1143
|
+
__spreadProps(__spreadValues({
|
|
1144
|
+
fill: "none",
|
|
1145
|
+
height: "16",
|
|
1146
|
+
viewBox: "0 0 16 16",
|
|
1147
|
+
width: "16",
|
|
1148
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1149
|
+
}, props), {
|
|
1150
|
+
ref: forwardedRef,
|
|
1151
|
+
children: [
|
|
1152
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("circle", { cx: "8", cy: "8", fill: "white", r: "7.5", stroke: color }),
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1154
|
+
"rect",
|
|
1155
|
+
{
|
|
1156
|
+
fill: "white",
|
|
1157
|
+
fillOpacity: "0.01",
|
|
1158
|
+
height: "12",
|
|
1159
|
+
transform: "translate(2 2)",
|
|
1160
|
+
width: "12"
|
|
1161
|
+
}
|
|
1162
|
+
),
|
|
1163
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1164
|
+
"path",
|
|
1165
|
+
{
|
|
1166
|
+
clipRule: "evenodd",
|
|
1167
|
+
d: "M9.54 4.75306C10.0449 4.58921 10.6269 4.59213 11.1033 4.83696C12.2025 5.40177 12.6781 6.8575 12.2357 8.39997C12.0372 9.09189 11.6881 9.76375 10.9489 10.4419C10.2096 11.12 9.18425 11.52 8.70854 11.52C8.53813 11.52 8.39998 11.3857 8.39998 11.22C8.39998 11.0543 8.54113 10.92 8.70854 10.92C9.25195 10.92 9.73749 10.6243 10.3125 10.1888C10.7525 9.85541 11.0961 9.42904 11.2864 9.0575C11.6502 8.34691 11.6625 7.34537 11.0746 7.07918C10.7923 7.38761 10.4236 7.56754 9.98178 7.56754C9.02182 7.56754 8.45606 6.79527 8.48038 6.09605C8.50363 5.42777 8.92823 4.95161 9.54 4.75306ZM4.74 4.75306C5.24489 4.58921 5.8269 4.59213 6.30336 4.83696C7.40254 5.40177 7.8781 6.8575 7.43567 8.39997C7.23721 9.09189 6.88813 9.76375 6.14886 10.4419C5.40958 11.12 4.38425 11.52 3.90854 11.52C3.73813 11.52 3.59998 11.3857 3.59998 11.22C3.59998 11.0543 3.74113 10.92 3.90854 10.92C4.45195 10.92 4.93749 10.6243 5.51244 10.1888C5.9525 9.85541 6.29609 9.42904 6.48635 9.0575C6.85023 8.34691 6.86254 7.34537 6.27462 7.07918C5.99227 7.38761 5.62356 7.56754 5.18178 7.56754C4.22182 7.56754 3.65606 6.79527 3.68038 6.09605C3.70363 5.42777 4.12823 4.95161 4.74 4.75306Z",
|
|
1168
|
+
fill: color,
|
|
1169
|
+
fillRule: "evenodd"
|
|
1170
|
+
}
|
|
1171
|
+
)
|
|
1172
|
+
]
|
|
1173
|
+
})
|
|
1174
|
+
);
|
|
1175
|
+
}
|
|
1176
|
+
);
|
|
1177
|
+
CircleQuoteIcon.displayName = "CircleQuoteIcon";
|
|
1178
|
+
|
|
1179
|
+
// src/atoms/pagination.tsx
|
|
1180
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1181
|
+
|
|
1182
|
+
// src/atoms/field-error-wrapper.tsx
|
|
1183
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
987
1184
|
|
|
988
1185
|
// src/atoms/ellipsis-tooltip.tsx
|
|
989
1186
|
var import_react17 = require("react");
|
|
990
|
-
var
|
|
1187
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
991
1188
|
|
|
992
1189
|
// src/atoms/drawer.tsx
|
|
993
1190
|
var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
994
1191
|
var import_themes50 = require("@radix-ui/themes");
|
|
995
1192
|
|
|
996
1193
|
// src/icons/close-panel-arrow.tsx
|
|
997
|
-
var
|
|
998
|
-
var
|
|
999
|
-
var ClosePanelArrowIcon =
|
|
1194
|
+
var React20 = __toESM(require("react"), 1);
|
|
1195
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1196
|
+
var ClosePanelArrowIcon = React20.forwardRef(
|
|
1000
1197
|
(_a, forwardedRef) => {
|
|
1001
1198
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1002
|
-
return /* @__PURE__ */ (0,
|
|
1199
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1003
1200
|
"svg",
|
|
1004
1201
|
__spreadProps(__spreadValues({
|
|
1005
1202
|
fill: "none",
|
|
@@ -1010,7 +1207,7 @@ var ClosePanelArrowIcon = React15.forwardRef(
|
|
|
1010
1207
|
}, props), {
|
|
1011
1208
|
ref: forwardedRef,
|
|
1012
1209
|
children: [
|
|
1013
|
-
/* @__PURE__ */ (0,
|
|
1210
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1014
1211
|
"path",
|
|
1015
1212
|
{
|
|
1016
1213
|
clipRule: "evenodd",
|
|
@@ -1019,7 +1216,7 @@ var ClosePanelArrowIcon = React15.forwardRef(
|
|
|
1019
1216
|
fillRule: "evenodd"
|
|
1020
1217
|
}
|
|
1021
1218
|
),
|
|
1022
|
-
/* @__PURE__ */ (0,
|
|
1219
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1023
1220
|
"path",
|
|
1024
1221
|
{
|
|
1025
1222
|
clipRule: "evenodd",
|
|
@@ -1036,22 +1233,22 @@ var ClosePanelArrowIcon = React15.forwardRef(
|
|
|
1036
1233
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
1037
1234
|
|
|
1038
1235
|
// src/atoms/drawer.tsx
|
|
1039
|
-
var
|
|
1236
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1040
1237
|
|
|
1041
1238
|
// src/atoms/toast.tsx
|
|
1042
1239
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
1043
1240
|
var import_react_toastify = require("react-toastify");
|
|
1044
1241
|
var import_react_toastify2 = require("react-toastify");
|
|
1045
|
-
var
|
|
1242
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1046
1243
|
|
|
1047
1244
|
// src/molecules/form/form.tsx
|
|
1048
1245
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
1049
1246
|
var import_react18 = require("react");
|
|
1050
|
-
var
|
|
1247
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1051
1248
|
var Root7 = (0, import_react18.forwardRef)(
|
|
1052
1249
|
(_a, ref) => {
|
|
1053
1250
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1054
|
-
return /* @__PURE__ */ (0,
|
|
1251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1055
1252
|
RadixForm.Root,
|
|
1056
1253
|
__spreadProps(__spreadValues({}, rest), {
|
|
1057
1254
|
className: `FormRoot ${className || ""}`,
|
|
@@ -1068,22 +1265,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
1068
1265
|
var Field2 = (0, import_react18.forwardRef)(
|
|
1069
1266
|
(_a, ref) => {
|
|
1070
1267
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1071
|
-
return /* @__PURE__ */ (0,
|
|
1268
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1072
1269
|
RadixForm.Field,
|
|
1073
1270
|
__spreadProps(__spreadValues({}, rest), {
|
|
1074
1271
|
className: `FormField ${className || ""}`,
|
|
1075
1272
|
ref,
|
|
1076
|
-
children: /* @__PURE__ */ (0,
|
|
1273
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(FieldContext.Provider, { value: rest, children })
|
|
1077
1274
|
})
|
|
1078
1275
|
);
|
|
1079
1276
|
}
|
|
1080
1277
|
);
|
|
1081
1278
|
Field2.displayName = "FORM_FIELD";
|
|
1082
1279
|
function HeadingLabel(props) {
|
|
1083
|
-
return /* @__PURE__ */ (0,
|
|
1280
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
1084
1281
|
}
|
|
1085
1282
|
function CaptionLabel(props) {
|
|
1086
|
-
return /* @__PURE__ */ (0,
|
|
1283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
1087
1284
|
}
|
|
1088
1285
|
var Label2 = (0, import_react18.forwardRef)(
|
|
1089
1286
|
(_a, ref) => {
|
|
@@ -1100,15 +1297,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
1100
1297
|
}
|
|
1101
1298
|
}, [variant]);
|
|
1102
1299
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
1103
|
-
return /* @__PURE__ */ (0,
|
|
1300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1104
1301
|
RadixForm.Label,
|
|
1105
1302
|
__spreadProps(__spreadValues({}, rest), {
|
|
1106
1303
|
asChild: true,
|
|
1107
1304
|
className: `FormLabel ${className || ""}`,
|
|
1108
1305
|
ref,
|
|
1109
|
-
children: /* @__PURE__ */ (0,
|
|
1306
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Comp, { children: [
|
|
1110
1307
|
children,
|
|
1111
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
1308
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
1112
1309
|
] })
|
|
1113
1310
|
})
|
|
1114
1311
|
);
|
|
@@ -1118,13 +1315,13 @@ Label2.displayName = "FORM_Label";
|
|
|
1118
1315
|
var Message2 = (0, import_react18.forwardRef)(
|
|
1119
1316
|
(_a, ref) => {
|
|
1120
1317
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1121
|
-
return /* @__PURE__ */ (0,
|
|
1318
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1122
1319
|
RadixForm.Message,
|
|
1123
1320
|
__spreadProps(__spreadValues({}, rest), {
|
|
1124
1321
|
asChild: true,
|
|
1125
1322
|
className: `FormMessage ${className || ""}`,
|
|
1126
1323
|
ref,
|
|
1127
|
-
children: /* @__PURE__ */ (0,
|
|
1324
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { color: "red", children })
|
|
1128
1325
|
})
|
|
1129
1326
|
);
|
|
1130
1327
|
}
|
|
@@ -1134,7 +1331,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
1134
1331
|
(_a, ref) => {
|
|
1135
1332
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
1136
1333
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
1137
|
-
return /* @__PURE__ */ (0,
|
|
1334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1138
1335
|
RadixForm.Control,
|
|
1139
1336
|
__spreadProps(__spreadValues({}, rest), {
|
|
1140
1337
|
className: `FormControl ${className || ""}`,
|
|
@@ -1157,10 +1354,10 @@ function FormItem(_a) {
|
|
|
1157
1354
|
"children",
|
|
1158
1355
|
"errorMessage"
|
|
1159
1356
|
]);
|
|
1160
|
-
return /* @__PURE__ */ (0,
|
|
1161
|
-
/* @__PURE__ */ (0,
|
|
1357
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1358
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
1162
1359
|
children,
|
|
1163
|
-
/* @__PURE__ */ (0,
|
|
1360
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
1164
1361
|
] }));
|
|
1165
1362
|
}
|
|
1166
1363
|
var Form = {
|
|
@@ -1175,7 +1372,7 @@ var Form = {
|
|
|
1175
1372
|
|
|
1176
1373
|
// src/atoms/auto-sizing-input.tsx
|
|
1177
1374
|
var import_react19 = require("react");
|
|
1178
|
-
var
|
|
1375
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1179
1376
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
1180
1377
|
(_a, ref) => {
|
|
1181
1378
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -1214,7 +1411,7 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1214
1411
|
},
|
|
1215
1412
|
[onClick]
|
|
1216
1413
|
);
|
|
1217
|
-
return /* @__PURE__ */ (0,
|
|
1414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1218
1415
|
"div",
|
|
1219
1416
|
{
|
|
1220
1417
|
className: "auto-sizing-input wrapper",
|
|
@@ -1224,8 +1421,8 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1224
1421
|
style: { width: `${width + 24}px` },
|
|
1225
1422
|
tabIndex: 0,
|
|
1226
1423
|
children: [
|
|
1227
|
-
/* @__PURE__ */ (0,
|
|
1228
|
-
/* @__PURE__ */ (0,
|
|
1424
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { "aria-hidden": "true", ref: span, style: rest.style, children: value || rest.placeholder || "" }),
|
|
1425
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1229
1426
|
"input",
|
|
1230
1427
|
__spreadValues({
|
|
1231
1428
|
onChange: changeHandler,
|
|
@@ -1241,37 +1438,37 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1241
1438
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
1242
1439
|
|
|
1243
1440
|
// src/atoms/bullet-text.tsx
|
|
1244
|
-
var
|
|
1441
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1245
1442
|
function BulletText(_a) {
|
|
1246
1443
|
var _b = _a, {
|
|
1247
1444
|
children
|
|
1248
1445
|
} = _b, rest = __objRest(_b, [
|
|
1249
1446
|
"children"
|
|
1250
1447
|
]);
|
|
1251
|
-
return /* @__PURE__ */ (0,
|
|
1252
|
-
/* @__PURE__ */ (0,
|
|
1253
|
-
/* @__PURE__ */ (0,
|
|
1448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1449
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1450
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
1254
1451
|
] });
|
|
1255
1452
|
}
|
|
1256
1453
|
|
|
1257
1454
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
1258
|
-
var
|
|
1455
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1259
1456
|
function CoachingCustomerInfoSmall({
|
|
1260
1457
|
customer,
|
|
1261
1458
|
children,
|
|
1262
1459
|
badge
|
|
1263
1460
|
}) {
|
|
1264
|
-
return /* @__PURE__ */ (0,
|
|
1461
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1265
1462
|
import_themes22.Flex,
|
|
1266
1463
|
{
|
|
1267
1464
|
direction: { initial: "column", xs: "row" },
|
|
1268
1465
|
gap: "3",
|
|
1269
1466
|
justify: "between",
|
|
1270
1467
|
children: [
|
|
1271
|
-
/* @__PURE__ */ (0,
|
|
1272
|
-
/* @__PURE__ */ (0,
|
|
1273
|
-
/* @__PURE__ */ (0,
|
|
1274
|
-
/* @__PURE__ */ (0,
|
|
1468
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
1469
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1470
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
1471
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
1275
1472
|
] }) }),
|
|
1276
1473
|
children
|
|
1277
1474
|
]
|
|
@@ -1282,7 +1479,7 @@ function CoachingCustomerInfoSmall({
|
|
|
1282
1479
|
// src/app/platform/userInfos/utils.tsx
|
|
1283
1480
|
var import_date_fns = require("date-fns");
|
|
1284
1481
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
1285
|
-
var
|
|
1482
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1286
1483
|
var infoList = [
|
|
1287
1484
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
1288
1485
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -1342,21 +1539,21 @@ var sessionList = [
|
|
|
1342
1539
|
var renderItem = (args) => {
|
|
1343
1540
|
const { info, data, onClickCopy } = args;
|
|
1344
1541
|
const value = info.getValue(data);
|
|
1345
|
-
return /* @__PURE__ */ (0,
|
|
1542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
|
|
1346
1543
|
info.render ? info.render(value) : value || "-",
|
|
1347
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
1544
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
1348
1545
|
] });
|
|
1349
1546
|
};
|
|
1350
1547
|
var renderDataListItem = (args) => {
|
|
1351
1548
|
const { info, data, onClickCopy } = args;
|
|
1352
|
-
return /* @__PURE__ */ (0,
|
|
1353
|
-
/* @__PURE__ */ (0,
|
|
1354
|
-
/* @__PURE__ */ (0,
|
|
1549
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1550
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
1551
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
1355
1552
|
] }, info.label);
|
|
1356
1553
|
};
|
|
1357
1554
|
function CopyButton(props) {
|
|
1358
1555
|
const { value, onClickCopy } = props;
|
|
1359
|
-
return /* @__PURE__ */ (0,
|
|
1556
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1360
1557
|
Button,
|
|
1361
1558
|
{
|
|
1362
1559
|
color: "gray",
|
|
@@ -1365,13 +1562,13 @@ function CopyButton(props) {
|
|
|
1365
1562
|
},
|
|
1366
1563
|
style: { marginLeft: "0", marginTop: "0" },
|
|
1367
1564
|
variant: "transparent",
|
|
1368
|
-
children: /* @__PURE__ */ (0,
|
|
1565
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_icons4.CopyIcon, {})
|
|
1369
1566
|
}
|
|
1370
1567
|
);
|
|
1371
1568
|
}
|
|
1372
1569
|
|
|
1373
1570
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
1374
|
-
var
|
|
1571
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1375
1572
|
function CoachingCustomerInfoMedium({
|
|
1376
1573
|
customer,
|
|
1377
1574
|
session,
|
|
@@ -1379,28 +1576,28 @@ function CoachingCustomerInfoMedium({
|
|
|
1379
1576
|
badge,
|
|
1380
1577
|
onClickCopy
|
|
1381
1578
|
}) {
|
|
1382
|
-
return /* @__PURE__ */ (0,
|
|
1383
|
-
/* @__PURE__ */ (0,
|
|
1384
|
-
/* @__PURE__ */ (0,
|
|
1385
|
-
/* @__PURE__ */ (0,
|
|
1579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1580
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_themes6.Box, { children: [
|
|
1581
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1582
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1386
1583
|
badge
|
|
1387
1584
|
] }),
|
|
1388
|
-
/* @__PURE__ */ (0,
|
|
1585
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1389
1586
|
] }),
|
|
1390
1587
|
children,
|
|
1391
|
-
/* @__PURE__ */ (0,
|
|
1588
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1392
1589
|
(el) => renderDataListItem({
|
|
1393
1590
|
info: el,
|
|
1394
1591
|
data: session,
|
|
1395
1592
|
onClickCopy
|
|
1396
1593
|
})
|
|
1397
1594
|
) }) }),
|
|
1398
|
-
/* @__PURE__ */ (0,
|
|
1399
|
-
/* @__PURE__ */ (0,
|
|
1400
|
-
/* @__PURE__ */ (0,
|
|
1595
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes39.Separator, { size: "4" })
|
|
1401
1598
|
] }),
|
|
1402
|
-
/* @__PURE__ */ (0,
|
|
1403
|
-
return /* @__PURE__ */ (0,
|
|
1599
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
1600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typo, { children: renderItem({
|
|
1404
1601
|
info: el,
|
|
1405
1602
|
data: customer,
|
|
1406
1603
|
onClickCopy
|
|
@@ -1410,7 +1607,7 @@ function CoachingCustomerInfoMedium({
|
|
|
1410
1607
|
}
|
|
1411
1608
|
|
|
1412
1609
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
1413
|
-
var
|
|
1610
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1414
1611
|
function CoachingCustomerInfoLarge({
|
|
1415
1612
|
customer,
|
|
1416
1613
|
session,
|
|
@@ -1418,24 +1615,24 @@ function CoachingCustomerInfoLarge({
|
|
|
1418
1615
|
badge,
|
|
1419
1616
|
onClickCopy
|
|
1420
1617
|
}) {
|
|
1421
|
-
return /* @__PURE__ */ (0,
|
|
1422
|
-
/* @__PURE__ */ (0,
|
|
1423
|
-
/* @__PURE__ */ (0,
|
|
1424
|
-
/* @__PURE__ */ (0,
|
|
1618
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1619
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes6.Box, { children: [
|
|
1620
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1621
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1425
1622
|
badge
|
|
1426
1623
|
] }),
|
|
1427
|
-
/* @__PURE__ */ (0,
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1428
1625
|
] }),
|
|
1429
1626
|
children,
|
|
1430
|
-
/* @__PURE__ */ (0,
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1431
1628
|
(el) => renderDataListItem({
|
|
1432
1629
|
info: el,
|
|
1433
1630
|
data: session,
|
|
1434
1631
|
onClickCopy
|
|
1435
1632
|
})
|
|
1436
1633
|
) }) }),
|
|
1437
|
-
/* @__PURE__ */ (0,
|
|
1438
|
-
/* @__PURE__ */ (0,
|
|
1634
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes39.Separator, { size: "4" }),
|
|
1635
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1439
1636
|
(info) => renderDataListItem({
|
|
1440
1637
|
info,
|
|
1441
1638
|
data: customer,
|
|
@@ -1446,19 +1643,19 @@ function CoachingCustomerInfoLarge({
|
|
|
1446
1643
|
}
|
|
1447
1644
|
|
|
1448
1645
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
1449
|
-
var
|
|
1646
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1450
1647
|
function CoachingCustomerInfo(props) {
|
|
1451
|
-
return /* @__PURE__ */ (0,
|
|
1452
|
-
/* @__PURE__ */ (0,
|
|
1453
|
-
/* @__PURE__ */ (0,
|
|
1454
|
-
/* @__PURE__ */ (0,
|
|
1648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
1649
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
1651
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
1455
1652
|
] });
|
|
1456
1653
|
}
|
|
1457
1654
|
|
|
1458
1655
|
// src/app/platform/goal-manage-card-read.tsx
|
|
1459
1656
|
var import_react20 = require("react");
|
|
1460
1657
|
var import_date_fns2 = require("date-fns");
|
|
1461
|
-
var
|
|
1658
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1462
1659
|
function GoalManageCardRead(props) {
|
|
1463
1660
|
const {
|
|
1464
1661
|
title,
|
|
@@ -1476,7 +1673,7 @@ function GoalManageCardRead(props) {
|
|
|
1476
1673
|
const onClickOpen = (0, import_react20.useCallback)(() => {
|
|
1477
1674
|
setOpen((p) => !p);
|
|
1478
1675
|
}, []);
|
|
1479
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
1676
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.ChevronDownIcon, {});
|
|
1480
1677
|
const badgeMeta = (0, import_react20.useMemo)(() => {
|
|
1481
1678
|
if (!completed && dueDate) {
|
|
1482
1679
|
if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -1489,40 +1686,40 @@ function GoalManageCardRead(props) {
|
|
|
1489
1686
|
return null;
|
|
1490
1687
|
}, [completed, dueDate]);
|
|
1491
1688
|
const renderSubTitle = (0, import_react20.useCallback)((subTitle) => {
|
|
1492
|
-
return /* @__PURE__ */ (0,
|
|
1689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
1493
1690
|
}, []);
|
|
1494
1691
|
const renderSubContent = (0, import_react20.useCallback)((content) => {
|
|
1495
|
-
return /* @__PURE__ */ (0,
|
|
1692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
1496
1693
|
}, []);
|
|
1497
1694
|
const renderCompleteButton = (0, import_react20.useCallback)(() => {
|
|
1498
1695
|
if (completed) {
|
|
1499
|
-
return /* @__PURE__ */ (0,
|
|
1696
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
1500
1697
|
}
|
|
1501
|
-
return /* @__PURE__ */ (0,
|
|
1502
|
-
/* @__PURE__ */ (0,
|
|
1503
|
-
/* @__PURE__ */ (0,
|
|
1698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1699
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Button, { size: "small", children: [
|
|
1700
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.RocketIcon, {}),
|
|
1504
1701
|
"\uB2EC\uC131\uD558\uAE30"
|
|
1505
1702
|
] }) }),
|
|
1506
|
-
/* @__PURE__ */ (0,
|
|
1507
|
-
/* @__PURE__ */ (0,
|
|
1508
|
-
/* @__PURE__ */ (0,
|
|
1509
|
-
/* @__PURE__ */ (0,
|
|
1510
|
-
/* @__PURE__ */ (0,
|
|
1703
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1704
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1705
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
1511
1708
|
] })
|
|
1512
1709
|
] })
|
|
1513
1710
|
] });
|
|
1514
1711
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
1515
|
-
return /* @__PURE__ */ (0,
|
|
1516
|
-
/* @__PURE__ */ (0,
|
|
1517
|
-
/* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1519
|
-
/* @__PURE__ */ (0,
|
|
1520
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
1521
|
-
/* @__PURE__ */ (0,
|
|
1712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
1713
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
1714
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
1716
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
1717
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
1718
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
1522
1719
|
] }),
|
|
1523
1720
|
renderCompleteButton()
|
|
1524
1721
|
] }),
|
|
1525
|
-
open ? /* @__PURE__ */ (0,
|
|
1722
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1526
1723
|
import_themes39.Separator,
|
|
1527
1724
|
{
|
|
1528
1725
|
mb: "4",
|
|
@@ -1531,37 +1728,37 @@ function GoalManageCardRead(props) {
|
|
|
1531
1728
|
style: { gridColumnStart: "span 2" }
|
|
1532
1729
|
}
|
|
1533
1730
|
) : null,
|
|
1534
|
-
/* @__PURE__ */ (0,
|
|
1535
|
-
/* @__PURE__ */ (0,
|
|
1536
|
-
/* @__PURE__ */ (0,
|
|
1731
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Collapse, { open, children: [
|
|
1732
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1733
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes6.Box, { children: [
|
|
1537
1734
|
renderSubTitle(
|
|
1538
1735
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
1539
1736
|
),
|
|
1540
1737
|
renderSubContent(expectedEffect)
|
|
1541
1738
|
] }),
|
|
1542
|
-
/* @__PURE__ */ (0,
|
|
1739
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes6.Box, { children: [
|
|
1543
1740
|
renderSubTitle(
|
|
1544
1741
|
"\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"
|
|
1545
1742
|
),
|
|
1546
1743
|
renderSubContent(huddle)
|
|
1547
1744
|
] })
|
|
1548
1745
|
] }),
|
|
1549
|
-
/* @__PURE__ */ (0,
|
|
1550
|
-
/* @__PURE__ */ (0,
|
|
1551
|
-
/* @__PURE__ */ (0,
|
|
1552
|
-
/* @__PURE__ */ (0,
|
|
1746
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
1747
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1748
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.TrashIcon, {}),
|
|
1553
1750
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
1554
1751
|
] }) }),
|
|
1555
|
-
/* @__PURE__ */ (0,
|
|
1556
|
-
/* @__PURE__ */ (0,
|
|
1557
|
-
/* @__PURE__ */ (0,
|
|
1558
|
-
/* @__PURE__ */ (0,
|
|
1559
|
-
/* @__PURE__ */ (0,
|
|
1752
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1753
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1754
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1755
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1756
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
1560
1757
|
] })
|
|
1561
1758
|
] })
|
|
1562
1759
|
] }),
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
1761
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_icons2.Pencil1Icon, {}),
|
|
1565
1762
|
"\uC218\uC815\uD558\uAE30"
|
|
1566
1763
|
] })
|
|
1567
1764
|
] })
|
|
@@ -1580,23 +1777,23 @@ var import_react22 = require("react");
|
|
|
1580
1777
|
// src/molecules/expand-table/row.tsx
|
|
1581
1778
|
var import_react_table = require("@tanstack/react-table");
|
|
1582
1779
|
var import_react21 = require("react");
|
|
1583
|
-
var
|
|
1780
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1584
1781
|
|
|
1585
1782
|
// src/molecules/expand-table/index.tsx
|
|
1586
|
-
var
|
|
1783
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1587
1784
|
|
|
1588
1785
|
// src/molecules/navigation.tsx
|
|
1589
|
-
var
|
|
1786
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1590
1787
|
|
|
1591
1788
|
// src/molecules/date-picker/index.tsx
|
|
1592
1789
|
var import_react23 = require("react");
|
|
1593
1790
|
var import_react_datepicker = __toESM(require("react-datepicker"), 1);
|
|
1594
|
-
var
|
|
1791
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1595
1792
|
var DatePicker = (0, import_react23.forwardRef)(
|
|
1596
1793
|
(props, ref) => {
|
|
1597
1794
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1598
1795
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1599
|
-
return /* @__PURE__ */ (0,
|
|
1796
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1600
1797
|
import_react_datepicker.default,
|
|
1601
1798
|
__spreadProps(__spreadValues({
|
|
1602
1799
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1627,35 +1824,35 @@ var renderCustomHeader = (props) => {
|
|
|
1627
1824
|
} = props;
|
|
1628
1825
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1629
1826
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1630
|
-
return /* @__PURE__ */ (0,
|
|
1631
|
-
/* @__PURE__ */ (0,
|
|
1827
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1828
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1632
1829
|
import_themes18.IconButton,
|
|
1633
1830
|
{
|
|
1634
1831
|
disabled: prevMonthButtonDisabled,
|
|
1635
1832
|
onClick: decreaseMonth,
|
|
1636
1833
|
type: "button",
|
|
1637
1834
|
variant: "ghost",
|
|
1638
|
-
children: /* @__PURE__ */ (0,
|
|
1835
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_icons2.ChevronLeftIcon, {})
|
|
1639
1836
|
}
|
|
1640
1837
|
),
|
|
1641
|
-
/* @__PURE__ */ (0,
|
|
1642
|
-
/* @__PURE__ */ (0,
|
|
1838
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1643
1840
|
year,
|
|
1644
1841
|
"\uB144"
|
|
1645
1842
|
] }),
|
|
1646
|
-
/* @__PURE__ */ (0,
|
|
1843
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1647
1844
|
month,
|
|
1648
1845
|
"\uC6D4"
|
|
1649
1846
|
] })
|
|
1650
1847
|
] }),
|
|
1651
|
-
/* @__PURE__ */ (0,
|
|
1848
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1652
1849
|
import_themes18.IconButton,
|
|
1653
1850
|
{
|
|
1654
1851
|
disabled: nextMonthButtonDisabled,
|
|
1655
1852
|
onClick: increaseMonth,
|
|
1656
1853
|
type: "button",
|
|
1657
1854
|
variant: "ghost",
|
|
1658
|
-
children: /* @__PURE__ */ (0,
|
|
1855
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_icons2.ChevronRightIcon, {})
|
|
1659
1856
|
}
|
|
1660
1857
|
)
|
|
1661
1858
|
] });
|
|
@@ -1664,12 +1861,12 @@ var renderCustomHeader = (props) => {
|
|
|
1664
1861
|
// src/molecules/dot-navigation.tsx
|
|
1665
1862
|
var import_react24 = require("react");
|
|
1666
1863
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1667
|
-
var
|
|
1864
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1668
1865
|
|
|
1669
1866
|
// src/molecules/stepper.tsx
|
|
1670
1867
|
var import_react25 = require("react");
|
|
1671
1868
|
var import_themes51 = require("@radix-ui/themes");
|
|
1672
|
-
var
|
|
1869
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1673
1870
|
var StepContext = (0, import_react25.createContext)({
|
|
1674
1871
|
active: false,
|
|
1675
1872
|
completed: false,
|
|
@@ -1679,24 +1876,24 @@ var StepContext = (0, import_react25.createContext)({
|
|
|
1679
1876
|
// src/molecules/tag-selector.tsx
|
|
1680
1877
|
var import_react26 = require("react");
|
|
1681
1878
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
1682
|
-
var
|
|
1879
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1683
1880
|
|
|
1684
1881
|
// src/theme/theme-provider.tsx
|
|
1685
1882
|
var import_themes52 = require("@radix-ui/themes");
|
|
1686
|
-
var
|
|
1883
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1687
1884
|
|
|
1688
1885
|
// src/molecules/learning-post.tsx
|
|
1689
|
-
var
|
|
1886
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1690
1887
|
|
|
1691
1888
|
// src/molecules/force-refresh.tsx
|
|
1692
1889
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
1693
|
-
var
|
|
1890
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1694
1891
|
|
|
1695
1892
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
1696
1893
|
var import_react27 = require("react");
|
|
1697
1894
|
var import_date_fns3 = require("date-fns");
|
|
1698
1895
|
var import_clsx2 = require("clsx");
|
|
1699
|
-
var
|
|
1896
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1700
1897
|
function DatePickerButton(props) {
|
|
1701
1898
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
1702
1899
|
const buttonProps = (0, import_react27.useMemo)(() => {
|
|
@@ -1716,12 +1913,12 @@ function DatePickerButton(props) {
|
|
|
1716
1913
|
(disabled || props.readOnly) && "disabled"
|
|
1717
1914
|
);
|
|
1718
1915
|
}, [disabled, props.readOnly]);
|
|
1719
|
-
return /* @__PURE__ */ (0,
|
|
1916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
1720
1917
|
DatePicker,
|
|
1721
1918
|
__spreadProps(__spreadValues({
|
|
1722
|
-
customInput: /* @__PURE__ */ (0,
|
|
1919
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1723
1920
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1724
|
-
/* @__PURE__ */ (0,
|
|
1921
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons2.CalendarIcon, {})
|
|
1725
1922
|
] }) })),
|
|
1726
1923
|
wrapperClassName: "full-width"
|
|
1727
1924
|
}, rest), {
|
|
@@ -1756,7 +1953,7 @@ var getTimeOption = (time) => {
|
|
|
1756
1953
|
};
|
|
1757
1954
|
|
|
1758
1955
|
// src/molecules/time-select.tsx
|
|
1759
|
-
var
|
|
1956
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
1760
1957
|
var getOptionValue = (date, timeValue) => {
|
|
1761
1958
|
if (date && timeValue) {
|
|
1762
1959
|
if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -1782,21 +1979,21 @@ function TimeSelect(_a) {
|
|
|
1782
1979
|
const [minOption, maxOption] = (0, import_react28.useMemo)(() => {
|
|
1783
1980
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1784
1981
|
}, [maxTime, minTime, time]);
|
|
1785
|
-
return /* @__PURE__ */ (0,
|
|
1786
|
-
/* @__PURE__ */ (0,
|
|
1787
|
-
/* @__PURE__ */ (0,
|
|
1982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1983
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1984
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1788
1985
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1789
1986
|
if (!visible) {
|
|
1790
1987
|
return null;
|
|
1791
1988
|
}
|
|
1792
|
-
return /* @__PURE__ */ (0,
|
|
1989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Select.Item, { value: option, children: option }, option);
|
|
1793
1990
|
}) })
|
|
1794
1991
|
] }));
|
|
1795
1992
|
}
|
|
1796
1993
|
|
|
1797
1994
|
// src/molecules/radio-button-card.tsx
|
|
1798
1995
|
var import_react29 = require("react");
|
|
1799
|
-
var
|
|
1996
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
1800
1997
|
var RadioCardContext = (0, import_react29.createContext)({});
|
|
1801
1998
|
function Root8(props) {
|
|
1802
1999
|
const [value, setValue] = (0, import_react29.useState)(props.value || props.defaultValue);
|
|
@@ -1808,7 +2005,7 @@ function Root8(props) {
|
|
|
1808
2005
|
},
|
|
1809
2006
|
[props]
|
|
1810
2007
|
);
|
|
1811
|
-
return /* @__PURE__ */ (0,
|
|
2008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
1812
2009
|
}
|
|
1813
2010
|
function Item(_a) {
|
|
1814
2011
|
var _b = _a, {
|
|
@@ -1825,9 +2022,9 @@ function Item(_a) {
|
|
|
1825
2022
|
"justify",
|
|
1826
2023
|
"RadioWrapper"
|
|
1827
2024
|
]);
|
|
1828
|
-
return /* @__PURE__ */ (0,
|
|
2025
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1829
2026
|
children,
|
|
1830
|
-
/* @__PURE__ */ (0,
|
|
2027
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
1831
2028
|
import_themes32.Radio,
|
|
1832
2029
|
{
|
|
1833
2030
|
checked: itemRest.value === value,
|
|
@@ -1844,13 +2041,13 @@ var RadioButtonCard = {
|
|
|
1844
2041
|
|
|
1845
2042
|
// src/molecules/download-card.tsx
|
|
1846
2043
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
1847
|
-
var
|
|
2044
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
1848
2045
|
|
|
1849
2046
|
// src/molecules/ghost-post.tsx
|
|
1850
|
-
var
|
|
2047
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
1851
2048
|
|
|
1852
2049
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
1853
|
-
var
|
|
2050
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
1854
2051
|
var initialValues = {
|
|
1855
2052
|
goal: "",
|
|
1856
2053
|
effect: "",
|
|
@@ -1879,11 +2076,11 @@ function GoalManageCardEdit(props) {
|
|
|
1879
2076
|
var _a;
|
|
1880
2077
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
1881
2078
|
}, [props, values]);
|
|
1882
|
-
return /* @__PURE__ */ (0,
|
|
1883
|
-
/* @__PURE__ */ (0,
|
|
1884
|
-
/* @__PURE__ */ (0,
|
|
1885
|
-
/* @__PURE__ */ (0,
|
|
1886
|
-
/* @__PURE__ */ (0,
|
|
2079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
2080
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2081
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Form.Field, { name: "title", children: [
|
|
2082
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
1887
2084
|
TextField.Root,
|
|
1888
2085
|
{
|
|
1889
2086
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -1894,11 +2091,11 @@ function GoalManageCardEdit(props) {
|
|
|
1894
2091
|
value: values.goal
|
|
1895
2092
|
}
|
|
1896
2093
|
),
|
|
1897
|
-
/* @__PURE__ */ (0,
|
|
2094
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
1898
2095
|
] }),
|
|
1899
|
-
/* @__PURE__ */ (0,
|
|
1900
|
-
/* @__PURE__ */ (0,
|
|
1901
|
-
/* @__PURE__ */ (0,
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Form.Field, { name: "effect", children: [
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
2098
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
1902
2099
|
TextArea,
|
|
1903
2100
|
{
|
|
1904
2101
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -1910,11 +2107,11 @@ function GoalManageCardEdit(props) {
|
|
|
1910
2107
|
value: values.effect
|
|
1911
2108
|
}
|
|
1912
2109
|
),
|
|
1913
|
-
/* @__PURE__ */ (0,
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
1914
2111
|
] }),
|
|
1915
|
-
/* @__PURE__ */ (0,
|
|
1916
|
-
/* @__PURE__ */ (0,
|
|
1917
|
-
/* @__PURE__ */ (0,
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Form.Field, { name: "huddle", children: [
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
2114
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
1918
2115
|
TextArea,
|
|
1919
2116
|
{
|
|
1920
2117
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -1928,11 +2125,11 @@ function GoalManageCardEdit(props) {
|
|
|
1928
2125
|
value: values.huddle
|
|
1929
2126
|
}
|
|
1930
2127
|
),
|
|
1931
|
-
/* @__PURE__ */ (0,
|
|
2128
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
1932
2129
|
] }),
|
|
1933
|
-
/* @__PURE__ */ (0,
|
|
1934
|
-
/* @__PURE__ */ (0,
|
|
1935
|
-
/* @__PURE__ */ (0,
|
|
2130
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
2131
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
1936
2133
|
DatePickerButton,
|
|
1937
2134
|
{
|
|
1938
2135
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -1943,11 +2140,11 @@ function GoalManageCardEdit(props) {
|
|
|
1943
2140
|
selected: values.dueDate
|
|
1944
2141
|
}
|
|
1945
2142
|
),
|
|
1946
|
-
/* @__PURE__ */ (0,
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
1947
2144
|
] })
|
|
1948
2145
|
] }),
|
|
1949
|
-
/* @__PURE__ */ (0,
|
|
1950
|
-
/* @__PURE__ */ (0,
|
|
2146
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
1951
2148
|
Button,
|
|
1952
2149
|
{
|
|
1953
2150
|
color: "gray",
|
|
@@ -1958,7 +2155,7 @@ function GoalManageCardEdit(props) {
|
|
|
1958
2155
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
1959
2156
|
}
|
|
1960
2157
|
),
|
|
1961
|
-
/* @__PURE__ */ (0,
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
1962
2159
|
] })
|
|
1963
2160
|
] }) });
|
|
1964
2161
|
}
|
|
@@ -1969,7 +2166,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
1969
2166
|
|
|
1970
2167
|
// src/app/platform/edit-coaching-time.tsx
|
|
1971
2168
|
var import_react31 = require("react");
|
|
1972
|
-
var
|
|
2169
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
1973
2170
|
var getValueFromDefaultValue = (args) => {
|
|
1974
2171
|
return {
|
|
1975
2172
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -2039,10 +2236,10 @@ function EditCoachingTime(props) {
|
|
|
2039
2236
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
2040
2237
|
}
|
|
2041
2238
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
2042
|
-
return /* @__PURE__ */ (0,
|
|
2043
|
-
/* @__PURE__ */ (0,
|
|
2044
|
-
/* @__PURE__ */ (0,
|
|
2045
|
-
/* @__PURE__ */ (0,
|
|
2239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Form.Root, { children: [
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Form.Field, { name: "date", children: [
|
|
2241
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2046
2243
|
DatePickerButton,
|
|
2047
2244
|
{
|
|
2048
2245
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -2052,7 +2249,7 @@ function EditCoachingTime(props) {
|
|
|
2052
2249
|
}
|
|
2053
2250
|
)
|
|
2054
2251
|
] }),
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2252
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2056
2253
|
import_themes23.Grid,
|
|
2057
2254
|
{
|
|
2058
2255
|
align: "center",
|
|
@@ -2067,10 +2264,10 @@ function EditCoachingTime(props) {
|
|
|
2067
2264
|
mt: "5",
|
|
2068
2265
|
width: "100%",
|
|
2069
2266
|
children: [
|
|
2070
|
-
/* @__PURE__ */ (0,
|
|
2071
|
-
/* @__PURE__ */ (0,
|
|
2072
|
-
/* @__PURE__ */ (0,
|
|
2073
|
-
/* @__PURE__ */ (0,
|
|
2267
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
2268
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", {}),
|
|
2269
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
2270
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2074
2271
|
TimeSelect,
|
|
2075
2272
|
{
|
|
2076
2273
|
onValueChange: onChangeStartTime,
|
|
@@ -2078,8 +2275,8 @@ function EditCoachingTime(props) {
|
|
|
2078
2275
|
value: values.startTime
|
|
2079
2276
|
}
|
|
2080
2277
|
),
|
|
2081
|
-
/* @__PURE__ */ (0,
|
|
2082
|
-
/* @__PURE__ */ (0,
|
|
2278
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_themes39.Separator, {}) }),
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2083
2280
|
TimeSelect,
|
|
2084
2281
|
{
|
|
2085
2282
|
onValueChange: onChangeEndTime,
|
|
@@ -2087,13 +2284,13 @@ function EditCoachingTime(props) {
|
|
|
2087
2284
|
value: values.endTime
|
|
2088
2285
|
}
|
|
2089
2286
|
),
|
|
2090
|
-
/* @__PURE__ */ (0,
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
2091
2288
|
]
|
|
2092
2289
|
}
|
|
2093
2290
|
),
|
|
2094
|
-
/* @__PURE__ */ (0,
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2096
|
-
/* @__PURE__ */ (0,
|
|
2291
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2097
2294
|
] })
|
|
2098
2295
|
] }) });
|
|
2099
2296
|
}
|
|
@@ -2103,20 +2300,20 @@ var import_react32 = require("react");
|
|
|
2103
2300
|
|
|
2104
2301
|
// src/app/platform/on-offline-radio-card.tsx
|
|
2105
2302
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
2106
|
-
var
|
|
2303
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2107
2304
|
var SERVICE_TYPE = {
|
|
2108
2305
|
onlineCoaching: "onlineCoaching",
|
|
2109
2306
|
offlineCoaching: "offlineCoaching"
|
|
2110
2307
|
};
|
|
2111
2308
|
var breakpoint = "sm";
|
|
2112
2309
|
function HideSmallBox(props) {
|
|
2113
|
-
return /* @__PURE__ */ (0,
|
|
2310
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
2114
2311
|
}
|
|
2115
2312
|
function OnOfflineRadioCard(props) {
|
|
2116
2313
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
2117
2314
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
2118
2315
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
2119
|
-
return /* @__PURE__ */ (0,
|
|
2316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2120
2317
|
RadioButtonCard.Root,
|
|
2121
2318
|
__spreadProps(__spreadValues({
|
|
2122
2319
|
RadioWrapper: Wrapper,
|
|
@@ -2125,13 +2322,13 @@ function OnOfflineRadioCard(props) {
|
|
|
2125
2322
|
justify
|
|
2126
2323
|
}, props), {
|
|
2127
2324
|
children: [
|
|
2128
|
-
/* @__PURE__ */ (0,
|
|
2129
|
-
/* @__PURE__ */ (0,
|
|
2130
|
-
/* @__PURE__ */ (0,
|
|
2325
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2326
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
2327
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
2131
2328
|
] }) }),
|
|
2132
|
-
/* @__PURE__ */ (0,
|
|
2133
|
-
/* @__PURE__ */ (0,
|
|
2134
|
-
/* @__PURE__ */ (0,
|
|
2329
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
2330
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
2331
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
2135
2332
|
] }) })
|
|
2136
2333
|
]
|
|
2137
2334
|
})
|
|
@@ -2139,7 +2336,7 @@ function OnOfflineRadioCard(props) {
|
|
|
2139
2336
|
}
|
|
2140
2337
|
|
|
2141
2338
|
// src/app/platform/edit-service-type.tsx
|
|
2142
|
-
var
|
|
2339
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2143
2340
|
function EditServiceType(props) {
|
|
2144
2341
|
const { defaultServiceType, onClickCancel } = props;
|
|
2145
2342
|
const [sessionType, setSessionType] = (0, import_react32.useState)(
|
|
@@ -2149,8 +2346,8 @@ function EditServiceType(props) {
|
|
|
2149
2346
|
var _a;
|
|
2150
2347
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
2151
2348
|
}, [props, sessionType]);
|
|
2152
|
-
return /* @__PURE__ */ (0,
|
|
2153
|
-
/* @__PURE__ */ (0,
|
|
2349
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes6.Box, { children: [
|
|
2350
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2154
2351
|
Typo,
|
|
2155
2352
|
{
|
|
2156
2353
|
as: "p",
|
|
@@ -2160,16 +2357,16 @@ function EditServiceType(props) {
|
|
|
2160
2357
|
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"
|
|
2161
2358
|
}
|
|
2162
2359
|
),
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2164
|
-
/* @__PURE__ */ (0,
|
|
2165
|
-
/* @__PURE__ */ (0,
|
|
2166
|
-
/* @__PURE__ */ (0,
|
|
2360
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
2361
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
2362
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
2363
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
2167
2364
|
] })
|
|
2168
2365
|
] });
|
|
2169
2366
|
}
|
|
2170
2367
|
|
|
2171
2368
|
// src/app/platform/session-card.tsx
|
|
2172
|
-
var
|
|
2369
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2173
2370
|
var preventDefault2 = (e) => {
|
|
2174
2371
|
e.preventDefault();
|
|
2175
2372
|
};
|
|
@@ -2200,32 +2397,32 @@ function SessionCard(props) {
|
|
|
2200
2397
|
"sessionType"
|
|
2201
2398
|
]);
|
|
2202
2399
|
const renderEditButton = (0, import_react33.useCallback)(() => {
|
|
2203
|
-
return /* @__PURE__ */ (0,
|
|
2400
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_icons2.Pencil1Icon, {}) });
|
|
2204
2401
|
}, []);
|
|
2205
2402
|
const sessionTimeStr = (0, import_react33.useMemo)(() => {
|
|
2206
2403
|
if (!startAt || !endAt) return "\uC54C \uC218 \uC5C6\uC74C";
|
|
2207
2404
|
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")}`;
|
|
2208
2405
|
}, [startAt, endAt]);
|
|
2209
|
-
return /* @__PURE__ */ (0,
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2211
|
-
/* @__PURE__ */ (0,
|
|
2406
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2407
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2408
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
2212
2409
|
TitleExtra,
|
|
2213
|
-
error ? /* @__PURE__ */ (0,
|
|
2410
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
2214
2411
|
] }),
|
|
2215
|
-
/* @__PURE__ */ (0,
|
|
2216
|
-
/* @__PURE__ */ (0,
|
|
2217
|
-
/* @__PURE__ */ (0,
|
|
2218
|
-
/* @__PURE__ */ (0,
|
|
2412
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2413
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2414
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2415
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2219
2416
|
sessionTimeStr,
|
|
2220
|
-
editable ? /* @__PURE__ */ (0,
|
|
2221
|
-
/* @__PURE__ */ (0,
|
|
2222
|
-
/* @__PURE__ */ (0,
|
|
2417
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Dialog.Root, { children: [
|
|
2418
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2419
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2223
2420
|
Dialog.Content,
|
|
2224
2421
|
{
|
|
2225
2422
|
onOpenAutoFocus: preventDefault2,
|
|
2226
2423
|
style: { overflow: "visible" },
|
|
2227
2424
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
2228
|
-
children: /* @__PURE__ */ (0,
|
|
2425
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2229
2426
|
EditCoachingTime,
|
|
2230
2427
|
{
|
|
2231
2428
|
defaultEndAt: endAt,
|
|
@@ -2238,18 +2435,18 @@ function SessionCard(props) {
|
|
|
2238
2435
|
] }) : null
|
|
2239
2436
|
] })
|
|
2240
2437
|
] }),
|
|
2241
|
-
/* @__PURE__ */ (0,
|
|
2242
|
-
/* @__PURE__ */ (0,
|
|
2243
|
-
/* @__PURE__ */ (0,
|
|
2244
|
-
/* @__PURE__ */ (0,
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
2439
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2440
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
2441
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2245
2442
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
2246
|
-
editable ? /* @__PURE__ */ (0,
|
|
2247
|
-
/* @__PURE__ */ (0,
|
|
2248
|
-
/* @__PURE__ */ (0,
|
|
2443
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Dialog.Root, { children: [
|
|
2444
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2445
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2249
2446
|
Dialog.Content,
|
|
2250
2447
|
{
|
|
2251
2448
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
2252
|
-
children: /* @__PURE__ */ (0,
|
|
2449
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2253
2450
|
EditServiceType,
|
|
2254
2451
|
{
|
|
2255
2452
|
defaultServiceType: sessionType,
|
|
@@ -2261,32 +2458,32 @@ function SessionCard(props) {
|
|
|
2261
2458
|
] }) : null
|
|
2262
2459
|
] })
|
|
2263
2460
|
] }),
|
|
2264
|
-
/* @__PURE__ */ (0,
|
|
2461
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
2265
2462
|
] })
|
|
2266
2463
|
] })
|
|
2267
2464
|
] }) }));
|
|
2268
2465
|
}
|
|
2269
2466
|
|
|
2270
2467
|
// src/app/platform/coach-question-list.tsx
|
|
2271
|
-
var
|
|
2468
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2272
2469
|
function QuestionItem({ question, answer }) {
|
|
2273
|
-
return /* @__PURE__ */ (0,
|
|
2274
|
-
/* @__PURE__ */ (0,
|
|
2275
|
-
/* @__PURE__ */ (0,
|
|
2470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_themes6.Box, { children: [
|
|
2471
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
2472
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2276
2473
|
] }, question);
|
|
2277
2474
|
}
|
|
2278
2475
|
function CoachQuestionList({
|
|
2279
2476
|
questions
|
|
2280
2477
|
}) {
|
|
2281
|
-
return /* @__PURE__ */ (0,
|
|
2282
|
-
return /* @__PURE__ */ (0,
|
|
2478
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2283
2480
|
}) });
|
|
2284
2481
|
}
|
|
2285
2482
|
|
|
2286
2483
|
// src/app/platform/reservation-card.tsx
|
|
2287
2484
|
var import_react34 = require("react");
|
|
2288
2485
|
var import_date_fns7 = require("date-fns");
|
|
2289
|
-
var
|
|
2486
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2290
2487
|
function ReservationCard(props) {
|
|
2291
2488
|
const {
|
|
2292
2489
|
sessionNumber,
|
|
@@ -2320,9 +2517,9 @@ function ReservationCard(props) {
|
|
|
2320
2517
|
}, [defaultTime, defaultType]);
|
|
2321
2518
|
const ActionButtons = (0, import_react34.useMemo)(() => {
|
|
2322
2519
|
if (readonly) {
|
|
2323
|
-
return /* @__PURE__ */ (0,
|
|
2520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2324
2521
|
}
|
|
2325
|
-
return /* @__PURE__ */ (0,
|
|
2522
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_icons2.Cross1Icon, {}) });
|
|
2326
2523
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2327
2524
|
const onChangeDate = (0, import_react34.useCallback)(
|
|
2328
2525
|
(newDate) => {
|
|
@@ -2383,47 +2580,47 @@ function ReservationCard(props) {
|
|
|
2383
2580
|
});
|
|
2384
2581
|
}
|
|
2385
2582
|
}, [editValues, maxTime, readonly]);
|
|
2386
|
-
return /* @__PURE__ */ (0,
|
|
2583
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2387
2584
|
Card,
|
|
2388
2585
|
{
|
|
2389
2586
|
error: Boolean(error),
|
|
2390
2587
|
size: "3",
|
|
2391
2588
|
style: { overflow: "visible", contain: "initial" },
|
|
2392
2589
|
children: [
|
|
2393
|
-
/* @__PURE__ */ (0,
|
|
2394
|
-
/* @__PURE__ */ (0,
|
|
2590
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes22.Flex, { gap: "3", justify: "between", mb: "5", children: [
|
|
2591
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2395
2592
|
import_themes23.Grid,
|
|
2396
2593
|
{
|
|
2397
2594
|
align: "center",
|
|
2398
2595
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2399
2596
|
gapY: "2",
|
|
2400
2597
|
children: [
|
|
2401
|
-
/* @__PURE__ */ (0,
|
|
2402
|
-
/* @__PURE__ */ (0,
|
|
2598
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2599
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2403
2600
|
customerName || "-",
|
|
2404
2601
|
"\uB2D8 ",
|
|
2405
2602
|
sessionNumber || "-",
|
|
2406
2603
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2407
2604
|
] }),
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2605
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2409
2606
|
] }),
|
|
2410
|
-
error ? /* @__PURE__ */ (0,
|
|
2607
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2411
2608
|
]
|
|
2412
2609
|
}
|
|
2413
2610
|
),
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2611
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2415
2612
|
] }),
|
|
2416
|
-
/* @__PURE__ */ (0,
|
|
2613
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2417
2614
|
Form.Root,
|
|
2418
2615
|
{
|
|
2419
2616
|
onSubmit: (e) => {
|
|
2420
2617
|
e.preventDefault();
|
|
2421
2618
|
},
|
|
2422
|
-
children: /* @__PURE__ */ (0,
|
|
2423
|
-
/* @__PURE__ */ (0,
|
|
2424
|
-
/* @__PURE__ */ (0,
|
|
2425
|
-
/* @__PURE__ */ (0,
|
|
2426
|
-
/* @__PURE__ */ (0,
|
|
2619
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2620
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Form.Label, { asChild: true, children: [
|
|
2621
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2622
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
2623
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2427
2624
|
DatePickerButton,
|
|
2428
2625
|
{
|
|
2429
2626
|
disabled: readonly,
|
|
@@ -2435,7 +2632,7 @@ function ReservationCard(props) {
|
|
|
2435
2632
|
size: "large"
|
|
2436
2633
|
}
|
|
2437
2634
|
),
|
|
2438
|
-
/* @__PURE__ */ (0,
|
|
2635
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2439
2636
|
TimeSelect,
|
|
2440
2637
|
{
|
|
2441
2638
|
disabled: readonly,
|
|
@@ -2449,9 +2646,9 @@ function ReservationCard(props) {
|
|
|
2449
2646
|
)
|
|
2450
2647
|
] })
|
|
2451
2648
|
] }) }),
|
|
2452
|
-
/* @__PURE__ */ (0,
|
|
2453
|
-
/* @__PURE__ */ (0,
|
|
2454
|
-
/* @__PURE__ */ (0,
|
|
2649
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Form.Field, { name: "type", children: [
|
|
2650
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
2651
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2455
2652
|
OnOfflineRadioCard,
|
|
2456
2653
|
{
|
|
2457
2654
|
disabled: readonly,
|
|
@@ -2461,8 +2658,8 @@ function ReservationCard(props) {
|
|
|
2461
2658
|
}
|
|
2462
2659
|
) })
|
|
2463
2660
|
] }),
|
|
2464
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2465
|
-
/* @__PURE__ */ (0,
|
|
2661
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2662
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2466
2663
|
Button,
|
|
2467
2664
|
{
|
|
2468
2665
|
color: "gray",
|
|
@@ -2472,12 +2669,12 @@ function ReservationCard(props) {
|
|
|
2472
2669
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2473
2670
|
}
|
|
2474
2671
|
),
|
|
2475
|
-
/* @__PURE__ */ (0,
|
|
2672
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2476
2673
|
] })
|
|
2477
2674
|
] })
|
|
2478
2675
|
}
|
|
2479
2676
|
) }),
|
|
2480
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2677
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2481
2678
|
import_themes6.Box,
|
|
2482
2679
|
{
|
|
2483
2680
|
mt: "5",
|
|
@@ -2485,14 +2682,14 @@ function ReservationCard(props) {
|
|
|
2485
2682
|
py: "4",
|
|
2486
2683
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2487
2684
|
width: "100%",
|
|
2488
|
-
children: /* @__PURE__ */ (0,
|
|
2489
|
-
/* @__PURE__ */ (0,
|
|
2685
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2686
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Typo, { children: [
|
|
2490
2687
|
sessionNumber || "-",
|
|
2491
2688
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2492
2689
|
] }),
|
|
2493
|
-
/* @__PURE__ */ (0,
|
|
2690
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2494
2691
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2495
|
-
/* @__PURE__ */ (0,
|
|
2692
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_icons2.ArrowRightIcon, {})
|
|
2496
2693
|
] })
|
|
2497
2694
|
] })
|
|
2498
2695
|
}
|
|
@@ -2504,14 +2701,14 @@ function ReservationCard(props) {
|
|
|
2504
2701
|
|
|
2505
2702
|
// src/app/platform/session-review-simple-read.tsx
|
|
2506
2703
|
var import_react35 = require("react");
|
|
2507
|
-
var
|
|
2704
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2508
2705
|
function SubTitleWrapper({
|
|
2509
2706
|
children,
|
|
2510
2707
|
title
|
|
2511
2708
|
}) {
|
|
2512
|
-
return /* @__PURE__ */ (0,
|
|
2513
|
-
/* @__PURE__ */ (0,
|
|
2514
|
-
/* @__PURE__ */ (0,
|
|
2709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2710
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2711
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes6.Box, { children })
|
|
2515
2712
|
] });
|
|
2516
2713
|
}
|
|
2517
2714
|
function SessionReviewSimpleRead({
|
|
@@ -2536,22 +2733,22 @@ function SessionReviewSimpleRead({
|
|
|
2536
2733
|
color: "error"
|
|
2537
2734
|
};
|
|
2538
2735
|
}, [helpfulness]);
|
|
2539
|
-
return /* @__PURE__ */ (0,
|
|
2540
|
-
/* @__PURE__ */ (0,
|
|
2541
|
-
/* @__PURE__ */ (0,
|
|
2736
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2737
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.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_runtime66.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2738
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2542
2739
|
] }) });
|
|
2543
2740
|
}
|
|
2544
2741
|
|
|
2545
2742
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
2546
|
-
var
|
|
2743
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2547
2744
|
function SectionWrapper({
|
|
2548
2745
|
title,
|
|
2549
2746
|
children
|
|
2550
2747
|
}) {
|
|
2551
|
-
return /* @__PURE__ */ (0,
|
|
2552
|
-
/* @__PURE__ */ (0,
|
|
2553
|
-
/* @__PURE__ */ (0,
|
|
2554
|
-
/* @__PURE__ */ (0,
|
|
2748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes6.Box, { children: [
|
|
2749
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2750
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2751
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_themes39.Separator, { size: "4" })
|
|
2555
2752
|
] }),
|
|
2556
2753
|
children
|
|
2557
2754
|
] });
|
|
@@ -2561,11 +2758,11 @@ function SessionUserInfoDetail({
|
|
|
2561
2758
|
session,
|
|
2562
2759
|
onClickCopy
|
|
2563
2760
|
}) {
|
|
2564
|
-
return /* @__PURE__ */ (0,
|
|
2565
|
-
/* @__PURE__ */ (0,
|
|
2761
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2762
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2566
2763
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
2567
2764
|
) }) }),
|
|
2568
|
-
/* @__PURE__ */ (0,
|
|
2765
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
2569
2766
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
2570
2767
|
) }) })
|
|
2571
2768
|
] });
|
|
@@ -2573,7 +2770,7 @@ function SessionUserInfoDetail({
|
|
|
2573
2770
|
|
|
2574
2771
|
// src/app/platform/report-card.tsx
|
|
2575
2772
|
var import_react36 = require("react");
|
|
2576
|
-
var
|
|
2773
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
2577
2774
|
function ReportCard(props) {
|
|
2578
2775
|
const { title, file, status, subtitle } = props;
|
|
2579
2776
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
@@ -2588,24 +2785,24 @@ function ReportCard(props) {
|
|
|
2588
2785
|
document.body.removeChild(link);
|
|
2589
2786
|
}, [file]);
|
|
2590
2787
|
if (status) {
|
|
2591
|
-
return /* @__PURE__ */ (0,
|
|
2592
|
-
/* @__PURE__ */ (0,
|
|
2788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
2789
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2593
2790
|
status
|
|
2594
2791
|
] }) });
|
|
2595
2792
|
}
|
|
2596
|
-
return /* @__PURE__ */ (0,
|
|
2793
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
2597
2794
|
import_themes22.Flex,
|
|
2598
2795
|
{
|
|
2599
2796
|
direction: { initial: "column", xs: "row" },
|
|
2600
2797
|
gapY: "2",
|
|
2601
2798
|
justify: "between",
|
|
2602
2799
|
children: [
|
|
2603
|
-
/* @__PURE__ */ (0,
|
|
2604
|
-
/* @__PURE__ */ (0,
|
|
2605
|
-
subtitle ? /* @__PURE__ */ (0,
|
|
2800
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes6.Box, { children: [
|
|
2801
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2802
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Typo, { color: "gray", children: subtitle }) : null
|
|
2606
2803
|
] }),
|
|
2607
|
-
/* @__PURE__ */ (0,
|
|
2608
|
-
/* @__PURE__ */ (0,
|
|
2804
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2805
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_icons2.DownloadIcon, {}),
|
|
2609
2806
|
file == null ? void 0 : file.buttonName
|
|
2610
2807
|
] }) }, file == null ? void 0 : file.url)
|
|
2611
2808
|
]
|
|
@@ -2615,7 +2812,7 @@ function ReportCard(props) {
|
|
|
2615
2812
|
|
|
2616
2813
|
// src/app/platform/contents-card.tsx
|
|
2617
2814
|
var import_react37 = require("react");
|
|
2618
|
-
var
|
|
2815
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
2619
2816
|
var ContentsCard = (0, import_react37.forwardRef)(
|
|
2620
2817
|
({
|
|
2621
2818
|
title,
|
|
@@ -2626,7 +2823,7 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2626
2823
|
onClickCard,
|
|
2627
2824
|
isLoading = false
|
|
2628
2825
|
}, ref) => {
|
|
2629
|
-
return /* @__PURE__ */ (0,
|
|
2826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
2630
2827
|
Card,
|
|
2631
2828
|
{
|
|
2632
2829
|
onClick: onClickCard,
|
|
@@ -2639,7 +2836,7 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2639
2836
|
maxHeight: "450px"
|
|
2640
2837
|
},
|
|
2641
2838
|
children: [
|
|
2642
|
-
/* @__PURE__ */ (0,
|
|
2839
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes25.Inset, { clip: "padding-box", pb: "0", side: "top", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
2643
2840
|
import_themes6.Box,
|
|
2644
2841
|
{
|
|
2645
2842
|
height: "210px",
|
|
@@ -2651,12 +2848,12 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2651
2848
|
width: "100%"
|
|
2652
2849
|
}
|
|
2653
2850
|
) }) }),
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
2655
|
-
/* @__PURE__ */ (0,
|
|
2656
|
-
/* @__PURE__ */ (0,
|
|
2657
|
-
/* @__PURE__ */ (0,
|
|
2851
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_themes22.Flex, { direction: "column", p: "4", pb: "3", children: [
|
|
2852
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_themes6.Box, { children: [
|
|
2853
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Heading2, { mb: "3", variant: "heading5", children: title }) }),
|
|
2854
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Typo, { as: "p", variant: "caption", children: description }) })
|
|
2658
2855
|
] }),
|
|
2659
|
-
/* @__PURE__ */ (0,
|
|
2856
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
2660
2857
|
import_themes23.Grid,
|
|
2661
2858
|
{
|
|
2662
2859
|
align: "center",
|
|
@@ -2666,10 +2863,10 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2666
2863
|
style: { marginTop: "auto" },
|
|
2667
2864
|
width: "100%",
|
|
2668
2865
|
children: [
|
|
2669
|
-
/* @__PURE__ */ (0,
|
|
2670
|
-
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0,
|
|
2671
|
-
/* @__PURE__ */ (0,
|
|
2672
|
-
/* @__PURE__ */ (0,
|
|
2866
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes40.Skeleton, { loading: isLoading, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes22.Flex, { gap: "3", overflow: "hidden", children: footer }) }),
|
|
2867
|
+
Boolean(dropdownItems == null ? void 0 : dropdownItems.length) && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(DropdownMenu.Root, { children: [
|
|
2868
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DropdownMenu.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { size: "large", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_icons2.DotsVerticalIcon, { color: "gray", height: "20px", width: "20px" }) }) }),
|
|
2869
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DropdownMenu.Content, { children: dropdownItems == null ? void 0 : dropdownItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
2673
2870
|
DropdownMenu.Item,
|
|
2674
2871
|
{
|
|
2675
2872
|
onClick: (e) => {
|
|
@@ -2693,7 +2890,7 @@ var ContentsCard = (0, import_react37.forwardRef)(
|
|
|
2693
2890
|
ContentsCard.displayName = "ContentsCard";
|
|
2694
2891
|
|
|
2695
2892
|
// src/app/platform/curriculum-card.tsx
|
|
2696
|
-
var
|
|
2893
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
2697
2894
|
function CurriculumCard(props) {
|
|
2698
2895
|
const {
|
|
2699
2896
|
title,
|
|
@@ -2704,7 +2901,7 @@ function CurriculumCard(props) {
|
|
|
2704
2901
|
bgColor,
|
|
2705
2902
|
onClick
|
|
2706
2903
|
} = props;
|
|
2707
|
-
return /* @__PURE__ */ (0,
|
|
2904
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
2708
2905
|
import_themes23.Grid,
|
|
2709
2906
|
{
|
|
2710
2907
|
columns: { initial: "1", sm: "275px 1fr" },
|
|
@@ -2713,7 +2910,7 @@ function CurriculumCard(props) {
|
|
|
2713
2910
|
onClick,
|
|
2714
2911
|
style: { cursor: "pointer" },
|
|
2715
2912
|
children: [
|
|
2716
|
-
/* @__PURE__ */ (0,
|
|
2913
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
2717
2914
|
import_themes6.Box,
|
|
2718
2915
|
{
|
|
2719
2916
|
height: "165px",
|
|
@@ -2728,32 +2925,32 @@ function CurriculumCard(props) {
|
|
|
2728
2925
|
backgroundAttachment: "local"
|
|
2729
2926
|
},
|
|
2730
2927
|
width: "100%",
|
|
2731
|
-
children: /* @__PURE__ */ (0,
|
|
2928
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Heading2, { style: { whiteSpace: "break-spaces" }, variant: "heading3", children: imgTitle })
|
|
2732
2929
|
}
|
|
2733
2930
|
),
|
|
2734
|
-
/* @__PURE__ */ (0,
|
|
2735
|
-
/* @__PURE__ */ (0,
|
|
2736
|
-
/* @__PURE__ */ (0,
|
|
2737
|
-
/* @__PURE__ */ (0,
|
|
2931
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2932
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "1fr auto" }, gapY: "3", children: [
|
|
2933
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2934
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
2738
2935
|
Badge,
|
|
2739
2936
|
{
|
|
2740
2937
|
size: "medium",
|
|
2741
2938
|
style: { justifySelf: "flex-start" },
|
|
2742
2939
|
variant: "outline",
|
|
2743
|
-
children: /* @__PURE__ */ (0,
|
|
2744
|
-
/* @__PURE__ */ (0,
|
|
2940
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_themes22.Flex, { align: "center", gap: "1", children: [
|
|
2941
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_icons2.TimerIcon, {}),
|
|
2745
2942
|
runningTime
|
|
2746
2943
|
] })
|
|
2747
2944
|
}
|
|
2748
2945
|
)
|
|
2749
2946
|
] }),
|
|
2750
|
-
/* @__PURE__ */ (0,
|
|
2751
|
-
return /* @__PURE__ */ (0,
|
|
2947
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_themes6.Box, { style: { marginBottom: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("ul", { style: { margin: 0, paddingLeft: 20 }, children: description == null ? void 0 : description.map((el) => {
|
|
2948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("li", { style: { marginBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Heading2, { truncate: true, variant: "heading5", weight: "regular", children: el }) }, el);
|
|
2752
2949
|
}) }) }),
|
|
2753
|
-
/* @__PURE__ */ (0,
|
|
2754
|
-
/* @__PURE__ */ (0,
|
|
2755
|
-
/* @__PURE__ */ (0,
|
|
2756
|
-
/* @__PURE__ */ (0,
|
|
2950
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_themes39.Separator, { size: "4" }),
|
|
2951
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_themes22.Flex, { align: "center", gap: "2", justify: "end", children: [
|
|
2952
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Typo, { color: "gray", children: "\uAC15\uC758 \uB4E3\uACE0 \uCF54\uCE58\uB2D8\uACFC \uBB34\uC81C\uD55C Q&A" }),
|
|
2953
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_icons2.ArrowRightIcon, { color: "gray" })
|
|
2757
2954
|
] })
|
|
2758
2955
|
] })
|
|
2759
2956
|
]
|