ets-fe-ng-sdk 19.0.116 → 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 +1611 -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 -43
- 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,10 +0,0 @@
|
|
|
1
|
-
import { UtilityService } from './utility.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ETSWindowSecurityService {
|
|
4
|
-
uS: UtilityService;
|
|
5
|
-
constructor(uS: UtilityService);
|
|
6
|
-
startTabCheck(singleTabUsage: boolean): void;
|
|
7
|
-
useOtherSingleTabCheck(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ETSWindowSecurityService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ETSWindowSecurityService>;
|
|
10
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A utility class for managing loading states in an application.
|
|
3
|
-
* Tracks multiple concurrent loading operations and provides methods to start, stop,
|
|
4
|
-
* and check the overall loading state.
|
|
5
|
-
*/
|
|
6
|
-
export declare class PageLoader {
|
|
7
|
-
/**
|
|
8
|
-
* Internal array to track active loading operations.
|
|
9
|
-
* Each element represents a single loading operation.
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
private _pageLoaders;
|
|
13
|
-
constructor();
|
|
14
|
-
/**
|
|
15
|
-
* Indicates whether any loading operations are currently active.
|
|
16
|
-
* @returns {boolean} True if at least one loading operation is active, false otherwise.
|
|
17
|
-
*/
|
|
18
|
-
get isLoading(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Starts one or more loading operations.
|
|
21
|
-
* @param {number} value - The number of loading operations to start. Defaults to 1.
|
|
22
|
-
* @returns {number} The total number of active loading operations after starting.
|
|
23
|
-
*/
|
|
24
|
-
startPl: (value?: number) => number;
|
|
25
|
-
/**
|
|
26
|
-
* Resets and restarts the loading state with a single loading operation.
|
|
27
|
-
* Clears all existing loading operations and starts a new one.
|
|
28
|
-
*/
|
|
29
|
-
restartPl: () => void;
|
|
30
|
-
/**
|
|
31
|
-
* Stops one or more loading operations.
|
|
32
|
-
* @param {number} value - The number of loading operations to stop. Defaults to 1.
|
|
33
|
-
* @returns {number} The total number of active loading operations after stopping.
|
|
34
|
-
*/
|
|
35
|
-
stopPl: (value?: number) => number;
|
|
36
|
-
/**
|
|
37
|
-
* Stops all active loading operations at once.
|
|
38
|
-
* Completely clears the loading state.
|
|
39
|
-
*/
|
|
40
|
-
stopAllPls: () => void;
|
|
41
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormArray } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Component that provides an "Add Item" button functionality.
|
|
6
|
-
* This component can be used to add items to either a FormArray or a regular array.
|
|
7
|
-
*/
|
|
8
|
-
export declare class AddItemComponent {
|
|
9
|
-
/**
|
|
10
|
-
* The text to display on the add button.
|
|
11
|
-
* @default 'Add item'
|
|
12
|
-
*/
|
|
13
|
-
addText: string;
|
|
14
|
-
/**
|
|
15
|
-
* The FormArray to which items will be added.
|
|
16
|
-
* Use this when working with reactive forms.
|
|
17
|
-
*/
|
|
18
|
-
formArray: FormArray;
|
|
19
|
-
/**
|
|
20
|
-
* The array to which items will be added.
|
|
21
|
-
* Use this when working with regular arrays instead of FormArrays.
|
|
22
|
-
*/
|
|
23
|
-
array: any[];
|
|
24
|
-
/**
|
|
25
|
-
* Event emitted when the add button is clicked.
|
|
26
|
-
* The parent component should handle this event to add the item to the array.
|
|
27
|
-
*/
|
|
28
|
-
clickedAdd: EventEmitter<any>;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddItemComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddItemComponent, "add-item", never, { "addText": { "alias": "addText"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "array": { "alias": "array"; "required": false; }; }, { "clickedAdd": "clickedAdd"; }, never, never, true, never>;
|
|
31
|
-
}
|
package/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
3
|
-
import { ReplaySubject } from 'rxjs';
|
|
4
|
-
import { InputTD_RFComponent } from '../../input/input-td-rf.component';
|
|
5
|
-
import { AutocompleteService } from '../autocomplete.service';
|
|
6
|
-
import { MatOption } from '@angular/material/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Component that provides autocomplete functionality with support for both template-driven and reactive forms.
|
|
10
|
-
* Extends InputTD_RFComponent to provide input field capabilities with autocomplete features.
|
|
11
|
-
*
|
|
12
|
-
* @template TOption - The type of options used in the autocomplete dropdown
|
|
13
|
-
*/
|
|
14
|
-
export declare class AutocompleteTdRfComponent<TOption> extends InputTD_RFComponent<TOption> {
|
|
15
|
-
autoS: AutocompleteService;
|
|
16
|
-
/** Computed signal that normalizes the options for the autocomplete */
|
|
17
|
-
readonly cOptions: import("@angular/core").Signal<import("../autocomplete.service").IAutoCompleteOption[]>;
|
|
18
|
-
/** Signal that filters options based on the current input value */
|
|
19
|
-
readonly filteredOptions: import("@angular/core").WritableSignal<import("../autocomplete.service").IAutoCompleteOption[]>;
|
|
20
|
-
/** Whether to validate the selected option against available options */
|
|
21
|
-
validate: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the options for the autocomplete dropdown
|
|
24
|
-
* Overrides the parent class setter to update the control value when options change
|
|
25
|
-
*/
|
|
26
|
-
set _options(v: TOption[]);
|
|
27
|
-
/** Reference to the MatAutocomplete component */
|
|
28
|
-
readonly autoCompleteRef: import("@angular/core").Signal<MatAutocomplete>;
|
|
29
|
-
/** References to all MatOption components in the autocomplete */
|
|
30
|
-
protected readonly matOptions: import("@angular/core").Signal<readonly MatOption<any>[]>;
|
|
31
|
-
/** Flag to bypass the option existence validation check */
|
|
32
|
-
readonly skipDoesOptionExistCheck: import("@angular/core").ModelSignal<boolean>;
|
|
33
|
-
/** Subject that emits when the input value changes to trigger option fetching */
|
|
34
|
-
protected valueChanged: ReplaySubject<string>;
|
|
35
|
-
/** Effect that retriggers the displayWith function when options map changes */
|
|
36
|
-
readonly retriggerDisplayWith: import("@angular/core").EffectRef;
|
|
37
|
-
/**
|
|
38
|
-
* Creates an instance of AutocompleteTdRfComponent.
|
|
39
|
-
* @param autoS - Service that provides autocomplete functionality
|
|
40
|
-
*/
|
|
41
|
-
constructor(autoS: AutocompleteService);
|
|
42
|
-
/**
|
|
43
|
-
* Initializes the component, sets up validators and subscriptions
|
|
44
|
-
* @override
|
|
45
|
-
*/
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Triggers fetching options from the optionsFunc if provided
|
|
49
|
-
*/
|
|
50
|
-
fetchOptions(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Lifecycle hook called after the view is initialized
|
|
53
|
-
* @override
|
|
54
|
-
*/
|
|
55
|
-
ngAfterViewInit(): void;
|
|
56
|
-
/**
|
|
57
|
-
* Handles the selection of an option from the autocomplete dropdown
|
|
58
|
-
* @param $event - The MatAutocompleteSelectedEvent
|
|
59
|
-
*/
|
|
60
|
-
selected($event: MatAutocompleteSelectedEvent): void;
|
|
61
|
-
/**
|
|
62
|
-
* Function used by the autocomplete to display the selected value
|
|
63
|
-
* @param val - The value to display
|
|
64
|
-
* @returns The label for the value or the value itself
|
|
65
|
-
*/
|
|
66
|
-
displayWith: (val: any) => any;
|
|
67
|
-
/**
|
|
68
|
-
* Validator function that checks if the selected value exists in the options
|
|
69
|
-
* @param control - The form control to validate
|
|
70
|
-
* @returns Validation error or null if valid
|
|
71
|
-
*/
|
|
72
|
-
includesOption: (control: AbstractControl) => import("ets-fe-ng-sdk").CustomValidationError;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTdRfComponent<any>, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTdRfComponent<any>, "autocomplete-td-rf,app-autocomplete-td-rf", never, { "validate": { "alias": "validate"; "required": false; }; "_options": { "alias": "options"; "required": false; }; "skipDoesOptionExistCheck": { "alias": "skipDoesOptionExistCheck"; "required": false; "isSignal": true; }; }, { "skipDoesOptionExistCheck": "skipDoesOptionExistCheckChange"; }, never, never, true, never>;
|
|
75
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
3
|
-
import { ReplaySubject } from 'rxjs';
|
|
4
|
-
import { InputBasicComponent } from '../input/input-basic.component';
|
|
5
|
-
import { AutocompleteService } from './autocomplete.service';
|
|
6
|
-
import { MatOption } from '@angular/material/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Angular component that provides autocomplete functionality.
|
|
10
|
-
* Extends InputBasicComponent to provide form control integration.
|
|
11
|
-
*
|
|
12
|
-
* @template TFormGroup - The type of form group this component is part of
|
|
13
|
-
* @template TControl - The type of the control value
|
|
14
|
-
* @template TOption - The type of options displayed in the autocomplete
|
|
15
|
-
*/
|
|
16
|
-
export declare class AutocompleteComponent<TFormGroup extends {
|
|
17
|
-
[K in keyof TFormGroup]: AbstractControl<any, any>;
|
|
18
|
-
} = any, TControl = any, TOption = any> extends InputBasicComponent<TFormGroup, TControl, TOption> {
|
|
19
|
-
/** Computed signal that normalizes the options for the autocomplete */
|
|
20
|
-
readonly cOptions: import("@angular/core").Signal<import("./autocomplete.service").IAutoCompleteOption[]>;
|
|
21
|
-
/** Linked signal that filters options based on the current input value */
|
|
22
|
-
readonly filteredOptions: import("@angular/core").WritableSignal<import("./autocomplete.service").IAutoCompleteOption[]>;
|
|
23
|
-
/** Whether to show the required tag in the UI */
|
|
24
|
-
showRequiredTag: boolean;
|
|
25
|
-
/** Whether to validate the input */
|
|
26
|
-
validate: boolean;
|
|
27
|
-
/** Signal to control whether to skip the option existence check during validation */
|
|
28
|
-
readonly skipDoesOptionExistCheck: import("@angular/core").ModelSignal<boolean>;
|
|
29
|
-
/**
|
|
30
|
-
* Setter for options input that overrides the parent class implementation
|
|
31
|
-
* Updates the control value when options change and autocomplete is initialized
|
|
32
|
-
*/
|
|
33
|
-
set _options(v: TOption[] | null);
|
|
34
|
-
/** Reference to the MatAutocomplete component */
|
|
35
|
-
readonly autoCompleteRef: import("@angular/core").Signal<MatAutocomplete>;
|
|
36
|
-
/** References to all MatOption components in the autocomplete */
|
|
37
|
-
protected readonly matOptions: import("@angular/core").Signal<readonly MatOption<any>[]>;
|
|
38
|
-
/** Computed signal that returns the label of the currently selected option */
|
|
39
|
-
protected readonly selectedMatOptionLabel: import("@angular/core").Signal<string>;
|
|
40
|
-
/** Subject that emits when the input value changes */
|
|
41
|
-
protected valueChanged: ReplaySubject<string>;
|
|
42
|
-
/** Service that provides autocomplete functionality */
|
|
43
|
-
autoS: AutocompleteService;
|
|
44
|
-
/**
|
|
45
|
-
* Initializes the component
|
|
46
|
-
* Sets up validators and subscribes to value changes if optionsFunc is provided
|
|
47
|
-
*/
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
/**
|
|
50
|
-
* Cleans up resources when the component is destroyed
|
|
51
|
-
* Removes validators added by this component
|
|
52
|
-
*/
|
|
53
|
-
ngOnDestroy(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Fetches options using the optionsFunc if provided
|
|
56
|
-
*/
|
|
57
|
-
fetchOptions(): void;
|
|
58
|
-
/**
|
|
59
|
-
* Handles selection of an option from the autocomplete dropdown
|
|
60
|
-
* @param $event - The selection event containing the selected option
|
|
61
|
-
*/
|
|
62
|
-
selected($event: MatAutocompleteSelectedEvent): void;
|
|
63
|
-
/**
|
|
64
|
-
* Effect that retriggers the displayWith function when optionsMap changes
|
|
65
|
-
*/
|
|
66
|
-
readonly retriggerDisplayWith: import("@angular/core").EffectRef;
|
|
67
|
-
/**
|
|
68
|
-
* Function used by the autocomplete to display the selected value
|
|
69
|
-
* @param val - The value to display
|
|
70
|
-
* @returns The label for the value, or the value itself if no label is found
|
|
71
|
-
*/
|
|
72
|
-
displayWith: (val: any) => any;
|
|
73
|
-
/**
|
|
74
|
-
* Validator function that checks if the selected value exists in the options
|
|
75
|
-
* @param control - The form control to validate
|
|
76
|
-
* @returns Validation error if the value doesn't exist in options, null otherwise
|
|
77
|
-
*/
|
|
78
|
-
includesOption: (control: AbstractControl) => import("ets-fe-ng-sdk").CustomValidationError;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent<any, any, any>, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent<any, any, any>, "app-autocomplete,autocomplete", never, { "showRequiredTag": { "alias": "showRequiredTag"; "required": false; }; "validate": { "alias": "validate"; "required": false; }; "skipDoesOptionExistCheck": { "alias": "skipDoesOptionExistCheck"; "required": false; "isSignal": true; }; "_options": { "alias": "options"; "required": false; }; }, { "skipDoesOptionExistCheck": "skipDoesOptionExistCheckChange"; }, never, never, true, never>;
|
|
81
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AutocompleteTdRfComponent } from './autocomplete-td-rf/autocomplete-td-rf.component';
|
|
2
|
-
import { AutocompleteComponent } from './autocomplete.component';
|
|
3
|
-
export { AutocompleteComponent } from './autocomplete.component';
|
|
4
|
-
export { AutocompleteTdRfComponent } from './autocomplete-td-rf/autocomplete-td-rf.component';
|
|
5
|
-
export declare const AutocompleteModule: readonly [typeof AutocompleteComponent, typeof AutocompleteTdRfComponent];
|
|
6
|
-
export default AutocompleteModule;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { IOption } from '../input/input.service';
|
|
2
|
-
import { CustomValidationError } from '../../models/index.model';
|
|
3
|
-
import { UtilityService } from '../../../Services/utility.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Service for handling autocomplete functionality
|
|
7
|
-
* Provides methods for filtering, normalizing, and displaying autocomplete options
|
|
8
|
-
*/
|
|
9
|
-
export declare class AutocompleteService {
|
|
10
|
-
uS: UtilityService;
|
|
11
|
-
/**
|
|
12
|
-
* Creates a custom validation error for invalid selections
|
|
13
|
-
* @param label - The label that was not found in the list
|
|
14
|
-
* @returns A CustomValidationError object
|
|
15
|
-
*/
|
|
16
|
-
readonly invalidSelectionError: (label: string) => CustomValidationError;
|
|
17
|
-
/**
|
|
18
|
-
* @param uS - Utility service instance
|
|
19
|
-
*/
|
|
20
|
-
constructor(uS: UtilityService);
|
|
21
|
-
/**
|
|
22
|
-
* Filters options based on a search query
|
|
23
|
-
* @param query - The search string to filter by
|
|
24
|
-
* @param options - Array of options to filter
|
|
25
|
-
* @returns Filtered array of options, prioritizing those that start with the query
|
|
26
|
-
* @typeParam T - Option type that extends an object with a _normalizedLabel property
|
|
27
|
-
*/
|
|
28
|
-
filterOptions<T extends {
|
|
29
|
-
_normalizedLabel: string;
|
|
30
|
-
}>(query: string, options: T[]): T[];
|
|
31
|
-
/**
|
|
32
|
-
* Normalizes a string value by converting to lowercase and removing spaces
|
|
33
|
-
* @param value - The string to normalize
|
|
34
|
-
* @returns Normalized string or undefined if input is falsy
|
|
35
|
-
*/
|
|
36
|
-
normalizeValue(value: string): string;
|
|
37
|
-
/**
|
|
38
|
-
* Converts standard options to autocomplete options by adding normalized labels
|
|
39
|
-
* @param options - Array of IOption objects to normalize
|
|
40
|
-
* @returns Array of IAutoCompleteOption objects with normalized labels
|
|
41
|
-
*/
|
|
42
|
-
normalizeOptions: (options: IOption[]) => IAutoCompleteOption[];
|
|
43
|
-
/**
|
|
44
|
-
* Creates a display function for Angular mat-autocomplete
|
|
45
|
-
* @param options - Array of options to search through
|
|
46
|
-
* @returns Function that returns the label for a given value
|
|
47
|
-
*/
|
|
48
|
-
displayWith: (options: any[]) => (val: any) => any;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteService, never>;
|
|
50
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AutocompleteService>;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Interface extending IOption with a normalized label property
|
|
54
|
-
*/
|
|
55
|
-
export interface IAutoCompleteOption extends IOption {
|
|
56
|
-
/** Normalized version of the option label for case-insensitive comparison */
|
|
57
|
-
_normalizedLabel: string;
|
|
58
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { QueryParamsHandling } from '@angular/router';
|
|
2
|
-
import { BtnComponent } from '../btn.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Large button component that extends the base BtnComponent with additional functionality.
|
|
6
|
-
* Provides support for routing, sub-items, and value handling.
|
|
7
|
-
*/
|
|
8
|
-
export declare class BtnLgComponent extends BtnComponent {
|
|
9
|
-
/**
|
|
10
|
-
* Configures how query parameters are handled for navigation.
|
|
11
|
-
* @see QueryParamsHandling from Angular Router
|
|
12
|
-
*/
|
|
13
|
-
readonly queryParamsHandling: import("@angular/core").InputSignal<QueryParamsHandling>;
|
|
14
|
-
/**
|
|
15
|
-
* The route to navigate to when the button is clicked.
|
|
16
|
-
*/
|
|
17
|
-
readonly route: import("@angular/core").InputSignal<string>;
|
|
18
|
-
/**
|
|
19
|
-
* The value associated with this button.
|
|
20
|
-
*/
|
|
21
|
-
readonly value: import("@angular/core").InputSignal<string | number>;
|
|
22
|
-
/**
|
|
23
|
-
* Array of sub-items with labels and values to be displayed within the button.
|
|
24
|
-
*/
|
|
25
|
-
readonly subs: import("@angular/core").InputSignal<{
|
|
26
|
-
label: string;
|
|
27
|
-
value: any;
|
|
28
|
-
}[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Additional text to be displayed as a sub-element of the button.
|
|
31
|
-
*/
|
|
32
|
-
readonly subText: import("@angular/core").InputSignal<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Additional value to be displayed as a sub-element of the button.
|
|
35
|
-
*/
|
|
36
|
-
readonly subValue: import("@angular/core").InputSignal<string | number>;
|
|
37
|
-
/**
|
|
38
|
-
* Output event emitter for button click events.
|
|
39
|
-
* Overrides the base component's mclick.
|
|
40
|
-
*/
|
|
41
|
-
readonly mclick: import("@angular/core").OutputEmitterRef<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Computed property that determines if the button has sub-items.
|
|
44
|
-
* @returns True if the button has sub-items, false otherwise.
|
|
45
|
-
*/
|
|
46
|
-
readonly hasSubs: import("@angular/core").Signal<boolean>;
|
|
47
|
-
/**
|
|
48
|
-
* Handles button click events.
|
|
49
|
-
* Emits the click event and logs it unless logging is excluded.
|
|
50
|
-
* @param $event The click event object
|
|
51
|
-
*/
|
|
52
|
-
click($event: any): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BtnLgComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BtnLgComponent, "app-btn-lg,btn-lg", never, { "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "subs": { "alias": "subs"; "required": false; "isSignal": true; }; "subText": { "alias": "subText"; "required": false; "isSignal": true; }; "subValue": { "alias": "subValue"; "required": false; "isSignal": true; }; }, { "mclick": "mclick"; }, never, never, true, never>;
|
|
55
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { QueryParamsHandling } from '@angular/router';
|
|
2
|
-
import { BtnComponent } from '../btn.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Button component that acts as a link, extending the base BtnComponent.
|
|
6
|
-
* Can be used for navigation with RouterLink or as an email link.
|
|
7
|
-
*/
|
|
8
|
-
export declare class BtnLinkComponent extends BtnComponent {
|
|
9
|
-
/** Defines how the router handles query parameters for the link. */
|
|
10
|
-
mqueryParamsHandling: import("@angular/core").InputSignal<QueryParamsHandling>;
|
|
11
|
-
/** The route path for navigation. */
|
|
12
|
-
route: import("@angular/core").InputSignal<string>;
|
|
13
|
-
/** Optional parameters to be passed with the route. */
|
|
14
|
-
params: import("@angular/core").InputSignal<{
|
|
15
|
-
[x: string]: string | number | boolean;
|
|
16
|
-
}>;
|
|
17
|
-
/** Email address for mailto links. */
|
|
18
|
-
emailTo: import("@angular/core").InputSignal<string>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BtnLinkComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BtnLinkComponent, "btn-link", never, { "mqueryParamsHandling": { "alias": "mqueryParamsHandling"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "params": { "alias": "params"; "required": false; "isSignal": true; }; "emailTo": { "alias": "emailTo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup, FormArray, AbstractControl } from '@angular/forms';
|
|
3
|
-
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
4
|
-
import { BtnService } from './btn.service';
|
|
5
|
-
import { IFormSchema } from '../../models/form-schema.model';
|
|
6
|
-
import { IconType, BtnType, BtnGroup } from './btn.model';
|
|
7
|
-
import { ReplaySubject } from 'rxjs';
|
|
8
|
-
import { ITranslatorConfig } from '../../models/translator.model';
|
|
9
|
-
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* A versatile button component that supports various styles, icons, and states.
|
|
13
|
-
* Can be integrated with Angular forms to enable/disable based on form validity.
|
|
14
|
-
*/
|
|
15
|
-
export declare class BtnComponent implements OnInit {
|
|
16
|
-
/** Service for button-related functionality */
|
|
17
|
-
btnS: BtnService;
|
|
18
|
-
/** Change detector reference for manual change detection */
|
|
19
|
-
protected cdr: ChangeDetectorRef;
|
|
20
|
-
/** Form schema to check for specific invalid form fields */
|
|
21
|
-
readonly formSchema: import("@angular/core").InputSignal<IFormSchema<any>[]>;
|
|
22
|
-
/** Enables debug mode for troubleshooting */
|
|
23
|
-
readonly debug: import("@angular/core").InputSignal<boolean>;
|
|
24
|
-
/**
|
|
25
|
-
* Computed property that determines if the form has invalid fields
|
|
26
|
-
* based on the provided form schema
|
|
27
|
-
*/
|
|
28
|
-
readonly formIsInvalid: import("@angular/core").Signal<boolean>;
|
|
29
|
-
/** Centers the button content when true */
|
|
30
|
-
readonly centerBtn: import("@angular/core").InputSignal<boolean>;
|
|
31
|
-
/** Applies danger styling to the button */
|
|
32
|
-
readonly danger: import("@angular/core").InputSignal<boolean>;
|
|
33
|
-
/** Applies warning styling to the button */
|
|
34
|
-
readonly warning: import("@angular/core").InputSignal<boolean>;
|
|
35
|
-
/** Enables verbose mode for additional information */
|
|
36
|
-
readonly verbose: import("@angular/core").InputSignal<boolean>;
|
|
37
|
-
/** Configuration options for the translator */
|
|
38
|
-
readonly translatorOptions: import("@angular/core").InputSignal<ITranslatorConfig>;
|
|
39
|
-
/** Type of icon to be displayed */
|
|
40
|
-
protected iconType: IconType;
|
|
41
|
-
/** Indicates if the button should be displayed as an icon button */
|
|
42
|
-
readonly iconBtn: import("@angular/core").WritableSignal<boolean>;
|
|
43
|
-
/** Controls the loading state of the button */
|
|
44
|
-
readonly loading: import("@angular/core").ModelSignal<boolean>;
|
|
45
|
-
/**
|
|
46
|
-
* Computed CSS classes for the button based on various states
|
|
47
|
-
*/
|
|
48
|
-
readonly ngClass: import("@angular/core").Signal<{
|
|
49
|
-
changecolor: boolean;
|
|
50
|
-
'btn-raised': boolean;
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
isDanger: boolean;
|
|
53
|
-
isWarning: boolean;
|
|
54
|
-
invalid: boolean;
|
|
55
|
-
'justify-content-center': boolean;
|
|
56
|
-
}>;
|
|
57
|
-
/** Shows the left disabled icon when appropriate */
|
|
58
|
-
readonly showLeftDisabledIcon: import("@angular/core").Signal<boolean>;
|
|
59
|
-
/** Shows the left custom icon when appropriate */
|
|
60
|
-
readonly showLeftCustomIcon: import("@angular/core").Signal<boolean>;
|
|
61
|
-
/** Shows the left icon when appropriate */
|
|
62
|
-
readonly showLeftIcon: import("@angular/core").Signal<boolean>;
|
|
63
|
-
/** Shows the right disabled icon when appropriate */
|
|
64
|
-
readonly showRightDisabledIcon: import("@angular/core").Signal<boolean>;
|
|
65
|
-
/** Shows the right custom icon when appropriate */
|
|
66
|
-
readonly showRightCustomIcon: import("@angular/core").Signal<boolean>;
|
|
67
|
-
/** Shows the right icon when appropriate */
|
|
68
|
-
readonly showRightIcon: import("@angular/core").Signal<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* Sets the icon for the button
|
|
71
|
-
* @param v The icon type to use
|
|
72
|
-
*/
|
|
73
|
-
set _icon(v: IconType);
|
|
74
|
-
/**
|
|
75
|
-
* Sets the right icon for the button
|
|
76
|
-
* @param v The icon type to use
|
|
77
|
-
*/
|
|
78
|
-
set _rightIcon(v: IconType);
|
|
79
|
-
/**
|
|
80
|
-
* Sets the left icon for the button
|
|
81
|
-
* @param v The icon type to use
|
|
82
|
-
*/
|
|
83
|
-
set _leftIcon(v: IconType);
|
|
84
|
-
/**
|
|
85
|
-
* Sets the button type which determines its appearance
|
|
86
|
-
* @param v The button type to use
|
|
87
|
-
*/
|
|
88
|
-
set _type(v: BtnType);
|
|
89
|
-
/**
|
|
90
|
-
* Sets predefined button configurations based on common use cases
|
|
91
|
-
* @param v The button group to use
|
|
92
|
-
*/
|
|
93
|
-
set _group(v: BtnGroup);
|
|
94
|
-
/** CSS class for the button */
|
|
95
|
-
readonly _mclass: import("@angular/core").WritableSignal<string>;
|
|
96
|
-
/** HTML button type (submit, button, reset) */
|
|
97
|
-
readonly actionType: import("@angular/core").InputSignal<"reset" | "button" | "submit">;
|
|
98
|
-
/** Enables animation effect on the button */
|
|
99
|
-
readonly animate: import("@angular/core").InputSignal<boolean>;
|
|
100
|
-
/** Excludes this button from logging when true */
|
|
101
|
-
excludeLogging: boolean;
|
|
102
|
-
/** Value to include in logs when button is clicked */
|
|
103
|
-
loggingValue: string;
|
|
104
|
-
/** Badge text or number to display on the button */
|
|
105
|
-
readonly badge: import("@angular/core").InputSignal<string | number>;
|
|
106
|
-
/** Additional CSS classes for the button */
|
|
107
|
-
readonly class: import("@angular/core").InputSignal<string>;
|
|
108
|
-
/**
|
|
109
|
-
* Sets the left side custom icon
|
|
110
|
-
* @param v Icon class string
|
|
111
|
-
*/
|
|
112
|
-
set customIcon(v: string);
|
|
113
|
-
/** Form to bind to the button for validation */
|
|
114
|
-
readonly form: import("@angular/core").InputSignal<FormGroup<any> | FormArray<any> | AbstractControl<any, any> | FormControl<any>>;
|
|
115
|
-
/** Subject for form changes */
|
|
116
|
-
protected readonly form$: ReplaySubject<AbstractControl<any, any>>;
|
|
117
|
-
/** Signal for form validity state */
|
|
118
|
-
protected readonly formState: import("@angular/core").Signal<boolean>;
|
|
119
|
-
/** Multiple forms to bind to the button for validation */
|
|
120
|
-
readonly forms: import("@angular/core").InputSignal<(FormGroup<any> | FormArray<any> | AbstractControl<any, any> | FormControl<any>)[]>;
|
|
121
|
-
/** Subject for forms changes */
|
|
122
|
-
protected readonly forms$: ReplaySubject<AbstractControl<any, any>[]>;
|
|
123
|
-
/** Signal for multiple forms validity state */
|
|
124
|
-
protected readonly formsState: import("@angular/core").Signal<Omit<IFormState, "status">>;
|
|
125
|
-
/** Tooltip message to display */
|
|
126
|
-
readonly help: import("@angular/core").InputSignal<string>;
|
|
127
|
-
/** Delay before showing tooltip in milliseconds */
|
|
128
|
-
readonly helpShowDelay: import("@angular/core").InputSignal<NumberInput>;
|
|
129
|
-
/**
|
|
130
|
-
* @deprecated no longer needed to detect the correct spacing between icon and text
|
|
131
|
-
* Sets whether this is an icon button
|
|
132
|
-
*/
|
|
133
|
-
set _iconBtn(v: boolean);
|
|
134
|
-
/** Material class for the button */
|
|
135
|
-
readonly mclass: import("@angular/core").InputSignal<string>;
|
|
136
|
-
/** Shows help icon when true */
|
|
137
|
-
readonly showHelpIcon: import("@angular/core").InputSignal<BooleanInput>;
|
|
138
|
-
/** Right icon definition */
|
|
139
|
-
readonly rightIcon: import("@angular/core").WritableSignal<IconDefinition>;
|
|
140
|
-
/** Sets the right custom icon */
|
|
141
|
-
set _rightCustomIcon(v: string);
|
|
142
|
-
/** Right custom icon class string */
|
|
143
|
-
readonly rightCustomIcon: import("@angular/core").WritableSignal<string>;
|
|
144
|
-
/** Left icon definition */
|
|
145
|
-
readonly leftIcon: import("@angular/core").WritableSignal<IconDefinition>;
|
|
146
|
-
/** Left custom icon class string */
|
|
147
|
-
readonly leftCustomIcon: import("@angular/core").ModelSignal<string>;
|
|
148
|
-
/** Text to display on the button */
|
|
149
|
-
readonly text: import("@angular/core").InputSignal<string>;
|
|
150
|
-
/** Manually set validity state */
|
|
151
|
-
readonly valid: import("@angular/core").InputSignal<boolean>;
|
|
152
|
-
/** Displays button in mini size when true */
|
|
153
|
-
readonly mini: import("@angular/core").InputSignal<boolean>;
|
|
154
|
-
/** Behavior when form is invalid: disable button or show warning */
|
|
155
|
-
readonly onFormInvalid: import("@angular/core").InputSignal<"disable" | "warn">;
|
|
156
|
-
/** Event emitted when button is clicked */
|
|
157
|
-
readonly mclick: import("@angular/core").OutputEmitterRef<any>;
|
|
158
|
-
/** Reference to the inner text element */
|
|
159
|
-
innerText: ElementRef<HTMLSpanElement>;
|
|
160
|
-
/** Icon to show when button is locked/disabled */
|
|
161
|
-
readonly lockedIcon: import("@angular/core").WritableSignal<IconDefinition>;
|
|
162
|
-
/** Internal text storage */
|
|
163
|
-
protected readonly _text: import("@angular/core").WritableSignal<string>;
|
|
164
|
-
/** Controls the disabled state of the button */
|
|
165
|
-
readonly disabled: import("@angular/core").ModelSignal<boolean>;
|
|
166
|
-
/** Computed text to display based on input and internal state */
|
|
167
|
-
readonly computedText: import("@angular/core").Signal<string>;
|
|
168
|
-
/** Determines if a left icon should be displayed */
|
|
169
|
-
protected readonly isLeftIcon: import("@angular/core").Signal<string | IconDefinition>;
|
|
170
|
-
/** Determines if a right icon should be displayed */
|
|
171
|
-
protected readonly isRightIcon: import("@angular/core").Signal<string | IconDefinition>;
|
|
172
|
-
constructor();
|
|
173
|
-
ngAfterViewChecked(): void;
|
|
174
|
-
/**
|
|
175
|
-
* Initializes the button with default settings if needed
|
|
176
|
-
*/
|
|
177
|
-
ngOnInit(): void;
|
|
178
|
-
/**
|
|
179
|
-
* Sets the loading state of the button
|
|
180
|
-
* @param val True to show loading indicator, false to hide
|
|
181
|
-
*/
|
|
182
|
-
setLoader(val: boolean): void;
|
|
183
|
-
/**
|
|
184
|
-
* Gets text description of the button for logging purposes
|
|
185
|
-
*/
|
|
186
|
-
get extractText(): string;
|
|
187
|
-
/**
|
|
188
|
-
* Handles button click events
|
|
189
|
-
* @param $event The click event
|
|
190
|
-
*/
|
|
191
|
-
click($event: any): void;
|
|
192
|
-
/**
|
|
193
|
-
* Computed property that determines if the button should be disabled
|
|
194
|
-
* based on various conditions including form validity
|
|
195
|
-
*/
|
|
196
|
-
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
197
|
-
/**
|
|
198
|
-
* Disables the button
|
|
199
|
-
*/
|
|
200
|
-
disable(): void;
|
|
201
|
-
/**
|
|
202
|
-
* Enables the button
|
|
203
|
-
*/
|
|
204
|
-
enable(): void;
|
|
205
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BtnComponent, never>;
|
|
206
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BtnComponent, "app-btn", never, { "formSchema": { "alias": "formSchema"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "centerBtn": { "alias": "centerBtn"; "required": false; "isSignal": true; }; "danger": { "alias": "danger"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "verbose": { "alias": "verbose"; "required": false; "isSignal": true; }; "translatorOptions": { "alias": "translatorOptions"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "_icon": { "alias": "icon"; "required": false; }; "_rightIcon": { "alias": "rightIcon"; "required": false; }; "_leftIcon": { "alias": "leftIcon"; "required": false; }; "_type": { "alias": "type"; "required": false; }; "_group": { "alias": "group"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; "excludeLogging": { "alias": "excludeLogging"; "required": false; }; "loggingValue": { "alias": "loggingValue"; "required": false; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "customIcon": { "alias": "customIcon"; "required": false; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "forms": { "alias": "forms"; "required": false; "isSignal": true; }; "help": { "alias": "help"; "required": false; "isSignal": true; }; "helpShowDelay": { "alias": "helpShowDelay"; "required": false; "isSignal": true; }; "_iconBtn": { "alias": "iconBtn"; "required": false; }; "mclass": { "alias": "mclass"; "required": false; "isSignal": true; }; "showHelpIcon": { "alias": "showHelpIcon"; "required": false; "isSignal": true; }; "_rightCustomIcon": { "alias": "rightCustomIcon"; "required": false; }; "leftCustomIcon": { "alias": "leftCustomIcon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "mini": { "alias": "mini"; "required": false; "isSignal": true; }; "onFormInvalid": { "alias": "onFormInvalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "loading": "loadingChange"; "leftCustomIcon": "leftCustomIconChange"; "mclick": "mclick"; "disabled": "disabledChange"; }, never, ["*"], true, never>;
|
|
207
|
-
static ngAcceptInputType_excludeLogging: string | boolean | undefined;
|
|
208
|
-
static ngAcceptInputType__iconBtn: string | boolean | undefined;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Interface for form state tracking
|
|
212
|
-
*/
|
|
213
|
-
interface IFormState {
|
|
214
|
-
valid?: boolean;
|
|
215
|
-
}
|
|
216
|
-
export {};
|