@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
|
@@ -938,6 +938,67 @@ var CircleFileIcon = React17.forwardRef(
|
|
|
938
938
|
);
|
|
939
939
|
CircleFileIcon.displayName = "CircleFileIcon";
|
|
940
940
|
|
|
941
|
+
// src/icons/headset.tsx
|
|
942
|
+
var React18 = __toESM(require("react"), 1);
|
|
943
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
944
|
+
var HeadsetIcon = React18.forwardRef(
|
|
945
|
+
(_a, forwardedRef) => {
|
|
946
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
948
|
+
"svg",
|
|
949
|
+
__spreadProps(__spreadValues({
|
|
950
|
+
fill: "none",
|
|
951
|
+
height: "16",
|
|
952
|
+
viewBox: "0 0 16 16",
|
|
953
|
+
width: "16",
|
|
954
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
955
|
+
}, props), {
|
|
956
|
+
ref: forwardedRef,
|
|
957
|
+
children: [
|
|
958
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
959
|
+
"path",
|
|
960
|
+
{
|
|
961
|
+
d: "M3.25 6C3.25 3.75 5.5 2 8 2C10.5 2 12.75 3.75 12.75 6",
|
|
962
|
+
stroke: color,
|
|
963
|
+
strokeLinecap: "round",
|
|
964
|
+
strokeWidth: "1.2"
|
|
965
|
+
}
|
|
966
|
+
),
|
|
967
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
968
|
+
"path",
|
|
969
|
+
{
|
|
970
|
+
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",
|
|
971
|
+
stroke: color,
|
|
972
|
+
strokeLinejoin: "round",
|
|
973
|
+
strokeWidth: "1.2"
|
|
974
|
+
}
|
|
975
|
+
),
|
|
976
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
977
|
+
"path",
|
|
978
|
+
{
|
|
979
|
+
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",
|
|
980
|
+
stroke: color,
|
|
981
|
+
strokeLinejoin: "round",
|
|
982
|
+
strokeWidth: "1.2"
|
|
983
|
+
}
|
|
984
|
+
),
|
|
985
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
986
|
+
"path",
|
|
987
|
+
{
|
|
988
|
+
d: "M4 12.25V13.25C4 13.94 4.56 14.5 5.25 14.5H8",
|
|
989
|
+
stroke: color,
|
|
990
|
+
strokeLinecap: "round",
|
|
991
|
+
strokeLinejoin: "round",
|
|
992
|
+
strokeWidth: "1.2"
|
|
993
|
+
}
|
|
994
|
+
)
|
|
995
|
+
]
|
|
996
|
+
})
|
|
997
|
+
);
|
|
998
|
+
}
|
|
999
|
+
);
|
|
1000
|
+
HeadsetIcon.displayName = "HeadsetIcon";
|
|
1001
|
+
|
|
941
1002
|
// src/molecules/dynamic-form-editor-utils.ts
|
|
942
1003
|
function getFieldTypeLabel(type) {
|
|
943
1004
|
const map = {
|
|
@@ -1073,7 +1134,7 @@ function resetFieldType(field, nextType, allFields) {
|
|
|
1073
1134
|
}
|
|
1074
1135
|
|
|
1075
1136
|
// src/molecules/dynamic-form-editor-field-editor-panel.tsx
|
|
1076
|
-
var
|
|
1137
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1077
1138
|
function isRecord(value) {
|
|
1078
1139
|
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
1079
1140
|
}
|
|
@@ -1159,11 +1220,11 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1159
1220
|
if (!field) return "";
|
|
1160
1221
|
return String(field.placeholder || "");
|
|
1161
1222
|
}, [field]);
|
|
1162
|
-
return /* @__PURE__ */ (0,
|
|
1163
|
-
/* @__PURE__ */ (0,
|
|
1164
|
-
/* @__PURE__ */ (0,
|
|
1165
|
-
/* @__PURE__ */ (0,
|
|
1166
|
-
/* @__PURE__ */ (0,
|
|
1223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { flex: 1, minWidth: 520, padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { direction: "column", gap: "4", children: [
|
|
1224
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "center", justify: "between", children: [
|
|
1225
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "body", children: "\uD544\uB4DC \uD3B8\uC9D1" }),
|
|
1226
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "center", gap: "1", children: [
|
|
1227
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1167
1228
|
IconButton,
|
|
1168
1229
|
{
|
|
1169
1230
|
"aria-label": "\uD544\uB4DC \uC704\uB85C",
|
|
@@ -1172,10 +1233,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1172
1233
|
onMoveField("up");
|
|
1173
1234
|
},
|
|
1174
1235
|
variant: "soft",
|
|
1175
|
-
children: /* @__PURE__ */ (0,
|
|
1236
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronUpIcon, {})
|
|
1176
1237
|
}
|
|
1177
1238
|
),
|
|
1178
|
-
/* @__PURE__ */ (0,
|
|
1239
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1179
1240
|
IconButton,
|
|
1180
1241
|
{
|
|
1181
1242
|
"aria-label": "\uD544\uB4DC \uC544\uB798\uB85C",
|
|
@@ -1184,36 +1245,36 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1184
1245
|
onMoveField("down");
|
|
1185
1246
|
},
|
|
1186
1247
|
variant: "soft",
|
|
1187
|
-
children: /* @__PURE__ */ (0,
|
|
1248
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronDownIcon, {})
|
|
1188
1249
|
}
|
|
1189
1250
|
),
|
|
1190
|
-
/* @__PURE__ */ (0,
|
|
1251
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1191
1252
|
IconButton,
|
|
1192
1253
|
{
|
|
1193
1254
|
"aria-label": "\uD544\uB4DC \uBCF5\uC81C",
|
|
1194
1255
|
disabled: readonly || !field,
|
|
1195
1256
|
onClick: onDuplicateField,
|
|
1196
1257
|
variant: "soft",
|
|
1197
|
-
children: /* @__PURE__ */ (0,
|
|
1258
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.CopyIcon, {})
|
|
1198
1259
|
}
|
|
1199
1260
|
),
|
|
1200
|
-
/* @__PURE__ */ (0,
|
|
1261
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1201
1262
|
IconButton,
|
|
1202
1263
|
{
|
|
1203
1264
|
"aria-label": "\uD544\uB4DC \uC0AD\uC81C",
|
|
1204
1265
|
disabled: readonly || !field,
|
|
1205
1266
|
onClick: onDeleteField,
|
|
1206
1267
|
variant: "soft",
|
|
1207
|
-
children: /* @__PURE__ */ (0,
|
|
1268
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.TrashIcon, {})
|
|
1208
1269
|
}
|
|
1209
1270
|
)
|
|
1210
1271
|
] })
|
|
1211
1272
|
] }),
|
|
1212
|
-
!field ? /* @__PURE__ */ (0,
|
|
1213
|
-
/* @__PURE__ */ (0,
|
|
1214
|
-
/* @__PURE__ */ (0,
|
|
1215
|
-
/* @__PURE__ */ (0,
|
|
1216
|
-
/* @__PURE__ */ (0,
|
|
1273
|
+
!field ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { color: "gray", variant: "caption", children: "\uC67C\uCABD\uC5D0\uC11C \uD544\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694." }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { direction: "column", gap: "3", children: [
|
|
1274
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "end", gap: "2", children: [
|
|
1275
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1276
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "name" }),
|
|
1277
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1217
1278
|
TextField.Root,
|
|
1218
1279
|
{
|
|
1219
1280
|
disabled: readonly,
|
|
@@ -1224,9 +1285,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1224
1285
|
}
|
|
1225
1286
|
)
|
|
1226
1287
|
] }),
|
|
1227
|
-
/* @__PURE__ */ (0,
|
|
1228
|
-
/* @__PURE__ */ (0,
|
|
1229
|
-
/* @__PURE__ */ (0,
|
|
1288
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1289
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "label" }),
|
|
1290
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1230
1291
|
TextField.Root,
|
|
1231
1292
|
{
|
|
1232
1293
|
disabled: readonly,
|
|
@@ -1238,8 +1299,8 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1238
1299
|
)
|
|
1239
1300
|
] })
|
|
1240
1301
|
] }),
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1242
|
-
/* @__PURE__ */ (0,
|
|
1302
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "center", gap: "2", children: [
|
|
1303
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1243
1304
|
Select.Root,
|
|
1244
1305
|
{
|
|
1245
1306
|
disabled: readonly,
|
|
@@ -1249,13 +1310,13 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1249
1310
|
},
|
|
1250
1311
|
value: field.type,
|
|
1251
1312
|
children: [
|
|
1252
|
-
/* @__PURE__ */ (0,
|
|
1253
|
-
/* @__PURE__ */ (0,
|
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
|
|
1314
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Content, { children: fieldTypes.map((t) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: t, children: getFieldTypeLabel(t) }, t)) })
|
|
1254
1315
|
]
|
|
1255
1316
|
}
|
|
1256
1317
|
),
|
|
1257
|
-
/* @__PURE__ */ (0,
|
|
1258
|
-
/* @__PURE__ */ (0,
|
|
1318
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "center", gap: "2", children: [
|
|
1319
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1259
1320
|
Checkbox,
|
|
1260
1321
|
{
|
|
1261
1322
|
checked: Boolean(field.required),
|
|
@@ -1265,12 +1326,12 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1265
1326
|
}
|
|
1266
1327
|
}
|
|
1267
1328
|
),
|
|
1268
|
-
/* @__PURE__ */ (0,
|
|
1329
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "\uD544\uC218" })
|
|
1269
1330
|
] })
|
|
1270
1331
|
] }),
|
|
1271
|
-
/* @__PURE__ */ (0,
|
|
1272
|
-
/* @__PURE__ */ (0,
|
|
1273
|
-
/* @__PURE__ */ (0,
|
|
1332
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1333
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "description" }),
|
|
1334
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1274
1335
|
TextArea,
|
|
1275
1336
|
{
|
|
1276
1337
|
disabled: readonly,
|
|
@@ -1284,9 +1345,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1284
1345
|
}
|
|
1285
1346
|
)
|
|
1286
1347
|
] }),
|
|
1287
|
-
field.type === "short_text" || field.type === "long_text" || field.type === "number" || field.type === "email" || field.type === "dropdown" ? /* @__PURE__ */ (0,
|
|
1288
|
-
/* @__PURE__ */ (0,
|
|
1289
|
-
/* @__PURE__ */ (0,
|
|
1348
|
+
field.type === "short_text" || field.type === "long_text" || field.type === "number" || field.type === "email" || field.type === "dropdown" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1349
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "placeholder" }),
|
|
1350
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1290
1351
|
TextField.Root,
|
|
1291
1352
|
{
|
|
1292
1353
|
disabled: readonly,
|
|
@@ -1297,9 +1358,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1297
1358
|
}
|
|
1298
1359
|
)
|
|
1299
1360
|
] }) : null,
|
|
1300
|
-
field.type === "choice" || field.type === "choices" ? /* @__PURE__ */ (0,
|
|
1301
|
-
/* @__PURE__ */ (0,
|
|
1302
|
-
/* @__PURE__ */ (0,
|
|
1361
|
+
field.type === "choice" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1362
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "orientation" }),
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1303
1364
|
Select.Root,
|
|
1304
1365
|
{
|
|
1305
1366
|
disabled: readonly,
|
|
@@ -1309,19 +1370,19 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1309
1370
|
},
|
|
1310
1371
|
value: field.orientation || "vertical",
|
|
1311
1372
|
children: [
|
|
1312
|
-
/* @__PURE__ */ (0,
|
|
1313
|
-
/* @__PURE__ */ (0,
|
|
1314
|
-
/* @__PURE__ */ (0,
|
|
1315
|
-
/* @__PURE__ */ (0,
|
|
1373
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
|
|
1374
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Select.Content, { children: [
|
|
1375
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "vertical", children: "vertical" }),
|
|
1376
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "horizontal", children: "horizontal" })
|
|
1316
1377
|
] })
|
|
1317
1378
|
]
|
|
1318
1379
|
}
|
|
1319
1380
|
)
|
|
1320
1381
|
] }) : null,
|
|
1321
|
-
field.type === "dropdown" || field.type === "choice" || field.type === "radio_cards" || field.type === "choices" ? /* @__PURE__ */ (0,
|
|
1322
|
-
/* @__PURE__ */ (0,
|
|
1323
|
-
/* @__PURE__ */ (0,
|
|
1324
|
-
/* @__PURE__ */ (0,
|
|
1382
|
+
field.type === "dropdown" || field.type === "choice" || field.type === "radio_cards" || field.type === "choices" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { direction: "column", gap: "2", children: [
|
|
1383
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "center", justify: "between", children: [
|
|
1384
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "options" }),
|
|
1385
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1325
1386
|
Button,
|
|
1326
1387
|
{
|
|
1327
1388
|
disabled: readonly,
|
|
@@ -1339,16 +1400,16 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1339
1400
|
size: "small",
|
|
1340
1401
|
variant: "soft",
|
|
1341
1402
|
children: [
|
|
1342
|
-
/* @__PURE__ */ (0,
|
|
1403
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.PlusIcon, {}),
|
|
1343
1404
|
" \uCD94\uAC00"
|
|
1344
1405
|
]
|
|
1345
1406
|
}
|
|
1346
1407
|
)
|
|
1347
1408
|
] }),
|
|
1348
|
-
getOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0,
|
|
1349
|
-
/* @__PURE__ */ (0,
|
|
1350
|
-
/* @__PURE__ */ (0,
|
|
1351
|
-
/* @__PURE__ */ (0,
|
|
1409
|
+
getOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "end", gap: "2", children: [
|
|
1410
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1411
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "label" }),
|
|
1412
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1352
1413
|
TextField.Root,
|
|
1353
1414
|
{
|
|
1354
1415
|
disabled: readonly,
|
|
@@ -1363,9 +1424,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1363
1424
|
}
|
|
1364
1425
|
)
|
|
1365
1426
|
] }),
|
|
1366
|
-
/* @__PURE__ */ (0,
|
|
1367
|
-
/* @__PURE__ */ (0,
|
|
1368
|
-
/* @__PURE__ */ (0,
|
|
1427
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1428
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "value" }),
|
|
1429
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1369
1430
|
TextField.Root,
|
|
1370
1431
|
{
|
|
1371
1432
|
disabled: readonly,
|
|
@@ -1380,8 +1441,8 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1380
1441
|
}
|
|
1381
1442
|
)
|
|
1382
1443
|
] }),
|
|
1383
|
-
/* @__PURE__ */ (0,
|
|
1384
|
-
/* @__PURE__ */ (0,
|
|
1444
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { gap: "1", children: [
|
|
1445
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1385
1446
|
IconButton,
|
|
1386
1447
|
{
|
|
1387
1448
|
"aria-label": "\uC635\uC158 \uC704\uB85C",
|
|
@@ -1392,10 +1453,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1392
1453
|
onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
|
|
1393
1454
|
},
|
|
1394
1455
|
variant: "soft",
|
|
1395
|
-
children: /* @__PURE__ */ (0,
|
|
1456
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronUpIcon, {})
|
|
1396
1457
|
}
|
|
1397
1458
|
),
|
|
1398
|
-
/* @__PURE__ */ (0,
|
|
1459
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1399
1460
|
IconButton,
|
|
1400
1461
|
{
|
|
1401
1462
|
"aria-label": "\uC635\uC158 \uC544\uB798\uB85C",
|
|
@@ -1406,10 +1467,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1406
1467
|
onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
|
|
1407
1468
|
},
|
|
1408
1469
|
variant: "soft",
|
|
1409
|
-
children: /* @__PURE__ */ (0,
|
|
1470
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.ChevronDownIcon, {})
|
|
1410
1471
|
}
|
|
1411
1472
|
),
|
|
1412
|
-
/* @__PURE__ */ (0,
|
|
1473
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1413
1474
|
IconButton,
|
|
1414
1475
|
{
|
|
1415
1476
|
"aria-label": "\uC635\uC158 \uC0AD\uC81C",
|
|
@@ -1420,16 +1481,16 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1420
1481
|
onUpdateField(updateOptions(field, toFieldOptions(nextDrafts)));
|
|
1421
1482
|
},
|
|
1422
1483
|
variant: "soft",
|
|
1423
|
-
children: /* @__PURE__ */ (0,
|
|
1484
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.TrashIcon, {})
|
|
1424
1485
|
}
|
|
1425
1486
|
)
|
|
1426
1487
|
] })
|
|
1427
1488
|
] }, `${opt.value}-${opt.label}`))
|
|
1428
1489
|
] }) }) : null,
|
|
1429
|
-
field.type === "image_radio_card" ? /* @__PURE__ */ (0,
|
|
1430
|
-
/* @__PURE__ */ (0,
|
|
1431
|
-
/* @__PURE__ */ (0,
|
|
1432
|
-
/* @__PURE__ */ (0,
|
|
1490
|
+
field.type === "image_radio_card" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { direction: "column", gap: "3", children: [
|
|
1491
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "center", justify: "between", children: [
|
|
1492
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "image options" }),
|
|
1493
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1433
1494
|
Button,
|
|
1434
1495
|
{
|
|
1435
1496
|
disabled: readonly,
|
|
@@ -1448,21 +1509,21 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1448
1509
|
size: "small",
|
|
1449
1510
|
variant: "soft",
|
|
1450
1511
|
children: [
|
|
1451
|
-
/* @__PURE__ */ (0,
|
|
1512
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.PlusIcon, {}),
|
|
1452
1513
|
" \uCD94\uAC00"
|
|
1453
1514
|
]
|
|
1454
1515
|
}
|
|
1455
1516
|
)
|
|
1456
1517
|
] }),
|
|
1457
|
-
getImageOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0,
|
|
1518
|
+
getImageOptionDrafts(field).map((opt, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1458
1519
|
Card,
|
|
1459
1520
|
{
|
|
1460
1521
|
style: { padding: 10 },
|
|
1461
|
-
children: /* @__PURE__ */ (0,
|
|
1462
|
-
/* @__PURE__ */ (0,
|
|
1463
|
-
/* @__PURE__ */ (0,
|
|
1464
|
-
/* @__PURE__ */ (0,
|
|
1465
|
-
/* @__PURE__ */ (0,
|
|
1522
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { direction: "column", gap: "2", children: [
|
|
1523
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "end", gap: "2", children: [
|
|
1524
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1525
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "label" }),
|
|
1526
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1466
1527
|
TextField.Root,
|
|
1467
1528
|
{
|
|
1468
1529
|
disabled: readonly,
|
|
@@ -1479,9 +1540,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1479
1540
|
}
|
|
1480
1541
|
)
|
|
1481
1542
|
] }),
|
|
1482
|
-
/* @__PURE__ */ (0,
|
|
1483
|
-
/* @__PURE__ */ (0,
|
|
1484
|
-
/* @__PURE__ */ (0,
|
|
1543
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1544
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "value" }),
|
|
1545
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1485
1546
|
TextField.Root,
|
|
1486
1547
|
{
|
|
1487
1548
|
disabled: readonly,
|
|
@@ -1499,9 +1560,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1499
1560
|
)
|
|
1500
1561
|
] })
|
|
1501
1562
|
] }),
|
|
1502
|
-
/* @__PURE__ */ (0,
|
|
1503
|
-
/* @__PURE__ */ (0,
|
|
1504
|
-
/* @__PURE__ */ (0,
|
|
1563
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1564
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "imageSrc" }),
|
|
1565
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1505
1566
|
TextField.Root,
|
|
1506
1567
|
{
|
|
1507
1568
|
disabled: readonly,
|
|
@@ -1518,10 +1579,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1518
1579
|
}
|
|
1519
1580
|
)
|
|
1520
1581
|
] }),
|
|
1521
|
-
/* @__PURE__ */ (0,
|
|
1522
|
-
/* @__PURE__ */ (0,
|
|
1523
|
-
/* @__PURE__ */ (0,
|
|
1524
|
-
/* @__PURE__ */ (0,
|
|
1582
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { align: "end", gap: "2", children: [
|
|
1583
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1584
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "alt" }),
|
|
1585
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1525
1586
|
TextField.Root,
|
|
1526
1587
|
{
|
|
1527
1588
|
disabled: readonly,
|
|
@@ -1539,7 +1600,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1539
1600
|
}
|
|
1540
1601
|
)
|
|
1541
1602
|
] }),
|
|
1542
|
-
/* @__PURE__ */ (0,
|
|
1603
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1543
1604
|
IconButton,
|
|
1544
1605
|
{
|
|
1545
1606
|
"aria-label": "\uC774\uBBF8\uC9C0 \uC635\uC158 \uC0AD\uC81C",
|
|
@@ -1552,7 +1613,7 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1552
1613
|
);
|
|
1553
1614
|
},
|
|
1554
1615
|
variant: "soft",
|
|
1555
|
-
children: /* @__PURE__ */ (0,
|
|
1616
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons.TrashIcon, {})
|
|
1556
1617
|
}
|
|
1557
1618
|
)
|
|
1558
1619
|
] })
|
|
@@ -1560,10 +1621,10 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1560
1621
|
},
|
|
1561
1622
|
`${opt.value}-${opt.label}-${opt.imageSrc}`
|
|
1562
1623
|
)),
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1565
|
-
/* @__PURE__ */ (0,
|
|
1566
|
-
/* @__PURE__ */ (0,
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { gap: "2", children: [
|
|
1625
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1626
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "gridColumnsCount" }),
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1567
1628
|
TextField.Root,
|
|
1568
1629
|
{
|
|
1569
1630
|
disabled: readonly,
|
|
@@ -1579,9 +1640,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1579
1640
|
}
|
|
1580
1641
|
)
|
|
1581
1642
|
] }),
|
|
1582
|
-
/* @__PURE__ */ (0,
|
|
1583
|
-
/* @__PURE__ */ (0,
|
|
1584
|
-
/* @__PURE__ */ (0,
|
|
1643
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1644
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "gridItemHeight" }),
|
|
1645
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1585
1646
|
TextField.Root,
|
|
1586
1647
|
{
|
|
1587
1648
|
disabled: readonly,
|
|
@@ -1594,9 +1655,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1594
1655
|
}
|
|
1595
1656
|
)
|
|
1596
1657
|
] }),
|
|
1597
|
-
/* @__PURE__ */ (0,
|
|
1598
|
-
/* @__PURE__ */ (0,
|
|
1599
|
-
/* @__PURE__ */ (0,
|
|
1658
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1659
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "gridGap" }),
|
|
1660
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1600
1661
|
TextField.Root,
|
|
1601
1662
|
{
|
|
1602
1663
|
disabled: readonly,
|
|
@@ -1608,9 +1669,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1608
1669
|
)
|
|
1609
1670
|
] })
|
|
1610
1671
|
] }),
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1612
|
-
/* @__PURE__ */ (0,
|
|
1613
|
-
/* @__PURE__ */ (0,
|
|
1672
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1673
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "imageFit" }),
|
|
1674
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1614
1675
|
Select.Root,
|
|
1615
1676
|
{
|
|
1616
1677
|
disabled: readonly,
|
|
@@ -1620,22 +1681,22 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1620
1681
|
},
|
|
1621
1682
|
value: field.imageFit || "cover",
|
|
1622
1683
|
children: [
|
|
1623
|
-
/* @__PURE__ */ (0,
|
|
1624
|
-
/* @__PURE__ */ (0,
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1684
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Trigger, { style: { minWidth: 220 } }),
|
|
1685
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Select.Content, { children: [
|
|
1686
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "cover", children: "cover" }),
|
|
1687
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Select.Item, { value: "contain", children: "contain" })
|
|
1627
1688
|
] })
|
|
1628
1689
|
]
|
|
1629
1690
|
}
|
|
1630
1691
|
)
|
|
1631
1692
|
] })
|
|
1632
1693
|
] }) }) : null,
|
|
1633
|
-
/* @__PURE__ */ (0,
|
|
1634
|
-
/* @__PURE__ */ (0,
|
|
1635
|
-
/* @__PURE__ */ (0,
|
|
1636
|
-
/* @__PURE__ */ (0,
|
|
1637
|
-
/* @__PURE__ */ (0,
|
|
1638
|
-
/* @__PURE__ */ (0,
|
|
1694
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { style: { padding: 12 }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { direction: "column", gap: "2", children: [
|
|
1695
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "validation" }),
|
|
1696
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes4.Flex, { gap: "2", children: [
|
|
1697
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1698
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "min" }),
|
|
1699
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1639
1700
|
TextField.Root,
|
|
1640
1701
|
{
|
|
1641
1702
|
disabled: readonly,
|
|
@@ -1651,9 +1712,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1651
1712
|
}
|
|
1652
1713
|
)
|
|
1653
1714
|
] }),
|
|
1654
|
-
/* @__PURE__ */ (0,
|
|
1655
|
-
/* @__PURE__ */ (0,
|
|
1656
|
-
/* @__PURE__ */ (0,
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { style: { flex: 1 }, children: [
|
|
1716
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "max" }),
|
|
1717
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1657
1718
|
TextField.Root,
|
|
1658
1719
|
{
|
|
1659
1720
|
disabled: readonly,
|
|
@@ -1670,9 +1731,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1670
1731
|
)
|
|
1671
1732
|
] })
|
|
1672
1733
|
] }),
|
|
1673
|
-
/* @__PURE__ */ (0,
|
|
1674
|
-
/* @__PURE__ */ (0,
|
|
1675
|
-
/* @__PURE__ */ (0,
|
|
1734
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1735
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "pattern" }),
|
|
1736
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1676
1737
|
TextField.Root,
|
|
1677
1738
|
{
|
|
1678
1739
|
disabled: readonly,
|
|
@@ -1685,9 +1746,9 @@ function DynamicFormEditorFieldEditorPanel(props) {
|
|
|
1685
1746
|
}
|
|
1686
1747
|
)
|
|
1687
1748
|
] }),
|
|
1688
|
-
/* @__PURE__ */ (0,
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1690
|
-
/* @__PURE__ */ (0,
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes10.Box, { children: [
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "caption", children: "message" }),
|
|
1751
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1691
1752
|
TextField.Root,
|
|
1692
1753
|
{
|
|
1693
1754
|
disabled: readonly,
|