@theia/mini-browser 1.45.0 → 1.46.0-next.72
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/README.md +45 -45
- package/lib/browser/environment/mini-browser-environment-module.d.ts +3 -3
- package/lib/browser/environment/mini-browser-environment-module.js +24 -24
- package/lib/browser/environment/mini-browser-environment.d.ts +25 -25
- package/lib/browser/environment/mini-browser-environment.js +95 -95
- package/lib/browser/environment/mini-browser-environment.js.map +1 -1
- package/lib/browser/location-mapper-service.d.ts +58 -58
- package/lib/browser/location-mapper-service.js +140 -140
- package/lib/browser/mini-browser-content-style.d.ts +17 -17
- package/lib/browser/mini-browser-content-style.js +36 -36
- package/lib/browser/mini-browser-content.d.ts +177 -177
- package/lib/browser/mini-browser-content.js +554 -554
- package/lib/browser/mini-browser-frontend-module.d.ts +4 -4
- package/lib/browser/mini-browser-frontend-module.js +70 -70
- package/lib/browser/mini-browser-frontend-security-warnings.d.ts +11 -11
- package/lib/browser/mini-browser-frontend-security-warnings.js +73 -73
- package/lib/browser/mini-browser-open-handler.d.ts +76 -76
- package/lib/browser/mini-browser-open-handler.js +292 -292
- package/lib/browser/mini-browser.d.ts +25 -25
- package/lib/browser/mini-browser.js +118 -118
- package/lib/common/mini-browser-endpoint.d.ts +12 -12
- package/lib/common/mini-browser-endpoint.js +31 -31
- package/lib/common/mini-browser-service.d.ts +14 -14
- package/lib/common/mini-browser-service.js +20 -20
- package/lib/electron-browser/environment/electron-mini-browser-environment-module.d.ts +3 -3
- package/lib/electron-browser/environment/electron-mini-browser-environment-module.js +25 -25
- package/lib/electron-browser/environment/electron-mini-browser-environment.d.ts +9 -9
- package/lib/electron-browser/environment/electron-mini-browser-environment.js +60 -60
- package/lib/electron-main/mini-browser-electron-main-contribution.d.ts +12 -12
- package/lib/electron-main/mini-browser-electron-main-contribution.js +54 -54
- package/lib/node/mini-browser-backend-module.d.ts +3 -3
- package/lib/node/mini-browser-backend-module.js +41 -41
- package/lib/node/mini-browser-backend-security-warnings.d.ts +5 -5
- package/lib/node/mini-browser-backend-security-warnings.js +51 -51
- package/lib/node/mini-browser-endpoint.d.ts +97 -97
- package/lib/node/mini-browser-endpoint.js +268 -268
- package/lib/node/mini-browser-endpoint.js.map +1 -1
- package/lib/node/mini-browser-ws-validator.d.ts +12 -12
- package/lib/node/mini-browser-ws-validator.js +69 -69
- package/lib/package.spec.js +18 -18
- package/package.json +5 -6
- package/src/browser/environment/mini-browser-environment-module.ts +24 -24
- package/src/browser/environment/mini-browser-environment.ts +87 -87
- package/src/browser/location-mapper-service.ts +150 -150
- package/src/browser/mini-browser-content-style.ts +32 -32
- package/src/browser/mini-browser-content.ts +630 -630
- package/src/browser/mini-browser-frontend-module.ts +86 -86
- package/src/browser/mini-browser-frontend-security-warnings.ts +59 -59
- package/src/browser/mini-browser-open-handler.ts +312 -312
- package/src/browser/mini-browser.ts +110 -110
- package/src/browser/pdfobject.d.ts +99 -99
- package/src/browser/style/index.css +157 -157
- package/src/browser/style/mini-browser.svg +17 -17
- package/src/common/mini-browser-endpoint.ts +28 -28
- package/src/common/mini-browser-service.ts +29 -29
- package/src/electron-browser/environment/electron-mini-browser-environment-module.ts +25 -25
- package/src/electron-browser/environment/electron-mini-browser-environment.ts +53 -53
- package/src/electron-main/mini-browser-electron-main-contribution.ts +42 -42
- package/src/node/mini-browser-backend-module.ts +41 -41
- package/src/node/mini-browser-backend-security-warnings.ts +45 -45
- package/src/node/mini-browser-endpoint.ts +315 -315
- package/src/node/mini-browser-ws-validator.ts +56 -56
- package/src/package.spec.ts +21 -21
|
@@ -1,141 +1,141 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2018 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.FileLocationMapper = exports.LocationWithoutSchemeMapper = exports.HttpsLocationMapper = exports.HttpLocationMapper = exports.LocationMapperService = exports.LocationMapper = void 0;
|
|
28
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
29
|
-
const uri_1 = require("@theia/core/lib/common/uri");
|
|
30
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
31
|
-
const types_1 = require("@theia/core/lib/common/types");
|
|
32
|
-
const contribution_provider_1 = require("@theia/core/lib/common/contribution-provider");
|
|
33
|
-
const mini_browser_environment_1 = require("./environment/mini-browser-environment");
|
|
34
|
-
/**
|
|
35
|
-
* Contribution for the `LocationMapperService`.
|
|
36
|
-
*/
|
|
37
|
-
exports.LocationMapper = Symbol('LocationMapper');
|
|
38
|
-
/**
|
|
39
|
-
* Location mapper service.
|
|
40
|
-
*/
|
|
41
|
-
let LocationMapperService = class LocationMapperService {
|
|
42
|
-
async map(location) {
|
|
43
|
-
const contributions = await this.prioritize(location);
|
|
44
|
-
if (contributions.length === 0) {
|
|
45
|
-
return this.defaultMapper()(location);
|
|
46
|
-
}
|
|
47
|
-
return contributions[0].map(location);
|
|
48
|
-
}
|
|
49
|
-
defaultMapper() {
|
|
50
|
-
return location => `${new browser_1.Endpoint().httpScheme}//${location}`;
|
|
51
|
-
}
|
|
52
|
-
async prioritize(location) {
|
|
53
|
-
const prioritized = await types_1.Prioritizeable.prioritizeAll(this.getContributions(), contribution => contribution.canHandle(location));
|
|
54
|
-
return prioritized.map(p => p.value);
|
|
55
|
-
}
|
|
56
|
-
getContributions() {
|
|
57
|
-
return this.contributions.getContributions();
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, inversify_1.inject)(contribution_provider_1.ContributionProvider),
|
|
62
|
-
(0, inversify_1.named)(exports.LocationMapper),
|
|
63
|
-
__metadata("design:type", Object)
|
|
64
|
-
], LocationMapperService.prototype, "contributions", void 0);
|
|
65
|
-
LocationMapperService = __decorate([
|
|
66
|
-
(0, inversify_1.injectable)()
|
|
67
|
-
], LocationMapperService);
|
|
68
|
-
exports.LocationMapperService = LocationMapperService;
|
|
69
|
-
/**
|
|
70
|
-
* HTTP location mapper.
|
|
71
|
-
*/
|
|
72
|
-
let HttpLocationMapper = class HttpLocationMapper {
|
|
73
|
-
canHandle(location) {
|
|
74
|
-
return location.startsWith('http://') ? 1 : 0;
|
|
75
|
-
}
|
|
76
|
-
map(location) {
|
|
77
|
-
return location;
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
HttpLocationMapper = __decorate([
|
|
81
|
-
(0, inversify_1.injectable)()
|
|
82
|
-
], HttpLocationMapper);
|
|
83
|
-
exports.HttpLocationMapper = HttpLocationMapper;
|
|
84
|
-
/**
|
|
85
|
-
* HTTPS location mapper.
|
|
86
|
-
*/
|
|
87
|
-
let HttpsLocationMapper = class HttpsLocationMapper {
|
|
88
|
-
canHandle(location) {
|
|
89
|
-
return location.startsWith('https://') ? 1 : 0;
|
|
90
|
-
}
|
|
91
|
-
map(location) {
|
|
92
|
-
return location;
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
HttpsLocationMapper = __decorate([
|
|
96
|
-
(0, inversify_1.injectable)()
|
|
97
|
-
], HttpsLocationMapper);
|
|
98
|
-
exports.HttpsLocationMapper = HttpsLocationMapper;
|
|
99
|
-
/**
|
|
100
|
-
* Location mapper for locations without a scheme.
|
|
101
|
-
*/
|
|
102
|
-
let LocationWithoutSchemeMapper = class LocationWithoutSchemeMapper {
|
|
103
|
-
canHandle(location) {
|
|
104
|
-
return new uri_1.default(location).scheme === '' ? 1 : 0;
|
|
105
|
-
}
|
|
106
|
-
map(location) {
|
|
107
|
-
return `http://${location}`;
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
LocationWithoutSchemeMapper = __decorate([
|
|
111
|
-
(0, inversify_1.injectable)()
|
|
112
|
-
], LocationWithoutSchemeMapper);
|
|
113
|
-
exports.LocationWithoutSchemeMapper = LocationWithoutSchemeMapper;
|
|
114
|
-
/**
|
|
115
|
-
* `file` URI location mapper.
|
|
116
|
-
*/
|
|
117
|
-
let FileLocationMapper = class FileLocationMapper {
|
|
118
|
-
canHandle(location) {
|
|
119
|
-
return location.startsWith('file://') ? 1 : 0;
|
|
120
|
-
}
|
|
121
|
-
async map(location) {
|
|
122
|
-
const uri = new uri_1.default(location);
|
|
123
|
-
if (uri.scheme !== 'file') {
|
|
124
|
-
throw new Error(`Only URIs with 'file' scheme can be mapped to an URL. URI was: ${uri}.`);
|
|
125
|
-
}
|
|
126
|
-
let rawLocation = uri.path.toString();
|
|
127
|
-
if (rawLocation.charAt(0) === '/') {
|
|
128
|
-
rawLocation = rawLocation.substring(1);
|
|
129
|
-
}
|
|
130
|
-
return this.miniBrowserEnvironment.getRandomEndpoint().getRestUrl().resolve(rawLocation).toString();
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
__decorate([
|
|
134
|
-
(0, inversify_1.inject)(mini_browser_environment_1.MiniBrowserEnvironment),
|
|
135
|
-
__metadata("design:type", mini_browser_environment_1.MiniBrowserEnvironment)
|
|
136
|
-
], FileLocationMapper.prototype, "miniBrowserEnvironment", void 0);
|
|
137
|
-
FileLocationMapper = __decorate([
|
|
138
|
-
(0, inversify_1.injectable)()
|
|
139
|
-
], FileLocationMapper);
|
|
140
|
-
exports.FileLocationMapper = FileLocationMapper;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.FileLocationMapper = exports.LocationWithoutSchemeMapper = exports.HttpsLocationMapper = exports.HttpLocationMapper = exports.LocationMapperService = exports.LocationMapper = void 0;
|
|
28
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
29
|
+
const uri_1 = require("@theia/core/lib/common/uri");
|
|
30
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
31
|
+
const types_1 = require("@theia/core/lib/common/types");
|
|
32
|
+
const contribution_provider_1 = require("@theia/core/lib/common/contribution-provider");
|
|
33
|
+
const mini_browser_environment_1 = require("./environment/mini-browser-environment");
|
|
34
|
+
/**
|
|
35
|
+
* Contribution for the `LocationMapperService`.
|
|
36
|
+
*/
|
|
37
|
+
exports.LocationMapper = Symbol('LocationMapper');
|
|
38
|
+
/**
|
|
39
|
+
* Location mapper service.
|
|
40
|
+
*/
|
|
41
|
+
let LocationMapperService = class LocationMapperService {
|
|
42
|
+
async map(location) {
|
|
43
|
+
const contributions = await this.prioritize(location);
|
|
44
|
+
if (contributions.length === 0) {
|
|
45
|
+
return this.defaultMapper()(location);
|
|
46
|
+
}
|
|
47
|
+
return contributions[0].map(location);
|
|
48
|
+
}
|
|
49
|
+
defaultMapper() {
|
|
50
|
+
return location => `${new browser_1.Endpoint().httpScheme}//${location}`;
|
|
51
|
+
}
|
|
52
|
+
async prioritize(location) {
|
|
53
|
+
const prioritized = await types_1.Prioritizeable.prioritizeAll(this.getContributions(), contribution => contribution.canHandle(location));
|
|
54
|
+
return prioritized.map(p => p.value);
|
|
55
|
+
}
|
|
56
|
+
getContributions() {
|
|
57
|
+
return this.contributions.getContributions();
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, inversify_1.inject)(contribution_provider_1.ContributionProvider),
|
|
62
|
+
(0, inversify_1.named)(exports.LocationMapper),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], LocationMapperService.prototype, "contributions", void 0);
|
|
65
|
+
LocationMapperService = __decorate([
|
|
66
|
+
(0, inversify_1.injectable)()
|
|
67
|
+
], LocationMapperService);
|
|
68
|
+
exports.LocationMapperService = LocationMapperService;
|
|
69
|
+
/**
|
|
70
|
+
* HTTP location mapper.
|
|
71
|
+
*/
|
|
72
|
+
let HttpLocationMapper = class HttpLocationMapper {
|
|
73
|
+
canHandle(location) {
|
|
74
|
+
return location.startsWith('http://') ? 1 : 0;
|
|
75
|
+
}
|
|
76
|
+
map(location) {
|
|
77
|
+
return location;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
HttpLocationMapper = __decorate([
|
|
81
|
+
(0, inversify_1.injectable)()
|
|
82
|
+
], HttpLocationMapper);
|
|
83
|
+
exports.HttpLocationMapper = HttpLocationMapper;
|
|
84
|
+
/**
|
|
85
|
+
* HTTPS location mapper.
|
|
86
|
+
*/
|
|
87
|
+
let HttpsLocationMapper = class HttpsLocationMapper {
|
|
88
|
+
canHandle(location) {
|
|
89
|
+
return location.startsWith('https://') ? 1 : 0;
|
|
90
|
+
}
|
|
91
|
+
map(location) {
|
|
92
|
+
return location;
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
HttpsLocationMapper = __decorate([
|
|
96
|
+
(0, inversify_1.injectable)()
|
|
97
|
+
], HttpsLocationMapper);
|
|
98
|
+
exports.HttpsLocationMapper = HttpsLocationMapper;
|
|
99
|
+
/**
|
|
100
|
+
* Location mapper for locations without a scheme.
|
|
101
|
+
*/
|
|
102
|
+
let LocationWithoutSchemeMapper = class LocationWithoutSchemeMapper {
|
|
103
|
+
canHandle(location) {
|
|
104
|
+
return new uri_1.default(location).scheme === '' ? 1 : 0;
|
|
105
|
+
}
|
|
106
|
+
map(location) {
|
|
107
|
+
return `http://${location}`;
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
LocationWithoutSchemeMapper = __decorate([
|
|
111
|
+
(0, inversify_1.injectable)()
|
|
112
|
+
], LocationWithoutSchemeMapper);
|
|
113
|
+
exports.LocationWithoutSchemeMapper = LocationWithoutSchemeMapper;
|
|
114
|
+
/**
|
|
115
|
+
* `file` URI location mapper.
|
|
116
|
+
*/
|
|
117
|
+
let FileLocationMapper = class FileLocationMapper {
|
|
118
|
+
canHandle(location) {
|
|
119
|
+
return location.startsWith('file://') ? 1 : 0;
|
|
120
|
+
}
|
|
121
|
+
async map(location) {
|
|
122
|
+
const uri = new uri_1.default(location);
|
|
123
|
+
if (uri.scheme !== 'file') {
|
|
124
|
+
throw new Error(`Only URIs with 'file' scheme can be mapped to an URL. URI was: ${uri}.`);
|
|
125
|
+
}
|
|
126
|
+
let rawLocation = uri.path.toString();
|
|
127
|
+
if (rawLocation.charAt(0) === '/') {
|
|
128
|
+
rawLocation = rawLocation.substring(1);
|
|
129
|
+
}
|
|
130
|
+
return this.miniBrowserEnvironment.getRandomEndpoint().getRestUrl().resolve(rawLocation).toString();
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, inversify_1.inject)(mini_browser_environment_1.MiniBrowserEnvironment),
|
|
135
|
+
__metadata("design:type", mini_browser_environment_1.MiniBrowserEnvironment)
|
|
136
|
+
], FileLocationMapper.prototype, "miniBrowserEnvironment", void 0);
|
|
137
|
+
FileLocationMapper = __decorate([
|
|
138
|
+
(0, inversify_1.injectable)()
|
|
139
|
+
], FileLocationMapper);
|
|
140
|
+
exports.FileLocationMapper = FileLocationMapper;
|
|
141
141
|
//# sourceMappingURL=location-mapper-service.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare namespace MiniBrowserContentStyle {
|
|
2
|
-
const MINI_BROWSER = "theia-mini-browser";
|
|
3
|
-
const TOOLBAR = "theia-mini-browser-toolbar";
|
|
4
|
-
const TOOLBAR_READ_ONLY = "theia-mini-browser-toolbar-read-only";
|
|
5
|
-
const PRE_LOAD = "theia-mini-browser-load-indicator";
|
|
6
|
-
const FADE_OUT = "theia-fade-out";
|
|
7
|
-
const CONTENT_AREA = "theia-mini-browser-content-area";
|
|
8
|
-
const PDF_CONTAINER = "theia-mini-browser-pdf-container";
|
|
9
|
-
const PREVIOUS = "theia-mini-browser-previous";
|
|
10
|
-
const NEXT = "theia-mini-browser-next";
|
|
11
|
-
const REFRESH = "theia-mini-browser-refresh";
|
|
12
|
-
const OPEN = "theia-mini-browser-open";
|
|
13
|
-
const BUTTON = "theia-mini-browser-button";
|
|
14
|
-
const DISABLED = "theia-mini-browser-button-disabled";
|
|
15
|
-
const TRANSPARENT_OVERLAY = "theia-transparent-overlay";
|
|
16
|
-
const ERROR_BAR = "theia-mini-browser-error-bar";
|
|
17
|
-
}
|
|
1
|
+
export declare namespace MiniBrowserContentStyle {
|
|
2
|
+
const MINI_BROWSER = "theia-mini-browser";
|
|
3
|
+
const TOOLBAR = "theia-mini-browser-toolbar";
|
|
4
|
+
const TOOLBAR_READ_ONLY = "theia-mini-browser-toolbar-read-only";
|
|
5
|
+
const PRE_LOAD = "theia-mini-browser-load-indicator";
|
|
6
|
+
const FADE_OUT = "theia-fade-out";
|
|
7
|
+
const CONTENT_AREA = "theia-mini-browser-content-area";
|
|
8
|
+
const PDF_CONTAINER = "theia-mini-browser-pdf-container";
|
|
9
|
+
const PREVIOUS = "theia-mini-browser-previous";
|
|
10
|
+
const NEXT = "theia-mini-browser-next";
|
|
11
|
+
const REFRESH = "theia-mini-browser-refresh";
|
|
12
|
+
const OPEN = "theia-mini-browser-open";
|
|
13
|
+
const BUTTON = "theia-mini-browser-button";
|
|
14
|
+
const DISABLED = "theia-mini-browser-button-disabled";
|
|
15
|
+
const TRANSPARENT_OVERLAY = "theia-transparent-overlay";
|
|
16
|
+
const ERROR_BAR = "theia-mini-browser-error-bar";
|
|
17
|
+
}
|
|
18
18
|
//# sourceMappingURL=mini-browser-content-style.d.ts.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MiniBrowserContentStyle = void 0;
|
|
4
|
-
// *****************************************************************************
|
|
5
|
-
// Copyright (C) 2019 TypeFox and others.
|
|
6
|
-
//
|
|
7
|
-
// This program and the accompanying materials are made available under the
|
|
8
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
9
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
10
|
-
//
|
|
11
|
-
// This Source Code may also be made available under the following Secondary
|
|
12
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
13
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
14
|
-
// with the GNU Classpath Exception which is available at
|
|
15
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
16
|
-
//
|
|
17
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
18
|
-
// *****************************************************************************
|
|
19
|
-
var MiniBrowserContentStyle;
|
|
20
|
-
(function (MiniBrowserContentStyle) {
|
|
21
|
-
MiniBrowserContentStyle.MINI_BROWSER = 'theia-mini-browser';
|
|
22
|
-
MiniBrowserContentStyle.TOOLBAR = 'theia-mini-browser-toolbar';
|
|
23
|
-
MiniBrowserContentStyle.TOOLBAR_READ_ONLY = 'theia-mini-browser-toolbar-read-only';
|
|
24
|
-
MiniBrowserContentStyle.PRE_LOAD = 'theia-mini-browser-load-indicator';
|
|
25
|
-
MiniBrowserContentStyle.FADE_OUT = 'theia-fade-out';
|
|
26
|
-
MiniBrowserContentStyle.CONTENT_AREA = 'theia-mini-browser-content-area';
|
|
27
|
-
MiniBrowserContentStyle.PDF_CONTAINER = 'theia-mini-browser-pdf-container';
|
|
28
|
-
MiniBrowserContentStyle.PREVIOUS = 'theia-mini-browser-previous';
|
|
29
|
-
MiniBrowserContentStyle.NEXT = 'theia-mini-browser-next';
|
|
30
|
-
MiniBrowserContentStyle.REFRESH = 'theia-mini-browser-refresh';
|
|
31
|
-
MiniBrowserContentStyle.OPEN = 'theia-mini-browser-open';
|
|
32
|
-
MiniBrowserContentStyle.BUTTON = 'theia-mini-browser-button';
|
|
33
|
-
MiniBrowserContentStyle.DISABLED = 'theia-mini-browser-button-disabled';
|
|
34
|
-
MiniBrowserContentStyle.TRANSPARENT_OVERLAY = 'theia-transparent-overlay';
|
|
35
|
-
MiniBrowserContentStyle.ERROR_BAR = 'theia-mini-browser-error-bar';
|
|
36
|
-
})(MiniBrowserContentStyle = exports.MiniBrowserContentStyle || (exports.MiniBrowserContentStyle = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MiniBrowserContentStyle = void 0;
|
|
4
|
+
// *****************************************************************************
|
|
5
|
+
// Copyright (C) 2019 TypeFox and others.
|
|
6
|
+
//
|
|
7
|
+
// This program and the accompanying materials are made available under the
|
|
8
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
9
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
10
|
+
//
|
|
11
|
+
// This Source Code may also be made available under the following Secondary
|
|
12
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
13
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
14
|
+
// with the GNU Classpath Exception which is available at
|
|
15
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
16
|
+
//
|
|
17
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
18
|
+
// *****************************************************************************
|
|
19
|
+
var MiniBrowserContentStyle;
|
|
20
|
+
(function (MiniBrowserContentStyle) {
|
|
21
|
+
MiniBrowserContentStyle.MINI_BROWSER = 'theia-mini-browser';
|
|
22
|
+
MiniBrowserContentStyle.TOOLBAR = 'theia-mini-browser-toolbar';
|
|
23
|
+
MiniBrowserContentStyle.TOOLBAR_READ_ONLY = 'theia-mini-browser-toolbar-read-only';
|
|
24
|
+
MiniBrowserContentStyle.PRE_LOAD = 'theia-mini-browser-load-indicator';
|
|
25
|
+
MiniBrowserContentStyle.FADE_OUT = 'theia-fade-out';
|
|
26
|
+
MiniBrowserContentStyle.CONTENT_AREA = 'theia-mini-browser-content-area';
|
|
27
|
+
MiniBrowserContentStyle.PDF_CONTAINER = 'theia-mini-browser-pdf-container';
|
|
28
|
+
MiniBrowserContentStyle.PREVIOUS = 'theia-mini-browser-previous';
|
|
29
|
+
MiniBrowserContentStyle.NEXT = 'theia-mini-browser-next';
|
|
30
|
+
MiniBrowserContentStyle.REFRESH = 'theia-mini-browser-refresh';
|
|
31
|
+
MiniBrowserContentStyle.OPEN = 'theia-mini-browser-open';
|
|
32
|
+
MiniBrowserContentStyle.BUTTON = 'theia-mini-browser-button';
|
|
33
|
+
MiniBrowserContentStyle.DISABLED = 'theia-mini-browser-button-disabled';
|
|
34
|
+
MiniBrowserContentStyle.TRANSPARENT_OVERLAY = 'theia-transparent-overlay';
|
|
35
|
+
MiniBrowserContentStyle.ERROR_BAR = 'theia-mini-browser-error-bar';
|
|
36
|
+
})(MiniBrowserContentStyle = exports.MiniBrowserContentStyle || (exports.MiniBrowserContentStyle = {}));
|
|
37
37
|
//# sourceMappingURL=mini-browser-content-style.js.map
|