warqadui 0.0.37 → 0.0.39
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -4
- package/dist/index.mjs +5 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -577,7 +577,8 @@ declare const useA4StatementView: ({ url, v, delay, params, }?: {
|
|
|
577
577
|
delay?: number;
|
|
578
578
|
params?: Record<string, any>;
|
|
579
579
|
}) => {
|
|
580
|
-
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, }: {
|
|
580
|
+
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, tableTitle, }: {
|
|
581
|
+
tableTitle?: string;
|
|
581
582
|
columns?: SimpleTableColumn<any>[];
|
|
582
583
|
data?: any[];
|
|
583
584
|
error?: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -577,7 +577,8 @@ declare const useA4StatementView: ({ url, v, delay, params, }?: {
|
|
|
577
577
|
delay?: number;
|
|
578
578
|
params?: Record<string, any>;
|
|
579
579
|
}) => {
|
|
580
|
-
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, }: {
|
|
580
|
+
A4DataView: ({ columns, data, error, info, index, title, subtitle, printable, rowPadding, verticalLines, headers, tableTitle, }: {
|
|
581
|
+
tableTitle?: string;
|
|
581
582
|
columns?: SimpleTableColumn<any>[];
|
|
582
583
|
data?: any[];
|
|
583
584
|
error?: string | null;
|
package/dist/index.js
CHANGED
|
@@ -4124,7 +4124,8 @@ var useA4StatementView = ({
|
|
|
4124
4124
|
printable = true,
|
|
4125
4125
|
rowPadding = "p-3",
|
|
4126
4126
|
verticalLines = true,
|
|
4127
|
-
headers
|
|
4127
|
+
headers,
|
|
4128
|
+
tableTitle = "Recent Transactions"
|
|
4128
4129
|
}) => {
|
|
4129
4130
|
const { store } = useWarqadConfig();
|
|
4130
4131
|
const measureContainerRef = (0, import_react19.useRef)(null);
|
|
@@ -4287,7 +4288,7 @@ var useA4StatementView = ({
|
|
|
4287
4288
|
HeaderEl,
|
|
4288
4289
|
DisplayInfoGridEl,
|
|
4289
4290
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "grow w-full px-8 pb-8", children: [
|
|
4290
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "mb-4 border-b border-gray-200 dark:border-zinc-800 print:border-gray-200 pb-2 flex items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children:
|
|
4291
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "mb-4 border-b border-gray-200 dark:border-zinc-800 print:border-gray-200 pb-2 flex items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children: tableTitle }) }),
|
|
4291
4292
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
4292
4293
|
SimpleTable,
|
|
4293
4294
|
{
|
|
@@ -4352,7 +4353,7 @@ var useA4StatementView = ({
|
|
|
4352
4353
|
pageIndex === 0 && DisplayInfoGridEl,
|
|
4353
4354
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "grow w-full px-8 pb-8", children: [
|
|
4354
4355
|
pageIndex === 0 && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "mb-4 border-b border-gray-200 dark:border-zinc-800 print:border-gray-200 pb-2 flex items-center gap-2 justify-between px-2 mt-2 print:hidden", children: [
|
|
4355
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children:
|
|
4356
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children: tableTitle }),
|
|
4356
4357
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
4357
4358
|
"input",
|
|
4358
4359
|
{
|
|
@@ -4364,7 +4365,7 @@ var useA4StatementView = ({
|
|
|
4364
4365
|
}
|
|
4365
4366
|
)
|
|
4366
4367
|
] }),
|
|
4367
|
-
pageIndex === 0 && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "hidden print:flex mb-4 border-b border-gray-200 print:border-gray-200 pb-2 items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h3", { className: "text-sm font-bold text-gray-800 print:text-gray-800 uppercase tracking-wide shrink-0", children:
|
|
4368
|
+
pageIndex === 0 && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "hidden print:flex mb-4 border-b border-gray-200 print:border-gray-200 pb-2 items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h3", { className: "text-sm font-bold text-gray-800 print:text-gray-800 uppercase tracking-wide shrink-0", children: tableTitle }) }),
|
|
4368
4369
|
pageIndex > 0 && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "h-5 print:h-0" }),
|
|
4369
4370
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
4370
4371
|
SimpleTable,
|
package/dist/index.mjs
CHANGED
|
@@ -4099,7 +4099,8 @@ var useA4StatementView = ({
|
|
|
4099
4099
|
printable = true,
|
|
4100
4100
|
rowPadding = "p-3",
|
|
4101
4101
|
verticalLines = true,
|
|
4102
|
-
headers
|
|
4102
|
+
headers,
|
|
4103
|
+
tableTitle = "Recent Transactions"
|
|
4103
4104
|
}) => {
|
|
4104
4105
|
const { store } = useWarqadConfig();
|
|
4105
4106
|
const measureContainerRef = useRef6(null);
|
|
@@ -4262,7 +4263,7 @@ var useA4StatementView = ({
|
|
|
4262
4263
|
HeaderEl,
|
|
4263
4264
|
DisplayInfoGridEl,
|
|
4264
4265
|
/* @__PURE__ */ jsxs20("div", { className: "grow w-full px-8 pb-8", children: [
|
|
4265
|
-
/* @__PURE__ */ jsx28("div", { className: "mb-4 border-b border-gray-200 dark:border-zinc-800 print:border-gray-200 pb-2 flex items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ jsx28("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children:
|
|
4266
|
+
/* @__PURE__ */ jsx28("div", { className: "mb-4 border-b border-gray-200 dark:border-zinc-800 print:border-gray-200 pb-2 flex items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ jsx28("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children: tableTitle }) }),
|
|
4266
4267
|
/* @__PURE__ */ jsx28(
|
|
4267
4268
|
SimpleTable,
|
|
4268
4269
|
{
|
|
@@ -4327,7 +4328,7 @@ var useA4StatementView = ({
|
|
|
4327
4328
|
pageIndex === 0 && DisplayInfoGridEl,
|
|
4328
4329
|
/* @__PURE__ */ jsxs20("div", { className: "grow w-full px-8 pb-8", children: [
|
|
4329
4330
|
pageIndex === 0 && /* @__PURE__ */ jsxs20("div", { className: "mb-4 border-b border-gray-200 dark:border-zinc-800 print:border-gray-200 pb-2 flex items-center gap-2 justify-between px-2 mt-2 print:hidden", children: [
|
|
4330
|
-
/* @__PURE__ */ jsx28("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children:
|
|
4331
|
+
/* @__PURE__ */ jsx28("h3", { className: "text-sm font-bold text-gray-800 dark:text-gray-100 print:text-gray-800 uppercase tracking-wide shrink-0", children: tableTitle }),
|
|
4331
4332
|
/* @__PURE__ */ jsx28(
|
|
4332
4333
|
"input",
|
|
4333
4334
|
{
|
|
@@ -4339,7 +4340,7 @@ var useA4StatementView = ({
|
|
|
4339
4340
|
}
|
|
4340
4341
|
)
|
|
4341
4342
|
] }),
|
|
4342
|
-
pageIndex === 0 && /* @__PURE__ */ jsx28("div", { className: "hidden print:flex mb-4 border-b border-gray-200 print:border-gray-200 pb-2 items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ jsx28("h3", { className: "text-sm font-bold text-gray-800 print:text-gray-800 uppercase tracking-wide shrink-0", children:
|
|
4343
|
+
pageIndex === 0 && /* @__PURE__ */ jsx28("div", { className: "hidden print:flex mb-4 border-b border-gray-200 print:border-gray-200 pb-2 items-center gap-2 justify-between px-2 mt-2", children: /* @__PURE__ */ jsx28("h3", { className: "text-sm font-bold text-gray-800 print:text-gray-800 uppercase tracking-wide shrink-0", children: tableTitle }) }),
|
|
4343
4344
|
pageIndex > 0 && /* @__PURE__ */ jsx28("div", { className: "h-5 print:h-0" }),
|
|
4344
4345
|
/* @__PURE__ */ jsx28(
|
|
4345
4346
|
SimpleTable,
|