@celljs/react 3.8.0 → 3.9.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/esm/browser/annotation/app.d.ts +2 -0
- package/esm/browser/annotation/app.js +8 -0
- package/esm/browser/annotation/app.js.map +1 -0
- package/esm/browser/annotation/context.d.ts +2 -0
- package/esm/browser/annotation/context.js +8 -0
- package/esm/browser/annotation/context.js.map +1 -0
- package/esm/browser/annotation/default-layout.d.ts +2 -0
- package/esm/browser/annotation/default-layout.js +8 -0
- package/esm/browser/annotation/default-layout.js.map +1 -0
- package/esm/browser/annotation/icon.d.ts +2 -0
- package/esm/browser/annotation/icon.js +8 -0
- package/esm/browser/annotation/icon.js.map +1 -0
- package/esm/browser/annotation/index.d.ts +8 -0
- package/esm/browser/annotation/index.js +9 -0
- package/esm/browser/annotation/index.js.map +1 -0
- package/esm/browser/annotation/react-component.d.ts +3 -0
- package/esm/browser/annotation/react-component.js +7 -0
- package/esm/browser/annotation/react-component.js.map +1 -0
- package/esm/browser/annotation/route.d.ts +2 -0
- package/esm/browser/annotation/route.js +20 -0
- package/esm/browser/annotation/route.js.map +1 -0
- package/esm/browser/annotation/router.d.ts +2 -0
- package/esm/browser/annotation/router.js +8 -0
- package/esm/browser/annotation/router.js.map +1 -0
- package/esm/browser/annotation/view.d.ts +2 -0
- package/esm/browser/annotation/view.js +7 -0
- package/esm/browser/annotation/view.js.map +1 -0
- package/esm/browser/app/app-protocol.d.ts +1 -0
- package/esm/browser/app/app-protocol.js +2 -0
- package/esm/browser/app/app-protocol.js.map +1 -0
- package/esm/browser/app/app.d.ts +8 -0
- package/esm/browser/app/app.js +37 -0
- package/esm/browser/app/app.js.map +1 -0
- package/esm/browser/app/index.d.ts +2 -0
- package/esm/browser/app/index.js +3 -0
- package/esm/browser/app/index.js.map +1 -0
- package/esm/browser/context/context-protocol.d.ts +5 -0
- package/esm/browser/context/context-protocol.js +3 -0
- package/esm/browser/context/context-protocol.js.map +1 -0
- package/esm/browser/context/context-provider.d.ts +7 -0
- package/esm/browser/context/context-provider.js +32 -0
- package/esm/browser/context/context-provider.js.map +1 -0
- package/esm/browser/context/context.d.ts +9 -0
- package/esm/browser/context/context.js +19 -0
- package/esm/browser/context/context.js.map +1 -0
- package/esm/browser/context/index.d.ts +3 -0
- package/esm/browser/context/index.js +4 -0
- package/esm/browser/context/index.js.map +1 -0
- package/esm/browser/icon/icon-protocol.d.ts +6 -0
- package/esm/browser/icon/icon-protocol.js +3 -0
- package/esm/browser/icon/icon-protocol.js.map +1 -0
- package/esm/browser/icon/icon.d.ts +1 -0
- package/esm/browser/icon/icon.js +16 -0
- package/esm/browser/icon/icon.js.map +1 -0
- package/esm/browser/icon/index.d.ts +1 -0
- package/esm/browser/icon/index.js +2 -0
- package/esm/browser/icon/index.js.map +1 -0
- package/esm/browser/index.d.ts +11 -0
- package/esm/browser/index.js +12 -0
- package/esm/browser/index.js.map +1 -0
- package/esm/browser/layout/index.d.ts +2 -0
- package/esm/browser/layout/index.js +3 -0
- package/esm/browser/layout/index.js.map +1 -0
- package/esm/browser/layout/layout-protocol.d.ts +1 -0
- package/esm/browser/layout/layout-protocol.js +2 -0
- package/esm/browser/layout/layout-protocol.js.map +1 -0
- package/esm/browser/layout/layout.d.ts +4 -0
- package/esm/browser/layout/layout.js +18 -0
- package/esm/browser/layout/layout.js.map +1 -0
- package/esm/browser/locale/index.d.ts +2 -0
- package/esm/browser/locale/index.js +3 -0
- package/esm/browser/locale/index.js.map +1 -0
- package/esm/browser/locale/locale-context.d.ts +8 -0
- package/esm/browser/locale/locale-context.js +34 -0
- package/esm/browser/locale/locale-context.js.map +1 -0
- package/esm/browser/locale/locale-protocol.d.ts +1 -0
- package/esm/browser/locale/locale-protocol.js +2 -0
- package/esm/browser/locale/locale-protocol.js.map +1 -0
- package/esm/browser/module.d.ts +3 -0
- package/esm/browser/module.js +4 -0
- package/esm/browser/module.js.map +1 -0
- package/esm/browser/resolver/index.d.ts +2 -0
- package/esm/browser/resolver/index.js +3 -0
- package/esm/browser/resolver/index.js.map +1 -0
- package/esm/browser/resolver/path-resolver.d.ts +5 -0
- package/esm/browser/resolver/path-resolver.js +25 -0
- package/esm/browser/resolver/path-resolver.js.map +1 -0
- package/esm/browser/resolver/resolver-protocol.d.ts +4 -0
- package/esm/browser/resolver/resolver-protocol.js +2 -0
- package/esm/browser/resolver/resolver-protocol.js.map +1 -0
- package/esm/browser/router/index.d.ts +5 -0
- package/esm/browser/router/index.js +6 -0
- package/esm/browser/router/index.js.map +1 -0
- package/esm/browser/router/route-metadata-converter-provider.d.ts +6 -0
- package/esm/browser/router/route-metadata-converter-provider.js +32 -0
- package/esm/browser/router/route-metadata-converter-provider.js.map +1 -0
- package/esm/browser/router/route-metadata-converter.d.ts +10 -0
- package/esm/browser/router/route-metadata-converter.js +48 -0
- package/esm/browser/router/route-metadata-converter.js.map +1 -0
- package/esm/browser/router/route-metadata-provider.d.ts +9 -0
- package/esm/browser/router/route-metadata-provider.js +46 -0
- package/esm/browser/router/route-metadata-provider.js.map +1 -0
- package/esm/browser/router/router-protocol.d.ts +23 -0
- package/esm/browser/router/router-protocol.js +6 -0
- package/esm/browser/router/router-protocol.js.map +1 -0
- package/esm/browser/router/router.d.ts +2 -0
- package/esm/browser/router/router.js +52 -0
- package/esm/browser/router/router.js.map +1 -0
- package/esm/browser/shell/index.d.ts +1 -0
- package/esm/browser/shell/index.js +2 -0
- package/esm/browser/shell/index.js.map +1 -0
- package/esm/browser/shell/shell.d.ts +6 -0
- package/esm/browser/shell/shell.js +28 -0
- package/esm/browser/shell/shell.js.map +1 -0
- package/esm/browser/slot/index.d.ts +1 -0
- package/esm/browser/slot/index.js +2 -0
- package/esm/browser/slot/index.js.map +1 -0
- package/esm/browser/slot/slot.d.ts +3 -0
- package/esm/browser/slot/slot.js +16 -0
- package/esm/browser/slot/slot.js.map +1 -0
- package/esm/browser/widget/index.d.ts +1 -0
- package/esm/browser/widget/index.js +2 -0
- package/esm/browser/widget/index.js.map +1 -0
- package/esm/browser/widget/widget-factory.d.ts +5 -0
- package/esm/browser/widget/widget-factory.js +20 -0
- package/esm/browser/widget/widget-factory.js.map +1 -0
- package/esm/package.json +3 -0
- package/package.json +89 -7
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactComponent } from './react-component.js';
|
|
2
|
+
import { APP } from '../app/app-protocol.js';
|
|
3
|
+
export const App = function (component, rebind = true) {
|
|
4
|
+
return (t) => {
|
|
5
|
+
ReactComponent(APP, component || t, rebind)(t);
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/browser/annotation/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE1C,MAAM,CAAC,MAAM,GAAG,GACZ,UAAU,SAAoC,EAAE,MAAM,GAAG,IAAI;IACzD,OAAO,CAAC,CAAM,EAAE,EAAE;QACd,cAAc,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactComponent } from './react-component.js';
|
|
2
|
+
import { CONTEXT } from '../context/context-protocol.js';
|
|
3
|
+
export const Context = function (component, rebind = false) {
|
|
4
|
+
return (t) => {
|
|
5
|
+
ReactComponent(CONTEXT, component || t, rebind)(t);
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/browser/annotation/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,MAAM,CAAC,MAAM,OAAO,GAChB,UAAU,SAAoC,EAAE,MAAM,GAAG,KAAK;IAC1D,OAAO,CAAC,CAAM,EAAE,EAAE;QACd,cAAc,CAAC,OAAO,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactComponent } from './react-component.js';
|
|
2
|
+
import { DEFAULT_LAYOUT } from '../layout/layout-protocol.js';
|
|
3
|
+
export const DefaultLayout = function (component, rebind = true) {
|
|
4
|
+
return (t) => {
|
|
5
|
+
ReactComponent(DEFAULT_LAYOUT, component || t, rebind)(t);
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=default-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-layout.js","sourceRoot":"","sources":["../../../src/browser/annotation/default-layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,CAAC,MAAM,aAAa,GACtB,UAAU,SAAoC,EAAE,MAAM,GAAG,IAAI;IACzD,OAAO,CAAC,CAAM,EAAE,EAAE;QACd,cAAc,CAAC,cAAc,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactComponent } from './react-component.js';
|
|
2
|
+
import { ICON } from '../icon/icon-protocol.js';
|
|
3
|
+
export const Icon = function (component, rebind = false) {
|
|
4
|
+
return (t) => {
|
|
5
|
+
ReactComponent(ICON, component || t, rebind)(t);
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/browser/annotation/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAG7C,MAAM,CAAC,MAAM,IAAI,GACb,UAAU,SAAoC,EAAE,MAAM,GAAG,KAAK;IAC1D,OAAO,CAAC,CAAM,EAAE,EAAE;QACd,cAAc,CAAC,IAAI,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './react-component.js';
|
|
2
|
+
export * from './route.js';
|
|
3
|
+
export * from './view.js';
|
|
4
|
+
export * from './router.js';
|
|
5
|
+
export * from './app.js';
|
|
6
|
+
export * from './icon.js';
|
|
7
|
+
export * from './context.js';
|
|
8
|
+
export * from './default-layout.js';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/annotation/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-component.js","sourceRoot":"","sources":["../../../src/browser/annotation/react-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAe,MAAM,cAAc,CAAC;AAGrD,MAAM,CAAC,MAAM,cAAc,GACvB,UAAU,EAAgC,EAAE,SAAoC,EAAE,MAAM,GAAG,KAAK;IAC5F,OAAO,CAAC,CAAM,EAAE,EAAE;QACd,QAAQ,CAAC,EAAE,IAAI,CAAC,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Constant } from '@celljs/core';
|
|
2
|
+
import { ROUTE_METADATA } from '../router/router-protocol.js';
|
|
3
|
+
import { ReactComponent } from './react-component.js';
|
|
4
|
+
export function Route(pathOrRouteMetadata, rebind = false) {
|
|
5
|
+
return function (target) {
|
|
6
|
+
let routeMetadata;
|
|
7
|
+
if (typeof pathOrRouteMetadata === 'string') {
|
|
8
|
+
routeMetadata = { path: pathOrRouteMetadata, priority: 1000 };
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
routeMetadata = { priority: 1000, isDefaultLayout: true, ...pathOrRouteMetadata };
|
|
12
|
+
}
|
|
13
|
+
if (!routeMetadata.component) {
|
|
14
|
+
routeMetadata.component = target;
|
|
15
|
+
}
|
|
16
|
+
Constant(ROUTE_METADATA, routeMetadata, false)(target);
|
|
17
|
+
ReactComponent('@Route:' + routeMetadata.path, undefined, rebind)(target);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=route.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../src/browser/annotation/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAiB,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,UAAU,KAAK,CAAC,mBAA4C,EAAE,MAAM,GAAG,KAAK;IAC9E,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,QAAQ,CAAC,cAAc,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QACvD,cAAc,CAAC,SAAS,GAAG,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9E,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactComponent } from './react-component.js';
|
|
2
|
+
import { ROUTER } from '../router/router-protocol.js';
|
|
3
|
+
export const Router = function (component, rebind = true) {
|
|
4
|
+
return (t) => {
|
|
5
|
+
ReactComponent(ROUTER, component || t, rebind)(t);
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../src/browser/annotation/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAGnD,MAAM,CAAC,MAAM,MAAM,GACf,UAAU,SAAoC,EAAE,MAAM,GAAG,IAAI;IACzD,OAAO,CAAC,CAAM,EAAE,EAAE;QACd,cAAc,CAAC,MAAM,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/browser/annotation/view.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,UAAU,IAAI,CAAC,mBAA4C,EAAE,MAAM,GAAG,KAAK;IAC7E,OAAO,UAAU,MAAW;QACxB,KAAK,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const APP: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-protocol.js","sourceRoot":"","sources":["../../../src/browser/app/app-protocol.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ContextProvider } from '../context/index.js';
|
|
3
|
+
export declare class AppImpl extends React.Component {
|
|
4
|
+
protected readonly contextProvider: ContextProvider;
|
|
5
|
+
protected readonly router: React.ComponentType;
|
|
6
|
+
render(): React.ReactNode;
|
|
7
|
+
protected createContextAndRouter(): React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
import { ROUTER } from '../router/index.js';
|
|
12
|
+
import { Autowired } from '@celljs/core/lib/common/annotation/detached';
|
|
13
|
+
import { App } from '../annotation/index.js';
|
|
14
|
+
import { ContextProvider } from '../context/index.js';
|
|
15
|
+
let AppImpl = class AppImpl extends React.Component {
|
|
16
|
+
render() {
|
|
17
|
+
return this.createContextAndRouter();
|
|
18
|
+
}
|
|
19
|
+
createContextAndRouter() {
|
|
20
|
+
let child = React.createElement(this.router);
|
|
21
|
+
this.contextProvider.provide().forEach((context, index) => child = React.createElement(context, { key: index }, child));
|
|
22
|
+
return child;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
__decorate([
|
|
26
|
+
Autowired(ContextProvider),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], AppImpl.prototype, "contextProvider", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Autowired(ROUTER),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], AppImpl.prototype, "router", void 0);
|
|
33
|
+
AppImpl = __decorate([
|
|
34
|
+
App(AppImpl, false)
|
|
35
|
+
], AppImpl);
|
|
36
|
+
export { AppImpl };
|
|
37
|
+
//# sourceMappingURL=app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/browser/app/app.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;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;AAdsB;IADlB,SAAS,CAAC,eAAe,CAAC;;gDACyB;AAGjC;IADlB,SAAS,CAAC,MAAM,CAAC;;uCAC6B;AANtC,OAAO;IADnB,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC;GACP,OAAO,CAiBnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/app/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-protocol.js","sourceRoot":"","sources":["../../../src/browser/context/context-protocol.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAEzC,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ContextProvider } from './context-protocol.js';
|
|
2
|
+
export declare class ContextProviderImpl implements ContextProvider {
|
|
3
|
+
protected readonly contexts: React.ComponentType[];
|
|
4
|
+
protected prioritized: React.ComponentType[];
|
|
5
|
+
constructor(contexts: React.ComponentType[]);
|
|
6
|
+
provide(): React.ComponentType<any>[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
|
+
};
|
|
13
|
+
import { Component, Autowired, Prioritizeable } from '@celljs/core';
|
|
14
|
+
import { ContextProvider, CONTEXT } from './context-protocol.js';
|
|
15
|
+
let ContextProviderImpl = class ContextProviderImpl {
|
|
16
|
+
constructor(contexts) {
|
|
17
|
+
this.contexts = contexts;
|
|
18
|
+
}
|
|
19
|
+
provide() {
|
|
20
|
+
if (!this.prioritized) {
|
|
21
|
+
this.prioritized = Prioritizeable.prioritizeAllSync(this.contexts).map(c => c.value);
|
|
22
|
+
}
|
|
23
|
+
return this.prioritized;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
ContextProviderImpl = __decorate([
|
|
27
|
+
Component(ContextProvider),
|
|
28
|
+
__param(0, Autowired(CONTEXT)),
|
|
29
|
+
__metadata("design:paramtypes", [Array])
|
|
30
|
+
], ContextProviderImpl);
|
|
31
|
+
export { ContextProviderImpl };
|
|
32
|
+
//# sourceMappingURL=context-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-provider.js","sourceRoot":"","sources":["../../../src/browser/context/context-provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGvD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAI5B,YAEuB,QAA+B;wBAA/B,QAAQ;IAC3B,CAAC;IAEL,OAAO;QACH,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACpB,IAAI,CAAC,WAAW,GAAG,cAAc,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,mBAAmB;IAD/B,SAAS,CAAC,eAAe,CAAC;IAMlB,WAAA,SAAS,CAAC,OAAO,CAAC,CAAA;;GALd,mBAAmB,CAgB/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ContextProps extends React.PropsWithChildren {
|
|
3
|
+
}
|
|
4
|
+
export interface ContextState {
|
|
5
|
+
}
|
|
6
|
+
export declare class NoOpContext extends React.Component<ContextProps, ContextState> {
|
|
7
|
+
static priority: number;
|
|
8
|
+
render(): React.ReactElement<{}>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { Context } from '../annotation/index.js';
|
|
9
|
+
let NoOpContext = class NoOpContext extends React.Component {
|
|
10
|
+
render() {
|
|
11
|
+
return React.createElement(React.Fragment, null, this.props.children);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
NoOpContext.priority = 1000;
|
|
15
|
+
NoOpContext = __decorate([
|
|
16
|
+
Context()
|
|
17
|
+
], NoOpContext);
|
|
18
|
+
export { NoOpContext };
|
|
19
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/browser/context/context.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;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;CACJ,CAAA;AALU,oBAAQ,GAAG,IAAI,AAAP,CAAQ;AAFd,WAAW;IADvB,OAAO,EAAE;GACG,WAAW,CAOvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-protocol.js","sourceRoot":"","sources":["../../../src/browser/icon/icon-protocol.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AAEnC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Icon<T>(iconProps: T): JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ContainerUtil } from '@celljs/core';
|
|
3
|
+
import { IconResolver } from './icon-protocol.js';
|
|
4
|
+
const { useState, useEffect } = React;
|
|
5
|
+
export function Icon(iconProps) {
|
|
6
|
+
const [iconNode, setIconNode] = useState([]);
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
const resolve = async () => {
|
|
9
|
+
const iconResolver = ContainerUtil.get(IconResolver);
|
|
10
|
+
setIconNode(await iconResolver.resolve(iconProps));
|
|
11
|
+
};
|
|
12
|
+
resolve();
|
|
13
|
+
}, [JSON.stringify(iconProps)]);
|
|
14
|
+
return (React.createElement(React.Fragment, null, iconNode));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/browser/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;AAEtC,MAAM,UAAU,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,aAAa,CAAC,GAAG,CAAkB,YAAY,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './icon-protocol.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './annotation/index.js';
|
|
2
|
+
export * from './app/index.js';
|
|
3
|
+
export * from './layout/index.js';
|
|
4
|
+
export * from './context/index.js';
|
|
5
|
+
export * from './router/index.js';
|
|
6
|
+
export * from './shell/index.js';
|
|
7
|
+
export * from './resolver/index.js';
|
|
8
|
+
export * from './widget/index.js';
|
|
9
|
+
export * from './slot/index.js';
|
|
10
|
+
export * from './icon/index.js';
|
|
11
|
+
export * from './locale/index.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './annotation/index.js';
|
|
2
|
+
export * from './app/index.js';
|
|
3
|
+
export * from './layout/index.js';
|
|
4
|
+
export * from './context/index.js';
|
|
5
|
+
export * from './router/index.js';
|
|
6
|
+
export * from './shell/index.js';
|
|
7
|
+
export * from './resolver/index.js';
|
|
8
|
+
export * from './widget/index.js';
|
|
9
|
+
export * from './slot/index.js';
|
|
10
|
+
export * from './icon/index.js';
|
|
11
|
+
export * from './locale/index.js';
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_LAYOUT: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-protocol.js","sourceRoot":"","sources":["../../../src/browser/layout/layout-protocol.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { DefaultLayout } from '../annotation/index.js';
|
|
9
|
+
let EmptyLayout = class EmptyLayout extends React.Component {
|
|
10
|
+
render() {
|
|
11
|
+
return React.createElement(React.Fragment, null, this.props.children);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
EmptyLayout = __decorate([
|
|
15
|
+
DefaultLayout(EmptyLayout, false)
|
|
16
|
+
], EmptyLayout);
|
|
17
|
+
export { EmptyLayout };
|
|
18
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../src/browser/layout/layout.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;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,WAAW;IADvB,aAAa,CAAC,WAAW,EAAE,KAAK,CAAC;GACrB,WAAW,CAKvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/locale/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { LOCALE_REACT_CONTEXT_PRIORITY } from './locale-protocol.js';
|
|
3
|
+
export declare function LocaleContext({ children }: React.PropsWithChildren): JSX.Element;
|
|
4
|
+
export declare namespace LocaleContext {
|
|
5
|
+
export { LOCALE_REACT_CONTEXT_PRIORITY as priority };
|
|
6
|
+
}
|
|
7
|
+
export default class {
|
|
8
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { LOCALE_REACT_CONTEXT_PRIORITY } from './locale-protocol.js';
|
|
9
|
+
import { IntlProvider } from 'react-intl';
|
|
10
|
+
import { ContainerUtil, Logger } from '@celljs/core';
|
|
11
|
+
import { LocaleManager } from '@celljs/widget';
|
|
12
|
+
import { Context } from '../annotation/index.js';
|
|
13
|
+
export function LocaleContext({ children }) {
|
|
14
|
+
const localeManager = ContainerUtil.get(LocaleManager);
|
|
15
|
+
const [locale, setLocale] = React.useState(localeManager.currentSubject.value);
|
|
16
|
+
React.useEffect(() => {
|
|
17
|
+
const subscription = localeManager.currentSubject.subscribe(l => setLocale(l));
|
|
18
|
+
return () => subscription.unsubscribe();
|
|
19
|
+
}, []);
|
|
20
|
+
return (React.createElement(IntlProvider, { locale: (locale === null || locale === void 0 ? void 0 : locale.lang) || navigator.language, messages: locale === null || locale === void 0 ? void 0 : locale.messages, onError: err => {
|
|
21
|
+
const logger = ContainerUtil.get(Logger);
|
|
22
|
+
if (err.code !== 'MISSING_TRANSLATION') {
|
|
23
|
+
logger.warn(err);
|
|
24
|
+
}
|
|
25
|
+
} }, children));
|
|
26
|
+
}
|
|
27
|
+
LocaleContext.priority = LOCALE_REACT_CONTEXT_PRIORITY;
|
|
28
|
+
let default_1 = class {
|
|
29
|
+
};
|
|
30
|
+
default_1 = __decorate([
|
|
31
|
+
Context(LocaleContext)
|
|
32
|
+
], default_1);
|
|
33
|
+
export default default_1;
|
|
34
|
+
//# sourceMappingURL=locale-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-context.js","sourceRoot":"","sources":["../../../src/browser/locale/locale-context.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,UAAU,aAAa,CAAC,EAAE,QAAQ,EAA2B;IAC/D,MAAM,aAAa,GAAG,aAAa,CAAC,GAAG,CAAgB,aAAa,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,YAAY,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,aAAa,CAAC,GAAG,CAAS,MAAM,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,6BAA6B,CAAC;AAGxC,gBAAA;CAAQ,CAAA;AAAR;IADd,OAAO,CAAC,aAAa,CAAC;aACA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LOCALE_REACT_CONTEXT_PRIORITY = 3000;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-protocol.js","sourceRoot":"","sources":["../../../src/browser/locale/locale-protocol.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/browser/module.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAC;AACjB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAe,QAAQ,EAAE,CAAC"}
|