commons-shared-web-ui 0.0.61 → 0.0.63
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
|
@@ -444,6 +444,8 @@ interface OptionConfig$1 {
|
|
|
444
444
|
searchConfig?: DropdownSearchConfig;
|
|
445
445
|
/** When true, renders a 'Select All' checkbox at the top of a MULTIPLE select dropdown. */
|
|
446
446
|
showSelectAll?: boolean;
|
|
447
|
+
/** When true, displays a loading spinner during options API requests. */
|
|
448
|
+
showLoader?: boolean;
|
|
447
449
|
}
|
|
448
450
|
interface AutocompleteDisplayField {
|
|
449
451
|
/** Dot-notation path to the value in the API response item (e.g. 'login', 'contact.phone'). */
|
|
@@ -1425,7 +1427,10 @@ declare class FormFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1425
1427
|
/** This instance's own index within siblingFormArray — excluded from the "taken values" set. */
|
|
1426
1428
|
siblingIndex: number | null;
|
|
1427
1429
|
value: any;
|
|
1428
|
-
|
|
1430
|
+
private _isVisible;
|
|
1431
|
+
get isVisible(): boolean;
|
|
1432
|
+
set isVisible(value: boolean);
|
|
1433
|
+
private updateParentVisibility;
|
|
1429
1434
|
showPassword: boolean;
|
|
1430
1435
|
dynamicMinDate: string | null;
|
|
1431
1436
|
dynamicMinTime: string | null;
|
|
@@ -1448,6 +1453,8 @@ declare class FormFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1448
1453
|
searchText: string;
|
|
1449
1454
|
filteredOptionList: any[];
|
|
1450
1455
|
dropdownSearch$: Subject<string>;
|
|
1456
|
+
optionsLoading: boolean;
|
|
1457
|
+
private optionsSubscription;
|
|
1451
1458
|
isDragOver: boolean;
|
|
1452
1459
|
fileUploadError: string;
|
|
1453
1460
|
multiSaveError: string;
|
|
@@ -4637,6 +4644,8 @@ declare class SmartTableComponent implements OnInit, OnChanges, AfterViewInit, O
|
|
|
4637
4644
|
/** Items and row for the currently open dropdown — rendered in a portal outside the table. */
|
|
4638
4645
|
activeDropdownItems: any[] | null;
|
|
4639
4646
|
activeDropdownRow: any;
|
|
4647
|
+
private scrollListeningEnabled;
|
|
4648
|
+
private activeTriggerElement;
|
|
4640
4649
|
openFilterKey: string | null;
|
|
4641
4650
|
activeFilterLabels: {
|
|
4642
4651
|
[key: string]: string;
|
|
@@ -4660,6 +4669,7 @@ declare class SmartTableComponent implements OnInit, OnChanges, AfterViewInit, O
|
|
|
4660
4669
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4661
4670
|
ngAfterViewInit(): void;
|
|
4662
4671
|
ngOnDestroy(): void;
|
|
4672
|
+
private onScrollCapture;
|
|
4663
4673
|
private setupResizeObserver;
|
|
4664
4674
|
private observeHeaders;
|
|
4665
4675
|
loadData(): void;
|
|
@@ -4969,6 +4979,7 @@ interface HierarchyCfg {
|
|
|
4969
4979
|
dependencyParam: string;
|
|
4970
4980
|
nodes: Record<string, any>;
|
|
4971
4981
|
branchSubType: string;
|
|
4982
|
+
showLoader: boolean;
|
|
4972
4983
|
}
|
|
4973
4984
|
|
|
4974
4985
|
declare class ValidationUtils {
|
package/package.json
CHANGED
|
@@ -623,6 +623,7 @@ $type1-config: map.merge($default-smart-form-config, (
|
|
|
623
623
|
--cc-sf-label-weight: #{map.get($config, label-weight)};
|
|
624
624
|
--cc-sf-label-color: #{map.get($config, label-color)};
|
|
625
625
|
--cc-sf-label-required-color: #{map.get($config, label-required-color)};
|
|
626
|
+
--cc-sf-label-mb: 0px;
|
|
626
627
|
|
|
627
628
|
// Input
|
|
628
629
|
--cc-sf-input-bg: #{map.get($config, input-bg)};
|