@tipp/ui 1.5.0 → 1.5.2
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 +201 -187
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +36 -36
- 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 +16 -16
- 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 +26 -26
- 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 +25 -25
- 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 +24 -24
- 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 +17 -17
- package/dist/app/platform/on-offline-radio-card.js +23 -23
- 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 +23 -23
- 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 +24 -24
- package/dist/app/platform/session-card.cjs +122 -108
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +27 -27
- 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 +17 -17
- 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 +20 -20
- 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 +17 -17
- 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 +17 -17
- 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 +17 -17
- 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 +17 -17
- package/dist/app/platform/userInfos/utils.js +16 -16
- package/dist/atoms/button.d.cts +1 -1
- package/dist/atoms/button.d.ts +1 -1
- package/dist/atoms/dialog.cjs +55 -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/index.cjs +145 -131
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +39 -39
- 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-6GXQGGUZ.js +64 -0
- package/dist/chunk-6GXQGGUZ.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-AGPJA7IM.js +110 -0
- package/dist/chunk-AGPJA7IM.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-B6XJ2W4L.js +243 -0
- package/dist/chunk-B6XJ2W4L.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-CCYMLZTF.js +73 -0
- package/dist/chunk-CCYMLZTF.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-GZRUTEDV.js +101 -0
- package/dist/chunk-GZRUTEDV.js.map +1 -0
- package/dist/chunk-H623KT6H.js +138 -0
- package/dist/chunk-H623KT6H.js.map +1 -0
- package/dist/chunk-I55PKI44.js +57 -0
- package/dist/chunk-I55PKI44.js.map +1 -0
- package/dist/chunk-IE5GRQOQ.js +112 -0
- package/dist/chunk-IE5GRQOQ.js.map +1 -0
- package/dist/chunk-IFHIVCXR.js +76 -0
- package/dist/chunk-IFHIVCXR.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-LWPBL4WG.js +243 -0
- package/dist/chunk-LWPBL4WG.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-MODBHLOL.js +138 -0
- package/dist/chunk-MODBHLOL.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-PMLOM6GM.js +138 -0
- package/dist/chunk-PMLOM6GM.js.map +1 -0
- package/dist/chunk-PWD34ME3.js +76 -0
- package/dist/chunk-PWD34ME3.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-QLPJXYNG.js +30 -0
- package/dist/chunk-QLPJXYNG.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-STD6C6HS.js +52 -0
- package/dist/chunk-STD6C6HS.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-UDV652HT.js +145 -0
- package/dist/chunk-UDV652HT.js.map +1 -0
- package/dist/chunk-UVJASJN4.js +64 -0
- package/dist/chunk-UVJASJN4.js.map +1 -0
- package/dist/chunk-VXTOWVUI.js +203 -0
- package/dist/chunk-VXTOWVUI.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-WOVEXBEW.js +64 -0
- package/dist/chunk-WOVEXBEW.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-XGFGTMZU.js +350 -0
- package/dist/chunk-XGFGTMZU.js.map +1 -0
- package/dist/chunk-XKB7JSXW.js +171 -0
- package/dist/chunk-XKB7JSXW.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-Y2TFOMTA.js +30 -0
- package/dist/chunk-Y2TFOMTA.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 +325 -311
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +5 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +68 -68
- package/dist/layouts/index.js +16 -16
- package/dist/layouts/response-display.js +16 -16
- 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 +18 -18
- package/dist/molecules/date-picker/index.js +2 -2
- 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 +19 -19
- package/dist/molecules/expand-table/row.js +16 -16
- package/dist/molecules/index.cjs +46 -46
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +23 -23
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/navigation.js +16 -16
- package/dist/molecules/radio-button-card.js +16 -16
- package/dist/molecules/tag-selector.js +17 -17
- package/dist/molecules/time-select.js +16 -16
- package/package.json +3 -3
- package/src/atoms/dialog.tsx +32 -7
|
@@ -1,48 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GoalManageCardRead
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-XKB7JSXW.js";
|
|
4
4
|
import "../../chunk-A6W2ZWYA.js";
|
|
5
5
|
import "../../chunk-SRZ6X74X.js";
|
|
6
|
+
import "../../chunk-EW6OPYEW.js";
|
|
7
|
+
import "../../chunk-VOQU7ZOV.js";
|
|
8
|
+
import "../../chunk-ZZYFULUQ.js";
|
|
6
9
|
import "../../chunk-5H3YPCZK.js";
|
|
7
10
|
import "../../chunk-FR2GDOU2.js";
|
|
8
11
|
import "../../chunk-74DX4CU7.js";
|
|
9
12
|
import "../../chunk-OYM4XCHQ.js";
|
|
10
13
|
import "../../chunk-YJ7ZFOYL.js";
|
|
11
14
|
import "../../chunk-5ZITU5L7.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-365QMK4D.js";
|
|
16
|
+
import "../../chunk-YO3BQW6S.js";
|
|
14
17
|
import "../../chunk-6IVCARWS.js";
|
|
15
18
|
import "../../chunk-6DJOIRMF.js";
|
|
16
19
|
import "../../chunk-FPD73OHW.js";
|
|
17
20
|
import "../../chunk-ZKZDVS7G.js";
|
|
18
21
|
import "../../chunk-MUNMDHRF.js";
|
|
19
22
|
import "../../chunk-TVDKGMBI.js";
|
|
20
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-O3T3TM3V.js";
|
|
21
24
|
import "../../chunk-XQOL7UBI.js";
|
|
22
25
|
import "../../chunk-TULWX7D6.js";
|
|
23
26
|
import "../../chunk-SIM6HKVI.js";
|
|
24
27
|
import "../../chunk-RKHPVH2G.js";
|
|
25
28
|
import "../../chunk-5AVBYDPB.js";
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-
|
|
29
|
+
import "../../chunk-ODNY3R6A.js";
|
|
30
|
+
import "../../chunk-HYITAA4J.js";
|
|
31
|
+
import "../../chunk-4WFMOFN2.js";
|
|
28
32
|
import "../../chunk-WKFZ5MMN.js";
|
|
29
33
|
import "../../chunk-ACVANQJ4.js";
|
|
30
34
|
import "../../chunk-2DZ2Y3JI.js";
|
|
31
35
|
import "../../chunk-QDZS4B6A.js";
|
|
32
36
|
import "../../chunk-EGEQY3KT.js";
|
|
33
|
-
import "../../chunk-
|
|
34
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-MIMJ7LON.js";
|
|
38
|
+
import "../../chunk-IQEEPHOY.js";
|
|
35
39
|
import "../../chunk-LHCDPZ5E.js";
|
|
36
40
|
import "../../chunk-OHMOP5PV.js";
|
|
37
41
|
import "../../chunk-LZJR77Q2.js";
|
|
38
42
|
import "../../chunk-Q37G2GS6.js";
|
|
39
43
|
import "../../chunk-VTJZMOSP.js";
|
|
40
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-AGPJA7IM.js";
|
|
41
45
|
import "../../chunk-CYYWMYE7.js";
|
|
42
|
-
import "../../chunk-ODNY3R6A.js";
|
|
43
|
-
import "../../chunk-HYITAA4J.js";
|
|
44
46
|
import "../../chunk-O3DNDMV3.js";
|
|
45
|
-
import "../../chunk-
|
|
47
|
+
import "../../chunk-HK224ADT.js";
|
|
48
|
+
import "../../chunk-EWD4AO5N.js";
|
|
49
|
+
import "../../chunk-YGL6SWKN.js";
|
|
46
50
|
import "../../chunk-4Y5BEXVN.js";
|
|
47
51
|
import "../../chunk-NAL2USH5.js";
|
|
48
52
|
import "../../chunk-52MVZ6AN.js";
|
|
@@ -52,16 +56,12 @@ import "../../chunk-LQY4RKWI.js";
|
|
|
52
56
|
import "../../chunk-ZD7MNMED.js";
|
|
53
57
|
import "../../chunk-B6XJN6EC.js";
|
|
54
58
|
import "../../chunk-2ZQK7NTN.js";
|
|
55
|
-
import "../../chunk-
|
|
56
|
-
import "../../chunk-IQEEPHOY.js";
|
|
59
|
+
import "../../chunk-UNTA4JJU.js";
|
|
57
60
|
import "../../chunk-J242TTFH.js";
|
|
58
61
|
import "../../chunk-EAXUQEO5.js";
|
|
59
62
|
import "../../chunk-YJCCE5WP.js";
|
|
60
63
|
import "../../chunk-3SSSCLJ5.js";
|
|
61
|
-
import "../../chunk-EWD4AO5N.js";
|
|
62
|
-
import "../../chunk-YGL6SWKN.js";
|
|
63
64
|
import "../../chunk-UAN5JXP3.js";
|
|
64
|
-
import "../../chunk-UNTA4JJU.js";
|
|
65
65
|
import "../../chunk-N552FDTV.js";
|
|
66
66
|
export {
|
|
67
67
|
GoalManageCardRead
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
OnOfflineRadioCard
|
|
3
3
|
} from "../../chunk-5V7PQQCS.js";
|
|
4
4
|
import "../../chunk-FLMSBAPO.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-VC44WHIQ.js";
|
|
6
6
|
import "../../chunk-PCWEW2UL.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-I55PKI44.js";
|
|
8
|
+
import "../../chunk-GZRUTEDV.js";
|
|
9
|
+
import "../../chunk-SKXXJTNB.js";
|
|
10
10
|
import "../../chunk-BVNXAZ4W.js";
|
|
11
11
|
import "../../chunk-OCINOC2X.js";
|
|
12
12
|
import "../../chunk-EEWG4R2D.js";
|
|
13
13
|
import "../../chunk-FZKXTTBS.js";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-XGFGTMZU.js";
|
|
15
15
|
import "../../chunk-K55LGP5B.js";
|
|
16
16
|
import "../../chunk-V2DF2GUE.js";
|
|
17
17
|
import "../../chunk-W4GH6ZKK.js";
|
|
@@ -21,48 +21,54 @@ import "../../chunk-2BPFXK4L.js";
|
|
|
21
21
|
import "../../chunk-EDTEVEJW.js";
|
|
22
22
|
import "../../chunk-KEYEOMPM.js";
|
|
23
23
|
import "../../chunk-CFMW7GOI.js";
|
|
24
|
+
import "../../chunk-BSTJBBEX.js";
|
|
25
|
+
import "../../chunk-NDUKDKGB.js";
|
|
24
26
|
import "../../chunk-A6W2ZWYA.js";
|
|
25
27
|
import "../../chunk-SRZ6X74X.js";
|
|
28
|
+
import "../../chunk-EW6OPYEW.js";
|
|
29
|
+
import "../../chunk-VOQU7ZOV.js";
|
|
30
|
+
import "../../chunk-ZZYFULUQ.js";
|
|
26
31
|
import "../../chunk-5H3YPCZK.js";
|
|
27
32
|
import "../../chunk-FR2GDOU2.js";
|
|
28
33
|
import "../../chunk-74DX4CU7.js";
|
|
29
34
|
import "../../chunk-OYM4XCHQ.js";
|
|
30
35
|
import "../../chunk-YJ7ZFOYL.js";
|
|
31
36
|
import "../../chunk-5ZITU5L7.js";
|
|
32
|
-
import "../../chunk-
|
|
33
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-365QMK4D.js";
|
|
38
|
+
import "../../chunk-YO3BQW6S.js";
|
|
34
39
|
import "../../chunk-6IVCARWS.js";
|
|
35
40
|
import "../../chunk-6DJOIRMF.js";
|
|
36
41
|
import "../../chunk-FPD73OHW.js";
|
|
37
42
|
import "../../chunk-ZKZDVS7G.js";
|
|
38
43
|
import "../../chunk-MUNMDHRF.js";
|
|
39
44
|
import "../../chunk-TVDKGMBI.js";
|
|
40
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-O3T3TM3V.js";
|
|
41
46
|
import "../../chunk-XQOL7UBI.js";
|
|
42
47
|
import "../../chunk-TULWX7D6.js";
|
|
43
48
|
import "../../chunk-SIM6HKVI.js";
|
|
44
49
|
import "../../chunk-RKHPVH2G.js";
|
|
45
50
|
import "../../chunk-5AVBYDPB.js";
|
|
46
|
-
import "../../chunk-
|
|
47
|
-
import "../../chunk-
|
|
51
|
+
import "../../chunk-ODNY3R6A.js";
|
|
52
|
+
import "../../chunk-HYITAA4J.js";
|
|
53
|
+
import "../../chunk-4WFMOFN2.js";
|
|
48
54
|
import "../../chunk-WKFZ5MMN.js";
|
|
49
55
|
import "../../chunk-ACVANQJ4.js";
|
|
50
56
|
import "../../chunk-2DZ2Y3JI.js";
|
|
51
57
|
import "../../chunk-QDZS4B6A.js";
|
|
52
58
|
import "../../chunk-EGEQY3KT.js";
|
|
53
|
-
import "../../chunk-
|
|
54
|
-
import "../../chunk-
|
|
59
|
+
import "../../chunk-MIMJ7LON.js";
|
|
60
|
+
import "../../chunk-IQEEPHOY.js";
|
|
55
61
|
import "../../chunk-LHCDPZ5E.js";
|
|
56
62
|
import "../../chunk-OHMOP5PV.js";
|
|
57
63
|
import "../../chunk-LZJR77Q2.js";
|
|
58
64
|
import "../../chunk-Q37G2GS6.js";
|
|
59
65
|
import "../../chunk-VTJZMOSP.js";
|
|
60
|
-
import "../../chunk-
|
|
66
|
+
import "../../chunk-AGPJA7IM.js";
|
|
61
67
|
import "../../chunk-CYYWMYE7.js";
|
|
62
|
-
import "../../chunk-ODNY3R6A.js";
|
|
63
|
-
import "../../chunk-HYITAA4J.js";
|
|
64
68
|
import "../../chunk-O3DNDMV3.js";
|
|
65
|
-
import "../../chunk-
|
|
69
|
+
import "../../chunk-HK224ADT.js";
|
|
70
|
+
import "../../chunk-EWD4AO5N.js";
|
|
71
|
+
import "../../chunk-YGL6SWKN.js";
|
|
66
72
|
import "../../chunk-4Y5BEXVN.js";
|
|
67
73
|
import "../../chunk-NAL2USH5.js";
|
|
68
74
|
import "../../chunk-52MVZ6AN.js";
|
|
@@ -72,18 +78,12 @@ import "../../chunk-LQY4RKWI.js";
|
|
|
72
78
|
import "../../chunk-ZD7MNMED.js";
|
|
73
79
|
import "../../chunk-B6XJN6EC.js";
|
|
74
80
|
import "../../chunk-2ZQK7NTN.js";
|
|
75
|
-
import "../../chunk-
|
|
76
|
-
import "../../chunk-IQEEPHOY.js";
|
|
77
|
-
import "../../chunk-NDUKDKGB.js";
|
|
81
|
+
import "../../chunk-UNTA4JJU.js";
|
|
78
82
|
import "../../chunk-J242TTFH.js";
|
|
79
83
|
import "../../chunk-EAXUQEO5.js";
|
|
80
84
|
import "../../chunk-YJCCE5WP.js";
|
|
81
85
|
import "../../chunk-3SSSCLJ5.js";
|
|
82
|
-
import "../../chunk-EWD4AO5N.js";
|
|
83
|
-
import "../../chunk-YGL6SWKN.js";
|
|
84
86
|
import "../../chunk-UAN5JXP3.js";
|
|
85
|
-
import "../../chunk-UNTA4JJU.js";
|
|
86
|
-
import "../../chunk-BSTJBBEX.js";
|
|
87
87
|
import "../../chunk-N552FDTV.js";
|
|
88
88
|
export {
|
|
89
89
|
OnOfflineRadioCard
|
|
@@ -88,13 +88,10 @@ var Card = (0, import_react.forwardRef)(
|
|
|
88
88
|
);
|
|
89
89
|
Card.displayName = "Card";
|
|
90
90
|
|
|
91
|
-
// src/atoms/flex.tsx
|
|
92
|
-
var import_themes2 = require("@radix-ui/themes");
|
|
93
|
-
|
|
94
91
|
// src/atoms/heading.tsx
|
|
95
|
-
var
|
|
92
|
+
var import_themes2 = require("@radix-ui/themes");
|
|
96
93
|
var import_react2 = require("react");
|
|
97
|
-
var
|
|
94
|
+
var import_themes3 = require("@radix-ui/themes");
|
|
98
95
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
99
96
|
function Heading2(props) {
|
|
100
97
|
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
@@ -114,9 +111,12 @@ function Heading2(props) {
|
|
|
114
111
|
return size;
|
|
115
112
|
}
|
|
116
113
|
}, [size, variant]);
|
|
117
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes2.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
118
115
|
}
|
|
119
116
|
|
|
117
|
+
// src/atoms/flex.tsx
|
|
118
|
+
var import_themes4 = require("@radix-ui/themes");
|
|
119
|
+
|
|
120
120
|
// src/atoms/link.tsx
|
|
121
121
|
var import_themes5 = require("@radix-ui/themes");
|
|
122
122
|
var import_react3 = require("react");
|
|
@@ -246,7 +246,7 @@ var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
|
246
246
|
function ReportCard(props) {
|
|
247
247
|
const { title, file, status } = props;
|
|
248
248
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(Card, { children: [
|
|
249
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
249
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_themes4.Flex, { align: "center", justify: "between", children: [
|
|
250
250
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
251
251
|
status
|
|
252
252
|
] }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/app/platform/report-card.tsx","../../../src/atoms/card.tsx","../../../src/atoms/flex.tsx","../../../src/atoms/heading.tsx","../../../src/atoms/link.tsx","../../../src/molecules/download-card.tsx","../../chunk-N552FDTV.js","../../../src/atoms/flex.tsx","../../../src/atoms/typo.tsx","../../../src/atoms/icon-button.tsx"],"sourcesContent":["import React from 'react';\nimport { Card, Flex, Heading } from '@/atoms';\nimport type { Attachment } from '@/molecules';\nimport { DownloadCard } from '@/molecules';\n\nexport interface ReportCardProps {\n title?: string;\n file?: Attachment[];\n status?: React.ReactElement;\n}\n\nexport function ReportCard(props: ReportCardProps): React.ReactElement {\n const { title, file, status } = props;\n return (\n <Card>\n <Flex align=\"center\" justify=\"between\">\n <Heading variant=\"heading4\">{title}</Heading>\n {status}\n </Flex>\n {file?.map((el) => {\n return <DownloadCard key={el.url} {...el} />;\n })}\n </Card>\n );\n}\n","import { forwardRef, useMemo } from 'react';\nimport {\n Card as RadixCard,\n type CardProps as RadixCardProps,\n} from '@radix-ui/themes';\n\nexport type CardProps = RadixCardProps & {\n borderRadius?: 'none';\n borderDisable?: {\n left?: boolean;\n right?: boolean;\n top?: boolean;\n bottom?: boolean;\n };\n error?: boolean;\n};\n\nexport const Card = forwardRef<HTMLDivElement, CardProps>(\n (props, forwardedRef) => {\n const { borderDisable, borderRadius, error, ...rest } = props;\n\n const borderInsetClassName = useMemo(() => {\n if (!borderDisable) return '';\n const { left, right, top, bottom } = borderDisable;\n return [\n left && 'disable-inset-left',\n right && 'disable-inset-right',\n top && 'disable-inset-top',\n bottom && 'disable-inset-bottom',\n ]\n .filter(Boolean)\n .join(' ');\n }, [borderDisable]);\n\n const errorClsName = useMemo(() => {\n return error ? ' error' : '';\n }, [error]);\n\n return (\n <RadixCard\n variant=\"surface\"\n {...rest}\n className={`${borderInsetClassName}${errorClsName} ${rest.className || ''}`}\n data-radius={borderRadius}\n ref={forwardedRef}\n />\n );\n }\n);\n\nCard.displayName = 'Card';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type HeadingProps = RadixHeadingProps & {\n variant?: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5';\n};\n\nexport function Heading(props: HeadingProps): React.ReactElement {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n switch (variant) {\n case 'heading1':\n return '7';\n case 'heading2':\n return '6';\n case 'heading3':\n return '5';\n case 'heading4':\n return '4';\n case 'heading5':\n return '3';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n","import {\n Link as RadixLink,\n type LinkProps as RadixLinkProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type LinkProps = RadixLinkProps & {\n variant?: 'caption' | 'body' | 'subtitle';\n};\n\nexport function Link(props: LinkProps): React.ReactElement {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixLinkProps['size']>(() => {\n switch (variant) {\n case 'caption':\n return '1';\n case 'body':\n return '2';\n case 'subtitle':\n return '3';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixLink {...rest} size={radixSize}>\n {children}\n </RadixLink>\n );\n}\n","import React from 'react';\nimport { DownloadIcon } from '@radix-ui/react-icons';\nimport { Flex, IconButton, Typo } from '@tipp/ui';\nimport { Link } from '../atoms/link';\n\nexport interface Attachment {\n fileName: string;\n url: string;\n createdAt?: Date;\n size?: string;\n}\n\nexport function DownloadCard({\n fileName,\n url,\n createdAt,\n size,\n}: Attachment): React.ReactElement {\n return (\n <Link download={fileName} href={url} key={createdAt?.valueOf() + fileName}>\n <IconButton\n mt=\"3\"\n size=\"4\"\n style={{ width: '100%', height: 56 }}\n variant=\"soft\"\n >\n <Flex align=\"center\" gap=\"3\" pl=\"4\" width=\"100%\">\n <Typo color=\"gray\">\n <DownloadIcon height={20} width={20} />\n </Typo>\n <Flex align=\"start\" direction=\"column\" gap=\"1\">\n <Typo\n style={{\n color: 'var(--gray-12)',\n }}\n variant=\"caption\"\n >\n {fileName}\n </Typo>\n <Typo color=\"gray\" variant=\"caption\">\n {size}\n </Typo>\n </Flex>\n </Flex>\n </IconButton>\n </Link>\n );\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\n\nexport {\n __spreadValues,\n __spreadProps,\n __objRest\n};\n//# sourceMappingURL=chunk-N552FDTV.js.map","export { Flex, type FlexProps } from '@radix-ui/themes';\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\n\nexport type TypoProps = RadixTextProps & {\n variant?: 'body' | 'caption' | 'subtitle';\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactElement => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n switch (variant) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n }, [size, variant]);\n\n return (\n <RadixText {...rest} ref={ref} size={radixSize}>\n {children}\n </RadixText>\n );\n }\n);\n\nTypo.displayName = 'Typo';\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAoC;AACpC,oBAGO;AAmCD;AAtBC,IAAM,WAAO;AAAA,EAClB,CAAC,OAAO,iBAAiB;AACvB,UAAwD,YAAhD,iBAAe,cAAc,MAnBzC,IAmB4D,IAAT,iBAAS,IAAT,CAAvC,iBAAe,gBAAc;AAErC,UAAM,2BAAuB,sBAAQ,MAAM;AACzC,UAAI,CAAC;AAAe,eAAO;AAC3B,YAAM,EAAE,MAAM,OAAO,KAAK,OAAO,IAAI;AACrC,aAAO;AAAA,QACL,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,OAAO;AAAA,QACP,UAAU;AAAA,MACZ,EACG,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,I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AAA;AAAA,cACC,OAAO;AAAA,gBACL,OAAO;AAAA,cACT;AAAA,cACA,SAAQ;AAAA,cAEP;AAAA;AAAA,UACH;AAAA,UACA,6CAAC,QAAK,OAAM,QAAO,SAAQ,WACxB,gBACH;AAAA,WACF;AAAA,SACF;AAAA;AAAA,EACF,MAzBwC,uCAAW,aAAY,QA0BjE;AAEJ;;;ALhCM,IAAAC,sBAAA;AAJC,SAAS,WAAW,OAA4C;AACrE,QAAM,EAAE,OAAO,MAAM,OAAO,IAAI;AAChC,SACE,8CAAC,QACC;AAAA,kDAAC,uBAAK,OAAM,UAAS,SAAQ,WAC3B;AAAA,mDAACC,UAAA,EAAQ,SAAQ,YAAY,iBAAM;AAAA,MAClC;AAAA,OACH;AAAA,IACC,6BAAM,IAAI,CAAC,OAAO;AACjB,aAAO,6CAAC,iCAA8B,KAAZ,GAAG,GAAa;AAAA,IAC5C;AAAA,KACF;AAEJ;","names":["RadixCard","import_themes","import_themes","import_react","import_jsx_runtime","Heading","RadixHeading","import_themes","import_react","import_jsx_runtime","RadixLink","__defProp","__defProps","__getOwnPropDescs","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","__spreadValues","__spreadProps","__objRest","import_themes","import_themes","import_react","import_jsx_runtime","__objRest","RadixText","__spreadProps","__spreadValues","import_themes","import_jsx_runtime","import_jsx_runtime","Heading"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/app/platform/report-card.tsx","../../../src/atoms/card.tsx","../../../src/atoms/heading.tsx","../../../src/atoms/flex.tsx","../../../src/atoms/link.tsx","../../../src/molecules/download-card.tsx","../../chunk-N552FDTV.js","../../../src/atoms/flex.tsx","../../../src/atoms/typo.tsx","../../../src/atoms/icon-button.tsx"],"sourcesContent":["import React from 'react';\nimport { Card, Flex, Heading } from '@/atoms';\nimport type { Attachment } from '@/molecules';\nimport { DownloadCard } from '@/molecules';\n\nexport interface ReportCardProps {\n title?: string;\n file?: Attachment[];\n status?: React.ReactElement;\n}\n\nexport function ReportCard(props: ReportCardProps): React.ReactElement {\n const { title, file, status } = props;\n return (\n <Card>\n <Flex align=\"center\" justify=\"between\">\n <Heading variant=\"heading4\">{title}</Heading>\n {status}\n </Flex>\n {file?.map((el) => {\n return <DownloadCard key={el.url} {...el} />;\n })}\n </Card>\n );\n}\n","import { forwardRef, useMemo } from 'react';\nimport {\n Card as RadixCard,\n type CardProps as RadixCardProps,\n} from '@radix-ui/themes';\n\nexport type CardProps = RadixCardProps & {\n borderRadius?: 'none';\n borderDisable?: {\n left?: boolean;\n right?: boolean;\n top?: boolean;\n bottom?: boolean;\n };\n error?: boolean;\n};\n\nexport const Card = forwardRef<HTMLDivElement, CardProps>(\n (props, forwardedRef) => {\n const { borderDisable, borderRadius, error, ...rest } = props;\n\n const borderInsetClassName = useMemo(() => {\n if (!borderDisable) return '';\n const { left, right, top, bottom } = borderDisable;\n return [\n left && 'disable-inset-left',\n right && 'disable-inset-right',\n top && 'disable-inset-top',\n bottom && 'disable-inset-bottom',\n ]\n .filter(Boolean)\n .join(' ');\n }, [borderDisable]);\n\n const errorClsName = useMemo(() => {\n return error ? ' error' : '';\n }, [error]);\n\n return (\n <RadixCard\n variant=\"surface\"\n {...rest}\n className={`${borderInsetClassName}${errorClsName} ${rest.className || ''}`}\n data-radius={borderRadius}\n ref={forwardedRef}\n />\n );\n }\n);\n\nCard.displayName = 'Card';\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type HeadingProps = RadixHeadingProps & {\n variant?: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5';\n};\n\nexport function Heading(props: HeadingProps): React.ReactElement {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n switch (variant) {\n case 'heading1':\n return '7';\n case 'heading2':\n return '6';\n case 'heading3':\n return '5';\n case 'heading4':\n return '4';\n case 'heading5':\n return '3';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","import {\n Link as RadixLink,\n type LinkProps as RadixLinkProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type LinkProps = RadixLinkProps & {\n variant?: 'caption' | 'body' | 'subtitle';\n};\n\nexport function Link(props: LinkProps): React.ReactElement {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixLinkProps['size']>(() => {\n switch (variant) {\n case 'caption':\n return '1';\n case 'body':\n return '2';\n case 'subtitle':\n return '3';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixLink {...rest} size={radixSize}>\n {children}\n </RadixLink>\n );\n}\n","import React from 'react';\nimport { DownloadIcon } from '@radix-ui/react-icons';\nimport { Flex, IconButton, Typo } from '@tipp/ui';\nimport { Link } from '../atoms/link';\n\nexport interface Attachment {\n fileName: string;\n url: string;\n createdAt?: Date;\n size?: string;\n}\n\nexport function DownloadCard({\n fileName,\n url,\n createdAt,\n size,\n}: Attachment): React.ReactElement {\n return (\n <Link download={fileName} href={url} key={createdAt?.valueOf() + fileName}>\n <IconButton\n mt=\"3\"\n size=\"4\"\n style={{ width: '100%', height: 56 }}\n variant=\"soft\"\n >\n <Flex align=\"center\" gap=\"3\" pl=\"4\" width=\"100%\">\n <Typo color=\"gray\">\n <DownloadIcon height={20} width={20} />\n </Typo>\n <Flex align=\"start\" direction=\"column\" gap=\"1\">\n <Typo\n style={{\n color: 'var(--gray-12)',\n }}\n variant=\"caption\"\n >\n {fileName}\n </Typo>\n <Typo color=\"gray\" variant=\"caption\">\n {size}\n </Typo>\n </Flex>\n </Flex>\n </IconButton>\n </Link>\n );\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\n\nexport {\n __spreadValues,\n __spreadProps,\n __objRest\n};\n//# sourceMappingURL=chunk-N552FDTV.js.map","export { Flex, type FlexProps } from '@radix-ui/themes';\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\n\nexport type TypoProps = RadixTextProps & {\n variant?: 'body' | 'caption' | 'subtitle';\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactElement => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n switch (variant) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n }, [size, variant]);\n\n return (\n <RadixText {...rest} ref={ref} size={radixSize}>\n {children}\n </RadixText>\n );\n }\n);\n\nTypo.displayName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A,CAAA,CACH;EAEJ;AACF;AAEA,KAAK,cAAc;;;ACjCnB,IAAAC,iBAAiD;;;AJ4BrC,IAAAC,sBAAA;AAhBL,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAmC;AACjC,SACE,6CAAC,QAAK,UAAU,UAAU,MAAM,KAC9B;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,MAAK;AAAA,MACL,OAAO,EAAE,OAAO,QAAQ,QAAQ,GAAG;AAAA,MACnC,SAAQ;AAAA,MAER,wDAAC,uBAAK,OAAM,UAAS,KAAI,KAAI,IAAG,KAAI,OAAM,QACxC;AAAA,qDAAC,QAAK,OAAM,QACV,uDAAC,mCAAa,QAAQ,IAAI,OAAO,IAAI,GACvC;AAAA,QACA,8CAAC,uBAAK,OAAM,SAAQ,WAAU,UAAS,KAAI,KACzC;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,OAAO;AAAA,gBACL,OAAO;AAAA,cACT;AAAA,cACA,SAAQ;AAAA,cAEP;AAAA;AAAA,UACH;AAAA,UACA,6CAAC,QAAK,OAAM,QAAO,SAAQ,WACxB,gBACH;AAAA,WACF;AAAA,SACF;AAAA;AAAA,EACF,MAzBwC,uCAAW,aAAY,QA0BjE;AAEJ;;;ALhCM,IAAAC,sBAAA;AAJC,SAAS,WAAW,OAA4C;AACrE,QAAM,EAAE,OAAO,MAAM,OAAO,IAAI;AAChC,SACE,8CAAC,QACC;AAAA,kDAAC,uBAAK,OAAM,UAAS,SAAQ,WAC3B;AAAA,mDAACC,UAAA,EAAQ,SAAQ,YAAY,iBAAM;AAAA,MAClC;AAAA,OACH;AAAA,IACC,6BAAM,IAAI,CAAC,OAAO;AACjB,aAAO,6CAAC,iCAA8B,KAAZ,GAAG,GAAa;AAAA,IAC5C;AAAA,KACF;AAEJ;","names":["RadixCard","import_themes","import_react","import_jsx_runtime","Heading","RadixHeading","import_themes","import_themes","import_react","import_jsx_runtime","RadixLink","__defProp","__defProps","__getOwnPropDescs","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","__spreadValues","__spreadProps","__objRest","import_themes","import_themes","import_react","import_jsx_runtime","__objRest","RadixText","__spreadProps","__spreadValues","import_themes","import_jsx_runtime","import_jsx_runtime","Heading"]}
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ReportCard
|
|
3
3
|
} from "../../chunk-POD3FINE.js";
|
|
4
4
|
import "../../chunk-FLMSBAPO.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-VC44WHIQ.js";
|
|
6
6
|
import "../../chunk-PCWEW2UL.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-I55PKI44.js";
|
|
8
|
+
import "../../chunk-GZRUTEDV.js";
|
|
9
|
+
import "../../chunk-SKXXJTNB.js";
|
|
10
10
|
import "../../chunk-BVNXAZ4W.js";
|
|
11
11
|
import "../../chunk-OCINOC2X.js";
|
|
12
12
|
import "../../chunk-EEWG4R2D.js";
|
|
13
13
|
import "../../chunk-FZKXTTBS.js";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-XGFGTMZU.js";
|
|
15
15
|
import "../../chunk-K55LGP5B.js";
|
|
16
16
|
import "../../chunk-V2DF2GUE.js";
|
|
17
17
|
import "../../chunk-W4GH6ZKK.js";
|
|
@@ -21,48 +21,54 @@ import "../../chunk-2BPFXK4L.js";
|
|
|
21
21
|
import "../../chunk-EDTEVEJW.js";
|
|
22
22
|
import "../../chunk-KEYEOMPM.js";
|
|
23
23
|
import "../../chunk-CFMW7GOI.js";
|
|
24
|
+
import "../../chunk-BSTJBBEX.js";
|
|
25
|
+
import "../../chunk-NDUKDKGB.js";
|
|
24
26
|
import "../../chunk-A6W2ZWYA.js";
|
|
25
27
|
import "../../chunk-SRZ6X74X.js";
|
|
28
|
+
import "../../chunk-EW6OPYEW.js";
|
|
29
|
+
import "../../chunk-VOQU7ZOV.js";
|
|
30
|
+
import "../../chunk-ZZYFULUQ.js";
|
|
26
31
|
import "../../chunk-5H3YPCZK.js";
|
|
27
32
|
import "../../chunk-FR2GDOU2.js";
|
|
28
33
|
import "../../chunk-74DX4CU7.js";
|
|
29
34
|
import "../../chunk-OYM4XCHQ.js";
|
|
30
35
|
import "../../chunk-YJ7ZFOYL.js";
|
|
31
36
|
import "../../chunk-5ZITU5L7.js";
|
|
32
|
-
import "../../chunk-
|
|
33
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-365QMK4D.js";
|
|
38
|
+
import "../../chunk-YO3BQW6S.js";
|
|
34
39
|
import "../../chunk-6IVCARWS.js";
|
|
35
40
|
import "../../chunk-6DJOIRMF.js";
|
|
36
41
|
import "../../chunk-FPD73OHW.js";
|
|
37
42
|
import "../../chunk-ZKZDVS7G.js";
|
|
38
43
|
import "../../chunk-MUNMDHRF.js";
|
|
39
44
|
import "../../chunk-TVDKGMBI.js";
|
|
40
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-O3T3TM3V.js";
|
|
41
46
|
import "../../chunk-XQOL7UBI.js";
|
|
42
47
|
import "../../chunk-TULWX7D6.js";
|
|
43
48
|
import "../../chunk-SIM6HKVI.js";
|
|
44
49
|
import "../../chunk-RKHPVH2G.js";
|
|
45
50
|
import "../../chunk-5AVBYDPB.js";
|
|
46
|
-
import "../../chunk-
|
|
47
|
-
import "../../chunk-
|
|
51
|
+
import "../../chunk-ODNY3R6A.js";
|
|
52
|
+
import "../../chunk-HYITAA4J.js";
|
|
53
|
+
import "../../chunk-4WFMOFN2.js";
|
|
48
54
|
import "../../chunk-WKFZ5MMN.js";
|
|
49
55
|
import "../../chunk-ACVANQJ4.js";
|
|
50
56
|
import "../../chunk-2DZ2Y3JI.js";
|
|
51
57
|
import "../../chunk-QDZS4B6A.js";
|
|
52
58
|
import "../../chunk-EGEQY3KT.js";
|
|
53
|
-
import "../../chunk-
|
|
54
|
-
import "../../chunk-
|
|
59
|
+
import "../../chunk-MIMJ7LON.js";
|
|
60
|
+
import "../../chunk-IQEEPHOY.js";
|
|
55
61
|
import "../../chunk-LHCDPZ5E.js";
|
|
56
62
|
import "../../chunk-OHMOP5PV.js";
|
|
57
63
|
import "../../chunk-LZJR77Q2.js";
|
|
58
64
|
import "../../chunk-Q37G2GS6.js";
|
|
59
65
|
import "../../chunk-VTJZMOSP.js";
|
|
60
|
-
import "../../chunk-
|
|
66
|
+
import "../../chunk-AGPJA7IM.js";
|
|
61
67
|
import "../../chunk-CYYWMYE7.js";
|
|
62
|
-
import "../../chunk-ODNY3R6A.js";
|
|
63
|
-
import "../../chunk-HYITAA4J.js";
|
|
64
68
|
import "../../chunk-O3DNDMV3.js";
|
|
65
|
-
import "../../chunk-
|
|
69
|
+
import "../../chunk-HK224ADT.js";
|
|
70
|
+
import "../../chunk-EWD4AO5N.js";
|
|
71
|
+
import "../../chunk-YGL6SWKN.js";
|
|
66
72
|
import "../../chunk-4Y5BEXVN.js";
|
|
67
73
|
import "../../chunk-NAL2USH5.js";
|
|
68
74
|
import "../../chunk-52MVZ6AN.js";
|
|
@@ -72,18 +78,12 @@ import "../../chunk-LQY4RKWI.js";
|
|
|
72
78
|
import "../../chunk-ZD7MNMED.js";
|
|
73
79
|
import "../../chunk-B6XJN6EC.js";
|
|
74
80
|
import "../../chunk-2ZQK7NTN.js";
|
|
75
|
-
import "../../chunk-
|
|
76
|
-
import "../../chunk-IQEEPHOY.js";
|
|
77
|
-
import "../../chunk-NDUKDKGB.js";
|
|
81
|
+
import "../../chunk-UNTA4JJU.js";
|
|
78
82
|
import "../../chunk-J242TTFH.js";
|
|
79
83
|
import "../../chunk-EAXUQEO5.js";
|
|
80
84
|
import "../../chunk-YJCCE5WP.js";
|
|
81
85
|
import "../../chunk-3SSSCLJ5.js";
|
|
82
|
-
import "../../chunk-EWD4AO5N.js";
|
|
83
|
-
import "../../chunk-YGL6SWKN.js";
|
|
84
86
|
import "../../chunk-UAN5JXP3.js";
|
|
85
|
-
import "../../chunk-UNTA4JJU.js";
|
|
86
|
-
import "../../chunk-BSTJBBEX.js";
|
|
87
87
|
import "../../chunk-N552FDTV.js";
|
|
88
88
|
export {
|
|
89
89
|
ReportCard
|
|
@@ -209,16 +209,10 @@ var Card = (0, import_react3.forwardRef)(
|
|
|
209
209
|
);
|
|
210
210
|
Card.displayName = "Card";
|
|
211
211
|
|
|
212
|
-
// src/atoms/flex.tsx
|
|
213
|
-
var import_themes5 = require("@radix-ui/themes");
|
|
214
|
-
|
|
215
|
-
// src/atoms/grid.tsx
|
|
216
|
-
var import_themes6 = require("@radix-ui/themes");
|
|
217
|
-
|
|
218
212
|
// src/atoms/heading.tsx
|
|
219
|
-
var
|
|
213
|
+
var import_themes5 = require("@radix-ui/themes");
|
|
220
214
|
var import_react4 = require("react");
|
|
221
|
-
var
|
|
215
|
+
var import_themes6 = require("@radix-ui/themes");
|
|
222
216
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
223
217
|
function Heading2(props) {
|
|
224
218
|
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
@@ -238,10 +232,16 @@ function Heading2(props) {
|
|
|
238
232
|
return size;
|
|
239
233
|
}
|
|
240
234
|
}, [size, variant]);
|
|
241
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
235
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes5.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
|
|
242
236
|
}
|
|
243
237
|
|
|
244
238
|
// src/atoms/icon-button.tsx
|
|
239
|
+
var import_themes7 = require("@radix-ui/themes");
|
|
240
|
+
|
|
241
|
+
// src/atoms/flex.tsx
|
|
242
|
+
var import_themes8 = require("@radix-ui/themes");
|
|
243
|
+
|
|
244
|
+
// src/atoms/grid.tsx
|
|
245
245
|
var import_themes9 = require("@radix-ui/themes");
|
|
246
246
|
|
|
247
247
|
// src/atoms/inset.tsx
|
|
@@ -448,7 +448,7 @@ function BulletText(_a) {
|
|
|
448
448
|
} = _b, rest = __objRest(_b, [
|
|
449
449
|
"children"
|
|
450
450
|
]);
|
|
451
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
451
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_themes8.Flex, { gap: "1", ml: "2", children: [
|
|
452
452
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
453
453
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
454
454
|
] });
|
|
@@ -467,7 +467,7 @@ var DatePicker = (0, import_react8.forwardRef)(
|
|
|
467
467
|
(props, ref) => {
|
|
468
468
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
469
469
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
470
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes8.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
471
471
|
ReactDatePicker,
|
|
472
472
|
__spreadProps(__spreadValues({
|
|
473
473
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -498,9 +498,9 @@ var renderCustomHeader = (props) => {
|
|
|
498
498
|
} = props;
|
|
499
499
|
const year = date ? date.getFullYear() : "-";
|
|
500
500
|
const month = date ? date.getMonth() + 1 : "-";
|
|
501
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes8.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
502
502
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
503
|
-
|
|
503
|
+
import_themes7.IconButton,
|
|
504
504
|
{
|
|
505
505
|
disabled: prevMonthButtonDisabled,
|
|
506
506
|
onClick: decreaseMonth,
|
|
@@ -509,7 +509,7 @@ var renderCustomHeader = (props) => {
|
|
|
509
509
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_icons.ChevronLeftIcon, {})
|
|
510
510
|
}
|
|
511
511
|
),
|
|
512
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
512
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes8.Flex, { gap: "3", children: [
|
|
513
513
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
514
514
|
year,
|
|
515
515
|
"\uB144"
|
|
@@ -520,7 +520,7 @@ var renderCustomHeader = (props) => {
|
|
|
520
520
|
] })
|
|
521
521
|
] }),
|
|
522
522
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
523
|
-
|
|
523
|
+
import_themes7.IconButton,
|
|
524
524
|
{
|
|
525
525
|
disabled: nextMonthButtonDisabled,
|
|
526
526
|
onClick: increaseMonth,
|
|
@@ -553,7 +553,7 @@ function DatePickerButton(props) {
|
|
|
553
553
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_themes2.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
554
554
|
DatePicker,
|
|
555
555
|
__spreadProps(__spreadValues({
|
|
556
|
-
customInput: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
556
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, __spreadProps(__spreadValues({ type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_themes8.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
557
557
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
558
558
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_icons.CalendarIcon, {})
|
|
559
559
|
] }) })),
|
|
@@ -599,7 +599,7 @@ function TimeSelect(_a) {
|
|
|
599
599
|
return getTimeOptions();
|
|
600
600
|
}, []);
|
|
601
601
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
602
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
602
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes8.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
|
|
603
603
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Select.Content, { children: timeOptions.map((time) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Select.Item, { value: time, children: time }, time)) })
|
|
604
604
|
] }));
|
|
605
605
|
}
|
|
@@ -642,7 +642,7 @@ function Item(_a) {
|
|
|
642
642
|
"justify",
|
|
643
643
|
"RadioWrapper"
|
|
644
644
|
]);
|
|
645
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_themes12.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_themes12.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes8.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
646
646
|
children,
|
|
647
647
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
648
648
|
import_themes11.Radio,
|
|
@@ -683,11 +683,11 @@ function OnOfflineRadioCard(props) {
|
|
|
683
683
|
justify
|
|
684
684
|
}, props), {
|
|
685
685
|
children: [
|
|
686
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
686
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes8.Flex, { align: "center", gap: "2", children: [
|
|
687
687
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_icons2.GlobeIcon, {}) }),
|
|
688
688
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
689
689
|
] }) }),
|
|
690
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
690
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes8.Flex, { align: "center", gap: "2", children: [
|
|
691
691
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_icons2.BackpackIcon, {}) }),
|
|
692
692
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
693
693
|
] }) })
|
|
@@ -771,15 +771,15 @@ function ReservationCard(props) {
|
|
|
771
771
|
size: "3",
|
|
772
772
|
style: { overflow: "visible", contain: "initial" },
|
|
773
773
|
children: [
|
|
774
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
774
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes8.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
775
775
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
776
|
-
|
|
776
|
+
import_themes9.Grid,
|
|
777
777
|
{
|
|
778
778
|
align: "center",
|
|
779
779
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
780
780
|
gapY: "2",
|
|
781
781
|
children: [
|
|
782
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
782
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes8.Flex, { align: "center", children: [
|
|
783
783
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Heading2, { variant: "heading4", children: [
|
|
784
784
|
customerName || "-",
|
|
785
785
|
"\uB2D8 ",
|
|
@@ -792,7 +792,7 @@ function ReservationCard(props) {
|
|
|
792
792
|
]
|
|
793
793
|
}
|
|
794
794
|
),
|
|
795
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
795
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes8.Flex, { children: ActionButtons })
|
|
796
796
|
] }),
|
|
797
797
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes2.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
798
798
|
Form.Root,
|
|
@@ -800,10 +800,10 @@ function ReservationCard(props) {
|
|
|
800
800
|
onSubmit: (e) => {
|
|
801
801
|
e.preventDefault();
|
|
802
802
|
},
|
|
803
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
803
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes8.Flex, { direction: "column", gap: "5", children: [
|
|
804
804
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Form.Label, { asChild: true, children: [
|
|
805
805
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
806
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
806
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes9.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
807
807
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
808
808
|
DatePickerButton,
|
|
809
809
|
{
|
|
@@ -837,7 +837,7 @@ function ReservationCard(props) {
|
|
|
837
837
|
}
|
|
838
838
|
) })
|
|
839
839
|
] }),
|
|
840
|
-
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
840
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes8.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
841
841
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
842
842
|
Button,
|
|
843
843
|
{
|
|
@@ -861,7 +861,7 @@ function ReservationCard(props) {
|
|
|
861
861
|
py: "4",
|
|
862
862
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
863
863
|
width: "100%",
|
|
864
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes8.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
865
865
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Typo, { children: [
|
|
866
866
|
sessionNumber || "-",
|
|
867
867
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|