react-semaphor 0.1.510 → 0.1.511
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/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CAHFThZ6.cjs → dashboard-briefing-launcher-BQFNo0jl.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CLZFm7_M.js → dashboard-briefing-launcher-CKH7Tf1f.js} +103 -103
- package/dist/chunks/{dashboard-controls-Yxsu_3w-.cjs → dashboard-controls-ClFLfxq2.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-Cq0yJp7k.js → dashboard-controls-DmjRr3rv.js} +130 -130
- package/dist/chunks/{dashboard-json-B2v70qeb.js → dashboard-json-75yKcetl.js} +2 -2
- package/dist/chunks/{dashboard-json-Czr84uhZ.cjs → dashboard-json-DfqjM_p3.cjs} +1 -1
- package/dist/chunks/edit-dashboard-visual-BRSB4-Gg.cjs +172 -0
- package/dist/chunks/{edit-dashboard-visual-BLWXCutZ.js → edit-dashboard-visual-D--Ctlyq.js} +5045 -5038
- package/dist/chunks/{editor-action-buttons-BiUk_CQn.js → editor-action-buttons-DFrdNdTp.js} +27 -27
- package/dist/chunks/{editor-action-buttons-DwMSyAJY.cjs → editor-action-buttons-DxV1NKMw.cjs} +1 -1
- package/dist/chunks/index-Bym8NiEh.cjs +1419 -0
- package/dist/chunks/{index-CTFwTeBb.js → index-bH_soNi5.js} +39501 -39654
- package/dist/chunks/{report-preferences-dialog-CEja_Mat.js → report-preferences-dialog-BMkvjfq4.js} +7 -7
- package/dist/chunks/{report-preferences-dialog-C1LOgCAH.cjs → report-preferences-dialog-BrrpSEMl.cjs} +1 -1
- package/dist/chunks/{switch-BUW-Ky0G.cjs → switch-BkcJCTS7.cjs} +14 -14
- package/dist/chunks/{switch-MB0NuLq-.js → switch-CrstROAR.js} +144 -144
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +50 -50
- package/dist/index.cjs +1 -1
- package/dist/index.js +216 -234
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +7 -1
- package/dist/types/components/error-fallbacks/fallback.d.ts +23 -11
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +5 -0
- package/dist/types/lib/dashboard/open-card-in-visual-editor.d.ts +15 -0
- package/dist/types/lib/dashboard-pagination/dashboard-card-pagination.d.ts +8 -1
- package/package.json +1 -1
- package/dist/chunks/edit-dashboard-visual-C8ni6cKY.cjs +0 -172
- package/dist/chunks/index-BriWG9wG.cjs +0 -1420
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useManagementStore } from '../stores/management-store.js';
|
|
2
|
+
import { TCard, TFrame } from '../types/common-types.js';
|
|
3
|
+
type ManagementState = ReturnType<typeof useManagementStore.getState>;
|
|
4
|
+
/** Saved-dashboard edit permission, as the dashboard runtime reads it. */
|
|
5
|
+
export declare function selectCanEditDashboard(state: ManagementState): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Opens the visual editor on one dashboard card from any dashboard state,
|
|
8
|
+
* including view mode. Store values are read at call time, so callers such as
|
|
9
|
+
* error fallbacks don't subscribe to dashboard or editor state to offer it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function openCardInVisualEditor({ frame, card, }: {
|
|
12
|
+
frame: TFrame;
|
|
13
|
+
card: TCard;
|
|
14
|
+
}): void;
|
|
15
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationConfig } from '../types/explorer-types.js';
|
|
1
|
+
import { PaginationConfig, PaginationMetadata } from '../types/explorer-types.js';
|
|
2
2
|
export type DashboardCardPaginationState = PaginationConfig & {
|
|
3
3
|
queryInputIdentity: string;
|
|
4
4
|
};
|
|
@@ -14,4 +14,11 @@ type ResolveDashboardCardPaginationParams = {
|
|
|
14
14
|
*/
|
|
15
15
|
export declare function resolveDashboardCardPagination({ current, defaultPageSize, queryInputIdentity, }: ResolveDashboardCardPaginationParams): PaginationConfig;
|
|
16
16
|
export declare function dashboardCardPaginationMatches(current: DashboardCardPaginationState | undefined, pagination: PaginationConfig, queryInputIdentity: string): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Keeps pagination chrome aligned with the request being rendered while React
|
|
19
|
+
* Query retains the previous response. Counts and navigation capability remain
|
|
20
|
+
* useful placeholders, but the displayed page must belong to the current query
|
|
21
|
+
* input identity.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveDashboardPaginationMetadata(metadata: PaginationMetadata | undefined, effectivePagination: PaginationConfig | undefined): PaginationMetadata | undefined;
|
|
17
24
|
export {};
|