react-semaphor 0.1.524 → 0.1.526
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.js +37 -37
- package/dist/briefings/index.js +38 -33
- package/dist/chunks/{calculated-field-identity-Dy_WpDdo.js → calculated-field-identity-D1ofR4KJ.js} +28 -28
- package/dist/chunks/{card-config-utils-CAyjC5Tp.js → card-config-utils-9sv4e-Vb.js} +15 -15
- package/dist/chunks/{switch-CWPcwAZ4.js → code-highlight-994tgM9v.js} +6309 -8642
- package/dist/chunks/dashboard-CsHvEtjN.js +15 -0
- package/dist/chunks/{dashboard-briefing-launcher-CTEyh3FQ.js → dashboard-briefing-launcher-DXz1GhFZ.js} +364 -370
- package/dist/chunks/{dashboard-controls-C3KbYzz-.js → dashboard-controls-Df8qOSrs.js} +163 -168
- package/dist/chunks/dashboard-json-Xldp0qww.js +65 -0
- package/dist/chunks/{edit-dashboard-visual-DqRmfRqN.js → edit-dashboard-visual-COHBqyic.js} +2836 -2829
- package/dist/chunks/editor-action-buttons-DahlP57T.js +2071 -0
- package/dist/chunks/{index-D9HDUSye.js → index-CbjuruKe.js} +1187 -1018
- package/dist/chunks/{matrix-control-sources-B1K7x0SL.js → matrix-control-sources-2VAzGlt8.js} +29 -29
- package/dist/chunks/pre-block-Cq1RqhZX.js +3987 -0
- package/dist/chunks/report-preferences-dialog-BcH-0lR-.js +1232 -0
- package/dist/chunks/search-CJz-QQ0Q.js +24 -0
- package/dist/chunks/{selection-reducer-CvCBQbl2.js → selection-reducer-NF5C07yM.js} +25 -46
- package/dist/chunks/{index-D7GVxl4a.js → semaphor-ready-indicator-BLRDuLr4.js} +55200 -59783
- package/dist/chunks/slider-BYIH4icg.js +877 -0
- package/dist/chunks/switch-XaAACBrJ.js +2234 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +4 -4
- package/dist/data-app-builder/index.js +67 -67
- package/dist/data-app-sdk/index.js +33 -32
- package/dist/index.js +435 -243
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +4 -5
- package/dist/types/briefings/index.d.ts +1 -1
- package/dist/types/briefings/schedule.d.ts +49 -2
- package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/schedule-model.d.ts +12 -2
- package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +1 -1
- package/dist/types/components/editor/editor-main/text-card.d.ts +1 -1
- package/dist/types/components/editor/editor.d.ts +1 -1
- package/dist/types/components/providers/semaphor-context-provider.d.ts +1 -1
- package/dist/types/components/providers/theme-provider-context.d.ts +1 -1
- package/dist/types/components/providers/theme-provider.d.ts +1 -1
- package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +1 -1
- package/dist/types/components/sharing-and-management/hooks/use-groups.d.ts +5 -1
- package/dist/types/components/sharing-and-management/hooks/use-unified-users.d.ts +9 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/index.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/adapter.d.ts +21 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/configs.d.ts +12 -0
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +5 -0
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +7 -0
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/types.d.ts +2 -0
- package/dist/types/components/sharing-and-management/utils/shares-types.d.ts +8 -0
- package/dist/types/components/sharing-and-management/utils/types.d.ts +2 -0
- package/dist/types/components/surfboard/dashboard-plus.d.ts +1 -1
- package/dist/types/components/ui/resizable.d.ts +1 -1
- package/dist/types/components/visual/column-display-utils.d.ts +1 -1
- package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +1 -1
- package/dist/types/components/visual/settings/color-format.d.ts +1 -1
- package/dist/types/components/visual/visual-utils.d.ts +1 -1
- package/dist/types/lib/actions/data-point-click-action.d.ts +2 -1
- package/dist/types/lib/charts/area-chart.d.ts +1 -1
- package/dist/types/lib/charts/bar-chart.d.ts +1 -1
- package/dist/types/lib/charts/cartesian-data.d.ts +72 -0
- package/dist/types/lib/charts/cartesian-fields.d.ts +60 -0
- package/dist/types/lib/charts/chart-utils.d.ts +3 -0
- package/dist/types/lib/charts/combo-chart.d.ts +1 -1
- package/dist/types/lib/charts/create-chart.d.ts +1 -1
- package/dist/types/lib/charts/line-chart.d.ts +1 -1
- package/dist/types/lib/charts/shared/category-group-axis-plugin.d.ts +23 -0
- package/dist/types/lib/charts/stacked-line-chart.d.ts +2 -0
- package/dist/types/lib/charts/types.d.ts +1 -7
- package/dist/types/lib/dashboard/normalize-dashboard-for-dirty-check.d.ts +1 -1
- package/dist/types/lib/formatters/cartesian-temporal-presentation.d.ts +6 -1
- package/dist/types/lib/hooks/explorer/use-schemas.d.ts +1 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +2 -2
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +1 -2
- package/dist/types/lib/stores/editor-store.d.ts +1 -2
- package/dist/types/lib/stores/table-actions.d.ts +2 -1
- package/dist/types/lib/types/token-types.d.ts +0 -12
- package/dist/types/lib/utils.d.ts +0 -2
- package/package.json +2 -1
- package/dist/chunks/dashboard-json-Kc_M7nLP.js +0 -75
- package/dist/chunks/editor-action-buttons-s-ByVR9x.js +0 -2019
- package/dist/chunks/report-preferences-dialog-RAp0DAuw.js +0 -723
- package/dist/types/lib/encrypt-utils.d.ts +0 -9
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as m, useState as f, useRef as b, useEffect as p } from "react";
|
|
3
|
+
import { u as o, c as S, B as N } from "./code-highlight-994tgM9v.js";
|
|
4
|
+
import { C as D } from "./switch-XaAACBrJ.js";
|
|
5
|
+
import { X as J } from "./x-CXDkqdur.js";
|
|
6
|
+
import "./validators-CsdOtZI6.js";
|
|
7
|
+
import "./matrix-operation-contract-D32U2CSw.js";
|
|
8
|
+
import "../value-format-preferences/index.js";
|
|
9
|
+
function j() {
|
|
10
|
+
const r = o((s) => s.dashboard), c = o((s) => s.actions.setDashboard), h = o(
|
|
11
|
+
(s) => s.showDashboardJSON
|
|
12
|
+
), l = o(
|
|
13
|
+
(s) => s.actions.setShowDashboardJSON
|
|
14
|
+
), a = m(
|
|
15
|
+
() => r ? JSON.stringify(r, null, 2) : "",
|
|
16
|
+
[r]
|
|
17
|
+
), [u, n] = f(a), e = b(a);
|
|
18
|
+
return p(() => {
|
|
19
|
+
a !== e.current && (n(a), e.current = a);
|
|
20
|
+
}, [a]), /* @__PURE__ */ d(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: S("relative p-2", {
|
|
24
|
+
hidden: !h
|
|
25
|
+
}),
|
|
26
|
+
children: [
|
|
27
|
+
/* @__PURE__ */ d(
|
|
28
|
+
N,
|
|
29
|
+
{
|
|
30
|
+
variant: "secondary",
|
|
31
|
+
size: "sm",
|
|
32
|
+
className: "absolute right-2 top-2 z-10 h-8",
|
|
33
|
+
onClick: () => l(!1),
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ t(J, { className: "mr-2 h-4 w-4" }),
|
|
36
|
+
"Close"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ t("div", { className: "h-[550px] overflow-hidden", children: /* @__PURE__ */ t(
|
|
41
|
+
D,
|
|
42
|
+
{
|
|
43
|
+
value: u,
|
|
44
|
+
onValueChange: (s) => {
|
|
45
|
+
n(s);
|
|
46
|
+
try {
|
|
47
|
+
const i = JSON.parse(s);
|
|
48
|
+
e.current = JSON.stringify(
|
|
49
|
+
i,
|
|
50
|
+
null,
|
|
51
|
+
2
|
|
52
|
+
), c(i);
|
|
53
|
+
} catch {
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
language: "json"
|
|
57
|
+
}
|
|
58
|
+
) })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
j as default
|
|
65
|
+
};
|