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,251 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
|
-
import { AbstractControl, FormArray, FormGroup } from '@angular/forms';
|
|
4
|
-
import { FilterFormArrayGroupPipe } from '../../../pipes/utility.pipe';
|
|
5
|
-
import { BtnComponent } from '../../btn/btn.component';
|
|
6
|
-
import { FormGeneratorComponent, IFormSchema } from '../../form-generator/form-generator.component';
|
|
7
|
-
import { PaginatorComponent } from '../../paginator/paginator.component';
|
|
8
|
-
import { Observable, Subscription } from 'rxjs';
|
|
9
|
-
import { IBtn } from '../../btn/btn.model';
|
|
10
|
-
import { UtilityService } from '../../../../Services/utility.service';
|
|
11
|
-
import { PaginatorPipe } from '../../../pipes/paginator.pipe';
|
|
12
|
-
import { ITableInputFormSchema } from './table-input.model';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Table Input Component
|
|
16
|
-
*
|
|
17
|
-
* A component that renders a table with input fields, supporting filtering, pagination,
|
|
18
|
-
* and row actions like add/delete.
|
|
19
|
-
*
|
|
20
|
-
* @template TFormGroup The type of form group used for each row in the table
|
|
21
|
-
*/
|
|
22
|
-
export declare class TableInputComponent<TFormGroup extends {
|
|
23
|
-
[K in keyof TFormGroup]: AbstractControl<any, any>;
|
|
24
|
-
} = any> extends FormGeneratorComponent<TFormGroup, ITableInputFormSchema<TFormGroup>> implements OnInit {
|
|
25
|
-
/**
|
|
26
|
-
* Logs column configuration to console
|
|
27
|
-
* @param _t20 The form schema to log
|
|
28
|
-
*/
|
|
29
|
-
logColumn(_t20: ITableInputFormSchema<TFormGroup>): void;
|
|
30
|
-
/** The form array containing all row form groups */
|
|
31
|
-
readonly formArray: import("@angular/core").InputSignal<FormArray<FormGroup<TFormGroup>>>;
|
|
32
|
-
/** CSS class for the filter container */
|
|
33
|
-
readonly filterContainerClass: import("@angular/core").InputSignal<string>;
|
|
34
|
-
/** Function to determine CSS class for a row based on its data */
|
|
35
|
-
readonly classFunction: import("@angular/core").InputSignal<(row: any) => string>;
|
|
36
|
-
/** Whether to show borders around the table */
|
|
37
|
-
readonly border: import("@angular/core").InputSignal<boolean>;
|
|
38
|
-
/** Whether to prevent text wrapping in table cells */
|
|
39
|
-
readonly noWrap: import("@angular/core").InputSignal<boolean>;
|
|
40
|
-
/** Whether to use partial matching for filters */
|
|
41
|
-
readonly filterLikeMatch: import("@angular/core").InputSignal<boolean>;
|
|
42
|
-
/** Whether to use exact matching for filters (inverse of filterLikeMatch) */
|
|
43
|
-
readonly filterExactMatch: import("@angular/core").Signal<boolean>;
|
|
44
|
-
/** Whether to show the table */
|
|
45
|
-
readonly isShow: import("@angular/core").InputSignal<boolean>;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the page size for pagination
|
|
48
|
-
* @param v The number of items per page
|
|
49
|
-
*/
|
|
50
|
-
set _pageSize(v: number);
|
|
51
|
-
/** The number of items to display per page */
|
|
52
|
-
readonly pageSize: import("@angular/core").WritableSignal<number>;
|
|
53
|
-
/** Current pagination state */
|
|
54
|
-
readonly pageState: import("@angular/core").WritableSignal<{
|
|
55
|
-
pageIndex: number;
|
|
56
|
-
pageSize: number;
|
|
57
|
-
}>;
|
|
58
|
-
/** Action buttons to display for each row */
|
|
59
|
-
readonly actionBtns: import("@angular/core").InputSignal<ITableInputBtn[]>;
|
|
60
|
-
/**
|
|
61
|
-
* Sets the form schema for the table
|
|
62
|
-
* @param v Array of form schema definitions
|
|
63
|
-
*/
|
|
64
|
-
set _formSchema(v: ITableInputFormSchema<TFormGroup>[]);
|
|
65
|
-
/** The form structure for a single row */
|
|
66
|
-
singleFormStructure: FormGroup<TFormGroup>;
|
|
67
|
-
/**
|
|
68
|
-
* Function to call when deleting a row
|
|
69
|
-
* Leave empty if you don't want the delete button to show
|
|
70
|
-
*/
|
|
71
|
-
deleteRowFunc: (index: number, data?: FormGroup<TFormGroup>['value'], config?: {
|
|
72
|
-
btn: BtnComponent;
|
|
73
|
-
}) => any;
|
|
74
|
-
/**
|
|
75
|
-
* Function to call when adding a row
|
|
76
|
-
* Leave empty if you don't want the add button to show
|
|
77
|
-
*/
|
|
78
|
-
addRowFunc: (index: number, data?: FormGroup<TFormGroup>['value']) => any;
|
|
79
|
-
/** Whether to hide the delete button */
|
|
80
|
-
readonly hideDelete: import("@angular/core").InputSignal<boolean>;
|
|
81
|
-
/** Whether to hide the add button */
|
|
82
|
-
readonly hideAdd: import("@angular/core").InputSignal<boolean>;
|
|
83
|
-
/** Whether to show borders around input fields */
|
|
84
|
-
readonly borderedInput: import("@angular/core").InputSignal<boolean>;
|
|
85
|
-
/** CSS class for input fields based on borderedInput setting */
|
|
86
|
-
readonly inputClass: import("@angular/core").Signal<string>;
|
|
87
|
-
/**
|
|
88
|
-
* Sets whether to use pagination
|
|
89
|
-
* @param v Whether pagination is enabled
|
|
90
|
-
*/
|
|
91
|
-
set _usePaginator(v: boolean);
|
|
92
|
-
/** CSS class for the table element */
|
|
93
|
-
readonly tableClass: import("@angular/core").InputSignal<string>;
|
|
94
|
-
/** Form schema fields that are used for searching/filtering */
|
|
95
|
-
protected readonly filterFormschema: import("@angular/core").Signal<IFormSchema<any>[]>;
|
|
96
|
-
/** Form group for filter controls */
|
|
97
|
-
protected readonly filterForm: import("@angular/core").Signal<FormGroup<{}>>;
|
|
98
|
-
/** Whether to use pagination */
|
|
99
|
-
protected readonly usePaginator: import("@angular/core").WritableSignal<boolean>;
|
|
100
|
-
/** Map of child form schemas for nested structures */
|
|
101
|
-
protected childrenFormSchemaMap: {
|
|
102
|
-
[k in keyof TFormGroup]?: {
|
|
103
|
-
formSchema: ITableInputFormSchema[];
|
|
104
|
-
formSchemaStr: string[];
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
/** Value used to trigger refresh */
|
|
108
|
-
refresher: number;
|
|
109
|
-
/** Subscription for form array pagination */
|
|
110
|
-
formArrayPaginationSub: Subscription;
|
|
111
|
-
/** Reference to the paginator component */
|
|
112
|
-
paginatorComponent: PaginatorComponent;
|
|
113
|
-
/** Observable of the filter form */
|
|
114
|
-
readonly filterForm$: Observable<FormGroup<{}>>;
|
|
115
|
-
/** Signal of the current filter form values */
|
|
116
|
-
readonly filterFormValueSignal: import("@angular/core").Signal<Partial<{}>>;
|
|
117
|
-
/** Signal of the form array length */
|
|
118
|
-
readonly formArrayLengthSignal: import("@angular/core").Signal<number>;
|
|
119
|
-
/** Form array with index information */
|
|
120
|
-
readonly formArrayIndexed: import("@angular/core").Signal<{
|
|
121
|
-
index: number;
|
|
122
|
-
form: FormGroup<TFormGroup>;
|
|
123
|
-
id: string;
|
|
124
|
-
}[]>;
|
|
125
|
-
/** Form array filtered according to search criteria */
|
|
126
|
-
readonly filteredFormArray: import("@angular/core").Signal<{
|
|
127
|
-
index: number;
|
|
128
|
-
form: FormGroup<TFormGroup>;
|
|
129
|
-
id: string;
|
|
130
|
-
}[]>;
|
|
131
|
-
/** Form array after both filtering and pagination */
|
|
132
|
-
readonly paginatedAndFilteredFormArray: import("@angular/core").Signal<{
|
|
133
|
-
index: number;
|
|
134
|
-
form: FormGroup<TFormGroup>;
|
|
135
|
-
id: string;
|
|
136
|
-
}[]>;
|
|
137
|
-
/** Length of the filtered form array */
|
|
138
|
-
readonly filteredFormArrayLength: import("@angular/core").Signal<number>;
|
|
139
|
-
/** Utility service for common functions */
|
|
140
|
-
utilityService: UtilityService<any>;
|
|
141
|
-
/** Pipe for filtering form array groups */
|
|
142
|
-
filterFormArrayGroupPipe: FilterFormArrayGroupPipe;
|
|
143
|
-
/** Pipe for pagination */
|
|
144
|
-
paginatorPipe: PaginatorPipe;
|
|
145
|
-
/**
|
|
146
|
-
* Initializes the component
|
|
147
|
-
*/
|
|
148
|
-
ngOnInit(): void;
|
|
149
|
-
/**
|
|
150
|
-
* Performs actions after view initialization
|
|
151
|
-
*/
|
|
152
|
-
ngAfterViewInit(): void;
|
|
153
|
-
/**
|
|
154
|
-
* Refreshes the component display
|
|
155
|
-
*/
|
|
156
|
-
refresh(): void;
|
|
157
|
-
/**
|
|
158
|
-
* Cleans up subscriptions when component is destroyed
|
|
159
|
-
*/
|
|
160
|
-
onDestroy(): void;
|
|
161
|
-
/**
|
|
162
|
-
* Handles pagination events
|
|
163
|
-
* @param $event The pagination event containing pageIndex and pageSize
|
|
164
|
-
*/
|
|
165
|
-
pageChanged($event: {
|
|
166
|
-
pageIndex: number;
|
|
167
|
-
pageSize: number;
|
|
168
|
-
}): void;
|
|
169
|
-
/**
|
|
170
|
-
* Resets the paginator to the first page
|
|
171
|
-
*/
|
|
172
|
-
resetPaginator(): void;
|
|
173
|
-
/**
|
|
174
|
-
* Pre-processes form schema items before initialization
|
|
175
|
-
* @param items Array of form schema items to format
|
|
176
|
-
*/
|
|
177
|
-
protected preFormatFormSchema: (items: ITableInputFormSchema<TFormGroup>[]) => void;
|
|
178
|
-
/**
|
|
179
|
-
* Initializes the component with the provided schema
|
|
180
|
-
* @param schema Array of form schema definitions
|
|
181
|
-
*/
|
|
182
|
-
init(schema: ITableInputFormSchema<TFormGroup>[]): void;
|
|
183
|
-
/**
|
|
184
|
-
* Handles clicks on action buttons
|
|
185
|
-
* @param index The row index
|
|
186
|
-
* @param form The form group for the row
|
|
187
|
-
* @param e Event data containing the button and action
|
|
188
|
-
*/
|
|
189
|
-
handleActionButtonClick(index: number, form: FormGroup<TFormGroup>, e: {
|
|
190
|
-
btn?: BtnComponent;
|
|
191
|
-
actionButton: ITableInputBtn;
|
|
192
|
-
}): void;
|
|
193
|
-
/**
|
|
194
|
-
* Handles row deletion
|
|
195
|
-
* @param index The index of the row to delete
|
|
196
|
-
* @param rowForm The form group for the row
|
|
197
|
-
* @param config Optional configuration
|
|
198
|
-
*/
|
|
199
|
-
deleteRowClicked: (index: number, rowForm: FormGroup<TFormGroup>, config?: {
|
|
200
|
-
btn: BtnComponent;
|
|
201
|
-
}) => void;
|
|
202
|
-
/**
|
|
203
|
-
* Handles row addition
|
|
204
|
-
* @param index The index where the new row should be inserted
|
|
205
|
-
*/
|
|
206
|
-
addRowClicked: (index: number) => void;
|
|
207
|
-
/**
|
|
208
|
-
* Checks and logs required fields in the form structure
|
|
209
|
-
*/
|
|
210
|
-
checkRequiredFields: () => void;
|
|
211
|
-
/**
|
|
212
|
-
* Processes an individual form schema item
|
|
213
|
-
* @param scheme The form schema item to process
|
|
214
|
-
*/
|
|
215
|
-
handleFormScheme(scheme: ITableInputFormSchema): void;
|
|
216
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableInputComponent<any>, never>;
|
|
217
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableInputComponent<any>, "table-input", never, { "formArray": { "alias": "formArray"; "required": false; "isSignal": true; }; "filterContainerClass": { "alias": "filterContainerClass"; "required": false; "isSignal": true; }; "classFunction": { "alias": "classFunction"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "noWrap": { "alias": "noWrap"; "required": false; "isSignal": true; }; "filterLikeMatch": { "alias": "filterLikeMatch"; "required": false; "isSignal": true; }; "isShow": { "alias": "isShow"; "required": false; "isSignal": true; }; "_pageSize": { "alias": "pageSize"; "required": false; }; "actionBtns": { "alias": "actionBtns"; "required": false; "isSignal": true; }; "_formSchema": { "alias": "formSchema"; "required": true; }; "singleFormStructure": { "alias": "singleFormStructure"; "required": true; }; "deleteRowFunc": { "alias": "deleteRowFunc"; "required": false; }; "addRowFunc": { "alias": "addRowFunc"; "required": false; }; "hideDelete": { "alias": "hideDelete"; "required": false; "isSignal": true; }; "hideAdd": { "alias": "hideAdd"; "required": false; "isSignal": true; }; "borderedInput": { "alias": "borderedInput"; "required": false; "isSignal": true; }; "_usePaginator": { "alias": "usePaginator"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Interface for table input button configuration
|
|
221
|
-
* Extends the base button interface with table-specific action handling
|
|
222
|
-
*/
|
|
223
|
-
export interface ITableInputBtn extends IBtn {
|
|
224
|
-
/** Action to perform when the button is clicked */
|
|
225
|
-
action?: (arg?: {
|
|
226
|
-
index: number;
|
|
227
|
-
form: FormGroup;
|
|
228
|
-
btn: BtnComponent;
|
|
229
|
-
}) => void;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Pipe that applies a class function to a form group
|
|
233
|
-
* Returns the CSS class based on the form data
|
|
234
|
-
*/
|
|
235
|
-
export declare class TableInputClassFunctionPipe implements PipeTransform {
|
|
236
|
-
/** Subscription to form value changes */
|
|
237
|
-
sub: Subscription;
|
|
238
|
-
/**
|
|
239
|
-
* Transforms a form group using a class function
|
|
240
|
-
* @param form The form group to transform
|
|
241
|
-
* @param classFunction Function that determines the CSS class based on form data
|
|
242
|
-
* @returns Observable of the CSS class string
|
|
243
|
-
*/
|
|
244
|
-
transform(form: FormGroup, classFunction?: (row: any) => string): Observable<string>;
|
|
245
|
-
/**
|
|
246
|
-
* Cleans up subscriptions when pipe is destroyed
|
|
247
|
-
*/
|
|
248
|
-
ngOnDestroy(): void;
|
|
249
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableInputClassFunctionPipe, never>;
|
|
250
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TableInputClassFunctionPipe, "tableInputClassFunction", true>;
|
|
251
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { IFormSchema } from '../../form-generator/form-generator.component';
|
|
3
|
-
/**
|
|
4
|
-
* Interface extending IFormSchema for table input form configurations.
|
|
5
|
-
* Provides additional properties specific to table input forms.
|
|
6
|
-
*
|
|
7
|
-
* @template TFormGroup - The type of form group this schema represents.
|
|
8
|
-
* Must be an object with keys mapping to AbstractControl instances.
|
|
9
|
-
*/
|
|
10
|
-
export interface ITableInputFormSchema<TFormGroup extends {
|
|
11
|
-
[K in keyof TFormGroup]: AbstractControl<any, any>;
|
|
12
|
-
} = any> extends IFormSchema<TFormGroup> {
|
|
13
|
-
/**
|
|
14
|
-
* Whether the column should be sticky (fixed position during scroll).
|
|
15
|
-
*/
|
|
16
|
-
sticky?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The width of the column, specified as a CSS value (e.g., '100px', '10%').
|
|
19
|
-
*/
|
|
20
|
-
width?: string;
|
|
21
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup, FormControl } from '@angular/forms';
|
|
3
|
-
import { MatTableDataSource as MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { IFormOptions, IFormSchema } from '../../../models/form-schema.model';
|
|
6
|
-
import { ICodeDescription } from '../../../models/index.model';
|
|
7
|
-
import { TableBaseComponent } from '../table-base.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* A component that displays data in a plain table format with optional filtering, pagination, and row selection.
|
|
11
|
-
* Extends TableBaseComponent to provide common table functionality.
|
|
12
|
-
*
|
|
13
|
-
* @template TItem - The type of data items displayed in the table
|
|
14
|
-
*/
|
|
15
|
-
export declare class TablePlainComponent<TItem = any> extends TableBaseComponent<TItem> implements OnInit {
|
|
16
|
-
/** Signal containing the data to be displayed in the table */
|
|
17
|
-
readonly data: import("@angular/core").WritableSignal<TItem[]>;
|
|
18
|
-
/** Custom CSS class to apply to row selection checkboxes */
|
|
19
|
-
readonly customSelectClass: import("@angular/core").InputSignal<string>;
|
|
20
|
-
/** Field name to use as the unique identifier for each row (defaults to 'id') */
|
|
21
|
-
readonly idField: import("@angular/core").InputSignal<string>;
|
|
22
|
-
/** Observable data source that can be used instead of direct data input */
|
|
23
|
-
readonly obsDataSource: import("@angular/core").InputSignal<Observable<TItem[]>>;
|
|
24
|
-
/** Whether to show the filter controls */
|
|
25
|
-
readonly showFilter: import("@angular/core").InputSignal<boolean>;
|
|
26
|
-
/** Whether to show pagination controls */
|
|
27
|
-
readonly showPager: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
/** Function to determine if a row should have selection disabled */
|
|
29
|
-
disableSelectionByField: (x: any) => boolean;
|
|
30
|
-
/** Event emitted when a row is viewed */
|
|
31
|
-
_view: EventEmitter<any>;
|
|
32
|
-
/** Event emitted when the data changes */
|
|
33
|
-
dataChanged: EventEmitter<any>;
|
|
34
|
-
/** Event emitted when the filter criteria change */
|
|
35
|
-
filterChange: EventEmitter<any>;
|
|
36
|
-
/** Event emitted when the list data is modified */
|
|
37
|
-
listMutated: EventEmitter<TItem[]>;
|
|
38
|
-
/** Computed value for the total number of results */
|
|
39
|
-
readonly resultsLength: import("@angular/core").Signal<number>;
|
|
40
|
-
/** Options for cell rendering */
|
|
41
|
-
readonly cellOptions: IFormOptions;
|
|
42
|
-
/** Map for transforming filter values */
|
|
43
|
-
protected readonly filterValueTransformationMap: {
|
|
44
|
-
[value: string]: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Computed MatTableDataSource based on the current data and filter settings
|
|
48
|
-
*/
|
|
49
|
-
readonly dataSource: import("@angular/core").Signal<MatTableDataSource<TItem, import("@angular/material/paginator").MatPaginator>>;
|
|
50
|
-
/** Stores the default filter predicate function */
|
|
51
|
-
defaultFilterPredicate: any;
|
|
52
|
-
/** Whether to use exact matching for filtering (vs. substring matching) */
|
|
53
|
-
readonly filterExactMatch: import("@angular/core").InputSignal<boolean>;
|
|
54
|
-
/** Computed value that determines if filtering should use substring matching */
|
|
55
|
-
readonly filterLikeMatch: import("@angular/core").Signal<boolean>;
|
|
56
|
-
/** Schema definitions for filter fields */
|
|
57
|
-
readonly filterFields: import("@angular/core").WritableSignal<IFormSchema<any>[]>;
|
|
58
|
-
/** Computed options for filter dropdown based on displayed columns */
|
|
59
|
-
readonly filterOptions: import("@angular/core").Signal<ICodeDescription[]>;
|
|
60
|
-
/** Form group for filter controls */
|
|
61
|
-
readonly filterForm: FormGroup<{
|
|
62
|
-
field: FormControl<any>;
|
|
63
|
-
value: FormControl<any>;
|
|
64
|
-
}>;
|
|
65
|
-
/**
|
|
66
|
-
* Input setter for the data to be displayed in the table
|
|
67
|
-
* @param v - Array of data items
|
|
68
|
-
*/
|
|
69
|
-
set _data(v: TItem[]);
|
|
70
|
-
/**
|
|
71
|
-
* Input setter for filter field definitions
|
|
72
|
-
* @param v - Array of form schema definitions for filter fields
|
|
73
|
-
*/
|
|
74
|
-
set _filterFields(v: IFormSchema[]);
|
|
75
|
-
/**
|
|
76
|
-
* Input setter for filter fields defined as a map
|
|
77
|
-
* @param v - Map of field names to form schema definitions
|
|
78
|
-
*/
|
|
79
|
-
set _filterFieldsMap(v: {
|
|
80
|
-
[x: string]: IFormSchema;
|
|
81
|
-
});
|
|
82
|
-
/** Whether selection should apply only to the current page (true) or all data (false) */
|
|
83
|
-
selectionPerPage: boolean;
|
|
84
|
-
/** Signal for the current filter form values */
|
|
85
|
-
readonly filterFormSignal: import("@angular/core").Signal<{
|
|
86
|
-
field: string;
|
|
87
|
-
value: string;
|
|
88
|
-
}>;
|
|
89
|
-
constructor();
|
|
90
|
-
/** Angular lifecycle hook for component initialization */
|
|
91
|
-
ngOnInit(): void;
|
|
92
|
-
/** Angular lifecycle hook called after the view is initialized */
|
|
93
|
-
ngAfterViewInit(): void;
|
|
94
|
-
/**
|
|
95
|
-
* Clears all filter values and refreshes the UI
|
|
96
|
-
*/
|
|
97
|
-
clearFilter(): void;
|
|
98
|
-
/**
|
|
99
|
-
* Handles checkbox output for a specific field in an item
|
|
100
|
-
* @param field - The field to update
|
|
101
|
-
* @param item - The data item being modified
|
|
102
|
-
* @param value - The new value
|
|
103
|
-
* @returns The result from the parent class implementation
|
|
104
|
-
*/
|
|
105
|
-
outputCheckbox(field: keyof TItem, item: TItem, value: any): void;
|
|
106
|
-
/**
|
|
107
|
-
* Toggles selection of all rows in the current page or all data
|
|
108
|
-
* If all applicable rows are selected, this will clear the selection
|
|
109
|
-
*/
|
|
110
|
-
masterToggle(): void;
|
|
111
|
-
/**
|
|
112
|
-
* Handler for filter change events
|
|
113
|
-
* @param e - The filter change event
|
|
114
|
-
*/
|
|
115
|
-
onFilterChange(e: any): void;
|
|
116
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablePlainComponent<any>, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TablePlainComponent<any>, "table-plain", never, { "customSelectClass": { "alias": "customSelectClass"; "required": false; "isSignal": true; }; "idField": { "alias": "idField"; "required": false; "isSignal": true; }; "obsDataSource": { "alias": "obsDataSource"; "required": false; "isSignal": true; }; "showFilter": { "alias": "showFilter"; "required": false; "isSignal": true; }; "showPager": { "alias": "showPager"; "required": false; "isSignal": true; }; "disableSelectionByField": { "alias": "disableSelectionByField"; "required": false; }; "filterExactMatch": { "alias": "filterExactMatch"; "required": false; "isSignal": true; }; "_data": { "alias": "data"; "required": false; }; "_filterFields": { "alias": "filterFields"; "required": false; }; "_filterFieldsMap": { "alias": "filterFieldsMap"; "required": false; }; "selectionPerPage": { "alias": "selectionPerPage"; "required": false; }; }, { "_view": "view"; "dataChanged": "dataChanged"; "filterChange": "filterChange"; "listMutated": "listMutated"; }, never, never, true, never>;
|
|
118
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IKVP, TableCol } from '../../models/index.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Service for handling table-related operations and formatting
|
|
5
|
-
* Provides utilities for column management, formatting, and CSV export
|
|
6
|
-
*/
|
|
7
|
-
export declare class TableService {
|
|
8
|
-
/**
|
|
9
|
-
* Map of general properties to apply to columns by field name
|
|
10
|
-
* If a value is provided in the columns schema, it is ignored.
|
|
11
|
-
*/
|
|
12
|
-
generalColumnPropMap: {
|
|
13
|
-
[field: string]: Partial<TableCol>;
|
|
14
|
-
};
|
|
15
|
-
constructor();
|
|
16
|
-
/**
|
|
17
|
-
* Formats a key value to HTML with color coding
|
|
18
|
-
* @param key - The key to format
|
|
19
|
-
* @param codes - Array of key-value pairs mapping keys to color values
|
|
20
|
-
* @returns HTML string with appropriate color class
|
|
21
|
-
*/
|
|
22
|
-
formatToColours: (key: any, codes?: IKVP[]) => string;
|
|
23
|
-
/**
|
|
24
|
-
* Extracts field names from column definitions and adds special columns
|
|
25
|
-
* @param arr - Array of column definitions
|
|
26
|
-
* @param hasOptions - Whether to include an options column
|
|
27
|
-
* @param useSelection - Whether to include selection checkboxes
|
|
28
|
-
* @param placeSelectionAtRight - Whether to place selection checkboxes at the end (true) or beginning (false)
|
|
29
|
-
* @param isExpandable - Whether to include an expand column
|
|
30
|
-
* @returns Array of field names
|
|
31
|
-
*/
|
|
32
|
-
getRawFields(arr: TableCol[], hasOptions: boolean, useSelection?: boolean, placeSelectionAtRight?: boolean, // the parameter is to support setting the selection checkboxes as the last item instead of the first
|
|
33
|
-
isExpandable?: boolean): string[];
|
|
34
|
-
/**
|
|
35
|
-
* Global formatter for table columns
|
|
36
|
-
* @param columns - Array of column definitions
|
|
37
|
-
* @returns Formatted array of column definitions
|
|
38
|
-
* @template TRow - Type of the row data
|
|
39
|
-
*/
|
|
40
|
-
globalColumnsFormatter: <TRow>(columns: TableCol<TRow>[]) => TableCol<TRow>[];
|
|
41
|
-
/**
|
|
42
|
-
* Worker function to convert array data to CSV and trigger download
|
|
43
|
-
* @param array - Array of data to convert
|
|
44
|
-
* @param filename - Name of the file to download
|
|
45
|
-
* @param columns - Optional array of column names to include
|
|
46
|
-
* @param showHeader - Whether to include header row
|
|
47
|
-
* @returns Promise that resolves when the CSV has been generated and download triggered
|
|
48
|
-
*/
|
|
49
|
-
arrayToCSVWorker: (array: any[], filename: string, columns?: string[], showHeader?: boolean) => Promise<void>;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableService, never>;
|
|
51
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableService>;
|
|
52
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { TableCol } from '../../models/index.model';
|
|
3
|
-
import { TableService } from './table-plain.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
/**
|
|
7
|
-
* Pipe that formats table column data based on the column configuration.
|
|
8
|
-
* Applies formatter functions if defined in the column configuration.
|
|
9
|
-
*/
|
|
10
|
-
export declare class GetColFormattedPipe implements PipeTransform {
|
|
11
|
-
/**
|
|
12
|
-
* Transforms the row data for a specific column using formatters if available.
|
|
13
|
-
* @param row - The data row object
|
|
14
|
-
* @param col - The column configuration
|
|
15
|
-
* @returns An observable containing the formatted value
|
|
16
|
-
*/
|
|
17
|
-
transform(row: any, col: TableCol): import("rxjs").Observable<any> | Promise<string>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetColFormattedPipe, never>;
|
|
19
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetColFormattedPipe, "getColFormatted", true>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Pipe that formats expanded table column data based on the column configuration.
|
|
23
|
-
* Used for expanded row views.
|
|
24
|
-
*/
|
|
25
|
-
export declare class GetColFormattedEPipe implements PipeTransform {
|
|
26
|
-
/**
|
|
27
|
-
* Transforms the expanded row data for a specific column using formatters if available.
|
|
28
|
-
* @param row - The data row object
|
|
29
|
-
* @param col - The column configuration
|
|
30
|
-
* @returns An observable containing the formatted value
|
|
31
|
-
*/
|
|
32
|
-
transform(row: any, col: TableCol): import("rxjs").Observable<any> | Promise<string>;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetColFormattedEPipe, never>;
|
|
34
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetColFormattedEPipe, "getColFormattedE", true>;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Pipe that extracts raw field values from table data.
|
|
38
|
-
*/
|
|
39
|
-
export declare class GetRawFieldsPipe implements PipeTransform {
|
|
40
|
-
/** Injected table service */
|
|
41
|
-
service: TableService;
|
|
42
|
-
/** Transform method delegated to the service's getRawFields method */
|
|
43
|
-
transform: (arr: TableCol[], hasOptions: boolean, useSelection?: boolean, placeSelectionAtRight?: boolean, isExpandable?: boolean) => string[];
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetRawFieldsPipe, never>;
|
|
45
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetRawFieldsPipe, "getRawFields", true>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Pipe that extracts header titles from column configurations.
|
|
49
|
-
*/
|
|
50
|
-
export declare class GetHeadersPipe implements PipeTransform {
|
|
51
|
-
/**
|
|
52
|
-
* Extracts the title property from each column configuration.
|
|
53
|
-
* @param arr - Array of column configurations
|
|
54
|
-
* @returns Array of column titles
|
|
55
|
-
*/
|
|
56
|
-
transform(arr: TableCol[]): string[];
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetHeadersPipe, never>;
|
|
58
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetHeadersPipe, "getHeaders", true>;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Pipe that converts table data to a formatted string representation.
|
|
62
|
-
* Useful for exporting or displaying table data as text.
|
|
63
|
-
*/
|
|
64
|
-
export declare class TableToStringPipe implements PipeTransform {
|
|
65
|
-
cfS: GetColFormattedPipe;
|
|
66
|
-
/**
|
|
67
|
-
* Transforms table data into a string representation.
|
|
68
|
-
* @param arr - Array of column configurations
|
|
69
|
-
* @param obj - The data object to format
|
|
70
|
-
* @returns Promise resolving to a formatted string representation of the table data
|
|
71
|
-
*/
|
|
72
|
-
transform(arr: TableCol[], obj: any): Promise<string>;
|
|
73
|
-
/**
|
|
74
|
-
* @param cfS - Injected GetColFormattedPipe for formatting column values
|
|
75
|
-
*/
|
|
76
|
-
constructor(cfS: GetColFormattedPipe);
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableToStringPipe, never>;
|
|
78
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TableToStringPipe, "tableToString", true>;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Module that bundles all table-related pipes for easy import.
|
|
82
|
-
*/
|
|
83
|
-
export declare class TablePipesModule {
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablePipesModule, never>;
|
|
85
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TablePipesModule, never, [typeof i1.CommonModule, typeof GetColFormattedPipe, typeof GetHeadersPipe, typeof GetRawFieldsPipe, typeof TableToStringPipe, typeof GetColFormattedEPipe], [typeof GetColFormattedPipe, typeof GetHeadersPipe, typeof GetRawFieldsPipe, typeof TableToStringPipe, typeof GetColFormattedEPipe]>;
|
|
86
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TablePipesModule>;
|
|
87
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TextComponent {
|
|
3
|
-
text: import("@angular/core").InputSignal<string>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "app-text", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TextComponent as TextModule } from './text.component';
|
|
@@ -1,27 +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
|
-
export declare class TextAreaModalComponent implements OnInit {
|
|
5
|
-
dialogRef: MatDialogRef<TextAreaModalComponent>;
|
|
6
|
-
data: {
|
|
7
|
-
showLength: boolean;
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
isShow: boolean;
|
|
11
|
-
};
|
|
12
|
-
_data: {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
};
|
|
16
|
-
constructor(dialogRef: MatDialogRef<TextAreaModalComponent>, data: {
|
|
17
|
-
showLength: boolean;
|
|
18
|
-
label: string;
|
|
19
|
-
value: string;
|
|
20
|
-
isShow: boolean;
|
|
21
|
-
});
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
close(): void;
|
|
24
|
-
save(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaModalComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaModalComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MatDialog as MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { TextAreaModalComponent } from './text-area-modal.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextAreaModalService {
|
|
5
|
-
dialog: MatDialog;
|
|
6
|
-
constructor(dialog: MatDialog);
|
|
7
|
-
openTextAreaModal: (label: string, value: string, isShow: boolean, showLength: boolean) => import("@angular/material/dialog").MatDialogRef<TextAreaModalComponent, any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaModalService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TextAreaModalService>;
|
|
10
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A component for displaying text with various formatting options and behaviors.
|
|
6
|
-
* Supports actions, formatting, icons, and styling customizations.
|
|
7
|
-
*/
|
|
8
|
-
export declare class TextCase1Component implements OnInit {
|
|
9
|
-
/** Action to be performed when the component is clicked */
|
|
10
|
-
action: any;
|
|
11
|
-
/** Custom formatter function for the value display */
|
|
12
|
-
formatter: (item: any) => string | Promise<string> | Observable<string>;
|
|
13
|
-
/** Tooltip text to display on hover */
|
|
14
|
-
hint: string;
|
|
15
|
-
/** Icon class to display alongside the text */
|
|
16
|
-
icon: string;
|
|
17
|
-
/**
|
|
18
|
-
* Sets whether the component is editable
|
|
19
|
-
* When true, automatically sets the icon to a pencil
|
|
20
|
-
*/
|
|
21
|
-
set editable(v: boolean);
|
|
22
|
-
/** Whether to invert the color scheme */
|
|
23
|
-
inverted: boolean;
|
|
24
|
-
/** Label text to display */
|
|
25
|
-
lbl: string;
|
|
26
|
-
/** CSS class for the label */
|
|
27
|
-
lblClass: string;
|
|
28
|
-
/** Whether to use light styling */
|
|
29
|
-
light: boolean;
|
|
30
|
-
/** Additional CSS class for the main component */
|
|
31
|
-
mclass: string;
|
|
32
|
-
/** Custom NgStyle object for the value element */
|
|
33
|
-
valueNGStyle: {
|
|
34
|
-
[x: string]: any;
|
|
35
|
-
};
|
|
36
|
-
/** Route to navigate to when clicked */
|
|
37
|
-
route: string;
|
|
38
|
-
/** Whether to use small text size */
|
|
39
|
-
small: boolean;
|
|
40
|
-
/** Whether to stack label and value vertically */
|
|
41
|
-
stacked: boolean;
|
|
42
|
-
/** The value to display */
|
|
43
|
-
val: any;
|
|
44
|
-
/** Whether to use extra small text size */
|
|
45
|
-
xsmall: boolean;
|
|
46
|
-
constructor();
|
|
47
|
-
/**
|
|
48
|
-
* Lifecycle hook that is called after data-bound properties are initialized
|
|
49
|
-
*/
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextCase1Component, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextCase1Component, "text-case-1", never, { "action": { "alias": "action"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "lbl": { "alias": "lbl"; "required": false; }; "lblClass": { "alias": "lblClass"; "required": false; }; "light": { "alias": "light"; "required": false; }; "mclass": { "alias": "mclass"; "required": false; }; "valueNGStyle": { "alias": "valueNGStyle"; "required": false; }; "route": { "alias": "route"; "required": false; }; "small": { "alias": "small"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "val": { "alias": "val"; "required": false; }; "xsmall": { "alias": "xsmall"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TextCase1Component as TextCase1Module } from './text-case-1.component';
|