@tipp/ui 1.6.11 → 1.6.13
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 +418 -276
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +7 -3
- package/dist/app/platform/coach-question-list.cjs +175 -33
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +6 -2
- package/dist/app/platform/edit-coaching-time.cjs +218 -76
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +7 -3
- package/dist/app/platform/edit-service-type.cjs +211 -69
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +7 -3
- package/dist/app/platform/goal-manage-card-edit.cjs +220 -78
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +7 -3
- package/dist/app/platform/goal-manage-card-read.cjs +205 -63
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +6 -2
- package/dist/app/platform/on-offline-radio-card.cjs +204 -62
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +7 -3
- package/dist/app/platform/report-card.cjs +176 -34
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +6 -2
- package/dist/app/platform/reservation-card.cjs +246 -104
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +7 -3
- package/dist/app/platform/session-card.cjs +263 -121
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +7 -3
- package/dist/app/platform/session-review-simple-read.cjs +176 -34
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +209 -67
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +186 -44
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +189 -47
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +6 -2
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +175 -33
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +6 -2
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +185 -43
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +6 -2
- package/dist/app/platform/userInfos/utils.cjs +177 -35
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +6 -2
- package/dist/atoms/index.cjs +197 -55
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +6 -2
- package/dist/atoms/pagination.cjs +155 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +6 -2
- package/dist/chunk-36JWMSRI.js +39 -0
- package/dist/chunk-36JWMSRI.js.map +1 -0
- package/dist/chunk-3WSZRTAF.js +50 -0
- package/dist/chunk-3WSZRTAF.js.map +1 -0
- package/dist/chunk-7WVKYXIG.js +1 -0
- package/dist/chunk-7WVKYXIG.js.map +1 -0
- package/dist/chunk-A75U32HT.js +39 -0
- package/dist/chunk-A75U32HT.js.map +1 -0
- package/dist/chunk-CG4LCYFW.js +192 -0
- package/dist/chunk-CG4LCYFW.js.map +1 -0
- package/dist/chunk-MZAO3VEU.js +41 -0
- package/dist/chunk-MZAO3VEU.js.map +1 -0
- package/dist/chunk-T6CF4F7J.js +41 -0
- package/dist/chunk-T6CF4F7J.js.map +1 -0
- package/dist/chunk-UZMOWHC3.js +52 -0
- package/dist/chunk-UZMOWHC3.js.map +1 -0
- package/dist/icon.cjs +150 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +4 -0
- package/dist/icon.d.ts +4 -0
- package/dist/icon.js +20 -4
- package/dist/icons/camera-disabled.cjs +98 -0
- package/dist/icons/camera-disabled.cjs.map +1 -0
- package/dist/icons/camera-disabled.d.cts +6 -0
- package/dist/icons/camera-disabled.d.ts +6 -0
- package/dist/icons/camera-disabled.js +8 -0
- package/dist/icons/camera-disabled.js.map +1 -0
- package/dist/icons/camera.cjs +96 -0
- package/dist/icons/camera.cjs.map +1 -0
- package/dist/icons/camera.d.cts +6 -0
- package/dist/icons/camera.d.ts +6 -0
- package/dist/icons/camera.js +8 -0
- package/dist/icons/camera.js.map +1 -0
- package/dist/icons/end-call.js +3 -44
- package/dist/icons/end-call.js.map +1 -1
- package/dist/icons/index.cjs +150 -0
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +4 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +20 -4
- package/dist/icons/mic.js +3 -46
- package/dist/icons/mic.js.map +1 -1
- package/dist/icons/video-disabled.cjs +4 -4
- package/dist/icons/video-disabled.cjs.map +1 -1
- package/dist/icons/video-disabled.d.cts +2 -2
- package/dist/icons/video-disabled.d.ts +2 -2
- package/dist/icons/video-disabled.js +4 -36
- package/dist/icons/video-disabled.js.map +1 -1
- package/dist/icons/video.cjs +4 -4
- package/dist/icons/video.cjs.map +1 -1
- package/dist/icons/video.d.cts +2 -2
- package/dist/icons/video.d.ts +2 -2
- package/dist/icons/video.js +4 -34
- package/dist/icons/video.js.map +1 -1
- package/dist/index.cjs +556 -406
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +21 -5
- package/dist/molecules/date-picker/date-picker-button.cjs +183 -41
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +6 -2
- package/dist/molecules/date-picker/index.cjs +154 -12
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +6 -2
- package/dist/molecules/expand-table/index.cjs +199 -57
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +7 -3
- package/dist/molecules/expand-table/row.cjs +175 -33
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +6 -2
- package/dist/molecules/index.cjs +316 -174
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +7 -3
- package/dist/molecules/navigation.cjs +175 -33
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +6 -2
- package/dist/molecules/radio-button-card.cjs +173 -31
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +6 -2
- package/dist/molecules/stepper.cjs +162 -20
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +6 -2
- package/dist/molecules/tag-selector.cjs +215 -73
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +6 -2
- package/dist/molecules/time-select.cjs +174 -32
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +6 -2
- package/package.json +1 -1
- package/src/icons/{video-disabled.tsx → camera-disabled.tsx} +2 -2
- package/src/icons/{video.tsx → camera.tsx} +2 -2
- package/src/icons/index.ts +4 -0
|
@@ -698,15 +698,157 @@ var TriangleArrowDownIcon = React7.forwardRef(
|
|
|
698
698
|
);
|
|
699
699
|
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
700
700
|
|
|
701
|
-
// src/
|
|
701
|
+
// src/icons/mic.tsx
|
|
702
|
+
var React8 = __toESM(require("react"), 1);
|
|
702
703
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
704
|
+
var MicIcon = React8.forwardRef(
|
|
705
|
+
(_a, forwardedRef) => {
|
|
706
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
708
|
+
"svg",
|
|
709
|
+
__spreadProps(__spreadValues({
|
|
710
|
+
fill: "none",
|
|
711
|
+
height: "16",
|
|
712
|
+
viewBox: "0 0 12 16",
|
|
713
|
+
width: "12",
|
|
714
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
715
|
+
}, props), {
|
|
716
|
+
ref: forwardedRef,
|
|
717
|
+
children: [
|
|
718
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
719
|
+
"path",
|
|
720
|
+
{
|
|
721
|
+
clipRule: "evenodd",
|
|
722
|
+
d: "M9.15383 8.15726H9.17422V7.79011V3.71671H9.17378C9.14572 1.93538 7.69297 0.5 5.90497 0.5C4.11696 0.5 2.66421 1.93538 2.63616 3.71671H2.63577V3.75606C2.63575 3.76044 2.63574 3.76483 2.63574 3.76923C2.63574 3.77362 2.63575 3.77801 2.63577 3.78239V7.79011V8.15726H2.65615C2.83862 9.78997 4.22357 11.0593 5.90499 11.0593C7.58642 11.0593 8.97136 9.78997 9.15383 8.15726Z",
|
|
723
|
+
fill: color,
|
|
724
|
+
fillRule: "evenodd"
|
|
725
|
+
}
|
|
726
|
+
),
|
|
727
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
728
|
+
"path",
|
|
729
|
+
{
|
|
730
|
+
d: "M1.30707 7.51038C1.30707 8.87401 2.61826 12.2831 5.90497 12.2831M5.90497 12.2831V15.4999M5.90497 12.2831C8.8595 11.9148 10.0284 10.8351 10.5203 7.51038M5.90497 15.4999H4.05182M5.90497 15.4999H7.81056",
|
|
731
|
+
stroke: color,
|
|
732
|
+
strokeLinecap: "round",
|
|
733
|
+
strokeWidth: "1.2"
|
|
734
|
+
}
|
|
735
|
+
)
|
|
736
|
+
]
|
|
737
|
+
})
|
|
738
|
+
);
|
|
739
|
+
}
|
|
740
|
+
);
|
|
741
|
+
MicIcon.displayName = "MicIcon";
|
|
703
742
|
|
|
704
|
-
// src/
|
|
743
|
+
// src/icons/camera.tsx
|
|
744
|
+
var React9 = __toESM(require("react"), 1);
|
|
705
745
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
746
|
+
var CameraIcon = React9.forwardRef(
|
|
747
|
+
(_a, forwardedRef) => {
|
|
748
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
750
|
+
"svg",
|
|
751
|
+
__spreadProps(__spreadValues({
|
|
752
|
+
fill: "none",
|
|
753
|
+
height: "16",
|
|
754
|
+
ref: forwardedRef,
|
|
755
|
+
viewBox: "0 0 16 16",
|
|
756
|
+
width: "16",
|
|
757
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
758
|
+
}, props), {
|
|
759
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
760
|
+
"path",
|
|
761
|
+
{
|
|
762
|
+
d: "M1.41176 2C0.470588 2 0 2.46222 0 3.38667C0 4.31111 0 11.2444 0 12.1689C0 13.0933 0.470588 13.5556 0.941176 13.5556C1.41176 13.5556 9.88235 13.5556 10.8235 13.5556C11.7647 13.5556 11.7647 13.0933 11.7647 12.1689C11.7647 11.5595 11.7647 10.9502 11.7647 10.6056C11.7647 10.4478 11.8926 10.32 12.0504 10.32H12.1689C12.2126 10.32 12.2557 10.33 12.2949 10.3493L14.1176 11.2444L15.5883 11.9667C15.7782 12.06 16 11.9218 16 11.7103V3.86745C16 3.6507 15.768 3.51238 15.577 3.61479C14.6546 4.10924 12.5222 5.23556 12.2353 5.23556C12.1353 5.23556 12.0821 5.23556 12.0502 5.23556C11.8924 5.23556 11.7647 5.10789 11.7647 4.95009C11.7647 4.51892 11.7647 3.71688 11.7647 3.38667C11.7647 2.92444 11.2941 2 10.3529 2C9.41177 2 2.35294 2 1.41176 2Z",
|
|
763
|
+
fill: color
|
|
764
|
+
}
|
|
765
|
+
)
|
|
766
|
+
})
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
);
|
|
770
|
+
CameraIcon.displayName = "CameraIcon";
|
|
771
|
+
|
|
772
|
+
// src/icons/camera-disabled.tsx
|
|
773
|
+
var React10 = __toESM(require("react"), 1);
|
|
774
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
775
|
+
var CameraDisabledIcon = React10.forwardRef(
|
|
776
|
+
(_a, forwardedRef) => {
|
|
777
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
779
|
+
"svg",
|
|
780
|
+
__spreadProps(__spreadValues({
|
|
781
|
+
fill: "none",
|
|
782
|
+
height: "16",
|
|
783
|
+
ref: forwardedRef,
|
|
784
|
+
viewBox: "0 0 16 16",
|
|
785
|
+
width: "16",
|
|
786
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
787
|
+
}, props), {
|
|
788
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
789
|
+
"path",
|
|
790
|
+
{
|
|
791
|
+
clipRule: "evenodd",
|
|
792
|
+
d: "M0 3.3872C0 2.4624 0.470588 2 1.41176 2H10.3529C11.2941 2 11.7647 2.9248 11.7647 3.3872V4.95122C11.7647 5.10908 11.8924 5.2368 12.0502 5.2368H12.2353C12.5222 5.2368 14.6546 4.11005 15.577 3.61542C15.768 3.51296 16 3.65133 16 3.86817V11.714C16 11.9256 15.7782 12.0638 15.5883 11.9706L12.2949 10.3525C12.2557 10.3332 12.2126 10.3232 12.1689 10.3232H12.0504C11.8926 10.3232 11.7647 10.451 11.7647 10.6089V12.1728C11.7647 13.0976 11.7647 13.56 10.8235 13.56H0.941176C0.470588 13.56 0 13.0976 0 12.1728V3.3872ZM8.67719 6.41215C8.8854 6.20379 8.8854 5.86598 8.67719 5.65762C8.46887 5.44925 8.13116 5.44925 7.92284 5.65762L6.16668 7.4145L4.41052 5.65762C4.2022 5.44925 3.8645 5.44925 3.65618 5.65762C3.44794 5.86598 3.44794 6.20379 3.65618 6.41215L5.41244 8.16904L3.65618 9.92593C3.44794 10.1343 3.44794 10.4721 3.65618 10.6805C3.8645 10.8888 4.2022 10.8888 4.41052 10.6805L6.16668 8.92358L7.92284 10.6805C8.13116 10.8888 8.46887 10.8888 8.67719 10.6805C8.8854 10.4721 8.8854 10.1343 8.67719 9.92593L6.92092 8.16904L8.67719 6.41215Z",
|
|
793
|
+
fill: color,
|
|
794
|
+
fillRule: "evenodd"
|
|
795
|
+
}
|
|
796
|
+
)
|
|
797
|
+
})
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
);
|
|
801
|
+
CameraDisabledIcon.displayName = "VideoDisabledIcon";
|
|
802
|
+
|
|
803
|
+
// src/icons/end-call.tsx
|
|
804
|
+
var React11 = __toESM(require("react"), 1);
|
|
805
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
806
|
+
var EndCallIcon = React11.forwardRef(
|
|
807
|
+
(_a, forwardedRef) => {
|
|
808
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
810
|
+
"svg",
|
|
811
|
+
__spreadProps(__spreadValues({
|
|
812
|
+
fill: "none",
|
|
813
|
+
height: "16",
|
|
814
|
+
ref: forwardedRef,
|
|
815
|
+
viewBox: "0 0 16 16",
|
|
816
|
+
width: "16",
|
|
817
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
818
|
+
}, props), {
|
|
819
|
+
children: [
|
|
820
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
821
|
+
"path",
|
|
822
|
+
{
|
|
823
|
+
d: "M8 6.66667C8.90629 6.66667 9.77647 6.83841 10.5856 7.15419C10.6552 7.18136 10.69 7.19494 10.7285 7.21836C10.865 7.30159 10.9727 7.47044 10.9981 7.64117C11.0053 7.68921 11.0053 7.73711 11.0053 7.83291C11.0053 8.1259 11.0053 8.27239 11.0285 8.39394C11.1159 8.8523 11.4382 9.2104 11.8507 9.30757C11.9601 9.33333 12.092 9.33333 12.3557 9.33333H12.5026C12.9035 9.33333 13.1039 9.33333 13.266 9.27424C13.5883 9.1567 13.841 8.87584 13.9468 8.51773C14 8.33766 14 8.11498 14 7.6696V7.53749C14 7.09364 14 6.87172 13.9405 6.63611C13.8745 6.37466 13.7013 6.04705 13.528 5.85561C13.3718 5.68309 13.2352 5.5984 12.9619 5.42901C11.4932 4.51871 9.80113 4 8 4C6.19887 4 4.50678 4.51871 3.03812 5.42901C2.76484 5.5984 2.6282 5.68309 2.472 5.85561C2.29868 6.04705 2.12553 6.37466 2.0595 6.63611C2 6.87172 2 7.09364 2 7.53749V7.6696C2 8.11498 2 8.33766 2.05319 8.51773C2.15897 8.87584 2.41174 9.1567 2.73404 9.27424C2.8961 9.33333 3.09652 9.33333 3.49736 9.33333L3.64434 9.33333C3.90803 9.33333 4.03987 9.33333 4.14926 9.30757C4.56179 9.2104 4.88408 8.8523 4.97153 8.39394C4.99472 8.27239 4.99472 8.1259 4.99472 7.83291C4.99472 7.73711 4.99472 7.68921 5.00187 7.64117C5.0273 7.47044 5.13499 7.30159 5.27154 7.21836C5.30996 7.19494 5.34476 7.18136 5.41436 7.15419C6.22353 6.83841 7.09371 6.66667 8 6.66667Z",
|
|
824
|
+
fill: color
|
|
825
|
+
}
|
|
826
|
+
),
|
|
827
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
828
|
+
"path",
|
|
829
|
+
{
|
|
830
|
+
d: "M2 12H14M8 6.66667C8.90629 6.66667 9.77647 6.83841 10.5856 7.15419C10.6552 7.18136 10.69 7.19494 10.7285 7.21836C10.865 7.30159 10.9727 7.47044 10.9981 7.64117C11.0053 7.68921 11.0053 7.73711 11.0053 7.83291C11.0053 8.1259 11.0053 8.27239 11.0285 8.39394C11.1159 8.8523 11.4382 9.2104 11.8507 9.30757C11.9601 9.33333 12.092 9.33333 12.3557 9.33333H12.5026C12.9035 9.33333 13.1039 9.33333 13.266 9.27424C13.5883 9.1567 13.841 8.87584 13.9468 8.51773C14 8.33766 14 8.11498 14 7.6696V7.53749C14 7.09364 14 6.87172 13.9405 6.63611C13.8745 6.37466 13.7013 6.04705 13.528 5.85561C13.3718 5.68309 13.2352 5.5984 12.9619 5.42901C11.4932 4.51871 9.80113 4 8 4C6.19887 4 4.50678 4.51871 3.03812 5.42901C2.76484 5.5984 2.6282 5.68309 2.472 5.85561C2.29868 6.04705 2.12553 6.37466 2.0595 6.63611C2 6.87172 2 7.09364 2 7.53749V7.6696C2 8.11498 2 8.33766 2.05319 8.51773C2.15897 8.87584 2.41174 9.1567 2.73404 9.27424C2.8961 9.33333 3.09652 9.33333 3.49736 9.33333L3.64434 9.33333C3.90803 9.33333 4.03987 9.33333 4.14926 9.30757C4.56179 9.2104 4.88408 8.8523 4.97153 8.39394C4.99472 8.27239 4.99472 8.1259 4.99472 7.83291C4.99472 7.73711 4.99472 7.68921 5.00187 7.64117C5.0273 7.47044 5.13499 7.30159 5.27154 7.21836C5.30996 7.19494 5.34476 7.18136 5.41436 7.15419C6.22353 6.83841 7.09371 6.66667 8 6.66667Z",
|
|
831
|
+
stroke: color,
|
|
832
|
+
strokeLinecap: "round",
|
|
833
|
+
strokeWidth: "1.5"
|
|
834
|
+
}
|
|
835
|
+
)
|
|
836
|
+
]
|
|
837
|
+
})
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
);
|
|
841
|
+
EndCallIcon.displayName = "EndCallIcon";
|
|
842
|
+
|
|
843
|
+
// src/atoms/pagination.tsx
|
|
844
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
845
|
+
|
|
846
|
+
// src/atoms/field-error-wrapper.tsx
|
|
847
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
706
848
|
|
|
707
849
|
// src/atoms/ellipsis-tooltip.tsx
|
|
708
850
|
var import_react16 = require("react");
|
|
709
|
-
var
|
|
851
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
710
852
|
|
|
711
853
|
// src/atoms/drawer.tsx
|
|
712
854
|
var import_react17 = require("react");
|
|
@@ -714,12 +856,12 @@ var Dialog = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
714
856
|
var import_themes50 = require("@radix-ui/themes");
|
|
715
857
|
|
|
716
858
|
// src/icons/close-panel-arrow.tsx
|
|
717
|
-
var
|
|
718
|
-
var
|
|
719
|
-
var ClosePanelArrowIcon =
|
|
859
|
+
var React14 = __toESM(require("react"), 1);
|
|
860
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
861
|
+
var ClosePanelArrowIcon = React14.forwardRef(
|
|
720
862
|
(_a, forwardedRef) => {
|
|
721
863
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
722
|
-
return /* @__PURE__ */ (0,
|
|
864
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
723
865
|
"svg",
|
|
724
866
|
__spreadProps(__spreadValues({
|
|
725
867
|
fill: "none",
|
|
@@ -730,7 +872,7 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
730
872
|
}, props), {
|
|
731
873
|
ref: forwardedRef,
|
|
732
874
|
children: [
|
|
733
|
-
/* @__PURE__ */ (0,
|
|
875
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
734
876
|
"path",
|
|
735
877
|
{
|
|
736
878
|
clipRule: "evenodd",
|
|
@@ -739,7 +881,7 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
739
881
|
fillRule: "evenodd"
|
|
740
882
|
}
|
|
741
883
|
),
|
|
742
|
-
/* @__PURE__ */ (0,
|
|
884
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
743
885
|
"path",
|
|
744
886
|
{
|
|
745
887
|
clipRule: "evenodd",
|
|
@@ -756,16 +898,16 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
756
898
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
757
899
|
|
|
758
900
|
// src/atoms/drawer.tsx
|
|
759
|
-
var
|
|
901
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
760
902
|
|
|
761
903
|
// src/molecules/form/form.tsx
|
|
762
904
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
763
905
|
var import_react18 = require("react");
|
|
764
|
-
var
|
|
906
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
765
907
|
var Root7 = (0, import_react18.forwardRef)(
|
|
766
908
|
(_a, ref) => {
|
|
767
909
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
768
|
-
return /* @__PURE__ */ (0,
|
|
910
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
769
911
|
RadixForm.Root,
|
|
770
912
|
__spreadProps(__spreadValues({}, rest), {
|
|
771
913
|
className: `FormRoot ${className || ""}`,
|
|
@@ -782,22 +924,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
782
924
|
var Field2 = (0, import_react18.forwardRef)(
|
|
783
925
|
(_a, ref) => {
|
|
784
926
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
785
|
-
return /* @__PURE__ */ (0,
|
|
927
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
786
928
|
RadixForm.Field,
|
|
787
929
|
__spreadProps(__spreadValues({}, rest), {
|
|
788
930
|
className: `FormField ${className || ""}`,
|
|
789
931
|
ref,
|
|
790
|
-
children: /* @__PURE__ */ (0,
|
|
932
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FieldContext.Provider, { value: rest, children })
|
|
791
933
|
})
|
|
792
934
|
);
|
|
793
935
|
}
|
|
794
936
|
);
|
|
795
937
|
Field2.displayName = "FORM_FIELD";
|
|
796
938
|
function HeadingLabel(props) {
|
|
797
|
-
return /* @__PURE__ */ (0,
|
|
939
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
798
940
|
}
|
|
799
941
|
function CaptionLabel(props) {
|
|
800
|
-
return /* @__PURE__ */ (0,
|
|
942
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
801
943
|
}
|
|
802
944
|
var Label2 = (0, import_react18.forwardRef)(
|
|
803
945
|
(_a, ref) => {
|
|
@@ -814,15 +956,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
814
956
|
}
|
|
815
957
|
}, [variant]);
|
|
816
958
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
818
960
|
RadixForm.Label,
|
|
819
961
|
__spreadProps(__spreadValues({}, rest), {
|
|
820
962
|
asChild: true,
|
|
821
963
|
className: `FormLabel ${className || ""}`,
|
|
822
964
|
ref,
|
|
823
|
-
children: /* @__PURE__ */ (0,
|
|
965
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Comp, { children: [
|
|
824
966
|
children,
|
|
825
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
967
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
826
968
|
] })
|
|
827
969
|
})
|
|
828
970
|
);
|
|
@@ -832,13 +974,13 @@ Label2.displayName = "FORM_Label";
|
|
|
832
974
|
var Message2 = (0, import_react18.forwardRef)(
|
|
833
975
|
(_a, ref) => {
|
|
834
976
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
835
|
-
return /* @__PURE__ */ (0,
|
|
977
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
836
978
|
RadixForm.Message,
|
|
837
979
|
__spreadProps(__spreadValues({}, rest), {
|
|
838
980
|
asChild: true,
|
|
839
981
|
className: `FormMessage ${className || ""}`,
|
|
840
982
|
ref,
|
|
841
|
-
children: /* @__PURE__ */ (0,
|
|
983
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { color: "red", children })
|
|
842
984
|
})
|
|
843
985
|
);
|
|
844
986
|
}
|
|
@@ -848,7 +990,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
848
990
|
(_a, ref) => {
|
|
849
991
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
850
992
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
851
|
-
return /* @__PURE__ */ (0,
|
|
993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
852
994
|
RadixForm.Control,
|
|
853
995
|
__spreadProps(__spreadValues({}, rest), {
|
|
854
996
|
className: `FormControl ${className || ""}`,
|
|
@@ -871,10 +1013,10 @@ function FormItem(_a) {
|
|
|
871
1013
|
"children",
|
|
872
1014
|
"errorMessage"
|
|
873
1015
|
]);
|
|
874
|
-
return /* @__PURE__ */ (0,
|
|
875
|
-
/* @__PURE__ */ (0,
|
|
1016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1017
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
876
1018
|
children,
|
|
877
|
-
/* @__PURE__ */ (0,
|
|
1019
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
878
1020
|
] }));
|
|
879
1021
|
}
|
|
880
1022
|
var Form = {
|
|
@@ -889,7 +1031,7 @@ var Form = {
|
|
|
889
1031
|
|
|
890
1032
|
// src/atoms/auto-sizing-input.tsx
|
|
891
1033
|
var import_react19 = require("react");
|
|
892
|
-
var
|
|
1034
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
893
1035
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
894
1036
|
(_a, ref) => {
|
|
895
1037
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -912,25 +1054,25 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
912
1054
|
(0, import_react19.useEffect)(() => {
|
|
913
1055
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
914
1056
|
}, [value, onChangeValue]);
|
|
915
|
-
return /* @__PURE__ */ (0,
|
|
916
|
-
/* @__PURE__ */ (0,
|
|
917
|
-
/* @__PURE__ */ (0,
|
|
1057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1058
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1059
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
918
1060
|
] });
|
|
919
1061
|
}
|
|
920
1062
|
);
|
|
921
1063
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
922
1064
|
|
|
923
1065
|
// src/atoms/bullet-text.tsx
|
|
924
|
-
var
|
|
1066
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
925
1067
|
function BulletText(_a) {
|
|
926
1068
|
var _b = _a, {
|
|
927
1069
|
children
|
|
928
1070
|
} = _b, rest = __objRest(_b, [
|
|
929
1071
|
"children"
|
|
930
1072
|
]);
|
|
931
|
-
return /* @__PURE__ */ (0,
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
933
|
-
/* @__PURE__ */ (0,
|
|
1073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1074
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1075
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
934
1076
|
] });
|
|
935
1077
|
}
|
|
936
1078
|
|
|
@@ -941,20 +1083,20 @@ var import_react21 = require("react");
|
|
|
941
1083
|
// src/molecules/expand-table/row.tsx
|
|
942
1084
|
var import_react_table = require("@tanstack/react-table");
|
|
943
1085
|
var import_react20 = require("react");
|
|
944
|
-
var
|
|
1086
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
945
1087
|
|
|
946
1088
|
// src/molecules/expand-table/index.tsx
|
|
947
|
-
var
|
|
1089
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
948
1090
|
|
|
949
1091
|
// src/molecules/navigation.tsx
|
|
950
|
-
var
|
|
1092
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
951
1093
|
|
|
952
1094
|
// src/molecules/date-picker/index.tsx
|
|
953
1095
|
var import_react22 = require("react");
|
|
954
1096
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
955
1097
|
var import_react_datepicker = require("react-datepicker");
|
|
956
1098
|
var import_locale = require("date-fns/locale");
|
|
957
|
-
var
|
|
1099
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
958
1100
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
959
1101
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
960
1102
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
@@ -962,7 +1104,7 @@ var DatePicker = (0, import_react22.forwardRef)(
|
|
|
962
1104
|
(props, ref) => {
|
|
963
1105
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
964
1106
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
965
|
-
return /* @__PURE__ */ (0,
|
|
1107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
966
1108
|
ReactDatePicker,
|
|
967
1109
|
__spreadProps(__spreadValues({
|
|
968
1110
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -993,35 +1135,35 @@ var renderCustomHeader = (props) => {
|
|
|
993
1135
|
} = props;
|
|
994
1136
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
995
1137
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
996
|
-
return /* @__PURE__ */ (0,
|
|
997
|
-
/* @__PURE__ */ (0,
|
|
1138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1139
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
998
1140
|
import_themes18.IconButton,
|
|
999
1141
|
{
|
|
1000
1142
|
disabled: prevMonthButtonDisabled,
|
|
1001
1143
|
onClick: decreaseMonth,
|
|
1002
1144
|
type: "button",
|
|
1003
1145
|
variant: "ghost",
|
|
1004
|
-
children: /* @__PURE__ */ (0,
|
|
1146
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1005
1147
|
}
|
|
1006
1148
|
),
|
|
1007
|
-
/* @__PURE__ */ (0,
|
|
1008
|
-
/* @__PURE__ */ (0,
|
|
1149
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1150
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1009
1151
|
year,
|
|
1010
1152
|
"\uB144"
|
|
1011
1153
|
] }),
|
|
1012
|
-
/* @__PURE__ */ (0,
|
|
1154
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1013
1155
|
month,
|
|
1014
1156
|
"\uC6D4"
|
|
1015
1157
|
] })
|
|
1016
1158
|
] }),
|
|
1017
|
-
/* @__PURE__ */ (0,
|
|
1159
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1018
1160
|
import_themes18.IconButton,
|
|
1019
1161
|
{
|
|
1020
1162
|
disabled: nextMonthButtonDisabled,
|
|
1021
1163
|
onClick: increaseMonth,
|
|
1022
1164
|
type: "button",
|
|
1023
1165
|
variant: "ghost",
|
|
1024
|
-
children: /* @__PURE__ */ (0,
|
|
1166
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons3.ChevronRightIcon, {})
|
|
1025
1167
|
}
|
|
1026
1168
|
)
|
|
1027
1169
|
] });
|
|
@@ -1030,12 +1172,12 @@ var renderCustomHeader = (props) => {
|
|
|
1030
1172
|
// src/molecules/dot-navigation.tsx
|
|
1031
1173
|
var import_react23 = require("react");
|
|
1032
1174
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
1033
|
-
var
|
|
1175
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1034
1176
|
|
|
1035
1177
|
// src/molecules/stepper.tsx
|
|
1036
1178
|
var import_react24 = require("react");
|
|
1037
1179
|
var import_themes51 = require("@radix-ui/themes");
|
|
1038
|
-
var
|
|
1180
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1039
1181
|
var StepContext = (0, import_react24.createContext)({
|
|
1040
1182
|
active: false,
|
|
1041
1183
|
completed: false,
|
|
@@ -1045,24 +1187,24 @@ var StepContext = (0, import_react24.createContext)({
|
|
|
1045
1187
|
// src/molecules/tag-selector.tsx
|
|
1046
1188
|
var import_react25 = require("react");
|
|
1047
1189
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1048
|
-
var
|
|
1190
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1049
1191
|
|
|
1050
1192
|
// src/theme/theme-provider.tsx
|
|
1051
1193
|
var import_themes52 = require("@radix-ui/themes");
|
|
1052
|
-
var
|
|
1194
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1053
1195
|
|
|
1054
1196
|
// src/molecules/learning-post.tsx
|
|
1055
|
-
var
|
|
1197
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1056
1198
|
|
|
1057
1199
|
// src/molecules/force-refresh.tsx
|
|
1058
1200
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
1059
|
-
var
|
|
1201
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1060
1202
|
|
|
1061
1203
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
1062
1204
|
var import_react26 = require("react");
|
|
1063
1205
|
var import_date_fns = require("date-fns");
|
|
1064
1206
|
var import_clsx = require("clsx");
|
|
1065
|
-
var
|
|
1207
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1066
1208
|
function DatePickerButton(props) {
|
|
1067
1209
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
1068
1210
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
@@ -1081,12 +1223,12 @@ function DatePickerButton(props) {
|
|
|
1081
1223
|
(disabled || props.readOnly) && "disabled"
|
|
1082
1224
|
);
|
|
1083
1225
|
}, [disabled, props.readOnly]);
|
|
1084
|
-
return /* @__PURE__ */ (0,
|
|
1226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1085
1227
|
DatePicker,
|
|
1086
1228
|
__spreadProps(__spreadValues({
|
|
1087
|
-
customInput: /* @__PURE__ */ (0,
|
|
1229
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1088
1230
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1089
|
-
/* @__PURE__ */ (0,
|
|
1231
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons3.CalendarIcon, {})
|
|
1090
1232
|
] }) })),
|
|
1091
1233
|
wrapperClassName: "full-width"
|
|
1092
1234
|
}, rest), {
|
|
@@ -1120,7 +1262,7 @@ var getTimeOption = (time) => {
|
|
|
1120
1262
|
};
|
|
1121
1263
|
|
|
1122
1264
|
// src/molecules/time-select.tsx
|
|
1123
|
-
var
|
|
1265
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1124
1266
|
var getOptionValue = (date, timeValue) => {
|
|
1125
1267
|
if (date && timeValue) {
|
|
1126
1268
|
if ((0, import_date_fns2.format)(date, "yyyyMMdd") === (0, import_date_fns2.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -1146,21 +1288,21 @@ function TimeSelect(_a) {
|
|
|
1146
1288
|
const [minOption, maxOption] = (0, import_react27.useMemo)(() => {
|
|
1147
1289
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1148
1290
|
}, [maxTime, minTime, time]);
|
|
1149
|
-
return /* @__PURE__ */ (0,
|
|
1150
|
-
/* @__PURE__ */ (0,
|
|
1151
|
-
/* @__PURE__ */ (0,
|
|
1291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1292
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1293
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1152
1294
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1153
1295
|
if (!visible) {
|
|
1154
1296
|
return null;
|
|
1155
1297
|
}
|
|
1156
|
-
return /* @__PURE__ */ (0,
|
|
1298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Select.Item, { value: option, children: option }, option);
|
|
1157
1299
|
}) })
|
|
1158
1300
|
] }));
|
|
1159
1301
|
}
|
|
1160
1302
|
|
|
1161
1303
|
// src/molecules/radio-button-card.tsx
|
|
1162
1304
|
var import_react28 = require("react");
|
|
1163
|
-
var
|
|
1305
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1164
1306
|
var RadioCardContext = (0, import_react28.createContext)({});
|
|
1165
1307
|
function Root8(props) {
|
|
1166
1308
|
const [value, setValue] = (0, import_react28.useState)(props.value || props.defaultValue);
|
|
@@ -1172,7 +1314,7 @@ function Root8(props) {
|
|
|
1172
1314
|
},
|
|
1173
1315
|
[props]
|
|
1174
1316
|
);
|
|
1175
|
-
return /* @__PURE__ */ (0,
|
|
1317
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
1176
1318
|
}
|
|
1177
1319
|
function Item(_a) {
|
|
1178
1320
|
var _b = _a, {
|
|
@@ -1189,9 +1331,9 @@ function Item(_a) {
|
|
|
1189
1331
|
"justify",
|
|
1190
1332
|
"RadioWrapper"
|
|
1191
1333
|
]);
|
|
1192
|
-
return /* @__PURE__ */ (0,
|
|
1334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1193
1335
|
children,
|
|
1194
|
-
/* @__PURE__ */ (0,
|
|
1336
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1195
1337
|
import_themes32.Radio,
|
|
1196
1338
|
{
|
|
1197
1339
|
checked: itemRest.value === value,
|
|
@@ -1208,24 +1350,24 @@ var RadioButtonCard = {
|
|
|
1208
1350
|
|
|
1209
1351
|
// src/molecules/download-card.tsx
|
|
1210
1352
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
1211
|
-
var
|
|
1353
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1212
1354
|
|
|
1213
1355
|
// src/app/platform/on-offline-radio-card.tsx
|
|
1214
1356
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
1215
|
-
var
|
|
1357
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1216
1358
|
var SERVICE_TYPE = {
|
|
1217
1359
|
onlineCoaching: "onlineCoaching",
|
|
1218
1360
|
offlineCoaching: "offlineCoaching"
|
|
1219
1361
|
};
|
|
1220
1362
|
var breakpoint = "sm";
|
|
1221
1363
|
function HideSmallBox(props) {
|
|
1222
|
-
return /* @__PURE__ */ (0,
|
|
1364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
1223
1365
|
}
|
|
1224
1366
|
function OnOfflineRadioCard(props) {
|
|
1225
1367
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
1226
1368
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
1227
1369
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
1228
|
-
return /* @__PURE__ */ (0,
|
|
1370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
1229
1371
|
RadioButtonCard.Root,
|
|
1230
1372
|
__spreadProps(__spreadValues({
|
|
1231
1373
|
RadioWrapper: Wrapper,
|
|
@@ -1234,13 +1376,13 @@ function OnOfflineRadioCard(props) {
|
|
|
1234
1376
|
justify
|
|
1235
1377
|
}, props), {
|
|
1236
1378
|
children: [
|
|
1237
|
-
/* @__PURE__ */ (0,
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1239
|
-
/* @__PURE__ */ (0,
|
|
1379
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1380
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_icons8.GlobeIcon, {}) }),
|
|
1381
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
1240
1382
|
] }) }),
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1242
|
-
/* @__PURE__ */ (0,
|
|
1243
|
-
/* @__PURE__ */ (0,
|
|
1383
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1384
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_icons8.BackpackIcon, {}) }),
|
|
1385
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
1244
1386
|
] }) })
|
|
1245
1387
|
]
|
|
1246
1388
|
})
|
|
@@ -1248,7 +1390,7 @@ function OnOfflineRadioCard(props) {
|
|
|
1248
1390
|
}
|
|
1249
1391
|
|
|
1250
1392
|
// src/app/platform/reservation-card.tsx
|
|
1251
|
-
var
|
|
1393
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1252
1394
|
function ReservationCard(props) {
|
|
1253
1395
|
const {
|
|
1254
1396
|
sessionNumber,
|
|
@@ -1282,9 +1424,9 @@ function ReservationCard(props) {
|
|
|
1282
1424
|
}, [defaultTime, defaultType]);
|
|
1283
1425
|
const ActionButtons = (0, import_react29.useMemo)(() => {
|
|
1284
1426
|
if (readonly) {
|
|
1285
|
-
return /* @__PURE__ */ (0,
|
|
1427
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
1286
1428
|
}
|
|
1287
|
-
return /* @__PURE__ */ (0,
|
|
1429
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_icons3.Cross1Icon, {}) });
|
|
1288
1430
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
1289
1431
|
const onChangeDate = (0, import_react29.useCallback)(
|
|
1290
1432
|
(newDate) => {
|
|
@@ -1341,47 +1483,47 @@ function ReservationCard(props) {
|
|
|
1341
1483
|
});
|
|
1342
1484
|
}
|
|
1343
1485
|
}, [editValues, maxTime, readonly]);
|
|
1344
|
-
return /* @__PURE__ */ (0,
|
|
1486
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
1345
1487
|
Card,
|
|
1346
1488
|
{
|
|
1347
1489
|
error: Boolean(error),
|
|
1348
1490
|
size: "3",
|
|
1349
1491
|
style: { overflow: "visible", contain: "initial" },
|
|
1350
1492
|
children: [
|
|
1351
|
-
/* @__PURE__ */ (0,
|
|
1352
|
-
/* @__PURE__ */ (0,
|
|
1493
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
1494
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
1353
1495
|
import_themes23.Grid,
|
|
1354
1496
|
{
|
|
1355
1497
|
align: "center",
|
|
1356
1498
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
1357
1499
|
gapY: "2",
|
|
1358
1500
|
children: [
|
|
1359
|
-
/* @__PURE__ */ (0,
|
|
1360
|
-
/* @__PURE__ */ (0,
|
|
1501
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
1502
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Heading2, { variant: "heading4", children: [
|
|
1361
1503
|
customerName || "-",
|
|
1362
1504
|
"\uB2D8 ",
|
|
1363
1505
|
sessionNumber || "-",
|
|
1364
1506
|
"\uD68C\uCC28 \uC138\uC158"
|
|
1365
1507
|
] }),
|
|
1366
|
-
/* @__PURE__ */ (0,
|
|
1508
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
1367
1509
|
] }),
|
|
1368
|
-
error ? /* @__PURE__ */ (0,
|
|
1510
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
1369
1511
|
]
|
|
1370
1512
|
}
|
|
1371
1513
|
),
|
|
1372
|
-
/* @__PURE__ */ (0,
|
|
1514
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
1373
1515
|
] }),
|
|
1374
|
-
/* @__PURE__ */ (0,
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1375
1517
|
Form.Root,
|
|
1376
1518
|
{
|
|
1377
1519
|
onSubmit: (e) => {
|
|
1378
1520
|
e.preventDefault();
|
|
1379
1521
|
},
|
|
1380
|
-
children: /* @__PURE__ */ (0,
|
|
1381
|
-
/* @__PURE__ */ (0,
|
|
1382
|
-
/* @__PURE__ */ (0,
|
|
1383
|
-
/* @__PURE__ */ (0,
|
|
1384
|
-
/* @__PURE__ */ (0,
|
|
1522
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1523
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Form.Label, { asChild: true, children: [
|
|
1524
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
1525
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
1526
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1385
1527
|
DatePickerButton,
|
|
1386
1528
|
{
|
|
1387
1529
|
disabled: readonly,
|
|
@@ -1393,7 +1535,7 @@ function ReservationCard(props) {
|
|
|
1393
1535
|
size: "large"
|
|
1394
1536
|
}
|
|
1395
1537
|
),
|
|
1396
|
-
/* @__PURE__ */ (0,
|
|
1538
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1397
1539
|
TimeSelect,
|
|
1398
1540
|
{
|
|
1399
1541
|
disabled: readonly,
|
|
@@ -1407,9 +1549,9 @@ function ReservationCard(props) {
|
|
|
1407
1549
|
)
|
|
1408
1550
|
] })
|
|
1409
1551
|
] }) }),
|
|
1410
|
-
/* @__PURE__ */ (0,
|
|
1411
|
-
/* @__PURE__ */ (0,
|
|
1412
|
-
/* @__PURE__ */ (0,
|
|
1552
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Form.Field, { name: "type", children: [
|
|
1553
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
1554
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1413
1555
|
OnOfflineRadioCard,
|
|
1414
1556
|
{
|
|
1415
1557
|
disabled: readonly,
|
|
@@ -1419,8 +1561,8 @@ function ReservationCard(props) {
|
|
|
1419
1561
|
}
|
|
1420
1562
|
) })
|
|
1421
1563
|
] }),
|
|
1422
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
1423
|
-
/* @__PURE__ */ (0,
|
|
1564
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
1565
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1424
1566
|
Button,
|
|
1425
1567
|
{
|
|
1426
1568
|
color: "gray",
|
|
@@ -1430,12 +1572,12 @@ function ReservationCard(props) {
|
|
|
1430
1572
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
1431
1573
|
}
|
|
1432
1574
|
),
|
|
1433
|
-
/* @__PURE__ */ (0,
|
|
1575
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
1434
1576
|
] })
|
|
1435
1577
|
] })
|
|
1436
1578
|
}
|
|
1437
1579
|
) }),
|
|
1438
|
-
readonly ? /* @__PURE__ */ (0,
|
|
1580
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1439
1581
|
import_themes6.Box,
|
|
1440
1582
|
{
|
|
1441
1583
|
mt: "5",
|
|
@@ -1443,14 +1585,14 @@ function ReservationCard(props) {
|
|
|
1443
1585
|
py: "4",
|
|
1444
1586
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
1445
1587
|
width: "100%",
|
|
1446
|
-
children: /* @__PURE__ */ (0,
|
|
1447
|
-
/* @__PURE__ */ (0,
|
|
1588
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
1589
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Typo, { children: [
|
|
1448
1590
|
sessionNumber || "-",
|
|
1449
1591
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
1450
1592
|
] }),
|
|
1451
|
-
/* @__PURE__ */ (0,
|
|
1593
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
1452
1594
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
1453
|
-
/* @__PURE__ */ (0,
|
|
1595
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_icons3.ArrowRightIcon, {})
|
|
1454
1596
|
] })
|
|
1455
1597
|
] })
|
|
1456
1598
|
}
|