@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 CHANGED
@@ -38538,6 +38538,8 @@ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, E
38538
38538
  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;
38539
38539
  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;
38540
38540
  const isNight = object == null ? void 0 : object.isNight;
38541
+ const isPaid = object == null ? void 0 : object.isPaid;
38542
+ const isPayout = object == null ? void 0 : object.isPayout;
38541
38543
  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: [
38542
38544
  /* @__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 }) }) }) }),
38543
38545
  /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { style: { lineHeight: "35px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -38581,7 +38583,7 @@ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, E
38581
38583
  fontWeight: "bold",
38582
38584
  fontSize: 16,
38583
38585
  color: "black",
38584
- paddingBottom: "20px"
38586
+ paddingBottom: "0"
38585
38587
  }, colSpan: 3, className: "text-center", children: [
38586
38588
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
38587
38589
  "div",
@@ -38596,7 +38598,37 @@ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, E
38596
38598
  }
38597
38599
  ),
38598
38600
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-0", children: mapLabels.thank_you })
38599
- ] }) })
38601
+ ] }) }),
38602
+ /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("td", { style: {
38603
+ width: "140px",
38604
+ fontWeight: "bold",
38605
+ fontSize: 16,
38606
+ color: "#f44336",
38607
+ paddingBottom: "0"
38608
+ }, colSpan: 3, className: "text-start", children: [
38609
+ isPaid && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-0", children: " - \u1794\u17B6\u1793\u1794\u1784\u17CB\u1794\u17D2\u179A\u17B6\u1780\u17CB" }),
38610
+ 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" })
38611
+ ] }) }),
38612
+ object.remark && /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
38613
+ "td",
38614
+ {
38615
+ style: {
38616
+ width: "140px",
38617
+ fontWeight: "bold",
38618
+ fontSize: 16,
38619
+ color: "black",
38620
+ paddingBottom: "20px",
38621
+ wordBreak: "break-word",
38622
+ overflowWrap: "break-word"
38623
+ },
38624
+ colSpan: 3,
38625
+ className: "text-start",
38626
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-0", children: [
38627
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#f44336", marginRight: "5px" }, children: "- \u179F\u1798\u17D2\u1782\u17B6\u179B\u17CB:" }),
38628
+ object.remark
38629
+ ] })
38630
+ }
38631
+ ) })
38600
38632
  ] }) }) });
38601
38633
  };
38602
38634
 
@@ -59173,7 +59205,6 @@ function DeleteModal(_a) {
59173
59205
  }
59174
59206
  };
59175
59207
  if (!ticket) return null;
59176
- console.log(ticket, "ticket");
59177
59208
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeHost, { children: (container) => {
59178
59209
  var _a2, _b2;
59179
59210
  return container && /* @__PURE__ */ jsxRuntimeExports.jsx(