@researchdatabox/sails-ng-common 0.2.1 → 5.0.0-RC2
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,42 @@
|
|
|
1
|
+
import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
|
|
2
|
+
import { AvailableFormComponentDefinitionOutlines } from "../dictionary.outline";
|
|
3
|
+
import { FormConfigVisitorOutline } from "../visitor/base.outline";
|
|
4
|
+
import { ReusableFieldComponentConfigOutline, ReusableFieldComponentDefinitionOutline, ReusableFormComponentDefinitionOutline } from "./reusable.outline";
|
|
5
|
+
import { FormComponentDefinition } from "../form-component.model";
|
|
6
|
+
export declare class ReusableFieldComponentConfig extends FieldComponentConfig implements ReusableFieldComponentConfigOutline {
|
|
7
|
+
componentDefinitions: AvailableFormComponentDefinitionOutlines[];
|
|
8
|
+
constructor();
|
|
9
|
+
}
|
|
10
|
+
export declare class ReusableFieldComponentDefinition extends FieldComponentDefinition implements ReusableFieldComponentDefinitionOutline {
|
|
11
|
+
class: "ReusableComponent";
|
|
12
|
+
config?: ReusableFieldComponentConfigOutline;
|
|
13
|
+
constructor();
|
|
14
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ReusableFormComponentDefinition extends FormComponentDefinition implements ReusableFormComponentDefinitionOutline {
|
|
17
|
+
component: ReusableFieldComponentDefinitionOutline;
|
|
18
|
+
model?: never;
|
|
19
|
+
layout?: never;
|
|
20
|
+
constructor();
|
|
21
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
export declare const ReusableMap: ({
|
|
24
|
+
kind: "FieldComponentConfigKind";
|
|
25
|
+
def: typeof ReusableFieldComponentConfig;
|
|
26
|
+
class?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
kind: "FieldComponentDefinitionKind";
|
|
29
|
+
def: typeof ReusableFieldComponentDefinition;
|
|
30
|
+
class: "ReusableComponent";
|
|
31
|
+
} | {
|
|
32
|
+
kind: "FormComponentDefinitionKind";
|
|
33
|
+
def: typeof ReusableFormComponentDefinition;
|
|
34
|
+
class: "ReusableComponent";
|
|
35
|
+
})[];
|
|
36
|
+
export declare const ReusableDefaults: {
|
|
37
|
+
FormComponentDefinitionKind: {
|
|
38
|
+
ReusableComponent: {
|
|
39
|
+
FieldComponentDefinitionKind: "ReusableComponent";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReusableDefaults = exports.ReusableMap = exports.ReusableFormComponentDefinition = exports.ReusableFieldComponentDefinition = exports.ReusableFieldComponentConfig = void 0;
|
|
4
|
+
const field_component_model_1 = require("../field-component.model");
|
|
5
|
+
const reusable_outline_1 = require("./reusable.outline");
|
|
6
|
+
const shared_outline_1 = require("../shared.outline");
|
|
7
|
+
const form_component_model_1 = require("../form-component.model");
|
|
8
|
+
/*
|
|
9
|
+
* The Reusable classes are only used in the visitor that migrates v4 form config to v5 form config.
|
|
10
|
+
* The reusable form config placeholder is replaced with the form config classes in the construct visitor.
|
|
11
|
+
*/
|
|
12
|
+
/* Reusable Component */
|
|
13
|
+
class ReusableFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
14
|
+
componentDefinitions;
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.componentDefinitions = [];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ReusableFieldComponentConfig = ReusableFieldComponentConfig;
|
|
21
|
+
class ReusableFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
22
|
+
class = reusable_outline_1.ReusableComponentName;
|
|
23
|
+
config;
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
}
|
|
27
|
+
async accept(visitor) {
|
|
28
|
+
await visitor.visitReusableFieldComponentDefinition(this);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.ReusableFieldComponentDefinition = ReusableFieldComponentDefinition;
|
|
32
|
+
/* Reusable Form Component */
|
|
33
|
+
class ReusableFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
34
|
+
component;
|
|
35
|
+
model;
|
|
36
|
+
layout;
|
|
37
|
+
constructor() {
|
|
38
|
+
super();
|
|
39
|
+
}
|
|
40
|
+
async accept(visitor) {
|
|
41
|
+
await visitor.visitReusableFormComponentDefinition(this);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.ReusableFormComponentDefinition = ReusableFormComponentDefinition;
|
|
45
|
+
exports.ReusableMap = [
|
|
46
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: ReusableFieldComponentConfig },
|
|
47
|
+
{ kind: shared_outline_1.FieldComponentDefinitionKind, def: ReusableFieldComponentDefinition, class: reusable_outline_1.ReusableComponentName },
|
|
48
|
+
{ kind: shared_outline_1.FormComponentDefinitionKind, def: ReusableFormComponentDefinition, class: reusable_outline_1.ReusableComponentName },
|
|
49
|
+
];
|
|
50
|
+
exports.ReusableDefaults = {
|
|
51
|
+
[shared_outline_1.FormComponentDefinitionKind]: {
|
|
52
|
+
[reusable_outline_1.ReusableComponentName]: {
|
|
53
|
+
[shared_outline_1.FieldComponentDefinitionKind]: reusable_outline_1.ReusableComponentName,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56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W9DLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDN0QsQ0FBQztDQUNKO0FBWkQsMEVBWUM7QUFFWSxRQUFBLFdBQVcsR0FBRztJQUN2QixFQUFDLElBQUksRUFBRSx5Q0FBd0IsRUFBRSxHQUFHLEVBQUUsNEJBQTRCLEVBQUM7SUFDbkUsRUFBQyxJQUFJLEVBQUUsNkNBQTRCLEVBQUUsR0FBRyxFQUFFLGdDQUFnQyxFQUFFLEtBQUssRUFBRSx3Q0FBcUIsRUFBQztJQUN6RyxFQUFDLElBQUksRUFBRSw0Q0FBMkIsRUFBRSxHQUFHLEVBQUUsK0JBQStCLEVBQUUsS0FBSyxFQUFFLHdDQUFxQixFQUFDO0NBQzFHLENBQUM7QUFDVyxRQUFBLGdCQUFnQixHQUFHO0lBQzVCLENBQUMsNENBQTJCLENBQUMsRUFBRTtRQUMzQixDQUFDLHdDQUFxQixDQUFDLEVBQUU7WUFDckIsQ0FBQyw2Q0FBNEIsQ0FBQyxFQUFFLHdDQUFxQjtTQUN4RDtLQUNKO0NBQ0osQ0FBQyJ9
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
|
|
2
|
+
import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
|
|
3
|
+
import { AvailableFormComponentDefinitionFrames, AvailableFormComponentDefinitionOutlines } from "../dictionary.outline";
|
|
4
|
+
import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
|
|
5
|
+
export declare const ReusableComponentName: "ReusableComponent";
|
|
6
|
+
export type ReusableComponentNameType = typeof ReusableComponentName;
|
|
7
|
+
export interface ReusableFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
8
|
+
componentDefinitions: AvailableFormComponentDefinitionFrames[];
|
|
9
|
+
}
|
|
10
|
+
export interface ReusableFieldComponentConfigOutline extends ReusableFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
11
|
+
componentDefinitions: AvailableFormComponentDefinitionOutlines[];
|
|
12
|
+
}
|
|
13
|
+
export interface ReusableFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
14
|
+
class: ReusableComponentNameType;
|
|
15
|
+
config?: ReusableFieldComponentConfigFrame;
|
|
16
|
+
}
|
|
17
|
+
export interface ReusableFieldComponentDefinitionOutline extends ReusableFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
18
|
+
class: ReusableComponentNameType;
|
|
19
|
+
config?: ReusableFieldComponentConfigOutline;
|
|
20
|
+
}
|
|
21
|
+
export interface ReusableFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
22
|
+
component: ReusableFieldComponentDefinitionFrame;
|
|
23
|
+
model?: never;
|
|
24
|
+
layout?: never;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* References a reusable form definition that the construction visitor expands.
|
|
28
|
+
*
|
|
29
|
+
* @extensionPoint Use `ReusableComponent` to compose named reusable definitions; it is a construction-time contract rather than an Angular component.
|
|
30
|
+
* @see https://github.com/redbox-mint/redbox-portal/wiki/Configuring-Record-Forms
|
|
31
|
+
*/
|
|
32
|
+
export interface ReusableFormComponentDefinitionOutline extends ReusableFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
33
|
+
component: ReusableFieldComponentDefinitionOutline;
|
|
34
|
+
model?: never;
|
|
35
|
+
layout?: never;
|
|
36
|
+
}
|
|
37
|
+
export type ReusableTypes = {
|
|
38
|
+
kind: FieldComponentConfigFrameKindType;
|
|
39
|
+
class: ReusableFieldComponentConfigFrame;
|
|
40
|
+
} | {
|
|
41
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
42
|
+
class: ReusableFieldComponentDefinitionFrame;
|
|
43
|
+
} | {
|
|
44
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
45
|
+
class: ReusableFormComponentDefinitionFrame;
|
|
46
|
+
} | {
|
|
47
|
+
kind: FieldComponentConfigKindType;
|
|
48
|
+
class: ReusableFieldComponentConfigOutline;
|
|
49
|
+
} | {
|
|
50
|
+
kind: FieldComponentDefinitionKindType;
|
|
51
|
+
class: ReusableFieldComponentDefinitionOutline;
|
|
52
|
+
} | {
|
|
53
|
+
kind: FormComponentDefinitionKindType;
|
|
54
|
+
class: ReusableFormComponentDefinitionOutline;
|
|
55
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReusableComponentName = void 0;
|
|
4
|
+
/* Reusable Component */
|
|
5
|
+
exports.ReusableComponentName = "ReusableComponent";
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV1c2FibGUub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L3JldXNhYmxlLm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBWUEsd0JBQXdCO0FBRVgsUUFBQSxxQkFBcUIsR0FBRyxtQkFBNEIsQ0FBQyJ9
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
|
|
2
|
+
import { FieldModelConfig, FieldModelDefinition } from "../field-model.model";
|
|
3
|
+
import { FormComponentDefinition } from "../form-component.model";
|
|
4
|
+
import { FormConfigVisitorOutline } from "../visitor/base.outline";
|
|
5
|
+
import { RichTextEditorFieldComponentConfigOutline, RichTextEditorFieldComponentDefinitionOutline, RichTextEditorFieldModelConfigOutline, RichTextEditorFieldModelDefinitionOutline, RichTextEditorFormComponentDefinitionOutline, RichTextEditorModelValueType } from "./rich-text-editor.outline";
|
|
6
|
+
import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
7
|
+
export declare class RichTextEditorFieldComponentConfig extends FieldComponentConfig implements RichTextEditorFieldComponentConfigOutline {
|
|
8
|
+
outputFormat: "html" | "markdown";
|
|
9
|
+
showSourceToggle: boolean;
|
|
10
|
+
toolbar: string[];
|
|
11
|
+
minHeight: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
constructor();
|
|
14
|
+
}
|
|
15
|
+
export declare class RichTextEditorFieldComponentDefinition extends FieldComponentDefinition implements RichTextEditorFieldComponentDefinitionOutline {
|
|
16
|
+
class: "RichTextEditorComponent";
|
|
17
|
+
config?: RichTextEditorFieldComponentConfigOutline;
|
|
18
|
+
constructor();
|
|
19
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
export declare class RichTextEditorFieldModelConfig extends FieldModelConfig<RichTextEditorModelValueType> implements RichTextEditorFieldModelConfigOutline {
|
|
22
|
+
constructor();
|
|
23
|
+
}
|
|
24
|
+
export declare class RichTextEditorFieldModelDefinition extends FieldModelDefinition<RichTextEditorModelValueType> implements RichTextEditorFieldModelDefinitionOutline {
|
|
25
|
+
class: "RichTextEditorModel";
|
|
26
|
+
config?: RichTextEditorFieldModelConfigOutline;
|
|
27
|
+
constructor();
|
|
28
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
export declare class RichTextEditorFormComponentDefinition extends FormComponentDefinition implements RichTextEditorFormComponentDefinitionOutline {
|
|
31
|
+
component: RichTextEditorFieldComponentDefinitionOutline;
|
|
32
|
+
model?: RichTextEditorFieldModelDefinitionOutline;
|
|
33
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
34
|
+
constructor();
|
|
35
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
36
|
+
}
|
|
37
|
+
export declare const RichTextEditorMap: ({
|
|
38
|
+
kind: "FieldComponentConfigKind";
|
|
39
|
+
def: typeof RichTextEditorFieldComponentConfig;
|
|
40
|
+
class?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
kind: "FieldComponentDefinitionKind";
|
|
43
|
+
def: typeof RichTextEditorFieldComponentDefinition;
|
|
44
|
+
class: "RichTextEditorComponent";
|
|
45
|
+
} | {
|
|
46
|
+
kind: "FieldModelConfigKind";
|
|
47
|
+
def: typeof RichTextEditorFieldModelConfig;
|
|
48
|
+
class?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
kind: "FieldModelDefinitionKind";
|
|
51
|
+
def: typeof RichTextEditorFieldModelDefinition;
|
|
52
|
+
class: "RichTextEditorModel";
|
|
53
|
+
} | {
|
|
54
|
+
kind: "FormComponentDefinitionKind";
|
|
55
|
+
def: typeof RichTextEditorFormComponentDefinition;
|
|
56
|
+
class: "RichTextEditorComponent";
|
|
57
|
+
})[];
|
|
58
|
+
export declare const RichTextEditorDefaults: {
|
|
59
|
+
FormComponentDefinitionKind: {
|
|
60
|
+
RichTextEditorComponent: {
|
|
61
|
+
FieldComponentDefinitionKind: "RichTextEditorComponent";
|
|
62
|
+
FieldModelDefinitionKind: "RichTextEditorModel";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RichTextEditorDefaults = exports.RichTextEditorMap = exports.RichTextEditorFormComponentDefinition = exports.RichTextEditorFieldModelDefinition = exports.RichTextEditorFieldModelConfig = exports.RichTextEditorFieldComponentDefinition = exports.RichTextEditorFieldComponentConfig = void 0;
|
|
4
|
+
const field_component_model_1 = require("../field-component.model");
|
|
5
|
+
const field_model_model_1 = require("../field-model.model");
|
|
6
|
+
const form_component_model_1 = require("../form-component.model");
|
|
7
|
+
const shared_outline_1 = require("../shared.outline");
|
|
8
|
+
const rich_text_editor_outline_1 = require("./rich-text-editor.outline");
|
|
9
|
+
/* Rich Text Editor Component */
|
|
10
|
+
const defaultToolbar = ["heading", "bold", "italic", "link", "bulletList", "orderedList", "blockquote", "table", "undo", "redo"];
|
|
11
|
+
class RichTextEditorFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
12
|
+
outputFormat = "html";
|
|
13
|
+
showSourceToggle = false;
|
|
14
|
+
toolbar = [...defaultToolbar];
|
|
15
|
+
minHeight = "200px";
|
|
16
|
+
placeholder = "";
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.RichTextEditorFieldComponentConfig = RichTextEditorFieldComponentConfig;
|
|
22
|
+
class RichTextEditorFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
23
|
+
class = rich_text_editor_outline_1.RichTextEditorComponentName;
|
|
24
|
+
config;
|
|
25
|
+
constructor() {
|
|
26
|
+
super();
|
|
27
|
+
}
|
|
28
|
+
async accept(visitor) {
|
|
29
|
+
await visitor.visitRichTextEditorFieldComponentDefinition(this);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.RichTextEditorFieldComponentDefinition = RichTextEditorFieldComponentDefinition;
|
|
33
|
+
/* Rich Text Editor Model */
|
|
34
|
+
class RichTextEditorFieldModelConfig extends field_model_model_1.FieldModelConfig {
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.RichTextEditorFieldModelConfig = RichTextEditorFieldModelConfig;
|
|
40
|
+
class RichTextEditorFieldModelDefinition extends field_model_model_1.FieldModelDefinition {
|
|
41
|
+
class = rich_text_editor_outline_1.RichTextEditorModelName;
|
|
42
|
+
config;
|
|
43
|
+
constructor() {
|
|
44
|
+
super();
|
|
45
|
+
}
|
|
46
|
+
async accept(visitor) {
|
|
47
|
+
await visitor.visitRichTextEditorFieldModelDefinition(this);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.RichTextEditorFieldModelDefinition = RichTextEditorFieldModelDefinition;
|
|
51
|
+
/* Rich Text Editor Form Component */
|
|
52
|
+
class RichTextEditorFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
53
|
+
component;
|
|
54
|
+
model;
|
|
55
|
+
layout;
|
|
56
|
+
constructor() {
|
|
57
|
+
super();
|
|
58
|
+
}
|
|
59
|
+
async accept(visitor) {
|
|
60
|
+
await visitor.visitRichTextEditorFormComponentDefinition(this);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.RichTextEditorFormComponentDefinition = RichTextEditorFormComponentDefinition;
|
|
64
|
+
exports.RichTextEditorMap = [
|
|
65
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: RichTextEditorFieldComponentConfig },
|
|
66
|
+
{ kind: shared_outline_1.FieldComponentDefinitionKind, def: RichTextEditorFieldComponentDefinition, class: rich_text_editor_outline_1.RichTextEditorComponentName },
|
|
67
|
+
{ kind: shared_outline_1.FieldModelConfigKind, def: RichTextEditorFieldModelConfig },
|
|
68
|
+
{ kind: shared_outline_1.FieldModelDefinitionKind, def: RichTextEditorFieldModelDefinition, class: rich_text_editor_outline_1.RichTextEditorModelName },
|
|
69
|
+
{ kind: shared_outline_1.FormComponentDefinitionKind, def: RichTextEditorFormComponentDefinition, class: rich_text_editor_outline_1.RichTextEditorComponentName },
|
|
70
|
+
];
|
|
71
|
+
exports.RichTextEditorDefaults = {
|
|
72
|
+
[shared_outline_1.FormComponentDefinitionKind]: {
|
|
73
|
+
[rich_text_editor_outline_1.RichTextEditorComponentName]: {
|
|
74
|
+
[shared_outline_1.FieldComponentDefinitionKind]: rich_text_editor_outline_1.RichTextEditorComponentName,
|
|
75
|
+
[shared_outline_1.FieldModelDefinitionKind]: rich_text_editor_outline_1.RichTextEditorModelName,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC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5Q0FBd0IsRUFBRSxHQUFHLEVBQUUsa0NBQWtDLEVBQUUsS0FBSyxFQUFFLGtEQUF1QixFQUFDO0lBQ3pHLEVBQUMsSUFBSSxFQUFFLDRDQUEyQixFQUFFLEdBQUcsRUFBRSxxQ0FBcUMsRUFBRSxLQUFLLEVBQUUsc0RBQTJCLEVBQUM7Q0FDdEgsQ0FBQztBQUNXLFFBQUEsc0JBQXNCLEdBQUc7SUFDbEMsQ0FBQyw0Q0FBMkIsQ0FBQyxFQUFFO1FBQzNCLENBQUMsc0RBQTJCLENBQUMsRUFBRTtZQUMzQixDQUFDLDZDQUE0QixDQUFDLEVBQUUsc0RBQTJCO1lBQzNELENBQUMseUNBQXdCLENBQUMsRUFBRSxrREFBdUI7U0FDdEQ7S0FDSjtDQUNKLENBQUMifQ==
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } 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 RichTextEditorComponentName: "RichTextEditorComponent";
|
|
7
|
+
export type RichTextEditorComponentNameType = typeof RichTextEditorComponentName;
|
|
8
|
+
export type RichTextEditorOutputFormatType = "html" | "markdown";
|
|
9
|
+
export interface RichTextEditorFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
10
|
+
outputFormat?: RichTextEditorOutputFormatType;
|
|
11
|
+
showSourceToggle?: boolean;
|
|
12
|
+
toolbar?: string[];
|
|
13
|
+
minHeight?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RichTextEditorFieldComponentConfigOutline extends RichTextEditorFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
17
|
+
outputFormat?: RichTextEditorOutputFormatType;
|
|
18
|
+
showSourceToggle?: boolean;
|
|
19
|
+
toolbar?: string[];
|
|
20
|
+
minHeight?: string;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface RichTextEditorFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
24
|
+
class: RichTextEditorComponentNameType;
|
|
25
|
+
config?: RichTextEditorFieldComponentConfigFrame;
|
|
26
|
+
}
|
|
27
|
+
export interface RichTextEditorFieldComponentDefinitionOutline extends RichTextEditorFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
28
|
+
class: RichTextEditorComponentNameType;
|
|
29
|
+
config?: RichTextEditorFieldComponentConfigOutline;
|
|
30
|
+
}
|
|
31
|
+
export declare const RichTextEditorModelName: "RichTextEditorModel";
|
|
32
|
+
export type RichTextEditorModelNameType = typeof RichTextEditorModelName;
|
|
33
|
+
export type RichTextEditorModelValueType = string;
|
|
34
|
+
export interface RichTextEditorFieldModelConfigFrame extends FieldModelConfigFrame<RichTextEditorModelValueType> {
|
|
35
|
+
}
|
|
36
|
+
export interface RichTextEditorFieldModelConfigOutline extends RichTextEditorFieldModelConfigFrame, FieldModelConfigOutline<RichTextEditorModelValueType> {
|
|
37
|
+
}
|
|
38
|
+
export interface RichTextEditorFieldModelDefinitionFrame extends FieldModelDefinitionFrame<RichTextEditorModelValueType> {
|
|
39
|
+
class: RichTextEditorModelNameType;
|
|
40
|
+
config?: RichTextEditorFieldModelConfigFrame;
|
|
41
|
+
}
|
|
42
|
+
export interface RichTextEditorFieldModelDefinitionOutline extends RichTextEditorFieldModelDefinitionFrame, FieldModelDefinitionOutline<RichTextEditorModelValueType> {
|
|
43
|
+
class: RichTextEditorModelNameType;
|
|
44
|
+
config?: RichTextEditorFieldModelConfigOutline;
|
|
45
|
+
}
|
|
46
|
+
export interface RichTextEditorFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
47
|
+
component: RichTextEditorFieldComponentDefinitionFrame;
|
|
48
|
+
model?: RichTextEditorFieldModelDefinitionFrame;
|
|
49
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Configures rich-text editing and its serialised text value.
|
|
53
|
+
*
|
|
54
|
+
* @extensionPoint Use `RichTextEditorComponent` with `RichTextEditorModel` for formatted long-form content.
|
|
55
|
+
* @see https://github.com/redbox-mint/redbox-portal/wiki/Configuring-Record-Forms
|
|
56
|
+
*/
|
|
57
|
+
export interface RichTextEditorFormComponentDefinitionOutline extends RichTextEditorFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
58
|
+
component: RichTextEditorFieldComponentDefinitionOutline;
|
|
59
|
+
model?: RichTextEditorFieldModelDefinitionOutline;
|
|
60
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
61
|
+
}
|
|
62
|
+
export type RichTextEditorTypes = {
|
|
63
|
+
kind: FieldComponentConfigFrameKindType;
|
|
64
|
+
class: RichTextEditorFieldComponentConfigFrame;
|
|
65
|
+
} | {
|
|
66
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
67
|
+
class: RichTextEditorFieldComponentDefinitionFrame;
|
|
68
|
+
} | {
|
|
69
|
+
kind: FieldModelConfigFrameKindType;
|
|
70
|
+
class: RichTextEditorFieldModelConfigFrame;
|
|
71
|
+
} | {
|
|
72
|
+
kind: FieldModelDefinitionFrameKindType;
|
|
73
|
+
class: RichTextEditorFieldModelDefinitionFrame;
|
|
74
|
+
} | {
|
|
75
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
76
|
+
class: RichTextEditorFormComponentDefinitionFrame;
|
|
77
|
+
} | {
|
|
78
|
+
kind: FieldComponentConfigKindType;
|
|
79
|
+
class: RichTextEditorFieldComponentConfigOutline;
|
|
80
|
+
} | {
|
|
81
|
+
kind: FieldComponentDefinitionKindType;
|
|
82
|
+
class: RichTextEditorFieldComponentDefinitionOutline;
|
|
83
|
+
} | {
|
|
84
|
+
kind: FieldModelConfigKindType;
|
|
85
|
+
class: RichTextEditorFieldModelConfigOutline;
|
|
86
|
+
} | {
|
|
87
|
+
kind: FieldModelDefinitionKindType;
|
|
88
|
+
class: RichTextEditorFieldModelDefinitionOutline;
|
|
89
|
+
} | {
|
|
90
|
+
kind: FormComponentDefinitionKindType;
|
|
91
|
+
class: RichTextEditorFormComponentDefinitionOutline;
|
|
92
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RichTextEditorModelName = exports.RichTextEditorComponentName = void 0;
|
|
4
|
+
/* Rich Text Editor Component */
|
|
5
|
+
exports.RichTextEditorComponentName = "RichTextEditorComponent";
|
|
6
|
+
/* Rich Text Editor Model */
|
|
7
|
+
exports.RichTextEditorModelName = "RichTextEditorModel";
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC10ZXh0LWVkaXRvci5vdXRsaW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvcmljaC10ZXh0LWVkaXRvci5vdXRsaW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQXFCQSxnQ0FBZ0M7QUFFbkIsUUFBQSwyQkFBMkIsR0FBRyx5QkFBa0MsQ0FBQztBQStCOUUsNEJBQTRCO0FBRWYsUUFBQSx1QkFBdUIsR0FBRyxxQkFBOEIsQ0FBQyJ9
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
|
|
2
|
+
import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
3
|
+
import { FormComponentDefinition } from "../form-component.model";
|
|
4
|
+
import { FormConfigVisitorOutline } from "../visitor/base.outline";
|
|
5
|
+
import { SaveButtonFieldComponentConfigOutline, SaveButtonFieldComponentDefinitionOutline, SaveButtonFormComponentDefinitionOutline } from "./save-button.outline";
|
|
6
|
+
export declare class SaveButtonFieldComponentConfig extends FieldComponentConfig implements SaveButtonFieldComponentConfigOutline {
|
|
7
|
+
targetStep?: string;
|
|
8
|
+
forceSave?: boolean;
|
|
9
|
+
labelSaving?: string;
|
|
10
|
+
buttonCssClasses?: string;
|
|
11
|
+
enabledValidationGroups?: string[];
|
|
12
|
+
closeOnSave?: boolean;
|
|
13
|
+
redirectLocation?: string;
|
|
14
|
+
redirectDelaySeconds?: number;
|
|
15
|
+
constructor();
|
|
16
|
+
}
|
|
17
|
+
export declare class SaveButtonFieldComponentDefinition extends FieldComponentDefinition implements SaveButtonFieldComponentDefinitionOutline {
|
|
18
|
+
class: "SaveButtonComponent";
|
|
19
|
+
config?: SaveButtonFieldComponentConfigOutline;
|
|
20
|
+
constructor();
|
|
21
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
export declare class SaveButtonFormComponentDefinition extends FormComponentDefinition implements SaveButtonFormComponentDefinitionOutline {
|
|
24
|
+
component: SaveButtonFieldComponentDefinitionOutline;
|
|
25
|
+
model?: never;
|
|
26
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
27
|
+
constructor();
|
|
28
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
export declare const SaveButtonMap: ({
|
|
31
|
+
kind: "FieldComponentConfigKind";
|
|
32
|
+
def: typeof SaveButtonFieldComponentConfig;
|
|
33
|
+
class?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
kind: "FieldComponentDefinitionKind";
|
|
36
|
+
def: typeof SaveButtonFieldComponentDefinition;
|
|
37
|
+
class: "SaveButtonComponent";
|
|
38
|
+
} | {
|
|
39
|
+
kind: "FormComponentDefinitionKind";
|
|
40
|
+
def: typeof SaveButtonFormComponentDefinition;
|
|
41
|
+
class: "SaveButtonComponent";
|
|
42
|
+
})[];
|
|
43
|
+
export declare const SaveButtonDefaults: {
|
|
44
|
+
FormComponentDefinitionKind: {
|
|
45
|
+
SaveButtonComponent: {
|
|
46
|
+
FieldComponentDefinitionKind: "SaveButtonComponent";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SaveButtonDefaults = exports.SaveButtonMap = exports.SaveButtonFormComponentDefinition = exports.SaveButtonFieldComponentDefinition = exports.SaveButtonFieldComponentConfig = void 0;
|
|
4
|
+
const field_component_model_1 = require("../field-component.model");
|
|
5
|
+
const form_component_model_1 = require("../form-component.model");
|
|
6
|
+
const shared_outline_1 = require("../shared.outline");
|
|
7
|
+
const save_button_outline_1 = require("./save-button.outline");
|
|
8
|
+
/* Save Button Component */
|
|
9
|
+
class SaveButtonFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
10
|
+
targetStep;
|
|
11
|
+
forceSave;
|
|
12
|
+
labelSaving;
|
|
13
|
+
buttonCssClasses;
|
|
14
|
+
enabledValidationGroups;
|
|
15
|
+
closeOnSave;
|
|
16
|
+
redirectLocation;
|
|
17
|
+
redirectDelaySeconds;
|
|
18
|
+
constructor() {
|
|
19
|
+
super();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.SaveButtonFieldComponentConfig = SaveButtonFieldComponentConfig;
|
|
23
|
+
class SaveButtonFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
24
|
+
class = save_button_outline_1.SaveButtonComponentName;
|
|
25
|
+
config;
|
|
26
|
+
constructor() {
|
|
27
|
+
super();
|
|
28
|
+
}
|
|
29
|
+
async accept(visitor) {
|
|
30
|
+
await visitor.visitSaveButtonFieldComponentDefinition(this);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.SaveButtonFieldComponentDefinition = SaveButtonFieldComponentDefinition;
|
|
34
|
+
/* Save Button Form Component */
|
|
35
|
+
class SaveButtonFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
36
|
+
component;
|
|
37
|
+
model;
|
|
38
|
+
layout;
|
|
39
|
+
constructor() {
|
|
40
|
+
super();
|
|
41
|
+
}
|
|
42
|
+
async accept(visitor) {
|
|
43
|
+
await visitor.visitSaveButtonFormComponentDefinition(this);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.SaveButtonFormComponentDefinition = SaveButtonFormComponentDefinition;
|
|
47
|
+
exports.SaveButtonMap = [
|
|
48
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: SaveButtonFieldComponentConfig },
|
|
49
|
+
{ kind: shared_outline_1.FieldComponentDefinitionKind, def: SaveButtonFieldComponentDefinition, class: save_button_outline_1.SaveButtonComponentName },
|
|
50
|
+
{ kind: shared_outline_1.FormComponentDefinitionKind, def: SaveButtonFormComponentDefinition, class: save_button_outline_1.SaveButtonComponentName },
|
|
51
|
+
];
|
|
52
|
+
exports.SaveButtonDefaults = {
|
|
53
|
+
[shared_outline_1.FormComponentDefinitionKind]: {
|
|
54
|
+
[save_button_outline_1.SaveButtonComponentName]: {
|
|
55
|
+
[shared_outline_1.FieldComponentDefinitionKind]: save_button_outline_1.SaveButtonComponentName,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2F2ZS1id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UMxQyxNQUFNLE9BQU8sQ0FBQyxzQ0FBc0MsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMvRCxDQUFDO0NBQ0o7QUFaRCw4RUFZQztBQUVZLFFBQUEsYUFBYSxHQUFHO0lBQ3pCLEVBQUMsSUFBSSxFQUFFLHlDQUF3QixFQUFFLEdBQUcsRUFBRSw4QkFBOEIsRUFBQztJQUNyRSxFQUFDLElBQUksRUFBRSw2Q0FBNEIsRUFBRSxHQUFHLEVBQUUsa0NBQWtDLEVBQUUsS0FBSyxFQUFFLDZDQUF1QixFQUFDO0lBQzdHLEVBQUMsSUFBSSxFQUFFLDRDQUEyQixFQUFFLEdBQUcsRUFBRSxpQ0FBaUMsRUFBRSxLQUFLLEVBQUMsNkNBQXVCLEVBQUM7Q0FDN0csQ0FBQztBQUNXLFFBQUEsa0JBQWtCLEdBQUc7SUFDOUIsQ0FBQyw0Q0FBMkIsQ0FBQyxFQUFFO1FBQzNCLENBQUMsNkNBQXVCLENBQUMsRUFBRTtZQUN2QixDQUFDLDZDQUE0QixDQUFDLEVBQUUsNkNBQXVCO1NBQzFEO0tBQ0o7Q0FDSixDQUFDIn0=
|
|
@@ -0,0 +1,90 @@
|
|
|
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 SaveButtonComponentName: "SaveButtonComponent";
|
|
6
|
+
export type SaveButtonComponentNameType = typeof SaveButtonComponentName;
|
|
7
|
+
export interface SaveButtonFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
8
|
+
/**
|
|
9
|
+
* Try to transition to this workflow step as part of the save process on the server.
|
|
10
|
+
*/
|
|
11
|
+
targetStep?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Save the form, even if it would otherwise not be able to save.
|
|
14
|
+
* For example, save even if nothing has changed or there are validation failures.
|
|
15
|
+
*/
|
|
16
|
+
forceSave?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The label to set to the button while saving.
|
|
19
|
+
*/
|
|
20
|
+
labelSaving?: string;
|
|
21
|
+
/**
|
|
22
|
+
* CSS classes to apply to the underlying button element.
|
|
23
|
+
* Example: 'btn-success' or 'btn btn-success'.
|
|
24
|
+
*/
|
|
25
|
+
buttonCssClasses?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Validation groups to enable for this save request.
|
|
28
|
+
* Defaults to the form's current enabled validation groups.
|
|
29
|
+
*/
|
|
30
|
+
enabledValidationGroups?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* Whether to 'close' the form by redirecting on a successful save. Default false.
|
|
33
|
+
*/
|
|
34
|
+
closeOnSave?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The relative url to redirect to on a successful save if closeOnSave is true.
|
|
37
|
+
* Leave empty to use the browser's location.back.
|
|
38
|
+
*/
|
|
39
|
+
redirectLocation?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The delay before redirecting on a successful save if closeOnSave is true.
|
|
42
|
+
* Default is 3 seconds delay.
|
|
43
|
+
*/
|
|
44
|
+
redirectDelaySeconds?: number;
|
|
45
|
+
}
|
|
46
|
+
export interface SaveButtonFieldComponentConfigOutline extends SaveButtonFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
47
|
+
}
|
|
48
|
+
export interface SaveButtonFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
49
|
+
class: SaveButtonComponentNameType;
|
|
50
|
+
config?: SaveButtonFieldComponentConfigFrame;
|
|
51
|
+
}
|
|
52
|
+
export interface SaveButtonFieldComponentDefinitionOutline extends SaveButtonFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
53
|
+
class: SaveButtonComponentNameType;
|
|
54
|
+
config?: SaveButtonFieldComponentConfigOutline;
|
|
55
|
+
}
|
|
56
|
+
export interface SaveButtonFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
57
|
+
component: SaveButtonFieldComponentDefinitionFrame;
|
|
58
|
+
model?: never;
|
|
59
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Configures the primary form save action.
|
|
63
|
+
*
|
|
64
|
+
* @extensionPoint Use `SaveButtonComponent` in form action areas and configure its supported label and save behaviour.
|
|
65
|
+
* @see https://github.com/redbox-mint/redbox-portal/wiki/Configuring-Record-Forms
|
|
66
|
+
*/
|
|
67
|
+
export interface SaveButtonFormComponentDefinitionOutline extends SaveButtonFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
68
|
+
component: SaveButtonFieldComponentDefinitionOutline;
|
|
69
|
+
model?: never;
|
|
70
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
71
|
+
}
|
|
72
|
+
export type SaveButtonTypes = {
|
|
73
|
+
kind: FieldComponentConfigFrameKindType;
|
|
74
|
+
class: SaveButtonFieldComponentConfigFrame;
|
|
75
|
+
} | {
|
|
76
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
77
|
+
class: SaveButtonFieldComponentDefinitionFrame;
|
|
78
|
+
} | {
|
|
79
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
80
|
+
class: SaveButtonFormComponentDefinitionFrame;
|
|
81
|
+
} | {
|
|
82
|
+
kind: FieldComponentConfigKindType;
|
|
83
|
+
class: SaveButtonFieldComponentConfigOutline;
|
|
84
|
+
} | {
|
|
85
|
+
kind: FieldComponentDefinitionKindType;
|
|
86
|
+
class: SaveButtonFieldComponentDefinitionOutline;
|
|
87
|
+
} | {
|
|
88
|
+
kind: FormComponentDefinitionKindType;
|
|
89
|
+
class: SaveButtonFormComponentDefinitionOutline;
|
|
90
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SaveButtonComponentName = void 0;
|
|
4
|
+
/* Save Button Component */
|
|
5
|
+
exports.SaveButtonComponentName = "SaveButtonComponent";
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2F2ZS1idXR0b24ub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L3NhdmUtYnV0dG9uLm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBYUEsMkJBQTJCO0FBRWQsUUFBQSx1QkFBdUIsR0FBRyxxQkFBOEIsQ0FBQyJ9
|