@tipp/ui 1.5.0 → 1.5.1
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 +100 -92
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +26 -26
- package/dist/app/platform/coach-question-list.cjs +7 -7
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +10 -10
- package/dist/app/platform/edit-coaching-time.cjs +18 -18
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +18 -18
- package/dist/app/platform/edit-service-type.cjs +10 -10
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +17 -17
- package/dist/app/platform/goal-manage-card-edit.cjs +14 -14
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +16 -16
- package/dist/app/platform/goal-manage-card-read.cjs +16 -16
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +11 -11
- package/dist/app/platform/on-offline-radio-card.js +15 -15
- package/dist/app/platform/report-card.cjs +7 -7
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +15 -15
- package/dist/app/platform/reservation-card.cjs +28 -28
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +16 -16
- package/dist/app/platform/session-card.cjs +69 -61
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +19 -19
- package/dist/app/platform/session-review-simple-read.cjs +8 -8
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +10 -10
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +17 -17
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +13 -13
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +8 -8
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +11 -11
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +13 -13
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +11 -11
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +11 -11
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +10 -10
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +11 -11
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +11 -11
- package/dist/app/platform/userInfos/utils.js +10 -10
- package/dist/atoms/dialog.cjs +49 -81
- package/dist/atoms/dialog.cjs.map +1 -1
- package/dist/atoms/dialog.d.cts +2 -0
- package/dist/atoms/dialog.d.ts +2 -0
- package/dist/atoms/dialog.js +3 -3
- package/dist/atoms/drawer.js +2 -2
- package/dist/atoms/index.cjs +76 -68
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +19 -19
- package/dist/chunk-2M2IFCSK.js +52 -0
- package/dist/chunk-2M2IFCSK.js.map +1 -0
- package/dist/chunk-2OS7X2DG.js +138 -0
- package/dist/chunk-2OS7X2DG.js.map +1 -0
- package/dist/chunk-36JB7UOF.js +138 -0
- package/dist/chunk-36JB7UOF.js.map +1 -0
- package/dist/chunk-4T4KKREE.js +30 -0
- package/dist/chunk-4T4KKREE.js.map +1 -0
- package/dist/chunk-5327PTNJ.js +138 -0
- package/dist/chunk-5327PTNJ.js.map +1 -0
- package/dist/chunk-547DJCAJ.js +74 -0
- package/dist/chunk-547DJCAJ.js.map +1 -0
- package/dist/chunk-5AAS42YG.js +98 -0
- package/dist/chunk-5AAS42YG.js.map +1 -0
- package/dist/chunk-5E3TLMRW.js +138 -0
- package/dist/chunk-5E3TLMRW.js.map +1 -0
- package/dist/chunk-5FP6SWXJ.js +203 -0
- package/dist/chunk-5FP6SWXJ.js.map +1 -0
- package/dist/chunk-6Y3Z5OIX.js +101 -0
- package/dist/chunk-6Y3Z5OIX.js.map +1 -0
- package/dist/chunk-7EDPO2Y5.js +138 -0
- package/dist/chunk-7EDPO2Y5.js.map +1 -0
- package/dist/chunk-7OJSWKHZ.js +138 -0
- package/dist/chunk-7OJSWKHZ.js.map +1 -0
- package/dist/chunk-7TWIGS7O.js +101 -0
- package/dist/chunk-7TWIGS7O.js.map +1 -0
- package/dist/chunk-7WLDXOOO.js +350 -0
- package/dist/chunk-7WLDXOOO.js.map +1 -0
- package/dist/chunk-7ZEWNVHJ.js +192 -0
- package/dist/chunk-7ZEWNVHJ.js.map +1 -0
- package/dist/chunk-AKKAPBO4.js +52 -0
- package/dist/chunk-AKKAPBO4.js.map +1 -0
- package/dist/chunk-AOCMD34M.js +138 -0
- package/dist/chunk-AOCMD34M.js.map +1 -0
- package/dist/chunk-AP5ARKJL.js +138 -0
- package/dist/chunk-AP5ARKJL.js.map +1 -0
- package/dist/chunk-C24NCIRF.js +138 -0
- package/dist/chunk-C24NCIRF.js.map +1 -0
- package/dist/chunk-C3QWDJ3D.js +145 -0
- package/dist/chunk-C3QWDJ3D.js.map +1 -0
- package/dist/chunk-CEMVFONQ.js +104 -0
- package/dist/chunk-CEMVFONQ.js.map +1 -0
- package/dist/chunk-CJ3XXETF.js +109 -0
- package/dist/chunk-CJ3XXETF.js.map +1 -0
- package/dist/chunk-EBSM7TV4.js +101 -0
- package/dist/chunk-EBSM7TV4.js.map +1 -0
- package/dist/chunk-FMCDZEXR.js +58 -0
- package/dist/chunk-FMCDZEXR.js.map +1 -0
- package/dist/chunk-H623KT6H.js +138 -0
- package/dist/chunk-H623KT6H.js.map +1 -0
- package/dist/chunk-IE5GRQOQ.js +112 -0
- package/dist/chunk-IE5GRQOQ.js.map +1 -0
- package/dist/chunk-IVGPZUCB.js +203 -0
- package/dist/chunk-IVGPZUCB.js.map +1 -0
- package/dist/chunk-JTEQ25Z5.js +101 -0
- package/dist/chunk-JTEQ25Z5.js.map +1 -0
- package/dist/chunk-JXRHM4PD.js +138 -0
- package/dist/chunk-JXRHM4PD.js.map +1 -0
- package/dist/chunk-JZXYBYIV.js +39 -0
- package/dist/chunk-JZXYBYIV.js.map +1 -0
- package/dist/chunk-KJMWCR2G.js +101 -0
- package/dist/chunk-KJMWCR2G.js.map +1 -0
- package/dist/chunk-LQT6ZGLA.js +138 -0
- package/dist/chunk-LQT6ZGLA.js.map +1 -0
- package/dist/chunk-M5G5KMUE.js +76 -0
- package/dist/chunk-M5G5KMUE.js.map +1 -0
- package/dist/chunk-MI2LODDO.js +138 -0
- package/dist/chunk-MI2LODDO.js.map +1 -0
- package/dist/chunk-MOZLM3CP.js +171 -0
- package/dist/chunk-MOZLM3CP.js.map +1 -0
- package/dist/chunk-MR4FQ4H6.js +93 -0
- package/dist/chunk-MR4FQ4H6.js.map +1 -0
- package/dist/chunk-NFTADDQN.js +138 -0
- package/dist/chunk-NFTADDQN.js.map +1 -0
- package/dist/chunk-NHC6ZFBA.js +138 -0
- package/dist/chunk-NHC6ZFBA.js.map +1 -0
- package/dist/chunk-NPSJEUC6.js +138 -0
- package/dist/chunk-NPSJEUC6.js.map +1 -0
- package/dist/chunk-OUZT3SDR.js +59 -0
- package/dist/chunk-OUZT3SDR.js.map +1 -0
- package/dist/chunk-PWPVK2HB.js +112 -0
- package/dist/chunk-PWPVK2HB.js.map +1 -0
- package/dist/chunk-Q64HDW6R.js +109 -0
- package/dist/chunk-Q64HDW6R.js.map +1 -0
- package/dist/chunk-QJ4FYN6G.js +76 -0
- package/dist/chunk-QJ4FYN6G.js.map +1 -0
- package/dist/chunk-QNYWSY5P.js +164 -0
- package/dist/chunk-QNYWSY5P.js.map +1 -0
- package/dist/chunk-R255GZPB.js +35 -0
- package/dist/chunk-R255GZPB.js.map +1 -0
- package/dist/chunk-RGH3ADLO.js +101 -0
- package/dist/chunk-RGH3ADLO.js.map +1 -0
- package/dist/chunk-RLFG5TCU.js +98 -0
- package/dist/chunk-RLFG5TCU.js.map +1 -0
- package/dist/chunk-TCF7B3N3.js +101 -0
- package/dist/chunk-TCF7B3N3.js.map +1 -0
- package/dist/chunk-TJ564MUO.js +145 -0
- package/dist/chunk-TJ564MUO.js.map +1 -0
- package/dist/chunk-TJSCVJT2.js +138 -0
- package/dist/chunk-TJSCVJT2.js.map +1 -0
- package/dist/chunk-TMDNIBIV.js +64 -0
- package/dist/chunk-TMDNIBIV.js.map +1 -0
- package/dist/chunk-TW5EULWR.js +93 -0
- package/dist/chunk-TW5EULWR.js.map +1 -0
- package/dist/chunk-UB6KOKKQ.js +138 -0
- package/dist/chunk-UB6KOKKQ.js.map +1 -0
- package/dist/chunk-UVJASJN4.js +64 -0
- package/dist/chunk-UVJASJN4.js.map +1 -0
- package/dist/chunk-VYGMNI7T.js +138 -0
- package/dist/chunk-VYGMNI7T.js.map +1 -0
- package/dist/chunk-W4QKUPPN.js +138 -0
- package/dist/chunk-W4QKUPPN.js.map +1 -0
- package/dist/chunk-WVBFSWKT.js +104 -0
- package/dist/chunk-WVBFSWKT.js.map +1 -0
- package/dist/chunk-X3SEOKG4.js +243 -0
- package/dist/chunk-X3SEOKG4.js.map +1 -0
- package/dist/chunk-XBYZM24U.js +112 -0
- package/dist/chunk-XBYZM24U.js.map +1 -0
- package/dist/chunk-XEJG52Y3.js +112 -0
- package/dist/chunk-XEJG52Y3.js.map +1 -0
- package/dist/chunk-XEJNYJF6.js +80 -0
- package/dist/chunk-XEJNYJF6.js.map +1 -0
- package/dist/chunk-XNOQPF6O.js +171 -0
- package/dist/chunk-XNOQPF6O.js.map +1 -0
- package/dist/chunk-Y2MNPJCI.js +73 -0
- package/dist/chunk-Y2MNPJCI.js.map +1 -0
- package/dist/chunk-YHW5PCCE.js +57 -0
- package/dist/chunk-YHW5PCCE.js.map +1 -0
- package/dist/chunk-YK2IAHKI.js +138 -0
- package/dist/chunk-YK2IAHKI.js.map +1 -0
- package/dist/chunk-YVWOLJ44.js +101 -0
- package/dist/chunk-YVWOLJ44.js.map +1 -0
- package/dist/chunk-ZAQQ6H6W.js +30 -0
- package/dist/chunk-ZAQQ6H6W.js.map +1 -0
- package/dist/chunk-ZUL5FOQW.js +203 -0
- package/dist/chunk-ZUL5FOQW.js.map +1 -0
- package/dist/chunk-ZW34437K.js +138 -0
- package/dist/chunk-ZW34437K.js.map +1 -0
- package/dist/chunk-ZW37CDPD.js +243 -0
- package/dist/chunk-ZW37CDPD.js.map +1 -0
- package/dist/index.cjs +147 -139
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +5 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +56 -56
- package/dist/layouts/index.js +10 -10
- package/dist/layouts/response-display.js +10 -10
- package/dist/molecules/date-picker/date-picker-button.cjs +12 -12
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +10 -10
- package/dist/molecules/expand-table/index.cjs +12 -12
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +13 -13
- package/dist/molecules/expand-table/row.js +10 -10
- package/dist/molecules/form.d.cts +1 -1
- package/dist/molecules/form.d.ts +1 -1
- package/dist/molecules/index.cjs +46 -46
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +15 -15
- package/dist/molecules/navigation.js +10 -10
- package/dist/molecules/radio-button-card.js +10 -10
- package/dist/molecules/stepper.js +2 -2
- package/dist/molecules/tag-selector.js +11 -11
- package/dist/molecules/time-select.js +10 -10
- package/package.json +3 -3
- package/src/atoms/dialog.tsx +23 -6
package/dist/app/index.cjs
CHANGED
|
@@ -227,7 +227,7 @@ var import_themes5 = require("@radix-ui/themes");
|
|
|
227
227
|
// src/atoms/dialog.tsx
|
|
228
228
|
var RadixDialog = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
229
229
|
var import_react_icons2 = require("@radix-ui/react-icons");
|
|
230
|
-
var
|
|
230
|
+
var import_themes9 = require("@radix-ui/themes");
|
|
231
231
|
|
|
232
232
|
// src/atoms/toast.tsx
|
|
233
233
|
var import_react_icons = require("@radix-ui/react-icons");
|
|
@@ -257,8 +257,37 @@ function ToastContainer(props) {
|
|
|
257
257
|
);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
// src/atoms/
|
|
260
|
+
// src/atoms/heading.tsx
|
|
261
|
+
var import_themes6 = require("@radix-ui/themes");
|
|
262
|
+
var import_react4 = require("react");
|
|
263
|
+
var import_themes7 = require("@radix-ui/themes");
|
|
261
264
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
265
|
+
function Heading2(props) {
|
|
266
|
+
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
267
|
+
const radixSize = (0, import_react4.useMemo)(() => {
|
|
268
|
+
switch (variant) {
|
|
269
|
+
case "heading1":
|
|
270
|
+
return "7";
|
|
271
|
+
case "heading2":
|
|
272
|
+
return "6";
|
|
273
|
+
case "heading3":
|
|
274
|
+
return "5";
|
|
275
|
+
case "heading4":
|
|
276
|
+
return "4";
|
|
277
|
+
case "heading5":
|
|
278
|
+
return "3";
|
|
279
|
+
default:
|
|
280
|
+
return size;
|
|
281
|
+
}
|
|
282
|
+
}, [size, variant]);
|
|
283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes6.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
// src/atoms/icon-button.tsx
|
|
287
|
+
var import_themes8 = require("@radix-ui/themes");
|
|
288
|
+
|
|
289
|
+
// src/atoms/dialog.tsx
|
|
290
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
262
291
|
var preventDefault = (e) => {
|
|
263
292
|
e.preventDefault();
|
|
264
293
|
};
|
|
@@ -271,7 +300,9 @@ function Content2(props) {
|
|
|
271
300
|
minWidth,
|
|
272
301
|
maxHeight,
|
|
273
302
|
height,
|
|
274
|
-
minHeight
|
|
303
|
+
minHeight,
|
|
304
|
+
title,
|
|
305
|
+
buttons
|
|
275
306
|
} = _a, rest = __objRest(_a, [
|
|
276
307
|
"children",
|
|
277
308
|
"style",
|
|
@@ -280,10 +311,12 @@ function Content2(props) {
|
|
|
280
311
|
"minWidth",
|
|
281
312
|
"maxHeight",
|
|
282
313
|
"height",
|
|
283
|
-
"minHeight"
|
|
314
|
+
"minHeight",
|
|
315
|
+
"title",
|
|
316
|
+
"buttons"
|
|
284
317
|
]);
|
|
285
|
-
return /* @__PURE__ */ (0,
|
|
286
|
-
/* @__PURE__ */ (0,
|
|
318
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RadixDialog.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes9.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
|
|
319
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
287
320
|
RadixDialog.Content,
|
|
288
321
|
__spreadProps(__spreadValues({
|
|
289
322
|
className: "DialogContent",
|
|
@@ -297,13 +330,17 @@ function Content2(props) {
|
|
|
297
330
|
minHeight
|
|
298
331
|
}, style)
|
|
299
332
|
}, rest), {
|
|
300
|
-
children:
|
|
301
|
-
/* @__PURE__ */ (0,
|
|
302
|
-
|
|
303
|
-
|
|
333
|
+
children: [
|
|
334
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_themes9.Flex, { gap: "2", justify: "between", children: [
|
|
335
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Heading2, { variant: "heading3", children: title }) : title }),
|
|
336
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes8.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_icons2.Cross1Icon, {}) }) })
|
|
337
|
+
] }),
|
|
338
|
+
children,
|
|
339
|
+
buttons ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes9.Flex, { gap: "3", justify: "end", mt: "3", children: buttons }) : null
|
|
340
|
+
]
|
|
304
341
|
})
|
|
305
342
|
),
|
|
306
|
-
/* @__PURE__ */ (0,
|
|
343
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToastContainer, {})
|
|
307
344
|
] }) }) });
|
|
308
345
|
}
|
|
309
346
|
function Close2(_a) {
|
|
@@ -312,7 +349,7 @@ function Close2(_a) {
|
|
|
312
349
|
} = _b, rest = __objRest(_b, [
|
|
313
350
|
"children"
|
|
314
351
|
]);
|
|
315
|
-
return /* @__PURE__ */ (0,
|
|
352
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RadixDialog.Close, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
|
|
316
353
|
}
|
|
317
354
|
function Trigger2(_a) {
|
|
318
355
|
var _b = _a, {
|
|
@@ -320,7 +357,7 @@ function Trigger2(_a) {
|
|
|
320
357
|
} = _b, rest = __objRest(_b, [
|
|
321
358
|
"children"
|
|
322
359
|
]);
|
|
323
|
-
return /* @__PURE__ */ (0,
|
|
360
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RadixDialog.Trigger, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
|
|
324
361
|
}
|
|
325
362
|
var Dialog = {
|
|
326
363
|
Root: RadixDialog.Root,
|
|
@@ -332,38 +369,9 @@ var Dialog = {
|
|
|
332
369
|
};
|
|
333
370
|
|
|
334
371
|
// src/atoms/flex.tsx
|
|
335
|
-
var import_themes7 = require("@radix-ui/themes");
|
|
336
|
-
|
|
337
|
-
// src/atoms/grid.tsx
|
|
338
|
-
var import_themes8 = require("@radix-ui/themes");
|
|
339
|
-
|
|
340
|
-
// src/atoms/heading.tsx
|
|
341
|
-
var import_themes9 = require("@radix-ui/themes");
|
|
342
|
-
var import_react4 = require("react");
|
|
343
372
|
var import_themes10 = require("@radix-ui/themes");
|
|
344
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
345
|
-
function Heading2(props) {
|
|
346
|
-
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
347
|
-
const radixSize = (0, import_react4.useMemo)(() => {
|
|
348
|
-
switch (variant) {
|
|
349
|
-
case "heading1":
|
|
350
|
-
return "7";
|
|
351
|
-
case "heading2":
|
|
352
|
-
return "6";
|
|
353
|
-
case "heading3":
|
|
354
|
-
return "5";
|
|
355
|
-
case "heading4":
|
|
356
|
-
return "4";
|
|
357
|
-
case "heading5":
|
|
358
|
-
return "3";
|
|
359
|
-
default:
|
|
360
|
-
return size;
|
|
361
|
-
}
|
|
362
|
-
}, [size, variant]);
|
|
363
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_themes9.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
364
|
-
}
|
|
365
373
|
|
|
366
|
-
// src/atoms/
|
|
374
|
+
// src/atoms/grid.tsx
|
|
367
375
|
var import_themes11 = require("@radix-ui/themes");
|
|
368
376
|
|
|
369
377
|
// src/atoms/inset.tsx
|
|
@@ -675,7 +683,7 @@ function BulletText(_a) {
|
|
|
675
683
|
} = _b, rest = __objRest(_b, [
|
|
676
684
|
"children"
|
|
677
685
|
]);
|
|
678
|
-
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes10.Flex, { gap: "1", ml: "2", children: [
|
|
679
687
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
680
688
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
681
689
|
] });
|
|
@@ -697,13 +705,13 @@ function CoachingCustomerInfoSmall({
|
|
|
697
705
|
return (0, import_biz_utils.getTextFromProjectState)(session == null ? void 0 : session.state);
|
|
698
706
|
}, [session == null ? void 0 : session.state]);
|
|
699
707
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
700
|
-
|
|
708
|
+
import_themes10.Flex,
|
|
701
709
|
{
|
|
702
710
|
direction: { initial: "column", xs: "row" },
|
|
703
711
|
gap: "3",
|
|
704
712
|
justify: "between",
|
|
705
713
|
children: [
|
|
706
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes2.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
714
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_themes2.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_themes11.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
707
715
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
708
716
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
709
717
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Badge, { color: badgeColor, children: sessionText })
|
|
@@ -799,9 +807,9 @@ function CoachingCustomerInfoMedium({
|
|
|
799
807
|
const sessionText = (0, import_react13.useMemo)(() => {
|
|
800
808
|
return (0, import_biz_utils2.getTextFromProjectState)(session == null ? void 0 : session.state);
|
|
801
809
|
}, [session == null ? void 0 : session.state]);
|
|
802
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_themes10.Flex, { direction: "column", gap: "5", children: [
|
|
803
811
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_themes2.Box, { children: [
|
|
804
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
812
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_themes10.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
805
813
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
806
814
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Badge, { color: badgeColor, children: sessionText })
|
|
807
815
|
] }),
|
|
@@ -809,11 +817,11 @@ function CoachingCustomerInfoMedium({
|
|
|
809
817
|
] }),
|
|
810
818
|
children,
|
|
811
819
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes5.DataList.Root, { orientation: "vertical", children: sessionList.map((el) => renderDataListItem(el, session)) }) }),
|
|
812
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
820
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_themes11.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
813
821
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
814
822
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes19.Separator, { size: "4" })
|
|
815
823
|
] }),
|
|
816
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes10.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
817
825
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typo, { children: renderItem(el, customer) }, el.label);
|
|
818
826
|
}) })
|
|
819
827
|
] });
|
|
@@ -834,9 +842,9 @@ function CoachingCustomerInfoLarge({
|
|
|
834
842
|
const sessionText = (0, import_react14.useMemo)(() => {
|
|
835
843
|
return (0, import_biz_utils3.getTextFromProjectState)(session == null ? void 0 : session.state);
|
|
836
844
|
}, [session == null ? void 0 : session.state]);
|
|
837
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
845
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes10.Flex, { direction: "column", gap: "5", children: [
|
|
838
846
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes2.Box, { children: [
|
|
839
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
847
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes10.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
840
848
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
841
849
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Badge, { color: badgeColor, children: sessionText })
|
|
842
850
|
] }),
|
|
@@ -910,7 +918,7 @@ function GoalManageCardRead(props) {
|
|
|
910
918
|
] }) }),
|
|
911
919
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes15.Popover.Content, { children: [
|
|
912
920
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
913
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
921
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes10.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
914
922
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes15.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
915
923
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes15.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { onClick: props.onClickComplete, size: "small", children: "\uC608" }) })
|
|
916
924
|
] })
|
|
@@ -927,11 +935,11 @@ function GoalManageCardRead(props) {
|
|
|
927
935
|
}
|
|
928
936
|
);
|
|
929
937
|
}, [completed, onCompleteChange, props.onClickComplete]);
|
|
930
|
-
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
931
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes11.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
939
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes8.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
932
940
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
933
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
934
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
941
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes10.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
942
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes10.Flex, { align: "center", gap: "3", children: [
|
|
935
943
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Badge, { color: statusColor, children: status }),
|
|
936
944
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
937
945
|
] }),
|
|
@@ -947,7 +955,7 @@ function GoalManageCardRead(props) {
|
|
|
947
955
|
}
|
|
948
956
|
) : null,
|
|
949
957
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes2.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Collapse, { open, children: [
|
|
950
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
958
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes10.Flex, { direction: "column", gap: "5", children: [
|
|
951
959
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes2.Box, { children: [
|
|
952
960
|
renderSubTitle(
|
|
953
961
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
@@ -959,7 +967,7 @@ function GoalManageCardRead(props) {
|
|
|
959
967
|
renderSubContent(huddle)
|
|
960
968
|
] })
|
|
961
969
|
] }),
|
|
962
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
970
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_themes10.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
963
971
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
964
972
|
Button,
|
|
965
973
|
{
|
|
@@ -999,7 +1007,7 @@ var DatePicker = (0, import_react16.forwardRef)(
|
|
|
999
1007
|
(props, ref) => {
|
|
1000
1008
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1001
1009
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1002
|
-
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_themes10.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1003
1011
|
ReactDatePicker,
|
|
1004
1012
|
__spreadProps(__spreadValues({
|
|
1005
1013
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1030,9 +1038,9 @@ var renderCustomHeader = (props) => {
|
|
|
1030
1038
|
} = props;
|
|
1031
1039
|
const year = date ? date.getFullYear() : "-";
|
|
1032
1040
|
const month = date ? date.getMonth() + 1 : "-";
|
|
1033
|
-
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
1041
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes10.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1034
1042
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1035
|
-
|
|
1043
|
+
import_themes8.IconButton,
|
|
1036
1044
|
{
|
|
1037
1045
|
disabled: prevMonthButtonDisabled,
|
|
1038
1046
|
onClick: decreaseMonth,
|
|
@@ -1041,7 +1049,7 @@ var renderCustomHeader = (props) => {
|
|
|
1041
1049
|
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1042
1050
|
}
|
|
1043
1051
|
),
|
|
1044
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
1052
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_themes10.Flex, { gap: "3", children: [
|
|
1045
1053
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1046
1054
|
year,
|
|
1047
1055
|
"\uB144"
|
|
@@ -1052,7 +1060,7 @@ var renderCustomHeader = (props) => {
|
|
|
1052
1060
|
] })
|
|
1053
1061
|
] }),
|
|
1054
1062
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1055
|
-
|
|
1063
|
+
import_themes8.IconButton,
|
|
1056
1064
|
{
|
|
1057
1065
|
disabled: nextMonthButtonDisabled,
|
|
1058
1066
|
onClick: increaseMonth,
|
|
@@ -1085,7 +1093,7 @@ function DatePickerButton(props) {
|
|
|
1085
1093
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_themes2.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1086
1094
|
DatePicker,
|
|
1087
1095
|
__spreadProps(__spreadValues({
|
|
1088
|
-
customInput: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
1096
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_themes10.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1089
1097
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1090
1098
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons3.CalendarIcon, {})
|
|
1091
1099
|
] }) })),
|
|
@@ -1131,7 +1139,7 @@ function TimeSelect(_a) {
|
|
|
1131
1139
|
return getTimeOptions();
|
|
1132
1140
|
}, []);
|
|
1133
1141
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1134
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1142
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_themes10.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
|
|
1135
1143
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Select.Content, { children: timeOptions.map((time) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Select.Item, { value: time, children: time }, time)) })
|
|
1136
1144
|
] }));
|
|
1137
1145
|
}
|
|
@@ -1174,7 +1182,7 @@ function Item(_a) {
|
|
|
1174
1182
|
"justify",
|
|
1175
1183
|
"RadioWrapper"
|
|
1176
1184
|
]);
|
|
1177
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes17.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1185
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes17.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1178
1186
|
children,
|
|
1179
1187
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1180
1188
|
import_themes16.Radio,
|
|
@@ -1324,7 +1332,7 @@ function GoalManageCardEdit(props) {
|
|
|
1324
1332
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
1325
1333
|
}, [props, values]);
|
|
1326
1334
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
1327
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1335
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes10.Flex, { direction: "column", gap: "5", children: [
|
|
1328
1336
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Form.Field, { name: "title", children: [
|
|
1329
1337
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1330
1338
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
@@ -1390,7 +1398,7 @@ function GoalManageCardEdit(props) {
|
|
|
1390
1398
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
1391
1399
|
] })
|
|
1392
1400
|
] }),
|
|
1393
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1401
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes10.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
1394
1402
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1395
1403
|
Button,
|
|
1396
1404
|
{
|
|
@@ -1545,7 +1553,7 @@ function EditCoachingTime(props) {
|
|
|
1545
1553
|
)
|
|
1546
1554
|
] }),
|
|
1547
1555
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1548
|
-
|
|
1556
|
+
import_themes11.Grid,
|
|
1549
1557
|
{
|
|
1550
1558
|
align: "center",
|
|
1551
1559
|
columns: {
|
|
@@ -1583,7 +1591,7 @@ function EditCoachingTime(props) {
|
|
|
1583
1591
|
]
|
|
1584
1592
|
}
|
|
1585
1593
|
),
|
|
1586
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1594
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_themes10.Flex, { gap: "3", justify: "end", children: [
|
|
1587
1595
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1588
1596
|
Button,
|
|
1589
1597
|
{
|
|
@@ -1635,11 +1643,11 @@ function OnOfflineRadioCard(props) {
|
|
|
1635
1643
|
justify
|
|
1636
1644
|
}, props), {
|
|
1637
1645
|
children: [
|
|
1638
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1646
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes10.Flex, { align: "center", gap: "2", children: [
|
|
1639
1647
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons6.GlobeIcon, {}) }),
|
|
1640
1648
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
1641
1649
|
] }) }),
|
|
1642
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes10.Flex, { align: "center", gap: "2", children: [
|
|
1643
1651
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons6.BackpackIcon, {}) }),
|
|
1644
1652
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
1645
1653
|
] }) })
|
|
@@ -1679,7 +1687,7 @@ function EditServiceType(props) {
|
|
|
1679
1687
|
}
|
|
1680
1688
|
),
|
|
1681
1689
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
1682
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes10.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
1683
1691
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1684
1692
|
Button,
|
|
1685
1693
|
{
|
|
@@ -1734,8 +1742,8 @@ function SessionCard(props) {
|
|
|
1734
1742
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
1735
1743
|
return `${(0, import_date_fns5.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns5.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
1736
1744
|
}, [startAt, endAt]);
|
|
1737
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1738
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_themes10.Flex, { direction: "column", gap: "3", children: [
|
|
1746
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_themes10.Flex, { align: "center", width: "100%", children: [
|
|
1739
1747
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
1740
1748
|
TitleExtra,
|
|
1741
1749
|
error ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
@@ -1765,7 +1773,7 @@ function SessionCard(props) {
|
|
|
1765
1773
|
] }) : null
|
|
1766
1774
|
] })
|
|
1767
1775
|
] }),
|
|
1768
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1776
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_themes11.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
1769
1777
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_themes5.DataList.Item, { children: [
|
|
1770
1778
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes5.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
1771
1779
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_themes5.DataList.Value, { children: [
|
|
@@ -1782,7 +1790,7 @@ function SessionCard(props) {
|
|
|
1782
1790
|
] }) : null
|
|
1783
1791
|
] })
|
|
1784
1792
|
] }),
|
|
1785
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes10.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
1786
1794
|
] })
|
|
1787
1795
|
] })
|
|
1788
1796
|
] }) }));
|
|
@@ -1799,7 +1807,7 @@ function QuestionItem({ question, answer }) {
|
|
|
1799
1807
|
function CoachQuestionList({
|
|
1800
1808
|
questions
|
|
1801
1809
|
}) {
|
|
1802
|
-
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes10.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
1803
1811
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
1804
1812
|
}) });
|
|
1805
1813
|
}
|
|
@@ -1881,15 +1889,15 @@ function ReservationCard(props) {
|
|
|
1881
1889
|
size: "3",
|
|
1882
1890
|
style: { overflow: "visible", contain: "initial" },
|
|
1883
1891
|
children: [
|
|
1884
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1892
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes10.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
1885
1893
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1886
|
-
|
|
1894
|
+
import_themes11.Grid,
|
|
1887
1895
|
{
|
|
1888
1896
|
align: "center",
|
|
1889
1897
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
1890
1898
|
gapY: "2",
|
|
1891
1899
|
children: [
|
|
1892
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1900
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes10.Flex, { align: "center", children: [
|
|
1893
1901
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Heading2, { variant: "heading4", children: [
|
|
1894
1902
|
customerName || "-",
|
|
1895
1903
|
"\uB2D8 ",
|
|
@@ -1902,7 +1910,7 @@ function ReservationCard(props) {
|
|
|
1902
1910
|
]
|
|
1903
1911
|
}
|
|
1904
1912
|
),
|
|
1905
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1913
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes10.Flex, { children: ActionButtons })
|
|
1906
1914
|
] }),
|
|
1907
1915
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes2.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1908
1916
|
Form.Root,
|
|
@@ -1910,10 +1918,10 @@ function ReservationCard(props) {
|
|
|
1910
1918
|
onSubmit: (e) => {
|
|
1911
1919
|
e.preventDefault();
|
|
1912
1920
|
},
|
|
1913
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1921
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes10.Flex, { direction: "column", gap: "5", children: [
|
|
1914
1922
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Form.Label, { asChild: true, children: [
|
|
1915
1923
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
1916
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1924
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes11.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
1917
1925
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1918
1926
|
DatePickerButton,
|
|
1919
1927
|
{
|
|
@@ -1947,7 +1955,7 @@ function ReservationCard(props) {
|
|
|
1947
1955
|
}
|
|
1948
1956
|
) })
|
|
1949
1957
|
] }),
|
|
1950
|
-
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1958
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes10.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
1951
1959
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1952
1960
|
Button,
|
|
1953
1961
|
{
|
|
@@ -1971,7 +1979,7 @@ function ReservationCard(props) {
|
|
|
1971
1979
|
py: "4",
|
|
1972
1980
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
1973
1981
|
width: "100%",
|
|
1974
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1982
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes10.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
1975
1983
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Typo, { children: [
|
|
1976
1984
|
sessionNumber || "-",
|
|
1977
1985
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
@@ -1995,7 +2003,7 @@ function SubTitleWrapper({
|
|
|
1995
2003
|
children,
|
|
1996
2004
|
title
|
|
1997
2005
|
}) {
|
|
1998
|
-
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes10.Flex, { direction: "column", gap: "2", children: [
|
|
1999
2007
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2000
2008
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes2.Box, { children })
|
|
2001
2009
|
] });
|
|
@@ -2031,7 +2039,7 @@ function SessionReviewSimpleRead({
|
|
|
2031
2039
|
sessionNumber || "-",
|
|
2032
2040
|
"\uD68C\uCC28 \uC138\uC158 \uD6C4\uAE30"
|
|
2033
2041
|
] }),
|
|
2034
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
2042
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes10.Flex, { direction: "column", gap: "5", children: [
|
|
2035
2043
|
/* @__PURE__ */ (0, import_jsx_runtime35.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_runtime35.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2036
2044
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2037
2045
|
] })
|
|
@@ -2045,7 +2053,7 @@ function SectionWrapper({
|
|
|
2045
2053
|
children
|
|
2046
2054
|
}) {
|
|
2047
2055
|
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes2.Box, { children: [
|
|
2048
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2056
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes11.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2049
2057
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2050
2058
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes19.Separator, { size: "4" })
|
|
2051
2059
|
] }),
|
|
@@ -2056,7 +2064,7 @@ function SessionUserInfoDetail({
|
|
|
2056
2064
|
customer,
|
|
2057
2065
|
session
|
|
2058
2066
|
}) {
|
|
2059
|
-
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_themes10.Flex, { direction: "column", gap: "6", children: [
|
|
2060
2068
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes5.DataList.Root, { children: sessionList.map((info) => renderDataListItem(info, session)) }) }),
|
|
2061
2069
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes5.DataList.Root, { children: infoList.map((info) => renderDataListItem(info, customer)) }) })
|
|
2062
2070
|
] });
|
|
@@ -2067,7 +2075,7 @@ var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
|
2067
2075
|
function ReportCard(props) {
|
|
2068
2076
|
const { title, file, status } = props;
|
|
2069
2077
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Card, { children: [
|
|
2070
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
2078
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes10.Flex, { align: "center", justify: "between", children: [
|
|
2071
2079
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2072
2080
|
status
|
|
2073
2081
|
] }),
|