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