@zerotal/admin 1.7.5 → 1.8.1

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.
Files changed (2) hide show
  1. package/api-surface.md +3 -0
  2. package/package.json +9 -9
package/api-surface.md CHANGED
@@ -87,6 +87,7 @@ class AdminPage = {
87
87
  static cluster?: typeof Cluster
88
88
  static durable?: boolean | { ttl?: string; scope?: 'user' | 'session';}
89
89
  static getNavigationLabel: () => string
90
+ static interactive?: boolean
90
91
  static layout: any
91
92
  static navigationBadge?: () => Promise<string | number | null> | string | number | null
92
93
  static navigationBadgeColor?: BadgeTone
@@ -122,6 +123,7 @@ class AdminPage = {
122
123
  _prevChildIds: string[]
123
124
  _redirectStatus: number | null
124
125
  _redirectUrl: string | null
126
+ _renderStaticChild: <C extends Component>(ChildClass: new () => C, opts: { props?: Partial<C>; slots?: Record<string, string>;}) => Promise<string>
125
127
  _resolveTitle: () => string | null
126
128
  _shouldRefresh: boolean
127
129
  _streamSender: ((ref: string, content: string, replace: boolean) => void) | null
@@ -141,6 +143,7 @@ class AdminPage = {
141
143
  errors: ErrorsProxy
142
144
  flash: (message: string, optionsOrLevel?: FlashLevel | FlashOptions) => FlashBuilder
143
145
  hasSlot: (name?: string) => boolean
146
+ isInteractive: boolean
144
147
  layout: (page: HtmlNode) => HtmlNode | Promise<HtmlNode>
145
148
  navigateCurrent: (options?: CurrentUrlOptions) => Promise<void>
146
149
  onBoot: (_ctx?: HttpContext) => Promise<void>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerotal/admin",
3
- "version": "1.7.5",
3
+ "version": "1.8.1",
4
4
  "license": "MIT",
5
5
  "maturity": "stable",
6
6
  "private": false,
@@ -32,16 +32,16 @@
32
32
  "typecheck": "tsc --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@zerotal/cache": "1.7.5",
36
- "@zerotal/core": "1.7.5",
37
- "@zerotal/flow": "1.7.5",
38
- "@zerotal/flow-ui": "1.7.5",
39
- "@zerotal/validator": "1.7.5"
35
+ "@zerotal/cache": "1.8.1",
36
+ "@zerotal/core": "1.8.1",
37
+ "@zerotal/flow": "1.8.1",
38
+ "@zerotal/flow-ui": "1.8.1",
39
+ "@zerotal/validator": "1.8.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@zerotal/orm": "1.7.5",
43
- "@zerotal/auth": "1.7.5",
44
- "@zerotal/queue": "1.7.5"
42
+ "@zerotal/orm": "1.8.1",
43
+ "@zerotal/auth": "1.8.1",
44
+ "@zerotal/queue": "1.8.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@zerotal/orm": "^1.0.0",