@celljs/shell 3.5.14 → 3.6.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 +16 -3
- package/lib/browser/annotation/index.js.map +1 -1
- package/lib/browser/annotation/left-area.d.ts.map +1 -1
- package/lib/browser/annotation/top-area.d.ts.map +1 -1
- package/lib/browser/apps/app-service.js +15 -7
- package/lib/browser/apps/app-service.js.map +1 -1
- package/lib/browser/apps/apps.js +3 -4
- package/lib/browser/apps/apps.js.map +1 -1
- package/lib/browser/apps/index.js +16 -3
- package/lib/browser/apps/index.js.map +1 -1
- package/lib/browser/area/area-protocol.js +1 -1
- package/lib/browser/area/area-protocol.js.map +1 -1
- package/lib/browser/area/index.js +17 -4
- package/lib/browser/area/index.js.map +1 -1
- package/lib/browser/area/left/index.js +15 -2
- package/lib/browser/area/left/index.js.map +1 -1
- package/lib/browser/area/left/left.js +8 -4
- package/lib/browser/area/left/left.js.map +1 -1
- package/lib/browser/area/top/index.js +15 -2
- package/lib/browser/area/top/index.js.map +1 -1
- package/lib/browser/area/top/top.js +8 -4
- package/lib/browser/area/top/top.js.map +1 -1
- package/lib/browser/index.js +18 -5
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/layout/index.js +15 -2
- package/lib/browser/layout/index.js.map +1 -1
- package/lib/browser/layout/layout.js +9 -5
- package/lib/browser/layout/layout.js.map +1 -1
- package/lib/browser/module.d.ts +1 -1
- package/lib/browser/tool/account.js +8 -4
- package/lib/browser/tool/account.js.map +1 -1
- package/lib/browser/tool/app-set.js +8 -4
- package/lib/browser/tool/app-set.js.map +1 -1
- package/lib/browser/tool/index.js +18 -5
- package/lib/browser/tool/index.js.map +1 -1
- package/lib/browser/tool/logo.js +8 -4
- package/lib/browser/tool/logo.js.map +1 -1
- package/lib/browser/tool/settings.js +8 -4
- package/lib/browser/tool/settings.js.map +1 -1
- package/lib/common/index.js +15 -2
- package/lib/common/index.js.map +1 -1
- package/lib/node/module.d.ts +1 -1
- package/package.json +8 -8
- package/src/browser/annotation/left-area.ts +1 -1
- package/src/browser/annotation/top-area.ts +1 -1
- package/src/browser/tool/settings.tsx +0 -2
|
@@ -1,6 +1,19 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
tslib_1.__exportStar(require("./left-area"), exports);
|
|
17
|
+
__exportStar(require("./top-area"), exports);
|
|
18
|
+
__exportStar(require("./left-area"), exports);
|
|
6
19
|
//# 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,6CAA2B;AAC3B,8CAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"left-area.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/left-area.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"left-area.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/left-area.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,GACP,YAAY,GAAG,EAAE,SAAQ,OAAc,KAAG,CAAC,MAAM,EAAE,GAAG,KAAK,GAIpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-area.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/top-area.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"top-area.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/top-area.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,GACN,YAAY,GAAG,EAAE,SAAQ,OAAc,KAAG,CAAC,MAAM,EAAE,GAAG,KAAK,GAIpE,CAAC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.AppServiceImpl = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const common_1 = require("../../common");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
let AppServiceImpl = class AppServiceImpl {
|
|
@@ -32,16 +40,16 @@ let AppServiceImpl = class AppServiceImpl {
|
|
|
32
40
|
return sortedCategories;
|
|
33
41
|
}
|
|
34
42
|
};
|
|
35
|
-
|
|
43
|
+
exports.AppServiceImpl = AppServiceImpl;
|
|
44
|
+
__decorate([
|
|
36
45
|
(0, core_1.Value)('cell.shell.apps'),
|
|
37
|
-
|
|
46
|
+
__metadata("design:type", Object)
|
|
38
47
|
], AppServiceImpl.prototype, "apps", void 0);
|
|
39
|
-
|
|
48
|
+
__decorate([
|
|
40
49
|
(0, core_1.Value)('cell.shell.categories'),
|
|
41
|
-
|
|
50
|
+
__metadata("design:type", Object)
|
|
42
51
|
], AppServiceImpl.prototype, "categories", void 0);
|
|
43
|
-
AppServiceImpl =
|
|
52
|
+
exports.AppServiceImpl = AppServiceImpl = __decorate([
|
|
44
53
|
(0, core_1.Component)(common_1.AppService)
|
|
45
54
|
], AppServiceImpl);
|
|
46
|
-
exports.AppServiceImpl = AppServiceImpl;
|
|
47
55
|
//# sourceMappingURL=app-service.js.map
|
|
@@ -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,CAA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AGJ;IADlB,IAAA,YAAK,EAAC,iBAAiB,CAAC;;4CAC0B;AAGhC;IADlB,IAAA,YAAK,EAAC,uBAAuB,CAAC;;kDAC2B;yBANjD,cAAc;IAD1B,IAAA,gBAAS,EAAC,mBAAU,CAAC;GACT,cAAc,CAmC1B"}
|
package/lib/browser/apps/apps.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Apps = Apps;
|
|
4
|
+
exports.AppCategory = AppCategory;
|
|
5
|
+
exports.AppItem = AppItem;
|
|
4
6
|
const React = require("react");
|
|
5
7
|
const grommet_1 = require("grommet");
|
|
6
8
|
const core_1 = require("@celljs/core");
|
|
@@ -21,7 +23,6 @@ function Apps({ size }) {
|
|
|
21
23
|
}, []);
|
|
22
24
|
return (React.createElement(grommet_1.Box, { direction: "column", pad: "small", gap: "small", alignContent: "start" }, categories.map(c => (React.createElement(AppCategory, { key: c.id, size: size, category: c })))));
|
|
23
25
|
}
|
|
24
|
-
exports.Apps = Apps;
|
|
25
26
|
function AppCategory({ category, size }) {
|
|
26
27
|
const intl = (0, react_intl_1.useIntl)();
|
|
27
28
|
const apps = category.apps || [];
|
|
@@ -30,7 +31,6 @@ function AppCategory({ category, size }) {
|
|
|
30
31
|
React.createElement(grommet_1.Box, { border: { side: 'top', color: 'light-2' } }),
|
|
31
32
|
React.createElement(grommet_1.Grid, { rows: size === 'small' ? 'xsmall' : 'small', columns: size === 'small' ? 'xsmall' : 'small' }, apps.map(app => (React.createElement(AppItem, { key: app.id, size: size, app: app }))))));
|
|
32
33
|
}
|
|
33
|
-
exports.AppCategory = AppCategory;
|
|
34
34
|
function AppItem({ app, size }) {
|
|
35
35
|
const intl = (0, react_intl_1.useIntl)();
|
|
36
36
|
const onClick = () => {
|
|
@@ -40,5 +40,4 @@ function AppItem({ app, size }) {
|
|
|
40
40
|
React.createElement(grommet_2.Icon, { icon: app.icon, size: size === 'small' ? 'medium' : 'large' }),
|
|
41
41
|
React.createElement(grommet_1.Text, { size: size, margin: { top: size } }, intl.formatMessage({ id: app.name }))));
|
|
42
42
|
}
|
|
43
|
-
exports.AppItem = AppItem;
|
|
44
43
|
//# sourceMappingURL=apps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../src/browser/apps/apps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../src/browser/apps/apps.tsx"],"names":[],"mappings":";;AAQA,oBAoBC;AAED,kCAkBC;AAED,0BAgBC;AAlED,+BAA+B;AAC/B,qCAA6D;AAC7D,uCAA6C;AAC7C,yCAA6D;AAC7D,6CAAuC;AACvC,2CAAqC;AACrC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;AAElD,SAAgB,IAAI,CAAC,EAAE,IAAI,EAAqB;IAC5C,IAAI,GAAG,IAAI,IAAI,UAAU,CAAC,2BAAiB,CAAC,CAAC;IAC7C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAa,EAAE,CAAC,CAAC;IAC7D,SAAS,CAAC,GAAG,EAAE;QACX,MAAM,QAAQ,GAAG,KAAK,IAAI,EAAE;YACxB,MAAM,UAAU,GAAG,oBAAa,CAAC,GAAG,CAAa,mBAAU,CAAC,CAAC;YAC7D,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,IAAI,EAAE,CAAC;YACrC,aAAa,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC,CAAC;QACF,QAAQ,EAAE,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,oBAAC,aAAG,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,OAAO,EAAC,GAAG,EAAC,OAAO,EAAC,YAAY,EAAC,OAAO,IAE/D,UAAU,CA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AAM,IAAI,GAAG,IAAA,oBAAO,GAAE,CAAC;IACvB,MAAM,OAAO,GAAG,GAAG,EAAE;QACjB,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC;IACnC,CAAC,CAAC;IACF,OAAO,CACH,oBAAC,aAAG,IACA,OAAO,EAAC,QAAQ,EAChB,KAAK,EAAC,QAAQ,EACd,cAAc,QACd,OAAO,EAAE,OAAO;QAEhB,oBAAC,cAAI,IAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GAAG;QACpE,oBAAC,cAAI,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAG,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,GAAG,CAAC,IAAI,EAAC,CAAC,CAAQ,CACnF,CACT,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,19 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
tslib_1.__exportStar(require("./apps"), exports);
|
|
17
|
+
__exportStar(require("./app-service"), exports);
|
|
18
|
+
__exportStar(require("./apps"), exports);
|
|
6
19
|
//# 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,gDAA8B;AAC9B,yCAAuB"}
|
|
@@ -18,5 +18,5 @@ var AreaType;
|
|
|
18
18
|
AreaType["SettingsArea"] = "Settings";
|
|
19
19
|
AreaType["AccountArea"] = "Account";
|
|
20
20
|
AreaType["BottomArea"] = "Bottom";
|
|
21
|
-
})(AreaType
|
|
21
|
+
})(AreaType || (exports.AreaType = AreaType = {}));
|
|
22
22
|
//# sourceMappingURL=area-protocol.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"area-protocol.js","sourceRoot":"","sources":["../../../src/browser/area/area-protocol.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAC9B,QAAA,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAE7C,IAAY,QAcX;AAdD,WAAY,QAAQ;IAChB,2BAAe,CAAA;IACf,6CAAiC,CAAA;IACjC,2CAA+B,CAAA;IAC/B,6BAAiB,CAAA;IACjB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,yCAA6B,CAAA;IAC7B,yCAA6B,CAAA;IAC7B,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,qCAAyB,CAAA;IACzB,mCAAuB,CAAA;IACvB,iCAAqB,CAAA;AACzB,CAAC,EAdW,QAAQ,
|
|
1
|
+
{"version":3,"file":"area-protocol.js","sourceRoot":"","sources":["../../../src/browser/area/area-protocol.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAC9B,QAAA,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAE7C,IAAY,QAcX;AAdD,WAAY,QAAQ;IAChB,2BAAe,CAAA;IACf,6CAAiC,CAAA;IACjC,2CAA+B,CAAA;IAC/B,6BAAiB,CAAA;IACjB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,yCAA6B,CAAA;IAC7B,yCAA6B,CAAA;IAC7B,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,qCAAyB,CAAA;IACzB,mCAAuB,CAAA;IACvB,iCAAqB,CAAA;AACzB,CAAC,EAdW,QAAQ,wBAAR,QAAQ,QAcnB"}
|
|
@@ -1,7 +1,20 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
tslib_1.__exportStar(require("./area-protocol"), exports);
|
|
17
|
+
__exportStar(require("./top"), exports);
|
|
18
|
+
__exportStar(require("./left"), exports);
|
|
19
|
+
__exportStar(require("./area-protocol"), exports);
|
|
7
20
|
//# 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,wCAAsB;AACtB,yCAAuB;AACvB,kDAAgC"}
|
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
tslib_1.__exportStar(require("./left"), exports);
|
|
17
|
+
__exportStar(require("./left"), exports);
|
|
5
18
|
//# 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,yCAAuB"}
|
|
@@ -1,7 +1,12 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LeftArea =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.LeftArea = LeftArea;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const grommet_1 = require("grommet");
|
|
7
12
|
const core_1 = require("@celljs/core");
|
|
@@ -16,10 +21,9 @@ function LeftArea(props) {
|
|
|
16
21
|
React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.NavArea }),
|
|
17
22
|
React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.LeftBodyArea }))));
|
|
18
23
|
}
|
|
19
|
-
exports.LeftArea = LeftArea;
|
|
20
24
|
let default_1 = class {
|
|
21
25
|
};
|
|
22
|
-
default_1 =
|
|
26
|
+
default_1 = __decorate([
|
|
23
27
|
(0, widget_1.Widget)({ area: area_protocol_1.AreaType.LeftArea, component: LeftArea })
|
|
24
28
|
], default_1);
|
|
25
29
|
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":";;;;;;;;AAOA,4BAeC;AAtBD,+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;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,wBAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;aAClC"}
|
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
tslib_1.__exportStar(require("./top"), exports);
|
|
17
|
+
__exportStar(require("./top"), exports);
|
|
5
18
|
//# 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,wCAAsB"}
|
|
@@ -1,7 +1,12 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TopArea =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.TopArea = TopArea;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const grommet_1 = require("grommet");
|
|
7
12
|
const core_1 = require("@celljs/core");
|
|
@@ -16,10 +21,9 @@ function TopArea(props) {
|
|
|
16
21
|
React.createElement(grommet_1.Box, { direction: "row", gap: "small" },
|
|
17
22
|
React.createElement(react_1.Slot, { area: area_protocol_1.AreaType.TopRightArea }))));
|
|
18
23
|
}
|
|
19
|
-
exports.TopArea = TopArea;
|
|
20
24
|
let default_1 = class {
|
|
21
25
|
};
|
|
22
|
-
default_1 =
|
|
26
|
+
default_1 = __decorate([
|
|
23
27
|
(0, widget_1.Widget)({ area: area_protocol_1.AreaType.TopArea, component: TopArea })
|
|
24
28
|
], default_1);
|
|
25
29
|
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":";;;;;;;;AAOA,0BAaC;AApBD,+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;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,8 +1,21 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tslib_1.__exportStar(require("./layout"), exports);
|
|
17
|
+
__exportStar(require("./apps"), exports);
|
|
18
|
+
__exportStar(require("./area"), exports);
|
|
19
|
+
__exportStar(require("./tool"), exports);
|
|
20
|
+
__exportStar(require("./layout"), exports);
|
|
8
21
|
//# 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,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB"}
|
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
tslib_1.__exportStar(require("./layout"), exports);
|
|
17
|
+
__exportStar(require("./layout"), exports);
|
|
5
18
|
//# 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,2CAAyB"}
|
|
@@ -1,7 +1,13 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
9
|
+
exports.TopLeftLayout = TopLeftLayout;
|
|
10
|
+
exports.MultiTopLayout = MultiTopLayout;
|
|
5
11
|
const react_1 = require("@celljs/react");
|
|
6
12
|
const React = require("react");
|
|
7
13
|
const area_1 = require("../area");
|
|
@@ -41,7 +47,6 @@ function TopLeftLayout({ children }) {
|
|
|
41
47
|
children,
|
|
42
48
|
React.createElement(react_1.Slot, { area: area_1.AreaType.BottomArea }))));
|
|
43
49
|
}
|
|
44
|
-
exports.TopLeftLayout = TopLeftLayout;
|
|
45
50
|
function MultiTopLayout({ children }) {
|
|
46
51
|
return (React.createElement(grommet_1.Box, null,
|
|
47
52
|
React.createElement(react_1.Slot, { area: area_1.AreaType.TopArea }),
|
|
@@ -50,10 +55,9 @@ function MultiTopLayout({ children }) {
|
|
|
50
55
|
children,
|
|
51
56
|
React.createElement(react_1.Slot, { area: area_1.AreaType.BottomArea })));
|
|
52
57
|
}
|
|
53
|
-
exports.MultiTopLayout = MultiTopLayout;
|
|
54
58
|
let default_1 = class {
|
|
55
59
|
};
|
|
56
|
-
default_1 =
|
|
60
|
+
default_1 = __decorate([
|
|
57
61
|
(0, react_1.DefaultLayout)(TopLeftLayout)
|
|
58
62
|
], default_1);
|
|
59
63
|
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":";;;;;;;;AAkCA,sCAaC;AAED,wCAUC;AA3DD,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;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;AAGc,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,qBAAa,EAAC,aAAa,CAAC;aACN"}
|
package/lib/browser/module.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Account =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.Account = Account;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const grommet_1 = require("grommet");
|
|
7
12
|
const core_1 = require("@celljs/core");
|
|
@@ -40,10 +45,9 @@ function Account(props) {
|
|
|
40
45
|
React.createElement(StyledAccount, null,
|
|
41
46
|
React.createElement(react_1.Slot, { area: area_1.AreaType.AccountArea }))))));
|
|
42
47
|
}
|
|
43
|
-
exports.Account = Account;
|
|
44
48
|
let default_1 = class {
|
|
45
49
|
};
|
|
46
|
-
default_1 =
|
|
50
|
+
default_1 = __decorate([
|
|
47
51
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopRightArea, component: Account, priority: 100 })
|
|
48
52
|
], default_1);
|
|
49
53
|
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":";;;;;;;;AAmBA,0BAsCC;AAzDD,+BAA+B;AAC/B,qCAAyD;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C;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;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,7 +1,12 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppSet =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.AppSet = AppSet;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const grommet_1 = require("grommet");
|
|
7
12
|
const core_1 = require("@celljs/core");
|
|
@@ -29,10 +34,9 @@ function AppSet(props) {
|
|
|
29
34
|
React.createElement(StyledAppSet, null,
|
|
30
35
|
React.createElement(apps_1.Apps, { size: "small" }))))));
|
|
31
36
|
}
|
|
32
|
-
exports.AppSet = AppSet;
|
|
33
37
|
let default_1 = class {
|
|
34
38
|
};
|
|
35
|
-
default_1 =
|
|
39
|
+
default_1 = __decorate([
|
|
36
40
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopRightArea, component: AppSet, priority: 200 })
|
|
37
41
|
], default_1);
|
|
38
42
|
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":";;;;;;;;AAkBA,wBAyBC;AA3CD,+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,GAA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QAAQ,EAAE,GAAG,EAAE,CAAC;aACnD"}
|
|
@@ -1,8 +1,21 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tslib_1.__exportStar(require("./account"), exports);
|
|
17
|
+
__exportStar(require("./logo"), exports);
|
|
18
|
+
__exportStar(require("./settings"), exports);
|
|
19
|
+
__exportStar(require("./app-set"), exports);
|
|
20
|
+
__exportStar(require("./account"), exports);
|
|
8
21
|
//# 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,yCAAuB;AACvB,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B"}
|
package/lib/browser/tool/logo.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Logo =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.Logo = Logo;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const core_1 = require("@celljs/core");
|
|
7
12
|
const widget_1 = require("@celljs/widget");
|
|
@@ -12,10 +17,9 @@ function Logo(props) {
|
|
|
12
17
|
props = { ...rest, ...props };
|
|
13
18
|
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 }));
|
|
14
19
|
}
|
|
15
|
-
exports.Logo = Logo;
|
|
16
20
|
let default_1 = class {
|
|
17
21
|
};
|
|
18
|
-
default_1 =
|
|
22
|
+
default_1 = __decorate([
|
|
19
23
|
(0, widget_1.Widget)({ area: area_1.AreaType.TopLeftArea, component: Logo, priority: 1000 })
|
|
20
24
|
], default_1);
|
|
21
25
|
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":";;;;;;;;AAMA,oBAIC;AAVD,+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;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,7 +1,12 @@
|
|
|
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
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Settings =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.Settings = Settings;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const grommet_1 = require("grommet");
|
|
7
12
|
const core_1 = require("@celljs/core");
|
|
@@ -38,10 +43,9 @@ function Settings(props) {
|
|
|
38
43
|
React.createElement(grommet_1.Box, null,
|
|
39
44
|
React.createElement(react_1.Slot, { area: area_1.AreaType.SettingsArea })))))));
|
|
40
45
|
}
|
|
41
|
-
exports.Settings = Settings;
|
|
42
46
|
let default_1 = class {
|
|
43
47
|
};
|
|
44
|
-
default_1 =
|
|
48
|
+
default_1 = __decorate([
|
|
45
49
|
(0, widget_1.Widget)({ area: area_1.AreaType.SettingsArea, component: grommet_2.LocaleMenu, priority: 200 }),
|
|
46
50
|
(0, widget_1.Widget)({ area: area_1.AreaType.SettingsArea, component: grommet_2.ThemeBox, priority: 300 }),
|
|
47
51
|
(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":";;;;;;;;AAmBA,4BA+BC;AAlDD,+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,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CAAC;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,5 +1,18 @@
|
|
|
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
tslib_1.__exportStar(require("./shell-protocol"), exports);
|
|
17
|
+
__exportStar(require("./shell-protocol"), exports);
|
|
5
18
|
//# 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,mDAAiC"}
|
package/lib/node/module.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/shell",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.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.6.0",
|
|
9
|
+
"@celljs/grommet": "3.6.0",
|
|
10
|
+
"@celljs/react": "3.6.0",
|
|
11
|
+
"@celljs/security": "3.6.0",
|
|
12
|
+
"@celljs/widget": "3.6.0",
|
|
13
13
|
"grommet": "^2.25.1",
|
|
14
14
|
"react": "^18.2.0",
|
|
15
15
|
"react-intl": "^6.0.5",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test": "cell-component test:js"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@celljs/component": "3.
|
|
48
|
+
"@celljs/component": "3.6.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "47d94c6b1b70ebda52840108908a42dcb75ed809"
|
|
51
51
|
}
|
|
@@ -2,7 +2,7 @@ import { ReactComponent } from '@celljs/react';
|
|
|
2
2
|
import { LEFT_AREA } from '../area/area-protocol';
|
|
3
3
|
|
|
4
4
|
export const LeftArea =
|
|
5
|
-
function (component?: any, rebind
|
|
5
|
+
function (component?: any, rebind = true): (target: any) => any {
|
|
6
6
|
return (t: any) => {
|
|
7
7
|
ReactComponent(LEFT_AREA, component || t, rebind)(t);
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { ReactComponent } from '@celljs/react';
|
|
|
2
2
|
import { TOP_AREA } from '../area/area-protocol';
|
|
3
3
|
|
|
4
4
|
export const TopArea =
|
|
5
|
-
function (component?: any, rebind
|
|
5
|
+
function (component?: any, rebind = true): (target: any) => any {
|
|
6
6
|
return (t: any) => {
|
|
7
7
|
ReactComponent(TOP_AREA, component || t, rebind)(t);
|
|
8
8
|
};
|
|
@@ -16,7 +16,6 @@ const StyledSettings = styled.div`
|
|
|
16
16
|
overflow: auto;
|
|
17
17
|
right: 0;
|
|
18
18
|
`;
|
|
19
|
-
// @ts-ignore
|
|
20
19
|
export function Settings(props: ButtonProps) {
|
|
21
20
|
// eslint-disable-next-line no-null/no-null
|
|
22
21
|
const targetRef = React.useRef(null);
|
|
@@ -28,7 +27,6 @@ export function Settings(props: ButtonProps) {
|
|
|
28
27
|
const subscription = themeManager.currentSubject.subscribe(t => setShow(false));
|
|
29
28
|
return () => subscription.unsubscribe();
|
|
30
29
|
}, []);
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
return (<Fragment>
|
|
33
31
|
<Button ref={targetRef} hoverIndicator onClick={() => setShow(true)} {...props} icon={<Icon icon={icon}/>}/>
|
|
34
32
|
{targetRef.current && show && (
|