@nivaro/react 0.3.104 → 0.3.105
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/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/shared/components/CollectionBrowserView.js +1694 -1639
- package/dist/shared/components/item-edit/InlineTableField.js +88 -88
- package/dist/shared/components/quick-filters/QuickFilterBarEditor.js +334 -0
- package/dist/shared/components/quick-filters/QuickFilterFieldPicker.js +151 -0
- package/dist/shared/components/quick-filters/QuickFilterForm.js +371 -0
- package/dist/shared/components/quick-filters/config.js +63 -0
- package/dist/shared/components/quick-filters/facets.js +55 -0
- package/dist/shared/components/quick-filters/useQuickFilterEditing.js +95 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { noteReplayEvent as Fe, createReplayCheckoutState as Me } from "../share
|
|
|
10
10
|
import { emitReplayTap as Ne, setReplayRecorderMode as O, registerReplayCapture as Oe, clipEndOffset as Ue, withClipKind as We } from "../shared/lib/replay-capture.js";
|
|
11
11
|
import { instrumentConsole as He, instrumentRequests as Ke, redactSecrets as $e } from "../shared/lib/replay-context.js";
|
|
12
12
|
import { instrumentSocket as Be } from "../shared/lib/replay-socket.js";
|
|
13
|
-
const ze = "nivaro-react@0.3.
|
|
13
|
+
const ze = "nivaro-react@0.3.105", Q = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, V = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
14
14
|
function Je(o) {
|
|
15
15
|
return typeof o.url != "string" || typeof fetch != "function" ? null : (f, u) => {
|
|
16
16
|
const l = typeof o.getToken == "function" ? o.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -8945,8 +8945,18 @@ export declare function QueueWorkloadView({ queueId }: {
|
|
|
8945
8945
|
queueId: string;
|
|
8946
8946
|
}): JSX.Element;
|
|
8947
8947
|
|
|
8948
|
+
/**
|
|
8949
|
+
* The quick-filter bar's stored shape (`nivaro_collections.browser_config.quick_filters`)
|
|
8950
|
+
* and the pure rules every editor of it shares: the list's in-place editor, the
|
|
8951
|
+
* Data model → Settings editor and anything else that writes the list.
|
|
8952
|
+
*
|
|
8953
|
+
* Normalizers here SPREAD each filter rather than rebuilding it, so a key this
|
|
8954
|
+
* UI does not know about (added by a later release or by hand in JSON) is never
|
|
8955
|
+
* dropped by a save — see gotchas "Parsers that rebuild config objects drop new keys".
|
|
8956
|
+
*/
|
|
8948
8957
|
declare interface QuickFilterDef {
|
|
8949
|
-
/** Unique key for this filter's selection state.
|
|
8958
|
+
/** Unique key for this filter's selection state. People's picks, shared
|
|
8959
|
+
* links and default-scope matching follow the key, not the label. */
|
|
8950
8960
|
key: string;
|
|
8951
8961
|
label: string;
|
|
8952
8962
|
/** Server condition path — supports M2O chains and O2M/M2M alias hops
|