@tipp/ui 1.6.6 → 1.6.7
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 +391 -338
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +56 -54
- package/dist/app/platform/coach-question-list.cjs +148 -37
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +31 -27
- package/dist/app/platform/edit-coaching-time.cjs +191 -138
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +39 -37
- package/dist/app/platform/edit-service-type.cjs +184 -131
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +38 -36
- package/dist/app/platform/goal-manage-card-edit.cjs +193 -140
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +39 -37
- package/dist/app/platform/goal-manage-card-read.cjs +178 -67
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +31 -27
- package/dist/app/platform/on-offline-radio-card.cjs +177 -124
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +38 -36
- package/dist/app/platform/report-card.cjs +149 -38
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +31 -27
- package/dist/app/platform/reservation-card.cjs +219 -166
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +39 -37
- package/dist/app/platform/session-card.cjs +236 -183
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +40 -38
- package/dist/app/platform/session-review-simple-read.cjs +149 -38
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +31 -27
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +182 -71
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +36 -32
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +159 -48
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +31 -27
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +162 -51
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +31 -27
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +148 -37
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +30 -26
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +158 -47
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +30 -26
- package/dist/app/platform/userInfos/utils.cjs +150 -39
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +30 -26
- package/dist/atoms/alert-dialog.d.cts +1 -0
- package/dist/atoms/alert-dialog.d.ts +1 -0
- package/dist/atoms/avatar.cjs +17 -4
- package/dist/atoms/avatar.cjs.map +1 -1
- package/dist/atoms/avatar.d.cts +4 -2
- package/dist/atoms/avatar.d.ts +4 -2
- package/dist/atoms/avatar.js +1 -1
- package/dist/atoms/index.cjs +170 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +69 -65
- package/dist/atoms/pagination.cjs +121 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +6 -2
- package/dist/chunk-2QMAWQMN.js +101 -0
- package/dist/chunk-2QMAWQMN.js.map +1 -0
- package/dist/chunk-32KBBMGD.js +350 -0
- package/dist/chunk-32KBBMGD.js.map +1 -0
- package/dist/chunk-52EVHZDD.js +145 -0
- package/dist/chunk-52EVHZDD.js.map +1 -0
- package/dist/chunk-5VJUNLJB.js +145 -0
- package/dist/chunk-5VJUNLJB.js.map +1 -0
- package/dist/chunk-6FHWDD6A.js +30 -0
- package/dist/chunk-6FHWDD6A.js.map +1 -0
- package/dist/chunk-7OTATOP5.js +145 -0
- package/dist/chunk-7OTATOP5.js.map +1 -0
- package/dist/chunk-AJUFF5UG.js +145 -0
- package/dist/chunk-AJUFF5UG.js.map +1 -0
- package/dist/chunk-BBHWHOUN.js +169 -0
- package/dist/chunk-BBHWHOUN.js.map +1 -0
- package/dist/chunk-BMGHLEOY.js +60 -0
- package/dist/chunk-BMGHLEOY.js.map +1 -0
- package/dist/chunk-DD5Q52TX.js +60 -0
- package/dist/chunk-DD5Q52TX.js.map +1 -0
- package/dist/chunk-EKWKP54R.js +277 -0
- package/dist/chunk-EKWKP54R.js.map +1 -0
- package/dist/chunk-G52DIMSU.js +174 -0
- package/dist/chunk-G52DIMSU.js.map +1 -0
- package/dist/chunk-GQB7I5LL.js +165 -0
- package/dist/chunk-GQB7I5LL.js.map +1 -0
- package/dist/chunk-GV7DKSKW.js +165 -0
- package/dist/chunk-GV7DKSKW.js.map +1 -0
- package/dist/chunk-HD6D7CNN.js +95 -0
- package/dist/chunk-HD6D7CNN.js.map +1 -0
- package/dist/chunk-HEGXU6RO.js +277 -0
- package/dist/chunk-HEGXU6RO.js.map +1 -0
- package/dist/chunk-IYQDNQVM.js +60 -0
- package/dist/chunk-IYQDNQVM.js.map +1 -0
- package/dist/chunk-JE7ILO63.js +62 -0
- package/dist/chunk-JE7ILO63.js.map +1 -0
- package/dist/chunk-JYJA2PMG.js +51 -0
- package/dist/chunk-JYJA2PMG.js.map +1 -0
- package/dist/chunk-KAMSTRSW.js +145 -0
- package/dist/chunk-KAMSTRSW.js.map +1 -0
- package/dist/chunk-NE7UF6BI.js +169 -0
- package/dist/chunk-NE7UF6BI.js.map +1 -0
- package/dist/chunk-NTBVSA6A.js +192 -0
- package/dist/chunk-NTBVSA6A.js.map +1 -0
- package/dist/chunk-OD6EJ426.js +62 -0
- package/dist/chunk-OD6EJ426.js.map +1 -0
- package/dist/chunk-PEBU5ITQ.js +169 -0
- package/dist/chunk-PEBU5ITQ.js.map +1 -0
- package/dist/chunk-PEWHIHRL.js +350 -0
- package/dist/chunk-PEWHIHRL.js.map +1 -0
- package/dist/chunk-PGGGKYWG.js +1 -0
- package/dist/chunk-PGGGKYWG.js.map +1 -0
- package/dist/chunk-PVRQAIQX.js +174 -0
- package/dist/chunk-PVRQAIQX.js.map +1 -0
- package/dist/chunk-QLYEPYGM.js +101 -0
- package/dist/chunk-QLYEPYGM.js.map +1 -0
- package/dist/chunk-RZICGWT6.js +95 -0
- package/dist/chunk-RZICGWT6.js.map +1 -0
- package/dist/chunk-S4FV6W2P.js +192 -0
- package/dist/chunk-S4FV6W2P.js.map +1 -0
- package/dist/chunk-TFJ2O2QQ.js +350 -0
- package/dist/chunk-TFJ2O2QQ.js.map +1 -0
- package/dist/chunk-UFKIOCFB.js +30 -0
- package/dist/chunk-UFKIOCFB.js.map +1 -0
- package/dist/chunk-UFYNSPJQ.js +50 -0
- package/dist/chunk-UFYNSPJQ.js.map +1 -0
- package/dist/chunk-UO4RGP6A.js +128 -0
- package/dist/chunk-UO4RGP6A.js.map +1 -0
- package/dist/chunk-VQSICZAF.js +277 -0
- package/dist/chunk-VQSICZAF.js.map +1 -0
- package/dist/chunk-WVWV7RR3.js +128 -0
- package/dist/chunk-WVWV7RR3.js.map +1 -0
- package/dist/chunk-XOULHXRV.js +145 -0
- package/dist/chunk-XOULHXRV.js.map +1 -0
- package/dist/chunk-YI73NE3Q.js +165 -0
- package/dist/chunk-YI73NE3Q.js.map +1 -0
- package/dist/icon.cjs +143 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +5 -2
- package/dist/icon.d.ts +5 -2
- package/dist/icon.js +14 -1
- package/dist/icons/index.cjs +171 -0
- package/dist/icons/index.cjs.map +1 -0
- package/dist/icons/index.d.cts +6 -0
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons/index.js +17 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/icons/phone-ring.cjs +107 -0
- package/dist/icons/phone-ring.cjs.map +1 -0
- package/dist/icons/phone-ring.d.cts +6 -0
- package/dist/icons/phone-ring.d.ts +6 -0
- package/dist/icons/phone-ring.js +8 -0
- package/dist/icons/phone-ring.js.map +1 -0
- package/dist/index.cjs +527 -468
- 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 +122 -111
- package/dist/molecules/date-picker/date-picker-button.cjs +156 -45
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +32 -28
- package/dist/molecules/date-picker/index.cjs +110 -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 +172 -119
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +31 -29
- package/dist/molecules/expand-table/row.cjs +148 -37
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +30 -26
- package/dist/molecules/index.cjs +289 -236
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +43 -41
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/navigation.cjs +148 -37
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +30 -26
- package/dist/molecules/radio-button-card.cjs +146 -35
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +30 -26
- package/dist/molecules/stepper.cjs +145 -24
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +7 -3
- package/dist/molecules/tag-selector.cjs +188 -77
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +31 -27
- package/dist/molecules/time-select.cjs +147 -36
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +31 -27
- package/dist/utils/index.js +5 -5
- package/package.json +1 -1
- package/src/atoms/avatar.tsx +25 -6
- package/src/icon.ts +2 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/phone-ring.tsx +31 -0
|
@@ -78,8 +78,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
78
78
|
var Avatar = (0, import_react.forwardRef)(
|
|
79
79
|
(props, ref) => {
|
|
80
80
|
const _a = props, { children, size, variant = "soft" } = _a, rest = __objRest(_a, ["children", "size", "variant"]);
|
|
81
|
-
const
|
|
82
|
-
switch (
|
|
81
|
+
const getOriginalSize = (0, import_react.useCallback)((value) => {
|
|
82
|
+
switch (value) {
|
|
83
83
|
case "small":
|
|
84
84
|
return "1";
|
|
85
85
|
case "medium":
|
|
@@ -89,9 +89,22 @@ var Avatar = (0, import_react.forwardRef)(
|
|
|
89
89
|
case "full":
|
|
90
90
|
return "4";
|
|
91
91
|
default:
|
|
92
|
-
return
|
|
92
|
+
return "3";
|
|
93
93
|
}
|
|
94
|
-
}, [
|
|
94
|
+
}, []);
|
|
95
|
+
const radixSize = (0, import_react.useMemo)(() => {
|
|
96
|
+
if (typeof size === "string") {
|
|
97
|
+
return getOriginalSize(size);
|
|
98
|
+
}
|
|
99
|
+
if (typeof size === "object") {
|
|
100
|
+
const map = {};
|
|
101
|
+
let key;
|
|
102
|
+
for (key in size) {
|
|
103
|
+
map[key] = size[key] && getOriginalSize(size[key]);
|
|
104
|
+
}
|
|
105
|
+
return map;
|
|
106
|
+
}
|
|
107
|
+
}, [getOriginalSize, size]);
|
|
95
108
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes3.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
|
|
96
109
|
}
|
|
97
110
|
);
|
|
@@ -605,15 +618,113 @@ var import_react15 = require("react");
|
|
|
605
618
|
// src/icon.ts
|
|
606
619
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
607
620
|
|
|
608
|
-
// src/
|
|
621
|
+
// src/icons/phone-ring.tsx
|
|
622
|
+
var React5 = __toESM(require("react"), 1);
|
|
609
623
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
624
|
+
var PhoneRingIcon = React5.forwardRef(
|
|
625
|
+
(_a, forwardedRef) => {
|
|
626
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
627
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
628
|
+
"svg",
|
|
629
|
+
__spreadProps(__spreadValues({
|
|
630
|
+
fill: "none",
|
|
631
|
+
height: "16",
|
|
632
|
+
viewBox: "0 0 16 16",
|
|
633
|
+
width: "16",
|
|
634
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
635
|
+
}, props), {
|
|
636
|
+
ref: forwardedRef,
|
|
637
|
+
children: [
|
|
638
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
639
|
+
"path",
|
|
640
|
+
{
|
|
641
|
+
d: "M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
642
|
+
fill: color
|
|
643
|
+
}
|
|
644
|
+
),
|
|
645
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
646
|
+
"path",
|
|
647
|
+
{
|
|
648
|
+
d: "M9.33335 4.22765C10.4699 4.62936 11.3707 5.53016 11.7724 6.66671M9.97701 2.33337C11.7004 2.93456 13.0655 4.2997 13.6667 6.02305M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
649
|
+
stroke: color,
|
|
650
|
+
strokeLinecap: "round",
|
|
651
|
+
strokeWidth: "1.5"
|
|
652
|
+
}
|
|
653
|
+
)
|
|
654
|
+
]
|
|
655
|
+
})
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
);
|
|
659
|
+
PhoneRingIcon.displayName = "ArrowUpIcon";
|
|
610
660
|
|
|
611
|
-
// src/
|
|
661
|
+
// src/icons/up.tsx
|
|
662
|
+
var React6 = __toESM(require("react"), 1);
|
|
612
663
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
664
|
+
var TriangleArrowUpIcon = React6.forwardRef(
|
|
665
|
+
(_a, forwardedRef) => {
|
|
666
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
667
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
668
|
+
"svg",
|
|
669
|
+
__spreadProps(__spreadValues({
|
|
670
|
+
fill: "none",
|
|
671
|
+
height: "7",
|
|
672
|
+
viewBox: "0 0 8 7",
|
|
673
|
+
width: "8",
|
|
674
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
675
|
+
}, props), {
|
|
676
|
+
ref: forwardedRef,
|
|
677
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
678
|
+
"path",
|
|
679
|
+
{
|
|
680
|
+
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
681
|
+
fill: color
|
|
682
|
+
}
|
|
683
|
+
)
|
|
684
|
+
})
|
|
685
|
+
);
|
|
686
|
+
}
|
|
687
|
+
);
|
|
688
|
+
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
689
|
+
|
|
690
|
+
// src/icons/down.tsx
|
|
691
|
+
var React7 = __toESM(require("react"), 1);
|
|
692
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
693
|
+
var TriangleArrowDownIcon = React7.forwardRef(
|
|
694
|
+
(_a, forwardedRef) => {
|
|
695
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
696
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
697
|
+
"svg",
|
|
698
|
+
__spreadProps(__spreadValues({
|
|
699
|
+
fill: "none",
|
|
700
|
+
height: "7",
|
|
701
|
+
viewBox: "0 0 8 7",
|
|
702
|
+
width: "8",
|
|
703
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
704
|
+
}, props), {
|
|
705
|
+
ref: forwardedRef,
|
|
706
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
707
|
+
"path",
|
|
708
|
+
{
|
|
709
|
+
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
710
|
+
fill: color
|
|
711
|
+
}
|
|
712
|
+
)
|
|
713
|
+
})
|
|
714
|
+
);
|
|
715
|
+
}
|
|
716
|
+
);
|
|
717
|
+
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
718
|
+
|
|
719
|
+
// src/atoms/pagination.tsx
|
|
720
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
721
|
+
|
|
722
|
+
// src/atoms/field-error-wrapper.tsx
|
|
723
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
613
724
|
|
|
614
725
|
// src/atoms/ellipsis-tooltip.tsx
|
|
615
726
|
var import_react16 = require("react");
|
|
616
|
-
var
|
|
727
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
617
728
|
|
|
618
729
|
// src/atoms/drawer.tsx
|
|
619
730
|
var import_react17 = require("react");
|
|
@@ -621,12 +732,12 @@ var Dialog = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
621
732
|
var import_themes50 = require("@radix-ui/themes");
|
|
622
733
|
|
|
623
734
|
// src/icons/close-panel-arrow.tsx
|
|
624
|
-
var
|
|
625
|
-
var
|
|
626
|
-
var ClosePanelArrowIcon =
|
|
735
|
+
var React10 = __toESM(require("react"), 1);
|
|
736
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
737
|
+
var ClosePanelArrowIcon = React10.forwardRef(
|
|
627
738
|
(_a, forwardedRef) => {
|
|
628
739
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
629
|
-
return /* @__PURE__ */ (0,
|
|
740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
630
741
|
"svg",
|
|
631
742
|
__spreadProps(__spreadValues({
|
|
632
743
|
fill: "none",
|
|
@@ -637,7 +748,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
637
748
|
}, props), {
|
|
638
749
|
ref: forwardedRef,
|
|
639
750
|
children: [
|
|
640
|
-
/* @__PURE__ */ (0,
|
|
751
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
641
752
|
"path",
|
|
642
753
|
{
|
|
643
754
|
clipRule: "evenodd",
|
|
@@ -646,7 +757,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
646
757
|
fillRule: "evenodd"
|
|
647
758
|
}
|
|
648
759
|
),
|
|
649
|
-
/* @__PURE__ */ (0,
|
|
760
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
650
761
|
"path",
|
|
651
762
|
{
|
|
652
763
|
clipRule: "evenodd",
|
|
@@ -663,16 +774,16 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
663
774
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
664
775
|
|
|
665
776
|
// src/atoms/drawer.tsx
|
|
666
|
-
var
|
|
777
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
667
778
|
|
|
668
779
|
// src/molecules/form/form.tsx
|
|
669
780
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
670
781
|
var import_react18 = require("react");
|
|
671
|
-
var
|
|
782
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
672
783
|
var Root7 = (0, import_react18.forwardRef)(
|
|
673
784
|
(_a, ref) => {
|
|
674
785
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
675
|
-
return /* @__PURE__ */ (0,
|
|
786
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
676
787
|
RadixForm.Root,
|
|
677
788
|
__spreadProps(__spreadValues({}, rest), {
|
|
678
789
|
className: `FormRoot ${className || ""}`,
|
|
@@ -689,22 +800,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
689
800
|
var Field2 = (0, import_react18.forwardRef)(
|
|
690
801
|
(_a, ref) => {
|
|
691
802
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
692
|
-
return /* @__PURE__ */ (0,
|
|
803
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
693
804
|
RadixForm.Field,
|
|
694
805
|
__spreadProps(__spreadValues({}, rest), {
|
|
695
806
|
className: `FormField ${className || ""}`,
|
|
696
807
|
ref,
|
|
697
|
-
children: /* @__PURE__ */ (0,
|
|
808
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(FieldContext.Provider, { value: rest, children })
|
|
698
809
|
})
|
|
699
810
|
);
|
|
700
811
|
}
|
|
701
812
|
);
|
|
702
813
|
Field2.displayName = "FORM_FIELD";
|
|
703
814
|
function HeadingLabel(props) {
|
|
704
|
-
return /* @__PURE__ */ (0,
|
|
815
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
705
816
|
}
|
|
706
817
|
function CaptionLabel(props) {
|
|
707
|
-
return /* @__PURE__ */ (0,
|
|
818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
708
819
|
}
|
|
709
820
|
var Label2 = (0, import_react18.forwardRef)(
|
|
710
821
|
(_a, ref) => {
|
|
@@ -721,15 +832,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
721
832
|
}
|
|
722
833
|
}, [variant]);
|
|
723
834
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
724
|
-
return /* @__PURE__ */ (0,
|
|
835
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
725
836
|
RadixForm.Label,
|
|
726
837
|
__spreadProps(__spreadValues({}, rest), {
|
|
727
838
|
asChild: true,
|
|
728
839
|
className: `FormLabel ${className || ""}`,
|
|
729
840
|
ref,
|
|
730
|
-
children: /* @__PURE__ */ (0,
|
|
841
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Comp, { children: [
|
|
731
842
|
children,
|
|
732
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
843
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
733
844
|
] })
|
|
734
845
|
})
|
|
735
846
|
);
|
|
@@ -739,13 +850,13 @@ Label2.displayName = "FORM_Label";
|
|
|
739
850
|
var Message2 = (0, import_react18.forwardRef)(
|
|
740
851
|
(_a, ref) => {
|
|
741
852
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
742
|
-
return /* @__PURE__ */ (0,
|
|
853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
743
854
|
RadixForm.Message,
|
|
744
855
|
__spreadProps(__spreadValues({}, rest), {
|
|
745
856
|
asChild: true,
|
|
746
857
|
className: `FormMessage ${className || ""}`,
|
|
747
858
|
ref,
|
|
748
|
-
children: /* @__PURE__ */ (0,
|
|
859
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "red", children })
|
|
749
860
|
})
|
|
750
861
|
);
|
|
751
862
|
}
|
|
@@ -755,7 +866,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
755
866
|
(_a, ref) => {
|
|
756
867
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
757
868
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
758
|
-
return /* @__PURE__ */ (0,
|
|
869
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
759
870
|
RadixForm.Control,
|
|
760
871
|
__spreadProps(__spreadValues({}, rest), {
|
|
761
872
|
className: `FormControl ${className || ""}`,
|
|
@@ -769,7 +880,7 @@ Control2.displayName = "FORM_Control";
|
|
|
769
880
|
|
|
770
881
|
// src/atoms/auto-sizing-input.tsx
|
|
771
882
|
var import_react19 = require("react");
|
|
772
|
-
var
|
|
883
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
773
884
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
774
885
|
(_a, ref) => {
|
|
775
886
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -792,19 +903,19 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
792
903
|
(0, import_react19.useEffect)(() => {
|
|
793
904
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
794
905
|
}, [value, onChangeValue]);
|
|
795
|
-
return /* @__PURE__ */ (0,
|
|
796
|
-
/* @__PURE__ */ (0,
|
|
797
|
-
/* @__PURE__ */ (0,
|
|
906
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
907
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
908
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
798
909
|
] });
|
|
799
910
|
}
|
|
800
911
|
);
|
|
801
912
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
802
913
|
|
|
803
914
|
// src/atoms/bullet-text.tsx
|
|
804
|
-
var
|
|
915
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
805
916
|
|
|
806
917
|
// src/molecules/expand-table/row.tsx
|
|
807
|
-
var
|
|
918
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
808
919
|
function Row(props) {
|
|
809
920
|
const { row, ExpandComp, gridTemplateColumns, getRowStyle, getCellStyle } = props;
|
|
810
921
|
const [open, setOpen] = (0, import_react20.useState)(false);
|
|
@@ -823,8 +934,8 @@ function Row(props) {
|
|
|
823
934
|
}
|
|
824
935
|
return baseCls.join(" ");
|
|
825
936
|
}, [ExpandComp, props.onRowClick]);
|
|
826
|
-
return /* @__PURE__ */ (0,
|
|
827
|
-
/* @__PURE__ */ (0,
|
|
937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: rowClassName, children: [
|
|
938
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
828
939
|
"button",
|
|
829
940
|
{
|
|
830
941
|
className: "tr",
|
|
@@ -837,7 +948,7 @@ function Row(props) {
|
|
|
837
948
|
var _a, _b, _c;
|
|
838
949
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
839
950
|
const justifyContent = ((_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) || props.defaultAlign;
|
|
840
|
-
return /* @__PURE__ */ (0,
|
|
951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
841
952
|
"div",
|
|
842
953
|
{
|
|
843
954
|
className: "td",
|
|
@@ -848,7 +959,7 @@ function Row(props) {
|
|
|
848
959
|
}, (getCellStyle == null ? void 0 : getCellStyle(row.original)) || {}),
|
|
849
960
|
children: [
|
|
850
961
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
851
|
-
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0,
|
|
962
|
+
((_c = cell.column.columnDef.meta) == null ? void 0 : _c.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
852
963
|
cell.column.columnDef.meta.OpenBtn,
|
|
853
964
|
{
|
|
854
965
|
data: row.original,
|
|
@@ -864,7 +975,7 @@ function Row(props) {
|
|
|
864
975
|
},
|
|
865
976
|
`tr_${row.id}`
|
|
866
977
|
),
|
|
867
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
978
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ExpandComp, { row }) }) }) : null
|
|
868
979
|
] }, `tr-wrapper_${row.id}`);
|
|
869
980
|
}
|
|
870
981
|
// Annotate the CommonJS export names for ESM import in node:
|