@cityway/basic-ui 1.1.0-beta021 → 1.1.0-beta023
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.1.0-beta023.tgz +0 -0
- package/docs/components/form-field/select.md +1 -0
- package/docs/components/modals.md +4 -3
- package/fesm2022/cityway-basic-ui.mjs +50 -8
- package/fesm2022/cityway-basic-ui.mjs.map +1 -1
- package/index.d.ts +22 -0
- package/package.json +2 -2
- package/styles/basic-ui.styles.bo.min.css +2 -2
- 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.1.0-beta021.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -1534,6 +1534,10 @@ declare class FormFieldComponent implements OnInit, OnChanges, AfterViewInit, On
|
|
|
1534
1534
|
private readonly phoneInputRef;
|
|
1535
1535
|
/** Référence à cw-autocomplete (rendu conditionnellement) — sert au bouton clear externe. */
|
|
1536
1536
|
protected readonly autocompleteRef: _angular_core.Signal<AutocompleteComponent | undefined>;
|
|
1537
|
+
private readonly ngSelectRef;
|
|
1538
|
+
private readonly zone;
|
|
1539
|
+
/** Retire l'écoute du scroll posée à l'ouverture du panneau ng-select (cf. `onDropdownOpen`). */
|
|
1540
|
+
private stopDropdownFollow?;
|
|
1537
1541
|
private readonly destroyRef;
|
|
1538
1542
|
private readonly translateService;
|
|
1539
1543
|
private readonly elementRef;
|
|
@@ -1673,6 +1677,13 @@ declare class FormFieldComponent implements OnInit, OnChanges, AfterViewInit, On
|
|
|
1673
1677
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1674
1678
|
ngAfterViewInit(): void;
|
|
1675
1679
|
ngOnDestroy(): void;
|
|
1680
|
+
/**
|
|
1681
|
+
* Panneau ng-select rattaché au body (`appendTo`) : ng-select ne le positionne qu'à l'ouverture.
|
|
1682
|
+
* Si un conteneur défilant (body de modale…) scrolle, le champ bouge mais pas le panneau,
|
|
1683
|
+
* qui se désolidarise → on le recale à chaque scroll tant qu'il est ouvert.
|
|
1684
|
+
*/
|
|
1685
|
+
protected onDropdownOpen(): void;
|
|
1686
|
+
protected onDropdownClose(): void;
|
|
1676
1687
|
/**
|
|
1677
1688
|
* Instancie `intl-tel-input` sur le champ `#phoneInput` et câble la sync bidirectionnelle
|
|
1678
1689
|
* avec le FormControl + le validator `phone`. Utils (libphonenumber-js) chargés en lazy.
|
|
@@ -1890,6 +1901,10 @@ declare class ModalsComponent implements OnInit, AfterViewInit {
|
|
|
1890
1901
|
protected readonly titleId: string;
|
|
1891
1902
|
readonly size: _angular_core.InputSignal<ModalsSize>;
|
|
1892
1903
|
readonly customClass: _angular_core.InputSignal<string>;
|
|
1904
|
+
/**
|
|
1905
|
+
* Hauteur bornee au viewport, header et footer fixes, seul le body defile.
|
|
1906
|
+
* `false` : la modale entiere defile dans la page (cf. `ModalConfig.scrollable`).
|
|
1907
|
+
*/
|
|
1893
1908
|
readonly scrollable: _angular_core.InputSignal<boolean>;
|
|
1894
1909
|
readonly isAutcompModal: _angular_core.InputSignal<boolean>;
|
|
1895
1910
|
readonly type: _angular_core.InputSignal<ModalsType>;
|
|
@@ -2676,6 +2691,13 @@ interface ModalConfig {
|
|
|
2676
2691
|
customBodyTemplate?: TemplateRef<any>;
|
|
2677
2692
|
customBodyContext?: any;
|
|
2678
2693
|
isAutcompModal?: boolean;
|
|
2694
|
+
/**
|
|
2695
|
+
* Defaut `true` : hauteur bornee au viewport, header et footer toujours visibles,
|
|
2696
|
+
* seul le body defile. `false` : la modale entiere defile dans la page — a reserver
|
|
2697
|
+
* aux contenus avec menu deroulant (autocomplete, dropdown), que le body scrollable
|
|
2698
|
+
* rognerait. Ignore pour le sidepanel, toujours scrollable.
|
|
2699
|
+
*/
|
|
2700
|
+
scrollable?: boolean;
|
|
2679
2701
|
/**
|
|
2680
2702
|
* Verrouille des l'ouverture tous les chemins de fermeture utilisateur.
|
|
2681
2703
|
* Omis / `undefined` = defaut par type : `ModalsType.loader` est verrouille, tous les
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityway/basic-ui",
|
|
3
|
-
"version": "1.1.0-
|
|
3
|
+
"version": "1.1.0-beta023",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.3.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/router": "^20.3.0",
|
|
13
13
|
"@ngx-translate/core": "^16.0.0 || ^17.0.0",
|
|
14
14
|
"rxjs": "^7.8.0",
|
|
15
|
-
"@cityway/design-tokens": "1.1.0-
|
|
15
|
+
"@cityway/design-tokens": "1.1.0-beta023",
|
|
16
16
|
"intl-tel-input": "^28.0.7"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|