@apia/execution 4.0.24 → 4.0.26
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 +159 -128
- package/dist/index.js +411 -281
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { IStringifyOptions } from 'qs';
|
|
3
3
|
import { TableController, Row, Cell, CellState } from '@apia/table2-controller';
|
|
4
|
-
import { DeepReadonly, EventEmitter as EventEmitter$1, TApiaLoad, TApiaFunction,
|
|
4
|
+
import { DeepReadonly, EventEmitter as EventEmitter$1, TApiaLoad, TApiaFunction, TApiaLoadForm, Mutex } from '@apia/util';
|
|
5
5
|
import { MobXTree } from '@apia/tree2-controller';
|
|
6
6
|
import { ButtonProps } from 'theme-ui';
|
|
7
7
|
|
|
@@ -320,6 +320,7 @@ type TApiaSchedulerProperties = TApiaFieldCommonProperties & TApiaValuatedFieldP
|
|
|
320
320
|
};
|
|
321
321
|
type TApiaLabelProperties = TApiaFieldCommonProperties & TApiaValuatedFieldProperties & TApiaGroupableFieldProperties & {
|
|
322
322
|
underlined?: boolean;
|
|
323
|
+
value?: string;
|
|
323
324
|
};
|
|
324
325
|
type TApiaLinkProperties = TApiaFieldCommonProperties & TApiaValuatedFieldProperties & TApiaGroupableFieldProperties & {
|
|
325
326
|
url?: string;
|
|
@@ -359,7 +360,9 @@ type TApiaTextareaProperties = TApiaFieldCommonProperties & TApiaTranslatableFie
|
|
|
359
360
|
placeHolder?: string;
|
|
360
361
|
title?: string;
|
|
361
362
|
};
|
|
362
|
-
type TApiaTitleProperties = TApiaFieldCommonProperties & TApiaValuatedFieldProperties & {
|
|
363
|
+
type TApiaTitleProperties = TApiaFieldCommonProperties & TApiaValuatedFieldProperties & {
|
|
364
|
+
value?: string;
|
|
365
|
+
};
|
|
363
366
|
type TApiaTreeProperties = TApiaFieldCommonProperties & TApiaFieldWithAttributeProperties & TApiaFieldSizableFieldProperties & {
|
|
364
367
|
height?: string;
|
|
365
368
|
leafIcon?: string;
|
|
@@ -579,6 +582,7 @@ declare class WithProperties<Props extends Record<string, any>> {
|
|
|
579
582
|
properties: Props;
|
|
580
583
|
private parentGrid;
|
|
581
584
|
constructor(initialState?: Props);
|
|
585
|
+
getParentGrid(): Grid | null;
|
|
582
586
|
getProperty<K extends keyof Props>(propName: K): Props[K];
|
|
583
587
|
setProperty<K extends keyof Props>(propName: K, propValue: SetStateAction<Props[K]>): void;
|
|
584
588
|
setParentGrid(grid: Grid): this;
|
|
@@ -648,6 +652,7 @@ declare class CustomComponent {
|
|
|
648
652
|
sendMessage<T extends Record<string, unknown> = Record<string, unknown>>(payload: any): Promise<(T & {
|
|
649
653
|
success: boolean;
|
|
650
654
|
}) | undefined>;
|
|
655
|
+
download(attName: string, index: number): Promise<void>;
|
|
651
656
|
upload(attName: string, file: File, options?: {
|
|
652
657
|
onUploadProgress?: (percent: number) => unknown;
|
|
653
658
|
params?: Record<string, any>;
|
|
@@ -744,6 +749,7 @@ declare class Translation {
|
|
|
744
749
|
cancelTranslation(): void;
|
|
745
750
|
readTranslations(url: string): Promise<void>;
|
|
746
751
|
reset(): void;
|
|
752
|
+
deleteTranslation(): void;
|
|
747
753
|
setTempValue(str: string): void;
|
|
748
754
|
submitTranslation(value: string, url: string): void;
|
|
749
755
|
get langId(): string;
|
|
@@ -763,6 +769,7 @@ declare abstract class TranslatableField<FieldProps extends TApiaTranslatableFie
|
|
|
763
769
|
private getLanguages;
|
|
764
770
|
init(form: Form): Promise<void>;
|
|
765
771
|
cancelTranslations(): void;
|
|
772
|
+
deleteTranslations(): void;
|
|
766
773
|
changeLanguage(langId: string): Promise<void>;
|
|
767
774
|
getTranslation(id: string): Translation | undefined;
|
|
768
775
|
getCurrentTranslation(): Translation | undefined;
|
|
@@ -770,6 +777,12 @@ declare abstract class TranslatableField<FieldProps extends TApiaTranslatableFie
|
|
|
770
777
|
submitTranslations(): void;
|
|
771
778
|
syncTranslation(): Promise<void>;
|
|
772
779
|
validate(): Promise<boolean>;
|
|
780
|
+
setValue(newValue: ValueType, options?: Partial<{
|
|
781
|
+
comparator: Comparator$1<any>;
|
|
782
|
+
format: 'd/m/Y' | 'apia';
|
|
783
|
+
markAsDirty: boolean;
|
|
784
|
+
synchronize: boolean;
|
|
785
|
+
}> | undefined): Promise<boolean>;
|
|
773
786
|
}
|
|
774
787
|
|
|
775
788
|
type FieldConstructor = new (definition: any) => Field<any, any, any> | FieldWithAttribute<any, any, any> | TranslatableField<any, any, any>;
|
|
@@ -1005,7 +1018,7 @@ declare class UploaderApi extends EventEmitter$1<{
|
|
|
1005
1018
|
docId: string;
|
|
1006
1019
|
docTypeId: number | string;
|
|
1007
1020
|
}>, additionalProps?: Record<string, unknown>): Promise<void>;
|
|
1008
|
-
saveDroppedFiles(unprocessedFiles: File[], conf?: TSaveDroppedFilesConf): Promise<
|
|
1021
|
+
saveDroppedFiles(unprocessedFiles: File[], conf?: TSaveDroppedFilesConf): Promise<boolean>;
|
|
1009
1022
|
checkWebDavLock(docId: string): Promise<unknown>;
|
|
1010
1023
|
checkSignature(file: TUploaderFileInfo): Promise<TApiaApiAxiosResponse<({
|
|
1011
1024
|
markedToSign: boolean;
|
|
@@ -1020,7 +1033,7 @@ declare class UploaderApi extends EventEmitter$1<{
|
|
|
1020
1033
|
}): Promise<void>;
|
|
1021
1034
|
versionFileInfo(file: TUploaderFileInfo): Promise<void>;
|
|
1022
1035
|
pickFileById(id: string): Promise<void>;
|
|
1023
|
-
markFileToSign(id: string, langId?:
|
|
1036
|
+
markFileToSign(id: string, langId?: string): Promise<void>;
|
|
1024
1037
|
/**
|
|
1025
1038
|
* Por el momento realiza la descarga de todos los archivos
|
|
1026
1039
|
* que estén subidos.
|
|
@@ -1105,6 +1118,7 @@ declare class UploaderModalController {
|
|
|
1105
1118
|
addFiles(files: File[]): void;
|
|
1106
1119
|
addDirectoryFile(file: TApiaDocumentDefinition): void;
|
|
1107
1120
|
changeDocType(docTypeId: string): Promise<void>;
|
|
1121
|
+
clearDirectoryFile(): void;
|
|
1108
1122
|
clearFile(name: string): void;
|
|
1109
1123
|
clearFiles(): void;
|
|
1110
1124
|
clearState(): void;
|
|
@@ -1131,6 +1145,7 @@ type UploaderModalState = {
|
|
|
1131
1145
|
docFolder?: number;
|
|
1132
1146
|
docExpDate?: string;
|
|
1133
1147
|
description: string;
|
|
1148
|
+
isReadonly?: boolean;
|
|
1134
1149
|
permissions: {
|
|
1135
1150
|
allowAllType: 'M' | 'R' | '';
|
|
1136
1151
|
users: IUsersPermissions[];
|
|
@@ -1476,7 +1491,7 @@ declare class FormsUploader extends UploaderApi {
|
|
|
1476
1491
|
downloadDocument(fileId: string): Promise<void>;
|
|
1477
1492
|
loadCurrentDocuments(): Promise<void>;
|
|
1478
1493
|
parseFileDefinition: (file: TFileUploaded) => TUploaderFileInfo;
|
|
1479
|
-
saveDroppedFiles(unprocessedFiles: File[], conf?: TSaveDroppedFilesConf | undefined): Promise<
|
|
1494
|
+
saveDroppedFiles(unprocessedFiles: File[], conf?: TSaveDroppedFilesConf | undefined): Promise<boolean>;
|
|
1480
1495
|
}
|
|
1481
1496
|
|
|
1482
1497
|
declare class Process {
|
|
@@ -1697,6 +1712,123 @@ type TFetchTaskActionResponse = {
|
|
|
1697
1712
|
};
|
|
1698
1713
|
};
|
|
1699
1714
|
|
|
1715
|
+
type TCheckWizardResponse = {
|
|
1716
|
+
url: string;
|
|
1717
|
+
};
|
|
1718
|
+
type TFetchConfirmPathResponse = {
|
|
1719
|
+
onClose?: string;
|
|
1720
|
+
sysMessages?: {
|
|
1721
|
+
message?: {
|
|
1722
|
+
text: string;
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
pathSelection?: boolean | null;
|
|
1726
|
+
groupSelection?: boolean | null;
|
|
1727
|
+
load?: TApiaLoadForm & {
|
|
1728
|
+
type: 'form' | 'text' | 'table' | 'function';
|
|
1729
|
+
canClose: boolean;
|
|
1730
|
+
text?: {
|
|
1731
|
+
closeAll: string;
|
|
1732
|
+
title: string;
|
|
1733
|
+
addClass: string;
|
|
1734
|
+
label: string;
|
|
1735
|
+
content?: string;
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
actions?: {
|
|
1739
|
+
action: {
|
|
1740
|
+
toDo: 'functionTimedCall';
|
|
1741
|
+
param: [number, string];
|
|
1742
|
+
};
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
type TItemTreeObj = {
|
|
1746
|
+
id: string;
|
|
1747
|
+
name: string;
|
|
1748
|
+
level: number;
|
|
1749
|
+
value: boolean;
|
|
1750
|
+
type: TPathType;
|
|
1751
|
+
isOn: boolean;
|
|
1752
|
+
};
|
|
1753
|
+
type TPathType = 'OR' | 'XOR' | 'AND';
|
|
1754
|
+
|
|
1755
|
+
declare class ShowPathSelection extends FlowModal<{
|
|
1756
|
+
confirmed: boolean;
|
|
1757
|
+
path: string;
|
|
1758
|
+
}> {
|
|
1759
|
+
fetchResult: TApiaLoadForm['form'];
|
|
1760
|
+
confirm: (result: {
|
|
1761
|
+
confirmed: boolean;
|
|
1762
|
+
path: string;
|
|
1763
|
+
}) => Promise<Status | FlowModal<any>>;
|
|
1764
|
+
state: {
|
|
1765
|
+
disabledParents: TItemTreeObj | TItemTreeObj[] | null;
|
|
1766
|
+
groupSelectionObj: TFetchConfirmPathResponse | null;
|
|
1767
|
+
};
|
|
1768
|
+
constructor(fetchResult: TApiaLoadForm['form'], confirm: (result: {
|
|
1769
|
+
confirmed: boolean;
|
|
1770
|
+
path: string;
|
|
1771
|
+
}) => Promise<Status | FlowModal<any>>);
|
|
1772
|
+
setDisabledParent(treeItem: TItemTreeObj): void;
|
|
1773
|
+
clearPaths(): void;
|
|
1774
|
+
showGroupsSelection(fetchConfirmPathResponse: TFetchConfirmPathResponse): void;
|
|
1775
|
+
updateDisabledList(itemObj: TItemTreeObj, itemArr: TItemTreeObj[]): TItemTreeObj[];
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
declare class ShowPoolSelection extends FlowModal<{
|
|
1779
|
+
confirmed: boolean;
|
|
1780
|
+
group: string;
|
|
1781
|
+
}> {
|
|
1782
|
+
fetchResult: TApiaLoadForm['form'];
|
|
1783
|
+
confirm: (result: {
|
|
1784
|
+
confirmed: boolean;
|
|
1785
|
+
group: string;
|
|
1786
|
+
}) => Promise<Status>;
|
|
1787
|
+
constructor(fetchResult: TApiaLoadForm['form'], confirm: (result: {
|
|
1788
|
+
confirmed: boolean;
|
|
1789
|
+
group: string;
|
|
1790
|
+
}) => Promise<Status>);
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
declare class ShowSignSelection extends FlowModal<{
|
|
1794
|
+
confirmed: boolean;
|
|
1795
|
+
signed: boolean;
|
|
1796
|
+
}> {
|
|
1797
|
+
fetchResult: any;
|
|
1798
|
+
confirm: (result: {
|
|
1799
|
+
confirmed: boolean;
|
|
1800
|
+
signed: boolean;
|
|
1801
|
+
}) => Promise<Status>;
|
|
1802
|
+
constructor(fetchResult: any, confirm: (result: {
|
|
1803
|
+
confirmed: boolean;
|
|
1804
|
+
signed: boolean;
|
|
1805
|
+
}) => Promise<Status>);
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
declare class ShowConfirmMessage extends FlowModal<{
|
|
1809
|
+
confirmed: boolean;
|
|
1810
|
+
}> {
|
|
1811
|
+
fetchResult: any;
|
|
1812
|
+
confirm: (result: {
|
|
1813
|
+
confirmed: boolean;
|
|
1814
|
+
}) => Promise<Status>;
|
|
1815
|
+
constructor(fetchResult: any, confirm: (result: {
|
|
1816
|
+
confirmed: boolean;
|
|
1817
|
+
}) => Promise<Status>);
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
declare class ShowSign extends FlowModal<{
|
|
1821
|
+
confirmed: boolean;
|
|
1822
|
+
}> {
|
|
1823
|
+
fetchResult: any;
|
|
1824
|
+
confirm: (result: {
|
|
1825
|
+
confirmed: boolean;
|
|
1826
|
+
}) => Promise<Status>;
|
|
1827
|
+
constructor(fetchResult: any, confirm: (result: {
|
|
1828
|
+
confirmed: boolean;
|
|
1829
|
+
}) => Promise<Status>);
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1700
1832
|
declare enum ExecutionState {
|
|
1701
1833
|
RUNNING = 0,
|
|
1702
1834
|
LOADING = 1,
|
|
@@ -1720,6 +1852,10 @@ type TExecutionEnvironment = {
|
|
|
1720
1852
|
window: Window;
|
|
1721
1853
|
document: Document;
|
|
1722
1854
|
headers: any;
|
|
1855
|
+
properties?: {
|
|
1856
|
+
taskName: string;
|
|
1857
|
+
processName: string;
|
|
1858
|
+
};
|
|
1723
1859
|
};
|
|
1724
1860
|
declare class Execution extends EventEmitter$1<{
|
|
1725
1861
|
confirm: null;
|
|
@@ -1736,6 +1872,7 @@ declare class Execution extends EventEmitter$1<{
|
|
|
1736
1872
|
private _currentStep;
|
|
1737
1873
|
private _stepCount;
|
|
1738
1874
|
readonly notifications: Notifications;
|
|
1875
|
+
private lastModalReturn;
|
|
1739
1876
|
constructor(environment: TExecutionEnvironment);
|
|
1740
1877
|
protected formsById: {
|
|
1741
1878
|
E: Map<string, Form>;
|
|
@@ -1779,9 +1916,12 @@ declare class Execution extends EventEmitter$1<{
|
|
|
1779
1916
|
doBack(): Promise<false | undefined>;
|
|
1780
1917
|
doConfirm(status?: Status): Promise<boolean | FlowModal<any> | Field>;
|
|
1781
1918
|
doFree(): Promise<TApiaApiAxiosResponse<(TFetchTaskActionResponse & ResponseSysMessages) | null> | null>;
|
|
1782
|
-
doNext(
|
|
1919
|
+
doNext(result?: {
|
|
1920
|
+
confirmed: boolean;
|
|
1921
|
+
signed: boolean;
|
|
1922
|
+
}): Promise<boolean | Field<TApiaFieldCommonProperties, TApiaFieldBaseDefinition<TApiaFieldCommonProperties>, {
|
|
1783
1923
|
definition: Omit<TApiaFieldBaseDefinition<TApiaFieldCommonProperties>, "properties">;
|
|
1784
|
-
}> | undefined>;
|
|
1924
|
+
}> | ShowSignSelection | undefined>;
|
|
1785
1925
|
doPrint(): Promise<void>;
|
|
1786
1926
|
doSave(): Promise<TApiaApiAxiosResponse<(TFetchTaskActionResponse & ResponseSysMessages) | null> | undefined>;
|
|
1787
1927
|
getStepTitle(step: number): {
|
|
@@ -1792,6 +1932,8 @@ declare class Execution extends EventEmitter$1<{
|
|
|
1792
1932
|
viewDocs(): Promise<(Record<string, unknown> & ResponseSysMessages) | undefined>;
|
|
1793
1933
|
setStepTitle(stepNumber: number, stepTitle: string): void;
|
|
1794
1934
|
validate(): Promise<true | Field>;
|
|
1935
|
+
setLastModalReturn(value: string[]): void;
|
|
1936
|
+
getLastModalReturn(): string[];
|
|
1795
1937
|
private fireEvents;
|
|
1796
1938
|
}
|
|
1797
1939
|
|
|
@@ -2124,7 +2266,7 @@ declare class ActionsController {
|
|
|
2124
2266
|
|
|
2125
2267
|
declare class ApiaForm implements IApiaForm {
|
|
2126
2268
|
#private;
|
|
2127
|
-
execution
|
|
2269
|
+
private execution;
|
|
2128
2270
|
constructor(execution: Execution, form: Form);
|
|
2129
2271
|
getFrmParent(): string;
|
|
2130
2272
|
getFrmId(): string | null;
|
|
@@ -2156,16 +2298,20 @@ declare abstract class ApiaField<Props extends TApiaFieldCommonProperties = TApi
|
|
|
2156
2298
|
isInGrid(): boolean;
|
|
2157
2299
|
}
|
|
2158
2300
|
|
|
2301
|
+
interface TTextFieldProperties extends TApiaFieldCommonProperties {
|
|
2302
|
+
value?: string;
|
|
2303
|
+
}
|
|
2159
2304
|
interface IButtonField extends IApiaField {
|
|
2160
2305
|
fireClickEvent(): void;
|
|
2161
2306
|
getValue(): string | null;
|
|
2162
2307
|
}
|
|
2163
|
-
declare class ButtonField extends ApiaField implements IButtonField {
|
|
2308
|
+
declare class ButtonField extends ApiaField<TTextFieldProperties> implements IButtonField {
|
|
2164
2309
|
#private;
|
|
2165
2310
|
constructor(execution: Execution, field: Button);
|
|
2166
2311
|
fireClickEvent(): void;
|
|
2167
2312
|
getValue(): string | null;
|
|
2168
2313
|
clearValue(): void;
|
|
2314
|
+
setValue(value: string): void;
|
|
2169
2315
|
}
|
|
2170
2316
|
|
|
2171
2317
|
type TEditorField = IApiaField;
|
|
@@ -2283,10 +2429,11 @@ declare class LinkField extends ApiaField implements ILinkField {
|
|
|
2283
2429
|
interface ITextField extends IApiaField {
|
|
2284
2430
|
getLabel(): void;
|
|
2285
2431
|
}
|
|
2286
|
-
declare class TextField extends ApiaField implements ITextField {
|
|
2432
|
+
declare class TextField extends ApiaField<TTextFieldProperties> implements ITextField {
|
|
2287
2433
|
#private;
|
|
2288
2434
|
constructor(execution: Execution, field: Field);
|
|
2289
2435
|
getLabel(): void;
|
|
2436
|
+
setValue(value: string): void;
|
|
2290
2437
|
}
|
|
2291
2438
|
|
|
2292
2439
|
declare class GridField extends ApiaField<TApiaGridProperties> {
|
|
@@ -2421,7 +2568,7 @@ declare class Editor extends TranslatableField<TApiaEditorProperties, string> {
|
|
|
2421
2568
|
protected isValidValue(): boolean;
|
|
2422
2569
|
}
|
|
2423
2570
|
|
|
2424
|
-
declare class File$1 extends
|
|
2571
|
+
declare class File$1 extends FieldWithAttribute<TApiaFileProperties> {
|
|
2425
2572
|
uploader: FormsUploader;
|
|
2426
2573
|
init(form: Form): Promise<void>;
|
|
2427
2574
|
validate(): Promise<boolean>;
|
|
@@ -2705,6 +2852,7 @@ declare class ModalInput extends FieldWithAttribute<TApiaInputProperties, ModalI
|
|
|
2705
2852
|
setValueFromInputWrite(value: string): Promise<void>;
|
|
2706
2853
|
setValueFromModalSelection(rowId: string): Promise<void>;
|
|
2707
2854
|
validate(): Promise<boolean>;
|
|
2855
|
+
setValue(newValue: any, options?: SetValueOptions): Promise<boolean>;
|
|
2708
2856
|
protected getSynchronizePostConfiguration(value: ModalInputValue): IApiaApiPostConfig<any>;
|
|
2709
2857
|
}
|
|
2710
2858
|
|
|
@@ -3191,122 +3339,5 @@ declare const parseXml: <T = Record<string, unknown>>(xml: XMLDocument | string)
|
|
|
3191
3339
|
|
|
3192
3340
|
declare function parseFakeJSON<T extends Record<string, unknown>>(str: string): T;
|
|
3193
3341
|
|
|
3194
|
-
type TCheckWizardResponse = {
|
|
3195
|
-
url: string;
|
|
3196
|
-
};
|
|
3197
|
-
type TFetchConfirmPathResponse = {
|
|
3198
|
-
onClose?: string;
|
|
3199
|
-
sysMessages?: {
|
|
3200
|
-
message?: {
|
|
3201
|
-
text: string;
|
|
3202
|
-
};
|
|
3203
|
-
};
|
|
3204
|
-
pathSelection?: boolean | null;
|
|
3205
|
-
groupSelection?: boolean | null;
|
|
3206
|
-
load?: TApiaLoadForm & {
|
|
3207
|
-
type: 'form' | 'text' | 'table' | 'function';
|
|
3208
|
-
canClose: boolean;
|
|
3209
|
-
text?: {
|
|
3210
|
-
closeAll: string;
|
|
3211
|
-
title: string;
|
|
3212
|
-
addClass: string;
|
|
3213
|
-
label: string;
|
|
3214
|
-
content?: string;
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
actions?: {
|
|
3218
|
-
action: {
|
|
3219
|
-
toDo: 'functionTimedCall';
|
|
3220
|
-
param: [number, string];
|
|
3221
|
-
};
|
|
3222
|
-
};
|
|
3223
|
-
};
|
|
3224
|
-
type TItemTreeObj = {
|
|
3225
|
-
id: string;
|
|
3226
|
-
name: string;
|
|
3227
|
-
level: number;
|
|
3228
|
-
value: boolean;
|
|
3229
|
-
type: TPathType;
|
|
3230
|
-
isOn: boolean;
|
|
3231
|
-
};
|
|
3232
|
-
type TPathType = 'OR' | 'XOR' | 'AND';
|
|
3233
|
-
|
|
3234
|
-
declare class ShowPathSelection extends FlowModal<{
|
|
3235
|
-
confirmed: boolean;
|
|
3236
|
-
path: string;
|
|
3237
|
-
}> {
|
|
3238
|
-
fetchResult: TApiaLoadForm['form'];
|
|
3239
|
-
confirm: (result: {
|
|
3240
|
-
confirmed: boolean;
|
|
3241
|
-
path: string;
|
|
3242
|
-
}) => Promise<Status | FlowModal<any>>;
|
|
3243
|
-
state: {
|
|
3244
|
-
disabledParents: TItemTreeObj | TItemTreeObj[] | null;
|
|
3245
|
-
groupSelectionObj: TFetchConfirmPathResponse | null;
|
|
3246
|
-
};
|
|
3247
|
-
constructor(fetchResult: TApiaLoadForm['form'], confirm: (result: {
|
|
3248
|
-
confirmed: boolean;
|
|
3249
|
-
path: string;
|
|
3250
|
-
}) => Promise<Status | FlowModal<any>>);
|
|
3251
|
-
setDisabledParent(treeItem: TItemTreeObj): void;
|
|
3252
|
-
clearPaths(): void;
|
|
3253
|
-
showGroupsSelection(fetchConfirmPathResponse: TFetchConfirmPathResponse): void;
|
|
3254
|
-
updateDisabledList(itemObj: TItemTreeObj, itemArr: TItemTreeObj[]): TItemTreeObj[];
|
|
3255
|
-
}
|
|
3256
|
-
|
|
3257
|
-
declare class ShowPoolSelection extends FlowModal<{
|
|
3258
|
-
confirmed: boolean;
|
|
3259
|
-
group: string;
|
|
3260
|
-
}> {
|
|
3261
|
-
fetchResult: TApiaLoadForm['form'];
|
|
3262
|
-
confirm: (result: {
|
|
3263
|
-
confirmed: boolean;
|
|
3264
|
-
group: string;
|
|
3265
|
-
}) => Promise<Status>;
|
|
3266
|
-
constructor(fetchResult: TApiaLoadForm['form'], confirm: (result: {
|
|
3267
|
-
confirmed: boolean;
|
|
3268
|
-
group: string;
|
|
3269
|
-
}) => Promise<Status>);
|
|
3270
|
-
}
|
|
3271
|
-
|
|
3272
|
-
declare class ShowSignSelection extends FlowModal<{
|
|
3273
|
-
confirmed: boolean;
|
|
3274
|
-
signed: boolean;
|
|
3275
|
-
}> {
|
|
3276
|
-
fetchResult: any;
|
|
3277
|
-
confirm: (result: {
|
|
3278
|
-
confirmed: boolean;
|
|
3279
|
-
signed: boolean;
|
|
3280
|
-
}) => Promise<Status>;
|
|
3281
|
-
constructor(fetchResult: any, confirm: (result: {
|
|
3282
|
-
confirmed: boolean;
|
|
3283
|
-
signed: boolean;
|
|
3284
|
-
}) => Promise<Status>);
|
|
3285
|
-
}
|
|
3286
|
-
|
|
3287
|
-
declare class ShowConfirmMessage extends FlowModal<{
|
|
3288
|
-
confirmed: boolean;
|
|
3289
|
-
}> {
|
|
3290
|
-
fetchResult: any;
|
|
3291
|
-
confirm: (result: {
|
|
3292
|
-
confirmed: boolean;
|
|
3293
|
-
}) => Promise<Status>;
|
|
3294
|
-
constructor(fetchResult: any, confirm: (result: {
|
|
3295
|
-
confirmed: boolean;
|
|
3296
|
-
}) => Promise<Status>);
|
|
3297
|
-
}
|
|
3298
|
-
|
|
3299
|
-
declare class ShowSign extends FlowModal<{
|
|
3300
|
-
confirmed: boolean;
|
|
3301
|
-
}> {
|
|
3302
|
-
fetchResult: any;
|
|
3303
|
-
confirm: (result: {
|
|
3304
|
-
confirmed: boolean;
|
|
3305
|
-
}) => Promise<Status>;
|
|
3306
|
-
constructor(fetchResult: any, confirm: (result: {
|
|
3307
|
-
confirmed: boolean;
|
|
3308
|
-
}) => Promise<Status>);
|
|
3309
|
-
}
|
|
3310
|
-
|
|
3311
3342
|
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 IButton, type IIProperty, type ILabelSelectedDay, type IPoolsPermissions, IProperty, type IScheduleInitialProps, type ISchedulerStore, type ISelectedDay, type ISignatureData, type IStage, type IStageButton, type IUsersPermissions, Image, ImageField, Input, InputField, InvalidSessionException, Label, Link, LinkField, MessageNotification, ModalInput, ModalInputField, Multiple, MultipleField, Notifications, Password, PasswordField, type PossibleValue, Radio, RadioField, type RadioPossibleValue, Scheduler, Select, SelectField, type SelectPossibleValue, ShowConfirmMessage, ShowPathSelection, ShowPoolSelection, ShowSign, ShowSignSelection, StatefulEmitter, type Status, StatusNotification, type TActionButtons, 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 TProcesses, type TRequireOnlyOne, type TSaveDroppedFilesConf, type TSchInfoResult, type TScheduleResult, type TSchedulerState, type TSelectedDateResponse, type TSignaturesData, type TTskSchDay, type TTskSchHour, 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, getCurrentDate, getLabel, isHtmlResponse, isJsonResponse, isOneClickUploadEnabled, isXmlResponse, makeApiaUrl, parseFakeJSON, parseFileDefinition, parseSuccessfulResponse, parseXml, post, returnExactlyTheSame, shallowEqual };
|
|
3312
3343
|
//# sourceMappingURL=index.d.ts.map
|