spiderly 19.2.0 → 19.3.0-preview.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.
Files changed (62) hide show
  1. package/fesm2022/spiderly.mjs +2195 -2108
  2. package/fesm2022/spiderly.mjs.map +1 -1
  3. package/lib/components/auth/login/login.component.d.ts +6 -7
  4. package/lib/components/auth/partials/verification-wrapper.component.d.ts +4 -4
  5. package/lib/components/base-details/role-base-details.component.d.ts +13 -23
  6. package/lib/components/base-form/base-form copy.d.ts +11 -28
  7. package/lib/components/info-card/info-card.component.d.ts +4 -2
  8. package/lib/components/layout/profile-avatar/profile-avatar.component.d.ts +18 -11
  9. package/lib/components/layout/sidebar/menuitem.component.d.ts +3 -3
  10. package/lib/components/spiderly-buttons/google-button/google-button.component.d.ts +2 -5
  11. package/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.d.ts +2 -1
  12. package/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.d.ts +2 -1
  13. package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +12 -8
  14. package/lib/components/spiderly-form-control/spiderly-form-control.d.ts +24 -7
  15. package/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.d.ts +1 -1
  16. package/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.d.ts +2 -1
  17. package/lib/components/spiderly-panels/spiderly-panels.module.d.ts +4 -5
  18. package/lib/controls/base-control.d.ts +4 -3
  19. package/lib/controls/base-dropdown-control.d.ts +2 -2
  20. package/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.d.ts +4 -4
  21. package/lib/controls/spiderly-controls.module.d.ts +10 -11
  22. package/lib/controls/spiderly-file/spiderly-file.component.d.ts +7 -4
  23. package/lib/entities/base-entity.d.ts +14 -2
  24. package/lib/entities/codebook.d.ts +1 -0
  25. package/lib/entities/filter-sort-meta.d.ts +13 -0
  26. package/lib/entities/filter.d.ts +29 -1
  27. package/lib/entities/init-company-auth-dialog-details.d.ts +1 -0
  28. package/lib/entities/init-top-bar-data.d.ts +1 -0
  29. package/lib/entities/is-authorized-for-save-event.d.ts +2 -3
  30. package/lib/entities/last-menu-icon-index-clicked.d.ts +1 -0
  31. package/lib/entities/lazy-load-selected-ids-result.d.ts +1 -0
  32. package/lib/entities/namebook.d.ts +11 -2
  33. package/lib/entities/primeng-option.d.ts +1 -0
  34. package/lib/entities/security-entities.d.ts +197 -56
  35. package/lib/entities/simple-save-result.d.ts +1 -0
  36. package/lib/entities/spiderly-button.d.ts +5 -8
  37. package/lib/enums/security-enums.d.ts +0 -8
  38. package/lib/errors/spiderly-error.d.ts +3 -0
  39. package/lib/services/api.service.security.d.ts +1 -3
  40. package/lib/services/app-initializer.d.ts +1 -1
  41. package/lib/services/app-layout-base.service.d.ts +3 -3
  42. package/lib/services/auth-base.service.d.ts +4 -5
  43. package/lib/services/base-form.service.d.ts +10 -11
  44. package/lib/services/config-base.service.d.ts +0 -1
  45. package/lib/services/helper-functions.d.ts +17 -7
  46. package/lib/services/spiderly-message.service.d.ts +0 -1
  47. package/lib/services/spiderly-transloco-loader.d.ts +3 -1
  48. package/package.json +10 -10
  49. package/public-api.d.ts +1 -5
  50. package/styles/components/info-card/info-card.component.scss +61 -0
  51. package/styles/components/layout/profile-avatar/profile-avatar.component.scss +9 -0
  52. package/styles/components/spiderly-panels/panel-body/panel-body.component.scss +9 -0
  53. package/styles/components/spiderly-panels/panel-footer/panel-footer.component.scss +7 -0
  54. package/styles/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +87 -10
  55. package/styles/controls/base-controls.scss +17 -0
  56. package/styles/styles/layout/_variables.scss +1 -1
  57. package/styles/styles/shared.scss +39 -105
  58. package/lib/components/auth/partials/registration-verification.component.d.ts +0 -17
  59. package/lib/components/auth/registration/registration.component.d.ts +0 -34
  60. package/lib/handlers/spiderly-transloco-fallback-strategy.d.ts +0 -13
  61. package/lib/modules/core.module.d.ts +0 -21
  62. package/lib/modules/spiderly-transloco.module.d.ts +0 -51
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Namebook } from '../entities/namebook';
4
4
  import { Filter } from '../entities/filter';
5
- import { Login, Registration, RegistrationVerificationResult, RefreshTokenRequest, AuthResult, Role, UserBase, ExternalProvider, VerificationTokenRequest, RoleSaveBody, RoleMainUIForm } from '../entities/security-entities';
5
+ import { Login, RefreshTokenRequest, AuthResult, Role, UserBase, ExternalProvider, VerificationTokenRequest, RoleSaveBody, RoleMainUIForm } from '../entities/security-entities';
6
6
  import { ConfigBaseService } from './config-base.service';
7
7
  import { PaginatedResult } from '../entities/paginated-result';
8
8
  import * as i0 from "@angular/core";
@@ -10,8 +10,6 @@ export declare class ApiSecurityService {
10
10
  protected http: HttpClient;
11
11
  protected config: ConfigBaseService;
12
12
  constructor(http: HttpClient, config: ConfigBaseService);
13
- register: (request: VerificationTokenRequest) => Observable<AuthResult>;
14
- sendRegistrationVerificationEmail: (registrationDTO: Registration) => Observable<RegistrationVerificationResult>;
15
13
  login: (request: VerificationTokenRequest) => Observable<AuthResult>;
16
14
  loginExternal: (externalProviderDTO: ExternalProvider) => Observable<AuthResult>;
17
15
  sendLoginVerificationEmail: (loginDTO: Login) => Observable<any>;
@@ -1,4 +1,4 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { AuthBaseService } from './auth-base.service';
3
3
  import { AuthResult } from '../entities/security-entities';
4
- export declare function authInitializer(authService: AuthBaseService): () => Observable<AuthResult>;
4
+ export declare function authInitializer(authService: AuthBaseService, platformId: any): () => Observable<AuthResult>;
@@ -4,8 +4,8 @@ import { OnDestroy } from '@angular/core';
4
4
  import { BehaviorSubject, Observable, Subscription } from 'rxjs';
5
5
  import { InitTopBarData } from '../entities/init-top-bar-data';
6
6
  import { ConfigBaseService } from './config-base.service';
7
- import { PrimengOption } from '../entities/primeng-option';
8
7
  import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
8
+ import { Namebook } from '../entities/namebook';
9
9
  import * as i0 from "@angular/core";
10
10
  export interface AppConfig {
11
11
  inputStyle: string;
@@ -51,8 +51,8 @@ export declare class LayoutBaseService implements OnDestroy {
51
51
  isMobile(): boolean;
52
52
  onConfigUpdate(): void;
53
53
  initTopBarData: () => Observable<InitTopBarData>;
54
- searchPartners: (event: AutoCompleteCompleteEvent) => Observable<PrimengOption[]>;
55
- partnersAutocompleteButtonClick: (selectedPartner: PrimengOption) => void;
54
+ searchPartners: (event: AutoCompleteCompleteEvent) => Observable<Namebook[]>;
55
+ partnersAutocompleteButtonClick: (selectedPartner: Namebook) => void;
56
56
  ngOnDestroy(): void;
57
57
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBaseService, never>;
58
58
  static ɵprov: i0.ɵɵInjectableDeclaration<LayoutBaseService>;
@@ -3,7 +3,7 @@ import { Router } from '@angular/router';
3
3
  import { HttpClient } from '@angular/common/http';
4
4
  import { BehaviorSubject, Observable } from 'rxjs';
5
5
  import { SocialUser, SocialAuthService } from '@abacritt/angularx-social-login';
6
- import { ExternalProvider, Login, VerificationTokenRequest, AuthResult, Registration, RegistrationVerificationResult, UserBase } from '../entities/security-entities';
6
+ import { ExternalProvider, Login, VerificationTokenRequest, AuthResult, UserBase } from '../entities/security-entities';
7
7
  import { ConfigBaseService } from './config-base.service';
8
8
  import { ApiSecurityService } from './api.service.security';
9
9
  import { InitCompanyAuthDialogDetails } from '../entities/init-company-auth-dialog-details';
@@ -14,6 +14,7 @@ export declare class AuthBaseService implements OnDestroy {
14
14
  protected externalAuthService: SocialAuthService;
15
15
  protected apiService: ApiSecurityService;
16
16
  protected config: ConfigBaseService;
17
+ protected platformId: Object;
17
18
  private readonly apiUrl;
18
19
  private timer?;
19
20
  protected _currentUserPermissionCodes: BehaviorSubject<string[]>;
@@ -24,13 +25,12 @@ export declare class AuthBaseService implements OnDestroy {
24
25
  private extAuthChangeSub;
25
26
  authChanged: Observable<boolean>;
26
27
  extAuthChanged: Observable<SocialUser>;
27
- constructor(router: Router, http: HttpClient, externalAuthService: SocialAuthService, apiService: ApiSecurityService, config: ConfigBaseService);
28
+ constructor(router: Router, http: HttpClient, externalAuthService: SocialAuthService, apiService: ApiSecurityService, config: ConfigBaseService, platformId: Object);
28
29
  private storageEventListener;
29
30
  sendLoginVerificationEmail(body: Login): Observable<any>;
30
31
  login(body: VerificationTokenRequest): Observable<Promise<AuthResult>>;
31
32
  loginExternal(body: ExternalProvider): Observable<Promise<AuthResult>>;
32
- sendRegistrationVerificationEmail(body: Registration): Observable<RegistrationVerificationResult>;
33
- register(body: VerificationTokenRequest): Observable<Promise<AuthResult>>;
33
+ onAfterLoginExternal: () => void;
34
34
  handleLoginResult(loginResultObservable: Observable<AuthResult>): Observable<Promise<AuthResult>>;
35
35
  logout(): void;
36
36
  onAfterLogout: () => void;
@@ -45,7 +45,6 @@ export declare class AuthBaseService implements OnDestroy {
45
45
  private startTokenTimer;
46
46
  private stopTokenTimer;
47
47
  navigateToDashboard(): void;
48
- logoutGoogle: () => void;
49
48
  initCompanyAuthDialogDetails: () => Observable<InitCompanyAuthDialogDetails>;
50
49
  setCurrentUserPermissionCodes(): Observable<string[]>;
51
50
  ngOnDestroy(): void;
@@ -1,9 +1,9 @@
1
1
  import { TranslocoService } from '@jsverse/transloco';
2
- import { SpiderlyFormArray, SpiderlyFormGroup } from '../components/spiderly-form-control/spiderly-form-control';
3
- import { BaseEntity } from '../entities/base-entity';
2
+ import { SpiderlyFormArray, SpiderlyFormControl, SpiderlyFormGroup } from '../components/spiderly-form-control/spiderly-form-control';
3
+ import { BaseEntity, SchemaAwareConstructor } from '../entities/base-entity';
4
+ import { SpiderlyMessageService } from './spiderly-message.service';
4
5
  import { TranslateLabelsAbstractService } from './translate-labels-abstract.service';
5
6
  import { ValidatorAbstractService } from './validator-abstract.service';
6
- import { SpiderlyMessageService } from './spiderly-message.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class BaseFormService {
9
9
  private translateLabelsService;
@@ -11,17 +11,16 @@ export declare class BaseFormService {
11
11
  private messageService;
12
12
  private translocoService;
13
13
  constructor(translateLabelsService: TranslateLabelsAbstractService, validatorService: ValidatorAbstractService, messageService: SpiderlyMessageService, translocoService: TranslocoService);
14
- addFormGroup: <T>(formGroup: SpiderlyFormGroup<T>, parentFormGroup: SpiderlyFormGroup, modelConstructor: any, propertyNameInSaveBody: string, updateOnChangeControls?: (keyof T)[]) => SpiderlyFormGroup<T>;
15
- initFormGroup: <T>(formGroup: SpiderlyFormGroup<T>, modelConstructor: T & BaseEntity, updateOnChangeControls?: (keyof T)[]) => SpiderlyFormGroup<T>;
14
+ initFormGroup: <T extends BaseEntity>(formGroup: SpiderlyFormGroup<T>, targetClass: SchemaAwareConstructor<T>, initialValues?: T, updateOnChangeControls?: (keyof T)[]) => SpiderlyFormGroup<T>;
16
15
  getTranslatedLabel(formControlName: string): string;
17
- getFormArrayGroups<T>(formArray: SpiderlyFormArray<T>): SpiderlyFormGroup<T>[];
18
- addNewFormGroupToFormArray<T>(formArray: SpiderlyFormArray<T>, modelConstructor: T & BaseEntity, index: number): SpiderlyFormGroup;
19
- initFormArray<T>(parentFormGroup: SpiderlyFormGroup, modelList: (T & BaseEntity)[], modelConstructor: T & BaseEntity, formArraySaveBodyName: string, formArrayTranslationKey: string, required?: boolean): SpiderlyFormArray<T>;
20
- disableAllFormControls<T>(formArray: SpiderlyFormArray<T>): void;
21
- enableAllFormControls<T>(formArray: SpiderlyFormArray<T>): void;
22
- checkFormGroupValidity: <T>(formGroup: SpiderlyFormGroup<T>) => boolean;
16
+ addNewFormGroupToFormArray<T extends BaseEntity>(formArray: SpiderlyFormArray<T>, targetClass: SchemaAwareConstructor<T>, initialValues: T, index: number): SpiderlyFormGroup;
17
+ removeFormControlFromTheFormArray(formArray: SpiderlyFormArray, index: number): void;
18
+ initFormArray<T extends BaseEntity>(formArray: SpiderlyFormArray<T>, targetClass: SchemaAwareConstructor<T>, initialValues?: T[]): SpiderlyFormArray<T>;
23
19
  showInvalidFieldsMessage: () => void;
24
20
  generateNewNegativeId<T extends BaseEntity>(formArray: SpiderlyFormArray<T>): number;
21
+ getSaveBodyMainDTOKey: (saveBodyClass: SchemaAwareConstructor<any>) => string;
22
+ mapMainUIFormToSaveBody: <T extends BaseEntity>(mainUIFormClass: SchemaAwareConstructor<T>, mainUIFormValues: T) => {};
23
+ isControlValid(control: SpiderlyFormControl | SpiderlyFormGroup | SpiderlyFormArray, controlNamesFromHtml?: string[]): boolean;
25
24
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormService, never>;
26
25
  static ɵprov: i0.ɵɵInjectableDeclaration<BaseFormService>;
27
26
  }
@@ -8,7 +8,6 @@ export declare class ConfigBaseService {
8
8
  companyName: string;
9
9
  primaryColor: string;
10
10
  googleAuth: boolean;
11
- usersCanRegister: boolean;
12
11
  loginSlug: string;
13
12
  accessTokenKey: string;
14
13
  refreshTokenKey: string;
@@ -1,13 +1,12 @@
1
- import { Action, Column } from "../components/spiderly-data-table/spiderly-data-table.component";
2
1
  import { HttpResponse } from "@angular/common/http";
3
- import { BaseEntity } from "../entities/base-entity";
4
- import { SpiderlyFormGroup } from "../components/spiderly-form-control/spiderly-form-control";
2
+ import 'reflect-metadata';
5
3
  import { Observable } from 'rxjs';
4
+ import { Action, Column } from "../components/spiderly-data-table/spiderly-data-table.component";
5
+ import { SpiderlyTab } from "../components/spiderly-panels/panel-header/panel-header.component";
6
+ import { Codebook } from "../entities/codebook";
6
7
  import { Filter } from "../entities/filter";
7
8
  import { Namebook } from "../entities/namebook";
8
- import { Codebook } from "../entities/codebook";
9
9
  import { PrimengOption } from "../entities/primeng-option";
10
- import { SpiderlyTab } from "../components/spiderly-panels/panel-header/panel-header.component";
11
10
  export declare function validatePrecisionScale(value: any, precision: number, scale: number, ignoreTrailingZeros: boolean): boolean;
12
11
  export declare function getMimeTypeForFileName(fileName: string): string;
13
12
  export declare function adjustColor(color: string, percent: number): string;
@@ -18,13 +17,11 @@ export declare function nameOf<TObject extends {
18
17
  name: S;
19
18
  }, S extends string>(funcOrClass: TObject): S;
20
19
  export declare function getParentUrl(currentUrl: string): string;
21
- export declare function capitalizeFirstLetter(inputString: string): string;
22
20
  export declare function getMonth(numberOfTheMonth: number): string;
23
21
  export declare function singleOrDefault<T>(array: T[], predicate: (item: T) => boolean): T | undefined;
24
22
  export declare function pushAction(cols: Column[], action: Action): void;
25
23
  export declare function deleteAction(cols: Column[], actionField: string): void;
26
24
  export declare function getFileNameFromContentDisposition(resp: HttpResponse<Blob>, defaultName: string): string;
27
- export declare const getControl: <T extends BaseEntity>(formControlName: string & keyof T, formGroup: SpiderlyFormGroup<T>) => { [P in keyof T]: import("../components/spiderly-form-control/spiderly-form-control").SpiderlyFormControl<T[P]>; }[string & keyof T];
28
25
  export declare function toCommaSeparatedString<T>(input: T[]): string;
29
26
  export declare function isImageFileType(mimeType: string): boolean;
30
27
  export declare function isExcelFileType(mimeType: string): boolean;
@@ -35,3 +32,16 @@ export declare function getPrimengAutocompleteNamebookOptions(getAutocompleteLis
35
32
  export declare function getPrimengAutocompleteCodebookOptions(getAutocompleteListObservable: (limit: number, query: string) => Observable<Codebook[]>, limit: number, query: string): Observable<PrimengOption[]>;
36
33
  export declare const isNullOrEmpty: (input: string) => boolean;
37
34
  export declare const selectedTab: (tabs: SpiderlyTab[]) => number;
35
+ export declare function firstCharToUpper(input: string): string;
36
+ export declare function splitPascalCase(input: string): string;
37
+ export declare function capitalizeFirstChar(str: string): string;
38
+ export declare function kebabToTitleCase(input: string): string;
39
+ /**
40
+ * Custom styling of the google button - https://medium.com/simform-engineering/implement-custom-google-sign-in-using-angular-16-9c93aeff6252
41
+ */
42
+ export declare function createFakeGoogleWrapper(): {
43
+ click: () => void;
44
+ };
45
+ export declare const PROPS_KEY: unique symbol;
46
+ export declare function ReflectProp(target: any, propertyKey: string): void;
47
+ export declare const primitiveArrayTypes: string[];
@@ -9,7 +9,6 @@ export declare class SpiderlyMessageService {
9
9
  constructor(messageService: MessageService, translocoService: TranslocoService, ngZone: NgZone);
10
10
  successMessage(detail: string, title?: string): void;
11
11
  warningMessage(detail: string, title?: string, sticky?: boolean): void;
12
- warningMessageWithTimeout(detail: string, title?: string): void;
13
12
  errorMessage(detail: string, title?: string): void;
14
13
  infoMessage(detail: string, title?: string, sticky?: boolean): void;
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyMessageService, never>;
@@ -1,9 +1,11 @@
1
+ import { ConfigBaseService } from './config-base.service';
1
2
  import { TranslocoLoader } from '@jsverse/transloco';
2
3
  import { HttpClient } from '@angular/common/http';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class SpiderlyTranslocoLoader implements TranslocoLoader {
5
6
  private http;
6
- constructor(http: HttpClient);
7
+ private config;
8
+ constructor(http: HttpClient, config: ConfigBaseService);
7
9
  getTranslation(lang: string): import("rxjs").Observable<Object>;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyTranslocoLoader, never>;
9
11
  static ɵprov: i0.ɵɵInjectableDeclaration<SpiderlyTranslocoLoader>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spiderly",
3
- "version": "19.2.0",
3
+ "version": "19.3.0-preview.0",
4
4
  "author": "Filip Trivan",
5
5
  "license": "MIT",
6
6
  "description": "Spiderly Angular Library to use in combination with Spiderly.",
@@ -27,15 +27,15 @@
27
27
  ],
28
28
  "private": false,
29
29
  "peerDependencies": {
30
- "@abacritt/angularx-social-login": "2.2.0",
31
- "@angular/animations": "19.2.13",
32
- "@angular/common": "19.2.13",
33
- "@angular/compiler": "19.2.13",
34
- "@angular/core": "19.2.13",
35
- "@angular/forms": "19.2.13",
36
- "@angular/platform-browser": "19.2.13",
37
- "@angular/platform-browser-dynamic": "19.2.13",
38
- "@angular/router": "19.2.13",
30
+ "@abacritt/angularx-social-login": "^2.2.0",
31
+ "@angular/animations": "^19.2.0",
32
+ "@angular/common": "^19.2.0",
33
+ "@angular/compiler": "^19.2.0",
34
+ "@angular/core": "^19.2.0",
35
+ "@angular/forms": "^19.2.0",
36
+ "@angular/platform-browser": "^19.2.0",
37
+ "@angular/platform-browser-dynamic": "^19.2.0",
38
+ "@angular/router": "^19.2.0",
39
39
  "@jsverse/transloco": "7.5.0",
40
40
  "file-saver": "2.0.5",
41
41
  "json-parser": "3.1.2",
package/public-api.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- export * from './lib/modules/core.module';
2
- export * from './lib/modules/spiderly-transloco.module';
3
1
  export * from './lib/controls/spiderly-autocomplete/spiderly-autocomplete.component';
4
2
  export * from './lib/controls/spiderly-calendar/spiderly-calendar.component';
5
3
  export * from './lib/controls/spiderly-checkbox/spiderly-checkbox.component';
@@ -21,10 +19,8 @@ export * from './lib/components/base-details/role-base-details.component';
21
19
  export * from './lib/components/base-form/base-form copy';
22
20
  export * from './lib/components/card-skeleton/card-skeleton.component';
23
21
  export * from './lib/components/auth/partials/login-verification.component';
24
- export * from './lib/components/auth/partials/registration-verification.component';
25
22
  export * from './lib/components/auth/partials/verification-wrapper.component';
26
23
  export * from './lib/components/auth/login/login.component';
27
- export * from './lib/components/auth/registration/registration.component';
28
24
  export * from './lib/components/footer/footer.component';
29
25
  export * from './lib/components/spiderly-buttons/google-button/google-button.component';
30
26
  export * from './lib/components/index-card/index-card.component';
@@ -51,6 +47,7 @@ export * from './lib/components/layout/sidebar/sidebar.component';
51
47
  export * from './lib/components/layout/sidemenu-topbar/sidemenu-topbar.component';
52
48
  export * from './lib/components/layout/layout.component';
53
49
  export * from './lib/components/layout/topbar/topbar.component';
50
+ export * from './lib/components/layout/profile-avatar/profile-avatar.component';
54
51
  export * from './lib/entities/base-entity';
55
52
  export * from './lib/entities/codebook';
56
53
  export * from './lib/entities/last-menu-icon-index-clicked';
@@ -75,7 +72,6 @@ export * from './lib/enums/match-mode-enum-codes';
75
72
  export * from './lib/guards/auth.guard';
76
73
  export * from './lib/guards/not-auth.guard';
77
74
  export * from './lib/handlers/spiderly-error-handler';
78
- export * from './lib/handlers/spiderly-transloco-fallback-strategy';
79
75
  export * from './lib/interceptors/http-loading.interceptor';
80
76
  export * from './lib/interceptors/json-parser.interceptor';
81
77
  export * from './lib/interceptors/jwt.interceptor';
@@ -0,0 +1,61 @@
1
+ .info-card {
2
+ background-color: var(--p-primary-100);
3
+ position: relative;
4
+ overflow: hidden;
5
+
6
+ &__content {
7
+ display: flex;
8
+ align-items: center;
9
+ gap: 21px;
10
+ position: relative;
11
+ z-index: 2;
12
+ }
13
+
14
+ &__icon {
15
+ font-size: 21px;
16
+ color: var(--p-primary-color);
17
+ }
18
+
19
+ &__header {
20
+ display: flex;
21
+ gap: 8px;
22
+ color: var(--p-primary-color);
23
+ font-weight: 600;
24
+ text-align: left;
25
+ font-size: 17.5px;
26
+ }
27
+
28
+ &__body {
29
+ text-align: left;
30
+ margin-top: 8px;
31
+ }
32
+
33
+ &__background-icon {
34
+ text-align: center;
35
+ transform: rotate(30deg);
36
+ color: var(--p-primary-400);
37
+ opacity: 0.2;
38
+ position: absolute;
39
+ overflow: hidden;
40
+ right: -30px;
41
+ top: -25px;
42
+ z-index: 1;
43
+
44
+ i {
45
+ font-size: 270px;
46
+ }
47
+ }
48
+ }
49
+
50
+ ::ng-deep{
51
+ html.dark .info-card {
52
+ background-color: var(--p-primary-950);
53
+
54
+ &__header {
55
+ color: var(--p-primary-400);
56
+ }
57
+ &__icon {
58
+ color: var(--p-primary-400);
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,9 @@
1
+ .side-menu-profile-dialog {
2
+ right: 26px;
3
+ top: 60px;
4
+ }
5
+
6
+ .top-menu-profile-dialog {
7
+ right: 0px;
8
+ top: 40px;
9
+ }
@@ -0,0 +1,9 @@
1
+ .non-grid-panel-bottom-padding{
2
+ padding-bottom: 14px;
3
+ }
4
+
5
+ @media (max-width: 600px) {
6
+ .non-grid-panel-bottom-padding{
7
+ padding-bottom: 0px;
8
+ }
9
+ }
@@ -7,4 +7,11 @@
7
7
  border-bottom-right-radius: var(--p-content-border-radius);
8
8
  border-bottom-left-radius: var(--p-content-border-radius);
9
9
  padding: 18px;
10
+ }
11
+
12
+ .buttons-wrapper{
13
+ gap: 0.5rem;
14
+ display: flex;
15
+ align-items: center;
16
+ flex-wrap: wrap;
10
17
  }
@@ -1,11 +1,88 @@
1
- :host {
2
- ::ng-deep {
3
- .p-panel{
4
- overflow: hidden;
5
- }
6
- .p-panel-icons{
7
- display: flex;
8
- align-items: center;
9
- }
1
+ :host {
2
+ ::ng-deep {
3
+ .spiderly-panel{
4
+ .p-panel-content{
5
+ padding: 0;
10
6
  }
11
- }
7
+ }
8
+ .p-panel{
9
+ overflow: hidden;
10
+ }
11
+ .p-panel-icons{
12
+ display: flex;
13
+ align-items: center;
14
+ }
15
+
16
+ .panel-header-cursor-pointer {
17
+ .p-panel-header {
18
+ cursor: pointer !important;
19
+ }
20
+ }
21
+ }
22
+ }
23
+
24
+ .multiple-panel-first-without-header{
25
+ .p-panel {
26
+ border-bottom-left-radius: 0px;
27
+ border-bottom-right-radius: 0px;
28
+ border-top: 1px solid var(--surface-border);
29
+ border-top-left-radius: var(--p-content-border-radius);
30
+ border-top-right-radius: var(--p-content-border-radius);
31
+ border-bottom: none;
32
+ }
33
+ }
34
+
35
+ .multiple-panel-middle-without-header{
36
+ .p-panel {
37
+ border-bottom-left-radius: 0px;
38
+ border-bottom-right-radius: 0px;
39
+ border-top: 1px solid var(--surface-border);
40
+ border-top-left-radius: 0px;
41
+ border-top-right-radius: 0px;
42
+ border-bottom: none;
43
+ }
44
+ }
45
+
46
+ .multiple-panel-last-without-header{
47
+ .p-panel {
48
+ border-bottom-left-radius: var(--p-content-border-radius);
49
+ border-bottom-right-radius: var(--p-content-border-radius);
50
+ border-top: 1px solid var(--surface-border);
51
+ border-top-left-radius: 0px;
52
+ border-top-right-radius: 0px;
53
+ }
54
+ }
55
+
56
+ .multiple-panel-first{
57
+ .p-panel {
58
+ border-bottom-left-radius: 0px;
59
+ border-bottom-right-radius: 0px;
60
+ border-bottom: none;
61
+ }
62
+ }
63
+
64
+ .panel-border{
65
+ .p-panel {
66
+ border-bottom-left-radius: var(--p-content-border-radius);
67
+ border-bottom-right-radius: var(--p-content-border-radius);
68
+ border-bottom: 1px solid var(--surface-border);
69
+ }
70
+ }
71
+
72
+ .multiple-panel-middle {
73
+ .p-panel {
74
+ border-radius: 0px;
75
+ border-bottom: none;
76
+ }
77
+ }
78
+
79
+ .multiple-panel-last {
80
+ .p-panel {
81
+ border-top-left-radius: 0px;
82
+ border-top-right-radius: 0px;
83
+ }
84
+ }
85
+
86
+ .panel-body-wrapper{
87
+ padding: 18px;
88
+ }
@@ -0,0 +1,17 @@
1
+ .spiderly-inputgroup {
2
+ display: flex;
3
+ gap: 8px;
4
+ }
5
+
6
+ .spiderly-inputgroup-addon {
7
+ width: 38px;
8
+ cursor: pointer;
9
+ background-color: var(--p-primary-color);
10
+ border-color: var(--p-primary-color);
11
+ border-radius: var(--p-content-border-radius);
12
+ display: flex;
13
+
14
+ i {
15
+ margin: auto;
16
+ }
17
+ }
@@ -886,7 +886,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
886
886
  // --gray-900: #212121;
887
887
  // --content-padding:#{$panelContentPadding};
888
888
  // --inline-spacing:#{$inlineSpacing};
889
- // --border-radius:#{$borderRadius};
889
+ --border-radius:#{$borderRadius};
890
890
  // --surface-ground:#f8f9fa;
891
891
  // --surface-section:#ffffff;
892
892
  --p-paginator-border-radius: 0 0 6px 6px !important;