@celljs/react 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/app.d.ts.map +1 -1
- package/lib/browser/annotation/context.d.ts.map +1 -1
- package/lib/browser/annotation/default-layout.d.ts.map +1 -1
- package/lib/browser/annotation/icon.d.ts.map +1 -1
- package/lib/browser/annotation/index.js +22 -9
- package/lib/browser/annotation/index.js.map +1 -1
- package/lib/browser/annotation/react-component.d.ts.map +1 -1
- package/lib/browser/annotation/route.js +1 -2
- package/lib/browser/annotation/route.js.map +1 -1
- package/lib/browser/annotation/router.d.ts.map +1 -1
- package/lib/browser/annotation/view.js +1 -2
- package/lib/browser/annotation/view.js.map +1 -1
- package/lib/browser/app/app.js +17 -10
- package/lib/browser/app/app.js.map +1 -1
- package/lib/browser/app/index.js +16 -3
- package/lib/browser/app/index.js.map +1 -1
- package/lib/browser/context/context-provider.js +16 -5
- package/lib/browser/context/context-provider.js.map +1 -1
- package/lib/browser/context/context.js +8 -3
- package/lib/browser/context/context.js.map +1 -1
- package/lib/browser/context/index.js +17 -4
- package/lib/browser/context/index.js.map +1 -1
- package/lib/browser/icon/icon.js +1 -2
- package/lib/browser/icon/icon.js.map +1 -1
- package/lib/browser/icon/index.js +15 -2
- package/lib/browser/icon/index.js.map +1 -1
- package/lib/browser/index.js +25 -12
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/layout/index.js +16 -3
- package/lib/browser/layout/index.js.map +1 -1
- package/lib/browser/layout/layout.js +10 -6
- package/lib/browser/layout/layout.js.map +1 -1
- package/lib/browser/locale/index.js +16 -3
- package/lib/browser/locale/index.js.map +1 -1
- package/lib/browser/locale/locale-context.js +8 -4
- package/lib/browser/locale/locale-context.js.map +1 -1
- package/lib/browser/module.d.ts +1 -1
- package/lib/browser/resolver/index.js +16 -3
- package/lib/browser/resolver/index.js.map +1 -1
- package/lib/browser/resolver/path-resolver.js +13 -5
- package/lib/browser/resolver/path-resolver.js.map +1 -1
- package/lib/browser/router/index.js +19 -6
- package/lib/browser/router/index.js.map +1 -1
- package/lib/browser/router/route-metadata-converter-provider.js +13 -5
- package/lib/browser/router/route-metadata-converter-provider.js.map +1 -1
- package/lib/browser/router/route-metadata-converter.js +17 -9
- package/lib/browser/router/route-metadata-converter.js.map +1 -1
- package/lib/browser/router/route-metadata-provider.js +15 -7
- package/lib/browser/router/route-metadata-provider.js.map +1 -1
- package/lib/browser/router/router.js +7 -2
- package/lib/browser/router/router.js.map +1 -1
- package/lib/browser/shell/index.js +15 -2
- package/lib/browser/shell/index.js.map +1 -1
- package/lib/browser/shell/shell.js +13 -5
- package/lib/browser/shell/shell.js.map +1 -1
- package/lib/browser/slot/index.js +15 -2
- package/lib/browser/slot/index.js.map +1 -1
- package/lib/browser/slot/slot.js +1 -2
- package/lib/browser/slot/slot.js.map +1 -1
- package/lib/browser/widget/index.js +15 -2
- package/lib/browser/widget/index.js.map +1 -1
- package/lib/browser/widget/widget-factory.js +8 -3
- package/lib/browser/widget/widget-factory.js.map +1 -1
- package/lib/hooks/webpack.d.ts.map +1 -1
- package/lib/hooks/webpack.js.map +1 -1
- package/package.json +7 -7
- package/src/browser/annotation/app.ts +1 -1
- package/src/browser/annotation/context.ts +1 -1
- package/src/browser/annotation/default-layout.ts +1 -1
- package/src/browser/annotation/icon.ts +1 -1
- package/src/browser/annotation/react-component.ts +1 -1
- package/src/browser/annotation/route.ts +1 -1
- package/src/browser/annotation/router.ts +1 -1
- package/src/browser/annotation/view.ts +1 -1
- package/src/hooks/webpack.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,GAAG,GACF,YAAY,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,SAAQ,OAAc,KAAG,cAIxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,OAAO,GACN,YAAY,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,SAAQ,OAAe,KAAG,cAIzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-layout.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/default-layout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"default-layout.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/default-layout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,aAAa,GACZ,YAAY,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,SAAQ,OAAc,KAAG,cAIxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/icon.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/icon.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,IAAI,GACH,YAAY,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,SAAQ,OAAe,KAAG,cAIzE,CAAC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
tslib_1.__exportStar(require("./default-layout"), exports);
|
|
17
|
+
__exportStar(require("./react-component"), exports);
|
|
18
|
+
__exportStar(require("./route"), exports);
|
|
19
|
+
__exportStar(require("./view"), exports);
|
|
20
|
+
__exportStar(require("./router"), exports);
|
|
21
|
+
__exportStar(require("./app"), exports);
|
|
22
|
+
__exportStar(require("./icon"), exports);
|
|
23
|
+
__exportStar(require("./context"), exports);
|
|
24
|
+
__exportStar(require("./default-layout"), exports);
|
|
12
25
|
//# 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,oDAAkC;AAClC,0CAAwB;AACxB,yCAAuB;AACvB,2CAAyB;AACzB,wCAAsB;AACtB,yCAAuB;AACvB,4CAA0B;AAC1B,mDAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-component.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/react-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"react-component.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/react-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,cAAc,GACb,KAAK,WAAW,GAAG,WAAW,EAAE,EAAE,YAAY,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,SAAQ,OAAe,KAAG,cAI3G,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Route =
|
|
3
|
+
exports.Route = Route;
|
|
4
4
|
const core_1 = require("@celljs/core");
|
|
5
5
|
const router_protocol_1 = require("../router/router-protocol");
|
|
6
6
|
const react_component_1 = require("./react-component");
|
|
@@ -20,5 +20,4 @@ function Route(pathOrRouteMetadata, rebind = false) {
|
|
|
20
20
|
(0, react_component_1.ReactComponent)('@Route:' + routeMetadata.path, undefined, rebind)(target);
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
exports.Route = Route;
|
|
24
23
|
//# sourceMappingURL=route.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/browser/annotation/route.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/browser/annotation/route.ts"],"names":[],"mappings":";;AAIA,sBAcC;AAlBD,uCAAwC;AACxC,+DAA0E;AAC1E,uDAAmD;AAEnD,SAAgB,KAAK,CAAC,mBAA4C,EAAE,SAAkB,KAAK;IACvF,OAAO,UAAU,MAAW;QACxB,IAAI,aAA4B,CAAC;QACjC,IAAI,OAAO,mBAAmB,KAAK,QAAQ,EAAE,CAAC;YAC1C,aAAa,GAAG,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAClE,CAAC;aAAM,CAAC;YACJ,aAAa,GAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,GAAG,mBAAmB,EAAE,CAAC;QACrG,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,CAAC;YAC3B,aAAa,CAAC,SAAS,GAAG,MAAM,CAAC;QACrC,CAAC;QACD,IAAA,eAAQ,EAAC,gCAAc,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QACvD,IAAA,gCAAc,EAAC,SAAS,GAAG,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9E,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/router.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/browser/annotation/router.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,MAAM,GACL,YAAY,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,SAAQ,OAAc,KAAG,cAIxE,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.View =
|
|
3
|
+
exports.View = View;
|
|
4
4
|
const route_1 = require("./route");
|
|
5
5
|
function View(pathOrRouteMetadata, rebind = false) {
|
|
6
6
|
return function (target) {
|
|
7
7
|
(0, route_1.Route)(pathOrRouteMetadata, rebind)(target);
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
exports.View = View;
|
|
11
10
|
//# sourceMappingURL=view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/browser/annotation/view.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/browser/annotation/view.ts"],"names":[],"mappings":";;AAGA,oBAIC;AAND,mCAAgC;AAEhC,SAAgB,IAAI,CAAC,mBAA4C,EAAE,SAAkB,KAAK;IACtF,OAAO,UAAU,MAAW;QACxB,IAAA,aAAK,EAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC,CAAC;AACN,CAAC"}
|
package/lib/browser/app/app.js
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
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
|
+
};
|
|
3
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
12
|
exports.AppImpl = void 0;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
13
|
const React = require("react");
|
|
7
14
|
const router_1 = require("../router");
|
|
8
15
|
const detached_1 = require("@celljs/core/lib/common/annotation/detached");
|
|
9
16
|
const annotation_1 = require("../annotation");
|
|
10
17
|
const context_1 = require("../context");
|
|
11
|
-
let AppImpl =
|
|
18
|
+
let AppImpl = class AppImpl extends React.Component {
|
|
12
19
|
render() {
|
|
13
20
|
return this.createContextAndRouter();
|
|
14
21
|
}
|
|
@@ -18,16 +25,16 @@ let AppImpl = AppImpl_1 = class AppImpl extends React.Component {
|
|
|
18
25
|
return child;
|
|
19
26
|
}
|
|
20
27
|
};
|
|
21
|
-
|
|
28
|
+
exports.AppImpl = AppImpl;
|
|
29
|
+
__decorate([
|
|
22
30
|
(0, detached_1.Autowired)(context_1.ContextProvider),
|
|
23
|
-
|
|
31
|
+
__metadata("design:type", Object)
|
|
24
32
|
], AppImpl.prototype, "contextProvider", void 0);
|
|
25
|
-
|
|
33
|
+
__decorate([
|
|
26
34
|
(0, detached_1.Autowired)(router_1.ROUTER),
|
|
27
|
-
|
|
35
|
+
__metadata("design:type", Object)
|
|
28
36
|
], AppImpl.prototype, "router", void 0);
|
|
29
|
-
AppImpl =
|
|
30
|
-
(0, annotation_1.App)(
|
|
37
|
+
exports.AppImpl = AppImpl = __decorate([
|
|
38
|
+
(0, annotation_1.App)(AppImpl, false)
|
|
31
39
|
], AppImpl);
|
|
32
|
-
exports.AppImpl = AppImpl;
|
|
33
40
|
//# sourceMappingURL=app.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/browser/app/app.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/browser/app/app.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+BAA+B;AAC/B,sCAAmC;AACnC,0EAAwE;AACxE,8CAAoC;AACpC,wCAA6C;AAGtC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,KAAK,CAAC,SAAS;IAQ/B,MAAM;QACX,OAAO,IAAI,CAAC,sBAAsB,EAAE,CAAC;IACzC,CAAC;IAES,sBAAsB;QAC5B,IAAI,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;QACxH,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AAjBY,0BAAO;AAGG;IADlB,IAAA,oBAAS,EAAC,yBAAe,CAAC;;gDACyB;AAGjC;IADlB,IAAA,oBAAS,EAAC,eAAM,CAAC;;uCAC6B;kBANtC,OAAO;IADnB,IAAA,gBAAG,EAAC,OAAO,EAAE,KAAK,CAAC;GACP,OAAO,CAiBnB"}
|
package/lib/browser/app/index.js
CHANGED
|
@@ -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("./app"), exports);
|
|
17
|
+
__exportStar(require("./app-protocol"), exports);
|
|
18
|
+
__exportStar(require("./app"), exports);
|
|
6
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/app/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/app/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,wCAAsB"}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
2
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
15
|
exports.ContextProviderImpl = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
16
|
const core_1 = require("@celljs/core");
|
|
6
17
|
const context_protocol_1 = require("./context-protocol");
|
|
7
18
|
let ContextProviderImpl = class ContextProviderImpl {
|
|
@@ -15,10 +26,10 @@ let ContextProviderImpl = class ContextProviderImpl {
|
|
|
15
26
|
return this.prioritized;
|
|
16
27
|
}
|
|
17
28
|
};
|
|
18
|
-
ContextProviderImpl =
|
|
29
|
+
exports.ContextProviderImpl = ContextProviderImpl;
|
|
30
|
+
exports.ContextProviderImpl = ContextProviderImpl = __decorate([
|
|
19
31
|
(0, core_1.Component)(context_protocol_1.ContextProvider),
|
|
20
|
-
|
|
21
|
-
|
|
32
|
+
__param(0, (0, core_1.Autowired)(context_protocol_1.CONTEXT)),
|
|
33
|
+
__metadata("design:paramtypes", [Array])
|
|
22
34
|
], ContextProviderImpl);
|
|
23
|
-
exports.ContextProviderImpl = ContextProviderImpl;
|
|
24
35
|
//# sourceMappingURL=context-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-provider.js","sourceRoot":"","sources":["../../../src/browser/context/context-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context-provider.js","sourceRoot":"","sources":["../../../src/browser/context/context-provider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,uCAAoE;AACpE,yDAA8D;AAGvD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAI5B,YAEuB,QAA+B;QAA/B,aAAQ,GAAR,QAAQ,CAAuB;IAClD,CAAC;IAEL,OAAO;QACH,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACpB,IAAI,CAAC,WAAW,GAAG,qBAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACzF,CAAC;QACD,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CAEJ,CAAA;AAhBY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,gBAAS,EAAC,kCAAe,CAAC;IAMlB,WAAA,IAAA,gBAAS,EAAC,0BAAO,CAAC,CAAA;;GALd,mBAAmB,CAgB/B"}
|
|
@@ -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
9
|
exports.NoOpContext = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const annotation_1 = require("../annotation");
|
|
7
12
|
let NoOpContext = class NoOpContext extends React.Component {
|
|
@@ -9,9 +14,9 @@ let NoOpContext = class NoOpContext extends React.Component {
|
|
|
9
14
|
return React.createElement(React.Fragment, null, this.props.children);
|
|
10
15
|
}
|
|
11
16
|
};
|
|
17
|
+
exports.NoOpContext = NoOpContext;
|
|
12
18
|
NoOpContext.priority = 1000;
|
|
13
|
-
NoOpContext =
|
|
19
|
+
exports.NoOpContext = NoOpContext = __decorate([
|
|
14
20
|
(0, annotation_1.Context)()
|
|
15
21
|
], NoOpContext);
|
|
16
|
-
exports.NoOpContext = NoOpContext;
|
|
17
22
|
//# sourceMappingURL=context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/browser/context/context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/browser/context/context.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,+BAA+B;AAC/B,8CAAwC;AAOjC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,KAAK,CAAC,SAAqC;IAI/D,MAAM;QACX,OAAO,0CAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAI,CAAC;IACtC,CAAC;;AANQ,kCAAW;AAEb,oBAAQ,GAAG,IAAI,AAAP,CAAQ;sBAFd,WAAW;IADvB,IAAA,oBAAO,GAAE;GACG,WAAW,CAOvB"}
|
|
@@ -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("./context"), exports);
|
|
17
|
+
__exportStar(require("./context-protocol"), exports);
|
|
18
|
+
__exportStar(require("./context-provider"), exports);
|
|
19
|
+
__exportStar(require("./context"), exports);
|
|
7
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/context/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/context/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qDAAmC;AACnC,4CAA0B"}
|
package/lib/browser/icon/icon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Icon =
|
|
3
|
+
exports.Icon = Icon;
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const core_1 = require("@celljs/core");
|
|
6
6
|
const icon_protocol_1 = require("./icon-protocol");
|
|
@@ -16,5 +16,4 @@ function Icon(iconProps) {
|
|
|
16
16
|
}, [JSON.stringify(iconProps)]);
|
|
17
17
|
return (React.createElement(React.Fragment, null, iconNode));
|
|
18
18
|
}
|
|
19
|
-
exports.Icon = Icon;
|
|
20
19
|
//# sourceMappingURL=icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/browser/icon/icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/browser/icon/icon.tsx"],"names":[],"mappings":";;AAMA,oBAYC;AAlBD,+BAA+B;AAC/B,uCAA6C;AAC7C,mDAA+C;AAE/C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;AAEtC,SAAgB,IAAI,CAAI,SAAY;IAChC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAkB,EAAE,CAAC,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACX,MAAM,OAAO,GAAG,KAAK,IAAI,EAAE;YACvB,MAAM,YAAY,GAAG,oBAAa,CAAC,GAAG,CAAkB,4BAAY,CAAC,CAAC;YACtE,WAAW,CAAC,MAAM,YAAY,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;QACvD,CAAC,CAAC;QACF,OAAO,EAAE,CAAC;IACd,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAEhC,OAAO,CAAC,0CAAG,QAAQ,CAAI,CAAC,CAAC;AAC7B,CAAC"}
|
|
@@ -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("./icon-protocol"), exports);
|
|
17
|
+
__exportStar(require("./icon-protocol"), exports);
|
|
5
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/icon/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/icon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
package/lib/browser/index.js
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
tslib_1.__exportStar(require("./locale"), exports);
|
|
17
|
+
__exportStar(require("./annotation"), exports);
|
|
18
|
+
__exportStar(require("./app"), exports);
|
|
19
|
+
__exportStar(require("./layout"), exports);
|
|
20
|
+
__exportStar(require("./context"), exports);
|
|
21
|
+
__exportStar(require("./router"), exports);
|
|
22
|
+
__exportStar(require("./shell"), exports);
|
|
23
|
+
__exportStar(require("./resolver"), exports);
|
|
24
|
+
__exportStar(require("./widget"), exports);
|
|
25
|
+
__exportStar(require("./slot"), exports);
|
|
26
|
+
__exportStar(require("./icon"), exports);
|
|
27
|
+
__exportStar(require("./locale"), exports);
|
|
15
28
|
//# 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,+CAA6B;AAC7B,wCAAsB;AACtB,2CAAyB;AACzB,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB"}
|
|
@@ -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("./layout"), exports);
|
|
17
|
+
__exportStar(require("./layout-protocol"), exports);
|
|
18
|
+
__exportStar(require("./layout"), exports);
|
|
6
19
|
//# 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,oDAAkC;AAClC,2CAAyB"}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
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
|
+
};
|
|
3
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
9
|
exports.EmptyLayout = void 0;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
10
|
const React = require("react");
|
|
7
11
|
const annotation_1 = require("../annotation");
|
|
8
|
-
let EmptyLayout =
|
|
12
|
+
let EmptyLayout = class EmptyLayout extends React.Component {
|
|
9
13
|
render() {
|
|
10
14
|
return React.createElement(React.Fragment, null, this.props.children);
|
|
11
15
|
}
|
|
12
16
|
};
|
|
13
|
-
EmptyLayout = EmptyLayout_1 = tslib_1.__decorate([
|
|
14
|
-
(0, annotation_1.DefaultLayout)(EmptyLayout_1, false)
|
|
15
|
-
], EmptyLayout);
|
|
16
17
|
exports.EmptyLayout = EmptyLayout;
|
|
18
|
+
exports.EmptyLayout = EmptyLayout = __decorate([
|
|
19
|
+
(0, annotation_1.DefaultLayout)(EmptyLayout, false)
|
|
20
|
+
], EmptyLayout);
|
|
17
21
|
//# sourceMappingURL=layout.js.map
|
|
@@ -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,+BAA+B;AAC/B,8CAA8C;AAGvC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,KAAK,CAAC,SAAkC;IAE5D,MAAM;QACX,OAAO,0CAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAI,CAAC;IACtC,CAAC;CACJ,CAAA;AALY,kCAAW;sBAAX,WAAW;IADvB,IAAA,0BAAa,EAAC,WAAW,EAAE,KAAK,CAAC;GACrB,WAAW,CAKvB"}
|
|
@@ -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("./locale-context"), exports);
|
|
17
|
+
__exportStar(require("./locale-protocol"), exports);
|
|
18
|
+
__exportStar(require("./locale-context"), exports);
|
|
6
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/locale/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/locale/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC"}
|
|
@@ -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.LocaleContext =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
9
|
+
exports.LocaleContext = LocaleContext;
|
|
5
10
|
const React = require("react");
|
|
6
11
|
const locale_protocol_1 = require("./locale-protocol");
|
|
7
12
|
const react_intl_1 = require("react-intl");
|
|
@@ -22,11 +27,10 @@ function LocaleContext({ children }) {
|
|
|
22
27
|
}
|
|
23
28
|
} }, children));
|
|
24
29
|
}
|
|
25
|
-
exports.LocaleContext = LocaleContext;
|
|
26
30
|
LocaleContext.priority = locale_protocol_1.LOCALE_REACT_CONTEXT_PRIORITY;
|
|
27
31
|
let default_1 = class {
|
|
28
32
|
};
|
|
29
|
-
default_1 =
|
|
33
|
+
default_1 = __decorate([
|
|
30
34
|
(0, annotation_1.Context)(LocaleContext)
|
|
31
35
|
], default_1);
|
|
32
36
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-context.js","sourceRoot":"","sources":["../../../src/browser/locale/locale-context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"locale-context.js","sourceRoot":"","sources":["../../../src/browser/locale/locale-context.tsx"],"names":[],"mappings":";;;;;;;;AAOA,sCAiBC;AAxBD,+BAA+B;AAC/B,uDAAkE;AAClE,2CAA0C;AAC1C,uCAAqD;AACrD,2CAA+C;AAC/C,8CAAwC;AAExC,SAAgB,aAAa,CAAC,EAAE,QAAQ,EAA2B;IAC/D,MAAM,aAAa,GAAG,oBAAa,CAAC,GAAG,CAAgB,sBAAa,CAAC,CAAC;IACtE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC/E,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,MAAM,YAAY,GAAG,aAAa,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/E,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IAC5C,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,oBAAC,yBAAY,IAAC,MAAM,EAAE,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,KAAI,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE;YACjG,MAAM,MAAM,GAAG,oBAAa,CAAC,GAAG,CAAS,aAAM,CAAC,CAAC;YACjD,IAAI,GAAG,CAAC,IAAI,KAAK,qBAAqB,EAAE,CAAC;gBACrC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACrB,CAAC;QACL,CAAC,IACI,QAAQ,CACE,CAAC,CAAC;AACzB,CAAC;AAED,aAAa,CAAC,QAAQ,GAAG,+CAA6B,CAAC;AAGxC,gBAAA;CAAQ,CAAA;AAAR;IADd,IAAA,oBAAO,EAAC,aAAa,CAAC;aACA"}
|
package/lib/browser/module.d.ts
CHANGED
|
@@ -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("./path-resolver"), exports);
|
|
17
|
+
__exportStar(require("./resolver-protocol"), exports);
|
|
18
|
+
__exportStar(require("./path-resolver"), exports);
|
|
6
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/resolver/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/resolver/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC"}
|
|
@@ -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.PathResolverImpl = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const resolver_protocol_1 = require("./resolver-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
let PathResolverImpl = class PathResolverImpl {
|
|
@@ -9,12 +17,12 @@ let PathResolverImpl = class PathResolverImpl {
|
|
|
9
17
|
return core_1.UrlUtil.join(this.path, ...parts.filter(v => !!v));
|
|
10
18
|
}
|
|
11
19
|
};
|
|
12
|
-
|
|
20
|
+
exports.PathResolverImpl = PathResolverImpl;
|
|
21
|
+
__decorate([
|
|
13
22
|
(0, core_1.Value)('cell.react.path'),
|
|
14
|
-
|
|
23
|
+
__metadata("design:type", String)
|
|
15
24
|
], PathResolverImpl.prototype, "path", void 0);
|
|
16
|
-
PathResolverImpl =
|
|
25
|
+
exports.PathResolverImpl = PathResolverImpl = __decorate([
|
|
17
26
|
(0, core_1.Component)(resolver_protocol_1.PathResolver)
|
|
18
27
|
], PathResolverImpl);
|
|
19
|
-
exports.PathResolverImpl = PathResolverImpl;
|
|
20
28
|
//# sourceMappingURL=path-resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path-resolver.js","sourceRoot":"","sources":["../../../src/browser/resolver/path-resolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"path-resolver.js","sourceRoot":"","sources":["../../../src/browser/resolver/path-resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAAmD;AACnD,uCAAyD;AAGlD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAKzB,OAAO,CAAC,GAAG,KAAe;QACtB,OAAO,cAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;CACJ,CAAA;AARY,4CAAgB;AAGN;IADlB,IAAA,YAAK,EAAC,iBAAiB,CAAC;;8CACO;2BAHvB,gBAAgB;IAD5B,IAAA,gBAAS,EAAC,gCAAY,CAAC;GACX,gBAAgB,CAQ5B"}
|