react-semaphor 0.1.510 → 0.1.512
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-CLZFm7_M.js → dashboard-briefing-launcher-CKOSxJJy.js} +103 -103
- package/dist/chunks/{dashboard-briefing-launcher-CAHFThZ6.cjs → dashboard-briefing-launcher-Dna1RtyP.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-Yxsu_3w-.cjs → dashboard-controls-9H6PxWNh.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-Cq0yJp7k.js → dashboard-controls-BqePoOt8.js} +130 -130
- package/dist/chunks/{dashboard-json-B2v70qeb.js → dashboard-json-BJJ1cddf.js} +2 -2
- package/dist/chunks/{dashboard-json-Czr84uhZ.cjs → dashboard-json-BwwJoZdd.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BLWXCutZ.js → edit-dashboard-visual-Db2mRA_9.js} +5045 -5038
- package/dist/chunks/edit-dashboard-visual-cJdvfkou.cjs +172 -0
- package/dist/chunks/{editor-action-buttons-DwMSyAJY.cjs → editor-action-buttons-CKS-8x2Y.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-BiUk_CQn.js → editor-action-buttons-ktNQjwNQ.js} +27 -27
- package/dist/chunks/index-CdlFHeq9.cjs +1419 -0
- package/dist/chunks/{index-CTFwTeBb.js → index-SVO291wS.js} +36882 -37006
- package/dist/chunks/{report-preferences-dialog-CEja_Mat.js → report-preferences-dialog-CBZBmpxZ.js} +7 -7
- package/dist/chunks/{report-preferences-dialog-C1LOgCAH.cjs → report-preferences-dialog-DserKhuQ.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/error-fallbacks/render-reset-error-boundary.d.ts +33 -0
- 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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as p, useState as u, useRef as f, useEffect as b } from "react";
|
|
3
3
|
import { X as S } from "./x-CXDkqdur.js";
|
|
4
|
-
import { u as r, c as N, B as D, C as J } from "./switch-
|
|
4
|
+
import { u as r, c as N, B as D, C as J } from "./switch-CrstROAR.js";
|
|
5
5
|
import "./card-config-utils-Bq1enstT.js";
|
|
6
6
|
import "./validators-BDYzZFgs.js";
|
|
7
7
|
import "./matrix-operation-contract-xL8IhFzp.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-SVO291wS.js";
|
|
10
10
|
import "./appearance-runtime-provider-CC4HT2Gi.js";
|
|
11
11
|
import "./appearance-context-VJdrKi7r.js";
|
|
12
12
|
import "./index-CLIro-EG.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react"),b=require("./x-B6ghREd2.cjs"),r=require("./switch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react"),b=require("./x-B6ghREd2.cjs"),r=require("./switch-BkcJCTS7.cjs");require("./card-config-utils-CMO4_zVs.cjs");require("./validators-DVYAnnX0.cjs");require("./matrix-operation-contract-DoiWTUbT.cjs");require("../value-format-preferences/index.cjs");require("./index-CdlFHeq9.cjs");require("./appearance-runtime-provider-D5pkvgE4.cjs");require("./appearance-context-DzqCdhB4.cjs");require("./index-Cx3qmRUB.cjs");require("./field-aggregations-jSi77h9Z.cjs");require("zod");require("./matrix-continuation-6nhDy-lF.cjs");require("./color-CyB5o13F.cjs");require("react-dom");require("./index-DhlVxvyI.cjs");function q(){const t=r.useDashboardStore(e=>e.dashboard),d=r.useDashboardStore(e=>e.actions.setDashboard),c=r.useDashboardStore(e=>e.showDashboardJSON),h=r.useDashboardStore(e=>e.actions.setShowDashboardJSON),s=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,u]=o.useState(s),i=o.useRef(s);return o.useEffect(()=>{s!==i.current&&(u(s),i.current=s)},[s]),a.jsxs("div",{className:r.cn("relative p-2",{hidden:!c}),children:[a.jsxs(r.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(b.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(r.CodeEditor,{value:l,onValueChange:e=>{u(e);try{const n=JSON.parse(e);i.current=JSON.stringify(n,null,2),d(n)}catch{}},language:"json"})})]})}exports.default=q;
|