@appkit/dek-plugin 0.32.0 → 0.34.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/dist/index.es.js +6 -0
- package/dist/index.umd.js +6 -0
- package/dist/lib/api.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -209,6 +209,9 @@ class Api {
|
|
|
209
209
|
get commandGroups() {
|
|
210
210
|
return this.internal.commandGroups;
|
|
211
211
|
}
|
|
212
|
+
get commands() {
|
|
213
|
+
return this.internal.commands;
|
|
214
|
+
}
|
|
212
215
|
navigate(path) {
|
|
213
216
|
this.internal.navigate(path);
|
|
214
217
|
}
|
|
@@ -299,6 +302,9 @@ class ApiInternal {
|
|
|
299
302
|
get commandGroups() {
|
|
300
303
|
return this.globals.commandGroups;
|
|
301
304
|
}
|
|
305
|
+
get commands() {
|
|
306
|
+
return this.globals.commands;
|
|
307
|
+
}
|
|
302
308
|
navigate(path) {
|
|
303
309
|
this.globals.setLocation(`/${this.boardKey}${path}`);
|
|
304
310
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -212,6 +212,9 @@ var __publicField = (obj, key, value) => {
|
|
|
212
212
|
get commandGroups() {
|
|
213
213
|
return this.internal.commandGroups;
|
|
214
214
|
}
|
|
215
|
+
get commands() {
|
|
216
|
+
return this.internal.commands;
|
|
217
|
+
}
|
|
215
218
|
navigate(path) {
|
|
216
219
|
this.internal.navigate(path);
|
|
217
220
|
}
|
|
@@ -302,6 +305,9 @@ var __publicField = (obj, key, value) => {
|
|
|
302
305
|
get commandGroups() {
|
|
303
306
|
return this.globals.commandGroups;
|
|
304
307
|
}
|
|
308
|
+
get commands() {
|
|
309
|
+
return this.globals.commands;
|
|
310
|
+
}
|
|
305
311
|
navigate(path) {
|
|
306
312
|
this.globals.setLocation(`/${this.boardKey}${path}`);
|
|
307
313
|
}
|
package/dist/lib/api.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export type DekApiInternal = {
|
|
|
74
74
|
board: DekBoard;
|
|
75
75
|
layout: string;
|
|
76
76
|
commandGroups: DekCommandGroup[];
|
|
77
|
+
commands: DekCommand[];
|
|
77
78
|
navigate: (path: string) => void;
|
|
78
79
|
navigateParams: Record<string, string | undefined>;
|
|
79
80
|
navigateBack: () => void;
|
|
@@ -92,6 +93,7 @@ export type DekApi = {
|
|
|
92
93
|
board: DekBoard;
|
|
93
94
|
layout: string;
|
|
94
95
|
commandGroups: DekCommandGroup[];
|
|
96
|
+
commands: DekCommand[];
|
|
95
97
|
navigate: (path: string) => void;
|
|
96
98
|
navigateParams: Record<string, string | undefined>;
|
|
97
99
|
navigateBack: () => void;
|
|
@@ -113,6 +115,7 @@ export declare class Api implements DekApi {
|
|
|
113
115
|
get board(): DekBoard;
|
|
114
116
|
get layout(): string;
|
|
115
117
|
get commandGroups(): DekCommandGroup[];
|
|
118
|
+
get commands(): DekCommand[];
|
|
116
119
|
navigate(path: string): void;
|
|
117
120
|
get navigateParams(): Record<string, string | undefined>;
|
|
118
121
|
navigateBack(): void;
|
|
@@ -137,6 +140,7 @@ export declare class ApiInternal implements DekApiInternal {
|
|
|
137
140
|
get board(): DekBoard;
|
|
138
141
|
get layout(): string;
|
|
139
142
|
get commandGroups(): DekCommandGroup[];
|
|
143
|
+
get commands(): DekCommand[];
|
|
140
144
|
navigate(path: string): void;
|
|
141
145
|
get navigateParams(): Record<string, string | undefined>;
|
|
142
146
|
navigateBack(): void;
|