@jingx/lottery-components-react-jsx 1.0.31 → 1.0.32
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/index.cjs.js +34 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +34 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -38518,6 +38518,8 @@ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, E
|
|
|
38518
38518
|
const isShowKhr = ((_a = object == null ? void 0 : object.totalKhr) == null ? void 0 : _a.betAmount) !== ((_b = object == null ? void 0 : object.totalKhr) == null ? void 0 : _b.waterAmount) && ((_c = object == null ? void 0 : object.totalKhr) == null ? void 0 : _c.waterAmount) > 0;
|
|
38519
38519
|
const isShowUsd = ((_d = object == null ? void 0 : object.totalUsd) == null ? void 0 : _d.betAmount) !== ((_e = object == null ? void 0 : object.totalUsd) == null ? void 0 : _e.waterAmount) && ((_f = object == null ? void 0 : object.totalUsd) == null ? void 0 : _f.waterAmount) > 0;
|
|
38520
38520
|
const isNight = object == null ? void 0 : object.isNight;
|
|
38521
|
+
const isPaid = object == null ? void 0 : object.isPaid;
|
|
38522
|
+
const isPayout = object == null ? void 0 : object.isPayout;
|
|
38521
38523
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeHost, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("table", { id: "print-t-58", className: "print-tb-58-1", cellPadding: "7px", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("tbody", { children: [
|
|
38522
38524
|
/* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("td", { colSpan: 3, style: { borderBottom: "2px solid black" }, className: "w-100 text-center pt-0 pb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "m-0 f-30 text-black font-weight-bold ff-p-head", children: isSend ? "\u179B\u17C1\u1781\u179F\u17B6\u1784" : /* @__PURE__ */ jsxRuntimeExports.jsx(RenderHead$1, { platform: Env.REACT_APP_PLATFORM_TYPE, logo }) }) }) }),
|
|
38523
38525
|
/* @__PURE__ */ jsxRuntimeExports.jsx("tr", { style: { lineHeight: "35px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -38561,7 +38563,7 @@ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, E
|
|
|
38561
38563
|
fontWeight: "bold",
|
|
38562
38564
|
fontSize: 16,
|
|
38563
38565
|
color: "black",
|
|
38564
|
-
paddingBottom: "
|
|
38566
|
+
paddingBottom: "0"
|
|
38565
38567
|
}, colSpan: 3, className: "text-center", children: [
|
|
38566
38568
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
38567
38569
|
"div",
|
|
@@ -38576,7 +38578,37 @@ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, E
|
|
|
38576
38578
|
}
|
|
38577
38579
|
),
|
|
38578
38580
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-0", children: mapLabels.thank_you })
|
|
38579
|
-
] }) })
|
|
38581
|
+
] }) }),
|
|
38582
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("td", { style: {
|
|
38583
|
+
width: "140px",
|
|
38584
|
+
fontWeight: "bold",
|
|
38585
|
+
fontSize: 16,
|
|
38586
|
+
color: "#f44336",
|
|
38587
|
+
paddingBottom: "0"
|
|
38588
|
+
}, colSpan: 3, className: "text-start", children: [
|
|
38589
|
+
isPaid && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-0", children: " - \u1794\u17B6\u1793\u1794\u1784\u17CB\u1794\u17D2\u179A\u17B6\u1780\u17CB" }),
|
|
38590
|
+
isPayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-0", children: " - \u1794\u17B6\u1793\u1791\u17BC\u1791\u17B6\u178F\u17CB\u179A\u1784\u17D2\u179C\u17B6\u1793\u17CB" })
|
|
38591
|
+
] }) }),
|
|
38592
|
+
object.remark && /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
38593
|
+
"td",
|
|
38594
|
+
{
|
|
38595
|
+
style: {
|
|
38596
|
+
width: "140px",
|
|
38597
|
+
fontWeight: "bold",
|
|
38598
|
+
fontSize: 16,
|
|
38599
|
+
color: "black",
|
|
38600
|
+
paddingBottom: "20px",
|
|
38601
|
+
wordBreak: "break-word",
|
|
38602
|
+
overflowWrap: "break-word"
|
|
38603
|
+
},
|
|
38604
|
+
colSpan: 3,
|
|
38605
|
+
className: "text-start",
|
|
38606
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-0", children: [
|
|
38607
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#f44336", marginRight: "5px" }, children: "- \u179F\u1798\u17D2\u1782\u17B6\u179B\u17CB:" }),
|
|
38608
|
+
object.remark
|
|
38609
|
+
] })
|
|
38610
|
+
}
|
|
38611
|
+
) })
|
|
38580
38612
|
] }) }) });
|
|
38581
38613
|
};
|
|
38582
38614
|
|
|
@@ -59153,7 +59185,6 @@ function DeleteModal(_a) {
|
|
|
59153
59185
|
}
|
|
59154
59186
|
};
|
|
59155
59187
|
if (!ticket) return null;
|
|
59156
|
-
console.log(ticket, "ticket");
|
|
59157
59188
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeHost, { children: (container) => {
|
|
59158
59189
|
var _a2, _b2;
|
|
59159
59190
|
return container && /* @__PURE__ */ jsxRuntimeExports.jsx(
|