spiderly 19.0.1 → 19.0.2
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/spiderly.mjs +4612 -0
- package/fesm2022/spiderly.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/auth/login/login.component.d.ts +35 -0
- package/lib/components/auth/partials/auth.component.d.ts +21 -0
- package/lib/components/auth/partials/login-verification.component.d.ts +18 -0
- package/lib/components/auth/partials/registration-verification.component.d.ts +17 -0
- package/lib/components/auth/partials/verification-wrapper.component.d.ts +31 -0
- package/lib/components/auth/registration/registration.component.d.ts +34 -0
- package/lib/components/base-details/role-base-details.component.d.ts +50 -0
- package/lib/components/base-form/base-form copy.d.ts +54 -0
- package/lib/components/card-skeleton/card-skeleton.component.d.ts +12 -0
- package/lib/components/footer/footer.component.d.ts +9 -0
- package/lib/components/index-card/index-card.component.d.ts +22 -0
- package/lib/components/info-card/info-card.component.d.ts +11 -0
- package/lib/components/layout/layout-base.component.d.ts +37 -0
- package/lib/components/layout/sidebar/menuitem.component.d.ts +43 -0
- package/lib/components/layout/sidebar/sidebar-menu.component.d.ts +23 -0
- package/lib/components/layout/sidebar/sidebar-menu.service.d.ts +12 -0
- package/lib/components/layout/sidebar/sidebar.component.d.ts +11 -0
- package/lib/components/layout/topbar/topbar.component.d.ts +45 -0
- package/lib/components/not-found/not-found.component.d.ts +9 -0
- package/lib/components/required/required.component.d.ts +6 -0
- package/lib/components/spiderly-buttons/google-button/google-button.component.d.ts +17 -0
- package/lib/components/spiderly-buttons/return-button/return-button.component.d.ts +10 -0
- package/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.d.ts +6 -0
- package/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.d.ts +27 -0
- package/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.d.ts +8 -0
- package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +157 -0
- package/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.d.ts +11 -0
- package/lib/components/spiderly-form-control/spiderly-form-control.d.ts +37 -0
- package/lib/components/spiderly-panels/panel-body/panel-body.component.d.ts +9 -0
- package/lib/components/spiderly-panels/panel-footer/panel-footer.component.d.ts +8 -0
- package/lib/components/spiderly-panels/panel-header/panel-header.component.d.ts +29 -0
- package/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.d.ts +10 -0
- package/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.d.ts +25 -0
- package/lib/components/spiderly-panels/spiderly-panels.module.d.ts +13 -0
- package/lib/controls/base-autocomplete-control.d.ts +9 -0
- package/lib/controls/base-control.d.ts +23 -0
- package/lib/controls/base-dropdown-control.d.ts +18 -0
- package/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.d.ts +18 -0
- package/lib/controls/spiderly-calendar/spiderly-calendar.component.d.ts +13 -0
- package/lib/controls/spiderly-checkbox/spiderly-checkbox.component.d.ts +14 -0
- package/lib/controls/spiderly-colorpick/spiderly-colorpick.component.d.ts +11 -0
- package/lib/controls/spiderly-controls.module.d.ts +22 -0
- package/lib/controls/spiderly-dropdown/spiderly-dropdown.component.d.ts +14 -0
- package/lib/controls/spiderly-editor/spiderly-editor.component.d.ts +16 -0
- package/lib/controls/spiderly-file/spiderly-file.component.d.ts +36 -0
- package/lib/controls/spiderly-multiautocomplete/spiderly-multiautocomplete.component.d.ts +13 -0
- package/lib/controls/spiderly-multiselect/spiderly-multiselect.component.d.ts +11 -0
- package/lib/controls/spiderly-number/spiderly-number.component.d.ts +15 -0
- package/lib/controls/spiderly-password/spiderly-password.component.d.ts +12 -0
- package/lib/controls/spiderly-textarea/spiderly-textarea.component.d.ts +11 -0
- package/lib/controls/spiderly-textbox/spiderly-textbox.component.d.ts +15 -0
- package/lib/entities/base-entity.d.ts +14 -0
- package/lib/entities/codebook.d.ts +9 -0
- package/lib/entities/init-company-auth-dialog-details.d.ts +9 -0
- package/lib/entities/init-top-bar-data.d.ts +16 -0
- package/lib/entities/is-authorized-for-save-event.d.ts +9 -0
- package/lib/entities/last-menu-icon-index-clicked.d.ts +7 -0
- package/lib/entities/lazy-load-selected-ids-result.d.ts +9 -0
- package/{src/lib/entities/menuchangeevent.ts → lib/entities/menuchangeevent.d.ts} +4 -4
- package/lib/entities/mime-type.d.ts +11 -0
- package/lib/entities/namebook.d.ts +9 -0
- package/lib/entities/primeng-option.d.ts +9 -0
- package/lib/entities/security-entities.d.ts +211 -0
- package/lib/entities/simple-save-result.d.ts +7 -0
- package/lib/entities/spiderly-button.d.ts +13 -0
- package/{src/lib/entities/table-filter-context.ts → lib/entities/table-filter-context.d.ts} +5 -6
- package/lib/entities/table-filter-sort-meta.d.ts +4 -0
- package/{src/lib/entities/table-filter.ts → lib/entities/table-filter.d.ts} +23 -48
- package/lib/entities/table-response.d.ts +4 -0
- package/lib/enums/security-enums.d.ts +22 -0
- package/lib/enums/verification-type-codes.d.ts +4 -0
- package/lib/guards/auth.guard.d.ts +15 -0
- package/lib/guards/not-auth.guard.d.ts +12 -0
- package/lib/handlers/spiderly-error-handler.d.ts +14 -0
- package/lib/handlers/spiderly-transloco-fallback-strategy.d.ts +13 -0
- package/lib/interceptors/http-loading.interceptor.d.ts +2 -0
- package/lib/interceptors/json-parser.interceptor.d.ts +2 -0
- package/lib/interceptors/jwt.interceptor.d.ts +2 -0
- package/lib/interceptors/unauthorized.interceptor.d.ts +2 -0
- package/lib/modules/core.module.d.ts +2 -0
- package/lib/modules/primeng.module.d.ts +42 -0
- package/lib/modules/spiderly-transloco.module.d.ts +15 -0
- package/lib/services/api.service.security.d.ts +35 -0
- package/lib/services/app-initializer.d.ts +4 -0
- package/lib/services/app-layout-base.service.d.ts +60 -0
- package/lib/services/auth-base.service.d.ts +55 -0
- package/lib/services/base-form.service.d.ts +27 -0
- package/lib/services/config-base.service.d.ts +24 -0
- package/lib/services/helper-functions.d.ts +37 -0
- package/lib/services/spiderly-message.service.d.ts +17 -0
- package/lib/services/spiderly-transloco-loader.d.ts +10 -0
- package/lib/services/translate-labels-abstract.service.d.ts +7 -0
- package/lib/services/validator-abstract.service.d.ts +13 -0
- package/package.json +66 -55
- package/{src/public-api.ts → public-api.d.ts} +91 -103
- package/eslint.config.js +0 -32
- package/ng-package.json +0 -10
- package/src/lib/components/auth/login/login.component.html +0 -25
- package/src/lib/components/auth/login/login.component.ts +0 -77
- package/src/lib/components/auth/partials/auth.component.html +0 -29
- package/src/lib/components/auth/partials/auth.component.ts +0 -60
- package/src/lib/components/auth/partials/login-verification.component.html +0 -2
- package/src/lib/components/auth/partials/login-verification.component.ts +0 -41
- package/src/lib/components/auth/partials/registration-verification.component.html +0 -1
- package/src/lib/components/auth/partials/registration-verification.component.ts +0 -41
- package/src/lib/components/auth/partials/verification-wrapper.component.html +0 -39
- package/src/lib/components/auth/partials/verification-wrapper.component.ts +0 -68
- package/src/lib/components/auth/registration/registration.component.html +0 -31
- package/src/lib/components/auth/registration/registration.component.ts +0 -77
- package/src/lib/components/base-details/role-base-details.component.html +0 -33
- package/src/lib/components/base-details/role-base-details.component.ts +0 -194
- package/src/lib/components/base-form/base-form copy.ts +0 -356
- package/src/lib/components/card-skeleton/card-skeleton.component.html +0 -8
- package/src/lib/components/card-skeleton/card-skeleton.component.ts +0 -21
- package/src/lib/components/footer/app.footer.component.ts +0 -17
- package/src/lib/components/footer/footer.component.html +0 -3
- package/src/lib/components/footer/footer.component.ts +0 -17
- package/src/lib/components/index-card/index-card.component.html +0 -15
- package/src/lib/components/index-card/index-card.component.ts +0 -48
- package/src/lib/components/info-card/info-card.component.html +0 -18
- package/src/lib/components/info-card/info-card.component.ts +0 -29
- package/src/lib/components/layout/layout-base.component.ts +0 -140
- package/src/lib/components/layout/sidebar/menuitem.component.html +0 -40
- package/src/lib/components/layout/sidebar/menuitem.component.ts +0 -179
- package/src/lib/components/layout/sidebar/sidebar-menu.component.html +0 -6
- package/src/lib/components/layout/sidebar/sidebar-menu.component.ts +0 -44
- package/src/lib/components/layout/sidebar/sidebar-menu.service.ts +0 -22
- package/src/lib/components/layout/sidebar/sidebar.component.html +0 -1
- package/src/lib/components/layout/sidebar/sidebar.component.ts +0 -20
- package/src/lib/components/layout/topbar/topbar.component.html +0 -64
- package/src/lib/components/layout/topbar/topbar.component.ts +0 -137
- package/src/lib/components/not-found/not-found.component.html +0 -27
- package/src/lib/components/not-found/not-found.component.ts +0 -22
- package/src/lib/components/required/required.component.html +0 -1
- package/src/lib/components/required/required.component.ts +0 -13
- package/src/lib/components/spiderly-buttons/google-button/google-button.component.html +0 -5
- package/src/lib/components/spiderly-buttons/google-button/google-button.component.ts +0 -53
- package/src/lib/components/spiderly-buttons/return-button/return-button.component.html +0 -3
- package/src/lib/components/spiderly-buttons/return-button/return-button.component.ts +0 -35
- package/src/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.html +0 -14
- package/src/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.ts +0 -27
- package/src/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.ts +0 -61
- package/src/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.html +0 -15
- package/src/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.ts +0 -24
- package/src/lib/components/spiderly-data-table/spiderly-data-table.component.html +0 -93
- package/src/lib/components/spiderly-data-table/spiderly-data-table.component.ts +0 -614
- package/src/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.html +0 -17
- package/src/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.ts +0 -39
- package/src/lib/components/spiderly-form-control/spiderly-form-control.ts +0 -60
- package/src/lib/components/spiderly-panels/panel-body/panel-body.component.html +0 -8
- package/src/lib/components/spiderly-panels/panel-body/panel-body.component.ts +0 -16
- package/src/lib/components/spiderly-panels/panel-footer/panel-footer.component.html +0 -8
- package/src/lib/components/spiderly-panels/panel-footer/panel-footer.component.ts +0 -15
- package/src/lib/components/spiderly-panels/panel-header/panel-header.component.html +0 -25
- package/src/lib/components/spiderly-panels/panel-header/panel-header.component.ts +0 -69
- package/src/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.html +0 -7
- package/src/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.ts +0 -17
- package/src/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.html +0 -40
- package/src/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.ts +0 -42
- package/src/lib/components/spiderly-panels/spiderly-panels.module.ts +0 -32
- package/src/lib/controls/base-autocomplete-control.ts +0 -17
- package/src/lib/controls/base-control.ts +0 -60
- package/src/lib/controls/base-dropdown-control.ts +0 -37
- package/src/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.html +0 -36
- package/src/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.ts +0 -56
- package/src/lib/controls/spiderly-calendar/spiderly-calendar.component.html +0 -21
- package/src/lib/controls/spiderly-calendar/spiderly-calendar.component.ts +0 -37
- package/src/lib/controls/spiderly-checkbox/spiderly-checkbox.component.html +0 -16
- package/src/lib/controls/spiderly-checkbox/spiderly-checkbox.component.ts +0 -38
- package/src/lib/controls/spiderly-colorpick/spiderly-colorpick.component.html +0 -33
- package/src/lib/controls/spiderly-colorpick/spiderly-colorpick.component.ts +0 -40
- package/src/lib/controls/spiderly-controls.module.ts +0 -61
- package/src/lib/controls/spiderly-dropdown/spiderly-dropdown.component.html +0 -27
- package/src/lib/controls/spiderly-dropdown/spiderly-dropdown.component.ts +0 -39
- package/src/lib/controls/spiderly-editor/spiderly-editor.component.html +0 -22
- package/src/lib/controls/spiderly-editor/spiderly-editor.component.ts +0 -58
- package/src/lib/controls/spiderly-file/spiderly-file.component.html +0 -54
- package/src/lib/controls/spiderly-file/spiderly-file.component.ts +0 -123
- package/src/lib/controls/spiderly-multiautocomplete/spiderly-multiautocomplete.component.html +0 -30
- package/src/lib/controls/spiderly-multiautocomplete/spiderly-multiautocomplete.component.ts +0 -38
- package/src/lib/controls/spiderly-multiselect/spiderly-multiselect.component.html +0 -23
- package/src/lib/controls/spiderly-multiselect/spiderly-multiselect.component.ts +0 -32
- package/src/lib/controls/spiderly-number/spiderly-number.component.html +0 -19
- package/src/lib/controls/spiderly-number/spiderly-number.component.ts +0 -37
- package/src/lib/controls/spiderly-password/spiderly-password.component.html +0 -17
- package/src/lib/controls/spiderly-password/spiderly-password.component.ts +0 -34
- package/src/lib/controls/spiderly-textarea/spiderly-textarea.component.html +0 -18
- package/src/lib/controls/spiderly-textarea/spiderly-textarea.component.ts +0 -32
- package/src/lib/controls/spiderly-textbox/spiderly-textbox.component.html +0 -23
- package/src/lib/controls/spiderly-textbox/spiderly-textbox.component.ts +0 -41
- package/src/lib/entities/base-entity.ts +0 -25
- package/src/lib/entities/codebook.ts +0 -23
- package/src/lib/entities/init-company-auth-dialog-details.ts +0 -22
- package/src/lib/entities/init-top-bar-data.ts +0 -35
- package/src/lib/entities/is-authorized-for-save-event.ts +0 -22
- package/src/lib/entities/last-menu-icon-index-clicked.ts +0 -18
- package/src/lib/entities/lazy-load-selected-ids-result.ts +0 -22
- package/src/lib/entities/mime-type.ts +0 -15
- package/src/lib/entities/namebook.ts +0 -22
- package/src/lib/entities/primeng-option.ts +0 -23
- package/src/lib/entities/readonly-object.ts +0 -1
- package/src/lib/entities/security-entities.ts +0 -548
- package/src/lib/entities/simple-save-result.ts +0 -19
- package/src/lib/entities/spiderly-button.ts +0 -30
- package/src/lib/entities/table-filter-sort-meta.ts +0 -5
- package/src/lib/entities/table-response.ts +0 -5
- package/src/lib/enums/security-enums.ts +0 -28
- package/src/lib/enums/verification-type-codes.ts +0 -5
- package/src/lib/guards/auth.guard.ts +0 -39
- package/src/lib/guards/not-auth.guard.ts +0 -32
- package/src/lib/handlers/spiderly-error-handler.ts +0 -32
- package/src/lib/handlers/spiderly-transloco-fallback-strategy.ts +0 -25
- package/src/lib/interceptors/http-loading.interceptor.ts +0 -21
- package/src/lib/interceptors/json-parser.interceptor.ts +0 -44
- package/src/lib/interceptors/jwt.interceptor.ts +0 -18
- package/src/lib/interceptors/unauthorized.interceptor.ts +0 -77
- package/src/lib/modules/core.module.ts +0 -22
- package/src/lib/modules/primeng.module.ts +0 -122
- package/src/lib/modules/spiderly-transloco.module.ts +0 -50
- package/src/lib/services/api.service.security.ts +0 -120
- package/src/lib/services/app-initializer.ts +0 -9
- package/src/lib/services/app-layout-base.service.ts +0 -184
- package/src/lib/services/auth-base.service.ts +0 -271
- package/src/lib/services/base-form.service.ts +0 -178
- package/src/lib/services/config-base.service.ts +0 -36
- package/src/lib/services/helper-functions.ts +0 -288
- package/src/lib/services/spiderly-message.service.ts +0 -66
- package/src/lib/services/spiderly-transloco-loader.ts +0 -15
- package/src/lib/services/translate-labels-abstract.service.ts +0 -13
- package/src/lib/services/validator-abstract.service.ts +0 -63
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/{src/lib → styles}/components/spiderly-data-table/spiderly-data-table.component.scss +0 -0
- /package/{src/lib → styles}/components/spiderly-panels/panel-footer/panel-footer.component.scss +0 -0
- /package/{src/lib → styles}/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_config.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_content.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_footer.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_main.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_menu.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_mixins.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_preloading.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_responsive.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_spiderly-controls.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_topbar.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_typography.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_utils.scss +0 -0
- /package/{src/lib → styles}/styles/layout/_variables.scss +0 -0
- /package/{src/lib → styles}/styles/layout/layout.scss +0 -0
- /package/{src/lib → styles}/styles/shared.scss +0 -0
- /package/{src/lib → styles}/styles/styles.scss +0 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { ChangeDetectorRef, KeyValueDiffers, OnInit } from '@angular/core';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
5
|
+
import { BaseFormCopy } from '../../base-form/base-form copy';
|
|
6
|
+
import { Login } from '../../../entities/security-entities';
|
|
7
|
+
import { SpiderlyFormGroup } from '../../spiderly-form-control/spiderly-form-control';
|
|
8
|
+
import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
|
|
9
|
+
import { BaseFormService } from '../../../services/base-form.service';
|
|
10
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
11
|
+
import { ConfigBaseService } from '../../../services/config-base.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class LoginComponent extends BaseFormCopy implements OnInit {
|
|
14
|
+
protected differs: KeyValueDiffers;
|
|
15
|
+
protected http: HttpClient;
|
|
16
|
+
protected messageService: SpiderlyMessageService;
|
|
17
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
18
|
+
protected router: Router;
|
|
19
|
+
protected route: ActivatedRoute;
|
|
20
|
+
protected translocoService: TranslocoService;
|
|
21
|
+
protected baseFormService: BaseFormService;
|
|
22
|
+
private authService;
|
|
23
|
+
private config;
|
|
24
|
+
loginFormGroup: SpiderlyFormGroup<Login>;
|
|
25
|
+
companyName: string;
|
|
26
|
+
showEmailSentDialog: boolean;
|
|
27
|
+
usersCanRegister: boolean;
|
|
28
|
+
constructor(differs: KeyValueDiffers, http: HttpClient, messageService: SpiderlyMessageService, changeDetectorRef: ChangeDetectorRef, router: Router, route: ActivatedRoute, translocoService: TranslocoService, baseFormService: BaseFormService, authService: AuthBaseService, config: ConfigBaseService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
initLoginFormGroup(model: Login): void;
|
|
31
|
+
companyNameChange(companyName: string): void;
|
|
32
|
+
sendLoginVerificationEmail(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "app-login", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ConfigBaseService } from "../../../services/config-base.service";
|
|
3
|
+
import { AuthBaseService } from "../../../services/auth-base.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuthComponent {
|
|
6
|
+
private config;
|
|
7
|
+
private authService;
|
|
8
|
+
private initCompanyAuthDialogDetailsSubscription;
|
|
9
|
+
onCompanyNameChange: EventEmitter<string>;
|
|
10
|
+
showGoogleAuth: boolean;
|
|
11
|
+
hasGoogleAuth: boolean;
|
|
12
|
+
companyName: string;
|
|
13
|
+
image: string;
|
|
14
|
+
constructor(config: ConfigBaseService, authService: AuthBaseService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
initCompanyDetails(): void;
|
|
17
|
+
onGoogleSignIn(googleWrapper: any): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthComponent, "auth", never, { "showGoogleAuth": { "alias": "showGoogleAuth"; "required": false; }; }, { "onCompanyNameChange": "onCompanyNameChange"; }, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
+
import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
|
|
4
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LoginVerificationComponent implements OnInit {
|
|
7
|
+
private authService;
|
|
8
|
+
private messageService;
|
|
9
|
+
private translocoService;
|
|
10
|
+
email: string;
|
|
11
|
+
userId: number;
|
|
12
|
+
constructor(authService: AuthBaseService, messageService: SpiderlyMessageService, translocoService: TranslocoService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
resendVerificationToken(): void;
|
|
15
|
+
onCodeSubmit(event: string): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginVerificationComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginVerificationComponent, "login-verification", never, { "email": { "alias": "email"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
+
import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
|
|
4
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RegistrationVerificationComponent implements OnInit {
|
|
7
|
+
private authService;
|
|
8
|
+
private messageService;
|
|
9
|
+
private translocoService;
|
|
10
|
+
email: string;
|
|
11
|
+
constructor(authService: AuthBaseService, messageService: SpiderlyMessageService, translocoService: TranslocoService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
resendVerificationToken(): void;
|
|
14
|
+
onCodeSubmit(event: string): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationVerificationComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RegistrationVerificationComponent, "registration-verification", never, { "email": { "alias": "email"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, KeyValueDiffers, OnInit } from '@angular/core';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
5
|
+
import { BaseFormCopy } from '../../base-form/base-form copy';
|
|
6
|
+
import { BaseFormService } from '../../../services/base-form.service';
|
|
7
|
+
import { SpiderlyFormGroup } from '../../spiderly-form-control/spiderly-form-control';
|
|
8
|
+
import { VerificationTokenRequest } from '../../../entities/security-entities';
|
|
9
|
+
import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class VerificationWrapperComponent extends BaseFormCopy implements OnInit {
|
|
12
|
+
protected differs: KeyValueDiffers;
|
|
13
|
+
protected http: HttpClient;
|
|
14
|
+
protected messageService: SpiderlyMessageService;
|
|
15
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
16
|
+
protected router: Router;
|
|
17
|
+
protected route: ActivatedRoute;
|
|
18
|
+
protected translocoService: TranslocoService;
|
|
19
|
+
protected baseFormService: BaseFormService;
|
|
20
|
+
verificationTokenRequestFormGroup: SpiderlyFormGroup<VerificationTokenRequest>;
|
|
21
|
+
email: string;
|
|
22
|
+
onResendVerificationToken: EventEmitter<any>;
|
|
23
|
+
onCodeSubmit: EventEmitter<string>;
|
|
24
|
+
constructor(differs: KeyValueDiffers, http: HttpClient, messageService: SpiderlyMessageService, changeDetectorRef: ChangeDetectorRef, router: Router, route: ActivatedRoute, translocoService: TranslocoService, baseFormService: BaseFormService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
initVerificationTokenRequestFormGroup(model: VerificationTokenRequest): void;
|
|
27
|
+
codeSubmit(): void;
|
|
28
|
+
resendVerificationToken(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationWrapperComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VerificationWrapperComponent, "verification-wrapper", never, { "email": { "alias": "email"; "required": false; }; }, { "onResendVerificationToken": "onResendVerificationToken"; "onCodeSubmit": "onCodeSubmit"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { ChangeDetectorRef, KeyValueDiffers, OnInit } from '@angular/core';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
5
|
+
import { LayoutBaseService } from '../../../services/app-layout-base.service';
|
|
6
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
7
|
+
import { BaseFormCopy } from '../../base-form/base-form copy';
|
|
8
|
+
import { SpiderlyFormGroup } from '../../spiderly-form-control/spiderly-form-control';
|
|
9
|
+
import { Registration } from '../../../entities/security-entities';
|
|
10
|
+
import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
|
|
11
|
+
import { BaseFormService } from '../../../services/base-form.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class RegistrationComponent extends BaseFormCopy implements OnInit {
|
|
14
|
+
protected differs: KeyValueDiffers;
|
|
15
|
+
protected http: HttpClient;
|
|
16
|
+
protected messageService: SpiderlyMessageService;
|
|
17
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
18
|
+
protected router: Router;
|
|
19
|
+
protected route: ActivatedRoute;
|
|
20
|
+
protected translocoService: TranslocoService;
|
|
21
|
+
protected baseFormService: BaseFormService;
|
|
22
|
+
layoutService: LayoutBaseService;
|
|
23
|
+
private authService;
|
|
24
|
+
registrationFormGroup: SpiderlyFormGroup<Registration>;
|
|
25
|
+
companyName: string;
|
|
26
|
+
showEmailSentDialog: boolean;
|
|
27
|
+
constructor(differs: KeyValueDiffers, http: HttpClient, messageService: SpiderlyMessageService, changeDetectorRef: ChangeDetectorRef, router: Router, route: ActivatedRoute, translocoService: TranslocoService, baseFormService: BaseFormService, layoutService: LayoutBaseService, authService: AuthBaseService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
initRegistrationFormGroup(model: Registration): void;
|
|
30
|
+
companyNameChange(companyName: string): void;
|
|
31
|
+
sendRegistrationVerificationEmail(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RegistrationComponent, "app-registration", never, {}, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Observable, Subscription } from 'rxjs';
|
|
4
|
+
import { MenuItem } from 'primeng/api';
|
|
5
|
+
import { SpiderlyFormArray, SpiderlyFormControl, SpiderlyFormGroup } from '../spiderly-form-control/spiderly-form-control';
|
|
6
|
+
import { BaseEntity } from '../../entities/base-entity';
|
|
7
|
+
import { LastMenuIconIndexClicked } from '../../entities/last-menu-icon-index-clicked';
|
|
8
|
+
import { Role } from '../../entities/security-entities';
|
|
9
|
+
import { SpiderlyButton } from '../../entities/spiderly-button';
|
|
10
|
+
import { BaseFormService } from '../../services/base-form.service';
|
|
11
|
+
import { ApiSecurityService } from '../../services/api.service.security';
|
|
12
|
+
import { PrimengOption } from '../../entities/primeng-option';
|
|
13
|
+
import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
|
|
14
|
+
import { IsAuthorizedForSaveEvent } from '../../entities/is-authorized-for-save-event';
|
|
15
|
+
import { AuthBaseService } from '../../services/auth-base.service';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class RoleBaseDetailsComponent {
|
|
18
|
+
private apiService;
|
|
19
|
+
private route;
|
|
20
|
+
private baseFormService;
|
|
21
|
+
private authService;
|
|
22
|
+
onSave: EventEmitter<void>;
|
|
23
|
+
onRoleFormGroupInitFinish: EventEmitter<void>;
|
|
24
|
+
getCrudMenuForOrderedData: (formArray: SpiderlyFormArray, modelConstructor: BaseEntity, lastMenuIconIndexClicked: LastMenuIconIndexClicked, adjustFormArrayManually: boolean) => MenuItem[];
|
|
25
|
+
formGroup: SpiderlyFormGroup;
|
|
26
|
+
roleFormGroup: SpiderlyFormGroup<Role>;
|
|
27
|
+
additionalButtons: SpiderlyButton[];
|
|
28
|
+
authorizationForSaveSubscription: Subscription;
|
|
29
|
+
authorizedForSaveObservable: () => Observable<boolean>;
|
|
30
|
+
isAuthorizedForSave: boolean;
|
|
31
|
+
onIsAuthorizedForSaveChange: EventEmitter<IsAuthorizedForSaveEvent>;
|
|
32
|
+
modelId: number;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
roleSaveBodyName: string;
|
|
35
|
+
usersForRoleOptions: PrimengOption[];
|
|
36
|
+
permissionsForRoleOptions: PrimengOption[];
|
|
37
|
+
selectedUsersForRole: SpiderlyFormControl<PrimengOption[]>;
|
|
38
|
+
selectedPermissionsForRole: SpiderlyFormControl<number[]>;
|
|
39
|
+
constructor(apiService: ApiSecurityService, route: ActivatedRoute, baseFormService: BaseFormService, authService: AuthBaseService);
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
initRoleFormGroup(role: Role): void;
|
|
42
|
+
handleAuthorizationForSave: () => Observable<void>;
|
|
43
|
+
searchUsersForRole(event: AutoCompleteCompleteEvent): void;
|
|
44
|
+
control(formControlName: string, formGroup: SpiderlyFormGroup): SpiderlyFormControl<any>;
|
|
45
|
+
getFormArrayGroups<T>(formArray: SpiderlyFormArray): SpiderlyFormGroup<T>[];
|
|
46
|
+
save(): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleBaseDetailsComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RoleBaseDetailsComponent, "role-base-details", never, { "getCrudMenuForOrderedData": { "alias": "getCrudMenuForOrderedData"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "roleFormGroup": { "alias": "roleFormGroup"; "required": false; }; "additionalButtons": { "alias": "additionalButtons"; "required": false; }; "authorizedForSaveObservable": { "alias": "authorizedForSaveObservable"; "required": false; }; }, { "onSave": "onSave"; "onRoleFormGroupInitFinish": "onRoleFormGroupInitFinish"; "onIsAuthorizedForSaveChange": "onIsAuthorizedForSaveChange"; }, never, never, true, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BaseFormService } from './../../services/base-form.service';
|
|
2
|
+
import { ChangeDetectorRef, KeyValueDiffers, OnInit } from '@angular/core';
|
|
3
|
+
import { SpiderlyFormArray, SpiderlyFormControl, SpiderlyFormGroup } from '../spiderly-form-control/spiderly-form-control';
|
|
4
|
+
import { HttpClient } from '@angular/common/http';
|
|
5
|
+
import { SpiderlyMessageService } from '../../services/spiderly-message.service';
|
|
6
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
|
+
import { MenuItem } from 'primeng/api';
|
|
8
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
9
|
+
import { BaseEntity } from '../../entities/base-entity';
|
|
10
|
+
import { LastMenuIconIndexClicked } from '../../entities/last-menu-icon-index-clicked';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class BaseFormCopy implements OnInit {
|
|
13
|
+
protected differs: KeyValueDiffers;
|
|
14
|
+
protected http: HttpClient;
|
|
15
|
+
protected messageService: SpiderlyMessageService;
|
|
16
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
17
|
+
protected router: Router;
|
|
18
|
+
protected route: ActivatedRoute;
|
|
19
|
+
protected translocoService: TranslocoService;
|
|
20
|
+
protected baseFormService: BaseFormService;
|
|
21
|
+
formGroup: SpiderlyFormGroup;
|
|
22
|
+
saveBody: any;
|
|
23
|
+
successfulSaveToastDescription: string;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
private modelDiffer;
|
|
26
|
+
constructor(differs: KeyValueDiffers, http: HttpClient, messageService: SpiderlyMessageService, changeDetectorRef: ChangeDetectorRef, router: Router, route: ActivatedRoute, translocoService: TranslocoService, baseFormService: BaseFormService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
initFormGroup: <T>(formGroup: SpiderlyFormGroup<T>, parentFormGroup: SpiderlyFormGroup, modelConstructor: any, propertyNameInSaveBody: string, updateOnChangeControls?: (keyof T)[]) => SpiderlyFormGroup<T>;
|
|
29
|
+
createFormGroup: <T>(formGroup: SpiderlyFormGroup<T>, modelConstructor: T & BaseEntity, updateOnChangeControls?: (keyof T)[]) => SpiderlyFormGroup<T>;
|
|
30
|
+
control: <T extends BaseEntity>(formControlName: string & keyof T, formGroup: SpiderlyFormGroup<T>) => { [P in keyof T]: SpiderlyFormControl<T[P]>; }[string & keyof T];
|
|
31
|
+
onSave: (reroute?: boolean) => void;
|
|
32
|
+
rerouteToSavedObject: (rerouteId: number | string) => void;
|
|
33
|
+
onBeforeSave: (saveBody?: any) => void;
|
|
34
|
+
onAfterSave: () => void;
|
|
35
|
+
onAfterSaveRequest: () => void;
|
|
36
|
+
areFormGroupsFromParentFormGroupValid(): boolean;
|
|
37
|
+
getFormArrayControlByIndex<T>(formControlName: keyof T & string, formArray: SpiderlyFormArray<T>, index: number, filter?: (formGroups: SpiderlyFormGroup<T>[]) => SpiderlyFormGroup<T>[]): SpiderlyFormControl;
|
|
38
|
+
getFormArrayControls<T>(formControlName: keyof T & string, formArray: SpiderlyFormArray<T>, filter?: (formGroups: SpiderlyFormGroup<T>[]) => SpiderlyFormGroup<T>[]): SpiderlyFormControl[];
|
|
39
|
+
getFormArrayGroups<T>(formArray: SpiderlyFormArray<T>): SpiderlyFormGroup<T>[];
|
|
40
|
+
addNewFormGroupToFormArray<T>(formArray: SpiderlyFormArray<T>, modelConstructor: T & BaseEntity, index: number): SpiderlyFormGroup;
|
|
41
|
+
initFormArray<T>(parentFormGroup: SpiderlyFormGroup, modelList: (T & BaseEntity)[], modelConstructor: T & BaseEntity, formArraySaveBodyName: string, formArrayTranslationKey: string, required?: boolean): SpiderlyFormArray<T>;
|
|
42
|
+
removeFormControlFromTheFormArray(formArray: SpiderlyFormArray, index: number): void;
|
|
43
|
+
removeFormControlsFromTheFormArray(formArray: SpiderlyFormArray, indexes: number[]): void;
|
|
44
|
+
areFormArraysValid(): boolean;
|
|
45
|
+
onBeforeSaveList(): void;
|
|
46
|
+
onAfterSaveList(): void;
|
|
47
|
+
onAfterSaveListRequest(): void;
|
|
48
|
+
getCrudMenuForOrderedData: (formArray: SpiderlyFormArray, modelConstructor: BaseEntity, lastMenuIconIndexClicked: LastMenuIconIndexClicked, adjustFormArrayManually?: boolean) => MenuItem[];
|
|
49
|
+
onBeforeRemove: (formArray: SpiderlyFormArray, modelConstructor: any, lastMenuIconIndexClicked: number) => void;
|
|
50
|
+
onBeforeAddAbove: (formArray: SpiderlyFormArray, modelConstructor: any, lastMenuIconIndexClicked: number) => void;
|
|
51
|
+
onBeforeAddBelow: (formArray: SpiderlyFormArray, modelConstructor: any, lastMenuIconIndexClicked: number) => void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormCopy, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormCopy, "base-form", never, {}, {}, never, never, false, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardSkeletonComponent {
|
|
3
|
+
height: number;
|
|
4
|
+
titleHeight: number;
|
|
5
|
+
dataHeight: number;
|
|
6
|
+
padding: number;
|
|
7
|
+
titleMarginBottom: number;
|
|
8
|
+
titleMarginTop: number;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSkeletonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSkeletonComponent, "card-skeleton", never, { "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ConfigBaseService } from '../../services/config-base.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FooterComponent {
|
|
4
|
+
private config;
|
|
5
|
+
companyName: string;
|
|
6
|
+
constructor(config: ConfigBaseService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "footer", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IndexCardComponent {
|
|
6
|
+
protected formBuilder: FormBuilder;
|
|
7
|
+
last: boolean;
|
|
8
|
+
index: number;
|
|
9
|
+
header: string;
|
|
10
|
+
description: string;
|
|
11
|
+
showRemoveIcon: boolean;
|
|
12
|
+
showCrudMenu: boolean;
|
|
13
|
+
crudMenu: MenuItem[];
|
|
14
|
+
onMenuIconClick: EventEmitter<number>;
|
|
15
|
+
onRemoveIconClick: EventEmitter<null>;
|
|
16
|
+
constructor(formBuilder: FormBuilder);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
menuIconClick(index: number): void;
|
|
19
|
+
removeIconClick(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IndexCardComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IndexCardComponent, "index-card", never, { "last": { "alias": "last"; "required": false; }; "index": { "alias": "index"; "required": false; }; "header": { "alias": "header"; "required": false; }; "description": { "alias": "description"; "required": false; }; "showRemoveIcon": { "alias": "showRemoveIcon"; "required": false; }; "showCrudMenu": { "alias": "showCrudMenu"; "required": false; }; "crudMenu": { "alias": "crudMenu"; "required": false; }; }, { "onMenuIconClick": "onMenuIconClick"; "onRemoveIconClick": "onRemoveIconClick"; }, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormBuilder } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InfoCardComponent {
|
|
4
|
+
protected formBuilder: FormBuilder;
|
|
5
|
+
header: string;
|
|
6
|
+
description: string;
|
|
7
|
+
constructor(formBuilder: FormBuilder);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfoCardComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfoCardComponent, "info-card", never, { "header": { "alias": "header"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { AppSidebarComponent } from './sidebar/sidebar.component';
|
|
5
|
+
import { AppTopBarComponent } from './topbar/topbar.component';
|
|
6
|
+
import { LayoutBaseService } from '../../services/app-layout-base.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class LayoutBaseComponent implements OnDestroy {
|
|
9
|
+
protected layoutService: LayoutBaseService;
|
|
10
|
+
protected renderer: Renderer2;
|
|
11
|
+
protected router: Router;
|
|
12
|
+
overlayMenuOpenSubscription: Subscription;
|
|
13
|
+
menuOutsideClickListener: any;
|
|
14
|
+
profileMenuOutsideClickListener: any;
|
|
15
|
+
appSidebar: AppSidebarComponent;
|
|
16
|
+
appTopbar: AppTopBarComponent;
|
|
17
|
+
constructor(layoutService: LayoutBaseService, renderer: Renderer2, router: Router);
|
|
18
|
+
hideMenu(): void;
|
|
19
|
+
hideProfileMenu(): void;
|
|
20
|
+
blockBodyScroll(): void;
|
|
21
|
+
unblockBodyScroll(): void;
|
|
22
|
+
get containerClass(): {
|
|
23
|
+
'layout-theme-light': boolean;
|
|
24
|
+
'layout-theme-dark': boolean;
|
|
25
|
+
'layout-overlay': boolean;
|
|
26
|
+
'layout-static': boolean;
|
|
27
|
+
'layout-static-inactive': boolean;
|
|
28
|
+
'layout-overlay-active': boolean;
|
|
29
|
+
'layout-mobile-active': boolean;
|
|
30
|
+
'p-input-filled': boolean;
|
|
31
|
+
'p-ripple-disabled': boolean;
|
|
32
|
+
};
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
onAfterNgDestroy: () => void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBaseComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutBaseComponent, "layout-base", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { SidebarMenuService } from './sidebar-menu.service';
|
|
4
|
+
import { SpiderlyMenuItem } from './sidebar-menu.component';
|
|
5
|
+
import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
|
|
6
|
+
import { SpiderlyFormControl } from '../../spiderly-form-control/spiderly-form-control';
|
|
7
|
+
import { PrimengOption } from '../../../entities/primeng-option';
|
|
8
|
+
import { LayoutBaseService } from '../../../services/app-layout-base.service';
|
|
9
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
10
|
+
import { ApiSecurityService } from '../../../services/api.service.security';
|
|
11
|
+
import { ConfigBaseService } from '../../../services/config-base.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class MenuitemComponent implements OnInit, OnDestroy {
|
|
14
|
+
layoutService: LayoutBaseService;
|
|
15
|
+
private cd;
|
|
16
|
+
router: Router;
|
|
17
|
+
private menuService;
|
|
18
|
+
private authService;
|
|
19
|
+
private apiService;
|
|
20
|
+
private config;
|
|
21
|
+
item: SpiderlyMenuItem;
|
|
22
|
+
index: number;
|
|
23
|
+
root: boolean;
|
|
24
|
+
parentKey: string;
|
|
25
|
+
active: boolean;
|
|
26
|
+
private menuSourceSubscription;
|
|
27
|
+
private menuResetSubscription;
|
|
28
|
+
private permissionSubscription;
|
|
29
|
+
key: string;
|
|
30
|
+
selectedPartner: SpiderlyFormControl;
|
|
31
|
+
partnerOptions: PrimengOption[];
|
|
32
|
+
constructor(layoutService: LayoutBaseService, cd: ChangeDetectorRef, router: Router, menuService: SidebarMenuService, authService: AuthBaseService, apiService: ApiSecurityService, config: ConfigBaseService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
updateActiveStateFromRoute(): void;
|
|
35
|
+
itemClick(event: Event): void;
|
|
36
|
+
get submenuAnimation(): "collapsed" | "expanded";
|
|
37
|
+
get activeClass(): boolean;
|
|
38
|
+
searchPartners(event: AutoCompleteCompleteEvent): void;
|
|
39
|
+
partnersAutocompleteButtonClick: () => Promise<void>;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuitemComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuitemComponent, "[menuitem]", never, { "item": { "alias": "item"; "required": false; }; "index": { "alias": "index"; "required": false; }; "root": { "alias": "root"; "required": false; }; "parentKey": { "alias": "parentKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
|
+
import { LayoutBaseService } from '../../../services/app-layout-base.service';
|
|
5
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
6
|
+
import { ConfigBaseService } from '../../../services/config-base.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface SpiderlyMenuItem extends MenuItem {
|
|
9
|
+
hasPermission?: (permissionCodes: string[]) => boolean;
|
|
10
|
+
showPartnerDialog?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare class SidebarMenuComponent implements OnInit {
|
|
13
|
+
layoutService: LayoutBaseService;
|
|
14
|
+
private authService;
|
|
15
|
+
private translocoService;
|
|
16
|
+
private config;
|
|
17
|
+
menu: SpiderlyMenuItem[];
|
|
18
|
+
constructor(layoutService: LayoutBaseService, authService: AuthBaseService, translocoService: TranslocoService, config: ConfigBaseService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarMenuComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarMenuComponent, "sidebar-menu", never, { "menu": { "alias": "menu"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MenuChangeEvent } from '../../../entities/menuchangeevent';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarMenuService {
|
|
4
|
+
private menuSource;
|
|
5
|
+
private resetSource;
|
|
6
|
+
menuSource$: import("rxjs").Observable<MenuChangeEvent>;
|
|
7
|
+
resetSource$: import("rxjs").Observable<unknown>;
|
|
8
|
+
onMenuStateChange(event: MenuChangeEvent): void;
|
|
9
|
+
reset(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarMenuService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarMenuService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { SpiderlyMenuItem } from './sidebar-menu.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AppSidebarComponent {
|
|
5
|
+
el: ElementRef;
|
|
6
|
+
menu: SpiderlyMenuItem[];
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarComponent, "sidebar", never, { "menu": { "alias": "menu"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
4
|
+
import { AuthBaseService } from '../../../services/auth-base.service';
|
|
5
|
+
import { LayoutBaseService } from '../../../services/app-layout-base.service';
|
|
6
|
+
import { ApiSecurityService } from '../../../services/api.service.security';
|
|
7
|
+
import { ConfigBaseService } from '../../../services/config-base.service';
|
|
8
|
+
import { User } from '../../../entities/security-entities';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
interface SpiderlyMenuItem {
|
|
11
|
+
label?: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
showSeparator?: boolean;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
showNotificationBadge?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class AppTopBarComponent implements OnDestroy {
|
|
18
|
+
layoutService: LayoutBaseService;
|
|
19
|
+
private authService;
|
|
20
|
+
private apiService;
|
|
21
|
+
protected router: Router;
|
|
22
|
+
private translocoService;
|
|
23
|
+
private config;
|
|
24
|
+
private initTopBarSubscription;
|
|
25
|
+
currentUser: User;
|
|
26
|
+
userProfilePath: string;
|
|
27
|
+
unreadNotificationsCount: number;
|
|
28
|
+
menuItems: SpiderlyMenuItem[];
|
|
29
|
+
avatarLabel: string;
|
|
30
|
+
companyName: string;
|
|
31
|
+
showProfileIcon: boolean;
|
|
32
|
+
notificationMenuItem: SpiderlyMenuItem;
|
|
33
|
+
menuButton: ElementRef;
|
|
34
|
+
menu: ElementRef;
|
|
35
|
+
topbarProfileDropdownMenuButton: ElementRef;
|
|
36
|
+
constructor(layoutService: LayoutBaseService, authService: AuthBaseService, apiService: ApiSecurityService, router: Router, translocoService: TranslocoService, config: ConfigBaseService);
|
|
37
|
+
ngOnInit(): Promise<void>;
|
|
38
|
+
onAfterNgOnInit: () => void;
|
|
39
|
+
onDocumentClick(event: any): void;
|
|
40
|
+
routeToUserPage(): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppTopBarComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppTopBarComponent, "topbar", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ConfigBaseService } from '../../services/config-base.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NotFoundComponent {
|
|
4
|
+
private config;
|
|
5
|
+
companyName: string;
|
|
6
|
+
constructor(config: ConfigBaseService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotFoundComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotFoundComponent, "not-found", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RequiredComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequiredComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RequiredComponent, "required", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GoogleButtonComponent {
|
|
4
|
+
loginWithGoogle: EventEmitter<any>;
|
|
5
|
+
constructor();
|
|
6
|
+
createFakeGoogleWrapper: () => {
|
|
7
|
+
click: () => void;
|
|
8
|
+
};
|
|
9
|
+
handleGoogleLogin(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoogleButtonComponent, "google-button", never, {}, { "loginWithGoogle": "loginWithGoogle"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface Window {
|
|
15
|
+
google: any;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpiderlyReturnButtonComponent {
|
|
4
|
+
private router;
|
|
5
|
+
navigateUrl: string;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
onReturn(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyReturnButtonComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyReturnButtonComponent, "return-button", never, { "navigateUrl": { "alias": "navigateUrl"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SpiderlyButtonBaseComponent } from "../spiderly-button-base/spiderly-button-base";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpiderlyButtonComponent extends SpiderlyButtonBaseComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyButtonComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyButtonComponent, "spiderly-button", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SpiderlyButtonBaseComponent {
|
|
5
|
+
private router;
|
|
6
|
+
icon: string;
|
|
7
|
+
label: string;
|
|
8
|
+
outlined: boolean;
|
|
9
|
+
rounded: boolean;
|
|
10
|
+
styleClass: string;
|
|
11
|
+
routerLink: string;
|
|
12
|
+
style: {
|
|
13
|
+
[klass: string]: any;
|
|
14
|
+
};
|
|
15
|
+
class: string;
|
|
16
|
+
severity: 'success' | 'info' | 'warn' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast' | null | undefined;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
onClick: EventEmitter<Event>;
|
|
19
|
+
private clickSubject;
|
|
20
|
+
private subscription;
|
|
21
|
+
constructor(router: Router);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
handleClick: (event: Event) => void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyButtonBaseComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyButtonBaseComponent, "spiderly-button-base", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "style": { "alias": "style"; "required": false; }; "class": { "alias": "class"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
27
|
+
}
|
package/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MenuItem } from "primeng/api";
|
|
2
|
+
import { SpiderlyButtonBaseComponent } from "../spiderly-button-base/spiderly-button-base";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SpiderlySplitButtonComponent extends SpiderlyButtonBaseComponent {
|
|
5
|
+
dropdownItems: MenuItem[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlySplitButtonComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlySplitButtonComponent, "spiderly-split-button", never, { "dropdownItems": { "alias": "dropdownItems"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|