@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
package/dist/molecules/index.cjs
CHANGED
|
@@ -746,8 +746,150 @@ var TriangleArrowDownIcon = React7.forwardRef(
|
|
|
746
746
|
);
|
|
747
747
|
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
748
748
|
|
|
749
|
-
// src/
|
|
749
|
+
// src/icons/mic.tsx
|
|
750
|
+
var React8 = __toESM(require("react"), 1);
|
|
750
751
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
752
|
+
var MicIcon = React8.forwardRef(
|
|
753
|
+
(_a, forwardedRef) => {
|
|
754
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
755
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
756
|
+
"svg",
|
|
757
|
+
__spreadProps(__spreadValues({
|
|
758
|
+
fill: "none",
|
|
759
|
+
height: "16",
|
|
760
|
+
viewBox: "0 0 12 16",
|
|
761
|
+
width: "12",
|
|
762
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
763
|
+
}, props), {
|
|
764
|
+
ref: forwardedRef,
|
|
765
|
+
children: [
|
|
766
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
767
|
+
"path",
|
|
768
|
+
{
|
|
769
|
+
clipRule: "evenodd",
|
|
770
|
+
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",
|
|
771
|
+
fill: color,
|
|
772
|
+
fillRule: "evenodd"
|
|
773
|
+
}
|
|
774
|
+
),
|
|
775
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
776
|
+
"path",
|
|
777
|
+
{
|
|
778
|
+
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",
|
|
779
|
+
stroke: color,
|
|
780
|
+
strokeLinecap: "round",
|
|
781
|
+
strokeWidth: "1.2"
|
|
782
|
+
}
|
|
783
|
+
)
|
|
784
|
+
]
|
|
785
|
+
})
|
|
786
|
+
);
|
|
787
|
+
}
|
|
788
|
+
);
|
|
789
|
+
MicIcon.displayName = "MicIcon";
|
|
790
|
+
|
|
791
|
+
// src/icons/camera.tsx
|
|
792
|
+
var React9 = __toESM(require("react"), 1);
|
|
793
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
794
|
+
var CameraIcon = React9.forwardRef(
|
|
795
|
+
(_a, forwardedRef) => {
|
|
796
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
798
|
+
"svg",
|
|
799
|
+
__spreadProps(__spreadValues({
|
|
800
|
+
fill: "none",
|
|
801
|
+
height: "16",
|
|
802
|
+
ref: forwardedRef,
|
|
803
|
+
viewBox: "0 0 16 16",
|
|
804
|
+
width: "16",
|
|
805
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
806
|
+
}, props), {
|
|
807
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
808
|
+
"path",
|
|
809
|
+
{
|
|
810
|
+
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",
|
|
811
|
+
fill: color
|
|
812
|
+
}
|
|
813
|
+
)
|
|
814
|
+
})
|
|
815
|
+
);
|
|
816
|
+
}
|
|
817
|
+
);
|
|
818
|
+
CameraIcon.displayName = "CameraIcon";
|
|
819
|
+
|
|
820
|
+
// src/icons/camera-disabled.tsx
|
|
821
|
+
var React10 = __toESM(require("react"), 1);
|
|
822
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
823
|
+
var CameraDisabledIcon = React10.forwardRef(
|
|
824
|
+
(_a, forwardedRef) => {
|
|
825
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
827
|
+
"svg",
|
|
828
|
+
__spreadProps(__spreadValues({
|
|
829
|
+
fill: "none",
|
|
830
|
+
height: "16",
|
|
831
|
+
ref: forwardedRef,
|
|
832
|
+
viewBox: "0 0 16 16",
|
|
833
|
+
width: "16",
|
|
834
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
835
|
+
}, props), {
|
|
836
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
837
|
+
"path",
|
|
838
|
+
{
|
|
839
|
+
clipRule: "evenodd",
|
|
840
|
+
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",
|
|
841
|
+
fill: color,
|
|
842
|
+
fillRule: "evenodd"
|
|
843
|
+
}
|
|
844
|
+
)
|
|
845
|
+
})
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
);
|
|
849
|
+
CameraDisabledIcon.displayName = "VideoDisabledIcon";
|
|
850
|
+
|
|
851
|
+
// src/icons/end-call.tsx
|
|
852
|
+
var React11 = __toESM(require("react"), 1);
|
|
853
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
854
|
+
var EndCallIcon = React11.forwardRef(
|
|
855
|
+
(_a, forwardedRef) => {
|
|
856
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
858
|
+
"svg",
|
|
859
|
+
__spreadProps(__spreadValues({
|
|
860
|
+
fill: "none",
|
|
861
|
+
height: "16",
|
|
862
|
+
ref: forwardedRef,
|
|
863
|
+
viewBox: "0 0 16 16",
|
|
864
|
+
width: "16",
|
|
865
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
866
|
+
}, props), {
|
|
867
|
+
children: [
|
|
868
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
869
|
+
"path",
|
|
870
|
+
{
|
|
871
|
+
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",
|
|
872
|
+
fill: color
|
|
873
|
+
}
|
|
874
|
+
),
|
|
875
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
876
|
+
"path",
|
|
877
|
+
{
|
|
878
|
+
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",
|
|
879
|
+
stroke: color,
|
|
880
|
+
strokeLinecap: "round",
|
|
881
|
+
strokeWidth: "1.5"
|
|
882
|
+
}
|
|
883
|
+
)
|
|
884
|
+
]
|
|
885
|
+
})
|
|
886
|
+
);
|
|
887
|
+
}
|
|
888
|
+
);
|
|
889
|
+
EndCallIcon.displayName = "EndCallIcon";
|
|
890
|
+
|
|
891
|
+
// src/atoms/pagination.tsx
|
|
892
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
751
893
|
function Pagination(props) {
|
|
752
894
|
const { onChange, count = 0, siblingCount = 2 } = props;
|
|
753
895
|
const [page, setPage] = (0, import_react15.useState)(() => props.page || props.defaultPage || 1);
|
|
@@ -811,19 +953,19 @@ function Pagination(props) {
|
|
|
811
953
|
size: "3",
|
|
812
954
|
style: { borderRadius: "50%" }
|
|
813
955
|
};
|
|
814
|
-
return /* @__PURE__ */ (0,
|
|
815
|
-
/* @__PURE__ */ (0,
|
|
956
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_themes22.Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
|
|
957
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
816
958
|
import_themes18.IconButton,
|
|
817
959
|
__spreadProps(__spreadValues({
|
|
818
960
|
disabled: !doublePrev,
|
|
819
961
|
onClick: onClickDoublePrev
|
|
820
962
|
}, moveButtonProps), {
|
|
821
|
-
children: /* @__PURE__ */ (0,
|
|
963
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons3.DoubleArrowLeftIcon, __spreadValues({}, iconSize))
|
|
822
964
|
})
|
|
823
965
|
),
|
|
824
|
-
/* @__PURE__ */ (0,
|
|
825
|
-
/* @__PURE__ */ (0,
|
|
826
|
-
return /* @__PURE__ */ (0,
|
|
966
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons3.ChevronLeftIcon, __spreadValues({}, iconSize)) })),
|
|
967
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes22.Flex, { gap: "1", children: visibleItems.map((item) => {
|
|
968
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
827
969
|
"button",
|
|
828
970
|
{
|
|
829
971
|
className: `page-button ${item === page ? "active" : ""}`,
|
|
@@ -831,30 +973,30 @@ function Pagination(props) {
|
|
|
831
973
|
setPage(item);
|
|
832
974
|
},
|
|
833
975
|
type: "button",
|
|
834
|
-
children: /* @__PURE__ */ (0,
|
|
976
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typo, { variant: "body", children: item })
|
|
835
977
|
},
|
|
836
978
|
item
|
|
837
979
|
);
|
|
838
980
|
}) }),
|
|
839
|
-
/* @__PURE__ */ (0,
|
|
840
|
-
/* @__PURE__ */ (0,
|
|
981
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_themes18.IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons3.ChevronRightIcon, __spreadValues({}, iconSize)) })),
|
|
982
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
841
983
|
import_themes18.IconButton,
|
|
842
984
|
__spreadProps(__spreadValues({
|
|
843
985
|
disabled: !doubleNext,
|
|
844
986
|
onClick: onClickDoubleNext
|
|
845
987
|
}, moveButtonProps), {
|
|
846
|
-
children: /* @__PURE__ */ (0,
|
|
988
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_icons3.DoubleArrowRightIcon, __spreadValues({}, iconSize))
|
|
847
989
|
})
|
|
848
990
|
)
|
|
849
991
|
] });
|
|
850
992
|
}
|
|
851
993
|
|
|
852
994
|
// src/atoms/field-error-wrapper.tsx
|
|
853
|
-
var
|
|
995
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
854
996
|
|
|
855
997
|
// src/atoms/ellipsis-tooltip.tsx
|
|
856
998
|
var import_react16 = require("react");
|
|
857
|
-
var
|
|
999
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
858
1000
|
|
|
859
1001
|
// src/atoms/drawer.tsx
|
|
860
1002
|
var import_react17 = require("react");
|
|
@@ -862,12 +1004,12 @@ var Dialog = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
862
1004
|
var import_themes50 = require("@radix-ui/themes");
|
|
863
1005
|
|
|
864
1006
|
// src/icons/close-panel-arrow.tsx
|
|
865
|
-
var
|
|
866
|
-
var
|
|
867
|
-
var ClosePanelArrowIcon =
|
|
1007
|
+
var React14 = __toESM(require("react"), 1);
|
|
1008
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1009
|
+
var ClosePanelArrowIcon = React14.forwardRef(
|
|
868
1010
|
(_a, forwardedRef) => {
|
|
869
1011
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
870
|
-
return /* @__PURE__ */ (0,
|
|
1012
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
871
1013
|
"svg",
|
|
872
1014
|
__spreadProps(__spreadValues({
|
|
873
1015
|
fill: "none",
|
|
@@ -878,7 +1020,7 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
878
1020
|
}, props), {
|
|
879
1021
|
ref: forwardedRef,
|
|
880
1022
|
children: [
|
|
881
|
-
/* @__PURE__ */ (0,
|
|
1023
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
882
1024
|
"path",
|
|
883
1025
|
{
|
|
884
1026
|
clipRule: "evenodd",
|
|
@@ -887,7 +1029,7 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
887
1029
|
fillRule: "evenodd"
|
|
888
1030
|
}
|
|
889
1031
|
),
|
|
890
|
-
/* @__PURE__ */ (0,
|
|
1032
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
891
1033
|
"path",
|
|
892
1034
|
{
|
|
893
1035
|
clipRule: "evenodd",
|
|
@@ -904,16 +1046,16 @@ var ClosePanelArrowIcon = React10.forwardRef(
|
|
|
904
1046
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
905
1047
|
|
|
906
1048
|
// src/atoms/drawer.tsx
|
|
907
|
-
var
|
|
1049
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
908
1050
|
|
|
909
1051
|
// src/molecules/form/form.tsx
|
|
910
1052
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
911
1053
|
var import_react18 = require("react");
|
|
912
|
-
var
|
|
1054
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
913
1055
|
var Root7 = (0, import_react18.forwardRef)(
|
|
914
1056
|
(_a, ref) => {
|
|
915
1057
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
916
|
-
return /* @__PURE__ */ (0,
|
|
1058
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
917
1059
|
RadixForm.Root,
|
|
918
1060
|
__spreadProps(__spreadValues({}, rest), {
|
|
919
1061
|
className: `FormRoot ${className || ""}`,
|
|
@@ -930,22 +1072,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
930
1072
|
var Field2 = (0, import_react18.forwardRef)(
|
|
931
1073
|
(_a, ref) => {
|
|
932
1074
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
933
|
-
return /* @__PURE__ */ (0,
|
|
1075
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
934
1076
|
RadixForm.Field,
|
|
935
1077
|
__spreadProps(__spreadValues({}, rest), {
|
|
936
1078
|
className: `FormField ${className || ""}`,
|
|
937
1079
|
ref,
|
|
938
|
-
children: /* @__PURE__ */ (0,
|
|
1080
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FieldContext.Provider, { value: rest, children })
|
|
939
1081
|
})
|
|
940
1082
|
);
|
|
941
1083
|
}
|
|
942
1084
|
);
|
|
943
1085
|
Field2.displayName = "FORM_FIELD";
|
|
944
1086
|
function HeadingLabel(props) {
|
|
945
|
-
return /* @__PURE__ */ (0,
|
|
1087
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
946
1088
|
}
|
|
947
1089
|
function CaptionLabel(props) {
|
|
948
|
-
return /* @__PURE__ */ (0,
|
|
1090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
949
1091
|
}
|
|
950
1092
|
var Label2 = (0, import_react18.forwardRef)(
|
|
951
1093
|
(_a, ref) => {
|
|
@@ -962,15 +1104,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
962
1104
|
}
|
|
963
1105
|
}, [variant]);
|
|
964
1106
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
965
|
-
return /* @__PURE__ */ (0,
|
|
1107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
966
1108
|
RadixForm.Label,
|
|
967
1109
|
__spreadProps(__spreadValues({}, rest), {
|
|
968
1110
|
asChild: true,
|
|
969
1111
|
className: `FormLabel ${className || ""}`,
|
|
970
1112
|
ref,
|
|
971
|
-
children: /* @__PURE__ */ (0,
|
|
1113
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Comp, { children: [
|
|
972
1114
|
children,
|
|
973
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
1115
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
974
1116
|
] })
|
|
975
1117
|
})
|
|
976
1118
|
);
|
|
@@ -980,13 +1122,13 @@ Label2.displayName = "FORM_Label";
|
|
|
980
1122
|
var Message2 = (0, import_react18.forwardRef)(
|
|
981
1123
|
(_a, ref) => {
|
|
982
1124
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
983
|
-
return /* @__PURE__ */ (0,
|
|
1125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
984
1126
|
RadixForm.Message,
|
|
985
1127
|
__spreadProps(__spreadValues({}, rest), {
|
|
986
1128
|
asChild: true,
|
|
987
1129
|
className: `FormMessage ${className || ""}`,
|
|
988
1130
|
ref,
|
|
989
|
-
children: /* @__PURE__ */ (0,
|
|
1131
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Typo, { color: "red", children })
|
|
990
1132
|
})
|
|
991
1133
|
);
|
|
992
1134
|
}
|
|
@@ -996,7 +1138,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
996
1138
|
(_a, ref) => {
|
|
997
1139
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
998
1140
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
999
|
-
return /* @__PURE__ */ (0,
|
|
1141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1000
1142
|
RadixForm.Control,
|
|
1001
1143
|
__spreadProps(__spreadValues({}, rest), {
|
|
1002
1144
|
className: `FormControl ${className || ""}`,
|
|
@@ -1010,7 +1152,7 @@ Control2.displayName = "FORM_Control";
|
|
|
1010
1152
|
|
|
1011
1153
|
// src/atoms/auto-sizing-input.tsx
|
|
1012
1154
|
var import_react19 = require("react");
|
|
1013
|
-
var
|
|
1155
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1014
1156
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
1015
1157
|
(_a, ref) => {
|
|
1016
1158
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -1033,21 +1175,21 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
1033
1175
|
(0, import_react19.useEffect)(() => {
|
|
1034
1176
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
1035
1177
|
}, [value, onChangeValue]);
|
|
1036
|
-
return /* @__PURE__ */ (0,
|
|
1037
|
-
/* @__PURE__ */ (0,
|
|
1038
|
-
/* @__PURE__ */ (0,
|
|
1178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1179
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1180
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
1039
1181
|
] });
|
|
1040
1182
|
}
|
|
1041
1183
|
);
|
|
1042
1184
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
1043
1185
|
|
|
1044
1186
|
// src/atoms/bullet-text.tsx
|
|
1045
|
-
var
|
|
1187
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1046
1188
|
|
|
1047
1189
|
// src/molecules/expand-table/row.tsx
|
|
1048
1190
|
var import_react_table = require("@tanstack/react-table");
|
|
1049
1191
|
var import_react20 = require("react");
|
|
1050
|
-
var
|
|
1192
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1051
1193
|
function Row(props) {
|
|
1052
1194
|
const { row, ExpandComp, gridTemplateColumns, getRowStyle, getCellStyle } = props;
|
|
1053
1195
|
const [open, setOpen] = (0, import_react20.useState)(false);
|
|
@@ -1066,8 +1208,8 @@ function Row(props) {
|
|
|
1066
1208
|
}
|
|
1067
1209
|
return baseCls.join(" ");
|
|
1068
1210
|
}, [ExpandComp, props.onRowClick]);
|
|
1069
|
-
return /* @__PURE__ */ (0,
|
|
1070
|
-
/* @__PURE__ */ (0,
|
|
1211
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: rowClassName, children: [
|
|
1212
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1071
1213
|
"button",
|
|
1072
1214
|
{
|
|
1073
1215
|
className: "tr",
|
|
@@ -1080,7 +1222,7 @@ function Row(props) {
|
|
|
1080
1222
|
var _a, _b, _c;
|
|
1081
1223
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
1082
1224
|
const justifyContent = ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) || props.defaultAlign;
|
|
1083
|
-
return /* @__PURE__ */ (0,
|
|
1225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1084
1226
|
"div",
|
|
1085
1227
|
{
|
|
1086
1228
|
className: "td",
|
|
@@ -1091,7 +1233,7 @@ function Row(props) {
|
|
|
1091
1233
|
}, (getCellStyle == null ? void 0 : getCellStyle(row.original)) || {}),
|
|
1092
1234
|
children: [
|
|
1093
1235
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
1094
|
-
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0,
|
|
1236
|
+
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1095
1237
|
cell.column.columnDef.meta.OpenBtn,
|
|
1096
1238
|
{
|
|
1097
1239
|
data: row.original,
|
|
@@ -1107,12 +1249,12 @@ function Row(props) {
|
|
|
1107
1249
|
},
|
|
1108
1250
|
`tr_${row.id}`
|
|
1109
1251
|
),
|
|
1110
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
1252
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ExpandComp, { row }) }) }) : null
|
|
1111
1253
|
] }, `tr-wrapper_${row.id}`);
|
|
1112
1254
|
}
|
|
1113
1255
|
|
|
1114
1256
|
// src/molecules/expand-table/index.tsx
|
|
1115
|
-
var
|
|
1257
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1116
1258
|
function ExpandTable(props) {
|
|
1117
1259
|
const {
|
|
1118
1260
|
data,
|
|
@@ -1166,7 +1308,7 @@ function ExpandTable(props) {
|
|
|
1166
1308
|
const helpCompRender = (0, import_react21.useCallback)(
|
|
1167
1309
|
(rowLength) => {
|
|
1168
1310
|
if (isLoading) {
|
|
1169
|
-
return /* @__PURE__ */ (0,
|
|
1311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1170
1312
|
import_themes22.Flex,
|
|
1171
1313
|
{
|
|
1172
1314
|
align: "center",
|
|
@@ -1174,12 +1316,12 @@ function ExpandTable(props) {
|
|
|
1174
1316
|
justify: "center",
|
|
1175
1317
|
p: "5",
|
|
1176
1318
|
width: "100%",
|
|
1177
|
-
children: /* @__PURE__ */ (0,
|
|
1319
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes49.Spinner, {})
|
|
1178
1320
|
}
|
|
1179
1321
|
);
|
|
1180
1322
|
}
|
|
1181
1323
|
if (rowLength === 0) {
|
|
1182
|
-
return /* @__PURE__ */ (0,
|
|
1324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes22.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder");
|
|
1183
1325
|
}
|
|
1184
1326
|
return null;
|
|
1185
1327
|
},
|
|
@@ -1190,8 +1332,8 @@ function ExpandTable(props) {
|
|
|
1190
1332
|
return 0;
|
|
1191
1333
|
return Math.ceil(data.length / pageSize);
|
|
1192
1334
|
}, [data, pageSize]);
|
|
1193
|
-
return /* @__PURE__ */ (0,
|
|
1194
|
-
/* @__PURE__ */ (0,
|
|
1335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
|
|
1336
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1195
1337
|
"div",
|
|
1196
1338
|
{
|
|
1197
1339
|
className: "tr",
|
|
@@ -1201,30 +1343,30 @@ function ExpandTable(props) {
|
|
|
1201
1343
|
const sortable = header.column.getCanSort();
|
|
1202
1344
|
const sortedState = header.column.getIsSorted();
|
|
1203
1345
|
const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
|
|
1204
|
-
return /* @__PURE__ */ (0,
|
|
1346
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1205
1347
|
"button",
|
|
1206
1348
|
{
|
|
1207
1349
|
onClick: header.column.getToggleSortingHandler(),
|
|
1208
1350
|
style: sortable ? { cursor: "pointer" } : { cursor: "default" },
|
|
1209
1351
|
type: "button",
|
|
1210
1352
|
children: [
|
|
1211
|
-
/* @__PURE__ */ (0,
|
|
1353
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
|
|
1212
1354
|
header.column.columnDef.header,
|
|
1213
1355
|
header.getContext()
|
|
1214
1356
|
) }),
|
|
1215
|
-
sortable ? /* @__PURE__ */ (0,
|
|
1357
|
+
sortable ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1216
1358
|
import_themes22.Flex,
|
|
1217
1359
|
{
|
|
1218
1360
|
direction: "column",
|
|
1219
1361
|
style: { marginLeft: "var(--space-2)" },
|
|
1220
1362
|
children: [
|
|
1221
|
-
/* @__PURE__ */ (0,
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1222
1364
|
TriangleArrowUpIcon,
|
|
1223
1365
|
{
|
|
1224
1366
|
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
1225
1367
|
}
|
|
1226
1368
|
),
|
|
1227
|
-
/* @__PURE__ */ (0,
|
|
1369
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1228
1370
|
TriangleArrowDownIcon,
|
|
1229
1371
|
{
|
|
1230
1372
|
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
@@ -1240,8 +1382,8 @@ function ExpandTable(props) {
|
|
|
1240
1382
|
},
|
|
1241
1383
|
headerGroup.id
|
|
1242
1384
|
)) }),
|
|
1243
|
-
/* @__PURE__ */ (0,
|
|
1244
|
-
return /* @__PURE__ */ (0,
|
|
1385
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
|
|
1386
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1245
1387
|
Row,
|
|
1246
1388
|
{
|
|
1247
1389
|
ExpandComp,
|
|
@@ -1255,7 +1397,7 @@ function ExpandTable(props) {
|
|
|
1255
1397
|
`row_${row.id}`
|
|
1256
1398
|
);
|
|
1257
1399
|
}) }),
|
|
1258
|
-
showPagination ? /* @__PURE__ */ (0,
|
|
1400
|
+
showPagination ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1259
1401
|
Pagination,
|
|
1260
1402
|
{
|
|
1261
1403
|
count: pageCount,
|
|
@@ -1268,14 +1410,14 @@ function ExpandTable(props) {
|
|
|
1268
1410
|
}
|
|
1269
1411
|
|
|
1270
1412
|
// src/molecules/navigation.tsx
|
|
1271
|
-
var
|
|
1413
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1272
1414
|
function Navigation({
|
|
1273
1415
|
items,
|
|
1274
1416
|
fontColor,
|
|
1275
1417
|
backgroundColor,
|
|
1276
1418
|
activeKey
|
|
1277
1419
|
}) {
|
|
1278
|
-
return /* @__PURE__ */ (0,
|
|
1420
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1279
1421
|
import_themes22.Flex,
|
|
1280
1422
|
{
|
|
1281
1423
|
direction: "column",
|
|
@@ -1287,13 +1429,13 @@ function Navigation({
|
|
|
1287
1429
|
},
|
|
1288
1430
|
children: items == null ? void 0 : items.map((item) => {
|
|
1289
1431
|
const { key, title, icon, itemRender, onClick, children } = item;
|
|
1290
|
-
return /* @__PURE__ */ (0,
|
|
1291
|
-
itemRender ? itemRender(item) : /* @__PURE__ */ (0,
|
|
1432
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { direction: "column", onClick, children: [
|
|
1433
|
+
itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
|
|
1292
1434
|
icon,
|
|
1293
|
-
/* @__PURE__ */ (0,
|
|
1435
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typo, { variant: "subtitle", children: title })
|
|
1294
1436
|
] }),
|
|
1295
1437
|
children == null ? void 0 : children.map((menu) => {
|
|
1296
|
-
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0,
|
|
1438
|
+
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1297
1439
|
Button,
|
|
1298
1440
|
{
|
|
1299
1441
|
className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
|
|
@@ -1321,7 +1463,7 @@ var import_react22 = require("react");
|
|
|
1321
1463
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
1322
1464
|
var import_react_datepicker = require("react-datepicker");
|
|
1323
1465
|
var import_locale = require("date-fns/locale");
|
|
1324
|
-
var
|
|
1466
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1325
1467
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
1326
1468
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
1327
1469
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
@@ -1329,7 +1471,7 @@ var DatePicker = (0, import_react22.forwardRef)(
|
|
|
1329
1471
|
(props, ref) => {
|
|
1330
1472
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1331
1473
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1332
|
-
return /* @__PURE__ */ (0,
|
|
1474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1333
1475
|
ReactDatePicker,
|
|
1334
1476
|
__spreadProps(__spreadValues({
|
|
1335
1477
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1360,35 +1502,35 @@ var renderCustomHeader = (props) => {
|
|
|
1360
1502
|
} = props;
|
|
1361
1503
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1362
1504
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1363
|
-
return /* @__PURE__ */ (0,
|
|
1364
|
-
/* @__PURE__ */ (0,
|
|
1505
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1506
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1365
1507
|
import_themes18.IconButton,
|
|
1366
1508
|
{
|
|
1367
1509
|
disabled: prevMonthButtonDisabled,
|
|
1368
1510
|
onClick: decreaseMonth,
|
|
1369
1511
|
type: "button",
|
|
1370
1512
|
variant: "ghost",
|
|
1371
|
-
children: /* @__PURE__ */ (0,
|
|
1513
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1372
1514
|
}
|
|
1373
1515
|
),
|
|
1374
|
-
/* @__PURE__ */ (0,
|
|
1375
|
-
/* @__PURE__ */ (0,
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1517
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1376
1518
|
year,
|
|
1377
1519
|
"\uB144"
|
|
1378
1520
|
] }),
|
|
1379
|
-
/* @__PURE__ */ (0,
|
|
1521
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1380
1522
|
month,
|
|
1381
1523
|
"\uC6D4"
|
|
1382
1524
|
] })
|
|
1383
1525
|
] }),
|
|
1384
|
-
/* @__PURE__ */ (0,
|
|
1526
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1385
1527
|
import_themes18.IconButton,
|
|
1386
1528
|
{
|
|
1387
1529
|
disabled: nextMonthButtonDisabled,
|
|
1388
1530
|
onClick: increaseMonth,
|
|
1389
1531
|
type: "button",
|
|
1390
1532
|
variant: "ghost",
|
|
1391
|
-
children: /* @__PURE__ */ (0,
|
|
1533
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_icons3.ChevronRightIcon, {})
|
|
1392
1534
|
}
|
|
1393
1535
|
)
|
|
1394
1536
|
] });
|
|
@@ -1397,7 +1539,7 @@ var renderCustomHeader = (props) => {
|
|
|
1397
1539
|
// src/molecules/dot-navigation.tsx
|
|
1398
1540
|
var import_react23 = require("react");
|
|
1399
1541
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
1400
|
-
var
|
|
1542
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1401
1543
|
function DotNavigation(props) {
|
|
1402
1544
|
const { dotCount, onClick, dotIndex, defaultDotIndex, onChangeDotIndex } = props;
|
|
1403
1545
|
const [currentDot, setCurrentDot] = (0, import_react23.useState)(
|
|
@@ -1424,9 +1566,9 @@ function DotNavigation(props) {
|
|
|
1424
1566
|
return;
|
|
1425
1567
|
setCurrentDot(dotIndex);
|
|
1426
1568
|
}, [dotIndex]);
|
|
1427
|
-
return /* @__PURE__ */ (0,
|
|
1569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_themes22.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
|
|
1428
1570
|
const isSelected = currentDot === index;
|
|
1429
|
-
return /* @__PURE__ */ (0,
|
|
1571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1430
1572
|
import_react_icons4.DotFilledIcon,
|
|
1431
1573
|
{
|
|
1432
1574
|
height: "24px",
|
|
@@ -1447,7 +1589,7 @@ function DotNavigation(props) {
|
|
|
1447
1589
|
// src/molecules/stepper.tsx
|
|
1448
1590
|
var import_react24 = require("react");
|
|
1449
1591
|
var import_themes51 = require("@radix-ui/themes");
|
|
1450
|
-
var
|
|
1592
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1451
1593
|
var StepContext = (0, import_react24.createContext)({
|
|
1452
1594
|
active: false,
|
|
1453
1595
|
completed: false,
|
|
@@ -1462,7 +1604,7 @@ function Root8(props) {
|
|
|
1462
1604
|
maxWidth,
|
|
1463
1605
|
direction = "vertical"
|
|
1464
1606
|
} = props;
|
|
1465
|
-
return /* @__PURE__ */ (0,
|
|
1607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1466
1608
|
import_themes22.Flex,
|
|
1467
1609
|
{
|
|
1468
1610
|
gap: "3",
|
|
@@ -1472,7 +1614,7 @@ function Root8(props) {
|
|
|
1472
1614
|
maxWidth
|
|
1473
1615
|
},
|
|
1474
1616
|
children: import_react24.Children.map(children, (child, index) => {
|
|
1475
|
-
return /* @__PURE__ */ (0,
|
|
1617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1476
1618
|
StepContext.Provider,
|
|
1477
1619
|
{
|
|
1478
1620
|
value: {
|
|
@@ -1496,7 +1638,7 @@ function Step(props) {
|
|
|
1496
1638
|
index,
|
|
1497
1639
|
direction = "vertical"
|
|
1498
1640
|
} = (0, import_react24.useContext)(StepContext);
|
|
1499
|
-
const connector = index > 0 ? /* @__PURE__ */ (0,
|
|
1641
|
+
const connector = index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1500
1642
|
import_themes51.Separator,
|
|
1501
1643
|
{
|
|
1502
1644
|
style: {
|
|
@@ -1516,7 +1658,7 @@ function Step(props) {
|
|
|
1516
1658
|
}
|
|
1517
1659
|
return IncompleteStep;
|
|
1518
1660
|
}, [completed, active]);
|
|
1519
|
-
return /* @__PURE__ */ (0,
|
|
1661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1520
1662
|
import_themes22.Flex,
|
|
1521
1663
|
{
|
|
1522
1664
|
align: "center",
|
|
@@ -1526,7 +1668,7 @@ function Step(props) {
|
|
|
1526
1668
|
style: { flex: 1 },
|
|
1527
1669
|
children: [
|
|
1528
1670
|
connector,
|
|
1529
|
-
/* @__PURE__ */ (0,
|
|
1671
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InnerStep, { Icon, children })
|
|
1530
1672
|
]
|
|
1531
1673
|
}
|
|
1532
1674
|
);
|
|
@@ -1537,11 +1679,11 @@ function CompleteStep(props) {
|
|
|
1537
1679
|
const background = "var(--accent-a4)";
|
|
1538
1680
|
const border = "1px solid var(--accent-7)";
|
|
1539
1681
|
const color = "var(--accent-contrast)";
|
|
1540
|
-
return /* @__PURE__ */ (0,
|
|
1541
|
-
Icon ? /* @__PURE__ */ (0,
|
|
1682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
1683
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1542
1684
|
Avatar,
|
|
1543
1685
|
{
|
|
1544
|
-
fallback: /* @__PURE__ */ (0,
|
|
1686
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.CheckIcon, { fill: color, height: 16, width: 16 }),
|
|
1545
1687
|
radius: "full",
|
|
1546
1688
|
size: "medium",
|
|
1547
1689
|
style: {
|
|
@@ -1550,7 +1692,7 @@ function CompleteStep(props) {
|
|
|
1550
1692
|
}
|
|
1551
1693
|
}
|
|
1552
1694
|
),
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1695
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { align: "center", variant: "caption", children })
|
|
1554
1696
|
] });
|
|
1555
1697
|
}
|
|
1556
1698
|
function IncompleteStep(props) {
|
|
@@ -1558,11 +1700,11 @@ function IncompleteStep(props) {
|
|
|
1558
1700
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
1559
1701
|
const background = "var(--gray-5)";
|
|
1560
1702
|
const color = "var(--gray-a11)";
|
|
1561
|
-
return /* @__PURE__ */ (0,
|
|
1562
|
-
Icon ? /* @__PURE__ */ (0,
|
|
1703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
1704
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1563
1705
|
Avatar,
|
|
1564
1706
|
{
|
|
1565
|
-
fallback: /* @__PURE__ */ (0,
|
|
1707
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { style: { color }, children: index + 1 }),
|
|
1566
1708
|
radius: "full",
|
|
1567
1709
|
size: "medium",
|
|
1568
1710
|
style: {
|
|
@@ -1570,7 +1712,7 @@ function IncompleteStep(props) {
|
|
|
1570
1712
|
}
|
|
1571
1713
|
}
|
|
1572
1714
|
),
|
|
1573
|
-
/* @__PURE__ */ (0,
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { align: "center", style: { color }, variant: "caption", children })
|
|
1574
1716
|
] });
|
|
1575
1717
|
}
|
|
1576
1718
|
function ActiveStep(props) {
|
|
@@ -1578,17 +1720,17 @@ function ActiveStep(props) {
|
|
|
1578
1720
|
const { completed, active, index } = (0, import_react24.useContext)(StepContext);
|
|
1579
1721
|
const background = "var(--accent-10)";
|
|
1580
1722
|
const color = "var(--accent-contrast)";
|
|
1581
|
-
return /* @__PURE__ */ (0,
|
|
1582
|
-
Icon ? /* @__PURE__ */ (0,
|
|
1723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
1724
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { active, completed }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1583
1725
|
Avatar,
|
|
1584
1726
|
{
|
|
1585
|
-
fallback: /* @__PURE__ */ (0,
|
|
1727
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { style: { color }, weight: "bold", children: index + 1 }),
|
|
1586
1728
|
radius: "full",
|
|
1587
1729
|
size: "medium",
|
|
1588
1730
|
style: { background }
|
|
1589
1731
|
}
|
|
1590
1732
|
),
|
|
1591
|
-
/* @__PURE__ */ (0,
|
|
1733
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typo, { align: "center", variant: "caption", weight: "bold", children })
|
|
1592
1734
|
] });
|
|
1593
1735
|
}
|
|
1594
1736
|
var Stepper = {
|
|
@@ -1599,7 +1741,7 @@ var Stepper = {
|
|
|
1599
1741
|
// src/molecules/tag-selector.tsx
|
|
1600
1742
|
var import_react25 = require("react");
|
|
1601
1743
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1602
|
-
var
|
|
1744
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1603
1745
|
var OPTION_HEIGHT = 32;
|
|
1604
1746
|
var DefaultDropdownContainer = (props) => {
|
|
1605
1747
|
return props.children;
|
|
@@ -1784,11 +1926,11 @@ function TagSelector(props) {
|
|
|
1784
1926
|
const focusClassName = focus ? " focused" : "";
|
|
1785
1927
|
const readOnlyClassName = readOnly ? " read-only" : "";
|
|
1786
1928
|
const errorClassName = error ? " error" : "";
|
|
1787
|
-
const readonlyContent = /* @__PURE__ */ (0,
|
|
1788
|
-
return tagRender ? tagRender(item) : /* @__PURE__ */ (0,
|
|
1929
|
+
const readonlyContent = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes22.Flex, { gap: "1", children: selectedItem.map((item) => {
|
|
1930
|
+
return tagRender ? tagRender(item) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Badge, { size: badgeSize, children: item.name }, item.id);
|
|
1789
1931
|
}) });
|
|
1790
|
-
const editContent = /* @__PURE__ */ (0,
|
|
1791
|
-
/* @__PURE__ */ (0,
|
|
1932
|
+
const editContent = /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
|
|
1933
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1792
1934
|
import_themes22.Flex,
|
|
1793
1935
|
{
|
|
1794
1936
|
align: "center",
|
|
@@ -1798,22 +1940,22 @@ function TagSelector(props) {
|
|
|
1798
1940
|
wrap: "wrap",
|
|
1799
1941
|
children: [
|
|
1800
1942
|
selectedItem.map((item) => {
|
|
1801
|
-
return tagRender ? tagRender(item) : /* @__PURE__ */ (0,
|
|
1943
|
+
return tagRender ? tagRender(item) : /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Badge, { size: badgeSize, children: [
|
|
1802
1944
|
item.name,
|
|
1803
|
-
/* @__PURE__ */ (0,
|
|
1945
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1804
1946
|
Button,
|
|
1805
1947
|
{
|
|
1806
1948
|
onClick: () => {
|
|
1807
1949
|
onDelete(item.id);
|
|
1808
1950
|
},
|
|
1809
1951
|
variant: "transparent",
|
|
1810
|
-
children: /* @__PURE__ */ (0,
|
|
1952
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons5.Cross1Icon, {})
|
|
1811
1953
|
}
|
|
1812
1954
|
)
|
|
1813
1955
|
] }, item.id);
|
|
1814
1956
|
}),
|
|
1815
|
-
placeholderVisible ? /* @__PURE__ */ (0,
|
|
1816
|
-
/* @__PURE__ */ (0,
|
|
1957
|
+
placeholderVisible ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typo, { color: "gray", variant: placeholderVariant, children: placeholder }) : null,
|
|
1958
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1817
1959
|
AutoSizingInput,
|
|
1818
1960
|
{
|
|
1819
1961
|
onBlur,
|
|
@@ -1827,10 +1969,10 @@ function TagSelector(props) {
|
|
|
1827
1969
|
]
|
|
1828
1970
|
}
|
|
1829
1971
|
),
|
|
1830
|
-
focus ? /* @__PURE__ */ (0,
|
|
1972
|
+
focus ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons5.MagnifyingGlassIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons5.ChevronRightIcon, {})
|
|
1831
1973
|
] });
|
|
1832
|
-
return /* @__PURE__ */ (0,
|
|
1833
|
-
/* @__PURE__ */ (0,
|
|
1974
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes29.Popover.Root, { open: Boolean(filteredOptions.length) && open, children: [
|
|
1975
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes29.Popover.Trigger, { style: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1834
1976
|
import_themes23.Grid,
|
|
1835
1977
|
{
|
|
1836
1978
|
align: "center",
|
|
@@ -1844,30 +1986,30 @@ function TagSelector(props) {
|
|
|
1844
1986
|
children: readOnly ? readonlyContent : editContent
|
|
1845
1987
|
}
|
|
1846
1988
|
) }),
|
|
1847
|
-
/* @__PURE__ */ (0,
|
|
1989
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1848
1990
|
import_themes29.Popover.Content,
|
|
1849
1991
|
{
|
|
1850
1992
|
onOpenAutoFocus: (e) => {
|
|
1851
1993
|
e.preventDefault();
|
|
1852
1994
|
},
|
|
1853
|
-
children: /* @__PURE__ */ (0,
|
|
1995
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1854
1996
|
DropdownContainer,
|
|
1855
1997
|
{
|
|
1856
1998
|
currentItem: filteredOptions[focusIndex || 0],
|
|
1857
1999
|
items: filteredOptions,
|
|
1858
|
-
children: /* @__PURE__ */ (0,
|
|
2000
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1859
2001
|
import_themes35.ScrollArea,
|
|
1860
2002
|
{
|
|
1861
2003
|
ref: scrollRef,
|
|
1862
2004
|
scrollbars: "vertical",
|
|
1863
2005
|
style: { height: OPTION_HEIGHT * 8 },
|
|
1864
2006
|
type: "auto",
|
|
1865
|
-
children: /* @__PURE__ */ (0,
|
|
2007
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes22.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
|
|
1866
2008
|
const isSelected = Boolean(
|
|
1867
2009
|
selected.find((el) => el === item.id)
|
|
1868
2010
|
);
|
|
1869
2011
|
const isFocus = i === focusIndex;
|
|
1870
|
-
return /* @__PURE__ */ (0,
|
|
2012
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1871
2013
|
Button,
|
|
1872
2014
|
{
|
|
1873
2015
|
className: `tag-selector-button ${isFocus ? "focus" : ""}`,
|
|
@@ -1887,9 +2029,9 @@ function TagSelector(props) {
|
|
|
1887
2029
|
boxShadow: "none"
|
|
1888
2030
|
},
|
|
1889
2031
|
variant: isSelected ? "soft" : "outline",
|
|
1890
|
-
children: /* @__PURE__ */ (0,
|
|
2032
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_themes22.Flex, { justify: "between", width: "100%", children: [
|
|
1891
2033
|
item.name,
|
|
1892
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
2034
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_icons3.CheckIcon, {}) : null
|
|
1893
2035
|
] })
|
|
1894
2036
|
},
|
|
1895
2037
|
item.id
|
|
@@ -1906,13 +2048,13 @@ function TagSelector(props) {
|
|
|
1906
2048
|
|
|
1907
2049
|
// src/theme/theme-provider.tsx
|
|
1908
2050
|
var import_themes52 = require("@radix-ui/themes");
|
|
1909
|
-
var
|
|
2051
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1910
2052
|
function ThemeProvider(props) {
|
|
1911
|
-
return /* @__PURE__ */ (0,
|
|
2053
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes52.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
|
|
1912
2054
|
}
|
|
1913
2055
|
|
|
1914
2056
|
// src/molecules/learning-post.tsx
|
|
1915
|
-
var
|
|
2057
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1916
2058
|
function LearningPost(props) {
|
|
1917
2059
|
const {
|
|
1918
2060
|
defaultThemeProps,
|
|
@@ -1924,13 +2066,13 @@ function LearningPost(props) {
|
|
|
1924
2066
|
onPageBack,
|
|
1925
2067
|
children
|
|
1926
2068
|
} = props;
|
|
1927
|
-
return /* @__PURE__ */ (0,
|
|
2069
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1928
2070
|
ThemeProvider,
|
|
1929
2071
|
__spreadProps(__spreadValues({}, defaultThemeProps), {
|
|
1930
2072
|
accentColor: "iris",
|
|
1931
2073
|
scaling: "110%",
|
|
1932
2074
|
style: {},
|
|
1933
|
-
children: html ? /* @__PURE__ */ (0,
|
|
2075
|
+
children: html ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1934
2076
|
import_themes23.Grid,
|
|
1935
2077
|
{
|
|
1936
2078
|
columns: { initial: "1", md: "130px 1fr 130px" },
|
|
@@ -1942,8 +2084,8 @@ function LearningPost(props) {
|
|
|
1942
2084
|
px: "4",
|
|
1943
2085
|
width: "100%",
|
|
1944
2086
|
children: [
|
|
1945
|
-
/* @__PURE__ */ (0,
|
|
1946
|
-
/* @__PURE__ */ (0,
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", {}),
|
|
2088
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1947
2089
|
import_themes22.Flex,
|
|
1948
2090
|
{
|
|
1949
2091
|
align: "center",
|
|
@@ -1953,15 +2095,15 @@ function LearningPost(props) {
|
|
|
1953
2095
|
overflow: "hidden",
|
|
1954
2096
|
width: "100%",
|
|
1955
2097
|
children: [
|
|
1956
|
-
/* @__PURE__ */ (0,
|
|
1957
|
-
/* @__PURE__ */ (0,
|
|
2098
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_themes23.Grid, { align: "start", columns: { initial: "1", sm: "2" }, gap: "2", children: [
|
|
2099
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1958
2100
|
import_themes23.Grid,
|
|
1959
2101
|
{
|
|
1960
2102
|
gap: "3",
|
|
1961
2103
|
mb: { initial: "4", sm: "0" },
|
|
1962
2104
|
style: { alignSelf: "flex-start" },
|
|
1963
2105
|
children: [
|
|
1964
|
-
/* @__PURE__ */ (0,
|
|
2106
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1965
2107
|
Heading2,
|
|
1966
2108
|
{
|
|
1967
2109
|
style: {
|
|
@@ -1973,17 +2115,17 @@ function LearningPost(props) {
|
|
|
1973
2115
|
children: title
|
|
1974
2116
|
}
|
|
1975
2117
|
),
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typo, { children: metaDescription }),
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes22.Flex, { gap: "1", wrap: "wrap", children: tags == null ? void 0 : tags.map((el) => {
|
|
1978
2120
|
var _a;
|
|
1979
2121
|
if ((_a = el.name) == null ? void 0 : _a.startsWith("filter"))
|
|
1980
2122
|
return;
|
|
1981
|
-
return /* @__PURE__ */ (0,
|
|
2123
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge, { size: "large", variant: "solid", children: el.name }, el.id);
|
|
1982
2124
|
}) })
|
|
1983
2125
|
]
|
|
1984
2126
|
}
|
|
1985
2127
|
),
|
|
1986
|
-
/* @__PURE__ */ (0,
|
|
2128
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1987
2129
|
import_themes2.AspectRatio,
|
|
1988
2130
|
{
|
|
1989
2131
|
ratio: 5 / 3,
|
|
@@ -1996,7 +2138,7 @@ function LearningPost(props) {
|
|
|
1996
2138
|
}
|
|
1997
2139
|
)
|
|
1998
2140
|
] }),
|
|
1999
|
-
/* @__PURE__ */ (0,
|
|
2141
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_themes6.Box, { mt: "5", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2000
2142
|
"div",
|
|
2001
2143
|
{
|
|
2002
2144
|
className: "gh-content",
|
|
@@ -2009,7 +2151,7 @@ function LearningPost(props) {
|
|
|
2009
2151
|
children
|
|
2010
2152
|
]
|
|
2011
2153
|
}
|
|
2012
|
-
) : /* @__PURE__ */ (0,
|
|
2154
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
2013
2155
|
import_themes22.Flex,
|
|
2014
2156
|
{
|
|
2015
2157
|
align: "center",
|
|
@@ -2019,8 +2161,8 @@ function LearningPost(props) {
|
|
|
2019
2161
|
justify: "center",
|
|
2020
2162
|
width: "100%",
|
|
2021
2163
|
children: [
|
|
2022
|
-
/* @__PURE__ */ (0,
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Heading2, { variant: "heading1", children: "\uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }),
|
|
2165
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2024
2166
|
Heading2,
|
|
2025
2167
|
{
|
|
2026
2168
|
align: "center",
|
|
@@ -2031,7 +2173,7 @@ function LearningPost(props) {
|
|
|
2031
2173
|
\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
|
|
2032
2174
|
}
|
|
2033
2175
|
),
|
|
2034
|
-
/* @__PURE__ */ (0,
|
|
2176
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
|
|
2035
2177
|
]
|
|
2036
2178
|
}
|
|
2037
2179
|
)
|
|
@@ -2041,9 +2183,9 @@ function LearningPost(props) {
|
|
|
2041
2183
|
|
|
2042
2184
|
// src/molecules/force-refresh.tsx
|
|
2043
2185
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
2044
|
-
var
|
|
2186
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2045
2187
|
function CodeSize3(props) {
|
|
2046
|
-
return /* @__PURE__ */ (0,
|
|
2188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2047
2189
|
import_themes13.Code,
|
|
2048
2190
|
{
|
|
2049
2191
|
style: {
|
|
@@ -2056,51 +2198,51 @@ function CodeSize3(props) {
|
|
|
2056
2198
|
);
|
|
2057
2199
|
}
|
|
2058
2200
|
function ForceRefresh() {
|
|
2059
|
-
return /* @__PURE__ */ (0,
|
|
2060
|
-
/* @__PURE__ */ (0,
|
|
2201
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2202
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Typo, { children: [
|
|
2061
2203
|
"1. \uD06C\uB86C \uBE0C\uB77C\uC6B0\uC800 \uC624\uB978\uCABD \uC0C1\uB2E8\uC758",
|
|
2062
2204
|
" ",
|
|
2063
|
-
/* @__PURE__ */ (0,
|
|
2064
|
-
/* @__PURE__ */ (0,
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CodeSize3, { children: [
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_icons6.DotsVerticalIcon, { height: "13px" }),
|
|
2065
2207
|
"\uB354\uBCF4\uAE30"
|
|
2066
2208
|
] }),
|
|
2067
2209
|
"\uC544\uC774\uCF58\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2068
2210
|
] }),
|
|
2069
|
-
/* @__PURE__ */ (0,
|
|
2211
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Typo, { children: [
|
|
2070
2212
|
"2. ",
|
|
2071
|
-
/* @__PURE__ */ (0,
|
|
2213
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CodeSize3, { children: "\uB3C4\uAD6C \uB354\uBCF4\uAE30" }),
|
|
2072
2214
|
" ",
|
|
2073
2215
|
">",
|
|
2074
2216
|
" ",
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2217
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CodeSize3, { children: "\uAC1C\uBC1C\uC790 \uB3C4\uAD6C" }),
|
|
2076
2218
|
" \uBA54\uB274\uB97C \uC120\uD0DD\uD569\uB2C8\uB2E4. (\uB610\uB294 \uC544\uB798\uC758 \uB2E8\uCD95\uD0A4\uB97C \uC0AC\uC6A9 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.)"
|
|
2077
2219
|
] }),
|
|
2078
|
-
/* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", p: "0", pl: "3", children: [
|
|
2221
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Typo, { children: [
|
|
2080
2222
|
"a. \uC708\uB3C4\uC6B0 \uB2E8\uCD95\uD0A4: ",
|
|
2081
|
-
/* @__PURE__ */ (0,
|
|
2223
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes26.Kbd, { children: "F12" })
|
|
2082
2224
|
] }),
|
|
2083
|
-
/* @__PURE__ */ (0,
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Typo, { children: [
|
|
2084
2226
|
"b. \uB9E5 \uB2E8\uCD95\uD0A4: ",
|
|
2085
|
-
/* @__PURE__ */ (0,
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes26.Kbd, { children: "Option" }),
|
|
2086
2228
|
" + ",
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes26.Kbd, { children: "Command" }),
|
|
2088
2230
|
" + ",
|
|
2089
|
-
/* @__PURE__ */ (0,
|
|
2231
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_themes26.Kbd, { children: "I" })
|
|
2090
2232
|
] })
|
|
2091
2233
|
] }),
|
|
2092
|
-
/* @__PURE__ */ (0,
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Typo, { children: [
|
|
2093
2235
|
"3. \uAC1C\uBC1C\uC790 \uB3C4\uAD6C\uAC00 \uC5F4\uB9AC\uBA74, \uBE0C\uB77C\uC6B0\uC800 \uC0C1\uB2E8\uC5D0 \uC788\uB294",
|
|
2094
2236
|
" ",
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2096
|
-
/* @__PURE__ */ (0,
|
|
2237
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CodeSize3, { children: [
|
|
2238
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_icons6.ReloadIcon, { style: { paddingRight: "5px" } }),
|
|
2097
2239
|
"\uC0C8\uB85C\uACE0\uCE68 \uBC84\uD2BC"
|
|
2098
2240
|
] }),
|
|
2099
2241
|
"\uC744 \uC6B0\uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2100
2242
|
] }),
|
|
2101
|
-
/* @__PURE__ */ (0,
|
|
2243
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Typo, { children: [
|
|
2102
2244
|
"4. \uC0C8\uB85C\uACE0\uCE68 \uBA54\uB274\uC5D0\uC11C ",
|
|
2103
|
-
/* @__PURE__ */ (0,
|
|
2245
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CodeSize3, { children: "\uCE90\uC2DC \uBE44\uC6B0\uAE30 \uBC0F \uAC15\uB825 \uC0C8\uB85C\uACE0\uCE68" }),
|
|
2104
2246
|
"\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."
|
|
2105
2247
|
] })
|
|
2106
2248
|
] });
|
|
@@ -2110,7 +2252,7 @@ function ForceRefresh() {
|
|
|
2110
2252
|
var import_react26 = require("react");
|
|
2111
2253
|
var import_date_fns = require("date-fns");
|
|
2112
2254
|
var import_clsx = require("clsx");
|
|
2113
|
-
var
|
|
2255
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2114
2256
|
function DatePickerButton(props) {
|
|
2115
2257
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
2116
2258
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
@@ -2129,12 +2271,12 @@ function DatePickerButton(props) {
|
|
|
2129
2271
|
(disabled || props.readOnly) && "disabled"
|
|
2130
2272
|
);
|
|
2131
2273
|
}, [disabled, props.readOnly]);
|
|
2132
|
-
return /* @__PURE__ */ (0,
|
|
2274
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2133
2275
|
DatePicker,
|
|
2134
2276
|
__spreadProps(__spreadValues({
|
|
2135
|
-
customInput: /* @__PURE__ */ (0,
|
|
2277
|
+
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: [
|
|
2136
2278
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons3.CalendarIcon, {})
|
|
2138
2280
|
] }) })),
|
|
2139
2281
|
wrapperClassName: "full-width"
|
|
2140
2282
|
}, rest), {
|
|
@@ -2159,7 +2301,7 @@ var getTimeOptions = () => {
|
|
|
2159
2301
|
};
|
|
2160
2302
|
|
|
2161
2303
|
// src/molecules/time-select.tsx
|
|
2162
|
-
var
|
|
2304
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2163
2305
|
var getOptionValue = (date, timeValue) => {
|
|
2164
2306
|
if (date && timeValue) {
|
|
2165
2307
|
if ((0, import_date_fns2.format)(date, "yyyyMMdd") === (0, import_date_fns2.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -2185,21 +2327,21 @@ function TimeSelect(_a) {
|
|
|
2185
2327
|
const [minOption, maxOption] = (0, import_react27.useMemo)(() => {
|
|
2186
2328
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
2187
2329
|
}, [maxTime, minTime, time]);
|
|
2188
|
-
return /* @__PURE__ */ (0,
|
|
2189
|
-
/* @__PURE__ */ (0,
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
2331
|
+
/* @__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 }) }),
|
|
2332
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
2191
2333
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
2192
2334
|
if (!visible) {
|
|
2193
2335
|
return null;
|
|
2194
2336
|
}
|
|
2195
|
-
return /* @__PURE__ */ (0,
|
|
2337
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Select.Item, { value: option, children: option }, option);
|
|
2196
2338
|
}) })
|
|
2197
2339
|
] }));
|
|
2198
2340
|
}
|
|
2199
2341
|
|
|
2200
2342
|
// src/molecules/radio-button-card.tsx
|
|
2201
2343
|
var import_react28 = require("react");
|
|
2202
|
-
var
|
|
2344
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2203
2345
|
var RadioCardContext = (0, import_react28.createContext)({});
|
|
2204
2346
|
function Root9(props) {
|
|
2205
2347
|
const [value, setValue] = (0, import_react28.useState)(props.value || props.defaultValue);
|
|
@@ -2211,7 +2353,7 @@ function Root9(props) {
|
|
|
2211
2353
|
},
|
|
2212
2354
|
[props]
|
|
2213
2355
|
);
|
|
2214
|
-
return /* @__PURE__ */ (0,
|
|
2356
|
+
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 })) });
|
|
2215
2357
|
}
|
|
2216
2358
|
function Item(_a) {
|
|
2217
2359
|
var _b = _a, {
|
|
@@ -2228,9 +2370,9 @@ function Item(_a) {
|
|
|
2228
2370
|
"justify",
|
|
2229
2371
|
"RadioWrapper"
|
|
2230
2372
|
]);
|
|
2231
|
-
return /* @__PURE__ */ (0,
|
|
2373
|
+
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: [
|
|
2232
2374
|
children,
|
|
2233
|
-
/* @__PURE__ */ (0,
|
|
2375
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2234
2376
|
import_themes32.Radio,
|
|
2235
2377
|
{
|
|
2236
2378
|
checked: itemRest.value === value,
|
|
@@ -2247,24 +2389,24 @@ var RadioButtonCard = {
|
|
|
2247
2389
|
|
|
2248
2390
|
// src/molecules/download-card.tsx
|
|
2249
2391
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
2250
|
-
var
|
|
2392
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2251
2393
|
function DownloadCard({
|
|
2252
2394
|
fileName,
|
|
2253
2395
|
url,
|
|
2254
2396
|
createdAt,
|
|
2255
2397
|
size
|
|
2256
2398
|
}) {
|
|
2257
|
-
return /* @__PURE__ */ (0,
|
|
2399
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Link, { download: fileName, href: url, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2258
2400
|
import_themes18.IconButton,
|
|
2259
2401
|
{
|
|
2260
2402
|
mt: "3",
|
|
2261
2403
|
size: "4",
|
|
2262
2404
|
style: { width: "100%", height: 56 },
|
|
2263
2405
|
variant: "soft",
|
|
2264
|
-
children: /* @__PURE__ */ (0,
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2267
|
-
/* @__PURE__ */ (0,
|
|
2406
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { align: "center", gap: "3", pl: "4", width: "100%", children: [
|
|
2407
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typo, { color: "gray", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_icons7.DownloadIcon, { height: 20, width: 20 }) }),
|
|
2408
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_themes22.Flex, { align: "start", direction: "column", gap: "1", children: [
|
|
2409
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2268
2410
|
Typo,
|
|
2269
2411
|
{
|
|
2270
2412
|
style: {
|
|
@@ -2274,7 +2416,7 @@ function DownloadCard({
|
|
|
2274
2416
|
children: fileName
|
|
2275
2417
|
}
|
|
2276
2418
|
),
|
|
2277
|
-
/* @__PURE__ */ (0,
|
|
2419
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typo, { color: "gray", variant: "caption", children: size })
|
|
2278
2420
|
] })
|
|
2279
2421
|
] })
|
|
2280
2422
|
}
|