@tipp/ui 1.6.6 → 1.6.8
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 +391 -338
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +37 -35
- package/dist/app/platform/coach-question-list.cjs +148 -37
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +7 -3
- package/dist/app/platform/edit-coaching-time.cjs +191 -138
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +16 -14
- package/dist/app/platform/edit-service-type.cjs +184 -131
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +15 -13
- package/dist/app/platform/goal-manage-card-edit.cjs +193 -140
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +16 -14
- package/dist/app/platform/goal-manage-card-read.cjs +178 -67
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +8 -4
- package/dist/app/platform/on-offline-radio-card.cjs +177 -124
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +15 -13
- package/dist/app/platform/report-card.cjs +149 -38
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +8 -4
- package/dist/app/platform/reservation-card.cjs +219 -166
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +16 -14
- package/dist/app/platform/session-card.cjs +236 -183
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +17 -15
- package/dist/app/platform/session-review-simple-read.cjs +149 -38
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +7 -3
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +182 -71
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +8 -4
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +159 -48
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +7 -3
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +162 -51
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +7 -3
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +148 -37
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +7 -3
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +158 -47
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +7 -3
- package/dist/app/platform/userInfos/utils.cjs +150 -39
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +7 -3
- package/dist/atoms/alert-dialog.d.cts +1 -0
- package/dist/atoms/alert-dialog.d.ts +1 -0
- package/dist/atoms/avatar.cjs +17 -4
- package/dist/atoms/avatar.cjs.map +1 -1
- package/dist/atoms/avatar.d.cts +4 -2
- package/dist/atoms/avatar.d.ts +4 -2
- package/dist/atoms/avatar.js +1 -1
- package/dist/atoms/button.d.cts +1 -1
- package/dist/atoms/button.d.ts +1 -1
- package/dist/atoms/index.cjs +170 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +7 -3
- package/dist/atoms/pagination.cjs +121 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +6 -2
- package/dist/chunk-2QMAWQMN.js +101 -0
- package/dist/chunk-2QMAWQMN.js.map +1 -0
- package/dist/chunk-32KBBMGD.js +350 -0
- package/dist/chunk-32KBBMGD.js.map +1 -0
- package/dist/chunk-36MI6MDW.js +174 -0
- package/dist/chunk-36MI6MDW.js.map +1 -0
- package/dist/chunk-4CUWLQB3.js +350 -0
- package/dist/chunk-4CUWLQB3.js.map +1 -0
- package/dist/chunk-52EVHZDD.js +145 -0
- package/dist/chunk-52EVHZDD.js.map +1 -0
- package/dist/chunk-5VJUNLJB.js +145 -0
- package/dist/chunk-5VJUNLJB.js.map +1 -0
- package/dist/chunk-66VIPWGA.js +277 -0
- package/dist/chunk-66VIPWGA.js.map +1 -0
- package/dist/chunk-6FHWDD6A.js +30 -0
- package/dist/chunk-6FHWDD6A.js.map +1 -0
- package/dist/chunk-7OTATOP5.js +145 -0
- package/dist/chunk-7OTATOP5.js.map +1 -0
- package/dist/chunk-AJUFF5UG.js +145 -0
- package/dist/chunk-AJUFF5UG.js.map +1 -0
- package/dist/chunk-BBHWHOUN.js +169 -0
- package/dist/chunk-BBHWHOUN.js.map +1 -0
- package/dist/chunk-BC47HOBK.js +165 -0
- package/dist/chunk-BC47HOBK.js.map +1 -0
- package/dist/chunk-BMGHLEOY.js +60 -0
- package/dist/chunk-BMGHLEOY.js.map +1 -0
- package/dist/chunk-DD5Q52TX.js +60 -0
- package/dist/chunk-DD5Q52TX.js.map +1 -0
- package/dist/chunk-DODFRJFU.js +145 -0
- package/dist/chunk-DODFRJFU.js.map +1 -0
- package/dist/chunk-EKWKP54R.js +277 -0
- package/dist/chunk-EKWKP54R.js.map +1 -0
- package/dist/chunk-EQKVFOK5.js +60 -0
- package/dist/chunk-EQKVFOK5.js.map +1 -0
- package/dist/chunk-FDCXXCLY.js +128 -0
- package/dist/chunk-FDCXXCLY.js.map +1 -0
- package/dist/chunk-G52DIMSU.js +174 -0
- package/dist/chunk-G52DIMSU.js.map +1 -0
- package/dist/chunk-GQB7I5LL.js +165 -0
- package/dist/chunk-GQB7I5LL.js.map +1 -0
- package/dist/chunk-GV7DKSKW.js +165 -0
- package/dist/chunk-GV7DKSKW.js.map +1 -0
- package/dist/chunk-HB5XXB6G.js +277 -0
- package/dist/chunk-HB5XXB6G.js.map +1 -0
- package/dist/chunk-HD6D7CNN.js +95 -0
- package/dist/chunk-HD6D7CNN.js.map +1 -0
- package/dist/chunk-HEGXU6RO.js +277 -0
- package/dist/chunk-HEGXU6RO.js.map +1 -0
- package/dist/chunk-HTJAPTM2.js +145 -0
- package/dist/chunk-HTJAPTM2.js.map +1 -0
- package/dist/chunk-IYQDNQVM.js +60 -0
- package/dist/chunk-IYQDNQVM.js.map +1 -0
- package/dist/chunk-JE7ILO63.js +62 -0
- package/dist/chunk-JE7ILO63.js.map +1 -0
- package/dist/chunk-JYJA2PMG.js +51 -0
- package/dist/chunk-JYJA2PMG.js.map +1 -0
- package/dist/chunk-KAMSTRSW.js +145 -0
- package/dist/chunk-KAMSTRSW.js.map +1 -0
- package/dist/chunk-KOII3TFD.js +145 -0
- package/dist/chunk-KOII3TFD.js.map +1 -0
- package/dist/chunk-M3J4C5UA.js +192 -0
- package/dist/chunk-M3J4C5UA.js.map +1 -0
- package/dist/chunk-MHTF5JUP.js +60 -0
- package/dist/chunk-MHTF5JUP.js.map +1 -0
- package/dist/chunk-NA6TSJLE.js +350 -0
- package/dist/chunk-NA6TSJLE.js.map +1 -0
- package/dist/chunk-NE7UF6BI.js +169 -0
- package/dist/chunk-NE7UF6BI.js.map +1 -0
- package/dist/chunk-NTBVSA6A.js +192 -0
- package/dist/chunk-NTBVSA6A.js.map +1 -0
- package/dist/chunk-OD6EJ426.js +62 -0
- package/dist/chunk-OD6EJ426.js.map +1 -0
- package/dist/chunk-ODI7VQOP.js +103 -0
- package/dist/chunk-ODI7VQOP.js.map +1 -0
- package/dist/chunk-PEBU5ITQ.js +169 -0
- package/dist/chunk-PEBU5ITQ.js.map +1 -0
- package/dist/chunk-PEWHIHRL.js +350 -0
- package/dist/chunk-PEWHIHRL.js.map +1 -0
- package/dist/chunk-PGGGKYWG.js +1 -0
- package/dist/chunk-PGGGKYWG.js.map +1 -0
- package/dist/chunk-PVRQAIQX.js +174 -0
- package/dist/chunk-PVRQAIQX.js.map +1 -0
- package/dist/chunk-QHLAIWAT.js +169 -0
- package/dist/chunk-QHLAIWAT.js.map +1 -0
- package/dist/chunk-QLYEPYGM.js +101 -0
- package/dist/chunk-QLYEPYGM.js.map +1 -0
- package/dist/chunk-RZICGWT6.js +95 -0
- package/dist/chunk-RZICGWT6.js.map +1 -0
- package/dist/chunk-S4FV6W2P.js +192 -0
- package/dist/chunk-S4FV6W2P.js.map +1 -0
- package/dist/chunk-SRWD47RX.js +145 -0
- package/dist/chunk-SRWD47RX.js.map +1 -0
- package/dist/chunk-TFJ2O2QQ.js +350 -0
- package/dist/chunk-TFJ2O2QQ.js.map +1 -0
- package/dist/chunk-TLI3ULWV.js +62 -0
- package/dist/chunk-TLI3ULWV.js.map +1 -0
- package/dist/chunk-UFKIOCFB.js +30 -0
- package/dist/chunk-UFKIOCFB.js.map +1 -0
- package/dist/chunk-UFYNSPJQ.js +50 -0
- package/dist/chunk-UFYNSPJQ.js.map +1 -0
- package/dist/chunk-UO4RGP6A.js +128 -0
- package/dist/chunk-UO4RGP6A.js.map +1 -0
- package/dist/chunk-VQSICZAF.js +277 -0
- package/dist/chunk-VQSICZAF.js.map +1 -0
- package/dist/chunk-WVWV7RR3.js +128 -0
- package/dist/chunk-WVWV7RR3.js.map +1 -0
- package/dist/chunk-X2X44CLR.js +101 -0
- package/dist/chunk-X2X44CLR.js.map +1 -0
- package/dist/chunk-XOULHXRV.js +145 -0
- package/dist/chunk-XOULHXRV.js.map +1 -0
- package/dist/chunk-YI73NE3Q.js +165 -0
- package/dist/chunk-YI73NE3Q.js.map +1 -0
- package/dist/chunk-YSB4PQ57.js +169 -0
- package/dist/chunk-YSB4PQ57.js.map +1 -0
- package/dist/chunk-Z5NLJGNU.js +165 -0
- package/dist/chunk-Z5NLJGNU.js.map +1 -0
- package/dist/icon.cjs +153 -2
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +6 -3
- package/dist/icon.d.ts +6 -3
- package/dist/icon.js +24 -3
- package/dist/icons/end-call.cjs +107 -0
- package/dist/icons/end-call.cjs.map +1 -0
- package/dist/icons/end-call.d.cts +6 -0
- package/dist/icons/end-call.d.ts +6 -0
- package/dist/icons/end-call.js +49 -0
- package/dist/icons/end-call.js.map +1 -0
- package/dist/icons/index.cjs +171 -0
- package/dist/icons/index.cjs.map +1 -0
- package/dist/icons/index.d.cts +6 -0
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons/index.js +17 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/icons/phone-ring.cjs +107 -0
- package/dist/icons/phone-ring.cjs.map +1 -0
- package/dist/icons/phone-ring.d.cts +6 -0
- package/dist/icons/phone-ring.d.ts +6 -0
- package/dist/icons/phone-ring.js +8 -0
- package/dist/icons/phone-ring.js.map +1 -0
- package/dist/icons/video-disabled.cjs +98 -0
- package/dist/icons/video-disabled.cjs.map +1 -0
- package/dist/icons/video-disabled.d.cts +6 -0
- package/dist/icons/video-disabled.d.ts +6 -0
- package/dist/icons/video-disabled.js +40 -0
- package/dist/icons/video-disabled.js.map +1 -0
- package/dist/icons/video.cjs +107 -0
- package/dist/icons/video.cjs.map +1 -0
- package/dist/icons/video.d.cts +6 -0
- package/dist/icons/video.d.ts +6 -0
- package/dist/icons/video.js +49 -0
- package/dist/icons/video.js.map +1 -0
- package/dist/index.cjs +535 -468
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +70 -51
- package/dist/molecules/date-picker/date-picker-button.cjs +156 -45
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +9 -5
- package/dist/molecules/date-picker/index.cjs +110 -12
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +6 -2
- package/dist/molecules/expand-table/index.cjs +172 -119
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +8 -6
- package/dist/molecules/expand-table/row.cjs +148 -37
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +7 -3
- package/dist/molecules/index.cjs +289 -236
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +21 -19
- package/dist/molecules/navigation.cjs +148 -37
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +7 -3
- package/dist/molecules/radio-button-card.cjs +146 -35
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +7 -3
- package/dist/molecules/stepper.cjs +145 -24
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +7 -3
- package/dist/molecules/tag-selector.cjs +188 -77
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +8 -4
- package/dist/molecules/time-select.cjs +147 -36
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +8 -4
- package/dist/utils/index.js +3 -3
- package/package.json +1 -1
- package/src/atoms/avatar.tsx +25 -6
- package/src/icon.ts +6 -0
- package/src/icons/end-call.tsx +31 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/phone-ring.tsx +31 -0
- package/src/icons/video-disabled.tsx +27 -0
- package/src/icons/video.tsx +31 -0
package/dist/app/index.cjs
CHANGED
|
@@ -90,8 +90,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
90
90
|
var Avatar = (0, import_react.forwardRef)(
|
|
91
91
|
(props, ref) => {
|
|
92
92
|
const _a = props, { children, size, variant = "soft" } = _a, rest = __objRest(_a, ["children", "size", "variant"]);
|
|
93
|
-
const
|
|
94
|
-
switch (
|
|
93
|
+
const getOriginalSize = (0, import_react.useCallback)((value) => {
|
|
94
|
+
switch (value) {
|
|
95
95
|
case "small":
|
|
96
96
|
return "1";
|
|
97
97
|
case "medium":
|
|
@@ -101,9 +101,22 @@ var Avatar = (0, import_react.forwardRef)(
|
|
|
101
101
|
case "full":
|
|
102
102
|
return "4";
|
|
103
103
|
default:
|
|
104
|
-
return
|
|
104
|
+
return "3";
|
|
105
105
|
}
|
|
106
|
-
}, [
|
|
106
|
+
}, []);
|
|
107
|
+
const radixSize = (0, import_react.useMemo)(() => {
|
|
108
|
+
if (typeof size === "string") {
|
|
109
|
+
return getOriginalSize(size);
|
|
110
|
+
}
|
|
111
|
+
if (typeof size === "object") {
|
|
112
|
+
const map = {};
|
|
113
|
+
let key;
|
|
114
|
+
for (key in size) {
|
|
115
|
+
map[key] = size[key] && getOriginalSize(size[key]);
|
|
116
|
+
}
|
|
117
|
+
return map;
|
|
118
|
+
}
|
|
119
|
+
}, [getOriginalSize, size]);
|
|
107
120
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes3.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
|
|
108
121
|
}
|
|
109
122
|
);
|
|
@@ -718,15 +731,113 @@ var import_react15 = require("react");
|
|
|
718
731
|
// src/icon.ts
|
|
719
732
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
720
733
|
|
|
721
|
-
// src/
|
|
734
|
+
// src/icons/phone-ring.tsx
|
|
735
|
+
var React5 = __toESM(require("react"), 1);
|
|
722
736
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
737
|
+
var PhoneRingIcon = React5.forwardRef(
|
|
738
|
+
(_a, forwardedRef) => {
|
|
739
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
741
|
+
"svg",
|
|
742
|
+
__spreadProps(__spreadValues({
|
|
743
|
+
fill: "none",
|
|
744
|
+
height: "16",
|
|
745
|
+
viewBox: "0 0 16 16",
|
|
746
|
+
width: "16",
|
|
747
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
748
|
+
}, props), {
|
|
749
|
+
ref: forwardedRef,
|
|
750
|
+
children: [
|
|
751
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
752
|
+
"path",
|
|
753
|
+
{
|
|
754
|
+
d: "M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
755
|
+
fill: color
|
|
756
|
+
}
|
|
757
|
+
),
|
|
758
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
759
|
+
"path",
|
|
760
|
+
{
|
|
761
|
+
d: "M9.33335 4.22765C10.4699 4.62936 11.3707 5.53016 11.7724 6.66671M9.97701 2.33337C11.7004 2.93456 13.0655 4.2997 13.6667 6.02305M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
762
|
+
stroke: color,
|
|
763
|
+
strokeLinecap: "round",
|
|
764
|
+
strokeWidth: "1.5"
|
|
765
|
+
}
|
|
766
|
+
)
|
|
767
|
+
]
|
|
768
|
+
})
|
|
769
|
+
);
|
|
770
|
+
}
|
|
771
|
+
);
|
|
772
|
+
PhoneRingIcon.displayName = "ArrowUpIcon";
|
|
723
773
|
|
|
724
|
-
// src/
|
|
774
|
+
// src/icons/up.tsx
|
|
775
|
+
var React6 = __toESM(require("react"), 1);
|
|
725
776
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
777
|
+
var TriangleArrowUpIcon = React6.forwardRef(
|
|
778
|
+
(_a, forwardedRef) => {
|
|
779
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
780
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
781
|
+
"svg",
|
|
782
|
+
__spreadProps(__spreadValues({
|
|
783
|
+
fill: "none",
|
|
784
|
+
height: "7",
|
|
785
|
+
viewBox: "0 0 8 7",
|
|
786
|
+
width: "8",
|
|
787
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
788
|
+
}, props), {
|
|
789
|
+
ref: forwardedRef,
|
|
790
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
791
|
+
"path",
|
|
792
|
+
{
|
|
793
|
+
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
794
|
+
fill: color
|
|
795
|
+
}
|
|
796
|
+
)
|
|
797
|
+
})
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
);
|
|
801
|
+
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
802
|
+
|
|
803
|
+
// src/icons/down.tsx
|
|
804
|
+
var React7 = __toESM(require("react"), 1);
|
|
805
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
806
|
+
var TriangleArrowDownIcon = React7.forwardRef(
|
|
807
|
+
(_a, forwardedRef) => {
|
|
808
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
810
|
+
"svg",
|
|
811
|
+
__spreadProps(__spreadValues({
|
|
812
|
+
fill: "none",
|
|
813
|
+
height: "7",
|
|
814
|
+
viewBox: "0 0 8 7",
|
|
815
|
+
width: "8",
|
|
816
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
817
|
+
}, props), {
|
|
818
|
+
ref: forwardedRef,
|
|
819
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
820
|
+
"path",
|
|
821
|
+
{
|
|
822
|
+
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
823
|
+
fill: color
|
|
824
|
+
}
|
|
825
|
+
)
|
|
826
|
+
})
|
|
827
|
+
);
|
|
828
|
+
}
|
|
829
|
+
);
|
|
830
|
+
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
831
|
+
|
|
832
|
+
// src/atoms/pagination.tsx
|
|
833
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
834
|
+
|
|
835
|
+
// src/atoms/field-error-wrapper.tsx
|
|
836
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
726
837
|
|
|
727
838
|
// src/atoms/ellipsis-tooltip.tsx
|
|
728
839
|
var import_react16 = require("react");
|
|
729
|
-
var
|
|
840
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
730
841
|
|
|
731
842
|
// src/atoms/drawer.tsx
|
|
732
843
|
var import_react17 = require("react");
|
|
@@ -734,12 +845,12 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
734
845
|
var import_themes50 = require("@radix-ui/themes");
|
|
735
846
|
|
|
736
847
|
// src/icons/close-panel-arrow.tsx
|
|
737
|
-
var
|
|
738
|
-
var
|
|
739
|
-
var ClosePanelArrowIcon =
|
|
848
|
+
var React10 = __toESM(require("react"), 1);
|
|
849
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
850
|
+
var ClosePanelArrowIcon = React10.forwardRef(
|
|
740
851
|
(_a, forwardedRef) => {
|
|
741
852
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
742
|
-
return /* @__PURE__ */ (0,
|
|
853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
743
854
|
"svg",
|
|
744
855
|
__spreadProps(__spreadValues({
|
|
745
856
|
fill: "none",
|
|
@@ -750,7 +861,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
750
861
|
}, props), {
|
|
751
862
|
ref: forwardedRef,
|
|
752
863
|
children: [
|
|
753
|
-
/* @__PURE__ */ (0,
|
|
864
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
754
865
|
"path",
|
|
755
866
|
{
|
|
756
867
|
clipRule: "evenodd",
|
|
@@ -759,7 +870,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
759
870
|
fillRule: "evenodd"
|
|
760
871
|
}
|
|
761
872
|
),
|
|
762
|
-
/* @__PURE__ */ (0,
|
|
873
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
763
874
|
"path",
|
|
764
875
|
{
|
|
765
876
|
clipRule: "evenodd",
|
|
@@ -776,16 +887,16 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
776
887
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
777
888
|
|
|
778
889
|
// src/atoms/drawer.tsx
|
|
779
|
-
var
|
|
890
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
780
891
|
|
|
781
892
|
// src/molecules/form/form.tsx
|
|
782
893
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
783
894
|
var import_react18 = require("react");
|
|
784
|
-
var
|
|
895
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
785
896
|
var Root7 = (0, import_react18.forwardRef)(
|
|
786
897
|
(_a, ref) => {
|
|
787
898
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
788
|
-
return /* @__PURE__ */ (0,
|
|
899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
789
900
|
RadixForm.Root,
|
|
790
901
|
__spreadProps(__spreadValues({}, rest), {
|
|
791
902
|
className: `FormRoot ${className || ""}`,
|
|
@@ -802,22 +913,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
802
913
|
var Field2 = (0, import_react18.forwardRef)(
|
|
803
914
|
(_a, ref) => {
|
|
804
915
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
805
|
-
return /* @__PURE__ */ (0,
|
|
916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
806
917
|
RadixForm.Field,
|
|
807
918
|
__spreadProps(__spreadValues({}, rest), {
|
|
808
919
|
className: `FormField ${className || ""}`,
|
|
809
920
|
ref,
|
|
810
|
-
children: /* @__PURE__ */ (0,
|
|
921
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(FieldContext.Provider, { value: rest, children })
|
|
811
922
|
})
|
|
812
923
|
);
|
|
813
924
|
}
|
|
814
925
|
);
|
|
815
926
|
Field2.displayName = "FORM_FIELD";
|
|
816
927
|
function HeadingLabel(props) {
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
818
929
|
}
|
|
819
930
|
function CaptionLabel(props) {
|
|
820
|
-
return /* @__PURE__ */ (0,
|
|
931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
821
932
|
}
|
|
822
933
|
var Label2 = (0, import_react18.forwardRef)(
|
|
823
934
|
(_a, ref) => {
|
|
@@ -834,15 +945,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
834
945
|
}
|
|
835
946
|
}, [variant]);
|
|
836
947
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
837
|
-
return /* @__PURE__ */ (0,
|
|
948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
838
949
|
RadixForm.Label,
|
|
839
950
|
__spreadProps(__spreadValues({}, rest), {
|
|
840
951
|
asChild: true,
|
|
841
952
|
className: `FormLabel ${className || ""}`,
|
|
842
953
|
ref,
|
|
843
|
-
children: /* @__PURE__ */ (0,
|
|
954
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Comp, { children: [
|
|
844
955
|
children,
|
|
845
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
956
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
846
957
|
] })
|
|
847
958
|
})
|
|
848
959
|
);
|
|
@@ -852,13 +963,13 @@ Label2.displayName = "FORM_Label";
|
|
|
852
963
|
var Message2 = (0, import_react18.forwardRef)(
|
|
853
964
|
(_a, ref) => {
|
|
854
965
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
855
|
-
return /* @__PURE__ */ (0,
|
|
966
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
856
967
|
RadixForm.Message,
|
|
857
968
|
__spreadProps(__spreadValues({}, rest), {
|
|
858
969
|
asChild: true,
|
|
859
970
|
className: `FormMessage ${className || ""}`,
|
|
860
971
|
ref,
|
|
861
|
-
children: /* @__PURE__ */ (0,
|
|
972
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "red", children })
|
|
862
973
|
})
|
|
863
974
|
);
|
|
864
975
|
}
|
|
@@ -868,7 +979,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
868
979
|
(_a, ref) => {
|
|
869
980
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
870
981
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
871
|
-
return /* @__PURE__ */ (0,
|
|
982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
872
983
|
RadixForm.Control,
|
|
873
984
|
__spreadProps(__spreadValues({}, rest), {
|
|
874
985
|
className: `FormControl ${className || ""}`,
|
|
@@ -891,10 +1002,10 @@ function FormItem(_a) {
|
|
|
891
1002
|
"children",
|
|
892
1003
|
"errorMessage"
|
|
893
1004
|
]);
|
|
894
|
-
return /* @__PURE__ */ (0,
|
|
895
|
-
/* @__PURE__ */ (0,
|
|
1005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1006
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
896
1007
|
children,
|
|
897
|
-
/* @__PURE__ */ (0,
|
|
1008
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
898
1009
|
] }));
|
|
899
1010
|
}
|
|
900
1011
|
var Form = {
|
|
@@ -909,7 +1020,7 @@ var Form = {
|
|
|
909
1020
|
|
|
910
1021
|
// src/atoms/auto-sizing-input.tsx
|
|
911
1022
|
var import_react19 = require("react");
|
|
912
|
-
var
|
|
1023
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
913
1024
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
914
1025
|
(_a, ref) => {
|
|
915
1026
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -932,46 +1043,46 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
932
1043
|
(0, import_react19.useEffect)(() => {
|
|
933
1044
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
934
1045
|
}, [value, onChangeValue]);
|
|
935
|
-
return /* @__PURE__ */ (0,
|
|
936
|
-
/* @__PURE__ */ (0,
|
|
937
|
-
/* @__PURE__ */ (0,
|
|
1046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1047
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1048
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
938
1049
|
] });
|
|
939
1050
|
}
|
|
940
1051
|
);
|
|
941
1052
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
942
1053
|
|
|
943
1054
|
// src/atoms/bullet-text.tsx
|
|
944
|
-
var
|
|
1055
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
945
1056
|
function BulletText(_a) {
|
|
946
1057
|
var _b = _a, {
|
|
947
1058
|
children
|
|
948
1059
|
} = _b, rest = __objRest(_b, [
|
|
949
1060
|
"children"
|
|
950
1061
|
]);
|
|
951
|
-
return /* @__PURE__ */ (0,
|
|
952
|
-
/* @__PURE__ */ (0,
|
|
953
|
-
/* @__PURE__ */ (0,
|
|
1062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1063
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1064
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
954
1065
|
] });
|
|
955
1066
|
}
|
|
956
1067
|
|
|
957
1068
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
958
|
-
var
|
|
1069
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
959
1070
|
function CoachingCustomerInfoSmall({
|
|
960
1071
|
customer,
|
|
961
1072
|
children,
|
|
962
1073
|
badge
|
|
963
1074
|
}) {
|
|
964
|
-
return /* @__PURE__ */ (0,
|
|
1075
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
965
1076
|
import_themes22.Flex,
|
|
966
1077
|
{
|
|
967
1078
|
direction: { initial: "column", xs: "row" },
|
|
968
1079
|
gap: "3",
|
|
969
1080
|
justify: "between",
|
|
970
1081
|
children: [
|
|
971
|
-
/* @__PURE__ */ (0,
|
|
972
|
-
/* @__PURE__ */ (0,
|
|
973
|
-
/* @__PURE__ */ (0,
|
|
974
|
-
/* @__PURE__ */ (0,
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
1083
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1084
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
1085
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
975
1086
|
] }) }),
|
|
976
1087
|
children
|
|
977
1088
|
]
|
|
@@ -982,7 +1093,7 @@ function CoachingCustomerInfoSmall({
|
|
|
982
1093
|
// src/app/platform/userInfos/utils.tsx
|
|
983
1094
|
var import_date_fns = require("date-fns");
|
|
984
1095
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
985
|
-
var
|
|
1096
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
986
1097
|
var infoList = [
|
|
987
1098
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
988
1099
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -1038,21 +1149,21 @@ var sessionList = [
|
|
|
1038
1149
|
var renderItem = (args) => {
|
|
1039
1150
|
const { info, data, onClickCopy } = args;
|
|
1040
1151
|
const value = info.getValue(data);
|
|
1041
|
-
return /* @__PURE__ */ (0,
|
|
1152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
1042
1153
|
info.render ? info.render(value) : value || "-",
|
|
1043
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
1154
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
1044
1155
|
] });
|
|
1045
1156
|
};
|
|
1046
1157
|
var renderDataListItem = (args) => {
|
|
1047
1158
|
const { info, data, onClickCopy } = args;
|
|
1048
|
-
return /* @__PURE__ */ (0,
|
|
1049
|
-
/* @__PURE__ */ (0,
|
|
1050
|
-
/* @__PURE__ */ (0,
|
|
1159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1160
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
1161
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
1051
1162
|
] }, info.label);
|
|
1052
1163
|
};
|
|
1053
1164
|
function CopyButton(props) {
|
|
1054
1165
|
const { value, onClickCopy } = props;
|
|
1055
|
-
return /* @__PURE__ */ (0,
|
|
1166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1056
1167
|
Button,
|
|
1057
1168
|
{
|
|
1058
1169
|
color: "gray",
|
|
@@ -1061,13 +1172,13 @@ function CopyButton(props) {
|
|
|
1061
1172
|
},
|
|
1062
1173
|
style: { marginLeft: "0", marginTop: "0" },
|
|
1063
1174
|
variant: "transparent",
|
|
1064
|
-
children: /* @__PURE__ */ (0,
|
|
1175
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_icons4.CopyIcon, {})
|
|
1065
1176
|
}
|
|
1066
1177
|
);
|
|
1067
1178
|
}
|
|
1068
1179
|
|
|
1069
1180
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
1070
|
-
var
|
|
1181
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1071
1182
|
function CoachingCustomerInfoMedium({
|
|
1072
1183
|
customer,
|
|
1073
1184
|
session,
|
|
@@ -1075,28 +1186,28 @@ function CoachingCustomerInfoMedium({
|
|
|
1075
1186
|
badge,
|
|
1076
1187
|
onClickCopy
|
|
1077
1188
|
}) {
|
|
1078
|
-
return /* @__PURE__ */ (0,
|
|
1079
|
-
/* @__PURE__ */ (0,
|
|
1080
|
-
/* @__PURE__ */ (0,
|
|
1081
|
-
/* @__PURE__ */ (0,
|
|
1189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1190
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes6.Box, { children: [
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1192
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1082
1193
|
badge
|
|
1083
1194
|
] }),
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1195
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1085
1196
|
] }),
|
|
1086
1197
|
children,
|
|
1087
|
-
/* @__PURE__ */ (0,
|
|
1198
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1088
1199
|
(el) => renderDataListItem({
|
|
1089
1200
|
info: el,
|
|
1090
1201
|
data: session,
|
|
1091
1202
|
onClickCopy
|
|
1092
1203
|
})
|
|
1093
1204
|
) }) }),
|
|
1094
|
-
/* @__PURE__ */ (0,
|
|
1095
|
-
/* @__PURE__ */ (0,
|
|
1096
|
-
/* @__PURE__ */ (0,
|
|
1205
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
1206
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
1207
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes39.Separator, { size: "4" })
|
|
1097
1208
|
] }),
|
|
1098
|
-
/* @__PURE__ */ (0,
|
|
1099
|
-
return /* @__PURE__ */ (0,
|
|
1209
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
1210
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { children: renderItem({
|
|
1100
1211
|
info: el,
|
|
1101
1212
|
data: customer,
|
|
1102
1213
|
onClickCopy
|
|
@@ -1106,7 +1217,7 @@ function CoachingCustomerInfoMedium({
|
|
|
1106
1217
|
}
|
|
1107
1218
|
|
|
1108
1219
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
1109
|
-
var
|
|
1220
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1110
1221
|
function CoachingCustomerInfoLarge({
|
|
1111
1222
|
customer,
|
|
1112
1223
|
session,
|
|
@@ -1114,24 +1225,24 @@ function CoachingCustomerInfoLarge({
|
|
|
1114
1225
|
badge,
|
|
1115
1226
|
onClickCopy
|
|
1116
1227
|
}) {
|
|
1117
|
-
return /* @__PURE__ */ (0,
|
|
1118
|
-
/* @__PURE__ */ (0,
|
|
1119
|
-
/* @__PURE__ */ (0,
|
|
1120
|
-
/* @__PURE__ */ (0,
|
|
1228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1229
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes6.Box, { children: [
|
|
1230
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1231
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1121
1232
|
badge
|
|
1122
1233
|
] }),
|
|
1123
|
-
/* @__PURE__ */ (0,
|
|
1234
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1124
1235
|
] }),
|
|
1125
1236
|
children,
|
|
1126
|
-
/* @__PURE__ */ (0,
|
|
1237
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1127
1238
|
(el) => renderDataListItem({
|
|
1128
1239
|
info: el,
|
|
1129
1240
|
data: session,
|
|
1130
1241
|
onClickCopy
|
|
1131
1242
|
})
|
|
1132
1243
|
) }) }),
|
|
1133
|
-
/* @__PURE__ */ (0,
|
|
1134
|
-
/* @__PURE__ */ (0,
|
|
1244
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes39.Separator, { size: "4" }),
|
|
1245
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1135
1246
|
(info) => renderDataListItem({
|
|
1136
1247
|
info,
|
|
1137
1248
|
data: customer,
|
|
@@ -1142,19 +1253,19 @@ function CoachingCustomerInfoLarge({
|
|
|
1142
1253
|
}
|
|
1143
1254
|
|
|
1144
1255
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
1145
|
-
var
|
|
1256
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1146
1257
|
function CoachingCustomerInfo(props) {
|
|
1147
|
-
return /* @__PURE__ */ (0,
|
|
1148
|
-
/* @__PURE__ */ (0,
|
|
1149
|
-
/* @__PURE__ */ (0,
|
|
1150
|
-
/* @__PURE__ */ (0,
|
|
1258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
1259
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
1261
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
1151
1262
|
] });
|
|
1152
1263
|
}
|
|
1153
1264
|
|
|
1154
1265
|
// src/app/platform/goal-manage-card-read.tsx
|
|
1155
1266
|
var import_react20 = require("react");
|
|
1156
1267
|
var import_date_fns2 = require("date-fns");
|
|
1157
|
-
var
|
|
1268
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1158
1269
|
function GoalManageCardRead(props) {
|
|
1159
1270
|
const {
|
|
1160
1271
|
title,
|
|
@@ -1172,7 +1283,7 @@ function GoalManageCardRead(props) {
|
|
|
1172
1283
|
const onClickOpen = (0, import_react20.useCallback)(() => {
|
|
1173
1284
|
setOpen((p) => !p);
|
|
1174
1285
|
}, []);
|
|
1175
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
1286
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.ChevronDownIcon, {});
|
|
1176
1287
|
const badgeMeta = (0, import_react20.useMemo)(() => {
|
|
1177
1288
|
if (!completed && dueDate) {
|
|
1178
1289
|
if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -1185,40 +1296,40 @@ function GoalManageCardRead(props) {
|
|
|
1185
1296
|
return null;
|
|
1186
1297
|
}, [completed, dueDate]);
|
|
1187
1298
|
const renderSubTitle = (0, import_react20.useCallback)((subTitle) => {
|
|
1188
|
-
return /* @__PURE__ */ (0,
|
|
1299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
1189
1300
|
}, []);
|
|
1190
1301
|
const renderSubContent = (0, import_react20.useCallback)((content) => {
|
|
1191
|
-
return /* @__PURE__ */ (0,
|
|
1302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
1192
1303
|
}, []);
|
|
1193
1304
|
const renderCompleteButton = (0, import_react20.useCallback)(() => {
|
|
1194
1305
|
if (completed) {
|
|
1195
|
-
return /* @__PURE__ */ (0,
|
|
1306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
1196
1307
|
}
|
|
1197
|
-
return /* @__PURE__ */ (0,
|
|
1198
|
-
/* @__PURE__ */ (0,
|
|
1199
|
-
/* @__PURE__ */ (0,
|
|
1308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1309
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Button, { size: "small", children: [
|
|
1310
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.RocketIcon, {}),
|
|
1200
1311
|
"\uB2EC\uC131\uD558\uAE30"
|
|
1201
1312
|
] }) }),
|
|
1202
|
-
/* @__PURE__ */ (0,
|
|
1203
|
-
/* @__PURE__ */ (0,
|
|
1204
|
-
/* @__PURE__ */ (0,
|
|
1205
|
-
/* @__PURE__ */ (0,
|
|
1206
|
-
/* @__PURE__ */ (0,
|
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1314
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1315
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1316
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1317
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
1207
1318
|
] })
|
|
1208
1319
|
] })
|
|
1209
1320
|
] });
|
|
1210
1321
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
1211
|
-
return /* @__PURE__ */ (0,
|
|
1212
|
-
/* @__PURE__ */ (0,
|
|
1213
|
-
/* @__PURE__ */ (0,
|
|
1214
|
-
/* @__PURE__ */ (0,
|
|
1215
|
-
/* @__PURE__ */ (0,
|
|
1216
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
1217
|
-
/* @__PURE__ */ (0,
|
|
1322
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
1323
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
1324
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
1325
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
1326
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
1327
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
1328
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
1218
1329
|
] }),
|
|
1219
1330
|
renderCompleteButton()
|
|
1220
1331
|
] }),
|
|
1221
|
-
open ? /* @__PURE__ */ (0,
|
|
1332
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1222
1333
|
import_themes39.Separator,
|
|
1223
1334
|
{
|
|
1224
1335
|
mb: "4",
|
|
@@ -1227,37 +1338,37 @@ function GoalManageCardRead(props) {
|
|
|
1227
1338
|
style: { gridColumnStart: "span 2" }
|
|
1228
1339
|
}
|
|
1229
1340
|
) : null,
|
|
1230
|
-
/* @__PURE__ */ (0,
|
|
1231
|
-
/* @__PURE__ */ (0,
|
|
1232
|
-
/* @__PURE__ */ (0,
|
|
1341
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Collapse, { open, children: [
|
|
1342
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1343
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes6.Box, { children: [
|
|
1233
1344
|
renderSubTitle(
|
|
1234
1345
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
1235
1346
|
),
|
|
1236
1347
|
renderSubContent(expectedEffect)
|
|
1237
1348
|
] }),
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1349
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes6.Box, { children: [
|
|
1239
1350
|
renderSubTitle(
|
|
1240
1351
|
"\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"
|
|
1241
1352
|
),
|
|
1242
1353
|
renderSubContent(huddle)
|
|
1243
1354
|
] })
|
|
1244
1355
|
] }),
|
|
1245
|
-
/* @__PURE__ */ (0,
|
|
1246
|
-
/* @__PURE__ */ (0,
|
|
1247
|
-
/* @__PURE__ */ (0,
|
|
1248
|
-
/* @__PURE__ */ (0,
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
1357
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1358
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.TrashIcon, {}),
|
|
1249
1360
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
1250
1361
|
] }) }),
|
|
1251
|
-
/* @__PURE__ */ (0,
|
|
1252
|
-
/* @__PURE__ */ (0,
|
|
1253
|
-
/* @__PURE__ */ (0,
|
|
1254
|
-
/* @__PURE__ */ (0,
|
|
1255
|
-
/* @__PURE__ */ (0,
|
|
1362
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1364
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1365
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1366
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
1256
1367
|
] })
|
|
1257
1368
|
] })
|
|
1258
1369
|
] }),
|
|
1259
|
-
/* @__PURE__ */ (0,
|
|
1260
|
-
/* @__PURE__ */ (0,
|
|
1370
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
1371
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.Pencil1Icon, {}),
|
|
1261
1372
|
"\uC218\uC815\uD558\uAE30"
|
|
1262
1373
|
] })
|
|
1263
1374
|
] })
|
|
@@ -1273,81 +1384,23 @@ var import_date_fns5 = require("date-fns");
|
|
|
1273
1384
|
var import_react_table2 = require("@tanstack/react-table");
|
|
1274
1385
|
var import_react22 = require("react");
|
|
1275
1386
|
|
|
1276
|
-
// src/icons/down.tsx
|
|
1277
|
-
var React11 = __toESM(require("react"), 1);
|
|
1278
|
-
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1279
|
-
var TriangleArrowDownIcon = React11.forwardRef(
|
|
1280
|
-
(_a, forwardedRef) => {
|
|
1281
|
-
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1282
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1283
|
-
"svg",
|
|
1284
|
-
__spreadProps(__spreadValues({
|
|
1285
|
-
fill: "none",
|
|
1286
|
-
height: "7",
|
|
1287
|
-
viewBox: "0 0 8 7",
|
|
1288
|
-
width: "8",
|
|
1289
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1290
|
-
}, props), {
|
|
1291
|
-
ref: forwardedRef,
|
|
1292
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1293
|
-
"path",
|
|
1294
|
-
{
|
|
1295
|
-
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
1296
|
-
fill: color
|
|
1297
|
-
}
|
|
1298
|
-
)
|
|
1299
|
-
})
|
|
1300
|
-
);
|
|
1301
|
-
}
|
|
1302
|
-
);
|
|
1303
|
-
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
1304
|
-
|
|
1305
|
-
// src/icons/up.tsx
|
|
1306
|
-
var React12 = __toESM(require("react"), 1);
|
|
1307
|
-
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1308
|
-
var TriangleArrowUpIcon = React12.forwardRef(
|
|
1309
|
-
(_a, forwardedRef) => {
|
|
1310
|
-
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1311
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1312
|
-
"svg",
|
|
1313
|
-
__spreadProps(__spreadValues({
|
|
1314
|
-
fill: "none",
|
|
1315
|
-
height: "7",
|
|
1316
|
-
viewBox: "0 0 8 7",
|
|
1317
|
-
width: "8",
|
|
1318
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1319
|
-
}, props), {
|
|
1320
|
-
ref: forwardedRef,
|
|
1321
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1322
|
-
"path",
|
|
1323
|
-
{
|
|
1324
|
-
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
1325
|
-
fill: color
|
|
1326
|
-
}
|
|
1327
|
-
)
|
|
1328
|
-
})
|
|
1329
|
-
);
|
|
1330
|
-
}
|
|
1331
|
-
);
|
|
1332
|
-
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
1333
|
-
|
|
1334
1387
|
// src/molecules/expand-table/row.tsx
|
|
1335
1388
|
var import_react_table = require("@tanstack/react-table");
|
|
1336
1389
|
var import_react21 = require("react");
|
|
1337
|
-
var
|
|
1390
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1338
1391
|
|
|
1339
1392
|
// src/molecules/expand-table/index.tsx
|
|
1340
|
-
var
|
|
1393
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1341
1394
|
|
|
1342
1395
|
// src/molecules/navigation.tsx
|
|
1343
|
-
var
|
|
1396
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1344
1397
|
|
|
1345
1398
|
// src/molecules/date-picker/index.tsx
|
|
1346
1399
|
var import_react23 = require("react");
|
|
1347
1400
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
1348
1401
|
var import_react_datepicker = require("react-datepicker");
|
|
1349
1402
|
var import_locale = require("date-fns/locale");
|
|
1350
|
-
var
|
|
1403
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1351
1404
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
1352
1405
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
1353
1406
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
@@ -1355,7 +1408,7 @@ var DatePicker = (0, import_react23.forwardRef)(
|
|
|
1355
1408
|
(props, ref) => {
|
|
1356
1409
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1357
1410
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1358
|
-
return /* @__PURE__ */ (0,
|
|
1411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1359
1412
|
ReactDatePicker,
|
|
1360
1413
|
__spreadProps(__spreadValues({
|
|
1361
1414
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1386,35 +1439,35 @@ var renderCustomHeader = (props) => {
|
|
|
1386
1439
|
} = props;
|
|
1387
1440
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1388
1441
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1389
|
-
return /* @__PURE__ */ (0,
|
|
1390
|
-
/* @__PURE__ */ (0,
|
|
1442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1443
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1391
1444
|
import_themes18.IconButton,
|
|
1392
1445
|
{
|
|
1393
1446
|
disabled: prevMonthButtonDisabled,
|
|
1394
1447
|
onClick: decreaseMonth,
|
|
1395
1448
|
type: "button",
|
|
1396
1449
|
variant: "ghost",
|
|
1397
|
-
children: /* @__PURE__ */ (0,
|
|
1450
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1398
1451
|
}
|
|
1399
1452
|
),
|
|
1400
|
-
/* @__PURE__ */ (0,
|
|
1401
|
-
/* @__PURE__ */ (0,
|
|
1453
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1454
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1402
1455
|
year,
|
|
1403
1456
|
"\uB144"
|
|
1404
1457
|
] }),
|
|
1405
|
-
/* @__PURE__ */ (0,
|
|
1458
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1406
1459
|
month,
|
|
1407
1460
|
"\uC6D4"
|
|
1408
1461
|
] })
|
|
1409
1462
|
] }),
|
|
1410
|
-
/* @__PURE__ */ (0,
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1411
1464
|
import_themes18.IconButton,
|
|
1412
1465
|
{
|
|
1413
1466
|
disabled: nextMonthButtonDisabled,
|
|
1414
1467
|
onClick: increaseMonth,
|
|
1415
1468
|
type: "button",
|
|
1416
1469
|
variant: "ghost",
|
|
1417
|
-
children: /* @__PURE__ */ (0,
|
|
1470
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.ChevronRightIcon, {})
|
|
1418
1471
|
}
|
|
1419
1472
|
)
|
|
1420
1473
|
] });
|
|
@@ -1423,12 +1476,12 @@ var renderCustomHeader = (props) => {
|
|
|
1423
1476
|
// src/molecules/dot-navigation.tsx
|
|
1424
1477
|
var import_react24 = require("react");
|
|
1425
1478
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1426
|
-
var
|
|
1479
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1427
1480
|
|
|
1428
1481
|
// src/molecules/stepper.tsx
|
|
1429
1482
|
var import_react25 = require("react");
|
|
1430
1483
|
var import_themes51 = require("@radix-ui/themes");
|
|
1431
|
-
var
|
|
1484
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1432
1485
|
var StepContext = (0, import_react25.createContext)({
|
|
1433
1486
|
active: false,
|
|
1434
1487
|
completed: false,
|
|
@@ -1438,24 +1491,24 @@ var StepContext = (0, import_react25.createContext)({
|
|
|
1438
1491
|
// src/molecules/tag-selector.tsx
|
|
1439
1492
|
var import_react26 = require("react");
|
|
1440
1493
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
1441
|
-
var
|
|
1494
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1442
1495
|
|
|
1443
1496
|
// src/theme/theme-provider.tsx
|
|
1444
1497
|
var import_themes52 = require("@radix-ui/themes");
|
|
1445
|
-
var
|
|
1498
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1446
1499
|
|
|
1447
1500
|
// src/molecules/learning-post.tsx
|
|
1448
|
-
var
|
|
1501
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1449
1502
|
|
|
1450
1503
|
// src/molecules/force-refresh.tsx
|
|
1451
1504
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
1452
|
-
var
|
|
1505
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1453
1506
|
|
|
1454
1507
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
1455
1508
|
var import_react27 = require("react");
|
|
1456
1509
|
var import_date_fns3 = require("date-fns");
|
|
1457
1510
|
var import_clsx = require("clsx");
|
|
1458
|
-
var
|
|
1511
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1459
1512
|
function DatePickerButton(props) {
|
|
1460
1513
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
1461
1514
|
const buttonProps = (0, import_react27.useMemo)(() => {
|
|
@@ -1474,12 +1527,12 @@ function DatePickerButton(props) {
|
|
|
1474
1527
|
(disabled || props.readOnly) && "disabled"
|
|
1475
1528
|
);
|
|
1476
1529
|
}, [disabled, props.readOnly]);
|
|
1477
|
-
return /* @__PURE__ */ (0,
|
|
1530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1478
1531
|
DatePicker,
|
|
1479
1532
|
__spreadProps(__spreadValues({
|
|
1480
|
-
customInput: /* @__PURE__ */ (0,
|
|
1533
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1481
1534
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1482
|
-
/* @__PURE__ */ (0,
|
|
1535
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_icons3.CalendarIcon, {})
|
|
1483
1536
|
] }) })),
|
|
1484
1537
|
wrapperClassName: "full-width"
|
|
1485
1538
|
}, rest), {
|
|
@@ -1513,7 +1566,7 @@ var getTimeOption = (time) => {
|
|
|
1513
1566
|
};
|
|
1514
1567
|
|
|
1515
1568
|
// src/molecules/time-select.tsx
|
|
1516
|
-
var
|
|
1569
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1517
1570
|
var getOptionValue = (date, timeValue) => {
|
|
1518
1571
|
if (date && timeValue) {
|
|
1519
1572
|
if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -1539,21 +1592,21 @@ function TimeSelect(_a) {
|
|
|
1539
1592
|
const [minOption, maxOption] = (0, import_react28.useMemo)(() => {
|
|
1540
1593
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1541
1594
|
}, [maxTime, minTime, time]);
|
|
1542
|
-
return /* @__PURE__ */ (0,
|
|
1543
|
-
/* @__PURE__ */ (0,
|
|
1544
|
-
/* @__PURE__ */ (0,
|
|
1595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1545
1598
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1546
1599
|
if (!visible) {
|
|
1547
1600
|
return null;
|
|
1548
1601
|
}
|
|
1549
|
-
return /* @__PURE__ */ (0,
|
|
1602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Select.Item, { value: option, children: option }, option);
|
|
1550
1603
|
}) })
|
|
1551
1604
|
] }));
|
|
1552
1605
|
}
|
|
1553
1606
|
|
|
1554
1607
|
// src/molecules/radio-button-card.tsx
|
|
1555
1608
|
var import_react29 = require("react");
|
|
1556
|
-
var
|
|
1609
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1557
1610
|
var RadioCardContext = (0, import_react29.createContext)({});
|
|
1558
1611
|
function Root8(props) {
|
|
1559
1612
|
const [value, setValue] = (0, import_react29.useState)(props.value || props.defaultValue);
|
|
@@ -1565,7 +1618,7 @@ function Root8(props) {
|
|
|
1565
1618
|
},
|
|
1566
1619
|
[props]
|
|
1567
1620
|
);
|
|
1568
|
-
return /* @__PURE__ */ (0,
|
|
1621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
1569
1622
|
}
|
|
1570
1623
|
function Item(_a) {
|
|
1571
1624
|
var _b = _a, {
|
|
@@ -1582,9 +1635,9 @@ function Item(_a) {
|
|
|
1582
1635
|
"justify",
|
|
1583
1636
|
"RadioWrapper"
|
|
1584
1637
|
]);
|
|
1585
|
-
return /* @__PURE__ */ (0,
|
|
1638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1586
1639
|
children,
|
|
1587
|
-
/* @__PURE__ */ (0,
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1588
1641
|
import_themes32.Radio,
|
|
1589
1642
|
{
|
|
1590
1643
|
checked: itemRest.value === value,
|
|
@@ -1601,10 +1654,10 @@ var RadioButtonCard = {
|
|
|
1601
1654
|
|
|
1602
1655
|
// src/molecules/download-card.tsx
|
|
1603
1656
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
1604
|
-
var
|
|
1657
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1605
1658
|
|
|
1606
1659
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
1607
|
-
var
|
|
1660
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1608
1661
|
var initialValues = {
|
|
1609
1662
|
goal: "",
|
|
1610
1663
|
effect: "",
|
|
@@ -1633,11 +1686,11 @@ function GoalManageCardEdit(props) {
|
|
|
1633
1686
|
var _a;
|
|
1634
1687
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
1635
1688
|
}, [props, values]);
|
|
1636
|
-
return /* @__PURE__ */ (0,
|
|
1637
|
-
/* @__PURE__ */ (0,
|
|
1638
|
-
/* @__PURE__ */ (0,
|
|
1639
|
-
/* @__PURE__ */ (0,
|
|
1640
|
-
/* @__PURE__ */ (0,
|
|
1689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1691
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "title", children: [
|
|
1692
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1693
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1641
1694
|
TextField.Root,
|
|
1642
1695
|
{
|
|
1643
1696
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -1648,11 +1701,11 @@ function GoalManageCardEdit(props) {
|
|
|
1648
1701
|
value: values.goal
|
|
1649
1702
|
}
|
|
1650
1703
|
),
|
|
1651
|
-
/* @__PURE__ */ (0,
|
|
1704
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
1652
1705
|
] }),
|
|
1653
|
-
/* @__PURE__ */ (0,
|
|
1654
|
-
/* @__PURE__ */ (0,
|
|
1655
|
-
/* @__PURE__ */ (0,
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "effect", children: [
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
1708
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1656
1709
|
TextArea,
|
|
1657
1710
|
{
|
|
1658
1711
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -1664,11 +1717,11 @@ function GoalManageCardEdit(props) {
|
|
|
1664
1717
|
value: values.effect
|
|
1665
1718
|
}
|
|
1666
1719
|
),
|
|
1667
|
-
/* @__PURE__ */ (0,
|
|
1720
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
1668
1721
|
] }),
|
|
1669
|
-
/* @__PURE__ */ (0,
|
|
1670
|
-
/* @__PURE__ */ (0,
|
|
1671
|
-
/* @__PURE__ */ (0,
|
|
1722
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "huddle", children: [
|
|
1723
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
1724
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1672
1725
|
TextArea,
|
|
1673
1726
|
{
|
|
1674
1727
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -1682,11 +1735,11 @@ function GoalManageCardEdit(props) {
|
|
|
1682
1735
|
value: values.huddle
|
|
1683
1736
|
}
|
|
1684
1737
|
),
|
|
1685
|
-
/* @__PURE__ */ (0,
|
|
1738
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
1686
1739
|
] }),
|
|
1687
|
-
/* @__PURE__ */ (0,
|
|
1688
|
-
/* @__PURE__ */ (0,
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1740
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
1741
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1690
1743
|
DatePickerButton,
|
|
1691
1744
|
{
|
|
1692
1745
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -1697,11 +1750,11 @@ function GoalManageCardEdit(props) {
|
|
|
1697
1750
|
selected: values.dueDate
|
|
1698
1751
|
}
|
|
1699
1752
|
),
|
|
1700
|
-
/* @__PURE__ */ (0,
|
|
1753
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
1701
1754
|
] })
|
|
1702
1755
|
] }),
|
|
1703
|
-
/* @__PURE__ */ (0,
|
|
1704
|
-
/* @__PURE__ */ (0,
|
|
1756
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
1757
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1705
1758
|
Button,
|
|
1706
1759
|
{
|
|
1707
1760
|
color: "gray",
|
|
@@ -1712,7 +1765,7 @@ function GoalManageCardEdit(props) {
|
|
|
1712
1765
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
1713
1766
|
}
|
|
1714
1767
|
),
|
|
1715
|
-
/* @__PURE__ */ (0,
|
|
1768
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
1716
1769
|
] })
|
|
1717
1770
|
] }) });
|
|
1718
1771
|
}
|
|
@@ -1723,7 +1776,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
1723
1776
|
|
|
1724
1777
|
// src/app/platform/edit-coaching-time.tsx
|
|
1725
1778
|
var import_react31 = require("react");
|
|
1726
|
-
var
|
|
1779
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1727
1780
|
var getValueFromDefaultValue = (args) => {
|
|
1728
1781
|
return {
|
|
1729
1782
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -1793,10 +1846,10 @@ function EditCoachingTime(props) {
|
|
|
1793
1846
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
1794
1847
|
}
|
|
1795
1848
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
1796
|
-
return /* @__PURE__ */ (0,
|
|
1797
|
-
/* @__PURE__ */ (0,
|
|
1798
|
-
/* @__PURE__ */ (0,
|
|
1799
|
-
/* @__PURE__ */ (0,
|
|
1849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Root, { children: [
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "date", children: [
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1800
1853
|
DatePickerButton,
|
|
1801
1854
|
{
|
|
1802
1855
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -1806,7 +1859,7 @@ function EditCoachingTime(props) {
|
|
|
1806
1859
|
}
|
|
1807
1860
|
)
|
|
1808
1861
|
] }),
|
|
1809
|
-
/* @__PURE__ */ (0,
|
|
1862
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
1810
1863
|
import_themes23.Grid,
|
|
1811
1864
|
{
|
|
1812
1865
|
align: "center",
|
|
@@ -1821,10 +1874,10 @@ function EditCoachingTime(props) {
|
|
|
1821
1874
|
mt: "5",
|
|
1822
1875
|
width: "100%",
|
|
1823
1876
|
children: [
|
|
1824
|
-
/* @__PURE__ */ (0,
|
|
1825
|
-
/* @__PURE__ */ (0,
|
|
1826
|
-
/* @__PURE__ */ (0,
|
|
1827
|
-
/* @__PURE__ */ (0,
|
|
1877
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
1878
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {}),
|
|
1879
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
1880
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1828
1881
|
TimeSelect,
|
|
1829
1882
|
{
|
|
1830
1883
|
onValueChange: onChangeStartTime,
|
|
@@ -1832,8 +1885,8 @@ function EditCoachingTime(props) {
|
|
|
1832
1885
|
value: values.startTime
|
|
1833
1886
|
}
|
|
1834
1887
|
),
|
|
1835
|
-
/* @__PURE__ */ (0,
|
|
1836
|
-
/* @__PURE__ */ (0,
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes39.Separator, {}) }),
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1837
1890
|
TimeSelect,
|
|
1838
1891
|
{
|
|
1839
1892
|
onValueChange: onChangeEndTime,
|
|
@@ -1841,13 +1894,13 @@ function EditCoachingTime(props) {
|
|
|
1841
1894
|
value: values.endTime
|
|
1842
1895
|
}
|
|
1843
1896
|
),
|
|
1844
|
-
/* @__PURE__ */ (0,
|
|
1897
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
1845
1898
|
]
|
|
1846
1899
|
}
|
|
1847
1900
|
),
|
|
1848
|
-
/* @__PURE__ */ (0,
|
|
1849
|
-
/* @__PURE__ */ (0,
|
|
1850
|
-
/* @__PURE__ */ (0,
|
|
1901
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
1902
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
1903
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1851
1904
|
] })
|
|
1852
1905
|
] }) });
|
|
1853
1906
|
}
|
|
@@ -1857,20 +1910,20 @@ var import_react32 = require("react");
|
|
|
1857
1910
|
|
|
1858
1911
|
// src/app/platform/on-offline-radio-card.tsx
|
|
1859
1912
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
1860
|
-
var
|
|
1913
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1861
1914
|
var SERVICE_TYPE = {
|
|
1862
1915
|
onlineCoaching: "onlineCoaching",
|
|
1863
1916
|
offlineCoaching: "offlineCoaching"
|
|
1864
1917
|
};
|
|
1865
1918
|
var breakpoint = "sm";
|
|
1866
1919
|
function HideSmallBox(props) {
|
|
1867
|
-
return /* @__PURE__ */ (0,
|
|
1920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
1868
1921
|
}
|
|
1869
1922
|
function OnOfflineRadioCard(props) {
|
|
1870
1923
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
1871
1924
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
1872
1925
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
1873
|
-
return /* @__PURE__ */ (0,
|
|
1926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
1874
1927
|
RadioButtonCard.Root,
|
|
1875
1928
|
__spreadProps(__spreadValues({
|
|
1876
1929
|
RadioWrapper: Wrapper,
|
|
@@ -1879,13 +1932,13 @@ function OnOfflineRadioCard(props) {
|
|
|
1879
1932
|
justify
|
|
1880
1933
|
}, props), {
|
|
1881
1934
|
children: [
|
|
1882
|
-
/* @__PURE__ */ (0,
|
|
1883
|
-
/* @__PURE__ */ (0,
|
|
1884
|
-
/* @__PURE__ */ (0,
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1936
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
1937
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
1885
1938
|
] }) }),
|
|
1886
|
-
/* @__PURE__ */ (0,
|
|
1887
|
-
/* @__PURE__ */ (0,
|
|
1888
|
-
/* @__PURE__ */ (0,
|
|
1939
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1940
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
1941
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
1889
1942
|
] }) })
|
|
1890
1943
|
]
|
|
1891
1944
|
})
|
|
@@ -1893,7 +1946,7 @@ function OnOfflineRadioCard(props) {
|
|
|
1893
1946
|
}
|
|
1894
1947
|
|
|
1895
1948
|
// src/app/platform/edit-service-type.tsx
|
|
1896
|
-
var
|
|
1949
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1897
1950
|
function EditServiceType(props) {
|
|
1898
1951
|
const { defaultServiceType, onClickCancel } = props;
|
|
1899
1952
|
const [sessionType, setSessionType] = (0, import_react32.useState)(
|
|
@@ -1903,8 +1956,8 @@ function EditServiceType(props) {
|
|
|
1903
1956
|
var _a;
|
|
1904
1957
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
1905
1958
|
}, [props, sessionType]);
|
|
1906
|
-
return /* @__PURE__ */ (0,
|
|
1907
|
-
/* @__PURE__ */ (0,
|
|
1959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes6.Box, { children: [
|
|
1960
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1908
1961
|
Typo,
|
|
1909
1962
|
{
|
|
1910
1963
|
as: "p",
|
|
@@ -1914,16 +1967,16 @@ function EditServiceType(props) {
|
|
|
1914
1967
|
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"
|
|
1915
1968
|
}
|
|
1916
1969
|
),
|
|
1917
|
-
/* @__PURE__ */ (0,
|
|
1918
|
-
/* @__PURE__ */ (0,
|
|
1919
|
-
/* @__PURE__ */ (0,
|
|
1920
|
-
/* @__PURE__ */ (0,
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
1971
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
1972
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
1973
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1921
1974
|
] })
|
|
1922
1975
|
] });
|
|
1923
1976
|
}
|
|
1924
1977
|
|
|
1925
1978
|
// src/app/platform/session-card.tsx
|
|
1926
|
-
var
|
|
1979
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1927
1980
|
var preventDefault2 = (e) => {
|
|
1928
1981
|
e.preventDefault();
|
|
1929
1982
|
};
|
|
@@ -1954,33 +2007,33 @@ function SessionCard(props) {
|
|
|
1954
2007
|
"sessionType"
|
|
1955
2008
|
]);
|
|
1956
2009
|
const renderEditButton = (0, import_react33.useCallback)(() => {
|
|
1957
|
-
return /* @__PURE__ */ (0,
|
|
2010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_icons3.Pencil1Icon, {}) });
|
|
1958
2011
|
}, []);
|
|
1959
2012
|
const sessionTimeStr = (0, import_react33.useMemo)(() => {
|
|
1960
2013
|
if (!startAt || !endAt)
|
|
1961
2014
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
1962
2015
|
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")}`;
|
|
1963
2016
|
}, [startAt, endAt]);
|
|
1964
|
-
return /* @__PURE__ */ (0,
|
|
1965
|
-
/* @__PURE__ */ (0,
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
2017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2019
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
1967
2020
|
TitleExtra,
|
|
1968
|
-
error ? /* @__PURE__ */ (0,
|
|
2021
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
1969
2022
|
] }),
|
|
1970
|
-
/* @__PURE__ */ (0,
|
|
1971
|
-
/* @__PURE__ */ (0,
|
|
1972
|
-
/* @__PURE__ */ (0,
|
|
1973
|
-
/* @__PURE__ */ (0,
|
|
2023
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2024
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2025
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
|
|
1974
2027
|
sessionTimeStr,
|
|
1975
|
-
editable ? /* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
2028
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2030
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1978
2031
|
Dialog.Content,
|
|
1979
2032
|
{
|
|
1980
2033
|
onOpenAutoFocus: preventDefault2,
|
|
1981
2034
|
style: { overflow: "visible" },
|
|
1982
2035
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
1983
|
-
children: /* @__PURE__ */ (0,
|
|
2036
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1984
2037
|
EditCoachingTime,
|
|
1985
2038
|
{
|
|
1986
2039
|
defaultEndAt: endAt,
|
|
@@ -1993,18 +2046,18 @@ function SessionCard(props) {
|
|
|
1993
2046
|
] }) : null
|
|
1994
2047
|
] })
|
|
1995
2048
|
] }),
|
|
1996
|
-
/* @__PURE__ */ (0,
|
|
1997
|
-
/* @__PURE__ */ (0,
|
|
1998
|
-
/* @__PURE__ */ (0,
|
|
1999
|
-
/* @__PURE__ */ (0,
|
|
2049
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
2050
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2051
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
2052
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
|
|
2000
2053
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
2001
|
-
editable ? /* @__PURE__ */ (0,
|
|
2002
|
-
/* @__PURE__ */ (0,
|
|
2003
|
-
/* @__PURE__ */ (0,
|
|
2054
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
|
|
2055
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2056
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2004
2057
|
Dialog.Content,
|
|
2005
2058
|
{
|
|
2006
2059
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
2007
|
-
children: /* @__PURE__ */ (0,
|
|
2060
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2008
2061
|
EditServiceType,
|
|
2009
2062
|
{
|
|
2010
2063
|
defaultServiceType: sessionType,
|
|
@@ -2016,32 +2069,32 @@ function SessionCard(props) {
|
|
|
2016
2069
|
] }) : null
|
|
2017
2070
|
] })
|
|
2018
2071
|
] }),
|
|
2019
|
-
/* @__PURE__ */ (0,
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
2020
2073
|
] })
|
|
2021
2074
|
] })
|
|
2022
2075
|
] }) }));
|
|
2023
2076
|
}
|
|
2024
2077
|
|
|
2025
2078
|
// src/app/platform/coach-question-list.tsx
|
|
2026
|
-
var
|
|
2079
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2027
2080
|
function QuestionItem({ question, answer }) {
|
|
2028
|
-
return /* @__PURE__ */ (0,
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
2030
|
-
/* @__PURE__ */ (0,
|
|
2081
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes6.Box, { children: [
|
|
2082
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2031
2084
|
] }, question);
|
|
2032
2085
|
}
|
|
2033
2086
|
function CoachQuestionList({
|
|
2034
2087
|
questions
|
|
2035
2088
|
}) {
|
|
2036
|
-
return /* @__PURE__ */ (0,
|
|
2037
|
-
return /* @__PURE__ */ (0,
|
|
2089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2038
2091
|
}) });
|
|
2039
2092
|
}
|
|
2040
2093
|
|
|
2041
2094
|
// src/app/platform/reservation-card.tsx
|
|
2042
2095
|
var import_react34 = require("react");
|
|
2043
2096
|
var import_date_fns7 = require("date-fns");
|
|
2044
|
-
var
|
|
2097
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2045
2098
|
function ReservationCard(props) {
|
|
2046
2099
|
const {
|
|
2047
2100
|
sessionNumber,
|
|
@@ -2075,9 +2128,9 @@ function ReservationCard(props) {
|
|
|
2075
2128
|
}, [defaultTime, defaultType]);
|
|
2076
2129
|
const ActionButtons = (0, import_react34.useMemo)(() => {
|
|
2077
2130
|
if (readonly) {
|
|
2078
|
-
return /* @__PURE__ */ (0,
|
|
2131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2079
2132
|
}
|
|
2080
|
-
return /* @__PURE__ */ (0,
|
|
2133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.Cross1Icon, {}) });
|
|
2081
2134
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2082
2135
|
const onChangeDate = (0, import_react34.useCallback)(
|
|
2083
2136
|
(newDate) => {
|
|
@@ -2134,47 +2187,47 @@ function ReservationCard(props) {
|
|
|
2134
2187
|
});
|
|
2135
2188
|
}
|
|
2136
2189
|
}, [editValues, maxTime, readonly]);
|
|
2137
|
-
return /* @__PURE__ */ (0,
|
|
2190
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2138
2191
|
Card,
|
|
2139
2192
|
{
|
|
2140
2193
|
error: Boolean(error),
|
|
2141
2194
|
size: "3",
|
|
2142
2195
|
style: { overflow: "visible", contain: "initial" },
|
|
2143
2196
|
children: [
|
|
2144
|
-
/* @__PURE__ */ (0,
|
|
2145
|
-
/* @__PURE__ */ (0,
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2146
2199
|
import_themes23.Grid,
|
|
2147
2200
|
{
|
|
2148
2201
|
align: "center",
|
|
2149
2202
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2150
2203
|
gapY: "2",
|
|
2151
2204
|
children: [
|
|
2152
|
-
/* @__PURE__ */ (0,
|
|
2153
|
-
/* @__PURE__ */ (0,
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2154
2207
|
customerName || "-",
|
|
2155
2208
|
"\uB2D8 ",
|
|
2156
2209
|
sessionNumber || "-",
|
|
2157
2210
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2158
2211
|
] }),
|
|
2159
|
-
/* @__PURE__ */ (0,
|
|
2212
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2160
2213
|
] }),
|
|
2161
|
-
error ? /* @__PURE__ */ (0,
|
|
2214
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2162
2215
|
]
|
|
2163
2216
|
}
|
|
2164
2217
|
),
|
|
2165
|
-
/* @__PURE__ */ (0,
|
|
2218
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2166
2219
|
] }),
|
|
2167
|
-
/* @__PURE__ */ (0,
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2168
2221
|
Form.Root,
|
|
2169
2222
|
{
|
|
2170
2223
|
onSubmit: (e) => {
|
|
2171
2224
|
e.preventDefault();
|
|
2172
2225
|
},
|
|
2173
|
-
children: /* @__PURE__ */ (0,
|
|
2174
|
-
/* @__PURE__ */ (0,
|
|
2175
|
-
/* @__PURE__ */ (0,
|
|
2176
|
-
/* @__PURE__ */ (0,
|
|
2177
|
-
/* @__PURE__ */ (0,
|
|
2226
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Label, { asChild: true, children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
2230
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2178
2231
|
DatePickerButton,
|
|
2179
2232
|
{
|
|
2180
2233
|
disabled: readonly,
|
|
@@ -2186,7 +2239,7 @@ function ReservationCard(props) {
|
|
|
2186
2239
|
size: "large"
|
|
2187
2240
|
}
|
|
2188
2241
|
),
|
|
2189
|
-
/* @__PURE__ */ (0,
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2190
2243
|
TimeSelect,
|
|
2191
2244
|
{
|
|
2192
2245
|
disabled: readonly,
|
|
@@ -2200,9 +2253,9 @@ function ReservationCard(props) {
|
|
|
2200
2253
|
)
|
|
2201
2254
|
] })
|
|
2202
2255
|
] }) }),
|
|
2203
|
-
/* @__PURE__ */ (0,
|
|
2204
|
-
/* @__PURE__ */ (0,
|
|
2205
|
-
/* @__PURE__ */ (0,
|
|
2256
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Field, { name: "type", children: [
|
|
2257
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2206
2259
|
OnOfflineRadioCard,
|
|
2207
2260
|
{
|
|
2208
2261
|
disabled: readonly,
|
|
@@ -2212,8 +2265,8 @@ function ReservationCard(props) {
|
|
|
2212
2265
|
}
|
|
2213
2266
|
) })
|
|
2214
2267
|
] }),
|
|
2215
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2216
|
-
/* @__PURE__ */ (0,
|
|
2268
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2269
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2217
2270
|
Button,
|
|
2218
2271
|
{
|
|
2219
2272
|
color: "gray",
|
|
@@ -2223,12 +2276,12 @@ function ReservationCard(props) {
|
|
|
2223
2276
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2224
2277
|
}
|
|
2225
2278
|
),
|
|
2226
|
-
/* @__PURE__ */ (0,
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2227
2280
|
] })
|
|
2228
2281
|
] })
|
|
2229
2282
|
}
|
|
2230
2283
|
) }),
|
|
2231
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2284
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2232
2285
|
import_themes6.Box,
|
|
2233
2286
|
{
|
|
2234
2287
|
mt: "5",
|
|
@@ -2236,14 +2289,14 @@ function ReservationCard(props) {
|
|
|
2236
2289
|
py: "4",
|
|
2237
2290
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2238
2291
|
width: "100%",
|
|
2239
|
-
children: /* @__PURE__ */ (0,
|
|
2240
|
-
/* @__PURE__ */ (0,
|
|
2292
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Typo, { children: [
|
|
2241
2294
|
sessionNumber || "-",
|
|
2242
2295
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2243
2296
|
] }),
|
|
2244
|
-
/* @__PURE__ */ (0,
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2245
2298
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2246
|
-
/* @__PURE__ */ (0,
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.ArrowRightIcon, {})
|
|
2247
2300
|
] })
|
|
2248
2301
|
] })
|
|
2249
2302
|
}
|
|
@@ -2255,14 +2308,14 @@ function ReservationCard(props) {
|
|
|
2255
2308
|
|
|
2256
2309
|
// src/app/platform/session-review-simple-read.tsx
|
|
2257
2310
|
var import_react35 = require("react");
|
|
2258
|
-
var
|
|
2311
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2259
2312
|
function SubTitleWrapper({
|
|
2260
2313
|
children,
|
|
2261
2314
|
title
|
|
2262
2315
|
}) {
|
|
2263
|
-
return /* @__PURE__ */ (0,
|
|
2264
|
-
/* @__PURE__ */ (0,
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2317
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2318
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children })
|
|
2266
2319
|
] });
|
|
2267
2320
|
}
|
|
2268
2321
|
function SessionReviewSimpleRead({
|
|
@@ -2287,22 +2340,22 @@ function SessionReviewSimpleRead({
|
|
|
2287
2340
|
color: "error"
|
|
2288
2341
|
};
|
|
2289
2342
|
}, [helpfulness]);
|
|
2290
|
-
return /* @__PURE__ */ (0,
|
|
2291
|
-
/* @__PURE__ */ (0,
|
|
2292
|
-
/* @__PURE__ */ (0,
|
|
2343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.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_runtime55.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2293
2346
|
] }) });
|
|
2294
2347
|
}
|
|
2295
2348
|
|
|
2296
2349
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
2297
|
-
var
|
|
2350
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2298
2351
|
function SectionWrapper({
|
|
2299
2352
|
title,
|
|
2300
2353
|
children
|
|
2301
2354
|
}) {
|
|
2302
|
-
return /* @__PURE__ */ (0,
|
|
2303
|
-
/* @__PURE__ */ (0,
|
|
2304
|
-
/* @__PURE__ */ (0,
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes6.Box, { children: [
|
|
2356
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2357
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2358
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes39.Separator, { size: "4" })
|
|
2306
2359
|
] }),
|
|
2307
2360
|
children
|
|
2308
2361
|
] });
|
|
@@ -2312,11 +2365,11 @@ function SessionUserInfoDetail({
|
|
|
2312
2365
|
session,
|
|
2313
2366
|
onClickCopy
|
|
2314
2367
|
}) {
|
|
2315
|
-
return /* @__PURE__ */ (0,
|
|
2316
|
-
/* @__PURE__ */ (0,
|
|
2368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2369
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2317
2370
|
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
2318
2371
|
) }) }),
|
|
2319
|
-
/* @__PURE__ */ (0,
|
|
2372
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
2320
2373
|
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
2321
2374
|
) }) })
|
|
2322
2375
|
] });
|
|
@@ -2324,7 +2377,7 @@ function SessionUserInfoDetail({
|
|
|
2324
2377
|
|
|
2325
2378
|
// src/app/platform/report-card.tsx
|
|
2326
2379
|
var import_react36 = require("react");
|
|
2327
|
-
var
|
|
2380
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2328
2381
|
function ReportCard(props) {
|
|
2329
2382
|
const { title, file, status } = props;
|
|
2330
2383
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
@@ -2340,21 +2393,21 @@ function ReportCard(props) {
|
|
|
2340
2393
|
document.body.removeChild(link);
|
|
2341
2394
|
}, [file]);
|
|
2342
2395
|
if (status) {
|
|
2343
|
-
return /* @__PURE__ */ (0,
|
|
2344
|
-
/* @__PURE__ */ (0,
|
|
2396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2345
2398
|
status
|
|
2346
2399
|
] }) });
|
|
2347
2400
|
}
|
|
2348
|
-
return /* @__PURE__ */ (0,
|
|
2401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2349
2402
|
import_themes22.Flex,
|
|
2350
2403
|
{
|
|
2351
2404
|
direction: { initial: "column", xs: "row" },
|
|
2352
2405
|
gapY: "2",
|
|
2353
2406
|
justify: "between",
|
|
2354
2407
|
children: [
|
|
2355
|
-
/* @__PURE__ */ (0,
|
|
2356
|
-
/* @__PURE__ */ (0,
|
|
2357
|
-
/* @__PURE__ */ (0,
|
|
2408
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2409
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2410
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_icons3.DownloadIcon, {}),
|
|
2358
2411
|
file == null ? void 0 : file.buttonName
|
|
2359
2412
|
] }) }, file == null ? void 0 : file.url)
|
|
2360
2413
|
]
|