@easyvision/easyvision-ui 1.3.9 → 1.5.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/README.md +65 -8
- package/dist/EasyVisionTable.css +337 -11
- package/dist/easyvision.css +1333 -20
- package/dist/index.cjs +341 -500
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +342 -501
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -186,6 +186,30 @@ interface EasyVisionMultifilterProps extends BaseStatefulProps<MultifilterSnapsh
|
|
|
186
186
|
performTargetRef?: RefObject<HTMLElement>;
|
|
187
187
|
/** Auto-fire onPerform once on mount (useful when restoring persisted state). */
|
|
188
188
|
performOnMount?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Controls when `performAction` (and therefore `onPerform`) fires in response
|
|
191
|
+
* to value/field changes.
|
|
192
|
+
*
|
|
193
|
+
* - `'manual'` (default for standalone use): only fires from the Buscar
|
|
194
|
+
* button, `performOnMount`, or the imperative `perform()` ref. This is the
|
|
195
|
+
* right default for API-backed tables where each perform = a network
|
|
196
|
+
* request.
|
|
197
|
+
* - `'live'`: also fires on every change to the active values, optionally
|
|
198
|
+
* debounced via `performDebounceMs`. Use for in-memory tables where
|
|
199
|
+
* filtering is cheap.
|
|
200
|
+
* - `'auto'`: ask the parent. When the multifilter is bound through a
|
|
201
|
+
* table's `multifilter` prop, the table picks `'live'` for
|
|
202
|
+
* `paginationMode: 'local'` and `'manual'` for `paginationMode: 'api'`.
|
|
203
|
+
* Falls back to `'manual'` for standalone mounts.
|
|
204
|
+
*
|
|
205
|
+
* Default `'auto'`.
|
|
206
|
+
*/
|
|
207
|
+
performMode?: 'live' | 'manual' | 'auto';
|
|
208
|
+
/**
|
|
209
|
+
* Debounce window in ms before a `'live'`-mode perform fires after the last
|
|
210
|
+
* change. Default `0` (next-tick).
|
|
211
|
+
*/
|
|
212
|
+
performDebounceMs?: number;
|
|
189
213
|
onPerform?: (snap: MultifilterSnapshot) => void;
|
|
190
214
|
onChange?: (snap: MultifilterSnapshot) => void;
|
|
191
215
|
showClearAll?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -186,6 +186,30 @@ interface EasyVisionMultifilterProps extends BaseStatefulProps<MultifilterSnapsh
|
|
|
186
186
|
performTargetRef?: RefObject<HTMLElement>;
|
|
187
187
|
/** Auto-fire onPerform once on mount (useful when restoring persisted state). */
|
|
188
188
|
performOnMount?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Controls when `performAction` (and therefore `onPerform`) fires in response
|
|
191
|
+
* to value/field changes.
|
|
192
|
+
*
|
|
193
|
+
* - `'manual'` (default for standalone use): only fires from the Buscar
|
|
194
|
+
* button, `performOnMount`, or the imperative `perform()` ref. This is the
|
|
195
|
+
* right default for API-backed tables where each perform = a network
|
|
196
|
+
* request.
|
|
197
|
+
* - `'live'`: also fires on every change to the active values, optionally
|
|
198
|
+
* debounced via `performDebounceMs`. Use for in-memory tables where
|
|
199
|
+
* filtering is cheap.
|
|
200
|
+
* - `'auto'`: ask the parent. When the multifilter is bound through a
|
|
201
|
+
* table's `multifilter` prop, the table picks `'live'` for
|
|
202
|
+
* `paginationMode: 'local'` and `'manual'` for `paginationMode: 'api'`.
|
|
203
|
+
* Falls back to `'manual'` for standalone mounts.
|
|
204
|
+
*
|
|
205
|
+
* Default `'auto'`.
|
|
206
|
+
*/
|
|
207
|
+
performMode?: 'live' | 'manual' | 'auto';
|
|
208
|
+
/**
|
|
209
|
+
* Debounce window in ms before a `'live'`-mode perform fires after the last
|
|
210
|
+
* change. Default `0` (next-tick).
|
|
211
|
+
*/
|
|
212
|
+
performDebounceMs?: number;
|
|
189
213
|
onPerform?: (snap: MultifilterSnapshot) => void;
|
|
190
214
|
onChange?: (snap: MultifilterSnapshot) => void;
|
|
191
215
|
showClearAll?: boolean;
|