@apia/execution 4.0.75 → 4.0.78

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 CHANGED
@@ -441,6 +441,9 @@ type TApiaFormProperties = {
441
441
  frmInvisible?: boolean;
442
442
  frmTab?: boolean;
443
443
  frmDontFire?: boolean;
444
+ signableForm?: boolean;
445
+ markToSign?: boolean;
446
+ requiredSign?: boolean;
444
447
  };
445
448
  type ComponentProperties = {
446
449
  colspan: string;
@@ -640,6 +643,8 @@ declare abstract class FieldWithAttribute<FieldProps extends TApiaFieldWithAttri
640
643
  init(form: Form): Promise<void>;
641
644
  }
642
645
 
646
+ declare const BoolProps: string[];
647
+
643
648
  declare const FieldConstants: Readonly<{
644
649
  TYPE_INPUT: "input";
645
650
  TYPE_SELECT: "select";
@@ -767,8 +772,13 @@ declare const FormConstants: Readonly<{
767
772
  PROPERTY_FORM_DONT_FIRE: "frmDontFire";
768
773
  PROPERTY_FORM_READONLY: "readOnly";
769
774
  PROPERTY_FORM_INVISIBLE: "frmInvisible";
775
+ SIGNABLE_FORM: "signableForm";
776
+ MARKED_TO_SIGN: "markToSign";
777
+ REQUIRED_SIGN: "requiredSign";
770
778
  }>;
771
779
 
780
+ declare const NumProps: string[];
781
+
772
782
  interface IIProperty {
773
783
  [key: string]: string;
774
784
  }
@@ -881,6 +891,8 @@ declare class ApiaFunctions implements IApiaFunctions {
881
891
  showActionButton(id: number): void;
882
892
  viewAdmEntity(entName: string, entNum?: number): void;
883
893
  changeTab(index: number[]): void;
894
+ lockScreen(): void;
895
+ unlockScreen(): void;
884
896
  }
885
897
 
886
898
  declare class ActionsController {
@@ -1848,6 +1860,135 @@ type TCreateNewField = (execution: Execution, field: Field | FieldWithAttribute
1848
1860
 
1849
1861
  declare const createNewField: TCreateNewField;
1850
1862
 
1863
+ declare const IProperty: {
1864
+ readonly PROPERTY_FORM_HIDDEN: "frmHidden";
1865
+ readonly PROPERTY_FORM_HIGHLIGHT: "frmHighlight";
1866
+ readonly PROPERTY_FORM_CLOSED: "prpFrmClosed";
1867
+ readonly PROPERTY_FORM_TAB: "frmTab";
1868
+ readonly PROPERTY_FORM_DONT_FIRE: "frmDontFire";
1869
+ readonly PROPERTY_FORM_READONLY: "readOnly";
1870
+ readonly PROPERTY_FORM_INVISIBLE: "frmInvisible";
1871
+ readonly SIGNABLE_FORM: "signableForm";
1872
+ readonly MARKED_TO_SIGN: "markToSign";
1873
+ readonly REQUIRED_SIGN: "requiredSign";
1874
+ readonly TYPE_INPUT: "input";
1875
+ readonly TYPE_SELECT: "select";
1876
+ readonly TYPE_RADIO: "radio";
1877
+ readonly TYPE_CHECK: "check";
1878
+ readonly TYPE_BUTTON: "button";
1879
+ readonly TYPE_AREA: "area";
1880
+ readonly TYPE_LABEL: "label";
1881
+ readonly TYPE_TITLE: "title";
1882
+ readonly TYPE_FILE: "file";
1883
+ readonly TYPE_MULTIPLE: "multiple";
1884
+ readonly TYPE_HIDDEN: "hidden";
1885
+ readonly TYPE_PASSWORD: "password";
1886
+ readonly TYPE_GRID: "grid";
1887
+ readonly TYPE_IMAGE: "image";
1888
+ readonly TYPE_HREF: "href";
1889
+ readonly TYPE_EDITOR: "editor";
1890
+ readonly TYPE_TREE: "tree";
1891
+ readonly TYPE_CAPTCHA: "captcha";
1892
+ readonly PROPERTY_NAME: "name";
1893
+ readonly PROPERTY_SIZE: "size";
1894
+ readonly PROPERTY_READONLY: "readonly";
1895
+ readonly PROPERTY_DISABLED: "disabled";
1896
+ readonly PROPERTY_MODAL_DISABLED: "modalDisabled";
1897
+ readonly PROPERTY_FONT_COLOR: "fontColor";
1898
+ readonly PROPERTY_VALUE: "value";
1899
+ readonly PROPERTY_REQUIRED: "required";
1900
+ readonly PROPERTY_COLSPAN: "colspan";
1901
+ readonly PROPERTY_ROWSPAN: "rowspan";
1902
+ readonly PROPERTY_MODAL: "modal";
1903
+ readonly PROPERTY_ROWS: "thisRows";
1904
+ readonly PROPERTY_BOLD: "bold";
1905
+ readonly PROPERTY_UNDERLINED: "underlined";
1906
+ readonly PROPERTY_ALIGNMENT: "alignment";
1907
+ readonly PROPERTY_IMAGE: "imageUrl";
1908
+ readonly PROPERTY_COL_WIDTH: "colWidth";
1909
+ readonly PROPERTY_GRID_HEIGHT: "gridHeight";
1910
+ readonly PROPERTY_HIDE_GRID_BTN: "hideGridButtons";
1911
+ readonly PROPERTY_VISIBILITY_HIDDEN: "visibilityHidden";
1912
+ readonly PROPERTY_TRANSIENT: "transient";
1913
+ readonly PROPERTY_GRID_TITLE: "gridTitle";
1914
+ readonly PROPERTY_GRID_FORM: "gridForm";
1915
+ readonly PROPERTY_TOOLTIP: "tooltip";
1916
+ readonly PROPERTY_VALUE_COLOR: "valueColor";
1917
+ readonly PROPERTY_INPUT_AS_TEXT: "inputAsText";
1918
+ readonly PROPERTY_NO_DOWNLOAD: "noDownload";
1919
+ readonly PROPERTY_NO_ERASE: "noErase";
1920
+ readonly PROPERTY_NO_LOCK: "noLock";
1921
+ readonly PROPERTY_NO_HISTORY: "noHistory";
1922
+ readonly PROPERTY_NO_MODIFY: "noModify";
1923
+ readonly PROPERTY_ALLOW_EDITION: "allowEdition";
1924
+ readonly PROPERTY_HIDE_SIGN_ICONS: "hideSignButtons";
1925
+ readonly PROPERTY_URL: "url";
1926
+ readonly PROPERTY_GRID_HIDE_BTN_ORDER: "hideOrderButton";
1927
+ readonly PROPERTY_GRID_HIDE_BTN_INCLUDE: "hideIncludeButton";
1928
+ readonly PROPERTY_REGEXP_MESSAGE: "regExpMessage";
1929
+ readonly PROPERTY_PAGED_GRID: "paged";
1930
+ readonly PROPERTY_PAGED_GRID_SIZE: "pagedGridSize";
1931
+ readonly PROPERTY_GRID_ALTER_IN_LAST_PAGE: "alterOnlyLastPage";
1932
+ readonly PROPERTY_GRID_PRINT_HORIZONTAL: "printHorizontal";
1933
+ readonly PROPERTY_STORE_MODAL_QUERY_RESULT: "storeMdlQryResult";
1934
+ readonly PROPERTY_INCLUDE_FIRST_ROW: "includeFirstRow";
1935
+ readonly PROPERTY_MAX_REG_GRID: "maxRecords";
1936
+ readonly PROPERTY_GRID_LABEL: "gridColTitle";
1937
+ readonly PROPERTY_GRID_QUERY: "gridQuery";
1938
+ readonly PROPERTY_HIDE_DOC_PERMISSIONS: "hideDocPermissions";
1939
+ readonly PROPERTY_VERIFY_SIGNATURE_ONLY: "verifySignatureOnly";
1940
+ readonly PROPERTY_GRID_HIDE_BTN_ADD: "hideAddButton";
1941
+ readonly PROPERTY_GRID_HIDE_BTN_DEL: "hideDelButton";
1942
+ readonly PROPERTY_HIDE_DOC_UPLOAD: "hideDocUpload";
1943
+ readonly PROPERTY_HIDE_DOC_DOWNLOAD: "hideDocDownload";
1944
+ readonly PROPERTY_HIDE_DOC_ERASE: "hideDocErase";
1945
+ readonly PROPERTY_HIDE_DOC_LOCK: "hideDocLock";
1946
+ readonly PROPERTY_HIDE_DOC_HISTORY: "hideDocHistory";
1947
+ readonly PROPERTY_HIDE_DOC_SIGN: "hideSignButtons";
1948
+ readonly PROPERTY_DISPLAY_NONE: "displayNone";
1949
+ readonly PROPERTY_DONT_BREAK_RADIO: "dontBreakRadio";
1950
+ readonly PROPERTY_CHECKED: "checked";
1951
+ readonly PROPERTY_FILE_PREVIEW: "filePreview";
1952
+ readonly PROPERTY_NOT_PRINT: "noPrint";
1953
+ readonly PROPERTY_SELECT_PARENT: "selParent";
1954
+ readonly PROPERTY_HEIGHT: "height";
1955
+ readonly PROPERTY_MULTISELECT: "multiselect";
1956
+ readonly PROPERTY_SEL_PARENT: "selParent";
1957
+ readonly PROPERTY_PARENT_ICON: "parentIcon";
1958
+ readonly PROPERTY_LEAF_ICON: "leafIcon";
1959
+ readonly PROPERTY_CSS_CLASS: "cssClass";
1960
+ readonly PROPERTY_DOC_TYPE: "docType";
1961
+ readonly PROPERTY_HIDE_DOC_METADATA: "hideDocMetadata";
1962
+ readonly PROPERTY_TRANSLATION_REQUIRED: "reqTrad";
1963
+ readonly PROPERTY_SIGNATURE_REQUIRED: "reqSign";
1964
+ readonly PROPERTY_SHOW_TOOLTIP_AS_HELP: "tooltipHelp";
1965
+ readonly PROPERTY_DOCUMENT_MONITOR_DEF: "documentMonitorDef";
1966
+ readonly PROPERTY_DOCUMENT_MONITOR_CUS: "documentMonitorCus";
1967
+ readonly PROPERTY_DOCUMENT_SHOW_FOLD_TREE_BTN: "fileShwFoldTreeBtn";
1968
+ readonly PROPERTY_DOCUMENT_SHOW_FOLD_TREE_STR: "fileShwFoldTreeStr";
1969
+ readonly PROPERTY_DOCUMENT_NO_ALLOW_DRAG_DROP: "fileNoAllwDnD";
1970
+ readonly PROPERTY_DOCUMENT_NO_SHOW_MODAL: "fileDntShwDocMdlOnDrop";
1971
+ readonly PROPERTY_DOCUMENT_SHOW_DESC: "fileShowDesc";
1972
+ readonly PROPERTY_DOCUMENT_DEFAULT_FOLDER: "fileDefFolder";
1973
+ readonly PROPERTY_DOCUMENT_ROOT_FOLDER: "fileRootFolder";
1974
+ readonly PROPERTY_DOCUMENT_EXP_DATE: "fileExpDate";
1975
+ readonly PROPERTY_DOCUMENT_DNT_SHW_DOC_MON: "fileNotShowDocMon";
1976
+ readonly PROPERTY_DOCUMENT_COLLAPSE_PERM: "fileCollapsePermission";
1977
+ readonly PROPERTY_DOCUMENT_COLLAPSE_META: "fileCollapseMetadata";
1978
+ readonly PROPERTY_DOCUMENT_COLLAPSE_FLD_STC: "fileCollapseFldStrc";
1979
+ readonly WRONG_ATT_TYPE_ERROR: "Component does not support attributes of type <TOK>. Contact system administrator";
1980
+ readonly STORE_KEY_FIELD: "field";
1981
+ readonly STORE_KEY_FORM: "form";
1982
+ readonly PROPERTY_ARIA_DESCRIPTION: "ariaDescription";
1983
+ readonly PROPERTY_ARIA_LABEL: "ariaLabel";
1984
+ readonly PROPERTY_ALT: "alt";
1985
+ readonly PROPERTY_AUTO_COMPLETE: "autoComplete";
1986
+ readonly PROPERTY_AUTO_FOCUS: "autoFocus";
1987
+ readonly PROPERTY_INPUT_TYPE: "inputType";
1988
+ readonly PROPERTY_PLACE_HOLDER: "placeHolder";
1989
+ readonly PROPERTY_TITLE: "title";
1990
+ };
1991
+
1851
1992
  type TCustomComponentState = {
1852
1993
  isLoading: boolean;
1853
1994
  attributes: Record<string, any[]>;
@@ -3460,132 +3601,6 @@ declare class SchedulerField extends Field<TApiaSchedulerProperties> {
3460
3601
  get schedController(): Scheduler | undefined;
3461
3602
  }
3462
3603
 
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
-
3589
3604
  declare class MessageNotification extends Notification {
3590
3605
  close(): void;
3591
3606
  }
@@ -3752,5 +3767,5 @@ declare function parseFakeJSON<T extends Record<string, unknown>>(str: string):
3752
3767
 
3753
3768
  declare function getFocusIdentifier(field: Field): string;
3754
3769
 
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 };
3770
+ export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions, BoolProps, BouncingEmitter, Button, ButtonField, Captcha, CaptchaField, CheckField, Checkbox, type ComponentEvent, CustomComponent, GridField as DataGridField, Editor, EditorField, EventEmitter, Execution, ExecutionState, Field, FieldConstants, type FieldError, FieldWithAttribute, type FieldWithAttributeState, type FieldsMapping, File$1 as File, FileUploaderField, FlowModal, Form, FormConstants, 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, NumProps, 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 };
3756
3771
  //# 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$1 = [
232
232
  formProps.PROPERTY_FORM_INVISIBLE,
233
233
  formProps.PROPERTY_FORM_HIDDEN,
234
234
  formProps.PROPERTY_FORM_CLOSED,
@@ -240,7 +240,7 @@ const FormBoolProps = [
240
240
  formProps.MARKED_TO_SIGN,
241
241
  formProps.REQUIRED_SIGN
242
242
  ];
243
- const FieldBoolProps = [
243
+ const FieldBoolProps$1 = [
244
244
  fieldProps.PROPERTY_ALLOW_EDITION,
245
245
  fieldProps.PROPERTY_CHECKED,
246
246
  fieldProps.PROPERTY_DISABLED,
@@ -288,9 +288,9 @@ const FieldBoolProps = [
288
288
  fieldProps.PROPERTY_TRANSLATION_REQUIRED,
289
289
  fieldProps.PROPERTY_VISIBILITY_HIDDEN
290
290
  ];
291
- const BoolProps = [...FieldBoolProps, ...FormBoolProps];
291
+ const BoolProps$1 = [...FieldBoolProps$1, ...FormBoolProps$1];
292
292
 
293
- const NumProps = [
293
+ const NumProps$1 = [
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.indexOf(key) === -1 && NumProps.indexOf(key) === -1) {
324
+ if (BoolProps$1.indexOf(key) === -1 && NumProps$1.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.indexOf(key) !== -1) {
328
+ } else if (BoolProps$1.indexOf(key) !== -1) {
329
329
  response[key] = parseBool(objVal[i]);
330
- } else if (NumProps.indexOf(key) !== -1) {
330
+ } else if (NumProps$1.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.indexOf(key) === -1 && NumProps.indexOf(key) === -1) {
956
+ if (BoolProps$1.indexOf(key) === -1 && NumProps$1.indexOf(key) === -1) {
957
957
  return next();
958
958
  } else if (typeof value === "number") {
959
959
  return next();
960
- } else if (BoolProps.indexOf(key) !== -1) {
960
+ } else if (BoolProps$1.indexOf(key) !== -1) {
961
961
  return { key, value: parseBoolean(value) };
962
- } else if (NumProps.indexOf(key) !== -1) {
962
+ } else if (NumProps$1.indexOf(key) !== -1) {
963
963
  return { key, value: parseInt(value || "", 10) };
964
964
  }
965
965
  next();
@@ -4559,7 +4559,10 @@ 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"
4562
+ PROPERTY_FORM_INVISIBLE: "frmInvisible",
4563
+ SIGNABLE_FORM: "signableForm",
4564
+ MARKED_TO_SIGN: "markToSign",
4565
+ REQUIRED_SIGN: "requiredSign"
4563
4566
  });
4564
4567
 
4565
4568
  const IProperty = {
@@ -4567,6 +4570,78 @@ const IProperty = {
4567
4570
  ...FormConstants
4568
4571
  };
4569
4572
 
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
+
4570
4645
  var __defProp$8 = Object.defineProperty;
4571
4646
  var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4572
4647
  var __publicField$8 = (obj, key, value) => {
@@ -6009,6 +6084,12 @@ class ApiaFunctions {
6009
6084
  tab.open();
6010
6085
  });
6011
6086
  }
6087
+ lockScreen() {
6088
+ __privateGet$2(this, _execution).state.locked = 0;
6089
+ }
6090
+ unlockScreen() {
6091
+ __privateGet$2(this, _execution).state.locked = 1;
6092
+ }
6012
6093
  }
6013
6094
  _execution = new WeakMap();
6014
6095
 
@@ -8512,5 +8593,5 @@ class Execution extends EventEmitter$1 {
8512
8593
  }
8513
8594
  }
8514
8595
 
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 };
8596
+ export { ActionsController, AdditionalCell, ApiaAttribute, ApiaField, ApiaFieldWithAttribute, ApiaForm, ApiaFunctions, BoolProps, BouncingEmitter, Button, ButtonField, Captcha, CaptchaField, CheckField, Checkbox, CustomComponent, GridField as DataGridField, Editor, EditorField, EventEmitter, Execution, ExecutionState, Field, FieldConstants, FieldWithAttribute, File, FileUploaderField, FlowModal, Form, FormConstants, FormsUploader, Grid, GridCell, GridField, GridPaginated, HeaderCell, Hidden, HiddenField, IProperty, Image, ImageField, Input, InputField, InvalidSessionException, Label, Link, LinkField, MessageNotification, ModalInput, ModalInputField, Multiple, MultipleField, Notifications, NumProps, 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 };
8516
8597
  //# sourceMappingURL=index.js.map