@abp/ng.theme.shared 8.3.1 → 9.0.0-rc.1
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/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/password/password.component.mjs +2 -2
- package/esm2022/lib/components/spinner/spinner.component.mjs +27 -0
- package/esm2022/lib/components/toast/toast.component.mjs +8 -8
- package/esm2022/lib/directives/ngx-datatable-default.directive.mjs +1 -1
- package/esm2022/lib/directives/ngx-datatable-list.directive.mjs +54 -5
- package/esm2022/lib/tokens/http-error.token.mjs +2 -2
- package/esm2022/lib/tokens/ngx-datatable-messages.token.mjs +2 -1
- package/fesm2022/abp-ng.theme.shared.mjs +88 -15
- package/fesm2022/abp-ng.theme.shared.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/password/password.component.d.ts +1 -1
- package/lib/components/spinner/spinner.component.d.ts +5 -0
- package/lib/directives/ngx-datatable-list.directive.d.ts +7 -2
- package/lib/tokens/http-error.token.d.ts +1 -1
- package/lib/tokens/ngx-datatable-messages.token.d.ts +2 -0
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { AbstractNgModelComponent } from '@abp/ng.core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated use ShowPasswordDirective directive
|
|
5
|
-
* https://
|
|
5
|
+
* https://abp.io/docs/latest/framework/ui/angular/show-password-directive
|
|
6
6
|
*/
|
|
7
7
|
export declare class PasswordComponent extends AbstractNgModelComponent {
|
|
8
8
|
inputId: string;
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnInit, DoCheck, SimpleChanges, DestroyRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, DoCheck, SimpleChanges, DestroyRef, ViewContainerRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
3
3
|
import { ListService, LocalizationService } from '@abp/ng.core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NgxDatatableListDirective implements OnChanges, OnInit, DoCheck {
|
|
6
|
-
list: ListService;
|
|
7
6
|
protected readonly table: DatatableComponent;
|
|
8
7
|
protected readonly cdRef: ChangeDetectorRef;
|
|
9
8
|
protected readonly destroyRef: DestroyRef;
|
|
10
9
|
protected readonly localizationService: LocalizationService;
|
|
11
10
|
protected readonly ngxDatatableMessages: Partial<import("../tokens/ngx-datatable-messages.token").NgxDatatableMessages>;
|
|
11
|
+
protected readonly viewContainerRef: ViewContainerRef;
|
|
12
|
+
protected readonly renderer: Renderer2;
|
|
13
|
+
list: ListService;
|
|
12
14
|
constructor();
|
|
13
15
|
ngDoCheck(): void;
|
|
14
16
|
ngOnInit(): void;
|
|
15
17
|
ngOnChanges({ list }: SimpleChanges): void;
|
|
18
|
+
protected subscribeToRequestStatus(): void;
|
|
19
|
+
protected updateLoadingIndicator(): void;
|
|
20
|
+
protected replaceLoadingIndicator(parent: Element, placeholder: Element): void;
|
|
16
21
|
protected setInitialValues(): void;
|
|
17
22
|
protected subscribeToSort(): void;
|
|
18
23
|
protected subscribeToPage(): void;
|
|
@@ -2,7 +2,7 @@ import { InjectionToken } from '@angular/core';
|
|
|
2
2
|
import { CustomHttpErrorHandlerService, HttpErrorConfig, HttpErrorHandler } from '../models/common';
|
|
3
3
|
export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
|
|
4
4
|
/**
|
|
5
|
-
@deprecated use **`CUSTOM_ERROR_HANDLERS`** injection token instead of this, see more info https://
|
|
5
|
+
@deprecated use **`CUSTOM_ERROR_HANDLERS`** injection token instead of this, see more info https://abp.io/docs/latest/framework/ui/angular/http-requests
|
|
6
6
|
*/
|
|
7
7
|
export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
|
|
8
8
|
export declare const CUSTOM_ERROR_HANDLERS: InjectionToken<CustomHttpErrorHandlerService[]>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
export interface NgxDatatableMessages {
|
|
3
3
|
emptyMessage: string;
|
|
4
|
+
errorMessage: string;
|
|
4
5
|
totalMessage: string;
|
|
5
6
|
selectedMessage: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const defaultNgxDatatableMessages: {
|
|
8
9
|
emptyMessage: string;
|
|
10
|
+
errorMessage: string;
|
|
9
11
|
totalMessage: string;
|
|
10
12
|
selectedMessage: string;
|
|
11
13
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.theme.shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-rc.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/abpframework/abp.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@abp/ng.core": "~
|
|
10
|
+
"@abp/ng.core": "~9.0.0-rc.1",
|
|
11
11
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
12
12
|
"@ng-bootstrap/ng-bootstrap": "~16.0.0",
|
|
13
13
|
"@ngx-validate/core": "^0.2.0",
|