spiderly 19.5.4-preview.3 → 19.6.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.
@@ -7,10 +7,10 @@ import { AuthServiceBase } from '../../../services/auth.service.base';
7
7
  import { BaseFormService } from '../../../services/base-form.service';
8
8
  import { ConfigServiceBase } from '../../../services/config.service.base';
9
9
  import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
10
- import { BaseFormCopy } from '../../base-form/base-form copy';
10
+ import { BaseFormComponent } from '../../base-form/base-form.component';
11
11
  import { SpiderlyFormGroup } from '../../spiderly-form-control/spiderly-form-control';
12
12
  import * as i0 from "@angular/core";
13
- export declare class LoginComponent extends BaseFormCopy implements OnInit {
13
+ export declare class LoginComponent extends BaseFormComponent implements OnInit {
14
14
  protected differs: KeyValueDiffers;
15
15
  protected http: HttpClient;
16
16
  protected messageService: SpiderlyMessageService;
@@ -5,10 +5,10 @@ import { TranslocoService } from '@jsverse/transloco';
5
5
  import { VerificationTokenRequest } from '../../../entities/security-entities';
6
6
  import { BaseFormService } from '../../../services/base-form.service';
7
7
  import { SpiderlyMessageService } from '../../../services/spiderly-message.service';
8
- import { BaseFormCopy } from '../../base-form/base-form copy';
8
+ import { BaseFormComponent } from '../../base-form/base-form.component';
9
9
  import { SpiderlyFormGroup } from '../../spiderly-form-control/spiderly-form-control';
10
10
  import * as i0 from "@angular/core";
11
- export declare class VerificationWrapperComponent extends BaseFormCopy implements OnInit {
11
+ export declare class VerificationWrapperComponent extends BaseFormComponent implements OnInit {
12
12
  protected differs: KeyValueDiffers;
13
13
  protected http: HttpClient;
14
14
  protected messageService: SpiderlyMessageService;
@@ -7,7 +7,7 @@ import { SpiderlyMessageService } from '../../services/spiderly-message.service'
7
7
  import { SpiderlyFormArray, SpiderlyFormControl, SpiderlyFormGroup } from '../spiderly-form-control/spiderly-form-control';
8
8
  import { BaseFormService } from './../../services/base-form.service';
9
9
  import * as i0 from "@angular/core";
10
- export declare class BaseFormCopy<TMainUIForm extends BaseEntity = any, TSaveBody extends BaseEntity = any> implements OnInit {
10
+ export declare class BaseFormComponent<TMainUIForm extends BaseEntity = any, TSaveBody extends BaseEntity = any> implements OnInit {
11
11
  protected differs: KeyValueDiffers;
12
12
  protected http: HttpClient;
13
13
  protected messageService: SpiderlyMessageService;
@@ -153,6 +153,6 @@ export declare class BaseFormCopy<TMainUIForm extends BaseEntity = any, TSaveBod
153
153
  getFormArrayControlByIndex<T>(formControlName: keyof T & string, formArray: SpiderlyFormArray<T>, index: number, filter?: (formGroups: SpiderlyFormGroup<T>[]) => SpiderlyFormGroup<T>[]): SpiderlyFormControl;
154
154
  getFormArrayControls<T>(formControlName: keyof T & string, formArray: SpiderlyFormArray<T>, filter?: (formGroups: SpiderlyFormGroup<T>[]) => SpiderlyFormGroup<T>[]): SpiderlyFormControl[];
155
155
  removeFormControlsFromTheFormArray(formArray: SpiderlyFormArray, indexes: number[]): void;
156
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormCopy<any, any>, never>;
157
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormCopy<any, any>, "base-form", never, {}, {}, never, never, false, never>;
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormComponent<any, any>, never>;
157
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormComponent<any, any>, "base-form", never, {}, {}, never, never, false, never>;
158
158
  }
@@ -14,7 +14,7 @@ export declare class SpiderlyFileComponent extends BaseControl implements OnInit
14
14
  onFileRemoved: EventEmitter<null>;
15
15
  objectId: number;
16
16
  fileData: string;
17
- acceptedFileTypes: Array<'image/*' | 'application/pdf' | '.pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.ms-excel' | '.xlsx' | '.xls'>;
17
+ acceptedFileTypes: Array<'image/*' | 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif' | 'image/avif' | 'image/svg+xml' | '.png' | '.jpg' | '.jpeg' | '.webp' | '.gif' | '.avif' | '.svg' | 'application/pdf' | '.pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.ms-excel' | '.xlsx' | '.xls' | 'video/*' | 'video/mp4' | '.mp4' | 'audio/*' | 'audio/mpeg' | '.mp3' | 'application/zip' | '.zip' | 'text/csv' | '.csv'>;
18
18
  required: boolean;
19
19
  multiple: boolean;
20
20
  isCloudinaryFileData: boolean;
@@ -1,8 +1,8 @@
1
1
  export declare enum MatchModeCodes {
2
- StartsWith = 0,
3
- Contains = 1,
4
- Equals = 2,
5
- LessThan = 3,
6
- GreaterThan = 4,
7
- In = 5
2
+ StartsWith = "startsWith",
3
+ Contains = "contains",
4
+ Equals = "equals",
5
+ LessThan = "lessThan",
6
+ GreaterThan = "greaterThan",
7
+ In = "in"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spiderly",
3
- "version": "19.5.4-preview.3",
3
+ "version": "19.6.0",
4
4
  "author": "Filip Trivan",
5
5
  "license": "MIT",
6
6
  "description": "Spiderly Angular Library to use in combination with Spiderly.",
package/public-api.d.ts CHANGED
@@ -18,7 +18,7 @@ export * from './lib/controls/spiderly-textbox/spiderly-textbox.component';
18
18
  export * from './lib/components/auth/login/login.component';
19
19
  export * from './lib/components/auth/partials/login-verification.component';
20
20
  export * from './lib/components/auth/partials/verification-wrapper.component';
21
- export * from './lib/components/base-form/base-form copy';
21
+ export * from './lib/components/base-form/base-form.component';
22
22
  export * from './lib/components/card-skeleton/card-skeleton.component';
23
23
  export * from './lib/components/footer/footer.component';
24
24
  export * from './lib/components/index-card/index-card.component';
@@ -6,91 +6,6 @@
6
6
  }
7
7
  }
8
8
 
9
- .spiderly-dashboard-item {
10
- position: relative;
11
- display: flex;
12
- flex-direction: column;
13
- justify-content: flex-start;
14
- align-items: center;
15
- border: solid 1px #e0e0e0;
16
- border-radius: 5px;
17
- padding: 20px 30px;
18
- flex-grow: 1;
19
-
20
- &__icon {
21
- margin-bottom: 10px;
22
- font-size: 3.2em;
23
- }
24
- &__title {
25
- font-size: 1.1em;
26
- text-align: center;
27
- text-decoration: none !important;
28
- }
29
- &__bullets {
30
- }
31
- &__bullet {
32
- }
33
-
34
- &__bg {
35
- position: absolute;
36
- top: 0px;
37
- bottom: 0px;
38
- left: 0px;
39
- right: 0px;
40
- background-color: #fff;
41
- z-index: -5;
42
-
43
- &-icon {
44
- position: absolute;
45
- bottom: 0px;
46
- right: 30px;
47
- font-size: 15em;
48
- //transform: rotate(-45deg);
49
- opacity: 0.04;
50
- text-decoration: none !important;
51
- }
52
- }
53
-
54
- &--eo {
55
- min-height: 200px;
56
- }
57
- &--codebooks {
58
- min-height: 100px;
59
- cursor: pointer;
60
- }
61
- &--home {
62
- min-height: 160px;
63
- cursor: pointer;
64
- z-index: 1;
65
- &:hover {
66
- text-decoration: none;
67
-
68
- .c-dashboard-item__bg {
69
- background-color: #f8f8f8;
70
- }
71
- .c-dashboard-item__bg-icon {
72
- opacity: 0.2;
73
- transform: rotate(0deg);
74
- }
75
- }
76
-
77
- .c-dashboard-item__icon {
78
- font-size: 4em;
79
- }
80
- .c-dashboard-item__title {
81
- font-size: 1.3em;
82
- }
83
- .c-dashboard-item__bg-icon {
84
- font-size: 9em;
85
- right: 40px;
86
- bottom: 20px;
87
- transform: rotate(-20deg);
88
- opacity: 0.1;
89
- transition: all 1s;
90
- }
91
- }
92
- }
93
-
94
9
  .dashboard-card-wrapper {
95
10
  display: flex;
96
11
  flex-direction: column;
@@ -441,13 +356,6 @@
441
356
  }
442
357
  }
443
358
 
444
- ul,
445
- ol {
446
- padding-left: 25px;
447
- margin-top: 10px;
448
- margin-bottom: 10px;
449
- }
450
-
451
359
  $grid-columns: 8;
452
360
  $grid-gap: 2rem;
453
361
  $breakpoints: (