@processpuzzle/widgets 0.1.2 → 0.2.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/processpuzzle-widgets-mat-cards-grid.mjs +3 -3
- package/fesm2022/processpuzzle-widgets-mat-cards-grid.mjs.map +1 -1
- package/fesm2022/processpuzzle-widgets.mjs +101 -108
- package/fesm2022/processpuzzle-widgets.mjs.map +1 -1
- package/package.json +20 -11
- package/types/processpuzzle-widgets-mat-cards-grid.d.ts +29 -0
- package/types/processpuzzle-widgets.d.ts +233 -0
- package/app-property/app-property-store.provider.d.ts +0 -2
- package/app-property/app-property.d.ts +0 -10
- package/app-property/app-property.mapper.d.ts +0 -6
- package/app-property/app-property.service.d.ts +0 -7
- package/app-property/app-property.store.d.ts +0 -64
- package/index.d.ts +0 -5
- package/language-selector/language-config.d.ts +0 -9
- package/language-selector/language-selector-list.component.d.ts +0 -12
- package/language-selector/language-selector.component.d.ts +0 -9
- package/language-selector/transloco.loader.d.ts +0 -11
- package/like-button/like-button.component.d.ts +0 -77
- package/mat-cards-grid/index.d.ts +0 -5
- package/mat-cards-grid/public-api.d.ts +0 -3
- package/mat-cards-grid/src/action-spec.d.ts +0 -7
- package/mat-cards-grid/src/cards-spec.d.ts +0 -8
- package/mat-cards-grid/src/mat-cards-grid.component.d.ts +0 -10
- package/navigate-back/navigate-back.component.d.ts +0 -8
- package/navigate-back/navigate-back.service.d.ts +0 -14
- package/public-api.d.ts +0 -13
- package/share-button/share-button.component.d.ts +0 -9
- package/share-button/share-button.module.d.ts +0 -6
- package/widgets.module.d.ts +0 -7
- package/widgets.routes.d.ts +0 -2
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ApplicationProperty } from '../app-property/app-property';
|
|
2
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LikeButtonComponent {
|
|
5
|
-
private readonly snackBar;
|
|
6
|
-
private readonly LIKES_PROPERTY;
|
|
7
|
-
likesCount: import("@angular/core").Signal<ApplicationProperty | undefined>;
|
|
8
|
-
readonly store: {
|
|
9
|
-
entities: import("@angular/core").Signal<ApplicationProperty[]>;
|
|
10
|
-
page: import("@angular/core").Signal<number>;
|
|
11
|
-
pageSize: import("@angular/core").Signal<number>;
|
|
12
|
-
totalPageCount: import("@angular/core").Signal<number>;
|
|
13
|
-
currentId: import("@angular/core").Signal<string | undefined>;
|
|
14
|
-
currentEntity: import("@angular/core").Signal<ApplicationProperty | undefined>;
|
|
15
|
-
isLoading: import("@angular/core").Signal<boolean>;
|
|
16
|
-
error: import("@angular/core").Signal<string | undefined>;
|
|
17
|
-
selectedEntities: import("@angular/core").Signal<ApplicationProperty[]>;
|
|
18
|
-
activeRouteSegment: import("@angular/core").Signal<import("dist/libs/base-entity/lib/base-form-navigator/base-form-navigator.store").RouteSegments>;
|
|
19
|
-
entityName: import("@angular/core").Signal<string>;
|
|
20
|
-
navigationError?: import("@angular/core").Signal<string | undefined> | undefined;
|
|
21
|
-
navigateTo: import("@angular/core").Signal<string>;
|
|
22
|
-
returnTo: import("@angular/core").Signal<string>;
|
|
23
|
-
activeTabs: import("@angular/core").Signal<string[]>;
|
|
24
|
-
currentTab: import("@angular/core").Signal<string | undefined>;
|
|
25
|
-
filterKey: import("@angular/core").Signal<string | undefined>;
|
|
26
|
-
countOfEntities: import("@angular/core").Signal<number>;
|
|
27
|
-
matTableDataSource: import("@angular/core").Signal<import("@angular/material/table").MatTableDataSource<ApplicationProperty, import("@angular/material/paginator.d-DuJ-oYgT").M>>;
|
|
28
|
-
clearCurrentEntity: () => void;
|
|
29
|
-
createEntity: () => ApplicationProperty;
|
|
30
|
-
add: import("@ngrx/signals/rxjs-interop").RxMethod<ApplicationProperty>;
|
|
31
|
-
delete: import("@ngrx/signals/rxjs-interop").RxMethod<string>;
|
|
32
|
-
deleteAll: import("@ngrx/signals/rxjs-interop").RxMethod<void>;
|
|
33
|
-
deselectAll: () => void;
|
|
34
|
-
deselectEntity: (id: string) => void;
|
|
35
|
-
load: import("@ngrx/signals/rxjs-interop").RxMethod<import("@processpuzzle/base-entity").BaseEntityQueryCondition>;
|
|
36
|
-
loadById: (id: string) => ApplicationProperty | undefined;
|
|
37
|
-
resetErrorState: () => void;
|
|
38
|
-
selectEntity: (id: string) => void;
|
|
39
|
-
setCurrentEntity: (id: string) => void;
|
|
40
|
-
update: import("@ngrx/signals/rxjs-interop").RxMethod<ApplicationProperty>;
|
|
41
|
-
determineCurrentUrl: () => string;
|
|
42
|
-
determineActiveRouteSegment: () => void;
|
|
43
|
-
navigateBack: (defaultUrl?: string) => Promise<void>;
|
|
44
|
-
navigateToDetails: (id: string, returnTo?: string) => Promise<void>;
|
|
45
|
-
navigateToList: (returnTo?: string) => Promise<void>;
|
|
46
|
-
navigateToRelated: (relatedTypeName: string, id: string, returnTo?: string) => Promise<void>;
|
|
47
|
-
navigateToUrl: (url: string, returnTo?: string) => Promise<void>;
|
|
48
|
-
reset: () => void;
|
|
49
|
-
tabIsActive: (tabName: string) => void;
|
|
50
|
-
tabIsInactive: (tabName: string) => void;
|
|
51
|
-
doFilter: (filterKey: string) => void;
|
|
52
|
-
} & import("@ngrx/signals").StateSource<{
|
|
53
|
-
entities: ApplicationProperty[];
|
|
54
|
-
page: number;
|
|
55
|
-
pageSize: number;
|
|
56
|
-
totalPageCount: number;
|
|
57
|
-
currentId: string | undefined;
|
|
58
|
-
currentEntity: ApplicationProperty | undefined;
|
|
59
|
-
isLoading: boolean;
|
|
60
|
-
error: string | undefined;
|
|
61
|
-
selectedEntities: ApplicationProperty[];
|
|
62
|
-
activeRouteSegment: import("dist/libs/base-entity/lib/base-form-navigator/base-form-navigator.store").RouteSegments;
|
|
63
|
-
entityName: string;
|
|
64
|
-
navigationError?: string | undefined | undefined;
|
|
65
|
-
navigateTo: string;
|
|
66
|
-
returnTo: string;
|
|
67
|
-
activeTabs: string[];
|
|
68
|
-
currentTab: string | undefined;
|
|
69
|
-
filterKey: string | undefined;
|
|
70
|
-
}>;
|
|
71
|
-
constructor(snackBar: MatSnackBar);
|
|
72
|
-
onLike(): void;
|
|
73
|
-
private configureEffects;
|
|
74
|
-
private showErrorMessage;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LikeButtonComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LikeButtonComponent, "pp-like-button", never, {}, {}, never, never, true, never>;
|
|
77
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CardsGridSpec } from './cards-spec';
|
|
2
|
-
import { LayoutService } from '@processpuzzle/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MatCardsGridComponent {
|
|
5
|
-
cards: CardsGridSpec[];
|
|
6
|
-
readonly layoutService: LayoutService;
|
|
7
|
-
hasValue(textValue: string | Array<string>): boolean;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardsGridComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCardsGridComponent, "mat-cards-grid", never, { "cards": { "alias": "cards"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NavigateBackService } from './navigate-back.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NavigateBackComponent {
|
|
4
|
-
readonly service: NavigateBackService;
|
|
5
|
-
onNavigateBack(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateBackComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigateBackComponent, "pp-navigate-back", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Stack } from '@processpuzzle/util';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavigateBackService {
|
|
5
|
-
private readonly router;
|
|
6
|
-
private readonly routeHistory;
|
|
7
|
-
constructor(router: Router);
|
|
8
|
-
goBack(): void;
|
|
9
|
-
getRouteStack(): Stack<string>;
|
|
10
|
-
clearHistory(): void;
|
|
11
|
-
private addRouteToStack;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateBackService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigateBackService>;
|
|
14
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { ApplicationProperty } from './app-property/app-property';
|
|
2
|
-
export { ApplicationPropertyStore } from './app-property/app-property.store';
|
|
3
|
-
export { LanguageConfig, LanguageDefinition } from './language-selector/language-config';
|
|
4
|
-
export { LanguageSelectorComponent } from './language-selector/language-selector.component';
|
|
5
|
-
export { LikeButtonComponent } from './like-button/like-button.component';
|
|
6
|
-
export { NavigateBackComponent } from './navigate-back/navigate-back.component';
|
|
7
|
-
export { NavigateBackService } from './navigate-back/navigate-back.service';
|
|
8
|
-
export { provideAppPropertyStore } from './app-property/app-property-store.provider';
|
|
9
|
-
export { ShareButtonComponent } from './share-button/share-button.component';
|
|
10
|
-
export { ShareButtonModule } from './share-button/share-button.module';
|
|
11
|
-
export { TranslocoHttpLoader } from './language-selector/transloco.loader';
|
|
12
|
-
export { WidgetsModule } from './widgets.module';
|
|
13
|
-
export { widgetsRoutes } from './widgets.routes';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ShareButtonComponent {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose(): void;
|
|
5
|
-
onShare(): void;
|
|
6
|
-
private toggleIsOpen;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShareButtonComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShareButtonComponent, "pp-share-button", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ShareButtonModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShareButtonModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ShareButtonModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ShareButtonModule>;
|
|
6
|
-
}
|
package/widgets.module.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@jsverse/transloco";
|
|
3
|
-
export declare class WidgetsModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetsModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetsModule, never, [typeof i1.TranslocoModule], [typeof i1.TranslocoModule]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetsModule>;
|
|
7
|
-
}
|
package/widgets.routes.d.ts
DELETED