commons-shared-web-ui 0.0.83 → 0.0.84

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
@@ -5034,6 +5034,12 @@ declare class SmartTableComponent implements OnInit, OnChanges, AfterViewInit, O
5034
5034
  * external-data mode. Must be kept in sync by the parent.
5035
5035
  */
5036
5036
  totalItemsCount?: number;
5037
+ /**
5038
+ * External loading state: when the table operates in external-data mode
5039
+ * (i.e. [tableData] is provided), the parent controls the loading spinner
5040
+ * via this input. Ignored in internal-data mode where loading is self-managed.
5041
+ */
5042
+ externalLoading: boolean;
5037
5043
  action: EventEmitter<{
5038
5044
  action: TableAction;
5039
5045
  row: any;
@@ -5066,6 +5072,12 @@ declare class SmartTableComponent implements OnInit, OnChanges, AfterViewInit, O
5066
5072
  currentPage: number;
5067
5073
  loading: boolean;
5068
5074
  originalRowsCache: Map<any, any>;
5075
+ /**
5076
+ * Unified loading state used by the template. In external-data mode,
5077
+ * defers to `externalLoading` (parent-driven). In internal-data mode,
5078
+ * uses the internally managed `loading` flag.
5079
+ */
5080
+ get isTableLoading(): boolean;
5069
5081
  activeSort: {
5070
5082
  key: string;
5071
5083
  direction: 'ASC' | 'DESC';
@@ -5251,7 +5263,7 @@ declare class SmartTableComponent implements OnInit, OnChanges, AfterViewInit, O
5251
5263
  /** Normalize Date objects back to ISO strings before sending payloads. */
5252
5264
  private normalizeDateFieldsForSave;
5253
5265
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableComponent, never>;
5254
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableComponent, "lib-smart-table", never, { "config": { "alias": "config"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "totalItemsCount": { "alias": "totalItemsCount"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; }, { "action": "action"; "topAction": "topAction"; "filterChange": "filterChange"; "rowSelect": "rowSelect"; "columnClick": "columnClick"; "sortChange": "sortChange"; "pageChange": "pageChange"; "searchChange": "searchChange"; "rowSave": "rowSave"; }, never, never, false, never>;
5266
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableComponent, "lib-smart-table", never, { "config": { "alias": "config"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "totalItemsCount": { "alias": "totalItemsCount"; "required": false; }; "externalLoading": { "alias": "externalLoading"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; }, { "action": "action"; "topAction": "topAction"; "filterChange": "filterChange"; "rowSelect": "rowSelect"; "columnClick": "columnClick"; "sortChange": "sortChange"; "pageChange": "pageChange"; "searchChange": "searchChange"; "rowSave": "rowSave"; }, never, never, false, never>;
5255
5267
  }
5256
5268
 
5257
5269
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commons-shared-web-ui",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "20.3.15",
6
6
  "@angular/cdk": "20.2.14",