@jingx/lottery-components-react-jsx 1.0.21 → 1.0.22

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.esm.js CHANGED
@@ -38123,8 +38123,10 @@ const RenderRow = ({ children, label, isShow = true }) => {
38123
38123
  /* @__PURE__ */ jsxRuntimeExports.jsx("td", { style: { fontWeight: 600 }, className: "px-0 text-black w-60", children })
38124
38124
  ] });
38125
38125
  };
38126
- const Ticket = ({ object, lotteryType, plusCount = 1, logo, hideWaterAmount = false, isVN = false, isSend = false }) => {
38126
+ const Ticket = ({ object, lotteryType, plusCount = 1, hideWaterAmount = false, Env = {}, isSend = false }) => {
38127
38127
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
38128
+ const logo = Env.REACT_APP_PRINT_LOGO && Env.REACT_APP_PRINT_LOGO !== "";
38129
+ const isVN = Env.REACT_APP_IS_VN && Env.REACT_APP_IS_VN !== "";
38128
38130
  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;
38129
38131
  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;
38130
38132
  const isNight = object == null ? void 0 : object.isNight;