@codezee/sixtify-brahma 0.2.106 → 0.2.107
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/package.json +1 -1
- package/packages/shared-components/dist/utils/downloadPrintHtml.d.ts +2 -0
- package/packages/shared-components/dist/utils/downloadPrintHtml.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/{downloadHtmlAsImageOrPdf.js → downloadPrintHtml.js} +3 -3
- package/packages/shared-components/dist/utils/index.d.ts +2 -1
- package/packages/shared-components/dist/utils/index.d.ts.map +1 -1
- package/packages/shared-components/dist/utils/index.js +2 -1
- package/packages/shared-components/dist/utils/downloadHtmlAsImageOrPdf.d.ts +0 -2
- package/packages/shared-components/dist/utils/downloadHtmlAsImageOrPdf.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"downloadPrintHtml.d.ts","sourceRoot":"","sources":["../../src/utils/downloadPrintHtml.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,GAC5B,SAAS,WAAW,GAAG,IAAI,EAC3B,QAAQ,OAAO,GAAG,OAAO,EACzB,iBAAoB,kBA8ErB,CAAC"}
|
package/packages/shared-components/dist/utils/{downloadHtmlAsImageOrPdf.js → downloadPrintHtml.js}
RENAMED
|
@@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.downloadPrintHtml = void 0;
|
|
7
7
|
const html2canvas_1 = __importDefault(require("html2canvas"));
|
|
8
8
|
let isPrinting = false;
|
|
9
|
-
const
|
|
9
|
+
const downloadPrintHtml = async (element, action, filename = "section") => {
|
|
10
10
|
if (!element) {
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
@@ -65,4 +65,4 @@ const downloadOrPrintSection = async (element, action, filename = "section") =>
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
68
|
+
exports.downloadPrintHtml = downloadPrintHtml;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export * from "./colorVariant";
|
|
2
2
|
export * from "./date";
|
|
3
3
|
export * from "./download";
|
|
4
|
+
export * from "./downloadPrintHtml";
|
|
4
5
|
export * from "./file";
|
|
5
6
|
export * from "./hooks/useDialogActions";
|
|
7
|
+
export * from "./hooks/useGetDeviceType";
|
|
6
8
|
export * from "./regex";
|
|
7
9
|
export * from "./theme/colorPaletteUI";
|
|
8
10
|
export * from "./theme/theme";
|
|
9
11
|
export * from "./urlToNestedObject";
|
|
10
|
-
export * from "./hooks/useGetDeviceType";
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
|
|
@@ -17,10 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./colorVariant"), exports);
|
|
18
18
|
__exportStar(require("./date"), exports);
|
|
19
19
|
__exportStar(require("./download"), exports);
|
|
20
|
+
__exportStar(require("./downloadPrintHtml"), exports);
|
|
20
21
|
__exportStar(require("./file"), exports);
|
|
21
22
|
__exportStar(require("./hooks/useDialogActions"), exports);
|
|
23
|
+
__exportStar(require("./hooks/useGetDeviceType"), exports);
|
|
22
24
|
__exportStar(require("./regex"), exports);
|
|
23
25
|
__exportStar(require("./theme/colorPaletteUI"), exports);
|
|
24
26
|
__exportStar(require("./theme/theme"), exports);
|
|
25
27
|
__exportStar(require("./urlToNestedObject"), exports);
|
|
26
|
-
__exportStar(require("./hooks/useGetDeviceType"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"downloadHtmlAsImageOrPdf.d.ts","sourceRoot":"","sources":["../../src/utils/downloadHtmlAsImageOrPdf.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,GACjC,SAAS,WAAW,GAAG,IAAI,EAC3B,QAAQ,OAAO,GAAG,OAAO,EACzB,iBAAoB,kBA8ErB,CAAC"}
|