@bookmypuja-tech/bmp-pdf 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +29 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -617,7 +617,7 @@ var majorLanguagesRanges = {
|
|
|
617
617
|
Javanese: /[\uA980-\uA9CD\uA9D0-\uA9D9\uA9DE\uA9DF]/g,
|
|
618
618
|
Telugu: /[\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C7F]/g,
|
|
619
619
|
Gujarati: /[\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF]/g,
|
|
620
|
-
Malayalam: /[\u0D00-\
|
|
620
|
+
Malayalam: /[\u0D00-\u0D03\u0D05-\u0D39\u0D3A\u0D3B\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D70-\u0D7F]/g,
|
|
621
621
|
Gurmukhi: /[\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76]/g
|
|
622
622
|
};
|
|
623
623
|
var TextParsedAfterDetectingLanguage = ({ style = {}, children }) => {
|
|
@@ -875,7 +875,7 @@ var A4TransactionReport = ({
|
|
|
875
875
|
style: {
|
|
876
876
|
padding: 6,
|
|
877
877
|
borderRight: "1px solid black",
|
|
878
|
-
width: "
|
|
878
|
+
width: "8%"
|
|
879
879
|
}
|
|
880
880
|
},
|
|
881
881
|
/* @__PURE__ */ React9.createElement(Text_default, null, "Sr no")
|
|
@@ -886,7 +886,7 @@ var A4TransactionReport = ({
|
|
|
886
886
|
style: {
|
|
887
887
|
padding: 6,
|
|
888
888
|
borderRight: "1px solid black",
|
|
889
|
-
width: "
|
|
889
|
+
width: "23%"
|
|
890
890
|
}
|
|
891
891
|
},
|
|
892
892
|
/* @__PURE__ */ React9.createElement(Text_default, null, "Date")
|
|
@@ -897,10 +897,10 @@ var A4TransactionReport = ({
|
|
|
897
897
|
style: {
|
|
898
898
|
padding: 6,
|
|
899
899
|
borderRight: "1px solid black",
|
|
900
|
-
width: "
|
|
900
|
+
width: "19%"
|
|
901
901
|
}
|
|
902
902
|
},
|
|
903
|
-
/* @__PURE__ */ React9.createElement(Text_default, null, "
|
|
903
|
+
/* @__PURE__ */ React9.createElement(Text_default, null, "Invoice")
|
|
904
904
|
),
|
|
905
905
|
/* @__PURE__ */ React9.createElement(
|
|
906
906
|
View4,
|
|
@@ -908,21 +908,21 @@ var A4TransactionReport = ({
|
|
|
908
908
|
style: {
|
|
909
909
|
padding: 6,
|
|
910
910
|
borderRight: "1px solid black",
|
|
911
|
-
width: "
|
|
911
|
+
width: "15%"
|
|
912
912
|
}
|
|
913
913
|
},
|
|
914
|
-
/* @__PURE__ */ React9.createElement(Text_default, null, "
|
|
914
|
+
/* @__PURE__ */ React9.createElement(Text_default, null, "Booking Amt")
|
|
915
915
|
),
|
|
916
916
|
/* @__PURE__ */ React9.createElement(
|
|
917
917
|
View4,
|
|
918
918
|
{
|
|
919
919
|
style: {
|
|
920
920
|
padding: 6,
|
|
921
|
-
|
|
922
|
-
|
|
921
|
+
width: "15%",
|
|
922
|
+
borderRight: "1px solid black"
|
|
923
923
|
}
|
|
924
924
|
},
|
|
925
|
-
/* @__PURE__ */ React9.createElement(Text_default, null, "
|
|
925
|
+
/* @__PURE__ */ React9.createElement(Text_default, null, "Credited Amt")
|
|
926
926
|
),
|
|
927
927
|
/* @__PURE__ */ React9.createElement(
|
|
928
928
|
View4,
|
|
@@ -932,7 +932,7 @@ var A4TransactionReport = ({
|
|
|
932
932
|
width: "20%"
|
|
933
933
|
}
|
|
934
934
|
},
|
|
935
|
-
/* @__PURE__ */ React9.createElement(Text_default, null, "
|
|
935
|
+
/* @__PURE__ */ React9.createElement(Text_default, null, "Transaction ID")
|
|
936
936
|
)
|
|
937
937
|
),
|
|
938
938
|
data.map((item, index) => {
|
|
@@ -953,7 +953,7 @@ var A4TransactionReport = ({
|
|
|
953
953
|
style: {
|
|
954
954
|
padding: 6,
|
|
955
955
|
borderRight: "1px solid black",
|
|
956
|
-
width: "
|
|
956
|
+
width: "8%"
|
|
957
957
|
}
|
|
958
958
|
},
|
|
959
959
|
/* @__PURE__ */ React9.createElement(Text_default, null, index + 1)
|
|
@@ -964,10 +964,10 @@ var A4TransactionReport = ({
|
|
|
964
964
|
style: {
|
|
965
965
|
padding: 6,
|
|
966
966
|
borderRight: "1px solid black",
|
|
967
|
-
width: "
|
|
967
|
+
width: "23%"
|
|
968
968
|
}
|
|
969
969
|
},
|
|
970
|
-
/* @__PURE__ */ React9.createElement(Text_default, null, item.date)
|
|
970
|
+
/* @__PURE__ */ React9.createElement(Text_default, null, item.date, " ", item.time)
|
|
971
971
|
),
|
|
972
972
|
/* @__PURE__ */ React9.createElement(
|
|
973
973
|
View4,
|
|
@@ -975,18 +975,7 @@ var A4TransactionReport = ({
|
|
|
975
975
|
style: {
|
|
976
976
|
padding: 6,
|
|
977
977
|
borderRight: "1px solid black",
|
|
978
|
-
width: "
|
|
979
|
-
}
|
|
980
|
-
},
|
|
981
|
-
/* @__PURE__ */ React9.createElement(Text_default, null, item.time)
|
|
982
|
-
),
|
|
983
|
-
/* @__PURE__ */ React9.createElement(
|
|
984
|
-
View4,
|
|
985
|
-
{
|
|
986
|
-
style: {
|
|
987
|
-
padding: 6,
|
|
988
|
-
borderRight: "1px solid black",
|
|
989
|
-
width: "20%"
|
|
978
|
+
width: "19%"
|
|
990
979
|
}
|
|
991
980
|
},
|
|
992
981
|
/* @__PURE__ */ React9.createElement(Text_default, null, item.invoiceNumber)
|
|
@@ -996,8 +985,7 @@ var A4TransactionReport = ({
|
|
|
996
985
|
{
|
|
997
986
|
style: {
|
|
998
987
|
padding: 6,
|
|
999
|
-
|
|
1000
|
-
width: "40%"
|
|
988
|
+
width: "50%"
|
|
1001
989
|
}
|
|
1002
990
|
},
|
|
1003
991
|
/* @__PURE__ */ React9.createElement(
|
|
@@ -1015,7 +1003,7 @@ var A4TransactionReport = ({
|
|
|
1015
1003
|
style: {
|
|
1016
1004
|
padding: 6,
|
|
1017
1005
|
borderRight: "1px solid black",
|
|
1018
|
-
width: "
|
|
1006
|
+
width: "15%"
|
|
1019
1007
|
}
|
|
1020
1008
|
},
|
|
1021
1009
|
/* @__PURE__ */ React9.createElement(Text_default, null, item.bookingAmount.toLocaleString("en-IN", {
|
|
@@ -1028,7 +1016,8 @@ var A4TransactionReport = ({
|
|
|
1028
1016
|
{
|
|
1029
1017
|
style: {
|
|
1030
1018
|
padding: 6,
|
|
1031
|
-
width: "
|
|
1019
|
+
width: "15%",
|
|
1020
|
+
borderRight: "1px solid black"
|
|
1032
1021
|
}
|
|
1033
1022
|
},
|
|
1034
1023
|
/* @__PURE__ */ React9.createElement(Text_default, null, item.creditedAmount.toLocaleString("en-IN", {
|
|
@@ -1036,6 +1025,15 @@ var A4TransactionReport = ({
|
|
|
1036
1025
|
style: "currency",
|
|
1037
1026
|
currency: "INR"
|
|
1038
1027
|
}))
|
|
1028
|
+
), /* @__PURE__ */ React9.createElement(
|
|
1029
|
+
View4,
|
|
1030
|
+
{
|
|
1031
|
+
style: {
|
|
1032
|
+
padding: 6,
|
|
1033
|
+
width: "20%"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
/* @__PURE__ */ React9.createElement(Text_default, null, item.transactionId)
|
|
1039
1037
|
))
|
|
1040
1038
|
);
|
|
1041
1039
|
})
|
|
@@ -3067,7 +3065,7 @@ var reportPrinter = class {
|
|
|
3067
3065
|
{
|
|
3068
3066
|
family: "Noto Sans Malayalam",
|
|
3069
3067
|
//Malayalam
|
|
3070
|
-
src: "https://
|
|
3068
|
+
src: "https://res.cloudinary.com/dpaigt2bx/raw/upload/v1748450359/Manjari-Regular_nrgfti.ttf"
|
|
3071
3069
|
},
|
|
3072
3070
|
{
|
|
3073
3071
|
family: "Noto Sans Telugu",
|
package/package.json
CHANGED