@gloww/gloww 19.0.0-beta.4 → 20.0.0-beta.3
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/compute-version.js +6 -3
- package/fesm2022/gloww-gloww.mjs +192 -204
- package/fesm2022/gloww-gloww.mjs.map +1 -1
- package/index.d.ts +60 -60
- package/package.json +3 -3
- package/gloww.theme.scss +0 -196
package/index.d.ts
CHANGED
|
@@ -4,44 +4,44 @@ import * as rxjs from 'rxjs';
|
|
|
4
4
|
import { Subject, BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import * as _angular_common_http from '@angular/common/http';
|
|
6
6
|
import { HttpClient, HttpParams, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
8
|
import { PlatformLocation, Location } from '@angular/common';
|
|
9
9
|
import * as _angular_material_dialog from '@angular/material/dialog';
|
|
10
10
|
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i12 from '@angular/router';
|
|
12
12
|
import { Router, ActivatedRoute, Data, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
13
|
-
import * as i7 from '@angular/forms';
|
|
14
|
-
import { UntypedFormBuilder, UntypedFormGroup, ControlValueAccessor, UntypedFormControl, FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
|
|
15
13
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
16
14
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
17
|
-
import * as
|
|
15
|
+
import * as i2 from '@angular/forms';
|
|
16
|
+
import { UntypedFormBuilder, UntypedFormGroup, ControlValueAccessor, UntypedFormControl, FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
|
|
17
|
+
import * as i8 from '@angular/material/input';
|
|
18
|
+
import * as i7$1 from '@angular/material/icon';
|
|
19
|
+
import * as i6 from '@angular/material/button';
|
|
20
|
+
import * as i10 from '@angular/material/card';
|
|
21
|
+
import * as i10$1 from '@angular/material/progress-spinner';
|
|
22
|
+
import * as i11 from '@angular/material/progress-bar';
|
|
23
|
+
import * as i12$1 from '@angular/material/table';
|
|
24
|
+
import { MatColumnDef, MatTable, MatTableDataSource } from '@angular/material/table';
|
|
25
|
+
import * as i13 from '@angular/material/select';
|
|
26
|
+
import * as i14 from '@angular/material/paginator';
|
|
18
27
|
import { MatPaginator } from '@angular/material/paginator';
|
|
19
|
-
import * as
|
|
28
|
+
import * as i15 from '@angular/material/sort';
|
|
20
29
|
import { MatSort, Sort } from '@angular/material/sort';
|
|
21
|
-
import * as
|
|
22
|
-
import
|
|
23
|
-
import * as i43 from '@ctrl/ngx-codemirror';
|
|
30
|
+
import * as i16 from '@angular/material/autocomplete';
|
|
31
|
+
import * as i17 from '@ctrl/ngx-codemirror';
|
|
24
32
|
import { CodemirrorComponent } from '@ctrl/ngx-codemirror';
|
|
25
|
-
import * as
|
|
33
|
+
import * as i18 from '@kolkov/angular-editor';
|
|
26
34
|
import { AngularEditorConfig } from '@kolkov/angular-editor';
|
|
27
|
-
import * as
|
|
35
|
+
import * as i19 from '@angular/material/datepicker';
|
|
36
|
+
import * as i20 from 'ngx-mat-datetime-picker-v2';
|
|
37
|
+
import * as i21 from '@angular/cdk/drag-drop';
|
|
38
|
+
import * as i22 from 'angular-resize-event';
|
|
28
39
|
import { ResizedEvent } from 'angular-resize-event';
|
|
29
40
|
import { TranslateDefaultParser } from '@ngx-translate/core';
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as i36 from '@angular/material/progress-spinner';
|
|
35
|
-
import * as i37 from '@angular/material/progress-bar';
|
|
36
|
-
import * as i39 from '@angular/material/select';
|
|
37
|
-
import * as i42 from '@angular/material/autocomplete';
|
|
38
|
-
import * as i45 from '@angular/material/datepicker';
|
|
39
|
-
import * as i46 from 'ngx-mat-datetime-picker-v2';
|
|
40
|
-
import * as i47 from '@angular/cdk/drag-drop';
|
|
41
|
-
import * as i9 from '@angular/platform-browser/animations';
|
|
42
|
-
import * as i10 from '@angular/material/toolbar';
|
|
43
|
-
import * as i12 from '@angular/material/sidenav';
|
|
44
|
-
import * as i14 from '@angular/material/form-field';
|
|
41
|
+
import * as i4 from '@angular/platform-browser/animations';
|
|
42
|
+
import * as i5 from '@angular/material/toolbar';
|
|
43
|
+
import * as i7 from '@angular/material/sidenav';
|
|
44
|
+
import * as i9 from '@angular/material/form-field';
|
|
45
45
|
|
|
46
46
|
declare const API_SERVER_URL: InjectionToken<string>;
|
|
47
47
|
declare const GLOWW_APPLI: InjectionToken<string>;
|
|
@@ -105,7 +105,7 @@ declare class ConfirmationComponent {
|
|
|
105
105
|
onConfirm(): void;
|
|
106
106
|
onDismiss(): void;
|
|
107
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "glw-confirmation", never, {}, {}, never, never,
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "glw-confirmation", never, {}, {}, never, never, true, never>;
|
|
109
109
|
}
|
|
110
110
|
declare class ConfirmationModel {
|
|
111
111
|
title: string;
|
|
@@ -154,7 +154,7 @@ declare class UploadDocComponent {
|
|
|
154
154
|
cancel(): void;
|
|
155
155
|
save(): void;
|
|
156
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadDocComponent, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadDocComponent, "gloww-upload-doc", never, {}, {}, never, never,
|
|
157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadDocComponent, "gloww-upload-doc", never, {}, {}, never, never, true, never>;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
declare class SafeHtmlPipe implements PipeTransform {
|
|
@@ -162,7 +162,7 @@ declare class SafeHtmlPipe implements PipeTransform {
|
|
|
162
162
|
constructor(sanitizer: DomSanitizer);
|
|
163
163
|
transform(style: any): _angular_platform_browser.SafeHtml;
|
|
164
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
165
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml",
|
|
165
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
interface DisplayObjectsConfiguration<TObj> {
|
|
@@ -174,14 +174,14 @@ declare class SearchFormComponent implements OnInit {
|
|
|
174
174
|
constructor();
|
|
175
175
|
ngOnInit(): void;
|
|
176
176
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFormComponent, never>;
|
|
177
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFormComponent, "glw-search-form", never, {}, {}, never, ["*"],
|
|
177
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFormComponent, "glw-search-form", never, {}, {}, never, ["*"], true, never>;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
declare class HeaderComponent implements OnInit {
|
|
181
181
|
constructor();
|
|
182
182
|
ngOnInit(): void;
|
|
183
183
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
184
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "glw-header", never, {}, {}, never, ["*"],
|
|
184
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "glw-header", never, {}, {}, never, ["*"], true, never>;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
declare class ResultTableComponent implements OnInit, AfterContentInit {
|
|
@@ -190,7 +190,7 @@ declare class ResultTableComponent implements OnInit, AfterContentInit {
|
|
|
190
190
|
ngAfterContentInit(): void;
|
|
191
191
|
ngOnInit(): void;
|
|
192
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResultTableComponent, never>;
|
|
193
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResultTableComponent, "glw-result-table", never, {}, {}, ["columnDefs"], ["*"],
|
|
193
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResultTableComponent, "glw-result-table", never, {}, {}, ["columnDefs"], ["*"], true, never>;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
declare class Oauthassociation {
|
|
@@ -269,7 +269,7 @@ declare class FilterFormComponent implements OnInit {
|
|
|
269
269
|
ngOnInit(): void;
|
|
270
270
|
onFilter(): void;
|
|
271
271
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterFormComponent, never>;
|
|
272
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterFormComponent, "glw-filter-form", never, {}, { "filter": "filter"; }, never, ["*"],
|
|
272
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterFormComponent, "glw-filter-form", never, {}, { "filter": "filter"; }, never, ["*"], true, never>;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
interface Action {
|
|
@@ -359,7 +359,7 @@ declare class DisplayObjectsComponent<TObj> implements OnInit, AfterContentInit,
|
|
|
359
359
|
_updateObj(current: any, newData: any): Observable<any>;
|
|
360
360
|
EditObj(obj: TObj): void;
|
|
361
361
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisplayObjectsComponent<any>, never>;
|
|
362
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DisplayObjectsComponent<any>, "glw-display-objects", never, { "configuration": { "alias": "configuration"; "required": false; }; "displayObjLink": { "alias": "displayObjLink"; "required": false; }; "canDisplayObj": { "alias": "canDisplayObj"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "canAdd": { "alias": "canAdd"; "required": false; }; "form": { "alias": "form"; "required": false; }; "SearchForm": { "alias": "SearchForm"; "required": false; }; "searchRequest": { "alias": "searchRequest"; "required": false; }; "postRequest": { "alias": "postRequest"; "required": false; }; "deleteRequest": { "alias": "deleteRequest"; "required": false; }; "putRequest": { "alias": "putRequest"; "required": false; }; "maxrows": { "alias": "maxrows"; "required": false; }; "mandatoryParams": { "alias": "mandatoryParams"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "dialogConfig": { "alias": "dialogConfig"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "objectName": { "alias": "objectName"; "required": false; }; "primaryKey": { "alias": "primaryKey"; "required": false; }; "Editor": { "alias": "Editor"; "required": false; }; "AddEditor": { "alias": "AddEditor"; "required": false; }; }, {}, ["header", "searchFormLayout", "filterFormLayout", "resultLayout"], ["glw-header", "glw-search-form", "[filter]", "glw-result-table"],
|
|
362
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DisplayObjectsComponent<any>, "glw-display-objects", never, { "configuration": { "alias": "configuration"; "required": false; }; "displayObjLink": { "alias": "displayObjLink"; "required": false; }; "canDisplayObj": { "alias": "canDisplayObj"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "canAdd": { "alias": "canAdd"; "required": false; }; "form": { "alias": "form"; "required": false; }; "SearchForm": { "alias": "SearchForm"; "required": false; }; "searchRequest": { "alias": "searchRequest"; "required": false; }; "postRequest": { "alias": "postRequest"; "required": false; }; "deleteRequest": { "alias": "deleteRequest"; "required": false; }; "putRequest": { "alias": "putRequest"; "required": false; }; "maxrows": { "alias": "maxrows"; "required": false; }; "mandatoryParams": { "alias": "mandatoryParams"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "dialogConfig": { "alias": "dialogConfig"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "objectName": { "alias": "objectName"; "required": false; }; "primaryKey": { "alias": "primaryKey"; "required": false; }; "Editor": { "alias": "Editor"; "required": false; }; "AddEditor": { "alias": "AddEditor"; "required": false; }; }, {}, ["header", "searchFormLayout", "filterFormLayout", "resultLayout"], ["glw-header", "glw-search-form", "[filter]", "glw-result-table"], true, never>;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
declare class PromptComponent implements OnInit {
|
|
@@ -374,7 +374,7 @@ declare class PromptComponent implements OnInit {
|
|
|
374
374
|
onCancel(): void;
|
|
375
375
|
onOK(): void;
|
|
376
376
|
static ɵfac: i0.ɵɵFactoryDeclaration<PromptComponent, never>;
|
|
377
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptComponent, "gloww-prompt", never, {}, {}, never, never,
|
|
377
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptComponent, "gloww-prompt", never, {}, {}, never, never, true, never>;
|
|
378
378
|
}
|
|
379
379
|
declare class PromptModel {
|
|
380
380
|
title: string;
|
|
@@ -390,7 +390,7 @@ declare class SecurePipe implements PipeTransform {
|
|
|
390
390
|
constructor(http: HttpClient, domSanitizer: DomSanitizer);
|
|
391
391
|
transform(url: any, delayVal?: any, retryVal?: any): Observable<_angular_platform_browser.SafeUrl>;
|
|
392
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<SecurePipe, never>;
|
|
393
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SecurePipe, "secure",
|
|
393
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SecurePipe, "secure", true>;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
declare class SecureImgComponent implements OnChanges {
|
|
@@ -403,7 +403,7 @@ declare class SecureImgComponent implements OnChanges {
|
|
|
403
403
|
constructor(httpClient: HttpClient, domSanitizer: DomSanitizer);
|
|
404
404
|
private loadImage;
|
|
405
405
|
static ɵfac: i0.ɵɵFactoryDeclaration<SecureImgComponent, never>;
|
|
406
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SecureImgComponent, "secure-img", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never,
|
|
406
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SecureImgComponent, "secure-img", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
interface NavItem {
|
|
@@ -438,7 +438,7 @@ declare class MenuListItemComponent implements OnInit, AfterViewInit {
|
|
|
438
438
|
getDisabledPromise(): any;
|
|
439
439
|
getHiddenPromise(): any;
|
|
440
440
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuListItemComponent, never>;
|
|
441
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuListItemComponent, "gloww-menu-list-item", never, { "item": { "alias": "item"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; }, {}, never, never,
|
|
441
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuListItemComponent, "gloww-menu-list-item", never, { "item": { "alias": "item"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; }, {}, never, never, true, never>;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
interface Snippet {
|
|
@@ -492,7 +492,7 @@ declare class CodeEditorComponent implements ControlValueAccessor, AfterViewInit
|
|
|
492
492
|
getFormatter(): string;
|
|
493
493
|
autoFormatSelection(cm: any): void;
|
|
494
494
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeEditorComponent, never>;
|
|
495
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CodeEditorComponent, "gloww-code-editor", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "formatterOptions": { "alias": "formatterOptions"; "required": false; }; "snippets": { "alias": "snippets"; "required": false; }; "snippetsPath": { "alias": "snippetsPath"; "required": false; }; }, {}, never, never,
|
|
495
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CodeEditorComponent, "gloww-code-editor", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "formatterOptions": { "alias": "formatterOptions"; "required": false; }; "snippets": { "alias": "snippets"; "required": false; }; "snippetsPath": { "alias": "snippetsPath"; "required": false; }; }, {}, never, never, true, never>;
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
declare class VoiceRecognitionService {
|
|
@@ -534,7 +534,7 @@ declare class LoginComponent implements OnInit {
|
|
|
534
534
|
MatchPassword(fg: UntypedFormGroup): boolean;
|
|
535
535
|
ngOnInit(): void;
|
|
536
536
|
get f(): {
|
|
537
|
-
[key: string]:
|
|
537
|
+
[key: string]: i2.AbstractControl<any, any, any>;
|
|
538
538
|
};
|
|
539
539
|
resetError(): void;
|
|
540
540
|
onConnect(): void;
|
|
@@ -544,7 +544,7 @@ declare class LoginComponent implements OnInit {
|
|
|
544
544
|
onOAuthAskCode(): void;
|
|
545
545
|
onOAuthAssociation(): void;
|
|
546
546
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, [null, null, null, null, { optional: true; }]>;
|
|
547
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "gloww-login", never, {}, {}, never, never,
|
|
547
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "gloww-login", never, {}, {}, never, never, true, never>;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
declare class ChangePasswordDlgComponent implements OnInit {
|
|
@@ -559,7 +559,7 @@ declare class ChangePasswordDlgComponent implements OnInit {
|
|
|
559
559
|
onSubmit(): void;
|
|
560
560
|
cancel(): void;
|
|
561
561
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordDlgComponent, never>;
|
|
562
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordDlgComponent, "gloww-change-password-dlg", never, {}, {}, never, never,
|
|
562
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordDlgComponent, "gloww-change-password-dlg", never, {}, {}, never, never, true, never>;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
declare class UserMenuComponent implements OnInit {
|
|
@@ -579,7 +579,7 @@ declare class UserMenuComponent implements OnInit {
|
|
|
579
579
|
toggleMenuUser(): void;
|
|
580
580
|
Configuration(): void;
|
|
581
581
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuComponent, never>;
|
|
582
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserMenuComponent, "gloww-user-menu", never, { "size": { "alias": "size"; "required": false; }; "imageUser": { "alias": "imageUser"; "required": false; }; "loginpage": { "alias": "loginpage"; "required": false; }; }, {}, never, never,
|
|
582
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserMenuComponent, "gloww-user-menu", never, { "size": { "alias": "size"; "required": false; }; "imageUser": { "alias": "imageUser"; "required": false; }; "loginpage": { "alias": "loginpage"; "required": false; }; }, {}, never, never, true, never>;
|
|
583
583
|
}
|
|
584
584
|
|
|
585
585
|
declare class SocialNetworkDlgComponent implements OnInit {
|
|
@@ -595,7 +595,7 @@ declare class SocialNetworkDlgComponent implements OnInit {
|
|
|
595
595
|
OAuthAddAssociation(provider: String): void;
|
|
596
596
|
OAuthDeleteAssociation(association: Oauthassociation): void;
|
|
597
597
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialNetworkDlgComponent, [null, null, null, { optional: true; }]>;
|
|
598
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SocialNetworkDlgComponent, "gloww-social-network-dlg", never, {}, {}, never, never,
|
|
598
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SocialNetworkDlgComponent, "gloww-social-network-dlg", never, {}, {}, never, never, true, never>;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
declare class SocialNetworkComponent implements OnInit {
|
|
@@ -618,7 +618,7 @@ declare class SocialNetworkComponent implements OnInit {
|
|
|
618
618
|
execute(provider: any): void;
|
|
619
619
|
writeobj(provider: any): void;
|
|
620
620
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialNetworkComponent, never>;
|
|
621
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SocialNetworkComponent, "gloww-social-network", never, { "oAuthProviders": { "alias": "oAuthProviders"; "required": false; }; }, { "callback": "callback"; }, never, never,
|
|
621
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SocialNetworkComponent, "gloww-social-network", never, { "oAuthProviders": { "alias": "oAuthProviders"; "required": false; }; }, { "callback": "callback"; }, never, never, true, never>;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
declare class JwtInterceptor implements HttpInterceptor {
|
|
@@ -668,7 +668,7 @@ declare class AdministratorGuard {
|
|
|
668
668
|
declare class GlowwSecurityModule {
|
|
669
669
|
static forRoot(authenticationServiceConfig: AuthenticationServiceConfig): ModuleWithProviders<GlowwSecurityModule>;
|
|
670
670
|
static ɵfac: i0.ɵɵFactoryDeclaration<GlowwSecurityModule, never>;
|
|
671
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwSecurityModule, [typeof
|
|
671
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwSecurityModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof _angular_platform_browser.BrowserModule, typeof i4.BrowserAnimationsModule, typeof i5.MatToolbarModule, typeof i6.MatButtonModule, typeof i7.MatSidenavModule, typeof i8.MatInputModule, typeof i9.MatFormFieldModule, typeof i10.MatCardModule, typeof _angular_material_dialog.MatDialogModule, typeof i12.RouterModule, typeof LoginComponent, typeof ChangePasswordDlgComponent, typeof UserMenuComponent, typeof SocialNetworkDlgComponent, typeof SocialNetworkComponent], [typeof LoginComponent, typeof i12.RouterModule, typeof UserMenuComponent]>;
|
|
672
672
|
static ɵinj: i0.ɵɵInjectorDeclaration<GlowwSecurityModule>;
|
|
673
673
|
}
|
|
674
674
|
|
|
@@ -697,7 +697,7 @@ declare class HtmlEditorComponent implements ControlValueAccessor {
|
|
|
697
697
|
sanitize(html: string): string;
|
|
698
698
|
isAdministrator(): boolean;
|
|
699
699
|
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlEditorComponent, never>;
|
|
700
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorComponent, "gloww-html-editor", never, { "placeHolder": { "alias": "placeHolder"; "required": false; }; "_value": { "alias": "value"; "required": false; }; }, {}, never, never,
|
|
700
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorComponent, "gloww-html-editor", never, { "placeHolder": { "alias": "placeHolder"; "required": false; }; "_value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
declare class HtmlFormatPipe implements PipeTransform {
|
|
@@ -705,7 +705,7 @@ declare class HtmlFormatPipe implements PipeTransform {
|
|
|
705
705
|
constructor(_sanitizer?: DomSanitizer);
|
|
706
706
|
transform(value: string, ...args: unknown[]): string;
|
|
707
707
|
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlFormatPipe, never>;
|
|
708
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HtmlFormatPipe, "htmlFormat",
|
|
708
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HtmlFormatPipe, "htmlFormat", true>;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
declare class UploadFileComponent implements ControlValueAccessor, AfterViewInit {
|
|
@@ -737,7 +737,7 @@ declare class UploadFileComponent implements ControlValueAccessor, AfterViewInit
|
|
|
737
737
|
formatBytes(bytes: any, decimals?: number): string;
|
|
738
738
|
deleteFile(index: number): void;
|
|
739
739
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileComponent, never>;
|
|
740
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileComponent, "gloww-upload-file", never, { "multiple": { "alias": "multiple"; "required": false; }; "allowAltFileName": { "alias": "allowAltFileName"; "required": false; }; "acceptMime": { "alias": "acceptMime"; "required": false; }; }, {}, never, never,
|
|
740
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileComponent, "gloww-upload-file", never, { "multiple": { "alias": "multiple"; "required": false; }; "allowAltFileName": { "alias": "allowAltFileName"; "required": false; }; "acceptMime": { "alias": "acceptMime"; "required": false; }; }, {}, never, never, true, never>;
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
declare class FileSinkDirective {
|
|
@@ -747,7 +747,7 @@ declare class FileSinkDirective {
|
|
|
747
747
|
onDragLeave(evt: any): void;
|
|
748
748
|
ondrop(evt: any): void;
|
|
749
749
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileSinkDirective, never>;
|
|
750
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FileSinkDirective, "[glowwFileSink]", never, {}, { "fileDropped": "fileDropped"; }, never, never,
|
|
750
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileSinkDirective, "[glowwFileSink]", never, {}, { "fileDropped": "fileDropped"; }, never, never, true, never>;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
declare class FileEditComponent implements OnInit {
|
|
@@ -782,7 +782,7 @@ declare class FileEditComponent implements OnInit {
|
|
|
782
782
|
initDone: boolean;
|
|
783
783
|
onResized(event: ResizedEvent): void;
|
|
784
784
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileEditComponent, never>;
|
|
785
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileEditComponent, "gloww-file-edit", never, {}, {}, never, never,
|
|
785
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileEditComponent, "gloww-file-edit", never, {}, {}, never, never, true, never>;
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
interface DirectoryContent {
|
|
@@ -829,7 +829,7 @@ declare class FoldersComponent implements OnInit {
|
|
|
829
829
|
*/
|
|
830
830
|
downLoadFile2(data: any, type: string): void;
|
|
831
831
|
static ɵfac: i0.ɵɵFactoryDeclaration<FoldersComponent, never>;
|
|
832
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FoldersComponent, "gloww-folders", never, {}, {}, never, never,
|
|
832
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FoldersComponent, "gloww-folders", never, {}, {}, never, never, true, never>;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
835
|
declare class DownloadProgressComponent implements OnInit {
|
|
@@ -856,7 +856,7 @@ declare class DownloadProgressComponent implements OnInit {
|
|
|
856
856
|
downloadZip(): Promise<void>;
|
|
857
857
|
download(): Promise<void>;
|
|
858
858
|
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadProgressComponent, never>;
|
|
859
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DownloadProgressComponent, "gloww-download-progress", never, {}, {}, never, never,
|
|
859
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DownloadProgressComponent, "gloww-download-progress", never, {}, {}, never, never, true, never>;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
declare class SecureAComponent implements OnInit {
|
|
@@ -867,14 +867,14 @@ declare class SecureAComponent implements OnInit {
|
|
|
867
867
|
ngOnInit(): void;
|
|
868
868
|
click(): void;
|
|
869
869
|
static ɵfac: i0.ɵɵFactoryDeclaration<SecureAComponent, never>;
|
|
870
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SecureAComponent, "gloww-secure-a", never, { "href": { "alias": "href"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"],
|
|
870
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SecureAComponent, "gloww-secure-a", never, { "href": { "alias": "href"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
871
871
|
}
|
|
872
872
|
|
|
873
873
|
declare class DummyComponent implements OnInit {
|
|
874
874
|
constructor();
|
|
875
875
|
ngOnInit(): void;
|
|
876
876
|
static ɵfac: i0.ɵɵFactoryDeclaration<DummyComponent, never>;
|
|
877
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DummyComponent, "gloww-dummy", never, {}, {}, never, never,
|
|
877
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DummyComponent, "gloww-dummy", never, {}, {}, never, never, true, never>;
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
declare class SelectComponent implements ControlValueAccessor, AfterViewInit {
|
|
@@ -906,7 +906,7 @@ declare class SelectComponent implements ControlValueAccessor, AfterViewInit {
|
|
|
906
906
|
setDisabledState?(isDisabled: boolean): void;
|
|
907
907
|
displayObj(item: any): any;
|
|
908
908
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
909
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "gloww-select", never, { "_value": { "alias": "value"; "required": false; }; "objectName": { "alias": "objectName"; "required": false; }; "returnField": { "alias": "returnField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "displayFct": { "alias": "displayFct"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "compareField": { "alias": "compareField"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "searchRequest": { "alias": "searchRequest"; "required": false; }; }, {}, never, never,
|
|
909
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "gloww-select", never, { "_value": { "alias": "value"; "required": false; }; "objectName": { "alias": "objectName"; "required": false; }; "returnField": { "alias": "returnField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "displayFct": { "alias": "displayFct"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "compareField": { "alias": "compareField"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "searchRequest": { "alias": "searchRequest"; "required": false; }; }, {}, never, never, true, never>;
|
|
910
910
|
}
|
|
911
911
|
|
|
912
912
|
declare class AutoCompleteComponent implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
@@ -941,7 +941,7 @@ declare class AutoCompleteComponent implements ControlValueAccessor, OnInit, Aft
|
|
|
941
941
|
setDisabledState?(isDisabled: boolean): void;
|
|
942
942
|
displayObj(item: any): any;
|
|
943
943
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
|
|
944
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "gloww-auto-complete", never, { "_value": { "alias": "value"; "required": false; }; "objectName": { "alias": "objectName"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; "returnField": { "alias": "returnField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "displayExpr": { "alias": "displayExpr"; "required": false; }; "displayFct": { "alias": "displayFct"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "searchRequest": { "alias": "searchRequest"; "required": false; }; }, {}, never, never,
|
|
944
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "gloww-auto-complete", never, { "_value": { "alias": "value"; "required": false; }; "objectName": { "alias": "objectName"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; "returnField": { "alias": "returnField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "displayExpr": { "alias": "displayExpr"; "required": false; }; "displayFct": { "alias": "displayFct"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "searchRequest": { "alias": "searchRequest"; "required": false; }; }, {}, never, never, true, never>;
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
declare class DatetimeComponent implements ControlValueAccessor {
|
|
@@ -962,7 +962,7 @@ declare class DatetimeComponent implements ControlValueAccessor {
|
|
|
962
962
|
registerOnTouched(fn: any): void;
|
|
963
963
|
setDisabledState?(isDisabled: boolean): void;
|
|
964
964
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
965
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "gloww-datetime", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showSpinners": { "alias": "showSpinners"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "disableMinute": { "alias": "disableMinute"; "required": false; }; }, {}, never, never,
|
|
965
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "gloww-datetime", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showSpinners": { "alias": "showSpinners"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "disableMinute": { "alias": "disableMinute"; "required": false; }; }, {}, never, never, true, never>;
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
declare class RouteDirective {
|
|
@@ -972,7 +972,7 @@ declare class RouteDirective {
|
|
|
972
972
|
dlg: any;
|
|
973
973
|
onClick($event: any): void;
|
|
974
974
|
static ɵfac: i0.ɵɵFactoryDeclaration<RouteDirective, never>;
|
|
975
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RouteDirective, "[glowwRoute]", never, { "dlg": { "alias": "dlg"; "required": false; }; }, {}, never, never,
|
|
975
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RouteDirective, "[glowwRoute]", never, { "dlg": { "alias": "dlg"; "required": false; }; }, {}, never, never, true, never>;
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
declare abstract class BaseCollectionComponent {
|
|
@@ -996,7 +996,7 @@ declare class HasUnsavedDataGuard {
|
|
|
996
996
|
declare class GlowwModule {
|
|
997
997
|
static forRoot(folderServiceConfig?: FolderServiceConfig): ModuleWithProviders<GlowwModule>;
|
|
998
998
|
static ɵfac: i0.ɵɵFactoryDeclaration<GlowwModule, never>;
|
|
999
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwModule, [typeof
|
|
999
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwModule, never, [typeof i1.CommonModule, typeof _angular_platform_browser.BrowserModule, typeof i12.RouterModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof _angular_material_dialog.MatDialogModule, typeof i8.MatInputModule, typeof i7$1.MatIconModule, typeof i6.MatButtonModule, typeof i10.MatCardModule, typeof i10$1.MatProgressSpinnerModule, typeof i11.MatProgressBarModule, typeof i12$1.MatTableModule, typeof i13.MatSelectModule, typeof i14.MatPaginatorModule, typeof i15.MatSortModule, typeof i10$1.MatProgressSpinnerModule, typeof i16.MatAutocompleteModule, typeof i17.CodemirrorModule, typeof i18.AngularEditorModule, typeof i19.MatDatepickerModule, typeof i20.NgxMatDatetimePickerModule, typeof i20.NgxMatTimepickerComponent, typeof i20.NgxMatNativeDateModule, typeof i21.DragDropModule, typeof i22.AngularResizeEventModule, typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof FilterFormComponent], [typeof SafeHtmlPipe, typeof UploadDocComponent, typeof UploadFileComponent, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof i19.MatDatepickerModule, typeof i20.NgxMatDatetimePickerModule, typeof i20.NgxMatTimepickerComponent, typeof i20.NgxMatNativeDateModule, typeof FilterFormComponent]>;
|
|
1000
1000
|
static ɵinj: i0.ɵɵInjectorDeclaration<GlowwModule>;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gloww/gloww",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0-beta.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^20.0.0",
|
|
6
|
+
"@angular/core": "^20.0.0",
|
|
7
7
|
"ngx-mat-datetime-picker-v2": "20.0.0",
|
|
8
8
|
"moment": "^2.30.1",
|
|
9
9
|
"jwt-decode": "^4.0.0"
|
package/gloww.theme.scss
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
//@use 'sass:map';
|
|
4
|
-
|
|
5
|
-
@mixin menu-list-item-component-theme($theme) {
|
|
6
|
-
$color-map: map.get($theme, color);
|
|
7
|
-
$primary-palette: map.get($color-map, primary);
|
|
8
|
-
$primary-color: map.get($primary-palette, default);
|
|
9
|
-
$active-bg: map.get($primary-palette, 50);
|
|
10
|
-
$hover-bg: map.get($primary-palette, 100);
|
|
11
|
-
|
|
12
|
-
mat-nav-list mat-icon i {
|
|
13
|
-
color: $primary-color;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.thisMenu {
|
|
17
|
-
// État actif du lien
|
|
18
|
-
.menu-list-item.active {
|
|
19
|
-
background-color: $active-bg;
|
|
20
|
-
color: $primary-color;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// États de survol et focus
|
|
24
|
-
&:hover,
|
|
25
|
-
&:focus {
|
|
26
|
-
.menu-list-item:not(.expanded) {
|
|
27
|
-
background-color: $hover-bg !important;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Styles de base du composant
|
|
34
|
-
.thisMenu {
|
|
35
|
-
display: flex; // Remplace fxLayout="row"
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
align-items: center; // Aligne verticalement l'icône, le texte et l'expansion
|
|
38
|
-
outline: none;
|
|
39
|
-
width: calc(100% - 20px); // Conserve ton dimensionnement spécifique
|
|
40
|
-
margin: 10px;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.menu-list-item {
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
flex: 1; // REMPLACE fxFlex : prend toute la place pour pousser l'icône à droite
|
|
48
|
-
padding: 8px 0;
|
|
49
|
-
text-decoration: none;
|
|
50
|
-
color: inherit;
|
|
51
|
-
min-width: 0; // Sécurité pour éviter que le texte ne casse le layout
|
|
52
|
-
|
|
53
|
-
.routeIcon {
|
|
54
|
-
margin-right: 20px; // Ajusté selon tes deux définitions précédentes
|
|
55
|
-
flex-shrink: 0; // L'icône ne doit jamais rétrécir
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.menu-label {
|
|
59
|
-
white-space: nowrap;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
text-overflow: ellipsis; // Coupe proprement le texte trop long
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.expand-container {
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
flex-shrink: 0; // L'icône d'expansion reste fixe à droite
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
mat-icon {
|
|
73
|
-
height: 32px;
|
|
74
|
-
width: 40px;
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.expandIcon {
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// Gestion des états désactivés
|
|
85
|
-
:disabled,
|
|
86
|
-
.disabled {
|
|
87
|
-
color: lightgrey !important;
|
|
88
|
-
pointer-events: none; // Empêche le clic si désactivé
|
|
89
|
-
|
|
90
|
-
mat-icon i {
|
|
91
|
-
color: lightgrey !important;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.CodeMirror {
|
|
96
|
-
/*height: 95%;*/
|
|
97
|
-
resize: both;
|
|
98
|
-
padding: 0px;
|
|
99
|
-
margin: 0px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.sameSize {
|
|
103
|
-
padding: 0px;
|
|
104
|
-
margin: 0px;
|
|
105
|
-
border: 1px solid;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@mixin code-editor-component-theme($theme) {
|
|
109
|
-
// Get the color config from the theme.
|
|
110
|
-
$warn-color: mat.get-theme-color($theme, warn);
|
|
111
|
-
gloww-code-editor.ng-invalid .mainDiv {
|
|
112
|
-
border: 1px solid $warn-color;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.mainDiv {
|
|
117
|
-
// Remplacent fxLayout="column", fxFill, fxLayoutAlign="stretch"
|
|
118
|
-
display: flex;
|
|
119
|
-
flex-direction: column;
|
|
120
|
-
align-items: stretch;
|
|
121
|
-
width: 100%;
|
|
122
|
-
height: 100%;
|
|
123
|
-
min-height: 100%;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.snippet-header {
|
|
127
|
-
// Remplace fxLayout="row"
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-direction: row;
|
|
130
|
-
align-items: center; // Aligne verticalement le select et le bouton
|
|
131
|
-
gap: 8px; // Ajoute un espace propre entre les éléments (plus simple que fxLayoutGap)
|
|
132
|
-
width: 100%;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.snippet-select {
|
|
136
|
-
// Remplace fxFlex
|
|
137
|
-
flex: 1 1 auto;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.editor-full-width {
|
|
141
|
-
width: 100%;
|
|
142
|
-
// Si fxFlex était aussi sur le codemirror, ajoutez : flex: 1 1 auto;
|
|
143
|
-
}
|
|
144
|
-
@mixin auto-complete-component-theme($theme) {
|
|
145
|
-
// Get the color config from the theme.
|
|
146
|
-
$warn-color: mat.get-theme-color($theme, warn);
|
|
147
|
-
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
148
|
-
gloww-auto-complete.ng-invalid .autocff .mat-form-field-underline {
|
|
149
|
-
background-color: $warn-color;
|
|
150
|
-
;
|
|
151
|
-
}
|
|
152
|
-
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
153
|
-
gloww-auto-complete.ng-invalid .autocff .mat-form-field-label {
|
|
154
|
-
color: $warn-color;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
@mixin gloww-lib-theme($theme) {
|
|
158
|
-
@include code-editor-component-theme($theme);
|
|
159
|
-
@include menu-list-item-component-theme($theme);
|
|
160
|
-
@include auto-complete-component-theme($theme);
|
|
161
|
-
html,
|
|
162
|
-
body {
|
|
163
|
-
height: 100%;
|
|
164
|
-
}
|
|
165
|
-
body {
|
|
166
|
-
margin: 0;
|
|
167
|
-
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
168
|
-
}
|
|
169
|
-
.cdk-overlay-pane {
|
|
170
|
-
width: unset !important;
|
|
171
|
-
height: unset !important;
|
|
172
|
-
max-width: 100% !important;
|
|
173
|
-
max-height: 90% !important;
|
|
174
|
-
}
|
|
175
|
-
.mat-mdc-dialog-container {
|
|
176
|
-
max-width: 100%;
|
|
177
|
-
max-height: 90% !important;
|
|
178
|
-
//height: unset !important;
|
|
179
|
-
resize: both;
|
|
180
|
-
}
|
|
181
|
-
.dlg {
|
|
182
|
-
display: flex;
|
|
183
|
-
flex-direction: column;
|
|
184
|
-
height: 100%;
|
|
185
|
-
}
|
|
186
|
-
/*TODO(mdc-migration): The following rule targets internal classes of dialog that may no longer apply for the MDC version.*/
|
|
187
|
-
mat-dialog-content {
|
|
188
|
-
flex-grow: 1;
|
|
189
|
-
max-height: 80vh !important;
|
|
190
|
-
/*max-height: unset !important;*/
|
|
191
|
-
}
|
|
192
|
-
td.mat-mdc-cell {
|
|
193
|
-
padding-right: 10px !important;
|
|
194
|
-
padding-left: 10px !important;
|
|
195
|
-
}
|
|
196
|
-
}
|