@ws-ui/shared 0.0.46 → 0.0.47
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/declarations/datasources/datasource.d.ts +1 -1
- package/dist/declarations/datasources/rest.d.ts +5 -5
- package/dist/declarations/index.d.ts +5 -5
- package/dist/declarations/webform/webform.d.ts +14 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +30 -27
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -1
|
@@ -160,7 +160,7 @@ declare namespace datasources {
|
|
|
160
160
|
addAttribute(attname: string, subfilter?: any): void;
|
|
161
161
|
mergeWith(mergeWith: { filter: any }): void;
|
|
162
162
|
addFilterText(filterText: string, newprop: string): string;
|
|
163
|
-
buildString(curpath: string):
|
|
163
|
+
buildString(curpath: string): string;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
interface IDSChildren {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare namespace datasources {
|
|
2
2
|
class RestError extends Error {
|
|
3
3
|
constructor(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
message: string,
|
|
5
|
+
status: number,
|
|
6
|
+
statusText?: string,
|
|
7
|
+
errCode?: number | string,
|
|
8
8
|
);
|
|
9
9
|
|
|
10
10
|
getDescription(): string;
|
|
@@ -13,6 +13,6 @@ declare namespace datasources {
|
|
|
13
13
|
function restRequest<T>(
|
|
14
14
|
command: HttpMethod,
|
|
15
15
|
url: string,
|
|
16
|
-
body:
|
|
16
|
+
body: unknown,
|
|
17
17
|
): Promise<T>;
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare
|
|
2
|
-
declare
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
1
|
+
declare let DataSource: typeof datasources.DataSource;
|
|
2
|
+
declare let Method4D: typeof datasources.Method4D;
|
|
3
|
+
declare let restRequest: typeof datasources.restRequest;
|
|
4
|
+
declare let Utils: typeof datasources.Utils;
|
|
5
|
+
declare let $$datastores: {
|
|
6
6
|
[dsName: string]: datasources.DataStore;
|
|
7
7
|
};
|
|
@@ -152,15 +152,15 @@ declare namespace webforms {
|
|
|
152
152
|
type: 'method';
|
|
153
153
|
params: MethodParam[];
|
|
154
154
|
} & Partial<{
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
155
|
+
method: string;
|
|
156
|
+
dataclass: string;
|
|
157
|
+
returns: Omit<MethodParam, 'id'>;
|
|
158
|
+
namespace: string;
|
|
159
|
+
code: string;
|
|
160
|
+
feedback: boolean;
|
|
161
|
+
datasource: string;
|
|
162
|
+
variadicType: string;
|
|
163
|
+
}>;
|
|
164
164
|
|
|
165
165
|
interface SimpleActionEvent extends BaseEvent {
|
|
166
166
|
type: 'simple-action';
|
|
@@ -173,6 +173,10 @@ declare namespace webforms {
|
|
|
173
173
|
target?: string;
|
|
174
174
|
targetNamespace?: string;
|
|
175
175
|
targetType?: string;
|
|
176
|
+
set?: {
|
|
177
|
+
value?: string;
|
|
178
|
+
type?: string;
|
|
179
|
+
};
|
|
176
180
|
};
|
|
177
181
|
action: string;
|
|
178
182
|
query?: QueryString;
|
|
@@ -195,6 +199,7 @@ declare namespace webforms {
|
|
|
195
199
|
loader: string;
|
|
196
200
|
target: string;
|
|
197
201
|
externalLink: boolean;
|
|
202
|
+
isHardCoded?: boolean;
|
|
198
203
|
}
|
|
199
204
|
|
|
200
205
|
interface EventMeta {
|