@tipp/ui 1.6.5 → 1.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.cjs +429 -345
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +58 -56
- 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 +31 -27
- 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 +39 -37
- 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 +38 -36
- 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 +39 -37
- 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 +31 -27
- 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 +38 -36
- 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 +31 -27
- 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 +39 -37
- 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 +40 -38
- 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 +31 -27
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +214 -77
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +37 -33
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +179 -53
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.d.cts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.d.ts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +32 -28
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +180 -56
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.d.cts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.d.ts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +32 -28
- 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 +30 -26
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +170 -52
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.d.cts +2 -1
- package/dist/app/platform/userInfos/session-user-info-detail.d.ts +2 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +32 -28
- package/dist/app/platform/userInfos/utils.cjs +156 -43
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.d.cts +12 -2
- package/dist/app/platform/userInfos/utils.d.ts +12 -2
- package/dist/app/platform/userInfos/utils.js +31 -27
- 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/index.cjs +170 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +69 -65
- 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-2QBJJBBV.js +145 -0
- package/dist/chunk-2QBJJBBV.js.map +1 -0
- 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-373AW6HR.js +277 -0
- package/dist/chunk-373AW6HR.js.map +1 -0
- package/dist/chunk-52EVHZDD.js +145 -0
- package/dist/chunk-52EVHZDD.js.map +1 -0
- package/dist/chunk-5E6WM7Z4.js +64 -0
- package/dist/chunk-5E6WM7Z4.js.map +1 -0
- package/dist/chunk-5VJUNLJB.js +145 -0
- package/dist/chunk-5VJUNLJB.js.map +1 -0
- package/dist/chunk-6FHWDD6A.js +30 -0
- package/dist/chunk-6FHWDD6A.js.map +1 -0
- package/dist/chunk-7NXD7PLX.js +74 -0
- package/dist/chunk-7NXD7PLX.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-BJ2HH4TJ.js +57 -0
- package/dist/chunk-BJ2HH4TJ.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-EKWKP54R.js +277 -0
- package/dist/chunk-EKWKP54R.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-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-HKRIJNY6.js +64 -0
- package/dist/chunk-HKRIJNY6.js.map +1 -0
- package/dist/chunk-IJSQS7YT.js +74 -0
- package/dist/chunk-IJSQS7YT.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-MD2DWARX.js +64 -0
- package/dist/chunk-MD2DWARX.js.map +1 -0
- package/dist/chunk-NE7UF6BI.js +169 -0
- package/dist/chunk-NE7UF6BI.js.map +1 -0
- package/dist/chunk-NHFRCEK6.js +102 -0
- package/dist/chunk-NHFRCEK6.js.map +1 -0
- package/dist/chunk-NJWCZXWW.js +30 -0
- package/dist/chunk-NJWCZXWW.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-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-QLYEPYGM.js +101 -0
- package/dist/chunk-QLYEPYGM.js.map +1 -0
- package/dist/chunk-RAUCQTT3.js +57 -0
- package/dist/chunk-RAUCQTT3.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-TFJ2O2QQ.js +350 -0
- package/dist/chunk-TFJ2O2QQ.js.map +1 -0
- package/dist/chunk-TTIKEEMM.js +192 -0
- package/dist/chunk-TTIKEEMM.js.map +1 -0
- package/dist/chunk-UC5ZM5ZM.js +174 -0
- package/dist/chunk-UC5ZM5ZM.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-V5EAAF36.js +30 -0
- package/dist/chunk-V5EAAF36.js.map +1 -0
- package/dist/chunk-VQSICZAF.js +277 -0
- package/dist/chunk-VQSICZAF.js.map +1 -0
- package/dist/chunk-VWVFUMDN.js +30 -0
- package/dist/chunk-VWVFUMDN.js.map +1 -0
- package/dist/chunk-WVWV7RR3.js +128 -0
- package/dist/chunk-WVWV7RR3.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-ZUQARZ2L.js +74 -0
- package/dist/chunk-ZUQARZ2L.js.map +1 -0
- package/dist/icon.cjs +143 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +5 -2
- package/dist/icon.d.ts +5 -2
- package/dist/icon.js +14 -1
- 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/index.cjs +565 -475
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2000 -1996
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +124 -113
- 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 +32 -28
- 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 +31 -29
- 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 +30 -26
- package/dist/molecules/form/form.d.cts +1 -1
- package/dist/molecules/form/form.d.ts +1 -1
- package/dist/molecules/index.cjs +289 -236
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +43 -41
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/navigation.cjs +148 -37
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +30 -26
- 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 +30 -26
- 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 +31 -27
- package/dist/molecules/time-select.cjs +147 -36
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +31 -27
- package/dist/utils/index.js +5 -5
- package/package.json +1 -1
- package/src/app/platform/userInfos/coaching-customer-info/large.tsx +15 -2
- package/src/app/platform/userInfos/coaching-customer-info/medium.tsx +17 -2
- package/src/app/platform/userInfos/session-user-info-detail.tsx +8 -2
- package/src/app/platform/userInfos/utils.tsx +24 -14
- package/src/atoms/avatar.tsx +25 -6
- package/src/icon.ts +2 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/phone-ring.tsx +31 -0
package/dist/index.cjs
CHANGED
|
@@ -151,6 +151,7 @@ __export(src_exports, {
|
|
|
151
151
|
Pencil1Icon: () => import_react_icons3.Pencil1Icon,
|
|
152
152
|
Pencil2Icon: () => import_react_icons3.Pencil2Icon,
|
|
153
153
|
PersonIcon: () => import_react_icons3.PersonIcon,
|
|
154
|
+
PhoneRingIcon: () => PhoneRingIcon,
|
|
154
155
|
PlusIcon: () => import_react_icons3.PlusIcon,
|
|
155
156
|
Popover: () => import_themes29.Popover,
|
|
156
157
|
Progress: () => import_themes30.Progress,
|
|
@@ -190,6 +191,8 @@ __export(src_exports, {
|
|
|
190
191
|
ToastContainer: () => ToastContainer,
|
|
191
192
|
Tooltip: () => import_themes48.Tooltip,
|
|
192
193
|
TrashIcon: () => import_react_icons3.TrashIcon,
|
|
194
|
+
TriangleArrowDownIcon: () => TriangleArrowDownIcon,
|
|
195
|
+
TriangleArrowUpIcon: () => TriangleArrowUpIcon,
|
|
193
196
|
Trigger: () => Trigger5,
|
|
194
197
|
Typo: () => Typo,
|
|
195
198
|
UpdateIcon: () => import_react_icons3.UpdateIcon,
|
|
@@ -219,8 +222,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
219
222
|
var Avatar = (0, import_react.forwardRef)(
|
|
220
223
|
(props, ref) => {
|
|
221
224
|
const _a = props, { children, size, variant = "soft" } = _a, rest = __objRest(_a, ["children", "size", "variant"]);
|
|
222
|
-
const
|
|
223
|
-
switch (
|
|
225
|
+
const getOriginalSize = (0, import_react.useCallback)((value) => {
|
|
226
|
+
switch (value) {
|
|
224
227
|
case "small":
|
|
225
228
|
return "1";
|
|
226
229
|
case "medium":
|
|
@@ -230,9 +233,22 @@ var Avatar = (0, import_react.forwardRef)(
|
|
|
230
233
|
case "full":
|
|
231
234
|
return "4";
|
|
232
235
|
default:
|
|
233
|
-
return
|
|
236
|
+
return "3";
|
|
234
237
|
}
|
|
235
|
-
}, [
|
|
238
|
+
}, []);
|
|
239
|
+
const radixSize = (0, import_react.useMemo)(() => {
|
|
240
|
+
if (typeof size === "string") {
|
|
241
|
+
return getOriginalSize(size);
|
|
242
|
+
}
|
|
243
|
+
if (typeof size === "object") {
|
|
244
|
+
const map = {};
|
|
245
|
+
let key;
|
|
246
|
+
for (key in size) {
|
|
247
|
+
map[key] = size[key] && getOriginalSize(size[key]);
|
|
248
|
+
}
|
|
249
|
+
return map;
|
|
250
|
+
}
|
|
251
|
+
}, [getOriginalSize, size]);
|
|
236
252
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes3.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
|
|
237
253
|
}
|
|
238
254
|
);
|
|
@@ -863,8 +879,106 @@ var import_react15 = require("react");
|
|
|
863
879
|
// src/icon.ts
|
|
864
880
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
865
881
|
|
|
866
|
-
// src/
|
|
882
|
+
// src/icons/phone-ring.tsx
|
|
883
|
+
var React5 = __toESM(require("react"), 1);
|
|
867
884
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
885
|
+
var PhoneRingIcon = React5.forwardRef(
|
|
886
|
+
(_a, forwardedRef) => {
|
|
887
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
888
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
889
|
+
"svg",
|
|
890
|
+
__spreadProps(__spreadValues({
|
|
891
|
+
fill: "none",
|
|
892
|
+
height: "16",
|
|
893
|
+
viewBox: "0 0 16 16",
|
|
894
|
+
width: "16",
|
|
895
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
896
|
+
}, props), {
|
|
897
|
+
ref: forwardedRef,
|
|
898
|
+
children: [
|
|
899
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
900
|
+
"path",
|
|
901
|
+
{
|
|
902
|
+
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",
|
|
903
|
+
fill: color
|
|
904
|
+
}
|
|
905
|
+
),
|
|
906
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
907
|
+
"path",
|
|
908
|
+
{
|
|
909
|
+
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",
|
|
910
|
+
stroke: color,
|
|
911
|
+
strokeLinecap: "round",
|
|
912
|
+
strokeWidth: "1.5"
|
|
913
|
+
}
|
|
914
|
+
)
|
|
915
|
+
]
|
|
916
|
+
})
|
|
917
|
+
);
|
|
918
|
+
}
|
|
919
|
+
);
|
|
920
|
+
PhoneRingIcon.displayName = "ArrowUpIcon";
|
|
921
|
+
|
|
922
|
+
// src/icons/up.tsx
|
|
923
|
+
var React6 = __toESM(require("react"), 1);
|
|
924
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
925
|
+
var TriangleArrowUpIcon = React6.forwardRef(
|
|
926
|
+
(_a, forwardedRef) => {
|
|
927
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
929
|
+
"svg",
|
|
930
|
+
__spreadProps(__spreadValues({
|
|
931
|
+
fill: "none",
|
|
932
|
+
height: "7",
|
|
933
|
+
viewBox: "0 0 8 7",
|
|
934
|
+
width: "8",
|
|
935
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
936
|
+
}, props), {
|
|
937
|
+
ref: forwardedRef,
|
|
938
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
939
|
+
"path",
|
|
940
|
+
{
|
|
941
|
+
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",
|
|
942
|
+
fill: color
|
|
943
|
+
}
|
|
944
|
+
)
|
|
945
|
+
})
|
|
946
|
+
);
|
|
947
|
+
}
|
|
948
|
+
);
|
|
949
|
+
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
950
|
+
|
|
951
|
+
// src/icons/down.tsx
|
|
952
|
+
var React7 = __toESM(require("react"), 1);
|
|
953
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
954
|
+
var TriangleArrowDownIcon = React7.forwardRef(
|
|
955
|
+
(_a, forwardedRef) => {
|
|
956
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
957
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
958
|
+
"svg",
|
|
959
|
+
__spreadProps(__spreadValues({
|
|
960
|
+
fill: "none",
|
|
961
|
+
height: "7",
|
|
962
|
+
viewBox: "0 0 8 7",
|
|
963
|
+
width: "8",
|
|
964
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
965
|
+
}, props), {
|
|
966
|
+
ref: forwardedRef,
|
|
967
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
968
|
+
"path",
|
|
969
|
+
{
|
|
970
|
+
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",
|
|
971
|
+
fill: color
|
|
972
|
+
}
|
|
973
|
+
)
|
|
974
|
+
})
|
|
975
|
+
);
|
|
976
|
+
}
|
|
977
|
+
);
|
|
978
|
+
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
979
|
+
|
|
980
|
+
// src/atoms/pagination.tsx
|
|
981
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
868
982
|
function Pagination(props) {
|
|
869
983
|
const { onChange, count = 0, siblingCount = 2 } = props;
|
|
870
984
|
const [page, setPage] = (0, import_react15.useState)(() => props.page || props.defaultPage || 1);
|
|
@@ -928,19 +1042,19 @@ function Pagination(props) {
|
|
|
928
1042
|
size: "3",
|
|
929
1043
|
style: { borderRadius: "50%" }
|
|
930
1044
|
};
|
|
931
|
-
return /* @__PURE__ */ (0,
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
1045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes22.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
|
|
1046
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
933
1047
|
import_themes18.IconButton,
|
|
934
1048
|
__spreadProps(__spreadValues({
|
|
935
1049
|
disabled: !doublePrev,
|
|
936
1050
|
onClick: onClickDoublePrev
|
|
937
1051
|
}, moveButtonProps), {
|
|
938
|
-
children: /* @__PURE__ */ (0,
|
|
1052
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_icons3.DoubleArrowLeftIcon, __spreadValues({}, iconSize))
|
|
939
1053
|
})
|
|
940
1054
|
),
|
|
941
|
-
/* @__PURE__ */ (0,
|
|
942
|
-
/* @__PURE__ */ (0,
|
|
943
|
-
return /* @__PURE__ */ (0,
|
|
1055
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_icons3.ChevronLeftIcon, __spreadValues({}, iconSize)) })),
|
|
1056
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes22.Flex, { gap: "1", children: visibleItems.map((item) => {
|
|
1057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
944
1058
|
"button",
|
|
945
1059
|
{
|
|
946
1060
|
className: `page-button ${item === page ? "active" : ""}`,
|
|
@@ -948,39 +1062,39 @@ function Pagination(props) {
|
|
|
948
1062
|
setPage(item);
|
|
949
1063
|
},
|
|
950
1064
|
type: "button",
|
|
951
|
-
children: /* @__PURE__ */ (0,
|
|
1065
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { variant: "body", children: item })
|
|
952
1066
|
},
|
|
953
1067
|
item
|
|
954
1068
|
);
|
|
955
1069
|
}) }),
|
|
956
|
-
/* @__PURE__ */ (0,
|
|
957
|
-
/* @__PURE__ */ (0,
|
|
1070
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_icons3.ChevronRightIcon, __spreadValues({}, iconSize)) })),
|
|
1071
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
958
1072
|
import_themes18.IconButton,
|
|
959
1073
|
__spreadProps(__spreadValues({
|
|
960
1074
|
disabled: !doubleNext,
|
|
961
1075
|
onClick: onClickDoubleNext
|
|
962
1076
|
}, moveButtonProps), {
|
|
963
|
-
children: /* @__PURE__ */ (0,
|
|
1077
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_icons3.DoubleArrowRightIcon, __spreadValues({}, iconSize))
|
|
964
1078
|
})
|
|
965
1079
|
)
|
|
966
1080
|
] });
|
|
967
1081
|
}
|
|
968
1082
|
|
|
969
1083
|
// src/atoms/field-error-wrapper.tsx
|
|
970
|
-
var
|
|
1084
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
971
1085
|
function FieldErrorWrapper({
|
|
972
1086
|
children,
|
|
973
1087
|
error
|
|
974
1088
|
}) {
|
|
975
|
-
return /* @__PURE__ */ (0,
|
|
1089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes22.Flex, { direction: "column", gap: "1", children: [
|
|
976
1090
|
children,
|
|
977
|
-
error ? /* @__PURE__ */ (0,
|
|
1091
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Typo, { color: "red", variant: "caption", children: error }) : null
|
|
978
1092
|
] });
|
|
979
1093
|
}
|
|
980
1094
|
|
|
981
1095
|
// src/atoms/ellipsis-tooltip.tsx
|
|
982
1096
|
var import_react16 = require("react");
|
|
983
|
-
var
|
|
1097
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
984
1098
|
function EllipsisTooltip(props) {
|
|
985
1099
|
const _a = props, { children, style, lineClamp = 2 } = _a, rest = __objRest(_a, ["children", "style", "lineClamp"]);
|
|
986
1100
|
const ref = (0, import_react16.useRef)(null);
|
|
@@ -1002,7 +1116,7 @@ function EllipsisTooltip(props) {
|
|
|
1002
1116
|
ref.current.addEventListener("mouseleave", mouseOut);
|
|
1003
1117
|
}
|
|
1004
1118
|
}, [children]);
|
|
1005
|
-
return /* @__PURE__ */ (0,
|
|
1119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_themes48.Tooltip, { content: children, style: { display: tooltipDisplay }, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1006
1120
|
Typo,
|
|
1007
1121
|
__spreadProps(__spreadValues({}, rest), {
|
|
1008
1122
|
ref,
|
|
@@ -1026,12 +1140,12 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
1026
1140
|
var import_themes50 = require("@radix-ui/themes");
|
|
1027
1141
|
|
|
1028
1142
|
// src/icons/close-panel-arrow.tsx
|
|
1029
|
-
var
|
|
1030
|
-
var
|
|
1031
|
-
var ClosePanelArrowIcon =
|
|
1143
|
+
var React10 = __toESM(require("react"), 1);
|
|
1144
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1145
|
+
var ClosePanelArrowIcon = React10.forwardRef(
|
|
1032
1146
|
(_a, forwardedRef) => {
|
|
1033
1147
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1034
|
-
return /* @__PURE__ */ (0,
|
|
1148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
1035
1149
|
"svg",
|
|
1036
1150
|
__spreadProps(__spreadValues({
|
|
1037
1151
|
fill: "none",
|
|
@@ -1042,7 +1156,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
1042
1156
|
}, props), {
|
|
1043
1157
|
ref: forwardedRef,
|
|
1044
1158
|
children: [
|
|
1045
|
-
/* @__PURE__ */ (0,
|
|
1159
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1046
1160
|
"path",
|
|
1047
1161
|
{
|
|
1048
1162
|
clipRule: "evenodd",
|
|
@@ -1051,7 +1165,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
1051
1165
|
fillRule: "evenodd"
|
|
1052
1166
|
}
|
|
1053
1167
|
),
|
|
1054
|
-
/* @__PURE__ */ (0,
|
|
1168
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1055
1169
|
"path",
|
|
1056
1170
|
{
|
|
1057
1171
|
clipRule: "evenodd",
|
|
@@ -1068,9 +1182,9 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
1068
1182
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
1069
1183
|
|
|
1070
1184
|
// src/atoms/drawer.tsx
|
|
1071
|
-
var
|
|
1185
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1072
1186
|
function Root6(props) {
|
|
1073
|
-
return /* @__PURE__ */ (0,
|
|
1187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog2.Root, __spreadValues({}, props));
|
|
1074
1188
|
}
|
|
1075
1189
|
var preventDefault2 = (e) => {
|
|
1076
1190
|
e.preventDefault();
|
|
@@ -1084,16 +1198,16 @@ function Content6(props) {
|
|
|
1084
1198
|
const mobileHeaderSize = 48;
|
|
1085
1199
|
const desktopHeaderSize = 64;
|
|
1086
1200
|
const separatorSize = 1;
|
|
1087
|
-
return /* @__PURE__ */ (0,
|
|
1088
|
-
/* @__PURE__ */ (0,
|
|
1089
|
-
/* @__PURE__ */ (0,
|
|
1090
|
-
/* @__PURE__ */ (0,
|
|
1201
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog2.Portal, { container: containerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes50.Theme, { children: [
|
|
1202
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ToastContainer, {}),
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1091
1205
|
Dialog2.Content,
|
|
1092
1206
|
__spreadProps(__spreadValues({
|
|
1093
1207
|
className: `DrawerContent ${position} ${className || ""}`,
|
|
1094
1208
|
onPointerDownOutside: preventDefault2
|
|
1095
1209
|
}, rest), {
|
|
1096
|
-
children: /* @__PURE__ */ (0,
|
|
1210
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1097
1211
|
import_themes50.Grid,
|
|
1098
1212
|
{
|
|
1099
1213
|
height: "100%",
|
|
@@ -1103,8 +1217,8 @@ function Content6(props) {
|
|
|
1103
1217
|
sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`
|
|
1104
1218
|
},
|
|
1105
1219
|
children: [
|
|
1106
|
-
/* @__PURE__ */ (0,
|
|
1107
|
-
/* @__PURE__ */ (0,
|
|
1220
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes22.Flex, { align: "center", px: { initial: "4", md: "6" }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes18.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ClosePanelArrowIcon, {}) }) }) }),
|
|
1221
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes39.Separator, { orientation: "horizontal", size: "4" }),
|
|
1108
1222
|
children
|
|
1109
1223
|
]
|
|
1110
1224
|
}
|
|
@@ -1114,7 +1228,7 @@ function Content6(props) {
|
|
|
1114
1228
|
] }) });
|
|
1115
1229
|
}
|
|
1116
1230
|
function Trigger5(props) {
|
|
1117
|
-
return /* @__PURE__ */ (0,
|
|
1231
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
|
|
1118
1232
|
}
|
|
1119
1233
|
var Drawer = {
|
|
1120
1234
|
Root: Dialog2.Root,
|
|
@@ -1128,11 +1242,11 @@ var Drawer = {
|
|
|
1128
1242
|
// src/molecules/form/form.tsx
|
|
1129
1243
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
1130
1244
|
var import_react18 = require("react");
|
|
1131
|
-
var
|
|
1245
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1132
1246
|
var Root8 = (0, import_react18.forwardRef)(
|
|
1133
1247
|
(_a, ref) => {
|
|
1134
1248
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1135
|
-
return /* @__PURE__ */ (0,
|
|
1249
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1136
1250
|
RadixForm.Root,
|
|
1137
1251
|
__spreadProps(__spreadValues({}, rest), {
|
|
1138
1252
|
className: `FormRoot ${className || ""}`,
|
|
@@ -1149,22 +1263,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
1149
1263
|
var Field2 = (0, import_react18.forwardRef)(
|
|
1150
1264
|
(_a, ref) => {
|
|
1151
1265
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1152
|
-
return /* @__PURE__ */ (0,
|
|
1266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1153
1267
|
RadixForm.Field,
|
|
1154
1268
|
__spreadProps(__spreadValues({}, rest), {
|
|
1155
1269
|
className: `FormField ${className || ""}`,
|
|
1156
1270
|
ref,
|
|
1157
|
-
children: /* @__PURE__ */ (0,
|
|
1271
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(FieldContext.Provider, { value: rest, children })
|
|
1158
1272
|
})
|
|
1159
1273
|
);
|
|
1160
1274
|
}
|
|
1161
1275
|
);
|
|
1162
1276
|
Field2.displayName = "FORM_FIELD";
|
|
1163
1277
|
function HeadingLabel(props) {
|
|
1164
|
-
return /* @__PURE__ */ (0,
|
|
1278
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
1165
1279
|
}
|
|
1166
1280
|
function CaptionLabel(props) {
|
|
1167
|
-
return /* @__PURE__ */ (0,
|
|
1281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
1168
1282
|
}
|
|
1169
1283
|
var Label2 = (0, import_react18.forwardRef)(
|
|
1170
1284
|
(_a, ref) => {
|
|
@@ -1181,15 +1295,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
1181
1295
|
}
|
|
1182
1296
|
}, [variant]);
|
|
1183
1297
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
1184
|
-
return /* @__PURE__ */ (0,
|
|
1298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1185
1299
|
RadixForm.Label,
|
|
1186
1300
|
__spreadProps(__spreadValues({}, rest), {
|
|
1187
1301
|
asChild: true,
|
|
1188
1302
|
className: `FormLabel ${className || ""}`,
|
|
1189
1303
|
ref,
|
|
1190
|
-
children: /* @__PURE__ */ (0,
|
|
1304
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Comp, { children: [
|
|
1191
1305
|
children,
|
|
1192
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
1306
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
1193
1307
|
] })
|
|
1194
1308
|
})
|
|
1195
1309
|
);
|
|
@@ -1199,13 +1313,13 @@ Label2.displayName = "FORM_Label";
|
|
|
1199
1313
|
var Message2 = (0, import_react18.forwardRef)(
|
|
1200
1314
|
(_a, ref) => {
|
|
1201
1315
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
1202
|
-
return /* @__PURE__ */ (0,
|
|
1316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1203
1317
|
RadixForm.Message,
|
|
1204
1318
|
__spreadProps(__spreadValues({}, rest), {
|
|
1205
1319
|
asChild: true,
|
|
1206
1320
|
className: `FormMessage ${className || ""}`,
|
|
1207
1321
|
ref,
|
|
1208
|
-
children: /* @__PURE__ */ (0,
|
|
1322
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "red", children })
|
|
1209
1323
|
})
|
|
1210
1324
|
);
|
|
1211
1325
|
}
|
|
@@ -1215,7 +1329,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
1215
1329
|
(_a, ref) => {
|
|
1216
1330
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
1217
1331
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
1218
|
-
return /* @__PURE__ */ (0,
|
|
1332
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1219
1333
|
RadixForm.Control,
|
|
1220
1334
|
__spreadProps(__spreadValues({}, rest), {
|
|
1221
1335
|
className: `FormControl ${className || ""}`,
|
|
@@ -1238,10 +1352,10 @@ function FormItem(_a) {
|
|
|
1238
1352
|
"children",
|
|
1239
1353
|
"errorMessage"
|
|
1240
1354
|
]);
|
|
1241
|
-
return /* @__PURE__ */ (0,
|
|
1242
|
-
/* @__PURE__ */ (0,
|
|
1355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
1243
1357
|
children,
|
|
1244
|
-
/* @__PURE__ */ (0,
|
|
1358
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
1245
1359
|
] }));
|
|
1246
1360
|
}
|
|
1247
1361
|
var Form = {
|
|
@@ -1256,7 +1370,7 @@ var Form = {
|
|
|
1256
1370
|
|
|
1257
1371
|
// src/atoms/auto-sizing-input.tsx
|
|
1258
1372
|
var import_react19 = require("react");
|
|
1259
|
-
var
|
|
1373
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1260
1374
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
1261
1375
|
(_a, ref) => {
|
|
1262
1376
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -1279,25 +1393,25 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1279
1393
|
(0, import_react19.useEffect)(() => {
|
|
1280
1394
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
1281
1395
|
}, [value, onChangeValue]);
|
|
1282
|
-
return /* @__PURE__ */ (0,
|
|
1283
|
-
/* @__PURE__ */ (0,
|
|
1284
|
-
/* @__PURE__ */ (0,
|
|
1396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1397
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1398
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
1285
1399
|
] });
|
|
1286
1400
|
}
|
|
1287
1401
|
);
|
|
1288
1402
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
1289
1403
|
|
|
1290
1404
|
// src/atoms/bullet-text.tsx
|
|
1291
|
-
var
|
|
1405
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1292
1406
|
function BulletText(_a) {
|
|
1293
1407
|
var _b = _a, {
|
|
1294
1408
|
children
|
|
1295
1409
|
} = _b, rest = __objRest(_b, [
|
|
1296
1410
|
"children"
|
|
1297
1411
|
]);
|
|
1298
|
-
return /* @__PURE__ */ (0,
|
|
1299
|
-
/* @__PURE__ */ (0,
|
|
1300
|
-
/* @__PURE__ */ (0,
|
|
1412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1413
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1414
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
1301
1415
|
] });
|
|
1302
1416
|
}
|
|
1303
1417
|
|
|
@@ -1305,68 +1419,10 @@ function BulletText(_a) {
|
|
|
1305
1419
|
var import_react_table2 = require("@tanstack/react-table");
|
|
1306
1420
|
var import_react21 = require("react");
|
|
1307
1421
|
|
|
1308
|
-
// src/icons/down.tsx
|
|
1309
|
-
var React10 = __toESM(require("react"), 1);
|
|
1310
|
-
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1311
|
-
var TriangleArrowDownIcon = React10.forwardRef(
|
|
1312
|
-
(_a, forwardedRef) => {
|
|
1313
|
-
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1314
|
-
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1315
|
-
"svg",
|
|
1316
|
-
__spreadProps(__spreadValues({
|
|
1317
|
-
fill: "none",
|
|
1318
|
-
height: "7",
|
|
1319
|
-
viewBox: "0 0 8 7",
|
|
1320
|
-
width: "8",
|
|
1321
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1322
|
-
}, props), {
|
|
1323
|
-
ref: forwardedRef,
|
|
1324
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1325
|
-
"path",
|
|
1326
|
-
{
|
|
1327
|
-
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",
|
|
1328
|
-
fill: color
|
|
1329
|
-
}
|
|
1330
|
-
)
|
|
1331
|
-
})
|
|
1332
|
-
);
|
|
1333
|
-
}
|
|
1334
|
-
);
|
|
1335
|
-
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
1336
|
-
|
|
1337
|
-
// src/icons/up.tsx
|
|
1338
|
-
var React11 = __toESM(require("react"), 1);
|
|
1339
|
-
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1340
|
-
var TriangleArrowUpIcon = React11.forwardRef(
|
|
1341
|
-
(_a, forwardedRef) => {
|
|
1342
|
-
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1343
|
-
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1344
|
-
"svg",
|
|
1345
|
-
__spreadProps(__spreadValues({
|
|
1346
|
-
fill: "none",
|
|
1347
|
-
height: "7",
|
|
1348
|
-
viewBox: "0 0 8 7",
|
|
1349
|
-
width: "8",
|
|
1350
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1351
|
-
}, props), {
|
|
1352
|
-
ref: forwardedRef,
|
|
1353
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1354
|
-
"path",
|
|
1355
|
-
{
|
|
1356
|
-
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",
|
|
1357
|
-
fill: color
|
|
1358
|
-
}
|
|
1359
|
-
)
|
|
1360
|
-
})
|
|
1361
|
-
);
|
|
1362
|
-
}
|
|
1363
|
-
);
|
|
1364
|
-
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
1365
|
-
|
|
1366
1422
|
// src/molecules/expand-table/row.tsx
|
|
1367
1423
|
var import_react_table = require("@tanstack/react-table");
|
|
1368
1424
|
var import_react20 = require("react");
|
|
1369
|
-
var
|
|
1425
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1370
1426
|
function Row(props) {
|
|
1371
1427
|
const { row, ExpandComp, gridTemplateColumns, getRowStyle, getCellStyle } = props;
|
|
1372
1428
|
const [open, setOpen] = (0, import_react20.useState)(false);
|
|
@@ -1385,8 +1441,8 @@ function Row(props) {
|
|
|
1385
1441
|
}
|
|
1386
1442
|
return baseCls.join(" ");
|
|
1387
1443
|
}, [ExpandComp, props.onRowClick]);
|
|
1388
|
-
return /* @__PURE__ */ (0,
|
|
1389
|
-
/* @__PURE__ */ (0,
|
|
1444
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: rowClassName, children: [
|
|
1445
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1390
1446
|
"button",
|
|
1391
1447
|
{
|
|
1392
1448
|
className: "tr",
|
|
@@ -1399,7 +1455,7 @@ function Row(props) {
|
|
|
1399
1455
|
var _a, _b, _c;
|
|
1400
1456
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
1401
1457
|
const justifyContent = ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) || props.defaultAlign;
|
|
1402
|
-
return /* @__PURE__ */ (0,
|
|
1458
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1403
1459
|
"div",
|
|
1404
1460
|
{
|
|
1405
1461
|
className: "td",
|
|
@@ -1410,7 +1466,7 @@ function Row(props) {
|
|
|
1410
1466
|
}, (getCellStyle == null ? void 0 : getCellStyle(row.original)) || {}),
|
|
1411
1467
|
children: [
|
|
1412
1468
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
1413
|
-
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0,
|
|
1469
|
+
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1414
1470
|
cell.column.columnDef.meta.OpenBtn,
|
|
1415
1471
|
{
|
|
1416
1472
|
data: row.original,
|
|
@@ -1426,12 +1482,12 @@ function Row(props) {
|
|
|
1426
1482
|
},
|
|
1427
1483
|
`tr_${row.id}`
|
|
1428
1484
|
),
|
|
1429
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
1485
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ExpandComp, { row }) }) }) : null
|
|
1430
1486
|
] }, `tr-wrapper_${row.id}`);
|
|
1431
1487
|
}
|
|
1432
1488
|
|
|
1433
1489
|
// src/molecules/expand-table/index.tsx
|
|
1434
|
-
var
|
|
1490
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1435
1491
|
function ExpandTable(props) {
|
|
1436
1492
|
const {
|
|
1437
1493
|
data,
|
|
@@ -1485,7 +1541,7 @@ function ExpandTable(props) {
|
|
|
1485
1541
|
const helpCompRender = (0, import_react21.useCallback)(
|
|
1486
1542
|
(rowLength) => {
|
|
1487
1543
|
if (isLoading) {
|
|
1488
|
-
return /* @__PURE__ */ (0,
|
|
1544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1489
1545
|
import_themes22.Flex,
|
|
1490
1546
|
{
|
|
1491
1547
|
align: "center",
|
|
@@ -1493,12 +1549,12 @@ function ExpandTable(props) {
|
|
|
1493
1549
|
justify: "center",
|
|
1494
1550
|
p: "5",
|
|
1495
1551
|
width: "100%",
|
|
1496
|
-
children: /* @__PURE__ */ (0,
|
|
1552
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes49.Spinner, {})
|
|
1497
1553
|
}
|
|
1498
1554
|
);
|
|
1499
1555
|
}
|
|
1500
1556
|
if (rowLength === 0) {
|
|
1501
|
-
return /* @__PURE__ */ (0,
|
|
1557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes22.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder");
|
|
1502
1558
|
}
|
|
1503
1559
|
return null;
|
|
1504
1560
|
},
|
|
@@ -1509,8 +1565,8 @@ function ExpandTable(props) {
|
|
|
1509
1565
|
return 0;
|
|
1510
1566
|
return Math.ceil(data.length / pageSize);
|
|
1511
1567
|
}, [data, pageSize]);
|
|
1512
|
-
return /* @__PURE__ */ (0,
|
|
1513
|
-
/* @__PURE__ */ (0,
|
|
1568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
|
|
1569
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1514
1570
|
"div",
|
|
1515
1571
|
{
|
|
1516
1572
|
className: "tr",
|
|
@@ -1520,30 +1576,30 @@ function ExpandTable(props) {
|
|
|
1520
1576
|
const sortable = header.column.getCanSort();
|
|
1521
1577
|
const sortedState = header.column.getIsSorted();
|
|
1522
1578
|
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
1523
|
-
return /* @__PURE__ */ (0,
|
|
1579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1524
1580
|
"button",
|
|
1525
1581
|
{
|
|
1526
1582
|
onClick: header.column.getToggleSortingHandler(),
|
|
1527
1583
|
style: sortable ? { cursor: "pointer" } : { cursor: "default" },
|
|
1528
1584
|
type: "button",
|
|
1529
1585
|
children: [
|
|
1530
|
-
/* @__PURE__ */ (0,
|
|
1586
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
1531
1587
|
header.column.columnDef.header,
|
|
1532
1588
|
header.getContext()
|
|
1533
1589
|
) }),
|
|
1534
|
-
sortable ? /* @__PURE__ */ (0,
|
|
1590
|
+
sortable ? /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1535
1591
|
import_themes22.Flex,
|
|
1536
1592
|
{
|
|
1537
1593
|
direction: "column",
|
|
1538
1594
|
style: { marginLeft: "var(--space-2)" },
|
|
1539
1595
|
children: [
|
|
1540
|
-
/* @__PURE__ */ (0,
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1541
1597
|
TriangleArrowUpIcon,
|
|
1542
1598
|
{
|
|
1543
1599
|
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
1544
1600
|
}
|
|
1545
1601
|
),
|
|
1546
|
-
/* @__PURE__ */ (0,
|
|
1602
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1547
1603
|
TriangleArrowDownIcon,
|
|
1548
1604
|
{
|
|
1549
1605
|
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
@@ -1559,8 +1615,8 @@ function ExpandTable(props) {
|
|
|
1559
1615
|
},
|
|
1560
1616
|
headerGroup.id
|
|
1561
1617
|
)) }),
|
|
1562
|
-
/* @__PURE__ */ (0,
|
|
1563
|
-
return /* @__PURE__ */ (0,
|
|
1618
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
1619
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1564
1620
|
Row,
|
|
1565
1621
|
{
|
|
1566
1622
|
ExpandComp,
|
|
@@ -1574,7 +1630,7 @@ function ExpandTable(props) {
|
|
|
1574
1630
|
`row_${row.id}`
|
|
1575
1631
|
);
|
|
1576
1632
|
}) }),
|
|
1577
|
-
showPagination ? /* @__PURE__ */ (0,
|
|
1633
|
+
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1578
1634
|
Pagination,
|
|
1579
1635
|
{
|
|
1580
1636
|
count: pageCount,
|
|
@@ -1587,14 +1643,14 @@ function ExpandTable(props) {
|
|
|
1587
1643
|
}
|
|
1588
1644
|
|
|
1589
1645
|
// src/molecules/navigation.tsx
|
|
1590
|
-
var
|
|
1646
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1591
1647
|
function Navigation({
|
|
1592
1648
|
items,
|
|
1593
1649
|
fontColor,
|
|
1594
1650
|
backgroundColor,
|
|
1595
1651
|
activeKey
|
|
1596
1652
|
}) {
|
|
1597
|
-
return /* @__PURE__ */ (0,
|
|
1653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1598
1654
|
import_themes22.Flex,
|
|
1599
1655
|
{
|
|
1600
1656
|
direction: "column",
|
|
@@ -1606,13 +1662,13 @@ function Navigation({
|
|
|
1606
1662
|
},
|
|
1607
1663
|
children: items == null ? void 0 : items.map((item) => {
|
|
1608
1664
|
const { key, title, icon, itemRender, onClick, children } = item;
|
|
1609
|
-
return /* @__PURE__ */ (0,
|
|
1610
|
-
itemRender ? itemRender(item) : /* @__PURE__ */ (0,
|
|
1665
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { direction: "column", onClick, children: [
|
|
1666
|
+
itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
|
|
1611
1667
|
icon,
|
|
1612
|
-
/* @__PURE__ */ (0,
|
|
1668
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { variant: "subtitle", children: title })
|
|
1613
1669
|
] }),
|
|
1614
1670
|
children == null ? void 0 : children.map((menu) => {
|
|
1615
|
-
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0,
|
|
1671
|
+
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1616
1672
|
Button,
|
|
1617
1673
|
{
|
|
1618
1674
|
className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
|
|
@@ -1640,7 +1696,7 @@ var import_react22 = require("react");
|
|
|
1640
1696
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
1641
1697
|
var import_react_datepicker = require("react-datepicker");
|
|
1642
1698
|
var import_locale = require("date-fns/locale");
|
|
1643
|
-
var
|
|
1699
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1644
1700
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
1645
1701
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
1646
1702
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
@@ -1648,7 +1704,7 @@ var DatePicker = (0, import_react22.forwardRef)(
|
|
|
1648
1704
|
(props, ref) => {
|
|
1649
1705
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1650
1706
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1651
|
-
return /* @__PURE__ */ (0,
|
|
1707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1652
1708
|
ReactDatePicker,
|
|
1653
1709
|
__spreadProps(__spreadValues({
|
|
1654
1710
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1679,35 +1735,35 @@ var renderCustomHeader = (props) => {
|
|
|
1679
1735
|
} = props;
|
|
1680
1736
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1681
1737
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1682
|
-
return /* @__PURE__ */ (0,
|
|
1683
|
-
/* @__PURE__ */ (0,
|
|
1738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1739
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1684
1740
|
import_themes18.IconButton,
|
|
1685
1741
|
{
|
|
1686
1742
|
disabled: prevMonthButtonDisabled,
|
|
1687
1743
|
onClick: decreaseMonth,
|
|
1688
1744
|
type: "button",
|
|
1689
1745
|
variant: "ghost",
|
|
1690
|
-
children: /* @__PURE__ */ (0,
|
|
1746
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1691
1747
|
}
|
|
1692
1748
|
),
|
|
1693
|
-
/* @__PURE__ */ (0,
|
|
1694
|
-
/* @__PURE__ */ (0,
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1695
1751
|
year,
|
|
1696
1752
|
"\uB144"
|
|
1697
1753
|
] }),
|
|
1698
|
-
/* @__PURE__ */ (0,
|
|
1754
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1699
1755
|
month,
|
|
1700
1756
|
"\uC6D4"
|
|
1701
1757
|
] })
|
|
1702
1758
|
] }),
|
|
1703
|
-
/* @__PURE__ */ (0,
|
|
1759
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1704
1760
|
import_themes18.IconButton,
|
|
1705
1761
|
{
|
|
1706
1762
|
disabled: nextMonthButtonDisabled,
|
|
1707
1763
|
onClick: increaseMonth,
|
|
1708
1764
|
type: "button",
|
|
1709
1765
|
variant: "ghost",
|
|
1710
|
-
children: /* @__PURE__ */ (0,
|
|
1766
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react_icons3.ChevronRightIcon, {})
|
|
1711
1767
|
}
|
|
1712
1768
|
)
|
|
1713
1769
|
] });
|
|
@@ -1716,7 +1772,7 @@ var renderCustomHeader = (props) => {
|
|
|
1716
1772
|
// src/molecules/dot-navigation.tsx
|
|
1717
1773
|
var import_react23 = require("react");
|
|
1718
1774
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
1719
|
-
var
|
|
1775
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1720
1776
|
function DotNavigation(props) {
|
|
1721
1777
|
const { dotCount, onClick, dotIndex, defaultDotIndex, onChangeDotIndex } = props;
|
|
1722
1778
|
const [currentDot, setCurrentDot] = (0, import_react23.useState)(
|
|
@@ -1743,9 +1799,9 @@ function DotNavigation(props) {
|
|
|
1743
1799
|
return;
|
|
1744
1800
|
setCurrentDot(dotIndex);
|
|
1745
1801
|
}, [dotIndex]);
|
|
1746
|
-
return /* @__PURE__ */ (0,
|
|
1802
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes22.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
|
|
1747
1803
|
const isSelected = currentDot === index;
|
|
1748
|
-
return /* @__PURE__ */ (0,
|
|
1804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1749
1805
|
import_react_icons4.DotFilledIcon,
|
|
1750
1806
|
{
|
|
1751
1807
|
height: "24px",
|
|
@@ -1766,7 +1822,7 @@ function DotNavigation(props) {
|
|
|
1766
1822
|
// src/molecules/stepper.tsx
|
|
1767
1823
|
var import_react24 = require("react");
|
|
1768
1824
|
var import_themes51 = require("@radix-ui/themes");
|
|
1769
|
-
var
|
|
1825
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1770
1826
|
var StepContext = (0, import_react24.createContext)({
|
|
1771
1827
|
active: false,
|
|
1772
1828
|
completed: false,
|
|
@@ -1781,7 +1837,7 @@ function Root9(props) {
|
|
|
1781
1837
|
maxWidth,
|
|
1782
1838
|
direction = "vertical"
|
|
1783
1839
|
} = props;
|
|
1784
|
-
return /* @__PURE__ */ (0,
|
|
1840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1785
1841
|
import_themes22.Flex,
|
|
1786
1842
|
{
|
|
1787
1843
|
gap: "3",
|
|
@@ -1791,7 +1847,7 @@ function Root9(props) {
|
|
|
1791
1847
|
maxWidth
|
|
1792
1848
|
},
|
|
1793
1849
|
children: import_react24.Children.map(children, (child, index) => {
|
|
1794
|
-
return /* @__PURE__ */ (0,
|
|
1850
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1795
1851
|
StepContext.Provider,
|
|
1796
1852
|
{
|
|
1797
1853
|
value: {
|
|
@@ -1815,7 +1871,7 @@ function Step(props) {
|
|
|
1815
1871
|
index,
|
|
1816
1872
|
direction = "vertical"
|
|
1817
1873
|
} = (0, import_react24.useContext)(StepContext);
|
|
1818
|
-
const connector = index > 0 ? /* @__PURE__ */ (0,
|
|
1874
|
+
const connector = index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1819
1875
|
import_themes51.Separator,
|
|
1820
1876
|
{
|
|
1821
1877
|
style: {
|
|
@@ -1835,7 +1891,7 @@ function Step(props) {
|
|
|
1835
1891
|
}
|
|
1836
1892
|
return IncompleteStep;
|
|
1837
1893
|
}, [completed, active]);
|
|
1838
|
-
return /* @__PURE__ */ (0,
|
|
1894
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1839
1895
|
import_themes22.Flex,
|
|
1840
1896
|
{
|
|
1841
1897
|
align: "center",
|
|
@@ -1845,7 +1901,7 @@ function Step(props) {
|
|
|
1845
1901
|
style: { flex: 1 },
|
|
1846
1902
|
children: [
|
|
1847
1903
|
connector,
|
|
1848
|
-
/* @__PURE__ */ (0,
|
|
1904
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InnerStep, { Icon, children })
|
|
1849
1905
|
]
|
|
1850
1906
|
}
|
|
1851
1907
|
);
|
|
@@ -1856,11 +1912,11 @@ function CompleteStep(props) {
|
|
|
1856
1912
|
const background = "var(--accent-a4)";
|
|
1857
1913
|
const border = "1px solid var(--accent-7)";
|
|
1858
1914
|
const color = "var(--accent-contrast)";
|
|
1859
|
-
return /* @__PURE__ */ (0,
|
|
1860
|
-
Icon ? /* @__PURE__ */ (0,
|
|
1915
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
1916
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1861
1917
|
Avatar,
|
|
1862
1918
|
{
|
|
1863
|
-
fallback: /* @__PURE__ */ (0,
|
|
1919
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.CheckIcon, { fill: color, height: 16, width: 16 }),
|
|
1864
1920
|
radius: "full",
|
|
1865
1921
|
size: "medium",
|
|
1866
1922
|
style: {
|
|
@@ -1869,7 +1925,7 @@ function CompleteStep(props) {
|
|
|
1869
1925
|
}
|
|
1870
1926
|
}
|
|
1871
1927
|
),
|
|
1872
|
-
/* @__PURE__ */ (0,
|
|
1928
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { align: "center", variant: "caption", children })
|
|
1873
1929
|
] });
|
|
1874
1930
|
}
|
|
1875
1931
|
function IncompleteStep(props) {
|
|
@@ -1877,11 +1933,11 @@ function IncompleteStep(props) {
|
|
|
1877
1933
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
1878
1934
|
const background = "var(--gray-5)";
|
|
1879
1935
|
const color = "var(--gray-a11)";
|
|
1880
|
-
return /* @__PURE__ */ (0,
|
|
1881
|
-
Icon ? /* @__PURE__ */ (0,
|
|
1936
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
1937
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1882
1938
|
Avatar,
|
|
1883
1939
|
{
|
|
1884
|
-
fallback: /* @__PURE__ */ (0,
|
|
1940
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { style: { color }, children: index + 1 }),
|
|
1885
1941
|
radius: "full",
|
|
1886
1942
|
size: "medium",
|
|
1887
1943
|
style: {
|
|
@@ -1889,7 +1945,7 @@ function IncompleteStep(props) {
|
|
|
1889
1945
|
}
|
|
1890
1946
|
}
|
|
1891
1947
|
),
|
|
1892
|
-
/* @__PURE__ */ (0,
|
|
1948
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { align: "center", style: { color }, variant: "caption", children })
|
|
1893
1949
|
] });
|
|
1894
1950
|
}
|
|
1895
1951
|
function ActiveStep(props) {
|
|
@@ -1897,17 +1953,17 @@ function ActiveStep(props) {
|
|
|
1897
1953
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
1898
1954
|
const background = "var(--accent-10)";
|
|
1899
1955
|
const color = "var(--accent-contrast)";
|
|
1900
|
-
return /* @__PURE__ */ (0,
|
|
1901
|
-
Icon ? /* @__PURE__ */ (0,
|
|
1956
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
1957
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1902
1958
|
Avatar,
|
|
1903
1959
|
{
|
|
1904
|
-
fallback: /* @__PURE__ */ (0,
|
|
1960
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { style: { color }, weight: "bold", children: index + 1 }),
|
|
1905
1961
|
radius: "full",
|
|
1906
1962
|
size: "medium",
|
|
1907
1963
|
style: { background }
|
|
1908
1964
|
}
|
|
1909
1965
|
),
|
|
1910
|
-
/* @__PURE__ */ (0,
|
|
1966
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { align: "center", variant: "caption", weight: "bold", children })
|
|
1911
1967
|
] });
|
|
1912
1968
|
}
|
|
1913
1969
|
var Stepper = {
|
|
@@ -1918,7 +1974,7 @@ var Stepper = {
|
|
|
1918
1974
|
// src/molecules/tag-selector.tsx
|
|
1919
1975
|
var import_react25 = require("react");
|
|
1920
1976
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1921
|
-
var
|
|
1977
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1922
1978
|
var OPTION_HEIGHT = 32;
|
|
1923
1979
|
var DefaultDropdownContainer = (props) => {
|
|
1924
1980
|
return props.children;
|
|
@@ -2103,11 +2159,11 @@ function TagSelector(props) {
|
|
|
2103
2159
|
const focusClassName = focus ? " focused" : "";
|
|
2104
2160
|
const readOnlyClassName = readOnly ? " read-only" : "";
|
|
2105
2161
|
const errorClassName = error ? " error" : "";
|
|
2106
|
-
const readonlyContent = /* @__PURE__ */ (0,
|
|
2107
|
-
return tagRender ? tagRender(item) : /* @__PURE__ */ (0,
|
|
2162
|
+
const readonlyContent = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes22.Flex, { gap: "1", children: selectedItem.map((item) => {
|
|
2163
|
+
return tagRender ? tagRender(item) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Badge, { size: badgeSize, children: item.name }, item.id);
|
|
2108
2164
|
}) });
|
|
2109
|
-
const editContent = /* @__PURE__ */ (0,
|
|
2110
|
-
/* @__PURE__ */ (0,
|
|
2165
|
+
const editContent = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
|
|
2166
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
2111
2167
|
import_themes22.Flex,
|
|
2112
2168
|
{
|
|
2113
2169
|
align: "center",
|
|
@@ -2117,22 +2173,22 @@ function TagSelector(props) {
|
|
|
2117
2173
|
wrap: "wrap",
|
|
2118
2174
|
children: [
|
|
2119
2175
|
selectedItem.map((item) => {
|
|
2120
|
-
return tagRender ? tagRender(item) : /* @__PURE__ */ (0,
|
|
2176
|
+
return tagRender ? tagRender(item) : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Badge, { size: badgeSize, children: [
|
|
2121
2177
|
item.name,
|
|
2122
|
-
/* @__PURE__ */ (0,
|
|
2178
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2123
2179
|
Button,
|
|
2124
2180
|
{
|
|
2125
2181
|
onClick: () => {
|
|
2126
2182
|
onDelete(item.id);
|
|
2127
2183
|
},
|
|
2128
2184
|
variant: "transparent",
|
|
2129
|
-
children: /* @__PURE__ */ (0,
|
|
2185
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_icons5.Cross1Icon, {})
|
|
2130
2186
|
}
|
|
2131
2187
|
)
|
|
2132
2188
|
] }, item.id);
|
|
2133
2189
|
}),
|
|
2134
|
-
placeholderVisible ? /* @__PURE__ */ (0,
|
|
2135
|
-
/* @__PURE__ */ (0,
|
|
2190
|
+
placeholderVisible ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { color: "gray", variant: placeholderVariant, children: placeholder }) : null,
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2136
2192
|
AutoSizingInput,
|
|
2137
2193
|
{
|
|
2138
2194
|
onBlur,
|
|
@@ -2146,10 +2202,10 @@ function TagSelector(props) {
|
|
|
2146
2202
|
]
|
|
2147
2203
|
}
|
|
2148
2204
|
),
|
|
2149
|
-
focus ? /* @__PURE__ */ (0,
|
|
2205
|
+
focus ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_icons5.MagnifyingGlassIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_icons5.ChevronRightIcon, {})
|
|
2150
2206
|
] });
|
|
2151
|
-
return /* @__PURE__ */ (0,
|
|
2152
|
-
/* @__PURE__ */ (0,
|
|
2207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes29.Popover.Root, { open: Boolean(filteredOptions.length) && open, children: [
|
|
2208
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes29.Popover.Trigger, { style: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2153
2209
|
import_themes23.Grid,
|
|
2154
2210
|
{
|
|
2155
2211
|
align: "center",
|
|
@@ -2163,30 +2219,30 @@ function TagSelector(props) {
|
|
|
2163
2219
|
children: readOnly ? readonlyContent : editContent
|
|
2164
2220
|
}
|
|
2165
2221
|
) }),
|
|
2166
|
-
/* @__PURE__ */ (0,
|
|
2222
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2167
2223
|
import_themes29.Popover.Content,
|
|
2168
2224
|
{
|
|
2169
2225
|
onOpenAutoFocus: (e) => {
|
|
2170
2226
|
e.preventDefault();
|
|
2171
2227
|
},
|
|
2172
|
-
children: /* @__PURE__ */ (0,
|
|
2228
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2173
2229
|
DropdownContainer,
|
|
2174
2230
|
{
|
|
2175
2231
|
currentItem: filteredOptions[focusIndex || 0],
|
|
2176
2232
|
items: filteredOptions,
|
|
2177
|
-
children: /* @__PURE__ */ (0,
|
|
2233
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2178
2234
|
import_themes35.ScrollArea,
|
|
2179
2235
|
{
|
|
2180
2236
|
ref: scrollRef,
|
|
2181
2237
|
scrollbars: "vertical",
|
|
2182
2238
|
style: { height: OPTION_HEIGHT * 8 },
|
|
2183
2239
|
type: "auto",
|
|
2184
|
-
children: /* @__PURE__ */ (0,
|
|
2240
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes22.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
|
|
2185
2241
|
const isSelected = Boolean(
|
|
2186
2242
|
selected.find((el) => el === item.id)
|
|
2187
2243
|
);
|
|
2188
2244
|
const isFocus = i === focusIndex;
|
|
2189
|
-
return /* @__PURE__ */ (0,
|
|
2245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2190
2246
|
Button,
|
|
2191
2247
|
{
|
|
2192
2248
|
className: `tag-selector-button ${isFocus ? "focus" : ""}`,
|
|
@@ -2206,9 +2262,9 @@ function TagSelector(props) {
|
|
|
2206
2262
|
boxShadow: "none"
|
|
2207
2263
|
},
|
|
2208
2264
|
variant: isSelected ? "soft" : "outline",
|
|
2209
|
-
children: /* @__PURE__ */ (0,
|
|
2265
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { justify: "between", width: "100%", children: [
|
|
2210
2266
|
item.name,
|
|
2211
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
2267
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_icons3.CheckIcon, {}) : null
|
|
2212
2268
|
] })
|
|
2213
2269
|
},
|
|
2214
2270
|
item.id
|
|
@@ -2225,13 +2281,13 @@ function TagSelector(props) {
|
|
|
2225
2281
|
|
|
2226
2282
|
// src/theme/theme-provider.tsx
|
|
2227
2283
|
var import_themes52 = require("@radix-ui/themes");
|
|
2228
|
-
var
|
|
2284
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
2229
2285
|
function ThemeProvider(props) {
|
|
2230
|
-
return /* @__PURE__ */ (0,
|
|
2286
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes52.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
|
|
2231
2287
|
}
|
|
2232
2288
|
|
|
2233
2289
|
// src/molecules/learning-post.tsx
|
|
2234
|
-
var
|
|
2290
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
2235
2291
|
function LearningPost(props) {
|
|
2236
2292
|
const {
|
|
2237
2293
|
defaultThemeProps,
|
|
@@ -2243,13 +2299,13 @@ function LearningPost(props) {
|
|
|
2243
2299
|
onPageBack,
|
|
2244
2300
|
children
|
|
2245
2301
|
} = props;
|
|
2246
|
-
return /* @__PURE__ */ (0,
|
|
2302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2247
2303
|
ThemeProvider,
|
|
2248
2304
|
__spreadProps(__spreadValues({}, defaultThemeProps), {
|
|
2249
2305
|
accentColor: "iris",
|
|
2250
2306
|
scaling: "110%",
|
|
2251
2307
|
style: {},
|
|
2252
|
-
children: html ? /* @__PURE__ */ (0,
|
|
2308
|
+
children: html ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2253
2309
|
import_themes23.Grid,
|
|
2254
2310
|
{
|
|
2255
2311
|
columns: { initial: "1", md: "130px 1fr 130px" },
|
|
@@ -2261,8 +2317,8 @@ function LearningPost(props) {
|
|
|
2261
2317
|
px: "4",
|
|
2262
2318
|
width: "100%",
|
|
2263
2319
|
children: [
|
|
2264
|
-
/* @__PURE__ */ (0,
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2320
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {}),
|
|
2321
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2266
2322
|
import_themes22.Flex,
|
|
2267
2323
|
{
|
|
2268
2324
|
align: "center",
|
|
@@ -2272,15 +2328,15 @@ function LearningPost(props) {
|
|
|
2272
2328
|
overflow: "hidden",
|
|
2273
2329
|
width: "100%",
|
|
2274
2330
|
children: [
|
|
2275
|
-
/* @__PURE__ */ (0,
|
|
2276
|
-
/* @__PURE__ */ (0,
|
|
2331
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes23.Grid, { align: "start", columns: { initial: "1", sm: "2" }, gap: "2", children: [
|
|
2332
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2277
2333
|
import_themes23.Grid,
|
|
2278
2334
|
{
|
|
2279
2335
|
gap: "3",
|
|
2280
2336
|
mb: { initial: "4", sm: "0" },
|
|
2281
2337
|
style: { alignSelf: "flex-start" },
|
|
2282
2338
|
children: [
|
|
2283
|
-
/* @__PURE__ */ (0,
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2284
2340
|
Heading2,
|
|
2285
2341
|
{
|
|
2286
2342
|
style: {
|
|
@@ -2292,17 +2348,17 @@ function LearningPost(props) {
|
|
|
2292
2348
|
children: title
|
|
2293
2349
|
}
|
|
2294
2350
|
),
|
|
2295
|
-
/* @__PURE__ */ (0,
|
|
2296
|
-
/* @__PURE__ */ (0,
|
|
2351
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Typo, { children: metaDescription }),
|
|
2352
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes22.Flex, { gap: "1", wrap: "wrap", children: tags == null ? void 0 : tags.map((el) => {
|
|
2297
2353
|
var _a;
|
|
2298
2354
|
if ((_a = el.name) == null ? void 0 : _a.startsWith("filter"))
|
|
2299
2355
|
return;
|
|
2300
|
-
return /* @__PURE__ */ (0,
|
|
2356
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Badge, { size: "large", variant: "solid", children: el.name }, el.id);
|
|
2301
2357
|
}) })
|
|
2302
2358
|
]
|
|
2303
2359
|
}
|
|
2304
2360
|
),
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2361
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2306
2362
|
import_themes2.AspectRatio,
|
|
2307
2363
|
{
|
|
2308
2364
|
ratio: 5 / 3,
|
|
@@ -2315,7 +2371,7 @@ function LearningPost(props) {
|
|
|
2315
2371
|
}
|
|
2316
2372
|
)
|
|
2317
2373
|
] }),
|
|
2318
|
-
/* @__PURE__ */ (0,
|
|
2374
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes6.Box, { mt: "5", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2319
2375
|
"div",
|
|
2320
2376
|
{
|
|
2321
2377
|
className: "gh-content",
|
|
@@ -2328,7 +2384,7 @@ function LearningPost(props) {
|
|
|
2328
2384
|
children
|
|
2329
2385
|
]
|
|
2330
2386
|
}
|
|
2331
|
-
) : /* @__PURE__ */ (0,
|
|
2387
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2332
2388
|
import_themes22.Flex,
|
|
2333
2389
|
{
|
|
2334
2390
|
align: "center",
|
|
@@ -2338,8 +2394,8 @@ function LearningPost(props) {
|
|
|
2338
2394
|
justify: "center",
|
|
2339
2395
|
width: "100%",
|
|
2340
2396
|
children: [
|
|
2341
|
-
/* @__PURE__ */ (0,
|
|
2342
|
-
/* @__PURE__ */ (0,
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Heading2, { variant: "heading1", children: "\uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }),
|
|
2398
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2343
2399
|
Heading2,
|
|
2344
2400
|
{
|
|
2345
2401
|
align: "center",
|
|
@@ -2350,7 +2406,7 @@ function LearningPost(props) {
|
|
|
2350
2406
|
\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
|
|
2351
2407
|
}
|
|
2352
2408
|
),
|
|
2353
|
-
/* @__PURE__ */ (0,
|
|
2409
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
|
|
2354
2410
|
]
|
|
2355
2411
|
}
|
|
2356
2412
|
)
|
|
@@ -2360,9 +2416,9 @@ function LearningPost(props) {
|
|
|
2360
2416
|
|
|
2361
2417
|
// src/molecules/force-refresh.tsx
|
|
2362
2418
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
2363
|
-
var
|
|
2419
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
2364
2420
|
function CodeSize3(props) {
|
|
2365
|
-
return /* @__PURE__ */ (0,
|
|
2421
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
2366
2422
|
import_themes13.Code,
|
|
2367
2423
|
{
|
|
2368
2424
|
style: {
|
|
@@ -2375,51 +2431,51 @@ function CodeSize3(props) {
|
|
|
2375
2431
|
);
|
|
2376
2432
|
}
|
|
2377
2433
|
function ForceRefresh() {
|
|
2378
|
-
return /* @__PURE__ */ (0,
|
|
2379
|
-
/* @__PURE__ */ (0,
|
|
2434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2435
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Typo, { children: [
|
|
2380
2436
|
"1. \uD06C\uB86C \uBE0C\uB77C\uC6B0\uC800 \uC624\uB978\uCABD \uC0C1\uB2E8\uC758",
|
|
2381
2437
|
" ",
|
|
2382
|
-
/* @__PURE__ */ (0,
|
|
2383
|
-
/* @__PURE__ */ (0,
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(CodeSize3, { children: [
|
|
2439
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons6.DotsVerticalIcon, { height: "13px" }),
|
|
2384
2440
|
"\uB354\uBCF4\uAE30"
|
|
2385
2441
|
] }),
|
|
2386
2442
|
"\uC544\uC774\uCF58\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2387
2443
|
] }),
|
|
2388
|
-
/* @__PURE__ */ (0,
|
|
2444
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Typo, { children: [
|
|
2389
2445
|
"2. ",
|
|
2390
|
-
/* @__PURE__ */ (0,
|
|
2446
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CodeSize3, { children: "\uB3C4\uAD6C \uB354\uBCF4\uAE30" }),
|
|
2391
2447
|
" ",
|
|
2392
2448
|
">",
|
|
2393
2449
|
" ",
|
|
2394
|
-
/* @__PURE__ */ (0,
|
|
2450
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CodeSize3, { children: "\uAC1C\uBC1C\uC790 \uB3C4\uAD6C" }),
|
|
2395
2451
|
" \uBA54\uB274\uB97C \uC120\uD0DD\uD569\uB2C8\uB2E4. (\uB610\uB294 \uC544\uB798\uC758 \uB2E8\uCD95\uD0A4\uB97C \uC0AC\uC6A9 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.)"
|
|
2396
2452
|
] }),
|
|
2397
|
-
/* @__PURE__ */ (0,
|
|
2398
|
-
/* @__PURE__ */ (0,
|
|
2453
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", p: "0", pl: "3", children: [
|
|
2454
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Typo, { children: [
|
|
2399
2455
|
"a. \uC708\uB3C4\uC6B0 \uB2E8\uCD95\uD0A4: ",
|
|
2400
|
-
/* @__PURE__ */ (0,
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes26.Kbd, { children: "F12" })
|
|
2401
2457
|
] }),
|
|
2402
|
-
/* @__PURE__ */ (0,
|
|
2458
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Typo, { children: [
|
|
2403
2459
|
"b. \uB9E5 \uB2E8\uCD95\uD0A4: ",
|
|
2404
|
-
/* @__PURE__ */ (0,
|
|
2460
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes26.Kbd, { children: "Option" }),
|
|
2405
2461
|
" + ",
|
|
2406
|
-
/* @__PURE__ */ (0,
|
|
2462
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes26.Kbd, { children: "Command" }),
|
|
2407
2463
|
" + ",
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes26.Kbd, { children: "I" })
|
|
2409
2465
|
] })
|
|
2410
2466
|
] }),
|
|
2411
|
-
/* @__PURE__ */ (0,
|
|
2467
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Typo, { children: [
|
|
2412
2468
|
"3. \uAC1C\uBC1C\uC790 \uB3C4\uAD6C\uAC00 \uC5F4\uB9AC\uBA74, \uBE0C\uB77C\uC6B0\uC800 \uC0C1\uB2E8\uC5D0 \uC788\uB294",
|
|
2413
2469
|
" ",
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(CodeSize3, { children: [
|
|
2471
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons6.ReloadIcon, { style: { paddingRight: "5px" } }),
|
|
2416
2472
|
"\uC0C8\uB85C\uACE0\uCE68 \uBC84\uD2BC"
|
|
2417
2473
|
] }),
|
|
2418
2474
|
"\uC744 \uC6B0\uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2419
2475
|
] }),
|
|
2420
|
-
/* @__PURE__ */ (0,
|
|
2476
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Typo, { children: [
|
|
2421
2477
|
"4. \uC0C8\uB85C\uACE0\uCE68 \uBA54\uB274\uC5D0\uC11C ",
|
|
2422
|
-
/* @__PURE__ */ (0,
|
|
2478
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CodeSize3, { children: "\uCE90\uC2DC \uBE44\uC6B0\uAE30 \uBC0F \uAC15\uB825 \uC0C8\uB85C\uACE0\uCE68" }),
|
|
2423
2479
|
"\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2424
2480
|
] })
|
|
2425
2481
|
] });
|
|
@@ -2429,7 +2485,7 @@ function ForceRefresh() {
|
|
|
2429
2485
|
var import_react26 = require("react");
|
|
2430
2486
|
var import_date_fns = require("date-fns");
|
|
2431
2487
|
var import_clsx = require("clsx");
|
|
2432
|
-
var
|
|
2488
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
2433
2489
|
function DatePickerButton(props) {
|
|
2434
2490
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
2435
2491
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
@@ -2448,12 +2504,12 @@ function DatePickerButton(props) {
|
|
|
2448
2504
|
(disabled || props.readOnly) && "disabled"
|
|
2449
2505
|
);
|
|
2450
2506
|
}, [disabled, props.readOnly]);
|
|
2451
|
-
return /* @__PURE__ */ (0,
|
|
2507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2452
2508
|
DatePicker,
|
|
2453
2509
|
__spreadProps(__spreadValues({
|
|
2454
|
-
customInput: /* @__PURE__ */ (0,
|
|
2510
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
2455
2511
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
2456
|
-
/* @__PURE__ */ (0,
|
|
2512
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons3.CalendarIcon, {})
|
|
2457
2513
|
] }) })),
|
|
2458
2514
|
wrapperClassName: "full-width"
|
|
2459
2515
|
}, rest), {
|
|
@@ -2536,7 +2592,7 @@ var getTimeOption = (time) => {
|
|
|
2536
2592
|
};
|
|
2537
2593
|
|
|
2538
2594
|
// src/molecules/time-select.tsx
|
|
2539
|
-
var
|
|
2595
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
2540
2596
|
var getOptionValue = (date, timeValue) => {
|
|
2541
2597
|
if (date && timeValue) {
|
|
2542
2598
|
if ((0, import_date_fns2.format)(date, "yyyyMMdd") === (0, import_date_fns2.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -2562,21 +2618,21 @@ function TimeSelect(_a) {
|
|
|
2562
2618
|
const [minOption, maxOption] = (0, import_react27.useMemo)(() => {
|
|
2563
2619
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
2564
2620
|
}, [maxTime, minTime, time]);
|
|
2565
|
-
return /* @__PURE__ */ (0,
|
|
2566
|
-
/* @__PURE__ */ (0,
|
|
2567
|
-
/* @__PURE__ */ (0,
|
|
2621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
2622
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
2623
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
2568
2624
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
2569
2625
|
if (!visible) {
|
|
2570
2626
|
return null;
|
|
2571
2627
|
}
|
|
2572
|
-
return /* @__PURE__ */ (0,
|
|
2628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Select.Item, { value: option, children: option }, option);
|
|
2573
2629
|
}) })
|
|
2574
2630
|
] }));
|
|
2575
2631
|
}
|
|
2576
2632
|
|
|
2577
2633
|
// src/molecules/radio-button-card.tsx
|
|
2578
2634
|
var import_react28 = require("react");
|
|
2579
|
-
var
|
|
2635
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
2580
2636
|
var RadioCardContext = (0, import_react28.createContext)({});
|
|
2581
2637
|
function Root10(props) {
|
|
2582
2638
|
const [value, setValue] = (0, import_react28.useState)(props.value || props.defaultValue);
|
|
@@ -2588,7 +2644,7 @@ function Root10(props) {
|
|
|
2588
2644
|
},
|
|
2589
2645
|
[props]
|
|
2590
2646
|
);
|
|
2591
|
-
return /* @__PURE__ */ (0,
|
|
2647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
2592
2648
|
}
|
|
2593
2649
|
function Item(_a) {
|
|
2594
2650
|
var _b = _a, {
|
|
@@ -2605,9 +2661,9 @@ function Item(_a) {
|
|
|
2605
2661
|
"justify",
|
|
2606
2662
|
"RadioWrapper"
|
|
2607
2663
|
]);
|
|
2608
|
-
return /* @__PURE__ */ (0,
|
|
2664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
2609
2665
|
children,
|
|
2610
|
-
/* @__PURE__ */ (0,
|
|
2666
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2611
2667
|
import_themes32.Radio,
|
|
2612
2668
|
{
|
|
2613
2669
|
checked: itemRest.value === value,
|
|
@@ -2624,24 +2680,24 @@ var RadioButtonCard = {
|
|
|
2624
2680
|
|
|
2625
2681
|
// src/molecules/download-card.tsx
|
|
2626
2682
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
2627
|
-
var
|
|
2683
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2628
2684
|
function DownloadCard({
|
|
2629
2685
|
fileName,
|
|
2630
2686
|
url,
|
|
2631
2687
|
createdAt,
|
|
2632
2688
|
size
|
|
2633
2689
|
}) {
|
|
2634
|
-
return /* @__PURE__ */ (0,
|
|
2690
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Link, { download: fileName, href: url, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2635
2691
|
import_themes18.IconButton,
|
|
2636
2692
|
{
|
|
2637
2693
|
mt: "3",
|
|
2638
2694
|
size: "4",
|
|
2639
2695
|
style: { width: "100%", height: 56 },
|
|
2640
2696
|
variant: "soft",
|
|
2641
|
-
children: /* @__PURE__ */ (0,
|
|
2642
|
-
/* @__PURE__ */ (0,
|
|
2643
|
-
/* @__PURE__ */ (0,
|
|
2644
|
-
/* @__PURE__ */ (0,
|
|
2697
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { align: "center", gap: "3", pl: "4", width: "100%", children: [
|
|
2698
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Typo, { color: "gray", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_icons7.DownloadIcon, { height: 20, width: 20 }) }),
|
|
2699
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { align: "start", direction: "column", gap: "1", children: [
|
|
2700
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2645
2701
|
Typo,
|
|
2646
2702
|
{
|
|
2647
2703
|
style: {
|
|
@@ -2651,7 +2707,7 @@ function DownloadCard({
|
|
|
2651
2707
|
children: fileName
|
|
2652
2708
|
}
|
|
2653
2709
|
),
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
2710
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Typo, { color: "gray", variant: "caption", children: size })
|
|
2655
2711
|
] })
|
|
2656
2712
|
] })
|
|
2657
2713
|
}
|
|
@@ -2665,22 +2721,22 @@ var import_themes53 = require("@radix-ui/themes");
|
|
|
2665
2721
|
var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
2666
2722
|
|
|
2667
2723
|
// src/charts/horizontal-bar-chart.tsx
|
|
2668
|
-
var
|
|
2724
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2669
2725
|
function HorizontalBarChart(props) {
|
|
2670
2726
|
const { total, value, backgroundColor, barColor, height } = props;
|
|
2671
|
-
return /* @__PURE__ */ (0,
|
|
2727
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2672
2728
|
"div",
|
|
2673
2729
|
{
|
|
2674
2730
|
className: "tipp_horizontal-bar-chart bar-wrapper",
|
|
2675
2731
|
style: { height, backgroundColor },
|
|
2676
|
-
children: /* @__PURE__ */ (0,
|
|
2732
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2677
2733
|
"div",
|
|
2678
2734
|
{
|
|
2679
2735
|
style: {
|
|
2680
2736
|
width: `${Math.round(value / total * 100)}%`,
|
|
2681
2737
|
height: "100%"
|
|
2682
2738
|
},
|
|
2683
|
-
children: /* @__PURE__ */ (0,
|
|
2739
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "bar", style: { backgroundColor: barColor } })
|
|
2684
2740
|
}
|
|
2685
2741
|
)
|
|
2686
2742
|
}
|
|
@@ -2836,23 +2892,23 @@ var EchartDefaultProps = {
|
|
|
2836
2892
|
};
|
|
2837
2893
|
|
|
2838
2894
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
2839
|
-
var
|
|
2895
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2840
2896
|
function CoachingCustomerInfoSmall({
|
|
2841
2897
|
customer,
|
|
2842
2898
|
children,
|
|
2843
2899
|
badge
|
|
2844
2900
|
}) {
|
|
2845
|
-
return /* @__PURE__ */ (0,
|
|
2901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
2846
2902
|
import_themes22.Flex,
|
|
2847
2903
|
{
|
|
2848
2904
|
direction: { initial: "column", xs: "row" },
|
|
2849
2905
|
gap: "3",
|
|
2850
2906
|
justify: "between",
|
|
2851
2907
|
children: [
|
|
2852
|
-
/* @__PURE__ */ (0,
|
|
2853
|
-
/* @__PURE__ */ (0,
|
|
2854
|
-
/* @__PURE__ */ (0,
|
|
2855
|
-
/* @__PURE__ */ (0,
|
|
2908
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
2909
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2910
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
2911
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
2856
2912
|
] }) }),
|
|
2857
2913
|
children
|
|
2858
2914
|
]
|
|
@@ -2863,7 +2919,7 @@ function CoachingCustomerInfoSmall({
|
|
|
2863
2919
|
// src/app/platform/userInfos/utils.tsx
|
|
2864
2920
|
var import_date_fns3 = require("date-fns");
|
|
2865
2921
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
2866
|
-
var
|
|
2922
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2867
2923
|
var infoList = [
|
|
2868
2924
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
2869
2925
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -2916,100 +2972,126 @@ var sessionList = [
|
|
|
2916
2972
|
getValue: (session) => (session == null ? void 0 : session.expiredAt) ? (0, import_date_fns3.format)(session.expiredAt, "yyyy\uB144 MM\uC6D4 dd\uC77C") : "-"
|
|
2917
2973
|
}
|
|
2918
2974
|
];
|
|
2919
|
-
var renderItem = (
|
|
2975
|
+
var renderItem = (args) => {
|
|
2976
|
+
const { info, data, onClickCopy } = args;
|
|
2920
2977
|
const value = info.getValue(data);
|
|
2921
|
-
return /* @__PURE__ */ (0,
|
|
2978
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
2922
2979
|
info.render ? info.render(value) : value || "-",
|
|
2923
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
2980
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
2924
2981
|
] });
|
|
2925
2982
|
};
|
|
2926
|
-
var renderDataListItem = (
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
/* @__PURE__ */ (0,
|
|
2983
|
+
var renderDataListItem = (args) => {
|
|
2984
|
+
const { info, data, onClickCopy } = args;
|
|
2985
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2986
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
2987
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
2930
2988
|
] }, info.label);
|
|
2931
2989
|
};
|
|
2932
2990
|
function CopyButton(props) {
|
|
2933
|
-
|
|
2991
|
+
const { value, onClickCopy } = props;
|
|
2992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2934
2993
|
Button,
|
|
2935
2994
|
{
|
|
2936
2995
|
color: "gray",
|
|
2937
2996
|
onClick: () => {
|
|
2938
|
-
|
|
2939
|
-
import_react_toastify2.toast.success("\uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
2997
|
+
onClickCopy(value);
|
|
2940
2998
|
},
|
|
2941
2999
|
style: { marginLeft: "0", marginTop: "0" },
|
|
2942
3000
|
variant: "transparent",
|
|
2943
|
-
children: /* @__PURE__ */ (0,
|
|
3001
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_icons8.CopyIcon, {})
|
|
2944
3002
|
}
|
|
2945
3003
|
);
|
|
2946
3004
|
}
|
|
2947
3005
|
|
|
2948
3006
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
2949
|
-
var
|
|
3007
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2950
3008
|
function CoachingCustomerInfoMedium({
|
|
2951
3009
|
customer,
|
|
2952
3010
|
session,
|
|
2953
3011
|
children,
|
|
2954
|
-
badge
|
|
3012
|
+
badge,
|
|
3013
|
+
onClickCopy
|
|
2955
3014
|
}) {
|
|
2956
|
-
return /* @__PURE__ */ (0,
|
|
2957
|
-
/* @__PURE__ */ (0,
|
|
2958
|
-
/* @__PURE__ */ (0,
|
|
2959
|
-
/* @__PURE__ */ (0,
|
|
3015
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3016
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes6.Box, { children: [
|
|
3017
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
3018
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2960
3019
|
badge
|
|
2961
3020
|
] }),
|
|
2962
|
-
/* @__PURE__ */ (0,
|
|
3021
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
2963
3022
|
] }),
|
|
2964
3023
|
children,
|
|
2965
|
-
/* @__PURE__ */ (0,
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
3024
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
3025
|
+
(el) => renderDataListItem({
|
|
3026
|
+
info: el,
|
|
3027
|
+
data: session,
|
|
3028
|
+
onClickCopy
|
|
3029
|
+
})
|
|
3030
|
+
) }) }),
|
|
3031
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
3032
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
3033
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes39.Separator, { size: "4" })
|
|
2969
3034
|
] }),
|
|
2970
|
-
/* @__PURE__ */ (0,
|
|
2971
|
-
return /* @__PURE__ */ (0,
|
|
3035
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
3036
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typo, { children: renderItem({
|
|
3037
|
+
info: el,
|
|
3038
|
+
data: customer,
|
|
3039
|
+
onClickCopy
|
|
3040
|
+
}) }, el.label);
|
|
2972
3041
|
}) })
|
|
2973
3042
|
] });
|
|
2974
3043
|
}
|
|
2975
3044
|
|
|
2976
3045
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
2977
|
-
var
|
|
3046
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2978
3047
|
function CoachingCustomerInfoLarge({
|
|
2979
3048
|
customer,
|
|
2980
3049
|
session,
|
|
2981
3050
|
children,
|
|
2982
|
-
badge
|
|
3051
|
+
badge,
|
|
3052
|
+
onClickCopy
|
|
2983
3053
|
}) {
|
|
2984
|
-
return /* @__PURE__ */ (0,
|
|
2985
|
-
/* @__PURE__ */ (0,
|
|
2986
|
-
/* @__PURE__ */ (0,
|
|
2987
|
-
/* @__PURE__ */ (0,
|
|
3054
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3055
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes6.Box, { children: [
|
|
3056
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
3057
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
2988
3058
|
badge
|
|
2989
3059
|
] }),
|
|
2990
|
-
/* @__PURE__ */ (0,
|
|
3060
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
2991
3061
|
] }),
|
|
2992
3062
|
children,
|
|
2993
|
-
/* @__PURE__ */ (0,
|
|
2994
|
-
|
|
2995
|
-
|
|
3063
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
3064
|
+
(el) => renderDataListItem({
|
|
3065
|
+
info: el,
|
|
3066
|
+
data: session,
|
|
3067
|
+
onClickCopy
|
|
3068
|
+
})
|
|
3069
|
+
) }) }),
|
|
3070
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes39.Separator, { size: "4" }),
|
|
3071
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
3072
|
+
(info) => renderDataListItem({
|
|
3073
|
+
info,
|
|
3074
|
+
data: customer,
|
|
3075
|
+
onClickCopy
|
|
3076
|
+
})
|
|
3077
|
+
) })
|
|
2996
3078
|
] });
|
|
2997
3079
|
}
|
|
2998
3080
|
|
|
2999
3081
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
3000
|
-
var
|
|
3082
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
3001
3083
|
function CoachingCustomerInfo(props) {
|
|
3002
|
-
return /* @__PURE__ */ (0,
|
|
3003
|
-
/* @__PURE__ */ (0,
|
|
3004
|
-
/* @__PURE__ */ (0,
|
|
3005
|
-
/* @__PURE__ */ (0,
|
|
3084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
3085
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
3086
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
3087
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
3006
3088
|
] });
|
|
3007
3089
|
}
|
|
3008
3090
|
|
|
3009
3091
|
// src/app/platform/goal-manage-card-read.tsx
|
|
3010
3092
|
var import_react29 = require("react");
|
|
3011
3093
|
var import_date_fns4 = require("date-fns");
|
|
3012
|
-
var
|
|
3094
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
3013
3095
|
function GoalManageCardRead(props) {
|
|
3014
3096
|
const {
|
|
3015
3097
|
title,
|
|
@@ -3027,7 +3109,7 @@ function GoalManageCardRead(props) {
|
|
|
3027
3109
|
const onClickOpen = (0, import_react29.useCallback)(() => {
|
|
3028
3110
|
setOpen((p) => !p);
|
|
3029
3111
|
}, []);
|
|
3030
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
3112
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons3.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons3.ChevronDownIcon, {});
|
|
3031
3113
|
const badgeMeta = (0, import_react29.useMemo)(() => {
|
|
3032
3114
|
if (!completed && dueDate) {
|
|
3033
3115
|
if (dueDate >= (0, import_date_fns4.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -3040,40 +3122,40 @@ function GoalManageCardRead(props) {
|
|
|
3040
3122
|
return null;
|
|
3041
3123
|
}, [completed, dueDate]);
|
|
3042
3124
|
const renderSubTitle = (0, import_react29.useCallback)((subTitle) => {
|
|
3043
|
-
return /* @__PURE__ */ (0,
|
|
3125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
3044
3126
|
}, []);
|
|
3045
3127
|
const renderSubContent = (0, import_react29.useCallback)((content) => {
|
|
3046
|
-
return /* @__PURE__ */ (0,
|
|
3128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
3047
3129
|
}, []);
|
|
3048
3130
|
const renderCompleteButton = (0, import_react29.useCallback)(() => {
|
|
3049
3131
|
if (completed) {
|
|
3050
|
-
return /* @__PURE__ */ (0,
|
|
3132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
3051
3133
|
}
|
|
3052
|
-
return /* @__PURE__ */ (0,
|
|
3053
|
-
/* @__PURE__ */ (0,
|
|
3054
|
-
/* @__PURE__ */ (0,
|
|
3134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes29.Popover.Root, { children: [
|
|
3135
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Button, { size: "small", children: [
|
|
3136
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons3.RocketIcon, {}),
|
|
3055
3137
|
"\uB2EC\uC131\uD558\uAE30"
|
|
3056
3138
|
] }) }),
|
|
3057
|
-
/* @__PURE__ */ (0,
|
|
3058
|
-
/* @__PURE__ */ (0,
|
|
3059
|
-
/* @__PURE__ */ (0,
|
|
3060
|
-
/* @__PURE__ */ (0,
|
|
3061
|
-
/* @__PURE__ */ (0,
|
|
3139
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes29.Popover.Content, { children: [
|
|
3140
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
3141
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
3142
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
3143
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
3062
3144
|
] })
|
|
3063
3145
|
] })
|
|
3064
3146
|
] });
|
|
3065
3147
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
3066
|
-
return /* @__PURE__ */ (0,
|
|
3067
|
-
/* @__PURE__ */ (0,
|
|
3068
|
-
/* @__PURE__ */ (0,
|
|
3069
|
-
/* @__PURE__ */ (0,
|
|
3070
|
-
/* @__PURE__ */ (0,
|
|
3071
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
3072
|
-
/* @__PURE__ */ (0,
|
|
3148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
3149
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
3150
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3151
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
3152
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
3153
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
3154
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns4.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
3073
3155
|
] }),
|
|
3074
3156
|
renderCompleteButton()
|
|
3075
3157
|
] }),
|
|
3076
|
-
open ? /* @__PURE__ */ (0,
|
|
3158
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3077
3159
|
import_themes39.Separator,
|
|
3078
3160
|
{
|
|
3079
3161
|
mb: "4",
|
|
@@ -3082,37 +3164,37 @@ function GoalManageCardRead(props) {
|
|
|
3082
3164
|
style: { gridColumnStart: "span 2" }
|
|
3083
3165
|
}
|
|
3084
3166
|
) : null,
|
|
3085
|
-
/* @__PURE__ */ (0,
|
|
3086
|
-
/* @__PURE__ */ (0,
|
|
3087
|
-
/* @__PURE__ */ (0,
|
|
3167
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Collapse, { open, children: [
|
|
3168
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3169
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes6.Box, { children: [
|
|
3088
3170
|
renderSubTitle(
|
|
3089
3171
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
3090
3172
|
),
|
|
3091
3173
|
renderSubContent(expectedEffect)
|
|
3092
3174
|
] }),
|
|
3093
|
-
/* @__PURE__ */ (0,
|
|
3175
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes6.Box, { children: [
|
|
3094
3176
|
renderSubTitle(
|
|
3095
3177
|
"\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"
|
|
3096
3178
|
),
|
|
3097
3179
|
renderSubContent(huddle)
|
|
3098
3180
|
] })
|
|
3099
3181
|
] }),
|
|
3100
|
-
/* @__PURE__ */ (0,
|
|
3101
|
-
/* @__PURE__ */ (0,
|
|
3102
|
-
/* @__PURE__ */ (0,
|
|
3103
|
-
/* @__PURE__ */ (0,
|
|
3182
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
3183
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes29.Popover.Root, { children: [
|
|
3184
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
3185
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons3.TrashIcon, {}),
|
|
3104
3186
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
3105
3187
|
] }) }),
|
|
3106
|
-
/* @__PURE__ */ (0,
|
|
3107
|
-
/* @__PURE__ */ (0,
|
|
3108
|
-
/* @__PURE__ */ (0,
|
|
3109
|
-
/* @__PURE__ */ (0,
|
|
3110
|
-
/* @__PURE__ */ (0,
|
|
3188
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes29.Popover.Content, { children: [
|
|
3189
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
3190
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
3191
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
3192
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
3111
3193
|
] })
|
|
3112
3194
|
] })
|
|
3113
3195
|
] }),
|
|
3114
|
-
/* @__PURE__ */ (0,
|
|
3115
|
-
/* @__PURE__ */ (0,
|
|
3196
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
3197
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_icons3.Pencil1Icon, {}),
|
|
3116
3198
|
"\uC218\uC815\uD558\uAE30"
|
|
3117
3199
|
] })
|
|
3118
3200
|
] })
|
|
@@ -3123,7 +3205,7 @@ function GoalManageCardRead(props) {
|
|
|
3123
3205
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
3124
3206
|
var import_react30 = require("react");
|
|
3125
3207
|
var import_date_fns5 = require("date-fns");
|
|
3126
|
-
var
|
|
3208
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
3127
3209
|
var initialValues = {
|
|
3128
3210
|
goal: "",
|
|
3129
3211
|
effect: "",
|
|
@@ -3152,11 +3234,11 @@ function GoalManageCardEdit(props) {
|
|
|
3152
3234
|
var _a;
|
|
3153
3235
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
3154
3236
|
}, [props, values]);
|
|
3155
|
-
return /* @__PURE__ */ (0,
|
|
3156
|
-
/* @__PURE__ */ (0,
|
|
3157
|
-
/* @__PURE__ */ (0,
|
|
3158
|
-
/* @__PURE__ */ (0,
|
|
3159
|
-
/* @__PURE__ */ (0,
|
|
3237
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
3238
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3239
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "title", children: [
|
|
3240
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
3241
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3160
3242
|
TextField.Root,
|
|
3161
3243
|
{
|
|
3162
3244
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -3167,11 +3249,11 @@ function GoalManageCardEdit(props) {
|
|
|
3167
3249
|
value: values.goal
|
|
3168
3250
|
}
|
|
3169
3251
|
),
|
|
3170
|
-
/* @__PURE__ */ (0,
|
|
3252
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
3171
3253
|
] }),
|
|
3172
|
-
/* @__PURE__ */ (0,
|
|
3173
|
-
/* @__PURE__ */ (0,
|
|
3174
|
-
/* @__PURE__ */ (0,
|
|
3254
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "effect", children: [
|
|
3255
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
3256
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3175
3257
|
TextArea,
|
|
3176
3258
|
{
|
|
3177
3259
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -3183,11 +3265,11 @@ function GoalManageCardEdit(props) {
|
|
|
3183
3265
|
value: values.effect
|
|
3184
3266
|
}
|
|
3185
3267
|
),
|
|
3186
|
-
/* @__PURE__ */ (0,
|
|
3268
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
3187
3269
|
] }),
|
|
3188
|
-
/* @__PURE__ */ (0,
|
|
3189
|
-
/* @__PURE__ */ (0,
|
|
3190
|
-
/* @__PURE__ */ (0,
|
|
3270
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "huddle", children: [
|
|
3271
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
3272
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3191
3273
|
TextArea,
|
|
3192
3274
|
{
|
|
3193
3275
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -3201,11 +3283,11 @@ function GoalManageCardEdit(props) {
|
|
|
3201
3283
|
value: values.huddle
|
|
3202
3284
|
}
|
|
3203
3285
|
),
|
|
3204
|
-
/* @__PURE__ */ (0,
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
3205
3287
|
] }),
|
|
3206
|
-
/* @__PURE__ */ (0,
|
|
3207
|
-
/* @__PURE__ */ (0,
|
|
3208
|
-
/* @__PURE__ */ (0,
|
|
3288
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
3289
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
3290
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3209
3291
|
DatePickerButton,
|
|
3210
3292
|
{
|
|
3211
3293
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -3216,11 +3298,11 @@ function GoalManageCardEdit(props) {
|
|
|
3216
3298
|
selected: values.dueDate
|
|
3217
3299
|
}
|
|
3218
3300
|
),
|
|
3219
|
-
/* @__PURE__ */ (0,
|
|
3301
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
3220
3302
|
] })
|
|
3221
3303
|
] }),
|
|
3222
|
-
/* @__PURE__ */ (0,
|
|
3223
|
-
/* @__PURE__ */ (0,
|
|
3304
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
3305
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3224
3306
|
Button,
|
|
3225
3307
|
{
|
|
3226
3308
|
color: "gray",
|
|
@@ -3231,7 +3313,7 @@ function GoalManageCardEdit(props) {
|
|
|
3231
3313
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
3232
3314
|
}
|
|
3233
3315
|
),
|
|
3234
|
-
/* @__PURE__ */ (0,
|
|
3316
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
3235
3317
|
] })
|
|
3236
3318
|
] }) });
|
|
3237
3319
|
}
|
|
@@ -3242,7 +3324,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
3242
3324
|
|
|
3243
3325
|
// src/app/platform/edit-coaching-time.tsx
|
|
3244
3326
|
var import_react31 = require("react");
|
|
3245
|
-
var
|
|
3327
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
3246
3328
|
var getValueFromDefaultValue = (args) => {
|
|
3247
3329
|
return {
|
|
3248
3330
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -3312,10 +3394,10 @@ function EditCoachingTime(props) {
|
|
|
3312
3394
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
3313
3395
|
}
|
|
3314
3396
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
3315
|
-
return /* @__PURE__ */ (0,
|
|
3316
|
-
/* @__PURE__ */ (0,
|
|
3317
|
-
/* @__PURE__ */ (0,
|
|
3318
|
-
/* @__PURE__ */ (0,
|
|
3397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Form.Root, { children: [
|
|
3398
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Form.Field, { name: "date", children: [
|
|
3399
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
3400
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3319
3401
|
DatePickerButton,
|
|
3320
3402
|
{
|
|
3321
3403
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -3325,7 +3407,7 @@ function EditCoachingTime(props) {
|
|
|
3325
3407
|
}
|
|
3326
3408
|
)
|
|
3327
3409
|
] }),
|
|
3328
|
-
/* @__PURE__ */ (0,
|
|
3410
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
3329
3411
|
import_themes23.Grid,
|
|
3330
3412
|
{
|
|
3331
3413
|
align: "center",
|
|
@@ -3340,10 +3422,10 @@ function EditCoachingTime(props) {
|
|
|
3340
3422
|
mt: "5",
|
|
3341
3423
|
width: "100%",
|
|
3342
3424
|
children: [
|
|
3343
|
-
/* @__PURE__ */ (0,
|
|
3344
|
-
/* @__PURE__ */ (0,
|
|
3345
|
-
/* @__PURE__ */ (0,
|
|
3346
|
-
/* @__PURE__ */ (0,
|
|
3425
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {}),
|
|
3427
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
3428
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3347
3429
|
TimeSelect,
|
|
3348
3430
|
{
|
|
3349
3431
|
onValueChange: onChangeStartTime,
|
|
@@ -3351,8 +3433,8 @@ function EditCoachingTime(props) {
|
|
|
3351
3433
|
value: values.startTime
|
|
3352
3434
|
}
|
|
3353
3435
|
),
|
|
3354
|
-
/* @__PURE__ */ (0,
|
|
3355
|
-
/* @__PURE__ */ (0,
|
|
3436
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes39.Separator, {}) }),
|
|
3437
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3356
3438
|
TimeSelect,
|
|
3357
3439
|
{
|
|
3358
3440
|
onValueChange: onChangeEndTime,
|
|
@@ -3360,13 +3442,13 @@ function EditCoachingTime(props) {
|
|
|
3360
3442
|
value: values.endTime
|
|
3361
3443
|
}
|
|
3362
3444
|
),
|
|
3363
|
-
/* @__PURE__ */ (0,
|
|
3445
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
3364
3446
|
]
|
|
3365
3447
|
}
|
|
3366
3448
|
),
|
|
3367
|
-
/* @__PURE__ */ (0,
|
|
3368
|
-
/* @__PURE__ */ (0,
|
|
3369
|
-
/* @__PURE__ */ (0,
|
|
3449
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
3450
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
3451
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
3370
3452
|
] })
|
|
3371
3453
|
] }) });
|
|
3372
3454
|
}
|
|
@@ -3376,20 +3458,20 @@ var import_react32 = require("react");
|
|
|
3376
3458
|
|
|
3377
3459
|
// src/app/platform/on-offline-radio-card.tsx
|
|
3378
3460
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
3379
|
-
var
|
|
3461
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
3380
3462
|
var SERVICE_TYPE = {
|
|
3381
3463
|
onlineCoaching: "onlineCoaching",
|
|
3382
3464
|
offlineCoaching: "offlineCoaching"
|
|
3383
3465
|
};
|
|
3384
3466
|
var breakpoint = "sm";
|
|
3385
3467
|
function HideSmallBox(props) {
|
|
3386
|
-
return /* @__PURE__ */ (0,
|
|
3468
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
3387
3469
|
}
|
|
3388
3470
|
function OnOfflineRadioCard(props) {
|
|
3389
3471
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
3390
3472
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
3391
3473
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
3392
|
-
return /* @__PURE__ */ (0,
|
|
3474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
3393
3475
|
RadioButtonCard.Root,
|
|
3394
3476
|
__spreadProps(__spreadValues({
|
|
3395
3477
|
RadioWrapper: Wrapper,
|
|
@@ -3398,13 +3480,13 @@ function OnOfflineRadioCard(props) {
|
|
|
3398
3480
|
justify
|
|
3399
3481
|
}, props), {
|
|
3400
3482
|
children: [
|
|
3401
|
-
/* @__PURE__ */ (0,
|
|
3402
|
-
/* @__PURE__ */ (0,
|
|
3403
|
-
/* @__PURE__ */ (0,
|
|
3483
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
3484
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
3485
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
3404
3486
|
] }) }),
|
|
3405
|
-
/* @__PURE__ */ (0,
|
|
3406
|
-
/* @__PURE__ */ (0,
|
|
3407
|
-
/* @__PURE__ */ (0,
|
|
3487
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
3488
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
3489
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
3408
3490
|
] }) })
|
|
3409
3491
|
]
|
|
3410
3492
|
})
|
|
@@ -3412,7 +3494,7 @@ function OnOfflineRadioCard(props) {
|
|
|
3412
3494
|
}
|
|
3413
3495
|
|
|
3414
3496
|
// src/app/platform/edit-service-type.tsx
|
|
3415
|
-
var
|
|
3497
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
3416
3498
|
function EditServiceType(props) {
|
|
3417
3499
|
const { defaultServiceType, onClickCancel } = props;
|
|
3418
3500
|
const [sessionType, setSessionType] = (0, import_react32.useState)(
|
|
@@ -3422,8 +3504,8 @@ function EditServiceType(props) {
|
|
|
3422
3504
|
var _a;
|
|
3423
3505
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
3424
3506
|
}, [props, sessionType]);
|
|
3425
|
-
return /* @__PURE__ */ (0,
|
|
3426
|
-
/* @__PURE__ */ (0,
|
|
3507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes6.Box, { children: [
|
|
3508
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3427
3509
|
Typo,
|
|
3428
3510
|
{
|
|
3429
3511
|
as: "p",
|
|
@@ -3433,16 +3515,16 @@ function EditServiceType(props) {
|
|
|
3433
3515
|
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"
|
|
3434
3516
|
}
|
|
3435
3517
|
),
|
|
3436
|
-
/* @__PURE__ */ (0,
|
|
3437
|
-
/* @__PURE__ */ (0,
|
|
3438
|
-
/* @__PURE__ */ (0,
|
|
3439
|
-
/* @__PURE__ */ (0,
|
|
3518
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
3519
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
3520
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
3521
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
3440
3522
|
] })
|
|
3441
3523
|
] });
|
|
3442
3524
|
}
|
|
3443
3525
|
|
|
3444
3526
|
// src/app/platform/session-card.tsx
|
|
3445
|
-
var
|
|
3527
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
3446
3528
|
var preventDefault3 = (e) => {
|
|
3447
3529
|
e.preventDefault();
|
|
3448
3530
|
};
|
|
@@ -3473,33 +3555,33 @@ function SessionCard(props) {
|
|
|
3473
3555
|
"sessionType"
|
|
3474
3556
|
]);
|
|
3475
3557
|
const renderEditButton = (0, import_react33.useCallback)(() => {
|
|
3476
|
-
return /* @__PURE__ */ (0,
|
|
3558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_icons3.Pencil1Icon, {}) });
|
|
3477
3559
|
}, []);
|
|
3478
3560
|
const sessionTimeStr = (0, import_react33.useMemo)(() => {
|
|
3479
3561
|
if (!startAt || !endAt)
|
|
3480
3562
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
3481
3563
|
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")}`;
|
|
3482
3564
|
}, [startAt, endAt]);
|
|
3483
|
-
return /* @__PURE__ */ (0,
|
|
3484
|
-
/* @__PURE__ */ (0,
|
|
3485
|
-
/* @__PURE__ */ (0,
|
|
3565
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
3566
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
3567
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
3486
3568
|
TitleExtra,
|
|
3487
|
-
error ? /* @__PURE__ */ (0,
|
|
3569
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
3488
3570
|
] }),
|
|
3489
|
-
/* @__PURE__ */ (0,
|
|
3490
|
-
/* @__PURE__ */ (0,
|
|
3491
|
-
/* @__PURE__ */ (0,
|
|
3492
|
-
/* @__PURE__ */ (0,
|
|
3571
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Root, { children: [
|
|
3572
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Item, { children: [
|
|
3573
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
3574
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Value, { children: [
|
|
3493
3575
|
sessionTimeStr,
|
|
3494
|
-
editable ? /* @__PURE__ */ (0,
|
|
3495
|
-
/* @__PURE__ */ (0,
|
|
3496
|
-
/* @__PURE__ */ (0,
|
|
3576
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Dialog.Root, { children: [
|
|
3577
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3578
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3497
3579
|
Dialog.Content,
|
|
3498
3580
|
{
|
|
3499
3581
|
onOpenAutoFocus: preventDefault3,
|
|
3500
3582
|
style: { overflow: "visible" },
|
|
3501
3583
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
3502
|
-
children: /* @__PURE__ */ (0,
|
|
3584
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3503
3585
|
EditCoachingTime,
|
|
3504
3586
|
{
|
|
3505
3587
|
defaultEndAt: endAt,
|
|
@@ -3512,18 +3594,18 @@ function SessionCard(props) {
|
|
|
3512
3594
|
] }) : null
|
|
3513
3595
|
] })
|
|
3514
3596
|
] }),
|
|
3515
|
-
/* @__PURE__ */ (0,
|
|
3516
|
-
/* @__PURE__ */ (0,
|
|
3517
|
-
/* @__PURE__ */ (0,
|
|
3518
|
-
/* @__PURE__ */ (0,
|
|
3597
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
3598
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Item, { children: [
|
|
3599
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
3600
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes15.DataList.Value, { children: [
|
|
3519
3601
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
3520
|
-
editable ? /* @__PURE__ */ (0,
|
|
3521
|
-
/* @__PURE__ */ (0,
|
|
3522
|
-
/* @__PURE__ */ (0,
|
|
3602
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Dialog.Root, { children: [
|
|
3603
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
3604
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3523
3605
|
Dialog.Content,
|
|
3524
3606
|
{
|
|
3525
3607
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
3526
|
-
children: /* @__PURE__ */ (0,
|
|
3608
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
3527
3609
|
EditServiceType,
|
|
3528
3610
|
{
|
|
3529
3611
|
defaultServiceType: sessionType,
|
|
@@ -3535,32 +3617,32 @@ function SessionCard(props) {
|
|
|
3535
3617
|
] }) : null
|
|
3536
3618
|
] })
|
|
3537
3619
|
] }),
|
|
3538
|
-
/* @__PURE__ */ (0,
|
|
3620
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
3539
3621
|
] })
|
|
3540
3622
|
] })
|
|
3541
3623
|
] }) }));
|
|
3542
3624
|
}
|
|
3543
3625
|
|
|
3544
3626
|
// src/app/platform/coach-question-list.tsx
|
|
3545
|
-
var
|
|
3627
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
3546
3628
|
function QuestionItem({ question, answer }) {
|
|
3547
|
-
return /* @__PURE__ */ (0,
|
|
3548
|
-
/* @__PURE__ */ (0,
|
|
3549
|
-
/* @__PURE__ */ (0,
|
|
3629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes6.Box, { children: [
|
|
3630
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
3631
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
3550
3632
|
] }, question);
|
|
3551
3633
|
}
|
|
3552
3634
|
function CoachQuestionList({
|
|
3553
3635
|
questions
|
|
3554
3636
|
}) {
|
|
3555
|
-
return /* @__PURE__ */ (0,
|
|
3556
|
-
return /* @__PURE__ */ (0,
|
|
3637
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
3638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
3557
3639
|
}) });
|
|
3558
3640
|
}
|
|
3559
3641
|
|
|
3560
3642
|
// src/app/platform/reservation-card.tsx
|
|
3561
3643
|
var import_react34 = require("react");
|
|
3562
3644
|
var import_date_fns7 = require("date-fns");
|
|
3563
|
-
var
|
|
3645
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
3564
3646
|
function ReservationCard(props) {
|
|
3565
3647
|
const {
|
|
3566
3648
|
sessionNumber,
|
|
@@ -3594,9 +3676,9 @@ function ReservationCard(props) {
|
|
|
3594
3676
|
}, [defaultTime, defaultType]);
|
|
3595
3677
|
const ActionButtons = (0, import_react34.useMemo)(() => {
|
|
3596
3678
|
if (readonly) {
|
|
3597
|
-
return /* @__PURE__ */ (0,
|
|
3679
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
3598
3680
|
}
|
|
3599
|
-
return /* @__PURE__ */ (0,
|
|
3681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons3.Cross1Icon, {}) });
|
|
3600
3682
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
3601
3683
|
const onChangeDate = (0, import_react34.useCallback)(
|
|
3602
3684
|
(newDate) => {
|
|
@@ -3653,47 +3735,47 @@ function ReservationCard(props) {
|
|
|
3653
3735
|
});
|
|
3654
3736
|
}
|
|
3655
3737
|
}, [editValues, maxTime, readonly]);
|
|
3656
|
-
return /* @__PURE__ */ (0,
|
|
3738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
3657
3739
|
Card,
|
|
3658
3740
|
{
|
|
3659
3741
|
error: Boolean(error),
|
|
3660
3742
|
size: "3",
|
|
3661
3743
|
style: { overflow: "visible", contain: "initial" },
|
|
3662
3744
|
children: [
|
|
3663
|
-
/* @__PURE__ */ (0,
|
|
3664
|
-
/* @__PURE__ */ (0,
|
|
3745
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
3746
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
3665
3747
|
import_themes23.Grid,
|
|
3666
3748
|
{
|
|
3667
3749
|
align: "center",
|
|
3668
3750
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
3669
3751
|
gapY: "2",
|
|
3670
3752
|
children: [
|
|
3671
|
-
/* @__PURE__ */ (0,
|
|
3672
|
-
/* @__PURE__ */ (0,
|
|
3753
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
3754
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Heading2, { variant: "heading4", children: [
|
|
3673
3755
|
customerName || "-",
|
|
3674
3756
|
"\uB2D8 ",
|
|
3675
3757
|
sessionNumber || "-",
|
|
3676
3758
|
"\uD68C\uCC28 \uC138\uC158"
|
|
3677
3759
|
] }),
|
|
3678
|
-
/* @__PURE__ */ (0,
|
|
3760
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
3679
3761
|
] }),
|
|
3680
|
-
error ? /* @__PURE__ */ (0,
|
|
3762
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
3681
3763
|
]
|
|
3682
3764
|
}
|
|
3683
3765
|
),
|
|
3684
|
-
/* @__PURE__ */ (0,
|
|
3766
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
3685
3767
|
] }),
|
|
3686
|
-
/* @__PURE__ */ (0,
|
|
3768
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3687
3769
|
Form.Root,
|
|
3688
3770
|
{
|
|
3689
3771
|
onSubmit: (e) => {
|
|
3690
3772
|
e.preventDefault();
|
|
3691
3773
|
},
|
|
3692
|
-
children: /* @__PURE__ */ (0,
|
|
3693
|
-
/* @__PURE__ */ (0,
|
|
3694
|
-
/* @__PURE__ */ (0,
|
|
3695
|
-
/* @__PURE__ */ (0,
|
|
3696
|
-
/* @__PURE__ */ (0,
|
|
3774
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3775
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Label, { asChild: true, children: [
|
|
3776
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
3777
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
3778
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3697
3779
|
DatePickerButton,
|
|
3698
3780
|
{
|
|
3699
3781
|
disabled: readonly,
|
|
@@ -3705,7 +3787,7 @@ function ReservationCard(props) {
|
|
|
3705
3787
|
size: "large"
|
|
3706
3788
|
}
|
|
3707
3789
|
),
|
|
3708
|
-
/* @__PURE__ */ (0,
|
|
3790
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3709
3791
|
TimeSelect,
|
|
3710
3792
|
{
|
|
3711
3793
|
disabled: readonly,
|
|
@@ -3719,9 +3801,9 @@ function ReservationCard(props) {
|
|
|
3719
3801
|
)
|
|
3720
3802
|
] })
|
|
3721
3803
|
] }) }),
|
|
3722
|
-
/* @__PURE__ */ (0,
|
|
3723
|
-
/* @__PURE__ */ (0,
|
|
3724
|
-
/* @__PURE__ */ (0,
|
|
3804
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Form.Field, { name: "type", children: [
|
|
3805
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
3806
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3725
3807
|
OnOfflineRadioCard,
|
|
3726
3808
|
{
|
|
3727
3809
|
disabled: readonly,
|
|
@@ -3731,8 +3813,8 @@ function ReservationCard(props) {
|
|
|
3731
3813
|
}
|
|
3732
3814
|
) })
|
|
3733
3815
|
] }),
|
|
3734
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
3735
|
-
/* @__PURE__ */ (0,
|
|
3816
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
3817
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3736
3818
|
Button,
|
|
3737
3819
|
{
|
|
3738
3820
|
color: "gray",
|
|
@@ -3742,12 +3824,12 @@ function ReservationCard(props) {
|
|
|
3742
3824
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
3743
3825
|
}
|
|
3744
3826
|
),
|
|
3745
|
-
/* @__PURE__ */ (0,
|
|
3827
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
3746
3828
|
] })
|
|
3747
3829
|
] })
|
|
3748
3830
|
}
|
|
3749
3831
|
) }),
|
|
3750
|
-
readonly ? /* @__PURE__ */ (0,
|
|
3832
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3751
3833
|
import_themes6.Box,
|
|
3752
3834
|
{
|
|
3753
3835
|
mt: "5",
|
|
@@ -3755,14 +3837,14 @@ function ReservationCard(props) {
|
|
|
3755
3837
|
py: "4",
|
|
3756
3838
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
3757
3839
|
width: "100%",
|
|
3758
|
-
children: /* @__PURE__ */ (0,
|
|
3759
|
-
/* @__PURE__ */ (0,
|
|
3840
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
3841
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Typo, { children: [
|
|
3760
3842
|
sessionNumber || "-",
|
|
3761
3843
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
3762
3844
|
] }),
|
|
3763
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
3764
3846
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
3765
|
-
/* @__PURE__ */ (0,
|
|
3847
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_icons3.ArrowRightIcon, {})
|
|
3766
3848
|
] })
|
|
3767
3849
|
] })
|
|
3768
3850
|
}
|
|
@@ -3774,14 +3856,14 @@ function ReservationCard(props) {
|
|
|
3774
3856
|
|
|
3775
3857
|
// src/app/platform/session-review-simple-read.tsx
|
|
3776
3858
|
var import_react35 = require("react");
|
|
3777
|
-
var
|
|
3859
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
3778
3860
|
function SubTitleWrapper({
|
|
3779
3861
|
children,
|
|
3780
3862
|
title
|
|
3781
3863
|
}) {
|
|
3782
|
-
return /* @__PURE__ */ (0,
|
|
3783
|
-
/* @__PURE__ */ (0,
|
|
3784
|
-
/* @__PURE__ */ (0,
|
|
3864
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
3865
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
3866
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { children })
|
|
3785
3867
|
] });
|
|
3786
3868
|
}
|
|
3787
3869
|
function SessionReviewSimpleRead({
|
|
@@ -3806,39 +3888,44 @@ function SessionReviewSimpleRead({
|
|
|
3806
3888
|
color: "error"
|
|
3807
3889
|
};
|
|
3808
3890
|
}, [helpfulness]);
|
|
3809
|
-
return /* @__PURE__ */ (0,
|
|
3810
|
-
/* @__PURE__ */ (0,
|
|
3811
|
-
/* @__PURE__ */ (0,
|
|
3891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
3892
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.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_runtime56.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
3893
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
3812
3894
|
] }) });
|
|
3813
3895
|
}
|
|
3814
3896
|
|
|
3815
3897
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
3816
|
-
var
|
|
3898
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
3817
3899
|
function SectionWrapper({
|
|
3818
3900
|
title,
|
|
3819
3901
|
children
|
|
3820
3902
|
}) {
|
|
3821
|
-
return /* @__PURE__ */ (0,
|
|
3822
|
-
/* @__PURE__ */ (0,
|
|
3823
|
-
/* @__PURE__ */ (0,
|
|
3824
|
-
/* @__PURE__ */ (0,
|
|
3903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes6.Box, { children: [
|
|
3904
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
3905
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
3906
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes39.Separator, { size: "4" })
|
|
3825
3907
|
] }),
|
|
3826
3908
|
children
|
|
3827
3909
|
] });
|
|
3828
3910
|
}
|
|
3829
3911
|
function SessionUserInfoDetail({
|
|
3830
3912
|
customer,
|
|
3831
|
-
session
|
|
3913
|
+
session,
|
|
3914
|
+
onClickCopy
|
|
3832
3915
|
}) {
|
|
3833
|
-
return /* @__PURE__ */ (0,
|
|
3834
|
-
/* @__PURE__ */ (0,
|
|
3835
|
-
|
|
3916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
3917
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
3918
|
+
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
3919
|
+
) }) }),
|
|
3920
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
3921
|
+
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
3922
|
+
) }) })
|
|
3836
3923
|
] });
|
|
3837
3924
|
}
|
|
3838
3925
|
|
|
3839
3926
|
// src/app/platform/report-card.tsx
|
|
3840
3927
|
var import_react36 = require("react");
|
|
3841
|
-
var
|
|
3928
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
3842
3929
|
function ReportCard(props) {
|
|
3843
3930
|
const { title, file, status } = props;
|
|
3844
3931
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
@@ -3854,21 +3941,21 @@ function ReportCard(props) {
|
|
|
3854
3941
|
document.body.removeChild(link);
|
|
3855
3942
|
}, [file]);
|
|
3856
3943
|
if (status) {
|
|
3857
|
-
return /* @__PURE__ */ (0,
|
|
3858
|
-
/* @__PURE__ */ (0,
|
|
3944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
3945
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3859
3946
|
status
|
|
3860
3947
|
] }) });
|
|
3861
3948
|
}
|
|
3862
|
-
return /* @__PURE__ */ (0,
|
|
3949
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3863
3950
|
import_themes22.Flex,
|
|
3864
3951
|
{
|
|
3865
3952
|
direction: { initial: "column", xs: "row" },
|
|
3866
3953
|
gapY: "2",
|
|
3867
3954
|
justify: "between",
|
|
3868
3955
|
children: [
|
|
3869
|
-
/* @__PURE__ */ (0,
|
|
3870
|
-
/* @__PURE__ */ (0,
|
|
3871
|
-
/* @__PURE__ */ (0,
|
|
3956
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
3957
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
3958
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_icons3.DownloadIcon, {}),
|
|
3872
3959
|
file == null ? void 0 : file.buttonName
|
|
3873
3960
|
] }) }, file == null ? void 0 : file.url)
|
|
3874
3961
|
]
|
|
@@ -3969,6 +4056,7 @@ function ReportCard(props) {
|
|
|
3969
4056
|
Pencil1Icon,
|
|
3970
4057
|
Pencil2Icon,
|
|
3971
4058
|
PersonIcon,
|
|
4059
|
+
PhoneRingIcon,
|
|
3972
4060
|
PlusIcon,
|
|
3973
4061
|
Popover,
|
|
3974
4062
|
Progress,
|
|
@@ -4008,6 +4096,8 @@ function ReportCard(props) {
|
|
|
4008
4096
|
ToastContainer,
|
|
4009
4097
|
Tooltip,
|
|
4010
4098
|
TrashIcon,
|
|
4099
|
+
TriangleArrowDownIcon,
|
|
4100
|
+
TriangleArrowUpIcon,
|
|
4011
4101
|
Trigger,
|
|
4012
4102
|
Typo,
|
|
4013
4103
|
UpdateIcon,
|