@apia/execution 4.0.73 → 4.0.75
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 +134 -150
- package/dist/index.js +12 -87
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/dist/JSONAccordion.js +0 -88
- package/dist/JSONAccordion.js.map +0 -1
- package/dist/LazyEditor.js +0 -15
- package/dist/LazyEditor.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { IStringifyOptions } from 'qs';
|
|
3
|
-
import { TDispatchedNotification } from '@apia/components';
|
|
4
3
|
import { TableController, Row, Cell, CellState } from '@apia/table2-controller';
|
|
5
4
|
import { DeepReadonly, TApiaLoadForm, EventEmitter as EventEmitter$1, Mutex } from '@apia/util';
|
|
6
5
|
import { UploaderApi as UploaderApi$1, TModalConfig, TUploaderFileInfo, UploaderModalController, TFileUploaded, TSaveDroppedFilesConf } from '@apia/uploader-controller';
|
|
@@ -442,9 +441,6 @@ type TApiaFormProperties = {
|
|
|
442
441
|
frmInvisible?: boolean;
|
|
443
442
|
frmTab?: boolean;
|
|
444
443
|
frmDontFire?: boolean;
|
|
445
|
-
signableForm?: boolean;
|
|
446
|
-
markToSign?: boolean;
|
|
447
|
-
requiredSign?: boolean;
|
|
448
444
|
};
|
|
449
445
|
type ComponentProperties = {
|
|
450
446
|
colspan: string;
|
|
@@ -644,8 +640,6 @@ declare abstract class FieldWithAttribute<FieldProps extends TApiaFieldWithAttri
|
|
|
644
640
|
init(form: Form): Promise<void>;
|
|
645
641
|
}
|
|
646
642
|
|
|
647
|
-
declare const BoolProps: string[];
|
|
648
|
-
|
|
649
643
|
declare const FieldConstants: Readonly<{
|
|
650
644
|
TYPE_INPUT: "input";
|
|
651
645
|
TYPE_SELECT: "select";
|
|
@@ -773,13 +767,8 @@ declare const FormConstants: Readonly<{
|
|
|
773
767
|
PROPERTY_FORM_DONT_FIRE: "frmDontFire";
|
|
774
768
|
PROPERTY_FORM_READONLY: "readOnly";
|
|
775
769
|
PROPERTY_FORM_INVISIBLE: "frmInvisible";
|
|
776
|
-
SIGNABLE_FORM: "signableForm";
|
|
777
|
-
MARKED_TO_SIGN: "markToSign";
|
|
778
|
-
REQUIRED_SIGN: "requiredSign";
|
|
779
770
|
}>;
|
|
780
771
|
|
|
781
|
-
declare const NumProps: string[];
|
|
782
|
-
|
|
783
772
|
interface IIProperty {
|
|
784
773
|
[key: string]: string;
|
|
785
774
|
}
|
|
@@ -856,11 +845,11 @@ declare global {
|
|
|
856
845
|
declare class ApiaFunctions implements IApiaFunctions {
|
|
857
846
|
#private;
|
|
858
847
|
constructor(execution: Execution);
|
|
859
|
-
toJSNumber(
|
|
860
|
-
toApiaNumber(
|
|
861
|
-
openTab(
|
|
862
|
-
showMessage(
|
|
863
|
-
showConfirm(
|
|
848
|
+
toJSNumber(_value: string): number | string;
|
|
849
|
+
toApiaNumber(_value: number): number | string;
|
|
850
|
+
openTab(_title: string, _url: string): void;
|
|
851
|
+
showMessage(_text: string): void;
|
|
852
|
+
showConfirm(_text: string, _title: string, _callbackFn: (win: boolean) => unknown): void;
|
|
864
853
|
getFormByType(frmName: string, frmType: TFrmParent): IApiaForm | null;
|
|
865
854
|
admEntity(entName: string, entNum?: number, parameters?: Record<string, string>, width?: number, height?: number): void;
|
|
866
855
|
clearMessages(): void;
|
|
@@ -892,8 +881,6 @@ declare class ApiaFunctions implements IApiaFunctions {
|
|
|
892
881
|
showActionButton(id: number): void;
|
|
893
882
|
viewAdmEntity(entName: string, entNum?: number): void;
|
|
894
883
|
changeTab(index: number[]): void;
|
|
895
|
-
lockScreen(): void;
|
|
896
|
-
unlockScreen(): void;
|
|
897
884
|
}
|
|
898
885
|
|
|
899
886
|
declare class ActionsController {
|
|
@@ -1861,135 +1848,6 @@ type TCreateNewField = (execution: Execution, field: Field | FieldWithAttribute
|
|
|
1861
1848
|
|
|
1862
1849
|
declare const createNewField: TCreateNewField;
|
|
1863
1850
|
|
|
1864
|
-
declare const IProperty: {
|
|
1865
|
-
readonly PROPERTY_FORM_HIDDEN: "frmHidden";
|
|
1866
|
-
readonly PROPERTY_FORM_HIGHLIGHT: "frmHighlight";
|
|
1867
|
-
readonly PROPERTY_FORM_CLOSED: "prpFrmClosed";
|
|
1868
|
-
readonly PROPERTY_FORM_TAB: "frmTab";
|
|
1869
|
-
readonly PROPERTY_FORM_DONT_FIRE: "frmDontFire";
|
|
1870
|
-
readonly PROPERTY_FORM_READONLY: "readOnly";
|
|
1871
|
-
readonly PROPERTY_FORM_INVISIBLE: "frmInvisible";
|
|
1872
|
-
readonly SIGNABLE_FORM: "signableForm";
|
|
1873
|
-
readonly MARKED_TO_SIGN: "markToSign";
|
|
1874
|
-
readonly REQUIRED_SIGN: "requiredSign";
|
|
1875
|
-
readonly TYPE_INPUT: "input";
|
|
1876
|
-
readonly TYPE_SELECT: "select";
|
|
1877
|
-
readonly TYPE_RADIO: "radio";
|
|
1878
|
-
readonly TYPE_CHECK: "check";
|
|
1879
|
-
readonly TYPE_BUTTON: "button";
|
|
1880
|
-
readonly TYPE_AREA: "area";
|
|
1881
|
-
readonly TYPE_LABEL: "label";
|
|
1882
|
-
readonly TYPE_TITLE: "title";
|
|
1883
|
-
readonly TYPE_FILE: "file";
|
|
1884
|
-
readonly TYPE_MULTIPLE: "multiple";
|
|
1885
|
-
readonly TYPE_HIDDEN: "hidden";
|
|
1886
|
-
readonly TYPE_PASSWORD: "password";
|
|
1887
|
-
readonly TYPE_GRID: "grid";
|
|
1888
|
-
readonly TYPE_IMAGE: "image";
|
|
1889
|
-
readonly TYPE_HREF: "href";
|
|
1890
|
-
readonly TYPE_EDITOR: "editor";
|
|
1891
|
-
readonly TYPE_TREE: "tree";
|
|
1892
|
-
readonly TYPE_CAPTCHA: "captcha";
|
|
1893
|
-
readonly PROPERTY_NAME: "name";
|
|
1894
|
-
readonly PROPERTY_SIZE: "size";
|
|
1895
|
-
readonly PROPERTY_READONLY: "readonly";
|
|
1896
|
-
readonly PROPERTY_DISABLED: "disabled";
|
|
1897
|
-
readonly PROPERTY_MODAL_DISABLED: "modalDisabled";
|
|
1898
|
-
readonly PROPERTY_FONT_COLOR: "fontColor";
|
|
1899
|
-
readonly PROPERTY_VALUE: "value";
|
|
1900
|
-
readonly PROPERTY_REQUIRED: "required";
|
|
1901
|
-
readonly PROPERTY_COLSPAN: "colspan";
|
|
1902
|
-
readonly PROPERTY_ROWSPAN: "rowspan";
|
|
1903
|
-
readonly PROPERTY_MODAL: "modal";
|
|
1904
|
-
readonly PROPERTY_ROWS: "thisRows";
|
|
1905
|
-
readonly PROPERTY_BOLD: "bold";
|
|
1906
|
-
readonly PROPERTY_UNDERLINED: "underlined";
|
|
1907
|
-
readonly PROPERTY_ALIGNMENT: "alignment";
|
|
1908
|
-
readonly PROPERTY_IMAGE: "imageUrl";
|
|
1909
|
-
readonly PROPERTY_COL_WIDTH: "colWidth";
|
|
1910
|
-
readonly PROPERTY_GRID_HEIGHT: "gridHeight";
|
|
1911
|
-
readonly PROPERTY_HIDE_GRID_BTN: "hideGridButtons";
|
|
1912
|
-
readonly PROPERTY_VISIBILITY_HIDDEN: "visibilityHidden";
|
|
1913
|
-
readonly PROPERTY_TRANSIENT: "transient";
|
|
1914
|
-
readonly PROPERTY_GRID_TITLE: "gridTitle";
|
|
1915
|
-
readonly PROPERTY_GRID_FORM: "gridForm";
|
|
1916
|
-
readonly PROPERTY_TOOLTIP: "tooltip";
|
|
1917
|
-
readonly PROPERTY_VALUE_COLOR: "valueColor";
|
|
1918
|
-
readonly PROPERTY_INPUT_AS_TEXT: "inputAsText";
|
|
1919
|
-
readonly PROPERTY_NO_DOWNLOAD: "noDownload";
|
|
1920
|
-
readonly PROPERTY_NO_ERASE: "noErase";
|
|
1921
|
-
readonly PROPERTY_NO_LOCK: "noLock";
|
|
1922
|
-
readonly PROPERTY_NO_HISTORY: "noHistory";
|
|
1923
|
-
readonly PROPERTY_NO_MODIFY: "noModify";
|
|
1924
|
-
readonly PROPERTY_ALLOW_EDITION: "allowEdition";
|
|
1925
|
-
readonly PROPERTY_HIDE_SIGN_ICONS: "hideSignButtons";
|
|
1926
|
-
readonly PROPERTY_URL: "url";
|
|
1927
|
-
readonly PROPERTY_GRID_HIDE_BTN_ORDER: "hideOrderButton";
|
|
1928
|
-
readonly PROPERTY_GRID_HIDE_BTN_INCLUDE: "hideIncludeButton";
|
|
1929
|
-
readonly PROPERTY_REGEXP_MESSAGE: "regExpMessage";
|
|
1930
|
-
readonly PROPERTY_PAGED_GRID: "paged";
|
|
1931
|
-
readonly PROPERTY_PAGED_GRID_SIZE: "pagedGridSize";
|
|
1932
|
-
readonly PROPERTY_GRID_ALTER_IN_LAST_PAGE: "alterOnlyLastPage";
|
|
1933
|
-
readonly PROPERTY_GRID_PRINT_HORIZONTAL: "printHorizontal";
|
|
1934
|
-
readonly PROPERTY_STORE_MODAL_QUERY_RESULT: "storeMdlQryResult";
|
|
1935
|
-
readonly PROPERTY_INCLUDE_FIRST_ROW: "includeFirstRow";
|
|
1936
|
-
readonly PROPERTY_MAX_REG_GRID: "maxRecords";
|
|
1937
|
-
readonly PROPERTY_GRID_LABEL: "gridColTitle";
|
|
1938
|
-
readonly PROPERTY_GRID_QUERY: "gridQuery";
|
|
1939
|
-
readonly PROPERTY_HIDE_DOC_PERMISSIONS: "hideDocPermissions";
|
|
1940
|
-
readonly PROPERTY_VERIFY_SIGNATURE_ONLY: "verifySignatureOnly";
|
|
1941
|
-
readonly PROPERTY_GRID_HIDE_BTN_ADD: "hideAddButton";
|
|
1942
|
-
readonly PROPERTY_GRID_HIDE_BTN_DEL: "hideDelButton";
|
|
1943
|
-
readonly PROPERTY_HIDE_DOC_UPLOAD: "hideDocUpload";
|
|
1944
|
-
readonly PROPERTY_HIDE_DOC_DOWNLOAD: "hideDocDownload";
|
|
1945
|
-
readonly PROPERTY_HIDE_DOC_ERASE: "hideDocErase";
|
|
1946
|
-
readonly PROPERTY_HIDE_DOC_LOCK: "hideDocLock";
|
|
1947
|
-
readonly PROPERTY_HIDE_DOC_HISTORY: "hideDocHistory";
|
|
1948
|
-
readonly PROPERTY_HIDE_DOC_SIGN: "hideSignButtons";
|
|
1949
|
-
readonly PROPERTY_DISPLAY_NONE: "displayNone";
|
|
1950
|
-
readonly PROPERTY_DONT_BREAK_RADIO: "dontBreakRadio";
|
|
1951
|
-
readonly PROPERTY_CHECKED: "checked";
|
|
1952
|
-
readonly PROPERTY_FILE_PREVIEW: "filePreview";
|
|
1953
|
-
readonly PROPERTY_NOT_PRINT: "noPrint";
|
|
1954
|
-
readonly PROPERTY_SELECT_PARENT: "selParent";
|
|
1955
|
-
readonly PROPERTY_HEIGHT: "height";
|
|
1956
|
-
readonly PROPERTY_MULTISELECT: "multiselect";
|
|
1957
|
-
readonly PROPERTY_SEL_PARENT: "selParent";
|
|
1958
|
-
readonly PROPERTY_PARENT_ICON: "parentIcon";
|
|
1959
|
-
readonly PROPERTY_LEAF_ICON: "leafIcon";
|
|
1960
|
-
readonly PROPERTY_CSS_CLASS: "cssClass";
|
|
1961
|
-
readonly PROPERTY_DOC_TYPE: "docType";
|
|
1962
|
-
readonly PROPERTY_HIDE_DOC_METADATA: "hideDocMetadata";
|
|
1963
|
-
readonly PROPERTY_TRANSLATION_REQUIRED: "reqTrad";
|
|
1964
|
-
readonly PROPERTY_SIGNATURE_REQUIRED: "reqSign";
|
|
1965
|
-
readonly PROPERTY_SHOW_TOOLTIP_AS_HELP: "tooltipHelp";
|
|
1966
|
-
readonly PROPERTY_DOCUMENT_MONITOR_DEF: "documentMonitorDef";
|
|
1967
|
-
readonly PROPERTY_DOCUMENT_MONITOR_CUS: "documentMonitorCus";
|
|
1968
|
-
readonly PROPERTY_DOCUMENT_SHOW_FOLD_TREE_BTN: "fileShwFoldTreeBtn";
|
|
1969
|
-
readonly PROPERTY_DOCUMENT_SHOW_FOLD_TREE_STR: "fileShwFoldTreeStr";
|
|
1970
|
-
readonly PROPERTY_DOCUMENT_NO_ALLOW_DRAG_DROP: "fileNoAllwDnD";
|
|
1971
|
-
readonly PROPERTY_DOCUMENT_NO_SHOW_MODAL: "fileDntShwDocMdlOnDrop";
|
|
1972
|
-
readonly PROPERTY_DOCUMENT_SHOW_DESC: "fileShowDesc";
|
|
1973
|
-
readonly PROPERTY_DOCUMENT_DEFAULT_FOLDER: "fileDefFolder";
|
|
1974
|
-
readonly PROPERTY_DOCUMENT_ROOT_FOLDER: "fileRootFolder";
|
|
1975
|
-
readonly PROPERTY_DOCUMENT_EXP_DATE: "fileExpDate";
|
|
1976
|
-
readonly PROPERTY_DOCUMENT_DNT_SHW_DOC_MON: "fileNotShowDocMon";
|
|
1977
|
-
readonly PROPERTY_DOCUMENT_COLLAPSE_PERM: "fileCollapsePermission";
|
|
1978
|
-
readonly PROPERTY_DOCUMENT_COLLAPSE_META: "fileCollapseMetadata";
|
|
1979
|
-
readonly PROPERTY_DOCUMENT_COLLAPSE_FLD_STC: "fileCollapseFldStrc";
|
|
1980
|
-
readonly WRONG_ATT_TYPE_ERROR: "Component does not support attributes of type <TOK>. Contact system administrator";
|
|
1981
|
-
readonly STORE_KEY_FIELD: "field";
|
|
1982
|
-
readonly STORE_KEY_FORM: "form";
|
|
1983
|
-
readonly PROPERTY_ARIA_DESCRIPTION: "ariaDescription";
|
|
1984
|
-
readonly PROPERTY_ARIA_LABEL: "ariaLabel";
|
|
1985
|
-
readonly PROPERTY_ALT: "alt";
|
|
1986
|
-
readonly PROPERTY_AUTO_COMPLETE: "autoComplete";
|
|
1987
|
-
readonly PROPERTY_AUTO_FOCUS: "autoFocus";
|
|
1988
|
-
readonly PROPERTY_INPUT_TYPE: "inputType";
|
|
1989
|
-
readonly PROPERTY_PLACE_HOLDER: "placeHolder";
|
|
1990
|
-
readonly PROPERTY_TITLE: "title";
|
|
1991
|
-
};
|
|
1992
|
-
|
|
1993
1851
|
type TCustomComponentState = {
|
|
1994
1852
|
isLoading: boolean;
|
|
1995
1853
|
attributes: Record<string, any[]>;
|
|
@@ -2292,7 +2150,7 @@ declare class Notifications {
|
|
|
2292
2150
|
getById(id: string | number): Notification<NotificationDefinition> | undefined;
|
|
2293
2151
|
kill(): void;
|
|
2294
2152
|
remove(notification: string | number | Notification): void;
|
|
2295
|
-
on: <K extends "
|
|
2153
|
+
on: <K extends "closeTab" | "kill" | "notification">(event: K, cb: Callback<{
|
|
2296
2154
|
closeTab: null;
|
|
2297
2155
|
kill: null;
|
|
2298
2156
|
notification: Notification;
|
|
@@ -3355,7 +3213,7 @@ declare class Grid extends Field<GridProps, GridDefinition, GridState> {
|
|
|
3355
3213
|
get startIndex(): number;
|
|
3356
3214
|
constructor({ properties, field, ...definition }: TApiaGridDefinition);
|
|
3357
3215
|
private resolveHeaderWidth;
|
|
3358
|
-
protected getGridActionFromEventName(eventName: GridEvents): "
|
|
3216
|
+
protected getGridActionFromEventName(eventName: GridEvents): "delete" | "add" | undefined;
|
|
3359
3217
|
protected fireServerEvent(eventName: GridEvents, params?: FireEventParameters): Promise<boolean>;
|
|
3360
3218
|
/**
|
|
3361
3219
|
* Grid methods
|
|
@@ -3602,6 +3460,132 @@ declare class SchedulerField extends Field<TApiaSchedulerProperties> {
|
|
|
3602
3460
|
get schedController(): Scheduler | undefined;
|
|
3603
3461
|
}
|
|
3604
3462
|
|
|
3463
|
+
declare const IProperty: {
|
|
3464
|
+
readonly PROPERTY_FORM_HIDDEN: "frmHidden";
|
|
3465
|
+
readonly PROPERTY_FORM_HIGHLIGHT: "frmHighlight";
|
|
3466
|
+
readonly PROPERTY_FORM_CLOSED: "prpFrmClosed";
|
|
3467
|
+
readonly PROPERTY_FORM_TAB: "frmTab";
|
|
3468
|
+
readonly PROPERTY_FORM_DONT_FIRE: "frmDontFire";
|
|
3469
|
+
readonly PROPERTY_FORM_READONLY: "readOnly";
|
|
3470
|
+
readonly PROPERTY_FORM_INVISIBLE: "frmInvisible";
|
|
3471
|
+
readonly TYPE_INPUT: "input";
|
|
3472
|
+
readonly TYPE_SELECT: "select";
|
|
3473
|
+
readonly TYPE_RADIO: "radio";
|
|
3474
|
+
readonly TYPE_CHECK: "check";
|
|
3475
|
+
readonly TYPE_BUTTON: "button";
|
|
3476
|
+
readonly TYPE_AREA: "area";
|
|
3477
|
+
readonly TYPE_LABEL: "label";
|
|
3478
|
+
readonly TYPE_TITLE: "title";
|
|
3479
|
+
readonly TYPE_FILE: "file";
|
|
3480
|
+
readonly TYPE_MULTIPLE: "multiple";
|
|
3481
|
+
readonly TYPE_HIDDEN: "hidden";
|
|
3482
|
+
readonly TYPE_PASSWORD: "password";
|
|
3483
|
+
readonly TYPE_GRID: "grid";
|
|
3484
|
+
readonly TYPE_IMAGE: "image";
|
|
3485
|
+
readonly TYPE_HREF: "href";
|
|
3486
|
+
readonly TYPE_EDITOR: "editor";
|
|
3487
|
+
readonly TYPE_TREE: "tree";
|
|
3488
|
+
readonly TYPE_CAPTCHA: "captcha";
|
|
3489
|
+
readonly PROPERTY_NAME: "name";
|
|
3490
|
+
readonly PROPERTY_SIZE: "size";
|
|
3491
|
+
readonly PROPERTY_READONLY: "readonly";
|
|
3492
|
+
readonly PROPERTY_DISABLED: "disabled";
|
|
3493
|
+
readonly PROPERTY_MODAL_DISABLED: "modalDisabled";
|
|
3494
|
+
readonly PROPERTY_FONT_COLOR: "fontColor";
|
|
3495
|
+
readonly PROPERTY_VALUE: "value";
|
|
3496
|
+
readonly PROPERTY_REQUIRED: "required";
|
|
3497
|
+
readonly PROPERTY_COLSPAN: "colspan";
|
|
3498
|
+
readonly PROPERTY_ROWSPAN: "rowspan";
|
|
3499
|
+
readonly PROPERTY_MODAL: "modal";
|
|
3500
|
+
readonly PROPERTY_ROWS: "thisRows";
|
|
3501
|
+
readonly PROPERTY_BOLD: "bold";
|
|
3502
|
+
readonly PROPERTY_UNDERLINED: "underlined";
|
|
3503
|
+
readonly PROPERTY_ALIGNMENT: "alignment";
|
|
3504
|
+
readonly PROPERTY_IMAGE: "imageUrl";
|
|
3505
|
+
readonly PROPERTY_COL_WIDTH: "colWidth";
|
|
3506
|
+
readonly PROPERTY_GRID_HEIGHT: "gridHeight";
|
|
3507
|
+
readonly PROPERTY_HIDE_GRID_BTN: "hideGridButtons";
|
|
3508
|
+
readonly PROPERTY_VISIBILITY_HIDDEN: "visibilityHidden";
|
|
3509
|
+
readonly PROPERTY_TRANSIENT: "transient";
|
|
3510
|
+
readonly PROPERTY_GRID_TITLE: "gridTitle";
|
|
3511
|
+
readonly PROPERTY_GRID_FORM: "gridForm";
|
|
3512
|
+
readonly PROPERTY_TOOLTIP: "tooltip";
|
|
3513
|
+
readonly PROPERTY_VALUE_COLOR: "valueColor";
|
|
3514
|
+
readonly PROPERTY_INPUT_AS_TEXT: "inputAsText";
|
|
3515
|
+
readonly PROPERTY_NO_DOWNLOAD: "noDownload";
|
|
3516
|
+
readonly PROPERTY_NO_ERASE: "noErase";
|
|
3517
|
+
readonly PROPERTY_NO_LOCK: "noLock";
|
|
3518
|
+
readonly PROPERTY_NO_HISTORY: "noHistory";
|
|
3519
|
+
readonly PROPERTY_NO_MODIFY: "noModify";
|
|
3520
|
+
readonly PROPERTY_ALLOW_EDITION: "allowEdition";
|
|
3521
|
+
readonly PROPERTY_HIDE_SIGN_ICONS: "hideSignButtons";
|
|
3522
|
+
readonly PROPERTY_URL: "url";
|
|
3523
|
+
readonly PROPERTY_GRID_HIDE_BTN_ORDER: "hideOrderButton";
|
|
3524
|
+
readonly PROPERTY_GRID_HIDE_BTN_INCLUDE: "hideIncludeButton";
|
|
3525
|
+
readonly PROPERTY_REGEXP_MESSAGE: "regExpMessage";
|
|
3526
|
+
readonly PROPERTY_PAGED_GRID: "paged";
|
|
3527
|
+
readonly PROPERTY_PAGED_GRID_SIZE: "pagedGridSize";
|
|
3528
|
+
readonly PROPERTY_GRID_ALTER_IN_LAST_PAGE: "alterOnlyLastPage";
|
|
3529
|
+
readonly PROPERTY_GRID_PRINT_HORIZONTAL: "printHorizontal";
|
|
3530
|
+
readonly PROPERTY_STORE_MODAL_QUERY_RESULT: "storeMdlQryResult";
|
|
3531
|
+
readonly PROPERTY_INCLUDE_FIRST_ROW: "includeFirstRow";
|
|
3532
|
+
readonly PROPERTY_MAX_REG_GRID: "maxRecords";
|
|
3533
|
+
readonly PROPERTY_GRID_LABEL: "gridColTitle";
|
|
3534
|
+
readonly PROPERTY_GRID_QUERY: "gridQuery";
|
|
3535
|
+
readonly PROPERTY_HIDE_DOC_PERMISSIONS: "hideDocPermissions";
|
|
3536
|
+
readonly PROPERTY_VERIFY_SIGNATURE_ONLY: "verifySignatureOnly";
|
|
3537
|
+
readonly PROPERTY_GRID_HIDE_BTN_ADD: "hideAddButton";
|
|
3538
|
+
readonly PROPERTY_GRID_HIDE_BTN_DEL: "hideDelButton";
|
|
3539
|
+
readonly PROPERTY_HIDE_DOC_UPLOAD: "hideDocUpload";
|
|
3540
|
+
readonly PROPERTY_HIDE_DOC_DOWNLOAD: "hideDocDownload";
|
|
3541
|
+
readonly PROPERTY_HIDE_DOC_ERASE: "hideDocErase";
|
|
3542
|
+
readonly PROPERTY_HIDE_DOC_LOCK: "hideDocLock";
|
|
3543
|
+
readonly PROPERTY_HIDE_DOC_HISTORY: "hideDocHistory";
|
|
3544
|
+
readonly PROPERTY_HIDE_DOC_SIGN: "hideSignButtons";
|
|
3545
|
+
readonly PROPERTY_DISPLAY_NONE: "displayNone";
|
|
3546
|
+
readonly PROPERTY_DONT_BREAK_RADIO: "dontBreakRadio";
|
|
3547
|
+
readonly PROPERTY_CHECKED: "checked";
|
|
3548
|
+
readonly PROPERTY_FILE_PREVIEW: "filePreview";
|
|
3549
|
+
readonly PROPERTY_NOT_PRINT: "noPrint";
|
|
3550
|
+
readonly PROPERTY_SELECT_PARENT: "selParent";
|
|
3551
|
+
readonly PROPERTY_HEIGHT: "height";
|
|
3552
|
+
readonly PROPERTY_MULTISELECT: "multiselect";
|
|
3553
|
+
readonly PROPERTY_SEL_PARENT: "selParent";
|
|
3554
|
+
readonly PROPERTY_PARENT_ICON: "parentIcon";
|
|
3555
|
+
readonly PROPERTY_LEAF_ICON: "leafIcon";
|
|
3556
|
+
readonly PROPERTY_CSS_CLASS: "cssClass";
|
|
3557
|
+
readonly PROPERTY_DOC_TYPE: "docType";
|
|
3558
|
+
readonly PROPERTY_HIDE_DOC_METADATA: "hideDocMetadata";
|
|
3559
|
+
readonly PROPERTY_TRANSLATION_REQUIRED: "reqTrad";
|
|
3560
|
+
readonly PROPERTY_SIGNATURE_REQUIRED: "reqSign";
|
|
3561
|
+
readonly PROPERTY_SHOW_TOOLTIP_AS_HELP: "tooltipHelp";
|
|
3562
|
+
readonly PROPERTY_DOCUMENT_MONITOR_DEF: "documentMonitorDef";
|
|
3563
|
+
readonly PROPERTY_DOCUMENT_MONITOR_CUS: "documentMonitorCus";
|
|
3564
|
+
readonly PROPERTY_DOCUMENT_SHOW_FOLD_TREE_BTN: "fileShwFoldTreeBtn";
|
|
3565
|
+
readonly PROPERTY_DOCUMENT_SHOW_FOLD_TREE_STR: "fileShwFoldTreeStr";
|
|
3566
|
+
readonly PROPERTY_DOCUMENT_NO_ALLOW_DRAG_DROP: "fileNoAllwDnD";
|
|
3567
|
+
readonly PROPERTY_DOCUMENT_NO_SHOW_MODAL: "fileDntShwDocMdlOnDrop";
|
|
3568
|
+
readonly PROPERTY_DOCUMENT_SHOW_DESC: "fileShowDesc";
|
|
3569
|
+
readonly PROPERTY_DOCUMENT_DEFAULT_FOLDER: "fileDefFolder";
|
|
3570
|
+
readonly PROPERTY_DOCUMENT_ROOT_FOLDER: "fileRootFolder";
|
|
3571
|
+
readonly PROPERTY_DOCUMENT_EXP_DATE: "fileExpDate";
|
|
3572
|
+
readonly PROPERTY_DOCUMENT_DNT_SHW_DOC_MON: "fileNotShowDocMon";
|
|
3573
|
+
readonly PROPERTY_DOCUMENT_COLLAPSE_PERM: "fileCollapsePermission";
|
|
3574
|
+
readonly PROPERTY_DOCUMENT_COLLAPSE_META: "fileCollapseMetadata";
|
|
3575
|
+
readonly PROPERTY_DOCUMENT_COLLAPSE_FLD_STC: "fileCollapseFldStrc";
|
|
3576
|
+
readonly WRONG_ATT_TYPE_ERROR: "Component does not support attributes of type <TOK>. Contact system administrator";
|
|
3577
|
+
readonly STORE_KEY_FIELD: "field";
|
|
3578
|
+
readonly STORE_KEY_FORM: "form";
|
|
3579
|
+
readonly PROPERTY_ARIA_DESCRIPTION: "ariaDescription";
|
|
3580
|
+
readonly PROPERTY_ARIA_LABEL: "ariaLabel";
|
|
3581
|
+
readonly PROPERTY_ALT: "alt";
|
|
3582
|
+
readonly PROPERTY_AUTO_COMPLETE: "autoComplete";
|
|
3583
|
+
readonly PROPERTY_AUTO_FOCUS: "autoFocus";
|
|
3584
|
+
readonly PROPERTY_INPUT_TYPE: "inputType";
|
|
3585
|
+
readonly PROPERTY_PLACE_HOLDER: "placeHolder";
|
|
3586
|
+
readonly PROPERTY_TITLE: "title";
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3605
3589
|
declare class MessageNotification extends Notification {
|
|
3606
3590
|
close(): void;
|
|
3607
3591
|
}
|
|
@@ -3768,5 +3752,5 @@ declare function parseFakeJSON<T extends Record<string, unknown>>(str: string):
|
|
|
3768
3752
|
|
|
3769
3753
|
declare function getFocusIdentifier(field: Field): string;
|
|
3770
3754
|
|
|
3771
|
-
export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions,
|
|
3755
|
+
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, type FieldError, 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, IProperty, type ISignatureData, 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 TAdmEntityEvent, type TApiaButtonProperties, type TApiaCaptchaProperties, type TApiaCheckboxProperties, 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 TConfirmEntityResponse, type TConfirmResponse, type TCusCmpStateRequest, type TCustomComponentDefaultResponse, type TCustomComponentDefinition, type TErrMessage, type TExecutionConfig, type TFetchConfirmPathResponse, type TFetchTaskActionResponse, type TFieldEvent, type TFieldScriptEvent, type TFieldScriptEventParameters, type TFieldScriptEvents, type TFieldServerEvent, type TFieldServerEvents, type TFormEventName, type TFormScriptEvent, type TFormScriptEventParameters, type TFormScriptEvents, type TFrmParent, type TItemTreeObj, type TObservation, type TObservations, type TOnClose, type TPathType, type TSignaturesData, AreaField as TextAreaField, TextField, Textarea, Title, TranslatableField, Translation, Tree, TreeField, UploaderApi, createNewField, deepEqual, get, getFocusIdentifier, getLabel, isHtmlResponse, isJsonResponse, isXmlResponse, makeApiaUrl, parseFakeJSON, parseSuccessfulResponse, parseXml, post, shallowEqual };
|
|
3772
3756
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -228,7 +228,7 @@ const formProps = {
|
|
|
228
228
|
LANGUAGES: "langs"
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
const FormBoolProps
|
|
231
|
+
const FormBoolProps = [
|
|
232
232
|
formProps.PROPERTY_FORM_INVISIBLE,
|
|
233
233
|
formProps.PROPERTY_FORM_HIDDEN,
|
|
234
234
|
formProps.PROPERTY_FORM_CLOSED,
|
|
@@ -240,7 +240,7 @@ const FormBoolProps$1 = [
|
|
|
240
240
|
formProps.MARKED_TO_SIGN,
|
|
241
241
|
formProps.REQUIRED_SIGN
|
|
242
242
|
];
|
|
243
|
-
const FieldBoolProps
|
|
243
|
+
const FieldBoolProps = [
|
|
244
244
|
fieldProps.PROPERTY_ALLOW_EDITION,
|
|
245
245
|
fieldProps.PROPERTY_CHECKED,
|
|
246
246
|
fieldProps.PROPERTY_DISABLED,
|
|
@@ -288,9 +288,9 @@ const FieldBoolProps$1 = [
|
|
|
288
288
|
fieldProps.PROPERTY_TRANSLATION_REQUIRED,
|
|
289
289
|
fieldProps.PROPERTY_VISIBILITY_HIDDEN
|
|
290
290
|
];
|
|
291
|
-
const BoolProps
|
|
291
|
+
const BoolProps = [...FieldBoolProps, ...FormBoolProps];
|
|
292
292
|
|
|
293
|
-
const NumProps
|
|
293
|
+
const NumProps = [
|
|
294
294
|
fieldProps.PROPERTY_SIZE,
|
|
295
295
|
fieldProps.PROPERTY_ROWS,
|
|
296
296
|
fieldProps.PROPERTY_COLSPAN,
|
|
@@ -321,13 +321,13 @@ const parseFieldPropertiesObj = (props) => {
|
|
|
321
321
|
const objVal = Object.values(props);
|
|
322
322
|
for (let i = 0; i < objKeys.length; i += 1) {
|
|
323
323
|
const key = objKeys[i];
|
|
324
|
-
if (BoolProps
|
|
324
|
+
if (BoolProps.indexOf(key) === -1 && NumProps.indexOf(key) === -1) {
|
|
325
325
|
response[key] = objVal[i] || "";
|
|
326
326
|
} else if (typeof objVal[i] === "number") {
|
|
327
327
|
response[key] = objVal[i];
|
|
328
|
-
} else if (BoolProps
|
|
328
|
+
} else if (BoolProps.indexOf(key) !== -1) {
|
|
329
329
|
response[key] = parseBool(objVal[i]);
|
|
330
|
-
} else if (NumProps
|
|
330
|
+
} else if (NumProps.indexOf(key) !== -1) {
|
|
331
331
|
response[key] = parseInt(objVal[i] || "", 10);
|
|
332
332
|
}
|
|
333
333
|
}
|
|
@@ -953,13 +953,13 @@ const parseBoolean = (val) => {
|
|
|
953
953
|
|
|
954
954
|
const valueParsers = [
|
|
955
955
|
(key, value, next) => {
|
|
956
|
-
if (BoolProps
|
|
956
|
+
if (BoolProps.indexOf(key) === -1 && NumProps.indexOf(key) === -1) {
|
|
957
957
|
return next();
|
|
958
958
|
} else if (typeof value === "number") {
|
|
959
959
|
return next();
|
|
960
|
-
} else if (BoolProps
|
|
960
|
+
} else if (BoolProps.indexOf(key) !== -1) {
|
|
961
961
|
return { key, value: parseBoolean(value) };
|
|
962
|
-
} else if (NumProps
|
|
962
|
+
} else if (NumProps.indexOf(key) !== -1) {
|
|
963
963
|
return { key, value: parseInt(value || "", 10) };
|
|
964
964
|
}
|
|
965
965
|
next();
|
|
@@ -4559,10 +4559,7 @@ const FormConstants = Object.freeze({
|
|
|
4559
4559
|
PROPERTY_FORM_TAB: "frmTab",
|
|
4560
4560
|
PROPERTY_FORM_DONT_FIRE: "frmDontFire",
|
|
4561
4561
|
PROPERTY_FORM_READONLY: "readOnly",
|
|
4562
|
-
PROPERTY_FORM_INVISIBLE: "frmInvisible"
|
|
4563
|
-
SIGNABLE_FORM: "signableForm",
|
|
4564
|
-
MARKED_TO_SIGN: "markToSign",
|
|
4565
|
-
REQUIRED_SIGN: "requiredSign"
|
|
4562
|
+
PROPERTY_FORM_INVISIBLE: "frmInvisible"
|
|
4566
4563
|
});
|
|
4567
4564
|
|
|
4568
4565
|
const IProperty = {
|
|
@@ -4570,78 +4567,6 @@ const IProperty = {
|
|
|
4570
4567
|
...FormConstants
|
|
4571
4568
|
};
|
|
4572
4569
|
|
|
4573
|
-
const FormBoolProps = [
|
|
4574
|
-
FormConstants.PROPERTY_FORM_INVISIBLE,
|
|
4575
|
-
FormConstants.PROPERTY_FORM_HIDDEN,
|
|
4576
|
-
FormConstants.PROPERTY_FORM_CLOSED,
|
|
4577
|
-
FormConstants.PROPERTY_FORM_TAB,
|
|
4578
|
-
FormConstants.PROPERTY_FORM_HIGHLIGHT,
|
|
4579
|
-
FormConstants.PROPERTY_FORM_DONT_FIRE,
|
|
4580
|
-
FormConstants.PROPERTY_FORM_READONLY,
|
|
4581
|
-
FormConstants.SIGNABLE_FORM,
|
|
4582
|
-
FormConstants.MARKED_TO_SIGN,
|
|
4583
|
-
FormConstants.REQUIRED_SIGN
|
|
4584
|
-
];
|
|
4585
|
-
const FieldBoolProps = [
|
|
4586
|
-
FieldConstants.PROPERTY_ALLOW_EDITION,
|
|
4587
|
-
FieldConstants.PROPERTY_CHECKED,
|
|
4588
|
-
FieldConstants.PROPERTY_DISABLED,
|
|
4589
|
-
FieldConstants.PROPERTY_DOCUMENT_COLLAPSE_FLD_STC,
|
|
4590
|
-
FieldConstants.PROPERTY_DOCUMENT_COLLAPSE_META,
|
|
4591
|
-
FieldConstants.PROPERTY_DOCUMENT_COLLAPSE_PERM,
|
|
4592
|
-
FieldConstants.PROPERTY_DOCUMENT_DNT_SHW_DOC_MON,
|
|
4593
|
-
FieldConstants.PROPERTY_DOCUMENT_EXP_DATE,
|
|
4594
|
-
FieldConstants.PROPERTY_DOCUMENT_NO_ALLOW_DRAG_DROP,
|
|
4595
|
-
FieldConstants.PROPERTY_DOCUMENT_NO_SHOW_MODAL,
|
|
4596
|
-
FieldConstants.PROPERTY_DOCUMENT_SHOW_DESC,
|
|
4597
|
-
FieldConstants.PROPERTY_DOCUMENT_SHOW_FOLD_TREE_BTN,
|
|
4598
|
-
FieldConstants.PROPERTY_DOCUMENT_SHOW_FOLD_TREE_STR,
|
|
4599
|
-
FieldConstants.PROPERTY_FILE_PREVIEW,
|
|
4600
|
-
FieldConstants.PROPERTY_GRID_ALTER_IN_LAST_PAGE,
|
|
4601
|
-
FieldConstants.PROPERTY_GRID_HIDE_BTN_ADD,
|
|
4602
|
-
FieldConstants.PROPERTY_GRID_HIDE_BTN_DEL,
|
|
4603
|
-
FieldConstants.PROPERTY_GRID_HIDE_BTN_INCLUDE,
|
|
4604
|
-
FieldConstants.PROPERTY_GRID_HIDE_BTN_ORDER,
|
|
4605
|
-
FieldConstants.PROPERTY_HIDE_DOC_DOWNLOAD,
|
|
4606
|
-
FieldConstants.PROPERTY_HIDE_DOC_ERASE,
|
|
4607
|
-
FieldConstants.PROPERTY_HIDE_DOC_LOCK,
|
|
4608
|
-
FieldConstants.PROPERTY_HIDE_DOC_METADATA,
|
|
4609
|
-
FieldConstants.PROPERTY_HIDE_DOC_PERMISSIONS,
|
|
4610
|
-
FieldConstants.PROPERTY_HIDE_DOC_SIGN,
|
|
4611
|
-
FieldConstants.PROPERTY_HIDE_DOC_UPLOAD,
|
|
4612
|
-
FieldConstants.PROPERTY_HIDE_GRID_BTN,
|
|
4613
|
-
FieldConstants.PROPERTY_INCLUDE_FIRST_ROW,
|
|
4614
|
-
FieldConstants.PROPERTY_INPUT_AS_TEXT,
|
|
4615
|
-
FieldConstants.PROPERTY_MODAL_DISABLED,
|
|
4616
|
-
FieldConstants.PROPERTY_MULTISELECT,
|
|
4617
|
-
FieldConstants.PROPERTY_NO_DOWNLOAD,
|
|
4618
|
-
FieldConstants.PROPERTY_NO_ERASE,
|
|
4619
|
-
FieldConstants.PROPERTY_NO_LOCK,
|
|
4620
|
-
FieldConstants.PROPERTY_NO_MODIFY,
|
|
4621
|
-
FieldConstants.PROPERTY_NOT_PRINT,
|
|
4622
|
-
FieldConstants.PROPERTY_PAGED_GRID,
|
|
4623
|
-
FieldConstants.PROPERTY_READONLY,
|
|
4624
|
-
FieldConstants.PROPERTY_REQUIRED,
|
|
4625
|
-
FieldConstants.PROPERTY_SEL_PARENT,
|
|
4626
|
-
FieldConstants.PROPERTY_SHOW_TOOLTIP_AS_HELP,
|
|
4627
|
-
FieldConstants.PROPERTY_SIGNATURE_REQUIRED,
|
|
4628
|
-
FieldConstants.PROPERTY_STORE_MODAL_QUERY_RESULT,
|
|
4629
|
-
FieldConstants.PROPERTY_TRANSIENT,
|
|
4630
|
-
FieldConstants.PROPERTY_TRANSLATION_REQUIRED,
|
|
4631
|
-
FieldConstants.PROPERTY_VISIBILITY_HIDDEN
|
|
4632
|
-
];
|
|
4633
|
-
const BoolProps = [...FieldBoolProps, ...FormBoolProps];
|
|
4634
|
-
|
|
4635
|
-
const NumProps = [
|
|
4636
|
-
FieldConstants.PROPERTY_SIZE,
|
|
4637
|
-
FieldConstants.PROPERTY_ROWS,
|
|
4638
|
-
FieldConstants.PROPERTY_COLSPAN,
|
|
4639
|
-
FieldConstants.PROPERTY_ROWSPAN,
|
|
4640
|
-
FieldConstants.PROPERTY_PAGED_GRID_SIZE,
|
|
4641
|
-
FieldConstants.PROPERTY_GRID_HEIGHT,
|
|
4642
|
-
FieldConstants.PROPERTY_MAX_REG_GRID
|
|
4643
|
-
];
|
|
4644
|
-
|
|
4645
4570
|
var __defProp$8 = Object.defineProperty;
|
|
4646
4571
|
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4647
4572
|
var __publicField$8 = (obj, key, value) => {
|
|
@@ -8587,5 +8512,5 @@ class Execution extends EventEmitter$1 {
|
|
|
8587
8512
|
}
|
|
8588
8513
|
}
|
|
8589
8514
|
|
|
8590
|
-
export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions,
|
|
8515
|
+
export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions, BouncingEmitter, Button, ButtonField, Captcha, CaptchaField, CheckField, Checkbox, CustomComponent, GridField as DataGridField, Editor, EditorField, EventEmitter, Execution, ExecutionState, Field, FieldWithAttribute, File, FileUploaderField, FlowModal, Form, FormsUploader, Grid, GridCell, GridField, GridPaginated, HeaderCell, Hidden, HiddenField, IProperty, Image, ImageField, Input, InputField, InvalidSessionException, Label, Link, LinkField, MessageNotification, ModalInput, ModalInputField, Multiple, MultipleField, Notifications, Password, PasswordField, Radio, RadioField, SchedulerField, Select, SelectField, ShowConfirmMessage, ShowPathSelection, ShowPoolSelection, ShowSign, ShowSignSelection, StatefulEmitter, StatusNotification, AreaField as TextAreaField, TextField, Textarea, Title, TranslatableField, Translation, Tree, TreeField, UploaderApi, createNewField, deepEqual, get, getFocusIdentifier, getLabel, isHtmlResponse, isJsonResponse, isXmlResponse, makeApiaUrl, parseFakeJSON$1 as parseFakeJSON, parseSuccessfulResponse, parseXml, post, shallowEqual };
|
|
8591
8516
|
//# sourceMappingURL=index.js.map
|