@rws-framework/client 2.10.13 → 2.10.15
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/cfg/build_steps/webpack/_actions.js +0 -0
- package/cfg/build_steps/webpack/_build_config.js +0 -0
- package/cfg/build_steps/webpack/_component_handling.js +0 -0
- package/cfg/build_steps/webpack/_dev_servers.js +0 -0
- package/cfg/build_steps/webpack/_env_defines.js +0 -0
- package/cfg/build_steps/webpack/_plugins.js +0 -0
- package/cfg/build_steps/webpack/_webpack_config.js +0 -0
- package/package.json +2 -2
- package/src/client.ts +1 -1
- package/src/components/_component.ts +1 -2
- package/src/components/_definitions.ts +0 -1
- package/src/types/IRWSConfig.ts +1 -1
- package/src/types/IRWSPlugin.ts +4 -2
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rws-framework/client",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.10.
|
|
4
|
+
"version": "2.10.15",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"docs": "typedoc --tsconfig ./tsconfig.json"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@microsoft/fast-element": "^1.12.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.46.2",
|
|
31
|
-
"@rws-framework/console": "^0.3.
|
|
31
|
+
"@rws-framework/console": "^0.3.16",
|
|
32
32
|
"@types/moment": "^2.13.0",
|
|
33
33
|
"deepmerge": "^4.3.1",
|
|
34
34
|
"dragula": "^3.7.3",
|
package/src/client.ts
CHANGED
|
@@ -39,7 +39,6 @@ export function defineComponent<T extends RWSViewComponent>(element: IWithCompos
|
|
|
39
39
|
styles: element.definition.styles
|
|
40
40
|
}) as RWSWindowComponentInterface;
|
|
41
41
|
|
|
42
|
-
console.log({eld: element.definition})
|
|
43
42
|
|
|
44
43
|
if (!richWindow.RWS) {
|
|
45
44
|
throw new Error('RWS client not initialized');
|
package/src/types/IRWSConfig.ts
CHANGED
|
@@ -25,7 +25,7 @@ export default interface IRWSConfig {
|
|
|
25
25
|
rwsDefines?: {[key: string]: any}
|
|
26
26
|
partedFileDir?: string
|
|
27
27
|
partedPrefix?: string
|
|
28
|
-
plugins?: IStaticRWSPlugin[]
|
|
28
|
+
plugins?: IStaticRWSPlugin<DefaultRWSPluginOptionsType>[]
|
|
29
29
|
routing_enabled?: boolean
|
|
30
30
|
_noLoad?: boolean
|
|
31
31
|
}
|
package/src/types/IRWSPlugin.ts
CHANGED
|
@@ -12,8 +12,10 @@ export interface IRWSPlugin {
|
|
|
12
12
|
onSetUser(user: IRWSUser): Promise<void>
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
type IStaticRWSPluginEntry<PluginOptions extends DefaultRWSPluginOptionsType = DefaultRWSPluginOptionsType> = {
|
|
16
16
|
new (...args: any[]): IRWSPlugin;
|
|
17
17
|
container: Container;
|
|
18
18
|
window: RWSWindow;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type IStaticRWSPlugin<PluginOptions extends DefaultRWSPluginOptionsType> = IStaticRWSPluginEntry<PluginOptions> | [IStaticRWSPluginEntry<PluginOptions>, PluginOptions]
|