@dxos/react-ui-form 0.8.4-main.937b3ca → 0.8.4-main.9be5663bfe
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 +0 -1
- package/dist/lib/browser/index.mjs +1003 -668
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +1003 -668
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/FieldEditor/FieldEditor.d.ts +3 -3
- package/dist/types/src/components/FieldEditor/FieldEditor.d.ts.map +1 -1
- package/dist/types/src/components/FieldEditor/FieldEditor.stories.d.ts +62 -61
- package/dist/types/src/components/FieldEditor/FieldEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/Form/Form.d.ts +23 -18
- package/dist/types/src/components/Form/Form.d.ts.map +1 -1
- package/dist/types/src/components/Form/Form.stories.d.ts +68 -67
- package/dist/types/src/components/Form/Form.stories.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormField.d.ts +7 -1
- package/dist/types/src/components/Form/FormField.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormFieldComponent.d.ts +0 -1
- package/dist/types/src/components/Form/FormFieldComponent.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormFieldComponent.stories.d.ts +2 -2
- package/dist/types/src/components/Form/FormFieldComponent.stories.d.ts.map +1 -1
- package/dist/types/src/components/Form/FormFieldSet.d.ts +9 -10
- package/dist/types/src/components/Form/FormFieldSet.d.ts.map +1 -1
- package/dist/types/src/components/Form/fields/ArrayField.d.ts.map +1 -1
- package/dist/types/src/components/Form/fields/RefField.d.ts +8 -6
- package/dist/types/src/components/Form/fields/RefField.d.ts.map +1 -1
- package/dist/types/src/components/Form/fields/SelectOptionField.d.ts.map +1 -1
- package/dist/types/src/components/Form/fields/SelectOptionField.stories.d.ts +62 -61
- package/dist/types/src/components/Form/fields/SelectOptionField.stories.d.ts.map +1 -1
- package/dist/types/src/components/ObjectForm/ObjectForm.d.ts +9 -0
- package/dist/types/src/components/ObjectForm/ObjectForm.d.ts.map +1 -0
- package/dist/types/src/components/ObjectForm/index.d.ts +2 -0
- package/dist/types/src/components/ObjectForm/index.d.ts.map +1 -0
- package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts +10 -2
- package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts.map +1 -1
- package/dist/types/src/components/ObjectPicker/ObjectPicker.stories.d.ts +62 -61
- package/dist/types/src/components/ObjectPicker/ObjectPicker.stories.d.ts.map +1 -1
- package/dist/types/src/components/ObjectProperties/ObjectProperties.d.ts +9 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.d.ts.map +1 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.stories.d.ts +83 -0
- package/dist/types/src/components/ObjectProperties/ObjectProperties.stories.d.ts.map +1 -0
- package/dist/types/src/components/ObjectProperties/index.d.ts +2 -0
- package/dist/types/src/components/ObjectProperties/index.d.ts.map +1 -0
- package/dist/types/src/components/Settings/Settings.d.ts +35 -0
- package/dist/types/src/components/Settings/Settings.d.ts.map +1 -0
- package/dist/types/src/components/Settings/Settings.stories.d.ts +82 -0
- package/dist/types/src/components/Settings/Settings.stories.d.ts.map +1 -0
- package/dist/types/src/components/Settings/index.d.ts +2 -0
- package/dist/types/src/components/Settings/index.d.ts.map +1 -0
- package/dist/types/src/components/ViewEditor/ViewEditor.d.ts +5 -5
- package/dist/types/src/components/ViewEditor/ViewEditor.d.ts.map +1 -1
- package/dist/types/src/components/ViewEditor/ViewEditor.stories.d.ts +66 -64
- package/dist/types/src/components/ViewEditor/ViewEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +3 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/testing.d.ts.map +1 -1
- package/dist/types/src/hooks/useFormHandler.d.ts.map +1 -1
- package/dist/types/src/hooks/useKeyHandler.d.ts +2 -1
- package/dist/types/src/hooks/useKeyHandler.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +62 -61
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/util/refs.d.ts +1 -0
- package/dist/types/src/util/refs.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -38
- package/src/components/FieldEditor/FieldEditor.stories.tsx +7 -8
- package/src/components/FieldEditor/FieldEditor.test.tsx +0 -1
- package/src/components/FieldEditor/FieldEditor.tsx +3 -4
- package/src/components/Form/AUDIT.md +17 -0
- package/src/components/Form/Form.stories.tsx +25 -26
- package/src/components/Form/Form.tsx +101 -66
- package/src/components/Form/FormField.tsx +32 -14
- package/src/components/Form/FormFieldComponent.stories.tsx +5 -5
- package/src/components/Form/FormFieldComponent.tsx +17 -20
- package/src/components/Form/FormFieldSet.tsx +126 -105
- package/src/components/Form/fields/ArrayField.tsx +11 -8
- package/src/components/Form/fields/GeoPointField.tsx +6 -6
- package/src/components/Form/fields/MarkdownField.tsx +1 -1
- package/src/components/Form/fields/RefField.tsx +37 -20
- package/src/components/Form/fields/SelectField.tsx +1 -1
- package/src/components/Form/fields/SelectOptionField.stories.tsx +2 -3
- package/src/components/Form/fields/SelectOptionField.tsx +9 -10
- package/src/components/Form/fields/TupleField.tsx +1 -1
- package/src/components/ObjectForm/ObjectForm.tsx +113 -0
- package/src/components/{ControlSection → ObjectForm}/index.ts +1 -1
- package/src/components/ObjectPicker/ObjectPicker.stories.tsx +13 -18
- package/src/components/ObjectPicker/ObjectPicker.tsx +71 -60
- package/src/components/ObjectProperties/ObjectProperties.stories.tsx +63 -0
- package/src/components/ObjectProperties/ObjectProperties.tsx +129 -0
- package/src/components/ObjectProperties/index.ts +5 -0
- package/src/components/Settings/Settings.stories.tsx +55 -0
- package/src/components/Settings/Settings.tsx +129 -0
- package/src/components/Settings/index.ts +5 -0
- package/src/components/ViewEditor/ViewEditor.stories.tsx +36 -33
- package/src/components/ViewEditor/ViewEditor.test.tsx +3 -7
- package/src/components/ViewEditor/ViewEditor.tsx +117 -85
- package/src/components/index.ts +3 -1
- package/src/components/testing.tsx +20 -8
- package/src/hooks/useFormHandler.ts +42 -18
- package/src/hooks/useKeyHandler.tsx +7 -7
- package/src/translations.ts +63 -63
- package/src/util/refs.ts +7 -3
- package/dist/types/src/components/ControlSection/ControlSection.d.ts +0 -23
- package/dist/types/src/components/ControlSection/ControlSection.d.ts.map +0 -1
- package/dist/types/src/components/ControlSection/ControlSection.stories.d.ts +0 -87
- package/dist/types/src/components/ControlSection/ControlSection.stories.d.ts.map +0 -1
- package/dist/types/src/components/ControlSection/index.d.ts +0 -2
- package/dist/types/src/components/ControlSection/index.d.ts.map +0 -1
- package/dist/types/src/components/Form/Form-old.stories.d.ts +0 -131
- package/dist/types/src/components/Form/Form-old.stories.d.ts.map +0 -1
- package/src/components/ControlSection/ControlSection.stories.tsx +0 -38
- package/src/components/ControlSection/ControlSection.tsx +0 -153
- package/src/components/Form/Form-old.stories.tsx +0 -314
|
@@ -12,67 +12,68 @@ declare const meta: {
|
|
|
12
12
|
translations: [{
|
|
13
13
|
readonly 'en-US': {
|
|
14
14
|
readonly "@dxos/react-ui-form": {
|
|
15
|
-
readonly 'fields
|
|
16
|
-
readonly 'hidden
|
|
17
|
-
readonly 'empty
|
|
18
|
-
readonly 'add
|
|
19
|
-
readonly 'field
|
|
20
|
-
readonly 'field
|
|
21
|
-
readonly 'field
|
|
22
|
-
readonly 'field
|
|
23
|
-
readonly 'add
|
|
24
|
-
readonly '
|
|
25
|
-
readonly '
|
|
26
|
-
readonly '
|
|
27
|
-
readonly '
|
|
28
|
-
readonly '
|
|
29
|
-
readonly '
|
|
30
|
-
readonly '
|
|
31
|
-
readonly 'ref
|
|
32
|
-
readonly 'ref
|
|
33
|
-
readonly '
|
|
34
|
-
readonly '
|
|
35
|
-
readonly '
|
|
36
|
-
readonly '
|
|
37
|
-
readonly '
|
|
38
|
-
readonly '
|
|
39
|
-
readonly '
|
|
40
|
-
readonly 'format
|
|
41
|
-
readonly 'format
|
|
42
|
-
readonly 'format
|
|
43
|
-
readonly 'format
|
|
44
|
-
readonly 'format
|
|
45
|
-
readonly 'format
|
|
46
|
-
readonly 'format
|
|
47
|
-
readonly 'format
|
|
48
|
-
readonly 'format
|
|
49
|
-
readonly 'format
|
|
50
|
-
readonly 'format
|
|
51
|
-
readonly 'format
|
|
52
|
-
readonly 'format
|
|
53
|
-
readonly 'format
|
|
54
|
-
readonly 'format
|
|
55
|
-
readonly 'format
|
|
56
|
-
readonly 'format
|
|
57
|
-
readonly 'format
|
|
58
|
-
readonly 'format
|
|
59
|
-
readonly 'format
|
|
60
|
-
readonly 'format
|
|
61
|
-
readonly 'format
|
|
62
|
-
readonly 'format
|
|
63
|
-
readonly 'format
|
|
64
|
-
readonly 'format
|
|
65
|
-
readonly 'format
|
|
66
|
-
readonly 'format
|
|
67
|
-
readonly '
|
|
68
|
-
readonly '
|
|
69
|
-
readonly '
|
|
70
|
-
readonly 'select
|
|
71
|
-
readonly 'select
|
|
72
|
-
readonly 'select
|
|
73
|
-
readonly 'select
|
|
74
|
-
readonly 'system
|
|
75
|
-
readonly 'system
|
|
15
|
+
readonly 'fields.label': "Fields";
|
|
16
|
+
readonly 'hidden-fields.label': "Hidden Fields";
|
|
17
|
+
readonly 'empty-readonly-ref-field.label': "(none)";
|
|
18
|
+
readonly 'add-property-button.label': "Add property";
|
|
19
|
+
readonly 'field-property.label': "Property";
|
|
20
|
+
readonly 'field-property.placeholder': "Property name";
|
|
21
|
+
readonly 'field-format.label': "Type";
|
|
22
|
+
readonly 'field-path.label': "Field path";
|
|
23
|
+
readonly 'add-field.button': "Add field";
|
|
24
|
+
readonly 'boolean-input-true.value': "Yes";
|
|
25
|
+
readonly 'boolean-input-false.value': "No";
|
|
26
|
+
readonly 'show-field.label': "Show field";
|
|
27
|
+
readonly 'hide-field.label': "Hide field";
|
|
28
|
+
readonly 'delete-field.label': "Delete field";
|
|
29
|
+
readonly 'ref-field-combobox-input.placeholder': "Search…";
|
|
30
|
+
readonly 'ref-field.placeholder': "Select…";
|
|
31
|
+
readonly 'ref-field.placeholder_one': "Select…";
|
|
32
|
+
readonly 'ref-field.placeholder_other': "Select items…";
|
|
33
|
+
readonly 'create-option.label': "Create";
|
|
34
|
+
readonly 'add-tag.label': "Add tag";
|
|
35
|
+
readonly 'example.placeholder': "Example";
|
|
36
|
+
readonly 'latitude.placeholder': "Latitude (e.g., 40.7128)";
|
|
37
|
+
readonly 'longitude.placeholder': "Longitude (e.g., -74.0060)";
|
|
38
|
+
readonly 'cancel-button.label': "Cancel";
|
|
39
|
+
readonly 'save-button.label': "Save";
|
|
40
|
+
readonly 'format.boolean.label': "Boolean";
|
|
41
|
+
readonly 'format.currency.label': "Currency";
|
|
42
|
+
readonly 'format.date.label': "Date";
|
|
43
|
+
readonly 'format.date-time.label': "DateTime";
|
|
44
|
+
readonly 'format.did.label': "DID";
|
|
45
|
+
readonly 'format.duration.label': "Duration";
|
|
46
|
+
readonly 'format.dxn.label': "DXN";
|
|
47
|
+
readonly 'format.email.label': "Email";
|
|
48
|
+
readonly 'format.formula.label': "Formula";
|
|
49
|
+
readonly 'format.hostname.label': "Hostname";
|
|
50
|
+
readonly 'format.integer.label': "Integer";
|
|
51
|
+
readonly 'format.json.label': "JSON";
|
|
52
|
+
readonly 'format.lnglat.label': "Geopoint";
|
|
53
|
+
readonly 'format.markdown.label': "Markdown";
|
|
54
|
+
readonly 'format.percent.label': "Percent";
|
|
55
|
+
readonly 'format.ref.label': "Reference";
|
|
56
|
+
readonly 'format.regex.label': "RegExp";
|
|
57
|
+
readonly 'format.string.label': "String";
|
|
58
|
+
readonly 'format.single-select.label': "Select";
|
|
59
|
+
readonly 'format.multi-select.label': "Multi-select";
|
|
60
|
+
readonly 'format.text.label': "Long text";
|
|
61
|
+
readonly 'format.time.label': "Time";
|
|
62
|
+
readonly 'format.timestamp.label': "Timestamp";
|
|
63
|
+
readonly 'format.user.label': "User";
|
|
64
|
+
readonly 'format.number.label': "Number";
|
|
65
|
+
readonly 'format.uri.label': "URI";
|
|
66
|
+
readonly 'format.url.label': "URL";
|
|
67
|
+
readonly 'format.uuid.label': "UUID";
|
|
68
|
+
readonly 'latitude.label': "Latitude";
|
|
69
|
+
readonly 'longitude.label': "Longitude";
|
|
70
|
+
readonly 'select-option.label': "Label";
|
|
71
|
+
readonly 'select-option-label.placeholder': "Option label";
|
|
72
|
+
readonly 'select-option-delete.button': "Delete";
|
|
73
|
+
readonly 'select-option-add.button': "Add option";
|
|
74
|
+
readonly 'system-schema.title': "System type";
|
|
75
|
+
readonly 'system-schema.description': "System type: cannot add or remove fields.";
|
|
76
|
+
readonly 'remove.button': "Remove";
|
|
76
77
|
};
|
|
77
78
|
};
|
|
78
79
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPicker.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObjectPicker/ObjectPicker.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ObjectPicker.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObjectPicker/ObjectPicker.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAoD,MAAM,OAAO,CAAC;AA2FzE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAuFtB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import { Obj } from '@dxos/echo';
|
|
3
|
+
export type ObjectPropertiesProps = PropsWithChildren<{
|
|
4
|
+
object: Obj.Unknown;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const ObjectProperties: React.ForwardRefExoticComponent<Omit<ObjectPropertiesProps, "className"> & {
|
|
7
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
8
|
+
} & Pick<React.HTMLAttributes<Element>, "style" | "children" | "className" | "role"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//# sourceMappingURL=ObjectProperties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObjectProperties.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObjectProperties/ObjectProperties.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAO,GAAG,EAAkB,MAAM,YAAY,CAAC;AAUtD,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IAAE,MAAM,EAAE,GAAG,CAAC,OAAO,CAAA;CAAE,CAAC,CAAC;AAG/E,eAAO,MAAM,gBAAgB;;2HAwF5B,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: any;
|
|
6
|
+
render: () => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
translations: [{
|
|
11
|
+
readonly 'en-US': {
|
|
12
|
+
readonly "@dxos/react-ui-form": {
|
|
13
|
+
readonly 'fields.label': "Fields";
|
|
14
|
+
readonly 'hidden-fields.label': "Hidden Fields";
|
|
15
|
+
readonly 'empty-readonly-ref-field.label': "(none)";
|
|
16
|
+
readonly 'add-property-button.label': "Add property";
|
|
17
|
+
readonly 'field-property.label': "Property";
|
|
18
|
+
readonly 'field-property.placeholder': "Property name";
|
|
19
|
+
readonly 'field-format.label': "Type";
|
|
20
|
+
readonly 'field-path.label': "Field path";
|
|
21
|
+
readonly 'add-field.button': "Add field";
|
|
22
|
+
readonly 'boolean-input-true.value': "Yes";
|
|
23
|
+
readonly 'boolean-input-false.value': "No";
|
|
24
|
+
readonly 'show-field.label': "Show field";
|
|
25
|
+
readonly 'hide-field.label': "Hide field";
|
|
26
|
+
readonly 'delete-field.label': "Delete field";
|
|
27
|
+
readonly 'ref-field-combobox-input.placeholder': "Search…";
|
|
28
|
+
readonly 'ref-field.placeholder': "Select…";
|
|
29
|
+
readonly 'ref-field.placeholder_one': "Select…";
|
|
30
|
+
readonly 'ref-field.placeholder_other': "Select items…";
|
|
31
|
+
readonly 'create-option.label': "Create";
|
|
32
|
+
readonly 'add-tag.label': "Add tag";
|
|
33
|
+
readonly 'example.placeholder': "Example";
|
|
34
|
+
readonly 'latitude.placeholder': "Latitude (e.g., 40.7128)";
|
|
35
|
+
readonly 'longitude.placeholder': "Longitude (e.g., -74.0060)";
|
|
36
|
+
readonly 'cancel-button.label': "Cancel";
|
|
37
|
+
readonly 'save-button.label': "Save";
|
|
38
|
+
readonly 'format.boolean.label': "Boolean";
|
|
39
|
+
readonly 'format.currency.label': "Currency";
|
|
40
|
+
readonly 'format.date.label': "Date";
|
|
41
|
+
readonly 'format.date-time.label': "DateTime";
|
|
42
|
+
readonly 'format.did.label': "DID";
|
|
43
|
+
readonly 'format.duration.label': "Duration";
|
|
44
|
+
readonly 'format.dxn.label': "DXN";
|
|
45
|
+
readonly 'format.email.label': "Email";
|
|
46
|
+
readonly 'format.formula.label': "Formula";
|
|
47
|
+
readonly 'format.hostname.label': "Hostname";
|
|
48
|
+
readonly 'format.integer.label': "Integer";
|
|
49
|
+
readonly 'format.json.label': "JSON";
|
|
50
|
+
readonly 'format.lnglat.label': "Geopoint";
|
|
51
|
+
readonly 'format.markdown.label': "Markdown";
|
|
52
|
+
readonly 'format.percent.label': "Percent";
|
|
53
|
+
readonly 'format.ref.label': "Reference";
|
|
54
|
+
readonly 'format.regex.label': "RegExp";
|
|
55
|
+
readonly 'format.string.label': "String";
|
|
56
|
+
readonly 'format.single-select.label': "Select";
|
|
57
|
+
readonly 'format.multi-select.label': "Multi-select";
|
|
58
|
+
readonly 'format.text.label': "Long text";
|
|
59
|
+
readonly 'format.time.label': "Time";
|
|
60
|
+
readonly 'format.timestamp.label': "Timestamp";
|
|
61
|
+
readonly 'format.user.label': "User";
|
|
62
|
+
readonly 'format.number.label': "Number";
|
|
63
|
+
readonly 'format.uri.label': "URI";
|
|
64
|
+
readonly 'format.url.label': "URL";
|
|
65
|
+
readonly 'format.uuid.label': "UUID";
|
|
66
|
+
readonly 'latitude.label': "Latitude";
|
|
67
|
+
readonly 'longitude.label': "Longitude";
|
|
68
|
+
readonly 'select-option.label': "Label";
|
|
69
|
+
readonly 'select-option-label.placeholder': "Option label";
|
|
70
|
+
readonly 'select-option-delete.button': "Delete";
|
|
71
|
+
readonly 'select-option-add.button': "Add option";
|
|
72
|
+
readonly 'system-schema.title': "System type";
|
|
73
|
+
readonly 'system-schema.description': "System type: cannot add or remove fields.";
|
|
74
|
+
readonly 'remove.button': "Remove";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export default meta;
|
|
81
|
+
type Story = StoryObj<typeof meta>;
|
|
82
|
+
export declare const Default: Story;
|
|
83
|
+
//# sourceMappingURL=ObjectProperties.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObjectProperties.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObjectProperties/ObjectProperties.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,QAAA,MAAM,IAAI;;eAEuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBC,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObjectProperties/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type Label, type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
+
type SettingsRootProps = ThemedClassName<PropsWithChildren>;
|
|
4
|
+
type SettingsSectionProps = PropsWithChildren<{
|
|
5
|
+
title: Label;
|
|
6
|
+
description?: Label;
|
|
7
|
+
}>;
|
|
8
|
+
type SettingsPanelProps = ThemedClassName<PropsWithChildren>;
|
|
9
|
+
type SettingsItemProps = PropsWithChildren<{
|
|
10
|
+
title: Label;
|
|
11
|
+
description?: Label;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Settings: {
|
|
14
|
+
Root: {
|
|
15
|
+
({ children, classNames }: SettingsRootProps): React.JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
Viewport: React.ForwardRefExoticComponent<Omit<{}, "className"> & {
|
|
19
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
20
|
+
} & Pick<React.HTMLAttributes<Element>, "style" | "children" | "className" | "role"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
Section: {
|
|
22
|
+
({ title, description, children }: SettingsSectionProps): React.JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
Panel: {
|
|
26
|
+
({ classNames, children }: SettingsPanelProps): React.JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
Item: {
|
|
30
|
+
({ title, description, children }: SettingsItemProps): React.JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=Settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Settings/Settings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAS,KAAK,KAAK,EAAc,KAAK,eAAe,EAAqC,MAAM,gBAAgB,CAAC;AAexH,KAAK,iBAAiB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AA8B5D,KAAK,oBAAoB,GAAG,iBAAiB,CAAC;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC,CAAC;AAmBH,KAAK,kBAAkB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAgB7D,KAAK,iBAAiB,GAAG,iBAAiB,CAAC;IACzC,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC,CAAC;AA8BH,eAAO,MAAM,QAAQ;;mCAnG2B,iBAAiB;;;;;;;2CAiCN,oBAAoB;;;;mCAmB9B,kBAAkB;;;;2CAmBN,iBAAiB;;;CAkC7E,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
render: () => React.JSX.Element;
|
|
6
|
+
decorators: import("@storybook/react").Decorator[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
translations: [{
|
|
10
|
+
readonly 'en-US': {
|
|
11
|
+
readonly "@dxos/react-ui-form": {
|
|
12
|
+
readonly 'fields.label': "Fields";
|
|
13
|
+
readonly 'hidden-fields.label': "Hidden Fields";
|
|
14
|
+
readonly 'empty-readonly-ref-field.label': "(none)";
|
|
15
|
+
readonly 'add-property-button.label': "Add property";
|
|
16
|
+
readonly 'field-property.label': "Property";
|
|
17
|
+
readonly 'field-property.placeholder': "Property name";
|
|
18
|
+
readonly 'field-format.label': "Type";
|
|
19
|
+
readonly 'field-path.label': "Field path";
|
|
20
|
+
readonly 'add-field.button': "Add field";
|
|
21
|
+
readonly 'boolean-input-true.value': "Yes";
|
|
22
|
+
readonly 'boolean-input-false.value': "No";
|
|
23
|
+
readonly 'show-field.label': "Show field";
|
|
24
|
+
readonly 'hide-field.label': "Hide field";
|
|
25
|
+
readonly 'delete-field.label': "Delete field";
|
|
26
|
+
readonly 'ref-field-combobox-input.placeholder': "Search…";
|
|
27
|
+
readonly 'ref-field.placeholder': "Select…";
|
|
28
|
+
readonly 'ref-field.placeholder_one': "Select…";
|
|
29
|
+
readonly 'ref-field.placeholder_other': "Select items…";
|
|
30
|
+
readonly 'create-option.label': "Create";
|
|
31
|
+
readonly 'add-tag.label': "Add tag";
|
|
32
|
+
readonly 'example.placeholder': "Example";
|
|
33
|
+
readonly 'latitude.placeholder': "Latitude (e.g., 40.7128)";
|
|
34
|
+
readonly 'longitude.placeholder': "Longitude (e.g., -74.0060)";
|
|
35
|
+
readonly 'cancel-button.label': "Cancel";
|
|
36
|
+
readonly 'save-button.label': "Save";
|
|
37
|
+
readonly 'format.boolean.label': "Boolean";
|
|
38
|
+
readonly 'format.currency.label': "Currency";
|
|
39
|
+
readonly 'format.date.label': "Date";
|
|
40
|
+
readonly 'format.date-time.label': "DateTime";
|
|
41
|
+
readonly 'format.did.label': "DID";
|
|
42
|
+
readonly 'format.duration.label': "Duration";
|
|
43
|
+
readonly 'format.dxn.label': "DXN";
|
|
44
|
+
readonly 'format.email.label': "Email";
|
|
45
|
+
readonly 'format.formula.label': "Formula";
|
|
46
|
+
readonly 'format.hostname.label': "Hostname";
|
|
47
|
+
readonly 'format.integer.label': "Integer";
|
|
48
|
+
readonly 'format.json.label': "JSON";
|
|
49
|
+
readonly 'format.lnglat.label': "Geopoint";
|
|
50
|
+
readonly 'format.markdown.label': "Markdown";
|
|
51
|
+
readonly 'format.percent.label': "Percent";
|
|
52
|
+
readonly 'format.ref.label': "Reference";
|
|
53
|
+
readonly 'format.regex.label': "RegExp";
|
|
54
|
+
readonly 'format.string.label': "String";
|
|
55
|
+
readonly 'format.single-select.label': "Select";
|
|
56
|
+
readonly 'format.multi-select.label': "Multi-select";
|
|
57
|
+
readonly 'format.text.label': "Long text";
|
|
58
|
+
readonly 'format.time.label': "Time";
|
|
59
|
+
readonly 'format.timestamp.label': "Timestamp";
|
|
60
|
+
readonly 'format.user.label': "User";
|
|
61
|
+
readonly 'format.number.label': "Number";
|
|
62
|
+
readonly 'format.uri.label': "URI";
|
|
63
|
+
readonly 'format.url.label': "URL";
|
|
64
|
+
readonly 'format.uuid.label': "UUID";
|
|
65
|
+
readonly 'latitude.label': "Latitude";
|
|
66
|
+
readonly 'longitude.label': "Longitude";
|
|
67
|
+
readonly 'select-option.label': "Label";
|
|
68
|
+
readonly 'select-option-label.placeholder': "Option label";
|
|
69
|
+
readonly 'select-option-delete.button': "Delete";
|
|
70
|
+
readonly 'select-option-add.button': "Add option";
|
|
71
|
+
readonly 'system-schema.title': "System type";
|
|
72
|
+
readonly 'system-schema.description': "System type: cannot add or remove fields.";
|
|
73
|
+
readonly 'remove.button': "Remove";
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export default meta;
|
|
80
|
+
type Story = StoryObj<typeof meta>;
|
|
81
|
+
export declare const Default: Story;
|
|
82
|
+
//# sourceMappingURL=Settings.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Settings/Settings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAmC1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQM,CAAC;AAEjB,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Settings/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { QueryAST, type SchemaRegistry } from '@dxos/echo';
|
|
4
|
+
import { View } from '@dxos/echo';
|
|
4
5
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
5
6
|
import { type QueryFormProps } from '@dxos/react-ui-components';
|
|
6
|
-
import { ProjectionModel
|
|
7
|
+
import { ProjectionModel } from '@dxos/schema';
|
|
8
|
+
import { type FormRootProps } from '../Form';
|
|
7
9
|
export type ViewEditorProps = ThemedClassName<{
|
|
8
10
|
schema: Schema.Schema.AnyNoContext;
|
|
9
11
|
view: View.View;
|
|
10
12
|
mode?: 'schema' | 'tag';
|
|
11
13
|
registry?: SchemaRegistry.SchemaRegistry;
|
|
12
|
-
readonly?: boolean;
|
|
13
14
|
showHeading?: boolean;
|
|
14
15
|
onQueryChanged?: (query: QueryAST.Query, target?: string) => void;
|
|
15
16
|
onDelete?: (fieldId: string) => void;
|
|
16
|
-
} & Pick<QueryFormProps, 'types' | 'tags'>>;
|
|
17
|
+
} & Pick<QueryFormProps, 'types' | 'tags'> & Pick<FormRootProps<any>, 'readonly' | 'db'>>;
|
|
17
18
|
/**
|
|
18
19
|
* Schema-based object form.
|
|
19
20
|
*/
|
|
@@ -22,11 +23,10 @@ export declare const ViewEditor: React.ForwardRefExoticComponent<Omit<{
|
|
|
22
23
|
view: View.View;
|
|
23
24
|
mode?: "schema" | "tag";
|
|
24
25
|
registry?: SchemaRegistry.SchemaRegistry;
|
|
25
|
-
readonly?: boolean;
|
|
26
26
|
showHeading?: boolean;
|
|
27
27
|
onQueryChanged?: (query: QueryAST.Query, target?: string) => void;
|
|
28
28
|
onDelete?: (fieldId: string) => void;
|
|
29
|
-
} & Pick<QueryFormProps, "types" | "
|
|
29
|
+
} & Pick<QueryFormProps, "tags" | "types"> & Pick<FormRootProps<any>, "readonly" | "db">, "className"> & {
|
|
30
30
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
31
31
|
} & React.RefAttributes<ProjectionModel>>;
|
|
32
32
|
//# sourceMappingURL=ViewEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/ViewEditor/ViewEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAsF,MAAM,OAAO,CAAC;AAE3G,OAAO,
|
|
1
|
+
{"version":3,"file":"ViewEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/ViewEditor/ViewEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAsF,MAAM,OAAO,CAAC;AAE3G,OAAO,EAA4C,QAAQ,EAAO,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1G,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIlC,OAAO,EAA8B,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAClG,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAEL,eAAe,EAIhB,MAAM,cAAc,CAAC;AAKtB,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,eAAe,GAAG,eAAe,CAC3C;IACE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC;IACnC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC,GACxC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC,CAC9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;YAdX,MAAM,CAAC,MAAM,CAAC,YAAY;UAC5B,IAAI,CAAC,IAAI;WACR,QAAQ,GAAG,KAAK;eACZ,cAAc,CAAC,cAAc;kBAC1B,OAAO;qBACJ,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI;eACtD,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI;;;yCAyKvC,CAAC"}
|
|
@@ -1,84 +1,86 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { type View } from '@dxos/echo';
|
|
3
4
|
import { type EchoSchema } from '@dxos/echo/internal';
|
|
4
|
-
import { type ProjectionModel
|
|
5
|
+
import { type ProjectionModel } from '@dxos/schema';
|
|
5
6
|
import { type ViewEditorProps } from './ViewEditor';
|
|
6
7
|
export type ViewEditorDebugObjects = {
|
|
7
8
|
schema: EchoSchema;
|
|
8
9
|
view: View.View;
|
|
9
10
|
projection: ProjectionModel;
|
|
10
11
|
};
|
|
11
|
-
type
|
|
12
|
+
type DefaultStoryProps = Pick<ViewEditorProps, 'readonly' | 'mode'>;
|
|
12
13
|
declare const meta: {
|
|
13
14
|
title: string;
|
|
14
|
-
render: (props:
|
|
15
|
+
render: (props: DefaultStoryProps) => React.JSX.Element;
|
|
15
16
|
decorators: import("@storybook/react").Decorator[];
|
|
16
17
|
parameters: {
|
|
17
18
|
layout: string;
|
|
18
19
|
translations: [{
|
|
19
20
|
readonly 'en-US': {
|
|
20
21
|
readonly "@dxos/react-ui-form": {
|
|
21
|
-
readonly 'fields
|
|
22
|
-
readonly 'hidden
|
|
23
|
-
readonly 'empty
|
|
24
|
-
readonly 'add
|
|
25
|
-
readonly 'field
|
|
26
|
-
readonly 'field
|
|
27
|
-
readonly 'field
|
|
28
|
-
readonly 'field
|
|
29
|
-
readonly 'add
|
|
30
|
-
readonly '
|
|
31
|
-
readonly '
|
|
32
|
-
readonly '
|
|
33
|
-
readonly '
|
|
34
|
-
readonly '
|
|
35
|
-
readonly '
|
|
36
|
-
readonly '
|
|
37
|
-
readonly 'ref
|
|
38
|
-
readonly 'ref
|
|
39
|
-
readonly '
|
|
40
|
-
readonly '
|
|
41
|
-
readonly '
|
|
42
|
-
readonly '
|
|
43
|
-
readonly '
|
|
44
|
-
readonly '
|
|
45
|
-
readonly '
|
|
46
|
-
readonly 'format
|
|
47
|
-
readonly 'format
|
|
48
|
-
readonly 'format
|
|
49
|
-
readonly 'format
|
|
50
|
-
readonly 'format
|
|
51
|
-
readonly 'format
|
|
52
|
-
readonly 'format
|
|
53
|
-
readonly 'format
|
|
54
|
-
readonly 'format
|
|
55
|
-
readonly 'format
|
|
56
|
-
readonly 'format
|
|
57
|
-
readonly 'format
|
|
58
|
-
readonly 'format
|
|
59
|
-
readonly 'format
|
|
60
|
-
readonly 'format
|
|
61
|
-
readonly 'format
|
|
62
|
-
readonly 'format
|
|
63
|
-
readonly 'format
|
|
64
|
-
readonly 'format
|
|
65
|
-
readonly 'format
|
|
66
|
-
readonly 'format
|
|
67
|
-
readonly 'format
|
|
68
|
-
readonly 'format
|
|
69
|
-
readonly 'format
|
|
70
|
-
readonly 'format
|
|
71
|
-
readonly 'format
|
|
72
|
-
readonly 'format
|
|
73
|
-
readonly '
|
|
74
|
-
readonly '
|
|
75
|
-
readonly '
|
|
76
|
-
readonly 'select
|
|
77
|
-
readonly 'select
|
|
78
|
-
readonly 'select
|
|
79
|
-
readonly 'select
|
|
80
|
-
readonly 'system
|
|
81
|
-
readonly 'system
|
|
22
|
+
readonly 'fields.label': "Fields";
|
|
23
|
+
readonly 'hidden-fields.label': "Hidden Fields";
|
|
24
|
+
readonly 'empty-readonly-ref-field.label': "(none)";
|
|
25
|
+
readonly 'add-property-button.label': "Add property";
|
|
26
|
+
readonly 'field-property.label': "Property";
|
|
27
|
+
readonly 'field-property.placeholder': "Property name";
|
|
28
|
+
readonly 'field-format.label': "Type";
|
|
29
|
+
readonly 'field-path.label': "Field path";
|
|
30
|
+
readonly 'add-field.button': "Add field";
|
|
31
|
+
readonly 'boolean-input-true.value': "Yes";
|
|
32
|
+
readonly 'boolean-input-false.value': "No";
|
|
33
|
+
readonly 'show-field.label': "Show field";
|
|
34
|
+
readonly 'hide-field.label': "Hide field";
|
|
35
|
+
readonly 'delete-field.label': "Delete field";
|
|
36
|
+
readonly 'ref-field-combobox-input.placeholder': "Search…";
|
|
37
|
+
readonly 'ref-field.placeholder': "Select…";
|
|
38
|
+
readonly 'ref-field.placeholder_one': "Select…";
|
|
39
|
+
readonly 'ref-field.placeholder_other': "Select items…";
|
|
40
|
+
readonly 'create-option.label': "Create";
|
|
41
|
+
readonly 'add-tag.label': "Add tag";
|
|
42
|
+
readonly 'example.placeholder': "Example";
|
|
43
|
+
readonly 'latitude.placeholder': "Latitude (e.g., 40.7128)";
|
|
44
|
+
readonly 'longitude.placeholder': "Longitude (e.g., -74.0060)";
|
|
45
|
+
readonly 'cancel-button.label': "Cancel";
|
|
46
|
+
readonly 'save-button.label': "Save";
|
|
47
|
+
readonly 'format.boolean.label': "Boolean";
|
|
48
|
+
readonly 'format.currency.label': "Currency";
|
|
49
|
+
readonly 'format.date.label': "Date";
|
|
50
|
+
readonly 'format.date-time.label': "DateTime";
|
|
51
|
+
readonly 'format.did.label': "DID";
|
|
52
|
+
readonly 'format.duration.label': "Duration";
|
|
53
|
+
readonly 'format.dxn.label': "DXN";
|
|
54
|
+
readonly 'format.email.label': "Email";
|
|
55
|
+
readonly 'format.formula.label': "Formula";
|
|
56
|
+
readonly 'format.hostname.label': "Hostname";
|
|
57
|
+
readonly 'format.integer.label': "Integer";
|
|
58
|
+
readonly 'format.json.label': "JSON";
|
|
59
|
+
readonly 'format.lnglat.label': "Geopoint";
|
|
60
|
+
readonly 'format.markdown.label': "Markdown";
|
|
61
|
+
readonly 'format.percent.label': "Percent";
|
|
62
|
+
readonly 'format.ref.label': "Reference";
|
|
63
|
+
readonly 'format.regex.label': "RegExp";
|
|
64
|
+
readonly 'format.string.label': "String";
|
|
65
|
+
readonly 'format.single-select.label': "Select";
|
|
66
|
+
readonly 'format.multi-select.label': "Multi-select";
|
|
67
|
+
readonly 'format.text.label': "Long text";
|
|
68
|
+
readonly 'format.time.label': "Time";
|
|
69
|
+
readonly 'format.timestamp.label': "Timestamp";
|
|
70
|
+
readonly 'format.user.label': "User";
|
|
71
|
+
readonly 'format.number.label': "Number";
|
|
72
|
+
readonly 'format.uri.label': "URI";
|
|
73
|
+
readonly 'format.url.label': "URL";
|
|
74
|
+
readonly 'format.uuid.label': "UUID";
|
|
75
|
+
readonly 'latitude.label': "Latitude";
|
|
76
|
+
readonly 'longitude.label': "Longitude";
|
|
77
|
+
readonly 'select-option.label': "Label";
|
|
78
|
+
readonly 'select-option-label.placeholder': "Option label";
|
|
79
|
+
readonly 'select-option-delete.button': "Delete";
|
|
80
|
+
readonly 'select-option-add.button': "Add option";
|
|
81
|
+
readonly 'system-schema.title': "System type";
|
|
82
|
+
readonly 'system-schema.description': "System type: cannot add or remove fields.";
|
|
83
|
+
readonly 'remove.button': "Remove";
|
|
82
84
|
};
|
|
83
85
|
};
|
|
84
86
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ViewEditor/ViewEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,KAAK,UAAU,EAAwB,MAAM,qBAAqB,CAAC;AAK5E,OAAO,EAAE,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"ViewEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ViewEditor/ViewEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,KAAK,UAAU,EAAwB,MAAM,qBAAqB,CAAC;AAK5E,OAAO,EAAE,KAAK,eAAe,EAAmC,MAAM,cAAc,CAAC;AAKrF,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAWhE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,UAAU,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,UAAU,EAAE,eAAe,CAAC;CAC7B,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;AAiIpE,QAAA,MAAM,IAAI;;oBA/HmB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmJT,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAI1B,CAAC"}
|