@esfaenza/flow-builder 20.3.58 → 20.3.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/fesm2022/esfaenza-flow-builder.mjs +63 -21
- package/fesm2022/esfaenza-flow-builder.mjs.map +1 -1
- package/index.d.ts +39 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -432,7 +432,9 @@ interface FlowScreenTrigger extends FlowConditionHolder {
|
|
|
432
432
|
/**
|
|
433
433
|
* Un campo **di questo screen**: altrimenti `SCREEN_TRIGGER_FIELD_UNKNOWN`. Anche uno dentro una
|
|
434
434
|
* sezione ripetibile — l'unico posto in cui il nome di un campo di riga si scrive — e allora l'action
|
|
435
|
-
* gira per ogni riga in cui quel campo e' cambiato (§5.2).
|
|
435
|
+
* gira per ogni riga in cui quel campo e' cambiato (§5.2). Anche un `ComponentInstance`, che non ha un
|
|
436
|
+
* valore proprio: scatta quando uno dei suoi output cambia rispetto a cio' che la destinazione
|
|
437
|
+
* conteneva.
|
|
436
438
|
*/
|
|
437
439
|
triggerFieldName?: string;
|
|
438
440
|
initBehavior?: FlowScreenTriggerInitBehavior;
|
|
@@ -2733,7 +2735,8 @@ declare function repeatedFieldNames(definition: FlowDefinition | undefined, type
|
|
|
2733
2735
|
/**
|
|
2734
2736
|
* I campi di una schermata che sono **risorse del flow**: raccolgono un valore e non stanno dentro una
|
|
2735
2737
|
* riga. Sono gli unici da proporre come riferimento e come destinazione degli output di una screen
|
|
2736
|
-
* action; come **innesco** no — lì valgono anche quelli di riga, e l'elenco e'
|
|
2738
|
+
* action; come **innesco** no — lì valgono anche quelli di riga e i componenti, e l'elenco e'
|
|
2739
|
+
* {@link triggerableFieldsOf}.
|
|
2737
2740
|
*/
|
|
2738
2741
|
declare function resourceFieldsOf(screen: FlowDynamicScreen | undefined, typeOf: FlowScreenFieldTypeResolver): FlowScreenField[];
|
|
2739
2742
|
/**
|
|
@@ -2751,15 +2754,27 @@ interface FlowTriggerableField {
|
|
|
2751
2754
|
section?: FlowScreenField;
|
|
2752
2755
|
}
|
|
2753
2756
|
/**
|
|
2754
|
-
*
|
|
2755
|
-
*
|
|
2756
|
-
|
|
2757
|
-
|
|
2757
|
+
* Il campo e' un `ComponentInstance`: un componente del frontend, senza un valore proprio — ce l'hanno i
|
|
2758
|
+
* suoi output. Il dizionario non ha un flag per dirlo, e il tipo e' uno dei nomi fissi del contratto.
|
|
2759
|
+
*/
|
|
2760
|
+
declare function isComponentField(field: FlowScreenField | undefined): boolean;
|
|
2761
|
+
/**
|
|
2762
|
+
* §5.2 — i campi che possono innescare una screen action: quelli che raccolgono un valore **e** i
|
|
2763
|
+
* `ComponentInstance`, in una riga o fuori. È l'unica domanda a cui un campo di riga risponde come uno di
|
|
2764
|
+
* primo livello: `triggerFieldName` nomina un campo della schermata e non un riferimento, e il trigger non
|
|
2765
|
+
* deve dire *quale* riga osserva — l'action gira una volta per ogni riga in cui il campo e' cambiato.
|
|
2758
2766
|
*
|
|
2759
|
-
* Il
|
|
2760
|
-
*
|
|
2767
|
+
* Il componente e' l'altra eccezione, e va letta insieme alla prima: non e' una risorsa (il suo nome non
|
|
2768
|
+
* individua un valore) ma innesca lo stesso, perche' «cambiato» per lui vuol dire che **uno dei suoi
|
|
2769
|
+
* output** e' diverso da cio' che la sua destinazione conteneva. Un contenitore invece non cambia mai.
|
|
2761
2770
|
*/
|
|
2762
2771
|
declare function triggerableFieldsOf(screen: FlowDynamicScreen | undefined, typeOf: FlowScreenFieldTypeResolver): FlowTriggerableField[];
|
|
2772
|
+
/**
|
|
2773
|
+
* §5.2 — un componente che non dichiara output — ne' parametri di uscita, ne' l'output automatico — non ha
|
|
2774
|
+
* una destinazione con cui confrontarsi: come innesco non scatta mai. La §7 non ha un codice per dirlo, e
|
|
2775
|
+
* l'editor lo dice lo stesso, come dice di un trigger senza causa.
|
|
2776
|
+
*/
|
|
2777
|
+
declare function componentHasNoOutputs(field: FlowScreenField | undefined): boolean;
|
|
2763
2778
|
/**
|
|
2764
2779
|
* Dove gira l'action di un trigger. `screen` e' il caso di sempre — un campo di primo livello, o nessun
|
|
2765
2780
|
* campo e il solo `runOnLoad` — e l'action gira una volta; `row` e' il campo di una riga, e l'action gira
|
|
@@ -7397,6 +7412,21 @@ declare class DynamicScreenInspectorComponent extends NodeInspectorBase {
|
|
|
7397
7412
|
* descrizione dice in quale sezione stanno, perche' da quella scelta cambia dove vanno gli output.
|
|
7398
7413
|
*/
|
|
7399
7414
|
readonly triggerFieldOptions: _angular_core.Signal<NamePickerOption[]>;
|
|
7415
|
+
/**
|
|
7416
|
+
* I campi che possono innescare, con la sezione se sono di riga: compresi i `ComponentInstance`, che
|
|
7417
|
+
* non hanno un valore proprio ma cambiano quando cambia uno dei loro output (§5.2).
|
|
7418
|
+
*/
|
|
7419
|
+
private readonly triggerableFields;
|
|
7420
|
+
/** Il campo che un trigger osserva, se la schermata lo ha fra quelli che possono innescare. */
|
|
7421
|
+
private triggerFieldOf;
|
|
7422
|
+
/**
|
|
7423
|
+
* §5.2 — il trigger osserva un `ComponentInstance`. Va detto perche' «quando cambia» non e' ovvio su un
|
|
7424
|
+
* campo senza valore: cambia quando uno dei suoi output e' diverso da cio' che la destinazione
|
|
7425
|
+
* conteneva.
|
|
7426
|
+
*/
|
|
7427
|
+
triggerOnComponent(trigger: FlowScreenTrigger): boolean;
|
|
7428
|
+
/** Il componente osservato non dichiara output: non ha niente che possa cambiare, e non scattera' mai. */
|
|
7429
|
+
triggerComponentHasNoOutputs(trigger: FlowScreenTrigger): boolean;
|
|
7400
7430
|
/**
|
|
7401
7431
|
* I campi a cui agganciare il messaggio di una regola della schermata: quelli di primo livello. Un
|
|
7402
7432
|
* campo di riga esiste in una copia per elemento, e non individua il controllo accanto a cui mostrare
|
|
@@ -8724,5 +8754,5 @@ declare class SelectValueDirective implements AfterViewChecked {
|
|
|
8724
8754
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SelectValueDirective, "select[fbValue]", never, { "fbValue": { "alias": "fbValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8725
8755
|
}
|
|
8726
8756
|
|
|
8727
|
-
export { ConditionEditorComponent, ConnectorEditorComponent, DebugPanelComponent, DynamicScreenInspectorComponent, ENUM_CHOICE_SET_DEFAULT_DISPLAY_FIELD, ENUM_CHOICE_SET_DEFAULT_VALUE_FIELD, ENUM_CHOICE_SET_FIELDS, ElementDialogComponent, ElementInspectorComponent, ElementPaletteComponent, EnumValuePickerComponent, FALLBACK_COLLECTION_BY_TYPE, FALLBACK_TYPE_LABEL, FLOW_BUILDER_HTTP_CONFIG, FLOW_CLIPBOARD_KIND, FLOW_CLIPBOARD_VERSION, FLOW_ELEMENT_ICONS, FLOW_ELEMENT_VARIANT_FIELDS, FLOW_ELEMENT_VARIANT_ICONS, FLOW_ERROR_FALLBACK_MESSAGE, FLOW_ERROR_HTTP_STATUS, FLOW_FOLD_HEIGHT, FLOW_FOLD_WIDTH, FLOW_GROUP_COLORS, FLOW_NAME_PATTERN, FLOW_NODE_COLLECTIONS, FLOW_NODE_HEIGHT, FLOW_NODE_WIDTH, FLOW_REFERENCE_FIELDS, FLOW_RESOURCE_COLLECTIONS, FLOW_VALUE_FIELDS, FLOW_VALUE_LITERAL_FIELDS, FieldAssignmentEditorComponent, FieldPickerComponent, FieldValuePickerComponent, FlowApiError, FlowBuilderApi, FlowBuilderComponent, FlowCanvasComponent, FlowCatalogStore, FlowClipboardService, FlowDictionaryStore, FlowDocumentStore, FlowEditorSession, FlowLayoutService, FlowValidationStore, FormulaEditorComponent, FormulaValidationService, GROUP_HEADER_HEIGHT, GROUP_MIN_HEIGHT, GROUP_MIN_WIDTH, GROUP_PADDING, GroupPanelComponent, HttpFlowBuilderApi, MergeTextEditorComponent, NamePickerComponent, NodeInspectorBase, ORCHESTRATION_CONDITION_OUTPUT, ObjectPickerComponent, OrchestratedStageInspectorComponent, PRIOR_VALUES_OPERATOR, PRIOR_VALUES_SCOPE, ParameterEditorComponent, PasteDialogComponent, ProblemsPanelComponent, RECORD_TRIGGERS, RecordFilterEditorComponent, ReferencePickerComponent, ResourceDialogComponent, ResourceFormComponent, ResourcePanelComponent, RunDialogComponent, SEVERITY_BUCKETS, SEVERITY_ICON, SEVERITY_LABEL, START_NODE_NAME, SelectValueDirective, StartInspectorComponent, StructureMemberPickerComponent, StructurePickerComponent, TYPES_WITH_AUTOMATIC_OUTPUT, TYPE_BY_COLLECTION, UNSUPPORTED_TYPES, ValueEditorComponent, VersionPanelComponent, allFieldsOf, applyPaste, areTypesComparable, boundsAround, buildClipboardPayload, canvasFoldId, canvasGroupId, canvasNodeId, checkConditionLogic, checkFlowName, choiceSetSourceOf, declaredChoiceSetSources, describeActivationError, describeFieldPath, describePathEntry, describePriorValues, duplicateField, elementIcon, emptyFlowDefinition, enumChoiceSetFieldType, fieldAt, filterReferences, flattenFields, flowNodeWidth, flowNodeWidthClass, foldSourceConnectorId, foldTargetConnectorId, groupColorClass, groupRect, hasAutoSize, innerNamesOf, insertField, isClipboardPayload, isCustomConditionLogic, isEmptyReferenceFilter, isFieldResource, isFoldReference, isGlobalReference, isNumericType, isPathInside, isRecordTrigger, isRegistrationError, isTypeCheckedOperator, isUnknownEnumChoiceSetField, isValidFlowName, isValued, isVersionActive, loadPathLevel, matchesReferenceFilter, membersInside, moveCondition, moveField, navigatePath, otherSourceFieldsOf, outletByKey, outletsOf, parseCanvasFoldId, parseCanvasGroupId, parseCanvasNodeId, parseFieldPath, parseInvariantNumber, parseSourceConnectorId, parseTargetConnectorId, pathAvailableNames, pathContainerLabel, pathKey, pathNotVerifiableMessage, planPaste, priorCriteriaSeverity, priorValuesAvailability, priorValuesOfDefinition, priorValuesProposable, priorValuesSeverity, readsPriorValues, recomputeMembers, referenceRoot, referencedRootsOf, remapConditionLogic, removeCondition, removeField, repeatedFieldNames, repeatingSectionOf, repeatingSectionsOf, resolvePath, resourceFieldsOf, rewriteReferences, sameMembers, samePath, screenActionNames, screenActionRowTargetIssues, screenActionScopes, screenFieldNames, severityBucket, slugifyFlowName, sourceConnectorId, stageStepNames, stageStepOutputReferenced, stepsOf, targetConnectorId, triggerScopeOf, triggerableFieldsOf, typeOfCollection, uniqueFlowName, valuedFieldOf, valuedFieldsOf, variantFieldOf, variantOf, variantPresetOf };
|
|
8757
|
+
export { ConditionEditorComponent, ConnectorEditorComponent, DebugPanelComponent, DynamicScreenInspectorComponent, ENUM_CHOICE_SET_DEFAULT_DISPLAY_FIELD, ENUM_CHOICE_SET_DEFAULT_VALUE_FIELD, ENUM_CHOICE_SET_FIELDS, ElementDialogComponent, ElementInspectorComponent, ElementPaletteComponent, EnumValuePickerComponent, FALLBACK_COLLECTION_BY_TYPE, FALLBACK_TYPE_LABEL, FLOW_BUILDER_HTTP_CONFIG, FLOW_CLIPBOARD_KIND, FLOW_CLIPBOARD_VERSION, FLOW_ELEMENT_ICONS, FLOW_ELEMENT_VARIANT_FIELDS, FLOW_ELEMENT_VARIANT_ICONS, FLOW_ERROR_FALLBACK_MESSAGE, FLOW_ERROR_HTTP_STATUS, FLOW_FOLD_HEIGHT, FLOW_FOLD_WIDTH, FLOW_GROUP_COLORS, FLOW_NAME_PATTERN, FLOW_NODE_COLLECTIONS, FLOW_NODE_HEIGHT, FLOW_NODE_WIDTH, FLOW_REFERENCE_FIELDS, FLOW_RESOURCE_COLLECTIONS, FLOW_VALUE_FIELDS, FLOW_VALUE_LITERAL_FIELDS, FieldAssignmentEditorComponent, FieldPickerComponent, FieldValuePickerComponent, FlowApiError, FlowBuilderApi, FlowBuilderComponent, FlowCanvasComponent, FlowCatalogStore, FlowClipboardService, FlowDictionaryStore, FlowDocumentStore, FlowEditorSession, FlowLayoutService, FlowValidationStore, FormulaEditorComponent, FormulaValidationService, GROUP_HEADER_HEIGHT, GROUP_MIN_HEIGHT, GROUP_MIN_WIDTH, GROUP_PADDING, GroupPanelComponent, HttpFlowBuilderApi, MergeTextEditorComponent, NamePickerComponent, NodeInspectorBase, ORCHESTRATION_CONDITION_OUTPUT, ObjectPickerComponent, OrchestratedStageInspectorComponent, PRIOR_VALUES_OPERATOR, PRIOR_VALUES_SCOPE, ParameterEditorComponent, PasteDialogComponent, ProblemsPanelComponent, RECORD_TRIGGERS, RecordFilterEditorComponent, ReferencePickerComponent, ResourceDialogComponent, ResourceFormComponent, ResourcePanelComponent, RunDialogComponent, SEVERITY_BUCKETS, SEVERITY_ICON, SEVERITY_LABEL, START_NODE_NAME, SelectValueDirective, StartInspectorComponent, StructureMemberPickerComponent, StructurePickerComponent, TYPES_WITH_AUTOMATIC_OUTPUT, TYPE_BY_COLLECTION, UNSUPPORTED_TYPES, ValueEditorComponent, VersionPanelComponent, allFieldsOf, applyPaste, areTypesComparable, boundsAround, buildClipboardPayload, canvasFoldId, canvasGroupId, canvasNodeId, checkConditionLogic, checkFlowName, choiceSetSourceOf, componentHasNoOutputs, declaredChoiceSetSources, describeActivationError, describeFieldPath, describePathEntry, describePriorValues, duplicateField, elementIcon, emptyFlowDefinition, enumChoiceSetFieldType, fieldAt, filterReferences, flattenFields, flowNodeWidth, flowNodeWidthClass, foldSourceConnectorId, foldTargetConnectorId, groupColorClass, groupRect, hasAutoSize, innerNamesOf, insertField, isClipboardPayload, isComponentField, isCustomConditionLogic, isEmptyReferenceFilter, isFieldResource, isFoldReference, isGlobalReference, isNumericType, isPathInside, isRecordTrigger, isRegistrationError, isTypeCheckedOperator, isUnknownEnumChoiceSetField, isValidFlowName, isValued, isVersionActive, loadPathLevel, matchesReferenceFilter, membersInside, moveCondition, moveField, navigatePath, otherSourceFieldsOf, outletByKey, outletsOf, parseCanvasFoldId, parseCanvasGroupId, parseCanvasNodeId, parseFieldPath, parseInvariantNumber, parseSourceConnectorId, parseTargetConnectorId, pathAvailableNames, pathContainerLabel, pathKey, pathNotVerifiableMessage, planPaste, priorCriteriaSeverity, priorValuesAvailability, priorValuesOfDefinition, priorValuesProposable, priorValuesSeverity, readsPriorValues, recomputeMembers, referenceRoot, referencedRootsOf, remapConditionLogic, removeCondition, removeField, repeatedFieldNames, repeatingSectionOf, repeatingSectionsOf, resolvePath, resourceFieldsOf, rewriteReferences, sameMembers, samePath, screenActionNames, screenActionRowTargetIssues, screenActionScopes, screenFieldNames, severityBucket, slugifyFlowName, sourceConnectorId, stageStepNames, stageStepOutputReferenced, stepsOf, targetConnectorId, triggerScopeOf, triggerableFieldsOf, typeOfCollection, uniqueFlowName, valuedFieldOf, valuedFieldsOf, variantFieldOf, variantOf, variantPresetOf };
|
|
8728
8758
|
export type { ChoiceSetSource, FieldAssignmentHolder, FilterFieldOption, FilterHolder, FlowActionCall, FlowAnyNode, FlowAssignment, FlowAssignmentItem, FlowAssignmentOperator, FlowAssignmentOperatorEntry, FlowBuilderHttpConfig, FlowCanvasEdge, FlowCanvasFold, FlowCanvasGroup, FlowCanvasNode, FlowCatalogEntry, FlowCatalogParameter, FlowChoice, FlowClipboardNode, FlowClipboardPayload, FlowClipboardResource, FlowCloneRequest, FlowCollectionProcessor, FlowCollectionProcessorType, FlowComparisonOperator, FlowComparisonOperatorEntry, FlowCondition, FlowConditionHolder, FlowConditionLogic, FlowConflictState, FlowConnectionKind, FlowConnector, FlowConnectorTarget, FlowConstant, FlowCreateRequest, FlowCustomError, FlowCustomErrorMessage, FlowCustomProperty, FlowDataType, FlowDataTypeEntry, FlowDecision, FlowDecisionRule, FlowDefinition, FlowDictionaries, FlowDictionaryEntry, FlowDynamicChoiceSet, FlowDynamicScreen, FlowEdge, FlowElementType, FlowElementTypeEntry, FlowEnumValue, FlowErrorCategory, FlowExportQuery, FlowFieldDescription, FlowFieldUsage, FlowFieldValue, FlowFlowTypeEntry, FlowFormKind, FlowFormula, FlowFormulaFunction, FlowFormulaFunctionParameter, FlowFormulaIssue, FlowFormulaUsage, FlowFormulaValidationRequest, FlowFormulaValidationResult, FlowGlobalVariableEntry, FlowGroup, FlowGroupRef, FlowGroupTarget, FlowInputFieldAssignment, FlowInputParameter, FlowInterviewResult, FlowInterviewStatus, FlowIssueSeverity, FlowLayoutDirection, FlowLayoutNodeInput, FlowLayoutOptions, FlowLayoutResult, FlowListQuery, FlowLoop, FlowNameCheck, FlowNameProblem, FlowNewVersionRequest, FlowNodeBase, FlowNodeCollection, FlowNodeRef, FlowObjectDescription, FlowObjectSummary, FlowOffsetUnit, FlowOrchestratedStage, FlowOutlet, FlowOutline, FlowOutlineConnection, FlowOutlineGroup, FlowOutlineNode, FlowOutputFieldAssignment, FlowOutputParameter, FlowPalettePick, FlowPastePlan, FlowPasteRename, FlowPasteResource, FlowPendingScreen, FlowProcessType, FlowRecordCreate, FlowRecordDelete, FlowRecordFilter, FlowRecordFilterOperator, FlowRecordLookup, FlowRecordRollback, FlowRecordTriggerType, FlowRecordTriggerTypeEntry, FlowRecordUpdate, FlowRecordValue, FlowRect, FlowReference, FlowReferenceFilter, FlowReferenceKind, FlowRegionContainerType, FlowResourceCollection, FlowResourceEdit, FlowResourceKindEntry, FlowResourceRef, FlowResourceTarget, FlowResumeRequest, FlowRunOutcome, FlowRunRequest, FlowSaveRequest, FlowSaveResult, FlowSchedule, FlowScheduledPath, FlowScreen, FlowScreenAction, FlowScreenActionRowTargetIssue, FlowScreenActionRowTargetReason, FlowScreenField, FlowScreenFieldInputsRevisited, FlowScreenFieldNode, FlowScreenFieldPath, FlowScreenFieldType, FlowScreenFieldTypeEntry, FlowScreenFieldTypeResolver, FlowScreenNavigation, FlowScreenResponseRequest, FlowScreenRule, FlowScreenTrigger, FlowScreenTriggerInitBehavior, FlowScreenTriggerScope, FlowScreenValidationRule, FlowScriptPluginCall, FlowSeverityBucket, FlowSortOption, FlowSortOrder, FlowStage, FlowStageStep, FlowStageStepActionType, FlowStageStepAssignee, FlowStageStepConditionActionType, FlowStageStepRequest, FlowStageStepState, FlowStageStepStatus, FlowStageStepTypeEntry, FlowStart, FlowStartInterviewRequest, FlowStructureDescribed, FlowStructureDescription, FlowStructureInstance, FlowStructureMember, FlowSubflow, FlowSubflowInputAssignment, FlowSubflowOutputAssignment, FlowSummary, FlowTextTemplate, FlowTraceEntry, FlowTransactionModel, FlowTransform, FlowTransformType, FlowTransformValue, FlowTransformValueAction, FlowTriggerType, FlowTriggerableField, FlowTypedEntry, FlowTypedValue, FlowUnsupportedNode, FlowValidationIssue, FlowValidationResult, FlowValue, FlowVariable, FlowVersionStatus, FlowVersionSummary, FlowWait, FlowWaitEvent, NamePickerOption, PaletteGroup, PaletteItem, ParameterHolder, PathCatalog, PathContainer, PathContainerKind, PathEntry, PathLevel, PathLevelStatus, PathNavigation, PathNavigationRequest, PathResolution, PathStopReason, PathValueSet, PriorValuesAvailability, PriorValuesSeverity, StructureMemberUsage, ValueMode };
|