dolfo-angular 1.232.0 → 1.233.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/package.json
CHANGED
package/types/dolfo-angular.d.ts
CHANGED
|
@@ -113,9 +113,10 @@ interface GridAction {
|
|
|
113
113
|
readonly color?: ButtonColor;
|
|
114
114
|
readonly onClick: () => void;
|
|
115
115
|
}
|
|
116
|
+
type BooleanFn = () => boolean;
|
|
116
117
|
interface GridToolbarButton {
|
|
117
118
|
readonly label: string;
|
|
118
|
-
readonly disabled?: boolean |
|
|
119
|
+
readonly disabled?: boolean | BooleanFn;
|
|
119
120
|
readonly icon?: string;
|
|
120
121
|
readonly onClick: () => void;
|
|
121
122
|
}
|
|
@@ -869,7 +870,7 @@ declare class GridComponent<T> {
|
|
|
869
870
|
private sanitizer;
|
|
870
871
|
resolveField: (item: T, { field, formatter, dataType, onLink }: GridColumn) => _angular_platform_browser.SafeHtml;
|
|
871
872
|
checkLink: (e: Event, col: GridColumn, item: T, cell: HTMLTableCellElement) => void;
|
|
872
|
-
isToolbarBtnDisabled: (disabled: boolean |
|
|
873
|
+
isToolbarBtnDisabled: (disabled: boolean | BooleanFn) => boolean;
|
|
873
874
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent<any>, never>;
|
|
874
875
|
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent<any>, "dolfo-grid", never, { "config": { "alias": "config"; "required": true; }; }, {}, never, never, false, never>;
|
|
875
876
|
}
|
|
@@ -885,4 +886,4 @@ declare const authInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn)
|
|
|
885
886
|
declare const errorInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn) => rxjs.Observable<_angular_common_http.HttpEvent<unknown>>;
|
|
886
887
|
|
|
887
888
|
export { AutocompleteComponent, BaseAppComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DialogUtilsService, DirectivesModule, FormComponent, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, MAX_DEVICE_SIZE, MAX_SMALL_DEVICE, NavigateDirective, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ROUTE_CHECK_SERVICE, RouteCheckService, RouteConfig, ScrollDragDirective, StorageValues, StoreService, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, authInterceptor, errorInterceptor, isDeepEqual, passwordValidator, provideDolfoLanguages, samePasswordValidator };
|
|
888
|
-
export type { AutocompleteConfig, ButtonColor, ButtonSize, CheckRoute, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, GridToolbarButton, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, IStore, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, TooltipDirection };
|
|
889
|
+
export type { AutocompleteConfig, BooleanFn, ButtonColor, ButtonSize, CheckRoute, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, GridToolbarButton, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, IStore, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, TooltipDirection };
|