@tipp/ui 1.5.11 → 1.6.0
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 +132 -153
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +18 -20
- package/dist/app/platform/coach-question-list.cjs +1 -1
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +1 -1
- package/dist/app/platform/edit-coaching-time.cjs +37 -56
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +8 -10
- package/dist/app/platform/edit-service-type.cjs +1 -1
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +7 -7
- package/dist/app/platform/goal-manage-card-edit.cjs +21 -2
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +8 -8
- package/dist/app/platform/goal-manage-card-read.cjs +1 -1
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +1 -1
- package/dist/app/platform/on-offline-radio-card.cjs +1 -1
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +7 -7
- package/dist/app/platform/report-card.cjs +1 -1
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +1 -1
- package/dist/app/platform/reservation-card.cjs +21 -2
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +8 -8
- package/dist/app/platform/session-card.cjs +76 -95
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +9 -11
- package/dist/app/platform/session-review-simple-read.cjs +1 -1
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +1 -1
- package/dist/app/platform/userInfos/utils.cjs +1 -1
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +1 -1
- package/dist/atoms/index.cjs +23 -2
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.d.cts +1 -1
- package/dist/atoms/index.d.ts +1 -1
- package/dist/atoms/index.js +4 -2
- package/dist/chunk-3BDAXSFJ.js +46 -0
- package/dist/chunk-3BDAXSFJ.js.map +1 -0
- package/dist/chunk-3F6KWGBZ.js +89 -0
- package/dist/chunk-3F6KWGBZ.js.map +1 -0
- package/dist/chunk-5QTFO46W.js +177 -0
- package/dist/chunk-5QTFO46W.js.map +1 -0
- package/dist/chunk-643OBFGH.js +145 -0
- package/dist/chunk-643OBFGH.js.map +1 -0
- package/dist/chunk-6RTDC4IZ.js +145 -0
- package/dist/chunk-6RTDC4IZ.js.map +1 -0
- package/dist/chunk-C54BNXQ3.js +174 -0
- package/dist/chunk-C54BNXQ3.js.map +1 -0
- package/dist/chunk-DAAG2ECN.js +145 -0
- package/dist/chunk-DAAG2ECN.js.map +1 -0
- package/dist/chunk-EPHO2NHY.js +165 -0
- package/dist/chunk-EPHO2NHY.js.map +1 -0
- package/dist/chunk-G4HAO2PO.js +145 -0
- package/dist/chunk-G4HAO2PO.js.map +1 -0
- package/dist/chunk-HAXSZIZN.js +174 -0
- package/dist/chunk-HAXSZIZN.js.map +1 -0
- package/dist/chunk-ID5SXFYY.js +277 -0
- package/dist/chunk-ID5SXFYY.js.map +1 -0
- package/dist/chunk-JFAEGRYZ.js +145 -0
- package/dist/chunk-JFAEGRYZ.js.map +1 -0
- package/dist/chunk-KWVMO7QA.js +145 -0
- package/dist/chunk-KWVMO7QA.js.map +1 -0
- package/dist/chunk-KZQALSCC.js +277 -0
- package/dist/chunk-KZQALSCC.js.map +1 -0
- package/dist/chunk-MR7H7IVE.js +192 -0
- package/dist/chunk-MR7H7IVE.js.map +1 -0
- package/dist/chunk-NOU2SQ3S.js +145 -0
- package/dist/chunk-NOU2SQ3S.js.map +1 -0
- package/dist/chunk-PYR4SVP5.js +146 -0
- package/dist/chunk-PYR4SVP5.js.map +1 -0
- package/dist/chunk-RSCMNIHH.js +165 -0
- package/dist/chunk-RSCMNIHH.js.map +1 -0
- package/dist/chunk-RZDYA4LT.js +174 -0
- package/dist/chunk-RZDYA4LT.js.map +1 -0
- package/dist/chunk-TDRNTGNE.js +164 -0
- package/dist/chunk-TDRNTGNE.js.map +1 -0
- package/dist/chunk-VF5Q4NSV.js +174 -0
- package/dist/chunk-VF5Q4NSV.js.map +1 -0
- package/dist/chunk-WHPYQRMZ.js +145 -0
- package/dist/chunk-WHPYQRMZ.js.map +1 -0
- package/dist/chunk-X7RBL443.js +145 -0
- package/dist/chunk-X7RBL443.js.map +1 -0
- package/dist/chunk-XM5HV4U7.js +145 -0
- package/dist/chunk-XM5HV4U7.js.map +1 -0
- package/dist/chunk-XY5462PL.js +277 -0
- package/dist/chunk-XY5462PL.js.map +1 -0
- package/dist/chunk-ZILPOC5V.js +277 -0
- package/dist/chunk-ZILPOC5V.js.map +1 -0
- package/dist/index.cjs +134 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +34 -37
- package/dist/layouts/index.cjs.map +1 -1
- package/dist/layouts/index.js +26 -26
- package/dist/layouts/response-display.cjs.map +1 -1
- package/dist/layouts/response-display.js +26 -26
- package/dist/molecules/date-picker/date-picker-button.cjs +1 -1
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +1 -1
- package/dist/molecules/expand-table/index.cjs +1 -1
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +1 -1
- package/dist/molecules/expand-table/row.cjs +1 -1
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +1 -1
- package/dist/molecules/form/form.cjs +251 -0
- package/dist/molecules/form/form.cjs.map +1 -0
- package/dist/molecules/form/form.d.cts +33 -0
- package/dist/molecules/form/form.d.ts +33 -0
- package/dist/molecules/form/form.js +12 -0
- package/dist/molecules/form/form.js.map +1 -0
- package/dist/molecules/form/index.cjs +253 -0
- package/dist/molecules/form/index.cjs.map +1 -0
- package/dist/molecules/form/index.d.cts +3 -0
- package/dist/molecules/form/index.d.ts +3 -0
- package/dist/molecules/form/index.js +12 -0
- package/dist/molecules/form/index.js.map +1 -0
- package/dist/molecules/index.cjs +1 -1
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +11 -11
- package/dist/molecules/navigation.cjs +1 -1
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +1 -1
- package/dist/molecules/radio-button-card.cjs +1 -1
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +1 -1
- package/dist/molecules/tag-selector.cjs +1 -1
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +1 -1
- package/dist/molecules/time-select.cjs +1 -1
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +3 -3
- package/dist/utils/index.js +6 -6
- package/package.json +1 -1
- package/src/app/platform/edit-coaching-time.tsx +3 -2
- package/src/atoms/index.ts +1 -1
- package/src/index.ts +0 -1
- package/src/molecules/{form.tsx → form/form.tsx} +32 -6
- package/src/molecules/form/index.ts +1 -0
- package/src/layouts/index.ts +0 -1
- package/src/layouts/response-display.tsx +0 -62
package/dist/app/index.cjs
CHANGED
|
@@ -778,7 +778,7 @@ ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
|
778
778
|
// src/atoms/drawer.tsx
|
|
779
779
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
780
780
|
|
|
781
|
-
// src/molecules/form.tsx
|
|
781
|
+
// src/molecules/form/form.tsx
|
|
782
782
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
783
783
|
var import_react18 = require("react");
|
|
784
784
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
@@ -879,13 +879,32 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
879
879
|
}
|
|
880
880
|
);
|
|
881
881
|
Control2.displayName = "FORM_Control";
|
|
882
|
+
function FormItem(_a) {
|
|
883
|
+
var _b = _a, {
|
|
884
|
+
label,
|
|
885
|
+
labelVariant,
|
|
886
|
+
children,
|
|
887
|
+
errorMessage
|
|
888
|
+
} = _b, fieldProps = __objRest(_b, [
|
|
889
|
+
"label",
|
|
890
|
+
"labelVariant",
|
|
891
|
+
"children",
|
|
892
|
+
"errorMessage"
|
|
893
|
+
]);
|
|
894
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
895
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
896
|
+
children,
|
|
897
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
898
|
+
] }));
|
|
899
|
+
}
|
|
882
900
|
var Form = {
|
|
883
901
|
Root: Root7,
|
|
884
902
|
Field: Field2,
|
|
885
903
|
Label: Label2,
|
|
886
904
|
Message: Message2,
|
|
887
905
|
Control: RadixForm.Control,
|
|
888
|
-
Submit: RadixForm.Submit
|
|
906
|
+
Submit: RadixForm.Submit,
|
|
907
|
+
FormItem
|
|
889
908
|
};
|
|
890
909
|
|
|
891
910
|
// src/atoms/auto-sizing-input.tsx
|
|
@@ -1673,47 +1692,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
1673
1692
|
|
|
1674
1693
|
// src/app/platform/edit-coaching-time.tsx
|
|
1675
1694
|
var import_react31 = require("react");
|
|
1676
|
-
|
|
1677
|
-
// src/layouts/response-display.tsx
|
|
1678
1695
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1679
|
-
var breakpoints = ["initial", "xs", "sm", "md", "lg", "xl"];
|
|
1680
|
-
var sortByBreakpoint = (a, b) => {
|
|
1681
|
-
return breakpoints.indexOf(a[0]) - breakpoints.indexOf(b[0]);
|
|
1682
|
-
};
|
|
1683
|
-
var getDisplay = (prev, cur, index) => {
|
|
1684
|
-
const result = {};
|
|
1685
|
-
if (prev) {
|
|
1686
|
-
result.initial = "none";
|
|
1687
|
-
}
|
|
1688
|
-
if (cur) {
|
|
1689
|
-
result[cur] = "block";
|
|
1690
|
-
}
|
|
1691
|
-
if (index) {
|
|
1692
|
-
result[index] = "none";
|
|
1693
|
-
}
|
|
1694
|
-
return result;
|
|
1695
|
-
};
|
|
1696
|
-
function ResponseDisplay(props) {
|
|
1697
|
-
const sortedChildren = Object.entries(props).sort(sortByBreakpoint);
|
|
1698
|
-
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, { children: sortedChildren.map(([key, value], index) => {
|
|
1699
|
-
var _a, _b, _c;
|
|
1700
|
-
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1701
|
-
import_themes6.Box,
|
|
1702
|
-
{
|
|
1703
|
-
display: getDisplay(
|
|
1704
|
-
(_a = sortedChildren[index - 1]) == null ? void 0 : _a[0],
|
|
1705
|
-
(_b = sortedChildren[index]) == null ? void 0 : _b[0],
|
|
1706
|
-
(_c = sortedChildren[index + 1]) == null ? void 0 : _c[0]
|
|
1707
|
-
),
|
|
1708
|
-
children: value
|
|
1709
|
-
},
|
|
1710
|
-
key
|
|
1711
|
-
);
|
|
1712
|
-
}) });
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
// src/app/platform/edit-coaching-time.tsx
|
|
1716
|
-
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1717
1696
|
var getValueFromDefaultValue = (args) => {
|
|
1718
1697
|
return {
|
|
1719
1698
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -1783,10 +1762,10 @@ function EditCoachingTime(props) {
|
|
|
1783
1762
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
1784
1763
|
}
|
|
1785
1764
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
1786
|
-
return /* @__PURE__ */ (0,
|
|
1787
|
-
/* @__PURE__ */ (0,
|
|
1788
|
-
/* @__PURE__ */ (0,
|
|
1789
|
-
/* @__PURE__ */ (0,
|
|
1765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Root, { children: [
|
|
1766
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "date", children: [
|
|
1767
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
1768
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1790
1769
|
DatePickerButton,
|
|
1791
1770
|
{
|
|
1792
1771
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -1796,7 +1775,7 @@ function EditCoachingTime(props) {
|
|
|
1796
1775
|
}
|
|
1797
1776
|
)
|
|
1798
1777
|
] }),
|
|
1799
|
-
/* @__PURE__ */ (0,
|
|
1778
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1800
1779
|
import_themes23.Grid,
|
|
1801
1780
|
{
|
|
1802
1781
|
align: "center",
|
|
@@ -1811,10 +1790,10 @@ function EditCoachingTime(props) {
|
|
|
1811
1790
|
mt: "5",
|
|
1812
1791
|
width: "100%",
|
|
1813
1792
|
children: [
|
|
1814
|
-
/* @__PURE__ */ (0,
|
|
1815
|
-
/* @__PURE__ */ (0,
|
|
1816
|
-
/* @__PURE__ */ (0,
|
|
1817
|
-
/* @__PURE__ */ (0,
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
1794
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {}),
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
1796
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1818
1797
|
TimeSelect,
|
|
1819
1798
|
{
|
|
1820
1799
|
onValueChange: onChangeStartTime,
|
|
@@ -1822,8 +1801,8 @@ function EditCoachingTime(props) {
|
|
|
1822
1801
|
value: values.startTime
|
|
1823
1802
|
}
|
|
1824
1803
|
),
|
|
1825
|
-
/* @__PURE__ */ (0,
|
|
1826
|
-
/* @__PURE__ */ (0,
|
|
1804
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes39.Separator, {}) }),
|
|
1805
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1827
1806
|
TimeSelect,
|
|
1828
1807
|
{
|
|
1829
1808
|
onValueChange: onChangeEndTime,
|
|
@@ -1831,13 +1810,13 @@ function EditCoachingTime(props) {
|
|
|
1831
1810
|
value: values.endTime
|
|
1832
1811
|
}
|
|
1833
1812
|
),
|
|
1834
|
-
/* @__PURE__ */ (0,
|
|
1813
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
1835
1814
|
]
|
|
1836
1815
|
}
|
|
1837
1816
|
),
|
|
1838
|
-
/* @__PURE__ */ (0,
|
|
1839
|
-
/* @__PURE__ */ (0,
|
|
1840
|
-
/* @__PURE__ */ (0,
|
|
1817
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
1818
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
1819
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1841
1820
|
] })
|
|
1842
1821
|
] }) });
|
|
1843
1822
|
}
|
|
@@ -1847,20 +1826,20 @@ var import_react32 = require("react");
|
|
|
1847
1826
|
|
|
1848
1827
|
// src/app/platform/on-offline-radio-card.tsx
|
|
1849
1828
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
1850
|
-
var
|
|
1829
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1851
1830
|
var SERVICE_TYPE = {
|
|
1852
1831
|
onlineCoaching: "onlineCoaching",
|
|
1853
1832
|
offlineCoaching: "offlineCoaching"
|
|
1854
1833
|
};
|
|
1855
1834
|
var breakpoint = "sm";
|
|
1856
1835
|
function HideSmallBox(props) {
|
|
1857
|
-
return /* @__PURE__ */ (0,
|
|
1836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
1858
1837
|
}
|
|
1859
1838
|
function OnOfflineRadioCard(props) {
|
|
1860
1839
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
1861
1840
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
1862
1841
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
1863
|
-
return /* @__PURE__ */ (0,
|
|
1842
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
1864
1843
|
RadioButtonCard.Root,
|
|
1865
1844
|
__spreadProps(__spreadValues({
|
|
1866
1845
|
RadioWrapper: Wrapper,
|
|
@@ -1869,13 +1848,13 @@ function OnOfflineRadioCard(props) {
|
|
|
1869
1848
|
justify
|
|
1870
1849
|
}, props), {
|
|
1871
1850
|
children: [
|
|
1872
|
-
/* @__PURE__ */ (0,
|
|
1873
|
-
/* @__PURE__ */ (0,
|
|
1874
|
-
/* @__PURE__ */ (0,
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
1853
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
1875
1854
|
] }) }),
|
|
1876
|
-
/* @__PURE__ */ (0,
|
|
1877
|
-
/* @__PURE__ */ (0,
|
|
1878
|
-
/* @__PURE__ */ (0,
|
|
1855
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1856
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
1857
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
1879
1858
|
] }) })
|
|
1880
1859
|
]
|
|
1881
1860
|
})
|
|
@@ -1883,7 +1862,7 @@ function OnOfflineRadioCard(props) {
|
|
|
1883
1862
|
}
|
|
1884
1863
|
|
|
1885
1864
|
// src/app/platform/edit-service-type.tsx
|
|
1886
|
-
var
|
|
1865
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1887
1866
|
function EditServiceType(props) {
|
|
1888
1867
|
const { defaultServiceType, onClickCancel } = props;
|
|
1889
1868
|
const [sessionType, setSessionType] = (0, import_react32.useState)(
|
|
@@ -1893,8 +1872,8 @@ function EditServiceType(props) {
|
|
|
1893
1872
|
var _a;
|
|
1894
1873
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
1895
1874
|
}, [props, sessionType]);
|
|
1896
|
-
return /* @__PURE__ */ (0,
|
|
1897
|
-
/* @__PURE__ */ (0,
|
|
1875
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes6.Box, { children: [
|
|
1876
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
1898
1877
|
Typo,
|
|
1899
1878
|
{
|
|
1900
1879
|
as: "p",
|
|
@@ -1904,16 +1883,16 @@ function EditServiceType(props) {
|
|
|
1904
1883
|
children: "\uC138\uC158 \uC720\uD615\uC5D0 \uB530\uB77C \uCC45\uC815\uB418\uB294 \uCF54\uCE6D \uAE08\uC561\uC774 \uB2EC\uB77C\uC9C0\uBBC0\uB85C, \uC815\uD655\uD558\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694"
|
|
1905
1884
|
}
|
|
1906
1885
|
),
|
|
1907
|
-
/* @__PURE__ */ (0,
|
|
1908
|
-
/* @__PURE__ */ (0,
|
|
1909
|
-
/* @__PURE__ */ (0,
|
|
1910
|
-
/* @__PURE__ */ (0,
|
|
1886
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
1887
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1911
1890
|
] })
|
|
1912
1891
|
] });
|
|
1913
1892
|
}
|
|
1914
1893
|
|
|
1915
1894
|
// src/app/platform/session-card.tsx
|
|
1916
|
-
var
|
|
1895
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1917
1896
|
var preventDefault2 = (e) => {
|
|
1918
1897
|
e.preventDefault();
|
|
1919
1898
|
};
|
|
@@ -1944,33 +1923,33 @@ function SessionCard(props) {
|
|
|
1944
1923
|
"sessionType"
|
|
1945
1924
|
]);
|
|
1946
1925
|
const renderEditButton = (0, import_react33.useCallback)(() => {
|
|
1947
|
-
return /* @__PURE__ */ (0,
|
|
1926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_icons3.Pencil1Icon, {}) });
|
|
1948
1927
|
}, []);
|
|
1949
1928
|
const sessionTimeStr = (0, import_react33.useMemo)(() => {
|
|
1950
1929
|
if (!startAt || !endAt)
|
|
1951
1930
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
1952
1931
|
return `${(0, import_date_fns6.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns6.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
1953
1932
|
}, [startAt, endAt]);
|
|
1954
|
-
return /* @__PURE__ */ (0,
|
|
1955
|
-
/* @__PURE__ */ (0,
|
|
1956
|
-
/* @__PURE__ */ (0,
|
|
1933
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
1934
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
1957
1936
|
TitleExtra,
|
|
1958
|
-
error ? /* @__PURE__ */ (0,
|
|
1937
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
1959
1938
|
] }),
|
|
1960
|
-
/* @__PURE__ */ (0,
|
|
1961
|
-
/* @__PURE__ */ (0,
|
|
1962
|
-
/* @__PURE__ */ (0,
|
|
1963
|
-
/* @__PURE__ */ (0,
|
|
1939
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Root, { children: [
|
|
1940
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1941
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
1942
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Value, { children: [
|
|
1964
1943
|
sessionTimeStr,
|
|
1965
|
-
editable ? /* @__PURE__ */ (0,
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
1967
|
-
/* @__PURE__ */ (0,
|
|
1944
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Dialog.Root, { children: [
|
|
1945
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
1946
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1968
1947
|
Dialog.Content,
|
|
1969
1948
|
{
|
|
1970
1949
|
onOpenAutoFocus: preventDefault2,
|
|
1971
1950
|
style: { overflow: "visible" },
|
|
1972
1951
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
1973
|
-
children: /* @__PURE__ */ (0,
|
|
1952
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1974
1953
|
EditCoachingTime,
|
|
1975
1954
|
{
|
|
1976
1955
|
defaultEndAt: endAt,
|
|
@@ -1983,18 +1962,18 @@ function SessionCard(props) {
|
|
|
1983
1962
|
] }) : null
|
|
1984
1963
|
] })
|
|
1985
1964
|
] }),
|
|
1986
|
-
/* @__PURE__ */ (0,
|
|
1987
|
-
/* @__PURE__ */ (0,
|
|
1988
|
-
/* @__PURE__ */ (0,
|
|
1989
|
-
/* @__PURE__ */ (0,
|
|
1965
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
1966
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1967
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
1968
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes15.DataList.Value, { children: [
|
|
1990
1969
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
1991
|
-
editable ? /* @__PURE__ */ (0,
|
|
1992
|
-
/* @__PURE__ */ (0,
|
|
1993
|
-
/* @__PURE__ */ (0,
|
|
1970
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Dialog.Root, { children: [
|
|
1971
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
1972
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1994
1973
|
Dialog.Content,
|
|
1995
1974
|
{
|
|
1996
1975
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
1997
|
-
children: /* @__PURE__ */ (0,
|
|
1976
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1998
1977
|
EditServiceType,
|
|
1999
1978
|
{
|
|
2000
1979
|
defaultServiceType: sessionType,
|
|
@@ -2006,32 +1985,32 @@ function SessionCard(props) {
|
|
|
2006
1985
|
] }) : null
|
|
2007
1986
|
] })
|
|
2008
1987
|
] }),
|
|
2009
|
-
/* @__PURE__ */ (0,
|
|
1988
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
2010
1989
|
] })
|
|
2011
1990
|
] })
|
|
2012
1991
|
] }) }));
|
|
2013
1992
|
}
|
|
2014
1993
|
|
|
2015
1994
|
// src/app/platform/coach-question-list.tsx
|
|
2016
|
-
var
|
|
1995
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2017
1996
|
function QuestionItem({ question, answer }) {
|
|
2018
|
-
return /* @__PURE__ */ (0,
|
|
2019
|
-
/* @__PURE__ */ (0,
|
|
2020
|
-
/* @__PURE__ */ (0,
|
|
1997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes6.Box, { children: [
|
|
1998
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
1999
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2021
2000
|
] }, question);
|
|
2022
2001
|
}
|
|
2023
2002
|
function CoachQuestionList({
|
|
2024
2003
|
questions
|
|
2025
2004
|
}) {
|
|
2026
|
-
return /* @__PURE__ */ (0,
|
|
2027
|
-
return /* @__PURE__ */ (0,
|
|
2005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2028
2007
|
}) });
|
|
2029
2008
|
}
|
|
2030
2009
|
|
|
2031
2010
|
// src/app/platform/reservation-card.tsx
|
|
2032
2011
|
var import_react34 = require("react");
|
|
2033
2012
|
var import_date_fns7 = require("date-fns");
|
|
2034
|
-
var
|
|
2013
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2035
2014
|
function ReservationCard(props) {
|
|
2036
2015
|
const {
|
|
2037
2016
|
sessionNumber,
|
|
@@ -2065,9 +2044,9 @@ function ReservationCard(props) {
|
|
|
2065
2044
|
}, [defaultTime, defaultType]);
|
|
2066
2045
|
const ActionButtons = (0, import_react34.useMemo)(() => {
|
|
2067
2046
|
if (readonly) {
|
|
2068
|
-
return /* @__PURE__ */ (0,
|
|
2047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2069
2048
|
}
|
|
2070
|
-
return /* @__PURE__ */ (0,
|
|
2049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_icons3.Cross1Icon, {}) });
|
|
2071
2050
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2072
2051
|
const onChangeDate = (0, import_react34.useCallback)(
|
|
2073
2052
|
(newDate) => {
|
|
@@ -2124,47 +2103,47 @@ function ReservationCard(props) {
|
|
|
2124
2103
|
});
|
|
2125
2104
|
}
|
|
2126
2105
|
}, [editValues, maxTime]);
|
|
2127
|
-
return /* @__PURE__ */ (0,
|
|
2106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2128
2107
|
Card,
|
|
2129
2108
|
{
|
|
2130
2109
|
error: Boolean(error),
|
|
2131
2110
|
size: "3",
|
|
2132
2111
|
style: { overflow: "visible", contain: "initial" },
|
|
2133
2112
|
children: [
|
|
2134
|
-
/* @__PURE__ */ (0,
|
|
2135
|
-
/* @__PURE__ */ (0,
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
2114
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2136
2115
|
import_themes23.Grid,
|
|
2137
2116
|
{
|
|
2138
2117
|
align: "center",
|
|
2139
2118
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2140
2119
|
gapY: "2",
|
|
2141
2120
|
children: [
|
|
2142
|
-
/* @__PURE__ */ (0,
|
|
2143
|
-
/* @__PURE__ */ (0,
|
|
2121
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2122
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2144
2123
|
customerName || "-",
|
|
2145
2124
|
"\uB2D8 ",
|
|
2146
2125
|
sessionNumber || "-",
|
|
2147
2126
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2148
2127
|
] }),
|
|
2149
|
-
/* @__PURE__ */ (0,
|
|
2128
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2150
2129
|
] }),
|
|
2151
|
-
error ? /* @__PURE__ */ (0,
|
|
2130
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2152
2131
|
]
|
|
2153
2132
|
}
|
|
2154
2133
|
),
|
|
2155
|
-
/* @__PURE__ */ (0,
|
|
2134
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2156
2135
|
] }),
|
|
2157
|
-
/* @__PURE__ */ (0,
|
|
2136
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2158
2137
|
Form.Root,
|
|
2159
2138
|
{
|
|
2160
2139
|
onSubmit: (e) => {
|
|
2161
2140
|
e.preventDefault();
|
|
2162
2141
|
},
|
|
2163
|
-
children: /* @__PURE__ */ (0,
|
|
2164
|
-
/* @__PURE__ */ (0,
|
|
2165
|
-
/* @__PURE__ */ (0,
|
|
2166
|
-
/* @__PURE__ */ (0,
|
|
2167
|
-
/* @__PURE__ */ (0,
|
|
2142
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Form.Label, { asChild: true, children: [
|
|
2144
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2145
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
2146
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2168
2147
|
DatePickerButton,
|
|
2169
2148
|
{
|
|
2170
2149
|
disabled: readonly,
|
|
@@ -2176,7 +2155,7 @@ function ReservationCard(props) {
|
|
|
2176
2155
|
size: "large"
|
|
2177
2156
|
}
|
|
2178
2157
|
),
|
|
2179
|
-
/* @__PURE__ */ (0,
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2180
2159
|
TimeSelect,
|
|
2181
2160
|
{
|
|
2182
2161
|
disabled: readonly,
|
|
@@ -2190,9 +2169,9 @@ function ReservationCard(props) {
|
|
|
2190
2169
|
)
|
|
2191
2170
|
] })
|
|
2192
2171
|
] }) }),
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2194
|
-
/* @__PURE__ */ (0,
|
|
2195
|
-
/* @__PURE__ */ (0,
|
|
2172
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Form.Field, { name: "type", children: [
|
|
2173
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
2174
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2196
2175
|
OnOfflineRadioCard,
|
|
2197
2176
|
{
|
|
2198
2177
|
disabled: readonly,
|
|
@@ -2202,8 +2181,8 @@ function ReservationCard(props) {
|
|
|
2202
2181
|
}
|
|
2203
2182
|
) })
|
|
2204
2183
|
] }),
|
|
2205
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2206
|
-
/* @__PURE__ */ (0,
|
|
2184
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2185
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2207
2186
|
Button,
|
|
2208
2187
|
{
|
|
2209
2188
|
color: "gray",
|
|
@@ -2213,12 +2192,12 @@ function ReservationCard(props) {
|
|
|
2213
2192
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2214
2193
|
}
|
|
2215
2194
|
),
|
|
2216
|
-
/* @__PURE__ */ (0,
|
|
2195
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2217
2196
|
] })
|
|
2218
2197
|
] })
|
|
2219
2198
|
}
|
|
2220
2199
|
) }),
|
|
2221
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2200
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2222
2201
|
import_themes6.Box,
|
|
2223
2202
|
{
|
|
2224
2203
|
mt: "5",
|
|
@@ -2226,14 +2205,14 @@ function ReservationCard(props) {
|
|
|
2226
2205
|
py: "4",
|
|
2227
2206
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2228
2207
|
width: "100%",
|
|
2229
|
-
children: /* @__PURE__ */ (0,
|
|
2230
|
-
/* @__PURE__ */ (0,
|
|
2208
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2209
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Typo, { children: [
|
|
2231
2210
|
sessionNumber || "-",
|
|
2232
2211
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2233
2212
|
] }),
|
|
2234
|
-
/* @__PURE__ */ (0,
|
|
2213
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2235
2214
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2236
|
-
/* @__PURE__ */ (0,
|
|
2215
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_icons3.ArrowRightIcon, {})
|
|
2237
2216
|
] })
|
|
2238
2217
|
] })
|
|
2239
2218
|
}
|
|
@@ -2245,14 +2224,14 @@ function ReservationCard(props) {
|
|
|
2245
2224
|
|
|
2246
2225
|
// src/app/platform/session-review-simple-read.tsx
|
|
2247
2226
|
var import_react35 = require("react");
|
|
2248
|
-
var
|
|
2227
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2249
2228
|
function SubTitleWrapper({
|
|
2250
2229
|
children,
|
|
2251
2230
|
title
|
|
2252
2231
|
}) {
|
|
2253
|
-
return /* @__PURE__ */ (0,
|
|
2254
|
-
/* @__PURE__ */ (0,
|
|
2255
|
-
/* @__PURE__ */ (0,
|
|
2232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children })
|
|
2256
2235
|
] });
|
|
2257
2236
|
}
|
|
2258
2237
|
function SessionReviewSimpleRead({
|
|
@@ -2277,22 +2256,22 @@ function SessionReviewSimpleRead({
|
|
|
2277
2256
|
color: "error"
|
|
2278
2257
|
};
|
|
2279
2258
|
}, [helpfulness]);
|
|
2280
|
-
return /* @__PURE__ */ (0,
|
|
2281
|
-
/* @__PURE__ */ (0,
|
|
2282
|
-
/* @__PURE__ */ (0,
|
|
2259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SubTitleWrapper, { title: "\uC774\uBC88 \uCF54\uCE6D\uC774 \uBAA9\uD45C \uB2EC\uC131\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uB098\uC694?", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2261
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2283
2262
|
] }) });
|
|
2284
2263
|
}
|
|
2285
2264
|
|
|
2286
2265
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
2287
|
-
var
|
|
2266
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2288
2267
|
function SectionWrapper({
|
|
2289
2268
|
title,
|
|
2290
2269
|
children
|
|
2291
2270
|
}) {
|
|
2292
|
-
return /* @__PURE__ */ (0,
|
|
2293
|
-
/* @__PURE__ */ (0,
|
|
2294
|
-
/* @__PURE__ */ (0,
|
|
2295
|
-
/* @__PURE__ */ (0,
|
|
2271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes6.Box, { children: [
|
|
2272
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2273
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2274
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes39.Separator, { size: "4" })
|
|
2296
2275
|
] }),
|
|
2297
2276
|
children
|
|
2298
2277
|
] });
|
|
@@ -2301,15 +2280,15 @@ function SessionUserInfoDetail({
|
|
|
2301
2280
|
customer,
|
|
2302
2281
|
session
|
|
2303
2282
|
}) {
|
|
2304
|
-
return /* @__PURE__ */ (0,
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2306
|
-
/* @__PURE__ */ (0,
|
|
2283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2284
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: sessionList.map((info) => renderDataListItem(info, session)) }) }),
|
|
2285
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: infoList.map((info) => renderDataListItem(info, customer)) }) })
|
|
2307
2286
|
] });
|
|
2308
2287
|
}
|
|
2309
2288
|
|
|
2310
2289
|
// src/app/platform/report-card.tsx
|
|
2311
2290
|
var import_react36 = require("react");
|
|
2312
|
-
var
|
|
2291
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2313
2292
|
function ReportCard(props) {
|
|
2314
2293
|
const { title, file, status } = props;
|
|
2315
2294
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
@@ -2325,21 +2304,21 @@ function ReportCard(props) {
|
|
|
2325
2304
|
document.body.removeChild(link);
|
|
2326
2305
|
}, [file]);
|
|
2327
2306
|
if (status) {
|
|
2328
|
-
return /* @__PURE__ */ (0,
|
|
2329
|
-
/* @__PURE__ */ (0,
|
|
2307
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
2308
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2330
2309
|
status
|
|
2331
2310
|
] }) });
|
|
2332
2311
|
}
|
|
2333
|
-
return /* @__PURE__ */ (0,
|
|
2312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2334
2313
|
import_themes22.Flex,
|
|
2335
2314
|
{
|
|
2336
2315
|
direction: { initial: "column", xs: "row" },
|
|
2337
2316
|
gapY: "2",
|
|
2338
2317
|
justify: "between",
|
|
2339
2318
|
children: [
|
|
2340
|
-
/* @__PURE__ */ (0,
|
|
2341
|
-
/* @__PURE__ */ (0,
|
|
2342
|
-
/* @__PURE__ */ (0,
|
|
2319
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2320
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2321
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react_icons3.DownloadIcon, {}),
|
|
2343
2322
|
file == null ? void 0 : file.buttonName
|
|
2344
2323
|
] }) }, file == null ? void 0 : file.url)
|
|
2345
2324
|
]
|