ets-fe-ng-sdk 19.0.117 → 20.0.0
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/fesm2022/ets-fe-ng-sdk.mjs +1591 -1632
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +14526 -3
- package/package.json +1 -1
- package/environments/environment.d.ts +0 -11
- package/lib/Reusables/reusable-comps/find-item/find-item.component.d.ts +0 -258
- package/lib/Reusables/reusable-comps/find-item/find-item.model.d.ts +0 -13
- package/lib/Reusables/reusable-comps/find-item/find-item.service.d.ts +0 -38
- package/lib/Reusables/reusable-comps/watermark/watermark.component.d.ts +0 -22
- package/lib/Reusables/reusable-pages/extra-pages/extra-pages-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/extra-pages/extra-pages.module.d.ts +0 -8
- package/lib/Reusables/reusable-pages/logger/logger-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/logger/logger.component.d.ts +0 -71
- package/lib/Reusables/reusable-pages/logger/logger.interface.d.ts +0 -73
- package/lib/Reusables/reusable-pages/logger/logger.module.d.ts +0 -11
- package/lib/Reusables/reusable-pages/logger/logger.service.d.ts +0 -81
- package/lib/Reusables/reusable-pages/page-not-found/page-not-found.component.d.ts +0 -28
- package/lib/Reusables/reusable-pages/reset/reset-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/reset/reset.component.d.ts +0 -13
- package/lib/Reusables/reusable-pages/reset/reset.module.d.ts +0 -8
- package/lib/Reusables/reusable-pages/robot/robot-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/robot/robot.component.d.ts +0 -8
- package/lib/Reusables/reusable-pages/robot/robot.module.d.ts +0 -9
- package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.component.d.ts +0 -23
- package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.module.d.ts +0 -11
- package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.model.d.ts +0 -56
- package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.service.d.ts +0 -13
- package/lib/Reusables/reusable-pages/version/version-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/version/version.component.d.ts +0 -13
- package/lib/Reusables/reusable-pages/version/version.module.d.ts +0 -10
- package/lib/Reusables/reusable-pages/version/version.service.d.ts +0 -19
- package/lib/Services/Interceptors/authentication-interceptor.service.d.ts +0 -27
- package/lib/Services/Interceptors/global-error-handler.service.d.ts +0 -28
- package/lib/Services/Interceptors/logger-interceptor.service.d.ts +0 -33
- package/lib/Services/Interceptors/request-loader-interceptor.service.d.ts +0 -24
- package/lib/Services/Interceptors/request-timeout.service.d.ts +0 -32
- package/lib/Services/api.service.d.ts +0 -255
- package/lib/Services/app.service.d.ts +0 -112
- package/lib/Services/base.effect.d.ts +0 -24
- package/lib/Services/base.facade.service.d.ts +0 -42
- package/lib/Services/base.service.d.ts +0 -81
- package/lib/Services/cache/cache-updater.service.d.ts +0 -10
- package/lib/Services/cache/cache.service.d.ts +0 -17
- package/lib/Services/cache/local-cache.service.d.ts +0 -17
- package/lib/Services/cache/saver.service.d.ts +0 -34
- package/lib/Services/debouncer.service.d.ts +0 -66
- package/lib/Services/error-reporter.service.d.ts +0 -56
- package/lib/Services/htmler.service.d.ts +0 -18
- package/lib/Services/input.service.d.ts +0 -55
- package/lib/Services/number-format.service.d.ts +0 -10
- package/lib/Services/object-size.service.d.ts +0 -14
- package/lib/Services/page-loader.service.d.ts +0 -62
- package/lib/Services/page.service.d.ts +0 -57
- package/lib/Services/route.service.d.ts +0 -75
- package/lib/Services/service-worker/check-for-update.service.d.ts +0 -33
- package/lib/Services/service-worker/handle-unrecoverable-state.service.d.ts +0 -24
- package/lib/Services/service-worker/log-update.service.d.ts +0 -20
- package/lib/Services/service-worker/prompt-update.service.d.ts +0 -63
- package/lib/Services/service-worker/service-worker.service.d.ts +0 -40
- package/lib/Services/storage.service.d.ts +0 -115
- package/lib/Services/theme.service.d.ts +0 -29
- package/lib/Services/translation.service.d.ts +0 -182
- package/lib/Services/utility.service.d.ts +0 -989
- package/lib/Services/window-security.service.d.ts +0 -10
- package/lib/Shared/classes/page-loader.class.d.ts +0 -41
- package/lib/Shared/components/add-item/add-item.component.d.ts +0 -31
- package/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.d.ts +0 -75
- package/lib/Shared/components/autocomplete/autocomplete.component.d.ts +0 -81
- package/lib/Shared/components/autocomplete/autocomplete.module.d.ts +0 -6
- package/lib/Shared/components/autocomplete/autocomplete.service.d.ts +0 -58
- package/lib/Shared/components/btn/btn-lg/btn-lg.component.d.ts +0 -55
- package/lib/Shared/components/btn/btn-link/btn-link.component.d.ts +0 -21
- package/lib/Shared/components/btn/btn.component.d.ts +0 -216
- package/lib/Shared/components/btn/btn.model.d.ts +0 -135
- package/lib/Shared/components/btn/btn.module.d.ts +0 -4
- package/lib/Shared/components/btn/btn.service.d.ts +0 -80
- package/lib/Shared/components/btn/details-btn/details-btn.component.d.ts +0 -17
- package/lib/Shared/components/btn/details-btn/details-btn.module.d.ts +0 -1
- package/lib/Shared/components/card/card.component.d.ts +0 -22
- package/lib/Shared/components/card/card.module.d.ts +0 -1
- package/lib/Shared/components/confirm-dialog/confirm-dialog.component.d.ts +0 -36
- package/lib/Shared/components/confirm-dialog/confirm-dialog.module.d.ts +0 -1
- package/lib/Shared/components/confirm-dialog/confirm-dialog.service.d.ts +0 -21
- package/lib/Shared/components/core/button/button.component.d.ts +0 -28
- package/lib/Shared/components/core/button/components.module.d.ts +0 -1
- package/lib/Shared/components/documents-name-display/documents-name-display.component.d.ts +0 -44
- package/lib/Shared/components/documents-name-display/documents-name-display.model.d.ts +0 -6
- package/lib/Shared/components/documents-name-display/documents-name-display.module.d.ts +0 -1
- package/lib/Shared/components/editable-text-case/editable-text-case.component.d.ts +0 -63
- package/lib/Shared/components/editable-text-case/editable-text-case.module.d.ts +0 -1
- package/lib/Shared/components/export-table/export-table.component.d.ts +0 -61
- package/lib/Shared/components/export-table/export-table.module.d.ts +0 -1
- package/lib/Shared/components/fields-to-display/fields-to-display.component.d.ts +0 -66
- package/lib/Shared/components/file-upload/file-upload.component.d.ts +0 -96
- package/lib/Shared/components/form-error/form-error.component.d.ts +0 -73
- package/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.d.ts +0 -95
- package/lib/Shared/components/form-generator/form-generator.base.component.d.ts +0 -234
- package/lib/Shared/components/form-generator/form-generator.component.d.ts +0 -207
- package/lib/Shared/components/form-generator/form-generator.module.d.ts +0 -1
- package/lib/Shared/components/form-generator/form-generator.service.d.ts +0 -45
- package/lib/Shared/components/form-link/form-link.component.d.ts +0 -47
- package/lib/Shared/components/form-link/form-link.module.d.ts +0 -1
- package/lib/Shared/components/form-tab-headers/form-tab-headers.component.d.ts +0 -13
- package/lib/Shared/components/form-tab-headers/form-tab-headers.module.d.ts +0 -1
- package/lib/Shared/components/idler/idler.component.d.ts +0 -41
- package/lib/Shared/components/idler/idler.service.d.ts +0 -71
- package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +0 -93
- package/lib/Shared/components/info-dialog/info-dialog.component.d.ts +0 -67
- package/lib/Shared/components/info-dialog/info-dialog.module.d.ts +0 -4
- package/lib/Shared/components/info-dialog/info-dialog.service.d.ts +0 -13
- package/lib/Shared/components/info-icon/info-icon.component.d.ts +0 -17
- package/lib/Shared/components/info-icon/info-icon.module.d.ts +0 -1
- package/lib/Shared/components/input/date-input/date-input.component.d.ts +0 -137
- package/lib/Shared/components/input/day-hour-min-input/day-hour-min-input.component.d.ts +0 -64
- package/lib/Shared/components/input/input-base.component.d.ts +0 -264
- package/lib/Shared/components/input/input-basic.component.d.ts +0 -96
- package/lib/Shared/components/input/input-control.component.d.ts +0 -28
- package/lib/Shared/components/input/input-label/input-label.component.d.ts +0 -49
- package/lib/Shared/components/input/input-label/input-label.module.d.ts +0 -1
- package/lib/Shared/components/input/input-shared.module.d.ts +0 -30
- package/lib/Shared/components/input/input-td-rf.component.d.ts +0 -58
- package/lib/Shared/components/input/input.component.d.ts +0 -82
- package/lib/Shared/components/input/input.model.d.ts +0 -16
- package/lib/Shared/components/input/input.module.d.ts +0 -23
- package/lib/Shared/components/input/input.service.d.ts +0 -189
- package/lib/Shared/components/input/inputs-pipes.pipe.d.ts +0 -61
- package/lib/Shared/components/input/inputs.component.d.ts +0 -11
- package/lib/Shared/components/input/validation-message/validation-message.component.d.ts +0 -75
- package/lib/Shared/components/input/validation-message/validation-message.module.d.ts +0 -1
- package/lib/Shared/components/input/validation-message/validation-message.service.d.ts +0 -73
- package/lib/Shared/components/input/year-month-td-rf/year-month-td-rf.component.d.ts +0 -38
- package/lib/Shared/components/input-NgModel/input-ngmodel.component.d.ts +0 -165
- package/lib/Shared/components/input-NgModel/input-ngmodel.module.d.ts +0 -1
- package/lib/Shared/components/input-NgModel/validation-message-ngmodel/validation-message-ngmodel.component.d.ts +0 -50
- package/lib/Shared/components/input-table/input-table.component.d.ts +0 -76
- package/lib/Shared/components/input-table/input-table.model.d.ts +0 -23
- package/lib/Shared/components/input-table/input-table.service.d.ts +0 -8
- package/lib/Shared/components/label/label.component.d.ts +0 -25
- package/lib/Shared/components/label/label.module.d.ts +0 -1
- package/lib/Shared/components/loader/loader-animations/blinking-blocks/blinking-blocks.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/bouncing-ball/bouncing-ball.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/fading-bars/fading-bars.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/fading-circles/fading-circles.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/ring-ripples/ring-ripples.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader.component.d.ts +0 -88
- package/lib/Shared/components/loader/loader.module.d.ts +0 -1
- package/lib/Shared/components/loader/spinner.component.d.ts +0 -8
- package/lib/Shared/components/modal/modal-body.directive.d.ts +0 -27
- package/lib/Shared/components/modal/modal-footer.directive.d.ts +0 -27
- package/lib/Shared/components/modal/modal.component.d.ts +0 -154
- package/lib/Shared/components/modal/modal.model.d.ts +0 -21
- package/lib/Shared/components/modal/modal.module.d.ts +0 -1
- package/lib/Shared/components/modal-components/modal.components.d.ts +0 -7
- package/lib/Shared/components/modal-form/modal-form.component.d.ts +0 -79
- package/lib/Shared/components/modal-form/modal-form.module.d.ts +0 -1
- package/lib/Shared/components/modal-header/modal-header.component.d.ts +0 -35
- package/lib/Shared/components/modal-header/modal-header.module.d.ts +0 -1
- package/lib/Shared/components/narration-history-comp/narration-history-comp.component.d.ts +0 -34
- package/lib/Shared/components/notifications/notifications.component.d.ts +0 -10
- package/lib/Shared/components/notifications/notifications.service.d.ts +0 -9
- package/lib/Shared/components/page-center-body/page-center-body.component.d.ts +0 -5
- package/lib/Shared/components/page-template/page-template.component.d.ts +0 -181
- package/lib/Shared/components/page-template/page-template.module.d.ts +0 -1
- package/lib/Shared/components/page-to-component/page-to-component.component.d.ts +0 -70
- package/lib/Shared/components/page-to-component/page-to-component.directive.d.ts +0 -8
- package/lib/Shared/components/page-to-component/page-to-component.module.d.ts +0 -1
- package/lib/Shared/components/page-to-component/page-to-component.service.d.ts +0 -33
- package/lib/Shared/components/paginator/paginator.component.d.ts +0 -57
- package/lib/Shared/components/phone-number/phone-number.component.d.ts +0 -129
- package/lib/Shared/components/phone-number/phone-number.service.d.ts +0 -33
- package/lib/Shared/components/rich-text-editor/rich-text-editor.component.d.ts +0 -94
- package/lib/Shared/components/rich-text-editor-rf/rich-text-editor-rf.component.d.ts +0 -41
- package/lib/Shared/components/row-actions/row-actions.component.d.ts +0 -74
- package/lib/Shared/components/row-actions/row-actions.module.d.ts +0 -1
- package/lib/Shared/components/svg-icon/svg-icon.component.d.ts +0 -20
- package/lib/Shared/components/svg-icon/svg-icon.model.d.ts +0 -1
- package/lib/Shared/components/svg-icon/svg-icon.module.d.ts +0 -1
- package/lib/Shared/components/svg-icon/svg-icon.service.d.ts +0 -11
- package/lib/Shared/components/table/table-base.component.d.ts +0 -240
- package/lib/Shared/components/table/table-https/table-https.component.d.ts +0 -168
- package/lib/Shared/components/table/table-input/table-input-row/table-input-row.component.d.ts +0 -54
- package/lib/Shared/components/table/table-input/table-input.component.d.ts +0 -251
- package/lib/Shared/components/table/table-input/table-input.model.d.ts +0 -21
- package/lib/Shared/components/table/table-plain/table-plain.component.d.ts +0 -118
- package/lib/Shared/components/table/table-plain.service.d.ts +0 -52
- package/lib/Shared/components/table/table.pipe.d.ts +0 -87
- package/lib/Shared/components/text/text.component.d.ts +0 -6
- package/lib/Shared/components/text/text.module.d.ts +0 -1
- package/lib/Shared/components/text-area-modal/text-area-modal.component.d.ts +0 -27
- package/lib/Shared/components/text-area-modal/text-area-modal.service.d.ts +0 -10
- package/lib/Shared/components/text-case-1/text-case-1.component.d.ts +0 -53
- package/lib/Shared/components/text-case-1/text-case-1.module.d.ts +0 -1
- package/lib/Shared/components/text-case-2/text-case-2.component.d.ts +0 -219
- package/lib/Shared/components/text-case-2/text-case-2.module.d.ts +0 -1
- package/lib/Shared/components/text-case-2/text-case.service.d.ts +0 -23
- package/lib/Shared/components/text-case-input/text-case-input.component.d.ts +0 -9
- package/lib/Shared/components/text-case-input/text-case-input.module.d.ts +0 -1
- package/lib/Shared/components/toggle-input-form/toggle-input-form.component.d.ts +0 -138
- package/lib/Shared/components/toggle-input-form/toggle-input-form.model.d.ts +0 -27
- package/lib/Shared/components/translator-case/translator-case.component.d.ts +0 -6
- package/lib/Shared/components/vertical-nav/vertical-nav.component.d.ts +0 -101
- package/lib/Shared/components/view-form-buttons/view-form-buttons.component.d.ts +0 -23
- package/lib/Shared/components/view-form-buttons/view-form-buttons.module.d.ts +0 -1
- package/lib/Shared/components/webcam-media/webcam-media.component.d.ts +0 -162
- package/lib/Shared/components/webcam-media/webcam-media.model.d.ts +0 -7
- package/lib/Shared/directives/commafy-number.directive.d.ts +0 -104
- package/lib/Shared/directives/drag-drop-file-upload.directive.d.ts +0 -50
- package/lib/Shared/directives/form-invalid-class.directive.d.ts +0 -49
- package/lib/Shared/directives/index.directive.d.ts +0 -369
- package/lib/Shared/directives/input-formatter.directive.d.ts +0 -166
- package/lib/Shared/directives/integer-only.directive.d.ts +0 -60
- package/lib/Shared/directives/mHref.directive.d.ts +0 -6
- package/lib/Shared/directives/native-event-listeners.directive.d.ts +0 -228
- package/lib/Shared/directives/negative-number-only.directive.d.ts +0 -30
- package/lib/Shared/directives/responsiveness.directive.d.ts +0 -157
- package/lib/Shared/directives/translator.directive.d.ts +0 -45
- package/lib/Shared/injection-tokens/index.injection-tokens.d.ts +0 -3
- package/lib/Shared/models/IMenuItem.d.ts +0 -247
- package/lib/Shared/models/RouteItem.class.d.ts +0 -120
- package/lib/Shared/models/environment.model.d.ts +0 -204
- package/lib/Shared/models/form-schema.model.d.ts +0 -1
- package/lib/Shared/models/form.class.d.ts +0 -175
- package/lib/Shared/models/index.model.d.ts +0 -938
- package/lib/Shared/models/translator.model.d.ts +0 -27
- package/lib/Shared/pipes/form-invalid-class.pipe.d.ts +0 -28
- package/lib/Shared/pipes/number.pipe.d.ts +0 -15
- package/lib/Shared/pipes/paginator.pipe.d.ts +0 -28
- package/lib/Shared/pipes/translate.pipe.d.ts +0 -104
- package/lib/Shared/pipes/utility.pipe.d.ts +0 -715
- package/lib/Shared/prototypes/prototypes.d.ts +0 -201
- package/lib/Shared/shared.module.d.ts +0 -105
- package/lib/authentication/web-user/web-user-authentication.guard.d.ts +0 -15
- package/lib/authentication/web-user/web-user-authentication.interceptor.d.ts +0 -17
- package/lib/authentication/web-user/web-user-authentication.model.d.ts +0 -34
- package/lib/authentication/web-user/web-user-authentication.service.d.ts +0 -91
- package/lib/authentication/web-user/web-user-forgot-password.component.d.ts +0 -46
- package/lib/authentication/web-user/web-user-login.component.d.ts +0 -45
- package/lib/authentication/web-user/web-user-reset-password.component.d.ts +0 -59
- package/lib/configs/base-functions.d.ts +0 -141
- package/lib/configs/index.config.d.ts +0 -95
- package/lib/configs/validation-messages.config.d.ts +0 -20
- package/public-api.d.ts +0 -215
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { AbstractControlOptions, AsyncValidatorFn, FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
2
|
-
/**
|
|
3
|
-
* Namespace containing form-related utilities and configurations
|
|
4
|
-
*/
|
|
5
|
-
export declare namespace ETSForms {
|
|
6
|
-
/**
|
|
7
|
-
* Class providing form control creation and validation utilities
|
|
8
|
-
*/
|
|
9
|
-
class ConfigForms {
|
|
10
|
-
/**
|
|
11
|
-
* Validates that two form fields have matching values
|
|
12
|
-
* @param formGroup - The form group containing the fields to compare
|
|
13
|
-
* @param field1 - The name of the first field (defaults to 'password')
|
|
14
|
-
* @param field2 - The name of the second field (defaults to 'rpassword')
|
|
15
|
-
*/
|
|
16
|
-
matches(formGroup: FormGroup, field1?: string, field2?: string): void;
|
|
17
|
-
/**
|
|
18
|
-
* Returns a validator function that checks if two fields match
|
|
19
|
-
* @param formGroup - The form group containing the fields to compare
|
|
20
|
-
* @param field1 - The name of the first field
|
|
21
|
-
* @param field2 - The name of the second field
|
|
22
|
-
* @returns null if fields match, otherwise an error object
|
|
23
|
-
*/
|
|
24
|
-
matches2(formGroup: any, field1: string, field2: string): {
|
|
25
|
-
noMatch: boolean;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Creates a form control for email input with validation
|
|
29
|
-
* @param required - Whether the field is required (default: true)
|
|
30
|
-
* @param value - Initial value (default: null)
|
|
31
|
-
* @returns FormControl with email validation
|
|
32
|
-
*/
|
|
33
|
-
email<T = any>(required?: boolean, value?: any): FormControl<T>;
|
|
34
|
-
/**
|
|
35
|
-
* Creates a form control for name input with validation
|
|
36
|
-
* @param required - Whether the field is required (default: true)
|
|
37
|
-
* @param minLength - Minimum length requirement (default: 2)
|
|
38
|
-
* @param value - Initial value (default: null)
|
|
39
|
-
* @returns FormControl with name validation
|
|
40
|
-
*/
|
|
41
|
-
name<T = any>(required?: boolean, minLength?: number, value?: any): FormControl<T>;
|
|
42
|
-
/**
|
|
43
|
-
* Creates a form control for array values
|
|
44
|
-
* @param required - Whether the field is required (default: false)
|
|
45
|
-
* @param value - Initial array value (default: empty array)
|
|
46
|
-
* @returns FormControl for array data
|
|
47
|
-
*/
|
|
48
|
-
array<T = any>(required?: boolean, value?: T[]): FormControl<T[]>;
|
|
49
|
-
/**
|
|
50
|
-
* Creates a form control for boolean values
|
|
51
|
-
* @param required - Whether the field is required (default: false)
|
|
52
|
-
* @param value - Initial boolean value (default: false)
|
|
53
|
-
* @returns FormControl for boolean data
|
|
54
|
-
*/
|
|
55
|
-
boolean(required?: boolean, value?: boolean): FormControl<boolean>;
|
|
56
|
-
/**
|
|
57
|
-
* Creates a form control for username input with validation
|
|
58
|
-
* @param required - Whether the field is required (default: true)
|
|
59
|
-
* @param minLength - Minimum length requirement (default: 3)
|
|
60
|
-
* @param maxLength - Maximum length requirement (default: 10)
|
|
61
|
-
* @param value - Initial value (default: null)
|
|
62
|
-
* @returns FormControl with username validation
|
|
63
|
-
*/
|
|
64
|
-
username<T = string>(required?: boolean, minLength?: number, maxLength?: number, value?: any): FormControl<T>;
|
|
65
|
-
/**
|
|
66
|
-
* Creates a generic form control with custom validation
|
|
67
|
-
* @param value - Initial value
|
|
68
|
-
* @param validatorOrOpts - Validators or options
|
|
69
|
-
* @param asyncValidator - Async validators
|
|
70
|
-
* @returns Generic FormControl
|
|
71
|
-
*/
|
|
72
|
-
default<T = any>(value?: any, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]): FormControl<T>;
|
|
73
|
-
/**
|
|
74
|
-
* Creates a form control for number input with validation
|
|
75
|
-
* @param required - Whether the field is required (default: false)
|
|
76
|
-
* @param value - Initial value (default: null)
|
|
77
|
-
* @param maxLength - Maximum length (default: 100000)
|
|
78
|
-
* @returns FormControl with number validation
|
|
79
|
-
*/
|
|
80
|
-
number<T = number>(required?: boolean, value?: any, maxLength?: number): FormControl<T>;
|
|
81
|
-
/**
|
|
82
|
-
* Creates a form control for integer input with validation
|
|
83
|
-
* @param required - Whether the field is required (default: true)
|
|
84
|
-
* @param value - Initial value (default: null)
|
|
85
|
-
* @param maxLength - Maximum length (default: 100000)
|
|
86
|
-
* @returns FormControl with integer validation
|
|
87
|
-
*/
|
|
88
|
-
integer<T = number>(required?: boolean, value?: any, maxLength?: number): FormControl<T>;
|
|
89
|
-
/**
|
|
90
|
-
* Creates a form control for postal code input with validation
|
|
91
|
-
* @param required - Whether the field is required (default: true)
|
|
92
|
-
* @param value - Initial value (default: null)
|
|
93
|
-
* @returns FormControl with postal code validation
|
|
94
|
-
*/
|
|
95
|
-
postalCode<T = any>(required?: boolean, value?: any): FormControl<T>;
|
|
96
|
-
/**
|
|
97
|
-
* Creates a form control for phone number input with validation
|
|
98
|
-
* @param required - Whether the field is required (default: true)
|
|
99
|
-
* @param value - Initial value (default: null)
|
|
100
|
-
* @returns FormControl with phone number validation
|
|
101
|
-
*/
|
|
102
|
-
phone<T = string>(required?: boolean, value?: any): FormControl<T>;
|
|
103
|
-
/**
|
|
104
|
-
* Creates a required form control with minimum length validation
|
|
105
|
-
* @param length - Minimum length requirement
|
|
106
|
-
* @param value - Initial value (default: null)
|
|
107
|
-
* @returns FormControl with required and min length validation
|
|
108
|
-
*/
|
|
109
|
-
requiredMinLength<T = any>(length: number, value?: any): FormControl<T>;
|
|
110
|
-
/**
|
|
111
|
-
* Creates a required form control with minimum and maximum length validation
|
|
112
|
-
* @param min - Minimum length requirement
|
|
113
|
-
* @param max - Maximum length requirement
|
|
114
|
-
* @returns FormControl with required, min and max length validation
|
|
115
|
-
*/
|
|
116
|
-
requiredMinMaxLength<T = any>(min: number, max: number): FormControl<T>;
|
|
117
|
-
/**
|
|
118
|
-
* Creates a required form control
|
|
119
|
-
* @param value - Initial value (default: null)
|
|
120
|
-
* @returns FormControl with required validation
|
|
121
|
-
*/
|
|
122
|
-
required<T = any>(value?: any): FormControl<T>;
|
|
123
|
-
/**
|
|
124
|
-
* Creates a form control with minimum length validation
|
|
125
|
-
* @param length - Minimum length requirement (default: 3)
|
|
126
|
-
* @param value - Initial value (default: null)
|
|
127
|
-
* @returns FormControl with min length validation
|
|
128
|
-
*/
|
|
129
|
-
minLength<T = any>(length?: number, value?: any): FormControl<T>;
|
|
130
|
-
/**
|
|
131
|
-
* Creates a form control for URL input with validation
|
|
132
|
-
* @param value - Initial value (default: null)
|
|
133
|
-
* @param required - Whether the field is required (default: true)
|
|
134
|
-
* @returns FormControl with URL validation
|
|
135
|
-
*/
|
|
136
|
-
url<T = any>(value?: any, required?: boolean): FormControl<T>;
|
|
137
|
-
/**
|
|
138
|
-
* Creates a form control with custom pattern validation
|
|
139
|
-
* @param pattern - Regular expression pattern for validation
|
|
140
|
-
* @param required - Whether the field is required (default: false)
|
|
141
|
-
* @param value - Initial value
|
|
142
|
-
* @returns FormControl with pattern validation
|
|
143
|
-
*/
|
|
144
|
-
pattern<T = any>(pattern: RegExp, required?: boolean, value?: any): FormControl<T>;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Singleton instance of ConfigForms
|
|
149
|
-
*/
|
|
150
|
-
export declare const configForms: ETSForms.ConfigForms;
|
|
151
|
-
/**
|
|
152
|
-
* Collection of regular expression patterns for form validation
|
|
153
|
-
*/
|
|
154
|
-
export declare const configPatterns: {
|
|
155
|
-
/** Pattern for validating dates */
|
|
156
|
-
date: RegExp;
|
|
157
|
-
/** Pattern for validating email addresses */
|
|
158
|
-
email: RegExp;
|
|
159
|
-
/** Pattern for validating integers */
|
|
160
|
-
integer: RegExp;
|
|
161
|
-
/** Pattern for validating names */
|
|
162
|
-
name: RegExp;
|
|
163
|
-
/** Pattern for validating numbers */
|
|
164
|
-
number: RegExp;
|
|
165
|
-
/** Pattern for validating phone numbers */
|
|
166
|
-
phone: RegExp;
|
|
167
|
-
/** Pattern for validating postal codes */
|
|
168
|
-
postal: RegExp;
|
|
169
|
-
/** Pattern for validating URLs */
|
|
170
|
-
url: RegExp;
|
|
171
|
-
/** Pattern for validating usernames */
|
|
172
|
-
username: RegExp;
|
|
173
|
-
/** Pattern for validating website URLs */
|
|
174
|
-
website: RegExp;
|
|
175
|
-
};
|