nuxt-ui-tools 1.0.1 → 1.1.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/dist/module.d.mts +3 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +37 -0
- package/dist/runtime/dashboard/components/block/dashboard-block-state.d.vue.ts +12 -0
- package/dist/runtime/dashboard/components/block/dashboard-block-state.vue +59 -0
- package/dist/runtime/dashboard/components/block/dashboard-block-state.vue.d.ts +12 -0
- package/dist/runtime/dashboard/components/block/dashboard-data-table.d.vue.ts +9 -0
- package/dist/runtime/dashboard/components/block/dashboard-data-table.vue +47 -0
- package/dist/runtime/dashboard/components/block/dashboard-data-table.vue.d.ts +9 -0
- package/dist/runtime/dashboard/components/block/dashboard-ring.d.vue.ts +34 -0
- package/dist/runtime/dashboard/components/block/dashboard-ring.vue +91 -0
- package/dist/runtime/dashboard/components/block/dashboard-ring.vue.d.ts +34 -0
- package/dist/runtime/dashboard/components/block/dashboard-row-actions.d.vue.ts +13 -0
- package/dist/runtime/dashboard/components/block/dashboard-row-actions.vue +49 -0
- package/dist/runtime/dashboard/components/block/dashboard-row-actions.vue.d.ts +13 -0
- package/dist/runtime/dashboard/components/block/dashboard-skeleton.d.vue.ts +34 -0
- package/dist/runtime/dashboard/components/block/dashboard-skeleton.vue +312 -0
- package/dist/runtime/dashboard/components/block/dashboard-skeleton.vue.d.ts +34 -0
- package/dist/runtime/dashboard/components/charts/renderer.d.ts +43 -0
- package/dist/runtime/dashboard/components/charts/renderer.js +34 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-donut-chart.d.vue.ts +18 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-donut-chart.vue +45 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-donut-chart.vue.d.ts +18 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-chart.d.vue.ts +14 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-chart.vue +190 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-chart.vue.d.ts +14 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-marks.d.vue.ts +13 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-marks.vue +72 -0
- package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-marks.vue.d.ts +13 -0
- package/dist/runtime/dashboard/components/charts/unovis/xy-layers.d.ts +43 -0
- package/dist/runtime/dashboard/components/charts/unovis/xy-layers.js +60 -0
- package/dist/runtime/dashboard/components/dashboard-alerts.d.vue.ts +49 -0
- package/dist/runtime/dashboard/components/dashboard-alerts.vue +226 -0
- package/dist/runtime/dashboard/components/dashboard-alerts.vue.d.ts +49 -0
- package/dist/runtime/dashboard/components/dashboard-bar-chart.d.vue.ts +53 -0
- package/dist/runtime/dashboard/components/dashboard-bar-chart.vue +131 -0
- package/dist/runtime/dashboard/components/dashboard-bar-chart.vue.d.ts +53 -0
- package/dist/runtime/dashboard/components/dashboard-bars.d.vue.ts +49 -0
- package/dist/runtime/dashboard/components/dashboard-bars.vue +187 -0
- package/dist/runtime/dashboard/components/dashboard-bars.vue.d.ts +49 -0
- package/dist/runtime/dashboard/components/dashboard-card.d.vue.ts +47 -0
- package/dist/runtime/dashboard/components/dashboard-card.vue +316 -0
- package/dist/runtime/dashboard/components/dashboard-card.vue.d.ts +47 -0
- package/dist/runtime/dashboard/components/dashboard-combo-chart.d.vue.ts +52 -0
- package/dist/runtime/dashboard/components/dashboard-combo-chart.vue +128 -0
- package/dist/runtime/dashboard/components/dashboard-combo-chart.vue.d.ts +52 -0
- package/dist/runtime/dashboard/components/dashboard-donut-chart.d.vue.ts +48 -0
- package/dist/runtime/dashboard/components/dashboard-donut-chart.vue +216 -0
- package/dist/runtime/dashboard/components/dashboard-donut-chart.vue.d.ts +48 -0
- package/dist/runtime/dashboard/components/dashboard-feed.d.vue.ts +49 -0
- package/dist/runtime/dashboard/components/dashboard-feed.vue +238 -0
- package/dist/runtime/dashboard/components/dashboard-feed.vue.d.ts +49 -0
- package/dist/runtime/dashboard/components/dashboard-funnel.d.vue.ts +34 -0
- package/dist/runtime/dashboard/components/dashboard-funnel.vue +157 -0
- package/dist/runtime/dashboard/components/dashboard-funnel.vue.d.ts +34 -0
- package/dist/runtime/dashboard/components/dashboard-gauge.d.vue.ts +55 -0
- package/dist/runtime/dashboard/components/dashboard-gauge.vue +177 -0
- package/dist/runtime/dashboard/components/dashboard-gauge.vue.d.ts +55 -0
- package/dist/runtime/dashboard/components/dashboard-grid.d.vue.ts +38 -0
- package/dist/runtime/dashboard/components/dashboard-grid.vue +49 -0
- package/dist/runtime/dashboard/components/dashboard-grid.vue.d.ts +38 -0
- package/dist/runtime/dashboard/components/dashboard-legend.d.vue.ts +8 -0
- package/dist/runtime/dashboard/components/dashboard-legend.vue +37 -0
- package/dist/runtime/dashboard/components/dashboard-legend.vue.d.ts +8 -0
- package/dist/runtime/dashboard/components/dashboard-line-chart.d.vue.ts +46 -0
- package/dist/runtime/dashboard/components/dashboard-line-chart.vue +129 -0
- package/dist/runtime/dashboard/components/dashboard-line-chart.vue.d.ts +46 -0
- package/dist/runtime/dashboard/components/dashboard-list.d.vue.ts +63 -0
- package/dist/runtime/dashboard/components/dashboard-list.vue +239 -0
- package/dist/runtime/dashboard/components/dashboard-list.vue.d.ts +63 -0
- package/dist/runtime/dashboard/components/dashboard-paired-bars.d.vue.ts +43 -0
- package/dist/runtime/dashboard/components/dashboard-paired-bars.vue +194 -0
- package/dist/runtime/dashboard/components/dashboard-paired-bars.vue.d.ts +43 -0
- package/dist/runtime/dashboard/components/dashboard-refresh.d.vue.ts +29 -0
- package/dist/runtime/dashboard/components/dashboard-refresh.vue +86 -0
- package/dist/runtime/dashboard/components/dashboard-refresh.vue.d.ts +29 -0
- package/dist/runtime/dashboard/components/dashboard-relative-time.d.vue.ts +12 -0
- package/dist/runtime/dashboard/components/dashboard-relative-time.vue +23 -0
- package/dist/runtime/dashboard/components/dashboard-relative-time.vue.d.ts +12 -0
- package/dist/runtime/dashboard/components/dashboard-stack-bar.d.vue.ts +36 -0
- package/dist/runtime/dashboard/components/dashboard-stack-bar.vue +162 -0
- package/dist/runtime/dashboard/components/dashboard-stack-bar.vue.d.ts +36 -0
- package/dist/runtime/dashboard/components/dashboard-stat.d.vue.ts +69 -0
- package/dist/runtime/dashboard/components/dashboard-stat.vue +279 -0
- package/dist/runtime/dashboard/components/dashboard-stat.vue.d.ts +69 -0
- package/dist/runtime/dashboard/components/dashboard-stats.d.vue.ts +38 -0
- package/dist/runtime/dashboard/components/dashboard-stats.vue +202 -0
- package/dist/runtime/dashboard/components/dashboard-stats.vue.d.ts +38 -0
- package/dist/runtime/dashboard/components/dashboard-table.d.vue.ts +52 -0
- package/dist/runtime/dashboard/components/dashboard-table.vue +305 -0
- package/dist/runtime/dashboard/components/dashboard-table.vue.d.ts +52 -0
- package/dist/runtime/dashboard/components/dashboard-tabs.d.vue.ts +35 -0
- package/dist/runtime/dashboard/components/dashboard-tabs.vue +55 -0
- package/dist/runtime/dashboard/components/dashboard-tabs.vue.d.ts +35 -0
- package/dist/runtime/dashboard/components/dashboard-total.d.vue.ts +10 -0
- package/dist/runtime/dashboard/components/dashboard-total.vue +32 -0
- package/dist/runtime/dashboard/components/dashboard-total.vue.d.ts +10 -0
- package/dist/runtime/dashboard/components/dashboard-widget.d.vue.ts +46 -0
- package/dist/runtime/dashboard/components/dashboard-widget.vue +84 -0
- package/dist/runtime/dashboard/components/dashboard-widget.vue.d.ts +46 -0
- package/dist/runtime/dashboard/composables/use-dashboard-api.d.ts +15 -0
- package/dist/runtime/dashboard/composables/use-dashboard-api.js +91 -0
- package/dist/runtime/dashboard/composables/use-dashboard-block.d.ts +22 -0
- package/dist/runtime/dashboard/composables/use-dashboard-block.js +35 -0
- package/dist/runtime/dashboard/composables/use-dashboard-chart.d.ts +36 -0
- package/dist/runtime/dashboard/composables/use-dashboard-chart.js +118 -0
- package/dist/runtime/dashboard/composables/use-dashboard-derived.d.ts +12 -0
- package/dist/runtime/dashboard/composables/use-dashboard-derived.js +47 -0
- package/dist/runtime/dashboard/composables/use-dashboard-format.d.ts +6 -0
- package/dist/runtime/dashboard/composables/use-dashboard-format.js +12 -0
- package/dist/runtime/dashboard/composables/use-dashboard-options.d.ts +8 -0
- package/dist/runtime/dashboard/composables/use-dashboard-options.js +63 -0
- package/dist/runtime/dashboard/composables/use-dashboard-param-scope.d.ts +30 -0
- package/dist/runtime/dashboard/composables/use-dashboard-param-scope.js +71 -0
- package/dist/runtime/dashboard/composables/use-dashboard-remote-options.d.ts +12 -0
- package/dist/runtime/dashboard/composables/use-dashboard-remote-options.js +117 -0
- package/dist/runtime/dashboard/composables/use-dashboard-resource.d.ts +35 -0
- package/dist/runtime/dashboard/composables/use-dashboard-resource.js +80 -0
- package/dist/runtime/dashboard/composables/use-dashboard-scope.d.ts +46 -0
- package/dist/runtime/dashboard/composables/use-dashboard-scope.js +127 -0
- package/dist/runtime/dashboard/composables/use-dashboard-time.d.ts +13 -0
- package/dist/runtime/dashboard/composables/use-dashboard-time.js +40 -0
- package/dist/runtime/dashboard/composables/use-dashboard-ui.d.ts +22 -0
- package/dist/runtime/dashboard/composables/use-dashboard-ui.js +19 -0
- package/dist/runtime/dashboard/composables/use-dashboard-views.d.ts +46 -0
- package/dist/runtime/dashboard/composables/use-dashboard-views.js +49 -0
- package/dist/runtime/dashboard/composables/use-dashboard.d.ts +24 -0
- package/dist/runtime/dashboard/composables/use-dashboard.js +42 -0
- package/dist/runtime/dashboard/constants/query.d.ts +16 -0
- package/dist/runtime/dashboard/constants/query.js +15 -0
- package/dist/runtime/dashboard/index.d.ts +4 -0
- package/dist/runtime/dashboard/index.js +3 -0
- package/dist/runtime/dashboard/schema/index.d.ts +57 -0
- package/dist/runtime/dashboard/schema/index.js +3 -0
- package/dist/runtime/dashboard/types/blocks.d.ts +251 -0
- package/dist/runtime/dashboard/types/blocks.js +0 -0
- package/dist/runtime/dashboard/types/charts.d.ts +60 -0
- package/dist/runtime/dashboard/types/charts.js +0 -0
- package/dist/runtime/dashboard/types/index.d.ts +7 -0
- package/dist/runtime/dashboard/types/index.js +0 -0
- package/dist/runtime/dashboard/types/options.d.ts +46 -0
- package/dist/runtime/dashboard/types/options.js +0 -0
- package/dist/runtime/dashboard/types/params.d.ts +115 -0
- package/dist/runtime/dashboard/types/params.js +0 -0
- package/dist/runtime/dashboard/types/resource.d.ts +106 -0
- package/dist/runtime/dashboard/types/resource.js +0 -0
- package/dist/runtime/dashboard/types/runtime.d.ts +44 -0
- package/dist/runtime/dashboard/types/runtime.js +0 -0
- package/dist/runtime/dashboard/types/schema.d.ts +171 -0
- package/dist/runtime/dashboard/types/schema.js +0 -0
- package/dist/runtime/dashboard/types/ui.d.ts +201 -0
- package/dist/runtime/dashboard/types/ui.js +0 -0
- package/dist/runtime/dashboard/utils/builders/dashboard-params.d.ts +85 -0
- package/dist/runtime/dashboard/utils/builders/dashboard-params.js +87 -0
- package/dist/runtime/dashboard/utils/chart-frame.d.ts +5 -0
- package/dist/runtime/dashboard/utils/chart-frame.js +27 -0
- package/dist/runtime/dashboard/utils/charts.d.ts +61 -0
- package/dist/runtime/dashboard/utils/charts.js +142 -0
- package/dist/runtime/dashboard/utils/comparison.d.ts +15 -0
- package/dist/runtime/dashboard/utils/comparison.js +19 -0
- package/dist/runtime/dashboard/utils/export.d.ts +13 -0
- package/dist/runtime/dashboard/utils/export.js +45 -0
- package/dist/runtime/dashboard/utils/options.d.ts +12 -0
- package/dist/runtime/dashboard/utils/options.js +23 -0
- package/dist/runtime/dashboard/utils/params/codecs.d.ts +14 -0
- package/dist/runtime/dashboard/utils/params/codecs.js +69 -0
- package/dist/runtime/dashboard/utils/resource.d.ts +16 -0
- package/dist/runtime/dashboard/utils/resource.js +39 -0
- package/dist/runtime/dashboard/utils/schema.d.ts +9 -0
- package/dist/runtime/dashboard/utils/schema.js +31 -0
- package/dist/runtime/dashboard/utils/sparkline.d.ts +21 -0
- package/dist/runtime/dashboard/utils/sparkline.js +53 -0
- package/dist/runtime/dashboard/utils/state.d.ts +28 -0
- package/dist/runtime/dashboard/utils/state.js +32 -0
- package/dist/runtime/dashboard/utils/time.d.ts +17 -0
- package/dist/runtime/dashboard/utils/time.js +60 -0
- package/dist/runtime/dashboard/utils/tracker.d.ts +12 -0
- package/dist/runtime/dashboard/utils/tracker.js +31 -0
- package/dist/runtime/dashboard/utils/ui.d.ts +38 -0
- package/dist/runtime/dashboard/utils/ui.js +24 -0
- package/dist/runtime/dashboard/utils/visibility.d.ts +2 -0
- package/dist/runtime/dashboard/utils/visibility.js +25 -0
- package/dist/runtime/form/types/options.d.ts +15 -36
- package/dist/runtime/i18n/locales/en.js +62 -0
- package/dist/runtime/i18n/locales/fr.js +62 -0
- package/dist/runtime/i18n/types.d.ts +67 -0
- package/dist/runtime/shared/index.d.ts +2 -0
- package/dist/runtime/shared/styles/tokens.css +1 -1
- package/dist/runtime/shared/types/query.d.ts +10 -0
- package/dist/runtime/shared/types/query.js +0 -0
- package/dist/runtime/shared/types/remote-options.d.ts +37 -0
- package/dist/runtime/shared/types/remote-options.js +0 -0
- package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.d.vue.ts +2 -2
- package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.vue.d.ts +2 -2
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.d.ts +15 -15
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.d.ts +2 -2
- package/dist/runtime/spreadsheet/schema/normalize.d.ts +1 -1
- package/dist/runtime/spreadsheet/utils/references/sources.d.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-content.d.vue.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-content.vue.d.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-infinite-loader.d.vue.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-infinite-loader.vue.d.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-layout-switch.d.vue.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-layout-switch.vue.d.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-pagination.d.vue.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-pagination.vue.d.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-sort-menu.d.vue.ts +1 -1
- package/dist/runtime/table/components/data-list/data-list-sort-menu.vue.d.ts +1 -1
- package/dist/runtime/table/components/data-list/sort-menu-panel.d.vue.ts +2 -2
- package/dist/runtime/table/components/data-list/sort-menu-panel.vue.d.ts +2 -2
- package/dist/runtime/table/components/filters/shared/filter-match-mode-button.d.vue.ts +1 -1
- package/dist/runtime/table/components/filters/shared/filter-match-mode-button.vue.d.ts +1 -1
- package/dist/runtime/table/components/layout/table-footer.d.vue.ts +1 -1
- package/dist/runtime/table/components/layout/table-footer.vue.d.ts +1 -1
- package/dist/runtime/table/components/table/table-cell-ellipsis.d.ts +1 -1
- package/dist/runtime/table/composables/use-query-state.d.ts +3 -3
- package/dist/runtime/table/composables/use-table-columns.d.ts +3 -3
- package/dist/runtime/table/composables/use-table-internals.d.ts +27 -27
- package/dist/runtime/table/composables/use-table-pagination.d.ts +2 -2
- package/dist/runtime/table/composables/use-table-selection.d.ts +1 -1
- package/dist/runtime/table/composables/use-table-state.d.ts +3 -3
- package/dist/runtime/table/types/source.d.ts +4 -5
- package/dist/runtime/table/utils/columns/menu.d.ts +1 -1
- package/dist/runtime/table/utils/columns/state.d.ts +1 -1
- package/dist/runtime/table/utils/data-list-ui.d.ts +1 -1
- package/package.json +28 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--nut-form-veil:rgba(31,29,26,.18)}.dark{--nut-form-veil:rgba(0,0,0,.45)}
|
|
1
|
+
:root{--nut-form-veil:rgba(31,29,26,.18)}.dark{--nut-form-veil:rgba(0,0,0,.45)}:where(:root){--nut-dash-s1:var(--ui-primary);--nut-dash-s2:var(--ui-color-neutral-400);--nut-dash-s3:var(--ui-secondary);--nut-dash-s4:color-mix(in oklab,var(--ui-primary) 20%,var(--ui-bg));--nut-dash-s5:var(--ui-warning);--nut-dash-s6:color-mix(in oklab,var(--ui-secondary) 35%,var(--ui-bg));--nut-dash-up:var(--ui-success);--nut-dash-up-mark:var(--nut-dash-up);--nut-dash-down:var(--ui-error);--nut-dash-muted:var(--ui-border-accented);--nut-dash-track:var(--ui-bg-elevated);--nut-dash-grid:var(--ui-border-muted);--nut-dash-axis:var(--ui-text-dimmed);--nut-dash-ref:var(--ui-text-dimmed);--nut-dash-ref-label:var(--ui-text-muted);--nut-dash-ghost:var(--ui-bg-accented);--nut-dash-ghost-shine:color-mix(in oklab,var(--ui-bg) 70%,transparent)}:where(.dark){--nut-dash-s2:var(--ui-color-neutral-500);--nut-dash-s4:color-mix(in oklab,var(--ui-primary) 30%,var(--ui-bg));--nut-dash-s6:color-mix(in oklab,var(--ui-secondary) 40%,var(--ui-bg))}@supports (color:oklch(from red l c h)){:where(:root){--nut-dash-s4:oklch(from var(--ui-primary) 0.88 calc(c * 0.45) h);--nut-dash-s6:oklch(from var(--ui-secondary) 0.8 calc(c * 0.55) h)}:where(.dark){--nut-dash-s4:oklch(from var(--ui-primary) 0.42 calc(c * 0.6) h);--nut-dash-s6:oklch(from var(--ui-secondary) 0.45 calc(c * 0.65) h)}}.nut-dash-chart{--vis-font-family:inherit;--vis-axis-tick-label-color:var(--nut-dash-axis);--vis-axis-tick-label-font-size:10px;--vis-axis-grid-color:var(--nut-dash-grid);--vis-axis-domain-color:var(--nut-dash-grid);--vis-crosshair-line-stroke-color:var(--ui-border-accented);--vis-crosshair-circle-stroke-color:var(--ui-bg);--vis-tooltip-background-color:var(--ui-bg);--vis-tooltip-border-color:var(--ui-border);--vis-tooltip-text-color:var(--ui-text);--vis-tooltip-padding:8px 10px;--vis-tooltip-border-radius:calc(var(--ui-radius)*1.5);--vis-tooltip-shadow-color:rgb(0 0 0/8%);--vis-plotline-label-font-size:10px}.nut-dash-chart--bars [data-vis-component] rect:hover{opacity:.8}.nut-dash-tip{display:flex;flex-direction:column;font-size:12px;gap:4px;min-width:9rem}.nut-dash-tip-title{color:var(--ui-text-muted);font-weight:500}.nut-dash-tip-row{align-items:center;display:flex;gap:6px}.nut-dash-tip-row i{border-radius:2px;height:8px;width:8px}.nut-dash-tip-row span{color:var(--ui-text-muted);flex:1}.nut-dash-tip-row b{font-variant-numeric:tabular-nums;font-weight:600}.nut-dash-ghost{background:var(--nut-dash-ghost)}.nut-dash-shimmer{overflow:hidden;position:relative}.nut-dash-shimmer:after{animation:nut-dash-shimmer 1.6s ease-in-out infinite;background:linear-gradient(100deg,transparent 25%,var(--nut-dash-ghost-shine) 50%,transparent 75%);content:"";inset:0;pointer-events:none;position:absolute;transform:translateX(-100%);will-change:transform}@keyframes nut-dash-shimmer{to{transform:translateX(100%)}}.nut-dash-enter{animation:nut-dash-enter .28s ease-out}@keyframes nut-dash-enter{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}.nut-dash-progress{animation:nut-dash-progress 1.1s ease-in-out infinite}@keyframes nut-dash-progress{0%{transform:translateX(-100%)}to{transform:translateX(300%)}}@media (prefers-reduced-motion:reduce){.nut-dash-shimmer:after{display:none}.nut-dash-enter{animation:none}.nut-dash-progress{animation-duration:3s}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { QueryFunction, QueryKey, UseQueryOptions } from '@tanstack/vue-query';
|
|
2
|
+
/**
|
|
3
|
+
* TanStack query definition accepted by runtime domains that own the `useQuery` call themselves
|
|
4
|
+
* (table sources, dashboard queries): an explicit `queryKey`, an optional `queryFn`, and any other
|
|
5
|
+
* query option.
|
|
6
|
+
*/
|
|
7
|
+
export type QueryDefinition<TData = unknown> = Omit<UseQueryOptions<TData>, 'queryFn'> & {
|
|
8
|
+
queryKey: QueryKey;
|
|
9
|
+
queryFn?: QueryFunction<TData, QueryKey, string | null>;
|
|
10
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Page envelope returned by an index-paginated remote option source.
|
|
3
|
+
*/
|
|
4
|
+
export interface RemoteOptionsPage<TOption> {
|
|
5
|
+
options: readonly TOption[];
|
|
6
|
+
hasMore: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Page envelope returned by a cursor-paginated remote option source.
|
|
10
|
+
*/
|
|
11
|
+
export interface RemoteCursorOptionsPage<TOption> {
|
|
12
|
+
options: readonly TOption[];
|
|
13
|
+
nextCursor: string | null;
|
|
14
|
+
}
|
|
15
|
+
export type RemoteOptionsResult<TOption> = RemoteOptionsPage<TOption> | RemoteCursorOptionsPage<TOption>;
|
|
16
|
+
/**
|
|
17
|
+
* Page requested from a remote option source. `cursor` is set for cursor pagination and `index`
|
|
18
|
+
* (1-based) for page pagination.
|
|
19
|
+
*/
|
|
20
|
+
export interface RemoteOptionsPageRequest {
|
|
21
|
+
index: number;
|
|
22
|
+
cursor: string | null;
|
|
23
|
+
size: number;
|
|
24
|
+
}
|
|
25
|
+
export interface RemoteOptionsPagination {
|
|
26
|
+
type: 'page' | 'cursor';
|
|
27
|
+
/** Page size forwarded to the source. */
|
|
28
|
+
size: number;
|
|
29
|
+
/** Distance from the list end that triggers the next page: pixels, or `'viewport'` for three viewport heights. Defaults to `'viewport'`. */
|
|
30
|
+
prefetchDistance?: number | 'viewport';
|
|
31
|
+
}
|
|
32
|
+
export interface RemoteOptionsSearch {
|
|
33
|
+
/** Debounce applied to typed search terms, in milliseconds. Defaults to 250. */
|
|
34
|
+
debounce?: number;
|
|
35
|
+
/** Minimum term length before a search request runs. Defaults to 0. */
|
|
36
|
+
minLength?: number;
|
|
37
|
+
}
|
|
File without changes
|
|
@@ -12,12 +12,12 @@ type __VLS_Props = {
|
|
|
12
12
|
primaryIcon?: string;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
primary: () => any;
|
|
16
15
|
previous: () => any;
|
|
16
|
+
primary: () => any;
|
|
17
17
|
export: () => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onPrimary?: (() => any) | undefined;
|
|
20
19
|
onPrevious?: (() => any) | undefined;
|
|
20
|
+
onPrimary?: (() => any) | undefined;
|
|
21
21
|
onExport?: (() => any) | undefined;
|
|
22
22
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,12 +12,12 @@ type __VLS_Props = {
|
|
|
12
12
|
primaryIcon?: string;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
primary: () => any;
|
|
16
15
|
previous: () => any;
|
|
16
|
+
primary: () => any;
|
|
17
17
|
export: () => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onPrimary?: (() => any) | undefined;
|
|
20
19
|
onPrevious?: (() => any) | undefined;
|
|
20
|
+
onPrimary?: (() => any) | undefined;
|
|
21
21
|
onExport?: (() => any) | undefined;
|
|
22
22
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -65,8 +65,8 @@ declare function createSpreadsheetInternals<TSchema extends {
|
|
|
65
65
|
sourceValue: string;
|
|
66
66
|
}) => void;
|
|
67
67
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
68
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
69
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
68
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
69
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
70
70
|
resolutions: ComputedRef<import("../types/index.js").SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
71
71
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<import("../types/index.js").SpreadsheetRecord>[]>;
|
|
72
72
|
selectReference: (selection: {
|
|
@@ -98,8 +98,8 @@ declare function createSpreadsheetInternals<TSchema extends {
|
|
|
98
98
|
sourceValue: string;
|
|
99
99
|
}) => void;
|
|
100
100
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
101
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
102
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
101
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
102
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
103
103
|
resolutions: ComputedRef<import("../types/index.js").SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
104
104
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<import("../types/index.js").SpreadsheetRecord>[]>;
|
|
105
105
|
selectReference: (selection: {
|
|
@@ -163,7 +163,7 @@ declare function createSpreadsheetInternals<TSchema extends {
|
|
|
163
163
|
};
|
|
164
164
|
references: any[];
|
|
165
165
|
relations: readonly unknown[];
|
|
166
|
-
resolutions: readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
166
|
+
resolutions: readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[];
|
|
167
167
|
review: {
|
|
168
168
|
[x: string]: unknown;
|
|
169
169
|
};
|
|
@@ -272,8 +272,8 @@ declare function useProvideSpreadsheetInternals(options: {
|
|
|
272
272
|
sourceValue: string;
|
|
273
273
|
}) => void;
|
|
274
274
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
275
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
276
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
275
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
276
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
277
277
|
resolutions: ComputedRef<import("../types/index.js").SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
278
278
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<import("../types/index.js").SpreadsheetRecord>[]>;
|
|
279
279
|
selectReference: (selection: {
|
|
@@ -305,8 +305,8 @@ declare function useProvideSpreadsheetInternals(options: {
|
|
|
305
305
|
sourceValue: string;
|
|
306
306
|
}) => void;
|
|
307
307
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
308
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
309
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
308
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
309
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
310
310
|
resolutions: ComputedRef<import("../types/index.js").SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
311
311
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<import("../types/index.js").SpreadsheetRecord>[]>;
|
|
312
312
|
selectReference: (selection: {
|
|
@@ -372,7 +372,7 @@ declare function useProvideSpreadsheetInternals(options: {
|
|
|
372
372
|
};
|
|
373
373
|
references: any[];
|
|
374
374
|
relations: readonly unknown[];
|
|
375
|
-
resolutions: readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
375
|
+
resolutions: readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[];
|
|
376
376
|
review: {
|
|
377
377
|
[x: string]: unknown;
|
|
378
378
|
};
|
|
@@ -474,8 +474,8 @@ declare function useSpreadsheetInternals(): {
|
|
|
474
474
|
sourceValue: string;
|
|
475
475
|
}) => void;
|
|
476
476
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
477
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
478
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
477
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
478
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
479
479
|
resolutions: ComputedRef<import("../types/index.js").SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
480
480
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<import("../types/index.js").SpreadsheetRecord>[]>;
|
|
481
481
|
selectReference: (selection: {
|
|
@@ -507,8 +507,8 @@ declare function useSpreadsheetInternals(): {
|
|
|
507
507
|
sourceValue: string;
|
|
508
508
|
}) => void;
|
|
509
509
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
510
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
511
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
510
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
511
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
512
512
|
resolutions: ComputedRef<import("../types/index.js").SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
513
513
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<import("../types/index.js").SpreadsheetRecord>[]>;
|
|
514
514
|
selectReference: (selection: {
|
|
@@ -574,7 +574,7 @@ declare function useSpreadsheetInternals(): {
|
|
|
574
574
|
};
|
|
575
575
|
references: any[];
|
|
576
576
|
relations: readonly unknown[];
|
|
577
|
-
resolutions: readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
577
|
+
resolutions: readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[];
|
|
578
578
|
review: {
|
|
579
579
|
[x: string]: unknown;
|
|
580
580
|
};
|
|
@@ -15,8 +15,8 @@ export declare function useSpreadsheetResolutions(params: UseSpreadsheetResoluti
|
|
|
15
15
|
sourceValue: string;
|
|
16
16
|
}) => void;
|
|
17
17
|
queryRequests: ComputedRef<import("../types/index.js").SpreadsheetReferenceQueryRequest[]>;
|
|
18
|
-
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
19
|
-
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"
|
|
18
|
+
referenceDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, SpreadsheetRecord, SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
19
|
+
resolutionDefinitions: ComputedRef<readonly import("../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, SpreadsheetRecord, SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[]>;
|
|
20
20
|
resolutions: ComputedRef<SpreadsheetReferenceResolution<unknown, unknown>[]>;
|
|
21
21
|
resolvedRows: ComputedRef<import("../types/index.js").SpreadsheetResolvedReferenceRow<SpreadsheetRecord>[]>;
|
|
22
22
|
selectReference: (selection: {
|
|
@@ -45,7 +45,7 @@ export declare function normalizeSpreadsheetSchema<TSchema extends {
|
|
|
45
45
|
};
|
|
46
46
|
references: any[];
|
|
47
47
|
relations: readonly unknown[];
|
|
48
|
-
resolutions: readonly SpreadsheetResolutionDefinition<"
|
|
48
|
+
resolutions: readonly SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../types/index.js").SpreadsheetOptionItem, SpreadsheetRecord, SpreadsheetRecord, import("../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>[];
|
|
49
49
|
review: {
|
|
50
50
|
[x: string]: unknown;
|
|
51
51
|
};
|
|
@@ -5,5 +5,5 @@ export declare function collectSpreadsheetReferenceSources(references: readonly
|
|
|
5
5
|
rowIndexes: number[];
|
|
6
6
|
value: string;
|
|
7
7
|
}[];
|
|
8
|
-
reference: import("../../types/index.js").SpreadsheetResolutionDefinition<"
|
|
8
|
+
reference: import("../../types/index.js").SpreadsheetResolutionDefinition<"reference" | "column", string, string, unknown, unknown, import("../../types/index.js").SpreadsheetOptionItem, SpreadsheetRecord, SpreadsheetRecord, import("../../types/index.js").SpreadsheetFieldRulesInput<unknown> | undefined>;
|
|
9
9
|
}[];
|
|
@@ -71,8 +71,8 @@ type __VLS_Slots = {} & {
|
|
|
71
71
|
};
|
|
72
72
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
73
73
|
transition: boolean;
|
|
74
|
-
fit: DataListContentFit;
|
|
75
74
|
surface: DataListContentSurface;
|
|
75
|
+
fit: DataListContentFit;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
77
77
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
|
@@ -71,8 +71,8 @@ type __VLS_Slots = {} & {
|
|
|
71
71
|
};
|
|
72
72
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
73
73
|
transition: boolean;
|
|
74
|
-
fit: DataListContentFit;
|
|
75
74
|
surface: DataListContentSurface;
|
|
75
|
+
fit: DataListContentFit;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
77
77
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
|
@@ -17,8 +17,8 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
default?: (props: typeof __VLS_1) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
-
mobile: boolean;
|
|
21
20
|
order: TableLayout[];
|
|
21
|
+
mobile: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -17,8 +17,8 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
default?: (props: typeof __VLS_1) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
-
mobile: boolean;
|
|
21
20
|
order: TableLayout[];
|
|
21
|
+
mobile: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,10 +7,10 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
selectKey: (key: string) => any;
|
|
10
|
-
selectDirection: (direction: "
|
|
10
|
+
selectDirection: (direction: "asc" | "desc") => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
12
|
onSelectKey?: ((key: string) => any) | undefined;
|
|
13
|
-
onSelectDirection?: ((direction: "
|
|
13
|
+
onSelectDirection?: ((direction: "asc" | "desc") => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
compact: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,10 +7,10 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
selectKey: (key: string) => any;
|
|
10
|
-
selectDirection: (direction: "
|
|
10
|
+
selectDirection: (direction: "asc" | "desc") => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
12
|
onSelectKey?: ((key: string) => any) | undefined;
|
|
13
|
-
onSelectDirection?: ((direction: "
|
|
13
|
+
onSelectDirection?: ((direction: "asc" | "desc") => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
compact: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -15,11 +15,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
16
|
onSelect?: ((value: TableFilterOperator) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
variant: "default" | "compact";
|
|
19
18
|
items: {
|
|
20
19
|
label: string;
|
|
21
20
|
value: TableFilterOperator;
|
|
22
21
|
}[];
|
|
22
|
+
variant: "default" | "compact";
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -15,11 +15,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
16
|
onSelect?: ((value: TableFilterOperator) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
variant: "default" | "compact";
|
|
19
18
|
items: {
|
|
20
19
|
label: string;
|
|
21
20
|
value: TableFilterOperator;
|
|
22
21
|
}[];
|
|
22
|
+
variant: "default" | "compact";
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -26,8 +26,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
};
|
|
28
28
|
}>> & Readonly<{}>, {
|
|
29
|
-
title: string;
|
|
30
29
|
disabled: boolean;
|
|
30
|
+
title: string;
|
|
31
31
|
wrapperClass: string;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
33
|
export default _default;
|
|
@@ -19,7 +19,7 @@ export declare function useQueryState(params: UseQueryStateParams): {
|
|
|
19
19
|
readonly pageSize?: undefined;
|
|
20
20
|
readonly pageIndex?: undefined;
|
|
21
21
|
} | {
|
|
22
|
-
readonly count: "
|
|
22
|
+
readonly count: "none" | "exact";
|
|
23
23
|
readonly cursor: null;
|
|
24
24
|
readonly mode: "cursor";
|
|
25
25
|
readonly pageSize: number;
|
|
@@ -31,7 +31,7 @@ export declare function useQueryState(params: UseQueryStateParams): {
|
|
|
31
31
|
readonly pageSize: number;
|
|
32
32
|
readonly cursor?: undefined;
|
|
33
33
|
}>;
|
|
34
|
-
paginationMode: "
|
|
34
|
+
paginationMode: "cursor" | "none" | "offset";
|
|
35
35
|
paginationRevision: import("vue").Ref<number, number>;
|
|
36
36
|
resetPagination: () => void;
|
|
37
37
|
setOffsetPagination: (value: {
|
|
@@ -39,7 +39,7 @@ export declare function useQueryState(params: UseQueryStateParams): {
|
|
|
39
39
|
pageSize: number;
|
|
40
40
|
}) => void;
|
|
41
41
|
sorting: import("vue").WritableComputedRef<{
|
|
42
|
-
dir: "
|
|
42
|
+
dir: "asc" | "desc";
|
|
43
43
|
key: string;
|
|
44
44
|
} | null, {
|
|
45
45
|
key: string;
|
|
@@ -7,10 +7,10 @@ export declare function useTableColumns(params: UseTableColumnsParams): {
|
|
|
7
7
|
}) => import("@nuxt/ui/runtime/components/DropdownMenu.d.vue.js").DropdownMenuItem[][];
|
|
8
8
|
getPinnedState: (options: {
|
|
9
9
|
columnId: string;
|
|
10
|
-
}) => "
|
|
10
|
+
}) => "left" | "right" | null;
|
|
11
11
|
getSortState: (options: {
|
|
12
12
|
columnId: string;
|
|
13
|
-
}) => "
|
|
13
|
+
}) => "asc" | "desc" | null;
|
|
14
14
|
orderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
15
15
|
reset: () => void;
|
|
16
16
|
runtimeColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
@@ -34,7 +34,7 @@ export declare function useTableColumns(params: UseTableColumnsParams): {
|
|
|
34
34
|
sortKeys: import("vue").ComputedRef<string[]>;
|
|
35
35
|
sortingState: import("vue").ComputedRef<{
|
|
36
36
|
active: boolean;
|
|
37
|
-
dir: "
|
|
37
|
+
dir: "asc" | "desc" | undefined;
|
|
38
38
|
key: string | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
tableColumns: import("vue").ComputedRef<({
|