react-semaphor 0.1.375 → 0.1.376

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 (49) hide show
  1. package/dist/brand-studio/index.cjs +2 -7
  2. package/dist/brand-studio/index.js +94 -106
  3. package/dist/chunks/{calendar-preferences-dialog-DXgi7q5u.js → calendar-preferences-dialog-B6fsethx.js} +3 -3
  4. package/dist/chunks/{calendar-preferences-dialog-CsRzDpDs.js → calendar-preferences-dialog-Dh1b0ytN.js} +1 -1
  5. package/dist/chunks/{chevrons-up-down-CnCSGY02.js → chevrons-up-down-D2fZD4N_.js} +1 -1
  6. package/dist/chunks/{chevrons-up-down-DSvLu4Ye.js → chevrons-up-down-lahj6tQy.js} +1 -1
  7. package/dist/chunks/{dashboard-briefing-launcher-Jwbmrcl_.js → dashboard-briefing-launcher-BKCRO7Qw.js} +597 -589
  8. package/dist/chunks/{dashboard-briefing-launcher-C-G6vQTL.js → dashboard-briefing-launcher-Gv1cwT0I.js} +13 -8
  9. package/dist/chunks/dashboard-controls-BDJZarV7.js +52 -0
  10. package/dist/chunks/dashboard-controls-CchLBVDv.js +3037 -0
  11. package/dist/chunks/{dashboard-json-Cl1O3uh0.js → dashboard-json-QT0T2ad_.js} +2 -2
  12. package/dist/chunks/{dashboard-json-CvPhMpbM.js → dashboard-json-ZhIEMXN0.js} +1 -1
  13. package/dist/chunks/edit-dashboard-visual-DNzPgXMh.js +178 -0
  14. package/dist/chunks/{edit-dashboard-visual-B_0sbc43.js → edit-dashboard-visual-kNoMQRmH.js} +4413 -4330
  15. package/dist/chunks/{index-BIks0ktd.js → index-CPpqPJba.js} +186 -181
  16. package/dist/chunks/{index-BSkBy5cH.js → index-DX_0OcRv.js} +22824 -22664
  17. package/dist/chunks/layout-grid-BOTLt36V.js +36 -0
  18. package/dist/chunks/layout-grid-CS6BSCJF.js +11 -0
  19. package/dist/chunks/{palette-D-f4-82S.js → palette-2HWSR5wb.js} +1 -1
  20. package/dist/chunks/{palette-DUGktM-M.js → palette-BcHHAmOU.js} +1 -1
  21. package/dist/chunks/{save-kkBEBeLg.js → save-B-YfAPhu.js} +1 -1
  22. package/dist/chunks/{save-D3YYinDz.js → save-MoF1T13_.js} +1 -1
  23. package/dist/chunks/switch-CmHP5dT7.js +168 -0
  24. package/dist/chunks/{switch-Dkx2qEOr.js → switch-DmE_MY3L.js} +2001 -1982
  25. package/dist/chunks/use-create-flow-overlay-state-BLPQgGuz.js +21 -0
  26. package/dist/chunks/use-create-flow-overlay-state-D_Ntx-_C.js +1967 -0
  27. package/dist/dashboard/index.cjs +1 -1
  28. package/dist/dashboard/index.js +1 -1
  29. package/dist/data-app-builder/index.cjs +18 -13
  30. package/dist/data-app-builder/index.js +141 -131
  31. package/dist/index.cjs +1 -1
  32. package/dist/index.js +61 -63
  33. package/dist/style.css +1 -1
  34. package/dist/surfboard/index.cjs +1 -1
  35. package/dist/surfboard/index.js +2 -2
  36. package/dist/types/main.d.ts +1 -12
  37. package/package.json +1 -1
  38. package/dist/chunks/braces-C3-w6xDL.js +0 -6
  39. package/dist/chunks/braces-C8QqW4wu.js +0 -23
  40. package/dist/chunks/dashboard-controls-DzGGNQxv.js +0 -2269
  41. package/dist/chunks/dashboard-controls-p7VKzWSb.js +0 -57
  42. package/dist/chunks/edit-dashboard-visual-CSrdS10O.js +0 -178
  43. package/dist/chunks/resource-management-panel-IHbUOh2g.js +0 -6
  44. package/dist/chunks/resource-management-panel-tFjbtgPw.js +0 -1018
  45. package/dist/chunks/switch-fIkmwzUt.js +0 -168
  46. package/dist/chunks/use-create-flow-overlay-state-D-yGZTR3.js +0 -1647
  47. package/dist/chunks/use-create-flow-overlay-state-DbaUD5xc.js +0 -26
  48. package/dist/chunks/use-visual-utils-B5hwU_av.js +0 -1
  49. package/dist/chunks/use-visual-utils-Dj82r7DA.js +0 -340
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-BIks0ktd.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-CsRzDpDs.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-CPpqPJba.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-Dh1b0ytN.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
@@ -1,6 +1,6 @@
1
- import { a as e } from "../chunks/index-BSkBy5cH.js";
1
+ import { a as e } from "../chunks/index-DX_0OcRv.js";
2
2
  import { C, E } from "../chunks/common-types-4bjoIgvm.js";
3
- import { C as s } from "../chunks/calendar-preferences-dialog-DXgi7q5u.js";
3
+ import { C as s } from "../chunks/calendar-preferences-dialog-B6fsethx.js";
4
4
  export {
5
5
  C as CONTROL_CARD_DEFAULT_VALUE,
6
6
  s as CalendarPreferencesDialog,
@@ -182,7 +182,6 @@ declare type Actions_2 = {
182
182
  addBaseQuery: (baseQuery: TBaseQuery) => void;
183
183
  removeBaseQuery: (baseQueryId: string) => void;
184
184
  setBaseQueries: (baseQueries: TBaseQuery[]) => void;
185
- setIsDashboardPanelOpen: (open: boolean) => void;
186
185
  updateCardId: (oldCardId: string, newCardId: string) => {
187
186
  success: boolean;
188
187
  error?: string;
@@ -2261,7 +2260,6 @@ export declare type DashboardStore = {
2261
2260
  /** True when dashboardInputValues came from a strict execution snapshot. */
2262
2261
  dashboardInputValuesAreAuthoritative: boolean;
2263
2262
  semanticExecutionPayload: SemanticExecutionPayload;
2264
- isDashboardPanelOpen: boolean;
2265
2263
  drillHistory: Array<{
2266
2264
  sourceDashboardId: string;
2267
2265
  targetDashboardId: string;
@@ -4714,16 +4712,6 @@ export declare interface ResourceListItem {
4714
4712
  };
4715
4713
  }
4716
4714
 
4717
- export declare function ResourceManagementPanel({ isOpen, onClose, className, onDashboardItemClick, variant, }: ResourceManagementPanelProps): JSX.Element;
4718
-
4719
- declare interface ResourceManagementPanelProps {
4720
- isOpen: boolean;
4721
- onClose: () => void;
4722
- className?: string;
4723
- onDashboardItemClick?: (dashboardId: string) => void;
4724
- variant?: 'overlay' | 'inline';
4725
- }
4726
-
4727
4715
  export declare enum ResourceType {
4728
4716
  DASHBOARD = "dashboard",
4729
4717
  VISUAL = "visual"
@@ -7088,6 +7076,7 @@ export declare function useResourceManagement(resourceType: ResourceType, onDele
7088
7076
  data: UpdateResourceRequest | UpdateDashboardTemplateRequest;
7089
7077
  }, void>;
7090
7078
  deleteResource: UseMutateFunction<any, Error, string, void>;
7079
+ deleteResourceAsync: UseMutateAsyncFunction<any, Error, string, void>;
7091
7080
  duplicateResource: UseMutateFunction<any, Error, string, void>;
7092
7081
  shareResource: UseMutateFunction<any, Error, {
7093
7082
  resourceType: ResourceType;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.375",
8
+ "version": "0.1.376",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",
@@ -1,6 +0,0 @@
1
- "use strict";const e=require("./switch-fIkmwzUt.js");/**
2
- * @license lucide-react v0.453.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const a=e.createLucideIcon("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);exports.Braces=a;
@@ -1,23 +0,0 @@
1
- import { c as a } from "./switch-Dkx2qEOr.js";
2
- /**
3
- * @license lucide-react v0.453.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const c = a("Braces", [
9
- [
10
- "path",
11
- { d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1", key: "ezmyqa" }
12
- ],
13
- [
14
- "path",
15
- {
16
- d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",
17
- key: "e1hn23"
18
- }
19
- ]
20
- ]);
21
- export {
22
- c as B
23
- };