@apia/execution 4.0.30 → 4.0.32
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/index.d.ts +81 -77
- package/dist/index.js +973 -871
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -385,6 +385,7 @@ interface TApiaMessage {
|
|
|
385
385
|
label?: string;
|
|
386
386
|
title: string;
|
|
387
387
|
text: string;
|
|
388
|
+
type?: number;
|
|
388
389
|
}
|
|
389
390
|
type ResponseSysMessages = {
|
|
390
391
|
sysMessages?: {
|
|
@@ -515,6 +516,7 @@ type SetValueOptions = Partial<{
|
|
|
515
516
|
format: 'd/m/Y' | 'apia';
|
|
516
517
|
markAsDirty: boolean;
|
|
517
518
|
synchronize: boolean;
|
|
519
|
+
force: boolean;
|
|
518
520
|
}>;
|
|
519
521
|
type FireEventParameters = Record<string, unknown>;
|
|
520
522
|
type FieldValidationState = {
|
|
@@ -597,6 +599,9 @@ declare class WithProperties<Props extends Record<string, any>> {
|
|
|
597
599
|
setParentGrid(grid: Grid): this;
|
|
598
600
|
}
|
|
599
601
|
|
|
602
|
+
type TFireEventOptions = {
|
|
603
|
+
force?: boolean;
|
|
604
|
+
};
|
|
600
605
|
declare class Attribute {
|
|
601
606
|
readonly id: string;
|
|
602
607
|
readonly name: string;
|
|
@@ -609,10 +614,11 @@ declare abstract class FieldWithAttribute<FieldProps extends TApiaFieldWithAttri
|
|
|
609
614
|
protected lastSynchronizationValue: ValueType | null;
|
|
610
615
|
readonly attribute: Attribute;
|
|
611
616
|
constructor({ attId, attName, attLabel, valueType, value, ...definition }: TApiaFieldWithAttributeBaseProps<FieldProps>);
|
|
612
|
-
fireEvent(eventName: string): Promise<boolean>;
|
|
617
|
+
fireEvent(eventName: string, options?: TFireEventOptions): Promise<boolean>;
|
|
613
618
|
protected getInitialValue({ value, }: TApiaFieldWithAttributeBaseProps<FieldProps>): Promise<ValueType>;
|
|
614
619
|
getValidationState(): FieldValidationState;
|
|
615
620
|
getValue(): ValueType;
|
|
621
|
+
protected canSetValue(newValue: ValueType): boolean;
|
|
616
622
|
setValue(newValue: ValueType, options?: SetValueOptions): Promise<boolean>;
|
|
617
623
|
protected getSynchronizePostConfiguration(value: ValueType): IApiaApiPostConfig<any>;
|
|
618
624
|
protected getSynchronizeUrl(params?: Record<string, unknown>): string;
|
|
@@ -777,12 +783,6 @@ interface IApiaFunctions {
|
|
|
777
783
|
getCurrentLanguageCode(): string | null;
|
|
778
784
|
toJSNumber(value: string): number | string;
|
|
779
785
|
toApiaNumber(value: number): number | string;
|
|
780
|
-
disableActionButton(btnIdx: string): void;
|
|
781
|
-
enableActionButton(btnIdx: string): void;
|
|
782
|
-
disableOptionButton(btnIdx: string): void;
|
|
783
|
-
enableOptionButton(btnIdx: string): void;
|
|
784
|
-
hideOptionButton(btnIdx: string): void;
|
|
785
|
-
showOptionButton(btnIdx: string): void;
|
|
786
786
|
openTab(title: string, url: string): void;
|
|
787
787
|
showMessage(text: string): void;
|
|
788
788
|
showConfirm(text: string, title: string, callbackFn: (win: boolean) => unknown): void;
|
|
@@ -821,17 +821,6 @@ interface IApiaField<Props extends typeof FieldConstants = typeof FieldConstants
|
|
|
821
821
|
*/
|
|
822
822
|
isInGrid(): boolean;
|
|
823
823
|
}
|
|
824
|
-
interface IButton {
|
|
825
|
-
disabled: boolean;
|
|
826
|
-
hidden: boolean;
|
|
827
|
-
label: string;
|
|
828
|
-
isLoading: boolean;
|
|
829
|
-
title: string;
|
|
830
|
-
variant?: string;
|
|
831
|
-
action: Promise<() => unknown> | string;
|
|
832
|
-
id: TActionButtons;
|
|
833
|
-
}
|
|
834
|
-
type TActionButtons = 'sbtEjeDoc' | 'btnClose' | 'lblExeDelegar' | 'btnCon' | 'btnSig' | 'btnStaPri' | 'btnAnt' | 'btnEjeLib' | 'btnGua' | 'SIGN' | 'lblShareMsg';
|
|
835
824
|
type TApiaFieldType = 'area' | 'button' | 'captcha' | 'check' | 'editor' | 'file' | 'grid' | 'hidden' | 'href' | 'image' | 'input' | 'label' | 'multiple' | 'password' | 'radio' | 'select' | 'title' | 'tree' | 'form';
|
|
836
825
|
type PossibleValue = {
|
|
837
826
|
value: string | number;
|
|
@@ -839,35 +828,13 @@ type PossibleValue = {
|
|
|
839
828
|
selected?: boolean;
|
|
840
829
|
};
|
|
841
830
|
|
|
842
|
-
declare class ButtonsAction {
|
|
843
|
-
private button;
|
|
844
|
-
constructor(button: IButton);
|
|
845
|
-
private update;
|
|
846
|
-
get action(): this;
|
|
847
|
-
get disabled(): boolean;
|
|
848
|
-
get props(): {
|
|
849
|
-
disabled: boolean;
|
|
850
|
-
hidden: boolean;
|
|
851
|
-
loading: boolean;
|
|
852
|
-
};
|
|
853
|
-
get label(): string;
|
|
854
|
-
get title(): string;
|
|
855
|
-
get variant(): string;
|
|
856
|
-
set title(title: string);
|
|
857
|
-
set variant(variant: string);
|
|
858
|
-
disable(): void;
|
|
859
|
-
enable(): void;
|
|
860
|
-
hide(): void;
|
|
861
|
-
show(): void;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
831
|
declare global {
|
|
865
832
|
interface Window {
|
|
866
833
|
lastModalReturn: string[];
|
|
867
834
|
}
|
|
868
835
|
}
|
|
869
836
|
declare class ApiaFunctions implements IApiaFunctions {
|
|
870
|
-
|
|
837
|
+
#private;
|
|
871
838
|
constructor(execution: Execution);
|
|
872
839
|
toJSNumber(_value: string): number | string;
|
|
873
840
|
toApiaNumber(_value: number): number | string;
|
|
@@ -875,18 +842,14 @@ declare class ApiaFunctions implements IApiaFunctions {
|
|
|
875
842
|
showMessage(_text: string): void;
|
|
876
843
|
showConfirm(_text: string, _title: string, _callbackFn: (win: boolean) => unknown): void;
|
|
877
844
|
getFormByType(frmName: string, frmType: TFrmParent): IApiaForm | null;
|
|
878
|
-
actionButton(id: string | number): ButtonsAction | undefined;
|
|
879
845
|
admEntity(entName: string, entNum?: number, parameters?: string, width?: number, height?: number): void;
|
|
880
846
|
clearMessages(): void;
|
|
881
847
|
clickActionButton(button: number): void;
|
|
882
|
-
disableActionButton(id:
|
|
883
|
-
|
|
884
|
-
enableActionButton(id: string | number): void;
|
|
885
|
-
enableOptionButton(id: string | number): void;
|
|
848
|
+
disableActionButton(id: number): void;
|
|
849
|
+
enableActionButton(id: number): void;
|
|
886
850
|
getAllForms(): IApiaForm[];
|
|
887
851
|
getAllFormsByType(type: 'P' | 'E'): IApiaForm[];
|
|
888
852
|
getAttField(attType: 'P' | 'E', attId: string): IApiaField | IApiaField[] | undefined;
|
|
889
|
-
getButtonAction(id: number | string): "sbtEjeDoc" | "btnClose" | "lblExeDelegar" | "btnCon" | "btnSig" | "btnStaPri" | "btnAnt" | "btnEjeLib" | "btnGua" | "lblShareMsg";
|
|
890
853
|
getCurrentLanguageCode(): string | null;
|
|
891
854
|
getCurrentProcessName(): string | null;
|
|
892
855
|
getCurrentStep(): number | null;
|
|
@@ -900,13 +863,13 @@ declare class ApiaFunctions implements IApiaFunctions {
|
|
|
900
863
|
getModalValue(): string;
|
|
901
864
|
getProcessForm(frmName: string): IApiaForm | null;
|
|
902
865
|
getRootPath(): string | null;
|
|
903
|
-
hideActionButton(id:
|
|
904
|
-
|
|
866
|
+
hideActionButton(id: number): void;
|
|
867
|
+
isActionButtonDisabled(id: number): boolean;
|
|
868
|
+
isActionButtonHidden(id: number): boolean;
|
|
905
869
|
saveTask(): void;
|
|
906
870
|
setLastModalReturn(value: string[]): void;
|
|
907
871
|
setStepTitle(stepNumber: number, stepTitle: string): void;
|
|
908
|
-
showActionButton(id:
|
|
909
|
-
showOptionButton(id: string | number): void;
|
|
872
|
+
showActionButton(id: number): void;
|
|
910
873
|
viewAdmEntity(entName: string, entNum?: number): void;
|
|
911
874
|
}
|
|
912
875
|
|
|
@@ -922,11 +885,26 @@ declare class ActionsController {
|
|
|
922
885
|
static PRINT: number;
|
|
923
886
|
static VIEW_DOCS: number;
|
|
924
887
|
static CLOSE: number;
|
|
888
|
+
static SEND_TO_DESK: number;
|
|
889
|
+
static BTN_CONFIRM: number;
|
|
890
|
+
static BTN_DELEGATE: number;
|
|
891
|
+
static BTN_NEXT: number;
|
|
892
|
+
static BTN_PERV: number;
|
|
893
|
+
static BTN_RELEASE: number;
|
|
894
|
+
static BTN_SAVE: number;
|
|
895
|
+
static BTN_SHARE: number;
|
|
896
|
+
static BTN_SIGN: number;
|
|
925
897
|
private static _instance;
|
|
926
898
|
static get instance(): ActionsController;
|
|
899
|
+
private constructor();
|
|
927
900
|
private buttons;
|
|
928
|
-
|
|
929
|
-
|
|
901
|
+
private get;
|
|
902
|
+
disable(id: number): void;
|
|
903
|
+
enable(id: number): void;
|
|
904
|
+
hide(id: number): void;
|
|
905
|
+
isDisabled(id: number): boolean;
|
|
906
|
+
isHidden(id: number): boolean;
|
|
907
|
+
show(id: number): void;
|
|
930
908
|
}
|
|
931
909
|
|
|
932
910
|
declare class ApiaForm implements IApiaForm {
|
|
@@ -1063,6 +1041,8 @@ declare class ApiaForm implements IApiaForm {
|
|
|
1063
1041
|
getFieldColumn(name: string): IApiaField[];
|
|
1064
1042
|
getAllFields(): IApiaField[];
|
|
1065
1043
|
clearForm(clearReadonlyFields: boolean, deleteGridsRows: boolean): void;
|
|
1044
|
+
hideModal(): void;
|
|
1045
|
+
showAsModal(): void;
|
|
1066
1046
|
}
|
|
1067
1047
|
|
|
1068
1048
|
declare abstract class ApiaField<Props extends typeof FieldConstants = typeof FieldConstants> implements IApiaField<Props> {
|
|
@@ -2166,7 +2146,7 @@ type TProcess = {
|
|
|
2166
2146
|
* nombre.
|
|
2167
2147
|
*/
|
|
2168
2148
|
declare function returnExactlyTheSame(defaultParameters: Record<string, unknown>): Record<string, unknown>;
|
|
2169
|
-
declare function isOneClickUploadEnabled(oneClickUploadProp?: boolean): string | boolean;
|
|
2149
|
+
declare function isOneClickUploadEnabled(execution: Execution, oneClickUploadProp?: boolean): string | boolean;
|
|
2170
2150
|
declare const parseFileDefinition: (execution: Execution, fileDefinition: TFileUploaded | TUploaderFileInfo, isSignRequired: boolean) => TUploaderFileInfo;
|
|
2171
2151
|
type TOnUploadProgress = (progress: number) => void;
|
|
2172
2152
|
declare class UploaderApi extends EventEmitter$1<{
|
|
@@ -2362,6 +2342,7 @@ declare class UploaderModalController {
|
|
|
2362
2342
|
clearFile(name: string): void;
|
|
2363
2343
|
clearFiles(): void;
|
|
2364
2344
|
clearState(): void;
|
|
2345
|
+
clearPartialState(): void;
|
|
2365
2346
|
onCloseModal(): void;
|
|
2366
2347
|
confirm(): Promise<boolean>;
|
|
2367
2348
|
deleteMetadata(indices: number[]): void;
|
|
@@ -2383,6 +2364,7 @@ type UploaderModalState = {
|
|
|
2383
2364
|
};
|
|
2384
2365
|
fromDirectoryFile: TApiaDocumentDefinition | null;
|
|
2385
2366
|
docFolder?: number;
|
|
2367
|
+
docPath?: string;
|
|
2386
2368
|
docExpDate?: string;
|
|
2387
2369
|
description: string;
|
|
2388
2370
|
isReadonly?: boolean;
|
|
@@ -2414,7 +2396,7 @@ interface IPoolsPermissions {
|
|
|
2414
2396
|
poolName: string;
|
|
2415
2397
|
canUpdate: boolean;
|
|
2416
2398
|
}
|
|
2417
|
-
type TUploaderFileInfo = Omit<TFileUploaded, 'locked' | '
|
|
2399
|
+
type TUploaderFileInfo = Omit<TFileUploaded, 'locked' | 'userLocking'> & {
|
|
2418
2400
|
canEdit?: boolean;
|
|
2419
2401
|
canRead?: boolean;
|
|
2420
2402
|
isLocked: boolean;
|
|
@@ -2728,7 +2710,7 @@ declare class FormsUploader extends UploaderApi {
|
|
|
2728
2710
|
getProcessDroppedFilesPostdata: ({ useDocTypePermitted, docTypePermittedObjId, docTypePermittedObjType, ...parameters }: Record<string, unknown>) => Record<string, unknown>;
|
|
2729
2711
|
getReloadMetadataParameters: (defaultParameters: Record<string, unknown>) => Record<string, unknown>;
|
|
2730
2712
|
getSaveDroppedFilesParameters: (defaultParameters: Record<string, unknown>) => Record<string, unknown>;
|
|
2731
|
-
downloadDocument(fileId: string): Promise<void>;
|
|
2713
|
+
downloadDocument(fileId: string, version?: string): Promise<void>;
|
|
2732
2714
|
loadCurrentDocuments(): Promise<void>;
|
|
2733
2715
|
parseFileDefinition: (file: TFileUploaded) => TUploaderFileInfo;
|
|
2734
2716
|
saveDroppedFiles(unprocessedFiles: File[], conf?: TSaveDroppedFilesConf | undefined): Promise<boolean>;
|
|
@@ -2760,7 +2742,7 @@ type TEntity = {
|
|
|
2760
2742
|
title: string;
|
|
2761
2743
|
readOnly: boolean;
|
|
2762
2744
|
separator: string;
|
|
2763
|
-
associations:
|
|
2745
|
+
associations: Association[];
|
|
2764
2746
|
date: {
|
|
2765
2747
|
label: string;
|
|
2766
2748
|
toolTip: string;
|
|
@@ -2843,10 +2825,13 @@ type PoolId = {
|
|
|
2843
2825
|
poolName: string;
|
|
2844
2826
|
canUpdate: boolean;
|
|
2845
2827
|
};
|
|
2846
|
-
type
|
|
2828
|
+
type Association = {
|
|
2847
2829
|
asocName: string;
|
|
2848
2830
|
asocId: string;
|
|
2849
2831
|
asocRelName: string;
|
|
2832
|
+
errorNameMessage?: string;
|
|
2833
|
+
errorRelNameMessage?: string;
|
|
2834
|
+
focusTarget?: boolean;
|
|
2850
2835
|
};
|
|
2851
2836
|
|
|
2852
2837
|
declare class Entity {
|
|
@@ -2858,13 +2843,15 @@ declare class Entity {
|
|
|
2858
2843
|
get name(): string | undefined;
|
|
2859
2844
|
private hasInited;
|
|
2860
2845
|
init(): Promise<void>;
|
|
2846
|
+
addAssociation(): void;
|
|
2861
2847
|
getConfirmParams(): any;
|
|
2862
|
-
loadCategories: () => Promise<void>;
|
|
2863
|
-
loadPools: () => Promise<void>;
|
|
2864
|
-
loadAssociations: () => Promise<void>;
|
|
2848
|
+
protected loadCategories: () => Promise<void>;
|
|
2849
|
+
protected loadPools: () => Promise<void>;
|
|
2850
|
+
protected loadAssociations: () => Promise<void>;
|
|
2865
2851
|
private parseRows;
|
|
2866
|
-
|
|
2867
|
-
|
|
2852
|
+
deleteAssociation(): void;
|
|
2853
|
+
deleteVisibility(id: string): void;
|
|
2854
|
+
validateAssociations(): boolean;
|
|
2868
2855
|
}
|
|
2869
2856
|
|
|
2870
2857
|
type TObservations = {
|
|
@@ -3099,15 +3086,17 @@ type TExecutionEnvironment = {
|
|
|
3099
3086
|
};
|
|
3100
3087
|
};
|
|
3101
3088
|
declare class Execution extends EventEmitter$1<{
|
|
3102
|
-
|
|
3103
|
-
next: null;
|
|
3089
|
+
flow: 'previous' | 'confirm' | 'next' | 'save' | 'release' | 'share' | 'viewDocs' | 'print' | 'delegate';
|
|
3104
3090
|
sendToDesktop: null;
|
|
3091
|
+
hideFormModal: Form;
|
|
3092
|
+
showFormAsModal: Form;
|
|
3105
3093
|
}> {
|
|
3106
3094
|
environment: TExecutionEnvironment;
|
|
3107
3095
|
fieldsMapping: FieldsMapping;
|
|
3108
3096
|
private entity;
|
|
3109
3097
|
private process;
|
|
3110
3098
|
private observations;
|
|
3099
|
+
private executedOnLoadEvents;
|
|
3111
3100
|
executionConfig: TExecutionConfig | null;
|
|
3112
3101
|
private _steps;
|
|
3113
3102
|
private _currentStep;
|
|
@@ -3125,7 +3114,7 @@ declare class Execution extends EventEmitter$1<{
|
|
|
3125
3114
|
};
|
|
3126
3115
|
state: {
|
|
3127
3116
|
executionState: ExecutionState;
|
|
3128
|
-
locked:
|
|
3117
|
+
locked: number;
|
|
3129
3118
|
hasChangedAnything: boolean;
|
|
3130
3119
|
};
|
|
3131
3120
|
getAllForms(): Form[];
|
|
@@ -3145,13 +3134,25 @@ declare class Execution extends EventEmitter$1<{
|
|
|
3145
3134
|
getObservations(): Observations;
|
|
3146
3135
|
getCurrentTask(): Task;
|
|
3147
3136
|
private mustRenderForms;
|
|
3137
|
+
get locked(): boolean;
|
|
3138
|
+
lock(): () => void;
|
|
3148
3139
|
run(executionConfig: TExecutionConfig): Promise<void>;
|
|
3149
3140
|
protected getHiddenForms(): Form[];
|
|
3150
3141
|
markFormAsRendered(frmParent: string, frmName: string): void;
|
|
3151
3142
|
delegate(): Promise<void>;
|
|
3152
3143
|
shareSocial(): Promise<void>;
|
|
3153
|
-
|
|
3154
|
-
|
|
3144
|
+
flow: {
|
|
3145
|
+
back: () => void;
|
|
3146
|
+
confirm: () => void;
|
|
3147
|
+
next: () => void;
|
|
3148
|
+
previous: () => void;
|
|
3149
|
+
save: () => void;
|
|
3150
|
+
release: () => void;
|
|
3151
|
+
delegate: () => void;
|
|
3152
|
+
share: () => void;
|
|
3153
|
+
viewDocs: () => void;
|
|
3154
|
+
print: () => void;
|
|
3155
|
+
};
|
|
3155
3156
|
sendToDesktop(): void;
|
|
3156
3157
|
doBack(): Promise<false | undefined>;
|
|
3157
3158
|
doConfirm(status?: Status): Promise<boolean | FlowModal<any> | Field>;
|
|
@@ -3163,7 +3164,7 @@ declare class Execution extends EventEmitter$1<{
|
|
|
3163
3164
|
definition: Omit<TApiaFieldBaseDefinition<TApiaFieldCommonProperties>, "properties">;
|
|
3164
3165
|
}> | ShowSignSelection | undefined>;
|
|
3165
3166
|
doPrint(): Promise<void>;
|
|
3166
|
-
doSave(): Promise<TApiaApiAxiosResponse<(TFetchTaskActionResponse & ResponseSysMessages) | null
|
|
3167
|
+
doSave(): Promise<false | TApiaApiAxiosResponse<(TFetchTaskActionResponse & ResponseSysMessages) | null>>;
|
|
3167
3168
|
getStepTitle(step: number): {
|
|
3168
3169
|
title: string;
|
|
3169
3170
|
stepNumber: number;
|
|
@@ -3394,7 +3395,7 @@ declare class Captcha extends Field<TApiaCaptchaProperties, TApiaCaptchaDefiniti
|
|
|
3394
3395
|
|
|
3395
3396
|
type CheckboxEvents = 'onClick';
|
|
3396
3397
|
declare class Checkbox extends FieldWithAttribute<TApiaCheckboxProperties, boolean> {
|
|
3397
|
-
fireEvent(eventName: CheckboxEvents): Promise<boolean>;
|
|
3398
|
+
fireEvent(eventName: CheckboxEvents, options?: TFireEventOptions): Promise<boolean>;
|
|
3398
3399
|
protected getInitialValue({ value, properties, }: TApiaFieldWithAttributeBaseProps<TApiaCheckboxProperties>): Promise<boolean>;
|
|
3399
3400
|
setValue(newValue: boolean, options?: Partial<{
|
|
3400
3401
|
comparator: Comparator$1<any>;
|
|
@@ -3406,8 +3407,9 @@ declare class Checkbox extends FieldWithAttribute<TApiaCheckboxProperties, boole
|
|
|
3406
3407
|
|
|
3407
3408
|
type EditorEvents = 'onChange';
|
|
3408
3409
|
declare class Editor extends TranslatableField<TApiaEditorProperties, string> {
|
|
3409
|
-
fireEvent(eventName: EditorEvents): Promise<boolean>;
|
|
3410
|
+
fireEvent(eventName: EditorEvents, options?: TFireEventOptions): Promise<boolean>;
|
|
3410
3411
|
protected isValidValue(): boolean;
|
|
3412
|
+
protected getSynchronizePostConfiguration(value: string): IApiaApiPostConfig<any>;
|
|
3411
3413
|
}
|
|
3412
3414
|
|
|
3413
3415
|
declare class File$1 extends FieldWithAttribute<TApiaFileProperties> {
|
|
@@ -3650,7 +3652,8 @@ declare class Image extends Field<TApiaImageProperties> {
|
|
|
3650
3652
|
|
|
3651
3653
|
type InputEvents$1 = 'onChange' | 'onModalReturn';
|
|
3652
3654
|
declare class Input extends TranslatableField<TApiaInputProperties, string, TApiaInputDefinition> {
|
|
3653
|
-
|
|
3655
|
+
private validDate;
|
|
3656
|
+
fireEvent(eventName: InputEvents$1, options?: TFireEventOptions): Promise<boolean>;
|
|
3654
3657
|
setValue(newValue: string | Date | number, options?: SetValueOptions): Promise<boolean>;
|
|
3655
3658
|
private validateRegex;
|
|
3656
3659
|
validate(): Promise<boolean>;
|
|
@@ -3690,7 +3693,7 @@ type ModalInputValue = {
|
|
|
3690
3693
|
declare class ModalInput extends FieldWithAttribute<TApiaInputProperties, ModalInputValue> {
|
|
3691
3694
|
isLoading: boolean;
|
|
3692
3695
|
constructor({ value, ...definition }: TApiaModalInputDefinition);
|
|
3693
|
-
fireEvent(eventName: InputEvents): Promise<boolean>;
|
|
3696
|
+
fireEvent(eventName: InputEvents, options?: TFireEventOptions): Promise<boolean>;
|
|
3694
3697
|
protected hasValue(): boolean;
|
|
3695
3698
|
setValueFromInputWrite(value: string): Promise<void>;
|
|
3696
3699
|
setValueFromModalSelection(rowId: string): Promise<void>;
|
|
@@ -3719,7 +3722,7 @@ type RadioEvents = 'onPopulate' | 'onChange' | 'onClick';
|
|
|
3719
3722
|
declare class Radio extends FieldWithAttribute<TApiaRadioProperties, number | string, TApiaRadioButtonDefinition> {
|
|
3720
3723
|
constructor({ possibleValue, ...definition }: TApiaRadioButtonDefinition);
|
|
3721
3724
|
init(form: Form): Promise<void>;
|
|
3722
|
-
fireEvent(eventName: RadioEvents): Promise<boolean>;
|
|
3725
|
+
fireEvent(eventName: RadioEvents, options?: TFireEventOptions): Promise<boolean>;
|
|
3723
3726
|
}
|
|
3724
3727
|
|
|
3725
3728
|
declare class Select extends FieldWithAttribute<TApiaSelectProperties, string, TApiaSelectDefinition> {
|
|
@@ -3729,6 +3732,7 @@ declare class Select extends FieldWithAttribute<TApiaSelectProperties, string, T
|
|
|
3729
3732
|
|
|
3730
3733
|
declare class Textarea extends TranslatableField<TApiaTextareaProperties, string> {
|
|
3731
3734
|
protected isValidValue(): boolean;
|
|
3735
|
+
protected getSynchronizePostConfiguration(value: string): IApiaApiPostConfig<any>;
|
|
3732
3736
|
}
|
|
3733
3737
|
|
|
3734
3738
|
declare class Title extends Field<TApiaTitleProperties> {
|
|
@@ -3741,7 +3745,7 @@ declare class Tree extends FieldWithAttribute<TApiaTreeProperties, TTreeValue[],
|
|
|
3741
3745
|
private parseTreeValues;
|
|
3742
3746
|
constructor({ possibleValue, ...props }: TApiaTreeDefinition);
|
|
3743
3747
|
protected getSynchronizePostConfiguration(value: TTreeValue[]): IApiaApiPostConfig<any>;
|
|
3744
|
-
fireEvent(eventName: TreeEvents): Promise<boolean>;
|
|
3748
|
+
fireEvent(eventName: TreeEvents, options?: TFireEventOptions): Promise<boolean>;
|
|
3745
3749
|
protected hasValue(): boolean;
|
|
3746
3750
|
setProperty<K extends keyof TApiaTreeProperties>(propName: K, propValue: TApiaTreeProperties[K]): void;
|
|
3747
3751
|
init(form: Form): Promise<void>;
|
|
@@ -3770,7 +3774,7 @@ declare class SchedulerField extends Field<TApiaSchedulerProperties> {
|
|
|
3770
3774
|
loadWeek(weekDay: string, schId: string, proId: string, proVerId: string, tskId: string): Promise<(TScheduleResult & ResponseSysMessages) | null>;
|
|
3771
3775
|
loadInfo(schId: string, weekDay: string, dayNumber: number, hour: string): Promise<_apia_scheduler_controller.TProcesses>;
|
|
3772
3776
|
markDay(weekDay: string, hour: string, dayNumber: number): Promise<void>;
|
|
3773
|
-
get schedController(): Scheduler;
|
|
3777
|
+
get schedController(): Scheduler | undefined;
|
|
3774
3778
|
}
|
|
3775
3779
|
|
|
3776
3780
|
declare const IProperty: {
|
|
@@ -4062,5 +4066,5 @@ declare function getLabel(execution: Execution, label: string, replacers?: Parti
|
|
|
4062
4066
|
|
|
4063
4067
|
declare function parseFakeJSON<T extends Record<string, unknown>>(str: string): T;
|
|
4064
4068
|
|
|
4065
|
-
export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions, BouncingEmitter, Button, ButtonField, Captcha, CaptchaField, CheckField, Checkbox, type ComponentEvent, CustomComponent, GridField as DataGridField, Editor, EditorField, EventEmitter, Execution, ExecutionState, Field, FieldWithAttribute, type FieldWithAttributeState, type FieldsMapping, File$1 as File, FileUploaderField, FlowModal, Form, FormsUploader, Grid, GridCell, GridField, GridPaginated, HeaderCell, Hidden, HiddenField, type IApiaField, type IApiaForm, type IApiaFunctions, type
|
|
4069
|
+
export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions, BouncingEmitter, Button, ButtonField, Captcha, CaptchaField, CheckField, Checkbox, type ComponentEvent, CustomComponent, GridField as DataGridField, Editor, EditorField, EventEmitter, Execution, ExecutionState, Field, FieldWithAttribute, type FieldWithAttributeState, type FieldsMapping, File$1 as File, FileUploaderField, FlowModal, Form, FormsUploader, Grid, GridCell, GridField, GridPaginated, HeaderCell, Hidden, HiddenField, type IApiaField, type IApiaForm, type IApiaFunctions, type IIProperty, type IPoolsPermissions, IProperty, type ISignatureData, type IUsersPermissions, Image, ImageField, Input, InputField, InvalidSessionException, Label, Link, LinkField, MessageNotification, ModalInput, ModalInputField, Multiple, MultipleField, Notifications, Password, PasswordField, type PossibleValue, Radio, RadioField, type RadioPossibleValue, SchedulerField, Select, SelectField, type SelectPossibleValue, ShowConfirmMessage, ShowPathSelection, ShowPoolSelection, ShowSign, ShowSignSelection, StatefulEmitter, type Status, StatusNotification, type TAjaxUploadFileStatus, type TAjaxUploadStart, type TApiaButtonProperties, type TApiaCaptchaProperties, type TApiaCheckboxProperties, type TApiaDocumentDefinition, type TApiaEditorProperties, type TApiaFieldBaseDefinition, type TApiaFieldCommonProperties, type TApiaFieldDefinition, type TApiaFieldPossibleValue, type TApiaFieldSizableFieldProperties, type TApiaFieldType, type TApiaFieldValueType, type TApiaFieldWithAttributeBaseProps, type TApiaFieldWithAttributeProperties, type TApiaFileProperties, type TApiaForm, type TApiaFormProperties, type TApiaGridProperties, type TApiaGroupableFieldProperties, type TApiaHiddenProperties, type TApiaImageProperties, type TApiaInputProperties, type TApiaLabelProperties, type TApiaLinkProperties, type TApiaMultipleProperties, type TApiaPasswordProperties, type TApiaRadioProperties, type TApiaSchedulerProperties, type TApiaSelectProperties, type TApiaTextareaProperties, type TApiaTitleProperties, type TApiaTranslatableFieldProperties, type TApiaTreePossibleValue, type TApiaTreeProperties, type TApiaValuatedFieldProperties, type TCheckWizardResponse, type TConfirmDropModal, type TCusCmpStateRequest, type TCustomComponentDefaultResponse, type TCustomComponentDefinition, type TDocInfo, type TDocType, type TDocumentDownloadHistory, type TDocumentInformation, type TDocumentMetadata, type TDocumentPermission, type TDocumentVersion, type TExecutionConfig, type TFetchConfirmPathResponse, type TFieldEvent, type TFieldScriptEvent, type TFieldScriptEventParameters, type TFieldScriptEvents, type TFieldServerEvent, type TFieldServerEvents, type TFileUploaded, type TFormEventName, type TFormScriptEvent, type TFormScriptEventParameters, type TFormScriptEvents, type TFrmParent, type TItemTreeObj, type TModalConfig, type TObservation, type TObservations, type TOnUploadProgress, type TPathType, type TProcessDroppedFiles, type TRequireOnlyOne, type TSaveDroppedFilesConf, type TSignaturesData, type TUploadModalOpener, type TUploaderFileInfo, type TUploaderLoadCurrentFunction, type TUploaderLoadCurrentFunctionMessages, AreaField as TextAreaField, TextField, Textarea, Title, TranslatableField, Translation, Tree, TreeField, UploaderApi, UploaderModalController, type UploaderModalState, type UploaderState, createNewField, deepEqual, get, getLabel, isHtmlResponse, isJsonResponse, isOneClickUploadEnabled, isXmlResponse, makeApiaUrl, parseFakeJSON, parseFileDefinition, parseSuccessfulResponse, parseXml, post, returnExactlyTheSame, shallowEqual };
|
|
4066
4070
|
//# sourceMappingURL=index.d.ts.map
|