@genesislcap/foundation-forms 14.303.0 → 14.303.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/package.json +15 -15
- package/docs/api-report.md +0 -302
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-forms",
|
|
3
3
|
"description": "Genesis Foundation Forms",
|
|
4
|
-
"version": "14.303.
|
|
4
|
+
"version": "14.303.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -48,22 +48,22 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@genesislcap/foundation-testing": "14.303.
|
|
52
|
-
"@genesislcap/genx": "14.303.
|
|
53
|
-
"@genesislcap/rollup-builder": "14.303.
|
|
54
|
-
"@genesislcap/ts-builder": "14.303.
|
|
55
|
-
"@genesislcap/uvu-playwright-builder": "14.303.
|
|
56
|
-
"@genesislcap/vite-builder": "14.303.
|
|
57
|
-
"@genesislcap/webpack-builder": "14.303.
|
|
51
|
+
"@genesislcap/foundation-testing": "14.303.2",
|
|
52
|
+
"@genesislcap/genx": "14.303.2",
|
|
53
|
+
"@genesislcap/rollup-builder": "14.303.2",
|
|
54
|
+
"@genesislcap/ts-builder": "14.303.2",
|
|
55
|
+
"@genesislcap/uvu-playwright-builder": "14.303.2",
|
|
56
|
+
"@genesislcap/vite-builder": "14.303.2",
|
|
57
|
+
"@genesislcap/webpack-builder": "14.303.2",
|
|
58
58
|
"@types/json-schema": "^7.0.11"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@genesislcap/foundation-comms": "14.303.
|
|
62
|
-
"@genesislcap/foundation-criteria": "14.303.
|
|
63
|
-
"@genesislcap/foundation-logger": "14.303.
|
|
64
|
-
"@genesislcap/foundation-notifications": "14.303.
|
|
65
|
-
"@genesislcap/foundation-ui": "14.303.
|
|
66
|
-
"@genesislcap/foundation-utils": "14.303.
|
|
61
|
+
"@genesislcap/foundation-comms": "14.303.2",
|
|
62
|
+
"@genesislcap/foundation-criteria": "14.303.2",
|
|
63
|
+
"@genesislcap/foundation-logger": "14.303.2",
|
|
64
|
+
"@genesislcap/foundation-notifications": "14.303.2",
|
|
65
|
+
"@genesislcap/foundation-ui": "14.303.2",
|
|
66
|
+
"@genesislcap/foundation-utils": "14.303.2",
|
|
67
67
|
"@json-schema-tools/dereferencer": "^1.6.1",
|
|
68
68
|
"@jsonforms/core": "^3.2.1",
|
|
69
69
|
"@microsoft/fast-components": "2.30.6",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
86
|
"customElements": "dist/custom-elements.json",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "f556f123bafe956a7ba9328bb3f78f4d7d2495ba"
|
|
88
88
|
}
|
package/docs/api-report.md
DELETED
|
@@ -1,302 +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;
|
|
35
|
-
addLabel?: string;
|
|
36
|
-
deleteLabel?: string;
|
|
37
|
-
border?: boolean;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
// @public
|
|
41
|
-
export type CategorizationRendererOptions = {
|
|
42
|
-
childElements?: UiSchema[];
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
// Warning: (ae-internal-missing-underscore) The name "comboboxRendererStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
46
|
-
//
|
|
47
|
-
// @internal (undocumented)
|
|
48
|
-
export const comboboxRendererStyles: (prefix?: string) => string;
|
|
49
|
-
|
|
50
|
-
// @public
|
|
51
|
-
export type ConnectedRenderersOptions = {
|
|
52
|
-
async?: boolean;
|
|
53
|
-
allOptionsResourceName?: string;
|
|
54
|
-
datasourceConfig?: DatasourceOptions;
|
|
55
|
-
valueField?: string;
|
|
56
|
-
labelField?: string;
|
|
57
|
-
data?: any[];
|
|
58
|
-
allowCustomOptions?: boolean;
|
|
59
|
-
filterMode?: FilterMode;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
// Warning: (ae-forgotten-export) The symbol "Expressions" needs to be exported by the entry point index.d.ts
|
|
63
|
-
// Warning: (ae-internal-missing-underscore) The name "createExpressions" should be prefixed with an underscore because the declaration is marked as @internal
|
|
64
|
-
//
|
|
65
|
-
// @internal
|
|
66
|
-
export const createExpressions: (payload: any) => Expressions;
|
|
67
|
-
|
|
68
|
-
// @public
|
|
69
|
-
export class Filters extends FoundationElement {
|
|
70
|
-
// (undocumented)
|
|
71
|
-
allSavedFilters: any[];
|
|
72
|
-
// @internal (undocumented)
|
|
73
|
-
clearFiltersData(): void;
|
|
74
|
-
// (undocumented)
|
|
75
|
-
connectedCallback(): Promise<void>;
|
|
76
|
-
data: any;
|
|
77
|
-
// (undocumented)
|
|
78
|
-
deleteFilter(): Promise<void>;
|
|
79
|
-
// @internal (undocumented)
|
|
80
|
-
disconnectedCallback(): void;
|
|
81
|
-
// (undocumented)
|
|
82
|
-
filterName: string;
|
|
83
|
-
// (undocumented)
|
|
84
|
-
filterNameChanged(oldValue: string, newValue: string): void;
|
|
85
|
-
jsonSchema: JSONSchema7;
|
|
86
|
-
// (undocumented)
|
|
87
|
-
kvStorage: KVStorage;
|
|
88
|
-
// (undocumented)
|
|
89
|
-
loadAllSavedFilters(): Promise<void>;
|
|
90
|
-
// (undocumented)
|
|
91
|
-
loadFilterData(filterKey: string): Promise<void>;
|
|
92
|
-
// @internal (undocumented)
|
|
93
|
-
onChange(event: CustomEvent): void;
|
|
94
|
-
prefix: string;
|
|
95
|
-
renderers: RendererEntry[];
|
|
96
|
-
resourceName: string;
|
|
97
|
-
// (undocumented)
|
|
98
|
-
saveFilter(): Promise<void>;
|
|
99
|
-
// @internal (undocumented)
|
|
100
|
-
searchFilters(): Promise<void>;
|
|
101
|
-
showFilterPersistenceControls: boolean;
|
|
102
|
-
uischema: UiSchema;
|
|
103
|
-
value: string;
|
|
104
|
-
// @internal (undocumented)
|
|
105
|
-
valueChanged(): void;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Warning: (ae-internal-missing-underscore) The name "filtersLogger" should be prefixed with an underscore because the declaration is marked as @internal
|
|
109
|
-
//
|
|
110
|
-
// @internal (undocumented)
|
|
111
|
-
export const filtersLogger: Logger;
|
|
112
|
-
|
|
113
|
-
// @public
|
|
114
|
-
export const filtersRenderers: any[];
|
|
115
|
-
|
|
116
|
-
// Warning: (ae-forgotten-export) The symbol "Form_base" needs to be exported by the entry point index.d.ts
|
|
117
|
-
//
|
|
118
|
-
// @public
|
|
119
|
-
export class Form extends Form_base {
|
|
120
|
-
additionalRenderers: RendererEntry[];
|
|
121
|
-
// @internal (undocumented)
|
|
122
|
-
additionalRenderersChanged(): void;
|
|
123
|
-
data: any;
|
|
124
|
-
// @internal (undocumented)
|
|
125
|
-
deepClone(): Node;
|
|
126
|
-
// @internal (undocumented)
|
|
127
|
-
disconnectedCallback(): void;
|
|
128
|
-
hideSubmit: boolean;
|
|
129
|
-
// @internal
|
|
130
|
-
get isSubmitHidden(): boolean;
|
|
131
|
-
jsonSchema: JSONSchema7;
|
|
132
|
-
// @internal
|
|
133
|
-
mergedRenderers: RendererEntry[];
|
|
134
|
-
// @internal (undocumented)
|
|
135
|
-
onChange(event: CustomEvent): void;
|
|
136
|
-
prefix: string;
|
|
137
|
-
readonly: boolean;
|
|
138
|
-
renderers: RendererEntry[];
|
|
139
|
-
// @internal (undocumented)
|
|
140
|
-
renderersChanged(): void;
|
|
141
|
-
reset(clearData?: boolean): void;
|
|
142
|
-
resourceName: string;
|
|
143
|
-
// @internal (undocumented)
|
|
144
|
-
_submit(): Promise<void>;
|
|
145
|
-
// @internal (undocumented)
|
|
146
|
-
submitPart(event: CustomEvent): void;
|
|
147
|
-
// @internal (undocumented)
|
|
148
|
-
submitted: boolean;
|
|
149
|
-
// @internal (undocumented)
|
|
150
|
-
submitting: boolean;
|
|
151
|
-
uischema: UiSchema;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
// Warning: (ae-internal-missing-underscore) The name "foundationFormStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
155
|
-
//
|
|
156
|
-
// @internal (undocumented)
|
|
157
|
-
export const foundationFormStyles: ElementStyles;
|
|
158
|
-
|
|
159
|
-
// Warning: (ae-internal-missing-underscore) The name "foundationFormTemplate" should be prefixed with an underscore because the declaration is marked as @internal
|
|
160
|
-
//
|
|
161
|
-
// @internal (undocumented)
|
|
162
|
-
export const foundationFormTemplate: ViewTemplate<Form, any>;
|
|
163
|
-
|
|
164
|
-
// Warning: (ae-internal-missing-underscore) The name "genesisErrorTranslator" should be prefixed with an underscore because the declaration is marked as @internal
|
|
165
|
-
//
|
|
166
|
-
// @internal (undocumented)
|
|
167
|
-
export const genesisErrorTranslator: ErrorTranslator;
|
|
168
|
-
|
|
169
|
-
// Warning: (ae-internal-missing-underscore) The name "GenesisType" should be prefixed with an underscore because the declaration is marked as @internal
|
|
170
|
-
//
|
|
171
|
-
// @internal
|
|
172
|
-
export enum GenesisType {
|
|
173
|
-
// (undocumented)
|
|
174
|
-
BIGDECIMAL = "BIGDECIMAL",
|
|
175
|
-
// (undocumented)
|
|
176
|
-
BOOLEAN = "BOOLEAN",
|
|
177
|
-
// (undocumented)
|
|
178
|
-
DATE = "DATE",
|
|
179
|
-
// (undocumented)
|
|
180
|
-
DATETIME = "DATETIME",
|
|
181
|
-
// (undocumented)
|
|
182
|
-
DOUBLE = "DOUBLE",
|
|
183
|
-
// (undocumented)
|
|
184
|
-
ENUM = "ENUM",
|
|
185
|
-
// (undocumented)
|
|
186
|
-
INT = "INT",
|
|
187
|
-
// (undocumented)
|
|
188
|
-
LONG = "LONG",
|
|
189
|
-
// (undocumented)
|
|
190
|
-
RAW = "RAW",
|
|
191
|
-
// (undocumented)
|
|
192
|
-
SHORT = "SHORT",
|
|
193
|
-
// (undocumented)
|
|
194
|
-
STRING = "STRING"
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
// Warning: (ae-internal-missing-underscore) The name "getPrefixedForm" should be prefixed with an underscore because the declaration is marked as @internal
|
|
198
|
-
//
|
|
199
|
-
// @internal (undocumented)
|
|
200
|
-
export const getPrefixedForm: (prefix: any) => ViewTemplate<Form, any>;
|
|
201
|
-
|
|
202
|
-
// @public
|
|
203
|
-
export type GroupRendererOptions = CategorizationRendererOptions;
|
|
204
|
-
|
|
205
|
-
// @public
|
|
206
|
-
export type LabelPlacementOptions = {
|
|
207
|
-
labelPlacement?: LabelPlacementType;
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
// @public
|
|
211
|
-
export type LabelPlacementType = 'top' | 'left';
|
|
212
|
-
|
|
213
|
-
export { Layout }
|
|
214
|
-
|
|
215
|
-
// Warning: (ae-internal-missing-underscore) The name "logger" should be prefixed with an underscore because the declaration is marked as @internal
|
|
216
|
-
//
|
|
217
|
-
// @internal (undocumented)
|
|
218
|
-
export const logger: Logger;
|
|
219
|
-
|
|
220
|
-
// @public
|
|
221
|
-
export const mustMatch: (target: string) => (data: any, path: any, label: any) => {
|
|
222
|
-
instancePath: string;
|
|
223
|
-
message: string;
|
|
224
|
-
schemaPath: string;
|
|
225
|
-
keyword: string;
|
|
226
|
-
params: {};
|
|
227
|
-
}[];
|
|
228
|
-
|
|
229
|
-
// @public
|
|
230
|
-
export type RendererEntry = {
|
|
231
|
-
renderer: ViewTemplate<DispatchRenderer, any>;
|
|
232
|
-
tester: RankedTester;
|
|
233
|
-
mapper: (state: JsonFormsState, ownProps: OwnPropsOfControl) => StatePropsOfControl;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
// @public
|
|
237
|
-
export const renderers: any[];
|
|
238
|
-
|
|
239
|
-
// @public
|
|
240
|
-
export type StandardRendererOptions = {
|
|
241
|
-
readonly?: boolean;
|
|
242
|
-
hidden?: boolean;
|
|
243
|
-
validateFn?: (data: any, path: string, label: string) => ErrorObject[];
|
|
244
|
-
i18n?: {
|
|
245
|
-
[key: string]: any;
|
|
246
|
-
};
|
|
247
|
-
tooltip?: string;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
// @public
|
|
251
|
-
export type StepperOrientationOptions = {
|
|
252
|
-
orientation?: StepperOrientationType;
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
// @public
|
|
256
|
-
export type StepperOrientationType = 'vertical' | 'horizontal';
|
|
257
|
-
|
|
258
|
-
// @public
|
|
259
|
-
export type StepperRendererOptions = CategorizationRendererOptions;
|
|
260
|
-
|
|
261
|
-
// @public
|
|
262
|
-
export type StringRendererOptions = {
|
|
263
|
-
isPassword?: boolean;
|
|
264
|
-
textarea?: boolean;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
// @public
|
|
268
|
-
export type UiSchema = {
|
|
269
|
-
type: UiSchemaElementType;
|
|
270
|
-
elements: UiSchemaElement[];
|
|
271
|
-
options?: UiSchemaOptions;
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
export { UISchemaElement }
|
|
275
|
-
|
|
276
|
-
// @public
|
|
277
|
-
export type UiSchemaElement = {
|
|
278
|
-
type: UiSchemaElementType;
|
|
279
|
-
scope: string;
|
|
280
|
-
label?: string;
|
|
281
|
-
placeholder?: string;
|
|
282
|
-
options?: UiSchemaElementOptions;
|
|
283
|
-
rule?: Rule;
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
// @public
|
|
287
|
-
export type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
|
|
288
|
-
|
|
289
|
-
// @public
|
|
290
|
-
export type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'LayoutVertical2Columns' | 'Categorization' | 'Group' | 'Stepper' | 'HorizontalLayout';
|
|
291
|
-
|
|
292
|
-
// @public
|
|
293
|
-
export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
|
|
294
|
-
|
|
295
|
-
// Warnings were encountered during analysis:
|
|
296
|
-
//
|
|
297
|
-
// src/types.ts:308:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
|
|
298
|
-
// src/types.ts:358:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
|
|
299
|
-
|
|
300
|
-
// (No @packageDocumentation comment for this package)
|
|
301
|
-
|
|
302
|
-
```
|