@activepieces/piece-pdfcrowd 0.0.2 → 0.0.4
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 +8 -17
- package/src/index.js.map +1 -1
- package/src/lib/actions/html-to-pdf.d.ts +82 -4
- package/src/lib/actions/html-to-pdf.js +626 -46
- package/src/lib/actions/html-to-pdf.js.map +1 -1
- package/src/lib/actions/url-to-pdf.d.ts +82 -4
- package/src/lib/actions/url-to-pdf.js +621 -39
- package/src/lib/actions/url-to-pdf.js.map +1 -1
- package/src/lib/common/auth.js +21 -0
- package/src/lib/common/auth.js.map +1 -1
- package/src/lib/common/client.d.ts +2 -0
- package/src/lib/common/client.js +6 -1
- package/src/lib/common/client.js.map +1 -1
- package/README.md +0 -7
- package/src/i18n/de.json +0 -96
- package/src/i18n/es.json +0 -96
- package/src/i18n/fr.json +0 -96
- package/src/i18n/ja.json +0 -96
- package/src/i18n/nl.json +0 -96
- package/src/i18n/pt.json +0 -96
- package/src/i18n/translation.json +0 -96
- package/src/i18n/zh.json +0 -96
package/package.json
CHANGED
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-pdfcrowd",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"axios-retry": "4.4.1",
|
|
12
|
-
"deepmerge-ts": "7.1.0",
|
|
8
|
+
"@activepieces/pieces-common": "0.11.7",
|
|
9
|
+
"@activepieces/pieces-framework": "0.25.6",
|
|
10
|
+
"@activepieces/shared": "0.41.1",
|
|
13
11
|
"form-data": "^4.0.0",
|
|
14
|
-
"
|
|
15
|
-
"nanoid": "3.3.8",
|
|
16
|
-
"semver": "7.6.0",
|
|
17
|
-
"socket.io-client": "4.8.1",
|
|
18
|
-
"tslib": "^2.3.0",
|
|
19
|
-
"zod": "4.1.13",
|
|
20
|
-
"@activepieces/pieces-common": "0.11.5",
|
|
21
|
-
"@activepieces/pieces-framework": "0.25.3",
|
|
22
|
-
"@activepieces/shared": "0.36.0"
|
|
12
|
+
"tslib": "^2.3.0"
|
|
23
13
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -p tsconfig.lib.json && cp package.json dist/",
|
|
16
|
+
"lint": "eslint 'src/**/*.ts'"
|
|
26
17
|
}
|
|
27
18
|
}
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA6D;AAC7D,4CAAiD;AACjD,yDAA0D;AAC1D,2DAA4D;AAC5D,iDAAqD;AACrD,+DAAwE;AACxE,gDAA+C;AAElC,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC;IAClC,WAAW,EAAE,UAAU;IACvB,IAAI,EAAE,mBAAY;IAClB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,kDAAkD;IAC3D,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC;IACpC,UAAU,EAAE,CAAC,sBAAa,CAAC,iBAAiB,CAAC;IAC7C,WAAW,EACT,oEAAoE;IACtE,OAAO,EAAE;QACP,2BAAc;QACd,6BAAe;QACf,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,mBAAY;YAClB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAQ;YACvB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,OAAO;oBACL,aAAa,EAAE,SAAS,MAAM,CAAC,IAAI,CACjC,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,CACpC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;iBACvB,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
|
|
@@ -9,14 +9,92 @@ export declare const htmlToPdfAction: import("@activepieces/pieces-framework").I
|
|
|
9
9
|
margin_right: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
10
10
|
margin_bottom: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
11
11
|
margin_left: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
12
|
+
no_margins: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
13
|
+
print_page_range: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
12
14
|
content_viewport_width: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
15
|
+
content_viewport_height: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
16
|
+
content_fit_mode: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
17
|
+
remove_blank_pages: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
18
|
+
header_url: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
19
|
+
header_html: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
20
|
+
header_height: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
21
|
+
footer_url: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
22
|
+
footer_html: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
23
|
+
footer_height: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
24
|
+
no_header_footer_horizontal_margins: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
25
|
+
exclude_header_on_pages: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
26
|
+
exclude_footer_on_pages: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
27
|
+
header_footer_scale_factor: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
28
|
+
page_numbering_offset: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
29
|
+
page_watermark_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
30
|
+
multipage_watermark_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
31
|
+
page_background_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
32
|
+
multipage_background_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
33
|
+
page_background_color: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
34
|
+
use_print_media: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
35
|
+
no_background: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
36
|
+
disable_javascript: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
37
|
+
disable_image_loading: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
38
|
+
disable_remote_fonts: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
39
|
+
load_iframes: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
40
|
+
block_ads: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
41
|
+
default_encoding: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
42
|
+
locale: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
43
|
+
http_auth_user_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
44
|
+
http_auth_password: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
45
|
+
cookies: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
46
|
+
verify_ssl_certificates: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
47
|
+
fail_on_main_url_error: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
48
|
+
fail_on_any_url_error: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
49
|
+
css_page_rule_mode: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
13
50
|
custom_css: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
14
51
|
custom_javascript: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
52
|
+
on_load_javascript: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
53
|
+
custom_http_header: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
54
|
+
javascript_delay: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
15
55
|
element_to_convert: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
56
|
+
element_to_convert_mode: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
57
|
+
wait_for_element: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
58
|
+
auto_detect_element_to_convert: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
59
|
+
readability_enhancements: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
60
|
+
scale_factor: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
61
|
+
jpeg_quality: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
62
|
+
convert_images_to_jpeg: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
63
|
+
image_dpi: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
64
|
+
enable_pdf_forms: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
65
|
+
linearize: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
66
|
+
encrypt: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
67
|
+
user_password: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
68
|
+
owner_password: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
69
|
+
no_print: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
70
|
+
no_modify: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
71
|
+
no_copy: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
72
|
+
title: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
73
|
+
subject: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
74
|
+
author: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
75
|
+
keywords: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
76
|
+
extract_meta_tags: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
77
|
+
page_layout: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
78
|
+
page_mode: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
79
|
+
initial_zoom_type: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
80
|
+
initial_page: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
81
|
+
initial_zoom: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
82
|
+
hide_toolbar: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
83
|
+
hide_menubar: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
84
|
+
hide_window_ui: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
85
|
+
fit_window: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
86
|
+
center_window: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
87
|
+
display_title: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
88
|
+
right_to_left: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
89
|
+
debug_log: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
90
|
+
tag: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
91
|
+
http_proxy: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
92
|
+
https_proxy: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
93
|
+
layout_dpi: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
94
|
+
main_document_css_annotation: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
95
|
+
header_footer_css_annotation: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
96
|
+
conversion_config: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
97
|
+
converter_version: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
20
98
|
page_watermark: import("@activepieces/pieces-framework").FileProperty<false>;
|
|
21
99
|
multipage_watermark: import("@activepieces/pieces-framework").FileProperty<false>;
|
|
22
100
|
page_background: import("@activepieces/pieces-framework").FileProperty<false>;
|