ets-fe-ng-sdk 19.0.117 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ets-fe-ng-sdk.mjs +1591 -1632
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +14526 -3
- package/package.json +1 -1
- package/environments/environment.d.ts +0 -11
- package/lib/Reusables/reusable-comps/find-item/find-item.component.d.ts +0 -258
- package/lib/Reusables/reusable-comps/find-item/find-item.model.d.ts +0 -13
- package/lib/Reusables/reusable-comps/find-item/find-item.service.d.ts +0 -38
- package/lib/Reusables/reusable-comps/watermark/watermark.component.d.ts +0 -22
- package/lib/Reusables/reusable-pages/extra-pages/extra-pages-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/extra-pages/extra-pages.module.d.ts +0 -8
- package/lib/Reusables/reusable-pages/logger/logger-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/logger/logger.component.d.ts +0 -71
- package/lib/Reusables/reusable-pages/logger/logger.interface.d.ts +0 -73
- package/lib/Reusables/reusable-pages/logger/logger.module.d.ts +0 -11
- package/lib/Reusables/reusable-pages/logger/logger.service.d.ts +0 -81
- package/lib/Reusables/reusable-pages/page-not-found/page-not-found.component.d.ts +0 -28
- package/lib/Reusables/reusable-pages/reset/reset-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/reset/reset.component.d.ts +0 -13
- package/lib/Reusables/reusable-pages/reset/reset.module.d.ts +0 -8
- package/lib/Reusables/reusable-pages/robot/robot-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/robot/robot.component.d.ts +0 -8
- package/lib/Reusables/reusable-pages/robot/robot.module.d.ts +0 -9
- package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.component.d.ts +0 -23
- package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.module.d.ts +0 -11
- package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.model.d.ts +0 -56
- package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.service.d.ts +0 -13
- package/lib/Reusables/reusable-pages/version/version-routing.module.d.ts +0 -7
- package/lib/Reusables/reusable-pages/version/version.component.d.ts +0 -13
- package/lib/Reusables/reusable-pages/version/version.module.d.ts +0 -10
- package/lib/Reusables/reusable-pages/version/version.service.d.ts +0 -19
- package/lib/Services/Interceptors/authentication-interceptor.service.d.ts +0 -27
- package/lib/Services/Interceptors/global-error-handler.service.d.ts +0 -28
- package/lib/Services/Interceptors/logger-interceptor.service.d.ts +0 -33
- package/lib/Services/Interceptors/request-loader-interceptor.service.d.ts +0 -24
- package/lib/Services/Interceptors/request-timeout.service.d.ts +0 -32
- package/lib/Services/api.service.d.ts +0 -255
- package/lib/Services/app.service.d.ts +0 -112
- package/lib/Services/base.effect.d.ts +0 -24
- package/lib/Services/base.facade.service.d.ts +0 -42
- package/lib/Services/base.service.d.ts +0 -81
- package/lib/Services/cache/cache-updater.service.d.ts +0 -10
- package/lib/Services/cache/cache.service.d.ts +0 -17
- package/lib/Services/cache/local-cache.service.d.ts +0 -17
- package/lib/Services/cache/saver.service.d.ts +0 -34
- package/lib/Services/debouncer.service.d.ts +0 -66
- package/lib/Services/error-reporter.service.d.ts +0 -56
- package/lib/Services/htmler.service.d.ts +0 -18
- package/lib/Services/input.service.d.ts +0 -55
- package/lib/Services/number-format.service.d.ts +0 -10
- package/lib/Services/object-size.service.d.ts +0 -14
- package/lib/Services/page-loader.service.d.ts +0 -62
- package/lib/Services/page.service.d.ts +0 -57
- package/lib/Services/route.service.d.ts +0 -75
- package/lib/Services/service-worker/check-for-update.service.d.ts +0 -33
- package/lib/Services/service-worker/handle-unrecoverable-state.service.d.ts +0 -24
- package/lib/Services/service-worker/log-update.service.d.ts +0 -20
- package/lib/Services/service-worker/prompt-update.service.d.ts +0 -63
- package/lib/Services/service-worker/service-worker.service.d.ts +0 -40
- package/lib/Services/storage.service.d.ts +0 -115
- package/lib/Services/theme.service.d.ts +0 -29
- package/lib/Services/translation.service.d.ts +0 -182
- package/lib/Services/utility.service.d.ts +0 -989
- package/lib/Services/window-security.service.d.ts +0 -10
- package/lib/Shared/classes/page-loader.class.d.ts +0 -41
- package/lib/Shared/components/add-item/add-item.component.d.ts +0 -31
- package/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.d.ts +0 -75
- package/lib/Shared/components/autocomplete/autocomplete.component.d.ts +0 -81
- package/lib/Shared/components/autocomplete/autocomplete.module.d.ts +0 -6
- package/lib/Shared/components/autocomplete/autocomplete.service.d.ts +0 -58
- package/lib/Shared/components/btn/btn-lg/btn-lg.component.d.ts +0 -55
- package/lib/Shared/components/btn/btn-link/btn-link.component.d.ts +0 -21
- package/lib/Shared/components/btn/btn.component.d.ts +0 -216
- package/lib/Shared/components/btn/btn.model.d.ts +0 -135
- package/lib/Shared/components/btn/btn.module.d.ts +0 -4
- package/lib/Shared/components/btn/btn.service.d.ts +0 -80
- package/lib/Shared/components/btn/details-btn/details-btn.component.d.ts +0 -17
- package/lib/Shared/components/btn/details-btn/details-btn.module.d.ts +0 -1
- package/lib/Shared/components/card/card.component.d.ts +0 -22
- package/lib/Shared/components/card/card.module.d.ts +0 -1
- package/lib/Shared/components/confirm-dialog/confirm-dialog.component.d.ts +0 -36
- package/lib/Shared/components/confirm-dialog/confirm-dialog.module.d.ts +0 -1
- package/lib/Shared/components/confirm-dialog/confirm-dialog.service.d.ts +0 -21
- package/lib/Shared/components/core/button/button.component.d.ts +0 -28
- package/lib/Shared/components/core/button/components.module.d.ts +0 -1
- package/lib/Shared/components/documents-name-display/documents-name-display.component.d.ts +0 -44
- package/lib/Shared/components/documents-name-display/documents-name-display.model.d.ts +0 -6
- package/lib/Shared/components/documents-name-display/documents-name-display.module.d.ts +0 -1
- package/lib/Shared/components/editable-text-case/editable-text-case.component.d.ts +0 -63
- package/lib/Shared/components/editable-text-case/editable-text-case.module.d.ts +0 -1
- package/lib/Shared/components/export-table/export-table.component.d.ts +0 -61
- package/lib/Shared/components/export-table/export-table.module.d.ts +0 -1
- package/lib/Shared/components/fields-to-display/fields-to-display.component.d.ts +0 -66
- package/lib/Shared/components/file-upload/file-upload.component.d.ts +0 -96
- package/lib/Shared/components/form-error/form-error.component.d.ts +0 -73
- package/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.d.ts +0 -95
- package/lib/Shared/components/form-generator/form-generator.base.component.d.ts +0 -234
- package/lib/Shared/components/form-generator/form-generator.component.d.ts +0 -207
- package/lib/Shared/components/form-generator/form-generator.module.d.ts +0 -1
- package/lib/Shared/components/form-generator/form-generator.service.d.ts +0 -45
- package/lib/Shared/components/form-link/form-link.component.d.ts +0 -47
- package/lib/Shared/components/form-link/form-link.module.d.ts +0 -1
- package/lib/Shared/components/form-tab-headers/form-tab-headers.component.d.ts +0 -13
- package/lib/Shared/components/form-tab-headers/form-tab-headers.module.d.ts +0 -1
- package/lib/Shared/components/idler/idler.component.d.ts +0 -41
- package/lib/Shared/components/idler/idler.service.d.ts +0 -71
- package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +0 -93
- package/lib/Shared/components/info-dialog/info-dialog.component.d.ts +0 -67
- package/lib/Shared/components/info-dialog/info-dialog.module.d.ts +0 -4
- package/lib/Shared/components/info-dialog/info-dialog.service.d.ts +0 -13
- package/lib/Shared/components/info-icon/info-icon.component.d.ts +0 -17
- package/lib/Shared/components/info-icon/info-icon.module.d.ts +0 -1
- package/lib/Shared/components/input/date-input/date-input.component.d.ts +0 -137
- package/lib/Shared/components/input/day-hour-min-input/day-hour-min-input.component.d.ts +0 -64
- package/lib/Shared/components/input/input-base.component.d.ts +0 -264
- package/lib/Shared/components/input/input-basic.component.d.ts +0 -96
- package/lib/Shared/components/input/input-control.component.d.ts +0 -28
- package/lib/Shared/components/input/input-label/input-label.component.d.ts +0 -49
- package/lib/Shared/components/input/input-label/input-label.module.d.ts +0 -1
- package/lib/Shared/components/input/input-shared.module.d.ts +0 -30
- package/lib/Shared/components/input/input-td-rf.component.d.ts +0 -58
- package/lib/Shared/components/input/input.component.d.ts +0 -82
- package/lib/Shared/components/input/input.model.d.ts +0 -16
- package/lib/Shared/components/input/input.module.d.ts +0 -23
- package/lib/Shared/components/input/input.service.d.ts +0 -189
- package/lib/Shared/components/input/inputs-pipes.pipe.d.ts +0 -61
- package/lib/Shared/components/input/inputs.component.d.ts +0 -11
- package/lib/Shared/components/input/validation-message/validation-message.component.d.ts +0 -75
- package/lib/Shared/components/input/validation-message/validation-message.module.d.ts +0 -1
- package/lib/Shared/components/input/validation-message/validation-message.service.d.ts +0 -73
- package/lib/Shared/components/input/year-month-td-rf/year-month-td-rf.component.d.ts +0 -38
- package/lib/Shared/components/input-NgModel/input-ngmodel.component.d.ts +0 -165
- package/lib/Shared/components/input-NgModel/input-ngmodel.module.d.ts +0 -1
- package/lib/Shared/components/input-NgModel/validation-message-ngmodel/validation-message-ngmodel.component.d.ts +0 -50
- package/lib/Shared/components/input-table/input-table.component.d.ts +0 -76
- package/lib/Shared/components/input-table/input-table.model.d.ts +0 -23
- package/lib/Shared/components/input-table/input-table.service.d.ts +0 -8
- package/lib/Shared/components/label/label.component.d.ts +0 -25
- package/lib/Shared/components/label/label.module.d.ts +0 -1
- package/lib/Shared/components/loader/loader-animations/blinking-blocks/blinking-blocks.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/bouncing-ball/bouncing-ball.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/fading-bars/fading-bars.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/fading-circles/fading-circles.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader-animations/ring-ripples/ring-ripples.component.d.ts +0 -5
- package/lib/Shared/components/loader/loader.component.d.ts +0 -88
- package/lib/Shared/components/loader/loader.module.d.ts +0 -1
- package/lib/Shared/components/loader/spinner.component.d.ts +0 -8
- package/lib/Shared/components/modal/modal-body.directive.d.ts +0 -27
- package/lib/Shared/components/modal/modal-footer.directive.d.ts +0 -27
- package/lib/Shared/components/modal/modal.component.d.ts +0 -154
- package/lib/Shared/components/modal/modal.model.d.ts +0 -21
- package/lib/Shared/components/modal/modal.module.d.ts +0 -1
- package/lib/Shared/components/modal-components/modal.components.d.ts +0 -7
- package/lib/Shared/components/modal-form/modal-form.component.d.ts +0 -79
- package/lib/Shared/components/modal-form/modal-form.module.d.ts +0 -1
- package/lib/Shared/components/modal-header/modal-header.component.d.ts +0 -35
- package/lib/Shared/components/modal-header/modal-header.module.d.ts +0 -1
- package/lib/Shared/components/narration-history-comp/narration-history-comp.component.d.ts +0 -34
- package/lib/Shared/components/notifications/notifications.component.d.ts +0 -10
- package/lib/Shared/components/notifications/notifications.service.d.ts +0 -9
- package/lib/Shared/components/page-center-body/page-center-body.component.d.ts +0 -5
- package/lib/Shared/components/page-template/page-template.component.d.ts +0 -181
- package/lib/Shared/components/page-template/page-template.module.d.ts +0 -1
- package/lib/Shared/components/page-to-component/page-to-component.component.d.ts +0 -70
- package/lib/Shared/components/page-to-component/page-to-component.directive.d.ts +0 -8
- package/lib/Shared/components/page-to-component/page-to-component.module.d.ts +0 -1
- package/lib/Shared/components/page-to-component/page-to-component.service.d.ts +0 -33
- package/lib/Shared/components/paginator/paginator.component.d.ts +0 -57
- package/lib/Shared/components/phone-number/phone-number.component.d.ts +0 -129
- package/lib/Shared/components/phone-number/phone-number.service.d.ts +0 -33
- package/lib/Shared/components/rich-text-editor/rich-text-editor.component.d.ts +0 -94
- package/lib/Shared/components/rich-text-editor-rf/rich-text-editor-rf.component.d.ts +0 -41
- package/lib/Shared/components/row-actions/row-actions.component.d.ts +0 -74
- package/lib/Shared/components/row-actions/row-actions.module.d.ts +0 -1
- package/lib/Shared/components/svg-icon/svg-icon.component.d.ts +0 -20
- package/lib/Shared/components/svg-icon/svg-icon.model.d.ts +0 -1
- package/lib/Shared/components/svg-icon/svg-icon.module.d.ts +0 -1
- package/lib/Shared/components/svg-icon/svg-icon.service.d.ts +0 -11
- package/lib/Shared/components/table/table-base.component.d.ts +0 -240
- package/lib/Shared/components/table/table-https/table-https.component.d.ts +0 -168
- package/lib/Shared/components/table/table-input/table-input-row/table-input-row.component.d.ts +0 -54
- package/lib/Shared/components/table/table-input/table-input.component.d.ts +0 -251
- package/lib/Shared/components/table/table-input/table-input.model.d.ts +0 -21
- package/lib/Shared/components/table/table-plain/table-plain.component.d.ts +0 -118
- package/lib/Shared/components/table/table-plain.service.d.ts +0 -52
- package/lib/Shared/components/table/table.pipe.d.ts +0 -87
- package/lib/Shared/components/text/text.component.d.ts +0 -6
- package/lib/Shared/components/text/text.module.d.ts +0 -1
- package/lib/Shared/components/text-area-modal/text-area-modal.component.d.ts +0 -27
- package/lib/Shared/components/text-area-modal/text-area-modal.service.d.ts +0 -10
- package/lib/Shared/components/text-case-1/text-case-1.component.d.ts +0 -53
- package/lib/Shared/components/text-case-1/text-case-1.module.d.ts +0 -1
- package/lib/Shared/components/text-case-2/text-case-2.component.d.ts +0 -219
- package/lib/Shared/components/text-case-2/text-case-2.module.d.ts +0 -1
- package/lib/Shared/components/text-case-2/text-case.service.d.ts +0 -23
- package/lib/Shared/components/text-case-input/text-case-input.component.d.ts +0 -9
- package/lib/Shared/components/text-case-input/text-case-input.module.d.ts +0 -1
- package/lib/Shared/components/toggle-input-form/toggle-input-form.component.d.ts +0 -138
- package/lib/Shared/components/toggle-input-form/toggle-input-form.model.d.ts +0 -27
- package/lib/Shared/components/translator-case/translator-case.component.d.ts +0 -6
- package/lib/Shared/components/vertical-nav/vertical-nav.component.d.ts +0 -101
- package/lib/Shared/components/view-form-buttons/view-form-buttons.component.d.ts +0 -23
- package/lib/Shared/components/view-form-buttons/view-form-buttons.module.d.ts +0 -1
- package/lib/Shared/components/webcam-media/webcam-media.component.d.ts +0 -162
- package/lib/Shared/components/webcam-media/webcam-media.model.d.ts +0 -7
- package/lib/Shared/directives/commafy-number.directive.d.ts +0 -104
- package/lib/Shared/directives/drag-drop-file-upload.directive.d.ts +0 -50
- package/lib/Shared/directives/form-invalid-class.directive.d.ts +0 -49
- package/lib/Shared/directives/index.directive.d.ts +0 -369
- package/lib/Shared/directives/input-formatter.directive.d.ts +0 -166
- package/lib/Shared/directives/integer-only.directive.d.ts +0 -60
- package/lib/Shared/directives/mHref.directive.d.ts +0 -6
- package/lib/Shared/directives/native-event-listeners.directive.d.ts +0 -228
- package/lib/Shared/directives/negative-number-only.directive.d.ts +0 -30
- package/lib/Shared/directives/responsiveness.directive.d.ts +0 -157
- package/lib/Shared/directives/translator.directive.d.ts +0 -45
- package/lib/Shared/injection-tokens/index.injection-tokens.d.ts +0 -3
- package/lib/Shared/models/IMenuItem.d.ts +0 -247
- package/lib/Shared/models/RouteItem.class.d.ts +0 -120
- package/lib/Shared/models/environment.model.d.ts +0 -204
- package/lib/Shared/models/form-schema.model.d.ts +0 -1
- package/lib/Shared/models/form.class.d.ts +0 -175
- package/lib/Shared/models/index.model.d.ts +0 -938
- package/lib/Shared/models/translator.model.d.ts +0 -27
- package/lib/Shared/pipes/form-invalid-class.pipe.d.ts +0 -28
- package/lib/Shared/pipes/number.pipe.d.ts +0 -15
- package/lib/Shared/pipes/paginator.pipe.d.ts +0 -28
- package/lib/Shared/pipes/translate.pipe.d.ts +0 -104
- package/lib/Shared/pipes/utility.pipe.d.ts +0 -715
- package/lib/Shared/prototypes/prototypes.d.ts +0 -201
- package/lib/Shared/shared.module.d.ts +0 -105
- package/lib/authentication/web-user/web-user-authentication.guard.d.ts +0 -15
- package/lib/authentication/web-user/web-user-authentication.interceptor.d.ts +0 -17
- package/lib/authentication/web-user/web-user-authentication.model.d.ts +0 -34
- package/lib/authentication/web-user/web-user-authentication.service.d.ts +0 -91
- package/lib/authentication/web-user/web-user-forgot-password.component.d.ts +0 -46
- package/lib/authentication/web-user/web-user-login.component.d.ts +0 -45
- package/lib/authentication/web-user/web-user-reset-password.component.d.ts +0 -59
- package/lib/configs/base-functions.d.ts +0 -141
- package/lib/configs/index.config.d.ts +0 -95
- package/lib/configs/validation-messages.config.d.ts +0 -20
- package/public-api.d.ts +0 -215
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { IKVP } from '../../models/index.model';
|
|
2
|
-
/**
|
|
3
|
-
* Defines the visual style of a button
|
|
4
|
-
*/
|
|
5
|
-
export type BtnType = 'clear' | 'close' | 'danger-outline' | 'danger' | 'dark-outline' | 'dark' | 'outline-nm' | 'outline' | 'primary' | 'secondary' | 'success';
|
|
6
|
-
/**
|
|
7
|
-
* Predefined button groups for common actions
|
|
8
|
-
*/
|
|
9
|
-
export type BtnGroup = 'add' | 'clone' | 'close' | 'create' | 'save' | 'delete' | 'download' | 'edit' | 'link' | 'search' | 'show' | 'submit' | 'upload';
|
|
10
|
-
/**
|
|
11
|
-
* Available icon types for buttons
|
|
12
|
-
*/
|
|
13
|
-
export type IconType = 'access' | 'add' | 'adjust' | 'arrowh' | 'bank' | 'calendar' | 'cancel' | 'cash' | 'checked' | 'pause' | 'checklist' | 'clone' | 'close' | 'stop' | 'cogs' | 'delete' | 'download' | 'dropdown' | 'edit' | 'error' | 'export' | 'file' | 'filter' | 'generate' | 'guard' | 'history' | 'home' | 'import' | 'info' | 'link' | 'lock' | 'next' | 'pen' | 'percent' | 'play' | 'post' | 'previous' | 'receipt' | 'recycle' | 'refresh' | 'renew' | 'save' | 'search' | 'shake' | 'show' | 'snooze' | 'spoon' | 'table' | 'tag' | 'truck' | 'unlock' | 'upload' | 'users' | 'view';
|
|
14
|
-
/**
|
|
15
|
-
* Interface for button configuration
|
|
16
|
-
*
|
|
17
|
-
* @interface IBtn
|
|
18
|
-
* @extends IKVP
|
|
19
|
-
*/
|
|
20
|
-
export interface IBtn extends IKVP {
|
|
21
|
-
/** Function to execute when button is clicked */
|
|
22
|
-
action?: (arg?: any) => void;
|
|
23
|
-
/** Predefined button group */
|
|
24
|
-
group?: BtnGroup;
|
|
25
|
-
/** Help text for the button */
|
|
26
|
-
help?: string;
|
|
27
|
-
/** Route to navigate to when button is clicked */
|
|
28
|
-
route?: string;
|
|
29
|
-
/** Icon to display on the button */
|
|
30
|
-
icon?: IconType;
|
|
31
|
-
/** Whether the button should be displayed as an icon only */
|
|
32
|
-
iconBtn?: boolean;
|
|
33
|
-
/** Whether the button should be displayed in mini size */
|
|
34
|
-
mini?: boolean;
|
|
35
|
-
/** Whether to show a help icon */
|
|
36
|
-
showHelpIcon?: boolean;
|
|
37
|
-
/** Text label for the button */
|
|
38
|
-
label?: string;
|
|
39
|
-
/** Child buttons for dropdown/menu buttons */
|
|
40
|
-
children?: IBtn[];
|
|
41
|
-
/** Visual style of the button */
|
|
42
|
-
type?: BtnType;
|
|
43
|
-
/** Additional data to associate with the button */
|
|
44
|
-
extra?: any;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Button class implementation
|
|
48
|
-
*
|
|
49
|
-
* @class Btn
|
|
50
|
-
* @implements {IBtn}
|
|
51
|
-
* @template TData Type of data passed to the action function
|
|
52
|
-
*/
|
|
53
|
-
export declare class Btn<TData = any> implements IBtn {
|
|
54
|
-
/** Additional CSS classes */
|
|
55
|
-
cls?: string;
|
|
56
|
-
/** Predefined button group */
|
|
57
|
-
group?: BtnGroup;
|
|
58
|
-
/** Help text for the button */
|
|
59
|
-
help?: string;
|
|
60
|
-
/** Custom icon class */
|
|
61
|
-
customIcon?: string;
|
|
62
|
-
/** Predefined icon type */
|
|
63
|
-
icon?: IconType;
|
|
64
|
-
/** Whether the button should be displayed in mini size */
|
|
65
|
-
mini?: boolean;
|
|
66
|
-
/** Whether the button should be displayed as an icon only */
|
|
67
|
-
iconBtn?: boolean;
|
|
68
|
-
/** Function to execute when button is clicked */
|
|
69
|
-
readonly action?: (data?: TData, ...args: any[]) => void;
|
|
70
|
-
/** Unique identifier for the button */
|
|
71
|
-
readonly key?: string;
|
|
72
|
-
/** Whether to show a help icon */
|
|
73
|
-
showHelpIcon?: boolean;
|
|
74
|
-
/** Text label for the button */
|
|
75
|
-
label?: string;
|
|
76
|
-
/** Route to navigate to when button is clicked */
|
|
77
|
-
route?: string;
|
|
78
|
-
/** Visual style of the button */
|
|
79
|
-
type?: BtnType;
|
|
80
|
-
/** Additional data to associate with the button */
|
|
81
|
-
extra?: any;
|
|
82
|
-
/** Whether the button is in loading state */
|
|
83
|
-
loading?: boolean;
|
|
84
|
-
/** Child buttons for dropdown/menu buttons */
|
|
85
|
-
children?: Btn<TData>[];
|
|
86
|
-
/** Whether the button is disabled */
|
|
87
|
-
disabled?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated use the literal object approach
|
|
90
|
-
*
|
|
91
|
-
* Instead of
|
|
92
|
-
* ```const btn = new Btn(...)```
|
|
93
|
-
* do
|
|
94
|
-
* ```const btn: IBtn = {...}```
|
|
95
|
-
*
|
|
96
|
-
* @param key Unique identifier for the button
|
|
97
|
-
* @param action Function to execute when button is clicked
|
|
98
|
-
* @param type Visual style of the button
|
|
99
|
-
* @param icon Icon to display on the button
|
|
100
|
-
* @param cls Additional CSS classes
|
|
101
|
-
* @param help Help text for the button
|
|
102
|
-
* @param showHelpIcon Whether to show a help icon
|
|
103
|
-
* @param loading Whether the button is in loading state
|
|
104
|
-
* @param disabled Whether the button is disabled
|
|
105
|
-
*/
|
|
106
|
-
constructor(key: string, action?: (data?: TData, ...args: any[]) => any, type?: BtnType, icon?: IconType, cls?: string, help?: string, showHelpIcon?: boolean, loading?: boolean, disabled?: boolean);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Large button implementation with simplified properties
|
|
110
|
-
*
|
|
111
|
-
* @class BtnLg
|
|
112
|
-
* @implements {IBtn}
|
|
113
|
-
*/
|
|
114
|
-
export declare class BtnLg implements IBtn {
|
|
115
|
-
/** Unique identifier for the button */
|
|
116
|
-
readonly key: string;
|
|
117
|
-
/** Value associated with the button */
|
|
118
|
-
value: string | boolean | number;
|
|
119
|
-
/** Function to execute when button is clicked */
|
|
120
|
-
readonly action?: () => void;
|
|
121
|
-
/** Additional CSS classes */
|
|
122
|
-
cls?: string;
|
|
123
|
-
/** Additional data to associate with the button */
|
|
124
|
-
extra?: any;
|
|
125
|
-
/**
|
|
126
|
-
* Creates an instance of BtnLg
|
|
127
|
-
*
|
|
128
|
-
* @param key Unique identifier for the button
|
|
129
|
-
* @param value Value associated with the button
|
|
130
|
-
* @param action Function to execute when button is clicked
|
|
131
|
-
* @param cls Additional CSS classes
|
|
132
|
-
* @param extra Additional data to associate with the button
|
|
133
|
-
*/
|
|
134
|
-
constructor(key: string, value?: string | boolean | number, action?: any, cls?: string, extra?: any);
|
|
135
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
-
import { BtnComponent } from './btn.component';
|
|
3
|
-
import { BtnType, IconType } from './btn.model';
|
|
4
|
-
import { UserActivityService } from '../../../Reusables/reusable-pages/user-activity/ua-extras/user-activity.service';
|
|
5
|
-
import { ITranslatorConfig } from '../../models/translator.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Service for managing button configurations, icons, and interactions.
|
|
9
|
-
* Provides centralized button styling, icon mapping, and user activity logging.
|
|
10
|
-
*/
|
|
11
|
-
export declare class BtnService {
|
|
12
|
-
uaS: UserActivityService;
|
|
13
|
-
/**
|
|
14
|
-
* Configuration for button classes based on button type
|
|
15
|
-
*/
|
|
16
|
-
btnClassConfig: BtnClass;
|
|
17
|
-
/**
|
|
18
|
-
* Mapping of icon types to their corresponding FontAwesome icons or CSS classes
|
|
19
|
-
*/
|
|
20
|
-
buttonIconIndex: {
|
|
21
|
-
[k in IconType]?: {
|
|
22
|
-
icon?: IconDefinition;
|
|
23
|
-
iconString?: string;
|
|
24
|
-
iconPosition?: 'right' | 'left';
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Default translator configuration options
|
|
29
|
-
*/
|
|
30
|
-
readonly translatorOptions: import("@angular/core").WritableSignal<ITranslatorConfig>;
|
|
31
|
-
constructor(uaS: UserActivityService);
|
|
32
|
-
/**
|
|
33
|
-
* Retrieves the icon configuration for a given icon type
|
|
34
|
-
* @param iconType - The type of icon to retrieve
|
|
35
|
-
* @returns The icon configuration object or undefined if not found
|
|
36
|
-
*/
|
|
37
|
-
getIcon: (iconType: IconType) => {
|
|
38
|
-
icon?: IconDefinition;
|
|
39
|
-
iconString?: string;
|
|
40
|
-
iconPosition?: "right" | "left";
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Gets the button class configuration for a specific button type
|
|
44
|
-
* @param v - The button type
|
|
45
|
-
* @returns The button class configuration or a default primary type if not found
|
|
46
|
-
*/
|
|
47
|
-
getType(v: BtnType): {
|
|
48
|
-
_mclass?: string;
|
|
49
|
-
_icon?: IconType;
|
|
50
|
-
_type?: BtnType;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Default button type to use when none is specified
|
|
54
|
-
*/
|
|
55
|
-
defaultType: BtnType;
|
|
56
|
-
/**
|
|
57
|
-
* Logs a button click event to the user activity service
|
|
58
|
-
* @param btn - The button component that was clicked
|
|
59
|
-
*/
|
|
60
|
-
logClick(btn: BtnComponent): void;
|
|
61
|
-
/**
|
|
62
|
-
* Validates forms associated with a button when the button is disabled
|
|
63
|
-
* Marks all form controls as touched to display validation errors
|
|
64
|
-
* @param btn - The button component associated with forms
|
|
65
|
-
*/
|
|
66
|
-
checkForm(btn: BtnComponent): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BtnService, never>;
|
|
68
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BtnService>;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Type definition for button class configurations mapped by button type
|
|
72
|
-
*/
|
|
73
|
-
type BtnClass = {
|
|
74
|
-
[k in BtnType]: {
|
|
75
|
-
_mclass?: string;
|
|
76
|
-
_icon?: IconType;
|
|
77
|
-
_type?: BtnType;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { ModalComponent } from '../../modal/modal.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DetailsBtnComponent<FG extends {
|
|
6
|
-
[k in keyof FG]: AbstractControl<any, any>;
|
|
7
|
-
}> {
|
|
8
|
-
cdr: ChangeDetectorRef;
|
|
9
|
-
readonly form: import("@angular/core").InputSignal<FormGroup<FG>>;
|
|
10
|
-
readonly fields: import("@angular/core").InputSignal<(keyof FG)[]>;
|
|
11
|
-
readonly modal: import("@angular/core").InputSignal<ModalComponent<any>>;
|
|
12
|
-
constructor(cdr: ChangeDetectorRef);
|
|
13
|
-
readonly hasDetails: import("@angular/core").Signal<boolean>;
|
|
14
|
-
readonly type: import("@angular/core").Signal<"primary" | "secondary">;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsBtnComponent<any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsBtnComponent<any>, "details-btn", never, { "form": { "alias": "form"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DetailsBtnComponent as DetailsBtnModule } from './details-btn.component';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Card component that provides a styled container with optional header and customizable appearance.
|
|
5
|
-
* Used to display content in a card-like UI element with configurable styling options.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CardComponent {
|
|
8
|
-
/** Text to display in the card header */
|
|
9
|
-
header: import("@angular/core").InputSignal<string>;
|
|
10
|
-
/** Controls whether the card has a dark background. Defaults to true */
|
|
11
|
-
isDarkBg: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
/** Sets the height of the card content area */
|
|
13
|
-
contentHeight: import("@angular/core").InputSignal<string>;
|
|
14
|
-
/** Additional CSS classes to apply to the card container. Defaults to 'mt-3' */
|
|
15
|
-
containerClass: import("@angular/core").InputSignal<string>;
|
|
16
|
-
/** CSS classes to apply to the card header. Defaults to 'bg-primary' */
|
|
17
|
-
headerClass: import("@angular/core").InputSignal<string>;
|
|
18
|
-
/** Template reference for custom action buttons to display in the card */
|
|
19
|
-
actionBtnTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "app-card", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "isDarkBg": { "alias": "isDarkBg"; "required": false; "isSignal": true; }; "contentHeight": { "alias": "contentHeight"; "required": false; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; "actionBtnTemplate": { "alias": "actionBtnTemplate"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CardComponent as CardModule } from './card.component';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef as MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A reusable confirmation dialog component that presents a question to the user
|
|
6
|
-
* with Yes/No options.
|
|
7
|
-
*
|
|
8
|
-
* This component is designed to be used with Angular Material's dialog system.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ConfirmDialogComponent implements OnInit {
|
|
11
|
-
text: string;
|
|
12
|
-
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
13
|
-
/**
|
|
14
|
-
* Creates an instance of ConfirmDialogComponent.
|
|
15
|
-
*
|
|
16
|
-
* @param text - The message text to display in the confirmation dialog
|
|
17
|
-
* @param dialogRef - Reference to the dialog opened via the MatDialog service
|
|
18
|
-
*/
|
|
19
|
-
constructor(text: string, dialogRef: MatDialogRef<ConfirmDialogComponent>);
|
|
20
|
-
/**
|
|
21
|
-
* Lifecycle hook that is called after data-bound properties are initialized
|
|
22
|
-
*/
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
/**
|
|
25
|
-
* Handles the user clicking the "Yes" button
|
|
26
|
-
* Closes the dialog and returns true to the caller
|
|
27
|
-
*/
|
|
28
|
-
yes(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Handles the user clicking the "No" button
|
|
31
|
-
* Closes the dialog and returns false to the caller
|
|
32
|
-
*/
|
|
33
|
-
no(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "app-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ConfirmDialogComponent as ConfirmDialogModule } from './confirm-dialog.component';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { ConfirmDialogComponent } from './confirm-dialog.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ETSConfirmDialogService {
|
|
5
|
-
dialog: MatDialog;
|
|
6
|
-
constructor(dialog: MatDialog);
|
|
7
|
-
/**
|
|
8
|
-
* Shows the confirmation dialog box
|
|
9
|
-
* @param text
|
|
10
|
-
* @returns boolean promise
|
|
11
|
-
*/
|
|
12
|
-
confirm(text: string): Promise<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Shows the confirmation dialog box
|
|
15
|
-
* @param text
|
|
16
|
-
* @returns dialogbox observable
|
|
17
|
-
*/
|
|
18
|
-
confirm$(text: string): import("@angular/material/dialog").MatDialogRef<ConfirmDialogComponent, any>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ETSConfirmDialogService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ETSConfirmDialogService>;
|
|
21
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated The method should not be used. Use app-btn instead
|
|
4
|
-
*/
|
|
5
|
-
export declare class ButtonComponent {
|
|
6
|
-
readonly buttonType: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly text: import("@angular/core").InputSignal<string>;
|
|
8
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
readonly faEye: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
10
|
-
readonly faPlus: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
11
|
-
readonly faClone: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
12
|
-
readonly faSearch: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
13
|
-
readonly faCheck: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
14
|
-
readonly faFile: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
15
|
-
readonly faSave: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
16
|
-
readonly faEdit: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
17
|
-
readonly faUpload: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
18
|
-
readonly faPlay: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
19
|
-
readonly faPen: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
20
|
-
readonly faTrash: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
21
|
-
readonly faArrowRight: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
22
|
-
readonly faArrowLeft: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
23
|
-
readonly faHistory: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
24
|
-
readonly faSlidersH: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
25
|
-
readonly faCogs: import("@angular/core").WritableSignal<import("@fortawesome/fontawesome-common-types").IconDefinition>;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "app-button", never, { "buttonType": { "alias": "buttonType"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ButtonComponent as ComponentsModule } from './button.component';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FileNameFormat } from './documents-name-display.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DocumentsNameDisplayComponent implements OnInit {
|
|
5
|
-
files: File[];
|
|
6
|
-
fileNameFormat: FileNameFormat;
|
|
7
|
-
valid: EventEmitter<boolean>;
|
|
8
|
-
error: EventEmitter<any>;
|
|
9
|
-
fileFormats: {
|
|
10
|
-
NON_POLICY_DOCUMENT: string;
|
|
11
|
-
POLICY_DOCUMENT: string;
|
|
12
|
-
POLICY_DOCUMENT_WITH_SUFFIX: string;
|
|
13
|
-
};
|
|
14
|
-
fileNames: any[];
|
|
15
|
-
errors: string[];
|
|
16
|
-
constructor();
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
-
displayFileNames(files: any): void;
|
|
20
|
-
parseFileName(name: any): any;
|
|
21
|
-
getPolicyDocumentParams(name: any): {
|
|
22
|
-
refCat: any;
|
|
23
|
-
policyNo: any;
|
|
24
|
-
policyCode: any;
|
|
25
|
-
docSubCat: any;
|
|
26
|
-
title: any;
|
|
27
|
-
};
|
|
28
|
-
getPolicyDocumentWithSuffixParams(name: any): {
|
|
29
|
-
refCat: any;
|
|
30
|
-
policyNo: any;
|
|
31
|
-
policyCode: any;
|
|
32
|
-
policyNoSuffix: any;
|
|
33
|
-
docSubCat: any;
|
|
34
|
-
title: any;
|
|
35
|
-
};
|
|
36
|
-
getNonPolicyDocumentParams(name: any): {
|
|
37
|
-
refCat: any;
|
|
38
|
-
refNo: any;
|
|
39
|
-
docSubCat: any;
|
|
40
|
-
title: any;
|
|
41
|
-
};
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsNameDisplayComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentsNameDisplayComponent, "app-documents-name-display", never, { "files": { "alias": "files"; "required": false; }; "fileNameFormat": { "alias": "fileNameFormat"; "required": false; }; }, { "valid": "valid"; "error": "error"; }, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DocumentsNameDisplayComponent as DocumentsNameDisplayModule } from './documents-name-display.component';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { InputType } from '../../models/index.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Component that displays text with optional editing capabilities.
|
|
7
|
-
* Allows for formatting, routing, and various display options.
|
|
8
|
-
*/
|
|
9
|
-
export declare class EditableTextCaseComponent implements OnInit {
|
|
10
|
-
/** Function to call instead of enabling edit mode */
|
|
11
|
-
action: any;
|
|
12
|
-
/** Whether to apply color styling to the label */
|
|
13
|
-
coloredLbl: boolean;
|
|
14
|
-
/** Whether to apply color styling to the value */
|
|
15
|
-
coloredVal: boolean;
|
|
16
|
-
/** Form object for binding */
|
|
17
|
-
form: any;
|
|
18
|
-
/** Function to format the displayed value */
|
|
19
|
-
formatter: (item: any) => string | Promise<string> | Observable<string>;
|
|
20
|
-
/** Hint text to display (using Angular's signal-based input) */
|
|
21
|
-
readonly hint: import("@angular/core").InputSignal<string>;
|
|
22
|
-
/** Hint text to display for the value */
|
|
23
|
-
valueHint: string;
|
|
24
|
-
/** Label text to display */
|
|
25
|
-
label: string;
|
|
26
|
-
/** Whether to use light styling */
|
|
27
|
-
light: boolean;
|
|
28
|
-
/** Whether to use mini styling */
|
|
29
|
-
mini: boolean;
|
|
30
|
-
/** Name identifier for the component */
|
|
31
|
-
name: string;
|
|
32
|
-
/** Route to navigate to when clicked */
|
|
33
|
-
route: string;
|
|
34
|
-
/** Function that returns a route to navigate to */
|
|
35
|
-
routeFunc: (item: any) => Promise<string> | Observable<string>;
|
|
36
|
-
/** Whether to show editing controls */
|
|
37
|
-
showEditing: boolean;
|
|
38
|
-
/** Whether to stack label and value vertically */
|
|
39
|
-
stacked: boolean;
|
|
40
|
-
/** Input type for editing mode */
|
|
41
|
-
type: InputType;
|
|
42
|
-
/** Value to display */
|
|
43
|
-
value: any;
|
|
44
|
-
/** Whether to wrap the label text */
|
|
45
|
-
wrapLabel: boolean;
|
|
46
|
-
/** Whether the component is currently in edit mode */
|
|
47
|
-
editing: boolean;
|
|
48
|
-
constructor();
|
|
49
|
-
/**
|
|
50
|
-
* Lifecycle hook that is called after data-bound properties are initialized
|
|
51
|
-
*/
|
|
52
|
-
ngOnInit(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Exits edit mode
|
|
55
|
-
*/
|
|
56
|
-
reset(): void;
|
|
57
|
-
/**
|
|
58
|
-
* Enters edit mode or calls the action function if provided
|
|
59
|
-
*/
|
|
60
|
-
unreset(): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditableTextCaseComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditableTextCaseComponent, "app-editable-text-case", never, { "action": { "alias": "action"; "required": false; }; "coloredLbl": { "alias": "coloredLbl"; "required": false; }; "coloredVal": { "alias": "coloredVal"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "valueHint": { "alias": "valueHint"; "required": false; }; "label": { "alias": "label"; "required": false; }; "light": { "alias": "light"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "name": { "alias": "name"; "required": false; }; "route": { "alias": "route"; "required": false; }; "routeFunc": { "alias": "routeFunc"; "required": false; }; "showEditing": { "alias": "showEditing"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "wrapLabel": { "alias": "wrapLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
63
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { EditableTextCaseComponent as EditableTextCaseModule } from './editable-text-case.component';
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { IGetQuery, TableCol } from '../../models/index.model';
|
|
2
|
-
import { ITableSearchResp } from '../table/table-https/table-https.component';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { UserActivityService } from '../../../Reusables/reusable-pages/user-activity/ua-extras/user-activity.service';
|
|
5
|
-
import { UtilityService } from '../../../Services/utility.service';
|
|
6
|
-
import { TableService } from '../table/table-plain.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Component for exporting table data to CSV format.
|
|
10
|
-
* Provides functionality to download table data with customizable columns and search functionality.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ExportTableComponent {
|
|
13
|
-
/** The data array to be exported */
|
|
14
|
-
readonly data: import("@angular/core").InputSignal<any[]>;
|
|
15
|
-
/** Columns configuration for the table */
|
|
16
|
-
readonly displayedColumns: import("@angular/core").InputSignal<TableCol<any>[]>;
|
|
17
|
-
/** Function to fetch data when search is needed */
|
|
18
|
-
readonly searchFunc: import("@angular/core").InputSignal<(data: any) => Observable<ITableSearchResp<any>>>;
|
|
19
|
-
/** Raw search query parameters */
|
|
20
|
-
readonly _searchQuery: import("@angular/core").InputSignal<{
|
|
21
|
-
[x: string]: string | number | boolean;
|
|
22
|
-
}>;
|
|
23
|
-
/** Computed search query with pagination parameters removed */
|
|
24
|
-
readonly searchQuery: import("@angular/core").Signal<IGetQuery>;
|
|
25
|
-
/** Label for the exported file */
|
|
26
|
-
readonly label: import("@angular/core").InputSignal<string>;
|
|
27
|
-
/** Flag to enable debug mode */
|
|
28
|
-
readonly debug: import("@angular/core").InputSignal<boolean>;
|
|
29
|
-
/** Flag to disable the export functionality */
|
|
30
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
31
|
-
/** Loading state indicator */
|
|
32
|
-
readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
-
/** User activity service for tracking export actions */
|
|
34
|
-
uaS: UserActivityService;
|
|
35
|
-
/** Table service for CSV conversion */
|
|
36
|
-
tableS: TableService;
|
|
37
|
-
/** Utility service for fallback CSV conversion */
|
|
38
|
-
uS: UtilityService<any>;
|
|
39
|
-
/**
|
|
40
|
-
* Filtered columns that are suitable for export (excludes button and input columns)
|
|
41
|
-
* and removes formatter functions that aren't needed for export
|
|
42
|
-
*/
|
|
43
|
-
readonly cdisplayedColumns: import("@angular/core").Signal<TableCol<any>[]>;
|
|
44
|
-
/** Field names of the filtered columns for export */
|
|
45
|
-
readonly cdisplayedColumnFieldNames: import("@angular/core").Signal<string[]>;
|
|
46
|
-
/**
|
|
47
|
-
* Downloads the table data as a CSV file
|
|
48
|
-
*
|
|
49
|
-
* @param data - Optional data array to export (defaults to component's data input)
|
|
50
|
-
* @param label - Optional label for the CSV file (defaults to component's label input)
|
|
51
|
-
* @returns Promise that resolves when the download is complete
|
|
52
|
-
*/
|
|
53
|
-
downloadCSV(data?: any[], label?: string): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Computed property that determines if the export functionality should be disabled
|
|
56
|
-
* Returns true if explicitly disabled or if there are no columns to export
|
|
57
|
-
*/
|
|
58
|
-
readonly disableExport: import("@angular/core").Signal<boolean>;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExportTableComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExportTableComponent, "app-export-table", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; "isSignal": true; }; "searchFunc": { "alias": "searchFunc"; "required": false; "isSignal": true; }; "_searchQuery": { "alias": "searchQuery"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ExportTableComponent as ExportTableModule } from './export-table.component';
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { FilterArrayByStringPipe } from '../../pipes/utility.pipe';
|
|
4
|
-
import { TableCol } from '../../models/index.model';
|
|
5
|
-
import { UtilityService } from '../../../Services/utility.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Component for managing and displaying field selections.
|
|
9
|
-
* Allows users to drag and drop fields between active and inactive lists.
|
|
10
|
-
*/
|
|
11
|
-
export declare class FieldsToDisplayComponent {
|
|
12
|
-
/** Search query for filtering all fields */
|
|
13
|
-
readonly query1: import("@angular/core").ModelSignal<string>;
|
|
14
|
-
/** Search query for filtering non-active fields */
|
|
15
|
-
readonly query2: import("@angular/core").ModelSignal<string>;
|
|
16
|
-
/**
|
|
17
|
-
* Sets the available fields for selection
|
|
18
|
-
* @param v Array of table columns to be used as available fields
|
|
19
|
-
*/
|
|
20
|
-
set _fields(v: TableCol[]);
|
|
21
|
-
/**
|
|
22
|
-
* Sets the currently active columns
|
|
23
|
-
* @param v Array of table columns that are currently active
|
|
24
|
-
*/
|
|
25
|
-
set _currentColumns(v: TableCol[]);
|
|
26
|
-
/** Signal containing all available fields */
|
|
27
|
-
readonly allFields: import("@angular/core").WritableSignal<TableCol<any>[]>;
|
|
28
|
-
/** Computed signal for filtered fields based on query1 */
|
|
29
|
-
readonly filteredAllFields: import("@angular/core").Signal<TableCol<any>[]>;
|
|
30
|
-
/** Computed signal for active fields */
|
|
31
|
-
readonly activeFields: import("@angular/core").Signal<TableCol<any>[]>;
|
|
32
|
-
/** Computed signal for non-active fields, filtered by query2 and sorted by 't' */
|
|
33
|
-
readonly nonActiveFields: import("@angular/core").Signal<TableCol<any>[]>;
|
|
34
|
-
/** Event emitter for when fields selection changes */
|
|
35
|
-
fieldsChanged: EventEmitter<{
|
|
36
|
-
nFields: TableCol[];
|
|
37
|
-
allFields: TableCol[];
|
|
38
|
-
}>;
|
|
39
|
-
/** Pipe for filtering arrays by string */
|
|
40
|
-
filterArrayByStringPipe: FilterArrayByStringPipe;
|
|
41
|
-
/** Utility service */
|
|
42
|
-
uS: UtilityService<any>;
|
|
43
|
-
constructor();
|
|
44
|
-
/**
|
|
45
|
-
* Handles drag and drop events between containers
|
|
46
|
-
* @param event The drag drop event containing source and destination information
|
|
47
|
-
*/
|
|
48
|
-
drop(event: CdkDragDrop<TableCol[]>): void;
|
|
49
|
-
/**
|
|
50
|
-
* Changes a non-active field to active
|
|
51
|
-
* @param nonActiveObj The table column to set as active
|
|
52
|
-
*/
|
|
53
|
-
changeToActive(nonActiveObj: TableCol): void;
|
|
54
|
-
/**
|
|
55
|
-
* Emits the fieldsChanged event with current field selections
|
|
56
|
-
*/
|
|
57
|
-
emitFieldsChanged(): void;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the type of a field to 'number' if the event is truthy
|
|
60
|
-
* @param e The event that triggered this method
|
|
61
|
-
* @param item The table column to potentially update
|
|
62
|
-
*/
|
|
63
|
-
isNumType(e: any, item: TableCol): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsToDisplayComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldsToDisplayComponent, "fields-to-display", never, { "query1": { "alias": "query1"; "required": false; "isSignal": true; }; "query2": { "alias": "query2"; "required": false; "isSignal": true; }; "_fields": { "alias": "fields"; "required": false; }; "_currentColumns": { "alias": "currentColumns"; "required": false; }; }, { "query1": "query1Change"; "query2": "query2Change"; "fieldsChanged": "fieldsChanged"; }, never, never, true, never>;
|
|
66
|
-
}
|