@verdocs/web-sdk 1.4.7 → 1.5.0
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/cjs/VerdocsEndpoint-5e6dd8ef.js +4780 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-auth.cjs.entry.js +32 -19
- package/dist/cjs/verdocs-dropdown_12.cjs.entry.js +15 -11
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +5 -0
- package/dist/cjs/verdocs-search-activity_2.cjs.entry.js +40 -35
- package/dist/cjs/verdocs-search.cjs.entry.js +6 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +26 -161
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.css +1 -1
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +31 -1
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.js +30 -6
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +26 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.css +1 -4
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +35 -17
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +36 -6
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.css +27 -26
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +40 -23
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js +2 -2
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +26 -0
- package/dist/components/VerdocsEndpoint.js +4766 -0
- package/dist/components/verdocs-auth.js +33 -18
- package/dist/components/verdocs-kba-dialog.js +1 -1
- package/dist/components/verdocs-ok-dialog2.js +1 -1
- package/dist/components/verdocs-quick-functions.js +8 -1
- package/dist/components/verdocs-search-activity2.js +37 -34
- package/dist/components/verdocs-search-box2.js +6 -0
- package/dist/components/verdocs-search.js +9 -2
- package/dist/components/verdocs-sign.js +27 -162
- package/dist/components/verdocs-view2.js +6 -1
- package/dist/custom-elements.json +830 -0
- package/dist/docs.json +117 -3
- package/dist/esm/VerdocsEndpoint-30e1b6ec.js +4766 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-auth.entry.js +32 -19
- package/dist/esm/verdocs-dropdown_12.entry.js +5 -1
- package/dist/esm/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-quick-functions.entry.js +5 -0
- package/dist/esm/verdocs-search-activity_2.entry.js +40 -35
- package/dist/esm/verdocs-search.entry.js +6 -1
- package/dist/esm/verdocs-sign.entry.js +26 -161
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/VerdocsEndpoint-30e1b6ec.js +7 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown_12.entry.js +2 -2
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-activity_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-search.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/elements/verdocs-quick-functions/verdocs-quick-functions.d.ts +5 -0
- package/dist/types/components/elements/verdocs-search-activity/verdocs-search-activity.d.ts +5 -0
- package/dist/types/components/elements/verdocs-search-box/verdocs-search-box.d.ts +5 -0
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +7 -4
- package/dist/types/components/embeds/verdocs-search/verdocs-search.d.ts +5 -0
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +6 -3
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +5 -0
- package/dist/types/components.d.ts +57 -0
- package/dist/verdocs-web-sdk/{p-ed5baeb4.entry.js → p-064453c3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-06f38046.js +1 -0
- package/dist/verdocs-web-sdk/p-16d62a51.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1b4e04b7.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1ea3b9d3.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-30cc8818.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-0353c423.entry.js → p-32ad1014.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-4d80d044.system.js +7 -0
- package/dist/verdocs-web-sdk/{p-432c3151.system.entry.js → p-81fc0196.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-8276345a.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-88a300c5.system.js +1 -1
- package/dist/verdocs-web-sdk/p-9139a76d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a87069d5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-aa9fc574.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c29c2cf8.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-4368df79.system.entry.js → p-c4d03ff9.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a1143ddb.entry.js → p-d522de7d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e2e643c5.system.entry.js → p-e4ba14dc.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-f6a53928.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/Auth-4ec35ac7.js +0 -97
- package/dist/cjs/Token-ac80819a.js +0 -2331
- package/dist/cjs/buffer-es6-bc8199b1.js +0 -2018
- package/dist/components/Auth.js +0 -92
- package/dist/components/Token.js +0 -2325
- package/dist/components/buffer-es6.js +0 -2010
- package/dist/esm/Auth-15cd42a8.js +0 -92
- package/dist/esm/Token-ce37bd9d.js +0 -2325
- package/dist/esm/buffer-es6-136673c8.js +0 -2010
- package/dist/esm-es5/Auth-15cd42a8.js +0 -1
- package/dist/esm-es5/Token-ce37bd9d.js +0 -1
- package/dist/esm-es5/buffer-es6-136673c8.js +0 -7
- package/dist/verdocs-web-sdk/p-0c0b4a10.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2b57857d.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2c161242.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-39633a02.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5dfd73f9.system.js +0 -7
- package/dist/verdocs-web-sdk/p-69ef22bd.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-737b2e99.js +0 -1
- package/dist/verdocs-web-sdk/p-8730dc92.system.js +0 -1
- package/dist/verdocs-web-sdk/p-a7cfe6fc.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b9164c4b.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cec13589.system.js +0 -1
- package/dist/verdocs-web-sdk/p-e6e2894e.js +0 -1
- package/dist/verdocs-web-sdk/p-ea6d6dc7.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ef932a87.js +0 -1
- package/dist/verdocs-web-sdk/p-f0e6fde0.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-fd853e54.system.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["verdocs-sign.cjs",[[0,"verdocs-sign",{"
|
|
17
|
+
return index.bootstrapLazy([["verdocs-sign.cjs",[[0,"verdocs-sign",{"endpoint":[16],"documentid":[1],"roleid":[1],"invitecode":[1],"recipient":[32],"signerToken":[32],"pdfUrl":[32],"recipientIndex":[32],"document":[32],"fields":[32],"pdfPageInfo":[32],"hasSignature":[32],"nextButtonLabel":[32],"focusedField":[32]}]]],["verdocs-auth.cjs",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"debug":[4],"isAuthenticated":[32],"displayMode":[32],"username":[32],"password":[32],"loggingIn":[32],"activeSession":[32],"loginError":[32]}]]],["verdocs-search.cjs",[[0,"verdocs-search",{"endpoint":[16]}]]],["verdocs-kba-dialog.cjs",[[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"choices":[16],"open":[4],"response":[32]}]]],["verdocs-organization-card.cjs",[[0,"verdocs-organization-card",{"organization":[16]}]]],["verdocs-quick-functions.cjs",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["verdocs-search-tabs.cjs",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["verdocs-status-indicator.cjs",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"document":[16],"isOpen":[32],"recipientStatusIcons":[32]}]]],["verdocs-template-card.cjs",[[0,"verdocs-template-card",{"template":[16]}]]],["verdocs-template-tags.cjs",[[0,"verdocs-template-tags",{"tags":[16]}]]],["verdocs-toggle.cjs",[[0,"verdocs-toggle",{"options":[16],"theme":[1]},[[6,"click","handleClick"]]]]],["verdocs-button_2.cjs",[[0,"verdocs-text-input",{"value":[1],"label":[1],"placeholder":[1],"autocomplete":[1],"type":[1],"disabled":[4],"_value":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["verdocs-ok-dialog.cjs",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"open":[4],"cancel":[4]}]]],["verdocs-initial-dialog.cjs",[[0,"verdocs-initial-dialog",{"fullname":[1],"open":[4],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["verdocs-signature-dialog.cjs",[[0,"verdocs-signature-dialog",{"fullname":[1],"open":[4],"fontLoaded":[32],"enteredName":[32],"mode":[32]}]]],["verdocs-upload-dialog.cjs",[[0,"verdocs-upload-dialog",{"open":[4],"draggingOver":[32],"decodedFiles":[32]}]]],["verdocs-search-activity_2.cjs",[[0,"verdocs-search-activity",{"endpoint":[16],"type":[1],"options":[8],"emptyMessage":[32],"authFailure":[32],"title":[32],"recent":[32],"saved":[32],"starred":[32]}],[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1]}]]],["verdocs-loader.cjs",[[0,"verdocs-loader"]]],["verdocs-dropdown_12.cjs",[[0,"verdocs-field-initial",{"required":[4],"fullName":[1,"full-name"],"value":[1],"focusField":[64]}],[0,"verdocs-field-signature",{"required":[4],"fullName":[1,"full-name"],"value":[1],"focusField":[64]}],[0,"verdocs-field-attachment",{"order":[2],"value":[1],"required":[4],"disabled":[4],"focusField":[64]}],[0,"verdocs-view",{"endpoint":[16],"rotation":[2],"source":[1],"token":[1],"loadProgress":[32]}],[0,"verdocs-dropdown",{"options":[16],"open":[4],"isOpen":[32]}],[0,"verdocs-field-checkbox",{"order":[2],"value":[4],"required":[4],"disabled":[4]}],[0,"verdocs-field-date",{"placeholder":[1],"order":[2],"value":[1],"required":[4],"disabled":[4],"focused":[32],"focusField":[64]}],[0,"verdocs-field-dropdown",{"options":[16],"required":[4],"order":[2],"disabled":[4],"value":[1],"focused":[32],"focusField":[64]}],[0,"verdocs-field-payment",{"field":[16],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"focused":[4],"signed":[4],"preparedMessage":[32],"signatureUrl":[32]}],[0,"verdocs-field-radio-button",{"order":[2],"checked":[4],"value":[1],"name":[1],"required":[4],"disabled":[4]}],[0,"verdocs-field-textarea",{"placeholder":[1],"order":[2],"value":[1],"required":[4],"disabled":[4],"focused":[32],"focusField":[64]}],[0,"verdocs-field-textbox",{"placeholder":[1],"order":[2],"value":[1],"required":[4],"disabled":[4],"focused":[32],"focusField":[64]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -3,18 +3,35 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-589f3be8.js');
|
|
6
|
-
const
|
|
7
|
-
const Token = require('./Token-ac80819a.js');
|
|
8
|
-
require('./buffer-es6-bc8199b1.js');
|
|
6
|
+
const VerdocsEndpoint = require('./VerdocsEndpoint-5e6dd8ef.js');
|
|
9
7
|
|
|
10
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Authenticate to Verdocs via user/password authentication
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import {Auth} from '@verdocs/js-sdk/Auth';
|
|
13
|
+
* import {Transport} from '@verdocs/js-sdk/HTTP';
|
|
14
|
+
*
|
|
15
|
+
* const {accessToken} = await Auth.authenticateUser({ username: 'test@test.com', password: 'PASSWORD' });
|
|
16
|
+
* Transport.setAuthToken(accessToken);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
var authenticateUser = function (endpoint, params) {
|
|
20
|
+
return endpoint.api //
|
|
21
|
+
.post('/authentication/login', params)
|
|
22
|
+
.then(function (r) { return r.data; });
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const verdocsAuthCss = "verdocs-auth{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-auth .login-form,verdocs-auth .signup-form{background:#ffffff;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;padding:20px;width:300px;max-width:100%}verdocs-auth .logo{margin:20px 0 30px;width:128px;max-width:100%}verdocs-auth h3{text-align:center;font-weight:400;font-size:16px;line-height:1.75;margin:0}verdocs-auth h4{text-align:center;font-weight:400;font-size:14px;line-height:1.43;margin:0}verdocs-auth .status-result{display:none}verdocs-auth .status-result.debug{white-space:pre-wrap;font-size:14px;background:#fff;padding:10px;display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth form{width:100%}verdocs-auth verdocs-text-input{margin-bottom:10px}";
|
|
11
26
|
|
|
12
|
-
const BASE_URL = 'https://stage-api.verdocs.com/';
|
|
13
|
-
const SOURCE = 'verdocs-stage';
|
|
14
27
|
const VerdocsAuth = class {
|
|
15
28
|
constructor(hostRef) {
|
|
16
29
|
index.registerInstance(this, hostRef);
|
|
17
30
|
this.authenticated = index.createEvent(this, "authenticated", 7);
|
|
31
|
+
/**
|
|
32
|
+
* The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
|
|
33
|
+
*/
|
|
34
|
+
this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
|
|
18
35
|
/**
|
|
19
36
|
* Normally, if the user has a valid session, this embed will be invisible, otherwise it will display
|
|
20
37
|
* login / signup forms. If this is set to false, this embed will be invisible in both cases. Apps may
|
|
@@ -41,16 +58,12 @@ const VerdocsAuth = class {
|
|
|
41
58
|
this.activeSession = null;
|
|
42
59
|
this.loginError = null;
|
|
43
60
|
}
|
|
44
|
-
componentWillLoad() {
|
|
45
|
-
const staging = new Token.VerdocsEndpoint().setBaseURL(BASE_URL);
|
|
46
|
-
Token.setActiveEndpoint(staging);
|
|
47
|
-
}
|
|
48
61
|
componentDidLoad() {
|
|
49
|
-
|
|
50
|
-
if (session !== null) {
|
|
62
|
+
this.endpoint.loadSession();
|
|
63
|
+
if (this.endpoint.session !== null) {
|
|
51
64
|
this.isAuthenticated = true;
|
|
52
|
-
this.activeSession = session;
|
|
53
|
-
this.authenticated.emit({ authenticated: true, session });
|
|
65
|
+
this.activeSession = this.endpoint.session;
|
|
66
|
+
this.authenticated.emit({ authenticated: true, session: this.endpoint.session });
|
|
54
67
|
}
|
|
55
68
|
else {
|
|
56
69
|
this.authenticated.emit({ authenticated: false, session: null });
|
|
@@ -62,13 +75,13 @@ const VerdocsAuth = class {
|
|
|
62
75
|
// }
|
|
63
76
|
handleLogin() {
|
|
64
77
|
this.loggingIn = true;
|
|
65
|
-
|
|
78
|
+
authenticateUser(this.endpoint, { username: this.username, password: this.password })
|
|
66
79
|
.then(r => {
|
|
67
80
|
this.loggingIn = false;
|
|
68
|
-
|
|
69
|
-
this.activeSession = session;
|
|
81
|
+
this.endpoint.setToken(r.accessToken);
|
|
82
|
+
this.activeSession = this.endpoint.session;
|
|
70
83
|
this.isAuthenticated = true;
|
|
71
|
-
this.authenticated.emit({ authenticated: true, session });
|
|
84
|
+
this.authenticated.emit({ authenticated: true, session: this.endpoint.session });
|
|
72
85
|
})
|
|
73
86
|
.catch(e => {
|
|
74
87
|
var _a;
|
|
@@ -82,7 +95,7 @@ const VerdocsAuth = class {
|
|
|
82
95
|
});
|
|
83
96
|
}
|
|
84
97
|
handleLogout() {
|
|
85
|
-
|
|
98
|
+
this.endpoint.clearSession();
|
|
86
99
|
this.isAuthenticated = false;
|
|
87
100
|
this.authenticated.emit({ authenticated: false, session: null });
|
|
88
101
|
}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-589f3be8.js');
|
|
6
6
|
const popper = require('./popper-71bf3058.js');
|
|
7
|
-
const
|
|
7
|
+
const VerdocsEndpoint = require('./VerdocsEndpoint-5e6dd8ef.js');
|
|
8
8
|
|
|
9
9
|
const SortDown = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>
|
|
10
10
|
`;
|
|
@@ -3291,9 +3291,9 @@ const _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
|
|
|
3291
3291
|
'default': _nodeResolve_empty
|
|
3292
3292
|
});
|
|
3293
3293
|
|
|
3294
|
-
const require$$5 = /*@__PURE__*/
|
|
3294
|
+
const require$$5 = /*@__PURE__*/VerdocsEndpoint.getAugmentedNamespace(_nodeResolve_empty$1);
|
|
3295
3295
|
|
|
3296
|
-
var pdf =
|
|
3296
|
+
var pdf = VerdocsEndpoint.createCommonjsModule(function (module, exports) {
|
|
3297
3297
|
/**
|
|
3298
3298
|
* @licstart The following is the entire license notice for the
|
|
3299
3299
|
* Javascript code in this page
|
|
@@ -3318,7 +3318,7 @@ var pdf = bufferEs6.createCommonjsModule(function (module, exports) {
|
|
|
3318
3318
|
|
|
3319
3319
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3320
3320
|
module.exports = factory();
|
|
3321
|
-
})(
|
|
3321
|
+
})(VerdocsEndpoint.commonjsGlobal, function() {
|
|
3322
3322
|
return /******/ (() => { // webpackBootstrap
|
|
3323
3323
|
/******/ var __webpack_modules__ = ([
|
|
3324
3324
|
/* 0 */,
|
|
@@ -4889,7 +4889,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4889
4889
|
value: true
|
|
4890
4890
|
}));
|
|
4891
4891
|
exports.isNodeJS = void 0;
|
|
4892
|
-
const isNodeJS = typeof
|
|
4892
|
+
const isNodeJS = typeof VerdocsEndpoint.process_1 === "object" && VerdocsEndpoint.process_1 + "" === "[object process]" && !VerdocsEndpoint.process_1.versions.nw && !(VerdocsEndpoint.process_1.versions.electron && VerdocsEndpoint.process_1.type && VerdocsEndpoint.process_1.type !== "browser");
|
|
4893
4893
|
exports.isNodeJS = isNodeJS;
|
|
4894
4894
|
|
|
4895
4895
|
/***/ }),
|
|
@@ -5184,7 +5184,7 @@ function getDocument(src) {
|
|
|
5184
5184
|
continue;
|
|
5185
5185
|
|
|
5186
5186
|
case "data":
|
|
5187
|
-
if (_is_node.isNodeJS && typeof
|
|
5187
|
+
if (_is_node.isNodeJS && typeof VerdocsEndpoint.Buffer !== "undefined" && value instanceof VerdocsEndpoint.Buffer) {
|
|
5188
5188
|
params[key] = new Uint8Array(value);
|
|
5189
5189
|
} else if (value instanceof Uint8Array) {
|
|
5190
5190
|
break;
|
|
@@ -6313,7 +6313,7 @@ const PDFWorkerUtil = {
|
|
|
6313
6313
|
fakeWorkerId: 0
|
|
6314
6314
|
};
|
|
6315
6315
|
{
|
|
6316
|
-
if (_is_node.isNodeJS && typeof
|
|
6316
|
+
if (_is_node.isNodeJS && typeof VerdocsEndpoint.commonjsRequire === "function") {
|
|
6317
6317
|
PDFWorkerUtil.isWorkerDisabled = true;
|
|
6318
6318
|
PDFWorkerUtil.fallbackWorkerSrc = "./pdf.worker.js";
|
|
6319
6319
|
} else if (typeof document === "object") {
|
|
@@ -6572,7 +6572,7 @@ class PDFWorker {
|
|
|
6572
6572
|
return mainWorkerMessageHandler;
|
|
6573
6573
|
}
|
|
6574
6574
|
|
|
6575
|
-
if (_is_node.isNodeJS && typeof
|
|
6575
|
+
if (_is_node.isNodeJS && typeof VerdocsEndpoint.commonjsRequire === "function") {
|
|
6576
6576
|
const worker = eval("require")(this.workerSrc);
|
|
6577
6577
|
return worker.WorkerMessageHandler;
|
|
6578
6578
|
}
|
|
@@ -15926,10 +15926,10 @@ exports.SVGGraphics = SVGGraphics;
|
|
|
15926
15926
|
try {
|
|
15927
15927
|
let input;
|
|
15928
15928
|
|
|
15929
|
-
if (parseInt(
|
|
15929
|
+
if (parseInt(VerdocsEndpoint.process_1.versions.node) >= 8) {
|
|
15930
15930
|
input = literals;
|
|
15931
15931
|
} else {
|
|
15932
|
-
input =
|
|
15932
|
+
input = VerdocsEndpoint.Buffer.from(literals);
|
|
15933
15933
|
}
|
|
15934
15934
|
|
|
15935
15935
|
const output = require$$5.deflateSync(input, {
|
|
@@ -19228,7 +19228,7 @@ var _xfa_layer = __w_pdfjs_require__(20);
|
|
|
19228
19228
|
//# sourceMappingURL=pdf.js.map
|
|
19229
19229
|
});
|
|
19230
19230
|
|
|
19231
|
-
const pdf$1 = /*@__PURE__*/
|
|
19231
|
+
const pdf$1 = /*@__PURE__*/VerdocsEndpoint.getDefaultExportFromCjs(pdf);
|
|
19232
19232
|
|
|
19233
19233
|
const integerSequence = (start, count) => Array(count)
|
|
19234
19234
|
.fill(1)
|
|
@@ -19254,6 +19254,10 @@ const VerdocsView = class {
|
|
|
19254
19254
|
this.documentRendered = index.createEvent(this, "documentRendered", 7);
|
|
19255
19255
|
this.numPages = 1;
|
|
19256
19256
|
this.fingerprint = null;
|
|
19257
|
+
/**
|
|
19258
|
+
* The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
|
|
19259
|
+
*/
|
|
19260
|
+
this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
|
|
19257
19261
|
/**
|
|
19258
19262
|
* Rotate the PDF in degrees
|
|
19259
19263
|
*/
|
|
@@ -10,7 +10,7 @@ const Question = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xm
|
|
|
10
10
|
</svg>
|
|
11
11
|
`;
|
|
12
12
|
|
|
13
|
-
const verdocsKbaDialogCss = "verdocs-kba-dialog{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:absolute;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#0000007f}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:14px 0;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border
|
|
13
|
+
const verdocsKbaDialogCss = "verdocs-kba-dialog{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:absolute;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#0000007f}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:14px 0;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-kba-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-kba-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-kba-dialog .buttons verdocs-button{margin-left:16px}";
|
|
14
14
|
|
|
15
15
|
const VerdocsKbaDialog = class {
|
|
16
16
|
constructor(hostRef) {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-589f3be8.js');
|
|
6
6
|
|
|
7
|
-
const verdocsOkDialogCss = "verdocs-ok-dialog{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-ok-dialog .background-overlay{position:absolute;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#0000007f}verdocs-ok-dialog .dialog{max-width:50%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-ok-dialog .heading{display:-ms-flexbox;display:flex;font-size:16px;-ms-flex-direction:row;flex-direction:row;background:#444444;padding:8px 16px;color:#ffffff}verdocs-ok-dialog .content{font-size:
|
|
7
|
+
const verdocsOkDialogCss = "verdocs-ok-dialog{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-ok-dialog .background-overlay{position:absolute;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#0000007f}verdocs-ok-dialog .dialog{max-width:50%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-ok-dialog .heading{display:-ms-flexbox;display:flex;font-size:16px;-ms-flex-direction:row;flex-direction:row;background:#444444;padding:8px 16px;color:#ffffff}verdocs-ok-dialog .content{font-size:16px;background:#ffffff;padding:20px}verdocs-ok-dialog .buttons{display:-ms-flexbox;display:flex;margin:20px 0 0 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}verdocs-ok-dialog .buttons verdocs-button{margin-left:16px}";
|
|
8
8
|
|
|
9
9
|
const VerdocsOkDialog = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-589f3be8.js');
|
|
6
|
+
const VerdocsEndpoint = require('./VerdocsEndpoint-5e6dd8ef.js');
|
|
6
7
|
|
|
7
8
|
const TemplateIcon = `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>`;
|
|
8
9
|
|
|
@@ -15,6 +16,10 @@ const VerdocsQuickFunctions = class {
|
|
|
15
16
|
index.registerInstance(this, hostRef);
|
|
16
17
|
this.createTemplate = index.createEvent(this, "createTemplate", 7);
|
|
17
18
|
this.createDocument = index.createEvent(this, "createDocument", 7);
|
|
19
|
+
/**
|
|
20
|
+
* The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
|
|
21
|
+
*/
|
|
22
|
+
this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
|
|
18
23
|
}
|
|
19
24
|
handleCreateTemplate() {
|
|
20
25
|
this.createTemplate.emit();
|
|
@@ -3,9 +3,31 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-589f3be8.js');
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const VerdocsEndpoint = require('./VerdocsEndpoint-5e6dd8ef.js');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A Template defines how a Verdocs signing flow will be performed, including attachments, signing fields, and
|
|
10
|
+
* recipients.
|
|
11
|
+
*
|
|
12
|
+
* @module
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Get all templates accessible by the caller, with optional filters.
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import {Templates} from '@verdocs/js-sdk/Templates';
|
|
19
|
+
*
|
|
20
|
+
* await Templates.getTemplates();
|
|
21
|
+
* await Templates.getTemplates({ is_starred: true });
|
|
22
|
+
* await Templates.getTemplates({ is_creator: true });
|
|
23
|
+
* await Templates.getTemplates({ is_organization: true });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
var getTemplates = function (endpoint, params) {
|
|
27
|
+
return endpoint.api //
|
|
28
|
+
.get('/templates/', { params: params })
|
|
29
|
+
.then(function (r) { return r.data; });
|
|
30
|
+
};
|
|
9
31
|
|
|
10
32
|
/**
|
|
11
33
|
* Verdocs provides a range of search functions to help find and retrieve content. This module provides generic functions intended
|
|
@@ -60,47 +82,26 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
|
|
|
60
82
|
* const {recent, saved} = await Content.getSearchHistory();
|
|
61
83
|
* ```
|
|
62
84
|
*/
|
|
63
|
-
var getSearchHistory = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
85
|
+
var getSearchHistory = function (endpoint) { return __awaiter(void 0, void 0, void 0, function () {
|
|
64
86
|
return __generator(this, function (_a) {
|
|
65
|
-
return [2 /*return*/,
|
|
66
|
-
.
|
|
87
|
+
return [2 /*return*/, endpoint.api //
|
|
88
|
+
.get('/search/history')
|
|
67
89
|
.then(function (r) { return r.data; })];
|
|
68
90
|
});
|
|
69
91
|
}); };
|
|
70
92
|
|
|
71
|
-
/**
|
|
72
|
-
* A Template defines how a Verdocs signing flow will be performed, including attachments, signing fields, and
|
|
73
|
-
* recipients.
|
|
74
|
-
*
|
|
75
|
-
* @module
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
* Get all templates accessible by the caller, with optional filters.
|
|
79
|
-
*
|
|
80
|
-
* ```typescript
|
|
81
|
-
* import {Templates} from '@verdocs/js-sdk/Templates';
|
|
82
|
-
*
|
|
83
|
-
* await Templates.getTemplates();
|
|
84
|
-
* await Templates.getTemplates({ is_starred: true });
|
|
85
|
-
* await Templates.getTemplates({ is_creator: true });
|
|
86
|
-
* await Templates.getTemplates({ is_organization: true });
|
|
87
|
-
* ```
|
|
88
|
-
*/
|
|
89
|
-
var getTemplates = function (params) {
|
|
90
|
-
return Token.getEndpoint()
|
|
91
|
-
.api.get('/templates/', { params: params })
|
|
92
|
-
.then(function (r) { return r.data; });
|
|
93
|
-
};
|
|
94
|
-
|
|
95
93
|
const DocumentIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>`;
|
|
96
94
|
|
|
97
95
|
const verdocsSearchActivityCss = "verdocs-search-activity{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-search-activity .container{display:-ms-flexbox;display:flex;width:240px;color:#ffffff;-ms-flex-direction:column;flex-direction:column;text-transform:uppercase;padding:10px 10px 20px 10px;background-color:var(--verdocs-background-dark)}verdocs-search-activity .title{font-size:22px;font-weight:700;line-height:30px}verdocs-search-activity .items{display:-ms-flexbox;display:flex;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-search-activity .item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}verdocs-search-activity .item:hover{cursor:pointer}verdocs-search-activity .icon{-ms-flex:0 0 22px;flex:0 0 22px;margin-right:14px}verdocs-search-activity .icon svg{fill:#707ae5;width:22px;height:22px}verdocs-search-activity .details{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column}verdocs-search-activity .item-title{font-size:16px;font-weight:400;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-search-activity .info{font-size:14px;font-weight:500;line-height:23px;color:#aeb4bf}verdocs-search-activity .empty{text-transform:none;line-height:22px;color:#ccc}";
|
|
98
96
|
|
|
99
|
-
const SOURCE = 'verdocs-stage';
|
|
100
97
|
const VerdocsSearchActivity = class {
|
|
101
98
|
constructor(hostRef) {
|
|
102
99
|
index.registerInstance(this, hostRef);
|
|
103
100
|
this.entrySelected = index.createEvent(this, "entrySelected", 7);
|
|
101
|
+
/**
|
|
102
|
+
* The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
|
|
103
|
+
*/
|
|
104
|
+
this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
|
|
104
105
|
this.type = 'recent';
|
|
105
106
|
this.emptyMessage = 'You do not have any starred searches.';
|
|
106
107
|
this.authFailure = false;
|
|
@@ -110,7 +111,7 @@ const VerdocsSearchActivity = class {
|
|
|
110
111
|
this.starred = [];
|
|
111
112
|
}
|
|
112
113
|
componentWillLoad() {
|
|
113
|
-
|
|
114
|
+
this.endpoint.loadSession();
|
|
114
115
|
const errorHandler = e => {
|
|
115
116
|
var _a;
|
|
116
117
|
console.warn('[Verdocs/search-activity] Error getting search data', e);
|
|
@@ -122,21 +123,21 @@ const VerdocsSearchActivity = class {
|
|
|
122
123
|
case 'recent':
|
|
123
124
|
this.title = 'Recent Searches';
|
|
124
125
|
this.emptyMessage = 'You do not have any recent searches.';
|
|
125
|
-
getSearchHistory()
|
|
126
|
+
getSearchHistory(this.endpoint)
|
|
126
127
|
.then(r => (this.recent = r.recent))
|
|
127
128
|
.catch(errorHandler);
|
|
128
129
|
break;
|
|
129
130
|
case 'saved':
|
|
130
131
|
this.title = 'Saved Searches';
|
|
131
132
|
this.emptyMessage = 'You do not have any saved searches.';
|
|
132
|
-
getSearchHistory()
|
|
133
|
+
getSearchHistory(this.endpoint)
|
|
133
134
|
.then(r => (this.saved = r.saved))
|
|
134
135
|
.catch(errorHandler);
|
|
135
136
|
break;
|
|
136
137
|
case 'starred':
|
|
137
138
|
this.title = 'My Starred items';
|
|
138
139
|
this.emptyMessage = 'You do not have any starred templates.';
|
|
139
|
-
getTemplates({ is_starred: true })
|
|
140
|
+
getTemplates(this.endpoint, { is_starred: true })
|
|
140
141
|
.then(r => (this.starred = r))
|
|
141
142
|
.catch(errorHandler);
|
|
142
143
|
break;
|
|
@@ -189,6 +190,10 @@ const VerdocsSearchBox = class {
|
|
|
189
190
|
this.searchClicked = index.createEvent(this, "searchClicked", 7);
|
|
190
191
|
this.typeChanged = index.createEvent(this, "typeChanged", 7);
|
|
191
192
|
this.queryChanged = index.createEvent(this, "queryChanged", 7);
|
|
193
|
+
/**
|
|
194
|
+
* The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
|
|
195
|
+
*/
|
|
196
|
+
this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
|
|
192
197
|
/**
|
|
193
198
|
* The placeholder to display in the input field.
|
|
194
199
|
*/
|
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-589f3be8.js');
|
|
6
|
+
const VerdocsEndpoint = require('./VerdocsEndpoint-5e6dd8ef.js');
|
|
6
7
|
|
|
7
8
|
const verdocsSearchCss = "verdocs-search{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;background-color:#1e2031}verdocs-search search-box{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:20px 10px}verdocs-search .boxes{-ms-flex-wrap:wrap;flex-wrap:wrap;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:20px 0}verdocs-search search-recent,verdocs-search search-saved,verdocs-search search-quick-functions,verdocs-search search-starred{display:-ms-flexbox;display:flex;margin:0 20px 20px 0}";
|
|
8
9
|
|
|
9
10
|
const VerdocsSearch = class {
|
|
10
11
|
constructor(hostRef) {
|
|
11
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
|
|
15
|
+
*/
|
|
16
|
+
this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
|
|
12
17
|
}
|
|
13
18
|
render() {
|
|
14
|
-
return (index.h("div", { class: "container" }, index.h("verdocs-search-box",
|
|
19
|
+
return (index.h("div", { class: "container" }, index.h("verdocs-search-box", { endpoint: this.endpoint }), index.h("div", { class: "boxes" }, index.h("verdocs-search-activity", { type: "recent", endpoint: this.endpoint }), index.h("verdocs-search-activity", { type: "saved", endpoint: this.endpoint }), index.h("verdocs-search-activity", { type: "starred", endpoint: this.endpoint }), index.h("search-quick-functions", { endpoint: this.endpoint }))));
|
|
15
20
|
}
|
|
16
21
|
};
|
|
17
22
|
VerdocsSearch.style = verdocsSearchCss;
|