@ws-ui/shared 1.10.4-rc1 → 1.10.4-rc2

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.
@@ -1,390 +1,390 @@
1
- declare namespace datasources {
2
- type TEventData =
3
- import('@ws-ui/shared/hooks/use-events/interfaces').webforms.WEvent;
4
- type TDatasourceType =
5
- | 'auto'
6
- | 'entity'
7
- | 'entitysel'
8
- | 'catalog'
9
- | 'dataclass'
10
- | 'scalar'
11
- | 'array'
12
- | 'object';
13
- type TJSType = 'string' | 'number' | 'bool' | 'date' | 'object' | 'array';
14
- type TDataType =
15
- | 'array'
16
- | 'bool'
17
- | 'string'
18
- | 'text'
19
- | 'uuid'
20
- | 'short'
21
- | 'long'
22
- | 'number'
23
- | 'long64'
24
- | 'duration'
25
- | 'object'
26
- | 'date'
27
- | 'image';
28
- interface IEnhancedCatalog extends ICatalog {
29
- dataClasses: IDataClasses;
30
- dataClassByCollectionName: IDataClasses;
31
- singletons: ISingletons;
32
- }
33
- interface ICollection<T extends IEntity = IEntity> {
34
- __COUNT: number;
35
- __DATACLASS: string;
36
- __FIRST: number;
37
- __GlobalStamp: number;
38
- __SENT: string;
39
- __entityModel: string;
40
- __ENTITIES: T[];
41
- __ENTITYSET?: string;
42
- __MAXENTITIES?: number;
43
- __queryPlan?: any;
44
- __extendedQueryPlan?: any;
45
- __extendedQueryPath?: any;
46
- }
47
-
48
- interface IBaseAttribute {
49
- name: string;
50
- kind: AttributeKind;
51
- scope: Scope;
52
- exposed?: boolean;
53
- readOnly?: boolean;
54
- }
55
- interface ISimpleAttribute extends IBaseAttribute {
56
- type: AttributeType;
57
- indexed?: boolean;
58
- identifying?: boolean;
59
- simpleDate?: boolean;
60
- }
61
-
62
- interface IRelatedEntitiesAttribute extends IBaseAttribute {
63
- kind: 'relatedEntities';
64
- path: string;
65
- type: AttributeType | string;
66
- inverseName: string;
67
- reversePath: boolean;
68
- }
69
-
70
- interface IRelatedEntityAttribute extends IBaseAttribute {
71
- kind: 'relatedEntity';
72
- type: AttributeType | string;
73
- path: string;
74
- foreignKey: string;
75
- inverseName: string;
76
- }
77
-
78
- interface ICalculatedAttribute extends IBaseAttribute {
79
- kind: 'calculated';
80
- type: AttributeType | string;
81
- foreignKey?: string;
82
- inverseName?: string;
83
- reversePath?: boolean;
84
- path?: string;
85
- behavior?: 'relatedEntities' | 'relatedEntity';
86
- }
87
-
88
- interface IAliasAttribute extends IBaseAttribute {
89
- behavior?: 'relatedEntities' | 'relatedEntity';
90
- type: AttributeType | string;
91
- foreignKey?: string;
92
- inverseName?: string;
93
- reversePath?: boolean;
94
- path?: string;
95
- kind: 'alias';
96
- }
97
-
98
- type IAttribute = {
99
- name: string;
100
- type: string;
101
- kind: EAttributeKind;
102
- scope: AttributeScope;
103
- uuid?: string;
104
- } & Partial<{
105
- indexKind: TIndexType;
106
- autogenerate: boolean;
107
- unique: boolean;
108
- primKey: boolean;
109
- exposed: boolean;
110
- behavior: string;
111
- autosequence: boolean;
112
- reversePath: boolean;
113
- not_null: boolean;
114
- minValue: number;
115
- maxValue: number;
116
- simpleDate: boolean;
117
- defaultValue: any;
118
- events: any[];
119
- path: string;
120
- extraProperties: IAttributeProperties;
121
- styled_text: boolean;
122
- }>;
123
-
124
- interface IRelatedAttribute extends IBaseAttribute {
125
- type?: AttributeType | string;
126
- behavior: 'relatedEntities' | 'relatedEntity';
127
- foreignKey?: string;
128
- inverseName?: string;
129
- path?: string;
130
- reversePath?: boolean;
131
- }
132
- interface IEntity {
133
- __KEY?: string;
134
- __TIMESTAMP?: Date;
135
- __STAMP?: number;
136
- }
137
-
138
- type TSingletonMethod = Partial<catalog.IMethod>;
139
-
140
- interface ISingletonClass {
141
- name: string;
142
- methods: ISingletonMethod[];
143
- }
144
- interface ICatalog {
145
- __UNIQID: string;
146
- __BASEID: string;
147
- methods: catalog.IMethod[];
148
- dataClasses: IDetailedDataClass[];
149
- singletons?: ISingletonClass[];
150
- }
151
-
152
- interface IDataClass {
153
- name: string;
154
- uri: string;
155
- dataURI: string;
156
- }
157
- interface IDetailedDataClass extends IDataClass {
158
- className: string;
159
- collectionName: string;
160
- tableNumber: number;
161
- scope: Scope;
162
- attributes?: IAttribute[];
163
- key: IDataClassKey[];
164
- methods: catalog.IMethod[];
165
- exposed?: boolean;
166
- extraProperties?: IAttributeProperties;
167
- virtual?: boolean;
168
- uuid?: string;
169
- }
170
-
171
- type IDataClasses = { [key: string]: IDetailedDataClass };
172
-
173
- type ISingletons = { [key: string]: ISingletonClass };
174
-
175
- class AttributeFilter {
176
- addAttribute(attname: string, subfilter?: any): void;
177
- mergeWith(mergeWith: { filter: any }): void;
178
- addFilterText(filterText: string, newprop: string): string;
179
- buildString(curpath: string): string;
180
- }
181
-
182
- interface IDSChildren {
183
- [datasourceName: string]: DataSource;
184
- }
185
-
186
- interface INameSpace {
187
- sources: IDSChildren;
188
- root: DataSource;
189
- }
190
-
191
- type ICreateDataSource =
192
- | ICreateDataSourceScalar
193
- | ICreateDataSourceArray
194
- | ICreateDataSourceObject
195
- | ICreateDataSourceEntity
196
- | ICreateDataSourceEntitySelection;
197
- type IEntityDatasource =
198
- | datasources.ICreateDataSourceEntity
199
- | datasources.ICreateDataSourceEntitySelection;
200
-
201
- interface ICreateDataSourceCommon {
202
- id: string;
203
- initialValue: any;
204
- events?: webforms.WEvent[];
205
- namespace: string;
206
- schema?: {
207
- type: string;
208
- properties: {
209
- name: string;
210
- type: string;
211
- initialValue: any;
212
- attributes?: {
213
- name: string;
214
- type: string;
215
- }[];
216
- }[];
217
- };
218
- }
219
-
220
- interface ICreateDataSourceScalar extends ICreateDataSourceCommon {
221
- type: 'scalar';
222
- initialValue?: string | boolean | number | any[] | object | null;
223
- dataType: TJSType;
224
- from?: string;
225
- }
226
-
227
- interface ICreateDataSourceArray extends ICreateDataSourceCommon {
228
- id: string;
229
- type: 'scalar';
230
- initialValue: any[] | null;
231
- dataType: 'array';
232
- from?: string;
233
- }
234
- interface ICreateDataSourceObject extends ICreateDataSourceCommon {
235
- type: 'scalar';
236
- initialValue: object | null;
237
- dataType: 'object';
238
- from?: string;
239
- }
240
- interface ICreateDataSourceEntity extends ICreateDataSourceCommon {
241
- type: 'entity';
242
- initialValue: 'first' | 'empty' | '';
243
- dataclass: string;
244
- depth: number | null;
245
- from?: string;
246
- dataType?: string;
247
- }
248
- interface ICreateDataSourceEntitySelection extends ICreateDataSourceCommon {
249
- type: 'entitysel';
250
- initialValue: 'all' | '';
251
- from?: string;
252
- dataclass: string;
253
- depth: number | null;
254
- pageSize: number | null;
255
- dataType?: string;
256
- }
257
-
258
- interface IDSMethods {
259
- [key: string]: catalog.IMethod;
260
- }
261
-
262
- class DataSource {
263
- id: string;
264
- alias: string;
265
- type: TDatasourceType;
266
- namespace: string;
267
- stamp: number;
268
- frozenStamp: number;
269
- inited: boolean;
270
- beeingResolved: boolean;
271
- fromServerStorage: boolean;
272
- canBeUpdatedByParent: boolean;
273
- local: boolean;
274
- parentSource: this;
275
- dataType: TJSType;
276
- dataclass: datasources.DataClass;
277
- dataclassID: string;
278
- parendId: string;
279
- children: IDSChildren;
280
- initialValue: string | null;
281
- properyInParent?: string;
282
- filterAttributes?: AttributeFilter;
283
- filterAttributesText?: string;
284
-
285
- constructor(namespace: string, id: string, type: string);
286
- static spaces: {
287
- [namespace: string]: INameSpace;
288
- };
289
- static globalStamp: number;
290
- static anonymCount: number;
291
- static dataTypeMap: {
292
- bool: 'bool';
293
- string: 'string';
294
- text: 'string';
295
- uuid: 'string';
296
- short: 'number';
297
- long: 'number';
298
- number: 'number';
299
- long64: 'number';
300
- duration: 'number';
301
- object: 'object';
302
- date: 'date';
303
- };
304
- static removeSource(id: string, namespace?: string): void;
305
- static getOrBuildNameSpace(namespace?: string): INameSpace;
306
- static getNameSpace(namespace: string): INameSpace;
307
- static buildSource(
308
- sourcestr: string,
309
- initialValue: any,
310
- ds: DataStore,
311
- namespace: string,
312
- ): void;
313
- static create(
314
- settings: ICreateDataSource,
315
- ds: DataStore,
316
- namespace?: string,
317
- ): DataSource;
318
- static getSourceAttributes(
319
- id: string,
320
- options?: any,
321
- namespace?: string,
322
- ): IDataClassAttribute[];
323
- static buildCatalogDatasources(
324
- datastore: datasources.DataStore,
325
- namespace?: string,
326
- );
327
- isLocal(): boolean;
328
- setLocal(local: boolean): void;
329
- buildCallFuncURL(
330
- methodName: string,
331
- added: string,
332
- ): string | Promise<string>;
333
- buildEntitySettings(existingSettings?: any): any;
334
- buildSelectionSettings(existingSettings?: any): any;
335
- fireEvent(eventType: string, data?: any): void;
336
- addListener(eventType: string, callback: Function): void;
337
- removeListener(eventType: string, callback: Function): void;
338
- getValue<T = any>(property?: string | number, settings?: any): Promise<T>;
339
- findElementPosition(elementDataSource: DataSource): Promise<number>;
340
- getCollection<T extends IEntity = IEntity>(
341
- index: number,
342
- howmany: number,
343
- propertyStr: string,
344
- ): Promise<T[]>;
345
- orderBy(attrs: string, settings?: any): Promise<null>;
346
- query(queryStr: string, settings?: any): Promise<null>;
347
- getValueAsParam(property?: string, settings?: any): Promise<null>;
348
- getDataType(): null;
349
- setValue<T = any>(
350
- property: string | null,
351
- value: T,
352
- doFireEvent?: boolean,
353
- ): Promise<void>;
354
- setValueFromMethodResult(resp: any, doFireEvent?: boolean): Promise<void>;
355
- clone(): null;
356
- refresh(doFireEvent?: boolean): Promise<void>;
357
- recompute(fireEvent?: boolean): Promise<void>;
358
- recomputeChildren(doFireEvent?: boolean): Promise<void>;
359
- addAttributeFilter(child: this): void;
360
- static createRequestOptimization(ns?: string): void;
361
- formatValue(value: any): typeof value;
362
- getStamp(): number;
363
- getPageSize(): number;
364
- touch(): void;
365
- getParentSource(): this;
366
- getDataClass(): DataClass;
367
- getProperyInParent(): string;
368
- freezeStamp(withChildren: boolean): void;
369
- modifiedSinceLastFreeze(): boolean;
370
- dumpTree(curtext: string, level: number): string;
371
- init(): void;
372
- filterAttributesText?: string;
373
- callAction?(action: string, meta?: any): void;
374
- getMethods(): IDSMethods;
375
- copyValueInto(source: any, fireEvent?: boolean): Promise<void>;
376
- static getSource(id: string, namespace?: string): DataSource | undefined;
377
- static getSource(id: string, namespace?: string): DataSource | undefined;
378
- static getSourceOrBuild(
379
- id: string | null,
380
- initialValue: any,
381
- ds: DataStore,
382
- namespace?: string,
383
- ): DataSource;
384
- static AddAlias(id: string, datasource: DataSource, namespace?: string);
385
- static buildDependencies(namespace?: string): void;
386
- static computeInitialValues(namespace?: string): void;
387
- static refreshNamespace(namespace?: string): void;
388
- static getAllSources(namespace?: string): IDSChildren | {};
389
- }
390
- }
1
+ declare namespace datasources {
2
+ type TEventData =
3
+ import('@ws-ui/shared/hooks/use-events/interfaces').webforms.WEvent;
4
+ type TDatasourceType =
5
+ | 'auto'
6
+ | 'entity'
7
+ | 'entitysel'
8
+ | 'catalog'
9
+ | 'dataclass'
10
+ | 'scalar'
11
+ | 'array'
12
+ | 'object';
13
+ type TJSType = 'string' | 'number' | 'bool' | 'date' | 'object' | 'array';
14
+ type TDataType =
15
+ | 'array'
16
+ | 'bool'
17
+ | 'string'
18
+ | 'text'
19
+ | 'uuid'
20
+ | 'short'
21
+ | 'long'
22
+ | 'number'
23
+ | 'long64'
24
+ | 'duration'
25
+ | 'object'
26
+ | 'date'
27
+ | 'image';
28
+ interface IEnhancedCatalog extends ICatalog {
29
+ dataClasses: IDataClasses;
30
+ dataClassByCollectionName: IDataClasses;
31
+ singletons: ISingletons;
32
+ }
33
+ interface ICollection<T extends IEntity = IEntity> {
34
+ __COUNT: number;
35
+ __DATACLASS: string;
36
+ __FIRST: number;
37
+ __GlobalStamp: number;
38
+ __SENT: string;
39
+ __entityModel: string;
40
+ __ENTITIES: T[];
41
+ __ENTITYSET?: string;
42
+ __MAXENTITIES?: number;
43
+ __queryPlan?: any;
44
+ __extendedQueryPlan?: any;
45
+ __extendedQueryPath?: any;
46
+ }
47
+
48
+ interface IBaseAttribute {
49
+ name: string;
50
+ kind: AttributeKind;
51
+ scope: Scope;
52
+ exposed?: boolean;
53
+ readOnly?: boolean;
54
+ }
55
+ interface ISimpleAttribute extends IBaseAttribute {
56
+ type: AttributeType;
57
+ indexed?: boolean;
58
+ identifying?: boolean;
59
+ simpleDate?: boolean;
60
+ }
61
+
62
+ interface IRelatedEntitiesAttribute extends IBaseAttribute {
63
+ kind: 'relatedEntities';
64
+ path: string;
65
+ type: AttributeType | string;
66
+ inverseName: string;
67
+ reversePath: boolean;
68
+ }
69
+
70
+ interface IRelatedEntityAttribute extends IBaseAttribute {
71
+ kind: 'relatedEntity';
72
+ type: AttributeType | string;
73
+ path: string;
74
+ foreignKey: string;
75
+ inverseName: string;
76
+ }
77
+
78
+ interface ICalculatedAttribute extends IBaseAttribute {
79
+ kind: 'calculated';
80
+ type: AttributeType | string;
81
+ foreignKey?: string;
82
+ inverseName?: string;
83
+ reversePath?: boolean;
84
+ path?: string;
85
+ behavior?: 'relatedEntities' | 'relatedEntity';
86
+ }
87
+
88
+ interface IAliasAttribute extends IBaseAttribute {
89
+ behavior?: 'relatedEntities' | 'relatedEntity';
90
+ type: AttributeType | string;
91
+ foreignKey?: string;
92
+ inverseName?: string;
93
+ reversePath?: boolean;
94
+ path?: string;
95
+ kind: 'alias';
96
+ }
97
+
98
+ type IAttribute = {
99
+ name: string;
100
+ type: string;
101
+ kind: EAttributeKind;
102
+ scope: AttributeScope;
103
+ uuid?: string;
104
+ } & Partial<{
105
+ indexKind: TIndexType;
106
+ autogenerate: boolean;
107
+ unique: boolean;
108
+ primKey: boolean;
109
+ exposed: boolean;
110
+ behavior: string;
111
+ autosequence: boolean;
112
+ reversePath: boolean;
113
+ not_null: boolean;
114
+ minValue: number;
115
+ maxValue: number;
116
+ simpleDate: boolean;
117
+ defaultValue: any;
118
+ events: any[];
119
+ path: string;
120
+ extraProperties: IAttributeProperties;
121
+ styled_text: boolean;
122
+ }>;
123
+
124
+ interface IRelatedAttribute extends IBaseAttribute {
125
+ type?: AttributeType | string;
126
+ behavior: 'relatedEntities' | 'relatedEntity';
127
+ foreignKey?: string;
128
+ inverseName?: string;
129
+ path?: string;
130
+ reversePath?: boolean;
131
+ }
132
+ interface IEntity {
133
+ __KEY?: string;
134
+ __TIMESTAMP?: Date;
135
+ __STAMP?: number;
136
+ }
137
+
138
+ type TSingletonMethod = Partial<catalog.IMethod>;
139
+
140
+ interface ISingletonClass {
141
+ name: string;
142
+ methods: ISingletonMethod[];
143
+ }
144
+ interface ICatalog {
145
+ __UNIQID: string;
146
+ __BASEID: string;
147
+ methods: catalog.IMethod[];
148
+ dataClasses: IDetailedDataClass[];
149
+ singletons?: ISingletonClass[];
150
+ }
151
+
152
+ interface IDataClass {
153
+ name: string;
154
+ uri: string;
155
+ dataURI: string;
156
+ }
157
+ interface IDetailedDataClass extends IDataClass {
158
+ className: string;
159
+ collectionName: string;
160
+ tableNumber: number;
161
+ scope: Scope;
162
+ attributes?: IAttribute[];
163
+ key: IDataClassKey[];
164
+ methods: catalog.IMethod[];
165
+ exposed?: boolean;
166
+ extraProperties?: IAttributeProperties;
167
+ virtual?: boolean;
168
+ uuid?: string;
169
+ }
170
+
171
+ type IDataClasses = { [key: string]: IDetailedDataClass };
172
+
173
+ type ISingletons = { [key: string]: ISingletonClass };
174
+
175
+ class AttributeFilter {
176
+ addAttribute(attname: string, subfilter?: any): void;
177
+ mergeWith(mergeWith: { filter: any }): void;
178
+ addFilterText(filterText: string, newprop: string): string;
179
+ buildString(curpath: string): string;
180
+ }
181
+
182
+ interface IDSChildren {
183
+ [datasourceName: string]: DataSource;
184
+ }
185
+
186
+ interface INameSpace {
187
+ sources: IDSChildren;
188
+ root: DataSource;
189
+ }
190
+
191
+ type ICreateDataSource =
192
+ | ICreateDataSourceScalar
193
+ | ICreateDataSourceArray
194
+ | ICreateDataSourceObject
195
+ | ICreateDataSourceEntity
196
+ | ICreateDataSourceEntitySelection;
197
+ type IEntityDatasource =
198
+ | datasources.ICreateDataSourceEntity
199
+ | datasources.ICreateDataSourceEntitySelection;
200
+
201
+ interface ICreateDataSourceCommon {
202
+ id: string;
203
+ initialValue: any;
204
+ events?: webforms.WEvent[];
205
+ namespace: string;
206
+ schema?: {
207
+ type: string;
208
+ properties: {
209
+ name: string;
210
+ type: string;
211
+ initialValue: any;
212
+ attributes?: {
213
+ name: string;
214
+ type: string;
215
+ }[];
216
+ }[];
217
+ };
218
+ }
219
+
220
+ interface ICreateDataSourceScalar extends ICreateDataSourceCommon {
221
+ type: 'scalar';
222
+ initialValue?: string | boolean | number | any[] | object | null;
223
+ dataType: TJSType;
224
+ from?: string;
225
+ }
226
+
227
+ interface ICreateDataSourceArray extends ICreateDataSourceCommon {
228
+ id: string;
229
+ type: 'scalar';
230
+ initialValue: any[] | null;
231
+ dataType: 'array';
232
+ from?: string;
233
+ }
234
+ interface ICreateDataSourceObject extends ICreateDataSourceCommon {
235
+ type: 'scalar';
236
+ initialValue: object | null;
237
+ dataType: 'object';
238
+ from?: string;
239
+ }
240
+ interface ICreateDataSourceEntity extends ICreateDataSourceCommon {
241
+ type: 'entity';
242
+ initialValue: 'first' | 'empty' | '';
243
+ dataclass: string;
244
+ depth: number | null;
245
+ from?: string;
246
+ dataType?: string;
247
+ }
248
+ interface ICreateDataSourceEntitySelection extends ICreateDataSourceCommon {
249
+ type: 'entitysel';
250
+ initialValue: 'all' | '';
251
+ from?: string;
252
+ dataclass: string;
253
+ depth: number | null;
254
+ pageSize: number | null;
255
+ dataType?: string;
256
+ }
257
+
258
+ interface IDSMethods {
259
+ [key: string]: catalog.IMethod;
260
+ }
261
+
262
+ class DataSource {
263
+ id: string;
264
+ alias: string;
265
+ type: TDatasourceType;
266
+ namespace: string;
267
+ stamp: number;
268
+ frozenStamp: number;
269
+ inited: boolean;
270
+ beeingResolved: boolean;
271
+ fromServerStorage: boolean;
272
+ canBeUpdatedByParent: boolean;
273
+ local: boolean;
274
+ parentSource: this;
275
+ dataType: TJSType;
276
+ dataclass: datasources.DataClass;
277
+ dataclassID: string;
278
+ parendId: string;
279
+ children: IDSChildren;
280
+ initialValue: string | null;
281
+ properyInParent?: string;
282
+ filterAttributes?: AttributeFilter;
283
+ filterAttributesText?: string;
284
+
285
+ constructor(namespace: string, id: string, type: string);
286
+ static spaces: {
287
+ [namespace: string]: INameSpace;
288
+ };
289
+ static globalStamp: number;
290
+ static anonymCount: number;
291
+ static dataTypeMap: {
292
+ bool: 'bool';
293
+ string: 'string';
294
+ text: 'string';
295
+ uuid: 'string';
296
+ short: 'number';
297
+ long: 'number';
298
+ number: 'number';
299
+ long64: 'number';
300
+ duration: 'number';
301
+ object: 'object';
302
+ date: 'date';
303
+ };
304
+ static removeSource(id: string, namespace?: string): void;
305
+ static getOrBuildNameSpace(namespace?: string): INameSpace;
306
+ static getNameSpace(namespace: string): INameSpace;
307
+ static buildSource(
308
+ sourcestr: string,
309
+ initialValue: any,
310
+ ds: DataStore,
311
+ namespace: string,
312
+ ): void;
313
+ static create(
314
+ settings: ICreateDataSource,
315
+ ds: DataStore,
316
+ namespace?: string,
317
+ ): DataSource;
318
+ static getSourceAttributes(
319
+ id: string,
320
+ options?: any,
321
+ namespace?: string,
322
+ ): IDataClassAttribute[];
323
+ static buildCatalogDatasources(
324
+ datastore: datasources.DataStore,
325
+ namespace?: string,
326
+ );
327
+ isLocal(): boolean;
328
+ setLocal(local: boolean): void;
329
+ buildCallFuncURL(
330
+ methodName: string,
331
+ added: string,
332
+ ): string | Promise<string>;
333
+ buildEntitySettings(existingSettings?: any): any;
334
+ buildSelectionSettings(existingSettings?: any): any;
335
+ fireEvent(eventType: string, data?: any): void;
336
+ addListener(eventType: string, callback: Function): void;
337
+ removeListener(eventType: string, callback: Function): void;
338
+ getValue<T = any>(property?: string | number, settings?: any): Promise<T>;
339
+ findElementPosition(elementDataSource: DataSource): Promise<number>;
340
+ getCollection<T extends IEntity = IEntity>(
341
+ index: number,
342
+ howmany: number,
343
+ propertyStr: string,
344
+ ): Promise<T[]>;
345
+ orderBy(attrs: string, settings?: any): Promise<null>;
346
+ query(queryStr: string, settings?: any): Promise<null>;
347
+ getValueAsParam(property?: string, settings?: any): Promise<null>;
348
+ getDataType(): null;
349
+ setValue<T = any>(
350
+ property: string | null,
351
+ value: T,
352
+ doFireEvent?: boolean,
353
+ ): Promise<void>;
354
+ setValueFromMethodResult(resp: any, doFireEvent?: boolean): Promise<void>;
355
+ clone(): null;
356
+ refresh(doFireEvent?: boolean): Promise<void>;
357
+ recompute(fireEvent?: boolean): Promise<void>;
358
+ recomputeChildren(doFireEvent?: boolean): Promise<void>;
359
+ addAttributeFilter(child: this): void;
360
+ static createRequestOptimization(ns?: string): void;
361
+ formatValue(value: any): typeof value;
362
+ getStamp(): number;
363
+ getPageSize(): number;
364
+ touch(): void;
365
+ getParentSource(): this;
366
+ getDataClass(): DataClass;
367
+ getProperyInParent(): string;
368
+ freezeStamp(withChildren: boolean): void;
369
+ modifiedSinceLastFreeze(): boolean;
370
+ dumpTree(curtext: string, level: number): string;
371
+ init(): void;
372
+ filterAttributesText?: string;
373
+ callAction?(action: string, meta?: any): void;
374
+ getMethods(): IDSMethods;
375
+ copyValueInto(source: any, fireEvent?: boolean): Promise<void>;
376
+ static getSource(id: string, namespace?: string): DataSource | undefined;
377
+ static getSource(id: string, namespace?: string): DataSource | undefined;
378
+ static getSourceOrBuild(
379
+ id: string | null,
380
+ initialValue: any,
381
+ ds: DataStore,
382
+ namespace?: string,
383
+ ): DataSource;
384
+ static AddAlias(id: string, datasource: DataSource, namespace?: string);
385
+ static buildDependencies(namespace?: string): void;
386
+ static computeInitialValues(namespace?: string): void;
387
+ static refreshNamespace(namespace?: string): void;
388
+ static getAllSources(namespace?: string): IDSChildren | {};
389
+ }
390
+ }