@tipp/ui 2.3.37 → 2.3.39
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 +421 -360
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +59 -58
- package/dist/app/platform/coach-question-list.cjs +96 -35
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +5 -4
- package/dist/app/platform/contents-card.cjs +128 -67
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +6 -5
- package/dist/app/platform/curriculum-card.cjs +77 -16
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +4 -3
- package/dist/app/platform/edit-coaching-time.cjs +196 -135
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +39 -38
- package/dist/app/platform/edit-service-type.cjs +188 -127
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +38 -37
- package/dist/app/platform/goal-manage-card-edit.cjs +198 -137
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +39 -38
- package/dist/app/platform/goal-manage-card-read.cjs +126 -65
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +6 -5
- package/dist/app/platform/on-offline-radio-card.cjs +216 -155
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +38 -37
- package/dist/app/platform/report-card.cjs +99 -38
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +6 -5
- package/dist/app/platform/reservation-card.cjs +212 -151
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +39 -38
- package/dist/app/platform/session-card.cjs +241 -180
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +40 -39
- package/dist/app/platform/session-review-simple-read.cjs +97 -36
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +5 -4
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +130 -69
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +9 -8
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +107 -46
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +5 -4
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +110 -49
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +5 -4
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +96 -35
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +5 -4
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +106 -45
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +5 -4
- package/dist/app/platform/userInfos/utils.cjs +98 -37
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +5 -4
- package/dist/atoms/index.cjs +121 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +5 -4
- package/dist/atoms/list.cjs +1 -0
- package/dist/atoms/list.cjs.map +1 -1
- package/dist/atoms/list.js +1 -1
- package/dist/atoms/pagination.cjs +76 -15
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +4 -3
- package/dist/{chunk-GXPEADVY.js → chunk-2REWQIZJ.js} +2 -2
- package/dist/{chunk-ZKS3IW7D.js → chunk-55K447PE.js} +5 -5
- package/dist/{chunk-LT6LBTA7.js → chunk-ADAQSPUA.js} +2 -2
- package/dist/chunk-B3VSXNTH.js +71 -0
- package/dist/chunk-B3VSXNTH.js.map +1 -0
- package/dist/{chunk-2XNWJT3U.js → chunk-BXRTYDSY.js} +2 -2
- package/dist/{chunk-XXMZLXDE.js → chunk-CIQ66LY6.js} +2 -2
- package/dist/{chunk-CI2XFT7Y.js → chunk-DKUHYVHC.js} +2 -2
- package/dist/{chunk-VH37R5IH.js → chunk-HBQY4ELG.js} +2 -2
- package/dist/{chunk-I5RQ5T4B.js → chunk-HXLXXCB7.js} +2 -2
- package/dist/{chunk-BFRNEBJN.js → chunk-HYMODLGE.js} +3 -3
- package/dist/{chunk-XWNFR24N.js → chunk-IZOZGJPW.js} +3 -3
- package/dist/{chunk-DLP4UUNG.js → chunk-JU7GB6R2.js} +3 -1
- package/dist/{chunk-DLP4UUNG.js.map → chunk-JU7GB6R2.js.map} +1 -1
- package/dist/chunk-JVXATVAC.js +1 -0
- package/dist/{chunk-HIMIOODO.js → chunk-K2XSUIM7.js} +3 -3
- package/dist/{chunk-FVNXDLRU.js → chunk-LE6CNJWH.js} +2 -2
- package/dist/{chunk-LFYQFYWO.js → chunk-OE2AVQED.js} +2 -2
- package/dist/{chunk-NIMLBANB.js → chunk-OOXXMKJS.js} +2 -2
- package/dist/{chunk-TTVJOFG5.js → chunk-P6DHFQXU.js} +4 -4
- package/dist/{chunk-ZVSATS4O.js → chunk-Q3NPY6DI.js} +2 -2
- package/dist/{chunk-HWK3UPZ3.js → chunk-Q7KT3UPO.js} +3 -3
- package/dist/{chunk-SNPAB3HJ.js → chunk-QHHD36G7.js} +2 -2
- package/dist/{chunk-3Z2XZ4ZG.js → chunk-QNJ2H7J4.js} +2 -2
- package/dist/{chunk-V7MD4RRM.js → chunk-R4BUPO55.js} +2 -2
- package/dist/{chunk-6TQGX5ZU.js → chunk-REPTW53S.js} +2 -2
- package/dist/{chunk-76PNGKCB.js → chunk-RSZDAY62.js} +2 -2
- package/dist/{chunk-QANVXCYU.js → chunk-S23S57PQ.js} +6 -6
- package/dist/{chunk-OXZ25J7F.js → chunk-SE5TPTP2.js} +2 -2
- package/dist/{chunk-MTGKF6SO.js → chunk-SLFUYRIC.js} +2 -2
- package/dist/{chunk-E5ZJDDZH.js → chunk-SLZNCBSK.js} +3 -3
- package/dist/{chunk-M6C7IXCB.js → chunk-UMUSNH2D.js} +2 -2
- package/dist/{chunk-GFRYS4IN.js → chunk-UTMCR27N.js} +2 -2
- package/dist/{chunk-4PYFMD24.js → chunk-V7IC4EAC.js} +4 -4
- package/dist/{chunk-GXWE3QNN.js → chunk-VPKWECOE.js} +2 -2
- package/dist/{chunk-JIJLOKVN.js → chunk-X4OCUESK.js} +2 -1
- package/dist/chunk-X4OCUESK.js.map +1 -0
- package/dist/{chunk-BKYPABII.js → chunk-YC5XSFKC.js} +8 -8
- package/dist/{chunk-3DEAIJBF.js → chunk-YZLPQOH2.js} +3 -3
- package/dist/icon.cjs +65 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +2 -1
- package/dist/icon.d.ts +2 -1
- package/dist/icon.js +8 -2
- package/dist/icons/headset.cjs +128 -0
- package/dist/icons/headset.cjs.map +1 -0
- package/dist/icons/headset.d.cts +6 -0
- package/dist/icons/headset.d.ts +6 -0
- package/dist/icons/headset.js +8 -0
- package/dist/icons/headset.js.map +1 -0
- package/dist/icons/index.cjs +63 -0
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +5 -1
- package/dist/index.cjs +951 -885
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +18 -12
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +82 -76
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +125 -64
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +8 -7
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +67 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +105 -44
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +70 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +79 -18
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +71 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +71 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +78 -17
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +75 -14
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +181 -120
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +10 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +83 -22
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +68 -7
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +199 -138
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +11 -10
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +248 -187
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +15 -14
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +71 -10
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +90 -29
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +82 -21
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +5 -4
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +74 -13
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +4 -3
- package/dist/molecules/curriculumV2/index.cjs +290 -229
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +24 -23
- package/dist/molecules/date-picker/date-picker-button.cjs +87 -26
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +5 -4
- package/dist/molecules/date-picker/index.cjs +78 -17
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +4 -3
- package/dist/molecules/description-json-render.cjs +70 -8
- package/dist/molecules/description-json-render.cjs.map +1 -1
- package/dist/molecules/description-json-render.js +6 -5
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +176 -115
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +4 -3
- package/dist/molecules/dynamic-form-editor.cjs +257 -196
- package/dist/molecules/dynamic-form-editor.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor.js +6 -5
- package/dist/molecules/expand-table/index.cjs +101 -40
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +5 -4
- package/dist/molecules/index.cjs +725 -663
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +52 -51
- package/dist/molecules/one-on-one-guide-list.cjs +1 -0
- package/dist/molecules/one-on-one-guide-list.cjs.map +1 -1
- package/dist/molecules/one-on-one-guide-list.js +2 -2
- package/dist/molecules/stepper.cjs +81 -20
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +4 -3
- package/dist/molecules/tag-selector.cjs +81 -20
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +4 -3
- package/dist/molecules/time-select.cjs +66 -5
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +4 -3
- package/dist/types/index.js +1 -1
- package/dist/utils/curriculum.utils.cjs +61 -0
- package/dist/utils/curriculum.utils.cjs.map +1 -1
- package/dist/utils/curriculum.utils.js +3 -2
- package/dist/utils/get-callout-icon-component.cjs +61 -0
- package/dist/utils/get-callout-icon-component.cjs.map +1 -1
- package/dist/utils/get-callout-icon-component.js +4 -3
- package/dist/utils/index.cjs +61 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +4 -3
- package/package.json +1 -1
- package/src/atoms/list.tsx +1 -0
- package/src/icon.ts +1 -0
- package/src/icons/headset.tsx +46 -0
- package/src/icons/index.ts +2 -1
- package/dist/chunk-JIJLOKVN.js.map +0 -1
- package/dist/chunk-VD7AQ7HK.js +0 -1
- /package/dist/{chunk-GXPEADVY.js.map → chunk-2REWQIZJ.js.map} +0 -0
- /package/dist/{chunk-ZKS3IW7D.js.map → chunk-55K447PE.js.map} +0 -0
- /package/dist/{chunk-LT6LBTA7.js.map → chunk-ADAQSPUA.js.map} +0 -0
- /package/dist/{chunk-2XNWJT3U.js.map → chunk-BXRTYDSY.js.map} +0 -0
- /package/dist/{chunk-XXMZLXDE.js.map → chunk-CIQ66LY6.js.map} +0 -0
- /package/dist/{chunk-CI2XFT7Y.js.map → chunk-DKUHYVHC.js.map} +0 -0
- /package/dist/{chunk-VH37R5IH.js.map → chunk-HBQY4ELG.js.map} +0 -0
- /package/dist/{chunk-I5RQ5T4B.js.map → chunk-HXLXXCB7.js.map} +0 -0
- /package/dist/{chunk-BFRNEBJN.js.map → chunk-HYMODLGE.js.map} +0 -0
- /package/dist/{chunk-XWNFR24N.js.map → chunk-IZOZGJPW.js.map} +0 -0
- /package/dist/{chunk-VD7AQ7HK.js.map → chunk-JVXATVAC.js.map} +0 -0
- /package/dist/{chunk-HIMIOODO.js.map → chunk-K2XSUIM7.js.map} +0 -0
- /package/dist/{chunk-FVNXDLRU.js.map → chunk-LE6CNJWH.js.map} +0 -0
- /package/dist/{chunk-LFYQFYWO.js.map → chunk-OE2AVQED.js.map} +0 -0
- /package/dist/{chunk-NIMLBANB.js.map → chunk-OOXXMKJS.js.map} +0 -0
- /package/dist/{chunk-TTVJOFG5.js.map → chunk-P6DHFQXU.js.map} +0 -0
- /package/dist/{chunk-ZVSATS4O.js.map → chunk-Q3NPY6DI.js.map} +0 -0
- /package/dist/{chunk-HWK3UPZ3.js.map → chunk-Q7KT3UPO.js.map} +0 -0
- /package/dist/{chunk-SNPAB3HJ.js.map → chunk-QHHD36G7.js.map} +0 -0
- /package/dist/{chunk-3Z2XZ4ZG.js.map → chunk-QNJ2H7J4.js.map} +0 -0
- /package/dist/{chunk-V7MD4RRM.js.map → chunk-R4BUPO55.js.map} +0 -0
- /package/dist/{chunk-6TQGX5ZU.js.map → chunk-REPTW53S.js.map} +0 -0
- /package/dist/{chunk-76PNGKCB.js.map → chunk-RSZDAY62.js.map} +0 -0
- /package/dist/{chunk-QANVXCYU.js.map → chunk-S23S57PQ.js.map} +0 -0
- /package/dist/{chunk-OXZ25J7F.js.map → chunk-SE5TPTP2.js.map} +0 -0
- /package/dist/{chunk-MTGKF6SO.js.map → chunk-SLFUYRIC.js.map} +0 -0
- /package/dist/{chunk-E5ZJDDZH.js.map → chunk-SLZNCBSK.js.map} +0 -0
- /package/dist/{chunk-M6C7IXCB.js.map → chunk-UMUSNH2D.js.map} +0 -0
- /package/dist/{chunk-GFRYS4IN.js.map → chunk-UTMCR27N.js.map} +0 -0
- /package/dist/{chunk-4PYFMD24.js.map → chunk-V7IC4EAC.js.map} +0 -0
- /package/dist/{chunk-GXWE3QNN.js.map → chunk-VPKWECOE.js.map} +0 -0
- /package/dist/{chunk-BKYPABII.js.map → chunk-YC5XSFKC.js.map} +0 -0
- /package/dist/{chunk-3DEAIJBF.js.map → chunk-YZLPQOH2.js.map} +0 -0
package/dist/molecules/index.js
CHANGED
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
import "../chunk-SYMOHU2B.js";
|
|
2
|
+
import {
|
|
3
|
+
ExpandTable,
|
|
4
|
+
createColumnHelper
|
|
5
|
+
} from "../chunk-UTMCR27N.js";
|
|
6
|
+
import "../chunk-JCG2AUFJ.js";
|
|
2
7
|
import "../chunk-AS7ID74X.js";
|
|
3
8
|
import {
|
|
4
9
|
CurriculumBody
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-WS7IOHVK.js";
|
|
12
|
-
import "../chunk-LIV5LHHZ.js";
|
|
13
|
-
import "../chunk-MJMHPIYX.js";
|
|
14
|
-
import "../chunk-4TST4UK5.js";
|
|
15
|
-
import "../chunk-VH37R5IH.js";
|
|
16
|
-
import "../chunk-ZFTQ2XBH.js";
|
|
17
|
-
import "../chunk-V7MD4RRM.js";
|
|
18
|
-
import "../chunk-HIMIOODO.js";
|
|
19
|
-
import "../chunk-XWNFR24N.js";
|
|
20
|
-
import "../chunk-ZKS3IW7D.js";
|
|
10
|
+
} from "../chunk-S23S57PQ.js";
|
|
11
|
+
import "../chunk-R4BUPO55.js";
|
|
12
|
+
import "../chunk-K2XSUIM7.js";
|
|
13
|
+
import "../chunk-IZOZGJPW.js";
|
|
14
|
+
import "../chunk-55K447PE.js";
|
|
15
|
+
import "../chunk-JFJ3N4V5.js";
|
|
21
16
|
import "../chunk-W7TBPRHG.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-CIQ66LY6.js";
|
|
18
|
+
import "../chunk-RSZDAY62.js";
|
|
24
19
|
import "../chunk-SAEPW5JF.js";
|
|
25
20
|
import "../chunk-VK6INFSB.js";
|
|
26
21
|
import "../chunk-GXG26SHU.js";
|
|
27
|
-
import "../chunk-JFJ3N4V5.js";
|
|
28
22
|
import "../chunk-CNW3YEAK.js";
|
|
29
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-OOXXMKJS.js";
|
|
30
24
|
import "../chunk-4QHXYLE4.js";
|
|
31
25
|
import "../chunk-GMKRNFH5.js";
|
|
26
|
+
import "../chunk-KFUBWOCN.js";
|
|
27
|
+
import {
|
|
28
|
+
CurriculumSidebar
|
|
29
|
+
} from "../chunk-REPTW53S.js";
|
|
30
|
+
import "../chunk-V7IC4EAC.js";
|
|
31
|
+
import "../chunk-4TST4UK5.js";
|
|
32
|
+
import "../chunk-WS7IOHVK.js";
|
|
33
|
+
import "../chunk-LIV5LHHZ.js";
|
|
34
|
+
import "../chunk-MJMHPIYX.js";
|
|
35
|
+
import "../chunk-HBQY4ELG.js";
|
|
36
|
+
import "../chunk-ZFTQ2XBH.js";
|
|
32
37
|
import {
|
|
33
38
|
CurriculumSubNav
|
|
34
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-UMUSNH2D.js";
|
|
35
40
|
import {
|
|
36
41
|
CurriculumProvider,
|
|
37
42
|
useCurriculumContext
|
|
@@ -41,25 +46,27 @@ import {
|
|
|
41
46
|
} from "../chunk-K3Q4XLCN.js";
|
|
42
47
|
import {
|
|
43
48
|
DatePickerButton
|
|
44
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-Q7KT3UPO.js";
|
|
45
50
|
import {
|
|
46
51
|
DatePicker
|
|
47
|
-
} from "../chunk-
|
|
48
|
-
import {
|
|
49
|
-
ExpandTable,
|
|
50
|
-
createColumnHelper
|
|
51
|
-
} from "../chunk-GFRYS4IN.js";
|
|
52
|
-
import "../chunk-JCG2AUFJ.js";
|
|
52
|
+
} from "../chunk-OE2AVQED.js";
|
|
53
53
|
import "../chunk-2ISIAPFS.js";
|
|
54
|
+
import {
|
|
55
|
+
Navigation
|
|
56
|
+
} from "../chunk-JRT6KTBG.js";
|
|
57
|
+
import {
|
|
58
|
+
OneOnOneGuideList,
|
|
59
|
+
oneOnOneNoteTextReplacer
|
|
60
|
+
} from "../chunk-LE6CNJWH.js";
|
|
54
61
|
import {
|
|
55
62
|
RadioButtonCard
|
|
56
63
|
} from "../chunk-CSKNBWPB.js";
|
|
57
64
|
import {
|
|
58
65
|
Stepper
|
|
59
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-QNJ2H7J4.js";
|
|
60
67
|
import {
|
|
61
68
|
TagSelector
|
|
62
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-Q3NPY6DI.js";
|
|
63
70
|
import {
|
|
64
71
|
TimeSelect
|
|
65
72
|
} from "../chunk-7PF6I4RN.js";
|
|
@@ -71,6 +78,9 @@ import "../chunk-2BPFXK4L.js";
|
|
|
71
78
|
import {
|
|
72
79
|
TrainingInfoGuideline
|
|
73
80
|
} from "../chunk-MLAQDU6U.js";
|
|
81
|
+
import {
|
|
82
|
+
DynamicFormEditor
|
|
83
|
+
} from "../chunk-YC5XSFKC.js";
|
|
74
84
|
import {
|
|
75
85
|
DynamicFormResponseItem
|
|
76
86
|
} from "../chunk-77H5BUYO.js";
|
|
@@ -86,20 +96,18 @@ import {
|
|
|
86
96
|
} from "../chunk-SACH3XVV.js";
|
|
87
97
|
import "../chunk-7FKRQQYK.js";
|
|
88
98
|
import {
|
|
89
|
-
|
|
90
|
-
} from "../chunk-
|
|
99
|
+
DescriptionJsonRender
|
|
100
|
+
} from "../chunk-HYMODLGE.js";
|
|
101
|
+
import "../chunk-ADAQSPUA.js";
|
|
91
102
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "../chunk-FVNXDLRU.js";
|
|
103
|
+
DotNavigation
|
|
104
|
+
} from "../chunk-IJOOKMKQ.js";
|
|
95
105
|
import {
|
|
96
106
|
DownloadCard
|
|
97
107
|
} from "../chunk-OHNBVT52.js";
|
|
98
|
-
import
|
|
99
|
-
DynamicFormEditor
|
|
100
|
-
} from "../chunk-BKYPABII.js";
|
|
101
|
-
import "../chunk-GXPEADVY.js";
|
|
108
|
+
import "../chunk-2REWQIZJ.js";
|
|
102
109
|
import "../chunk-6UXCNYVO.js";
|
|
110
|
+
import "../chunk-Z7WNKARH.js";
|
|
103
111
|
import "../chunk-MIATMZDP.js";
|
|
104
112
|
import "../chunk-JRSZNGFD.js";
|
|
105
113
|
import {
|
|
@@ -109,17 +117,9 @@ import {
|
|
|
109
117
|
import {
|
|
110
118
|
DynamicFormField
|
|
111
119
|
} from "../chunk-MPZJH3PI.js";
|
|
112
|
-
import "../chunk-Z7WNKARH.js";
|
|
113
120
|
import {
|
|
114
121
|
AutocompleteTextfield
|
|
115
122
|
} from "../chunk-LSDD4TAP.js";
|
|
116
|
-
import {
|
|
117
|
-
DescriptionJsonRender
|
|
118
|
-
} from "../chunk-BFRNEBJN.js";
|
|
119
|
-
import "../chunk-LT6LBTA7.js";
|
|
120
|
-
import {
|
|
121
|
-
DotNavigation
|
|
122
|
-
} from "../chunk-IJOOKMKQ.js";
|
|
123
123
|
import "../chunk-4U6DFH7Z.js";
|
|
124
124
|
import "../chunk-QDC3LFHS.js";
|
|
125
125
|
import "../chunk-5XYPLDI5.js";
|
|
@@ -136,8 +136,8 @@ import "../chunk-MUPK4L3U.js";
|
|
|
136
136
|
import "../chunk-XQOL7UBI.js";
|
|
137
137
|
import "../chunk-TULWX7D6.js";
|
|
138
138
|
import "../chunk-DHZVOXFM.js";
|
|
139
|
-
import "../chunk-
|
|
140
|
-
import "../chunk-
|
|
139
|
+
import "../chunk-X4OCUESK.js";
|
|
140
|
+
import "../chunk-SE5TPTP2.js";
|
|
141
141
|
import "../chunk-5AVBYDPB.js";
|
|
142
142
|
import "../chunk-SMLC2O3V.js";
|
|
143
143
|
import "../chunk-EGEQY3KT.js";
|
|
@@ -158,8 +158,9 @@ import "../chunk-ZVDAEY5Q.js";
|
|
|
158
158
|
import "../chunk-LQY4RKWI.js";
|
|
159
159
|
import "../chunk-B6XJN6EC.js";
|
|
160
160
|
import "../chunk-RP2RGCAW.js";
|
|
161
|
-
import "../chunk-
|
|
162
|
-
import "../chunk-
|
|
161
|
+
import "../chunk-JU7GB6R2.js";
|
|
162
|
+
import "../chunk-JVXATVAC.js";
|
|
163
|
+
import "../chunk-B3VSXNTH.js";
|
|
163
164
|
import "../chunk-ZQE7SP6P.js";
|
|
164
165
|
import "../chunk-R6ARPREO.js";
|
|
165
166
|
import "../chunk-2O45FRFQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/molecules/one-on-one-guide-list.tsx","../../src/atoms/heading.tsx","../../src/utils/map-with-responsive.ts","../../src/atoms/list.tsx","../../src/atoms/typo.tsx","../../src/atoms/flex.tsx"],"sourcesContent":["/* eslint-disable tsdoc/syntax -- template 이름 표기법 허용 */\nimport React, { useMemo } from 'react';\nimport { Heading } from '@/atoms/heading';\nimport { List } from '@/atoms/list';\nimport { Typo } from '@/atoms/typo';\n\nexport type OneOnOneGuideData =\n | {\n type: 'title';\n value: string;\n }\n | { type: 'ul'; value: string[] }\n | {\n type: 'text';\n value: string;\n };\n\nexport interface OneOnOneGuideListProps {\n data?: OneOnOneGuideData[];\n relacements?: {\n /** {{Subject_Name}} 에 대치되는 값 */\n userName?: string;\n /** {{Template_Name}} 에 대치되는 값 */\n templateName?: string;\n };\n guideTitle?: string;\n guideDescription?: string;\n}\n\nexport const oneOnOneNoteTextReplacer = (args: {\n text: string;\n userName: string;\n templateName: string;\n}): string => {\n const { text, userName, templateName } = args;\n return text\n .replace(/\\{\\{Template_Name\\}\\}/g, templateName)\n .replace(/\\{\\{Subject_Name\\}\\}/g, userName);\n};\n\nexport function OneOnOneGuideList(\n props: OneOnOneGuideListProps\n): React.ReactElement {\n const { data, relacements, guideTitle, guideDescription } = props;\n\n const groupedData = useMemo(() => {\n return data?.reduce(\n (acc, item) => {\n if (item.type === 'title') {\n acc.push({ title: item.value, children: [] });\n } else {\n acc[acc.length - 1].children.push(item);\n }\n return acc;\n },\n [] as { title: string; children: OneOnOneGuideData[] }[]\n );\n }, [data]);\n\n return (\n <>\n <Heading mb=\"2\" variant=\"heading5\">\n {oneOnOneNoteTextReplacer({\n text: guideTitle || '',\n userName: relacements?.userName || '',\n templateName: relacements?.templateName || '',\n })}\n </Heading>\n <Typo as=\"div\" mb=\"4\">\n {oneOnOneNoteTextReplacer({\n text: guideDescription || '',\n userName: relacements?.userName || '팀원',\n templateName: relacements?.templateName || '1on1',\n })}\n </Typo>\n\n <List.Root\n preSpace=\"small\"\n style={{ fontWeight: 'bold', gap: 'var(--space-5)' }}\n variant=\"ol\"\n >\n {groupedData?.map((item) => {\n return (\n <List.Item key={item.title}>\n <Typo as=\"div\" mb=\"1\">\n {item.title}\n </Typo>\n {item.children.map((child) => {\n if (child.type === 'ul') {\n return (\n <List.Root\n key={child.value[0]}\n preSpace=\"small\"\n style={{ fontWeight: 'normal', gap: 'var(--space-2)' }}\n variant=\"ul\"\n >\n {child.value.map((el) => {\n return <List.Item key={el}>{el}</List.Item>;\n })}\n </List.Root>\n );\n }\n if (typeof child.value === 'string') {\n return (\n <Typo as=\"div\" key={child.value} mb=\"2\" weight=\"regular\">\n {child.value}\n </Typo>\n );\n }\n return null;\n })}\n </List.Item>\n );\n })}\n </List.Root>\n </>\n );\n}\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { useMemo } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\ntype HeadingVariant =\n | 'heading1'\n | 'heading2'\n | 'heading3'\n | 'heading4'\n | 'heading5';\nexport type HeadingProps = RadixHeadingProps & {\n variant?: Responsive<HeadingVariant>;\n};\n\ntype HeadingSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';\n\nconst mapVariant = (variant?: HeadingVariant): HeadingSize | undefined => {\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 undefined;\n }\n};\n\nexport function Heading(props: HeadingProps): React.ReactNode {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n return variant\n ? mapWithResponsive({\n value: variant,\n mapFn: mapVariant,\n })\n : size;\n \n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","import type { Responsive } from '@radix-ui/themes/props';\nimport React, { createContext, useContext, useMemo } from 'react';\nimport { clsx } from 'clsx';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\nimport { Typo } from './typo';\nimport { Flex } from './flex';\n\nexport interface ListRootProps {\n variant?: 'ol' | 'ul';\n size?: Responsive<'small' | 'large'>;\n children?: React.ReactNode;\n preSpace?: 'regular' | 'small';\n className?: string;\n style?: React.CSSProperties;\n}\n\nfunction Root(props: ListRootProps): React.ReactElement {\n const {\n variant,\n size = 'large',\n children,\n preSpace,\n className: propsClassName,\n ...rest\n } = props;\n const Comp = variant === 'ol' ? 'ol' : 'ul';\n\n const className = useMemo(\n () =>\n clsx(\n {\n 'pre-space-small': preSpace === 'small',\n },\n propsClassName\n ),\n [preSpace, propsClassName]\n );\n\n return (\n <ListContext.Provider value={{ size }}>\n <Flex asChild direction=\"column\" gap=\"1\" {...rest} className={className}>\n <Comp>{children}</Comp>\n </Flex>\n </ListContext.Provider>\n );\n}\n\nexport interface ListItemProps {\n children?: React.ReactNode;\n}\n\nfunction Item(props: ListItemProps): React.ReactElement {\n const { children } = props;\n const { size } = useList();\n\n const variant = useMemo(() => {\n return mapWithResponsive({\n value: size,\n mapFn: (sizeValue) => {\n return sizeValue === 'small' ? 'caption' : 'body';\n },\n });\n }, [size]);\n\n return (\n <Typo asChild variant={variant}>\n <li>{children}</li>\n </Typo>\n );\n}\n\nconst ListContext = createContext<{ size: Responsive<'small' | 'large'> }>({\n size: 'large',\n});\n\nexport function useList(): { size: Responsive<'small' | 'large'> } {\n return useContext(ListContext);\n}\n\nexport const List = {\n Root,\n Item,\n};\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport type TypoProps = RadixTextProps & {\n variant?: Responsive<'body' | 'caption' | 'subtitle'>;\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactNode => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n\n if (variant === undefined) return '2';\n\n return mapWithResponsive({\n value: variant,\n mapFn: (variantValue?: 'body' | 'caption' | 'subtitle') => {\n switch (variantValue) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n },\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 { Flex, type FlexProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,IAAAA,gBAA+B;;;ACD/B,oBAGO;AAEP,mBAAwB;;;ACHjB,IAAM,oBAAoB,CAChC,SAC+B;AAC9B,QAAM,EAAC,OAAO,MAAK,IAAI;AACvB,MAAG,OAAO,UAAU,UAAS;AAC3B,WAAO,MAAM,KAAK;AAAA,EACpB;AAAC;AAED,MAAG,OAAO,UAAU,UAAS;AAC3B,UAAM,SAAyC,CAAC;AAChD,QAAI;AACJ,SAAI,OAAO,OAAM;AACf,aAAO,GAAG,IAAI,MAAM,MAAM,GAAG,CAAC;AAAA,IAChC;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;;;ADXA,IAAAC,iBAAwC;AA2CpC;AA9BJ,IAAM,aAAa,CAAC,YAAsD;AACxE,UAAQ,SAAS;AAAA,IACf,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEO,SAASC,SAAQ,OAAsC;AAC5D,QAA6C,YAArC,QAAM,UAAU,QAvC1B,IAuC+C,IAAT,iBAAS,IAAT,CAA5B,QAAM,YAAU;AACxB,QA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AAO,MAAM,UAAU,UAAU;AACnC,uBACE,6CAAC,QAAK,IAAG,OAAwB,IAAG,KAAI,QAAO,WAC5C,gBAAM,SADW,MAAM,KAE1B;AAAA,cAEJ;AACA,qBAAO;AAAA,YACT,CAAC;AAAA,eA3Ba,KAAK,KA4BrB;AAAA,QAEJ;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;","names":["import_react","import_themes","Heading","RadixHeading","import_react","import_themes","import_react","import_jsx_runtime","RadixText","import_themes","import_jsx_runtime","import_jsx_runtime","Heading"]}
|
|
1
|
+
{"version":3,"sources":["../../src/molecules/one-on-one-guide-list.tsx","../../src/atoms/heading.tsx","../../src/utils/map-with-responsive.ts","../../src/atoms/list.tsx","../../src/atoms/typo.tsx","../../src/atoms/flex.tsx"],"sourcesContent":["/* eslint-disable tsdoc/syntax -- template 이름 표기법 허용 */\nimport React, { useMemo } from 'react';\nimport { Heading } from '@/atoms/heading';\nimport { List } from '@/atoms/list';\nimport { Typo } from '@/atoms/typo';\n\nexport type OneOnOneGuideData =\n | {\n type: 'title';\n value: string;\n }\n | { type: 'ul'; value: string[] }\n | {\n type: 'text';\n value: string;\n };\n\nexport interface OneOnOneGuideListProps {\n data?: OneOnOneGuideData[];\n relacements?: {\n /** {{Subject_Name}} 에 대치되는 값 */\n userName?: string;\n /** {{Template_Name}} 에 대치되는 값 */\n templateName?: string;\n };\n guideTitle?: string;\n guideDescription?: string;\n}\n\nexport const oneOnOneNoteTextReplacer = (args: {\n text: string;\n userName: string;\n templateName: string;\n}): string => {\n const { text, userName, templateName } = args;\n return text\n .replace(/\\{\\{Template_Name\\}\\}/g, templateName)\n .replace(/\\{\\{Subject_Name\\}\\}/g, userName);\n};\n\nexport function OneOnOneGuideList(\n props: OneOnOneGuideListProps\n): React.ReactElement {\n const { data, relacements, guideTitle, guideDescription } = props;\n\n const groupedData = useMemo(() => {\n return data?.reduce(\n (acc, item) => {\n if (item.type === 'title') {\n acc.push({ title: item.value, children: [] });\n } else {\n acc[acc.length - 1].children.push(item);\n }\n return acc;\n },\n [] as { title: string; children: OneOnOneGuideData[] }[]\n );\n }, [data]);\n\n return (\n <>\n <Heading mb=\"2\" variant=\"heading5\">\n {oneOnOneNoteTextReplacer({\n text: guideTitle || '',\n userName: relacements?.userName || '',\n templateName: relacements?.templateName || '',\n })}\n </Heading>\n <Typo as=\"div\" mb=\"4\">\n {oneOnOneNoteTextReplacer({\n text: guideDescription || '',\n userName: relacements?.userName || '팀원',\n templateName: relacements?.templateName || '1on1',\n })}\n </Typo>\n\n <List.Root\n preSpace=\"small\"\n style={{ fontWeight: 'bold', gap: 'var(--space-5)' }}\n variant=\"ol\"\n >\n {groupedData?.map((item) => {\n return (\n <List.Item key={item.title}>\n <Typo as=\"div\" mb=\"1\">\n {item.title}\n </Typo>\n {item.children.map((child) => {\n if (child.type === 'ul') {\n return (\n <List.Root\n key={child.value[0]}\n preSpace=\"small\"\n style={{ fontWeight: 'normal', gap: 'var(--space-2)' }}\n variant=\"ul\"\n >\n {child.value.map((el) => {\n return <List.Item key={el}>{el}</List.Item>;\n })}\n </List.Root>\n );\n }\n if (typeof child.value === 'string') {\n return (\n <Typo as=\"div\" key={child.value} mb=\"2\" weight=\"regular\">\n {child.value}\n </Typo>\n );\n }\n return null;\n })}\n </List.Item>\n );\n })}\n </List.Root>\n </>\n );\n}\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { useMemo } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\ntype HeadingVariant =\n | 'heading1'\n | 'heading2'\n | 'heading3'\n | 'heading4'\n | 'heading5';\nexport type HeadingProps = RadixHeadingProps & {\n variant?: Responsive<HeadingVariant>;\n};\n\ntype HeadingSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';\n\nconst mapVariant = (variant?: HeadingVariant): HeadingSize | undefined => {\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 undefined;\n }\n};\n\nexport function Heading(props: HeadingProps): React.ReactNode {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n return variant\n ? mapWithResponsive({\n value: variant,\n mapFn: mapVariant,\n })\n : size;\n \n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","import type { Responsive } from '@radix-ui/themes/props';\nimport React, { createContext, useContext, useMemo } from 'react';\nimport { clsx } from 'clsx';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\nimport { Typo } from './typo';\nimport { Flex } from './flex';\n\nexport interface ListRootProps {\n variant?: 'ol' | 'ul';\n size?: Responsive<'small' | 'large'>;\n children?: React.ReactNode;\n preSpace?: 'regular' | 'small';\n className?: string;\n style?: React.CSSProperties;\n}\n\nfunction Root(props: ListRootProps): React.ReactElement {\n const {\n variant,\n size = 'large',\n children,\n preSpace,\n className: propsClassName,\n ...rest\n } = props;\n const Comp = variant === 'ol' ? 'ol' : 'ul';\n\n const className = useMemo(\n () =>\n clsx(\n 'tipp-list',\n {\n 'pre-space-small': preSpace === 'small',\n },\n propsClassName\n ),\n [preSpace, propsClassName]\n );\n\n return (\n <ListContext.Provider value={{ size }}>\n <Flex asChild direction=\"column\" gap=\"1\" {...rest} className={className}>\n <Comp>{children}</Comp>\n </Flex>\n </ListContext.Provider>\n );\n}\n\nexport interface ListItemProps {\n children?: React.ReactNode;\n}\n\nfunction Item(props: ListItemProps): React.ReactElement {\n const { children } = props;\n const { size } = useList();\n\n const variant = useMemo(() => {\n return mapWithResponsive({\n value: size,\n mapFn: (sizeValue) => {\n return sizeValue === 'small' ? 'caption' : 'body';\n },\n });\n }, [size]);\n\n return (\n <Typo asChild variant={variant}>\n <li>{children}</li>\n </Typo>\n );\n}\n\nconst ListContext = createContext<{ size: Responsive<'small' | 'large'> }>({\n size: 'large',\n});\n\nexport function useList(): { size: Responsive<'small' | 'large'> } {\n return useContext(ListContext);\n}\n\nexport const List = {\n Root,\n Item,\n};\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport type TypoProps = RadixTextProps & {\n variant?: Responsive<'body' | 'caption' | 'subtitle'>;\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactNode => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n\n if (variant === undefined) return '2';\n\n return mapWithResponsive({\n value: variant,\n mapFn: (variantValue?: 'body' | 'caption' | 'subtitle') => {\n switch (variantValue) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n },\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 { Flex, type FlexProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,IAAAA,g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xB,MAAM,oBAAoB;AAAA,MAC1B,WAAU,2CAAa,aAAY;AAAA,MACnC,eAAc,2CAAa,iBAAgB;AAAA,IAC7C,CAAC,GACH;AAAA,IAEA;AAAA,MAAC,KAAK;AAAA,MAAL;AAAA,QACC,UAAS;AAAA,QACT,OAAO,EAAE,YAAY,QAAQ,KAAK,iBAAiB;AAAA,QACnD,SAAQ;AAAA,QAEP,qDAAa,IAAI,CAAC,SAAS;AAC1B,iBACE,8CAAC,KAAK,MAAL,EACC;AAAA,yDAAC,QAAK,IAAG,OAAM,IAAG,KACf,eAAK,OACR;AAAA,YACC,KAAK,SAAS,IAAI,CAAC,UAAU;AAC5B,kBAAI,MAAM,SAAS,MAAM;AACvB,uBACE;AAAA,kBAAC,KAAK;AAAA,kBAAL;AAAA,oBAEC,UAAS;AAAA,oBACT,OAAO,EAAE,YAAY,UAAU,KAAK,iBAAiB;AAAA,oBACrD,SAAQ;AAAA,oBAEP,gBAAM,MAAM,IAAI,CAAC,OAAO;AACvB,6BAAO,6CAAC,KAAK,MAAL,EAAoB,gBAAL,EAAQ;AAAA,oBACjC,CAAC;AAAA;AAAA,kBAPI,MAAM,MAAM,CAAC;AAAA,gBAQpB;AAAA,cAEJ;AACA,kBAAI,OAAO,MAAM,UAAU,UAAU;AACnC,uBACE,6CAAC,QAAK,IAAG,OAAwB,IAAG,KAAI,QAAO,WAC5C,gBAAM,SADW,MAAM,KAE1B;AAAA,cAEJ;AACA,qBAAO;AAAA,YACT,CAAC;AAAA,eA3Ba,KAAK,KA4BrB;AAAA,QAEJ;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;","names":["import_react","import_themes","Heading","RadixHeading","import_react","import_themes","import_react","import_jsx_runtime","RadixText","import_themes","import_jsx_runtime","import_jsx_runtime","Heading"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OneOnOneGuideList,
|
|
3
3
|
oneOnOneNoteTextReplacer
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-LE6CNJWH.js";
|
|
5
|
+
import "../chunk-X4OCUESK.js";
|
|
6
6
|
import "../chunk-BESTU2AY.js";
|
|
7
7
|
import "../chunk-PMJIFLDT.js";
|
|
8
8
|
import "../chunk-LDBWASUA.js";
|
|
@@ -635,6 +635,67 @@ var CircleFileIcon = React14.forwardRef(
|
|
|
635
635
|
);
|
|
636
636
|
CircleFileIcon.displayName = "CircleFileIcon";
|
|
637
637
|
|
|
638
|
+
// src/icons/headset.tsx
|
|
639
|
+
var React15 = __toESM(require("react"), 1);
|
|
640
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
641
|
+
var HeadsetIcon = React15.forwardRef(
|
|
642
|
+
(_a, forwardedRef) => {
|
|
643
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
644
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
645
|
+
"svg",
|
|
646
|
+
__spreadProps(__spreadValues({
|
|
647
|
+
fill: "none",
|
|
648
|
+
height: "16",
|
|
649
|
+
viewBox: "0 0 16 16",
|
|
650
|
+
width: "16",
|
|
651
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
652
|
+
}, props), {
|
|
653
|
+
ref: forwardedRef,
|
|
654
|
+
children: [
|
|
655
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
656
|
+
"path",
|
|
657
|
+
{
|
|
658
|
+
d: "M3.25 6C3.25 3.75 5.5 2 8 2C10.5 2 12.75 3.75 12.75 6",
|
|
659
|
+
stroke: color,
|
|
660
|
+
strokeLinecap: "round",
|
|
661
|
+
strokeWidth: "1.2"
|
|
662
|
+
}
|
|
663
|
+
),
|
|
664
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
665
|
+
"path",
|
|
666
|
+
{
|
|
667
|
+
d: "M4.75 6H3.25A1.5 1.5 0 0 0 1.75 7.5V10.75A1.5 1.5 0 0 0 3.25 12.25H4.75Z",
|
|
668
|
+
stroke: color,
|
|
669
|
+
strokeLinejoin: "round",
|
|
670
|
+
strokeWidth: "1.2"
|
|
671
|
+
}
|
|
672
|
+
),
|
|
673
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
674
|
+
"path",
|
|
675
|
+
{
|
|
676
|
+
d: "M11.25 6H12.75A1.5 1.5 0 0 1 14.25 7.5V10.75A1.5 1.5 0 0 1 12.75 12.25H11.25Z",
|
|
677
|
+
stroke: color,
|
|
678
|
+
strokeLinejoin: "round",
|
|
679
|
+
strokeWidth: "1.2"
|
|
680
|
+
}
|
|
681
|
+
),
|
|
682
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
683
|
+
"path",
|
|
684
|
+
{
|
|
685
|
+
d: "M4 12.25V13.25C4 13.94 4.56 14.5 5.25 14.5H8",
|
|
686
|
+
stroke: color,
|
|
687
|
+
strokeLinecap: "round",
|
|
688
|
+
strokeLinejoin: "round",
|
|
689
|
+
strokeWidth: "1.2"
|
|
690
|
+
}
|
|
691
|
+
)
|
|
692
|
+
]
|
|
693
|
+
})
|
|
694
|
+
);
|
|
695
|
+
}
|
|
696
|
+
);
|
|
697
|
+
HeadsetIcon.displayName = "HeadsetIcon";
|
|
698
|
+
|
|
638
699
|
// src/atoms/typo.tsx
|
|
639
700
|
var import_themes3 = require("@radix-ui/themes");
|
|
640
701
|
var import_react2 = require("react");
|
|
@@ -658,7 +719,7 @@ var mapWithResponsive = (args) => {
|
|
|
658
719
|
};
|
|
659
720
|
|
|
660
721
|
// src/atoms/typo.tsx
|
|
661
|
-
var
|
|
722
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
662
723
|
var Typo = (0, import_react2.forwardRef)(
|
|
663
724
|
(props, ref) => {
|
|
664
725
|
const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
|
|
@@ -680,13 +741,13 @@ var Typo = (0, import_react2.forwardRef)(
|
|
|
680
741
|
}
|
|
681
742
|
});
|
|
682
743
|
}, [size, variant]);
|
|
683
|
-
return /* @__PURE__ */ (0,
|
|
744
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes3.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
|
|
684
745
|
}
|
|
685
746
|
);
|
|
686
747
|
Typo.displayName = "Typo";
|
|
687
748
|
|
|
688
749
|
// src/molecules/stepper.tsx
|
|
689
|
-
var
|
|
750
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
690
751
|
var StepContext = (0, import_react3.createContext)({
|
|
691
752
|
active: false,
|
|
692
753
|
completed: false,
|
|
@@ -701,7 +762,7 @@ function Root(props) {
|
|
|
701
762
|
maxWidth,
|
|
702
763
|
direction = "vertical"
|
|
703
764
|
} = props;
|
|
704
|
-
return /* @__PURE__ */ (0,
|
|
765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
705
766
|
import_themes.Flex,
|
|
706
767
|
{
|
|
707
768
|
gap: "3",
|
|
@@ -711,7 +772,7 @@ function Root(props) {
|
|
|
711
772
|
maxWidth
|
|
712
773
|
},
|
|
713
774
|
children: import_react3.Children.map(children, (child, index) => {
|
|
714
|
-
return /* @__PURE__ */ (0,
|
|
775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
715
776
|
StepContext.Provider,
|
|
716
777
|
{
|
|
717
778
|
value: {
|
|
@@ -735,7 +796,7 @@ function Step(props) {
|
|
|
735
796
|
index,
|
|
736
797
|
direction = "vertical"
|
|
737
798
|
} = (0, import_react3.useContext)(StepContext);
|
|
738
|
-
const connector = index > 0 ? /* @__PURE__ */ (0,
|
|
799
|
+
const connector = index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
739
800
|
import_themes4.Separator,
|
|
740
801
|
{
|
|
741
802
|
style: {
|
|
@@ -755,7 +816,7 @@ function Step(props) {
|
|
|
755
816
|
}
|
|
756
817
|
return IncompleteStep;
|
|
757
818
|
}, [completed, active]);
|
|
758
|
-
return /* @__PURE__ */ (0,
|
|
819
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
759
820
|
import_themes.Flex,
|
|
760
821
|
{
|
|
761
822
|
align: "center",
|
|
@@ -765,7 +826,7 @@ function Step(props) {
|
|
|
765
826
|
style: { flex: 1 },
|
|
766
827
|
children: [
|
|
767
828
|
connector,
|
|
768
|
-
/* @__PURE__ */ (0,
|
|
829
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InnerStep, { Icon, children })
|
|
769
830
|
]
|
|
770
831
|
}
|
|
771
832
|
);
|
|
@@ -776,11 +837,11 @@ function CompleteStep(props) {
|
|
|
776
837
|
const background = "var(--accent-a4)";
|
|
777
838
|
const border = "1px solid var(--accent-7)";
|
|
778
839
|
const color = "var(--accent-contrast)";
|
|
779
|
-
return /* @__PURE__ */ (0,
|
|
780
|
-
Icon ? /* @__PURE__ */ (0,
|
|
840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
841
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
781
842
|
Avatar,
|
|
782
843
|
{
|
|
783
|
-
fallback: /* @__PURE__ */ (0,
|
|
844
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_icons.CheckIcon, { fill: color, height: 16, width: 16 }),
|
|
784
845
|
radius: "full",
|
|
785
846
|
size: "medium",
|
|
786
847
|
style: {
|
|
@@ -789,7 +850,7 @@ function CompleteStep(props) {
|
|
|
789
850
|
}
|
|
790
851
|
}
|
|
791
852
|
),
|
|
792
|
-
/* @__PURE__ */ (0,
|
|
853
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { align: "center", variant: "caption", children })
|
|
793
854
|
] });
|
|
794
855
|
}
|
|
795
856
|
function IncompleteStep(props) {
|
|
@@ -797,11 +858,11 @@ function IncompleteStep(props) {
|
|
|
797
858
|
const { completed, active, index } = (0, import_react3.useContext)(StepContext);
|
|
798
859
|
const background = "var(--gray-5)";
|
|
799
860
|
const color = "var(--gray-a11)";
|
|
800
|
-
return /* @__PURE__ */ (0,
|
|
801
|
-
Icon ? /* @__PURE__ */ (0,
|
|
861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
862
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
802
863
|
Avatar,
|
|
803
864
|
{
|
|
804
|
-
fallback: /* @__PURE__ */ (0,
|
|
865
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { style: { color }, children: index + 1 }),
|
|
805
866
|
radius: "full",
|
|
806
867
|
size: "medium",
|
|
807
868
|
style: {
|
|
@@ -809,7 +870,7 @@ function IncompleteStep(props) {
|
|
|
809
870
|
}
|
|
810
871
|
}
|
|
811
872
|
),
|
|
812
|
-
/* @__PURE__ */ (0,
|
|
873
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { align: "center", style: { color }, variant: "caption", children })
|
|
813
874
|
] });
|
|
814
875
|
}
|
|
815
876
|
function ActiveStep(props) {
|
|
@@ -817,17 +878,17 @@ function ActiveStep(props) {
|
|
|
817
878
|
const { completed, active, index } = (0, import_react3.useContext)(StepContext);
|
|
818
879
|
const background = "var(--accent-10)";
|
|
819
880
|
const color = "var(--accent-contrast)";
|
|
820
|
-
return /* @__PURE__ */ (0,
|
|
821
|
-
Icon ? /* @__PURE__ */ (0,
|
|
881
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
882
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
822
883
|
Avatar,
|
|
823
884
|
{
|
|
824
|
-
fallback: /* @__PURE__ */ (0,
|
|
885
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { style: { color }, weight: "bold", children: index + 1 }),
|
|
825
886
|
radius: "full",
|
|
826
887
|
size: "medium",
|
|
827
888
|
style: { background }
|
|
828
889
|
}
|
|
829
890
|
),
|
|
830
|
-
/* @__PURE__ */ (0,
|
|
891
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { align: "center", variant: "caption", weight: "bold", children })
|
|
831
892
|
] });
|
|
832
893
|
}
|
|
833
894
|
var Stepper = {
|