@researchdatabox/sails-ng-common 5.0.2 → 5.0.4-beta.12498
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/component/checkbox-input.model.d.ts +1 -0
- package/dist/src/config/component/checkbox-input.model.js +2 -1
- package/dist/src/config/component/checkbox-input.outline.d.ts +2 -1
- package/dist/src/config/component/checkbox-input.outline.js +1 -1
- package/dist/src/config/component/data-location.outline.d.ts +1 -0
- package/dist/src/config/component/file-upload.outline.d.ts +2 -0
- package/dist/src/config/component/file-upload.outline.js +1 -1
- package/dist/src/config/component/related-object-data.model.d.ts +45 -0
- package/dist/src/config/component/related-object-data.model.js +39 -0
- package/dist/src/config/component/related-object-data.outline.d.ts +59 -0
- package/dist/src/config/component/related-object-data.outline.js +5 -0
- package/dist/src/config/component/save-button.model.d.ts +1 -0
- package/dist/src/config/component/save-button.model.js +2 -1
- package/dist/src/config/component/save-button.outline.d.ts +5 -0
- package/dist/src/config/component/save-status.model.d.ts +4 -0
- package/dist/src/config/component/save-status.model.js +5 -1
- package/dist/src/config/component/save-status.outline.d.ts +20 -0
- package/dist/src/config/component/workspace.model.d.ts +44 -0
- package/dist/src/config/component/workspace.model.js +44 -0
- package/dist/src/config/component/workspace.outline.d.ts +62 -0
- package/dist/src/config/component/workspace.outline.js +5 -0
- package/dist/src/config/dictionary.model.d.ts +28 -4
- package/dist/src/config/dictionary.model.js +7 -1
- package/dist/src/config/dictionary.outline.d.ts +5 -3
- package/dist/src/config/form-behaviour.outline.d.ts +120 -7
- package/dist/src/config/form-behaviour.outline.js +13 -5
- package/dist/src/config/form-component.model.d.ts +1 -0
- package/dist/src/config/form-component.model.js +2 -1
- package/dist/src/config/form-component.outline.d.ts +14 -0
- package/dist/src/config/form-config.model.d.ts +3 -0
- package/dist/src/config/form-config.model.js +2 -1
- package/dist/src/config/form-config.outline.d.ts +10 -0
- package/dist/src/config/form-override.model.js +4 -3
- package/dist/src/config/visitor/base.model.d.ts +6 -0
- package/dist/src/config/visitor/base.model.js +13 -1
- package/dist/src/config/visitor/base.outline.d.ts +6 -0
- package/dist/src/config/visitor/common.model.js +2 -1
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.js +10 -1
- package/dist/src/internal/plain-record.d.ts +11 -0
- package/dist/src/internal/plain-record.js +21 -0
- package/dist/src/jsonata-helpers.d.ts +15 -0
- package/dist/src/jsonata-helpers.js +49 -13
- package/dist/src/jsonata-parity.fixtures.d.ts +9 -0
- package/dist/src/jsonata-parity.fixtures.js +25 -0
- package/dist/src/record-concurrency.model.d.ts +118 -0
- package/dist/src/record-concurrency.model.js +199 -0
- package/dist/src/record-diff.d.ts +69 -0
- package/dist/src/record-diff.js +298 -0
- package/dist/src/record-save.model.d.ts +154 -0
- package/dist/src/record-save.model.js +289 -0
- package/dist/src/testing.d.ts +3 -0
- package/dist/src/testing.js +20 -0
- package/dist/src/validation/record-validation.model.d.ts +84 -0
- package/dist/src/validation/record-validation.model.js +53 -0
- package/dist/src/validation/validation-groups.d.ts +29 -0
- package/dist/src/validation/validation-groups.fixtures.d.ts +20 -0
- package/dist/src/validation/validation-groups.fixtures.js +83 -0
- package/dist/src/validation/validation-groups.js +82 -0
- package/package.json +16 -11
|
@@ -9,6 +9,7 @@ export declare class CheckboxInputFieldComponentConfig extends FieldComponentCon
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
options: CheckboxOption[];
|
|
11
11
|
multipleValues?: boolean;
|
|
12
|
+
booleanMode?: boolean;
|
|
12
13
|
vocabRef?: string;
|
|
13
14
|
inlineVocab?: boolean;
|
|
14
15
|
historicalVocabMode?: HistoricalVocabMode;
|
|
@@ -11,6 +11,7 @@ class CheckboxInputFieldComponentConfig extends field_component_model_1.FieldCom
|
|
|
11
11
|
placeholder;
|
|
12
12
|
options = [];
|
|
13
13
|
multipleValues;
|
|
14
|
+
booleanMode;
|
|
14
15
|
vocabRef;
|
|
15
16
|
inlineVocab;
|
|
16
17
|
historicalVocabMode;
|
|
@@ -76,4 +77,4 @@ exports.CheckboxInputDefaults = {
|
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
};
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtaW5wdXQubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC9jaGVja2JveC1pbnB1dC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw0REFBOEU7QUFDOUUsa0VBQWtFO0FBRWxFLHNEQUsyQjtBQUMzQixvRUFBMEY7QUFHMUYscUVBT2tDO0FBRWxDLDhCQUE4QjtBQUc5QixNQUFhLGlDQUFrQyxTQUFRLDRDQUFvQjtJQUN2RSxXQUFXLENBQVU7SUFDckIsT0FBTyxHQUFxQixFQUFFLENBQUM7SUFDL0IsY0FBYyxDQUFXO0lBQ3pCLFdBQVcsQ0FBVztJQUN0QixRQUFRLENBQVU7SUFDbEIsV0FBVyxDQUFXO0lBQ3RCLG1CQUFtQixDQUF1QjtJQUUxQztRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQztDQUNKO0FBWkQsOEVBWUM7QUFHRCxNQUFhLHFDQUFzQyxTQUFRLGdEQUF3QjtJQUMvRSxLQUFLLEdBQUcsbURBQTBCLENBQUM7SUFDbkMsTUFBTSxDQUE0QztJQUVsRDtRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQztJQUVELEtBQUssQ0FBQyxNQUFNLENBQUMsT0FBaUM7UUFDMUMsTUFBTSxPQUFPLENBQUMsMENBQTBDLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDbkUsQ0FBQztDQUNKO0FBWEQsc0ZBV0M7QUFHRCwwQkFBMEI7QUFHMUIsTUFBYSw2QkF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pQ0FBaUMsRUFBRSxLQUFLLEVBQUUsK0NBQXNCLEVBQUU7SUFDekcsRUFBRSxJQUFJLEVBQUUsNENBQTJCLEVBQUUsR0FBRyxFQUFFLG9DQUFvQyxFQUFFLEtBQUssRUFBRSxtREFBMEIsRUFBRTtDQUN0SCxDQUFDO0FBQ1csUUFBQSxxQkFBcUIsR0FBRztJQUNqQyxDQUFDLDRDQUEyQixDQUFDLEVBQUU7UUFDM0IsQ0FBQyxtREFBMEIsQ0FBQyxFQUFFO1lBQzFCLENBQUMsNkNBQTRCLENBQUMsRUFBRSxtREFBMEI7WUFDMUQsQ0FBQyx5Q0FBd0IsQ0FBQyxFQUFFLCtDQUFzQjtTQUNyRDtLQUNKO0NBQ0osQ0FBQyJ9
|
|
@@ -15,6 +15,7 @@ export interface CheckboxInputFieldComponentConfigFrame extends FieldComponentCo
|
|
|
15
15
|
placeholder?: string;
|
|
16
16
|
options?: CheckboxOption[];
|
|
17
17
|
multipleValues?: boolean;
|
|
18
|
+
booleanMode?: boolean;
|
|
18
19
|
vocabRef?: string;
|
|
19
20
|
inlineVocab?: boolean;
|
|
20
21
|
historicalVocabMode?: HistoricalVocabMode;
|
|
@@ -31,7 +32,7 @@ export interface CheckboxInputFieldComponentDefinitionOutline extends CheckboxIn
|
|
|
31
32
|
}
|
|
32
33
|
export declare const CheckboxInputModelName: "CheckboxInputModel";
|
|
33
34
|
export type CheckboxInputModelNameType = typeof CheckboxInputModelName;
|
|
34
|
-
export type CheckboxInputModelValueType = string | null | Array<string>;
|
|
35
|
+
export type CheckboxInputModelValueType = string | boolean | null | Array<string>;
|
|
35
36
|
export interface CheckboxInputFieldModelConfigFrame extends FieldModelConfigFrame<CheckboxInputModelValueType> {
|
|
36
37
|
}
|
|
37
38
|
export interface CheckboxInputFieldModelConfigOutline extends CheckboxInputFieldModelConfigFrame, FieldModelConfigOutline<CheckboxInputModelValueType> {
|
|
@@ -5,4 +5,4 @@ exports.CheckboxInputModelName = exports.CheckboxInputComponentName = void 0;
|
|
|
5
5
|
exports.CheckboxInputComponentName = "CheckboxInputComponent";
|
|
6
6
|
/* Checkbox Input Model */
|
|
7
7
|
exports.CheckboxInputModelName = "CheckboxInputModel";
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtaW5wdXQub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L2NoZWNrYm94LWlucHV0Lm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBdUJBLDhCQUE4QjtBQUNqQixRQUFBLDBCQUEwQixHQUFHLHdCQUFpQyxDQUFDO0FBZ0M1RSwwQkFBMEI7QUFDYixRQUFBLHNCQUFzQixHQUFHLG9CQUE2QixDQUFDIn0=
|
|
@@ -8,6 +8,8 @@ export type FileUploadComponentNameType = typeof FileUploadComponentName;
|
|
|
8
8
|
export type FileUploadSourceType = "dropbox" | "googleDrive" | "onedrive";
|
|
9
9
|
export interface FileUploadAttachmentValue {
|
|
10
10
|
type: "attachment";
|
|
11
|
+
/** Stable logical identity used to reconcile save completion. */
|
|
12
|
+
attachmentId?: string;
|
|
11
13
|
location: string;
|
|
12
14
|
uploadUrl: string;
|
|
13
15
|
fileId: string;
|
|
@@ -5,4 +5,4 @@ exports.FileUploadModelName = exports.FileUploadComponentName = void 0;
|
|
|
5
5
|
exports.FileUploadComponentName = "FileUploadComponent";
|
|
6
6
|
/* File Upload Model */
|
|
7
7
|
exports.FileUploadModelName = "FileUploadModel";
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L2ZpbGUtdXBsb2FkLm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBMkJBLDJCQUEyQjtBQUNkLFFBQUEsdUJBQXVCLEdBQUcscUJBQThCLENBQUM7QUEyQ3RFLHVCQUF1QjtBQUNWLFFBQUEsbUJBQW1CLEdBQUcsaUJBQTBCLENBQUMifQ==
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AvailableFieldLayoutDefinitionOutlines } from '../dictionary.outline';
|
|
2
|
+
import { FieldComponentDefinition } from '../field-component.model';
|
|
3
|
+
import { FormComponentDefinition } from '../form-component.model';
|
|
4
|
+
import { FormConfigVisitorOutline } from '../visitor/base.outline';
|
|
5
|
+
import { ContentFieldComponentConfig } from './content.model';
|
|
6
|
+
import { RelatedObjectDataFieldComponentConfigOutline, RelatedObjectDataFieldComponentDefinitionOutline, RelatedObjectDataFormComponentDefinitionOutline, RelatedObjectSummary } from './related-object-data.outline';
|
|
7
|
+
export declare class RelatedObjectDataFieldComponentConfig extends ContentFieldComponentConfig implements RelatedObjectDataFieldComponentConfigOutline {
|
|
8
|
+
dataPath?: string;
|
|
9
|
+
oidProperty?: string;
|
|
10
|
+
relatedFields?: string[];
|
|
11
|
+
relatedObjects?: RelatedObjectSummary[];
|
|
12
|
+
accessDeniedOids?: string[];
|
|
13
|
+
failedOids?: string[];
|
|
14
|
+
}
|
|
15
|
+
export declare class RelatedObjectDataFieldComponentDefinition extends FieldComponentDefinition implements RelatedObjectDataFieldComponentDefinitionOutline {
|
|
16
|
+
class: "RelatedObjectDataComponent";
|
|
17
|
+
config?: RelatedObjectDataFieldComponentConfig;
|
|
18
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
export declare class RelatedObjectDataFormComponentDefinition extends FormComponentDefinition implements RelatedObjectDataFormComponentDefinitionOutline {
|
|
21
|
+
component: RelatedObjectDataFieldComponentDefinitionOutline;
|
|
22
|
+
model?: never;
|
|
23
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
24
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare const RelatedObjectDataMap: ({
|
|
27
|
+
kind: "FieldComponentConfigKind";
|
|
28
|
+
def: typeof RelatedObjectDataFieldComponentConfig;
|
|
29
|
+
class?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
kind: "FieldComponentDefinitionKind";
|
|
32
|
+
def: typeof RelatedObjectDataFieldComponentDefinition;
|
|
33
|
+
class: "RelatedObjectDataComponent";
|
|
34
|
+
} | {
|
|
35
|
+
kind: "FormComponentDefinitionKind";
|
|
36
|
+
def: typeof RelatedObjectDataFormComponentDefinition;
|
|
37
|
+
class: "RelatedObjectDataComponent";
|
|
38
|
+
})[];
|
|
39
|
+
export declare const RelatedObjectDataDefaults: {
|
|
40
|
+
FormComponentDefinitionKind: {
|
|
41
|
+
RelatedObjectDataComponent: {
|
|
42
|
+
FieldComponentDefinitionKind: "RelatedObjectDataComponent";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelatedObjectDataDefaults = exports.RelatedObjectDataMap = exports.RelatedObjectDataFormComponentDefinition = exports.RelatedObjectDataFieldComponentDefinition = exports.RelatedObjectDataFieldComponentConfig = 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 content_model_1 = require("./content.model");
|
|
8
|
+
const related_object_data_outline_1 = require("./related-object-data.outline");
|
|
9
|
+
class RelatedObjectDataFieldComponentConfig extends content_model_1.ContentFieldComponentConfig {
|
|
10
|
+
dataPath;
|
|
11
|
+
oidProperty;
|
|
12
|
+
relatedFields;
|
|
13
|
+
relatedObjects;
|
|
14
|
+
accessDeniedOids;
|
|
15
|
+
failedOids;
|
|
16
|
+
}
|
|
17
|
+
exports.RelatedObjectDataFieldComponentConfig = RelatedObjectDataFieldComponentConfig;
|
|
18
|
+
class RelatedObjectDataFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
19
|
+
class = related_object_data_outline_1.RelatedObjectDataComponentName;
|
|
20
|
+
config;
|
|
21
|
+
async accept(visitor) { await visitor.visitRelatedObjectDataFieldComponentDefinition(this); }
|
|
22
|
+
}
|
|
23
|
+
exports.RelatedObjectDataFieldComponentDefinition = RelatedObjectDataFieldComponentDefinition;
|
|
24
|
+
class RelatedObjectDataFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
25
|
+
component;
|
|
26
|
+
model;
|
|
27
|
+
layout;
|
|
28
|
+
async accept(visitor) { await visitor.visitRelatedObjectDataFormComponentDefinition(this); }
|
|
29
|
+
}
|
|
30
|
+
exports.RelatedObjectDataFormComponentDefinition = RelatedObjectDataFormComponentDefinition;
|
|
31
|
+
exports.RelatedObjectDataMap = [
|
|
32
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: RelatedObjectDataFieldComponentConfig },
|
|
33
|
+
{ kind: shared_outline_1.FieldComponentDefinitionKind, def: RelatedObjectDataFieldComponentDefinition, class: related_object_data_outline_1.RelatedObjectDataComponentName },
|
|
34
|
+
{ kind: shared_outline_1.FormComponentDefinitionKind, def: RelatedObjectDataFormComponentDefinition, class: related_object_data_outline_1.RelatedObjectDataComponentName },
|
|
35
|
+
];
|
|
36
|
+
exports.RelatedObjectDataDefaults = {
|
|
37
|
+
[shared_outline_1.FormComponentDefinitionKind]: { [related_object_data_outline_1.RelatedObjectDataComponentName]: { [shared_outline_1.FieldComponentDefinitionKind]: related_object_data_outline_1.RelatedObjectDataComponentName } },
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=data:application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ElBQUksRUFBRSx5Q0FBd0IsRUFBRSxHQUFHLEVBQUUscUNBQXFDLEVBQUU7SUFDOUUsRUFBRSxJQUFJLEVBQUUsNkNBQTRCLEVBQUUsR0FBRyxFQUFFLHlDQUF5QyxFQUFFLEtBQUssRUFBRSw0REFBOEIsRUFBRTtJQUM3SCxFQUFFLElBQUksRUFBRSw0Q0FBMkIsRUFBRSxHQUFHLEVBQUUsd0NBQXdDLEVBQUUsS0FBSyxFQUFFLDREQUE4QixFQUFFO0NBQzVILENBQUM7QUFDVyxRQUFBLHlCQUF5QixHQUFHO0lBQ3ZDLENBQUMsNENBQTJCLENBQUMsRUFBRSxFQUFFLENBQUMsNERBQThCLENBQUMsRUFBRSxFQUFFLENBQUMsNkNBQTRCLENBQUMsRUFBRSw0REFBOEIsRUFBRSxFQUFFO0NBQ3hJLENBQUMifQ==
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } from '../dictionary.outline';
|
|
2
|
+
import { FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from '../field-component.outline';
|
|
3
|
+
import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from '../form-component.outline';
|
|
4
|
+
import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from '../shared.outline';
|
|
5
|
+
import { ContentFieldComponentConfigFrame, ContentFieldComponentConfigOutline } from './content.outline';
|
|
6
|
+
export declare const RelatedObjectDataComponentName: "RelatedObjectDataComponent";
|
|
7
|
+
export type RelatedObjectDataComponentNameType = typeof RelatedObjectDataComponentName;
|
|
8
|
+
export interface RelatedObjectSummary {
|
|
9
|
+
oid: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
fields?: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
export interface RelatedObjectDataFieldComponentConfigFrame extends ContentFieldComponentConfigFrame {
|
|
14
|
+
dataPath?: string;
|
|
15
|
+
oidProperty?: string;
|
|
16
|
+
relatedFields?: string[];
|
|
17
|
+
relatedObjects?: RelatedObjectSummary[];
|
|
18
|
+
accessDeniedOids?: string[];
|
|
19
|
+
failedOids?: string[];
|
|
20
|
+
}
|
|
21
|
+
export interface RelatedObjectDataFieldComponentConfigOutline extends RelatedObjectDataFieldComponentConfigFrame, ContentFieldComponentConfigOutline {
|
|
22
|
+
}
|
|
23
|
+
export interface RelatedObjectDataFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
24
|
+
class: RelatedObjectDataComponentNameType;
|
|
25
|
+
config?: RelatedObjectDataFieldComponentConfigFrame;
|
|
26
|
+
}
|
|
27
|
+
export interface RelatedObjectDataFieldComponentDefinitionOutline extends RelatedObjectDataFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
28
|
+
class: RelatedObjectDataComponentNameType;
|
|
29
|
+
config?: RelatedObjectDataFieldComponentConfigOutline;
|
|
30
|
+
}
|
|
31
|
+
export interface RelatedObjectDataFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
32
|
+
component: RelatedObjectDataFieldComponentDefinitionFrame;
|
|
33
|
+
model?: never;
|
|
34
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
35
|
+
}
|
|
36
|
+
export interface RelatedObjectDataFormComponentDefinitionOutline extends RelatedObjectDataFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
37
|
+
component: RelatedObjectDataFieldComponentDefinitionOutline;
|
|
38
|
+
model?: never;
|
|
39
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
40
|
+
}
|
|
41
|
+
export type RelatedObjectDataTypes = {
|
|
42
|
+
kind: FieldComponentConfigFrameKindType;
|
|
43
|
+
class: RelatedObjectDataFieldComponentConfigFrame;
|
|
44
|
+
} | {
|
|
45
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
46
|
+
class: RelatedObjectDataFieldComponentDefinitionFrame;
|
|
47
|
+
} | {
|
|
48
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
49
|
+
class: RelatedObjectDataFormComponentDefinitionFrame;
|
|
50
|
+
} | {
|
|
51
|
+
kind: FieldComponentConfigKindType;
|
|
52
|
+
class: RelatedObjectDataFieldComponentConfigOutline;
|
|
53
|
+
} | {
|
|
54
|
+
kind: FieldComponentDefinitionKindType;
|
|
55
|
+
class: RelatedObjectDataFieldComponentDefinitionOutline;
|
|
56
|
+
} | {
|
|
57
|
+
kind: FormComponentDefinitionKindType;
|
|
58
|
+
class: RelatedObjectDataFormComponentDefinitionOutline;
|
|
59
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelatedObjectDataComponentName = void 0;
|
|
4
|
+
exports.RelatedObjectDataComponentName = 'RelatedObjectDataComponent';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVsYXRlZC1vYmplY3QtZGF0YS5vdXRsaW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvcmVsYXRlZC1vYmplY3QtZGF0YS5vdXRsaW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQU1hLFFBQUEsOEJBQThCLEdBQUcsNEJBQXFDLENBQUMifQ==
|
|
@@ -4,6 +4,7 @@ import { FormComponentDefinition } from "../form-component.model";
|
|
|
4
4
|
import { FormConfigVisitorOutline } from "../visitor/base.outline";
|
|
5
5
|
import { SaveButtonFieldComponentConfigOutline, SaveButtonFieldComponentDefinitionOutline, SaveButtonFormComponentDefinitionOutline } from "./save-button.outline";
|
|
6
6
|
export declare class SaveButtonFieldComponentConfig extends FieldComponentConfig implements SaveButtonFieldComponentConfigOutline {
|
|
7
|
+
operation?: string;
|
|
7
8
|
targetStep?: string;
|
|
8
9
|
forceSave?: boolean;
|
|
9
10
|
labelSaving?: string;
|
|
@@ -7,6 +7,7 @@ const shared_outline_1 = require("../shared.outline");
|
|
|
7
7
|
const save_button_outline_1 = require("./save-button.outline");
|
|
8
8
|
/* Save Button Component */
|
|
9
9
|
class SaveButtonFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
10
|
+
operation;
|
|
10
11
|
targetStep;
|
|
11
12
|
forceSave;
|
|
12
13
|
labelSaving;
|
|
@@ -56,4 +57,4 @@ exports.SaveButtonDefaults = {
|
|
|
56
57
|
},
|
|
57
58
|
},
|
|
58
59
|
};
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2F2ZS1idXR0b24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC9zYXZlLWJ1dHRvbi5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxvRUFBd0Y7QUFFeEYsa0VBQWlFO0FBRWpFLHNEQUkyQjtBQUMzQiwrREFJK0I7QUFHL0IsMkJBQTJCO0FBRTNCLE1BQWEsOEJBQStCLFNBQVEsNENBQW9CO0lBQ3BFLFNBQVMsQ0FBVTtJQUNuQixVQUFVLENBQVU7SUFDcEIsU0FBUyxDQUFXO0lBQ3BCLFdBQVcsQ0FBVTtJQUNyQixnQkFBZ0IsQ0FBVTtJQUMxQix1QkFBdUIsQ0FBWTtJQUNuQyxXQUFXLENBQVc7SUFDdEIsZ0JBQWdCLENBQVU7SUFDMUIsb0JBQW9CLENBQVU7SUFFOUI7UUFDSSxLQUFLLEVBQUUsQ0FBQztJQUNaLENBQUM7Q0FDSjtBQWRELHdFQWNDO0FBR0QsTUFBYSxrQ0FBbUMsU0FBUSxnREF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tLQUNKO0NBQ0osQ0FBQyJ9
|
|
@@ -5,6 +5,11 @@ import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldC
|
|
|
5
5
|
export declare const SaveButtonComponentName: "SaveButtonComponent";
|
|
6
6
|
export type SaveButtonComponentNameType = typeof SaveButtonComponentName;
|
|
7
7
|
export interface SaveButtonFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
8
|
+
/**
|
|
9
|
+
* Server-owned validation intent to apply to this save.
|
|
10
|
+
* This is independent of targetStep and does not make client validation groups authoritative.
|
|
11
|
+
*/
|
|
12
|
+
operation?: string;
|
|
8
13
|
/**
|
|
9
14
|
* Try to transition to this workflow step as part of the save process on the server.
|
|
10
15
|
*/
|
|
@@ -5,6 +5,10 @@ import { FormComponentDefinition } from "../form-component.model";
|
|
|
5
5
|
import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
|
|
6
6
|
export declare class SaveStatusFieldComponentConfig extends FieldComponentConfig implements SaveStatusFieldComponentConfigOutline {
|
|
7
7
|
successDisplayDurationMs: number;
|
|
8
|
+
warningMessageCreate?: string;
|
|
9
|
+
warningMessageUpdate?: string;
|
|
10
|
+
unknownMessageCreate?: string;
|
|
11
|
+
unknownMessageUpdate?: string;
|
|
8
12
|
constructor();
|
|
9
13
|
}
|
|
10
14
|
export declare class SaveStatusFieldComponentDefinition extends FieldComponentDefinition implements SaveStatusFieldComponentDefinitionOutline {
|
|
@@ -8,6 +8,10 @@ const form_component_model_1 = require("../form-component.model");
|
|
|
8
8
|
/* Save Status Component */
|
|
9
9
|
class SaveStatusFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
10
10
|
successDisplayDurationMs = 3000;
|
|
11
|
+
warningMessageCreate;
|
|
12
|
+
warningMessageUpdate;
|
|
13
|
+
unknownMessageCreate;
|
|
14
|
+
unknownMessageUpdate;
|
|
11
15
|
constructor() {
|
|
12
16
|
super();
|
|
13
17
|
}
|
|
@@ -57,4 +61,4 @@ exports.SaveStat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TBDO0lBRWhEO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDO0lBRUQsS0FBSyxDQUFDLE1BQU0sQ0FBQyxPQUFpQztRQUMxQyxNQUFNLE9BQU8sQ0FBQyxzQ0FBc0MsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMvRCxDQUFDO0NBQ0o7QUFaRCw4RUFZQztBQUVZLFFBQUEsYUFBYSxHQUFHO0lBQ3pCLEVBQUMsSUFBSSxFQUFFLHlDQUF3QixFQUFFLEdBQUcsRUFBRSw4QkFBOEIsRUFBQztJQUNyRTtRQUNJLElBQUksRUFBRSw2Q0FBNEI7UUFDbEMsR0FBRyxFQUFFLGtDQUFrQztRQUN2QyxLQUFLLEVBQUUsNkNBQXVCO0tBQ2pDO0lBQ0Q7UUFDSSxJQUFJLEVBQUUsNENBQTJCO1FBQ2pDLEdBQUcsRUFBRSxpQ0FBaUM7UUFDdEMsS0FBSyxFQUFFLDZDQUF1QjtLQUNqQztDQUNKLENBQUM7QUFDVyxRQUFBLGtCQUFrQixHQUFHO0lBQzlCLENBQUMsNENBQTJCLENBQUMsRUFBRTtRQUMzQixDQUFDLDZDQUF1QixDQUFDLEVBQUU7WUFDdkIsQ0FBQyw2Q0FBNEIsQ0FBQyxFQUFFLDZDQUF1QjtTQUMxRDtLQUNKO0NBQ0osQ0FBQyJ9
|
|
@@ -10,6 +10,26 @@ export interface SaveStatusFieldComponentConfigFrame extends FieldComponentConfi
|
|
|
10
10
|
* Defaults to 3000 milliseconds.
|
|
11
11
|
*/
|
|
12
12
|
successDisplayDurationMs?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Translation code for a persisted warning after creating a record.
|
|
15
|
+
* Falls back to the global save warning when not provided.
|
|
16
|
+
*/
|
|
17
|
+
warningMessageCreate?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Translation code for a persisted warning after updating a record.
|
|
20
|
+
* Falls back to the global save warning when not provided.
|
|
21
|
+
*/
|
|
22
|
+
warningMessageUpdate?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Translation code when the result of creating a record cannot be confirmed.
|
|
25
|
+
* Falls back to the global unknown-save message when not provided.
|
|
26
|
+
*/
|
|
27
|
+
unknownMessageCreate?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Translation code when the result of updating a record cannot be confirmed.
|
|
30
|
+
* Falls back to the global unknown-save message when not provided.
|
|
31
|
+
*/
|
|
32
|
+
unknownMessageUpdate?: string;
|
|
13
33
|
}
|
|
14
34
|
export interface SaveStatusFieldComponentConfigOutline extends SaveStatusFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
15
35
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { FieldComponentConfig, FieldComponentDefinition } from '../field-component.model';
|
|
2
|
+
import { FormComponentDefinition } from '../form-component.model';
|
|
3
|
+
import { AvailableFieldLayoutDefinitionOutlines } from '../dictionary.outline';
|
|
4
|
+
import { FormConfigVisitorOutline } from '../visitor/base.outline';
|
|
5
|
+
import { WorkspaceDisplayType, WorkspaceFieldComponentConfigOutline, WorkspaceFieldComponentDefinitionOutline, WorkspaceFormComponentDefinitionOutline, WorkspaceTypeDefinition } from './workspace.outline';
|
|
6
|
+
export declare class WorkspaceFieldComponentConfig extends FieldComponentConfig implements WorkspaceFieldComponentConfigOutline {
|
|
7
|
+
open: string;
|
|
8
|
+
saveFirst: string;
|
|
9
|
+
displayType: WorkspaceDisplayType;
|
|
10
|
+
shouldSaveForm: boolean;
|
|
11
|
+
allowAddTemplate?: string;
|
|
12
|
+
defaultSelection: WorkspaceTypeDefinition[];
|
|
13
|
+
}
|
|
14
|
+
export declare class WorkspaceFieldComponentDefinition extends FieldComponentDefinition implements WorkspaceFieldComponentDefinitionOutline {
|
|
15
|
+
class: "WorkspaceSelectorComponent";
|
|
16
|
+
config?: WorkspaceFieldComponentConfigOutline;
|
|
17
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
export declare class WorkspaceFormComponentDefinition extends FormComponentDefinition implements WorkspaceFormComponentDefinitionOutline {
|
|
20
|
+
component: WorkspaceFieldComponentDefinitionOutline;
|
|
21
|
+
model?: never;
|
|
22
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
23
|
+
accept(visitor: FormConfigVisitorOutline): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
export declare const WorkspaceMap: ({
|
|
26
|
+
kind: "FieldComponentConfigKind";
|
|
27
|
+
def: typeof WorkspaceFieldComponentConfig;
|
|
28
|
+
class?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
kind: "FieldComponentDefinitionKind";
|
|
31
|
+
def: typeof WorkspaceFieldComponentDefinition;
|
|
32
|
+
class: "WorkspaceSelectorComponent";
|
|
33
|
+
} | {
|
|
34
|
+
kind: "FormComponentDefinitionKind";
|
|
35
|
+
def: typeof WorkspaceFormComponentDefinition;
|
|
36
|
+
class: "WorkspaceSelectorComponent";
|
|
37
|
+
})[];
|
|
38
|
+
export declare const WorkspaceDefaults: {
|
|
39
|
+
FormComponentDefinitionKind: {
|
|
40
|
+
WorkspaceSelectorComponent: {
|
|
41
|
+
FieldComponentDefinitionKind: "WorkspaceSelectorComponent";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceDefaults = exports.WorkspaceMap = exports.WorkspaceFormComponentDefinition = exports.WorkspaceFieldComponentDefinition = exports.WorkspaceFieldComponentConfig = 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 workspace_outline_1 = require("./workspace.outline");
|
|
8
|
+
class WorkspaceFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
|
|
9
|
+
open = 'Open';
|
|
10
|
+
saveFirst = 'Please save this record first';
|
|
11
|
+
displayType = 'dropdown';
|
|
12
|
+
shouldSaveForm = true;
|
|
13
|
+
allowAddTemplate;
|
|
14
|
+
defaultSelection = [];
|
|
15
|
+
}
|
|
16
|
+
exports.WorkspaceFieldComponentConfig = WorkspaceFieldComponentConfig;
|
|
17
|
+
class WorkspaceFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
|
|
18
|
+
class = workspace_outline_1.WorkspaceSelectorComponentName;
|
|
19
|
+
config;
|
|
20
|
+
async accept(visitor) {
|
|
21
|
+
await visitor.visitWorkspaceFieldComponentDefinition(this);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.WorkspaceFieldComponentDefinition = WorkspaceFieldComponentDefinition;
|
|
25
|
+
class WorkspaceFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
|
|
26
|
+
component;
|
|
27
|
+
model;
|
|
28
|
+
layout;
|
|
29
|
+
async accept(visitor) {
|
|
30
|
+
await visitor.visitWorkspaceFormComponentDefinition(this);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.WorkspaceFormComponentDefinition = WorkspaceFormComponentDefinition;
|
|
34
|
+
exports.WorkspaceMap = [
|
|
35
|
+
{ kind: shared_outline_1.FieldComponentConfigKind, def: WorkspaceFieldComponentConfig },
|
|
36
|
+
{ kind: shared_outline_1.FieldComponentDefinitionKind, def: WorkspaceFieldComponentDefinition, class: workspace_outline_1.WorkspaceSelectorComponentName },
|
|
37
|
+
{ kind: shared_outline_1.FormComponentDefinitionKind, def: WorkspaceFormComponentDefinition, class: workspace_outline_1.WorkspaceSelectorComponentName },
|
|
38
|
+
];
|
|
39
|
+
exports.WorkspaceDefaults = {
|
|
40
|
+
[shared_outline_1.FormComponentDefinitionKind]: {
|
|
41
|
+
[workspace_outline_1.WorkspaceSelectorComponentName]: { [shared_outline_1.FieldComponentDefinitionKind]: workspace_outline_1.WorkspaceSelectorComponentName },
|
|
42
|
+
},
|
|
43
|
+
};
|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FBQSxZQUFZLEdBQUc7SUFDMUIsRUFBRSxJQUFJLEVBQUUseUNBQXdCLEVBQUUsR0FBRyxFQUFFLDZCQUE2QixFQUFFO0lBQ3RFLEVBQUUsSUFBSSxFQUFFLDZDQUE0QixFQUFFLEdBQUcsRUFBRSxpQ0FBaUMsRUFBRSxLQUFLLEVBQUUsa0RBQThCLEVBQUU7SUFDckgsRUFBRSxJQUFJLEVBQUUsNENBQTJCLEVBQUUsR0FBRyxFQUFFLGdDQUFnQyxFQUFFLEtBQUssRUFBRSxrREFBOEIsRUFBRTtDQUNwSCxDQUFDO0FBQ1csUUFBQSxpQkFBaUIsR0FBRztJQUMvQixDQUFDLDRDQUEyQixDQUFDLEVBQUU7UUFDN0IsQ0FBQyxrREFBOEIsQ0FBQyxFQUFFLEVBQUUsQ0FBQyw2Q0FBNEIsQ0FBQyxFQUFFLGtEQUE4QixFQUFFO0tBQ3JHO0NBQ0YsQ0FBQyJ9
|
|
@@ -0,0 +1,62 @@
|
|
|
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 WorkspaceSelectorComponentName: "WorkspaceSelectorComponent";
|
|
6
|
+
export type WorkspaceDisplayType = 'dropdown' | 'cards' | 'panels';
|
|
7
|
+
export interface WorkspaceTypeDefinition {
|
|
8
|
+
name: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
logo?: string;
|
|
13
|
+
externallyProvisioned?: boolean;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
export interface WorkspaceFieldComponentConfigFrame extends FieldComponentConfigFrame {
|
|
17
|
+
open?: string;
|
|
18
|
+
saveFirst?: string;
|
|
19
|
+
displayType?: WorkspaceDisplayType;
|
|
20
|
+
shouldSaveForm?: boolean;
|
|
21
|
+
allowAddTemplate?: string;
|
|
22
|
+
defaultSelection?: WorkspaceTypeDefinition[];
|
|
23
|
+
}
|
|
24
|
+
export interface WorkspaceFieldComponentConfigOutline extends WorkspaceFieldComponentConfigFrame, FieldComponentConfigOutline {
|
|
25
|
+
}
|
|
26
|
+
export interface WorkspaceFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
|
|
27
|
+
class: typeof WorkspaceSelectorComponentName;
|
|
28
|
+
config?: WorkspaceFieldComponentConfigFrame;
|
|
29
|
+
}
|
|
30
|
+
export interface WorkspaceFieldComponentDefinitionOutline extends WorkspaceFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
|
|
31
|
+
class: typeof WorkspaceSelectorComponentName;
|
|
32
|
+
config?: WorkspaceFieldComponentConfigOutline;
|
|
33
|
+
}
|
|
34
|
+
export interface WorkspaceFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
|
|
35
|
+
component: WorkspaceFieldComponentDefinitionFrame;
|
|
36
|
+
model?: never;
|
|
37
|
+
layout?: AvailableFieldLayoutDefinitionFrames;
|
|
38
|
+
}
|
|
39
|
+
export interface WorkspaceFormComponentDefinitionOutline extends WorkspaceFormComponentDefinitionFrame, FormComponentDefinitionOutline {
|
|
40
|
+
component: WorkspaceFieldComponentDefinitionOutline;
|
|
41
|
+
model?: never;
|
|
42
|
+
layout?: AvailableFieldLayoutDefinitionOutlines;
|
|
43
|
+
}
|
|
44
|
+
export type WorkspaceTypes = {
|
|
45
|
+
kind: FieldComponentConfigFrameKindType;
|
|
46
|
+
class: WorkspaceFieldComponentConfigFrame;
|
|
47
|
+
} | {
|
|
48
|
+
kind: FieldComponentDefinitionFrameKindType;
|
|
49
|
+
class: WorkspaceFieldComponentDefinitionFrame;
|
|
50
|
+
} | {
|
|
51
|
+
kind: FormComponentDefinitionFrameKindType;
|
|
52
|
+
class: WorkspaceFormComponentDefinitionFrame;
|
|
53
|
+
} | {
|
|
54
|
+
kind: FieldComponentConfigKindType;
|
|
55
|
+
class: WorkspaceFieldComponentConfigOutline;
|
|
56
|
+
} | {
|
|
57
|
+
kind: FieldComponentDefinitionKindType;
|
|
58
|
+
class: WorkspaceFieldComponentDefinitionOutline;
|
|
59
|
+
} | {
|
|
60
|
+
kind: FormComponentDefinitionKindType;
|
|
61
|
+
class: WorkspaceFormComponentDefinitionOutline;
|
|
62
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceSelectorComponentName = void 0;
|
|
4
|
+
exports.WorkspaceSelectorComponentName = 'WorkspaceSelectorComponent';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya3NwYWNlLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC93b3Jrc3BhY2Uub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFpQmEsUUFBQSw4QkFBOEIsR0FBRyw0QkFBcUMsQ0FBQyJ9
|
|
@@ -110,6 +110,18 @@ export declare const AllDefs: readonly [...({
|
|
|
110
110
|
kind: "FormComponentDefinitionKind";
|
|
111
111
|
def: typeof import("./component/integration-status.model").IntegrationStatusFormComponentDefinition;
|
|
112
112
|
class: "IntegrationStatusComponent";
|
|
113
|
+
} | {
|
|
114
|
+
kind: "FieldComponentConfigKind";
|
|
115
|
+
def: typeof import("./component/workspace.model").WorkspaceFieldComponentConfig;
|
|
116
|
+
class?: undefined;
|
|
117
|
+
} | {
|
|
118
|
+
kind: "FieldComponentDefinitionKind";
|
|
119
|
+
def: typeof import("./component/workspace.model").WorkspaceFieldComponentDefinition;
|
|
120
|
+
class: "WorkspaceSelectorComponent";
|
|
121
|
+
} | {
|
|
122
|
+
kind: "FormComponentDefinitionKind";
|
|
123
|
+
def: typeof import("./component/workspace.model").WorkspaceFormComponentDefinition;
|
|
124
|
+
class: "WorkspaceSelectorComponent";
|
|
113
125
|
} | {
|
|
114
126
|
kind: "FieldComponentConfigKind";
|
|
115
127
|
def: typeof import("./component/text-area.model").TextAreaFieldComponentConfig;
|
|
@@ -142,6 +154,18 @@ export declare const AllDefs: readonly [...({
|
|
|
142
154
|
kind: "FormComponentDefinitionKind";
|
|
143
155
|
def: typeof import("./component/content.model").ContentFormComponentDefinition;
|
|
144
156
|
class: "ContentComponent";
|
|
157
|
+
} | {
|
|
158
|
+
kind: "FieldComponentConfigKind";
|
|
159
|
+
def: typeof import("./component/related-object-data.model").RelatedObjectDataFieldComponentConfig;
|
|
160
|
+
class?: undefined;
|
|
161
|
+
} | {
|
|
162
|
+
kind: "FieldComponentDefinitionKind";
|
|
163
|
+
def: typeof import("./component/related-object-data.model").RelatedObjectDataFieldComponentDefinition;
|
|
164
|
+
class: "RelatedObjectDataComponent";
|
|
165
|
+
} | {
|
|
166
|
+
kind: "FormComponentDefinitionKind";
|
|
167
|
+
def: typeof import("./component/related-object-data.model").RelatedObjectDataFormComponentDefinition;
|
|
168
|
+
class: "RelatedObjectDataComponent";
|
|
145
169
|
} | {
|
|
146
170
|
kind: "FieldComponentConfigKind";
|
|
147
171
|
def: typeof import("./component/simple-input.model").SimpleInputFieldComponentConfig;
|
|
@@ -618,7 +642,7 @@ export declare const AllDefs: readonly [...({
|
|
|
618
642
|
export type KindNameDefaultsMapType = Map<string, Map<string, Map<string, string>>>;
|
|
619
643
|
export declare const KindNameDefaultsMap: KindNameDefaultsMapType;
|
|
620
644
|
export type StaticClassMapType<K extends string, T> = Record<K, T>;
|
|
621
|
-
declare const ComponentClassNames: ("RepeatableComponent" | "GroupComponent" | "TabContentComponent" | "SaveButtonComponent" | "SaveStatusComponent" | "IntegrationStatusComponent" | "CancelButtonComponent" | "DeleteButtonComponent" | "TabNavButtonComponent" | "TextAreaComponent" | "ContentComponent" | "SimpleInputComponent" | "ValidationSummaryComponent" | "SuggestedValidationSummaryComponent" | "TabComponent" | "AccordionComponent" | "AccordionPanelComponent" | "CheckboxInputComponent" | "DropdownInputComponent" | "RadioInputComponent" | "DateInputComponent" | "QuestionTreeComponent" | "CheckboxTreeComponent" | "RecordSelectorComponent" | "TypeaheadInputComponent" | "RichTextEditorComponent" | "MapComponent" | "FileUploadComponent" | "PDFListComponent" | "RecordMetadataRetrieverComponent" | "DataLocationComponent" | "PublishDataLocationRefreshComponent" | "PublishDataLocationSelectorComponent")[];
|
|
645
|
+
declare const ComponentClassNames: ("RepeatableComponent" | "GroupComponent" | "TabContentComponent" | "SaveButtonComponent" | "SaveStatusComponent" | "IntegrationStatusComponent" | "WorkspaceSelectorComponent" | "CancelButtonComponent" | "DeleteButtonComponent" | "TabNavButtonComponent" | "TextAreaComponent" | "ContentComponent" | "RelatedObjectDataComponent" | "SimpleInputComponent" | "ValidationSummaryComponent" | "SuggestedValidationSummaryComponent" | "TabComponent" | "AccordionComponent" | "AccordionPanelComponent" | "CheckboxInputComponent" | "DropdownInputComponent" | "RadioInputComponent" | "DateInputComponent" | "QuestionTreeComponent" | "CheckboxTreeComponent" | "RecordSelectorComponent" | "TypeaheadInputComponent" | "RichTextEditorComponent" | "MapComponent" | "FileUploadComponent" | "PDFListComponent" | "RecordMetadataRetrieverComponent" | "DataLocationComponent" | "PublishDataLocationRefreshComponent" | "PublishDataLocationSelectorComponent")[];
|
|
622
646
|
export type ComponentClassNamesType = (typeof ComponentClassNames)[number];
|
|
623
647
|
export type StaticComponentClassMapGenType<T> = StaticClassMapType<ComponentClassNamesType, T>;
|
|
624
648
|
declare const ModelClassNames: ("RepeatableModel" | "GroupModel" | "TextAreaModel" | "SimpleInputModel" | "CheckboxInputModel" | "DropdownInputModel" | "RadioInputModel" | "DateInputModel" | "QuestionTreeModel" | "CheckboxTreeModel" | "RecordSelectorModel" | "TypeaheadInputModel" | "RichTextEditorModel" | "MapModel" | "FileUploadModel" | "PDFListModel" | "DataLocationModel" | "PublishDataLocationSelectorModel")[];
|
|
@@ -627,8 +651,8 @@ export type StaticModelClassMapGenType<T> = StaticClassMapType<ModelClassNamesTy
|
|
|
627
651
|
declare const LayoutClassNames: ("DefaultLayout" | "ActionRowLayout" | "InlineLayout" | "RepeatableElementLayout" | "TabContentLayout" | "TabLayout" | "AccordionLayout" | "AccordionPanelLayout")[];
|
|
628
652
|
export type LayoutClassNamesType = (typeof LayoutClassNames)[number];
|
|
629
653
|
export type StaticLayoutClassMapGenType<T> = StaticClassMapType<LayoutClassNamesType, T>;
|
|
630
|
-
declare const VisitorComponentClassNames: ("RepeatableComponent" | "GroupComponent" | "TabContentComponent" | "SaveButtonComponent" | "SaveStatusComponent" | "IntegrationStatusComponent" | "CancelButtonComponent" | "DeleteButtonComponent" | "TabNavButtonComponent" | "TextAreaComponent" | "ContentComponent" | "SimpleInputComponent" | "ValidationSummaryComponent" | "SuggestedValidationSummaryComponent" | "TabComponent" | "AccordionComponent" | "AccordionPanelComponent" | "CheckboxInputComponent" | "DropdownInputComponent" | "RadioInputComponent" | "DateInputComponent" | "ReusableComponent" | "QuestionTreeComponent" | "CheckboxTreeComponent" | "RecordSelectorComponent" | "TypeaheadInputComponent" | "RichTextEditorComponent" | "MapComponent" | "FileUploadComponent" | "PDFListComponent" | "RecordMetadataRetrieverComponent" | "DataLocationComponent" | "PublishDataLocationRefreshComponent" | "PublishDataLocationSelectorComponent")[];
|
|
631
|
-
declare const VisitorComponentDefItems: (typeof import("./component/repeatable.model").RepeatableFieldComponentDefinition | typeof import("./component/group.model").GroupFieldComponentDefinition | typeof import("./component/save-button.model").SaveButtonFieldComponentDefinition | typeof import("./component/save-status.model").SaveStatusFieldComponentDefinition | typeof import("./component/integration-status.model").IntegrationStatusFieldComponentDefinition | typeof import("./component/text-area.model").TextAreaFieldComponentDefinition | typeof import("./component/content.model").ContentFieldComponentDefinition | typeof import("./component/simple-input.model").SimpleInputFieldComponentDefinition | typeof import("./component/validation-summary.model").ValidationSummaryFieldComponentDefinition | typeof import("./component/suggested-validation-summary.model").SuggestedValidationSummaryFieldComponentDefinition | typeof import("./component/tab-content.model").TabContentFieldComponentDefinition | typeof import("./component/tab.model").TabFieldComponentDefinition | typeof import("./component/accordion.model").AccordionFieldComponentDefinition | typeof import("./component/accordion.model").AccordionPanelFieldComponentDefinition | typeof import("./component/checkbox-input.model").CheckboxInputFieldComponentDefinition | typeof import("./component/dropdown-input.model").DropdownInputFieldComponentDefinition | typeof import("./component/radio-input.model").RadioInputFieldComponentDefinition | typeof import("./component/date-input.model").DateInputFieldComponentDefinition | typeof import("./component/reusable.model").ReusableFieldComponentDefinition | typeof import("./component/question-tree.model").QuestionTreeFieldComponentDefinition | typeof import("./component/checkbox-tree.model").CheckboxTreeFieldComponentDefinition | typeof import("./component/record-selector.model").RecordSelectorFieldComponentDefinition | typeof import("./component/typeahead-input.model").TypeaheadInputFieldComponentDefinition | typeof import("./component/rich-text-editor.model").RichTextEditorFieldComponentDefinition | typeof import("./component/map.model").MapFieldComponentDefinition | typeof import("./component/file-upload.model").FileUploadFieldComponentDefinition | typeof import("./component/pdf-list.model").PDFListFieldComponentDefinition | typeof import("./component/record-metadata-retriever.model").RecordMetadataRetrieverFieldComponentDefinition | typeof import("./component/data-location.model").DataLocationFieldComponentDefinition | typeof import("./component/publish-data-location-refresh.model").PublishDataLocationRefreshFieldComponentDefinition | typeof import("./component/publish-data-location-selector.model").PublishDataLocationSelectorFieldComponentDefinition | typeof import("./component/cancel-button.model").CancelButtonFieldComponentDefinition | typeof import("./component/tab-nav-button.model").TabNavButtonFieldComponentDefinition | typeof import("./component/delete-button.model").DeleteButtonFieldComponentDefinition)[];
|
|
654
|
+
declare const VisitorComponentClassNames: ("RepeatableComponent" | "GroupComponent" | "TabContentComponent" | "SaveButtonComponent" | "SaveStatusComponent" | "IntegrationStatusComponent" | "WorkspaceSelectorComponent" | "CancelButtonComponent" | "DeleteButtonComponent" | "TabNavButtonComponent" | "TextAreaComponent" | "ContentComponent" | "RelatedObjectDataComponent" | "SimpleInputComponent" | "ValidationSummaryComponent" | "SuggestedValidationSummaryComponent" | "TabComponent" | "AccordionComponent" | "AccordionPanelComponent" | "CheckboxInputComponent" | "DropdownInputComponent" | "RadioInputComponent" | "DateInputComponent" | "ReusableComponent" | "QuestionTreeComponent" | "CheckboxTreeComponent" | "RecordSelectorComponent" | "TypeaheadInputComponent" | "RichTextEditorComponent" | "MapComponent" | "FileUploadComponent" | "PDFListComponent" | "RecordMetadataRetrieverComponent" | "DataLocationComponent" | "PublishDataLocationRefreshComponent" | "PublishDataLocationSelectorComponent")[];
|
|
655
|
+
declare const VisitorComponentDefItems: (typeof import("./component/repeatable.model").RepeatableFieldComponentDefinition | typeof import("./component/group.model").GroupFieldComponentDefinition | typeof import("./component/save-button.model").SaveButtonFieldComponentDefinition | typeof import("./component/save-status.model").SaveStatusFieldComponentDefinition | typeof import("./component/integration-status.model").IntegrationStatusFieldComponentDefinition | typeof import("./component/workspace.model").WorkspaceFieldComponentDefinition | typeof import("./component/text-area.model").TextAreaFieldComponentDefinition | typeof import("./component/content.model").ContentFieldComponentDefinition | typeof import("./component/related-object-data.model").RelatedObjectDataFieldComponentDefinition | typeof import("./component/simple-input.model").SimpleInputFieldComponentDefinition | typeof import("./component/validation-summary.model").ValidationSummaryFieldComponentDefinition | typeof import("./component/suggested-validation-summary.model").SuggestedValidationSummaryFieldComponentDefinition | typeof import("./component/tab-content.model").TabContentFieldComponentDefinition | typeof import("./component/tab.model").TabFieldComponentDefinition | typeof import("./component/accordion.model").AccordionFieldComponentDefinition | typeof import("./component/accordion.model").AccordionPanelFieldComponentDefinition | typeof import("./component/checkbox-input.model").CheckboxInputFieldComponentDefinition | typeof import("./component/dropdown-input.model").DropdownInputFieldComponentDefinition | typeof import("./component/radio-input.model").RadioInputFieldComponentDefinition | typeof import("./component/date-input.model").DateInputFieldComponentDefinition | typeof import("./component/reusable.model").ReusableFieldComponentDefinition | typeof import("./component/question-tree.model").QuestionTreeFieldComponentDefinition | typeof import("./component/checkbox-tree.model").CheckboxTreeFieldComponentDefinition | typeof import("./component/record-selector.model").RecordSelectorFieldComponentDefinition | typeof import("./component/typeahead-input.model").TypeaheadInputFieldComponentDefinition | typeof import("./component/rich-text-editor.model").RichTextEditorFieldComponentDefinition | typeof import("./component/map.model").MapFieldComponentDefinition | typeof import("./component/file-upload.model").FileUploadFieldComponentDefinition | typeof import("./component/pdf-list.model").PDFListFieldComponentDefinition | typeof import("./component/record-metadata-retriever.model").RecordMetadataRetrieverFieldComponentDefinition | typeof import("./component/data-location.model").DataLocationFieldComponentDefinition | typeof import("./component/publish-data-location-refresh.model").PublishDataLocationRefreshFieldComponentDefinition | typeof import("./component/publish-data-location-selector.model").PublishDataLocationSelectorFieldComponentDefinition | typeof import("./component/cancel-button.model").CancelButtonFieldComponentDefinition | typeof import("./component/tab-nav-button.model").TabNavButtonFieldComponentDefinition | typeof import("./component/delete-button.model").DeleteButtonFieldComponentDefinition)[];
|
|
632
656
|
type VisitorComponentDefItemsType = (typeof VisitorComponentDefItems)[number];
|
|
633
657
|
export type VisitorComponentClassNamesType = (typeof VisitorComponentClassNames)[number];
|
|
634
658
|
export type VisitorComponentClassDefMapType = Map<string, VisitorComponentDefItemsType>;
|
|
@@ -638,7 +662,7 @@ export type VisitorModelClassDefMapType = Map<string, VisitorModelDefItemsType>;
|
|
|
638
662
|
declare const VisitorLayoutDefItems: (typeof import("./component/default-layout.model").DefaultFieldLayoutDefinition | typeof import("./component/action-row-layout.model").ActionRowFieldLayoutDefinition | typeof import("./component/inline-layout.model").InlineFieldLayoutDefinition | typeof import("./component/repeatable.model").RepeatableElementFieldLayoutDefinition | typeof import("./component/tab-content.model").TabContentFieldLayoutDefinition | typeof import("./component/tab.model").TabFieldLayoutDefinition | typeof import("./component/accordion.model").AccordionFieldLayoutDefinition | typeof import("./component/accordion.model").AccordionPanelFieldLayoutDefinition)[];
|
|
639
663
|
type VisitorLayoutDefItemsType = (typeof VisitorLayoutDefItems)[number];
|
|
640
664
|
export type VisitorLayoutClassDefMapType = Map<string, VisitorLayoutDefItemsType>;
|
|
641
|
-
declare const VisitorFormComponentDefItems: (typeof import("./component/repeatable.model").RepeatableFormComponentDefinition | typeof import("./component/group.model").GroupFormComponentDefinition | typeof import("./component/save-button.model").SaveButtonFormComponentDefinition | typeof import("./component/save-status.model").SaveStatusFormComponentDefinition | typeof import("./component/integration-status.model").IntegrationStatusFormComponentDefinition | typeof import("./component/text-area.model").TextAreaFormComponentDefinition | typeof import("./component/content.model").ContentFormComponentDefinition | typeof import("./component/simple-input.model").SimpleInputFormComponentDefinition | typeof import("./component/validation-summary.model").ValidationSummaryFormComponentDefinition | typeof import("./component/suggested-validation-summary.model").SuggestedValidationSummaryFormComponentDefinition | typeof import("./component/tab-content.model").TabContentFormComponentDefinition | typeof import("./component/tab.model").TabFormComponentDefinition | typeof import("./component/accordion.model").AccordionFormComponentDefinition | typeof import("./component/accordion.model").AccordionPanelFormComponentDefinition | typeof import("./component/checkbox-input.model").CheckboxInputFormComponentDefinition | typeof import("./component/dropdown-input.model").DropdownInputFormComponentDefinition | typeof import("./component/radio-input.model").RadioInputFormComponentDefinition | typeof import("./component/date-input.model").DateInputFormComponentDefinition | typeof import("./component/reusable.model").ReusableFormComponentDefinition | typeof import("./component/question-tree.model").QuestionTreeFormComponentDefinition | typeof import("./component/checkbox-tree.model").CheckboxTreeFormComponentDefinition | typeof import("./component/record-selector.model").RecordSelectorFormComponentDefinition | typeof import("./component/typeahead-input.model").TypeaheadInputFormComponentDefinition | typeof import("./component/rich-text-editor.model").RichTextEditorFormComponentDefinition | typeof import("./component/map.model").MapFormComponentDefinition | typeof import("./component/file-upload.model").FileUploadFormComponentDefinition | typeof import("./component/pdf-list.model").PDFListFormComponentDefinition | typeof import("./component/record-metadata-retriever.model").RecordMetadataRetrieverFormComponentDefinition | typeof import("./component/data-location.model").DataLocationFormComponentDefinition | typeof import("./component/publish-data-location-refresh.model").PublishDataLocationRefreshFormComponentDefinition | typeof import("./component/publish-data-location-selector.model").PublishDataLocationSelectorFormComponentDefinition | typeof import("./component/cancel-button.model").CancelButtonFormComponentDefinition | typeof import("./component/tab-nav-button.model").TabNavButtonFormComponentDefinition | typeof import("./component/delete-button.model").DeleteButtonFormComponentDefinition)[];
|
|
665
|
+
declare const VisitorFormComponentDefItems: (typeof import("./component/repeatable.model").RepeatableFormComponentDefinition | typeof import("./component/group.model").GroupFormComponentDefinition | typeof import("./component/save-button.model").SaveButtonFormComponentDefinition | typeof import("./component/save-status.model").SaveStatusFormComponentDefinition | typeof import("./component/integration-status.model").IntegrationStatusFormComponentDefinition | typeof import("./component/workspace.model").WorkspaceFormComponentDefinition | typeof import("./component/text-area.model").TextAreaFormComponentDefinition | typeof import("./component/content.model").ContentFormComponentDefinition | typeof import("./component/related-object-data.model").RelatedObjectDataFormComponentDefinition | typeof import("./component/simple-input.model").SimpleInputFormComponentDefinition | typeof import("./component/validation-summary.model").ValidationSummaryFormComponentDefinition | typeof import("./component/suggested-validation-summary.model").SuggestedValidationSummaryFormComponentDefinition | typeof import("./component/tab-content.model").TabContentFormComponentDefinition | typeof import("./component/tab.model").TabFormComponentDefinition | typeof import("./component/accordion.model").AccordionFormComponentDefinition | typeof import("./component/accordion.model").AccordionPanelFormComponentDefinition | typeof import("./component/checkbox-input.model").CheckboxInputFormComponentDefinition | typeof import("./component/dropdown-input.model").DropdownInputFormComponentDefinition | typeof import("./component/radio-input.model").RadioInputFormComponentDefinition | typeof import("./component/date-input.model").DateInputFormComponentDefinition | typeof import("./component/reusable.model").ReusableFormComponentDefinition | typeof import("./component/question-tree.model").QuestionTreeFormComponentDefinition | typeof import("./component/checkbox-tree.model").CheckboxTreeFormComponentDefinition | typeof import("./component/record-selector.model").RecordSelectorFormComponentDefinition | typeof import("./component/typeahead-input.model").TypeaheadInputFormComponentDefinition | typeof import("./component/rich-text-editor.model").RichTextEditorFormComponentDefinition | typeof import("./component/map.model").MapFormComponentDefinition | typeof import("./component/file-upload.model").FileUploadFormComponentDefinition | typeof import("./component/pdf-list.model").PDFListFormComponentDefinition | typeof import("./component/record-metadata-retriever.model").RecordMetadataRetrieverFormComponentDefinition | typeof import("./component/data-location.model").DataLocationFormComponentDefinition | typeof import("./component/publish-data-location-refresh.model").PublishDataLocationRefreshFormComponentDefinition | typeof import("./component/publish-data-location-selector.model").PublishDataLocationSelectorFormComponentDefinition | typeof import("./component/cancel-button.model").CancelButtonFormComponentDefinition | typeof import("./component/tab-nav-button.model").TabNavButtonFormComponentDefinition | typeof import("./component/delete-button.model").DeleteButtonFormComponentDefinition)[];
|
|
642
666
|
type VisitorFormComponentDefItemsType = (typeof VisitorFormComponentDefItems)[number];
|
|
643
667
|
export type VisitorFormComponentClassDefMapType = Map<string, VisitorFormComponentDefItemsType>;
|
|
644
668
|
export declare const FieldComponentDefinitionMap: VisitorComponentClassDefMapType;
|