trix-app 0.16.4 → 0.16.6
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 +310 -311
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5392,8 +5392,7 @@ var import_renderer = require("@react-pdf/renderer");
|
|
|
5392
5392
|
var import_node_path = require("node:path");
|
|
5393
5393
|
var import_node_url = require("node:url");
|
|
5394
5394
|
var import_node_fs = __toESM(require("node:fs"));
|
|
5395
|
-
var
|
|
5396
|
-
var currentDir = typeof import.meta !== "undefined" ? import_node_path.dirname(import_node_url.fileURLToPath("file:///Users/savio/Documents/projetos/trix/trix_pdf_builder/src/assets/index.ts")) : __dirname;
|
|
5395
|
+
var currentDir = __dirname;
|
|
5397
5396
|
var possibleDirs = [
|
|
5398
5397
|
import_node_path.join(currentDir, "assets"),
|
|
5399
5398
|
import_node_path.join(currentDir, "..", "assets"),
|
|
@@ -6971,21 +6970,21 @@ var mergeStyles = (className, style) => {
|
|
|
6971
6970
|
|
|
6972
6971
|
// src/components/primitives/view.tsx
|
|
6973
6972
|
var import_renderer2 = require("@react-pdf/renderer");
|
|
6974
|
-
var jsx_dev_runtime = require("react/jsx-
|
|
6973
|
+
var jsx_dev_runtime = require("react/jsx-runtime");
|
|
6975
6974
|
var View = ({ className, style, hidden = false, ...props }) => {
|
|
6976
6975
|
if (hidden)
|
|
6977
6976
|
return null;
|
|
6978
|
-
return /* @__PURE__ */ jsx_dev_runtime.
|
|
6977
|
+
return /* @__PURE__ */ jsx_dev_runtime.jsx(import_renderer2.View, {
|
|
6979
6978
|
style: mergeStyles(className, style),
|
|
6980
6979
|
...props
|
|
6981
6980
|
}, undefined, false, undefined, this);
|
|
6982
6981
|
};
|
|
6983
6982
|
|
|
6984
6983
|
// src/components/primitives/divider.tsx
|
|
6985
|
-
var jsx_dev_runtime2 = require("react/jsx-
|
|
6984
|
+
var jsx_dev_runtime2 = require("react/jsx-runtime");
|
|
6986
6985
|
var defaultStyle = { backgroundColor: "#E5E5E5" };
|
|
6987
6986
|
var Divider = ({ className, style, ...props }) => {
|
|
6988
|
-
return /* @__PURE__ */ jsx_dev_runtime2.
|
|
6987
|
+
return /* @__PURE__ */ jsx_dev_runtime2.jsx(View, {
|
|
6989
6988
|
className: cn("h-[1px] w-full", className),
|
|
6990
6989
|
style: { ...defaultStyle, ...style ?? {} },
|
|
6991
6990
|
...props
|
|
@@ -6996,7 +6995,7 @@ var import_node_fs2 = __toESM(require("node:fs"));
|
|
|
6996
6995
|
var import_node_path2 = __toESM(require("node:path"));
|
|
6997
6996
|
var import_node_url2 = require("node:url");
|
|
6998
6997
|
var import_renderer3 = require("@react-pdf/renderer");
|
|
6999
|
-
var jsx_dev_runtime3 = require("react/jsx-
|
|
6998
|
+
var jsx_dev_runtime3 = require("react/jsx-runtime");
|
|
7000
6999
|
function isImageSourceSafe(value) {
|
|
7001
7000
|
if (value == null)
|
|
7002
7001
|
return false;
|
|
@@ -7131,45 +7130,45 @@ function Image({ className, style, ...props }) {
|
|
|
7131
7130
|
const effectiveSource = resolvedProps.source ?? resolvedProps.src;
|
|
7132
7131
|
if (!isImageSourceSafe(effectiveSource))
|
|
7133
7132
|
return null;
|
|
7134
|
-
return /* @__PURE__ */ jsx_dev_runtime3.
|
|
7133
|
+
return /* @__PURE__ */ jsx_dev_runtime3.jsx(import_renderer3.Image, {
|
|
7135
7134
|
style: mergeStyles(className, style),
|
|
7136
7135
|
...resolvedProps
|
|
7137
7136
|
}, undefined, false, undefined, this);
|
|
7138
7137
|
}
|
|
7139
7138
|
// src/components/primitives/page.tsx
|
|
7140
7139
|
var import_renderer4 = require("@react-pdf/renderer");
|
|
7141
|
-
var jsx_dev_runtime4 = require("react/jsx-
|
|
7140
|
+
var jsx_dev_runtime4 = require("react/jsx-runtime");
|
|
7142
7141
|
var Page = ({ className, style, hidden = false, ...props }) => {
|
|
7143
7142
|
if (hidden)
|
|
7144
7143
|
return null;
|
|
7145
|
-
return /* @__PURE__ */ jsx_dev_runtime4.
|
|
7144
|
+
return /* @__PURE__ */ jsx_dev_runtime4.jsx(import_renderer4.Page, {
|
|
7146
7145
|
style: mergeStyles(cn("bg-background", className), style),
|
|
7147
7146
|
...props
|
|
7148
7147
|
}, undefined, false, undefined, this);
|
|
7149
7148
|
};
|
|
7150
7149
|
// src/components/primitives/svg.tsx
|
|
7151
7150
|
var import_renderer5 = require("@react-pdf/renderer");
|
|
7152
|
-
var jsx_dev_runtime5 = require("react/jsx-
|
|
7151
|
+
var jsx_dev_runtime5 = require("react/jsx-runtime");
|
|
7153
7152
|
var Svg = ({ ...props }) => {
|
|
7154
|
-
return /* @__PURE__ */ jsx_dev_runtime5.
|
|
7153
|
+
return /* @__PURE__ */ jsx_dev_runtime5.jsx(import_renderer5.Svg, {
|
|
7155
7154
|
...props
|
|
7156
7155
|
}, undefined, false, undefined, this);
|
|
7157
7156
|
};
|
|
7158
7157
|
var Path = ({ ...props }) => {
|
|
7159
|
-
return /* @__PURE__ */ jsx_dev_runtime5.
|
|
7158
|
+
return /* @__PURE__ */ jsx_dev_runtime5.jsx(import_renderer5.Path, {
|
|
7160
7159
|
...props
|
|
7161
7160
|
}, undefined, false, undefined, this);
|
|
7162
7161
|
};
|
|
7163
7162
|
var Rect = ({ ...props }) => {
|
|
7164
|
-
return /* @__PURE__ */ jsx_dev_runtime5.
|
|
7163
|
+
return /* @__PURE__ */ jsx_dev_runtime5.jsx(import_renderer5.Rect, {
|
|
7165
7164
|
...props
|
|
7166
7165
|
}, undefined, false, undefined, this);
|
|
7167
7166
|
};
|
|
7168
7167
|
// src/components/primitives/text.tsx
|
|
7169
7168
|
var import_renderer6 = require("@react-pdf/renderer");
|
|
7170
|
-
var jsx_dev_runtime6 = require("react/jsx-
|
|
7169
|
+
var jsx_dev_runtime6 = require("react/jsx-runtime");
|
|
7171
7170
|
var Text = ({ className, style, ...props }) => {
|
|
7172
|
-
return /* @__PURE__ */ jsx_dev_runtime6.
|
|
7171
|
+
return /* @__PURE__ */ jsx_dev_runtime6.jsx(import_renderer6.Text, {
|
|
7173
7172
|
style: mergeStyles(cn("font-normal text-foreground", className), style),
|
|
7174
7173
|
...props
|
|
7175
7174
|
}, undefined, false, undefined, this);
|
|
@@ -7221,7 +7220,7 @@ var cva = (base, config) => {
|
|
|
7221
7220
|
};
|
|
7222
7221
|
|
|
7223
7222
|
// src/components/ui/badge.tsx
|
|
7224
|
-
var jsx_dev_runtime7 = require("react/jsx-
|
|
7223
|
+
var jsx_dev_runtime7 = require("react/jsx-runtime");
|
|
7225
7224
|
var badgeViewVariants = cva("flex items-center rounded-full px-2.5 py-1", {
|
|
7226
7225
|
variants: {
|
|
7227
7226
|
variant: {
|
|
@@ -7249,12 +7248,12 @@ var badgeTextVariants = cva("text-xs font-regular", {
|
|
|
7249
7248
|
}
|
|
7250
7249
|
});
|
|
7251
7250
|
// src/components/ui/card.tsx
|
|
7252
|
-
var jsx_dev_runtime8 = require("react/jsx-
|
|
7251
|
+
var jsx_dev_runtime8 = require("react/jsx-runtime");
|
|
7253
7252
|
// src/components/primitives/icon.tsx
|
|
7254
|
-
var jsx_dev_runtime9 = require("react/jsx-
|
|
7253
|
+
var jsx_dev_runtime9 = require("react/jsx-runtime");
|
|
7255
7254
|
|
|
7256
7255
|
// src/components/ui/item.tsx
|
|
7257
|
-
var jsx_dev_runtime10 = require("react/jsx-
|
|
7256
|
+
var jsx_dev_runtime10 = require("react/jsx-runtime");
|
|
7258
7257
|
var itemVariants = cva("flex flex-row gap-3 items-center p-3 rounded-lg", {
|
|
7259
7258
|
variants: {
|
|
7260
7259
|
variant: {
|
|
@@ -7307,7 +7306,7 @@ var itemMediaVariants = cva("", {
|
|
|
7307
7306
|
}
|
|
7308
7307
|
});
|
|
7309
7308
|
// src/components/ui/table.tsx
|
|
7310
|
-
var jsx_dev_runtime11 = require("react/jsx-
|
|
7309
|
+
var jsx_dev_runtime11 = require("react/jsx-runtime");
|
|
7311
7310
|
// src/utils/format-currency.ts
|
|
7312
7311
|
function formatBRL(value) {
|
|
7313
7312
|
if (value === null || value === undefined || value === "")
|
|
@@ -7471,45 +7470,45 @@ function mapToDepentTransfersProps(data) {
|
|
|
7471
7470
|
}
|
|
7472
7471
|
|
|
7473
7472
|
// src/templates/income-statement/components/account-info.tsx
|
|
7474
|
-
var jsx_dev_runtime12 = require("react/jsx-
|
|
7473
|
+
var jsx_dev_runtime12 = require("react/jsx-runtime");
|
|
7475
7474
|
function AccountInfo(props) {
|
|
7476
|
-
return /* @__PURE__ */ jsx_dev_runtime12.
|
|
7475
|
+
return /* @__PURE__ */ jsx_dev_runtime12.jsx(View, {
|
|
7477
7476
|
style: { gap: 6 },
|
|
7478
7477
|
children: [
|
|
7479
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7480
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7478
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Divider, {}, undefined, false, undefined, this),
|
|
7479
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7481
7480
|
style: { fontSize: 10, fontFamily: "Poppins SemiBold", marginBottom: 6 },
|
|
7482
7481
|
children: props.title
|
|
7483
7482
|
}, undefined, false, undefined, this),
|
|
7484
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7483
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(View, {
|
|
7485
7484
|
className: "flex-row gap-4",
|
|
7486
7485
|
style: { flexWrap: "wrap", marginBottom: 6 },
|
|
7487
7486
|
children: [
|
|
7488
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7487
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7489
7488
|
style: { fontSize: 9, color: "#919191" },
|
|
7490
7489
|
children: [
|
|
7491
7490
|
"BANCO: ",
|
|
7492
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7491
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7493
7492
|
style: { fontSize: 9, color: "black" },
|
|
7494
7493
|
children: props?.bankCode
|
|
7495
7494
|
}, undefined, false, undefined, this)
|
|
7496
7495
|
]
|
|
7497
7496
|
}, undefined, true, undefined, this),
|
|
7498
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7497
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7499
7498
|
style: { fontSize: 9, color: "#919191" },
|
|
7500
7499
|
children: [
|
|
7501
7500
|
"AGÊNCIA: ",
|
|
7502
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7501
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7503
7502
|
style: { fontSize: 9, color: "black" },
|
|
7504
7503
|
children: props?.bankAgency
|
|
7505
7504
|
}, undefined, false, undefined, this)
|
|
7506
7505
|
]
|
|
7507
7506
|
}, undefined, true, undefined, this),
|
|
7508
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7507
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7509
7508
|
style: { fontSize: 9, color: "#919191" },
|
|
7510
7509
|
children: [
|
|
7511
7510
|
"CONTA: ",
|
|
7512
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7511
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7513
7512
|
style: { fontSize: 9, color: "black" },
|
|
7514
7513
|
children: props?.bankAccount
|
|
7515
7514
|
}, undefined, false, undefined, this)
|
|
@@ -7517,63 +7516,63 @@ function AccountInfo(props) {
|
|
|
7517
7516
|
}, undefined, true, undefined, this)
|
|
7518
7517
|
]
|
|
7519
7518
|
}, undefined, true, undefined, this),
|
|
7520
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7521
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7519
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Divider, {}, undefined, false, undefined, this),
|
|
7520
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(View, {
|
|
7522
7521
|
className: "flex-row justify-between",
|
|
7523
7522
|
style: { paddingVertical: 6 },
|
|
7524
7523
|
children: [
|
|
7525
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7524
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7526
7525
|
style: { fontSize: 8 },
|
|
7527
7526
|
children: [
|
|
7528
7527
|
"Saldo em ",
|
|
7529
7528
|
props?.pastLastYearBankDate
|
|
7530
7529
|
]
|
|
7531
7530
|
}, undefined, true, undefined, this),
|
|
7532
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7531
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7533
7532
|
style: { fontSize: 8, fontFamily: "Poppins SemiBold" },
|
|
7534
7533
|
children: props?.pastLastYearBankBalance
|
|
7535
7534
|
}, undefined, false, undefined, this)
|
|
7536
7535
|
]
|
|
7537
7536
|
}, undefined, true, undefined, this),
|
|
7538
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7539
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7537
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Divider, {}, undefined, false, undefined, this),
|
|
7538
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(View, {
|
|
7540
7539
|
className: "flex-row justify-between",
|
|
7541
7540
|
style: { paddingVertical: 6 },
|
|
7542
7541
|
children: [
|
|
7543
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7542
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7544
7543
|
style: { fontSize: 8 },
|
|
7545
7544
|
children: [
|
|
7546
7545
|
"Saldo em ",
|
|
7547
7546
|
props?.lastYearBankDate
|
|
7548
7547
|
]
|
|
7549
7548
|
}, undefined, true, undefined, this),
|
|
7550
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7549
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Text, {
|
|
7551
7550
|
style: { fontSize: 8, fontFamily: "Poppins SemiBold" },
|
|
7552
7551
|
children: props?.lastYearBankBalance
|
|
7553
7552
|
}, undefined, false, undefined, this)
|
|
7554
7553
|
]
|
|
7555
7554
|
}, undefined, true, undefined, this),
|
|
7556
|
-
/* @__PURE__ */ jsx_dev_runtime12.
|
|
7555
|
+
/* @__PURE__ */ jsx_dev_runtime12.jsx(Divider, {}, undefined, false, undefined, this)
|
|
7557
7556
|
]
|
|
7558
7557
|
}, undefined, true, undefined, this);
|
|
7559
7558
|
}
|
|
7560
7559
|
|
|
7561
7560
|
// src/templates/income-statement/components/darf-table.tsx
|
|
7562
|
-
var jsx_dev_runtime13 = require("react/jsx-
|
|
7561
|
+
var jsx_dev_runtime13 = require("react/jsx-runtime");
|
|
7563
7562
|
function CheckIcon({ size = 16 }) {
|
|
7564
|
-
return /* @__PURE__ */ jsx_dev_runtime13.
|
|
7563
|
+
return /* @__PURE__ */ jsx_dev_runtime13.jsx(Svg, {
|
|
7565
7564
|
width: size,
|
|
7566
7565
|
height: size,
|
|
7567
7566
|
viewBox: "0 0 24 24",
|
|
7568
7567
|
children: [
|
|
7569
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7568
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Rect, {
|
|
7570
7569
|
width: 24,
|
|
7571
7570
|
height: 24,
|
|
7572
7571
|
fill: "#4CAF50",
|
|
7573
7572
|
rx: 3,
|
|
7574
7573
|
ry: 3
|
|
7575
7574
|
}, undefined, false, undefined, this),
|
|
7576
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7575
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Path, {
|
|
7577
7576
|
d: "M6 12L10 16L18 8",
|
|
7578
7577
|
fill: "none",
|
|
7579
7578
|
stroke: "#ffffff",
|
|
@@ -7588,14 +7587,14 @@ var tableHeaderTextStyle = { color: "#00E547", fontSize: 8 };
|
|
|
7588
7587
|
var tableCellStyle = { fontSize: 8 };
|
|
7589
7588
|
var zebraRow = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
7590
7589
|
function DarfTable(props) {
|
|
7591
|
-
return /* @__PURE__ */ jsx_dev_runtime13.
|
|
7590
|
+
return /* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7592
7591
|
className: "gap-1",
|
|
7593
7592
|
children: [
|
|
7594
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7593
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7595
7594
|
className: "gap-1 rounded-sm",
|
|
7596
7595
|
style: { backgroundColor: "#0F1434", paddingVertical: 6, paddingHorizontal: 7 },
|
|
7597
7596
|
children: [
|
|
7598
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7597
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Text, {
|
|
7599
7598
|
className: "text-center",
|
|
7600
7599
|
style: { fontSize: 11, color: "#00E547" },
|
|
7601
7600
|
children: [
|
|
@@ -7603,24 +7602,24 @@ function DarfTable(props) {
|
|
|
7603
7602
|
props.year
|
|
7604
7603
|
]
|
|
7605
7604
|
}, undefined, true, undefined, this),
|
|
7606
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7605
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Divider, {
|
|
7607
7606
|
style: { backgroundColor: "rgba(255,255,255,0.25)" }
|
|
7608
7607
|
}, undefined, false, undefined, this),
|
|
7609
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7608
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7610
7609
|
className: "flex-row items-center justify-between",
|
|
7611
7610
|
style: { flexWrap: "nowrap" },
|
|
7612
7611
|
children: [
|
|
7613
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7612
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Text, {
|
|
7614
7613
|
className: "flex-1 text-center",
|
|
7615
7614
|
style: { ...tableHeaderTextStyle, textAlign: "center" },
|
|
7616
7615
|
children: "Mês"
|
|
7617
7616
|
}, undefined, false, undefined, this),
|
|
7618
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7617
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Text, {
|
|
7619
7618
|
className: "flex-1 text-center",
|
|
7620
7619
|
style: { ...tableHeaderTextStyle, textAlign: "center" },
|
|
7621
7620
|
children: "Darf Gerada"
|
|
7622
7621
|
}, undefined, false, undefined, this),
|
|
7623
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7622
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(Text, {
|
|
7624
7623
|
className: "flex-1 text-center",
|
|
7625
7624
|
style: { ...tableHeaderTextStyle, textAlign: "center" },
|
|
7626
7625
|
children: "Darf Paga"
|
|
@@ -7629,32 +7628,32 @@ function DarfTable(props) {
|
|
|
7629
7628
|
}, undefined, true, undefined, this)
|
|
7630
7629
|
]
|
|
7631
7630
|
}, undefined, true, undefined, this),
|
|
7632
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7633
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime13.
|
|
7631
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7632
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7634
7633
|
break: false,
|
|
7635
7634
|
wrap: false,
|
|
7636
7635
|
className: "flex-row items-center justify-between",
|
|
7637
7636
|
style: { backgroundColor: zebraRow(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
7638
7637
|
children: [
|
|
7639
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7638
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7640
7639
|
className: "flex-1",
|
|
7641
|
-
children: /* @__PURE__ */ jsx_dev_runtime13.
|
|
7640
|
+
children: /* @__PURE__ */ jsx_dev_runtime13.jsx(Text, {
|
|
7642
7641
|
className: "text-center",
|
|
7643
7642
|
style: tableCellStyle,
|
|
7644
7643
|
children: item2.month
|
|
7645
7644
|
}, undefined, false, undefined, this)
|
|
7646
7645
|
}, undefined, false, undefined, this),
|
|
7647
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7646
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7648
7647
|
className: "flex-1",
|
|
7649
|
-
children: /* @__PURE__ */ jsx_dev_runtime13.
|
|
7648
|
+
children: /* @__PURE__ */ jsx_dev_runtime13.jsx(Text, {
|
|
7650
7649
|
className: "text-center",
|
|
7651
7650
|
style: tableCellStyle,
|
|
7652
7651
|
children: item2.darfGenerated
|
|
7653
7652
|
}, undefined, false, undefined, this)
|
|
7654
7653
|
}, undefined, false, undefined, this),
|
|
7655
|
-
/* @__PURE__ */ jsx_dev_runtime13.
|
|
7654
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsx(View, {
|
|
7656
7655
|
className: "flex-1 items-center justify-center",
|
|
7657
|
-
children: item2.darfPaid ? /* @__PURE__ */ jsx_dev_runtime13.
|
|
7656
|
+
children: item2.darfPaid ? /* @__PURE__ */ jsx_dev_runtime13.jsx(CheckIcon, {
|
|
7658
7657
|
size: 10
|
|
7659
7658
|
}, undefined, false, undefined, this) : null
|
|
7660
7659
|
}, undefined, false, undefined, this)
|
|
@@ -7667,48 +7666,48 @@ function DarfTable(props) {
|
|
|
7667
7666
|
|
|
7668
7667
|
// src/templates/income-statement/context.tsx
|
|
7669
7668
|
var import_react = require("react");
|
|
7670
|
-
var jsx_dev_runtime14 = require("react/jsx-
|
|
7669
|
+
var jsx_dev_runtime14 = require("react/jsx-runtime");
|
|
7671
7670
|
var DataContext = import_react.createContext(null);
|
|
7672
7671
|
function DataProvider({
|
|
7673
7672
|
children,
|
|
7674
7673
|
initial
|
|
7675
7674
|
}) {
|
|
7676
|
-
return /* @__PURE__ */ jsx_dev_runtime14.
|
|
7675
|
+
return /* @__PURE__ */ jsx_dev_runtime14.jsx(DataContext.Provider, {
|
|
7677
7676
|
value: initial,
|
|
7678
7677
|
children
|
|
7679
7678
|
}, undefined, false, undefined, this);
|
|
7680
7679
|
}
|
|
7681
7680
|
|
|
7682
7681
|
// src/templates/income-statement/components/depent-transfers.tsx
|
|
7683
|
-
var jsx_dev_runtime15 = require("react/jsx-
|
|
7682
|
+
var jsx_dev_runtime15 = require("react/jsx-runtime");
|
|
7684
7683
|
var tableHeaderTextStyle2 = { color: "#00E547", fontSize: 8 };
|
|
7685
7684
|
var tableCellStyle2 = { fontSize: 8 };
|
|
7686
7685
|
var zebraRow2 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
7687
7686
|
function DepentTransfers({ title, data = [] }) {
|
|
7688
|
-
return /* @__PURE__ */ jsx_dev_runtime15.
|
|
7687
|
+
return /* @__PURE__ */ jsx_dev_runtime15.jsx(View, {
|
|
7689
7688
|
className: "gap-1",
|
|
7690
7689
|
children: [
|
|
7691
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7690
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(View, {
|
|
7692
7691
|
className: "gap-1 rounded-sm",
|
|
7693
7692
|
style: { backgroundColor: "#0F1434", paddingVertical: 6, paddingHorizontal: 7 },
|
|
7694
7693
|
children: [
|
|
7695
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7694
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7696
7695
|
className: "text-center",
|
|
7697
7696
|
style: { fontSize: 11, color: "#00E547" },
|
|
7698
7697
|
children: title
|
|
7699
7698
|
}, undefined, false, undefined, this),
|
|
7700
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7699
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Divider, {
|
|
7701
7700
|
style: { backgroundColor: "rgba(255,255,255,0.25)" }
|
|
7702
7701
|
}, undefined, false, undefined, this),
|
|
7703
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7702
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(View, {
|
|
7704
7703
|
className: "flex-row items-center gap-1",
|
|
7705
7704
|
children: [
|
|
7706
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7705
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7707
7706
|
className: "w-1/2 text-center",
|
|
7708
7707
|
style: tableHeaderTextStyle2,
|
|
7709
7708
|
children: "CPF"
|
|
7710
7709
|
}, undefined, false, undefined, this),
|
|
7711
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7710
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7712
7711
|
className: "w-1/2 text-center",
|
|
7713
7712
|
style: tableHeaderTextStyle2,
|
|
7714
7713
|
children: "Valor Total Transferência"
|
|
@@ -7717,38 +7716,38 @@ function DepentTransfers({ title, data = [] }) {
|
|
|
7717
7716
|
}, undefined, true, undefined, this)
|
|
7718
7717
|
]
|
|
7719
7718
|
}, undefined, true, undefined, this),
|
|
7720
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7719
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(View, {
|
|
7721
7720
|
children: [
|
|
7722
|
-
data.map((t, idx) => /* @__PURE__ */ jsx_dev_runtime15.
|
|
7721
|
+
data.map((t, idx) => /* @__PURE__ */ jsx_dev_runtime15.jsx(View, {
|
|
7723
7722
|
break: false,
|
|
7724
7723
|
wrap: false,
|
|
7725
7724
|
className: "flex-row items-center gap-1",
|
|
7726
7725
|
style: { backgroundColor: zebraRow2(idx), paddingVertical: 4, paddingHorizontal: 7 },
|
|
7727
7726
|
children: [
|
|
7728
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7727
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7729
7728
|
className: "w-1/2 text-center",
|
|
7730
7729
|
style: tableCellStyle2,
|
|
7731
7730
|
children: t.document
|
|
7732
7731
|
}, undefined, false, undefined, this),
|
|
7733
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7732
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7734
7733
|
className: "w-1/2 text-center",
|
|
7735
7734
|
style: tableCellStyle2,
|
|
7736
7735
|
children: t.value
|
|
7737
7736
|
}, undefined, false, undefined, this)
|
|
7738
7737
|
]
|
|
7739
7738
|
}, idx, true, undefined, this)),
|
|
7740
|
-
data.length === 0 && /* @__PURE__ */ jsx_dev_runtime15.
|
|
7739
|
+
data.length === 0 && /* @__PURE__ */ jsx_dev_runtime15.jsx(View, {
|
|
7741
7740
|
break: false,
|
|
7742
7741
|
wrap: false,
|
|
7743
7742
|
className: "flex-row items-center gap-1",
|
|
7744
7743
|
style: { paddingVertical: 4, paddingHorizontal: 7 },
|
|
7745
7744
|
children: [
|
|
7746
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7745
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7747
7746
|
className: "w-1/2 text-center",
|
|
7748
7747
|
style: tableCellStyle2,
|
|
7749
7748
|
children: "-"
|
|
7750
7749
|
}, undefined, false, undefined, this),
|
|
7751
|
-
/* @__PURE__ */ jsx_dev_runtime15.
|
|
7750
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsx(Text, {
|
|
7752
7751
|
className: "w-1/2 text-center",
|
|
7753
7752
|
style: tableCellStyle2,
|
|
7754
7753
|
children: "R$ 0,00"
|
|
@@ -7771,72 +7770,72 @@ var instructionTitleStyle = { fontSize: 7, lineHeight: 1.4, ...boldStyle };
|
|
|
7771
7770
|
var instructionBlockStyle = { marginTop: 4, marginBottom: 6, gap: 12 };
|
|
7772
7771
|
|
|
7773
7772
|
// src/templates/income-statement/components/fiis-table.tsx
|
|
7774
|
-
var jsx_dev_runtime16 = require("react/jsx-
|
|
7773
|
+
var jsx_dev_runtime16 = require("react/jsx-runtime");
|
|
7775
7774
|
var tableHeaderStyle = { backgroundColor: "#0F1434", paddingVertical: 5, paddingHorizontal: 7 };
|
|
7776
7775
|
var tableHeaderTextStyle3 = { color: "#00E547", fontSize: 8 };
|
|
7777
7776
|
var tableCellStyle3 = { fontSize: 8 };
|
|
7778
7777
|
var zebraRow3 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
7779
7778
|
function FiisTable(props) {
|
|
7780
|
-
return /* @__PURE__ */ jsx_dev_runtime16.
|
|
7779
|
+
return /* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7781
7780
|
className: "gap-1",
|
|
7782
7781
|
children: [
|
|
7783
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7782
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7784
7783
|
className: "text-center",
|
|
7785
7784
|
style: { fontSize: 11, ...boldStyle },
|
|
7786
7785
|
children: props?.title
|
|
7787
7786
|
}, undefined, false, undefined, this),
|
|
7788
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7789
|
-
props.data?.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime16.
|
|
7787
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Divider, {}, undefined, false, undefined, this),
|
|
7788
|
+
props.data?.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7790
7789
|
className: "gap-2",
|
|
7791
7790
|
children: [
|
|
7792
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7791
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7793
7792
|
className: "flex-row justify-between",
|
|
7794
7793
|
style: { gap: 12, marginBottom: 6, marginTop: 4 },
|
|
7795
7794
|
children: [
|
|
7796
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7795
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7797
7796
|
className: "flex-1",
|
|
7798
7797
|
style: { gap: 4 },
|
|
7799
7798
|
children: [
|
|
7800
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7799
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7801
7800
|
children: [
|
|
7802
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7801
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7803
7802
|
className: "text-left",
|
|
7804
7803
|
style: instructionTitleStyle,
|
|
7805
7804
|
children: "Identificação da Fonte Pagadora"
|
|
7806
7805
|
}, undefined, false, undefined, this),
|
|
7807
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7806
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7808
7807
|
className: "text-left font-normal",
|
|
7809
7808
|
style: { fontSize: 7 },
|
|
7810
7809
|
children: item2.payerName
|
|
7811
7810
|
}, undefined, false, undefined, this)
|
|
7812
7811
|
]
|
|
7813
7812
|
}, undefined, true, undefined, this),
|
|
7814
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7813
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7815
7814
|
className: "text-left",
|
|
7816
7815
|
style: { ...instructionTitleStyle, marginTop: 4 },
|
|
7817
7816
|
children: 'Bens e Direitos, selecione o grupo "07 - Fundos" e depois código"03 - Fundos Imobiliários(FIIs)"'
|
|
7818
7817
|
}, undefined, false, undefined, this)
|
|
7819
7818
|
]
|
|
7820
7819
|
}, undefined, true, undefined, this),
|
|
7821
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7820
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7822
7821
|
className: "flex-1",
|
|
7823
7822
|
style: { gap: 4 },
|
|
7824
7823
|
children: [
|
|
7825
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7824
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7826
7825
|
children: [
|
|
7827
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7826
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7828
7827
|
className: "text-left",
|
|
7829
7828
|
style: instructionTitleStyle,
|
|
7830
7829
|
children: "CNPJ"
|
|
7831
7830
|
}, undefined, false, undefined, this),
|
|
7832
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7831
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7833
7832
|
className: "text-left font-normal",
|
|
7834
7833
|
style: { fontSize: 7 },
|
|
7835
7834
|
children: item2.taxIdentifier
|
|
7836
7835
|
}, undefined, false, undefined, this)
|
|
7837
7836
|
]
|
|
7838
7837
|
}, undefined, true, undefined, this),
|
|
7839
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7838
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7840
7839
|
className: "flex-1 text-left",
|
|
7841
7840
|
style: { ...instructionTitleStyle, marginTop: 4 },
|
|
7842
7841
|
children: 'Rendimentos Isentos e Não tributáveis, utilizar código "99 - Outros" (não há código específico para FIIs)"'
|
|
@@ -7845,28 +7844,28 @@ function FiisTable(props) {
|
|
|
7845
7844
|
}, undefined, true, undefined, this)
|
|
7846
7845
|
]
|
|
7847
7846
|
}, undefined, true, undefined, this),
|
|
7848
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7847
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7849
7848
|
children: [
|
|
7850
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7849
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7851
7850
|
className: "flex-row gap-1 rounded-sm",
|
|
7852
7851
|
style: { ...tableHeaderStyle, flexWrap: "nowrap" },
|
|
7853
7852
|
children: [
|
|
7854
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7853
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7855
7854
|
className: "text-center",
|
|
7856
7855
|
style: { ...tableHeaderTextStyle3, width: 80, minWidth: 80, textAlign: "center" },
|
|
7857
7856
|
children: "Código Ibovespa"
|
|
7858
7857
|
}, undefined, false, undefined, this),
|
|
7859
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7858
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7860
7859
|
className: "flex-1 text-center",
|
|
7861
7860
|
style: { ...tableHeaderTextStyle3, textAlign: "center" },
|
|
7862
7861
|
children: "CNPJ"
|
|
7863
7862
|
}, undefined, false, undefined, this),
|
|
7864
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7863
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7865
7864
|
className: "text-center",
|
|
7866
7865
|
style: { ...tableHeaderTextStyle3, width: 60, minWidth: 60, textAlign: "center" },
|
|
7867
7866
|
children: "Quantidade"
|
|
7868
7867
|
}, undefined, false, undefined, this),
|
|
7869
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7868
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7870
7869
|
className: "text-center",
|
|
7871
7870
|
style: { ...tableHeaderTextStyle3, width: 90, minWidth: 90, textAlign: "center" },
|
|
7872
7871
|
children: [
|
|
@@ -7874,7 +7873,7 @@ function FiisTable(props) {
|
|
|
7874
7873
|
item2.yearBeforeLastDate
|
|
7875
7874
|
]
|
|
7876
7875
|
}, undefined, true, undefined, this),
|
|
7877
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7876
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7878
7877
|
className: "text-center",
|
|
7879
7878
|
style: { ...tableHeaderTextStyle3, width: 90, minWidth: 90, textAlign: "center" },
|
|
7880
7879
|
children: [
|
|
@@ -7882,46 +7881,46 @@ function FiisTable(props) {
|
|
|
7882
7881
|
item2.lastYearDate
|
|
7883
7882
|
]
|
|
7884
7883
|
}, undefined, true, undefined, this),
|
|
7885
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7884
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7886
7885
|
className: "text-center",
|
|
7887
7886
|
style: { ...tableHeaderTextStyle3, width: 100, minWidth: 100, textAlign: "center" },
|
|
7888
7887
|
children: "Rendimento recebido"
|
|
7889
7888
|
}, undefined, false, undefined, this)
|
|
7890
7889
|
]
|
|
7891
7890
|
}, undefined, true, undefined, this),
|
|
7892
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7893
|
-
children: item2.assets.map((asset, aidx) => /* @__PURE__ */ jsx_dev_runtime16.
|
|
7891
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7892
|
+
children: item2.assets.map((asset, aidx) => /* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7894
7893
|
break: false,
|
|
7895
7894
|
wrap: false,
|
|
7896
7895
|
className: "flex-row gap-1 rounded-sm",
|
|
7897
7896
|
style: { backgroundColor: zebraRow3(aidx), paddingVertical: 4, paddingHorizontal: 7 },
|
|
7898
7897
|
children: [
|
|
7899
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7898
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7900
7899
|
className: "text-center",
|
|
7901
7900
|
style: { ...tableCellStyle3, width: 80, minWidth: 80 },
|
|
7902
7901
|
children: asset.code
|
|
7903
7902
|
}, undefined, false, undefined, this),
|
|
7904
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7903
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7905
7904
|
className: "flex-1 text-center",
|
|
7906
7905
|
style: tableCellStyle3,
|
|
7907
7906
|
children: asset.taxIdentifier
|
|
7908
7907
|
}, undefined, false, undefined, this),
|
|
7909
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7908
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7910
7909
|
className: "w-[60px] text-center",
|
|
7911
7910
|
style: tableCellStyle3,
|
|
7912
7911
|
children: asset.quantity
|
|
7913
7912
|
}, undefined, false, undefined, this),
|
|
7914
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7913
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7915
7914
|
className: "w-[90px] text-center",
|
|
7916
7915
|
style: tableCellStyle3,
|
|
7917
7916
|
children: asset.balanceYearBeforeLast
|
|
7918
7917
|
}, undefined, false, undefined, this),
|
|
7919
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7918
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7920
7919
|
className: "w-[90px] text-center",
|
|
7921
7920
|
style: tableCellStyle3,
|
|
7922
7921
|
children: asset.balanceLastYear
|
|
7923
7922
|
}, undefined, false, undefined, this),
|
|
7924
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7923
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7925
7924
|
className: "w-[100px] text-center",
|
|
7926
7925
|
style: tableCellStyle3,
|
|
7927
7926
|
children: asset.incomeReceived
|
|
@@ -7931,49 +7930,49 @@ function FiisTable(props) {
|
|
|
7931
7930
|
}, undefined, false, undefined, this)
|
|
7932
7931
|
]
|
|
7933
7932
|
}, undefined, true, undefined, this),
|
|
7934
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7933
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7935
7934
|
className: "flex-row items-center",
|
|
7936
7935
|
style: { ...footerSpacing },
|
|
7937
7936
|
children: [
|
|
7938
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7937
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7939
7938
|
style: { flex: 1, alignItems: "flex-start" },
|
|
7940
|
-
children: item2.positions.length >= 2 && /* @__PURE__ */ jsx_dev_runtime16.
|
|
7939
|
+
children: item2.positions.length >= 2 && /* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7941
7940
|
style: { fontSize: 7 },
|
|
7942
7941
|
children: [
|
|
7943
7942
|
"Posição em ",
|
|
7944
7943
|
item2.positions[0].date,
|
|
7945
7944
|
": ",
|
|
7946
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7945
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7947
7946
|
style: { ...boldStyle },
|
|
7948
7947
|
children: item2.positions[0].balance
|
|
7949
7948
|
}, undefined, false, undefined, this)
|
|
7950
7949
|
]
|
|
7951
7950
|
}, undefined, true, undefined, this)
|
|
7952
7951
|
}, undefined, false, undefined, this),
|
|
7953
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7952
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7954
7953
|
style: { flex: 1, alignItems: "center" },
|
|
7955
|
-
children: item2.positions.length >= 1 && /* @__PURE__ */ jsx_dev_runtime16.
|
|
7954
|
+
children: item2.positions.length >= 1 && /* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7956
7955
|
style: { fontSize: 7 },
|
|
7957
7956
|
children: [
|
|
7958
7957
|
"Posição em ",
|
|
7959
7958
|
item2.positions[item2.positions.length - 1].date,
|
|
7960
7959
|
": ",
|
|
7961
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7960
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7962
7961
|
style: { ...boldStyle },
|
|
7963
7962
|
children: item2.positions[item2.positions.length - 1].balance
|
|
7964
7963
|
}, undefined, false, undefined, this)
|
|
7965
7964
|
]
|
|
7966
7965
|
}, undefined, true, undefined, this)
|
|
7967
7966
|
}, undefined, false, undefined, this),
|
|
7968
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7967
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(View, {
|
|
7969
7968
|
style: { flex: 1, alignItems: "flex-end" },
|
|
7970
|
-
children: /* @__PURE__ */ jsx_dev_runtime16.
|
|
7969
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7971
7970
|
style: { fontSize: 7 },
|
|
7972
7971
|
children: [
|
|
7973
7972
|
"Renda em ",
|
|
7974
7973
|
item2.lastYearDate,
|
|
7975
7974
|
": ",
|
|
7976
|
-
/* @__PURE__ */ jsx_dev_runtime16.
|
|
7975
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsx(Text, {
|
|
7977
7976
|
style: { ...boldStyle },
|
|
7978
7977
|
children: item2.totalIncome
|
|
7979
7978
|
}, undefined, false, undefined, this)
|
|
@@ -7982,7 +7981,7 @@ function FiisTable(props) {
|
|
|
7982
7981
|
}, undefined, false, undefined, this)
|
|
7983
7982
|
]
|
|
7984
7983
|
}, undefined, true, undefined, this),
|
|
7985
|
-
index < props.data.length - 1 && /* @__PURE__ */ jsx_dev_runtime16.
|
|
7984
|
+
index < props.data.length - 1 && /* @__PURE__ */ jsx_dev_runtime16.jsx(Divider, {}, undefined, false, undefined, this)
|
|
7986
7985
|
]
|
|
7987
7986
|
}, index, true, undefined, this))
|
|
7988
7987
|
]
|
|
@@ -7990,25 +7989,25 @@ function FiisTable(props) {
|
|
|
7990
7989
|
}
|
|
7991
7990
|
|
|
7992
7991
|
// src/templates/income-statement/components/fiis-transactions-table.tsx
|
|
7993
|
-
var jsx_dev_runtime17 = require("react/jsx-
|
|
7992
|
+
var jsx_dev_runtime17 = require("react/jsx-runtime");
|
|
7994
7993
|
var tableHeaderTextStyle4 = { color: "#00E547", fontSize: 8 };
|
|
7995
7994
|
var tableCellStyle4 = { fontSize: 8 };
|
|
7996
7995
|
var zebraRow4 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
7997
7996
|
function FiisTransactionTable(props) {
|
|
7998
|
-
return /* @__PURE__ */ jsx_dev_runtime17.
|
|
7997
|
+
return /* @__PURE__ */ jsx_dev_runtime17.jsx(View, {
|
|
7999
7998
|
className: "gap-1",
|
|
8000
7999
|
children: [
|
|
8001
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8000
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8002
8001
|
className: "text-center",
|
|
8003
8002
|
style: { fontSize: 11, ...boldStyle },
|
|
8004
8003
|
children: "MOVIMENTAÇÕES - FUNDOS IMOBILIÁRIOS (FIIs)"
|
|
8005
8004
|
}, undefined, false, undefined, this),
|
|
8006
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8007
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8005
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Divider, {}, undefined, false, undefined, this),
|
|
8006
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(View, {
|
|
8008
8007
|
className: "gap-1 rounded-sm",
|
|
8009
8008
|
style: { backgroundColor: "#0F1434", paddingVertical: 6, paddingHorizontal: 7 },
|
|
8010
8009
|
children: [
|
|
8011
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8010
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8012
8011
|
className: "text-center",
|
|
8013
8012
|
style: { fontSize: 9, color: "#00E547" },
|
|
8014
8013
|
children: [
|
|
@@ -8018,10 +8017,10 @@ function FiisTransactionTable(props) {
|
|
|
8018
8017
|
props.yearBeforeLastBalance
|
|
8019
8018
|
]
|
|
8020
8019
|
}, undefined, true, undefined, this),
|
|
8021
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8020
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Divider, {
|
|
8022
8021
|
style: { backgroundColor: "rgba(255,255,255,0.25)" }
|
|
8023
8022
|
}, undefined, false, undefined, this),
|
|
8024
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8023
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8025
8024
|
className: "text-center",
|
|
8026
8025
|
style: { fontSize: 9, color: "#00E547" },
|
|
8027
8026
|
children: [
|
|
@@ -8029,39 +8028,39 @@ function FiisTransactionTable(props) {
|
|
|
8029
8028
|
props.lastYearDate
|
|
8030
8029
|
]
|
|
8031
8030
|
}, undefined, true, undefined, this),
|
|
8032
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8031
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Divider, {
|
|
8033
8032
|
style: { backgroundColor: "rgba(255,255,255,0.25)" }
|
|
8034
8033
|
}, undefined, false, undefined, this),
|
|
8035
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8034
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(View, {
|
|
8036
8035
|
className: "flex-row items-center gap-1",
|
|
8037
8036
|
style: { flexWrap: "nowrap" },
|
|
8038
8037
|
children: [
|
|
8039
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8038
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8040
8039
|
className: "w-1/6 text-center",
|
|
8041
8040
|
style: { ...tableHeaderTextStyle4, textAlign: "center" },
|
|
8042
8041
|
children: "Mês"
|
|
8043
8042
|
}, undefined, false, undefined, this),
|
|
8044
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8043
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8045
8044
|
className: "w-1/6 text-center",
|
|
8046
8045
|
style: { ...tableHeaderTextStyle4, textAlign: "center" },
|
|
8047
8046
|
children: "Saldo anterior"
|
|
8048
8047
|
}, undefined, false, undefined, this),
|
|
8049
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8048
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8050
8049
|
className: "w-1/6 text-center",
|
|
8051
8050
|
style: { ...tableHeaderTextStyle4, textAlign: "center" },
|
|
8052
8051
|
children: "Lucro"
|
|
8053
8052
|
}, undefined, false, undefined, this),
|
|
8054
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8053
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8055
8054
|
className: "w-1/6 text-center",
|
|
8056
8055
|
style: { ...tableHeaderTextStyle4, textAlign: "center" },
|
|
8057
8056
|
children: "Perda"
|
|
8058
8057
|
}, undefined, false, undefined, this),
|
|
8059
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8058
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8060
8059
|
className: "w-2/6 text-center",
|
|
8061
8060
|
style: { ...tableHeaderTextStyle4, textAlign: "center" },
|
|
8062
8061
|
children: "Resultado Lucro/Perda"
|
|
8063
8062
|
}, undefined, false, undefined, this),
|
|
8064
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8063
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8065
8064
|
className: "w-1/6 text-center",
|
|
8066
8065
|
style: { ...tableHeaderTextStyle4, textAlign: "center" },
|
|
8067
8066
|
children: "Resultado mês"
|
|
@@ -8070,39 +8069,39 @@ function FiisTransactionTable(props) {
|
|
|
8070
8069
|
}, undefined, true, undefined, this)
|
|
8071
8070
|
]
|
|
8072
8071
|
}, undefined, true, undefined, this),
|
|
8073
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8074
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime17.
|
|
8072
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(View, {
|
|
8073
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime17.jsx(View, {
|
|
8075
8074
|
break: false,
|
|
8076
8075
|
wrap: false,
|
|
8077
8076
|
className: "flex-row items-center gap-1",
|
|
8078
8077
|
style: { backgroundColor: zebraRow4(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
8079
8078
|
children: [
|
|
8080
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8079
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8081
8080
|
className: "w-1/6 text-center",
|
|
8082
8081
|
style: tableCellStyle4,
|
|
8083
8082
|
children: item2.month
|
|
8084
8083
|
}, undefined, false, undefined, this),
|
|
8085
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8084
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8086
8085
|
className: "w-1/6 text-center",
|
|
8087
8086
|
style: tableCellStyle4,
|
|
8088
8087
|
children: item2.previousBalance
|
|
8089
8088
|
}, undefined, false, undefined, this),
|
|
8090
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8089
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8091
8090
|
className: "w-1/6 text-center",
|
|
8092
8091
|
style: tableCellStyle4,
|
|
8093
8092
|
children: item2.profit
|
|
8094
8093
|
}, undefined, false, undefined, this),
|
|
8095
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8094
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8096
8095
|
className: "w-1/6 text-center",
|
|
8097
8096
|
style: tableCellStyle4,
|
|
8098
8097
|
children: item2.loss
|
|
8099
8098
|
}, undefined, false, undefined, this),
|
|
8100
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8099
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8101
8100
|
className: "w-2/6 text-center",
|
|
8102
8101
|
style: tableCellStyle4,
|
|
8103
8102
|
children: item2.profitLossResult
|
|
8104
8103
|
}, undefined, false, undefined, this),
|
|
8105
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8104
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8106
8105
|
className: "w-1/6 text-center",
|
|
8107
8106
|
style: tableCellStyle4,
|
|
8108
8107
|
children: item2.monthResult
|
|
@@ -8110,10 +8109,10 @@ function FiisTransactionTable(props) {
|
|
|
8110
8109
|
]
|
|
8111
8110
|
}, index, true, undefined, this))
|
|
8112
8111
|
}, undefined, false, undefined, this),
|
|
8113
|
-
/* @__PURE__ */ jsx_dev_runtime17.
|
|
8112
|
+
/* @__PURE__ */ jsx_dev_runtime17.jsx(View, {
|
|
8114
8113
|
className: "rounded-sm",
|
|
8115
8114
|
style: { backgroundColor: "#0F1434", paddingVertical: 6, paddingHorizontal: 7 },
|
|
8116
|
-
children: /* @__PURE__ */ jsx_dev_runtime17.
|
|
8115
|
+
children: /* @__PURE__ */ jsx_dev_runtime17.jsx(Text, {
|
|
8117
8116
|
className: "text-center",
|
|
8118
8117
|
style: { fontSize: 9, color: "#00E547" },
|
|
8119
8118
|
children: [
|
|
@@ -8129,76 +8128,76 @@ function FiisTransactionTable(props) {
|
|
|
8129
8128
|
}
|
|
8130
8129
|
|
|
8131
8130
|
// src/templates/income-statement/components/fixed-income-table.tsx
|
|
8132
|
-
var jsx_dev_runtime18 = require("react/jsx-
|
|
8131
|
+
var jsx_dev_runtime18 = require("react/jsx-runtime");
|
|
8133
8132
|
var tableHeaderStyle2 = { backgroundColor: "#0F1434", paddingVertical: 5, paddingHorizontal: 7 };
|
|
8134
8133
|
var tableHeaderTextStyle5 = { color: "#00E547", fontSize: 8 };
|
|
8135
8134
|
var tableCellStyle5 = { fontSize: 8 };
|
|
8136
8135
|
var zebraRow5 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
8137
8136
|
function FixedIncome(props) {
|
|
8138
|
-
return /* @__PURE__ */ jsx_dev_runtime18.
|
|
8137
|
+
return /* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8139
8138
|
className: "gap-1",
|
|
8140
8139
|
children: [
|
|
8141
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8140
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8142
8141
|
className: "text-center",
|
|
8143
8142
|
style: { fontSize: 11, ...boldStyle },
|
|
8144
8143
|
children: props?.title
|
|
8145
8144
|
}, undefined, false, undefined, this),
|
|
8146
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8147
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8145
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Divider, {}, undefined, false, undefined, this),
|
|
8146
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8148
8147
|
className: "flex-row justify-between",
|
|
8149
8148
|
style: { ...instructionBlockStyle, flexDirection: "row" },
|
|
8150
8149
|
children: [
|
|
8151
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8150
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8152
8151
|
className: "flex-1 text-left",
|
|
8153
8152
|
style: instructionTitleStyle,
|
|
8154
8153
|
children: 'Bens e Direitos, selecione o grupo "04 - Aplicações e investimentos" e depois código "02 - Títulos públicos e privados sujeitos à tributação"'
|
|
8155
8154
|
}, undefined, false, undefined, this),
|
|
8156
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8155
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8157
8156
|
className: "flex-1 text-left",
|
|
8158
8157
|
style: instructionTitleStyle,
|
|
8159
8158
|
children: 'Rendimentos Sujeitos à Tributação Exclusiva ou Definitiva, código "06 - Rendimentos de aplicações financeiras"'
|
|
8160
8159
|
}, undefined, false, undefined, this)
|
|
8161
8160
|
]
|
|
8162
8161
|
}, undefined, true, undefined, this),
|
|
8163
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8162
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8164
8163
|
className: "flex-row gap-1 rounded-sm",
|
|
8165
8164
|
style: { ...tableHeaderStyle2, flexWrap: "nowrap" },
|
|
8166
8165
|
children: [
|
|
8167
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8166
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8168
8167
|
className: "flex-1 text-center",
|
|
8169
8168
|
style: { ...tableHeaderTextStyle5, textAlign: "center" },
|
|
8170
8169
|
children: "Tipo Produto"
|
|
8171
8170
|
}, undefined, false, undefined, this),
|
|
8172
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8171
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8173
8172
|
className: "flex-1 text-center",
|
|
8174
8173
|
style: { ...tableHeaderTextStyle5, textAlign: "center" },
|
|
8175
8174
|
children: "CNPJ"
|
|
8176
8175
|
}, undefined, false, undefined, this),
|
|
8177
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8176
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8178
8177
|
className: "flex-1 text-center",
|
|
8179
8178
|
style: { ...tableHeaderTextStyle5, textAlign: "center" },
|
|
8180
8179
|
children: "Rendimento Recebido"
|
|
8181
8180
|
}, undefined, false, undefined, this)
|
|
8182
8181
|
]
|
|
8183
8182
|
}, undefined, true, undefined, this),
|
|
8184
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8185
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime18.
|
|
8183
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8184
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8186
8185
|
break: false,
|
|
8187
8186
|
wrap: false,
|
|
8188
8187
|
className: "flex-row gap-1 rounded-sm",
|
|
8189
8188
|
style: { backgroundColor: zebraRow5(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
8190
8189
|
children: [
|
|
8191
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8190
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8192
8191
|
className: "flex-1 text-center",
|
|
8193
8192
|
style: tableCellStyle5,
|
|
8194
8193
|
children: item2.productType
|
|
8195
8194
|
}, undefined, false, undefined, this),
|
|
8196
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8195
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8197
8196
|
className: "flex-1 text-center",
|
|
8198
8197
|
style: tableCellStyle5,
|
|
8199
8198
|
children: item2.cnpj
|
|
8200
8199
|
}, undefined, false, undefined, this),
|
|
8201
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8200
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8202
8201
|
className: "flex-1 text-center",
|
|
8203
8202
|
style: tableCellStyle5,
|
|
8204
8203
|
children: item2.incomeReceived
|
|
@@ -8206,25 +8205,25 @@ function FixedIncome(props) {
|
|
|
8206
8205
|
]
|
|
8207
8206
|
}, index, true, undefined, this))
|
|
8208
8207
|
}, undefined, false, undefined, this),
|
|
8209
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8208
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8210
8209
|
className: "flex-row items-center",
|
|
8211
8210
|
style: { ...footerSpacing },
|
|
8212
8211
|
children: [
|
|
8213
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8212
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8214
8213
|
style: { flex: 1, alignItems: "flex-start" }
|
|
8215
8214
|
}, undefined, false, undefined, this),
|
|
8216
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8215
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8217
8216
|
style: { flex: 1, alignItems: "center" }
|
|
8218
8217
|
}, undefined, false, undefined, this),
|
|
8219
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8218
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(View, {
|
|
8220
8219
|
style: { flex: 1, alignItems: "flex-end" },
|
|
8221
|
-
children: /* @__PURE__ */ jsx_dev_runtime18.
|
|
8220
|
+
children: /* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8222
8221
|
style: { fontSize: 8 },
|
|
8223
8222
|
children: [
|
|
8224
8223
|
"Renda em ",
|
|
8225
8224
|
props.lastYearDate,
|
|
8226
8225
|
": ",
|
|
8227
|
-
/* @__PURE__ */ jsx_dev_runtime18.
|
|
8226
|
+
/* @__PURE__ */ jsx_dev_runtime18.jsx(Text, {
|
|
8228
8227
|
style: { ...boldStyle },
|
|
8229
8228
|
children: props.totalIncome
|
|
8230
8229
|
}, undefined, false, undefined, this)
|
|
@@ -8238,12 +8237,12 @@ function FixedIncome(props) {
|
|
|
8238
8237
|
}
|
|
8239
8238
|
|
|
8240
8239
|
// src/templates/income-statement/components/Footer.tsx
|
|
8241
|
-
var jsx_dev_runtime19 = require("react/jsx-
|
|
8240
|
+
var jsx_dev_runtime19 = require("react/jsx-runtime");
|
|
8242
8241
|
function Footer() {
|
|
8243
|
-
return /* @__PURE__ */ jsx_dev_runtime19.
|
|
8242
|
+
return /* @__PURE__ */ jsx_dev_runtime19.jsx(Text, {
|
|
8244
8243
|
style: { fontSize: 7, lineHeight: 1.4, textAlign: "justify", color: "#353535" },
|
|
8245
8244
|
children: [
|
|
8246
|
-
/* @__PURE__ */ jsx_dev_runtime19.
|
|
8245
|
+
/* @__PURE__ */ jsx_dev_runtime19.jsx(Text, {
|
|
8247
8246
|
style: { fontFamily: "Poppins SemiBold" },
|
|
8248
8247
|
children: "BANCO GENIAL S.A."
|
|
8249
8248
|
}, undefined, false, undefined, this),
|
|
@@ -8253,25 +8252,25 @@ function Footer() {
|
|
|
8253
8252
|
}
|
|
8254
8253
|
|
|
8255
8254
|
// src/templates/income-statement/components/Home.tsx
|
|
8256
|
-
var jsx_dev_runtime20 = require("react/jsx-
|
|
8255
|
+
var jsx_dev_runtime20 = require("react/jsx-runtime");
|
|
8257
8256
|
function Home({ year, name, document }) {
|
|
8258
|
-
return /* @__PURE__ */ jsx_dev_runtime20.
|
|
8257
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsx(View, {
|
|
8259
8258
|
children: [
|
|
8260
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8259
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(View, {
|
|
8261
8260
|
className: "flex-row items-center justify-between",
|
|
8262
8261
|
style: { marginBottom: 16 },
|
|
8263
8262
|
children: [
|
|
8264
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8263
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Image, {
|
|
8265
8264
|
source: logoTrx,
|
|
8266
8265
|
style: { width: 120 }
|
|
8267
8266
|
}, undefined, false, undefined, this),
|
|
8268
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8267
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Image, {
|
|
8269
8268
|
source: genialLogo,
|
|
8270
8269
|
style: { width: 120 }
|
|
8271
8270
|
}, undefined, false, undefined, this)
|
|
8272
8271
|
]
|
|
8273
8272
|
}, undefined, true, undefined, this),
|
|
8274
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8273
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8275
8274
|
className: "text-center",
|
|
8276
8275
|
style: { fontSize: 14, fontFamily: "Poppins SemiBold", textDecoration: "underline", marginBottom: 36 },
|
|
8277
8276
|
children: [
|
|
@@ -8279,41 +8278,41 @@ function Home({ year, name, document }) {
|
|
|
8279
8278
|
year
|
|
8280
8279
|
]
|
|
8281
8280
|
}, undefined, true, undefined, this),
|
|
8282
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8281
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(View, {
|
|
8283
8282
|
style: { marginBottom: 12 },
|
|
8284
8283
|
children: [
|
|
8285
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8284
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8286
8285
|
style: { fontSize: 10, color: "#0077F5", fontFamily: "Poppins SemiBold", marginBottom: 4 },
|
|
8287
8286
|
children: "Pessoa Física Beneficiária dos Rendimentos"
|
|
8288
8287
|
}, undefined, false, undefined, this),
|
|
8289
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8288
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8290
8289
|
style: { fontSize: 10, fontFamily: "Poppins SemiBold", marginBottom: 4 },
|
|
8291
8290
|
children: name
|
|
8292
8291
|
}, undefined, false, undefined, this),
|
|
8293
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8292
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8294
8293
|
style: { fontSize: 9, color: "#919191", marginBottom: 8 },
|
|
8295
8294
|
children: [
|
|
8296
8295
|
"CPF: ",
|
|
8297
8296
|
document
|
|
8298
8297
|
]
|
|
8299
8298
|
}, undefined, true, undefined, this),
|
|
8300
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8299
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Divider, {}, undefined, false, undefined, this)
|
|
8301
8300
|
]
|
|
8302
8301
|
}, undefined, true, undefined, this),
|
|
8303
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8302
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(View, {
|
|
8304
8303
|
className: "flex-row justify-between",
|
|
8305
8304
|
style: { marginTop: 8, marginBottom: 12 },
|
|
8306
|
-
children: /* @__PURE__ */ jsx_dev_runtime20.
|
|
8305
|
+
children: /* @__PURE__ */ jsx_dev_runtime20.jsx(View, {
|
|
8307
8306
|
children: [
|
|
8308
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8307
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8309
8308
|
style: { fontSize: 10, color: "#00E547", fontFamily: "Poppins SemiBold", marginBottom: 4 },
|
|
8310
8309
|
children: "Identificação da Fonte Pagadora"
|
|
8311
8310
|
}, undefined, false, undefined, this),
|
|
8312
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8311
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8313
8312
|
style: { fontSize: 10, fontFamily: "Poppins SemiBold", marginBottom: 4 },
|
|
8314
8313
|
children: "Banco Genial S.A"
|
|
8315
8314
|
}, undefined, false, undefined, this),
|
|
8316
|
-
/* @__PURE__ */ jsx_dev_runtime20.
|
|
8315
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsx(Text, {
|
|
8317
8316
|
style: { fontSize: 9, color: "#919191" },
|
|
8318
8317
|
children: "CNPJ: 45.246.410/0001-55"
|
|
8319
8318
|
}, undefined, false, undefined, this)
|
|
@@ -8325,86 +8324,86 @@ function Home({ year, name, document }) {
|
|
|
8325
8324
|
}
|
|
8326
8325
|
|
|
8327
8326
|
// src/templates/income-statement/components/stock-dividend-table.tsx
|
|
8328
|
-
var jsx_dev_runtime21 = require("react/jsx-
|
|
8327
|
+
var jsx_dev_runtime21 = require("react/jsx-runtime");
|
|
8329
8328
|
var tableHeaderStyle3 = { backgroundColor: "#0F1434", paddingVertical: 5, paddingHorizontal: 7 };
|
|
8330
8329
|
var tableHeaderTextStyle6 = { color: "#00E547", fontSize: 8 };
|
|
8331
8330
|
var tableCellStyle6 = { fontSize: 8 };
|
|
8332
8331
|
var zebraRow6 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
8333
8332
|
function StockDividendTable(props) {
|
|
8334
|
-
return /* @__PURE__ */ jsx_dev_runtime21.
|
|
8333
|
+
return /* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8335
8334
|
className: "gap-1",
|
|
8336
8335
|
children: [
|
|
8337
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8336
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8338
8337
|
className: "text-center",
|
|
8339
8338
|
style: { fontSize: 11, ...boldStyle },
|
|
8340
8339
|
children: props?.title
|
|
8341
8340
|
}, undefined, false, undefined, this),
|
|
8342
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8343
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8341
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Divider, {}, undefined, false, undefined, this),
|
|
8342
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8344
8343
|
className: "flex-row justify-between",
|
|
8345
8344
|
style: { ...instructionBlockStyle, flexDirection: "row" },
|
|
8346
8345
|
children: [
|
|
8347
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8346
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8348
8347
|
className: "flex-1 text-left",
|
|
8349
8348
|
style: instructionTitleStyle,
|
|
8350
8349
|
children: 'Bens e Direitos, selecione o grupo "03 - Participações societárias" e depois código "01 - Ações"'
|
|
8351
8350
|
}, undefined, false, undefined, this),
|
|
8352
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8351
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8353
8352
|
className: "flex-1 text-left",
|
|
8354
8353
|
style: instructionTitleStyle,
|
|
8355
8354
|
children: 'Rendimentos Isentos e Não tributáveis, utilizar código "09 - Lucros e dividendos recebidos"'
|
|
8356
8355
|
}, undefined, false, undefined, this)
|
|
8357
8356
|
]
|
|
8358
8357
|
}, undefined, true, undefined, this),
|
|
8359
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8358
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8360
8359
|
className: "flex-row gap-1 rounded-sm",
|
|
8361
8360
|
style: { ...tableHeaderStyle3, flexWrap: "nowrap" },
|
|
8362
8361
|
children: [
|
|
8363
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8362
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8364
8363
|
className: "text-center",
|
|
8365
8364
|
style: { ...tableHeaderTextStyle6, width: 80, minWidth: 80, textAlign: "center" },
|
|
8366
8365
|
children: "Código Ibovespa"
|
|
8367
8366
|
}, undefined, false, undefined, this),
|
|
8368
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8367
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8369
8368
|
className: "flex-1 text-center",
|
|
8370
8369
|
style: { ...tableHeaderTextStyle6, textAlign: "center" },
|
|
8371
8370
|
children: "CNPJ"
|
|
8372
8371
|
}, undefined, false, undefined, this),
|
|
8373
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8372
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8374
8373
|
className: "text-center",
|
|
8375
8374
|
style: { ...tableHeaderTextStyle6, width: 60, minWidth: 60, textAlign: "center" },
|
|
8376
8375
|
children: "Quantidade"
|
|
8377
8376
|
}, undefined, false, undefined, this),
|
|
8378
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8377
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8379
8378
|
className: "flex-1 text-center",
|
|
8380
8379
|
style: { ...tableHeaderTextStyle6, textAlign: "center" },
|
|
8381
8380
|
children: "Rendimento Recebido"
|
|
8382
8381
|
}, undefined, false, undefined, this)
|
|
8383
8382
|
]
|
|
8384
8383
|
}, undefined, true, undefined, this),
|
|
8385
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8386
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime21.
|
|
8384
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8385
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8387
8386
|
break: false,
|
|
8388
8387
|
wrap: false,
|
|
8389
8388
|
className: "flex-row gap-1 rounded-sm",
|
|
8390
8389
|
style: { backgroundColor: zebraRow6(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
8391
8390
|
children: [
|
|
8392
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8391
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8393
8392
|
className: "text-center",
|
|
8394
8393
|
style: { ...tableCellStyle6, width: 80, minWidth: 80 },
|
|
8395
8394
|
children: item2.code
|
|
8396
8395
|
}, undefined, false, undefined, this),
|
|
8397
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8396
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8398
8397
|
className: "flex-1 text-center",
|
|
8399
8398
|
style: tableCellStyle6,
|
|
8400
8399
|
children: item2.cnpj
|
|
8401
8400
|
}, undefined, false, undefined, this),
|
|
8402
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8401
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8403
8402
|
className: "text-center",
|
|
8404
8403
|
style: { ...tableCellStyle6, width: 60, minWidth: 60 },
|
|
8405
8404
|
children: item2.quantity
|
|
8406
8405
|
}, undefined, false, undefined, this),
|
|
8407
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8406
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8408
8407
|
className: "flex-1 text-center",
|
|
8409
8408
|
style: tableCellStyle6,
|
|
8410
8409
|
children: item2.incomeReceived
|
|
@@ -8412,25 +8411,25 @@ function StockDividendTable(props) {
|
|
|
8412
8411
|
]
|
|
8413
8412
|
}, index, true, undefined, this))
|
|
8414
8413
|
}, undefined, false, undefined, this),
|
|
8415
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8414
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8416
8415
|
className: "flex-row items-center",
|
|
8417
8416
|
style: { ...footerSpacing },
|
|
8418
8417
|
children: [
|
|
8419
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8418
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8420
8419
|
style: { flex: 1, alignItems: "flex-start" }
|
|
8421
8420
|
}, undefined, false, undefined, this),
|
|
8422
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8421
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8423
8422
|
style: { flex: 1, alignItems: "center" }
|
|
8424
8423
|
}, undefined, false, undefined, this),
|
|
8425
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8424
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(View, {
|
|
8426
8425
|
style: { flex: 1, alignItems: "flex-end" },
|
|
8427
|
-
children: /* @__PURE__ */ jsx_dev_runtime21.
|
|
8426
|
+
children: /* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8428
8427
|
style: { fontSize: 8 },
|
|
8429
8428
|
children: [
|
|
8430
8429
|
"Renda em ",
|
|
8431
8430
|
props.lastYearDate,
|
|
8432
8431
|
": ",
|
|
8433
|
-
/* @__PURE__ */ jsx_dev_runtime21.
|
|
8432
|
+
/* @__PURE__ */ jsx_dev_runtime21.jsx(Text, {
|
|
8434
8433
|
style: { ...boldStyle },
|
|
8435
8434
|
children: props.totalIncome
|
|
8436
8435
|
}, undefined, false, undefined, this)
|
|
@@ -8444,86 +8443,86 @@ function StockDividendTable(props) {
|
|
|
8444
8443
|
}
|
|
8445
8444
|
|
|
8446
8445
|
// src/templates/income-statement/components/stock-jcp-table.tsx
|
|
8447
|
-
var jsx_dev_runtime22 = require("react/jsx-
|
|
8446
|
+
var jsx_dev_runtime22 = require("react/jsx-runtime");
|
|
8448
8447
|
var tableHeaderStyle4 = { backgroundColor: "#0F1434", paddingVertical: 5, paddingHorizontal: 7 };
|
|
8449
8448
|
var tableHeaderTextStyle7 = { color: "#00E547", fontSize: 8 };
|
|
8450
8449
|
var tableCellStyle7 = { fontSize: 8 };
|
|
8451
8450
|
var zebraRow7 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
8452
8451
|
function StockJcpTable(props) {
|
|
8453
|
-
return /* @__PURE__ */ jsx_dev_runtime22.
|
|
8452
|
+
return /* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8454
8453
|
className: "gap-1",
|
|
8455
8454
|
children: [
|
|
8456
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8455
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8457
8456
|
className: "text-center",
|
|
8458
8457
|
style: { fontSize: 11, ...boldStyle },
|
|
8459
8458
|
children: props?.title
|
|
8460
8459
|
}, undefined, false, undefined, this),
|
|
8461
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8462
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8460
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Divider, {}, undefined, false, undefined, this),
|
|
8461
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8463
8462
|
className: "flex-row justify-between",
|
|
8464
8463
|
style: { ...instructionBlockStyle, flexDirection: "row" },
|
|
8465
8464
|
children: [
|
|
8466
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8465
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8467
8466
|
className: "flex-1 text-left",
|
|
8468
8467
|
style: instructionTitleStyle,
|
|
8469
8468
|
children: 'Bens e Direitos, selecione o grupo "03 - Participações societárias" e depois código "01 - Ações"'
|
|
8470
8469
|
}, undefined, false, undefined, this),
|
|
8471
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8470
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8472
8471
|
className: "flex-1 text-left",
|
|
8473
8472
|
style: instructionTitleStyle,
|
|
8474
8473
|
children: 'Rendimentos Sujeitos à Tributação Exclusiva ou Definitiva, código "10 - Juros sobre o Capital Próprio"'
|
|
8475
8474
|
}, undefined, false, undefined, this)
|
|
8476
8475
|
]
|
|
8477
8476
|
}, undefined, true, undefined, this),
|
|
8478
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8477
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8479
8478
|
className: "flex-row gap-1 rounded-sm",
|
|
8480
8479
|
style: { ...tableHeaderStyle4, flexWrap: "nowrap" },
|
|
8481
8480
|
children: [
|
|
8482
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8481
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8483
8482
|
className: "text-center",
|
|
8484
8483
|
style: { ...tableHeaderTextStyle7, width: 80, minWidth: 80, textAlign: "center" },
|
|
8485
8484
|
children: "Código Ibovespa"
|
|
8486
8485
|
}, undefined, false, undefined, this),
|
|
8487
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8486
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8488
8487
|
className: "flex-1 text-center",
|
|
8489
8488
|
style: { ...tableHeaderTextStyle7, textAlign: "center" },
|
|
8490
8489
|
children: "CNPJ"
|
|
8491
8490
|
}, undefined, false, undefined, this),
|
|
8492
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8491
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8493
8492
|
className: "text-center",
|
|
8494
8493
|
style: { ...tableHeaderTextStyle7, width: 60, minWidth: 60, textAlign: "center" },
|
|
8495
8494
|
children: "Quantidade"
|
|
8496
8495
|
}, undefined, false, undefined, this),
|
|
8497
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8496
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8498
8497
|
className: "flex-1 text-center",
|
|
8499
8498
|
style: { ...tableHeaderTextStyle7, textAlign: "center" },
|
|
8500
8499
|
children: "Rendimento Recebido"
|
|
8501
8500
|
}, undefined, false, undefined, this)
|
|
8502
8501
|
]
|
|
8503
8502
|
}, undefined, true, undefined, this),
|
|
8504
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8505
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime22.
|
|
8503
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8504
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8506
8505
|
break: false,
|
|
8507
8506
|
wrap: false,
|
|
8508
8507
|
className: "flex-row gap-1 rounded-sm",
|
|
8509
8508
|
style: { backgroundColor: zebraRow7(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
8510
8509
|
children: [
|
|
8511
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8510
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8512
8511
|
className: "text-center",
|
|
8513
8512
|
style: { ...tableCellStyle7, width: 80, minWidth: 80 },
|
|
8514
8513
|
children: item2.code
|
|
8515
8514
|
}, undefined, false, undefined, this),
|
|
8516
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8515
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8517
8516
|
className: "flex-1 text-center",
|
|
8518
8517
|
style: tableCellStyle7,
|
|
8519
8518
|
children: item2.cnpj
|
|
8520
8519
|
}, undefined, false, undefined, this),
|
|
8521
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8520
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8522
8521
|
className: "text-center",
|
|
8523
8522
|
style: { ...tableCellStyle7, width: 60, minWidth: 60 },
|
|
8524
8523
|
children: item2.quantity
|
|
8525
8524
|
}, undefined, false, undefined, this),
|
|
8526
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8525
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8527
8526
|
className: "flex-1 text-center",
|
|
8528
8527
|
style: tableCellStyle7,
|
|
8529
8528
|
children: item2.incomeReceived
|
|
@@ -8531,25 +8530,25 @@ function StockJcpTable(props) {
|
|
|
8531
8530
|
]
|
|
8532
8531
|
}, index, true, undefined, this))
|
|
8533
8532
|
}, undefined, false, undefined, this),
|
|
8534
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8533
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8535
8534
|
className: "flex-row items-center",
|
|
8536
8535
|
style: { ...footerSpacing },
|
|
8537
8536
|
children: [
|
|
8538
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8537
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8539
8538
|
style: { flex: 1, alignItems: "flex-start" }
|
|
8540
8539
|
}, undefined, false, undefined, this),
|
|
8541
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8540
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8542
8541
|
style: { flex: 1, alignItems: "center" }
|
|
8543
8542
|
}, undefined, false, undefined, this),
|
|
8544
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8543
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(View, {
|
|
8545
8544
|
style: { flex: 1, alignItems: "flex-end" },
|
|
8546
|
-
children: /* @__PURE__ */ jsx_dev_runtime22.
|
|
8545
|
+
children: /* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8547
8546
|
style: { fontSize: 8 },
|
|
8548
8547
|
children: [
|
|
8549
8548
|
"Renda em ",
|
|
8550
8549
|
props.lastYearDate,
|
|
8551
8550
|
": ",
|
|
8552
|
-
/* @__PURE__ */ jsx_dev_runtime22.
|
|
8551
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsx(Text, {
|
|
8553
8552
|
style: { ...boldStyle },
|
|
8554
8553
|
children: props.totalIncome
|
|
8555
8554
|
}, undefined, false, undefined, this)
|
|
@@ -8563,41 +8562,41 @@ function StockJcpTable(props) {
|
|
|
8563
8562
|
}
|
|
8564
8563
|
|
|
8565
8564
|
// src/templates/income-statement/components/stock-position-table.tsx
|
|
8566
|
-
var jsx_dev_runtime23 = require("react/jsx-
|
|
8565
|
+
var jsx_dev_runtime23 = require("react/jsx-runtime");
|
|
8567
8566
|
var tableHeaderStyle5 = { backgroundColor: "#0F1434", paddingVertical: 5, paddingHorizontal: 7 };
|
|
8568
8567
|
var tableHeaderTextStyle8 = { color: "#00E547", fontSize: 8 };
|
|
8569
8568
|
var tableCellStyle8 = { fontSize: 8 };
|
|
8570
8569
|
var zebraRow8 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
8571
8570
|
function StockPositionTable(props) {
|
|
8572
|
-
return /* @__PURE__ */ jsx_dev_runtime23.
|
|
8571
|
+
return /* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8573
8572
|
className: "gap-1",
|
|
8574
8573
|
children: [
|
|
8575
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8574
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8576
8575
|
className: "text-center",
|
|
8577
8576
|
style: { fontSize: 11, ...boldStyle },
|
|
8578
8577
|
children: props?.title
|
|
8579
8578
|
}, undefined, false, undefined, this),
|
|
8580
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8581
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8579
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Divider, {}, undefined, false, undefined, this),
|
|
8580
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8582
8581
|
className: "flex-row gap-1 rounded-sm",
|
|
8583
8582
|
style: { ...tableHeaderStyle5, flexWrap: "nowrap" },
|
|
8584
8583
|
children: [
|
|
8585
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8584
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8586
8585
|
className: "text-center",
|
|
8587
8586
|
style: { ...tableHeaderTextStyle8, width: 80, minWidth: 80, textAlign: "center" },
|
|
8588
8587
|
children: "Código Ibovespa"
|
|
8589
8588
|
}, undefined, false, undefined, this),
|
|
8590
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8589
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8591
8590
|
className: "flex-1 text-center",
|
|
8592
8591
|
style: { ...tableHeaderTextStyle8, textAlign: "center" },
|
|
8593
8592
|
children: "CNPJ"
|
|
8594
8593
|
}, undefined, false, undefined, this),
|
|
8595
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8594
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8596
8595
|
className: "text-center",
|
|
8597
8596
|
style: { ...tableHeaderTextStyle8, width: 60, minWidth: 60, textAlign: "center" },
|
|
8598
8597
|
children: "Quantidade"
|
|
8599
8598
|
}, undefined, false, undefined, this),
|
|
8600
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8599
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8601
8600
|
className: "flex-1 text-center",
|
|
8602
8601
|
style: { ...tableHeaderTextStyle8, textAlign: "center" },
|
|
8603
8602
|
children: [
|
|
@@ -8605,7 +8604,7 @@ function StockPositionTable(props) {
|
|
|
8605
8604
|
props.yearBeforeLastDate
|
|
8606
8605
|
]
|
|
8607
8606
|
}, undefined, true, undefined, this),
|
|
8608
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8607
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8609
8608
|
className: "flex-1 text-center",
|
|
8610
8609
|
style: { ...tableHeaderTextStyle8, textAlign: "center" },
|
|
8611
8610
|
children: [
|
|
@@ -8615,34 +8614,34 @@ function StockPositionTable(props) {
|
|
|
8615
8614
|
}, undefined, true, undefined, this)
|
|
8616
8615
|
]
|
|
8617
8616
|
}, undefined, true, undefined, this),
|
|
8618
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8619
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime23.
|
|
8617
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8618
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8620
8619
|
break: false,
|
|
8621
8620
|
wrap: false,
|
|
8622
8621
|
className: "flex-row gap-1 rounded-sm",
|
|
8623
8622
|
style: { backgroundColor: zebraRow8(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
8624
8623
|
children: [
|
|
8625
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8624
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8626
8625
|
className: "text-center",
|
|
8627
8626
|
style: { ...tableCellStyle8, width: 80, minWidth: 80 },
|
|
8628
8627
|
children: item2.code
|
|
8629
8628
|
}, undefined, false, undefined, this),
|
|
8630
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8629
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8631
8630
|
className: "flex-1 text-center",
|
|
8632
8631
|
style: tableCellStyle8,
|
|
8633
8632
|
children: item2.cnpj
|
|
8634
8633
|
}, undefined, false, undefined, this),
|
|
8635
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8634
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8636
8635
|
className: "text-center",
|
|
8637
8636
|
style: { ...tableCellStyle8, width: 60, minWidth: 60 },
|
|
8638
8637
|
children: item2.quantity
|
|
8639
8638
|
}, undefined, false, undefined, this),
|
|
8640
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8639
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8641
8640
|
className: "flex-1 text-center",
|
|
8642
8641
|
style: tableCellStyle8,
|
|
8643
8642
|
children: item2.balanceYearBeforeLast
|
|
8644
8643
|
}, undefined, false, undefined, this),
|
|
8645
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8644
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8646
8645
|
className: "flex-1 text-center",
|
|
8647
8646
|
style: tableCellStyle8,
|
|
8648
8647
|
children: item2.balanceLastYear
|
|
@@ -8650,49 +8649,49 @@ function StockPositionTable(props) {
|
|
|
8650
8649
|
]
|
|
8651
8650
|
}, index, true, undefined, this))
|
|
8652
8651
|
}, undefined, false, undefined, this),
|
|
8653
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8652
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8654
8653
|
className: "flex-row items-center",
|
|
8655
8654
|
style: { ...footerSpacing },
|
|
8656
8655
|
children: [
|
|
8657
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8656
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8658
8657
|
style: { flex: 1, alignItems: "flex-start" },
|
|
8659
|
-
children: props.positions.length >= 3 && /* @__PURE__ */ jsx_dev_runtime23.
|
|
8658
|
+
children: props.positions.length >= 3 && /* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8660
8659
|
style: { fontSize: 8 },
|
|
8661
8660
|
children: [
|
|
8662
8661
|
"Posição em ",
|
|
8663
8662
|
props.positions[0].date,
|
|
8664
8663
|
": ",
|
|
8665
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8664
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8666
8665
|
style: { ...boldStyle },
|
|
8667
8666
|
children: props.positions[0].balance
|
|
8668
8667
|
}, undefined, false, undefined, this)
|
|
8669
8668
|
]
|
|
8670
8669
|
}, undefined, true, undefined, this)
|
|
8671
8670
|
}, undefined, false, undefined, this),
|
|
8672
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8671
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8673
8672
|
style: { flex: 1, alignItems: "center" },
|
|
8674
|
-
children: props.positions.length >= 2 && /* @__PURE__ */ jsx_dev_runtime23.
|
|
8673
|
+
children: props.positions.length >= 2 && /* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8675
8674
|
style: { fontSize: 8 },
|
|
8676
8675
|
children: [
|
|
8677
8676
|
"Posição em ",
|
|
8678
8677
|
props.positions[props.positions.length - 2].date,
|
|
8679
8678
|
": ",
|
|
8680
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8679
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8681
8680
|
style: { ...boldStyle },
|
|
8682
8681
|
children: props.positions[props.positions.length - 2].balance
|
|
8683
8682
|
}, undefined, false, undefined, this)
|
|
8684
8683
|
]
|
|
8685
8684
|
}, undefined, true, undefined, this)
|
|
8686
8685
|
}, undefined, false, undefined, this),
|
|
8687
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8686
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(View, {
|
|
8688
8687
|
style: { flex: 1, alignItems: "flex-end" },
|
|
8689
|
-
children: props.positions.length >= 1 && /* @__PURE__ */ jsx_dev_runtime23.
|
|
8688
|
+
children: props.positions.length >= 1 && /* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8690
8689
|
style: { fontSize: 8 },
|
|
8691
8690
|
children: [
|
|
8692
8691
|
"Posição em ",
|
|
8693
8692
|
props.positions[props.positions.length - 1].date,
|
|
8694
8693
|
": ",
|
|
8695
|
-
/* @__PURE__ */ jsx_dev_runtime23.
|
|
8694
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsx(Text, {
|
|
8696
8695
|
style: { ...boldStyle },
|
|
8697
8696
|
children: props.positions[props.positions.length - 1].balance
|
|
8698
8697
|
}, undefined, false, undefined, this)
|
|
@@ -8706,25 +8705,25 @@ function StockPositionTable(props) {
|
|
|
8706
8705
|
}
|
|
8707
8706
|
|
|
8708
8707
|
// src/templates/income-statement/components/stock-transactions.tsx
|
|
8709
|
-
var jsx_dev_runtime24 = require("react/jsx-
|
|
8708
|
+
var jsx_dev_runtime24 = require("react/jsx-runtime");
|
|
8710
8709
|
var tableHeaderTextStyle9 = { color: "#00E547", fontSize: 8 };
|
|
8711
8710
|
var tableCellStyle9 = { fontSize: 8 };
|
|
8712
8711
|
var zebraRow9 = (i) => i % 2 === 1 ? "#D6FFE0" : "transparent";
|
|
8713
8712
|
function StockTransactions(props) {
|
|
8714
|
-
return /* @__PURE__ */ jsx_dev_runtime24.
|
|
8713
|
+
return /* @__PURE__ */ jsx_dev_runtime24.jsx(View, {
|
|
8715
8714
|
className: "gap-1",
|
|
8716
8715
|
children: [
|
|
8717
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8716
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8718
8717
|
className: "text-center",
|
|
8719
8718
|
style: { fontSize: 11, ...boldStyle },
|
|
8720
8719
|
children: props?.title
|
|
8721
8720
|
}, undefined, false, undefined, this),
|
|
8722
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8723
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8721
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Divider, {}, undefined, false, undefined, this),
|
|
8722
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(View, {
|
|
8724
8723
|
className: "gap-1 rounded-sm",
|
|
8725
8724
|
style: { backgroundColor: "#0F1434", paddingVertical: 6, paddingHorizontal: 7 },
|
|
8726
8725
|
children: [
|
|
8727
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8726
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8728
8727
|
className: "text-center",
|
|
8729
8728
|
style: { fontSize: 9, color: "#00E547" },
|
|
8730
8729
|
children: [
|
|
@@ -8732,34 +8731,34 @@ function StockTransactions(props) {
|
|
|
8732
8731
|
props.year
|
|
8733
8732
|
]
|
|
8734
8733
|
}, undefined, true, undefined, this),
|
|
8735
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8734
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Divider, {
|
|
8736
8735
|
style: { backgroundColor: "rgba(255,255,255,0.25)" }
|
|
8737
8736
|
}, undefined, false, undefined, this),
|
|
8738
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8737
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(View, {
|
|
8739
8738
|
className: "flex-row gap-1",
|
|
8740
8739
|
style: { flexWrap: "nowrap" },
|
|
8741
8740
|
children: [
|
|
8742
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8741
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8743
8742
|
className: "text-center",
|
|
8744
8743
|
style: { ...tableHeaderTextStyle9, width: 70, minWidth: 70, textAlign: "center" },
|
|
8745
8744
|
children: "Mês"
|
|
8746
8745
|
}, undefined, false, undefined, this),
|
|
8747
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8746
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8748
8747
|
className: "flex-1 text-center",
|
|
8749
8748
|
style: { ...tableHeaderTextStyle9, textAlign: "center" },
|
|
8750
8749
|
children: "Volume de Vendas"
|
|
8751
8750
|
}, undefined, false, undefined, this),
|
|
8752
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8751
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8753
8752
|
className: "text-center",
|
|
8754
8753
|
style: { ...tableHeaderTextStyle9, width: 70, minWidth: 70, textAlign: "center" },
|
|
8755
8754
|
children: "Lucro"
|
|
8756
8755
|
}, undefined, false, undefined, this),
|
|
8757
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8756
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8758
8757
|
className: "text-center",
|
|
8759
8758
|
style: { ...tableHeaderTextStyle9, width: 90, minWidth: 90, textAlign: "center" },
|
|
8760
8759
|
children: "Perda"
|
|
8761
8760
|
}, undefined, false, undefined, this),
|
|
8762
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8761
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8763
8762
|
className: "text-center",
|
|
8764
8763
|
style: { ...tableHeaderTextStyle9, width: 100, minWidth: 100, textAlign: "center" },
|
|
8765
8764
|
children: "Resultado Lucro/Perda"
|
|
@@ -8768,34 +8767,34 @@ function StockTransactions(props) {
|
|
|
8768
8767
|
}, undefined, true, undefined, this)
|
|
8769
8768
|
]
|
|
8770
8769
|
}, undefined, true, undefined, this),
|
|
8771
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8772
|
-
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime24.
|
|
8770
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(View, {
|
|
8771
|
+
children: props.data.map((item2, index) => /* @__PURE__ */ jsx_dev_runtime24.jsx(View, {
|
|
8773
8772
|
break: false,
|
|
8774
8773
|
wrap: false,
|
|
8775
8774
|
className: "flex-row gap-1 rounded-sm",
|
|
8776
8775
|
style: { backgroundColor: zebraRow9(index), paddingVertical: 4, paddingHorizontal: 7 },
|
|
8777
8776
|
children: [
|
|
8778
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8777
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8779
8778
|
className: "w-[70px] text-center",
|
|
8780
8779
|
style: tableCellStyle9,
|
|
8781
8780
|
children: item2.month
|
|
8782
8781
|
}, undefined, false, undefined, this),
|
|
8783
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8782
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8784
8783
|
className: "flex-1 text-center",
|
|
8785
8784
|
style: tableCellStyle9,
|
|
8786
8785
|
children: item2.sellVolume
|
|
8787
8786
|
}, undefined, false, undefined, this),
|
|
8788
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8787
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8789
8788
|
className: "w-[70px] text-center",
|
|
8790
8789
|
style: tableCellStyle9,
|
|
8791
8790
|
children: item2.profit
|
|
8792
8791
|
}, undefined, false, undefined, this),
|
|
8793
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8792
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8794
8793
|
className: "w-[90px] text-center",
|
|
8795
8794
|
style: tableCellStyle9,
|
|
8796
8795
|
children: item2.loss
|
|
8797
8796
|
}, undefined, false, undefined, this),
|
|
8798
|
-
/* @__PURE__ */ jsx_dev_runtime24.
|
|
8797
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsx(Text, {
|
|
8799
8798
|
className: "w-[100px] text-center",
|
|
8800
8799
|
style: tableCellStyle9,
|
|
8801
8800
|
children: item2.profitLossResult
|
|
@@ -8808,22 +8807,22 @@ function StockTransactions(props) {
|
|
|
8808
8807
|
}
|
|
8809
8808
|
|
|
8810
8809
|
// src/templates/income-statement/components/title.tsx
|
|
8811
|
-
var jsx_dev_runtime25 = require("react/jsx-
|
|
8810
|
+
var jsx_dev_runtime25 = require("react/jsx-runtime");
|
|
8812
8811
|
function Title({ children }) {
|
|
8813
|
-
return /* @__PURE__ */ jsx_dev_runtime25.
|
|
8812
|
+
return /* @__PURE__ */ jsx_dev_runtime25.jsx(View, {
|
|
8814
8813
|
children: [
|
|
8815
|
-
/* @__PURE__ */ jsx_dev_runtime25.
|
|
8814
|
+
/* @__PURE__ */ jsx_dev_runtime25.jsx(Text, {
|
|
8816
8815
|
className: "text-center",
|
|
8817
8816
|
style: { fontSize: 11 },
|
|
8818
8817
|
children
|
|
8819
8818
|
}, undefined, false, undefined, this),
|
|
8820
|
-
/* @__PURE__ */ jsx_dev_runtime25.
|
|
8819
|
+
/* @__PURE__ */ jsx_dev_runtime25.jsx(Divider, {}, undefined, false, undefined, this)
|
|
8821
8820
|
]
|
|
8822
8821
|
}, undefined, true, undefined, this);
|
|
8823
8822
|
}
|
|
8824
8823
|
|
|
8825
8824
|
// src/templates/income-statement/index.tsx
|
|
8826
|
-
var jsx_dev_runtime26 = require("react/jsx-
|
|
8825
|
+
var jsx_dev_runtime26 = require("react/jsx-runtime");
|
|
8827
8826
|
function IncomeStatement({ data }) {
|
|
8828
8827
|
const homeProps = mapToHomeProps(data);
|
|
8829
8828
|
const fixedIncomeProps = mapToFixedIncomeProps(data);
|
|
@@ -8836,20 +8835,20 @@ function IncomeStatement({ data }) {
|
|
|
8836
8835
|
const stockTransactionsProps = mapToStockTransactionsProps(data);
|
|
8837
8836
|
const stockDarfProps = mapToDarfTableProps(data.stockDarfHtml.year, data.stockDarfHtml.darfStockTableRows);
|
|
8838
8837
|
const depentTransfersList = mapToDepentTransfersProps(data);
|
|
8839
|
-
return /* @__PURE__ */ jsx_dev_runtime26.
|
|
8838
|
+
return /* @__PURE__ */ jsx_dev_runtime26.jsx(DataProvider, {
|
|
8840
8839
|
initial: data,
|
|
8841
|
-
children: /* @__PURE__ */ jsx_dev_runtime26.
|
|
8840
|
+
children: /* @__PURE__ */ jsx_dev_runtime26.jsx(import_renderer7.Document, {
|
|
8842
8841
|
children: [
|
|
8843
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8842
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(Page, {
|
|
8844
8843
|
size: "A4",
|
|
8845
8844
|
style: { paddingHorizontal: 40, paddingTop: 24, paddingBottom: 24 },
|
|
8846
|
-
children: /* @__PURE__ */ jsx_dev_runtime26.
|
|
8845
|
+
children: /* @__PURE__ */ jsx_dev_runtime26.jsx(View, {
|
|
8847
8846
|
style: { flex: 1, flexDirection: "column", gap: 16 },
|
|
8848
8847
|
children: [
|
|
8849
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8848
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(Home, {
|
|
8850
8849
|
...homeProps
|
|
8851
8850
|
}, undefined, false, undefined, this),
|
|
8852
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8851
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(AccountInfo, {
|
|
8853
8852
|
title: "CONTA DIGITAL",
|
|
8854
8853
|
bankCode: data.bankCode ?? "278",
|
|
8855
8854
|
bankAgency: data.bankAccountBranch,
|
|
@@ -8859,60 +8858,60 @@ function IncomeStatement({ data }) {
|
|
|
8859
8858
|
lastYearBankDate: data.lastYearBankDate,
|
|
8860
8859
|
lastYearBankBalance: data.lastYearBankBalance
|
|
8861
8860
|
}, undefined, false, undefined, this),
|
|
8862
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8861
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(View, {
|
|
8863
8862
|
style: { flexGrow: 1 }
|
|
8864
8863
|
}, undefined, false, undefined, this),
|
|
8865
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8864
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(View, {
|
|
8866
8865
|
style: { paddingTop: 16, paddingBottom: 8 },
|
|
8867
|
-
children: /* @__PURE__ */ jsx_dev_runtime26.
|
|
8866
|
+
children: /* @__PURE__ */ jsx_dev_runtime26.jsx(Footer, {}, undefined, false, undefined, this)
|
|
8868
8867
|
}, undefined, false, undefined, this)
|
|
8869
8868
|
]
|
|
8870
8869
|
}, undefined, true, undefined, this)
|
|
8871
8870
|
}, undefined, false, undefined, this),
|
|
8872
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8871
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(Page, {
|
|
8873
8872
|
size: "A4",
|
|
8874
8873
|
className: "gap-6 px-8 py-10",
|
|
8875
8874
|
style: { position: "relative" },
|
|
8876
8875
|
children: [
|
|
8877
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8876
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(FixedIncome, {
|
|
8878
8877
|
...fixedIncomeProps
|
|
8879
8878
|
}, undefined, false, undefined, this),
|
|
8880
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8879
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(FiisTable, {
|
|
8881
8880
|
...fiisTableProps
|
|
8882
8881
|
}, undefined, false, undefined, this),
|
|
8883
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8882
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(FiisTransactionTable, {
|
|
8884
8883
|
...fiisTransactionProps
|
|
8885
8884
|
}, undefined, false, undefined, this),
|
|
8886
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8885
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(DarfTable, {
|
|
8887
8886
|
...fundDarfProps
|
|
8888
8887
|
}, undefined, false, undefined, this),
|
|
8889
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8888
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(StockPositionTable, {
|
|
8890
8889
|
...stockPositionProps
|
|
8891
8890
|
}, undefined, false, undefined, this),
|
|
8892
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8891
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(StockDividendTable, {
|
|
8893
8892
|
...stockDividendProps
|
|
8894
8893
|
}, undefined, false, undefined, this),
|
|
8895
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8894
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(StockJcpTable, {
|
|
8896
8895
|
...stockJcpProps
|
|
8897
8896
|
}, undefined, false, undefined, this),
|
|
8898
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8897
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(StockTransactions, {
|
|
8899
8898
|
...stockTransactionsProps
|
|
8900
8899
|
}, undefined, false, undefined, this),
|
|
8901
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8900
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(DarfTable, {
|
|
8902
8901
|
...stockDarfProps
|
|
8903
8902
|
}, undefined, false, undefined, this),
|
|
8904
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8903
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(Title, {
|
|
8905
8904
|
children: [
|
|
8906
8905
|
"Transferência para Dependentes - ",
|
|
8907
8906
|
data.transactionHtml.year
|
|
8908
8907
|
]
|
|
8909
8908
|
}, undefined, true, undefined, this),
|
|
8910
|
-
depentTransfersList.map((props, index) => /* @__PURE__ */ jsx_dev_runtime26.
|
|
8909
|
+
depentTransfersList.map((props, index) => /* @__PURE__ */ jsx_dev_runtime26.jsx(DepentTransfers, {
|
|
8911
8910
|
...props
|
|
8912
8911
|
}, index, false, undefined, this)),
|
|
8913
|
-
/* @__PURE__ */ jsx_dev_runtime26.
|
|
8912
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsx(View, {
|
|
8914
8913
|
style: { flexGrow: 1, justifyContent: "flex-end", minHeight: 200, marginTop: 24 },
|
|
8915
|
-
children: /* @__PURE__ */ jsx_dev_runtime26.
|
|
8914
|
+
children: /* @__PURE__ */ jsx_dev_runtime26.jsx(Text, {
|
|
8916
8915
|
className: "text-justify text-xs leading-tight",
|
|
8917
8916
|
style: { fontSize: 7, lineHeight: 1.35 },
|
|
8918
8917
|
children: [
|