@vicinae/api 0.16.1 → 0.16.2
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/api/bus.d.ts +5 -0
- package/dist/api/cache.js +5 -4
- package/dist/api/components/actions.d.ts +9 -0
- package/dist/api/components/actions.js +6 -0
- package/dist/api/components/form.d.ts +15 -1
- package/dist/api/components/form.js +25 -3
- package/dist/api/context/navigation-provider.js +1 -4
- package/dist/api/environment.d.ts +4 -0
- package/dist/api/oauth.d.ts +3 -8
- package/dist/api/oauth.js +51 -21
- package/dist/api/proto/application.d.ts +10 -0
- package/dist/api/proto/application.js +150 -3
- package/dist/api/proto/manager.d.ts +2 -0
- package/dist/api/proto/manager.js +32 -0
- package/dist/api/proto/oauth.d.ts +42 -0
- package/dist/api/proto/oauth.js +620 -5
- package/dist/api/proto/wm.d.ts +20 -0
- package/dist/api/proto/wm.js +291 -7
- package/dist/api/utils.d.ts +43 -0
- package/dist/api/utils.js +24 -1
- package/dist/api/window-management.d.ts +29 -0
- package/dist/api/window-management.js +17 -0
- package/dist/schemas/manifest.d.ts +1 -1
- package/package.json +1 -1
- package/types/jsx.d.ts +18 -6
package/types/jsx.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Keyboard } from "../api/keyboard";
|
|
|
7
7
|
import { Grid } from "../api/components/grid";
|
|
8
8
|
|
|
9
9
|
import "react";
|
|
10
|
-
import type { Application, Quicklink } from "../src";
|
|
10
|
+
import type { Application, DatePickerType, Quicklink } from "../src";
|
|
11
11
|
|
|
12
12
|
type BaseFormField = {
|
|
13
13
|
onBlur?: Function;
|
|
@@ -18,6 +18,9 @@ type BaseFormField = {
|
|
|
18
18
|
declare module "react" {
|
|
19
19
|
namespace JSX {
|
|
20
20
|
interface IntrinsicElements {
|
|
21
|
+
view: {
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
};
|
|
21
24
|
detail: {
|
|
22
25
|
navigationTitle?: string;
|
|
23
26
|
markdown: string;
|
|
@@ -78,9 +81,9 @@ declare module "react" {
|
|
|
78
81
|
id?: string;
|
|
79
82
|
subtitle?: string;
|
|
80
83
|
content?:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
| ImageLike
|
|
85
|
+
| { color: ColorLike }
|
|
86
|
+
| { value: ImageLike; tooltip?: string };
|
|
84
87
|
keywords?: string[];
|
|
85
88
|
children?: ReactNode;
|
|
86
89
|
};
|
|
@@ -157,11 +160,20 @@ declare module "react" {
|
|
|
157
160
|
icon?: ImageLike;
|
|
158
161
|
};
|
|
159
162
|
"text-area-field": BaseFormField & {};
|
|
160
|
-
"file-picker-field": BaseFormField & {
|
|
163
|
+
"file-picker-field": BaseFormField & {
|
|
164
|
+
allowMultipleSelection?: boolean;
|
|
165
|
+
canChooseDirectories?: boolean;
|
|
166
|
+
canChooseFiles?: boolean;
|
|
167
|
+
showHiddenFiles?: boolean;
|
|
168
|
+
};
|
|
161
169
|
"dropdown-field": BaseFormField & {
|
|
162
170
|
children?: ReactNode;
|
|
163
171
|
};
|
|
164
|
-
"date-picker-field": {
|
|
172
|
+
"date-picker-field": BaseFormField & {
|
|
173
|
+
min?: Date;
|
|
174
|
+
max?: Date;
|
|
175
|
+
type?: DatePickerType;
|
|
176
|
+
};
|
|
165
177
|
"checkbox-field": BaseFormField & {};
|
|
166
178
|
"password-field": {};
|
|
167
179
|
"textarea-field": {};
|