@genesislcap/foundation-forms 14.408.0 → 14.409.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/README.md +6 -818
- package/dist/custom-elements.json +226 -226
- package/package.json +15 -15
- package/docs/api/foundation-forms.arrayrendereroptions.md +0 -23
- package/docs/api/foundation-forms.bulkrowstatus.md +0 -22
- package/docs/api/foundation-forms.bulkrowsubmitstatus.md +0 -13
- package/docs/api/foundation-forms.bulksubmitfaileditem.md +0 -20
- package/docs/api/foundation-forms.bulksubmitresult.md +0 -18
- package/docs/api/foundation-forms.bulksubmitsuccessitem.md +0 -17
- package/docs/api/foundation-forms.categorizationrendereroptions.md +0 -17
- package/docs/api/foundation-forms.childuischemaresolver.md +0 -15
- package/docs/api/foundation-forms.connectedrenderersoptions.md +0 -23
- package/docs/api/foundation-forms.csvmappingresult.mappedrows.md +0 -13
- package/docs/api/foundation-forms.csvmappingresult.md +0 -77
- package/docs/api/foundation-forms.csvmappingresult.unmappedcolumns.md +0 -13
- package/docs/api/foundation-forms.csvparseresult.errors.md +0 -13
- package/docs/api/foundation-forms.csvparseresult.headers.md +0 -13
- package/docs/api/foundation-forms.csvparseresult.md +0 -96
- package/docs/api/foundation-forms.csvparseresult.rows.md +0 -13
- package/docs/api/foundation-forms.downloadcsvtemplate.md +0 -74
- package/docs/api/foundation-forms.filters.allsavedfilters.md +0 -11
- package/docs/api/foundation-forms.filters.connectedcallback.md +0 -15
- package/docs/api/foundation-forms.filters.data.md +0 -13
- package/docs/api/foundation-forms.filters.deletefilter.md +0 -15
- package/docs/api/foundation-forms.filters.filtername.md +0 -11
- package/docs/api/foundation-forms.filters.filternamechanged.md +0 -64
- package/docs/api/foundation-forms.filters.jsonschema.md +0 -18
- package/docs/api/foundation-forms.filters.kvstorage.md +0 -11
- package/docs/api/foundation-forms.filters.loadallsavedfilters.md +0 -15
- package/docs/api/foundation-forms.filters.loadfilterdata.md +0 -50
- package/docs/api/foundation-forms.filters.md +0 -335
- package/docs/api/foundation-forms.filters.prefix.md +0 -13
- package/docs/api/foundation-forms.filters.renderers.md +0 -13
- package/docs/api/foundation-forms.filters.resourcename.md +0 -13
- package/docs/api/foundation-forms.filters.savefilter.md +0 -15
- package/docs/api/foundation-forms.filters.showfilterpersistencecontrols.md +0 -13
- package/docs/api/foundation-forms.filters.uischema.md +0 -50
- package/docs/api/foundation-forms.filters.value.md +0 -13
- package/docs/api/foundation-forms.filtersrenderers.md +0 -13
- package/docs/api/foundation-forms.form.additionalrenderers.md +0 -13
- package/docs/api/foundation-forms.form.approvalmessagelabel.md +0 -13
- package/docs/api/foundation-forms.form.bulkinsert.md +0 -13
- package/docs/api/foundation-forms.form.bulkinsertmaxitems.md +0 -13
- package/docs/api/foundation-forms.form.bulkinsertminitems.md +0 -13
- package/docs/api/foundation-forms.form.clearrowsubmitstatuses.md +0 -17
- package/docs/api/foundation-forms.form.confirmationmessage.md +0 -13
- package/docs/api/foundation-forms.form.data.md +0 -13
- package/docs/api/foundation-forms.form.downloadcsvtemplate.md +0 -17
- package/docs/api/foundation-forms.form.handlecsvfileselected.md +0 -54
- package/docs/api/foundation-forms.form.hidesubmit.md +0 -13
- package/docs/api/foundation-forms.form.jsonschema.md +0 -18
- package/docs/api/foundation-forms.form.md +0 -434
- package/docs/api/foundation-forms.form.prefix.md +0 -13
- package/docs/api/foundation-forms.form.readonly.md +0 -13
- package/docs/api/foundation-forms.form.renderers.md +0 -13
- package/docs/api/foundation-forms.form.reset.md +0 -54
- package/docs/api/foundation-forms.form.resourcename.md +0 -13
- package/docs/api/foundation-forms.form.rowsubmitstatuses.md +0 -13
- package/docs/api/foundation-forms.form.setapprovalmessage.md +0 -13
- package/docs/api/foundation-forms.form.submitsinglerow.md +0 -56
- package/docs/api/foundation-forms.form.uischema.md +0 -50
- package/docs/api/foundation-forms.generatecsvtemplate.md +0 -104
- package/docs/api/foundation-forms.getanyoferrormessage.md +0 -96
- package/docs/api/foundation-forms.grouprendereroptions.md +0 -15
- package/docs/api/foundation-forms.labelplacementoptions.md +0 -17
- package/docs/api/foundation-forms.labelplacementtype.md +0 -13
- package/docs/api/foundation-forms.mapcsvtoschema.md +0 -88
- package/docs/api/foundation-forms.md +0 -516
- package/docs/api/foundation-forms.multicolumndropdowncontrolrendererentry.md +0 -15
- package/docs/api/foundation-forms.multicolumndropdowncontrolrenderertemplate.md +0 -82
- package/docs/api/foundation-forms.multicolumndropdownrendereroptions.md +0 -25
- package/docs/api/foundation-forms.mustmatch.md +0 -62
- package/docs/api/foundation-forms.numberrendereroptions.md +0 -17
- package/docs/api/foundation-forms.parsecsv.md +0 -56
- package/docs/api/foundation-forms.rendererentry.md +0 -30
- package/docs/api/foundation-forms.renderers.md +0 -13
- package/docs/api/foundation-forms.standardrendereroptions.md +0 -22
- package/docs/api/foundation-forms.stepperorientationoptions.md +0 -17
- package/docs/api/foundation-forms.stepperorientationtype.md +0 -13
- package/docs/api/foundation-forms.stepperrendereroptions.md +0 -15
- package/docs/api/foundation-forms.stringrendereroptions.md +0 -17
- package/docs/api/foundation-forms.uischema.md +0 -19
- package/docs/api/foundation-forms.uischemaelement.md +0 -22
- package/docs/api/foundation-forms.uischemaelementoptions.md +0 -15
- package/docs/api/foundation-forms.uischemaelementtype.md +0 -13
- package/docs/api/foundation-forms.uischemaoptions.md +0 -15
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -440
|
@@ -1,440 +0,0 @@
|
|
|
1
|
-
## API Report File for "@genesislcap/foundation-forms"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { Controller } from '@microsoft/fast-element';
|
|
8
|
-
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
9
|
-
import { DOMContainer } from '@genesislcap/foundation-utils';
|
|
10
|
-
import { ElementStyles } from '@microsoft/fast-element';
|
|
11
|
-
import { ErrorObject } from 'ajv';
|
|
12
|
-
import { ErrorTranslator } from '@jsonforms/core';
|
|
13
|
-
import { Expression } from '@genesislcap/foundation-criteria';
|
|
14
|
-
import { FASTElement } from '@microsoft/fast-element';
|
|
15
|
-
import { FilterMode } from '@genesislcap/foundation-ui';
|
|
16
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
17
|
-
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
18
|
-
import { JsonFormsState } from '@jsonforms/core';
|
|
19
|
-
import { JSONSchema7 } from 'json-schema';
|
|
20
|
-
import { KVStorage } from '@genesislcap/foundation-comms';
|
|
21
|
-
import { Layout } from '@jsonforms/core';
|
|
22
|
-
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
23
|
-
import { Logger } from '@genesislcap/foundation-logger';
|
|
24
|
-
import { OwnPropsOfControl } from '@jsonforms/core';
|
|
25
|
-
import { RankedTester } from '@jsonforms/core';
|
|
26
|
-
import { RuleEffect } from '@jsonforms/core';
|
|
27
|
-
import { SchemaBasedCondition } from '@jsonforms/core';
|
|
28
|
-
import { StatePropsOfControl } from '@jsonforms/core';
|
|
29
|
-
import { UISchemaElement } from '@jsonforms/core';
|
|
30
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
|
31
|
-
|
|
32
|
-
// @public
|
|
33
|
-
export type ArrayRendererOptions = {
|
|
34
|
-
childUiSchema?: UiSchema | ChildUiSchemaResolver;
|
|
35
|
-
addLabel?: string;
|
|
36
|
-
deleteLabel?: string;
|
|
37
|
-
border?: boolean;
|
|
38
|
-
canDelete?: (item: any) => boolean;
|
|
39
|
-
canAdd?: boolean | ((array: any[]) => boolean);
|
|
40
|
-
gridView?: boolean;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
// @public
|
|
44
|
-
export type BulkRowStatus = {
|
|
45
|
-
status: BulkRowSubmitStatus;
|
|
46
|
-
errors?: Array<{
|
|
47
|
-
CODE: string;
|
|
48
|
-
TEXT: string;
|
|
49
|
-
}>;
|
|
50
|
-
response?: any;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
// @public
|
|
54
|
-
export type BulkRowSubmitStatus = 'pending' | 'submitting' | 'success' | 'failed';
|
|
55
|
-
|
|
56
|
-
// @public
|
|
57
|
-
export type BulkSubmitFailedItem = {
|
|
58
|
-
item: any;
|
|
59
|
-
index: number;
|
|
60
|
-
errors: Array<{
|
|
61
|
-
CODE: string;
|
|
62
|
-
TEXT: string;
|
|
63
|
-
}>;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
// @public
|
|
67
|
-
export type BulkSubmitResult = {
|
|
68
|
-
successful: BulkSubmitSuccessItem[];
|
|
69
|
-
failed: BulkSubmitFailedItem[];
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
// @public
|
|
73
|
-
export type BulkSubmitSuccessItem = {
|
|
74
|
-
item: any;
|
|
75
|
-
index: number;
|
|
76
|
-
response: any;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
// @public
|
|
80
|
-
export type CategorizationRendererOptions = {
|
|
81
|
-
childElements?: UiSchema[];
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
// @public
|
|
85
|
-
export type ChildUiSchemaResolver = (index: number, rowData: any, formData: any) => UiSchema;
|
|
86
|
-
|
|
87
|
-
// Warning: (ae-internal-missing-underscore) The name "comboboxRendererStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
88
|
-
//
|
|
89
|
-
// @internal (undocumented)
|
|
90
|
-
export const comboboxRendererStyles: (prefix?: string) => string;
|
|
91
|
-
|
|
92
|
-
// Warning: (ae-internal-missing-underscore) The name "CommitPayload" should be prefixed with an underscore because the declaration is marked as @internal
|
|
93
|
-
//
|
|
94
|
-
// @internal
|
|
95
|
-
export type CommitPayload = {
|
|
96
|
-
DETAILS: any;
|
|
97
|
-
APPROVAL_MESSAGE?: string;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
// @public
|
|
101
|
-
export type ConnectedRenderersOptions = {
|
|
102
|
-
async?: boolean;
|
|
103
|
-
allOptionsResourceName?: string;
|
|
104
|
-
datasourceConfig?: DatasourceOptions;
|
|
105
|
-
valueField?: string;
|
|
106
|
-
labelField?: string;
|
|
107
|
-
data?: any[];
|
|
108
|
-
allowCustomOptions?: boolean;
|
|
109
|
-
filterMode?: FilterMode;
|
|
110
|
-
labelRowFormatter?: (any: any) => string;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
// Warning: (ae-forgotten-export) The symbol "Expressions" needs to be exported by the entry point index.d.ts
|
|
114
|
-
// Warning: (ae-internal-missing-underscore) The name "createExpressions" should be prefixed with an underscore because the declaration is marked as @internal
|
|
115
|
-
//
|
|
116
|
-
// @internal
|
|
117
|
-
export const createExpressions: (payload: any) => Expressions;
|
|
118
|
-
|
|
119
|
-
// @public
|
|
120
|
-
export interface CsvMappingResult {
|
|
121
|
-
mappedRows: Record<string, any>[];
|
|
122
|
-
unmappedColumns: string[];
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// @public
|
|
126
|
-
export interface CsvParseResult {
|
|
127
|
-
errors: string[];
|
|
128
|
-
headers: string[];
|
|
129
|
-
rows: Record<string, string>[];
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// @public
|
|
133
|
-
export function downloadCsvTemplate(csvContent: string, fileName?: string): void;
|
|
134
|
-
|
|
135
|
-
// Warning: (ae-internal-missing-underscore) The name "extractFieldsFromUiSchema" should be prefixed with an underscore because the declaration is marked as @internal
|
|
136
|
-
//
|
|
137
|
-
// @internal
|
|
138
|
-
export function extractFieldsFromUiSchema(uiSchema: UiSchema): Array<{
|
|
139
|
-
fieldName: string;
|
|
140
|
-
label?: string;
|
|
141
|
-
isHidden: boolean;
|
|
142
|
-
}>;
|
|
143
|
-
|
|
144
|
-
// Warning: (ae-forgotten-export) The symbol "Filters_base" needs to be exported by the entry point index.d.ts
|
|
145
|
-
//
|
|
146
|
-
// @public
|
|
147
|
-
export class Filters extends Filters_base {
|
|
148
|
-
// (undocumented)
|
|
149
|
-
allSavedFilters: any[];
|
|
150
|
-
// @internal (undocumented)
|
|
151
|
-
clearFiltersData(): void;
|
|
152
|
-
// (undocumented)
|
|
153
|
-
connectedCallback(): Promise<void>;
|
|
154
|
-
data: any;
|
|
155
|
-
// @internal (undocumented)
|
|
156
|
-
deepClone(): Node;
|
|
157
|
-
// (undocumented)
|
|
158
|
-
deleteFilter(): Promise<void>;
|
|
159
|
-
// (undocumented)
|
|
160
|
-
filterName: string;
|
|
161
|
-
// (undocumented)
|
|
162
|
-
filterNameChanged(oldValue: string, newValue: string): void;
|
|
163
|
-
jsonSchema: JSONSchema7;
|
|
164
|
-
// (undocumented)
|
|
165
|
-
kvStorage: KVStorage;
|
|
166
|
-
// (undocumented)
|
|
167
|
-
loadAllSavedFilters(): Promise<void>;
|
|
168
|
-
// (undocumented)
|
|
169
|
-
loadFilterData(filterKey: string): Promise<void>;
|
|
170
|
-
// @internal (undocumented)
|
|
171
|
-
onChange(event: CustomEvent): void;
|
|
172
|
-
prefix: string;
|
|
173
|
-
renderers: RendererEntry[];
|
|
174
|
-
resourceName: string;
|
|
175
|
-
// (undocumented)
|
|
176
|
-
saveFilter(): Promise<void>;
|
|
177
|
-
// @internal (undocumented)
|
|
178
|
-
searchFilters(): Promise<void>;
|
|
179
|
-
showFilterPersistenceControls: boolean;
|
|
180
|
-
uischema: UiSchema;
|
|
181
|
-
value: string;
|
|
182
|
-
// @internal (undocumented)
|
|
183
|
-
valueChanged(): void;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
// Warning: (ae-internal-missing-underscore) The name "filtersLogger" should be prefixed with an underscore because the declaration is marked as @internal
|
|
187
|
-
//
|
|
188
|
-
// @internal (undocumented)
|
|
189
|
-
export const filtersLogger: Logger;
|
|
190
|
-
|
|
191
|
-
// @public
|
|
192
|
-
export const filtersRenderers: any[];
|
|
193
|
-
|
|
194
|
-
// Warning: (ae-forgotten-export) The symbol "Form_base" needs to be exported by the entry point index.d.ts
|
|
195
|
-
//
|
|
196
|
-
// @public
|
|
197
|
-
export class Form extends Form_base {
|
|
198
|
-
additionalRenderers: RendererEntry[];
|
|
199
|
-
// @internal (undocumented)
|
|
200
|
-
additionalRenderersChanged(): void;
|
|
201
|
-
// @internal
|
|
202
|
-
approvalMessage: string;
|
|
203
|
-
approvalMessageLabel: string;
|
|
204
|
-
// @internal
|
|
205
|
-
approvalModal: any;
|
|
206
|
-
bulkInsert: boolean;
|
|
207
|
-
bulkInsertMaxItems: number | undefined;
|
|
208
|
-
bulkInsertMinItems: number;
|
|
209
|
-
clearRowSubmitStatuses(): void;
|
|
210
|
-
// @internal
|
|
211
|
-
closeApprovalModal(): void;
|
|
212
|
-
confirmationMessage: string;
|
|
213
|
-
// @internal
|
|
214
|
-
csvFileInput: HTMLInputElement;
|
|
215
|
-
data: any;
|
|
216
|
-
// @internal (undocumented)
|
|
217
|
-
deepClone(): Node;
|
|
218
|
-
// @internal (undocumented)
|
|
219
|
-
disconnectedCallback(): void;
|
|
220
|
-
downloadCsvTemplate(): void;
|
|
221
|
-
handleCsvFileSelected(event: Event): Promise<void>;
|
|
222
|
-
hideSubmit: boolean;
|
|
223
|
-
// @internal
|
|
224
|
-
get isSubmitHidden(): boolean;
|
|
225
|
-
jsonSchema: JSONSchema7;
|
|
226
|
-
// @internal
|
|
227
|
-
mergedRenderers: RendererEntry[];
|
|
228
|
-
// @internal (undocumented)
|
|
229
|
-
onChange(event: CustomEvent): void;
|
|
230
|
-
prefix: string;
|
|
231
|
-
readonly: boolean;
|
|
232
|
-
renderers: RendererEntry[];
|
|
233
|
-
// @internal (undocumented)
|
|
234
|
-
renderersChanged(): void;
|
|
235
|
-
reset(clearData?: boolean): void;
|
|
236
|
-
resourceName: string;
|
|
237
|
-
rowSubmitStatuses: Map<number, BulkRowStatus>;
|
|
238
|
-
setApprovalMessage: boolean;
|
|
239
|
-
// @internal (undocumented)
|
|
240
|
-
_submit(): Promise<void>;
|
|
241
|
-
// @internal (undocumented)
|
|
242
|
-
submitPart(event: CustomEvent): void;
|
|
243
|
-
submitSingleRow(index: number): Promise<void>;
|
|
244
|
-
// @internal (undocumented)
|
|
245
|
-
submitted: boolean;
|
|
246
|
-
// @internal (undocumented)
|
|
247
|
-
submitting: boolean;
|
|
248
|
-
// @internal
|
|
249
|
-
submitWithApproval(): Promise<void>;
|
|
250
|
-
uischema: UiSchema;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// Warning: (ae-internal-missing-underscore) The name "foundationFormStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
254
|
-
//
|
|
255
|
-
// @internal (undocumented)
|
|
256
|
-
export const foundationFormStyles: ElementStyles;
|
|
257
|
-
|
|
258
|
-
// Warning: (ae-internal-missing-underscore) The name "foundationFormTemplate" should be prefixed with an underscore because the declaration is marked as @internal
|
|
259
|
-
//
|
|
260
|
-
// @internal (undocumented)
|
|
261
|
-
export const foundationFormTemplate: ViewTemplate<Form, any>;
|
|
262
|
-
|
|
263
|
-
// @public
|
|
264
|
-
export function generateCsvTemplate(schema: JSONSchema7 | undefined, uiSchema?: UiSchema, includeOptionalFields?: boolean, includeBom?: boolean): string;
|
|
265
|
-
|
|
266
|
-
// Warning: (ae-internal-missing-underscore) The name "genesisErrorTranslator" should be prefixed with an underscore because the declaration is marked as @internal
|
|
267
|
-
//
|
|
268
|
-
// @internal (undocumented)
|
|
269
|
-
export const genesisErrorTranslator: ErrorTranslator;
|
|
270
|
-
|
|
271
|
-
// Warning: (ae-internal-missing-underscore) The name "GenesisType" should be prefixed with an underscore because the declaration is marked as @internal
|
|
272
|
-
//
|
|
273
|
-
// @internal
|
|
274
|
-
export enum GenesisType {
|
|
275
|
-
// (undocumented)
|
|
276
|
-
BIGDECIMAL = "BIGDECIMAL",
|
|
277
|
-
// (undocumented)
|
|
278
|
-
BOOLEAN = "BOOLEAN",
|
|
279
|
-
// (undocumented)
|
|
280
|
-
DATE = "DATE",
|
|
281
|
-
// (undocumented)
|
|
282
|
-
DATETIME = "DATETIME",
|
|
283
|
-
// (undocumented)
|
|
284
|
-
DOUBLE = "DOUBLE",
|
|
285
|
-
// (undocumented)
|
|
286
|
-
ENUM = "ENUM",
|
|
287
|
-
// (undocumented)
|
|
288
|
-
INT = "INT",
|
|
289
|
-
// (undocumented)
|
|
290
|
-
LONG = "LONG",
|
|
291
|
-
// (undocumented)
|
|
292
|
-
RAW = "RAW",
|
|
293
|
-
// (undocumented)
|
|
294
|
-
SHORT = "SHORT",
|
|
295
|
-
// (undocumented)
|
|
296
|
-
STRING = "STRING"
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// @public
|
|
300
|
-
export const getAnyOfErrorMessage: (errors: Array<any> | undefined, schema: any, controlPath: string | undefined, uiCustomMsg?: string) => string;
|
|
301
|
-
|
|
302
|
-
// Warning: (ae-internal-missing-underscore) The name "getPrefixedForm" should be prefixed with an underscore because the declaration is marked as @internal
|
|
303
|
-
//
|
|
304
|
-
// @internal (undocumented)
|
|
305
|
-
export const getPrefixedForm: (prefix: any) => ViewTemplate<Form, any>;
|
|
306
|
-
|
|
307
|
-
// @public
|
|
308
|
-
export type GroupRendererOptions = CategorizationRendererOptions;
|
|
309
|
-
|
|
310
|
-
// @public
|
|
311
|
-
export type LabelPlacementOptions = {
|
|
312
|
-
labelPlacement?: LabelPlacementType;
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
// @public
|
|
316
|
-
export type LabelPlacementType = 'top' | 'left';
|
|
317
|
-
|
|
318
|
-
export { Layout }
|
|
319
|
-
|
|
320
|
-
// Warning: (ae-internal-missing-underscore) The name "logger" should be prefixed with an underscore because the declaration is marked as @internal
|
|
321
|
-
//
|
|
322
|
-
// @internal (undocumented)
|
|
323
|
-
export const logger: Logger;
|
|
324
|
-
|
|
325
|
-
// @public
|
|
326
|
-
export function mapCsvToSchema(csvRows: Record<string, string>[], schema: JSONSchema7 | undefined, uiSchema?: UiSchema): CsvMappingResult;
|
|
327
|
-
|
|
328
|
-
// @beta (undocumented)
|
|
329
|
-
export const MulticolumnDropdownControlRendererEntry: any;
|
|
330
|
-
|
|
331
|
-
// Warning: (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
|
|
332
|
-
//
|
|
333
|
-
// @beta
|
|
334
|
-
export const MulticolumnDropdownControlRendererTemplate: (prefix?: string) => ViewTemplate<DispatchRenderer, any>;
|
|
335
|
-
|
|
336
|
-
// @public
|
|
337
|
-
export type MulticolumnDropdownRendererOptions = Pick<ConnectedRenderersOptions, 'allOptionsResourceName' | 'valueField' | 'labelField'> & {
|
|
338
|
-
searchKey?: string | string[];
|
|
339
|
-
columnDefinitions: Record<string, unknown>[];
|
|
340
|
-
request?: Record<string, unknown>;
|
|
341
|
-
baseCriteria?: string;
|
|
342
|
-
advancedSearchReq?: boolean;
|
|
343
|
-
dropdownPlacement?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
344
|
-
dropdownWidth?: number;
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
// @public
|
|
348
|
-
export const mustMatch: (target: string) => (data: any, path: any, label: any) => {
|
|
349
|
-
instancePath: string;
|
|
350
|
-
message: string;
|
|
351
|
-
schemaPath: string;
|
|
352
|
-
keyword: string;
|
|
353
|
-
params: {};
|
|
354
|
-
}[];
|
|
355
|
-
|
|
356
|
-
// @public
|
|
357
|
-
export type NumberRendererOptions = {
|
|
358
|
-
withoutFormatting?: boolean;
|
|
359
|
-
formatOptions?: Intl.NumberFormatOptions;
|
|
360
|
-
autocomplete?: string;
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
// @public
|
|
364
|
-
export function parseCsv(content: string): CsvParseResult;
|
|
365
|
-
|
|
366
|
-
// @public
|
|
367
|
-
export type RendererEntry = {
|
|
368
|
-
renderer: ViewTemplate<DispatchRenderer, any>;
|
|
369
|
-
tester: RankedTester;
|
|
370
|
-
mapper: (state: JsonFormsState, ownProps: OwnPropsOfControl) => StatePropsOfControl;
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
// @public
|
|
374
|
-
export const renderers: any[];
|
|
375
|
-
|
|
376
|
-
// @public
|
|
377
|
-
export type StandardRendererOptions = {
|
|
378
|
-
readonly?: boolean;
|
|
379
|
-
hidden?: boolean;
|
|
380
|
-
validateFn?: (data: any, path: string, label: string) => ErrorObject[];
|
|
381
|
-
i18n?: {
|
|
382
|
-
[key: string]: any;
|
|
383
|
-
};
|
|
384
|
-
tooltip?: string;
|
|
385
|
-
tabIndex?: number;
|
|
386
|
-
};
|
|
387
|
-
|
|
388
|
-
// @public
|
|
389
|
-
export type StepperOrientationOptions = {
|
|
390
|
-
orientation?: StepperOrientationType;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
// @public
|
|
394
|
-
export type StepperOrientationType = 'vertical' | 'horizontal';
|
|
395
|
-
|
|
396
|
-
// @public
|
|
397
|
-
export type StepperRendererOptions = CategorizationRendererOptions;
|
|
398
|
-
|
|
399
|
-
// @public
|
|
400
|
-
export type StringRendererOptions = {
|
|
401
|
-
isPassword?: boolean;
|
|
402
|
-
textarea?: boolean;
|
|
403
|
-
autocomplete?: string;
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
// @public
|
|
407
|
-
export type UiSchema = {
|
|
408
|
-
type: UiSchemaElementType;
|
|
409
|
-
elements: UiSchemaElement[];
|
|
410
|
-
options?: UiSchemaOptions;
|
|
411
|
-
};
|
|
412
|
-
|
|
413
|
-
export { UISchemaElement }
|
|
414
|
-
|
|
415
|
-
// @public
|
|
416
|
-
export type UiSchemaElement = {
|
|
417
|
-
type: UiSchemaElementType;
|
|
418
|
-
scope: string;
|
|
419
|
-
label?: string;
|
|
420
|
-
placeholder?: string;
|
|
421
|
-
options?: UiSchemaElementOptions;
|
|
422
|
-
rule?: Rule;
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
// @public
|
|
426
|
-
export type UiSchemaElementOptions = ConnectedRenderersOptions | NumberRendererOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
|
|
427
|
-
|
|
428
|
-
// @public
|
|
429
|
-
export type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'LayoutVertical2Columns' | 'FormGridLayout' | 'Categorization' | 'Group' | 'Stepper' | 'HorizontalLayout';
|
|
430
|
-
|
|
431
|
-
// @public
|
|
432
|
-
export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
|
|
433
|
-
|
|
434
|
-
// Warnings were encountered during analysis:
|
|
435
|
-
//
|
|
436
|
-
// src/types.ts:487:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
|
|
437
|
-
|
|
438
|
-
// (No @packageDocumentation comment for this package)
|
|
439
|
-
|
|
440
|
-
```
|