commons-shared-web-ui 0.0.66 → 0.0.67
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/index.d.ts
CHANGED
|
@@ -1522,7 +1522,6 @@ declare class FormFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1522
1522
|
private _isVisible;
|
|
1523
1523
|
get isVisible(): boolean;
|
|
1524
1524
|
set isVisible(value: boolean);
|
|
1525
|
-
private updateParentVisibility;
|
|
1526
1525
|
showPassword: boolean;
|
|
1527
1526
|
dynamicMinDate: string | null;
|
|
1528
1527
|
dynamicMinTime: string | null;
|
|
@@ -1640,6 +1639,7 @@ declare class FormFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1640
1639
|
get groupKey(): string;
|
|
1641
1640
|
readonly dropdownScrollStrategy: ScrollStrategy;
|
|
1642
1641
|
constructor(fb: FormBuilder, expressionService: ExpressionService, http: HttpClient, hostRef: ElementRef<HTMLElement>, overlay: Overlay);
|
|
1642
|
+
isFieldVisible(field: FieldConfig, rowController?: SmartFormController): boolean;
|
|
1643
1643
|
/** Portal root, resolved from this component's own node rather than the global document. */
|
|
1644
1644
|
private get portalRoot();
|
|
1645
1645
|
private _onGlobalScroll;
|
|
@@ -1661,6 +1661,7 @@ declare class FormFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1661
1661
|
get noMatchingOptionsLabel(): string;
|
|
1662
1662
|
/** Returns the label of the currently selected option for single-select custom dropdowns */
|
|
1663
1663
|
get singleSelectedLabel(): string;
|
|
1664
|
+
isSingleOptionSelected(code: any): boolean;
|
|
1664
1665
|
/** Whether the dropdown search feature is enabled for this field */
|
|
1665
1666
|
get isSearchableDropdown(): boolean;
|
|
1666
1667
|
/** Whether the custom single-select dropdown overlay is required (for search OR pagination) */
|
|
@@ -1800,8 +1801,9 @@ declare class FormFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1800
1801
|
* handler can close it (otherwise the two would fight and re-open it).
|
|
1801
1802
|
*/
|
|
1802
1803
|
onDropdownOverlayOutsideClick(event: MouseEvent, triggerEl: HTMLElement): void;
|
|
1803
|
-
|
|
1804
|
-
|
|
1804
|
+
dropdownOverlayWidth: number | string;
|
|
1805
|
+
toggleMultiDropdown(event: MouseEvent, triggerEl?: HTMLElement): void;
|
|
1806
|
+
toggleSingleDropdown(event: MouseEvent, triggerEl?: HTMLElement): void;
|
|
1805
1807
|
selectSingleOption(option: any): void;
|
|
1806
1808
|
onDocumentClick(): void;
|
|
1807
1809
|
onWindowResize(): void;
|
|
@@ -2155,6 +2157,7 @@ declare class SmartFormComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
2155
2157
|
|
|
2156
2158
|
declare class FormSectionComponent implements OnInit, OnDestroy {
|
|
2157
2159
|
private fb;
|
|
2160
|
+
private expressionService;
|
|
2158
2161
|
config: SectionConfig;
|
|
2159
2162
|
controller: SmartFormController;
|
|
2160
2163
|
formGroup: FormGroup;
|
|
@@ -2170,7 +2173,8 @@ declare class FormSectionComponent implements OnInit, OnDestroy {
|
|
|
2170
2173
|
* Falls back to config.name or a generated key.
|
|
2171
2174
|
*/
|
|
2172
2175
|
get arrayKey(): string;
|
|
2173
|
-
constructor(fb: FormBuilder);
|
|
2176
|
+
constructor(fb: FormBuilder, expressionService: ExpressionService);
|
|
2177
|
+
isFieldVisible(field: FieldConfig): boolean;
|
|
2174
2178
|
ngOnInit(): void;
|
|
2175
2179
|
ngOnDestroy(): void;
|
|
2176
2180
|
/** Creates a fresh FormGroup for one repeater instance */
|