@revolist/ui 4.0.3 → 4.0.4
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/OWNERSHIP.md +5 -5
- package/README.md +65 -450
- package/_chunks/{calendar-CgXQgkga.js → calendar-BQYQLu8Q.js} +5 -5
- package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
- package/_chunks/{chart-frame-hcOlnQ1K.js → chart-frame-GprenwEg.js} +4 -4
- package/_chunks/{choice-chips-SkllS5Kl.js → choice-chips-C5OxD0GV.js} +3 -3
- package/_chunks/{color-palette-DMJUChWC.js → color-palette-7siNch__.js} +3 -3
- package/_chunks/{color-picker-BpCTuIdm.js → color-picker-Cfc9eqZb.js} +4 -4
- package/_chunks/{component-CfeHXgIw.js → component-C3k_8uIq.js} +24 -24
- package/_chunks/{component-metadata-BKd7U8OW.js → component-metadata-DlVkpW3h.js} +1 -1
- package/_chunks/{configurator-actions-DnStE6Yl.js → configurator-actions-vRnI54mO.js} +3 -3
- package/_chunks/{control-Dcrjsunl.js → control-BRfF5DWQ.js} +3 -3
- package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
- package/_chunks/{controls-B_6NJarZ.js → controls-B3EgM_DS.js} +9 -9
- package/_chunks/{date-control-C4h4m75W.js → date-control-87dcA5br.js} +5 -5
- package/_chunks/{date-time-CTOSbzb0.js → date-time-CfiFYodx.js} +20 -20
- package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
- package/_chunks/{dialog.parts-3w5FR06n.js → dialog.parts-NqEEVc9P.js} +4 -4
- package/_chunks/{duration-Bf2OS1V5.js → duration-BGZ_qJ99.js} +6 -6
- package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
- package/_chunks/{editor-popup-ByU7qiub.js → editor-popup-NNP9Fh9U.js} +4 -4
- package/_chunks/{field-configurator-D5dZRhDe.js → field-configurator-DPulsY3l.js} +6 -6
- package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
- package/_chunks/{framework-mount-Bk4O_T7T.js → framework-mount-D4I8HpVp.js} +2 -2
- package/_chunks/{icon-toolbar-DSjOdwM7.js → icon-toolbar-BAAdEvr9.js} +2 -2
- package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
- package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
- package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
- package/_chunks/{mount-BRdcG60g.js → mount-C8CnIW9k.js} +6 -6
- package/_chunks/{native-Blr3byjO.js → native-CJm3eq3-.js} +1 -1
- package/_chunks/{native-control-B_fVA5bL.js → native-control-um1L1wgZ.js} +12 -12
- package/_chunks/{number-input-CmM6_2vR.js → number-input-CKiA4d1N.js} +4 -4
- package/_chunks/{picker-DTqET-2W.js → picker-igNshTRC.js} +5 -5
- package/_chunks/{popup-C35Isk7p.js → popup-DECYM9FI.js} +2 -2
- package/_chunks/{rating-choice-C-6wcb9U.js → rating-choice-CepVfGUq.js} +2 -2
- package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
- package/_chunks/{reorder-list-DIl1gkV6.js → reorder-list-B4w3aARt.js} +2 -2
- package/_chunks/{request-trail-DrhdpWiH.js → request-trail-B1zVRPEf.js} +15 -15
- package/_chunks/{rich-text-BnilBbhU.js → rich-text-Ci4d6dHn.js} +11 -11
- package/_chunks/{selection-list-tooltips-C5oMJe26.js → selection-list-tooltips-m00U3L6z.js} +3 -3
- package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-ncldbUwS.js} +2 -2
- package/_chunks/{tooltip-D4xkio5G.js → tooltip-h-Z8yFBY.js} +2 -2
- package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
- package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-CBtRMBPr.js} +3 -3
- package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-BN5WdGHn.js} +2 -2
- package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-CKJ7VJOF.js} +3 -3
- package/activity-message.js +1 -1
- package/ai/index.js +2 -2
- package/assignee/index.js +6 -6
- package/avatar/index.js +2 -2
- package/badge.js +1 -1
- package/brush-range/component.js +2 -2
- package/buttons/delete-button.js +1 -1
- package/buttons/remove-button.js +2 -2
- package/buttons/svg-button.js +3 -3
- package/calendar/calendar.js +1 -1
- package/calendar/day.js +2 -2
- package/calendar/header.js +1 -1
- package/calendar/index.js +3 -3
- package/calendar/model.js +1 -1
- package/calendar/month-grid.js +2 -2
- package/calendar/translations.js +1 -1
- package/calendar/year-grid.js +2 -2
- package/cell-input.js +1 -1
- package/cell-visuals/index.js +1 -1
- package/checkbox/index.js +1 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/built-in-palettes.js +1 -1
- package/color-palette/chart-palettes.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-picker.constants.js +1 -1
- package/color-palette/color-picker.js +2 -2
- package/color-palette/common-palettes.d.ts +1 -1
- package/color-palette/common-palettes.js +2 -2
- package/color-palette/gantt-palettes.js +1 -1
- package/color-palette/palette.js +1 -1
- package/color-palette/pivot-palettes.js +1 -1
- package/color-palette/platform-palettes.js +1 -1
- package/color-palette/pro-palettes.js +1 -1
- package/color-palette/scheduler-palettes.js +1 -1
- package/configurator-actions.js +1 -1
- package/configurator-aggregation-list.js +3 -3
- package/configurator-drop-zone.js +2 -2
- package/configurator-focus.js +1 -1
- package/configurator-sections.js +1 -1
- package/control-attributes.js +1 -1
- package/control-presentation.js +2 -2
- package/controls.js +2 -2
- package/core/anchored-popover.js +1 -1
- package/core/control-id.js +1 -1
- package/core/editor-popup.js +1 -1
- package/core/motion.js +1 -1
- package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
- package/core/top-layer-popup.js +1 -1
- package/date-time/field.d.ts +1 -0
- package/date-time/index.js +1 -1
- package/dialog/dialog.dom.js +3 -3
- package/dialog/dialog.drag.js +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +1 -1
- package/distribution-chart/area-chart.js +2 -2
- package/distribution-chart/bar-chart.js +2 -2
- package/distribution-chart/index.js +1 -1
- package/distribution-chart/line-chart.js +2 -2
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/dropdown.service.js +1 -1
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +3 -3
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +2 -2
- package/editor-layout/index.js +2 -2
- package/favicon.svg +9 -0
- package/field-configurator.js +1 -1
- package/field-reorder.hook.js +1 -1
- package/field-reorder.js +1 -1
- package/filter/filters/slider/component.js +1 -1
- package/filter/filters/slider/control.js +1 -1
- package/filter/filters/slider/inputs.js +1 -1
- package/filter/filters/slider/logic.js +1 -1
- package/filter/filters/slider/preact.js +1 -1
- package/filter/filters/slider/runtime.js +3 -3
- package/filter/filters/slider/single.js +2 -2
- package/filter-badge.js +2 -2
- package/filter-controls.js +2 -2
- package/form-controls/index.js +3 -3
- package/form-controls/presentation.js +2 -2
- package/formatting/index.js +7 -7
- package/framework.js +25 -25
- package/history-controls.js +1 -1
- package/html-controls.js +1 -1
- package/icon-toolbar.js +1 -1
- package/icons/icon.js +1 -1
- package/legend.js +1 -1
- package/masked-input/index.js +4 -4
- package/native-control.js +1 -1
- package/native.js +15 -15
- package/number-input/index.js +1 -1
- package/package.json +49 -1
- package/pagination.js +2 -2
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/index.js +3 -3
- package/preact-mount.js +1 -1
- package/preact.js +24 -24
- package/progress/bar.js +1 -1
- package/progress/circular.js +1 -1
- package/progress/range.js +1 -1
- package/rating-choice.js +1 -1
- package/react-control.js +1 -1
- package/react.js +25 -25
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-avatar.js +1 -1
- package/resource-picker/resource-picker-option.js +1 -1
- package/resource-picker/resource-picker-popup.js +2 -2
- package/resource-picker/resource-picker.js +2 -2
- package/resource-picker/resource-picker.utils.js +1 -1
- package/rich-text/index.js +1 -1
- package/robots.txt +4 -0
- package/search-input/index.js +2 -2
- package/segmented-switch/index.js +1 -1
- package/select.js +1 -1
- package/selection-list.js +1 -1
- package/status-feedback/badge.js +2 -2
- package/status-feedback/exit-snapshot.js +2 -2
- package/status-feedback/header.js +2 -2
- package/status-feedback/icons.js +1 -1
- package/status-feedback/index.js +1 -1
- package/status-feedback/item.js +2 -2
- package/status-feedback/motion.js +1 -1
- package/status-feedback/placement.js +1 -1
- package/status-feedback/popover.js +2 -2
- package/status-feedback/render.js +1 -1
- package/styles/color-roles.js +1 -1
- package/surfaces.js +6 -6
- package/svelte-control.js +1 -1
- package/svelte.js +5 -5
- package/switch/index.js +2 -2
- package/time-grid.js +3 -3
- package/timeline-track/index.js +3 -3
- package/timeline-track/model.js +1 -1
- package/vue-badge.js +1 -1
- package/vue-control.js +1 -1
- package/vue-segmented-switch.js +1 -1
- package/vue.js +25 -25
- package/_shared/data-query/binding.d.ts +0 -30
- package/_shared/data-query/blocks.d.ts +0 -30
- package/_shared/data-query/commands.d.ts +0 -47
- package/_shared/data-query/contracts.d.ts +0 -106
- package/_shared/data-query/cursor-reader.d.ts +0 -25
- package/_shared/data-query/direct-binding.d.ts +0 -3
- package/_shared/data-query/index.d.ts +0 -23
- package/_shared/data-query/infinite-binding.d.ts +0 -18
- package/_shared/data-query/keys.d.ts +0 -9
- package/_shared/data-query/limiter.d.ts +0 -12
- package/_shared/data-query/load-options.d.ts +0 -25
- package/_shared/data-query/materialize.d.ts +0 -2
- package/_shared/data-query/policy.d.ts +0 -14
- package/_shared/data-query/provider-queries.d.ts +0 -22
- package/_shared/data-query/reader.d.ts +0 -23
- package/_shared/data-query/remote-load.d.ts +0 -7
- package/_shared/data-query/source.d.ts +0 -40
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface ReadPolicy {
|
|
2
|
-
readonly staleTime: number;
|
|
3
|
-
readonly gcTime: number;
|
|
4
|
-
readonly refetchOnMount: boolean;
|
|
5
|
-
readonly refetchOnWindowFocus: boolean;
|
|
6
|
-
readonly refetchOnReconnect: boolean;
|
|
7
|
-
readonly retry: number;
|
|
8
|
-
readonly retryDelay: number;
|
|
9
|
-
}
|
|
10
|
-
/** Explicit pilot defaults. Bindings override host defaults locally, never globally. */
|
|
11
|
-
export declare const defaultReadPolicy: Readonly<ReadPolicy>;
|
|
12
|
-
/** HTTP providers may expose a status; validation/auth failures are not transient. */
|
|
13
|
-
export declare function isRetryableRead(error: unknown): boolean;
|
|
14
|
-
export declare function resolveReadPolicy(policy?: Partial<ReadPolicy>): ReadPolicy;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { NativeReadOptions } from './load-options.js';
|
|
2
|
-
import type { DataQueryScope } from './source.js';
|
|
3
|
-
import type { ReadStatus } from './contracts.js';
|
|
4
|
-
/** Policy for one-shot provider calls. Polling/enabled require a mounted product observer.
|
|
5
|
-
* @see https://pro.rv-grid.com/guides/server-data-queries/#ancillary-providers
|
|
6
|
-
*/
|
|
7
|
-
export interface ProviderQueryOptions extends Pick<NativeReadOptions, 'staleTime' | 'gcTime' | 'retry' | 'retryDelay' | 'networkMode' | 'meta'> {
|
|
8
|
-
readonly source?: DataQueryScope;
|
|
9
|
-
/** Include endpoint/project identity when it is hidden inside a callback. */
|
|
10
|
-
readonly resource?: string;
|
|
11
|
-
readonly onStatus?: (status: ReadStatus) => void;
|
|
12
|
-
}
|
|
13
|
-
/** Keeps live callback context out of keys; Query owns every physical attempt and cached result. */
|
|
14
|
-
export declare function createProviderQueries(options?: ProviderQueryOptions | false): {
|
|
15
|
-
read<T>(operation: string, key: unknown, execute: (signal: AbortSignal) => T | PromiseLike<T>, signal?: AbortSignal, settings?: {
|
|
16
|
-
fresh?: boolean;
|
|
17
|
-
}): Promise<T>;
|
|
18
|
-
accepted(): Promise<void>;
|
|
19
|
-
/** A cache failure must never turn an already accepted write into a retryable write failure. */
|
|
20
|
-
afterWrite(): Promise<void>;
|
|
21
|
-
dispose(): void;
|
|
22
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { LoadQueryOptions } from './load-options.js';
|
|
2
|
-
import type { ReadStatus } from './contracts.js';
|
|
3
|
-
export interface QueryReadSubscription<Result> {
|
|
4
|
-
readonly ready: Promise<Result>;
|
|
5
|
-
refresh(): Promise<void>;
|
|
6
|
-
dispose(): void;
|
|
7
|
-
}
|
|
8
|
-
export interface QueryReader<Request, Result> {
|
|
9
|
-
read(request: Request, signal?: AbortSignal, options?: {
|
|
10
|
-
fresh?: boolean;
|
|
11
|
-
}): Promise<Result>;
|
|
12
|
-
observe(request: Request, options?: {
|
|
13
|
-
signal?: AbortSignal;
|
|
14
|
-
force?: boolean;
|
|
15
|
-
onData?: (result: Result) => void;
|
|
16
|
-
onStatus?: (status: ReadStatus) => void;
|
|
17
|
-
}): QueryReadSubscription<Result>;
|
|
18
|
-
invalidate(): void;
|
|
19
|
-
accepted(): Promise<void>;
|
|
20
|
-
dispose(): void;
|
|
21
|
-
}
|
|
22
|
-
/** Promise providers and mounted consumers share the same validated read/cache lifecycle. */
|
|
23
|
-
export declare function createQueryReader<Request, Result>(operation: string, read: (request: Request, signal: AbortSignal) => Promise<Result> | Result, keyRequest: (request: Request) => unknown, options?: LoadQueryOptions<Result> | false, materialize?: (result: Result, request: Request) => Result): QueryReader<Request, Result>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { LoadQueryOptions } from './load-options.js';
|
|
2
|
-
import type { RemoteBlockController, RemoteBlockPort } from './contracts.js';
|
|
3
|
-
export type RemoteLoadController<Request> = RemoteBlockController<Request> & {
|
|
4
|
-
invalidate(): void;
|
|
5
|
-
};
|
|
6
|
-
/** Own a private context by default; supplied scopes remain owned by the caller. */
|
|
7
|
-
export declare function createRemoteLoad<Request, Result>(operation: string, port: RemoteBlockPort<Request, Result>, read: (request: Request, signal: AbortSignal) => Promise<Result> | Result, keyRequest: (request: Request) => unknown, options?: LoadQueryOptions<Result> | false, concurrency?: number, debounceMs?: number): RemoteLoadController<Request>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/query-core';
|
|
2
|
-
import type { SourceIdentity } from './contracts.js';
|
|
3
|
-
import { SourceLimiter } from './limiter.js';
|
|
4
|
-
import { type ReadPolicy } from './policy.js';
|
|
5
|
-
/** Internal cache framing; products receive only detached value projections. */
|
|
6
|
-
export interface ReadValue<T> {
|
|
7
|
-
readonly acceptanceVersion: number;
|
|
8
|
-
readonly value: T;
|
|
9
|
-
}
|
|
10
|
-
export interface SourceOptions {
|
|
11
|
-
readonly concurrency?: number;
|
|
12
|
-
readonly policy?: Partial<ReadPolicy>;
|
|
13
|
-
}
|
|
14
|
-
export declare class DataQuerySource {
|
|
15
|
-
readonly client: QueryClient;
|
|
16
|
-
readonly identity: SourceIdentity;
|
|
17
|
-
readonly policy: ReadPolicy;
|
|
18
|
-
readonly limiter: SourceLimiter;
|
|
19
|
-
private version;
|
|
20
|
-
/** Use getDataQuerySource so equal scopes share the limiter and acceptance fence. */
|
|
21
|
-
constructor(client: QueryClient, identity: SourceIdentity, options: SourceOptions);
|
|
22
|
-
isCurrent(value: ReadValue<unknown>): boolean;
|
|
23
|
-
read<T>(signal: AbortSignal, provider: () => Promise<T> | T, materialize?: (value: T) => T): Promise<ReadValue<T>>;
|
|
24
|
-
/** Domain code applies canonical changes before calling this after acceptance. */
|
|
25
|
-
accepted(): Promise<void>;
|
|
26
|
-
/** Coarse, safe source-wide invalidation; product mappings can narrow it later. */
|
|
27
|
-
invalidate(): Promise<void>;
|
|
28
|
-
}
|
|
29
|
-
/** Structural public scope survives declaration bundling in consuming products. */
|
|
30
|
-
export type DataQueryScope = Omit<DataQuerySource, 'limiter'> & {
|
|
31
|
-
readonly limiter: Pick<SourceLimiter, keyof SourceLimiter>;
|
|
32
|
-
};
|
|
33
|
-
export declare function getDataQuerySource(client: QueryClient, identity: SourceIdentity, options?: SourceOptions): DataQuerySource;
|
|
34
|
-
/** Create once per application/session, or once per SSR request; never a global SSR client. */
|
|
35
|
-
export declare function createDataQueryContext(client?: QueryClient): {
|
|
36
|
-
client: QueryClient;
|
|
37
|
-
source(identity: SourceIdentity, options?: SourceOptions): DataQuerySource;
|
|
38
|
-
/** Dispose this context's bindings first. Injected caches are never cleared. */
|
|
39
|
-
dispose(): void;
|
|
40
|
-
};
|