warqadui 0.0.308 → 0.0.310

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.js CHANGED
@@ -38854,7 +38854,7 @@ var LeaseRentOverviews = () => {
38854
38854
  header: "Name",
38855
38855
  key: "name",
38856
38856
  searchKeys: ["name", "unitNames"],
38857
- className: "text-[10px]! px-1 wrap-break-word",
38857
+ className: "text-xs whitespace-nowrap ",
38858
38858
  render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "space-y-1", children: [
38859
38859
  /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
38860
38860
  "p",
@@ -38874,13 +38874,13 @@ var LeaseRentOverviews = () => {
38874
38874
  {
38875
38875
  header: "Balance Due",
38876
38876
  key: "credit",
38877
- className: "text-[10px]! px-1 text-right",
38877
+ className: "text-xs whitespace-nowrap text-right",
38878
38878
  render: (row) => {
38879
38879
  const Amount = row.creditTotal;
38880
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold whitespace-nowrap text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
38880
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
38881
38881
  },
38882
38882
  renderFooter: (data2) => {
38883
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-green-500 font-bold whitespace-nowrap", children: Formats_default.Amount(
38883
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-green-500 font-bold", children: Formats_default.Amount(
38884
38884
  data2.reduce((acc, row) => acc + row.creditTotal, 0)
38885
38885
  ) });
38886
38886
  }
@@ -38889,34 +38889,31 @@ var LeaseRentOverviews = () => {
38889
38889
  {
38890
38890
  header: "Paid",
38891
38891
  key: "debit",
38892
- className: "text-[10px]! px-1 text-right",
38892
+ className: "text-xs whitespace-nowrap text-right",
38893
38893
  render: (row) => {
38894
38894
  const Amount = row.debitTotal;
38895
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold whitespace-nowrap text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
38895
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
38896
38896
  },
38897
38897
  renderFooter: (data2) => {
38898
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-red-500 font-bold whitespace-nowrap", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
38898
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-red-500 font-bold", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
38899
38899
  }
38900
38900
  },
38901
38901
  {
38902
- header: "Acc Balance",
38903
- key: "accBalance",
38904
- className: "text-[10px]! px-1 text-right",
38905
- render: (row) => {
38906
- const AccBalance = row.creditTotal - row.debitTotal;
38907
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Amount(AccBalance) });
38908
- }
38902
+ header: "Account Balance",
38903
+ key: "accountBalance",
38904
+ className: "text-xs whitespace-nowrap text-right",
38905
+ render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Amount(row.creditTotal + row.debitTotal) })
38909
38906
  },
38910
38907
  {
38911
38908
  header: "Remaining Balance",
38912
38909
  key: "runningBalance",
38913
- className: "text-[10px]! px-1 text-right",
38914
- render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Price(
38910
+ className: "text-xs whitespace-nowrap text-right",
38911
+ render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Price(
38915
38912
  row.runningBalance,
38916
38913
  row.currency || currency || currencyFilter
38917
38914
  ) }),
38918
38915
  renderFooter: (data2) => {
38919
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold whitespace-nowrap", children: Formats_default.Price(
38916
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold", children: Formats_default.Price(
38920
38917
  data2.reduce((acc, row) => acc + row.balance, 0),
38921
38918
  currency || currencyFilter
38922
38919
  ) });
package/dist/index.mjs CHANGED
@@ -39028,7 +39028,7 @@ var LeaseRentOverviews = () => {
39028
39028
  header: "Name",
39029
39029
  key: "name",
39030
39030
  searchKeys: ["name", "unitNames"],
39031
- className: "text-[10px]! px-1 wrap-break-word",
39031
+ className: "text-xs whitespace-nowrap ",
39032
39032
  render: (row) => /* @__PURE__ */ jsxs191("div", { className: "space-y-1", children: [
39033
39033
  /* @__PURE__ */ jsx221(
39034
39034
  "p",
@@ -39048,13 +39048,13 @@ var LeaseRentOverviews = () => {
39048
39048
  {
39049
39049
  header: "Balance Due",
39050
39050
  key: "credit",
39051
- className: "text-[10px]! px-1 text-right",
39051
+ className: "text-xs whitespace-nowrap text-right",
39052
39052
  render: (row) => {
39053
39053
  const Amount = row.creditTotal;
39054
- return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold whitespace-nowrap text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
39054
+ return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
39055
39055
  },
39056
39056
  renderFooter: (data2) => {
39057
- return /* @__PURE__ */ jsx221("span", { className: "text-green-500 font-bold whitespace-nowrap", children: Formats_default.Amount(
39057
+ return /* @__PURE__ */ jsx221("span", { className: "text-green-500 font-bold", children: Formats_default.Amount(
39058
39058
  data2.reduce((acc, row) => acc + row.creditTotal, 0)
39059
39059
  ) });
39060
39060
  }
@@ -39063,34 +39063,31 @@ var LeaseRentOverviews = () => {
39063
39063
  {
39064
39064
  header: "Paid",
39065
39065
  key: "debit",
39066
- className: "text-[10px]! px-1 text-right",
39066
+ className: "text-xs whitespace-nowrap text-right",
39067
39067
  render: (row) => {
39068
39068
  const Amount = row.debitTotal;
39069
- return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold whitespace-nowrap text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
39069
+ return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
39070
39070
  },
39071
39071
  renderFooter: (data2) => {
39072
- return /* @__PURE__ */ jsx221("span", { className: "text-red-500 font-bold whitespace-nowrap", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
39072
+ return /* @__PURE__ */ jsx221("span", { className: "text-red-500 font-bold", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
39073
39073
  }
39074
39074
  },
39075
39075
  {
39076
- header: "Acc Balance",
39077
- key: "accBalance",
39078
- className: "text-[10px]! px-1 text-right",
39079
- render: (row) => {
39080
- const AccBalance = row.creditTotal - row.debitTotal;
39081
- return /* @__PURE__ */ jsx221("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Amount(AccBalance) });
39082
- }
39076
+ header: "Account Balance",
39077
+ key: "accountBalance",
39078
+ className: "text-xs whitespace-nowrap text-right",
39079
+ render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Amount(row.creditTotal + row.debitTotal) })
39083
39080
  },
39084
39081
  {
39085
39082
  header: "Remaining Balance",
39086
39083
  key: "runningBalance",
39087
- className: "text-[10px]! px-1 text-right",
39088
- render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Price(
39084
+ className: "text-xs whitespace-nowrap text-right",
39085
+ render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Price(
39089
39086
  row.runningBalance,
39090
39087
  row.currency || currency || currencyFilter
39091
39088
  ) }),
39092
39089
  renderFooter: (data2) => {
39093
- return /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold whitespace-nowrap", children: Formats_default.Price(
39090
+ return /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold", children: Formats_default.Price(
39094
39091
  data2.reduce((acc, row) => acc + row.balance, 0),
39095
39092
  currency || currencyFilter
39096
39093
  ) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warqadui",
3
- "version": "0.0.308",
3
+ "version": "0.0.310",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",