@stemy/ngx-utils 19.9.25 → 19.9.27
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/stemy-ngx-utils.mjs +54 -32
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +1 -1
- package/ngx-utils/components/btn/btn.component.d.ts +2 -2
- package/ngx-utils/components/tabs/tabs.component.d.ts +2 -4
- package/ngx-utils/ngx-utils.imports.d.ts +3 -2
- package/ngx-utils/services/href-serializer.d.ts +15 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { UrlTree } from "@angular/router";
|
|
2
3
|
import { ButtonProps, ButtonSize, ButtonType } from "../../common-types";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BtnComponent {
|
|
@@ -6,14 +7,13 @@ export declare class BtnComponent {
|
|
|
6
7
|
readonly tooltip: import("@angular/core").InputSignal<string>;
|
|
7
8
|
readonly icon: import("@angular/core").InputSignal<string>;
|
|
8
9
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
readonly path: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly path: import("@angular/core").InputSignal<string | UrlTree>;
|
|
10
11
|
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
11
12
|
readonly size: import("@angular/core").InputSignal<ButtonSize>;
|
|
12
13
|
readonly buttonType: import("@angular/core").Type<ButtonProps>;
|
|
13
14
|
readonly element: ElementRef<HTMLElement>;
|
|
14
15
|
readonly buttonProps: import("@angular/core").Signal<ButtonProps>;
|
|
15
16
|
contains(target: EventTarget): boolean;
|
|
16
|
-
onBtnClick(event: MouseEvent): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BtnComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<BtnComponent, "btn", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { Router
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
3
|
import { AsyncMethod, ButtonSize, ButtonType, TabOption, TabValue } from "../../common-types";
|
|
4
4
|
import { TabsItemDirective } from "../../directives/tabs-item.directive";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface ExtendedTabOption extends
|
|
6
|
+
export interface ExtendedTabOption extends TabOption {
|
|
7
7
|
active?: boolean;
|
|
8
8
|
template?: TemplateRef<any>;
|
|
9
9
|
className?: string;
|
|
10
|
-
path?: string;
|
|
11
10
|
}
|
|
12
11
|
export declare class TabsComponent {
|
|
13
|
-
readonly urlSerializer: UrlSerializer;
|
|
14
12
|
readonly router: Router;
|
|
15
13
|
readonly value: import("@angular/core").ModelSignal<TabValue>;
|
|
16
14
|
readonly options: import("@angular/core").InputSignal<TabOption[]>;
|
|
@@ -12,6 +12,7 @@ import { ErrorHandlerService } from "./services/error-handler.service";
|
|
|
12
12
|
import { EventsService } from "./services/events.service";
|
|
13
13
|
import { FormatterService } from "./services/formatter.service";
|
|
14
14
|
import { GlobalTemplateService } from "./services/global-template.service";
|
|
15
|
+
import { HrefSerializer } from "./services/href-serializer";
|
|
15
16
|
import { IconService } from "./services/icon.service";
|
|
16
17
|
import { PromiseService } from "./services/promise.service";
|
|
17
18
|
import { SocketService } from "./services/socket.service";
|
|
@@ -65,9 +66,9 @@ import { UnorderedListComponent } from "./components/unordered-list/unordered-li
|
|
|
65
66
|
import { UploadComponent } from "./components/upload/upload.component";
|
|
66
67
|
import { WysiwygComponent } from "./components/wysiwyg/wysiwyg.component";
|
|
67
68
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe)[];
|
|
68
|
-
export declare const directives: (typeof
|
|
69
|
+
export declare const directives: (typeof AsyncMethodBase | typeof AsyncMethodDirective | typeof AsyncMethodTargetDirective | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof DropdownToggleDirective | typeof TabsItemDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
69
70
|
export declare const components: (typeof ChipsComponent | typeof CloseBtnComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent | typeof WysiwygComponent)[];
|
|
70
|
-
export declare const providers: (typeof UniversalService | typeof
|
|
71
|
+
export declare const providers: (typeof HrefSerializer | typeof UniversalService | typeof StateService | typeof AuthGuard | typeof EventsService | typeof AclService | typeof BaseHttpClient | typeof StorageService | typeof CacheService | typeof BaseHttpService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof BaseToasterService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof SocketService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
|
|
71
72
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
72
73
|
useClass: typeof DragDropEventPlugin;
|
|
73
74
|
multi: boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { UrlSerializer, UrlTree } from "@angular/router";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HrefSerializer {
|
|
5
|
+
readonly baseHref: string;
|
|
6
|
+
readonly urlSerializer: UrlSerializer;
|
|
7
|
+
get count(): number;
|
|
8
|
+
get onChanged(): EventEmitter<number>;
|
|
9
|
+
protected promiseCount: number;
|
|
10
|
+
protected readonly promiseChanged: EventEmitter<number>;
|
|
11
|
+
constructor(baseHref: string, urlSerializer: UrlSerializer);
|
|
12
|
+
serialize(url: UrlTree | string): string;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HrefSerializer, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HrefSerializer>;
|
|
15
|
+
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export { ErrorHandlerService } from "./ngx-utils/services/error-handler.service"
|
|
|
45
45
|
export { EventsService } from "./ngx-utils/services/events.service";
|
|
46
46
|
export { FormatterService } from "./ngx-utils/services/formatter.service";
|
|
47
47
|
export { GlobalTemplateService } from "./ngx-utils/services/global-template.service";
|
|
48
|
+
export { HrefSerializer } from "./ngx-utils/services/href-serializer";
|
|
48
49
|
export { IconService } from "./ngx-utils/services/icon.service";
|
|
49
50
|
export { LanguageService } from "./ngx-utils/services/language.service";
|
|
50
51
|
export { LocalHttpService } from "./ngx-utils/services/local-http.service";
|