@celljs/widget 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/annotation/index.js +2 -15
- package/lib/browser/annotation/index.js.map +1 -1
- package/lib/browser/annotation/widget.js +1 -1
- package/lib/browser/annotation/widget.js.map +1 -1
- package/lib/browser/index.js +6 -19
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/keyboard/index.js +2 -15
- package/lib/browser/keyboard/index.js.map +1 -1
- package/lib/browser/locale/index.js +3 -16
- package/lib/browser/locale/index.js.map +1 -1
- package/lib/browser/locale/locale-manager.js +11 -19
- package/lib/browser/locale/locale-manager.js.map +1 -1
- package/lib/browser/theme/index.js +3 -16
- package/lib/browser/theme/index.js.map +1 -1
- package/lib/browser/theme/theme-manager.js +11 -19
- package/lib/browser/theme/theme-manager.js.map +1 -1
- package/lib/browser/widget/index.js +4 -17
- package/lib/browser/widget/index.js.map +1 -1
- package/lib/browser/widget/widget-factory.js +4 -12
- package/lib/browser/widget/widget-factory.js.map +1 -1
- package/lib/browser/widget/widget-manager.js +11 -22
- package/lib/browser/widget/widget-manager.js.map +1 -1
- package/package.json +6 -5
|
@@ -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("./widget"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/annotation/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/annotation/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB"}
|
|
@@ -10,7 +10,7 @@ const Widget = function (areaOrWidgetOption) {
|
|
|
10
10
|
widgetOption = { area: areaOrWidgetOption };
|
|
11
11
|
}
|
|
12
12
|
else {
|
|
13
|
-
widgetOption =
|
|
13
|
+
widgetOption = { ...areaOrWidgetOption };
|
|
14
14
|
}
|
|
15
15
|
const id = widgetOption.id ? (Array.isArray(widgetOption.id) ? widgetOption.id : [widgetOption.id]) : [];
|
|
16
16
|
const component = widgetOption.component || t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../src/browser/annotation/widget.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,sCAAoD;AAU7C,MAAM,MAAM,GACf,UAAU,kBAAyC;IAC/C,OAAO,CAAC,CAAC,EAAE;QACP,IAAI,YAA0B,CAAC;QAC/B,IAAI,OAAO,kBAAkB,KAAK,QAAQ,EAAE;YACxC,YAAY,GAAG,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;SAC/C;aAAM;YACH,YAAY,
|
|
1
|
+
{"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../src/browser/annotation/widget.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,sCAAoD;AAU7C,MAAM,MAAM,GACf,UAAU,kBAAyC;IAC/C,OAAO,CAAC,CAAC,EAAE;QACP,IAAI,YAA0B,CAAC;QAC/B,IAAI,OAAO,kBAAkB,KAAK,QAAQ,EAAE;YACxC,YAAY,GAAG,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;SAC/C;aAAM;YACH,YAAY,GAAG,EAAE,GAAG,kBAAkB,EAAE,CAAC;SAC5C;QACD,MAAM,EAAE,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAE,YAAY,CAAC,EAAE,CAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3G,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,IAAI,CAAC,CAAC;QAC9C,IAAA,eAAQ,EAAC,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,oBAAW,CAAC,EAAE;YACtC,EAAE,EAAE,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI;YACjE,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,mBAAU,CAAC,SAAS;YAC1B,QAAQ,EAAE,YAAY,CAAC,QAAQ,IAAI,GAAG;YACtC,IAAI,EAAE,YAAY,CAAC,IAAI;YACvB,QAAQ,EAAE;gBACN,SAAS;aACZ;SACJ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACN,CAAC,CAAC;AAtBO,QAAA,MAAM,UAsBb"}
|
package/lib/browser/index.js
CHANGED
|
@@ -1,22 +1,9 @@
|
|
|
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("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./keyboard"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./widget"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./annotation"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./theme"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./locale"), exports);
|
|
22
9
|
//# sourceMappingURL=index.js.map
|
package/lib/browser/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B;AAC3B,mDAAyB;AACzB,uDAA6B;AAC7B,kDAAwB;AACxB,mDAAyB"}
|
|
@@ -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("./keys"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/keyboard/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/keyboard/index.ts"],"names":[],"mappings":";;;AAAA,iDAAuB"}
|
|
@@ -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("./locale-
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./locale-protocol"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./locale-manager"), exports);
|
|
19
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/locale/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/locale/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,2DAAiC"}
|
|
@@ -1,15 +1,7 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.LocaleManagerImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
13
5
|
const locale_protocol_1 = require("./locale-protocol");
|
|
14
6
|
const core_1 = require("@celljs/core");
|
|
15
7
|
const rxjs_1 = require("rxjs");
|
|
@@ -39,7 +31,7 @@ let LocaleManagerImpl = class LocaleManagerImpl {
|
|
|
39
31
|
if (!this.prioritized) {
|
|
40
32
|
const config = this.localesForConfig || {};
|
|
41
33
|
const parsedLacalesForConfig = Object.keys(config).map(lang => {
|
|
42
|
-
const locale =
|
|
34
|
+
const locale = { ...config[lang] };
|
|
43
35
|
locale.lang = lang;
|
|
44
36
|
locale.priority = locale.priority || 500;
|
|
45
37
|
return locale;
|
|
@@ -49,22 +41,22 @@ let LocaleManagerImpl = class LocaleManagerImpl {
|
|
|
49
41
|
return this.prioritized;
|
|
50
42
|
}
|
|
51
43
|
};
|
|
52
|
-
__decorate([
|
|
44
|
+
tslib_1.__decorate([
|
|
53
45
|
(0, core_1.Value)('cell.locales'),
|
|
54
|
-
__metadata("design:type", Object)
|
|
46
|
+
tslib_1.__metadata("design:type", Object)
|
|
55
47
|
], LocaleManagerImpl.prototype, "localesForConfig", void 0);
|
|
56
|
-
__decorate([
|
|
48
|
+
tslib_1.__decorate([
|
|
57
49
|
(0, core_1.Autowired)(locale_protocol_1.Locale),
|
|
58
50
|
(0, core_1.Optional)(),
|
|
59
|
-
__metadata("design:type", Array)
|
|
51
|
+
tslib_1.__metadata("design:type", Array)
|
|
60
52
|
], LocaleManagerImpl.prototype, "locales", void 0);
|
|
61
|
-
__decorate([
|
|
53
|
+
tslib_1.__decorate([
|
|
62
54
|
(0, core_1.PostConstruct)(),
|
|
63
|
-
__metadata("design:type", Function),
|
|
64
|
-
__metadata("design:paramtypes", []),
|
|
65
|
-
__metadata("design:returntype", void 0)
|
|
55
|
+
tslib_1.__metadata("design:type", Function),
|
|
56
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
57
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
66
58
|
], LocaleManagerImpl.prototype, "init", null);
|
|
67
|
-
LocaleManagerImpl = __decorate([
|
|
59
|
+
LocaleManagerImpl = tslib_1.__decorate([
|
|
68
60
|
(0, core_1.Component)(locale_protocol_1.LocaleManager)
|
|
69
61
|
], LocaleManagerImpl);
|
|
70
62
|
exports.LocaleManagerImpl = LocaleManagerImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-manager.js","sourceRoot":"","sources":["../../../src/browser/locale/locale-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"locale-manager.js","sourceRoot":"","sources":["../../../src/browser/locale/locale-manager.ts"],"names":[],"mappings":";;;;AAAA,uDAA0D;AAC1D,uCAAoG;AACpG,+BAAuC;AAGhC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QAEgB,mBAAc,GAAG,WAAW,CAAC;QAUhD,mBAAc,GAAG,IAAI,sBAAe,CAAqB,SAAS,CAAC,CAAC;IAoCxE,CAAC;IAjCG,IAAI;QACA,CAAC,KAAK,IAAI,EAAE;YACR,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,GAAG,EAAE,CAAC;YACjC,MAAM,IAAI,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC;YAC7E,IAAI,OAAO,CAAC,MAAM,EAAE;gBAChB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;aAC9E;YAED,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE;gBACnC,IAAI,MAAM,EAAE;oBACR,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;iBAC1D;qBAAM;oBACH,YAAY,CAAC,UAAU,CAAC,IAAI,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
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("./theme-
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./theme-protocol"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./theme-manager"), exports);
|
|
19
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/theme/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/theme/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,0DAAgC"}
|
|
@@ -1,15 +1,7 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.ThemeManagerImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
13
5
|
const theme_protocol_1 = require("./theme-protocol");
|
|
14
6
|
const core_1 = require("@celljs/core");
|
|
15
7
|
const rxjs_1 = require("rxjs");
|
|
@@ -40,7 +32,7 @@ let ThemeManagerImpl = class ThemeManagerImpl {
|
|
|
40
32
|
async get() {
|
|
41
33
|
if (!this.prioritized) {
|
|
42
34
|
const parsedThemesForConfig = Object.keys(this.themesForConfig || {}).map(id => {
|
|
43
|
-
const theme =
|
|
35
|
+
const theme = { ...this.themesForConfig[id] };
|
|
44
36
|
theme.id = id;
|
|
45
37
|
theme.priority = theme.priority || 500;
|
|
46
38
|
return theme;
|
|
@@ -50,22 +42,22 @@ let ThemeManagerImpl = class ThemeManagerImpl {
|
|
|
50
42
|
return this.prioritized;
|
|
51
43
|
}
|
|
52
44
|
};
|
|
53
|
-
__decorate([
|
|
45
|
+
tslib_1.__decorate([
|
|
54
46
|
(0, core_1.Value)('cell.themes'),
|
|
55
|
-
__metadata("design:type", Object)
|
|
47
|
+
tslib_1.__metadata("design:type", Object)
|
|
56
48
|
], ThemeManagerImpl.prototype, "themesForConfig", void 0);
|
|
57
|
-
__decorate([
|
|
49
|
+
tslib_1.__decorate([
|
|
58
50
|
(0, core_1.Autowired)(theme_protocol_1.Theme),
|
|
59
51
|
(0, core_1.Optional)(),
|
|
60
|
-
__metadata("design:type", Array)
|
|
52
|
+
tslib_1.__metadata("design:type", Array)
|
|
61
53
|
], ThemeManagerImpl.prototype, "themes", void 0);
|
|
62
|
-
__decorate([
|
|
54
|
+
tslib_1.__decorate([
|
|
63
55
|
(0, core_1.PostConstruct)(),
|
|
64
|
-
__metadata("design:type", Function),
|
|
65
|
-
__metadata("design:paramtypes", []),
|
|
66
|
-
__metadata("design:returntype", void 0)
|
|
56
|
+
tslib_1.__metadata("design:type", Function),
|
|
57
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
58
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
67
59
|
], ThemeManagerImpl.prototype, "init", null);
|
|
68
|
-
ThemeManagerImpl = __decorate([
|
|
60
|
+
ThemeManagerImpl = tslib_1.__decorate([
|
|
69
61
|
(0, core_1.Component)(theme_protocol_1.ThemeManager)
|
|
70
62
|
], ThemeManagerImpl);
|
|
71
63
|
exports.ThemeManagerImpl = ThemeManagerImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-manager.js","sourceRoot":"","sources":["../../../src/browser/theme/theme-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme-manager.js","sourceRoot":"","sources":["../../../src/browser/theme/theme-manager.ts"],"names":[],"mappings":";;;;AAAA,qDAAsE;AACtE,uCAAoG;AACpG,+BAAuC;AAGhC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAAtB;QAEgB,oBAAe,GAAG,YAAY,CAAC;QAUlD,mBAAc,GAAG,IAAI,sBAAe,CAAuB,SAAS,CAAC,CAAC;IAmC1E,CAAC;IAhCG,IAAI;QACA,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC5D,IAAI,QAAQ,EAAE;YACV,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;SAClD;aAAM;YACH,IAAI,IAAI,CAAC,eAAe,EAAE;gBACtB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,8BAAa,CAAC,CAAC,CAAC;aACjE;SACJ;Q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AAgB,CA+C5B;AA/CY,4CAAgB"}
|
|
@@ -1,26 +1,13 @@
|
|
|
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
|
exports.WidgetType = exports.WidgetManager = exports.WidgetModel = exports.WidgetFactory = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
18
5
|
var widget_protocol_1 = require("./widget-protocol");
|
|
19
6
|
Object.defineProperty(exports, "WidgetFactory", { enumerable: true, get: function () { return widget_protocol_1.WidgetFactory; } });
|
|
20
7
|
Object.defineProperty(exports, "WidgetModel", { enumerable: true, get: function () { return widget_protocol_1.WidgetModel; } });
|
|
21
8
|
Object.defineProperty(exports, "WidgetManager", { enumerable: true, get: function () { return widget_protocol_1.WidgetManager; } });
|
|
22
9
|
Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_protocol_1.WidgetType; } });
|
|
23
|
-
__exportStar(require("./widget-manager"), exports);
|
|
24
|
-
__exportStar(require("./widget-factory"), exports);
|
|
25
|
-
__exportStar(require("./widget-util"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./widget-manager"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./widget-factory"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./widget-util"), exports);
|
|
26
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/widget/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/widget/index.ts"],"names":[],"mappings":";;;;AAAA,qDAA0F;AAAjF,gHAAA,aAAa,OAAA;AAAE,8GAAA,WAAW,OAAA;AAAE,gHAAA,aAAa,OAAA;AAAE,6GAAA,UAAU,OAAA;AAC9D,2DAAiC;AACjC,2DAAiC;AACjC,wDAA8B"}
|
|
@@ -1,15 +1,7 @@
|
|
|
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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.AbstractWidgetFactory = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
13
5
|
const widget_util_1 = require("./widget-util");
|
|
14
6
|
const core_1 = require("@celljs/core");
|
|
15
7
|
let AbstractWidgetFactory = class AbstractWidgetFactory {
|
|
@@ -35,11 +27,11 @@ let AbstractWidgetFactory = class AbstractWidgetFactory {
|
|
|
35
27
|
return this.constructor.name.startsWith(widgetModel.type);
|
|
36
28
|
}
|
|
37
29
|
};
|
|
38
|
-
__decorate([
|
|
30
|
+
tslib_1.__decorate([
|
|
39
31
|
(0, core_1.Autowired)(core_1.ExpressionHandler),
|
|
40
|
-
__metadata("design:type", Object)
|
|
32
|
+
tslib_1.__metadata("design:type", Object)
|
|
41
33
|
], AbstractWidgetFactory.prototype, "expressionHandler", void 0);
|
|
42
|
-
AbstractWidgetFactory = __decorate([
|
|
34
|
+
AbstractWidgetFactory = tslib_1.__decorate([
|
|
43
35
|
(0, core_1.Injectable)()
|
|
44
36
|
], AbstractWidgetFactory);
|
|
45
37
|
exports.AbstractWidgetFactory = AbstractWidgetFactory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-factory.js","sourceRoot":"","sources":["../../../src/browser/widget/widget-factory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-factory.js","sourceRoot":"","sources":["../../../src/browser/widget/widget-factory.ts"],"names":[],"mappings":";;;;AACA,+CAA2C;AAC3C,uCAAwE;AAGjE,IAAe,qBAAqB,GAApC,MAAe,qBAAqB;IAApC;QAKH,aAAQ,GAAW,GAAG,CAAC;IAyB3B,CAAC;IAvBG,KAAK,CAAC,MAAM,CAAC,WAAwB;QACjC,MAAM,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,WAAW,CAAC;QAEtC,OAAO;YACH,EAAE,EAAE,WAAW,CAAC,EAAE;YAClB,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,QAAQ,EAAE,WAAW,CAAC,QAAQ;YAC9B,MAAM,EAAE,KAAK,IAAI,EAAE;gBACf,IAAI,WAAW,CAAC,KAAK,EAAE;oBACnB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;iBACpD;gBACD,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAU,CAAC,MAAM,CAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACrG,CAAC;SACJ,CAAC;IACN,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,WAAwB;QAClC,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;CAIJ,CAAA;AA5BG;IAAC,IAAA,gBAAS,EAAC,wBAAiB,CAAC;;gEAC2B;AAHtC,qBAAqB;IAD1C,IAAA,iBAAU,GAAE;GACS,qBAAqB,CA8B1C;AA9BqB,sDAAqB"}
|
|
@@ -1,18 +1,7 @@
|
|
|
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
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.WidgetManagerImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
16
5
|
const core_1 = require("@celljs/core");
|
|
17
6
|
const widget_protocol_1 = require("./widget-protocol");
|
|
18
7
|
const widget_util_1 = require("./widget-util");
|
|
@@ -29,7 +18,7 @@ let WidgetManagerImpl = class WidgetManagerImpl {
|
|
|
29
18
|
async get(area) {
|
|
30
19
|
if (!this.prioritized) {
|
|
31
20
|
const result = new Map();
|
|
32
|
-
const config =
|
|
21
|
+
const config = { ...this.widgetModelsForConfig };
|
|
33
22
|
this.widgets.forEach(w => {
|
|
34
23
|
const c = config[w.id];
|
|
35
24
|
if (config) {
|
|
@@ -42,10 +31,10 @@ let WidgetManagerImpl = class WidgetManagerImpl {
|
|
|
42
31
|
const parsedWdigets = await Promise.all(this.widgetModels.map(w => {
|
|
43
32
|
const c = config[w.id];
|
|
44
33
|
delete config[w.id];
|
|
45
|
-
return widget_util_1.WidgetUtil.create(
|
|
34
|
+
return widget_util_1.WidgetUtil.create({ ...w, ...c });
|
|
46
35
|
}));
|
|
47
36
|
const parsedWidgetsForConfig = await Promise.all((Object.keys(config).map(id => {
|
|
48
|
-
const widgetModel =
|
|
37
|
+
const widgetModel = { ...config[id] };
|
|
49
38
|
widgetModel.id = id;
|
|
50
39
|
widgetModel.priority = widgetModel.priority || 500;
|
|
51
40
|
widgetModel.visible = widgetModel.visible === false ? false : true;
|
|
@@ -67,14 +56,14 @@ let WidgetManagerImpl = class WidgetManagerImpl {
|
|
|
67
56
|
return this.prioritized.get(area) || [];
|
|
68
57
|
}
|
|
69
58
|
};
|
|
70
|
-
WidgetManagerImpl = __decorate([
|
|
59
|
+
WidgetManagerImpl = tslib_1.__decorate([
|
|
71
60
|
(0, core_1.Component)(widget_protocol_1.WidgetManager),
|
|
72
|
-
__param(0, (0, core_1.Autowired)(widget_protocol_1.Widget)),
|
|
73
|
-
__param(0, (0, core_1.Optional)()),
|
|
74
|
-
__param(1, (0, core_1.Autowired)(widget_protocol_1.WidgetModel)),
|
|
75
|
-
__param(1, (0, core_1.Optional)()),
|
|
76
|
-
__param(2, (0, core_1.Value)('cell.widget.widgets')),
|
|
77
|
-
__metadata("design:paramtypes", [Array, Array, Object])
|
|
61
|
+
tslib_1.__param(0, (0, core_1.Autowired)(widget_protocol_1.Widget)),
|
|
62
|
+
tslib_1.__param(0, (0, core_1.Optional)()),
|
|
63
|
+
tslib_1.__param(1, (0, core_1.Autowired)(widget_protocol_1.WidgetModel)),
|
|
64
|
+
tslib_1.__param(1, (0, core_1.Optional)()),
|
|
65
|
+
tslib_1.__param(2, (0, core_1.Value)('cell.widget.widgets')),
|
|
66
|
+
tslib_1.__metadata("design:paramtypes", [Array, Array, Object])
|
|
78
67
|
], WidgetManagerImpl);
|
|
79
68
|
exports.WidgetManagerImpl = WidgetManagerImpl;
|
|
80
69
|
//# sourceMappingURL=widget-manager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-manager.js","sourceRoot":"","sources":["../../../src/browser/widget/widget-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-manager.js","sourceRoot":"","sources":["../../../src/browser/widget/widget-manager.ts"],"names":[],"mappings":";;;;AAAA,uCAAqF;AACrF,uDAAuE;AACvE,+CAA2C;AAGpC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAI1B,YACsD,OAAoB,EACf,YAA2B,EACjC,qBAAoD;QAFnD,YAAO,GAAP,OAAO,CAAa;QACf,iBAAY,GAAZ,YAAY,CAAe;QACjC,0BAAqB,GAArB,qBAAqB,CAA+B;IACtG,CAAC;IAEJ,KAAK,CAAC,MAAM,CAAC,IAAY;QACrB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACrC,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,KA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A1DY,iBAAiB;IAD7B,IAAA,gBAAS,EAAC,+BAAa,CAAC;IAMhB,mBAAA,IAAA,gBAAS,EAAC,wBAAM,CAAC,CAAA;IAAE,mBAAA,IAAA,eAAQ,GAAE,CAAA;IAC7B,mBAAA,IAAA,gBAAS,EAAC,6BAAW,CAAC,CAAA;IAAE,mBAAA,IAAA,eAAQ,GAAE,CAAA;IAClC,mBAAA,IAAA,YAAK,EAAC,qBAAqB,CAAC,CAAA;;GAPxB,iBAAiB,CA0D7B;AA1DY,8CAAiB"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/widget",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/browser/index.js",
|
|
6
6
|
"typings": "lib/browser/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@celljs/core": "3.
|
|
9
|
-
"rxjs": "^6.6.0"
|
|
8
|
+
"@celljs/core": "3.1.1",
|
|
9
|
+
"rxjs": "^6.6.0",
|
|
10
|
+
"tslib": "^2.8.0"
|
|
10
11
|
},
|
|
11
12
|
"publishConfig": {
|
|
12
13
|
"access": "public"
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"test": "cell-component test:js"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
|
-
"@celljs/component": "3.
|
|
40
|
+
"@celljs/component": "3.1.1"
|
|
40
41
|
},
|
|
41
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "a773e1661f404c1a44d26b9f3b2591b58192d917"
|
|
42
43
|
}
|