@celljs/core 3.0.0 → 3.1.1
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/lib/browser/application/frontend-application-state.js +2 -7
- package/lib/browser/application/frontend-application-state.js.map +1 -1
- package/lib/browser/application/frontend-application.js +8 -16
- package/lib/browser/application/frontend-application.js.map +1 -1
- package/lib/browser/application/index.js +3 -16
- package/lib/browser/application/index.js.map +1 -1
- package/lib/browser/index.js +4 -17
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/shell/application-shell.js +2 -7
- package/lib/browser/shell/application-shell.js.map +1 -1
- package/lib/browser/shell/index.js +3 -16
- package/lib/browser/shell/index.js.map +1 -1
- package/lib/common/annotation/aspect.js +1 -1
- package/lib/common/annotation/aspect.js.map +1 -1
- package/lib/common/annotation/autowired.js +1 -1
- package/lib/common/annotation/autowired.js.map +1 -1
- package/lib/common/annotation/component.js +7 -2
- package/lib/common/annotation/component.js.map +1 -1
- package/lib/common/annotation/detached/index.js +4 -17
- package/lib/common/annotation/detached/index.js.map +1 -1
- package/lib/common/annotation/index.js +18 -31
- package/lib/common/annotation/index.js.map +1 -1
- package/lib/common/annotation/value.js +1 -1
- package/lib/common/annotation/value.js.map +1 -1
- package/lib/common/aop/aop-proxy-factory.js +2 -7
- package/lib/common/aop/aop-proxy-factory.js.map +1 -1
- package/lib/common/aop/class-filter.js +2 -7
- package/lib/common/aop/class-filter.js.map +1 -1
- package/lib/common/aop/index.js +4 -17
- package/lib/common/aop/index.js.map +1 -1
- package/lib/common/application/application-protocol.js +5 -13
- package/lib/common/application/application-protocol.js.map +1 -1
- package/lib/common/application/application-state.js +2 -7
- package/lib/common/application/application-state.js.map +1 -1
- package/lib/common/application/application.js +4 -12
- package/lib/common/application/application.js.map +1 -1
- package/lib/common/application/index.js +3 -16
- package/lib/common/application/index.js.map +1 -1
- package/lib/common/config/config-provider.js +4 -12
- package/lib/common/config/config-provider.js.map +1 -1
- package/lib/common/config/index.js +4 -17
- package/lib/common/config/index.js.map +1 -1
- package/lib/common/container/index.js +6 -19
- package/lib/common/container/index.js.map +1 -1
- package/lib/common/el/core-context-initializer.js +5 -13
- package/lib/common/el/core-context-initializer.js.map +1 -1
- package/lib/common/el/expression-compiler.js +4 -12
- package/lib/common/el/expression-compiler.js.map +1 -1
- package/lib/common/el/expression-context-provider.js +5 -16
- package/lib/common/el/expression-context-provider.js.map +1 -1
- package/lib/common/el/expression-handler.js +8 -16
- package/lib/common/el/expression-handler.js.map +1 -1
- package/lib/common/el/index.js +7 -20
- package/lib/common/el/index.js.map +1 -1
- package/lib/common/el/jexl-engine-provider.js +2 -7
- package/lib/common/el/jexl-engine-provider.js.map +1 -1
- package/lib/common/error/{cutom-error.d.ts → custom-error.d.ts} +1 -1
- package/lib/common/error/custom-error.d.ts.map +1 -0
- package/lib/common/error/{cutom-error.js → custom-error.js} +1 -1
- package/lib/common/error/custom-error.js.map +1 -0
- package/lib/common/error/error-protocol.d.ts +1 -1
- package/lib/common/error/error-protocol.d.ts.map +1 -1
- package/lib/common/error/illegal-argument-error.d.ts +1 -1
- package/lib/common/error/illegal-argument-error.d.ts.map +1 -1
- package/lib/common/error/illegal-argument-error.js +2 -2
- package/lib/common/error/illegal-argument-error.js.map +1 -1
- package/lib/common/error/illegal-state-error.d.ts +4 -0
- package/lib/common/error/illegal-state-error.d.ts.map +1 -0
- package/lib/common/error/illegal-state-error.js +8 -0
- package/lib/common/error/illegal-state-error.js.map +1 -0
- package/lib/common/error/index.d.ts +3 -1
- package/lib/common/error/index.d.ts.map +1 -1
- package/lib/common/error/index.js +6 -17
- package/lib/common/error/index.js.map +1 -1
- package/lib/common/error/invalid-mime-type-error.d.ts +6 -0
- package/lib/common/error/invalid-mime-type-error.d.ts.map +1 -0
- package/lib/common/error/invalid-mime-type-error.js +12 -0
- package/lib/common/error/invalid-mime-type-error.js.map +1 -0
- package/lib/common/index.js +12 -25
- package/lib/common/index.js.map +1 -1
- package/lib/common/logger/abstract-logger.js +5 -13
- package/lib/common/logger/abstract-logger.js.map +1 -1
- package/lib/common/logger/index.js +4 -17
- package/lib/common/logger/index.js.map +1 -1
- package/lib/common/logger/logger.js +2 -7
- package/lib/common/logger/logger.js.map +1 -1
- package/lib/common/provider/component-filter-registry.js +5 -16
- package/lib/common/provider/component-filter-registry.js.map +1 -1
- package/lib/common/provider/index.js +6 -19
- package/lib/common/provider/index.js.map +1 -1
- package/lib/common/provider/provider-creator.js +2 -7
- package/lib/common/provider/provider-creator.js.map +1 -1
- package/lib/common/test/index.js +2 -15
- package/lib/common/test/index.js.map +1 -1
- package/lib/common/test/mock-logger.js +2 -7
- package/lib/common/test/mock-logger.js.map +1 -1
- package/lib/common/utils/assert.d.ts +174 -0
- package/lib/common/utils/assert.d.ts.map +1 -0
- package/lib/common/utils/assert.js +287 -0
- package/lib/common/utils/assert.js.map +1 -0
- package/lib/common/utils/index.d.ts +3 -0
- package/lib/common/utils/index.d.ts.map +1 -1
- package/lib/common/utils/index.js +20 -30
- package/lib/common/utils/index.js.map +1 -1
- package/lib/common/utils/mime-type-util.d.ts +37 -0
- package/lib/common/utils/mime-type-util.d.ts.map +1 -0
- package/lib/common/utils/mime-type-util.js +172 -0
- package/lib/common/utils/mime-type-util.js.map +1 -0
- package/lib/common/utils/mime-type.d.ts +33 -0
- package/lib/common/utils/mime-type.d.ts.map +1 -0
- package/lib/common/utils/mime-type.js +262 -0
- package/lib/common/utils/mime-type.js.map +1 -0
- package/lib/common/utils/os.d.ts +2 -2
- package/lib/common/utils/os.js +2 -2
- package/lib/node/application/backend-application-state.js +2 -7
- package/lib/node/application/backend-application-state.js.map +1 -1
- package/lib/node/application/backend-application.js +4 -12
- package/lib/node/application/backend-application.js.map +1 -1
- package/lib/node/application/index.js +3 -16
- package/lib/node/application/index.js.map +1 -1
- package/lib/node/context/index.js +2 -15
- package/lib/node/context/index.js.map +1 -1
- package/lib/node/index.js +4 -17
- package/lib/node/index.js.map +1 -1
- package/lib/node/utils/index.js +2 -15
- package/lib/node/utils/index.js.map +1 -1
- package/package.json +5 -4
- package/src/common/error/error-protocol.ts +1 -1
- package/src/common/error/illegal-argument-error.ts +1 -1
- package/src/common/error/illegal-state-error.ts +5 -0
- package/src/common/error/index.ts +3 -1
- package/src/common/error/invalid-mime-type-error.ts +7 -0
- package/src/common/utils/assert.ts +300 -0
- package/src/common/utils/index.ts +3 -0
- package/src/common/utils/mime-type-util.ts +180 -0
- package/src/common/utils/mime-type.ts +276 -0
- package/src/common/utils/os.ts +2 -2
- package/lib/common/error/cutom-error.d.ts.map +0 -1
- package/lib/common/error/cutom-error.js.map +0 -1
- /package/src/common/error/{cutom-error.ts → custom-error.ts} +0 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MimeType = void 0;
|
|
5
|
+
const assert_1 = require("./assert");
|
|
6
|
+
const mime_type_util_1 = require("./mime-type-util");
|
|
7
|
+
class MimeType {
|
|
8
|
+
constructor(type, subtype = MimeType.WILDCARD_TYPE, parameters) {
|
|
9
|
+
assert_1.Assert.hasLength(type, '"type" must not be empty');
|
|
10
|
+
assert_1.Assert.hasLength(subtype, '"subtype" must not be empty');
|
|
11
|
+
this.checkToken(type);
|
|
12
|
+
this.checkToken(subtype);
|
|
13
|
+
this.type = type.toLowerCase();
|
|
14
|
+
this.subtype = subtype.toLowerCase();
|
|
15
|
+
if (parameters) {
|
|
16
|
+
const map = new Map();
|
|
17
|
+
for (const [key, value] of Object.entries(parameters)) {
|
|
18
|
+
this.checkParameters(key, value);
|
|
19
|
+
map.set(key.toLowerCase(), value);
|
|
20
|
+
}
|
|
21
|
+
this.parameters = map;
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
this.parameters = new Map();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
checkToken(token) {
|
|
28
|
+
for (let i = 0; i < token.length; i++) {
|
|
29
|
+
const ch = token.charCodeAt(i);
|
|
30
|
+
if (!MimeType.TOKEN.has(ch)) {
|
|
31
|
+
throw new Error(`Invalid token character "${String.fromCharCode(ch)}" in token "${token}"`);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
checkParameters(parameter, value) {
|
|
36
|
+
assert_1.Assert.hasLength(parameter, '"parameter" must not be empty');
|
|
37
|
+
assert_1.Assert.hasLength(value, '"value" must not be empty');
|
|
38
|
+
this.checkToken(parameter);
|
|
39
|
+
if (MimeType.PARAM_CHARSET === parameter) {
|
|
40
|
+
if (!this.charset) {
|
|
41
|
+
this.charset = this.unquote(value);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
else if (!this.isQuotedString(value)) {
|
|
45
|
+
this.checkToken(value);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
isQuotedString(s) {
|
|
49
|
+
if (s.length < 2) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
return ((s.startsWith('"') && s.endsWith('"')) || (s.startsWith('\'') && s.endsWith('\'')));
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
unquote(s) {
|
|
57
|
+
return (this.isQuotedString(s) ? s.substring(1, s.length - 1) : s);
|
|
58
|
+
}
|
|
59
|
+
isWildcardType() {
|
|
60
|
+
return MimeType.WILDCARD_TYPE === this.getType();
|
|
61
|
+
}
|
|
62
|
+
isWildcardSubtype() {
|
|
63
|
+
const subtype = this.getSubtype();
|
|
64
|
+
return (MimeType.WILDCARD_TYPE === subtype || subtype.startsWith('*+'));
|
|
65
|
+
}
|
|
66
|
+
isConcrete() {
|
|
67
|
+
return !this.isWildcardType() && !this.isWildcardSubtype();
|
|
68
|
+
}
|
|
69
|
+
getType() {
|
|
70
|
+
return this.type;
|
|
71
|
+
}
|
|
72
|
+
getSubtype() {
|
|
73
|
+
return this.subtype;
|
|
74
|
+
}
|
|
75
|
+
getSubtypeSuffix() {
|
|
76
|
+
const suffixIndex = this.subtype.lastIndexOf('+');
|
|
77
|
+
if (suffixIndex !== -1 && this.subtype.length > suffixIndex) {
|
|
78
|
+
return this.subtype.substring(suffixIndex + 1);
|
|
79
|
+
}
|
|
80
|
+
return undefined;
|
|
81
|
+
}
|
|
82
|
+
getCharset() {
|
|
83
|
+
return this.charset;
|
|
84
|
+
}
|
|
85
|
+
getParameter(name) {
|
|
86
|
+
return this.parameters.get(name);
|
|
87
|
+
}
|
|
88
|
+
getParameters() {
|
|
89
|
+
return this.parameters;
|
|
90
|
+
}
|
|
91
|
+
includes(other) {
|
|
92
|
+
if (other === undefined) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if (this.isWildcardType()) {
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
else if (this.getType() === other.getType()) {
|
|
99
|
+
if (this.getSubtype() === other.getSubtype()) {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
if (this.isWildcardSubtype()) {
|
|
103
|
+
const thisPlusIdx = this.getSubtype().lastIndexOf('+');
|
|
104
|
+
if (thisPlusIdx === -1) {
|
|
105
|
+
return true;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
const otherPlusIdx = other.getSubtype().lastIndexOf('+');
|
|
109
|
+
if (otherPlusIdx !== -1) {
|
|
110
|
+
const thisSubtypeNoSuffix = this.getSubtype().substring(0, thisPlusIdx);
|
|
111
|
+
const thisSubtypeSuffix = this.getSubtype().substring(thisPlusIdx + 1);
|
|
112
|
+
const otherSubtypeSuffix = other.getSubtype().substring(otherPlusIdx + 1);
|
|
113
|
+
if (thisSubtypeSuffix === otherSubtypeSuffix && MimeType.WILDCARD_TYPE === thisSubtypeNoSuffix) {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
122
|
+
isCompatibleWith(other) {
|
|
123
|
+
if (other === undefined) {
|
|
124
|
+
return false;
|
|
125
|
+
}
|
|
126
|
+
if (this.isWildcardType() || other.isWildcardType()) {
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
else if (this.getType() === other.getType()) {
|
|
130
|
+
if (this.getSubtype() === other.getSubtype()) {
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
if (this.isWildcardSubtype() || other.isWildcardSubtype()) {
|
|
134
|
+
const thisSuffix = this.getSubtypeSuffix();
|
|
135
|
+
const otherSuffix = other.getSubtypeSuffix();
|
|
136
|
+
if (this.getSubtype() === MimeType.WILDCARD_TYPE || other.getSubtype() === MimeType.WILDCARD_TYPE) {
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
else if (this.isWildcardSubtype() && thisSuffix !== undefined) {
|
|
140
|
+
return (thisSuffix === other.getSubtype() || thisSuffix === otherSuffix);
|
|
141
|
+
}
|
|
142
|
+
else if (other.isWildcardSubtype() && otherSuffix !== undefined) {
|
|
143
|
+
return (this.getSubtype() === otherSuffix || otherSuffix === thisSuffix);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return false;
|
|
148
|
+
}
|
|
149
|
+
equalsTypeAndSubtype(other) {
|
|
150
|
+
if (other === undefined) {
|
|
151
|
+
return false;
|
|
152
|
+
}
|
|
153
|
+
return this.type.toLowerCase() === other.type.toLowerCase() && this.subtype.toLowerCase() === other.subtype.toLowerCase();
|
|
154
|
+
}
|
|
155
|
+
isPresentIn(mimeTypes) {
|
|
156
|
+
for (const mimeType of mimeTypes) {
|
|
157
|
+
if (mimeType.equalsTypeAndSubtype(this)) {
|
|
158
|
+
return true;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
equals(other) {
|
|
164
|
+
return (this === other || (other instanceof MimeType &&
|
|
165
|
+
this.type.toLowerCase() === other.type.toLowerCase() &&
|
|
166
|
+
this.subtype.toLowerCase() === other.subtype.toLowerCase() &&
|
|
167
|
+
this.parametersAreEqual(other)));
|
|
168
|
+
}
|
|
169
|
+
parametersAreEqual(other) {
|
|
170
|
+
if (this.parameters.size !== other.parameters.size) {
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
173
|
+
for (const [key, value] of this.parameters) {
|
|
174
|
+
if (!other.parameters.has(key)) {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
if (MimeType.PARAM_CHARSET === key) {
|
|
178
|
+
if (this.getCharset() !== other.getCharset()) {
|
|
179
|
+
return false;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
else if (value !== other.parameters.get(key)) {
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return true;
|
|
187
|
+
}
|
|
188
|
+
isMoreSpecific(other) {
|
|
189
|
+
assert_1.Assert.notNull(other, 'Other must not be null');
|
|
190
|
+
const thisWildcard = this.isWildcardType();
|
|
191
|
+
const otherWildcard = other.isWildcardType();
|
|
192
|
+
if (thisWildcard && !otherWildcard) {
|
|
193
|
+
return false;
|
|
194
|
+
}
|
|
195
|
+
else if (!thisWildcard && otherWildcard) {
|
|
196
|
+
return true;
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
const thisWildcardSubtype = this.isWildcardSubtype();
|
|
200
|
+
const otherWildcardSubtype = other.isWildcardSubtype();
|
|
201
|
+
if (thisWildcardSubtype && !otherWildcardSubtype) {
|
|
202
|
+
return false;
|
|
203
|
+
}
|
|
204
|
+
else if (!thisWildcardSubtype && otherWildcardSubtype) {
|
|
205
|
+
return true;
|
|
206
|
+
}
|
|
207
|
+
else if (this.getType() === other.getType() && this.getSubtype() === other.getSubtype()) {
|
|
208
|
+
const paramsSize1 = this.getParameters().size;
|
|
209
|
+
const paramsSize2 = other.getParameters().size;
|
|
210
|
+
return paramsSize1 > paramsSize2;
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
return false;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
isLessSpecific(other) {
|
|
218
|
+
assert_1.Assert.notNull(other, 'Other must not be null');
|
|
219
|
+
return other.isMoreSpecific(this);
|
|
220
|
+
}
|
|
221
|
+
static valueOf(value) {
|
|
222
|
+
return mime_type_util_1.MimeTypeUtils.parseMimeType(value);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.MimeType = MimeType;
|
|
226
|
+
_a = MimeType;
|
|
227
|
+
MimeType.WILDCARD_TYPE = '*';
|
|
228
|
+
MimeType.PARAM_CHARSET = 'charset';
|
|
229
|
+
MimeType.TOKEN = new Set();
|
|
230
|
+
(() => {
|
|
231
|
+
const ctl = new Set();
|
|
232
|
+
for (let i = 0; i <= 31; i++) {
|
|
233
|
+
ctl.add(i);
|
|
234
|
+
}
|
|
235
|
+
ctl.add(127);
|
|
236
|
+
const separators = new Set();
|
|
237
|
+
separators.add('('.charCodeAt(0));
|
|
238
|
+
separators.add(')'.charCodeAt(0));
|
|
239
|
+
separators.add('<'.charCodeAt(0));
|
|
240
|
+
separators.add('>'.charCodeAt(0));
|
|
241
|
+
separators.add('@'.charCodeAt(0));
|
|
242
|
+
separators.add(','.charCodeAt(0));
|
|
243
|
+
separators.add(';'.charCodeAt(0));
|
|
244
|
+
separators.add(':'.charCodeAt(0));
|
|
245
|
+
separators.add('\\'.charCodeAt(0));
|
|
246
|
+
separators.add('"'.charCodeAt(0));
|
|
247
|
+
separators.add('/'.charCodeAt(0));
|
|
248
|
+
separators.add('['.charCodeAt(0));
|
|
249
|
+
separators.add(']'.charCodeAt(0));
|
|
250
|
+
separators.add('?'.charCodeAt(0));
|
|
251
|
+
separators.add('='.charCodeAt(0));
|
|
252
|
+
separators.add('{'.charCodeAt(0));
|
|
253
|
+
separators.add('}'.charCodeAt(0));
|
|
254
|
+
separators.add(' '.charCodeAt(0));
|
|
255
|
+
separators.add('\t'.charCodeAt(0));
|
|
256
|
+
for (let i = 0; i < 128; i++) {
|
|
257
|
+
if (!ctl.has(i) && !separators.has(i)) {
|
|
258
|
+
_a.TOKEN.add(i);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
})();
|
|
262
|
+
//# sourceMappingURL=mime-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mime-type.js","sourceRoot":"","sources":["../../../src/common/utils/mime-type.ts"],"names":[],"mappings":";;;;AAAA,qCAAkC;AAClC,qDAAiD;AAEjD,MAAa,QAAQ;IA8CjB,YAAY,IAAY,EAAE,UAAkB,QAAQ,CAAC,aAAa,EAAE,UAAgC;QAChG,eAAM,CAAC,SAAS,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC;QACnD,eAAM,CAAC,SAAS,CAAC,OAAO,EAAE,6BAA6B,CAAC,CAAC;QACzD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACtB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;QACrC,IAAI,UAAU,EAAE;YACZ,MAAM,GAAG,GAAwB,IAAI,GAAG,EAAE,CAAC;YAC3C,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;gBACnD,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;gBACjC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,CAAC,CAAC;aACrC;YACD,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;SACzB;aAAM;YACH,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;SAC/B;IACL,CAAC;IAEO,UAAU,CAAC,KAAa;QAC5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,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CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAEnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QAC1B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;YACnC,EAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACrB;KACJ;AACL,CAAC,GAAA,CAAA"}
|
package/lib/common/utils/os.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ export declare namespace OS {
|
|
|
12
12
|
OSX = "OSX"
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Returns with the type of the operating system. If it is neither
|
|
16
|
-
* it always
|
|
15
|
+
* Returns with the type of the operating system. If it is neither Windows nor OS X, then
|
|
16
|
+
* it always returns with the `Linux` OS type.
|
|
17
17
|
*/
|
|
18
18
|
function type(): OS.Type;
|
|
19
19
|
}
|
package/lib/common/utils/os.js
CHANGED
|
@@ -33,8 +33,8 @@ var OS;
|
|
|
33
33
|
Type["OSX"] = "OSX";
|
|
34
34
|
})(Type = OS.Type || (OS.Type = {}));
|
|
35
35
|
/**
|
|
36
|
-
* Returns with the type of the operating system. If it is neither
|
|
37
|
-
* it always
|
|
36
|
+
* Returns with the type of the operating system. If it is neither Windows nor OS X, then
|
|
37
|
+
* it always returns with the `Linux` OS type.
|
|
38
38
|
*/
|
|
39
39
|
function type() {
|
|
40
40
|
if (exports.isWindows) {
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
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;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.BackendApplicationStateService = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
10
5
|
const common_1 = require("../../common");
|
|
11
6
|
let BackendApplicationStateService = class BackendApplicationStateService extends common_1.AbstractApplicationStateService {
|
|
12
7
|
};
|
|
13
|
-
BackendApplicationStateService = __decorate([
|
|
8
|
+
BackendApplicationStateService = tslib_1.__decorate([
|
|
14
9
|
(0, common_1.Component)(common_1.ApplicationStateService)
|
|
15
10
|
], BackendApplicationStateService);
|
|
16
11
|
exports.BackendApplicationStateService = BackendApplicationStateService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-application-state.js","sourceRoot":"","sources":["../../../src/node/application/backend-application-state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"backend-application-state.js","sourceRoot":"","sources":["../../../src/node/application/backend-application-state.ts"],"names":[],"mappings":";;;;AAAA,yCAAqH;AAK9G,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,wCAAwD;CAE3G,CAAA;AAFY,8BAA8B;IAD1C,IAAA,kBAAS,EAAC,gCAAuB,CAAC;GACtB,8BAA8B,CAE1C;AAFY,wEAA8B"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
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;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
var BackendApplication_1;
|
|
12
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
4
|
exports.BackendApplication = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
14
6
|
const common_1 = require("../../common");
|
|
15
7
|
const backend_application_state_1 = require("./backend-application-state");
|
|
16
8
|
let BackendApplication = BackendApplication_1 = class BackendApplication extends common_1.AbstractApplication {
|
|
@@ -44,11 +36,11 @@ let BackendApplication = BackendApplication_1 = class BackendApplication extends
|
|
|
44
36
|
this.stateService.state = 'stoped';
|
|
45
37
|
}
|
|
46
38
|
};
|
|
47
|
-
__decorate([
|
|
39
|
+
tslib_1.__decorate([
|
|
48
40
|
(0, common_1.Autowired)(common_1.ApplicationStateService),
|
|
49
|
-
__metadata("design:type", backend_application_state_1.BackendApplicationStateService)
|
|
41
|
+
tslib_1.__metadata("design:type", backend_application_state_1.BackendApplicationStateService)
|
|
50
42
|
], BackendApplication.prototype, "stateService", void 0);
|
|
51
|
-
BackendApplication = BackendApplication_1 = __decorate([
|
|
43
|
+
BackendApplication = BackendApplication_1 = tslib_1.__decorate([
|
|
52
44
|
(0, common_1.Component)(common_1.Application)
|
|
53
45
|
], BackendApplication);
|
|
54
46
|
exports.BackendApplication = BackendApplication;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-application.js","sourceRoot":"","sources":["../../../src/node/application/backend-application.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"backend-application.js","sourceRoot":"","sources":["../../../src/node/application/backend-application.ts"],"names":[],"mappings":";;;;;AAAA,yCAA+G;AAC/G,2EAA6E;AAGtE,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,4BAAmB;IAKvD,KAAK,CAAC,KAAK;QACP,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACrB,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,SAAS,CAAC;QACpC,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,OAAO,CAAC;IACtC,CAAC;IAES,eAAe,CAAC,KAAqB;QAC3C,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YACtC,IAAK,CAAS,CAAC,IAAI,KAAK,oBAAkB,CAAC,IAAI,EAAE;gBAC7C,OAAO,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;aACpC;SACJ;IACL,CAAC;IAES,gBAAgB;QACtB,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QAC/B,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;QAChC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC,IAAI,GAAG,oBAAkB,CAAC,IAAI,CAAC;QACjC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QAC1B,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC;IAES,MAAM;QACZ,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,IAAI;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,QAAQ,CAAC;IACvC,CAAC;CACJ,CAAA;AApCG;IAAC,IAAA,kBAAS,EAAC,gCAAuB,CAAC;sCACF,0DAA8B;wDAAC;AAHvD,kBAAkB;IAD9B,IAAA,kBAAS,EAAC,oBAAW,CAAC;GACV,kBAAkB,CAsC9B;AAtCY,gDAAkB"}
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./backend-application
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./backend-application"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./backend-application-state"), exports);
|
|
19
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/application/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/application/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC;AACtC,sEAA4C"}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./context"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/context/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/context/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B"}
|
package/lib/node/index.js
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./application"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./context"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
20
7
|
//# sourceMappingURL=index.js.map
|
package/lib/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,oDAA0B;AAC1B,kDAAwB"}
|
package/lib/node/utils/index.js
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./crc"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/utils/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/common/index.js",
|
|
6
6
|
"typings": "lib/common/index.d.ts",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"setimmediate": "^1.0.5",
|
|
17
17
|
"source-map-support": "^0.5.13",
|
|
18
18
|
"traverse": "^0.6.7",
|
|
19
|
-
"ts-custom-error": "^3.1.1"
|
|
19
|
+
"ts-custom-error": "^3.1.1",
|
|
20
|
+
"tslib": "^2.8.0"
|
|
20
21
|
},
|
|
21
22
|
"publishConfig": {
|
|
22
23
|
"access": "public"
|
|
@@ -47,9 +48,9 @@
|
|
|
47
48
|
"test": "cell-component test:js"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"@celljs/component": "3.
|
|
51
|
+
"@celljs/component": "3.1.1",
|
|
51
52
|
"@types/jexl": "^2.2.0",
|
|
52
53
|
"@types/traverse": "^0.6.32"
|
|
53
54
|
},
|
|
54
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "a773e1661f404c1a44d26b9f3b2591b58192d917"
|
|
55
56
|
}
|