@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
|
@@ -178,7 +178,7 @@ var import_themes4 = require("@radix-ui/themes");
|
|
|
178
178
|
// src/atoms/dialog.tsx
|
|
179
179
|
var RadixDialog = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
180
180
|
var import_react_icons2 = require("@radix-ui/react-icons");
|
|
181
|
-
var
|
|
181
|
+
var import_themes8 = require("@radix-ui/themes");
|
|
182
182
|
|
|
183
183
|
// src/atoms/toast.tsx
|
|
184
184
|
var import_react_icons = require("@radix-ui/react-icons");
|
|
@@ -208,8 +208,37 @@ function ToastContainer(props) {
|
|
|
208
208
|
);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
// src/atoms/
|
|
211
|
+
// src/atoms/heading.tsx
|
|
212
|
+
var import_themes5 = require("@radix-ui/themes");
|
|
213
|
+
var import_react3 = require("react");
|
|
214
|
+
var import_themes6 = require("@radix-ui/themes");
|
|
212
215
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
216
|
+
function Heading2(props) {
|
|
217
|
+
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
218
|
+
const radixSize = (0, import_react3.useMemo)(() => {
|
|
219
|
+
switch (variant) {
|
|
220
|
+
case "heading1":
|
|
221
|
+
return "7";
|
|
222
|
+
case "heading2":
|
|
223
|
+
return "6";
|
|
224
|
+
case "heading3":
|
|
225
|
+
return "5";
|
|
226
|
+
case "heading4":
|
|
227
|
+
return "4";
|
|
228
|
+
case "heading5":
|
|
229
|
+
return "3";
|
|
230
|
+
default:
|
|
231
|
+
return size;
|
|
232
|
+
}
|
|
233
|
+
}, [size, variant]);
|
|
234
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes5.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// src/atoms/icon-button.tsx
|
|
238
|
+
var import_themes7 = require("@radix-ui/themes");
|
|
239
|
+
|
|
240
|
+
// src/atoms/dialog.tsx
|
|
241
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
213
242
|
var preventDefault = (e) => {
|
|
214
243
|
e.preventDefault();
|
|
215
244
|
};
|
|
@@ -222,7 +251,9 @@ function Content2(props) {
|
|
|
222
251
|
minWidth,
|
|
223
252
|
maxHeight,
|
|
224
253
|
height,
|
|
225
|
-
minHeight
|
|
254
|
+
minHeight,
|
|
255
|
+
title,
|
|
256
|
+
buttons
|
|
226
257
|
} = _a, rest = __objRest(_a, [
|
|
227
258
|
"children",
|
|
228
259
|
"style",
|
|
@@ -231,10 +262,12 @@ function Content2(props) {
|
|
|
231
262
|
"minWidth",
|
|
232
263
|
"maxHeight",
|
|
233
264
|
"height",
|
|
234
|
-
"minHeight"
|
|
265
|
+
"minHeight",
|
|
266
|
+
"title",
|
|
267
|
+
"buttons"
|
|
235
268
|
]);
|
|
236
|
-
return /* @__PURE__ */ (0,
|
|
237
|
-
/* @__PURE__ */ (0,
|
|
269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadixDialog.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes8.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
|
|
270
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
238
271
|
RadixDialog.Content,
|
|
239
272
|
__spreadProps(__spreadValues({
|
|
240
273
|
className: "DialogContent",
|
|
@@ -248,13 +281,17 @@ function Content2(props) {
|
|
|
248
281
|
minHeight
|
|
249
282
|
}, style)
|
|
250
283
|
}, rest), {
|
|
251
|
-
children:
|
|
252
|
-
/* @__PURE__ */ (0,
|
|
253
|
-
|
|
254
|
-
|
|
284
|
+
children: [
|
|
285
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_themes8.Flex, { gap: "2", justify: "between", children: [
|
|
286
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Heading2, { variant: "heading3", children: title }) : title }),
|
|
287
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes7.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_icons2.Cross1Icon, {}) }) })
|
|
288
|
+
] }),
|
|
289
|
+
children,
|
|
290
|
+
buttons ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes8.Flex, { gap: "3", justify: "end", mt: "3", children: buttons }) : null
|
|
291
|
+
]
|
|
255
292
|
})
|
|
256
293
|
),
|
|
257
|
-
/* @__PURE__ */ (0,
|
|
294
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ToastContainer, {})
|
|
258
295
|
] }) }) });
|
|
259
296
|
}
|
|
260
297
|
function Close2(_a) {
|
|
@@ -263,7 +300,7 @@ function Close2(_a) {
|
|
|
263
300
|
} = _b, rest = __objRest(_b, [
|
|
264
301
|
"children"
|
|
265
302
|
]);
|
|
266
|
-
return /* @__PURE__ */ (0,
|
|
303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadixDialog.Close, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
|
|
267
304
|
}
|
|
268
305
|
function Trigger2(_a) {
|
|
269
306
|
var _b = _a, {
|
|
@@ -271,7 +308,7 @@ function Trigger2(_a) {
|
|
|
271
308
|
} = _b, rest = __objRest(_b, [
|
|
272
309
|
"children"
|
|
273
310
|
]);
|
|
274
|
-
return /* @__PURE__ */ (0,
|
|
311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadixDialog.Trigger, __spreadProps(__spreadValues({ asChild: true }, rest), { children }));
|
|
275
312
|
}
|
|
276
313
|
var Dialog = {
|
|
277
314
|
Root: RadixDialog.Root,
|
|
@@ -283,38 +320,9 @@ var Dialog = {
|
|
|
283
320
|
};
|
|
284
321
|
|
|
285
322
|
// src/atoms/flex.tsx
|
|
286
|
-
var import_themes6 = require("@radix-ui/themes");
|
|
287
|
-
|
|
288
|
-
// src/atoms/grid.tsx
|
|
289
|
-
var import_themes7 = require("@radix-ui/themes");
|
|
290
|
-
|
|
291
|
-
// src/atoms/heading.tsx
|
|
292
|
-
var import_themes8 = require("@radix-ui/themes");
|
|
293
|
-
var import_react3 = require("react");
|
|
294
323
|
var import_themes9 = require("@radix-ui/themes");
|
|
295
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
296
|
-
function Heading2(props) {
|
|
297
|
-
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
298
|
-
const radixSize = (0, import_react3.useMemo)(() => {
|
|
299
|
-
switch (variant) {
|
|
300
|
-
case "heading1":
|
|
301
|
-
return "7";
|
|
302
|
-
case "heading2":
|
|
303
|
-
return "6";
|
|
304
|
-
case "heading3":
|
|
305
|
-
return "5";
|
|
306
|
-
case "heading4":
|
|
307
|
-
return "4";
|
|
308
|
-
case "heading5":
|
|
309
|
-
return "3";
|
|
310
|
-
default:
|
|
311
|
-
return size;
|
|
312
|
-
}
|
|
313
|
-
}, [size, variant]);
|
|
314
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes8.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
315
|
-
}
|
|
316
324
|
|
|
317
|
-
// src/atoms/
|
|
325
|
+
// src/atoms/grid.tsx
|
|
318
326
|
var import_themes10 = require("@radix-ui/themes");
|
|
319
327
|
|
|
320
328
|
// src/atoms/radio.tsx
|
|
@@ -521,7 +529,7 @@ function BulletText(_a) {
|
|
|
521
529
|
} = _b, rest = __objRest(_b, [
|
|
522
530
|
"children"
|
|
523
531
|
]);
|
|
524
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
532
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes9.Flex, { gap: "1", ml: "2", children: [
|
|
525
533
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
526
534
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
527
535
|
] });
|
|
@@ -543,7 +551,7 @@ var DatePicker = (0, import_react7.forwardRef)(
|
|
|
543
551
|
(props, ref) => {
|
|
544
552
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
545
553
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
546
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
554
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes9.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
547
555
|
ReactDatePicker,
|
|
548
556
|
__spreadProps(__spreadValues({
|
|
549
557
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -574,9 +582,9 @@ var renderCustomHeader = (props) => {
|
|
|
574
582
|
} = props;
|
|
575
583
|
const year = date ? date.getFullYear() : "-";
|
|
576
584
|
const month = date ? date.getMonth() + 1 : "-";
|
|
577
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_themes9.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
578
586
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
579
|
-
|
|
587
|
+
import_themes7.IconButton,
|
|
580
588
|
{
|
|
581
589
|
disabled: prevMonthButtonDisabled,
|
|
582
590
|
onClick: decreaseMonth,
|
|
@@ -585,7 +593,7 @@ var renderCustomHeader = (props) => {
|
|
|
585
593
|
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
586
594
|
}
|
|
587
595
|
),
|
|
588
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
596
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_themes9.Flex, { gap: "3", children: [
|
|
589
597
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
590
598
|
year,
|
|
591
599
|
"\uB144"
|
|
@@ -596,7 +604,7 @@ var renderCustomHeader = (props) => {
|
|
|
596
604
|
] })
|
|
597
605
|
] }),
|
|
598
606
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
599
|
-
|
|
607
|
+
import_themes7.IconButton,
|
|
600
608
|
{
|
|
601
609
|
disabled: nextMonthButtonDisabled,
|
|
602
610
|
onClick: increaseMonth,
|
|
@@ -629,7 +637,7 @@ function DatePickerButton(props) {
|
|
|
629
637
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
630
638
|
DatePicker,
|
|
631
639
|
__spreadProps(__spreadValues({
|
|
632
|
-
customInput: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
640
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_themes9.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
633
641
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
634
642
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_icons3.CalendarIcon, {})
|
|
635
643
|
] }) })),
|
|
@@ -675,7 +683,7 @@ function TimeSelect(_a) {
|
|
|
675
683
|
return getTimeOptions();
|
|
676
684
|
}, []);
|
|
677
685
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
678
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
686
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_themes9.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
|
|
679
687
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Select.Content, { children: timeOptions.map((time) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Select.Item, { value: time, children: time }, time)) })
|
|
680
688
|
] }));
|
|
681
689
|
}
|
|
@@ -718,7 +726,7 @@ function Item(_a) {
|
|
|
718
726
|
"justify",
|
|
719
727
|
"RadioWrapper"
|
|
720
728
|
]);
|
|
721
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes12.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
729
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_themes12.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes9.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
722
730
|
children,
|
|
723
731
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
724
732
|
import_themes11.Radio,
|
|
@@ -866,7 +874,7 @@ function EditCoachingTime(props) {
|
|
|
866
874
|
)
|
|
867
875
|
] }),
|
|
868
876
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
869
|
-
|
|
877
|
+
import_themes10.Grid,
|
|
870
878
|
{
|
|
871
879
|
align: "center",
|
|
872
880
|
columns: {
|
|
@@ -904,7 +912,7 @@ function EditCoachingTime(props) {
|
|
|
904
912
|
]
|
|
905
913
|
}
|
|
906
914
|
),
|
|
907
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
915
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_themes9.Flex, { gap: "3", justify: "end", children: [
|
|
908
916
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
909
917
|
Button,
|
|
910
918
|
{
|
|
@@ -956,11 +964,11 @@ function OnOfflineRadioCard(props) {
|
|
|
956
964
|
justify
|
|
957
965
|
}, props), {
|
|
958
966
|
children: [
|
|
959
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
967
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes9.Flex, { align: "center", gap: "2", children: [
|
|
960
968
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react_icons4.GlobeIcon, {}) }),
|
|
961
969
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
962
970
|
] }) }),
|
|
963
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
971
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes9.Flex, { align: "center", gap: "2", children: [
|
|
964
972
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react_icons4.BackpackIcon, {}) }),
|
|
965
973
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
966
974
|
] }) })
|
|
@@ -1000,7 +1008,7 @@ function EditServiceType(props) {
|
|
|
1000
1008
|
}
|
|
1001
1009
|
),
|
|
1002
1010
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
1003
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
1011
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_themes9.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
1004
1012
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1005
1013
|
Button,
|
|
1006
1014
|
{
|
|
@@ -1055,8 +1063,8 @@ function SessionCard(props) {
|
|
|
1055
1063
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
1056
1064
|
return `${(0, import_date_fns2.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns2.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
1057
1065
|
}, [startAt, endAt]);
|
|
1058
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1059
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1066
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes9.Flex, { direction: "column", gap: "3", children: [
|
|
1067
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes9.Flex, { align: "center", width: "100%", children: [
|
|
1060
1068
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
1061
1069
|
TitleExtra,
|
|
1062
1070
|
error ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
@@ -1086,7 +1094,7 @@ function SessionCard(props) {
|
|
|
1086
1094
|
] }) : null
|
|
1087
1095
|
] })
|
|
1088
1096
|
] }),
|
|
1089
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1097
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes10.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
1090
1098
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes4.DataList.Item, { children: [
|
|
1091
1099
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes4.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
1092
1100
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes4.DataList.Value, { children: [
|
|
@@ -1103,7 +1111,7 @@ function SessionCard(props) {
|
|
|
1103
1111
|
] }) : null
|
|
1104
1112
|
] })
|
|
1105
1113
|
] }),
|
|
1106
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1114
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes9.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
1107
1115
|
] })
|
|
1108
1116
|
] })
|
|
1109
1117
|
] }) }));
|