dochub-sdk 0.1.39 → 0.1.40

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.
@@ -41,13 +41,20 @@ export enum DocHubNavigateCommands {
41
41
  root = '$_root_$'
42
42
  }
43
43
 
44
+ export enum DocHubNavigateTarget {
45
+ blank = '_blank',
46
+ self = '_self',
47
+ parent = '_parent',
48
+ top = '_top'
49
+ }
50
+
44
51
  export interface IDocHubRouter {
45
52
  // Регистрирует роут в формате VUE2
46
53
  registerRoute(route: object);
47
54
  // Регистрирует middleware в формате VUE2
48
55
  registerMiddleware(middleware: object);
49
56
  // Указывает на какой роут перейти в DocHub
50
- navigate(url: string | DocHubNavigateCommands);
57
+ navigate(url: string | DocHubNavigateCommands, target?:DocHubNavigateTarget);
51
58
  }
52
59
 
53
60
  export interface IDocHubContentProviders {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",