@researchdatabox/sails-ng-common 0.2.1 → 5.0.0-RC1
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/dist/src/config/base-field-component.model.d.ts +26 -0
- package/dist/src/config/base-field-component.model.js +29 -0
- package/dist/src/config/base-field-component.outline.d.ts +108 -0
- package/dist/src/config/base-field-component.outline.js +3 -0
- package/dist/src/config/component/accordion.model.d.ts +103 -0
- package/dist/src/config/component/accordion.model.js +127 -0
- package/dist/src/config/component/accordion.outline.d.ts +162 -0
- package/dist/src/config/component/accordion.outline.js +13 -0
- package/dist/src/config/component/action-row-layout.model.d.ts +28 -0
- package/dist/src/config/component/action-row-layout.model.js +35 -0
- package/dist/src/config/component/action-row-layout.outline.d.ts +36 -0
- package/dist/src/config/component/action-row-layout.outline.js +6 -0
- package/dist/src/config/component/cancel-button.model.d.ts +48 -0
- package/dist/src/config/component/cancel-button.model.js +58 -0
- package/dist/src/config/component/cancel-button.outline.d.ts +85 -0
- package/dist/src/config/component/cancel-button.outline.js +6 -0
- package/dist/src/config/component/checkbox-input.model.d.ts +67 -0
- package/dist/src/config/component/checkbox-input.model.js +79 -0
- package/dist/src/config/component/checkbox-input.outline.d.ts +93 -0
- package/dist/src/config/component/checkbox-input.outline.js +8 -0
- package/dist/src/config/component/checkbox-tree.model.d.ts +68 -0
- package/dist/src/config/component/checkbox-tree.model.js +80 -0
- package/dist/src/config/component/checkbox-tree.outline.d.ts +105 -0
- package/dist/src/config/component/checkbox-tree.outline.js +8 -0
- package/dist/src/config/component/content.model.d.ts +46 -0
- package/dist/src/config/component/content.model.js +56 -0
- package/dist/src/config/component/content.outline.d.ts +74 -0
- package/dist/src/config/component/content.outline.js +6 -0
- package/dist/src/config/component/data-location.model.d.ts +83 -0
- package/dist/src/config/component/data-location.model.js +95 -0
- package/dist/src/config/component/data-location.outline.d.ts +124 -0
- package/dist/src/config/component/data-location.outline.js +6 -0
- package/dist/src/config/component/date-input.model.d.ts +67 -0
- package/dist/src/config/component/date-input.model.js +80 -0
- package/dist/src/config/component/date-input.outline.d.ts +88 -0
- package/dist/src/config/component/date-input.outline.js +8 -0
- package/dist/src/config/component/default-layout.model.d.ts +22 -0
- package/dist/src/config/component/default-layout.model.js +30 -0
- package/dist/src/config/component/default-layout.outline.d.ts +29 -0
- package/dist/src/config/component/default-layout.outline.js +5 -0
- package/dist/src/config/component/delete-button.model.d.ts +46 -0
- package/dist/src/config/component/delete-button.model.js +48 -0
- package/dist/src/config/component/delete-button.outline.d.ts +89 -0
- package/dist/src/config/component/delete-button.outline.js +5 -0
- package/dist/src/config/component/dropdown-input.model.d.ts +65 -0
- package/dist/src/config/component/dropdown-input.model.js +78 -0
- package/dist/src/config/component/dropdown-input.outline.d.ts +92 -0
- package/dist/src/config/component/dropdown-input.outline.js +8 -0
- package/dist/src/config/component/file-upload.model.d.ts +67 -0
- package/dist/src/config/component/file-upload.model.js +81 -0
- package/dist/src/config/component/file-upload.outline.d.ts +99 -0
- package/dist/src/config/component/file-upload.outline.js +8 -0
- package/dist/src/config/component/group.model.d.ts +61 -0
- package/dist/src/config/component/group.model.js +75 -0
- package/dist/src/config/component/group.outline.d.ts +83 -0
- package/dist/src/config/component/group.outline.js +8 -0
- package/dist/src/config/component/inline-layout.model.d.ts +22 -0
- package/dist/src/config/component/inline-layout.model.js +29 -0
- package/dist/src/config/component/inline-layout.outline.d.ts +29 -0
- package/dist/src/config/component/inline-layout.outline.js +5 -0
- package/dist/src/config/component/integration-status.model.d.ts +49 -0
- package/dist/src/config/component/integration-status.model.js +65 -0
- package/dist/src/config/component/integration-status.outline.d.ts +61 -0
- package/dist/src/config/component/integration-status.outline.js +5 -0
- package/dist/src/config/component/map.model.d.ts +69 -0
- package/dist/src/config/component/map.model.js +86 -0
- package/dist/src/config/component/map.outline.d.ts +110 -0
- package/dist/src/config/component/map.outline.js +8 -0
- package/dist/src/config/component/pdf-list.model.d.ts +68 -0
- package/dist/src/config/component/pdf-list.model.js +71 -0
- package/dist/src/config/component/pdf-list.outline.d.ts +97 -0
- package/dist/src/config/component/pdf-list.outline.js +6 -0
- package/dist/src/config/component/publish-data-location-refresh.model.d.ts +39 -0
- package/dist/src/config/component/publish-data-location-refresh.model.js +52 -0
- package/dist/src/config/component/publish-data-location-refresh.outline.d.ts +58 -0
- package/dist/src/config/component/publish-data-location-refresh.outline.js +5 -0
- package/dist/src/config/component/publish-data-location-selector.model.d.ts +78 -0
- package/dist/src/config/component/publish-data-location-selector.model.js +104 -0
- package/dist/src/config/component/publish-data-location-selector.outline.d.ts +110 -0
- package/dist/src/config/component/publish-data-location-selector.outline.js +6 -0
- package/dist/src/config/component/question-tree.helper.d.ts +58 -0
- package/dist/src/config/component/question-tree.helper.js +291 -0
- package/dist/src/config/component/question-tree.model.d.ts +64 -0
- package/dist/src/config/component/question-tree.model.js +80 -0
- package/dist/src/config/component/question-tree.outline.d.ts +314 -0
- package/dist/src/config/component/question-tree.outline.js +9 -0
- package/dist/src/config/component/radio-input.model.d.ts +65 -0
- package/dist/src/config/component/radio-input.model.js +77 -0
- package/dist/src/config/component/radio-input.outline.d.ts +91 -0
- package/dist/src/config/component/radio-input.outline.js +8 -0
- package/dist/src/config/component/record-metadata-retriever.model.d.ts +41 -0
- package/dist/src/config/component/record-metadata-retriever.model.js +57 -0
- package/dist/src/config/component/record-metadata-retriever.outline.d.ts +53 -0
- package/dist/src/config/component/record-metadata-retriever.outline.js +5 -0
- package/dist/src/config/component/record-selector.model.d.ts +61 -0
- package/dist/src/config/component/record-selector.model.js +61 -0
- package/dist/src/config/component/record-selector.outline.d.ts +91 -0
- package/dist/src/config/component/record-selector.outline.js +6 -0
- package/dist/src/config/component/repeatable.model.d.ts +91 -0
- package/dist/src/config/component/repeatable.model.js +112 -0
- package/dist/src/config/component/repeatable.outline.d.ts +115 -0
- package/dist/src/config/component/repeatable.outline.js +10 -0
- package/dist/src/config/component/reusable.model.d.ts +42 -0
- package/dist/src/config/component/reusable.model.js +57 -0
- package/dist/src/config/component/reusable.outline.d.ts +55 -0
- package/dist/src/config/component/reusable.outline.js +6 -0
- package/dist/src/config/component/rich-text-editor.model.d.ts +65 -0
- package/dist/src/config/component/rich-text-editor.model.js +79 -0
- package/dist/src/config/component/rich-text-editor.outline.d.ts +92 -0
- package/dist/src/config/component/rich-text-editor.outline.js +8 -0
- package/dist/src/config/component/save-button.model.d.ts +49 -0
- package/dist/src/config/component/save-button.model.js +59 -0
- package/dist/src/config/component/save-button.outline.d.ts +90 -0
- package/dist/src/config/component/save-button.outline.js +6 -0
- package/dist/src/config/component/save-status.model.d.ts +42 -0
- package/dist/src/config/component/save-status.model.js +60 -0
- package/dist/src/config/component/save-status.outline.d.ts +58 -0
- package/dist/src/config/component/save-status.outline.js +6 -0
- package/dist/src/config/component/simple-input.model.d.ts +62 -0
- package/dist/src/config/component/simple-input.model.js +75 -0
- package/dist/src/config/component/simple-input.outline.d.ts +86 -0
- package/dist/src/config/component/simple-input.outline.js +9 -0
- package/dist/src/config/component/suggested-validation-summary.model.d.ts +45 -0
- package/dist/src/config/component/suggested-validation-summary.model.js +61 -0
- package/dist/src/config/component/suggested-validation-summary.outline.d.ts +57 -0
- package/dist/src/config/component/suggested-validation-summary.outline.js +5 -0
- package/dist/src/config/component/tab-content.model.d.ts +63 -0
- package/dist/src/config/component/tab-content.model.js +77 -0
- package/dist/src/config/component/tab-content.outline.d.ts +98 -0
- package/dist/src/config/component/tab-content.outline.js +8 -0
- package/dist/src/config/component/tab-nav-button.model.d.ts +45 -0
- package/dist/src/config/component/tab-nav-button.model.js +55 -0
- package/dist/src/config/component/tab-nav-button.outline.d.ts +70 -0
- package/dist/src/config/component/tab-nav-button.outline.js +6 -0
- package/dist/src/config/component/tab.model.d.ts +71 -0
- package/dist/src/config/component/tab.model.js +84 -0
- package/dist/src/config/component/tab.outline.d.ts +112 -0
- package/dist/src/config/component/tab.outline.js +9 -0
- package/dist/src/config/component/text-area.model.d.ts +63 -0
- package/dist/src/config/component/text-area.model.js +76 -0
- package/dist/src/config/component/text-area.outline.d.ts +87 -0
- package/dist/src/config/component/text-area.outline.js +8 -0
- package/dist/src/config/component/typeahead-input.model.d.ts +83 -0
- package/dist/src/config/component/typeahead-input.model.js +97 -0
- package/dist/src/config/component/typeahead-input.outline.d.ts +199 -0
- package/dist/src/config/component/typeahead-input.outline.js +10 -0
- package/dist/src/config/component/validation-summary.model.d.ts +42 -0
- package/dist/src/config/component/validation-summary.model.js +60 -0
- package/dist/src/config/component/validation-summary.outline.d.ts +63 -0
- package/dist/src/config/component/validation-summary.outline.js +6 -0
- package/dist/src/config/dictionary.model.d.ts +648 -0
- package/dist/src/config/dictionary.model.js +181 -0
- package/dist/src/config/dictionary.outline.d.ts +96 -0
- package/dist/src/config/dictionary.outline.js +3 -0
- package/dist/src/config/field-component.model.d.ts +7 -0
- package/dist/src/config/field-component.model.js +11 -0
- package/dist/src/config/field-component.outline.d.ts +20 -0
- package/dist/src/config/field-component.outline.js +3 -0
- package/dist/src/config/field-layout.model.d.ts +19 -0
- package/dist/src/config/field-layout.model.js +23 -0
- package/dist/src/config/field-layout.outline.d.ts +42 -0
- package/dist/src/config/field-layout.outline.js +3 -0
- package/dist/src/config/field-model.model.d.ts +21 -0
- package/dist/src/config/field-model.model.js +24 -0
- package/dist/src/config/field-model.outline.d.ts +63 -0
- package/dist/src/config/field-model.outline.js +3 -0
- package/dist/src/config/field.model.d.ts +12 -0
- package/dist/src/config/field.model.js +12 -0
- package/dist/src/config/field.outline.d.ts +19 -0
- package/dist/src/config/field.outline.js +3 -0
- package/dist/src/config/form-behaviour.outline.d.ts +128 -0
- package/dist/src/config/form-behaviour.outline.js +40 -0
- package/dist/src/config/form-component.model.d.ts +38 -0
- package/dist/src/config/form-component.model.js +36 -0
- package/dist/src/config/form-component.outline.d.ts +305 -0
- package/dist/src/config/form-component.outline.js +27 -0
- package/dist/src/config/form-config.model.d.ts +33 -0
- package/dist/src/config/form-config.model.js +36 -0
- package/dist/src/config/form-config.outline.d.ts +111 -0
- package/dist/src/config/form-config.outline.js +3 -0
- package/dist/src/config/form-override.model.d.ts +146 -0
- package/dist/src/config/form-override.model.js +1523 -0
- package/dist/src/config/form-override.outline.d.ts +15 -0
- package/dist/src/config/form-override.outline.js +3 -0
- package/dist/src/config/form-prehydrate.outline.d.ts +17 -0
- package/dist/src/config/form-prehydrate.outline.js +5 -0
- package/dist/src/config/form-types.model.d.ts +6 -0
- package/dist/src/config/form-types.model.js +23 -0
- package/dist/src/config/form-types.outline.d.ts +48 -0
- package/dist/src/config/form-types.outline.js +137 -0
- package/dist/src/config/helpers.d.ts +31 -0
- package/dist/src/config/helpers.js +122 -0
- package/dist/src/config/names/naming-helpers.d.ts +112 -0
- package/dist/src/config/names/naming-helpers.js +188 -0
- package/dist/src/config/names/query-helpers.d.ts +43 -0
- package/dist/src/config/names/query-helpers.js +59 -0
- package/dist/src/config/shared.outline.d.ts +54 -0
- package/dist/src/config/shared.outline.js +41 -0
- package/dist/src/config/visitor/base.model.d.ts +143 -0
- package/dist/src/config/visitor/base.model.js +336 -0
- package/dist/src/config/visitor/base.outline.d.ts +146 -0
- package/dist/src/config/visitor/base.outline.js +3 -0
- package/dist/src/config/visitor/common.model.d.ts +119 -0
- package/dist/src/config/visitor/common.model.js +422 -0
- package/dist/src/date-format-helpers.d.ts +1 -0
- package/dist/src/date-format-helpers.js +21 -0
- package/dist/src/handlebars-helpers.d.ts +258 -0
- package/dist/src/handlebars-helpers.js +715 -0
- package/dist/src/html-helpers.d.ts +15 -0
- package/dist/src/html-helpers.js +42 -0
- package/dist/src/index.d.ts +118 -3
- package/dist/src/index.js +127 -2
- package/dist/src/jsonata-helpers.d.ts +40 -0
- package/dist/src/jsonata-helpers.js +118 -0
- package/dist/src/logger.interface.d.ts +14 -0
- package/dist/src/logger.interface.js +3 -0
- package/dist/src/record.model.d.ts +23 -0
- package/dist/src/record.model.js +19 -1
- package/dist/src/report.model.d.ts +46 -0
- package/dist/src/status.model.d.ts +22 -0
- package/dist/src/status.model.js +28 -0
- package/dist/src/template.outline.d.ts +82 -0
- package/dist/src/template.outline.js +14 -0
- package/dist/src/translation-helpers.d.ts +26 -0
- package/dist/src/translation-helpers.js +71 -0
- package/dist/src/validation/form.model.d.ts +306 -24
- package/dist/src/validation/form.model.js +29 -1
- package/dist/src/validation/helpers.d.ts +15 -7
- package/dist/src/validation/helpers.js +49 -13
- package/dist/src/validation/validators-support.d.ts +39 -2
- package/dist/src/validation/validators-support.js +162 -12
- package/dist/src/validation/validators.d.ts +28 -0
- package/dist/src/validation/validators.js +531 -0
- package/package.json +51 -34
- package/LICENSE +0 -674
- package/dist/src/validation/index.d.ts +0 -3
- package/dist/src/validation/index.js +0 -20
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { AvailableFieldLayoutDefinitionOutlines, AvailableFormComponentDefinitionFrames, AvailableFormComponentDefinitionOutlines, AvailableFieldLayoutDefinitionFrames } from "../dictionary.outline";
|
|
2
|
+
import { FieldModelConfigFrame, FieldModelConfigOutline, FieldModelDefinitionFrame, FieldModelDefinitionOutline } from "../field-model.outline";
|
|
3
|
+
import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
|
|
4
|
+
import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
|
|
5
|
+
import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FieldModelConfigFrameKindType, FieldModelConfigKindType, FieldModelDefinitionFrameKindType, FieldModelDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
|
|
6
|
+
export declare const GroupFieldComponentName: "GroupComponent";
|
|
7
|
+
export type GroupFieldComponentNameType = typeof GroupFieldComponentName;
|
|
8
|
+
export interface GroupFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
9
|
+
componentDefinitions: AvailableFormComponentDefinitionFrames[];
|
|
10
|
+
}
|
|
11
|
+
export interface GroupFieldComponentConfigOutline extends GroupFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
12
|
+
componentDefinitions: AvailableFormComponentDefinitionOutlines[];
|
|
13
|
+
}
|
|
14
|
+
export interface GroupFieldModelConfigFrame extends FieldModelConfigFrame<GroupFieldModelValueType> {
|
|
15
|
+
}
|
|
16
|
+
export interface GroupFieldModelConfigOutline extends GroupFieldModelConfigFrame, FieldModelConfigOutline<GroupFieldModelValueType> {
|
|
17
|
+
}
|
|
18
|
+
export declare const GroupFieldModelName: "GroupModel";
|
|
19
|
+
export type GroupFieldModelNameType = typeof GroupFieldModelName;
|
|
20
|
+
export type GroupFieldModelValueType = Record<string, unknown>;
|
|
21
|
+
export interface GroupFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
22
|
+
class: GroupFieldComponentNameType;
|
|
23
|
+
config?: GroupFieldComponentConfigFrame;
|
|
24
|
+
}
|
|
25
|
+
export interface GroupFieldComponentDefinitionOutline extends GroupFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
26
|
+
class: GroupFieldComponentNameType;
|
|
27
|
+
config?: GroupFieldComponentConfigOutline;
|
|
28
|
+
}
|
|
29
|
+
export interface GroupFieldModelDefinitionFrame extends FieldModelDefinitionFrame<GroupFieldModelValueType> {
|
|
30
|
+
class: GroupFieldModelNameType;
|
|
31
|
+
config?: GroupFieldModelConfigFrame;
|
|
32
|
+
}
|
|
33
|
+
export interface GroupFieldModelDefinitionOutline extends GroupFieldModelDefinitionFrame, FieldModelDefinitionOutline<GroupFieldModelValueType> {
|
|
34
|
+
class: GroupFieldModelNameType;
|
|
35
|
+
config?: GroupFieldModelConfigOutline;
|
|
36
|
+
}
|
|
37
|
+
export interface GroupFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
38
|
+
component: GroupFieldComponentDefinitionFrame;
|
|
39
|
+
model?: GroupFieldModelDefinitionFrame;
|
|
40
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Groups child form definitions and their values into a structured object.
|
|
44
|
+
*
|
|
45
|
+
* @extensionPoint Use `GroupComponent` with `GroupModel` to create a nested form section and model scope.
|
|
46
|
+
* @see https://github.com/redbox-mint/redbox-portal/wiki/Configuring-Record-Forms
|
|
47
|
+
*/
|
|
48
|
+
export interface GroupFormComponentDefinitionOutline extends GroupFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
49
|
+
component: GroupFieldComponentDefinitionOutline;
|
|
50
|
+
model?: GroupFieldModelDefinitionOutline;
|
|
51
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
52
|
+
}
|
|
53
|
+
export type GroupTypes = {
|
|
54
|
+
kind: FieldComponentConfigFrameKindType;
|
|
55
|
+
class: GroupFieldComponentConfigFrame;
|
|
56
|
+
} | {
|
|
57
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
58
|
+
class: GroupFieldComponentDefinitionFrame;
|
|
59
|
+
} | {
|
|
60
|
+
kind: FieldModelConfigFrameKindType;
|
|
61
|
+
class: GroupFieldModelConfigFrame;
|
|
62
|
+
} | {
|
|
63
|
+
kind: FieldModelDefinitionFrameKindType;
|
|
64
|
+
class: GroupFieldModelDefinitionFrame;
|
|
65
|
+
} | {
|
|
66
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
67
|
+
class: GroupFormComponentDefinitionFrame;
|
|
68
|
+
} | {
|
|
69
|
+
kind: FieldComponentConfigKindType;
|
|
70
|
+
class: GroupFieldComponentConfigOutline;
|
|
71
|
+
} | {
|
|
72
|
+
kind: FieldComponentDefinitionKindType;
|
|
73
|
+
class: GroupFieldComponentDefinitionOutline;
|
|
74
|
+
} | {
|
|
75
|
+
kind: FieldModelConfigKindType;
|
|
76
|
+
class: GroupFieldModelConfigOutline;
|
|
77
|
+
} | {
|
|
78
|
+
kind: FieldModelDefinitionKindType;
|
|
79
|
+
class: GroupFieldModelDefinitionOutline;
|
|
80
|
+
} | {
|
|
81
|
+
kind: FormComponentDefinitionKindType;
|
|
82
|
+
class: GroupFormComponentDefinitionOutline;
|
|
83
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupFieldModelName = exports.GroupFieldComponentName = void 0;
|
|
4
|
+
/* Group Component */
|
|
5
|
+
exports.GroupFieldComponentName = "GroupComponent";
|
|
6
|
+
/* Group Model */
|
|
7
|
+
exports.GroupFieldModelName = "GroupModel";
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L2dyb3VwLm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBMEJBLHFCQUFxQjtBQUVSLFFBQUEsdUJBQXVCLEdBQUcsZ0JBQXlCLENBQUM7QUFrQmpFLGlCQUFpQjtBQUVKLFFBQUEsbUJBQW1CLEdBQUcsWUFBcUIsQ0FBQyJ9
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FieldLayoutConfig, FieldLayoutDefinition } from '../field-layout.model';
|
|
2
|
+
import { FormConfigVisitorOutline } from '../visitor/base.outline';
|
|
3
|
+
import { InlineFieldLayoutConfigOutline, InlineFieldLayoutDefinitionOutline } from './inline-layout.outline';
|
|
4
|
+
export declare class InlineFieldLayoutConfig extends FieldLayoutConfig implements InlineFieldLayoutConfigOutline {
|
|
5
|
+
constructor();
|
|
6
|
+
}
|
|
7
|
+
export declare class InlineFieldLayoutDefinition extends FieldLayoutDefinition implements InlineFieldLayoutDefinitionOutline {
|
|
8
|
+
class: "InlineLayout";
|
|
9
|
+
config?: InlineFieldLayoutConfigOutline;
|
|
10
|
+
constructor();
|
|
11
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export declare const InlineLayoutMap: ({
|
|
14
|
+
kind: "FieldLayoutConfigKind";
|
|
15
|
+
def: typeof InlineFieldLayoutConfig;
|
|
16
|
+
class?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
kind: "FieldLayoutDefinitionKind";
|
|
19
|
+
def: typeof InlineFieldLayoutDefinition;
|
|
20
|
+
class: "InlineLayout";
|
|
21
|
+
})[];
|
|
22
|
+
export declare const InlineLayoutDefaults: {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InlineLayoutDefaults = exports.InlineLayoutMap = exports.InlineFieldLayoutDefinition = exports.InlineFieldLayoutConfig = void 0;
|
|
4
|
+
const field_layout_model_1 = require("../field-layout.model");
|
|
5
|
+
const inline_layout_outline_1 = require("./inline-layout.outline");
|
|
6
|
+
const shared_outline_1 = require("../shared.outline");
|
|
7
|
+
class InlineFieldLayoutConfig extends field_layout_model_1.FieldLayoutConfig {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.InlineFieldLayoutConfig = InlineFieldLayoutConfig;
|
|
13
|
+
class InlineFieldLayoutDefinition extends field_layout_model_1.FieldLayoutDefinition {
|
|
14
|
+
class = inline_layout_outline_1.InlineLayoutName;
|
|
15
|
+
config;
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
}
|
|
19
|
+
async accept(visitor) {
|
|
20
|
+
await visitor.visitInlineFieldLayoutDefinition(this);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.InlineFieldLayoutDefinition = InlineFieldLayoutDefinition;
|
|
24
|
+
exports.InlineLayoutMap = [
|
|
25
|
+
{ kind: shared_outline_1.FieldLayoutConfigKind, def: InlineFieldLayoutConfig },
|
|
26
|
+
{ kind: shared_outline_1.FieldLayoutDefinitionKind, def: InlineFieldLayoutDefinition, class: inline_layout_outline_1.InlineLayoutName },
|
|
27
|
+
];
|
|
28
|
+
exports.InlineLayoutDefaults = {};
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLWxheW91dC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L2lubGluZS1sYXlvdXQubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQWlGO0FBRWpGLG1FQUlpQztBQUNqQyxzREFBcUY7QUFFckYsTUFBYSx1QkFBd0IsU0FBUSxzQ0FBaUI7SUFDNUQ7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7Q0FDRjtBQUpELDBEQUlDO0FBRUQsTUFBYSwyQkFBNEIsU0FBUSwwQ0FBcUI7SUFDcEUsS0FBSyxHQUFHLHdDQUFnQixDQUFDO0lBQ3pCLE1BQU0sQ0FBa0M7SUFFeEM7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7SUFFRCxLQUFLLENBQUMsTUFBTSxDQUFDLE9BQWlDO1FBQzVDLE1BQU0sT0FBTyxDQUFDLGdDQUFnQyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3ZELENBQUM7Q0FDRjtBQVhELGtFQVdDO0FBRVksUUFBQSxlQUFlLEdBQUc7SUFDN0IsRUFBRSxJQUFJLEVBQUUsc0NBQXFCLEVBQUUsR0FBRyxFQUFFLHVCQUF1QixFQUFFO0lBQzdELEVBQUUsSUFBSSxFQUFFLDBDQUF5QixFQUFFLEdBQUcsRUFBRSwyQkFBMkIsRUFBRSxLQUFLLEVBQUUsd0NBQWdCLEVBQUU7Q0FDL0YsQ0FBQztBQUNXLFFBQUEsb0JBQW9CLEdBQUcsRUFBRSxDQUFDIn0=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FieldLayoutConfigFrame, FieldLayoutConfigOutline, FieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline } from '../field-layout.outline';
|
|
2
|
+
import { FieldLayoutConfigFrameKindType, FieldLayoutConfigKindType, FieldLayoutDefinitionFrameKindType, FieldLayoutDefinitionKindType } from '../shared.outline';
|
|
3
|
+
export declare const InlineLayoutName: "InlineLayout";
|
|
4
|
+
export type InlineLayoutNameType = typeof InlineLayoutName;
|
|
5
|
+
export interface InlineFieldLayoutConfigFrame extends FieldLayoutConfigFrame {
|
|
6
|
+
}
|
|
7
|
+
export interface InlineFieldLayoutConfigOutline extends InlineFieldLayoutConfigFrame, FieldLayoutConfigOutline {
|
|
8
|
+
}
|
|
9
|
+
export interface InlineFieldLayoutDefinitionFrame extends FieldLayoutDefinitionFrame {
|
|
10
|
+
class: InlineLayoutNameType;
|
|
11
|
+
config?: InlineFieldLayoutConfigFrame;
|
|
12
|
+
}
|
|
13
|
+
export interface InlineFieldLayoutDefinitionOutline extends InlineFieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline {
|
|
14
|
+
class: InlineLayoutNameType;
|
|
15
|
+
config?: InlineFieldLayoutConfigOutline;
|
|
16
|
+
}
|
|
17
|
+
export type InlineLayoutTypes = {
|
|
18
|
+
kind: FieldLayoutConfigFrameKindType;
|
|
19
|
+
class: InlineFieldLayoutConfigFrame;
|
|
20
|
+
} | {
|
|
21
|
+
kind: FieldLayoutConfigKindType;
|
|
22
|
+
class: InlineFieldLayoutConfigOutline;
|
|
23
|
+
} | {
|
|
24
|
+
kind: FieldLayoutDefinitionFrameKindType;
|
|
25
|
+
class: InlineFieldLayoutDefinitionFrame;
|
|
26
|
+
} | {
|
|
27
|
+
kind: FieldLayoutDefinitionKindType;
|
|
28
|
+
class: InlineFieldLayoutDefinitionOutline;
|
|
29
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InlineLayoutName = void 0;
|
|
4
|
+
exports.InlineLayoutName = `InlineLayout`;
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLWxheW91dC5vdXRsaW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvaW5saW5lLWxheW91dC5vdXRsaW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWFhLFFBQUEsZ0JBQWdCLEdBQUcsY0FBdUIsQ0FBQyJ9
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { FormConfigVisitorOutline } from "../visitor/base.outline";
|
|
2
|
+
import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
|
|
3
|
+
import { IntegrationStatusFieldComponentConfigOutline, IntegrationStatusFieldComponentDefinitionOutline, IntegrationStatusFormComponentDefinitionOutline } from "./integration-status.outline";
|
|
4
|
+
import { FormComponentDefinition } from "../form-component.model";
|
|
5
|
+
import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
6
|
+
export declare class IntegrationStatusFieldComponentConfig extends FieldComponentConfig implements IntegrationStatusFieldComponentConfigOutline {
|
|
7
|
+
integrationNames?: string[];
|
|
8
|
+
pollIntervalMs: number;
|
|
9
|
+
maxPollAttempts: number;
|
|
10
|
+
rapidPollDurationMs: number;
|
|
11
|
+
rapidPollIntervalMs: number;
|
|
12
|
+
heading?: string;
|
|
13
|
+
technicalDetailRoles: string[];
|
|
14
|
+
hideWhenInactive: boolean;
|
|
15
|
+
constructor();
|
|
16
|
+
}
|
|
17
|
+
export declare class IntegrationStatusFieldComponentDefinition extends FieldComponentDefinition implements IntegrationStatusFieldComponentDefinitionOutline {
|
|
18
|
+
class: "IntegrationStatusComponent";
|
|
19
|
+
config?: IntegrationStatusFieldComponentConfigOutline;
|
|
20
|
+
constructor();
|
|
21
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
export declare class IntegrationStatusFormComponentDefinition extends FormComponentDefinition implements IntegrationStatusFormComponentDefinitionOutline {
|
|
24
|
+
component: IntegrationStatusFieldComponentDefinitionOutline;
|
|
25
|
+
model?: never;
|
|
26
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
27
|
+
constructor();
|
|
28
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
export declare const IntegrationStatusMap: ({
|
|
31
|
+
kind: "FieldComponentConfigKind";
|
|
32
|
+
def: typeof IntegrationStatusFieldComponentConfig;
|
|
33
|
+
class?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
kind: "FieldComponentDefinitionKind";
|
|
36
|
+
def: typeof IntegrationStatusFieldComponentDefinition;
|
|
37
|
+
class: "IntegrationStatusComponent";
|
|
38
|
+
} | {
|
|
39
|
+
kind: "FormComponentDefinitionKind";
|
|
40
|
+
def: typeof IntegrationStatusFormComponentDefinition;
|
|
41
|
+
class: "IntegrationStatusComponent";
|
|
42
|
+
})[];
|
|
43
|
+
export declare const IntegrationStatusDefaults: {
|
|
44
|
+
FormComponentDefinitionKind: {
|
|
45
|
+
IntegrationStatusComponent: {
|
|
46
|
+
FieldComponentDefinitionKind: "IntegrationStatusComponent";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IntegrationStatusDefaults = exports.IntegrationStatusMap = exports.IntegrationStatusFormComponentDefinition = exports.IntegrationStatusFieldComponentDefinition = exports.IntegrationStatusFieldComponentConfig = void 0;
|
|
4
|
+
const shared_outline_1 = require("../shared.outline");
|
|
5
|
+
const field_component_model_1 = require("../field-component.model");
|
|
6
|
+
const integration_status_outline_1 = require("./integration-status.outline");
|
|
7
|
+
const form_component_model_1 = require("../form-component.model");
|
|
8
|
+
class IntegrationStatusFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
9
|
+
integrationNames;
|
|
10
|
+
pollIntervalMs = 5000;
|
|
11
|
+
maxPollAttempts = 60;
|
|
12
|
+
rapidPollDurationMs = 3000;
|
|
13
|
+
rapidPollIntervalMs = 100;
|
|
14
|
+
heading;
|
|
15
|
+
technicalDetailRoles = ['Admin', 'Librarians'];
|
|
16
|
+
hideWhenInactive = false;
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.IntegrationStatusFieldComponentConfig = IntegrationStatusFieldComponentConfig;
|
|
22
|
+
class IntegrationStatusFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
23
|
+
class = integration_status_outline_1.IntegrationStatusComponentName;
|
|
24
|
+
config;
|
|
25
|
+
constructor() {
|
|
26
|
+
super();
|
|
27
|
+
}
|
|
28
|
+
async accept(visitor) {
|
|
29
|
+
await visitor.visitIntegrationStatusFieldComponentDefinition(this);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.IntegrationStatusFieldComponentDefinition = IntegrationStatusFieldComponentDefinition;
|
|
33
|
+
class IntegrationStatusFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
34
|
+
component;
|
|
35
|
+
model;
|
|
36
|
+
layout;
|
|
37
|
+
constructor() {
|
|
38
|
+
super();
|
|
39
|
+
}
|
|
40
|
+
async accept(visitor) {
|
|
41
|
+
await visitor.visitIntegrationStatusFormComponentDefinition(this);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.IntegrationStatusFormComponentDefinition = IntegrationStatusFormComponentDefinition;
|
|
45
|
+
exports.IntegrationStatusMap = [
|
|
46
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: IntegrationStatusFieldComponentConfig },
|
|
47
|
+
{
|
|
48
|
+
kind: shared_outline_1.FieldComponentDefinitionKind,
|
|
49
|
+
def: IntegrationStatusFieldComponentDefinition,
|
|
50
|
+
class: integration_status_outline_1.IntegrationStatusComponentName
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
kind: shared_outline_1.FormComponentDefinitionKind,
|
|
54
|
+
def: IntegrationStatusFormComponentDefinition,
|
|
55
|
+
class: integration_status_outline_1.IntegrationStatusComponentName
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
exports.IntegrationStatusDefaults = {
|
|
59
|
+
[shared_outline_1.FormComponentDefinitionKind]: {
|
|
60
|
+
[integration_status_outline_1.IntegrationStatusComponentName]: {
|
|
61
|
+
[shared_outline_1.FieldComponentDefinitionKind]: integration_status_outline_1.IntegrationStatusComponentName,
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWdyYXRpb24tc3RhdHVzLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvaW50ZWdyYXRpb24tc3RhdHVzLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHNEQUFzSDtBQUN0SCxvRUFBd0Y7QUFDeEYsNkVBS3NDO0FBQ3RDLGtFQUFnRTtBQUdoRSxNQUFhLHFDQUFzQyxTQUFRLDRDQUFvQjtJQUMzRSxnQkFBZ0IsQ0FBWTtJQUM1QixjQUFjLEdBQUcsSUFBSSxDQUFDO0lBQ3RCLGVBQWUsR0FBRyxFQUFFLENBQUM7SUFDckIsbUJBQW1CLEdBQUcsSUFBSSxDQUFDO0lBQzNCLG1CQUFtQixHQUFHLEdBQUcsQ0FBQztJQUMxQixPQUFPLENBQVU7SUFDakIsb0JBQW9CLEdBQWEsQ0FBQyxPQUFPLEVBQUUsWUFBWSxDQUFDLENBQUM7SUFDekQsZ0JBQWdCLEdBQUcsS0FBSyxDQUFDO0lBRXpCO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDO0NBQ0o7QUFiRCxzRkFhQztBQUVELE1BQWEseUNBQTBDLFNBQVEsZ0RBQXdCO0lBQ25GLEtBQUssR0FBRywyREFBOEIsQ0FBQztJQUN2QyxNQUFNLENBQWdEO0lBRXREO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDO0lBRUQsS0FBSyxDQUFDLE1BQU0sQ0FBQyxPQUFpQztRQUMxQyxNQUFNLE9BQU8sQ0FBQyw4Q0FBOEMsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN2RSxDQUFDO0NBQ0o7QUFYRCw4RkFXQztBQUVELE1BQWEsd0NBQXlDLFNBQVEsOENBQXVCO0lBQ2pGLFNBQVMsQ0FBb0Q7SUFDN0QsS0FBSyxDQUFTO0lBQ2QsTUFBTSxDQUEwQztJQUVoRDtRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQztJQUVELEtBQUssQ0FBQyxNQUFNLENBQUMsT0FBaUM7UUFDMUMsTUFBTSxPQUFPLENBQUMsNkNBQTZDLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDdEUsQ0FBQztDQUNKO0FBWkQsNEZBWUM7QUFFWSxRQUFBLG9CQUFvQixHQUFHO0lBQ2hDLEVBQUMsSUFBSSxFQUFFLHlDQUF3QixFQUFFLEdBQUcsRUFBRSxxQ0FBcUMsRUFBQztJQUM1RTtRQUNJLElBQUksRUFBRSw2Q0FBNEI7UUFDbEMsR0FBRyxFQUFFLHlDQUF5QztRQUM5QyxLQUFLLEVBQUUsMkRBQThCO0tBQ3hDO0lBQ0Q7UUFDSSxJQUFJLEVBQUUsNENBQTJCO1FBQ2pDLEdBQUcsRUFBRSx3Q0FBd0M7UUFDN0MsS0FBSyxFQUFFLDJEQUE4QjtLQUN4QztDQUNKLENBQUM7QUFDVyxRQUFBLHlCQUF5QixHQUFHO0lBQ3JDLENBQUMsNENBQTJCLENBQUMsRUFBRTtRQUMzQixDQUFDLDJEQUE4QixDQUFDLEVBQUU7WUFDOUIsQ0FBQyw2Q0FBNEIsQ0FBQyxFQUFFLDJEQUE4QjtTQUNqRTtLQUNKO0NBQ0osQ0FBQyJ9
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
|
|
2
|
+
import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
|
|
3
|
+
import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
4
|
+
import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
|
|
5
|
+
export declare const IntegrationStatusComponentName: "IntegrationStatusComponent";
|
|
6
|
+
export type IntegrationStatusComponentNameType = typeof IntegrationStatusComponentName;
|
|
7
|
+
export interface IntegrationStatusFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
8
|
+
integrationNames?: string[];
|
|
9
|
+
pollIntervalMs?: number;
|
|
10
|
+
maxPollAttempts?: number;
|
|
11
|
+
rapidPollDurationMs?: number;
|
|
12
|
+
rapidPollIntervalMs?: number;
|
|
13
|
+
heading?: string;
|
|
14
|
+
technicalDetailRoles?: string[];
|
|
15
|
+
hideWhenInactive?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface IntegrationStatusFieldComponentConfigOutline extends IntegrationStatusFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
18
|
+
}
|
|
19
|
+
export interface IntegrationStatusFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
20
|
+
class: IntegrationStatusComponentNameType;
|
|
21
|
+
config?: IntegrationStatusFieldComponentConfigFrame;
|
|
22
|
+
}
|
|
23
|
+
export interface IntegrationStatusFieldComponentDefinitionOutline extends IntegrationStatusFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
24
|
+
class: IntegrationStatusComponentNameType;
|
|
25
|
+
config?: IntegrationStatusFieldComponentConfigOutline;
|
|
26
|
+
}
|
|
27
|
+
export interface IntegrationStatusFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
28
|
+
component: IntegrationStatusFieldComponentDefinitionFrame;
|
|
29
|
+
model?: never;
|
|
30
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Displays status information for configured external integrations.
|
|
34
|
+
*
|
|
35
|
+
* @extensionPoint Use `IntegrationStatusComponent` to surface integration state without adding a submitted model value.
|
|
36
|
+
* @see https://github.com/redbox-mint/redbox-portal/wiki/Configuring-Record-Forms
|
|
37
|
+
*/
|
|
38
|
+
export interface IntegrationStatusFormComponentDefinitionOutline extends IntegrationStatusFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
39
|
+
component: IntegrationStatusFieldComponentDefinitionOutline;
|
|
40
|
+
model?: never;
|
|
41
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
42
|
+
}
|
|
43
|
+
export type IntegrationStatusTypes = {
|
|
44
|
+
kind: FieldComponentConfigFrameKindType;
|
|
45
|
+
class: IntegrationStatusFieldComponentConfigFrame;
|
|
46
|
+
} | {
|
|
47
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
48
|
+
class: IntegrationStatusFieldComponentDefinitionFrame;
|
|
49
|
+
} | {
|
|
50
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
51
|
+
class: IntegrationStatusFormComponentDefinitionFrame;
|
|
52
|
+
} | {
|
|
53
|
+
kind: FieldComponentConfigKindType;
|
|
54
|
+
class: IntegrationStatusFieldComponentConfigOutline;
|
|
55
|
+
} | {
|
|
56
|
+
kind: FieldComponentDefinitionKindType;
|
|
57
|
+
class: IntegrationStatusFieldComponentDefinitionOutline;
|
|
58
|
+
} | {
|
|
59
|
+
kind: FormComponentDefinitionKindType;
|
|
60
|
+
class: IntegrationStatusFormComponentDefinitionOutline;
|
|
61
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IntegrationStatusComponentName = void 0;
|
|
4
|
+
exports.IntegrationStatusComponentName = "IntegrationStatusComponent";
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWdyYXRpb24tc3RhdHVzLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC9pbnRlZ3JhdGlvbi1zdGF0dXMub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFjYSxRQUFBLDhCQUE4QixHQUFHLDRCQUFxQyxDQUFDIn0=
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { FieldModelConfig, FieldModelDefinition } from "../field-model.model";
|
|
2
|
+
import { FormComponentDefinition } from "../form-component.model";
|
|
3
|
+
import { FormConfigVisitorOutline } from "../visitor/base.outline";
|
|
4
|
+
import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
|
|
5
|
+
import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
6
|
+
import { MapDrawingMode, MapFieldComponentConfigOutline, MapFieldComponentDefinitionOutline, MapFieldModelConfigOutline, MapFieldModelDefinitionOutline, MapFormComponentDefinitionOutline, MapModelValueType, MapTileLayerConfig } from "./map.outline";
|
|
7
|
+
export declare class MapFieldComponentConfig extends FieldComponentConfig implements MapFieldComponentConfigOutline {
|
|
8
|
+
center: [number, number];
|
|
9
|
+
zoom: number;
|
|
10
|
+
mapHeight: string;
|
|
11
|
+
tileLayers: MapTileLayerConfig[];
|
|
12
|
+
enabledModes: MapDrawingMode[];
|
|
13
|
+
enableImport: boolean;
|
|
14
|
+
coordinatesHelp?: string;
|
|
15
|
+
coordinatePrecision: number;
|
|
16
|
+
constructor();
|
|
17
|
+
}
|
|
18
|
+
export declare class MapFieldComponentDefinition extends FieldComponentDefinition implements MapFieldComponentDefinitionOutline {
|
|
19
|
+
class: "MapComponent";
|
|
20
|
+
config?: MapFieldComponentConfigOutline;
|
|
21
|
+
constructor();
|
|
22
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
export declare class MapFieldModelConfig extends FieldModelConfig<MapModelValueType> implements MapFieldModelConfigOutline {
|
|
25
|
+
defaultValue: import("./map.outline").MapFeatureCollection;
|
|
26
|
+
constructor();
|
|
27
|
+
}
|
|
28
|
+
export declare class MapFieldModelDefinition extends FieldModelDefinition<MapModelValueType> implements MapFieldModelDefinitionOutline {
|
|
29
|
+
class: "MapModel";
|
|
30
|
+
config?: MapFieldModelConfigOutline;
|
|
31
|
+
constructor();
|
|
32
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
export declare class MapFormComponentDefinition extends FormComponentDefinition implements MapFormComponentDefinitionOutline {
|
|
35
|
+
component: MapFieldComponentDefinitionOutline;
|
|
36
|
+
model?: MapFieldModelDefinitionOutline;
|
|
37
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
38
|
+
constructor();
|
|
39
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
40
|
+
}
|
|
41
|
+
export declare const MapMap: ({
|
|
42
|
+
kind: "FieldComponentConfigKind";
|
|
43
|
+
def: typeof MapFieldComponentConfig;
|
|
44
|
+
class?: undefined;
|
|
45
|
+
} | {
|
|
46
|
+
kind: "FieldComponentDefinitionKind";
|
|
47
|
+
def: typeof MapFieldComponentDefinition;
|
|
48
|
+
class: "MapComponent";
|
|
49
|
+
} | {
|
|
50
|
+
kind: "FieldModelConfigKind";
|
|
51
|
+
def: typeof MapFieldModelConfig;
|
|
52
|
+
class?: undefined;
|
|
53
|
+
} | {
|
|
54
|
+
kind: "FieldModelDefinitionKind";
|
|
55
|
+
def: typeof MapFieldModelDefinition;
|
|
56
|
+
class: "MapModel";
|
|
57
|
+
} | {
|
|
58
|
+
kind: "FormComponentDefinitionKind";
|
|
59
|
+
def: typeof MapFormComponentDefinition;
|
|
60
|
+
class: "MapComponent";
|
|
61
|
+
})[];
|
|
62
|
+
export declare const MapDefaults: {
|
|
63
|
+
FormComponentDefinitionKind: {
|
|
64
|
+
MapComponent: {
|
|
65
|
+
FieldComponentDefinitionKind: "MapComponent";
|
|
66
|
+
FieldModelDefinitionKind: "MapModel";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapDefaults = exports.MapMap = exports.MapFormComponentDefinition = exports.MapFieldModelDefinition = exports.MapFieldModelConfig = exports.MapFieldComponentDefinition = exports.MapFieldComponentConfig = void 0;
|
|
4
|
+
const field_model_model_1 = require("../field-model.model");
|
|
5
|
+
const form_component_model_1 = require("../form-component.model");
|
|
6
|
+
const shared_outline_1 = require("../shared.outline");
|
|
7
|
+
const field_component_model_1 = require("../field-component.model");
|
|
8
|
+
const map_outline_1 = require("./map.outline");
|
|
9
|
+
const DefaultFeatureCollection = {
|
|
10
|
+
type: "FeatureCollection",
|
|
11
|
+
features: []
|
|
12
|
+
};
|
|
13
|
+
/* Map Component */
|
|
14
|
+
class MapFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
15
|
+
center = [-24.67, 134.07];
|
|
16
|
+
zoom = 4;
|
|
17
|
+
mapHeight = "450px";
|
|
18
|
+
tileLayers = [];
|
|
19
|
+
enabledModes = ["point", "polygon", "linestring", "rectangle", "circle", "select"];
|
|
20
|
+
enableImport = true;
|
|
21
|
+
coordinatesHelp;
|
|
22
|
+
coordinatePrecision = 15;
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.MapFieldComponentConfig = MapFieldComponentConfig;
|
|
28
|
+
class MapFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
29
|
+
class = map_outline_1.MapComponentName;
|
|
30
|
+
config;
|
|
31
|
+
constructor() {
|
|
32
|
+
super();
|
|
33
|
+
}
|
|
34
|
+
async accept(visitor) {
|
|
35
|
+
await visitor.visitMapFieldComponentDefinition(this);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.MapFieldComponentDefinition = MapFieldComponentDefinition;
|
|
39
|
+
/* Map Model */
|
|
40
|
+
class MapFieldModelConfig extends field_model_model_1.FieldModelConfig {
|
|
41
|
+
defaultValue = DefaultFeatureCollection;
|
|
42
|
+
constructor() {
|
|
43
|
+
super();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.MapFieldModelConfig = MapFieldModelConfig;
|
|
47
|
+
class MapFieldModelDefinition extends field_model_model_1.FieldModelDefinition {
|
|
48
|
+
class = map_outline_1.MapModelName;
|
|
49
|
+
config;
|
|
50
|
+
constructor() {
|
|
51
|
+
super();
|
|
52
|
+
}
|
|
53
|
+
async accept(visitor) {
|
|
54
|
+
await visitor.visitMapFieldModelDefinition(this);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.MapFieldModelDefinition = MapFieldModelDefinition;
|
|
58
|
+
/* Map Form Component */
|
|
59
|
+
class MapFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
60
|
+
component;
|
|
61
|
+
model;
|
|
62
|
+
layout;
|
|
63
|
+
constructor() {
|
|
64
|
+
super();
|
|
65
|
+
}
|
|
66
|
+
async accept(visitor) {
|
|
67
|
+
await visitor.visitMapFormComponentDefinition(this);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.MapFormComponentDefinition = MapFormComponentDefinition;
|
|
71
|
+
exports.MapMap = [
|
|
72
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: MapFieldComponentConfig },
|
|
73
|
+
{ kind: shared_outline_1.FieldComponentDefinitionKind, def: MapFieldComponentDefinition, class: map_outline_1.MapComponentName },
|
|
74
|
+
{ kind: shared_outline_1.FieldModelConfigKind, def: MapFieldModelConfig },
|
|
75
|
+
{ kind: shared_outline_1.FieldModelDefinitionKind, def: MapFieldModelDefinition, class: map_outline_1.MapModelName },
|
|
76
|
+
{ kind: shared_outline_1.FormComponentDefinitionKind, def: MapFormComponentDefinition, class: map_outline_1.MapComponentName },
|
|
77
|
+
];
|
|
78
|
+
exports.MapDefaults = {
|
|
79
|
+
[shared_outline_1.FormComponentDefinitionKind]: {
|
|
80
|
+
[map_outline_1.MapComponentName]: {
|
|
81
|
+
[shared_outline_1.FieldComponentDefinitionKind]: map_outline_1.MapComponentName,
|
|
82
|
+
[shared_outline_1.FieldModelDefinitionKind]: map_outline_1.MapModelName,
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvbWFwLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDREQUE0RTtBQUM1RSxrRUFBZ0U7QUFFaEUsc0RBSzJCO0FBQzNCLG9FQUF3RjtBQUV4RiwrQ0FXdUI7QUFFdkIsTUFBTSx3QkFBd0IsR0FBRztJQUM3QixJQUFJLEVBQUUsbUJBQW1CO0lBQ3pCLFFBQVEsRUFBRSxFQUFFO0NBQ00sQ0FBQztBQUV2QixtQkFBbUI7QUFFbkIsTUFBYSx1QkFBd0IsU0FBUSw0Q0FBb0I7SUFDN0QsTUFBTSxHQUFxQixDQUFDLENBQUMsS0FBSyxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBQzVDLElBQUksR0FBRyxDQUFDLENBQUM7SUFDVCxTQUFTLEdBQUcsT0FBTyxDQUFDO0lBQ3BCLFVBQVUsR0FBeUIsRUFBRSxDQUFDO0lBQ3RDLFlBQVksR0FBcUIsQ0FBQyxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQUUsUUFBUSxFQUFFLFFBQVEsQ0FBQyxDQUFDO0lBQ3JHLFlBQVksR0FBRyxJQUFJLENBQUM7SUFDcEIsZUFBZSxDQUFVO0lBQ3pCLG1CQUFtQixHQUFHLEVBQUUsQ0FBQztJQUV6QjtRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQztDQUNKO0FBYkQsMERBYUM7QUFFRCxNQUFhLDJCQUE0QixTQUFRLGdEQUF3QjtJQUNyRSxLQUFLLEdBQUcsOEJBQWdCLENBQUM7SUFDekIsTUFBTSxDQUFrQztJQUV4QztRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQztJQUVELEtBQUssQ0FBQyxNQUFNLENBQUMsT0FBaUM7UUFDMUMsTUFBTSxPQUFPLENBQUMsZ0NBQWdDLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDekQsQ0FBQztDQUNKO0FBWEQsa0VBV0M7QUFFRCxlQUFlO0FBRWYsTUFBYSxtQkFBb0IsU0FBUSxvQ0FBbUM7SUFDeEUsWUFBWSxHQUFHLHdCQUF3QixDQUFDO0lBRXhDO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDO0NBQ0o7QUFORCxrREFNQztBQUVELE1BQWEsdUJBQXdCLFNBQVEsd0NBQXVDO0lBQ2hGLEtBQUssR0FBRywwQkFBWSxDQUFDO0lBQ3JCLE1BQU0sQ0FBOEI7SUFFcEM7UUFDSSxLQUFLLEVBQUUsQ0FBQztJQUNaLENBQUM7SUFFRCxLQUFLLENBQUMsTUFBTSxDQUFDLE9BQWlDO1FBQzFDLE1BQU0sT0FBTyxDQUFDLDRCQUE0QixDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3JELENBQUM7Q0FDSjtBQVhELDBEQVdDO0FBRUQsd0JBQXdCO0FBRXhCLE1BQWEsMEJBQTJCLFNBQVEsOENBQXVCO0lBQzVELFNBQVMsQ0FBc0M7SUFDL0MsS0FBSyxDQUFrQztJQUN2QyxNQUFNLENBQTBDO0lBRXZEO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDO0lBRUQsS0FBSyxDQUFDLE1BQU0sQ0FBQyxPQUFpQztRQUMxQyxNQUFNLE9BQU8sQ0FBQywrQkFBK0IsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN4RCxDQUFDO0NBQ0o7QUFaRCxnRUFZQztBQUVZLFFBQUEsTUFBTSxHQUFHO0lBQ2xCLEVBQUMsSUFBSSxFQUFFLHlDQUF3QixFQUFFLEdBQUcsRUFBRSx1QkFBdUIsRUFBQztJQUM5RCxFQUFDLElBQUksRUFBRSw2Q0FBNEIsRUFBRSxHQUFHLEVBQUUsMkJBQTJCLEVBQUUsS0FBSyxFQUFFLDhCQUFnQixFQUFDO0lBQy9GLEVBQUMsSUFBSSxFQUFFLHFDQUFvQixFQUFFLEdBQUcsRUFBRSxtQkFBbUIsRUFBQztJQUN0RCxFQUFDLElBQUksRUFBRSx5Q0FBd0IsRUFBRSxHQUFHLEVBQUUsdUJBQXVCLEVBQUUsS0FBSyxFQUFFLDBCQUFZLEVBQUM7SUFDbkYsRUFBQyxJQUFJLEVBQUUsNENBQTJCLEVBQUUsR0FBRyxFQUFFLDBCQUEwQixFQUFFLEtBQUssRUFBRSw4QkFBZ0IsRUFBQztDQUNoRyxDQUFDO0FBQ1csUUFBQSxXQUFXLEdBQUc7SUFDdkIsQ0FBQyw0Q0FBMkIsQ0FBQyxFQUFFO1FBQzNCLENBQUMsOEJBQWdCLENBQUMsRUFBRTtZQUNoQixDQUFDLDZDQUE0QixDQUFDLEVBQUUsOEJBQWdCO1lBQ2hELENBQUMseUNBQXdCLENBQUMsRUFBRSwwQkFBWTtTQUMzQztLQUNKO0NBQ0osQ0FBQyJ9
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FieldModelConfigFrameKindType, FieldModelConfigKindType, FieldModelDefinitionFrameKindType, FieldModelDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
|
|
2
|
+
import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
|
|
3
|
+
import { FieldModelConfigFrame, FieldModelConfigOutline, FieldModelDefinitionFrame, FieldModelDefinitionOutline } from "../field-model.outline";
|
|
4
|
+
import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
|
|
5
|
+
import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
6
|
+
export declare const MapComponentName: "MapComponent";
|
|
7
|
+
export type MapComponentNameType = typeof MapComponentName;
|
|
8
|
+
export interface MapFeatureGeometry {
|
|
9
|
+
type: string;
|
|
10
|
+
coordinates?: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface MapFeature {
|
|
13
|
+
type: "Feature";
|
|
14
|
+
id?: string | number;
|
|
15
|
+
geometry: MapFeatureGeometry | null;
|
|
16
|
+
properties?: Record<string, unknown> | null;
|
|
17
|
+
}
|
|
18
|
+
export interface MapFeatureCollection {
|
|
19
|
+
type: "FeatureCollection";
|
|
20
|
+
features: MapFeature[];
|
|
21
|
+
}
|
|
22
|
+
export type MapModelValueType = MapFeatureCollection;
|
|
23
|
+
export type MapDrawingMode = "point" | "polygon" | "linestring" | "rectangle" | "circle" | "select";
|
|
24
|
+
export interface MapTileLayerConfig {
|
|
25
|
+
name: string;
|
|
26
|
+
url: string;
|
|
27
|
+
options?: Record<string, unknown>;
|
|
28
|
+
}
|
|
29
|
+
export interface MapFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
30
|
+
center?: [number, number];
|
|
31
|
+
zoom?: number;
|
|
32
|
+
mapHeight?: string;
|
|
33
|
+
tileLayers?: MapTileLayerConfig[];
|
|
34
|
+
enabledModes?: MapDrawingMode[];
|
|
35
|
+
enableImport?: boolean;
|
|
36
|
+
coordinatesHelp?: string;
|
|
37
|
+
/** Maximum coordinate decimal places retained for TerraDraw. Integer from 0 to 15; defaults to 15. */
|
|
38
|
+
coordinatePrecision?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface MapFieldComponentConfigOutline extends MapFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
41
|
+
}
|
|
42
|
+
export interface MapFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
43
|
+
class: MapComponentNameType;
|
|
44
|
+
config?: MapFieldComponentConfigFrame;
|
|
45
|
+
}
|
|
46
|
+
export interface MapFieldComponentDefinitionOutline extends MapFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
47
|
+
class: MapComponentNameType;
|
|
48
|
+
config?: MapFieldComponentConfigOutline;
|
|
49
|
+
}
|
|
50
|
+
export declare const MapModelName: "MapModel";
|
|
51
|
+
export type MapModelNameType = typeof MapModelName;
|
|
52
|
+
export interface MapFieldModelConfigFrame extends FieldModelConfigFrame<MapModelValueType> {
|
|
53
|
+
}
|
|
54
|
+
export interface MapFieldModelConfigOutline extends MapFieldModelConfigFrame, FieldModelConfigOutline<MapModelValueType> {
|
|
55
|
+
}
|
|
56
|
+
export interface MapFieldModelDefinitionFrame extends FieldModelDefinitionFrame<MapModelValueType> {
|
|
57
|
+
class: MapModelNameType;
|
|
58
|
+
config?: MapFieldModelConfigFrame;
|
|
59
|
+
}
|
|
60
|
+
export interface MapFieldModelDefinitionOutline extends MapFieldModelDefinitionFrame, FieldModelDefinitionOutline<MapModelValueType> {
|
|
61
|
+
class: MapModelNameType;
|
|
62
|
+
config?: MapFieldModelConfigOutline;
|
|
63
|
+
}
|
|
64
|
+
export interface MapFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
65
|
+
component: MapFieldComponentDefinitionFrame;
|
|
66
|
+
model?: MapFieldModelDefinitionFrame;
|
|
67
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Configures interactive geographic feature capture and display.
|
|
71
|
+
*
|
|
72
|
+
* @extensionPoint Use `MapComponent` with `MapModel` to collect geometry using the supported drawing configuration.
|
|
73
|
+
* @see https://github.com/redbox-mint/redbox-portal/wiki/Configuring-Record-Forms
|
|
74
|
+
*/
|
|
75
|
+
export interface MapFormComponentDefinitionOutline extends MapFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
76
|
+
component: MapFieldComponentDefinitionOutline;
|
|
77
|
+
model?: MapFieldModelDefinitionOutline;
|
|
78
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
79
|
+
}
|
|
80
|
+
export type MapTypes = {
|
|
81
|
+
kind: FieldComponentConfigFrameKindType;
|
|
82
|
+
class: MapFieldComponentConfigFrame;
|
|
83
|
+
} | {
|
|
84
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
85
|
+
class: MapFieldComponentDefinitionFrame;
|
|
86
|
+
} | {
|
|
87
|
+
kind: FieldModelConfigFrameKindType;
|
|
88
|
+
class: MapFieldModelConfigFrame;
|
|
89
|
+
} | {
|
|
90
|
+
kind: FieldModelDefinitionFrameKindType;
|
|
91
|
+
class: MapFieldModelDefinitionFrame;
|
|
92
|
+
} | {
|
|
93
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
94
|
+
class: MapFormComponentDefinitionFrame;
|
|
95
|
+
} | {
|
|
96
|
+
kind: FieldComponentConfigKindType;
|
|
97
|
+
class: MapFieldComponentConfigOutline;
|
|
98
|
+
} | {
|
|
99
|
+
kind: FieldComponentDefinitionKindType;
|
|
100
|
+
class: MapFieldComponentDefinitionOutline;
|
|
101
|
+
} | {
|
|
102
|
+
kind: FieldModelConfigKindType;
|
|
103
|
+
class: MapFieldModelConfigOutline;
|
|
104
|
+
} | {
|
|
105
|
+
kind: FieldModelDefinitionKindType;
|
|
106
|
+
class: MapFieldModelDefinitionOutline;
|
|
107
|
+
} | {
|
|
108
|
+
kind: FormComponentDefinitionKindType;
|
|
109
|
+
class: MapFormComponentDefinitionOutline;
|
|
110
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapModelName = exports.MapComponentName = void 0;
|
|
4
|
+
/* Map Component */
|
|
5
|
+
exports.MapComponentName = "MapComponent";
|
|
6
|
+
/* Map Model */
|
|
7
|
+
exports.MapModelName = "MapModel";
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC9tYXAub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFxQkEsbUJBQW1CO0FBQ04sUUFBQSxnQkFBZ0IsR0FBRyxjQUF1QixDQUFDO0FBc0R4RCxlQUFlO0FBQ0YsUUFBQSxZQUFZLEdBQUcsVUFBbUIsQ0FBQyJ9
|