-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.ts
29 lines (27 loc) · 1 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { extendPluginConfig } from '@stac-manager/data-core';
import { WidgetText } from '../widgets/text';
import { WidgetNumber } from '../widgets/number';
import { WidgetRadio } from '../widgets/radio';
import { WidgetCheckbox } from '../widgets/checkbox';
import { WidgetObject } from '../widgets/object';
import { WidgetObjectFieldset } from '../widgets/object-fieldset';
import { WidgetArray } from '../widgets/array';
import { WidgetArrayInput } from '../widgets/array-input';
import { WidgetSelect } from '../widgets/select';
import { WidgetJSON } from '../widgets/json';
import { WidgetTagger } from '../widgets/tagger';
export const defaultPluginWidgetConfig = extendPluginConfig({
'ui:widget': {
object: WidgetObject,
'object:fieldset': WidgetObjectFieldset,
text: WidgetText,
number: WidgetNumber,
radio: WidgetRadio,
checkbox: WidgetCheckbox,
select: WidgetSelect,
tagger: WidgetTagger,
array: WidgetArray,
'array:string': WidgetArrayInput,
json: WidgetJSON
}
});