@celljs/shell 3.0.0 → 3.1.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/lib/browser/annotation/index.js +3 -16
- package/lib/browser/annotation/index.js.map +1 -1
- package/lib/browser/apps/app-service.js +8 -16
- package/lib/browser/apps/app-service.js.map +1 -1
- package/lib/browser/apps/index.js +3 -16
- package/lib/browser/apps/index.js.map +1 -1
- package/lib/browser/area/index.js +4 -17
- package/lib/browser/area/index.js.map +1 -1
- package/lib/browser/area/left/index.js +2 -15
- package/lib/browser/area/left/index.js.map +1 -1
- package/lib/browser/area/left/left.js +4 -9
- package/lib/browser/area/left/left.js.map +1 -1
- package/lib/browser/area/top/index.js +2 -15
- package/lib/browser/area/top/index.js.map +1 -1
- package/lib/browser/area/top/top.js +4 -9
- package/lib/browser/area/top/top.js.map +1 -1
- package/lib/browser/index.js +5 -18
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/layout/index.js +2 -15
- package/lib/browser/layout/index.js.map +1 -1
- package/lib/browser/layout/layout.js +2 -7
- package/lib/browser/layout/layout.js.map +1 -1
- package/lib/browser/tool/account.js +7 -23
- package/lib/browser/tool/account.js.map +1 -1
- package/lib/browser/tool/app-set.js +5 -21
- package/lib/browser/tool/app-set.js.map +1 -1
- package/lib/browser/tool/index.js +5 -18
- package/lib/browser/tool/index.js.map +1 -1
- package/lib/browser/tool/logo.js +5 -21
- package/lib/browser/tool/logo.js.map +1 -1
- package/lib/browser/tool/settings.js +5 -21
- package/lib/browser/tool/settings.js.map +1 -1
- package/lib/common/index.js +2 -15
- package/lib/common/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -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("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./top-area"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./left-area"), exports);
|
|
19
6
|
//# 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,qDAA2B;AAC3B,sDAA4B"}
|
|
@@ -1,22 +1,14 @@
|
|
|
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.AppServiceImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
13
5
|
const common_1 = require("../../common");
|
|
14
6
|
const core_1 = require("@celljs/core");
|
|
15
7
|
let AppServiceImpl = class AppServiceImpl {
|
|
16
8
|
async load() {
|
|
17
9
|
const categoryMap = new Map();
|
|
18
10
|
const parsedCategories = Object.keys(this.categories || {}).map(key => {
|
|
19
|
-
const category =
|
|
11
|
+
const category = { ...this.categories[key] };
|
|
20
12
|
category.id = key;
|
|
21
13
|
category.priority = 500;
|
|
22
14
|
category.apps = category.apps || [];
|
|
@@ -24,7 +16,7 @@ let AppServiceImpl = class AppServiceImpl {
|
|
|
24
16
|
return category;
|
|
25
17
|
});
|
|
26
18
|
const parsedApps = Object.keys(this.apps || {}).map(key => {
|
|
27
|
-
const app =
|
|
19
|
+
const app = { ...this.apps[key] };
|
|
28
20
|
app.id = key;
|
|
29
21
|
app.priority = 500;
|
|
30
22
|
return app;
|
|
@@ -40,15 +32,15 @@ let AppServiceImpl = class AppServiceImpl {
|
|
|
40
32
|
return sortedCategories;
|
|
41
33
|
}
|
|
42
34
|
};
|
|
43
|
-
__decorate([
|
|
35
|
+
tslib_1.__decorate([
|
|
44
36
|
(0, core_1.Value)('cell.shell.apps'),
|
|
45
|
-
__metadata("design:type", Object)
|
|
37
|
+
tslib_1.__metadata("design:type", Object)
|
|
46
38
|
], AppServiceImpl.prototype, "apps", void 0);
|
|
47
|
-
__decorate([
|
|
39
|
+
tslib_1.__decorate([
|
|
48
40
|
(0, core_1.Value)('cell.shell.categories'),
|
|
49
|
-
__metadata("design:type", Object)
|
|
41
|
+
tslib_1.__metadata("design:type", Object)
|
|
50
42
|
], AppServiceImpl.prototype, "categories", void 0);
|
|
51
|
-
AppServiceImpl = __decorate([
|
|
43
|
+
AppServiceImpl = tslib_1.__decorate([
|
|
52
44
|
(0, core_1.Component)(common_1.AppService)
|
|
53
45
|
], AppServiceImpl);
|
|
54
46
|
exports.AppServiceImpl = AppServiceImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-service.js","sourceRoot":"","sources":["../../../src/browser/apps/app-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-service.js","sourceRoot":"","sources":["../../../src/browser/apps/app-service.ts"],"names":[],"mappings":";;;;AAAA,yCAA6D;AAC7D,uCAAgE;AAGzD,IAAM,cAAc,GAApB,MAAM,cAAc;IAQvB,KAAK,CAAC,IAAI;QACN,MAAM,WAAW,GAAG,IAAI,GAAG,EAAoB,CAAC;QAChD,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YAClE,MAAM,QAAQ,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7C,QAAQ,CAAC,EAAE,GAAG,GAAG,CAAC;YAClB,QAAQ,CAAC,QAAQ,GAAG,GAAG,CAAC;YACxB,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC;YACpC,WAAW,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;YAC/B,OAAO,QAAQ,CAAC;QACpB,CAAC,CAAC,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YACtD,MAAM,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAClC,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC;YACb,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC;YACnB,OAAO,GAAG,CAAC;QACf,CAAC,CAAC,CAAC;QACH,MAAM,gBAAgB,GAAG,qBAAc,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QAC9F,MAAM,UAAU,GAAG,qBAAc,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QAClF,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;YAC1B,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACjD,IAAI,QAAQ,EAAE;gBACV,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aAC3B;SACJ;QACD,OAAO,gBAAgB,CAAC;IAC5B,CAAC;CAEJ,CAAA;AAjCG;IAAC,IAAA,YAAK,EAAC,iBAAiB,CAAC;;4CAC0B;AAEnD;IAAC,IAAA,YAAK,EAAC,uBAAuB,CAAC;;kDAC2B;AANjD,cAAc;IAD1B,IAAA,gBAAS,EAAC,mBAAU,CAAC;GACT,cAAc,CAmC1B;AAnCY,wCAAc"}
|
|
@@ -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("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./app-service"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./apps"), exports);
|
|
19
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/apps/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/apps/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,iDAAuB"}
|
|
@@ -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("./top"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./left"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./area-protocol"), exports);
|
|
20
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/area/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/area/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB;AACtB,iDAAuB;AACvB,0DAAgC"}
|
|
@@ -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("./left"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/browser/area/left/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/browser/area/left/index.ts"],"names":[],"mappings":";;;AAAA,iDAAuB"}
|
|
@@ -1,12 +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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.LeftArea = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
10
5
|
const React = require("react");
|
|
11
6
|
const grommet_1 = require("grommet");
|
|
12
7
|
const core_1 = require("@celljs/core");
|
|
@@ -14,8 +9,8 @@ const area_protocol_1 = require("../area-protocol");
|
|
|
14
9
|
const react_1 = require("@celljs/react");
|
|
15
10
|
const widget_1 = require("@celljs/widget");
|
|
16
11
|
function LeftArea(props) {
|
|
17
|
-
props =
|
|
18
|
-
return (React.createElement(grommet_1.Sidebar,
|
|
12
|
+
props = { ...(core_1.ConfigUtil.get('cell.shell.leftArea') || {}), ...props };
|
|
13
|
+
return (React.createElement(grommet_1.Sidebar, { animation: "fadeIn", pad: "medium", background: "white", width: "250px", footer: React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.LeftFooterArea }), ...props },
|
|
19
14
|
React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.LeftHeaderArea }),
|
|
20
15
|
React.createElement(grommet_1.Nav, { gap: "none" },
|
|
21
16
|
React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.NavArea }),
|
|
@@ -24,7 +19,7 @@ function LeftArea(props) {
|
|
|
24
19
|
exports.LeftArea = LeftArea;
|
|
25
20
|
let default_1 = class {
|
|
26
21
|
};
|
|
27
|
-
default_1 = __decorate([
|
|
22
|
+
default_1 = tslib_1.__decorate([
|
|
28
23
|
(0, widget_1.Widget)({ area: area_protocol_1.AreaType.LeftArea, component: LeftArea })
|
|
29
24
|
], default_1);
|
|
30
25
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"left.js","sourceRoot":"","sources":["../../../../src/browser/area/left/left.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"left.js","sourceRoot":"","sources":["../../../../src/browser/area/left/left.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qCAAiD;AACjD,uCAA0C;AAC1C,oDAA4C;AAC5C,yCAAqC;AACrC,2CAAwC;AAExC,SAAgB,QAAQ,CAAC,KAAe;IACpC,KAAK,GAAG,EAAE,GAAG,CAAC,iBAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,KAAK,EAAE,CAAC;IAEvE,OAAO,CACH,oBAAC,iBAAO,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,QAAQ,EAAC,UAAU,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EACrE,MAAM,EAAE,oBAAC,YAAI,IAAC,IAAI,EAAE,wBAAQ,CAAC,cAAc,GAAI,KAC3C,KAAK;QAET,oBAAC,YAAI,IAAC,IAAI,EAAE,wBAAQ,CAAC,cAAc,GAAI;QACvC,oBAAC,aAAG,IAAC,GAAG,EAAC,MAAM;YACX,oBAAC,YAAI,IAAC,IAAI,EAAE,wBAAQ,CAAC,OAAO,GAAI;YAChC,oBAAC,YAAI,IAAC,IAAI,EAAE,wBAAQ,CAAC,YAAY,GAAI,CACnC,CACA,CACb,CAAC;AACN,CAAC;AAfD,4BAeC;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,wBAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;aAClC"}
|
|
@@ -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("./top"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/browser/area/top/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/browser/area/top/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
|
|
@@ -1,12 +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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.TopArea = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
10
5
|
const React = require("react");
|
|
11
6
|
const grommet_1 = require("grommet");
|
|
12
7
|
const core_1 = require("@celljs/core");
|
|
@@ -14,8 +9,8 @@ const area_protocol_1 = require("../area-protocol");
|
|
|
14
9
|
const react_1 = require("@celljs/react");
|
|
15
10
|
const widget_1 = require("@celljs/widget");
|
|
16
11
|
function TopArea(props) {
|
|
17
|
-
props =
|
|
18
|
-
return (React.createElement(grommet_1.Nav,
|
|
12
|
+
props = { ...core_1.ConfigUtil.get('cell.shell.topArea'), ...props };
|
|
13
|
+
return (React.createElement(grommet_1.Nav, { direction: "row", pad: { vertical: 'small', horizontal: 'medium' }, elevation: "xsmall", justify: "between", ...props },
|
|
19
14
|
React.createElement(grommet_1.Box, { direction: "row", gap: "small" },
|
|
20
15
|
React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.TopLeftArea })),
|
|
21
16
|
React.createElement(grommet_1.Box, { direction: "row", gap: "small" },
|
|
@@ -24,7 +19,7 @@ function TopArea(props) {
|
|
|
24
19
|
exports.TopArea = TopArea;
|
|
25
20
|
let default_1 = class {
|
|
26
21
|
};
|
|
27
|
-
default_1 = __decorate([
|
|
22
|
+
default_1 = tslib_1.__decorate([
|
|
28
23
|
(0, widget_1.Widget)({ area: area_protocol_1.AreaType.TopArea, component: TopArea })
|
|
29
24
|
], default_1);
|
|
30
25
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top.js","sourceRoot":"","sources":["../../../../src/browser/area/top/top.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"top.js","sourceRoot":"","sources":["../../../../src/browser/area/top/top.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qCAA6C;AAC7C,uCAA0C;AAC1C,oDAA4C;AAC5C,yCAAqC;AACrC,2CAAwC;AAExC,SAAgB,OAAO,CAAC,KAAe;IACnC,KAAK,GAAG,EAAE,GAAG,iBAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC,EAAE,GAAG,KAAK,EAAE,CAAC;IAE9D,OAAO,CACH,oBAAC,aAAG,IAAC,SAAS,EAAC,KAAK,EAAC,GAAG,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,KAAK,KAAK;QACjH,oBAAC,aAAG,IAAC,SAAS,EAAC,KAAK,EAAC,GAAG,EAAC,OAAO;YAC5B,oBAAC,YAAI,IAAC,IAAI,EAAE,wBAAQ,CAAC,WAAW,GAAI,CAClC;QACN,oBAAC,aAAG,IAAC,SAAS,EAAC,KAAK,EAAC,GAAG,EAAC,OAAO;YAC5B,oBAAC,YAAI,IAAC,IAAI,EAAE,wBAAQ,CAAC,YAAY,GAAI,CACnC,CACJ,CACT,CAAC;AACN,CAAC;AAbD,0BAaC;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,wBAAQ,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;aAChC"}
|
package/lib/browser/index.js
CHANGED
|
@@ -1,21 +1,8 @@
|
|
|
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("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./apps"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./area"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./tool"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./layout"), exports);
|
|
21
8
|
//# 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,iDAAuB;AACvB,iDAAuB;AACvB,iDAAuB;AACvB,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("./layout"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/layout/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/layout/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB"}
|
|
@@ -1,12 +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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.MultiTopLayout = exports.TopLeftLayout = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
10
5
|
const react_1 = require("@celljs/react");
|
|
11
6
|
const React = require("react");
|
|
12
7
|
const area_1 = require("../area");
|
|
@@ -58,7 +53,7 @@ function MultiTopLayout({ children }) {
|
|
|
58
53
|
exports.MultiTopLayout = MultiTopLayout;
|
|
59
54
|
let default_1 = class {
|
|
60
55
|
};
|
|
61
|
-
default_1 = __decorate([
|
|
56
|
+
default_1 = tslib_1.__decorate([
|
|
62
57
|
(0, react_1.DefaultLayout)(TopLeftLayout)
|
|
63
58
|
], default_1);
|
|
64
59
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../src/browser/layout/layout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../src/browser/layout/layout.tsx"],"names":[],"mappings":";;;;AAAA,yCAAoD;AACpD,+BAA+B;AAC/B,kCAAmC;AACnC,yDAAuC;AACvC,qCAA8B;AAE9B,MAAM,YAAY,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;;CAQ9B,CAAC;AAEF,MAAM,aAAa,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;CAM/B,CAAC;AAEF,MAAM,UAAU,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;;CAQ5B,CAAC;AAEF,SAAgB,aAAa,CAAC,EAAE,QAAQ,EAAgC;IACpE,OAAO,CACH,oBAAC,YAAY;QACT,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,OAAO,GAAG;QAC/B,oBAAC,aAAa;YACV,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,QAAQ,GAAG,CACpB;QAChB,oBAAC,UAAU;YACN,QAAQ;YACT,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,UAAU,GAAG,CACzB,CACJ,CAChB,CAAC;AACN,CAAC;AAbD,sCAaC;AAED,SAAgB,cAAc,CAAC,EAAE,QAAQ,EAAgC;IACrE,OAAO,CACH,oBAAC,aAAG;QACA,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,OAAO,GAAG;QAC/B,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,gBAAgB,GAAG;QACxC,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,eAAe,GAAG;QACtC,QAAQ;QACT,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,UAAU,GAAG,CAClC,CACP,CAAC;AACN,CAAC;AAVD,wCAUC;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,qBAAa,EAAC,aAAa,CAAC;aACN"}
|
|
@@ -1,23 +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 __rest = (this && this.__rest) || function (s, e) {
|
|
9
|
-
var t = {};
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
13
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
14
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
15
|
-
t[p[i]] = s[p[i]];
|
|
16
|
-
}
|
|
17
|
-
return t;
|
|
18
|
-
};
|
|
19
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
3
|
exports.Account = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
21
5
|
const React = require("react");
|
|
22
6
|
const grommet_1 = require("grommet");
|
|
23
7
|
const core_1 = require("@celljs/core");
|
|
@@ -44,14 +28,14 @@ function Account(props) {
|
|
|
44
28
|
const subscription = loginUserManager.userInfoSubject.subscribe(u => setUser(u));
|
|
45
29
|
return () => subscription.unsubscribe();
|
|
46
30
|
}, []);
|
|
47
|
-
const
|
|
48
|
-
props =
|
|
31
|
+
const { icon, login, ...rest } = core_1.ConfigUtil.get('cell.shell.account');
|
|
32
|
+
props = { ...rest, ...props };
|
|
49
33
|
if (!user) {
|
|
50
|
-
const { label
|
|
51
|
-
return (React.createElement(grommet_2.NavItem,
|
|
34
|
+
const { label, ...loginRest } = login;
|
|
35
|
+
return (React.createElement(grommet_2.NavItem, { label: label, size: "medium", ...loginRest }));
|
|
52
36
|
}
|
|
53
37
|
return (React.createElement(grommet_1.Box, { ref: targetRef },
|
|
54
|
-
React.createElement(grommet_1.Avatar,
|
|
38
|
+
React.createElement(grommet_1.Avatar, { hoverIndicator: true, title: user.nickname, style: { margin: '12px' }, size: 'small', onClick: () => setShow(true), ...props, src: user.avatar || props.src }, React.createElement(grommet_2.Icon, { icon: user.avatar || icon })),
|
|
55
39
|
targetRef.current && show && (React.createElement(grommet_1.Drop, { target: targetRef.current, style: { margin: '20px 0' }, elevation: "large", align: { top: 'bottom', right: 'right' }, onEsc: () => setShow(false), onClickOutside: () => setShow(false) },
|
|
56
40
|
React.createElement(StyledAccount, null,
|
|
57
41
|
React.createElement(react_1.Slot, { area: area_1.AreaType.AccountArea }))))));
|
|
@@ -59,7 +43,7 @@ function Account(props) {
|
|
|
59
43
|
exports.Account = Account;
|
|
60
44
|
let default_1 = class {
|
|
61
45
|
};
|
|
62
|
-
default_1 = __decorate([
|
|
46
|
+
default_1 = tslib_1.__decorate([
|
|
63
47
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopRightArea, component: Account, priority: 100 })
|
|
64
48
|
], default_1);
|
|
65
49
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../src/browser/tool/account.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../src/browser/tool/account.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qCAAyD;AACzD,uCAAyD;AACzD,2CAAwC;AACxC,kCAAmC;AACnC,yDAAuC;AACvC,yCAAqC;AACrC,0DAA2D;AAE3D,6CAAgD;AAEhD,MAAM,aAAa,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;CAM/B,CAAC;AAEF,SAAgB,OAAO,CAAC,KAAkB;IACtC,2CAA2C;IAC3C,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,gBAAgB,GAAG,oBAAa,CAAC,GAAG,CAAc,qBAAW,CAAC,CAAC;IACrE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAmB,gBAAgB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IACjG,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QACjF,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IAC5C,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,iBAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtE,KAAK,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC;IAC9B,IAAI,CAAC,IAAI,EAAE;QACP,MAAM,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;QACtC,OAAO,CAAC,oBAAC,iBAAO,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAC,QAAQ,KAAK,SAAS,GAAG,CAAC,CAAC;KAClE;IACD,OAAO,CACH,oBAAC,aAAG,IAAC,GAAG,EAAE,SAAS;QACf,oBAAC,gBAAM,IACH,cAAc,QAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAM,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,GAAG,IAC9I,oBAAC,cAAI,IAAC,IAAI,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,GAAG,CAClC;QACR,SAAS,CAAC,OAAO,IAAI,IAAI,IAAI,CAC1B,oBAAC,cAAI,IACD,MAAM,EAAE,SAAS,CAAC,OAAQ,EAC1B,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAC3B,SAAS,EAAC,OAAO,EACjB,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAC,EACvC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC3B,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;YAEpC,oBAAC,aAAa;gBACV,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,WAAW,GAAG,CACvB,CACb,CACV,CACC,CACT,CAAC;AACN,CAAC;AAtCD,0BAsCC;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,eAAQ,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;aACpD"}
|
|
@@ -1,23 +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 __rest = (this && this.__rest) || function (s, e) {
|
|
9
|
-
var t = {};
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
13
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
14
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
15
|
-
t[p[i]] = s[p[i]];
|
|
16
|
-
}
|
|
17
|
-
return t;
|
|
18
|
-
};
|
|
19
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
3
|
exports.AppSet = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
21
5
|
const React = require("react");
|
|
22
6
|
const grommet_1 = require("grommet");
|
|
23
7
|
const core_1 = require("@celljs/core");
|
|
@@ -37,10 +21,10 @@ function AppSet(props) {
|
|
|
37
21
|
// eslint-disable-next-line no-null/no-null
|
|
38
22
|
const targetRef = React.useRef(null);
|
|
39
23
|
const [show, setShow] = React.useState(false);
|
|
40
|
-
const
|
|
41
|
-
props =
|
|
24
|
+
const { icon, ...rest } = core_1.ConfigUtil.get('cell.shell.appSet');
|
|
25
|
+
props = { ...rest, ...props };
|
|
42
26
|
return (React.createElement(Fragment, null,
|
|
43
|
-
React.createElement(grommet_1.Button,
|
|
27
|
+
React.createElement(grommet_1.Button, { ref: targetRef, hoverIndicator: true, onClick: () => setShow(true), ...props, icon: React.createElement(grommet_2.Icon, { icon: icon }) }),
|
|
44
28
|
targetRef.current && show && (React.createElement(grommet_1.Drop, { target: targetRef.current, style: { marginTop: '20px' }, elevation: "large", align: { top: 'bottom', right: 'right' }, onEsc: () => setShow(false), onClickOutside: () => setShow(false) },
|
|
45
29
|
React.createElement(StyledAppSet, null,
|
|
46
30
|
React.createElement(apps_1.Apps, { size: "small" }))))));
|
|
@@ -48,7 +32,7 @@ function AppSet(props) {
|
|
|
48
32
|
exports.AppSet = AppSet;
|
|
49
33
|
let default_1 = class {
|
|
50
34
|
};
|
|
51
|
-
default_1 = __decorate([
|
|
35
|
+
default_1 = tslib_1.__decorate([
|
|
52
36
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopRightArea, component: AppSet, priority: 200 })
|
|
53
37
|
], default_1);
|
|
54
38
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-set.js","sourceRoot":"","sources":["../../../src/browser/tool/app-set.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-set.js","sourceRoot":"","sources":["../../../src/browser/tool/app-set.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qCAAoD;AACpD,uCAA0C;AAC1C,6CAAuC;AACvC,2CAAwC;AACxC,kCAAmC;AACnC,kCAA+B;AAC/B,yDAAuC;AAEvC,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AAE3B,MAAM,YAAY,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;CAK9B,CAAC;AAEF,SAAgB,MAAM,CAAC,KAAkB;IACrC,2CAA2C;IAC3C,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,iBAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAC9D,KAAK,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC;IAC9B,OAAO,CACH,oBAAC,QAAQ;QACL,oBAAC,gBAAM,IAAC,GAAG,EAAE,SAAS,EAAE,cAAc,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAM,KAAK,EAAE,IAAI,EAAE,oBAAC,cAAI,IAAC,IAAI,EAAE,IAAI,GAAG,GAAG;QAC3G,SAAS,CAAC,OAAO,IAAI,IAAI,IAAI,CAC1B,oBAAC,cAAI,IACD,MAAM,EAAE,SAAS,CAAC,OAAQ,EAC1B,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,EAC5B,SAAS,EAAC,OAAO,EACjB,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAC,EACvC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC3B,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;YAEpC,oBAAC,YAAY;gBACT,oBAAC,WAAI,IAAC,IAAI,EAAC,OAAO,GAAE,CACT,CACZ,CACV,CACM,CACd,CAAC;AACN,CAAC;AAzBD,wBAyBC;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,eAAQ,CAAC,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;aACnD"}
|
|
@@ -1,21 +1,8 @@
|
|
|
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("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./logo"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./settings"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./app-set"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./account"), exports);
|
|
21
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/tool/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/tool/index.ts"],"names":[],"mappings":";;;AAAA,iDAAuB;AACvB,qDAA2B;AAC3B,oDAA0B;AAC1B,oDAA0B"}
|
package/lib/browser/tool/logo.js
CHANGED
|
@@ -1,37 +1,21 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
9
|
-
var t = {};
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
13
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
14
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
15
|
-
t[p[i]] = s[p[i]];
|
|
16
|
-
}
|
|
17
|
-
return t;
|
|
18
|
-
};
|
|
19
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
3
|
exports.Logo = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
21
5
|
const React = require("react");
|
|
22
6
|
const core_1 = require("@celljs/core");
|
|
23
7
|
const widget_1 = require("@celljs/widget");
|
|
24
8
|
const area_1 = require("../area");
|
|
25
9
|
const grommet_1 = require("@celljs/grommet");
|
|
26
10
|
function Logo(props) {
|
|
27
|
-
const
|
|
28
|
-
props =
|
|
29
|
-
return (React.createElement(grommet_1.NavItem,
|
|
11
|
+
const { label, icon, ...rest } = core_1.ConfigUtil.get('cell.shell.logo');
|
|
12
|
+
props = { ...rest, ...props };
|
|
13
|
+
return (React.createElement(grommet_1.NavItem, { size: "medium", gap: "xsmall", label: label, icon: React.createElement(grommet_1.Icon, { icon: icon }), hoverIndicator: false, activatable: false, ...props }));
|
|
30
14
|
}
|
|
31
15
|
exports.Logo = Logo;
|
|
32
16
|
let default_1 = class {
|
|
33
17
|
};
|
|
34
|
-
default_1 = __decorate([
|
|
18
|
+
default_1 = tslib_1.__decorate([
|
|
35
19
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopLeftArea, component: Logo, priority: 1000 })
|
|
36
20
|
], default_1);
|
|
37
21
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.js","sourceRoot":"","sources":["../../../src/browser/tool/logo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logo.js","sourceRoot":"","sources":["../../../src/browser/tool/logo.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,uCAA0C;AAC1C,2CAAwC;AACxC,kCAAmC;AACnC,6CAA8D;AAE9D,SAAgB,IAAI,CAAC,KAAmB;IACpC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,iBAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACnE,KAAK,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC;IAC9B,OAAO,CAAC,oBAAC,iBAAO,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,oBAAC,cAAI,IAAC,IAAI,EAAE,IAAI,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,KAAM,KAAK,GAAG,CAAC,CAAC;AAClJ,CAAC;AAJD,oBAIC;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,eAAQ,CAAC,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aACjD"}
|
|
@@ -1,23 +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 __rest = (this && this.__rest) || function (s, e) {
|
|
9
|
-
var t = {};
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
13
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
14
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
15
|
-
t[p[i]] = s[p[i]];
|
|
16
|
-
}
|
|
17
|
-
return t;
|
|
18
|
-
};
|
|
19
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
3
|
exports.Settings = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
21
5
|
const React = require("react");
|
|
22
6
|
const grommet_1 = require("grommet");
|
|
23
7
|
const core_1 = require("@celljs/core");
|
|
@@ -39,8 +23,8 @@ function Settings(props) {
|
|
|
39
23
|
// eslint-disable-next-line no-null/no-null
|
|
40
24
|
const targetRef = React.useRef(null);
|
|
41
25
|
const [show, setShow] = React.useState(false);
|
|
42
|
-
const
|
|
43
|
-
props =
|
|
26
|
+
const { icon, ...rest } = core_1.ConfigUtil.get('cell.shell.settings');
|
|
27
|
+
props = { ...rest, ...props };
|
|
44
28
|
React.useEffect(() => {
|
|
45
29
|
const themeManager = core_1.ContainerUtil.get(widget_1.ThemeManager);
|
|
46
30
|
const subscription = themeManager.currentSubject.subscribe(t => setShow(false));
|
|
@@ -48,7 +32,7 @@ function Settings(props) {
|
|
|
48
32
|
}, []);
|
|
49
33
|
// @ts-ignore
|
|
50
34
|
return (React.createElement(Fragment, null,
|
|
51
|
-
React.createElement(grommet_1.Button,
|
|
35
|
+
React.createElement(grommet_1.Button, { ref: targetRef, hoverIndicator: true, onClick: () => setShow(true), ...props, icon: React.createElement(grommet_2.Icon, { icon: icon }) }),
|
|
52
36
|
targetRef.current && show && (React.createElement(grommet_1.Drop, { target: targetRef.current, style: { marginTop: '20px' }, elevation: "large", align: { top: 'bottom', right: 'right' }, onEsc: () => setShow(false), onClickOutside: () => setShow(false) },
|
|
53
37
|
React.createElement(StyledSettings, null,
|
|
54
38
|
React.createElement(grommet_1.Box, null,
|
|
@@ -57,7 +41,7 @@ function Settings(props) {
|
|
|
57
41
|
exports.Settings = Settings;
|
|
58
42
|
let default_1 = class {
|
|
59
43
|
};
|
|
60
|
-
default_1 = __decorate([
|
|
44
|
+
default_1 = tslib_1.__decorate([
|
|
61
45
|
(0, widget_1.Widget)({ area: area_1.AreaType.SettingsArea, component: grommet_2.LocaleMenu, priority: 200 }),
|
|
62
46
|
(0, widget_1.Widget)({ area: area_1.AreaType.SettingsArea, component: grommet_2.ThemeBox, priority: 300 }),
|
|
63
47
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopRightArea, component: Settings, priority: 300 })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/browser/tool/settings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/browser/tool/settings.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qCAAoE;AACpE,uCAAyD;AACzD,6CAA6D;AAC7D,2CAAsD;AACtD,kCAAmC;AACnC,yDAAuC;AACvC,yCAAqC;AAErC,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AAE3B,MAAM,cAAc,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;CAMhC,CAAC;AACF,aAAa;AACb,SAAgB,QAAQ,CAAC,KAAkB;IACvC,2CAA2C;IAC3C,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,iBAAU,CAAC,GAAG,CAAM,qBAAqB,CAAC,CAAC;IACrE,KAAK,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC;IAC9B,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,MAAM,YAAY,GAAG,oBAAa,CAAC,GAAG,CAA0B,qBAAY,CAAC,CAAC;QAC9E,MAAM,YAAY,GAAG,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QAChF,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IAC5C,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,aAAa;IACb,OAAO,CAAC,oBAAC,QAAQ;QACb,oBAAC,gBAAM,IAAC,GAAG,EAAE,SAAS,EAAE,cAAc,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAM,KAAK,EAAE,IAAI,EAAE,oBAAC,cAAI,IAAC,IAAI,EAAE,IAAI,GAAG,GAAG;QAC3G,SAAS,CAAC,OAAO,IAAI,IAAI,IAAI,CAC1B,oBAAC,cAAI,IACD,MAAM,EAAE,SAAS,CAAC,OAAQ,EAC1B,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,EAC5B,SAAS,EAAC,OAAO,EACjB,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAC,EACvC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC3B,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;YAEpC,oBAAC,cAAc;gBACX,oBAAC,aAAG;oBACA,oBAAC,YAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,YAAY,GAAG,CAClC,CACO,CACd,CACV,CACM,CAAC,CAAC;AACjB,CAAC;AA/BD,4BA+BC;AAKc,gBAAA;CAAQ,CAAA;AAAR;IAHd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,eAAQ,CAAC,YAAY,EAAE,SAAS,EAAE,oBAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;IAC7E,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,eAAQ,CAAC,YAAY,EAAE,SAAS,EAAE,kBAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;IAC3E,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,eAAQ,CAAC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;aACrD"}
|
package/lib/common/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("./shell-protocol"), exports);
|
|
18
5
|
//# sourceMappingURL=index.js.map
|
package/lib/common/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/shell",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/common/index.js",
|
|
6
6
|
"typings": "lib/common/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@celljs/core": "3.
|
|
9
|
-
"@celljs/grommet": "3.
|
|
10
|
-
"@celljs/react": "3.
|
|
11
|
-
"@celljs/security": "3.
|
|
12
|
-
"@celljs/widget": "3.
|
|
8
|
+
"@celljs/core": "3.1.0",
|
|
9
|
+
"@celljs/grommet": "3.1.0",
|
|
10
|
+
"@celljs/react": "3.1.0",
|
|
11
|
+
"@celljs/security": "3.1.0",
|
|
12
|
+
"@celljs/widget": "3.1.0",
|
|
13
13
|
"grommet": "^2.25.1",
|
|
14
14
|
"react": "^18.2.0",
|
|
15
15
|
"react-intl": "^6.0.5",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"test": "cell-component test:js"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@celljs/component": "3.
|
|
47
|
+
"@celljs/component": "3.1.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "6bb7168beaf93b3c54ef92ce51775e9603163444"
|
|
50
50
|
}
|