react-semaphor 0.1.273 → 0.1.274

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.
Files changed (29) hide show
  1. package/dist/chunks/{dashboard-controls-CWk_VHYO.js → dashboard-controls-B2qF1z8_.js} +1 -1
  2. package/dist/chunks/{dashboard-controls-DXVPvtdv.js → dashboard-controls-Jl8zAmWN.js} +4 -4
  3. package/dist/chunks/{dashboard-filter-controls-button-CjRyfVQK.js → dashboard-filter-controls-button-B_o-5wiZ.js} +1 -1
  4. package/dist/chunks/{dashboard-filter-controls-button-BwfVbMAn.js → dashboard-filter-controls-button-CTxifyYQ.js} +3 -3
  5. package/dist/chunks/{dashboard-json-DF2gJo97.js → dashboard-json-BcuVU-LH.js} +1 -1
  6. package/dist/chunks/{dashboard-json-BZQnb-zu.js → dashboard-json-D3006UOk.js} +1 -1
  7. package/dist/chunks/{dashboard-summary-settings-dialog-DdwG-S3r.js → dashboard-summary-settings-dialog-COgTzenz.js} +1 -1
  8. package/dist/chunks/{dashboard-summary-settings-dialog-BpELD3wD.js → dashboard-summary-settings-dialog-Dpc__wf3.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-0hFfcZi2.js → edit-dashboard-visual-0P2FmkOT.js} +6934 -6673
  10. package/dist/chunks/edit-dashboard-visual-Cz69Zxai.js +193 -0
  11. package/dist/chunks/index-B88GPVjh.js +1404 -0
  12. package/dist/chunks/{index-YLHt8XOf.js → index-CNgAsveB.js} +39082 -38902
  13. package/dist/chunks/{resource-management-panel-B9apTPo3.js → resource-management-panel-Bo4w5G8b.js} +2 -2
  14. package/dist/chunks/{resource-management-panel-ShFnXy_K.js → resource-management-panel-CkAZS1F5.js} +1 -1
  15. package/dist/chunks/{use-create-flow-overlay-state-_csxpz3-.js → use-create-flow-overlay-state-CRvcKKG5.js} +1 -1
  16. package/dist/chunks/{use-create-flow-overlay-state-DSVyfQTu.js → use-create-flow-overlay-state-CZAE52xr.js} +2 -2
  17. package/dist/chunks/{use-visual-utils-B1ukb8iy.js → use-visual-utils-BQfYqqnP.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-Ck8d5hcW.js → use-visual-utils-CA4paBmx.js} +1 -1
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +5 -5
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/dist/types/main.d.ts +15 -0
  27. package/package.json +1 -1
  28. package/dist/chunks/edit-dashboard-visual-DGPiHVW5.js +0 -193
  29. package/dist/chunks/index-BOOgwnhm.js +0 -1404
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-BOOgwnhm.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-DdwG-S3r.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-B88GPVjh.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-COgTzenz.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
@@ -1,6 +1,6 @@
1
- import { a as o } from "../chunks/index-YLHt8XOf.js";
1
+ import { a as o } from "../chunks/index-CNgAsveB.js";
2
2
  import { CONTROL_CARD_DEFAULT_VALUE as s, EMPTY_SELECTION as D } from "../types/index.js";
3
- import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-BpELD3wD.js";
3
+ import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-Dpc__wf3.js";
4
4
  export {
5
5
  s as CONTROL_CARD_DEFAULT_VALUE,
6
6
  m as CalendarPreferencesDialog,
@@ -103,6 +103,11 @@ declare type Actions_2 = {
103
103
  setCardInlineFilterDefaultValues: (sheetId: string, cardId: string, filterId: string, defaultValues: (string | number)[] | undefined) => void;
104
104
  addFrame: (sheetId: string, frame: TFrame, positionOrOptions?: 'start' | 'end' | AddFrameOptions) => void;
105
105
  updateFrame: (sheetId: string, frame: TFrame) => void;
106
+ updateSheetCalculatedFields: (sheetId: string, calculatedFields: Field[]) => void;
107
+ setVisualEditPendingFrameRewrites: (sheetId: string, frames: TFrame[]) => void;
108
+ setVisualEditPendingFilterRewrites: (sheetId: string, filters: TFilter[]) => void;
109
+ clearVisualEditPendingFrameRewrites: (sheetId?: string) => void;
110
+ clearVisualEditPendingFilterRewrites: (sheetId?: string) => void;
106
111
  updateCard: (sheetId: string, card: TCard) => void;
107
112
  updateFrameCard?: (sheetId: string, frameId: string, card: TCard) => void;
108
113
  updateCurrentDashboardCard: (card: TCard) => void;
@@ -1449,6 +1454,16 @@ export declare type DashboardStore = {
1449
1454
  selectedFrameId?: string | null;
1450
1455
  selectedCardId?: string | null;
1451
1456
  selectedCard?: TCard | null;
1457
+ /**
1458
+ * Pending sheet-wide frame rewrites produced while visual editing. These stay
1459
+ * draft-only until the editor Save path applies the current frame.
1460
+ */
1461
+ visualEditPendingFrameRewrites: Record<string, TFrame[]>;
1462
+ /**
1463
+ * Pending dashboard-filter metadata rewrites produced while visual editing.
1464
+ * These stay draft-only until the editor Save path applies the current frame.
1465
+ */
1466
+ visualEditPendingFilterRewrites: Record<string, TFilter[]>;
1452
1467
  isDashboardEditing: boolean;
1453
1468
  isVisualEditing: boolean;
1454
1469
  showContext: boolean;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.273",
8
+ "version": "0.1.274",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",