@cityway/basic-ui 1.0.2-beta017 → 1.0.2-beta019
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/cityway-basic-ui-1.0.2-beta019.tgz +0 -0
- package/fesm2022/cityway-basic-ui.mjs +420 -480
- package/fesm2022/cityway-basic-ui.mjs.map +1 -1
- package/index.d.ts +243 -192
- package/lib/assets/styles/scss/components/_btn-collapse.scss +8 -0
- package/lib/assets/styles/scss/components/_dropdown.scss +1 -0
- package/lib/assets/styles/scss/components/form-field/_field-check.scss +9 -0
- package/lib/assets/styles/scss/components/form-field/_form-field.scss +3 -3
- package/package.json +1 -1
- package/styles/basic-ui.styles.bo.min.css +1 -1
- package/styles/basic-ui.styles.bo.min.css.map +1 -1
- package/styles/basic-ui.styles.fo.min.css +1 -1
- package/styles/basic-ui.styles.fo.min.css.map +1 -1
- package/cityway-basic-ui-1.0.2-beta017.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter, OnInit, AfterViewInit, ElementRef,
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnInit, AfterViewInit, ElementRef, AfterContentInit, OnDestroy, TemplateRef, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { Options } from '@angular-slider/ngx-slider';
|
|
5
5
|
export { Options } from '@angular-slider/ngx-slider';
|
|
6
6
|
import { AbstractControl, FormGroup, FormControl, ValidationErrors } from '@angular/forms';
|
|
7
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
|
8
7
|
import { TranslateService } from '@ngx-translate/core';
|
|
9
8
|
|
|
10
9
|
declare class CollapseDirective {
|
|
@@ -20,8 +19,8 @@ declare class CollapseDirective {
|
|
|
20
19
|
toggle(): void;
|
|
21
20
|
show(): void;
|
|
22
21
|
hide(): void;
|
|
23
|
-
static ɵfac:
|
|
24
|
-
static ɵdir:
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
|
23
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CollapseDirective, "[cwCollapse]", ["cwCollapse"], { "cwCollapse": { "alias": "cwCollapse"; "required": false; }; }, { "shown": "shown"; "hidden": "hidden"; }, never, never, true, never>;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
declare enum CardTypeEnum {
|
|
@@ -581,24 +580,23 @@ declare enum SpriteIconEnum {
|
|
|
581
580
|
|
|
582
581
|
declare class CardComponent implements OnInit, AfterViewInit {
|
|
583
582
|
private cdRef;
|
|
584
|
-
title: string
|
|
585
|
-
type: CardTypeEnum
|
|
586
|
-
titleRank: CardTitleRankEnum
|
|
587
|
-
collapsible: boolean
|
|
588
|
-
collapsed: boolean
|
|
589
|
-
collapseId: string
|
|
590
|
-
destroyOnHide: boolean
|
|
591
|
-
collapseClicked:
|
|
592
|
-
collapseDirective
|
|
593
|
-
cardFooter: ElementRef<
|
|
583
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
584
|
+
readonly type: _angular_core.InputSignal<CardTypeEnum>;
|
|
585
|
+
readonly titleRank: _angular_core.InputSignal<CardTitleRankEnum>;
|
|
586
|
+
readonly collapsible: _angular_core.ModelSignal<boolean>;
|
|
587
|
+
readonly collapsed: _angular_core.InputSignal<boolean>;
|
|
588
|
+
readonly collapseId: _angular_core.InputSignal<string>;
|
|
589
|
+
readonly destroyOnHide: _angular_core.ModelSignal<boolean>;
|
|
590
|
+
readonly collapseClicked: _angular_core.OutputEmitterRef<boolean>;
|
|
591
|
+
readonly collapseDirective: _angular_core.Signal<CollapseDirective>;
|
|
592
|
+
readonly cardFooter: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
594
593
|
showFooter: boolean;
|
|
595
594
|
titleRankEnum: typeof CardTitleRankEnum;
|
|
596
595
|
typeEnum: typeof CardTypeEnum;
|
|
597
|
-
protected isCollapsed: WritableSignal<boolean>;
|
|
598
|
-
protected shouldRenderBody: WritableSignal<boolean>;
|
|
596
|
+
protected isCollapsed: _angular_core.WritableSignal<boolean>;
|
|
597
|
+
protected shouldRenderBody: _angular_core.WritableSignal<boolean>;
|
|
599
598
|
readonly iconSize: typeof IconSizeEnum;
|
|
600
599
|
readonly spriteIcon: typeof SpriteIconEnum;
|
|
601
|
-
constructor(cdRef: ChangeDetectorRef);
|
|
602
600
|
ngOnInit(): void;
|
|
603
601
|
ngAfterViewInit(): void;
|
|
604
602
|
toggleCollapse(): void;
|
|
@@ -606,17 +604,17 @@ declare class CardComponent implements OnInit, AfterViewInit {
|
|
|
606
604
|
expand(): void;
|
|
607
605
|
private updateCollapseState;
|
|
608
606
|
get collapsed_state(): boolean;
|
|
609
|
-
static ɵfac:
|
|
610
|
-
static ɵcmp:
|
|
607
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
608
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "cw-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "titleRank": { "alias": "titleRank"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "collapseId": { "alias": "collapseId"; "required": false; "isSignal": true; }; "destroyOnHide": { "alias": "destroyOnHide"; "required": false; "isSignal": true; }; }, { "collapsible": "collapsibleChange"; "destroyOnHide": "destroyOnHideChange"; "collapseClicked": "collapseClicked"; }, never, ["[header-custom-area]", "*", "[card-footer]"], true, never>;
|
|
611
609
|
}
|
|
612
610
|
|
|
613
611
|
declare class AccordionComponent implements AfterContentInit {
|
|
614
|
-
closeOthers: boolean
|
|
615
|
-
allowMultiple: boolean
|
|
616
|
-
destroyOnHide: boolean
|
|
617
|
-
panelOpened:
|
|
618
|
-
panelClosed:
|
|
619
|
-
cards:
|
|
612
|
+
readonly closeOthers: _angular_core.InputSignal<boolean>;
|
|
613
|
+
readonly allowMultiple: _angular_core.InputSignal<boolean>;
|
|
614
|
+
readonly destroyOnHide: _angular_core.InputSignal<boolean>;
|
|
615
|
+
readonly panelOpened: _angular_core.OutputEmitterRef<string>;
|
|
616
|
+
readonly panelClosed: _angular_core.OutputEmitterRef<string>;
|
|
617
|
+
readonly cards: _angular_core.Signal<readonly CardComponent[]>;
|
|
620
618
|
private cardMap;
|
|
621
619
|
ngAfterContentInit(): void;
|
|
622
620
|
openPanel(panelId: string): void;
|
|
@@ -627,8 +625,8 @@ declare class AccordionComponent implements AfterContentInit {
|
|
|
627
625
|
private onCardToggle;
|
|
628
626
|
private closeAllExcept;
|
|
629
627
|
private shouldCloseOthers;
|
|
630
|
-
static ɵfac:
|
|
631
|
-
static ɵcmp:
|
|
628
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
629
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "cw-accordion", never, { "closeOthers": { "alias": "closeOthers"; "required": false; "isSignal": true; }; "allowMultiple": { "alias": "allowMultiple"; "required": false; "isSignal": true; }; "destroyOnHide": { "alias": "destroyOnHide"; "required": false; "isSignal": true; }; }, { "panelOpened": "panelOpened"; "panelClosed": "panelClosed"; }, ["cards"], ["*"], true, never>;
|
|
632
630
|
}
|
|
633
631
|
|
|
634
632
|
declare enum AlertTypeEnum {
|
|
@@ -653,25 +651,25 @@ declare enum IconNotifTypeEnum {
|
|
|
653
651
|
|
|
654
652
|
declare class AlertComponent implements OnInit {
|
|
655
653
|
private cdRef;
|
|
656
|
-
type: AlertTypeEnum
|
|
657
|
-
title
|
|
658
|
-
isDismissible: boolean
|
|
659
|
-
cssClass
|
|
660
|
-
dataTest
|
|
661
|
-
close:
|
|
662
|
-
alertContent: ElementRef<
|
|
654
|
+
readonly type: _angular_core.InputSignal<AlertTypeEnum>;
|
|
655
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
656
|
+
readonly isDismissible: _angular_core.InputSignal<boolean>;
|
|
657
|
+
readonly cssClass: _angular_core.InputSignal<string>;
|
|
658
|
+
readonly dataTest: _angular_core.InputSignal<string>;
|
|
659
|
+
readonly close: _angular_core.OutputEmitterRef<boolean>;
|
|
660
|
+
readonly alertContent: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
663
661
|
isVisible: boolean;
|
|
664
662
|
icon: string;
|
|
665
663
|
iconNotifType: IconNotifTypeEnum;
|
|
666
664
|
showContent: boolean;
|
|
665
|
+
resolvedDataTest: string;
|
|
667
666
|
readonly iconSize: typeof IconSizeEnum;
|
|
668
667
|
readonly spriteIcon: typeof SpriteIconEnum;
|
|
669
|
-
constructor(cdRef: ChangeDetectorRef);
|
|
670
668
|
ngOnInit(): void;
|
|
671
669
|
ngAfterViewInit(): void;
|
|
672
670
|
closeAlert(): void;
|
|
673
|
-
static ɵfac:
|
|
674
|
-
static ɵcmp:
|
|
671
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
672
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "cw-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "isDismissible": { "alias": "isDismissible"; "required": false; "isSignal": true; }; "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "dataTest": { "alias": "dataTest"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, ["*"], true, never>;
|
|
675
673
|
}
|
|
676
674
|
|
|
677
675
|
interface ToastAction<T = unknown> {
|
|
@@ -697,32 +695,64 @@ interface ShowToastOptions<T = unknown> {
|
|
|
697
695
|
payload?: T;
|
|
698
696
|
};
|
|
699
697
|
}
|
|
698
|
+
declare const TOAST_AUTOHIDE_DELAY_MS = 6000;
|
|
700
699
|
declare class ToastService {
|
|
701
700
|
private focusService;
|
|
702
|
-
toasts: Toast[]
|
|
701
|
+
readonly toasts: _angular_core.WritableSignal<Toast<unknown>[]>;
|
|
703
702
|
private lastToast?;
|
|
704
|
-
private
|
|
705
|
-
private autohideTimers;
|
|
703
|
+
private triggeringElements;
|
|
706
704
|
show<T>(options: ShowToastOptions<T>): void;
|
|
707
|
-
|
|
708
|
-
|
|
705
|
+
/**
|
|
706
|
+
* Retire un toast.
|
|
707
|
+
* - Action manuelle (clic sur la croix) : restaure le focus sur l'élément déclencheur (par défaut).
|
|
708
|
+
* - Autohide depuis cw-toast-item : passer { restoreFocus: false } pour ne pas faire sauter le focus utilisateur.
|
|
709
|
+
*/
|
|
710
|
+
remove(toast: Toast, opts?: {
|
|
711
|
+
restoreFocus?: boolean;
|
|
712
|
+
}): void;
|
|
709
713
|
clear(): void;
|
|
710
714
|
private canShowMessage;
|
|
711
715
|
private setLastToast;
|
|
712
|
-
static ɵfac:
|
|
713
|
-
static ɵprov:
|
|
716
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastService, never>;
|
|
717
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ToastService>;
|
|
714
718
|
}
|
|
715
719
|
|
|
716
720
|
declare class ToastComponent {
|
|
717
721
|
readonly toastService: ToastService;
|
|
718
722
|
private elRef;
|
|
719
|
-
action:
|
|
720
|
-
closed: EventEmitter<void>;
|
|
723
|
+
readonly action: _angular_core.OutputEmitterRef<ToastAction<unknown>>;
|
|
721
724
|
ngAfterViewInit(): void;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
725
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
726
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastComponent, "cw-toast", never, {}, { "action": "action"; }, never, never, true, never>;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
declare class ToastItemComponent implements OnInit, OnDestroy {
|
|
730
|
+
private readonly toastService;
|
|
731
|
+
private readonly elRef;
|
|
732
|
+
private readonly zone;
|
|
733
|
+
readonly toast: _angular_core.InputSignal<Toast<unknown>>;
|
|
734
|
+
readonly action: _angular_core.OutputEmitterRef<ToastAction<unknown>>;
|
|
735
|
+
readonly progress: _angular_core.WritableSignal<number>;
|
|
736
|
+
private rafId;
|
|
737
|
+
private startTime;
|
|
738
|
+
private remaining;
|
|
739
|
+
private isHovered;
|
|
740
|
+
private isFocused;
|
|
741
|
+
ngOnInit(): void;
|
|
742
|
+
ngOnDestroy(): void;
|
|
743
|
+
onMouseEnter(): void;
|
|
744
|
+
onMouseLeave(): void;
|
|
745
|
+
onFocusIn(): void;
|
|
746
|
+
onFocusOut(event: FocusEvent): void;
|
|
747
|
+
onAction(): void;
|
|
748
|
+
onClose(): void;
|
|
749
|
+
private updatePauseState;
|
|
750
|
+
private startTimer;
|
|
751
|
+
private pauseTimer;
|
|
752
|
+
private resumeTimer;
|
|
753
|
+
private cancelRaf;
|
|
754
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastItemComponent, never>;
|
|
755
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastItemComponent, "cw-toast-item", never, { "toast": { "alias": "toast"; "required": true; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
|
|
726
756
|
}
|
|
727
757
|
|
|
728
758
|
declare enum BadgeTypeEnum {
|
|
@@ -748,18 +778,17 @@ declare enum BadgePositionEnum {
|
|
|
748
778
|
|
|
749
779
|
declare class BadgeComponent {
|
|
750
780
|
badgePositionEnum: typeof BadgePositionEnum;
|
|
751
|
-
type: BadgeTypeEnum
|
|
752
|
-
label
|
|
753
|
-
withIcon
|
|
754
|
-
iconPosition
|
|
755
|
-
cssClass
|
|
756
|
-
skeletonMode
|
|
757
|
-
dataTest
|
|
781
|
+
readonly type: _angular_core.InputSignal<BadgeTypeEnum>;
|
|
782
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
783
|
+
readonly withIcon: _angular_core.InputSignal<SpriteIconEnum>;
|
|
784
|
+
readonly iconPosition: _angular_core.InputSignal<BadgePositionEnum>;
|
|
785
|
+
readonly cssClass: _angular_core.InputSignal<string>;
|
|
786
|
+
readonly skeletonMode: _angular_core.InputSignal<boolean>;
|
|
787
|
+
readonly dataTest: _angular_core.InputSignal<string>;
|
|
758
788
|
iconSizeEnum: typeof IconSizeEnum;
|
|
759
789
|
get hostClasses(): string;
|
|
760
|
-
|
|
761
|
-
static
|
|
762
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cw-badge", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "skeletonMode": { "alias": "skeletonMode"; "required": false; }; "dataTest": { "alias": "dataTest"; "required": false; }; }, {}, never, never, true, never>;
|
|
790
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
791
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "cw-badge", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "withIcon": { "alias": "withIcon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "skeletonMode": { "alias": "skeletonMode"; "required": false; "isSignal": true; }; "dataTest": { "alias": "dataTest"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
763
792
|
}
|
|
764
793
|
|
|
765
794
|
declare enum FoButtonTypeEnum {
|
|
@@ -807,15 +836,15 @@ declare class ResponsiveService {
|
|
|
807
836
|
checkIsMobileResolution$: BehaviorSubject<boolean>;
|
|
808
837
|
constructor();
|
|
809
838
|
private checkIsMobileResolution;
|
|
810
|
-
static ɵfac:
|
|
811
|
-
static ɵprov:
|
|
839
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResponsiveService, never>;
|
|
840
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ResponsiveService>;
|
|
812
841
|
}
|
|
813
842
|
|
|
814
843
|
declare class DropdownItemDirective {
|
|
815
844
|
private elementRef;
|
|
816
845
|
ngOnInit(): void;
|
|
817
|
-
static ɵfac:
|
|
818
|
-
static ɵdir:
|
|
846
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownItemDirective, never>;
|
|
847
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DropdownItemDirective, "[cwDropdownItem]", never, {}, {}, never, never, true, never>;
|
|
819
848
|
}
|
|
820
849
|
declare class ButtonComponent implements OnInit {
|
|
821
850
|
private renderer;
|
|
@@ -876,8 +905,8 @@ declare class ButtonComponent implements OnInit {
|
|
|
876
905
|
hideTooltip(): void;
|
|
877
906
|
onTooltipClickOutside(): void;
|
|
878
907
|
private getRandomId;
|
|
879
|
-
static ɵfac:
|
|
880
|
-
static ɵcmp:
|
|
908
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
909
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "cw-button", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isDropdown": { "alias": "isDropdown"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "withOnlyIcon": { "alias": "withOnlyIcon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "isMinWidth": { "alias": "isMinWidth"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "dataTest": { "alias": "dataTest"; "required": false; }; "skeletonMode": { "alias": "skeletonMode"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipTitle": { "alias": "tooltipTitle"; "required": false; }; "tooltipTrigger": { "alias": "tooltipTrigger"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; }, { "btnAction": "btnAction"; "dropDownClicked": "dropDownClicked"; }, never, ["*"], true, never>;
|
|
881
910
|
}
|
|
882
911
|
|
|
883
912
|
declare class DropdownComponent {
|
|
@@ -889,12 +918,12 @@ declare class DropdownComponent {
|
|
|
889
918
|
menuClass: string;
|
|
890
919
|
placement: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'left-start' | 'right-start';
|
|
891
920
|
autoClose: boolean;
|
|
892
|
-
opened:
|
|
893
|
-
closed:
|
|
921
|
+
opened: _angular_core.OutputEmitterRef<void>;
|
|
922
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
894
923
|
dropdownElement: ElementRef;
|
|
895
924
|
dropdownMenu: ElementRef;
|
|
896
925
|
dropdownToggle: ElementRef;
|
|
897
|
-
protected isOpen:
|
|
926
|
+
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
898
927
|
get dropdownId(): string;
|
|
899
928
|
get placementCss(): string;
|
|
900
929
|
ngAfterViewInit(): void;
|
|
@@ -902,8 +931,8 @@ declare class DropdownComponent {
|
|
|
902
931
|
openDropdown(): void;
|
|
903
932
|
closeDropdown(): void;
|
|
904
933
|
onClickOutside(): void;
|
|
905
|
-
static ɵfac:
|
|
906
|
-
static ɵcmp:
|
|
934
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
935
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownComponent, "cw-dropdown", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "btnCustom": { "alias": "btnCustom"; "required": false; }; "btnCssClass": { "alias": "btnCssClass"; "required": false; }; "menuClass": { "alias": "menuClass"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["[button]", "*"], true, never>;
|
|
907
936
|
}
|
|
908
937
|
|
|
909
938
|
declare enum FormFieldTypeEnum {
|
|
@@ -974,6 +1003,13 @@ declare class FormFieldComponent implements OnInit {
|
|
|
974
1003
|
skeletonMode?: boolean;
|
|
975
1004
|
clearable?: boolean;
|
|
976
1005
|
appendTo?: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Force l'état HTML natif `indeterminate` sur l'input checkbox (3ème état visuel,
|
|
1008
|
+
* carré barré). Indépendant de `value` du FormControl. Ignoré pour les types
|
|
1009
|
+
* autres que checkbox / checkboxInline / checkboxButton.
|
|
1010
|
+
*/
|
|
1011
|
+
readonly indeterminate: _angular_core.InputSignal<boolean>;
|
|
1012
|
+
private readonly checkboxInputRef;
|
|
977
1013
|
refreshEvent: EventEmitter<void>;
|
|
978
1014
|
textChanged: EventEmitter<string>;
|
|
979
1015
|
valueChange: EventEmitter<any>;
|
|
@@ -985,9 +1021,17 @@ declare class FormFieldComponent implements OnInit {
|
|
|
985
1021
|
readonly buttonIconSize: typeof ButtonIconSizeEnum;
|
|
986
1022
|
get hostClasses(): string;
|
|
987
1023
|
constructor();
|
|
1024
|
+
isCheckboxType(): boolean;
|
|
1025
|
+
isSingleCheckbox(): boolean;
|
|
988
1026
|
get isRange(): boolean;
|
|
989
1027
|
get formControl(): FormControl;
|
|
990
1028
|
get controlOrGroup(): AbstractControl<any, any, any>;
|
|
1029
|
+
/**
|
|
1030
|
+
* `true` si le champ doit être désactivé visuellement et fonctionnellement.
|
|
1031
|
+
* Union entre l'input explicite `isDisabled` et l'état `disabled` du FormControl/FormGroup lié,
|
|
1032
|
+
* pour que `control.disable()` ne soit pas écrasé par le binding du template.
|
|
1033
|
+
*/
|
|
1034
|
+
get isEffectivelyDisabled(): boolean;
|
|
991
1035
|
ngOnInit(): void;
|
|
992
1036
|
ngOnChanges(changes: SimpleChanges): void;
|
|
993
1037
|
onCheckboxChange(event: Event): void;
|
|
@@ -1005,35 +1049,34 @@ declare class FormFieldComponent implements OnInit {
|
|
|
1005
1049
|
private formatDate;
|
|
1006
1050
|
getRangePercent(): number;
|
|
1007
1051
|
onRangeStep(direction: 'increase' | 'decrease'): void;
|
|
1008
|
-
static ɵfac:
|
|
1009
|
-
static ɵcmp:
|
|
1052
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
1053
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "cw-form-field", never, { "control": { "alias": "control"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "displayLabel": { "alias": "displayLabel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "rangeOptions": { "alias": "rangeOptions"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "help": { "alias": "help"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "addonLeft": { "alias": "addonLeft"; "required": false; }; "addonRight": { "alias": "addonRight"; "required": false; }; "isInAddon": { "alias": "isInAddon"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "sliderValue": { "alias": "sliderValue"; "required": false; }; "sliderOptions": { "alias": "sliderOptions"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "skeletonMode": { "alias": "skeletonMode"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; }, { "refreshEvent": "refreshEvent"; "textChanged": "textChanged"; "valueChange": "valueChange"; }, ["optionTemplate", "labelTemplate"], never, true, never>;
|
|
1010
1054
|
}
|
|
1011
1055
|
|
|
1012
1056
|
declare class IconComponent {
|
|
1013
|
-
icon: SpriteIconEnum
|
|
1014
|
-
label
|
|
1015
|
-
type
|
|
1016
|
-
iconSize
|
|
1017
|
-
iconCssClass
|
|
1018
|
-
iconUiType
|
|
1019
|
-
iconColorCustom
|
|
1020
|
-
spritePath: string
|
|
1057
|
+
readonly icon: _angular_core.InputSignal<SpriteIconEnum>;
|
|
1058
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
1059
|
+
readonly type: _angular_core.InputSignal<IconTypeEnum>;
|
|
1060
|
+
readonly iconSize: _angular_core.InputSignal<IconSizeEnum>;
|
|
1061
|
+
readonly iconCssClass: _angular_core.InputSignal<string>;
|
|
1062
|
+
readonly iconUiType: _angular_core.InputSignal<IconUiTypeEnum>;
|
|
1063
|
+
readonly iconColorCustom: _angular_core.InputSignal<string>;
|
|
1064
|
+
readonly spritePath: _angular_core.InputSignal<string>;
|
|
1021
1065
|
iconTypeEnum: typeof IconTypeEnum;
|
|
1022
1066
|
get hostClasses(): string;
|
|
1023
|
-
static ɵfac:
|
|
1024
|
-
static ɵcmp:
|
|
1067
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
1068
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "cw-icon", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "iconCssClass": { "alias": "iconCssClass"; "required": false; "isSignal": true; }; "iconUiType": { "alias": "iconUiType"; "required": false; "isSignal": true; }; "iconColorCustom": { "alias": "iconColorCustom"; "required": false; "isSignal": true; }; "spritePath": { "alias": "spritePath"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1025
1069
|
}
|
|
1026
1070
|
|
|
1027
1071
|
declare class IconNotificationComponent implements OnInit {
|
|
1028
|
-
type
|
|
1029
|
-
iconSize
|
|
1072
|
+
readonly type: _angular_core.InputSignal<IconNotifTypeEnum>;
|
|
1073
|
+
readonly iconSize: _angular_core.InputSignal<IconNotifSizeEnum>;
|
|
1030
1074
|
icon: SpriteIconEnum;
|
|
1031
1075
|
label: string;
|
|
1032
|
-
constructor();
|
|
1033
1076
|
get hostClasses(): string;
|
|
1034
1077
|
ngOnInit(): void;
|
|
1035
|
-
static ɵfac:
|
|
1036
|
-
static ɵcmp:
|
|
1078
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconNotificationComponent, never>;
|
|
1079
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconNotificationComponent, "cw-icon-notification", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1037
1080
|
}
|
|
1038
1081
|
|
|
1039
1082
|
declare enum LegendTypeEnum {
|
|
@@ -1070,18 +1113,17 @@ interface Legend {
|
|
|
1070
1113
|
}
|
|
1071
1114
|
|
|
1072
1115
|
declare class LegendComponent {
|
|
1073
|
-
legend: Legend
|
|
1074
|
-
displayInline: boolean
|
|
1116
|
+
readonly legend: _angular_core.InputSignal<Legend>;
|
|
1117
|
+
readonly displayInline: _angular_core.InputSignal<boolean>;
|
|
1075
1118
|
legendTypeEnum: typeof LegendTypeEnum;
|
|
1076
|
-
|
|
1077
|
-
static
|
|
1078
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "cw-legend", never, { "legend": { "alias": "legend"; "required": false; }; "displayInline": { "alias": "displayInline"; "required": false; }; }, {}, never, never, true, never>;
|
|
1119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LegendComponent, never>;
|
|
1120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LegendComponent, "cw-legend", never, { "legend": { "alias": "legend"; "required": true; "isSignal": true; }; "displayInline": { "alias": "displayInline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1079
1121
|
}
|
|
1080
1122
|
|
|
1081
1123
|
declare class LoaderComponent {
|
|
1082
1124
|
constructor();
|
|
1083
|
-
static ɵfac:
|
|
1084
|
-
static ɵcmp:
|
|
1125
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
1126
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoaderComponent, "cw-loader", never, {}, {}, never, never, true, never>;
|
|
1085
1127
|
}
|
|
1086
1128
|
|
|
1087
1129
|
declare enum ModalsType {
|
|
@@ -1105,21 +1147,21 @@ declare enum ModalsSize {
|
|
|
1105
1147
|
declare class ModalsComponent implements OnInit, AfterViewInit {
|
|
1106
1148
|
private modalService;
|
|
1107
1149
|
private translateService;
|
|
1108
|
-
modalContainer: ElementRef
|
|
1109
|
-
size: ModalsSize
|
|
1110
|
-
customClass: string
|
|
1111
|
-
scrollable: boolean
|
|
1112
|
-
isAutcompModal: boolean
|
|
1113
|
-
type: ModalsType
|
|
1114
|
-
modalTitle
|
|
1115
|
-
itemsToDelete: any[]
|
|
1116
|
-
itemsToDeleteTitle:
|
|
1117
|
-
labelBtnAction1
|
|
1118
|
-
labelBtnAction2
|
|
1119
|
-
customBodyTemplate
|
|
1120
|
-
customBodyContext
|
|
1121
|
-
btnAction1:
|
|
1122
|
-
btnAction2:
|
|
1150
|
+
readonly modalContainer: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
1151
|
+
readonly size: _angular_core.InputSignal<ModalsSize>;
|
|
1152
|
+
readonly customClass: _angular_core.InputSignal<string>;
|
|
1153
|
+
readonly scrollable: _angular_core.InputSignal<boolean>;
|
|
1154
|
+
readonly isAutcompModal: _angular_core.InputSignal<boolean>;
|
|
1155
|
+
readonly type: _angular_core.InputSignal<ModalsType>;
|
|
1156
|
+
readonly modalTitle: _angular_core.InputSignal<string>;
|
|
1157
|
+
readonly itemsToDelete: _angular_core.InputSignal<any[]>;
|
|
1158
|
+
readonly itemsToDeleteTitle: _angular_core.InputSignal<string>;
|
|
1159
|
+
readonly labelBtnAction1: _angular_core.InputSignal<string>;
|
|
1160
|
+
readonly labelBtnAction2: _angular_core.InputSignal<string>;
|
|
1161
|
+
readonly customBodyTemplate: _angular_core.InputSignal<TemplateRef<any>>;
|
|
1162
|
+
readonly customBodyContext: _angular_core.InputSignal<any>;
|
|
1163
|
+
readonly btnAction1: _angular_core.OutputEmitterRef<string>;
|
|
1164
|
+
readonly btnAction2: _angular_core.OutputEmitterRef<string>;
|
|
1123
1165
|
readonly modalsType: typeof ModalsType;
|
|
1124
1166
|
readonly buttonTypeEnum: {
|
|
1125
1167
|
primary: BoButtonTypeEnum.primary;
|
|
@@ -1144,19 +1186,19 @@ declare class ModalsComponent implements OnInit, AfterViewInit {
|
|
|
1144
1186
|
action2Click(): void;
|
|
1145
1187
|
closeModal(): void;
|
|
1146
1188
|
private trapFocus;
|
|
1147
|
-
static ɵfac:
|
|
1148
|
-
static ɵcmp:
|
|
1189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalsComponent, never>;
|
|
1190
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalsComponent, "cw-modals", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "customClass": { "alias": "customClass"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "isAutcompModal": { "alias": "isAutcompModal"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": true; "isSignal": true; }; "modalTitle": { "alias": "modalTitle"; "required": false; "isSignal": true; }; "itemsToDelete": { "alias": "itemsToDelete"; "required": false; "isSignal": true; }; "itemsToDeleteTitle": { "alias": "itemsToDeleteTitle"; "required": false; "isSignal": true; }; "labelBtnAction1": { "alias": "labelBtnAction1"; "required": false; "isSignal": true; }; "labelBtnAction2": { "alias": "labelBtnAction2"; "required": false; "isSignal": true; }; "customBodyTemplate": { "alias": "customBodyTemplate"; "required": false; "isSignal": true; }; "customBodyContext": { "alias": "customBodyContext"; "required": false; "isSignal": true; }; }, { "btnAction1": "btnAction1"; "btnAction2": "btnAction2"; }, never, never, true, never>;
|
|
1149
1191
|
}
|
|
1150
1192
|
|
|
1151
1193
|
declare class TabContentComponent {
|
|
1152
|
-
title: string
|
|
1153
|
-
disabled: boolean
|
|
1154
|
-
withIcon
|
|
1194
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
1195
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1196
|
+
readonly withIcon: _angular_core.InputSignal<SpriteIconEnum>;
|
|
1155
1197
|
id: number;
|
|
1156
1198
|
active: boolean;
|
|
1157
1199
|
get fragment(): string;
|
|
1158
|
-
static ɵfac:
|
|
1159
|
-
static ɵcmp:
|
|
1200
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabContentComponent, never>;
|
|
1201
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabContentComponent, "cw-tab-content", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "withIcon": { "alias": "withIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1160
1202
|
}
|
|
1161
1203
|
|
|
1162
1204
|
declare enum FoTabTypeEnum {
|
|
@@ -1171,19 +1213,18 @@ declare enum BoTabTypeEnum {
|
|
|
1171
1213
|
declare class TabComponent implements AfterContentInit {
|
|
1172
1214
|
private router;
|
|
1173
1215
|
private route;
|
|
1174
|
-
type: FoTabTypeEnum | BoTabTypeEnum
|
|
1175
|
-
id: string
|
|
1176
|
-
useFragment: boolean
|
|
1177
|
-
title
|
|
1178
|
-
tabContentCssClass
|
|
1179
|
-
activeTabIndex
|
|
1180
|
-
tabs:
|
|
1181
|
-
tabLinks:
|
|
1182
|
-
tabChanged:
|
|
1216
|
+
readonly type: _angular_core.InputSignal<FoTabTypeEnum | BoTabTypeEnum>;
|
|
1217
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
1218
|
+
readonly useFragment: _angular_core.InputSignal<boolean>;
|
|
1219
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
1220
|
+
readonly tabContentCssClass: _angular_core.InputSignal<string>;
|
|
1221
|
+
readonly activeTabIndex: _angular_core.InputSignal<number>;
|
|
1222
|
+
readonly tabs: _angular_core.Signal<readonly TabContentComponent[]>;
|
|
1223
|
+
readonly tabLinks: _angular_core.Signal<readonly ElementRef<HTMLElement>[]>;
|
|
1224
|
+
readonly tabChanged: _angular_core.OutputEmitterRef<number>;
|
|
1183
1225
|
activeId: number;
|
|
1184
1226
|
iconSize: IconSizeEnum;
|
|
1185
1227
|
readonly tabTypeEnum: typeof BoTabTypeEnum;
|
|
1186
|
-
constructor(router: Router, route: ActivatedRoute);
|
|
1187
1228
|
ngAfterContentInit(): void;
|
|
1188
1229
|
selectTab(tab: TabContentComponent): void;
|
|
1189
1230
|
private activateTabByIndex;
|
|
@@ -1191,40 +1232,40 @@ declare class TabComponent implements AfterContentInit {
|
|
|
1191
1232
|
private moveFocus;
|
|
1192
1233
|
private selectPreviousTab;
|
|
1193
1234
|
private selectNextTab;
|
|
1194
|
-
static ɵfac:
|
|
1195
|
-
static ɵcmp:
|
|
1235
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
1236
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabComponent, "cw-tab", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "useFragment": { "alias": "useFragment"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "tabContentCssClass": { "alias": "tabContentCssClass"; "required": false; "isSignal": true; }; "activeTabIndex": { "alias": "activeTabIndex"; "required": false; "isSignal": true; }; }, { "tabChanged": "tabChanged"; }, ["tabs"], ["*"], true, never>;
|
|
1196
1237
|
}
|
|
1197
1238
|
|
|
1198
1239
|
declare class WizardStepComponent {
|
|
1199
|
-
title: string
|
|
1200
|
-
completed: boolean
|
|
1201
|
-
templateRef: TemplateRef<
|
|
1202
|
-
static ɵfac:
|
|
1203
|
-
static ɵcmp:
|
|
1240
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
1241
|
+
readonly completed: _angular_core.InputSignal<boolean>;
|
|
1242
|
+
readonly templateRef: _angular_core.Signal<TemplateRef<unknown>>;
|
|
1243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WizardStepComponent, never>;
|
|
1244
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WizardStepComponent, "cw-wizard-step", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1204
1245
|
}
|
|
1205
1246
|
|
|
1206
1247
|
declare class WizardStepperComponent {
|
|
1207
|
-
steps:
|
|
1208
|
-
stepChange:
|
|
1209
|
-
stepNext:
|
|
1210
|
-
stepPrevious:
|
|
1211
|
-
stepEnd:
|
|
1248
|
+
readonly steps: _angular_core.Signal<readonly WizardStepComponent[]>;
|
|
1249
|
+
readonly stepChange: _angular_core.OutputEmitterRef<number>;
|
|
1250
|
+
readonly stepNext: _angular_core.OutputEmitterRef<number>;
|
|
1251
|
+
readonly stepPrevious: _angular_core.OutputEmitterRef<number>;
|
|
1252
|
+
readonly stepEnd: _angular_core.OutputEmitterRef<number>;
|
|
1212
1253
|
selectedIndex: number;
|
|
1213
|
-
get stepList(): WizardStepComponent[];
|
|
1254
|
+
get stepList(): readonly WizardStepComponent[];
|
|
1214
1255
|
goToStep(index: number): void;
|
|
1215
1256
|
nextStep(): void;
|
|
1216
1257
|
previousStep(): void;
|
|
1217
1258
|
endWizard(): void;
|
|
1218
|
-
static ɵfac:
|
|
1219
|
-
static ɵcmp:
|
|
1259
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WizardStepperComponent, never>;
|
|
1260
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WizardStepperComponent, "cw-wizard-stepper", never, {}, { "stepChange": "stepChange"; "stepNext": "stepNext"; "stepPrevious": "stepPrevious"; "stepEnd": "stepEnd"; }, ["steps"], never, true, never>;
|
|
1220
1261
|
}
|
|
1221
1262
|
|
|
1222
1263
|
declare class StepperComponent {
|
|
1223
|
-
activeStep: number
|
|
1224
|
-
steps: string[]
|
|
1225
|
-
label: string
|
|
1226
|
-
static ɵfac:
|
|
1227
|
-
static ɵcmp:
|
|
1264
|
+
readonly activeStep: _angular_core.InputSignal<number>;
|
|
1265
|
+
readonly steps: _angular_core.InputSignal<string[]>;
|
|
1266
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
1267
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
1268
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StepperComponent, "cw-stepper", never, { "activeStep": { "alias": "activeStep"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1228
1269
|
}
|
|
1229
1270
|
|
|
1230
1271
|
interface Attachment {
|
|
@@ -1241,9 +1282,9 @@ declare class FileToDownloadComponent {
|
|
|
1241
1282
|
readonly iconType: typeof IconTypeEnum;
|
|
1242
1283
|
readonly iconSize: typeof IconSizeEnum;
|
|
1243
1284
|
readonly spriteIcon = SpriteIconEnum.toolbarDownload;
|
|
1244
|
-
attachments: Attachment[]
|
|
1245
|
-
static ɵfac:
|
|
1246
|
-
static ɵcmp:
|
|
1285
|
+
readonly attachments: _angular_core.InputSignal<Attachment[]>;
|
|
1286
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileToDownloadComponent, never>;
|
|
1287
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileToDownloadComponent, "cw-file-to-download", never, { "attachments": { "alias": "attachments"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1247
1288
|
}
|
|
1248
1289
|
|
|
1249
1290
|
declare enum NumericalRangeTypeEnum {
|
|
@@ -1260,17 +1301,17 @@ declare enum NumericalRangeLabelPositionEnum {
|
|
|
1260
1301
|
}
|
|
1261
1302
|
|
|
1262
1303
|
declare class NumericalRangeComponent {
|
|
1263
|
-
type: NumericalRangeTypeEnum
|
|
1264
|
-
label: string
|
|
1265
|
-
amount: number
|
|
1266
|
-
withIcon
|
|
1267
|
-
withLabelVisible
|
|
1268
|
-
labelPosition: NumericalRangeLabelPositionEnum
|
|
1269
|
-
ceil
|
|
1270
|
-
floor
|
|
1271
|
-
isDisabled
|
|
1272
|
-
autoChangeAmount
|
|
1273
|
-
newAmount:
|
|
1304
|
+
readonly type: _angular_core.InputSignal<NumericalRangeTypeEnum>;
|
|
1305
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
1306
|
+
readonly amount: _angular_core.ModelSignal<number>;
|
|
1307
|
+
readonly withIcon: _angular_core.InputSignal<SpriteIconEnum>;
|
|
1308
|
+
readonly withLabelVisible: _angular_core.InputSignal<boolean>;
|
|
1309
|
+
readonly labelPosition: _angular_core.InputSignal<NumericalRangeLabelPositionEnum>;
|
|
1310
|
+
readonly ceil: _angular_core.InputSignal<number>;
|
|
1311
|
+
readonly floor: _angular_core.InputSignal<number>;
|
|
1312
|
+
readonly isDisabled: _angular_core.InputSignal<boolean>;
|
|
1313
|
+
readonly autoChangeAmount: _angular_core.InputSignal<boolean>;
|
|
1314
|
+
readonly newAmount: _angular_core.OutputEmitterRef<number>;
|
|
1274
1315
|
readonly numericalRangeType: typeof NumericalRangeTypeEnum;
|
|
1275
1316
|
readonly iconTypeEnum: typeof IconTypeEnum;
|
|
1276
1317
|
readonly iconSize: typeof IconSizeEnum;
|
|
@@ -1281,19 +1322,19 @@ declare class NumericalRangeComponent {
|
|
|
1281
1322
|
uniqueId: string;
|
|
1282
1323
|
increaseAmount(): void;
|
|
1283
1324
|
decreaseAmount(): void;
|
|
1284
|
-
static ɵfac:
|
|
1285
|
-
static ɵcmp:
|
|
1325
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumericalRangeComponent, never>;
|
|
1326
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumericalRangeComponent, "cw-numerical-range", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "amount": { "alias": "amount"; "required": false; "isSignal": true; }; "withIcon": { "alias": "withIcon"; "required": false; "isSignal": true; }; "withLabelVisible": { "alias": "withLabelVisible"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "ceil": { "alias": "ceil"; "required": false; "isSignal": true; }; "floor": { "alias": "floor"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "autoChangeAmount": { "alias": "autoChangeAmount"; "required": false; "isSignal": true; }; }, { "amount": "amountChange"; "newAmount": "newAmount"; }, never, never, true, never>;
|
|
1286
1327
|
}
|
|
1287
1328
|
|
|
1288
1329
|
declare class ImageComponent {
|
|
1289
|
-
source: string
|
|
1290
|
-
alt: string
|
|
1291
|
-
isAriaHidden: boolean
|
|
1292
|
-
cssClass: string
|
|
1293
|
-
width: string
|
|
1294
|
-
height: string
|
|
1295
|
-
static ɵfac:
|
|
1296
|
-
static ɵcmp:
|
|
1330
|
+
readonly source: _angular_core.InputSignal<string>;
|
|
1331
|
+
readonly alt: _angular_core.InputSignal<string>;
|
|
1332
|
+
readonly isAriaHidden: _angular_core.InputSignal<boolean>;
|
|
1333
|
+
readonly cssClass: _angular_core.InputSignal<string>;
|
|
1334
|
+
readonly width: _angular_core.InputSignal<string>;
|
|
1335
|
+
readonly height: _angular_core.InputSignal<string>;
|
|
1336
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImageComponent, never>;
|
|
1337
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImageComponent, "cw-image", never, { "source": { "alias": "source"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "isAriaHidden": { "alias": "isAriaHidden"; "required": false; "isSignal": true; }; "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1297
1338
|
}
|
|
1298
1339
|
|
|
1299
1340
|
declare enum TitleTagEnum {
|
|
@@ -1310,11 +1351,11 @@ declare enum TitleContextEnum {
|
|
|
1310
1351
|
}
|
|
1311
1352
|
|
|
1312
1353
|
declare class TitleComponent {
|
|
1313
|
-
tag:
|
|
1314
|
-
context:
|
|
1315
|
-
classes:
|
|
1316
|
-
static ɵfac:
|
|
1317
|
-
static ɵcmp:
|
|
1354
|
+
tag: _angular_core.InputSignal<TitleTagEnum>;
|
|
1355
|
+
context: _angular_core.InputSignal<TitleContextEnum>;
|
|
1356
|
+
classes: _angular_core.Signal<string>;
|
|
1357
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TitleComponent, never>;
|
|
1358
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TitleComponent, "cw-title", never, { "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1318
1359
|
}
|
|
1319
1360
|
|
|
1320
1361
|
interface SkipLink {
|
|
@@ -1323,15 +1364,15 @@ interface SkipLink {
|
|
|
1323
1364
|
}
|
|
1324
1365
|
|
|
1325
1366
|
declare class SkipLinksComponent {
|
|
1326
|
-
links:
|
|
1327
|
-
static ɵfac:
|
|
1328
|
-
static ɵcmp:
|
|
1367
|
+
links: _angular_core.InputSignal<SkipLink[]>;
|
|
1368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkipLinksComponent, never>;
|
|
1369
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkipLinksComponent, "cw-skiplinks", never, { "links": { "alias": "links"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1329
1370
|
}
|
|
1330
1371
|
|
|
1331
1372
|
declare class RequiredInfoComponent {
|
|
1332
|
-
allFieldsRequired:
|
|
1333
|
-
static ɵfac:
|
|
1334
|
-
static ɵcmp:
|
|
1373
|
+
allFieldsRequired: _angular_core.InputSignal<boolean>;
|
|
1374
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RequiredInfoComponent, never>;
|
|
1375
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RequiredInfoComponent, "cw-required-info", never, { "allFieldsRequired": { "alias": "allFieldsRequired"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1335
1376
|
}
|
|
1336
1377
|
|
|
1337
1378
|
declare class ClickOutsideDirective {
|
|
@@ -1339,8 +1380,8 @@ declare class ClickOutsideDirective {
|
|
|
1339
1380
|
clickOutside: EventEmitter<void>;
|
|
1340
1381
|
onClick(event: MouseEvent): void;
|
|
1341
1382
|
constructor(elementRef: ElementRef);
|
|
1342
|
-
static ɵfac:
|
|
1343
|
-
static ɵdir:
|
|
1383
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
1384
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, true, never>;
|
|
1344
1385
|
}
|
|
1345
1386
|
|
|
1346
1387
|
declare enum PlacementEnum {
|
|
@@ -1352,6 +1393,16 @@ interface ModalRef {
|
|
|
1352
1393
|
componentInstance: ModalsComponent;
|
|
1353
1394
|
result: Promise<any>;
|
|
1354
1395
|
}
|
|
1396
|
+
interface ModalConfig {
|
|
1397
|
+
modalTitle?: string;
|
|
1398
|
+
itemsToDelete?: any[];
|
|
1399
|
+
itemsToDeleteTitle?: string;
|
|
1400
|
+
labelBtnAction1?: string;
|
|
1401
|
+
labelBtnAction2?: string;
|
|
1402
|
+
customBodyTemplate?: TemplateRef<any>;
|
|
1403
|
+
customBodyContext?: any;
|
|
1404
|
+
isAutcompModal?: boolean;
|
|
1405
|
+
}
|
|
1355
1406
|
declare class ModalsService {
|
|
1356
1407
|
private appRef;
|
|
1357
1408
|
private injector;
|
|
@@ -1362,7 +1413,7 @@ declare class ModalsService {
|
|
|
1362
1413
|
/**
|
|
1363
1414
|
* Ouvre une modale et retourne un objet compatible avec l'ancienne syntaxe .result
|
|
1364
1415
|
*/
|
|
1365
|
-
openModal(type: ModalsType, config?:
|
|
1416
|
+
openModal(type: ModalsType, config?: ModalConfig, sizeOverride?: ModalsSize): ModalRef;
|
|
1366
1417
|
/**
|
|
1367
1418
|
* Ferme la modale en haut de la pile
|
|
1368
1419
|
*/
|
|
@@ -1370,8 +1421,8 @@ declare class ModalsService {
|
|
|
1370
1421
|
private getModalSizeByType;
|
|
1371
1422
|
private saveFocus;
|
|
1372
1423
|
private restoreFocus;
|
|
1373
|
-
static ɵfac:
|
|
1374
|
-
static ɵprov:
|
|
1424
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalsService, never>;
|
|
1425
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalsService>;
|
|
1375
1426
|
}
|
|
1376
1427
|
|
|
1377
1428
|
declare class FocusTrackerService implements OnDestroy {
|
|
@@ -1381,8 +1432,8 @@ declare class FocusTrackerService implements OnDestroy {
|
|
|
1381
1432
|
private onFocus;
|
|
1382
1433
|
getFocusedElement(): HTMLElement | null;
|
|
1383
1434
|
ngOnDestroy(): void;
|
|
1384
|
-
static ɵfac:
|
|
1385
|
-
static ɵprov:
|
|
1435
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FocusTrackerService, never>;
|
|
1436
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FocusTrackerService>;
|
|
1386
1437
|
}
|
|
1387
1438
|
|
|
1388
1439
|
interface DataCustomList {
|
|
@@ -1398,5 +1449,5 @@ interface DataCustomListGroup {
|
|
|
1398
1449
|
fields: DataCustomList[];
|
|
1399
1450
|
}
|
|
1400
1451
|
|
|
1401
|
-
export { AccordionComponent, AlertComponent, AlertTypeEnum, BadgeComponent, BadgePositionEnum, BadgeTypeEnum, BoButtonTypeEnum, BoTabTypeEnum, ButtonComponent, ButtonIconSizeEnum, ButtonPositionEnum, CardComponent, CardTitleRankEnum, CardTypeEnum, ClickOutsideDirective, CollapseDirective, DropdownComponent, DropdownItemDirective, DropdownPositionEnum, FileToDownloadComponent, FoButtonTypeEnum, FoTabTypeEnum, FocusTrackerService, FormFieldComponent, FormFieldTypeEnum, IconComponent, IconNotifSizeEnum, IconNotifTypeEnum, IconNotificationComponent, IconSizeEnum, IconTypeEnum, IconUiTypeEnum, ImageComponent, LegendComponent, LegendTypeEnum, LoaderComponent, ModalsComponent, ModalsService, ModalsSize, ModalsType, NumericalRangeComponent, NumericalRangeLabelPositionEnum, NumericalRangeTypeEnum, PlacementEnum, RequiredInfoComponent, ResponsiveService, SkipLinksComponent, SpriteIconEnum, StepperComponent, TabComponent, TabContentComponent, TitleComponent, TitleContextEnum, TitleTagEnum, ToastComponent, ToastService, TriggerTooltipEnum, TypeTooltipEnum, WizardStepComponent, WizardStepperComponent, rangeValidator };
|
|
1402
|
-
export type { Attachment, DataCustomList, DataCustomListGroup, DataLegend, FormFieldOption, FormFieldRangeOption, Legend, ModalRef, ShowToastOptions, SkipLink, Toast, ToastAction };
|
|
1452
|
+
export { AccordionComponent, AlertComponent, AlertTypeEnum, BadgeComponent, BadgePositionEnum, BadgeTypeEnum, BoButtonTypeEnum, BoTabTypeEnum, ButtonComponent, ButtonIconSizeEnum, ButtonPositionEnum, CardComponent, CardTitleRankEnum, CardTypeEnum, ClickOutsideDirective, CollapseDirective, DropdownComponent, DropdownItemDirective, DropdownPositionEnum, FileToDownloadComponent, FoButtonTypeEnum, FoTabTypeEnum, FocusTrackerService, FormFieldComponent, FormFieldTypeEnum, IconComponent, IconNotifSizeEnum, IconNotifTypeEnum, IconNotificationComponent, IconSizeEnum, IconTypeEnum, IconUiTypeEnum, ImageComponent, LegendComponent, LegendTypeEnum, LoaderComponent, ModalsComponent, ModalsService, ModalsSize, ModalsType, NumericalRangeComponent, NumericalRangeLabelPositionEnum, NumericalRangeTypeEnum, PlacementEnum, RequiredInfoComponent, ResponsiveService, SkipLinksComponent, SpriteIconEnum, StepperComponent, TOAST_AUTOHIDE_DELAY_MS, TabComponent, TabContentComponent, TitleComponent, TitleContextEnum, TitleTagEnum, ToastComponent, ToastItemComponent, ToastService, TriggerTooltipEnum, TypeTooltipEnum, WizardStepComponent, WizardStepperComponent, rangeValidator };
|
|
1453
|
+
export type { Attachment, DataCustomList, DataCustomListGroup, DataLegend, FormFieldOption, FormFieldRangeOption, Legend, ModalConfig, ModalRef, ShowToastOptions, SkipLink, Toast, ToastAction };
|