@nocobase/plugin-flow-engine 2.1.0-beta.23 → 2.1.0-beta.25
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/ai/ai-employees/nathan/index.js +1 -0
- package/dist/externalVersion.js +10 -10
- package/dist/node_modules/ses/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/flow-surfaces/blueprint/compile-blocks.d.ts +2 -1
- package/dist/server/flow-surfaces/blueprint/compile-blocks.js +142 -22
- package/dist/server/flow-surfaces/blueprint/compile-plan.d.ts +2 -1
- package/dist/server/flow-surfaces/blueprint/compile-plan.js +8 -8
- package/dist/server/flow-surfaces/blueprint/normalize-document.js +5 -14
- package/dist/server/flow-surfaces/blueprint/private-utils.d.ts +0 -1
- package/dist/server/flow-surfaces/blueprint/private-utils.js +0 -3
- package/dist/server/flow-surfaces/blueprint/public-types.d.ts +1 -1
- package/dist/server/flow-surfaces/builder.d.ts +1 -0
- package/dist/server/flow-surfaces/builder.js +167 -53
- package/dist/server/flow-surfaces/catalog.js +59 -3
- package/dist/server/flow-surfaces/compose-compiler.d.ts +0 -1
- package/dist/server/flow-surfaces/compose-compiler.js +0 -1
- package/dist/server/flow-surfaces/configure-options.js +4 -4
- package/dist/server/flow-surfaces/contract-guard.js +11 -3
- package/dist/server/flow-surfaces/default-block-actions.js +11 -10
- package/dist/server/flow-surfaces/field-type-resolver.d.ts +0 -1
- package/dist/server/flow-surfaces/field-type-resolver.js +3 -13
- package/dist/server/flow-surfaces/hidden-popup-calendar.d.ts +86 -0
- package/dist/server/flow-surfaces/hidden-popup-calendar.js +554 -0
- package/dist/server/flow-surfaces/hidden-popup-contract.d.ts +116 -0
- package/dist/server/flow-surfaces/hidden-popup-contract.js +611 -0
- package/dist/server/flow-surfaces/hidden-popup-kanban.d.ts +62 -0
- package/dist/server/flow-surfaces/hidden-popup-kanban.js +651 -0
- package/dist/server/flow-surfaces/placement.js +1 -0
- package/dist/server/flow-surfaces/public-compatibility.d.ts +28 -0
- package/dist/server/flow-surfaces/public-compatibility.js +161 -0
- package/dist/server/flow-surfaces/service-utils.d.ts +0 -1
- package/dist/server/flow-surfaces/service-utils.js +0 -6
- package/dist/server/flow-surfaces/service.d.ts +66 -10
- package/dist/server/flow-surfaces/service.js +1677 -795
- package/dist/swagger/flow-surfaces.d.ts +0 -29
- package/dist/swagger/flow-surfaces.js +8 -17
- package/dist/swagger/index.d.ts +0 -29
- package/package.json +2 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export declare const FLOW_SURFACE_DEFAULT_SORTING: {
|
|
10
|
+
field: string;
|
|
11
|
+
direction: string;
|
|
12
|
+
}[];
|
|
13
|
+
type NormalizeSortingAliasInput = {
|
|
14
|
+
context: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
use?: string;
|
|
17
|
+
settings?: any;
|
|
18
|
+
};
|
|
19
|
+
export declare function normalizeFlowSurfaceDefaultSorting(input: any, context: string): {
|
|
20
|
+
field: string;
|
|
21
|
+
direction: string;
|
|
22
|
+
}[];
|
|
23
|
+
export declare function normalizeFlowSurfaceEmptySortingAsDefault(input: any, context: string): {
|
|
24
|
+
field: string;
|
|
25
|
+
direction: string;
|
|
26
|
+
}[];
|
|
27
|
+
export declare function normalizeFlowSurfacePublicSortingAlias(input: NormalizeSortingAliasInput): any;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __create = Object.create;
|
|
11
|
+
var __defProp = Object.defineProperty;
|
|
12
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
+
var __export = (target, all) => {
|
|
17
|
+
for (var name in all)
|
|
18
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
+
};
|
|
20
|
+
var __copyProps = (to, from, except, desc) => {
|
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(from))
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
29
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
|
+
mod
|
|
35
|
+
));
|
|
36
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
37
|
+
var public_compatibility_exports = {};
|
|
38
|
+
__export(public_compatibility_exports, {
|
|
39
|
+
FLOW_SURFACE_DEFAULT_SORTING: () => FLOW_SURFACE_DEFAULT_SORTING,
|
|
40
|
+
normalizeFlowSurfaceDefaultSorting: () => normalizeFlowSurfaceDefaultSorting,
|
|
41
|
+
normalizeFlowSurfaceEmptySortingAsDefault: () => normalizeFlowSurfaceEmptySortingAsDefault,
|
|
42
|
+
normalizeFlowSurfacePublicSortingAlias: () => normalizeFlowSurfacePublicSortingAlias
|
|
43
|
+
});
|
|
44
|
+
module.exports = __toCommonJS(public_compatibility_exports);
|
|
45
|
+
var import_lodash = __toESM(require("lodash"));
|
|
46
|
+
var import_configure_options = require("./configure-options");
|
|
47
|
+
var import_errors = require("./errors");
|
|
48
|
+
var import_support_matrix = require("./support-matrix");
|
|
49
|
+
const FLOW_SURFACE_DEFAULT_SORTING = [{ field: "createdAt", direction: "desc" }];
|
|
50
|
+
function resolveBlockUse(input) {
|
|
51
|
+
var _a;
|
|
52
|
+
const explicitUse = String(input.use || "").trim();
|
|
53
|
+
if (explicitUse) {
|
|
54
|
+
return explicitUse;
|
|
55
|
+
}
|
|
56
|
+
const typeOrUse = String(input.type || "").trim();
|
|
57
|
+
if (!typeOrUse) {
|
|
58
|
+
return void 0;
|
|
59
|
+
}
|
|
60
|
+
if (import_support_matrix.FLOW_SURFACE_BLOCK_SUPPORT_BY_USE.has(typeOrUse)) {
|
|
61
|
+
return typeOrUse;
|
|
62
|
+
}
|
|
63
|
+
return ((_a = import_support_matrix.FLOW_SURFACE_BLOCK_SUPPORT_BY_KEY.get(typeOrUse)) == null ? void 0 : _a.modelUse) || typeOrUse;
|
|
64
|
+
}
|
|
65
|
+
function blockSupportsSorting(use) {
|
|
66
|
+
return !!use && (0, import_configure_options.getConfigureOptionKeysForUse)(use).includes("sorting");
|
|
67
|
+
}
|
|
68
|
+
function normalizeSortingDirection(input, context) {
|
|
69
|
+
const normalized = String(input || "").trim().toLowerCase();
|
|
70
|
+
if (!normalized || normalized === "asc" || normalized === "ascend" || normalized === "ascending") {
|
|
71
|
+
return "asc";
|
|
72
|
+
}
|
|
73
|
+
if (normalized === "desc" || normalized === "descend" || normalized === "descending") {
|
|
74
|
+
return "desc";
|
|
75
|
+
}
|
|
76
|
+
(0, import_errors.throwBadRequest)(`${context} must be 'asc' or 'desc'`);
|
|
77
|
+
}
|
|
78
|
+
function normalizeSortingField(input, context) {
|
|
79
|
+
const field = String(input || "").trim();
|
|
80
|
+
if (!field) {
|
|
81
|
+
(0, import_errors.throwBadRequest)(`${context} must be a non-empty field name`);
|
|
82
|
+
}
|
|
83
|
+
return field;
|
|
84
|
+
}
|
|
85
|
+
function normalizeSortingEntry(input, context) {
|
|
86
|
+
if (import_lodash.default.isString(input)) {
|
|
87
|
+
const value = input.trim();
|
|
88
|
+
if (!value) {
|
|
89
|
+
(0, import_errors.throwBadRequest)(`${context} must be a non-empty sort field`);
|
|
90
|
+
}
|
|
91
|
+
const descending = value.startsWith("-");
|
|
92
|
+
const field = descending ? value.slice(1).trim() : value;
|
|
93
|
+
return {
|
|
94
|
+
field: normalizeSortingField(field, context),
|
|
95
|
+
direction: descending ? "desc" : "asc"
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
if (!import_lodash.default.isPlainObject(input)) {
|
|
99
|
+
(0, import_errors.throwBadRequest)(`${context} must be a string or an object with field and direction`);
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
field: normalizeSortingField(input.field, `${context}.field`),
|
|
103
|
+
direction: normalizeSortingDirection(input.direction, `${context}.direction`)
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function normalizeSortingArray(input, context) {
|
|
107
|
+
if (!Array.isArray(input)) {
|
|
108
|
+
(0, import_errors.throwBadRequest)(`${context} must be an array`);
|
|
109
|
+
}
|
|
110
|
+
return input.map((item, index) => normalizeSortingEntry(item, `${context}[${index}]`));
|
|
111
|
+
}
|
|
112
|
+
function normalizeFlowSurfaceDefaultSorting(input, context) {
|
|
113
|
+
if (Array.isArray(input)) {
|
|
114
|
+
return normalizeSortingArray(input, context);
|
|
115
|
+
}
|
|
116
|
+
if (import_lodash.default.isUndefined(input) || import_lodash.default.isNull(input)) {
|
|
117
|
+
return import_lodash.default.cloneDeep(FLOW_SURFACE_DEFAULT_SORTING);
|
|
118
|
+
}
|
|
119
|
+
(0, import_errors.throwBadRequest)(`${context} must be an array`);
|
|
120
|
+
}
|
|
121
|
+
function normalizeFlowSurfaceEmptySortingAsDefault(input, context) {
|
|
122
|
+
if (Array.isArray(input) && !input.length) {
|
|
123
|
+
return import_lodash.default.cloneDeep(FLOW_SURFACE_DEFAULT_SORTING);
|
|
124
|
+
}
|
|
125
|
+
return normalizeFlowSurfaceDefaultSorting(input, context);
|
|
126
|
+
}
|
|
127
|
+
function normalizeFlowSurfacePublicSortingAlias(input) {
|
|
128
|
+
if (import_lodash.default.isUndefined(input.settings)) {
|
|
129
|
+
return input.settings;
|
|
130
|
+
}
|
|
131
|
+
if (!import_lodash.default.isPlainObject(input.settings)) {
|
|
132
|
+
(0, import_errors.throwBadRequest)(`${input.context} must be an object`);
|
|
133
|
+
}
|
|
134
|
+
if (!Object.prototype.hasOwnProperty.call(input.settings, "sort")) {
|
|
135
|
+
return input.settings;
|
|
136
|
+
}
|
|
137
|
+
const use = resolveBlockUse(input);
|
|
138
|
+
if (!blockSupportsSorting(use)) {
|
|
139
|
+
return input.settings;
|
|
140
|
+
}
|
|
141
|
+
const nextSettings = import_lodash.default.cloneDeep(input.settings);
|
|
142
|
+
const sortingFromSort = normalizeFlowSurfaceDefaultSorting(nextSettings.sort, `${input.context}.sort`);
|
|
143
|
+
if (Object.prototype.hasOwnProperty.call(nextSettings, "sorting")) {
|
|
144
|
+
const canonicalSorting = normalizeFlowSurfaceDefaultSorting(nextSettings.sorting, `${input.context}.sorting`);
|
|
145
|
+
if (!import_lodash.default.isEqual(sortingFromSort, canonicalSorting)) {
|
|
146
|
+
(0, import_errors.throwBadRequest)(`${input.context}.sort conflicts with ${input.context}.sorting; use canonical sorting`);
|
|
147
|
+
}
|
|
148
|
+
nextSettings.sorting = canonicalSorting;
|
|
149
|
+
} else {
|
|
150
|
+
nextSettings.sorting = sortingFromSort;
|
|
151
|
+
}
|
|
152
|
+
delete nextSettings.sort;
|
|
153
|
+
return nextSettings;
|
|
154
|
+
}
|
|
155
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
156
|
+
0 && (module.exports = {
|
|
157
|
+
FLOW_SURFACE_DEFAULT_SORTING,
|
|
158
|
+
normalizeFlowSurfaceDefaultSorting,
|
|
159
|
+
normalizeFlowSurfaceEmptySortingAsDefault,
|
|
160
|
+
normalizeFlowSurfacePublicSortingAlias
|
|
161
|
+
});
|
|
@@ -388,10 +388,6 @@ function normalizeComposeFieldSpec(input, index) {
|
|
|
388
388
|
const renderer = typeof input.renderer === "undefined" ? void 0 : String(input.renderer || "").trim();
|
|
389
389
|
const fieldType = (0, import_field_type_resolver.normalizePublicFieldType)(input.fieldType, `compose field #${index + 1}`);
|
|
390
390
|
const fields = (0, import_field_type_resolver.normalizePublicFieldNameList)(input.fields, `compose field #${index + 1}.fields`);
|
|
391
|
-
const selectorFields = (0, import_field_type_resolver.normalizePublicFieldNameList)(
|
|
392
|
-
input.selectorFields,
|
|
393
|
-
`compose field #${index + 1}.selectorFields`
|
|
394
|
-
);
|
|
395
391
|
const titleField = typeof input.titleField === "undefined" ? void 0 : String(input.titleField || "").trim();
|
|
396
392
|
const openMode = typeof input.openMode === "undefined" ? void 0 : String(input.openMode || "").trim();
|
|
397
393
|
const popupSize = typeof input.popupSize === "undefined" ? void 0 : String(input.popupSize || "").trim();
|
|
@@ -423,7 +419,6 @@ function normalizeComposeFieldSpec(input, index) {
|
|
|
423
419
|
...semanticType ? { type: semanticType } : {},
|
|
424
420
|
...fieldType ? { fieldType } : {},
|
|
425
421
|
...!import_lodash.default.isUndefined(fields) ? { fields } : {},
|
|
426
|
-
...!import_lodash.default.isUndefined(selectorFields) ? { selectorFields } : {},
|
|
427
422
|
...titleField ? { titleField } : {},
|
|
428
423
|
...openMode ? { openMode } : {},
|
|
429
424
|
...popupSize ? { popupSize } : {},
|
|
@@ -665,7 +660,6 @@ function splitComposeFieldChanges(changes, wrapperUse) {
|
|
|
665
660
|
"name",
|
|
666
661
|
"fieldType",
|
|
667
662
|
"fields",
|
|
668
|
-
"selectorFields",
|
|
669
663
|
"titleField",
|
|
670
664
|
"openMode",
|
|
671
665
|
"popupSize",
|
|
@@ -10,9 +10,9 @@ import type { Plugin } from '@nocobase/server';
|
|
|
10
10
|
import _ from 'lodash';
|
|
11
11
|
import FlowModelRepository from '../repository';
|
|
12
12
|
import { SurfaceLocator } from './locator';
|
|
13
|
-
import {
|
|
13
|
+
import type { TemplateTranslate } from './template-display';
|
|
14
14
|
import type { FlowSurfaceActionLinkageRule, FlowSurfaceBlockLinkageRule, FlowSurfaceFieldLinkageRule, FlowSurfaceFieldValueRule, FlowSurfaceGetReactionMetaResult, FlowSurfaceGetReactionMetaValues, FlowSurfaceReactionWriteResult, FlowSurfaceReactionWriteValues } from './reaction/types';
|
|
15
|
-
import {
|
|
15
|
+
import type { FlowSurfaceTemplateListPopupActionContext, FlowSurfaceTemplateListValues, FlowSurfaceTemplateRow } from './template-service-utils';
|
|
16
16
|
import type { FlowSurfaceApplyValues, FlowSurfaceCatalogResponse, FlowSurfaceCatalogValues, FlowSurfaceComposeValues, FlowSurfaceConfigureValues, FlowSurfaceContextValues, FlowSurfaceDescribeValues, FlowSurfaceMutateValues } from './types';
|
|
17
17
|
type FlowSurfacePopupTemplateAliasSession = Map<string, string>;
|
|
18
18
|
type FlowSurfaceAddFieldResult = {
|
|
@@ -48,6 +48,7 @@ export declare class FlowSurfacesService {
|
|
|
48
48
|
private get surfaceContext();
|
|
49
49
|
private get approvalRuntimeConfigService();
|
|
50
50
|
private get approvalBlueprintService();
|
|
51
|
+
private get hiddenPopupRuntime();
|
|
51
52
|
private setFlowModelNodeAsyncFlag;
|
|
52
53
|
private loadEnabledPluginPackages;
|
|
53
54
|
private resolveEnabledPluginPackages;
|
|
@@ -77,6 +78,7 @@ export declare class FlowSurfacesService {
|
|
|
77
78
|
private patchResolvedNodeConfigureOptions;
|
|
78
79
|
private buildRelationFieldTypeCandidates;
|
|
79
80
|
private collectRelationNestedFieldPaths;
|
|
81
|
+
private collectRelationFieldPaths;
|
|
80
82
|
private collectRelationSelectorFieldPaths;
|
|
81
83
|
private projectCatalogItem;
|
|
82
84
|
private buildCatalogBlockItem;
|
|
@@ -86,6 +88,7 @@ export declare class FlowSurfacesService {
|
|
|
86
88
|
private isCatalogBlockVisibleForPopupProfile;
|
|
87
89
|
private getPopupCollectionBlockScenes;
|
|
88
90
|
private isPopupCollectionBlockSceneUnsupported;
|
|
91
|
+
private supportsPopupAssociatedRecordsBinding;
|
|
89
92
|
private isPopupCollectionBlockVisibleForScene;
|
|
90
93
|
private resolveFieldAssociationContextFromBinding;
|
|
91
94
|
private resolvePopupHostFieldAssociationContext;
|
|
@@ -96,6 +99,7 @@ export declare class FlowSurfacesService {
|
|
|
96
99
|
private buildPopupBlockResourceBindings;
|
|
97
100
|
private listPopupAssociatedRecordFields;
|
|
98
101
|
private resolvePopupBlockProfile;
|
|
102
|
+
private resolvePopupCurrentRecordResourceFilterByTk;
|
|
99
103
|
private resolvePopupAssociationFields;
|
|
100
104
|
private findPopupHostNode;
|
|
101
105
|
private getBlockKeyByUse;
|
|
@@ -104,6 +108,8 @@ export declare class FlowSurfacesService {
|
|
|
104
108
|
private assertRequiredBlockResourceInit;
|
|
105
109
|
private describeComposeBlock;
|
|
106
110
|
private resolvePopupCollectionBlockResourceInit;
|
|
111
|
+
private shouldUseLegacyAssociationPopupCurrentRecordBinding;
|
|
112
|
+
private shouldNormalizeLegacyAssociationPopupRecordBlockResource;
|
|
107
113
|
private compilePopupSemanticResourceInit;
|
|
108
114
|
private assertPopupRawResourceInit;
|
|
109
115
|
private validatePopupRawResourceInit;
|
|
@@ -225,6 +231,9 @@ export declare class FlowSurfacesService {
|
|
|
225
231
|
private inferSaveTemplateTarget;
|
|
226
232
|
private createFlowTemplateReferenceBlockModel;
|
|
227
233
|
private buildPopupTemplateReferenceOpenView;
|
|
234
|
+
private shouldHydrateDetachedPopupTemplateBlockResourceContext;
|
|
235
|
+
private collectDetachedPopupTemplateBlockResourceContextPatches;
|
|
236
|
+
private hydrateDetachedPopupTemplateBlockResourceContext;
|
|
228
237
|
private hydrateDetachedPopupTemplateSourceContext;
|
|
229
238
|
private clearFlowTemplateUsagesByModelUids;
|
|
230
239
|
private clearFlowTemplateUsagesForNodeTree;
|
|
@@ -432,6 +441,9 @@ export declare class FlowSurfacesService {
|
|
|
432
441
|
private validateComposePopupTemplateAliases;
|
|
433
442
|
private validateApplyBlueprintPopupTemplateAliases;
|
|
434
443
|
private normalizeInlineSettings;
|
|
444
|
+
private shouldEnableCreatedAtDefaultSorting;
|
|
445
|
+
private normalizeBlockSortingInput;
|
|
446
|
+
private normalizeMapSortingInput;
|
|
435
447
|
private normalizeInlinePopup;
|
|
436
448
|
private normalizePopupSaveAsTemplate;
|
|
437
449
|
private hasInlinePopupSaveAsTemplateSource;
|
|
@@ -443,6 +455,9 @@ export declare class FlowSurfacesService {
|
|
|
443
455
|
private resolveFieldBindingContext;
|
|
444
456
|
private resolveAutoGeneratedFieldPopupTemplateMetadata;
|
|
445
457
|
private shouldAutoSaveDefaultActionPopupTemplate;
|
|
458
|
+
private resolveDefaultActionPopupSemanticUse;
|
|
459
|
+
private getDefaultActionPopupConfigForNode;
|
|
460
|
+
private isDefaultActionPopupUseForNode;
|
|
446
461
|
private shouldImplicitlyTemplateDefaultActionPopup;
|
|
447
462
|
private buildImplicitTemplateDefaultActionPopup;
|
|
448
463
|
private resolveAutoGeneratedActionPopupTemplateMetadata;
|
|
@@ -460,6 +475,7 @@ export declare class FlowSurfacesService {
|
|
|
460
475
|
private getDefaultFlowTemplateSort;
|
|
461
476
|
private getPopupTryTemplateExpectedAssociationName;
|
|
462
477
|
private getPopupTryTemplatePriority;
|
|
478
|
+
private shouldRequireExactPopupTryTemplateAssociation;
|
|
463
479
|
private getRequestedPopupDefaultType;
|
|
464
480
|
private getPopupTryTemplateAllowedDefaultTypes;
|
|
465
481
|
private inferPopupDefaultTypeFromTemplateTree;
|
|
@@ -468,6 +484,7 @@ export declare class FlowSurfacesService {
|
|
|
468
484
|
private getFlowTemplateOrThrow;
|
|
469
485
|
private buildPopupTemplateOpenView;
|
|
470
486
|
private isReferencedPopupTemplateOpenView;
|
|
487
|
+
private isPopupTemplateReferenceOpenViewState;
|
|
471
488
|
private isEditableDefaultActionPopupTemplateReference;
|
|
472
489
|
private resolveExternalPopupHostUid;
|
|
473
490
|
private resolveDetachedPopupCopyUid;
|
|
@@ -529,9 +546,11 @@ export declare class FlowSurfacesService {
|
|
|
529
546
|
updateSettings(values: Record<string, any>, options?: {
|
|
530
547
|
transaction?: any;
|
|
531
548
|
replaceChartCardSettings?: boolean;
|
|
549
|
+
replacePopupStepParamSubtrees?: boolean;
|
|
532
550
|
openViewActionName?: string;
|
|
533
551
|
popupTemplateHostUid?: string;
|
|
534
552
|
popupActionContext?: FlowSurfaceTemplateListPopupActionContext;
|
|
553
|
+
skipHiddenPopupHostEnsure?: boolean;
|
|
535
554
|
}): Promise<{
|
|
536
555
|
uid: any;
|
|
537
556
|
updated?: undefined;
|
|
@@ -539,8 +558,20 @@ export declare class FlowSurfacesService {
|
|
|
539
558
|
uid: any;
|
|
540
559
|
updated: string[];
|
|
541
560
|
}>;
|
|
561
|
+
private syncCalendarPopupPropsForUpdateSettings;
|
|
562
|
+
private replaceExplicitPopupStepParamSubtreesForUpdateSettings;
|
|
563
|
+
private normalizePopupStepParamReplacementForUpdateSettings;
|
|
564
|
+
private stripPopupPropsFromPayload;
|
|
565
|
+
private syncDefaultSortingForUpdateSettings;
|
|
566
|
+
private syncKanbanPopupPropsForUpdateSettings;
|
|
542
567
|
private syncFilterActionSettingsForUpdateSettings;
|
|
543
568
|
private syncMirroredStepParamsForUpdateSettings;
|
|
569
|
+
private syncUpdateActionAssignedValuesForUpdateSettings;
|
|
570
|
+
private syncUpdateActionAssignFormItems;
|
|
571
|
+
private ensureUpdateActionAssignForm;
|
|
572
|
+
private ensureUpdateActionAssignFormGrid;
|
|
573
|
+
private buildUpdateActionAssignFormItemTree;
|
|
574
|
+
private resolveUpdateActionAssignFormFieldUse;
|
|
544
575
|
private normalizeCanonicalBlockHeaderWriteForUpdateSettings;
|
|
545
576
|
private syncCanonicalBlockHeaderForUpdateSettings;
|
|
546
577
|
private stripLegacyBlockHeaderChromeForUpdateSettings;
|
|
@@ -630,10 +661,15 @@ export declare class FlowSurfacesService {
|
|
|
630
661
|
private resolveComposeBlockActionCatalogItem;
|
|
631
662
|
private resolveComposeRecordActionCatalogItem;
|
|
632
663
|
private isAddChildCatalogItem;
|
|
664
|
+
private resolveTreeChildrenField;
|
|
665
|
+
private resolveTreeChildrenAssociationName;
|
|
633
666
|
private isTreeCollection;
|
|
634
667
|
private isTreeTableEnabled;
|
|
635
668
|
private resolveAddChildOwnerNode;
|
|
669
|
+
private resolveAddChildOwnerResourceContext;
|
|
636
670
|
private resolveOwnerCollectionForAddChild;
|
|
671
|
+
private resolveAddChildResourceInitForOwnerNode;
|
|
672
|
+
private normalizeAddChildOpenViewForAction;
|
|
637
673
|
private canUseAddChildOnOwnerNode;
|
|
638
674
|
private assertAddChildSupportedForOwnerNode;
|
|
639
675
|
private filterTargetRecordActions;
|
|
@@ -690,6 +726,7 @@ export declare class FlowSurfacesService {
|
|
|
690
726
|
private configureFieldWrapper;
|
|
691
727
|
private configureFieldNode;
|
|
692
728
|
private normalizeFilterActionDefaultFilterValue;
|
|
729
|
+
private normalizeActionAssignValues;
|
|
693
730
|
private configureActionNode;
|
|
694
731
|
private normalizeActionPanelActionChanges;
|
|
695
732
|
private buildFieldCatalog;
|
|
@@ -734,6 +771,12 @@ export declare class FlowSurfacesService {
|
|
|
734
771
|
private resolveContextOwnerCollection;
|
|
735
772
|
private resolveItemContextCollection;
|
|
736
773
|
private resolvePopupHostOpenView;
|
|
774
|
+
private popupHostHasLocalContent;
|
|
775
|
+
private shouldAutoBindPopupTemplate;
|
|
776
|
+
private patchPopupOpenViewIfChanged;
|
|
777
|
+
private buildPopupOpenViewWithTemplate;
|
|
778
|
+
private completePopupHostDefaultContent;
|
|
779
|
+
private ensurePopupHostDefaultContent;
|
|
737
780
|
private resolvePopupSourceRecordCollectionName;
|
|
738
781
|
private resolvePopupContextLevel;
|
|
739
782
|
private getCollection;
|
|
@@ -758,10 +801,14 @@ export declare class FlowSurfacesService {
|
|
|
758
801
|
private buildKanbanInlineGroupOptions;
|
|
759
802
|
private mergeKanbanInlineGroupOptions;
|
|
760
803
|
private normalizeKanbanPopupSettings;
|
|
761
|
-
private getKanbanPopupActionUse;
|
|
762
804
|
private getKanbanPopupActionUid;
|
|
763
805
|
private getKanbanBlockResourceInit;
|
|
806
|
+
private buildKanbanInitialStepParams;
|
|
807
|
+
private buildKanbanInitialItemProps;
|
|
808
|
+
private buildKanbanInitialItemStepParams;
|
|
764
809
|
private getKanbanPopupStoredSettings;
|
|
810
|
+
private mergeKanbanPopupSettings;
|
|
811
|
+
private stripKanbanPopupTargetSettingsForResourceChange;
|
|
765
812
|
private buildKanbanPopupOpenView;
|
|
766
813
|
private normalizeKanbanPopupConfigureValue;
|
|
767
814
|
private buildKanbanInitialBlockProps;
|
|
@@ -782,21 +829,27 @@ export declare class FlowSurfacesService {
|
|
|
782
829
|
private assertCalendarFieldBinding;
|
|
783
830
|
private normalizeCalendarFieldNamesForCollection;
|
|
784
831
|
private normalizeCalendarPopupSettings;
|
|
785
|
-
private getCalendarPopupActionUse;
|
|
786
|
-
private getCalendarPopupPropKey;
|
|
787
|
-
private getCalendarPopupActionUid;
|
|
788
832
|
private getCalendarBlockResourceInit;
|
|
833
|
+
private getCalendarPopupStoredSettings;
|
|
834
|
+
private getCalendarPopupPropKey;
|
|
835
|
+
private buildCalendarInitialStepParams;
|
|
789
836
|
private buildCalendarPopupOpenView;
|
|
837
|
+
private mergeCalendarPopupSettings;
|
|
838
|
+
private stripCalendarPopupTargetSettingsForResourceChange;
|
|
790
839
|
private normalizeCalendarPopupConfigureValue;
|
|
840
|
+
private normalizeCalendarInlineSettingsForConfigure;
|
|
841
|
+
private omitHiddenPopupSettingsForConfigure;
|
|
842
|
+
private resolveCalendarInitialPopupOverride;
|
|
843
|
+
private resolveKanbanInitialPopupOverride;
|
|
791
844
|
private buildCalendarInitialBlockProps;
|
|
792
845
|
private ensureCalendarBlockPopupHosts;
|
|
793
|
-
private ensureCalendarBlockPopupHostsInTree;
|
|
794
|
-
private projectCalendarBlockPopupHosts;
|
|
795
846
|
private projectCalendarBlockPopupHostsInTree;
|
|
847
|
+
private replaceKanbanStoredPopupSettings;
|
|
796
848
|
private ensureKanbanBlockPopupHosts;
|
|
797
|
-
private ensureKanbanBlockPopupHostsInTree;
|
|
798
|
-
private projectKanbanBlockPopupHosts;
|
|
799
849
|
private projectKanbanBlockPopupHostsInTree;
|
|
850
|
+
private resolveManagedPopupTargetUidForHiddenPopupBackfill;
|
|
851
|
+
private ensureHiddenPopupBlockHostsInManagedPopupTarget;
|
|
852
|
+
private ensureHiddenPopupBlockHostsInTree;
|
|
800
853
|
private getCalendarSettingValue;
|
|
801
854
|
private validateCalendarSettingValues;
|
|
802
855
|
private validateCalendarBlockState;
|
|
@@ -815,6 +868,8 @@ export declare class FlowSurfacesService {
|
|
|
815
868
|
private ensureFlowRoutePageSchemaShell;
|
|
816
869
|
private removeFlowRoutePageSchemaShell;
|
|
817
870
|
private normalizeDisplayFieldBinding;
|
|
871
|
+
private collectionFieldHasRequiredValidation;
|
|
872
|
+
private buildRequiredCollectionFieldFormWrapperDefaults;
|
|
818
873
|
private getCollectionFieldOrBadRequest;
|
|
819
874
|
private buildRelationTargetFieldInit;
|
|
820
875
|
private buildRelationTargetTableColumnNode;
|
|
@@ -824,6 +879,7 @@ export declare class FlowSurfacesService {
|
|
|
824
879
|
private ensureFieldGridSubModel;
|
|
825
880
|
private applyResolvedRelationFieldType;
|
|
826
881
|
private applyRecordPickerFieldTypeSettings;
|
|
882
|
+
private ensureRelationSelectorGridTable;
|
|
827
883
|
private buildExactFieldSettingsInitPayload;
|
|
828
884
|
private patchFieldSettingsInitExact;
|
|
829
885
|
private inferFieldComponentFlowDomain;
|