@vallift/ngl 22.0.52 → 22.0.56
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/vallift-ngl.mjs +368 -352
- package/fesm2022/vallift-ngl.mjs.map +1 -1
- package/package.json +1 -1
- package/types/vallift-ngl.d.ts +16 -4
package/package.json
CHANGED
package/types/vallift-ngl.d.ts
CHANGED
|
@@ -284,6 +284,8 @@ declare enum TemplateResolverArrayUtil {
|
|
|
284
284
|
|
|
285
285
|
type PaginationType = 'default' | 'compact';
|
|
286
286
|
declare class PaginationComponent {
|
|
287
|
+
private readonly nglConfig;
|
|
288
|
+
private readonly paginationConfig;
|
|
287
289
|
totalItems: _angular_core.InputSignal<number>;
|
|
288
290
|
pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
289
291
|
type: _angular_core.InputSignal<PaginationType>;
|
|
@@ -649,10 +651,12 @@ declare class DataTableComponent<T> extends BaseControlValueAccessorV3<TableStat
|
|
|
649
651
|
toolbarContent?: ElementRef<HTMLElement>;
|
|
650
652
|
private readonly nglConfig;
|
|
651
653
|
private readonly listResponse;
|
|
654
|
+
private readonly paginationConfig;
|
|
652
655
|
private readonly hasToolbarContent;
|
|
653
656
|
columnDefs: _angular_core.InputSignal<ColumnDef[]>;
|
|
654
657
|
state: _angular_core.InputSignal<State<any>>;
|
|
655
658
|
pageSize: _angular_core.InputSignal<number>;
|
|
659
|
+
pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
656
660
|
enableHorizontallyScrollable: _angular_core.InputSignal<boolean>;
|
|
657
661
|
enableResizableColumns: _angular_core.InputSignal<boolean>;
|
|
658
662
|
enableClickableRows: _angular_core.InputSignal<boolean>;
|
|
@@ -700,7 +704,7 @@ declare class DataTableComponent<T> extends BaseControlValueAccessorV3<TableStat
|
|
|
700
704
|
onCellActionPerformed($event: TableActionEvent): void;
|
|
701
705
|
onRowActionPerformed($event: TableActionEvent): void;
|
|
702
706
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableComponent<any>, never>;
|
|
703
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableComponent<any>, "app-data-table", never, { "columnDefs": { "alias": "columnDefs"; "required": true; "isSignal": true; }; "state": { "alias": "state"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "enableHorizontallyScrollable": { "alias": "enableHorizontallyScrollable"; "required": false; "isSignal": true; }; "enableResizableColumns": { "alias": "enableResizableColumns"; "required": false; "isSignal": true; }; "enableClickableRows": { "alias": "enableClickableRows"; "required": false; "isSignal": true; }; "expandableComponent": { "alias": "expandableComponent"; "required": false; "isSignal": true; }; "enableColumnsConfig": { "alias": "enableColumnsConfig"; "required": false; "isSignal": true; }; "filterComponent": { "alias": "filterComponent"; "required": false; "isSignal": true; }; "enableSearch": { "alias": "enableSearch"; "required": false; "isSignal": true; }; "disableInitialLoad": { "alias": "disableInitialLoad"; "required": false; "isSignal": true; }; "skeletonRowCount": { "alias": "skeletonRowCount"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "sortChanged": "sortChanged"; "tableStateChanged": "tableStateChanged"; "onActionPerformed": "onActionPerformed"; "filterChanged": "filterChanged"; "onRowClicked": "onRowClicked"; }, ["headerComponents"], ["*", "[body]"], true, never>;
|
|
707
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableComponent<any>, "app-data-table", never, { "columnDefs": { "alias": "columnDefs"; "required": true; "isSignal": true; }; "state": { "alias": "state"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "enableHorizontallyScrollable": { "alias": "enableHorizontallyScrollable"; "required": false; "isSignal": true; }; "enableResizableColumns": { "alias": "enableResizableColumns"; "required": false; "isSignal": true; }; "enableClickableRows": { "alias": "enableClickableRows"; "required": false; "isSignal": true; }; "expandableComponent": { "alias": "expandableComponent"; "required": false; "isSignal": true; }; "enableColumnsConfig": { "alias": "enableColumnsConfig"; "required": false; "isSignal": true; }; "filterComponent": { "alias": "filterComponent"; "required": false; "isSignal": true; }; "enableSearch": { "alias": "enableSearch"; "required": false; "isSignal": true; }; "disableInitialLoad": { "alias": "disableInitialLoad"; "required": false; "isSignal": true; }; "skeletonRowCount": { "alias": "skeletonRowCount"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "sortChanged": "sortChanged"; "tableStateChanged": "tableStateChanged"; "onActionPerformed": "onActionPerformed"; "filterChanged": "filterChanged"; "onRowClicked": "onRowClicked"; }, ["headerComponents"], ["*", "[body]"], true, never>;
|
|
704
708
|
}
|
|
705
709
|
interface ColumnDef {
|
|
706
710
|
title: string;
|
|
@@ -784,10 +788,12 @@ declare class SignalDataTableComponent<T> extends BaseControlValueAccessorV3<Tab
|
|
|
784
788
|
toolbarContent?: ElementRef<HTMLElement>;
|
|
785
789
|
private readonly nglConfig;
|
|
786
790
|
private readonly listResponse;
|
|
791
|
+
private readonly paginationConfig;
|
|
787
792
|
private readonly hasToolbarContent;
|
|
788
793
|
columnDefs: _angular_core.InputSignal<ColumnDef[]>;
|
|
789
794
|
state: _angular_core.InputSignal<State<any>>;
|
|
790
795
|
pageSize: _angular_core.InputSignal<number>;
|
|
796
|
+
pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
791
797
|
enableHorizontallyScrollable: _angular_core.InputSignal<boolean>;
|
|
792
798
|
enableResizableColumns: _angular_core.InputSignal<boolean>;
|
|
793
799
|
enableClickableRows: _angular_core.InputSignal<boolean>;
|
|
@@ -835,7 +841,7 @@ declare class SignalDataTableComponent<T> extends BaseControlValueAccessorV3<Tab
|
|
|
835
841
|
onCellActionPerformed($event: TableActionEvent): void;
|
|
836
842
|
onRowActionPerformed($event: TableActionEvent): void;
|
|
837
843
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SignalDataTableComponent<any>, never>;
|
|
838
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SignalDataTableComponent<any>, "app-signal-data-table", never, { "columnDefs": { "alias": "columnDefs"; "required": true; "isSignal": true; }; "state": { "alias": "state"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "enableHorizontallyScrollable": { "alias": "enableHorizontallyScrollable"; "required": false; "isSignal": true; }; "enableResizableColumns": { "alias": "enableResizableColumns"; "required": false; "isSignal": true; }; "enableClickableRows": { "alias": "enableClickableRows"; "required": false; "isSignal": true; }; "expandableComponent": { "alias": "expandableComponent"; "required": false; "isSignal": true; }; "enableColumnsConfig": { "alias": "enableColumnsConfig"; "required": false; "isSignal": true; }; "filterComponent": { "alias": "filterComponent"; "required": false; "isSignal": true; }; "enableSearch": { "alias": "enableSearch"; "required": false; "isSignal": true; }; "disableInitialLoad": { "alias": "disableInitialLoad"; "required": false; "isSignal": true; }; "skeletonRowCount": { "alias": "skeletonRowCount"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "sortChanged": "sortChanged"; "tableStateChanged": "tableStateChanged"; "onActionPerformed": "onActionPerformed"; "filterChanged": "filterChanged"; "onRowClicked": "onRowClicked"; }, ["headerComponents"], ["*", "[body]"], true, never>;
|
|
844
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SignalDataTableComponent<any>, "app-signal-data-table", never, { "columnDefs": { "alias": "columnDefs"; "required": true; "isSignal": true; }; "state": { "alias": "state"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "enableHorizontallyScrollable": { "alias": "enableHorizontallyScrollable"; "required": false; "isSignal": true; }; "enableResizableColumns": { "alias": "enableResizableColumns"; "required": false; "isSignal": true; }; "enableClickableRows": { "alias": "enableClickableRows"; "required": false; "isSignal": true; }; "expandableComponent": { "alias": "expandableComponent"; "required": false; "isSignal": true; }; "enableColumnsConfig": { "alias": "enableColumnsConfig"; "required": false; "isSignal": true; }; "filterComponent": { "alias": "filterComponent"; "required": false; "isSignal": true; }; "enableSearch": { "alias": "enableSearch"; "required": false; "isSignal": true; }; "disableInitialLoad": { "alias": "disableInitialLoad"; "required": false; "isSignal": true; }; "skeletonRowCount": { "alias": "skeletonRowCount"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "sortChanged": "sortChanged"; "tableStateChanged": "tableStateChanged"; "onActionPerformed": "onActionPerformed"; "filterChanged": "filterChanged"; "onRowClicked": "onRowClicked"; }, ["headerComponents"], ["*", "[body]"], true, never>;
|
|
839
845
|
}
|
|
840
846
|
|
|
841
847
|
declare class DynamicRendererComponent<T> implements OnChanges, OnDestroy {
|
|
@@ -3458,6 +3464,11 @@ interface NglListResponseConfig {
|
|
|
3458
3464
|
totalPages?: string;
|
|
3459
3465
|
}
|
|
3460
3466
|
declare const DEFAULT_NGL_LIST_RESPONSE: NglListResponseConfig;
|
|
3467
|
+
interface NglPaginationConfig {
|
|
3468
|
+
pageSize: number;
|
|
3469
|
+
pageSizeOptions: number[];
|
|
3470
|
+
}
|
|
3471
|
+
declare const DEFAULT_NGL_PAGINATION_CONFIG: NglPaginationConfig;
|
|
3461
3472
|
interface NglConfig {
|
|
3462
3473
|
baseApiUrl: string;
|
|
3463
3474
|
enableUnsavedChangesWarning: boolean;
|
|
@@ -3467,6 +3478,7 @@ interface NglConfig {
|
|
|
3467
3478
|
overlay?: Partial<NglOverlayConfig>;
|
|
3468
3479
|
formErrors?: Partial<SignalFormErrorMap>;
|
|
3469
3480
|
listResponse?: Partial<NglListResponseConfig>;
|
|
3481
|
+
pagination?: Partial<NglPaginationConfig>;
|
|
3470
3482
|
}
|
|
3471
3483
|
declare const NGL_CONFIG: InjectionToken<NglConfig>;
|
|
3472
3484
|
|
|
@@ -3548,5 +3560,5 @@ declare class InfiniteScrollModule {
|
|
|
3548
3560
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<InfiniteScrollModule>;
|
|
3549
3561
|
}
|
|
3550
3562
|
|
|
3551
|
-
export { AlertDialogComponent, AppErrorComponent, AppSvgIconComponent, BaseApiService, BaseControlValueAccessor, BaseControlValueAccessorV2, BaseControlValueAccessorV3, BaseInputComponent, BaseOverlayComponent, BaseSignalInput, BaseTableComponent, BreadcrumbComponent, ButtonComponent, CheckboxComponent, ClickOutsideDirective, CloseButtonComponent, ColorConverterService, ColorFormats, ColorPickerComponent, ColorPickerDirective, ContextMenuButtonComponent, ContextMenuIconComponent, DEFAULT_NGL_BUTTON_CONFIG, DEFAULT_NGL_INPUT_CONFIG, DEFAULT_NGL_LIST_RESPONSE, DEFAULT_NGL_OVERLAY_CONFIG, DEFAULT_PHONE_COUNTRIES, DataTableComponent, DateInputComponent, DatePickerComponent, DatePickerOverlayComponent, DateRangePickerComponent, DateUtils, DropdownComponent, DynamicRendererComponent, EnvBannerComponent, FORM_ERRORS, FileUploaderComponent, FormValidationUtils, HumanizeFormMessagesPipe, InfiniteScrollDirective, InfiniteScrollModule, InputDateFormat, InvalidControlScrollContainerDirective, InvalidControlScrollDirective, InvalidTokenError, ListviewComponent, LoaderComponent, LoaderService, MultiSelectDropdownAppearance, MultiSelectDropdownComponent, MultiSelectionFieldComponent, NGL_CONFIG, NetworkImageComponent, NglService, NoDataComponent, NoDataTableComponent, NumberInputComponent, OpenFloatingMenuDirective, OverlayContextMenuComponent, OverlayService, OverlayWizardUtils, PaginationComponent, PaginationState, PhoneNumberInputComponent, RadioButtonComponent, RequestState, ResizableColumnDirective, ResponsiveHelperComponent, SIGNAL_FORM_ERRORS, SharedConstants, ShimmerComponent, SignalButton, SignalCheckbox, SignalColorField, SignalDataTableComponent, SignalDateField, SignalDatePicker, SignalDateRangeField, SignalDateRangePicker, SignalDropdown, SignalError, SignalFormDirective, SignalFormValidators, SignalMultiSelectDropdown, SignalNumberField, SignalOtpField, SignalPhoneNumberField, SignalRadio, SignalRadioGroup, SignalRangeSlider, SignalRating, SignalSlider, SignalSwitch, SignalTextField, SignalTextarea, SignalTimeField, SignalTimePicker, SingleItemPickerInputComponent, SingleSelectionFieldComponent, SortableTableDirective, SpinnerComponent, State, StatusBadgeComponent, SvgUrlIconComponent, SwitchComponent, TableCustomComponent, TableResizableColumnsDirective, TemplateResolverArrayUtil, TemplateResolverFormat, TextAreaInputComponent, TextInputComponent, ThemeService, TimePickerComponent, ToastComponent, ToastService, ToasterComponent, TooltipDirective, UnsavedAwareDirective, arrayToCSV, arrayToSeparator, arrayToSpaceSeparator, deepEqual, defaultErrors, defaultSignalFormErrors, getDynamicTypeStructure, getSignalButtonClasses, getSignalButtonIconClasses, getSignalButtonSpinnerBorderClass, getSignalFieldErrorMessage, getSignalValidationErrorMessage, isDynamicType, isValid, jsonEqual, jwtDecode, mmddyyyyDateValidatorAsync, onlyFutureDateValidator, onlyPastDateValidator, openLink, phoneNumbers, phoneNumbersAll, printInvalidFields, provideNglConfig, resolveTemplateWithObject, toSentenceCase, validateSignalForm };
|
|
3552
|
-
export type { ActionConfig, BadgeConfig, BadgeConfigProperty, BaseStateImpl, Breadcrumb, ColumnDef, ContainerRef, ContextMenuActionConfig, ContextMenuButtonAction, CustomRendererConfig, DateConfig, DateRangeEvent, IInfiniteScrollEvent, IPositionElements, IPositionStats, IResolver, IconAction, JwtDecodeOptions, JwtHeader, JwtPayload, NglButtonConfig, NglConfig, NglInputConfig, NglListResponseConfig, NglOverlayConfig, OverlayWizard, PaginationEvent, PaginationType, PagingEvent, PhoneNumber, Schema, SignalButtonAppearance, SignalButtonSize, SignalCheckboxSize, SignalDateFieldMobilePresentation, SignalDateFieldScrollBehavior, SignalDateFormat, SignalDatePickerUiMode, SignalDateRange, SignalDateRangeFieldMobilePresentation, SignalDateRangeFieldScrollBehavior, SignalDropdownMobilePresentation, SignalDropdownScrollBehavior, SignalFormErrorMap, SignalFormErrorResolver, SignalFormValidatorsApi, SignalMultiSelectSelectionDisplay, SignalOtpMaskMode, SignalPhoneCountry, SignalRadioGroupOrientation, SignalRadioOption, SignalRadioSize, SignalSliderRange, SignalSwitchSize, SignalTimeFieldMobilePresentation, SignalTimeFieldScrollBehavior, SignalTimeFormat, SignalTimeValue, SignalValidatorAsyncConfig, SignalValidatorConfig, TableActionEvent, TableSortEvent, TableStateEvent, TextConfig, ThemeMode, TimePickerValue, TimePickerValueEvent, Weekday$1 as Weekday };
|
|
3563
|
+
export { AlertDialogComponent, AppErrorComponent, AppSvgIconComponent, BaseApiService, BaseControlValueAccessor, BaseControlValueAccessorV2, BaseControlValueAccessorV3, BaseInputComponent, BaseOverlayComponent, BaseSignalInput, BaseTableComponent, BreadcrumbComponent, ButtonComponent, CheckboxComponent, ClickOutsideDirective, CloseButtonComponent, ColorConverterService, ColorFormats, ColorPickerComponent, ColorPickerDirective, ContextMenuButtonComponent, ContextMenuIconComponent, DEFAULT_NGL_BUTTON_CONFIG, DEFAULT_NGL_INPUT_CONFIG, DEFAULT_NGL_LIST_RESPONSE, DEFAULT_NGL_OVERLAY_CONFIG, DEFAULT_NGL_PAGINATION_CONFIG, DEFAULT_PHONE_COUNTRIES, DataTableComponent, DateInputComponent, DatePickerComponent, DatePickerOverlayComponent, DateRangePickerComponent, DateUtils, DropdownComponent, DynamicRendererComponent, EnvBannerComponent, FORM_ERRORS, FileUploaderComponent, FormValidationUtils, HumanizeFormMessagesPipe, InfiniteScrollDirective, InfiniteScrollModule, InputDateFormat, InvalidControlScrollContainerDirective, InvalidControlScrollDirective, InvalidTokenError, ListviewComponent, LoaderComponent, LoaderService, MultiSelectDropdownAppearance, MultiSelectDropdownComponent, MultiSelectionFieldComponent, NGL_CONFIG, NetworkImageComponent, NglService, NoDataComponent, NoDataTableComponent, NumberInputComponent, OpenFloatingMenuDirective, OverlayContextMenuComponent, OverlayService, OverlayWizardUtils, PaginationComponent, PaginationState, PhoneNumberInputComponent, RadioButtonComponent, RequestState, ResizableColumnDirective, ResponsiveHelperComponent, SIGNAL_FORM_ERRORS, SharedConstants, ShimmerComponent, SignalButton, SignalCheckbox, SignalColorField, SignalDataTableComponent, SignalDateField, SignalDatePicker, SignalDateRangeField, SignalDateRangePicker, SignalDropdown, SignalError, SignalFormDirective, SignalFormValidators, SignalMultiSelectDropdown, SignalNumberField, SignalOtpField, SignalPhoneNumberField, SignalRadio, SignalRadioGroup, SignalRangeSlider, SignalRating, SignalSlider, SignalSwitch, SignalTextField, SignalTextarea, SignalTimeField, SignalTimePicker, SingleItemPickerInputComponent, SingleSelectionFieldComponent, SortableTableDirective, SpinnerComponent, State, StatusBadgeComponent, SvgUrlIconComponent, SwitchComponent, TableCustomComponent, TableResizableColumnsDirective, TemplateResolverArrayUtil, TemplateResolverFormat, TextAreaInputComponent, TextInputComponent, ThemeService, TimePickerComponent, ToastComponent, ToastService, ToasterComponent, TooltipDirective, UnsavedAwareDirective, arrayToCSV, arrayToSeparator, arrayToSpaceSeparator, deepEqual, defaultErrors, defaultSignalFormErrors, getDynamicTypeStructure, getSignalButtonClasses, getSignalButtonIconClasses, getSignalButtonSpinnerBorderClass, getSignalFieldErrorMessage, getSignalValidationErrorMessage, isDynamicType, isValid, jsonEqual, jwtDecode, mmddyyyyDateValidatorAsync, onlyFutureDateValidator, onlyPastDateValidator, openLink, phoneNumbers, phoneNumbersAll, printInvalidFields, provideNglConfig, resolveTemplateWithObject, toSentenceCase, validateSignalForm };
|
|
3564
|
+
export type { ActionConfig, BadgeConfig, BadgeConfigProperty, BaseStateImpl, Breadcrumb, ColumnDef, ContainerRef, ContextMenuActionConfig, ContextMenuButtonAction, CustomRendererConfig, DateConfig, DateRangeEvent, IInfiniteScrollEvent, IPositionElements, IPositionStats, IResolver, IconAction, JwtDecodeOptions, JwtHeader, JwtPayload, NglButtonConfig, NglConfig, NglInputConfig, NglListResponseConfig, NglOverlayConfig, NglPaginationConfig, OverlayWizard, PaginationEvent, PaginationType, PagingEvent, PhoneNumber, Schema, SignalButtonAppearance, SignalButtonSize, SignalCheckboxSize, SignalDateFieldMobilePresentation, SignalDateFieldScrollBehavior, SignalDateFormat, SignalDatePickerUiMode, SignalDateRange, SignalDateRangeFieldMobilePresentation, SignalDateRangeFieldScrollBehavior, SignalDropdownMobilePresentation, SignalDropdownScrollBehavior, SignalFormErrorMap, SignalFormErrorResolver, SignalFormValidatorsApi, SignalMultiSelectSelectionDisplay, SignalOtpMaskMode, SignalPhoneCountry, SignalRadioGroupOrientation, SignalRadioOption, SignalRadioSize, SignalSliderRange, SignalSwitchSize, SignalTimeFieldMobilePresentation, SignalTimeFieldScrollBehavior, SignalTimeFormat, SignalTimeValue, SignalValidatorAsyncConfig, SignalValidatorConfig, TableActionEvent, TableSortEvent, TableStateEvent, TextConfig, ThemeMode, TimePickerValue, TimePickerValueEvent, Weekday$1 as Weekday };
|