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,228 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { Observable, OperatorFunction, Subscription } from 'rxjs';
|
|
3
|
-
import { UtilityService } from '../../Services/utility.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Base directive that provides common functionality for native event listeners.
|
|
7
|
-
* Handles event subscription, debouncing, and cleanup.
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class BaseNativeEventListenerDirective {
|
|
10
|
-
/**
|
|
11
|
-
* Reference to the host element
|
|
12
|
-
* @protected
|
|
13
|
-
*/
|
|
14
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
15
|
-
/**
|
|
16
|
-
* Destroy reference for automatic cleanup
|
|
17
|
-
* @protected
|
|
18
|
-
*/
|
|
19
|
-
protected readonly dr: DestroyRef;
|
|
20
|
-
/**
|
|
21
|
-
* Utility service for common operations
|
|
22
|
-
* @protected
|
|
23
|
-
*/
|
|
24
|
-
protected readonly uS: UtilityService<any>;
|
|
25
|
-
/**
|
|
26
|
-
* General delay in milliseconds to debounce events
|
|
27
|
-
* @default 0
|
|
28
|
-
*/
|
|
29
|
-
readonly nelDelay: import("@angular/core").ModelSignal<number>;
|
|
30
|
-
/**
|
|
31
|
-
* Custom event listener configuration
|
|
32
|
-
*/
|
|
33
|
-
readonly nelQuery: import("@angular/core").InputSignal<NELQuery[]>;
|
|
34
|
-
/**
|
|
35
|
-
* Enable debug mode to log event details
|
|
36
|
-
*/
|
|
37
|
-
readonly nelDebug: import("@angular/core").InputSignal<boolean>;
|
|
38
|
-
/**
|
|
39
|
-
* Query map generated from the consumer's query input
|
|
40
|
-
* Uses the event field as the key
|
|
41
|
-
* @protected
|
|
42
|
-
*/
|
|
43
|
-
protected readonly nelQueryMap: import("@angular/core").Signal<{
|
|
44
|
-
click?: NELQuery;
|
|
45
|
-
mouseenter?: NELQuery;
|
|
46
|
-
mouseleave?: NELQuery;
|
|
47
|
-
pointermove?: NELQuery;
|
|
48
|
-
}>;
|
|
49
|
-
/**
|
|
50
|
-
* Logger operator for debugging events
|
|
51
|
-
* @param event - The event name
|
|
52
|
-
* @param context - Optional context information
|
|
53
|
-
* @returns RxJS operator that logs event details when debug is enabled
|
|
54
|
-
* @protected
|
|
55
|
-
*/
|
|
56
|
-
protected logger: <TEvent extends Event>(event: NELEventName, context?: string) => import("rxjs").MonoTypeOperatorFunction<TEvent>;
|
|
57
|
-
/**
|
|
58
|
-
* Maps raw events to NELEvent objects
|
|
59
|
-
* @param eventName - The name of the event
|
|
60
|
-
* @returns RxJS operator that transforms events
|
|
61
|
-
* @protected
|
|
62
|
-
*/
|
|
63
|
-
protected mapper: <TEvent extends Event>(eventName: any) => OperatorFunction<TEvent, NELEvent<TEvent>>;
|
|
64
|
-
/**
|
|
65
|
-
* Creates a chain of operators for processing events
|
|
66
|
-
* @param eventName - The name of the event
|
|
67
|
-
* @returns Array of RxJS operators for event processing
|
|
68
|
-
* @protected
|
|
69
|
-
*/
|
|
70
|
-
protected handler: <TEvent extends Event>(eventName: NELEventName) => [OperatorFunction<TEvent, TEvent>, OperatorFunction<TEvent, TEvent>, OperatorFunction<TEvent, TEvent>, OperatorFunction<TEvent, NELEvent<TEvent>>, OperatorFunction<NELEvent<TEvent>, NELEvent<TEvent>>];
|
|
71
|
-
/**
|
|
72
|
-
* Observable for mouse leave events
|
|
73
|
-
*/
|
|
74
|
-
readonly mouseLeft$: Observable<MouseEvent>;
|
|
75
|
-
/**
|
|
76
|
-
* Map of active event subscriptions
|
|
77
|
-
* @protected
|
|
78
|
-
*/
|
|
79
|
-
protected eventTriggeredSubMap: {
|
|
80
|
-
[eventName in NELEventName]?: Subscription;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Sets up event handling for a specific event
|
|
84
|
-
* @param eventName - The name of the event
|
|
85
|
-
* @param eventHandler - The handler configuration
|
|
86
|
-
* @param trigger$ - The observable that emits events
|
|
87
|
-
* @protected
|
|
88
|
-
*/
|
|
89
|
-
protected onTriggeredHandler: (eventName: NELEventName, eventHandler: NELEventHandler, trigger$: Observable<NELEvent>) => void;
|
|
90
|
-
/**
|
|
91
|
-
* Lifecycle hook that runs when the directive is initialized
|
|
92
|
-
*/
|
|
93
|
-
ngOnInit(): void;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseNativeEventListenerDirective, never>;
|
|
95
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseNativeEventListenerDirective, never, never, { "nelDelay": { "alias": "nelDelay"; "required": false; "isSignal": true; }; "nelQuery": { "alias": "nelQuery"; "required": false; "isSignal": true; }; "nelDebug": { "alias": "nelDebug"; "required": false; "isSignal": true; }; }, { "nelDelay": "nelDelayChange"; }, never, never, true, never>;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Directive that listens for mouse enter events on the host element
|
|
99
|
-
*/
|
|
100
|
-
export declare class MouseEnterListenerDirective extends BaseNativeEventListenerDirective {
|
|
101
|
-
/**
|
|
102
|
-
* Sets the handler for mouse enter events
|
|
103
|
-
* @param v - The handler configuration
|
|
104
|
-
*/
|
|
105
|
-
set nelMouseEntered(v: NELMouseEventHandler);
|
|
106
|
-
/**
|
|
107
|
-
* Tracks whether the mouse has left the element
|
|
108
|
-
* @protected
|
|
109
|
-
*/
|
|
110
|
-
protected left: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* Observable that emits on mouse enter events
|
|
113
|
-
*/
|
|
114
|
-
readonly mouseEnter$: Observable<NELEvent<MouseEvent>>;
|
|
115
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MouseEnterListenerDirective, never>;
|
|
116
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MouseEnterListenerDirective, "[nelMouseEntered]", never, { "nelMouseEntered": { "alias": "nelMouseEntered"; "required": false; }; }, {}, never, never, true, never>;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Directive that listens for mouse leave events on the host element
|
|
120
|
-
*/
|
|
121
|
-
export declare class MouseLeaveListenerDirective extends BaseNativeEventListenerDirective {
|
|
122
|
-
/**
|
|
123
|
-
* Sets the handler for mouse leave events
|
|
124
|
-
* @param v - The handler configuration
|
|
125
|
-
*/
|
|
126
|
-
set nelMouseLeft(v: NELMouseEventHandler);
|
|
127
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MouseLeaveListenerDirective, never>;
|
|
128
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MouseLeaveListenerDirective, "[nelMouseLeft]", never, { "nelMouseLeft": { "alias": "nelMouseLeft"; "required": false; }; }, {}, never, never, true, never>;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Directive that listens for click events on the host element
|
|
132
|
-
*/
|
|
133
|
-
export declare class MouseClickListenerDirective extends BaseNativeEventListenerDirective {
|
|
134
|
-
/**
|
|
135
|
-
* Observable that emits on click events
|
|
136
|
-
*/
|
|
137
|
-
readonly clicked$: Observable<NELEvent<PointerEvent>>;
|
|
138
|
-
/**
|
|
139
|
-
* Sets the handler for click events
|
|
140
|
-
* @param v - The handler configuration
|
|
141
|
-
*/
|
|
142
|
-
set nelClicked(v: NELPointerEventHandler);
|
|
143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MouseClickListenerDirective, never>;
|
|
144
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MouseClickListenerDirective, "[nelClicked]", never, { "nelClicked": { "alias": "nelClicked"; "required": false; }; }, {}, never, never, true, never>;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Directive that listens for pointer move events on the host element
|
|
148
|
-
*/
|
|
149
|
-
export declare class PointerMoveListenerDirective extends BaseNativeEventListenerDirective {
|
|
150
|
-
/**
|
|
151
|
-
* Observable that emits on pointer move events
|
|
152
|
-
*/
|
|
153
|
-
readonly pointerMoved$: Observable<NELEvent<PointerEvent>>;
|
|
154
|
-
/**
|
|
155
|
-
* Sets the handler for pointer move events
|
|
156
|
-
* @param v - The handler configuration
|
|
157
|
-
*/
|
|
158
|
-
set nelPointerMoved(v: NELPointerEventHandler);
|
|
159
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PointerMoveListenerDirective, never>;
|
|
160
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PointerMoveListenerDirective, "[nelPointerMoved]", never, { "nelPointerMoved": { "alias": "nelPointerMoved"; "required": false; }; }, {}, never, never, true, never>;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Configuration for a native event listener
|
|
164
|
-
*/
|
|
165
|
-
export interface NELQuery {
|
|
166
|
-
/**
|
|
167
|
-
* Optional delay in milliseconds to debounce the event
|
|
168
|
-
*/
|
|
169
|
-
delay?: number;
|
|
170
|
-
/**
|
|
171
|
-
* The event to listen for
|
|
172
|
-
*/
|
|
173
|
-
event: NELEventName;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Represents a native event with its name
|
|
177
|
-
* @template TEvent - The type of the event
|
|
178
|
-
*/
|
|
179
|
-
export interface NELEvent<TEvent extends Event = Event> {
|
|
180
|
-
/**
|
|
181
|
-
* The event object
|
|
182
|
-
*/
|
|
183
|
-
event: TEvent;
|
|
184
|
-
/**
|
|
185
|
-
* The name of the event
|
|
186
|
-
*/
|
|
187
|
-
eventName: NELEventName;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Enumeration of supported native event names
|
|
191
|
-
*/
|
|
192
|
-
export declare enum NELEventName {
|
|
193
|
-
click = "click",
|
|
194
|
-
mouseEnter = "mouseenter",
|
|
195
|
-
mouseLeave = "mouseleave",
|
|
196
|
-
pointerMove = "pointermove"
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Handler configuration for native events
|
|
200
|
-
* @template TEvent - The type of the event
|
|
201
|
-
* @template TArg - The type of the optional argument
|
|
202
|
-
*/
|
|
203
|
-
export type NELEventHandler<TEvent extends Event = Event, TArg = any> = {
|
|
204
|
-
/**
|
|
205
|
-
* Function to call when the event occurs
|
|
206
|
-
* @param e - The event object
|
|
207
|
-
* @param argument - Optional argument to pass to the action
|
|
208
|
-
*/
|
|
209
|
-
action: (e: TEvent, argument?: TArg) => any;
|
|
210
|
-
/**
|
|
211
|
-
* Optional argument to pass to the action
|
|
212
|
-
*/
|
|
213
|
-
argument?: TArg;
|
|
214
|
-
};
|
|
215
|
-
/**
|
|
216
|
-
* Handler configuration for mouse events
|
|
217
|
-
* @template TArg - The type of the optional argument
|
|
218
|
-
*/
|
|
219
|
-
export type NELMouseEventHandler<TArg = any> = NELEventHandler<MouseEvent, TArg>;
|
|
220
|
-
/**
|
|
221
|
-
* Handler configuration for pointer events
|
|
222
|
-
* @template TArg - The type of the optional argument
|
|
223
|
-
*/
|
|
224
|
-
export type NELPointerEventHandler<TArg = any> = NELEventHandler<PointerEvent, TArg>;
|
|
225
|
-
/**
|
|
226
|
-
* Collection of all native event listener directives for easy import
|
|
227
|
-
*/
|
|
228
|
-
export declare const NativeEventListenerDirectives: readonly [typeof MouseLeaveListenerDirective, typeof MouseClickListenerDirective, typeof MouseEnterListenerDirective, typeof PointerMoveListenerDirective];
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Directive that ensures input values are always negative numbers.
|
|
5
|
-
*
|
|
6
|
-
* This directive automatically prepends a minus sign to any input value
|
|
7
|
-
* if it doesn't already start with one.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```html
|
|
11
|
-
* <input type="number" appNegativeNumberOnly>
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
export declare class NegativeNumberOnlyDirective {
|
|
15
|
-
private el;
|
|
16
|
-
/**
|
|
17
|
-
* Creates an instance of NegativeNumberOnlyDirective.
|
|
18
|
-
*
|
|
19
|
-
* @param el - Reference to the host input element
|
|
20
|
-
*/
|
|
21
|
-
constructor(el: ElementRef<HTMLInputElement>);
|
|
22
|
-
/**
|
|
23
|
-
* Handles input changes to ensure values are always negative.
|
|
24
|
-
*
|
|
25
|
-
* @param value - The current value of the input element
|
|
26
|
-
*/
|
|
27
|
-
onChange(value: string): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NegativeNumberOnlyDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NegativeNumberOnlyDirective, "[appNegativeNumberOnly]", never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { UtilityService } from '../../Services/utility.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
/**
|
|
7
|
-
* Directive that handles responsive behavior based on viewport size.
|
|
8
|
-
* Allows applying different classes and visibility settings for mobile and desktop views.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* <div mresponsiveness mobileClass="mobile-styling" desktopClass="desktop-styling"></div>
|
|
12
|
-
* <div mresponsiveness hideMobile="true"></div>
|
|
13
|
-
*/
|
|
14
|
-
export declare class ResponsivenessDirective implements OnDestroy {
|
|
15
|
-
elRef: ElementRef<HTMLDivElement>;
|
|
16
|
-
uS: UtilityService;
|
|
17
|
-
/** CSS classes to apply when viewport is mobile */
|
|
18
|
-
mobileClass?: string;
|
|
19
|
-
/** CSS classes to apply when viewport is desktop */
|
|
20
|
-
desktopClass?: string;
|
|
21
|
-
/** Whether to hide the element on mobile devices */
|
|
22
|
-
hideMobile?: boolean;
|
|
23
|
-
/** Whether to hide the element on desktop devices */
|
|
24
|
-
hideDesktop?: boolean;
|
|
25
|
-
/** Subscription to viewport changes */
|
|
26
|
-
sub: Subscription;
|
|
27
|
-
constructor(elRef: ElementRef<HTMLDivElement>, uS: UtilityService);
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
/**
|
|
31
|
-
* If viewport is mobile
|
|
32
|
-
*/
|
|
33
|
-
handleMobile(): void;
|
|
34
|
-
/**
|
|
35
|
-
* If viewport is desktop
|
|
36
|
-
*/
|
|
37
|
-
handleDesktop(): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsivenessDirective, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResponsivenessDirective, "[mresponsiveness]", never, { "mobileClass": { "alias": "mobileClass"; "required": false; }; "desktopClass": { "alias": "desktopClass"; "required": false; }; "hideMobile": { "alias": "hideMobile"; "required": false; }; "hideDesktop": { "alias": "hideDesktop"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Directive that applies specified CSS classes only on mobile viewports.
|
|
43
|
-
* Classes are added when on mobile and removed when on desktop.
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* <div mobileClass="mobile-only-styling another-class"></div>
|
|
47
|
-
*/
|
|
48
|
-
export declare class MobileClassDirective implements OnDestroy {
|
|
49
|
-
elRef: ElementRef<HTMLDivElement>;
|
|
50
|
-
uS: UtilityService;
|
|
51
|
-
/** CSS classes to apply when viewport is mobile */
|
|
52
|
-
mobileClass?: string;
|
|
53
|
-
/** Subscription to viewport changes */
|
|
54
|
-
sub: Subscription;
|
|
55
|
-
constructor(elRef: ElementRef<HTMLDivElement>, uS: UtilityService);
|
|
56
|
-
ngAfterViewInit(): void;
|
|
57
|
-
ngOnDestroy(): void;
|
|
58
|
-
/**
|
|
59
|
-
* If viewport is mobile
|
|
60
|
-
*/
|
|
61
|
-
handleMobile(): void;
|
|
62
|
-
/**
|
|
63
|
-
* If viewport is desktop
|
|
64
|
-
*/
|
|
65
|
-
handleDesktop(): void;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MobileClassDirective, never>;
|
|
67
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MobileClassDirective, "[mobileClass]", never, { "mobileClass": { "alias": "mobileClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Directive that applies specified CSS classes only on desktop viewports.
|
|
71
|
-
* Classes are added when on desktop and removed when on mobile.
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* <div desktopClass="desktop-only-styling another-class"></div>
|
|
75
|
-
*/
|
|
76
|
-
export declare class DesktopClassDirective implements OnDestroy {
|
|
77
|
-
elRef: ElementRef<HTMLDivElement>;
|
|
78
|
-
uS: UtilityService;
|
|
79
|
-
/** CSS classes to apply when viewport is desktop */
|
|
80
|
-
desktopClass?: string;
|
|
81
|
-
/** Subscription to viewport changes */
|
|
82
|
-
sub: Subscription;
|
|
83
|
-
constructor(elRef: ElementRef<HTMLDivElement>, uS: UtilityService);
|
|
84
|
-
ngAfterViewInit(): void;
|
|
85
|
-
ngOnDestroy(): void;
|
|
86
|
-
/**
|
|
87
|
-
* If viewport is mobile
|
|
88
|
-
*/
|
|
89
|
-
handleMobile(): void;
|
|
90
|
-
/**
|
|
91
|
-
* If viewport is desktop
|
|
92
|
-
*/
|
|
93
|
-
handleDesktop(): void;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DesktopClassDirective, never>;
|
|
95
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DesktopClassDirective, "[desktopClass]", never, { "desktopClass": { "alias": "desktopClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Directive that hides elements on mobile viewports.
|
|
99
|
-
* Element is hidden when on mobile and shown when on desktop.
|
|
100
|
-
*
|
|
101
|
-
* @example
|
|
102
|
-
* <div hideMobile></div>
|
|
103
|
-
*/
|
|
104
|
-
export declare class HideMobileDirective implements OnDestroy {
|
|
105
|
-
elRef: ElementRef<HTMLDivElement>;
|
|
106
|
-
uS: UtilityService;
|
|
107
|
-
/** Subscription to viewport changes */
|
|
108
|
-
sub: Subscription;
|
|
109
|
-
constructor(elRef: ElementRef<HTMLDivElement>, uS: UtilityService);
|
|
110
|
-
ngAfterViewInit(): void;
|
|
111
|
-
ngOnDestroy(): void;
|
|
112
|
-
/**
|
|
113
|
-
* If viewport is mobile
|
|
114
|
-
*/
|
|
115
|
-
handleMobile(): void;
|
|
116
|
-
/**
|
|
117
|
-
* If viewport is desktop
|
|
118
|
-
*/
|
|
119
|
-
handleDesktop(): void;
|
|
120
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HideMobileDirective, never>;
|
|
121
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HideMobileDirective, "[hideMobile]", never, {}, {}, never, never, true, never>;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Directive that hides elements on desktop viewports.
|
|
125
|
-
* Element is hidden when on desktop and shown when on mobile.
|
|
126
|
-
*
|
|
127
|
-
* @example
|
|
128
|
-
* <div hideDesktop></div>
|
|
129
|
-
*/
|
|
130
|
-
export declare class HideDesktopDirective implements OnDestroy {
|
|
131
|
-
elRef: ElementRef<HTMLDivElement>;
|
|
132
|
-
uS: UtilityService;
|
|
133
|
-
/** Subscription to viewport changes */
|
|
134
|
-
sub: Subscription;
|
|
135
|
-
constructor(elRef: ElementRef<HTMLDivElement>, uS: UtilityService);
|
|
136
|
-
ngAfterViewInit(): void;
|
|
137
|
-
ngOnDestroy(): void;
|
|
138
|
-
/**
|
|
139
|
-
* If viewport is mobile
|
|
140
|
-
*/
|
|
141
|
-
handleMobile(): void;
|
|
142
|
-
/**
|
|
143
|
-
* If viewport is desktop
|
|
144
|
-
*/
|
|
145
|
-
handleDesktop(): void;
|
|
146
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HideDesktopDirective, never>;
|
|
147
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HideDesktopDirective, "[hideDesktop]", never, {}, {}, never, never, true, never>;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Module that bundles all responsiveness directives for easy import.
|
|
151
|
-
* Import this module to use any of the responsiveness directives.
|
|
152
|
-
*/
|
|
153
|
-
export declare class ETSResponsivenessDirectiveModule {
|
|
154
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ETSResponsivenessDirectiveModule, never>;
|
|
155
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ETSResponsivenessDirectiveModule, never, [typeof i1.CommonModule, typeof ResponsivenessDirective, typeof MobileClassDirective, typeof DesktopClassDirective, typeof HideMobileDirective, typeof HideDesktopDirective], [typeof ResponsivenessDirective, typeof MobileClassDirective, typeof DesktopClassDirective, typeof HideMobileDirective, typeof HideDesktopDirective]>;
|
|
156
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ETSResponsivenessDirectiveModule>;
|
|
157
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { TranslationService } from '../../Services/translation.service';
|
|
3
|
-
import { ITranslatorConfig } from '../models/translator.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Directive that translates the content of an element using the TranslationService.
|
|
7
|
-
* Apply this directive to elements that need their text content translated.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <div appTranslator>Text to translate</div>
|
|
11
|
-
* <div [appTranslator]="'key.to.translate'">Fallback text</div>
|
|
12
|
-
*/
|
|
13
|
-
export declare class TranslatorDirective {
|
|
14
|
-
private element;
|
|
15
|
-
private renderer;
|
|
16
|
-
private tS;
|
|
17
|
-
/**
|
|
18
|
-
* Input for the translation key. If not provided, the element's inner text will be used.
|
|
19
|
-
*/
|
|
20
|
-
readonly appTranslator: import("@angular/core").InputSignal<string>;
|
|
21
|
-
/**
|
|
22
|
-
* When true, enables debug mode which logs translation details and adds a debugger breakpoint.
|
|
23
|
-
*/
|
|
24
|
-
readonly debug: import("@angular/core").InputSignal<boolean>;
|
|
25
|
-
/**
|
|
26
|
-
* Configuration options for the translator.
|
|
27
|
-
* @default { miniLoader: true }
|
|
28
|
-
*/
|
|
29
|
-
readonly translateOptions: import("@angular/core").InputSignal<ITranslatorConfig>;
|
|
30
|
-
/**
|
|
31
|
-
* Creates an instance of TranslatorDirective.
|
|
32
|
-
*
|
|
33
|
-
* @param element - Reference to the host element
|
|
34
|
-
* @param renderer - Angular's renderer for DOM manipulation
|
|
35
|
-
* @param tS - The translation service used to translate content
|
|
36
|
-
*/
|
|
37
|
-
constructor(element: ElementRef<HTMLElement>, renderer: Renderer2, tS: TranslationService);
|
|
38
|
-
/**
|
|
39
|
-
* Lifecycle hook that is called after the directive's content has been initialized.
|
|
40
|
-
* Handles the translation of the element's content.
|
|
41
|
-
*/
|
|
42
|
-
ngAfterContentInit(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatorDirective, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslatorDirective, "[appTranslator]", never, { "appTranslator": { "alias": "appTranslator"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "translateOptions": { "alias": "translateOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
|
-
}
|