warqadui 0.0.37 → 0.0.38
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 +3 -2
- package/dist/index.mjs +3 -2
- 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
|
{
|
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
|
{
|