@quadrel-enterprise-ui/framework 20.28.0 → 20.29.0

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
@@ -1894,6 +1894,9 @@ interface QdTablePrimaryAction<T extends string> {
1894
1894
  }) => QdTableActionResult;
1895
1895
  /**
1896
1896
  * @description Refresh configuration for the table after the action completes.
1897
+ *
1898
+ * For an `Observable` action result, only the first emitted value counts.
1899
+ * A truthy first value triggers the refresh; later emissions are ignored.
1897
1900
  */
1898
1901
  refresh?: QdTableRefreshConfig;
1899
1902
  /**
@@ -1936,6 +1939,9 @@ interface QdTableSecondaryAction<T extends string> {
1936
1939
  handler?: (selectedRow: QdTableRecentSecondaryAction<T>) => QdTableActionResult;
1937
1940
  /**
1938
1941
  * @description Refresh configuration for the table after the action completes.
1942
+ *
1943
+ * For an `Observable` action result, only the first emitted value counts.
1944
+ * A truthy first value triggers the refresh; later emissions are ignored.
1939
1945
  */
1940
1946
  refresh?: QdTableRefreshConfig;
1941
1947
  /**
@@ -2086,10 +2092,10 @@ interface QdTableRefreshConfig {
2086
2092
  */
2087
2093
  isEnabled?: boolean;
2088
2094
  /**
2089
- * @description Specifies the page to load when refreshing the table.
2090
- * - A specific page number (e.g., `2`) can be provided.
2095
+ * @description Specifies which page to load when the table refreshes.
2091
2096
  *
2092
- * @default 0
2097
+ * - A specific page number (e.g., `0` for the first page) jumps to that page.
2098
+ * - When omitted, the refresh keeps the current page.
2093
2099
  */
2094
2100
  page?: number;
2095
2101
  }
@@ -15345,7 +15351,8 @@ interface QdTableDataResolver<T extends string> {
15345
15351
  */
15346
15352
  declare enum QdTableRequestState {
15347
15353
  PENDING = 0,
15348
- SUCCESS = 1
15354
+ SUCCESS = 1,
15355
+ ERROR = 2
15349
15356
  }
15350
15357
 
15351
15358
  declare enum QdTableConnectorState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "20.28.0",
3
+ "version": "20.29.0",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {