@nivaro/react 0.2.54 → 0.2.56
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/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +99 -98
- package/dist/index.d.ts +367 -2
- package/dist/index.js +645 -616
- package/dist/layout-editor.d.ts +4 -0
- package/dist/shared/components/BackgroundRunOffer.js +117 -0
- package/dist/shared/components/BroadcastView.js +214 -213
- package/dist/shared/components/CollectionBrowserView.js +2592 -2695
- package/dist/shared/components/ItemEditForm.js +4066 -3832
- package/dist/shared/components/JobsTray.js +100 -55
- package/dist/shared/components/MyWorkView.js +91 -89
- package/dist/shared/components/NotificationBell.js +80 -79
- package/dist/shared/components/ProfileView.js +568 -520
- package/dist/shared/components/RecordCompare.js +254 -0
- package/dist/shared/components/RecordReadView.js +599 -552
- package/dist/shared/components/ReportView.js +578 -543
- package/dist/shared/components/RowPresence.js +91 -0
- package/dist/shared/components/WidgetSlot.js +474 -458
- package/dist/shared/components/ai/AiAnalyticsView.js +16 -6
- package/dist/shared/components/ai/AskPanel.js +139 -119
- package/dist/shared/components/ai/FirstWeekCard.js +126 -0
- package/dist/shared/components/bulk/BulkFieldUpdate.js +289 -0
- package/dist/shared/components/bulk/bulk-field-options.js +45 -0
- package/dist/shared/components/charts/CumulativeFlowChart.js +176 -0
- package/dist/shared/components/chat/ChannelArchive.js +326 -0
- package/dist/shared/components/chat/ChannelExtras.js +141 -121
- package/dist/shared/components/chat/ChatAnalyticsView.js +112 -110
- package/dist/shared/components/chat/ChatPanel.js +1695 -1733
- package/dist/shared/components/chat/Composer.js +357 -303
- package/dist/shared/components/chat/MessageActions.js +92 -0
- package/dist/shared/components/chat/MessageFormat.js +290 -264
- package/dist/shared/components/chat/OutboxBubbles.js +146 -0
- package/dist/shared/components/chat/RequestIdCard.js +135 -0
- package/dist/shared/components/chat/RoomHeaderMenu.js +202 -0
- package/dist/shared/components/chat/RoomParts.js +213 -274
- package/dist/shared/components/chat/ScreenClip.js +184 -0
- package/dist/shared/components/chat/chat-core.js +402 -483
- package/dist/shared/components/chat/chat-drafts.js +59 -0
- package/dist/shared/components/chat/chat-emoji.js +348 -0
- package/dist/shared/components/chat/chat-local-time.js +41 -0
- package/dist/shared/components/chat/chat-outbox.js +303 -0
- package/dist/shared/components/chat/chat-window.js +163 -0
- package/dist/shared/components/chat/huddle/HuddleControls.js +143 -0
- package/dist/shared/components/chat/huddle/HuddleStage.js +164 -0
- package/dist/shared/components/chat/huddle/huddle-store.js +342 -0
- package/dist/shared/components/chat/huddle/useHuddle.js +58 -0
- package/dist/shared/components/help-videos/api.js +76 -73
- package/dist/shared/components/item-edit/CatalogPickerField.js +113 -112
- package/dist/shared/components/item-edit/ChangeReasonDialog.js +13 -13
- package/dist/shared/components/item-edit/FieldAffordances.js +2 -2
- package/dist/shared/components/item-edit/FieldRenderer.js +248 -245
- package/dist/shared/components/item-edit/FieldRow.js +292 -279
- package/dist/shared/components/item-edit/GroupSection.js +698 -574
- package/dist/shared/components/item-edit/InlineTableField.js +3 -1
- package/dist/shared/components/item-edit/RelationCombobox.js +186 -176
- package/dist/shared/components/item-edit/entry/EntryStrip.js +54 -0
- package/dist/shared/components/item-edit/entry/entry-keys.js +27 -0
- package/dist/shared/components/item-edit/entry/useEntryKeyboard.js +70 -0
- package/dist/shared/components/item-edit/entry/useEntryMode.js +59 -0
- package/dist/shared/components/item-edit/form-structure-ui.js +105 -0
- package/dist/shared/components/item-edit/lazy-sections.js +36 -0
- package/dist/shared/components/item-edit/lock-why.js +39 -32
- package/dist/shared/components/item-edit/picker-miss.js +26 -0
- package/dist/shared/components/item-edit/placement-behaviour.js +196 -0
- package/dist/shared/components/item-edit/useFormUsageBeacon.js +51 -45
- package/dist/shared/components/layout-editor/AddPanel.js +134 -117
- package/dist/shared/components/layout-editor/ChangeNote.js +25 -24
- package/dist/shared/components/layout-editor/CollabParts.js +80 -75
- package/dist/shared/components/layout-editor/DesignNode.js +126 -120
- package/dist/shared/components/layout-editor/EditorCanvas.js +30 -27
- package/dist/shared/components/layout-editor/EditorTopBar.js +203 -192
- package/dist/shared/components/layout-editor/HistoryPanel.js +120 -104
- package/dist/shared/components/layout-editor/LayoutEditor.js +768 -671
- package/dist/shared/components/layout-editor/RestorePiece.js +143 -0
- package/dist/shared/components/layout-editor/StagedChip.js +22 -0
- package/dist/shared/components/layout-editor/StructureMenu.js +237 -186
- package/dist/shared/components/layout-editor/collab/FormFollowShare.js +149 -103
- package/dist/shared/components/layout-editor/collab/collab-api.js +29 -26
- package/dist/shared/components/layout-editor/dnd/LayoutDndProvider.js +81 -80
- package/dist/shared/components/layout-editor/dnd/node.js +69 -57
- package/dist/shared/components/layout-editor/draft-recovery.js +113 -43
- package/dist/shared/components/layout-editor/entry/PlacementPresets.js +149 -0
- package/dist/shared/components/layout-editor/entry/entry-editor-context.js +10 -0
- package/dist/shared/components/layout-editor/entry/presets.js +71 -0
- package/dist/shared/components/layout-editor/entry/tab-order.js +110 -0
- package/dist/shared/components/layout-editor/entry/theme-preview.js +37 -0
- package/dist/shared/components/layout-editor/grid-guides.js +142 -0
- package/dist/shared/components/layout-editor/inspector/BehaviourSettings.js +402 -0
- package/dist/shared/components/layout-editor/inspector/BulkInspector.js +61 -57
- package/dist/shared/components/layout-editor/inspector/GroupInspector.js +247 -151
- package/dist/shared/components/layout-editor/inspector/Inspector.js +176 -155
- package/dist/shared/components/layout-editor/inspector/LookTab.js +167 -116
- package/dist/shared/components/layout-editor/inspector/PickerMisses.js +129 -0
- package/dist/shared/components/layout-editor/inspector/PickerTab.js +84 -82
- package/dist/shared/components/layout-editor/inspector/RulesTab.js +66 -62
- package/dist/shared/components/layout-editor/inspector/kit.js +69 -68
- package/dist/shared/components/layout-editor/outputs/OutputsButton.js +254 -0
- package/dist/shared/components/layout-editor/outputs/help-sheet.js +154 -0
- package/dist/shared/components/layout-editor/outputs/output-api.js +61 -0
- package/dist/shared/components/layout-editor/overview/describe-conditions.js +6 -0
- package/dist/shared/components/layout-editor/overview/purpose.js +15 -13
- package/dist/shared/components/layout-editor/parity-keys.json.js +1 -1
- package/dist/shared/components/layout-editor/restore-piece.js +192 -0
- package/dist/shared/components/layout-editor/section-structure.js +241 -0
- package/dist/shared/components/layout-editor/settings/EntrySection.js +296 -0
- package/dist/shared/components/layout-editor/settings/FormSettings.js +41 -39
- package/dist/shared/components/layout-editor/settings/ResolveSettings.js +255 -0
- package/dist/shared/components/layout-editor/settings/ToolsSection.js +147 -111
- package/dist/shared/components/layout-editor/settings/WhoSection.js +29 -26
- package/dist/shared/components/layout-editor/settings/settings-registry.js +114 -17
- package/dist/shared/components/layout-editor/staged-api.js +64 -0
- package/dist/shared/components/layout-editor/structure-ops.js +81 -77
- package/dist/shared/components/layout-editor/testing/TestingPanels.js +65 -60
- package/dist/shared/components/layout-editor/testing/testing-model.js +198 -185
- package/dist/shared/components/layout-editor/toolbar-kit.js +11 -11
- package/dist/shared/components/layout-editor/usage/AbTestSection.js +355 -0
- package/dist/shared/components/layout-editor/usage/UsagePanel.js +144 -70
- package/dist/shared/components/layout-editor/usage/ab-api.js +86 -0
- package/dist/shared/components/layout-editor/usage/suggest-collapse.js +32 -0
- package/dist/shared/components/layout-editor/useLayoutDraft.js +25 -24
- package/dist/shared/components/notifications/NotificationAnalyticsView.js +148 -77
- package/dist/shared/components/panels/ErpFailureBanner.js +18 -17
- package/dist/shared/components/panels/ExternalRequestsChip.js +63 -62
- package/dist/shared/components/pipeline/PipelineEditorView.js +106 -104
- package/dist/shared/components/profile/AgentsPanel.js +479 -0
- package/dist/shared/components/queue/QueueWorklist.js +1026 -1040
- package/dist/shared/components/support/SupportAnalytics.js +171 -0
- package/dist/shared/components/support/SupportView.js +75 -73
- package/dist/shared/lib/background-runs.js +150 -0
- package/dist/shared/lib/delivery-ack.js +9 -0
- package/dist/shared/lib/entry-badge-style.js +13 -0
- package/dist/shared/lib/entry-config.js +71 -0
- package/dist/shared/lib/form-sections.js +64 -0
- package/dist/shared/lib/form-structure.js +99 -0
- package/dist/shared/lib/form-usage-beacon.js +101 -52
- package/dist/shared/lib/jobs-tray.js +25 -23
- package/dist/shared/lib/keyset-pager.js +37 -0
- package/dist/shared/lib/layout-ops.js +84 -82
- package/dist/shared/lib/layout-resolve.js +113 -0
- package/dist/shared/lib/placement-behaviour.js +144 -0
- package/dist/shared/lib/prefetch.js +149 -0
- package/dist/shared/lib/presence-hooks.js +199 -0
- package/dist/shared/lib/record-outbox.js +82 -81
- package/dist/shared/lib/replay-socket.js +93 -0
- package/dist/shared/lib/request-gate.js +51 -50
- package/dist/shared/lib/room-gaps.js +96 -0
- package/dist/shared/lib/search-log.js +27 -0
- package/dist/shared/lib/socket-realtime.js +101 -80
- package/dist/shared/lib/stale-chunk.js +60 -0
- package/dist/shared/lib/worker-socket.js +200 -0
- package/package.json +1 -1
|
@@ -1,104 +1,118 @@
|
|
|
1
|
-
import { jsxs as p, jsx as t, Fragment as
|
|
2
|
-
import { CopyPlus as
|
|
3
|
-
import { useState as O, useRef as
|
|
1
|
+
import { jsxs as p, jsx as t, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
+
import { CopyPlus as F, Group as X, SquareSplitVertical as z, Columns3 as Q, Merge as Z, Ungroup as ee, Shuffle as te, ClipboardCopy as ne, PinOff as re, Pin as oe, ArrowLeft as se } from "lucide-react";
|
|
3
|
+
import { useState as O, useRef as ie, useCallback as ae, useEffect as R, useMemo as w } from "react";
|
|
4
4
|
import { toast as A } from "sonner";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
5
|
+
import { stickyGroupKey as le } from "../../lib/form-structure.js";
|
|
6
|
+
import { UNGROUPED_KEY as ce, isCanvasSlot as de } from "../../lib/layout-ops.js";
|
|
7
|
+
import { cn as $, titleCase as ue } from "../../lib/utils.js";
|
|
8
|
+
import { Checkbox as L } from "../ui/checkbox.js";
|
|
9
|
+
import { Popover as pe, PopoverAnchor as me, PopoverContent as fe } from "../ui/popover.js";
|
|
10
|
+
import { STRUCTURE_MENU_EVENT as j, duplicateKeys as he } from "./ArrangeButton.js";
|
|
11
|
+
import { ArrangeButton as dt, openStructureMenu as ut } from "./ArrangeButton.js";
|
|
12
|
+
import { readOverrides as ge } from "./inspector/model.js";
|
|
13
|
+
import { isTyping as ke } from "./is-typing.js";
|
|
14
|
+
import { splitPlan as xe, splitBlocked as ye, rowPlan as ve, rowBlocked as we, joinTarget as Ne, joinPlan as be, joinBlocked as Ce } from "./section-structure.js";
|
|
15
|
+
import { tintCard as Pe, effectText as S } from "./panel-style.js";
|
|
16
|
+
import { duplicatePlan as U, convertChoices as M, groupName as N, rulesOf as K, ruleSet as V, ruleTargets as Se, copyRulesPlan as Ee, RULE_LABELS as Ae, kindWord as T, wrapPlan as Oe, duplicateBlocked as $e, unwrapPlan as Te, unwrapBlocked as _e, pinPlan as De } from "./structure-ops.js";
|
|
17
|
+
import { isPinned as P } from "./pin.js";
|
|
18
|
+
function Re(e) {
|
|
16
19
|
if (!e) return null;
|
|
17
|
-
const
|
|
18
|
-
if (o === "group") return { kind: "group", key:
|
|
19
|
-
if (o === "header") return { kind: "header", field:
|
|
20
|
+
const s = e.indexOf(":"), o = e.slice(0, s), c = e.slice(s + 1);
|
|
21
|
+
if (o === "group") return { kind: "group", key: c };
|
|
22
|
+
if (o === "header") return { kind: "header", field: c };
|
|
20
23
|
if (o !== "field" && o !== "slot") return null;
|
|
21
|
-
const
|
|
22
|
-
return { kind: o, field:
|
|
24
|
+
const r = c.lastIndexOf(":"), n = c.slice(r + 1);
|
|
25
|
+
return { kind: o, field: c.slice(0, r), group_key: n === "" ? null : n };
|
|
23
26
|
}
|
|
24
|
-
const
|
|
25
|
-
getBoundingClientRect: () => new DOMRect(e,
|
|
27
|
+
const Le = (e, s) => ({
|
|
28
|
+
getBoundingClientRect: () => new DOMRect(e, s, 0, 0)
|
|
26
29
|
});
|
|
27
|
-
function
|
|
30
|
+
function it(e, s) {
|
|
28
31
|
return w(() => {
|
|
29
|
-
const o = new Set(e.groups.filter((
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
const o = new Set(e.groups.filter((r) => P(r)).map((r) => r.key)), c = le(
|
|
33
|
+
[...e.groups].filter((r) => r.parent_key === null).sort((r, n) => r.sort - n.sort)
|
|
34
|
+
);
|
|
35
|
+
return (r) => {
|
|
36
|
+
const n = (s == null ? void 0 : s(r)) ?? [];
|
|
37
|
+
if (r.kind !== "group") return n;
|
|
38
|
+
const i = r.key === c ? [
|
|
39
|
+
...n,
|
|
40
|
+
{
|
|
41
|
+
text: "Sticks to the top",
|
|
42
|
+
tone: "slate",
|
|
43
|
+
tip: "People see this section stay at the top of the form while they scroll the rest (not on phones)."
|
|
44
|
+
}
|
|
45
|
+
] : n;
|
|
46
|
+
return o.has(r.key) ? [
|
|
47
|
+
...i,
|
|
34
48
|
{
|
|
35
49
|
text: "Pinned",
|
|
36
50
|
tone: "slate",
|
|
37
51
|
icon: "pin",
|
|
38
52
|
tip: "Pinned in the editor: it does not drag and takes no drops. The form people see is unchanged."
|
|
39
53
|
}
|
|
40
|
-
];
|
|
54
|
+
] : i;
|
|
41
55
|
};
|
|
42
|
-
}, [e.groups,
|
|
56
|
+
}, [e.groups, s]);
|
|
43
57
|
}
|
|
44
|
-
function
|
|
58
|
+
function at({
|
|
45
59
|
bundle: e,
|
|
46
|
-
selection:
|
|
60
|
+
selection: s,
|
|
47
61
|
apply: o,
|
|
48
|
-
onSelection:
|
|
49
|
-
rootRef:
|
|
62
|
+
onSelection: c,
|
|
63
|
+
rootRef: r
|
|
50
64
|
}) {
|
|
51
|
-
var
|
|
52
|
-
const [n,
|
|
53
|
-
m.current = { bundle: e, selection:
|
|
54
|
-
const
|
|
55
|
-
|
|
65
|
+
var h, x;
|
|
66
|
+
const [n, i] = O(null), m = ie({ bundle: e, selection: s, apply: o, onSelection: c });
|
|
67
|
+
m.current = { bundle: e, selection: s, apply: o, onSelection: c };
|
|
68
|
+
const g = ae((d, u = {}) => d.ok ? (m.current.apply(d.ops, { label: d.label }), d.select && m.current.onSelection([d.select]), u.toastNotes && d.notes.length && A.success(d.label, { description: d.notes.join(". ") }), i(null), !0) : (A(d.reason), !1), []);
|
|
69
|
+
R(() => {
|
|
56
70
|
const d = (u) => {
|
|
57
71
|
if (!(u.metaKey || u.ctrlKey) || u.altKey || u.shiftKey || u.key.toLowerCase() !== "d") return;
|
|
58
|
-
const { bundle: a, selection:
|
|
59
|
-
if (!(!a ||
|
|
60
|
-
if (u.preventDefault(),
|
|
72
|
+
const { bundle: a, selection: l } = m.current;
|
|
73
|
+
if (!(!a || l.length === 0 || ke(u.target) || u.defaultPrevented) && !document.querySelector('[data-radix-popper-content-wrapper], [role="menu"]')) {
|
|
74
|
+
if (u.preventDefault(), l.length > 1) {
|
|
61
75
|
A("Duplicate works on one section at a time");
|
|
62
76
|
return;
|
|
63
77
|
}
|
|
64
|
-
|
|
78
|
+
g(U(a, l[0]), { toastNotes: !0 });
|
|
65
79
|
}
|
|
66
80
|
};
|
|
67
81
|
return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
|
|
68
|
-
}, [
|
|
69
|
-
const d = (
|
|
82
|
+
}, [g]), R(() => {
|
|
83
|
+
const d = (l) => {
|
|
70
84
|
var f;
|
|
71
|
-
return !!
|
|
72
|
-
}, u = (
|
|
73
|
-
var
|
|
74
|
-
const f = ((
|
|
85
|
+
return !!l && !!((f = r.current) != null && f.contains(l));
|
|
86
|
+
}, u = (l) => {
|
|
87
|
+
var C, D;
|
|
88
|
+
const f = ((D = (C = l.target) == null ? void 0 : C.closest) == null ? void 0 : D.call(C, "[data-design-target]")) ?? null;
|
|
75
89
|
if (!d(f) || !(f != null && f.closest("[data-design-canvas]")) || !m.current.bundle) return;
|
|
76
|
-
const
|
|
77
|
-
if (!
|
|
78
|
-
|
|
79
|
-
const
|
|
80
|
-
(!
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
targets:
|
|
84
|
-
anchor:
|
|
90
|
+
const v = Re(f.getAttribute("data-design-target"));
|
|
91
|
+
if (!v) return;
|
|
92
|
+
l.preventDefault();
|
|
93
|
+
const b = m.current.selection, G = f.getAttribute("data-design-target"), _ = b.some((J) => Be(J) === G), H = _ && b.length > 1 ? b : [v];
|
|
94
|
+
(!_ || b.length <= 1) && m.current.onSelection([v]);
|
|
95
|
+
const I = l.button !== 2 && l.clientX === 0 && l.clientY === 0;
|
|
96
|
+
i({
|
|
97
|
+
targets: H,
|
|
98
|
+
anchor: I ? f : Le(l.clientX, l.clientY),
|
|
85
99
|
view: "menu"
|
|
86
100
|
});
|
|
87
|
-
}, a = (
|
|
88
|
-
const f =
|
|
101
|
+
}, a = (l) => {
|
|
102
|
+
const f = l.target;
|
|
89
103
|
if (!d(f)) return;
|
|
90
|
-
const
|
|
91
|
-
|
|
104
|
+
const v = l.detail;
|
|
105
|
+
i({ targets: v.targets, anchor: f, view: v.view ?? "menu" });
|
|
92
106
|
};
|
|
93
|
-
return document.addEventListener("contextmenu", u, !0), document.addEventListener(
|
|
94
|
-
document.removeEventListener("contextmenu", u, !0), document.removeEventListener(
|
|
107
|
+
return document.addEventListener("contextmenu", u, !0), document.addEventListener(j, a), () => {
|
|
108
|
+
document.removeEventListener("contextmenu", u, !0), document.removeEventListener(j, a);
|
|
95
109
|
};
|
|
96
|
-
}, [
|
|
97
|
-
const
|
|
98
|
-
return !n || !e ? null : /* @__PURE__ */ p(
|
|
99
|
-
/* @__PURE__ */ t(
|
|
110
|
+
}, [r]);
|
|
111
|
+
const k = w(() => ({ current: (n == null ? void 0 : n.anchor) ?? null }), [n]);
|
|
112
|
+
return !n || !e ? null : /* @__PURE__ */ p(pe, { open: !0, onOpenChange: (d) => !d && i(null), children: [
|
|
113
|
+
/* @__PURE__ */ t(me, { virtualRef: k }),
|
|
100
114
|
/* @__PURE__ */ t(
|
|
101
|
-
|
|
115
|
+
fe,
|
|
102
116
|
{
|
|
103
117
|
align: "start",
|
|
104
118
|
className: "w-[300px] p-1.5",
|
|
@@ -109,45 +123,49 @@ function He({
|
|
|
109
123
|
'[role="menuitem"]:not([aria-disabled="true"]), input, button'
|
|
110
124
|
)) == null || a.focus();
|
|
111
125
|
},
|
|
112
|
-
children: n.view === "convert" && ((
|
|
113
|
-
|
|
126
|
+
children: n.view === "convert" && ((h = n.targets[0]) == null ? void 0 : h.kind) === "group" ? /* @__PURE__ */ t(
|
|
127
|
+
Ve,
|
|
114
128
|
{
|
|
115
129
|
bundle: e,
|
|
116
130
|
groupKey: n.targets[0].key,
|
|
117
|
-
onBack: () =>
|
|
118
|
-
run:
|
|
131
|
+
onBack: () => i({ ...n, view: "menu" }),
|
|
132
|
+
run: g
|
|
119
133
|
}
|
|
120
|
-
) : n.view === "rules" && ((
|
|
121
|
-
|
|
134
|
+
) : n.view === "rules" && ((x = n.targets[0]) == null ? void 0 : x.kind) === "group" ? /* @__PURE__ */ t(
|
|
135
|
+
We,
|
|
122
136
|
{
|
|
123
137
|
bundle: e,
|
|
124
138
|
groupKey: n.targets[0].key,
|
|
125
|
-
onBack: () =>
|
|
126
|
-
run:
|
|
139
|
+
onBack: () => i({ ...n, view: "menu" }),
|
|
140
|
+
run: g
|
|
127
141
|
}
|
|
128
142
|
) : /* @__PURE__ */ t(
|
|
129
|
-
|
|
143
|
+
Ke,
|
|
130
144
|
{
|
|
131
145
|
bundle: e,
|
|
132
146
|
targets: n.targets,
|
|
133
|
-
run:
|
|
134
|
-
onView: (d) =>
|
|
147
|
+
run: g,
|
|
148
|
+
onView: (d) => i({ ...n, view: d })
|
|
135
149
|
}
|
|
136
150
|
)
|
|
137
151
|
}
|
|
138
152
|
)
|
|
139
153
|
] });
|
|
140
154
|
}
|
|
141
|
-
|
|
155
|
+
const je = (e) => (s) => {
|
|
156
|
+
const o = e.placements.find((r) => r.field === s), c = ge(o).label;
|
|
157
|
+
return typeof c == "string" && c || (o == null ? void 0 : o.label_override) || ue(s);
|
|
158
|
+
};
|
|
159
|
+
function Be(e) {
|
|
142
160
|
return e.kind === "group" ? `group:${e.key}` : e.kind === "header" ? `header:${e.field}` : `${e.kind}:${e.field}:${e.group_key ?? ""}`;
|
|
143
161
|
}
|
|
144
|
-
const
|
|
145
|
-
function
|
|
162
|
+
const Ue = "flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-[12.5px] text-slate-700 outline-none transition-colors hover:bg-muted focus-visible:bg-muted dark:text-foreground aria-disabled:cursor-not-allowed aria-disabled:opacity-45 aria-disabled:hover:bg-transparent";
|
|
163
|
+
function y({
|
|
146
164
|
icon: e,
|
|
147
|
-
children:
|
|
165
|
+
children: s,
|
|
148
166
|
hint: o,
|
|
149
|
-
blocked:
|
|
150
|
-
onPick:
|
|
167
|
+
blocked: c,
|
|
168
|
+
onPick: r,
|
|
151
169
|
...n
|
|
152
170
|
}) {
|
|
153
171
|
return /* @__PURE__ */ p(
|
|
@@ -155,70 +173,103 @@ function v({
|
|
|
155
173
|
{
|
|
156
174
|
type: "button",
|
|
157
175
|
role: "menuitem",
|
|
158
|
-
"aria-disabled":
|
|
159
|
-
"data-tip":
|
|
176
|
+
"aria-disabled": c ? !0 : void 0,
|
|
177
|
+
"data-tip": c ?? void 0,
|
|
160
178
|
onClick: () => {
|
|
161
|
-
|
|
179
|
+
c || r();
|
|
162
180
|
},
|
|
163
|
-
className:
|
|
181
|
+
className: Ue,
|
|
164
182
|
...n,
|
|
165
183
|
children: [
|
|
166
184
|
/* @__PURE__ */ t("span", { className: "flex h-4 w-4 shrink-0 items-center justify-center text-slate-500 dark:text-muted-foreground [&_svg]:h-3.5 [&_svg]:w-3.5", children: e }),
|
|
167
|
-
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate", children:
|
|
185
|
+
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate", children: s }),
|
|
168
186
|
o && /* @__PURE__ */ t("kbd", { className: "shrink-0 font-sans text-[11px] text-slate-400 dark:text-muted-foreground", children: o })
|
|
169
187
|
]
|
|
170
188
|
}
|
|
171
189
|
);
|
|
172
190
|
}
|
|
173
|
-
function
|
|
191
|
+
function Me(e) {
|
|
174
192
|
var n;
|
|
175
193
|
if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key)) return;
|
|
176
194
|
const o = Array.from(e.currentTarget.querySelectorAll('[role="menuitem"]'));
|
|
177
195
|
if (o.length === 0) return;
|
|
178
196
|
e.preventDefault();
|
|
179
|
-
const
|
|
180
|
-
(n = o[
|
|
197
|
+
const c = o.indexOf(document.activeElement), r = e.key === "Home" ? 0 : e.key === "End" ? o.length - 1 : (c + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length;
|
|
198
|
+
(n = o[r]) == null || n.focus();
|
|
181
199
|
}
|
|
182
|
-
function
|
|
200
|
+
function Ke({
|
|
183
201
|
bundle: e,
|
|
184
|
-
targets:
|
|
202
|
+
targets: s,
|
|
185
203
|
run: o,
|
|
186
|
-
onView:
|
|
204
|
+
onView: c
|
|
187
205
|
}) {
|
|
188
|
-
const
|
|
189
|
-
(
|
|
190
|
-
), m =
|
|
191
|
-
return /* @__PURE__ */ p("div", { role: "menu", "aria-label": "Arrange", onKeyDown:
|
|
192
|
-
|
|
206
|
+
const r = s.length === 1 ? s[0] : null, n = (r == null ? void 0 : r.kind) === "group" && r.key !== ce ? e.groups.find((h) => h.key === r.key) ?? null : null, i = s.filter(
|
|
207
|
+
(h) => (h.kind === "field" || h.kind === "slot") && !de(h)
|
|
208
|
+
), m = i.length ? Oe(e, i) : null, g = r ? $e(e, r) : "Duplicate works on one section at a time", k = n ? `${N(n)} · ${T(e, n)}` : i.length > 1 ? `${i.length} selected` : null;
|
|
209
|
+
return /* @__PURE__ */ p("div", { role: "menu", "aria-label": "Arrange", onKeyDown: Me, className: "flex flex-col", children: [
|
|
210
|
+
k && /* @__PURE__ */ t("p", { className: $(S, "truncate px-2 pb-1 pt-0.5"), children: k }),
|
|
193
211
|
/* @__PURE__ */ t(
|
|
194
|
-
|
|
212
|
+
y,
|
|
195
213
|
{
|
|
196
|
-
icon: /* @__PURE__ */ t(
|
|
197
|
-
hint:
|
|
198
|
-
blocked:
|
|
214
|
+
icon: /* @__PURE__ */ t(F, {}),
|
|
215
|
+
hint: he(),
|
|
216
|
+
blocked: g,
|
|
199
217
|
"data-structure-action": "duplicate",
|
|
200
|
-
onPick: () => o(
|
|
218
|
+
onPick: () => o(U(e, r), { toastNotes: !0 }),
|
|
201
219
|
children: "Duplicate"
|
|
202
220
|
}
|
|
203
221
|
),
|
|
204
222
|
m && /* @__PURE__ */ t(
|
|
205
|
-
|
|
223
|
+
y,
|
|
206
224
|
{
|
|
207
|
-
icon: /* @__PURE__ */ t(
|
|
225
|
+
icon: /* @__PURE__ */ t(X, {}),
|
|
208
226
|
blocked: m.ok ? null : m.reason,
|
|
209
227
|
"data-structure-action": "wrap",
|
|
210
228
|
onPick: () => o(m),
|
|
211
229
|
children: m.ok ? m.label.replace(/^Wrap \d+ fields?/, "Wrap") : "Wrap in a new section"
|
|
212
230
|
}
|
|
213
231
|
),
|
|
214
|
-
|
|
232
|
+
r && (r.kind === "field" || r.kind === "slot") && r.group_key !== null && /* @__PURE__ */ t(
|
|
233
|
+
y,
|
|
234
|
+
{
|
|
235
|
+
icon: /* @__PURE__ */ t(z, {}),
|
|
236
|
+
blocked: ye(e, r),
|
|
237
|
+
"data-structure-action": "split",
|
|
238
|
+
onPick: () => o(xe(e, r), { toastNotes: !0 }),
|
|
239
|
+
children: "Split the section here"
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
i.length > 1 && /* @__PURE__ */ t(
|
|
243
|
+
y,
|
|
244
|
+
{
|
|
245
|
+
icon: /* @__PURE__ */ t(Q, {}),
|
|
246
|
+
blocked: we(e, i),
|
|
247
|
+
"data-structure-action": "row",
|
|
248
|
+
onPick: () => o(ve(e, i, je(e)), { toastNotes: !0 }),
|
|
249
|
+
children: "Put side by side under one label"
|
|
250
|
+
}
|
|
251
|
+
),
|
|
252
|
+
n && /* @__PURE__ */ p(Y, { children: [
|
|
253
|
+
/* @__PURE__ */ t(
|
|
254
|
+
y,
|
|
255
|
+
{
|
|
256
|
+
icon: /* @__PURE__ */ t(Z, {}),
|
|
257
|
+
blocked: Ce(e, n.key),
|
|
258
|
+
"data-structure-action": "join",
|
|
259
|
+
onPick: () => o(be(e, n.key), { toastNotes: !0 }),
|
|
260
|
+
children: (() => {
|
|
261
|
+
const h = Ne(e, n.key);
|
|
262
|
+
return h ? `Join with ${N(h)}` : "Join with the next section";
|
|
263
|
+
})()
|
|
264
|
+
}
|
|
265
|
+
),
|
|
215
266
|
/* @__PURE__ */ p(
|
|
216
|
-
|
|
267
|
+
y,
|
|
217
268
|
{
|
|
218
|
-
icon: /* @__PURE__ */ t(
|
|
219
|
-
blocked:
|
|
269
|
+
icon: /* @__PURE__ */ t(ee, {}),
|
|
270
|
+
blocked: _e(e, n.key),
|
|
220
271
|
"data-structure-action": "unwrap",
|
|
221
|
-
onPick: () => o(
|
|
272
|
+
onPick: () => o(Te(e, n.key), { toastNotes: !0 }),
|
|
222
273
|
children: [
|
|
223
274
|
"Unwrap: keep its fields, drop the ",
|
|
224
275
|
T(e, n)
|
|
@@ -226,125 +277,125 @@ function Ee({
|
|
|
226
277
|
}
|
|
227
278
|
),
|
|
228
279
|
/* @__PURE__ */ t(
|
|
229
|
-
|
|
280
|
+
y,
|
|
230
281
|
{
|
|
231
|
-
icon: /* @__PURE__ */ t(
|
|
232
|
-
blocked:
|
|
282
|
+
icon: /* @__PURE__ */ t(te, {}),
|
|
283
|
+
blocked: M(e, n.key).length ? null : "Only sections, tabs, steps and their holders convert",
|
|
233
284
|
"data-structure-action": "convert",
|
|
234
|
-
onPick: () =>
|
|
285
|
+
onPick: () => c("convert"),
|
|
235
286
|
children: "Convert to…"
|
|
236
287
|
}
|
|
237
288
|
),
|
|
238
289
|
/* @__PURE__ */ t(
|
|
239
|
-
|
|
290
|
+
y,
|
|
240
291
|
{
|
|
241
|
-
icon: /* @__PURE__ */ t(
|
|
242
|
-
blocked:
|
|
292
|
+
icon: /* @__PURE__ */ t(ne, {}),
|
|
293
|
+
blocked: K(n).length ? null : "Only sections, tabs and steps have these rules",
|
|
243
294
|
"data-structure-action": "rules",
|
|
244
|
-
onPick: () =>
|
|
295
|
+
onPick: () => c("rules"),
|
|
245
296
|
children: "Copy rules to other sections…"
|
|
246
297
|
}
|
|
247
298
|
),
|
|
248
299
|
/* @__PURE__ */ t(
|
|
249
|
-
|
|
300
|
+
y,
|
|
250
301
|
{
|
|
251
|
-
icon:
|
|
302
|
+
icon: P(n) ? /* @__PURE__ */ t(re, {}) : /* @__PURE__ */ t(oe, {}),
|
|
252
303
|
"data-structure-action": "pin",
|
|
253
|
-
onPick: () => o(
|
|
254
|
-
children:
|
|
304
|
+
onPick: () => o(De(e, n.key, !P(n))),
|
|
305
|
+
children: P(n) ? "Unpin" : "Pin in the editor (no dragging)"
|
|
255
306
|
}
|
|
256
307
|
)
|
|
257
308
|
] }),
|
|
258
|
-
!n &&
|
|
309
|
+
!n && i.length === 0 && /* @__PURE__ */ t("p", { className: $(S, "px-2 py-1"), children: "Select a section or fields to duplicate, wrap or convert." })
|
|
259
310
|
] });
|
|
260
311
|
}
|
|
261
|
-
function
|
|
312
|
+
function E({ title: e, onBack: s }) {
|
|
262
313
|
return /* @__PURE__ */ p("div", { className: "flex items-center gap-1.5 px-1 pb-1.5", children: [
|
|
263
314
|
/* @__PURE__ */ t(
|
|
264
315
|
"button",
|
|
265
316
|
{
|
|
266
317
|
type: "button",
|
|
267
318
|
"aria-label": "Back",
|
|
268
|
-
onClick:
|
|
319
|
+
onClick: s,
|
|
269
320
|
className: "inline-flex h-6 w-6 items-center justify-center rounded text-slate-500 hover:bg-muted hover:text-slate-900 dark:text-muted-foreground dark:hover:text-foreground",
|
|
270
|
-
children: /* @__PURE__ */ t(
|
|
321
|
+
children: /* @__PURE__ */ t(se, { className: "h-3.5 w-3.5" })
|
|
271
322
|
}
|
|
272
323
|
),
|
|
273
324
|
/* @__PURE__ */ t("p", { className: "min-w-0 flex-1 truncate text-[13px] font-semibold text-slate-900 dark:text-foreground", children: e })
|
|
274
325
|
] });
|
|
275
326
|
}
|
|
276
|
-
const
|
|
277
|
-
function
|
|
278
|
-
return e.length === 0 ? null : /* @__PURE__ */ t("ul", { className: "mt-1 list-disc space-y-0.5 pl-4 text-[12px] leading-snug text-slate-600 dark:text-muted-foreground", children: e.map((
|
|
327
|
+
const q = "inline-flex h-7 shrink-0 items-center rounded-md bg-nvr-cyan px-3 text-[12px] font-medium text-white transition-opacity hover:opacity-90 disabled:pointer-events-none disabled:opacity-40";
|
|
328
|
+
function W({ notes: e }) {
|
|
329
|
+
return e.length === 0 ? null : /* @__PURE__ */ t("ul", { className: "mt-1 list-disc space-y-0.5 pl-4 text-[12px] leading-snug text-slate-600 dark:text-muted-foreground", children: e.map((s) => /* @__PURE__ */ t("li", { children: s }, s)) });
|
|
279
330
|
}
|
|
280
|
-
function
|
|
331
|
+
function Ve({
|
|
281
332
|
bundle: e,
|
|
282
|
-
groupKey:
|
|
333
|
+
groupKey: s,
|
|
283
334
|
onBack: o,
|
|
284
|
-
run:
|
|
335
|
+
run: c
|
|
285
336
|
}) {
|
|
286
|
-
const
|
|
287
|
-
return
|
|
288
|
-
/* @__PURE__ */ t(
|
|
289
|
-
/* @__PURE__ */ t("div", { className: "space-y-1.5", children: n.map((
|
|
337
|
+
const r = e.groups.find((i) => i.key === s), n = w(() => M(e, s), [e, s]);
|
|
338
|
+
return r ? /* @__PURE__ */ p("div", { "data-structure-convert": "", className: "flex flex-col", children: [
|
|
339
|
+
/* @__PURE__ */ t(E, { title: `Convert ${N(r)}`, onBack: o }),
|
|
340
|
+
/* @__PURE__ */ t("div", { className: "space-y-1.5", children: n.map((i) => /* @__PURE__ */ p("div", { "data-convert-choice": i.to, className: $(Pe, "p-2.5"), children: [
|
|
290
341
|
/* @__PURE__ */ p("div", { className: "flex items-center gap-2", children: [
|
|
291
|
-
/* @__PURE__ */ t("p", { className: "min-w-0 flex-1 text-[12.5px] font-medium text-slate-900 dark:text-foreground", children:
|
|
342
|
+
/* @__PURE__ */ t("p", { className: "min-w-0 flex-1 text-[12.5px] font-medium text-slate-900 dark:text-foreground", children: i.title }),
|
|
292
343
|
/* @__PURE__ */ t(
|
|
293
344
|
"button",
|
|
294
345
|
{
|
|
295
346
|
type: "button",
|
|
296
|
-
disabled: !
|
|
297
|
-
onClick: () => i
|
|
298
|
-
className:
|
|
347
|
+
disabled: !i.plan.ok,
|
|
348
|
+
onClick: () => c(i.plan),
|
|
349
|
+
className: q,
|
|
299
350
|
children: "Convert"
|
|
300
351
|
}
|
|
301
352
|
)
|
|
302
353
|
] }),
|
|
303
|
-
|
|
304
|
-
] },
|
|
305
|
-
] }) : /* @__PURE__ */ t(
|
|
354
|
+
i.plan.ok ? /* @__PURE__ */ t(W, { notes: i.plan.notes }) : /* @__PURE__ */ t("p", { className: "mt-1 text-[12px] leading-snug text-amber-700 dark:text-amber-300", children: i.plan.reason })
|
|
355
|
+
] }, i.to)) })
|
|
356
|
+
] }) : /* @__PURE__ */ t(E, { title: "That section is no longer here", onBack: o });
|
|
306
357
|
}
|
|
307
|
-
const
|
|
308
|
-
if (!V(e,
|
|
358
|
+
const qe = (e, s) => {
|
|
359
|
+
if (!V(e, s)) return "none: clears it";
|
|
309
360
|
try {
|
|
310
|
-
const o = JSON.parse(String(e[
|
|
311
|
-
return
|
|
361
|
+
const o = JSON.parse(String(e[s])).length;
|
|
362
|
+
return s === "visible_when" ? `${o} condition${o === 1 ? "" : "s"}` : `${o} role${o === 1 ? "" : "s"}`;
|
|
312
363
|
} catch {
|
|
313
364
|
return "set";
|
|
314
365
|
}
|
|
315
|
-
},
|
|
316
|
-
function
|
|
366
|
+
}, B = "h-4 w-4 rounded border-slate-300 data-[state=checked]:border-nvr-cyan data-[state=checked]:bg-nvr-cyan data-[state=checked]:text-white dark:border-slate-600 [&_svg]:h-3 [&_svg]:w-3";
|
|
367
|
+
function We({
|
|
317
368
|
bundle: e,
|
|
318
|
-
groupKey:
|
|
369
|
+
groupKey: s,
|
|
319
370
|
onBack: o,
|
|
320
|
-
run:
|
|
371
|
+
run: c
|
|
321
372
|
}) {
|
|
322
|
-
const
|
|
323
|
-
const a =
|
|
373
|
+
const r = e.groups.find((a) => a.key === s), n = r ? K(r) : [], [i, m] = O(() => {
|
|
374
|
+
const a = r ? n.filter((l) => V(r, l)) : [];
|
|
324
375
|
return a.length ? a : n;
|
|
325
|
-
}),
|
|
326
|
-
() =>
|
|
327
|
-
[e,
|
|
376
|
+
}), g = w(() => Se(e, s), [e, s]), [k, h] = O([]), x = w(
|
|
377
|
+
() => Ee(e, s, k, i),
|
|
378
|
+
[e, s, k, i]
|
|
328
379
|
);
|
|
329
|
-
if (!
|
|
330
|
-
const d = (a,
|
|
380
|
+
if (!r) return /* @__PURE__ */ t(E, { title: "That section is no longer here", onBack: o });
|
|
381
|
+
const d = (a, l) => a.includes(l) ? a.filter((f) => f !== l) : [...a, l], u = k.length === g.length && g.length > 0;
|
|
331
382
|
return /* @__PURE__ */ p("div", { "data-structure-rules": "", className: "flex flex-col", children: [
|
|
332
|
-
/* @__PURE__ */ t(
|
|
383
|
+
/* @__PURE__ */ t(E, { title: `Copy the rules of ${N(r)}`, onBack: o }),
|
|
333
384
|
/* @__PURE__ */ p("fieldset", { className: "m-0 min-w-0 border-0 p-0 px-1", children: [
|
|
334
385
|
/* @__PURE__ */ t("legend", { className: "pb-1 text-[12px] font-medium text-slate-700 dark:text-foreground", children: "Rules" }),
|
|
335
386
|
n.map((a) => (
|
|
336
387
|
// biome-ignore lint/a11y/noLabelWithoutControl: the Radix checkbox is the control
|
|
337
388
|
/* @__PURE__ */ p("label", { className: "flex items-center gap-2 py-0.5 text-[12.5px]", children: [
|
|
338
389
|
/* @__PURE__ */ t(
|
|
339
|
-
|
|
390
|
+
L,
|
|
340
391
|
{
|
|
341
|
-
checked:
|
|
342
|
-
onCheckedChange: () => m((
|
|
343
|
-
className:
|
|
392
|
+
checked: i.includes(a),
|
|
393
|
+
onCheckedChange: () => m((l) => d(l, a)),
|
|
394
|
+
className: B
|
|
344
395
|
}
|
|
345
396
|
),
|
|
346
|
-
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate text-slate-800 dark:text-foreground", children:
|
|
347
|
-
/* @__PURE__ */ t("span", { className: "shrink-0 text-[11.5px] text-slate-500 dark:text-muted-foreground", children:
|
|
397
|
+
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate text-slate-800 dark:text-foreground", children: Ae[a] }),
|
|
398
|
+
/* @__PURE__ */ t("span", { className: "shrink-0 text-[11.5px] text-slate-500 dark:text-muted-foreground", children: qe(r, a) })
|
|
348
399
|
] }, a)
|
|
349
400
|
))
|
|
350
401
|
] }),
|
|
@@ -355,15 +406,15 @@ function Oe({
|
|
|
355
406
|
"button",
|
|
356
407
|
{
|
|
357
408
|
type: "button",
|
|
358
|
-
onClick: () =>
|
|
409
|
+
onClick: () => h(u ? [] : g.map((a) => a.key)),
|
|
359
410
|
className: "text-[12px] font-medium text-sky-700 hover:underline dark:text-nvr-cyan",
|
|
360
411
|
children: u ? "None" : "All"
|
|
361
412
|
}
|
|
362
413
|
)
|
|
363
414
|
] }),
|
|
364
415
|
/* @__PURE__ */ p("div", { className: "max-h-[200px] overflow-y-auto", children: [
|
|
365
|
-
|
|
366
|
-
|
|
416
|
+
g.length === 0 && /* @__PURE__ */ t("p", { className: S, children: "No other sections on this form." }),
|
|
417
|
+
g.map((a) => (
|
|
367
418
|
// biome-ignore lint/a11y/noLabelWithoutControl: the Radix checkbox is the control
|
|
368
419
|
/* @__PURE__ */ p(
|
|
369
420
|
"label",
|
|
@@ -372,14 +423,14 @@ function Oe({
|
|
|
372
423
|
className: "flex items-center gap-2 py-0.5 text-[12.5px]",
|
|
373
424
|
children: [
|
|
374
425
|
/* @__PURE__ */ t(
|
|
375
|
-
|
|
426
|
+
L,
|
|
376
427
|
{
|
|
377
|
-
checked:
|
|
378
|
-
onCheckedChange: () =>
|
|
379
|
-
className:
|
|
428
|
+
checked: k.includes(a.key),
|
|
429
|
+
onCheckedChange: () => h((l) => d(l, a.key)),
|
|
430
|
+
className: B
|
|
380
431
|
}
|
|
381
432
|
),
|
|
382
|
-
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate text-slate-800 dark:text-foreground", children:
|
|
433
|
+
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate text-slate-800 dark:text-foreground", children: N(a) }),
|
|
383
434
|
/* @__PURE__ */ t("span", { className: "shrink-0 text-[11.5px] text-slate-500 dark:text-muted-foreground", children: T(e, a) })
|
|
384
435
|
]
|
|
385
436
|
},
|
|
@@ -389,25 +440,25 @@ function Oe({
|
|
|
389
440
|
] })
|
|
390
441
|
] }),
|
|
391
442
|
/* @__PURE__ */ p("div", { className: "mt-2 border-t border-slate-100 px-1 pt-2 dark:border-border", children: [
|
|
392
|
-
|
|
443
|
+
x.ok ? /* @__PURE__ */ t(W, { notes: x.notes }) : k.length > 0 && /* @__PURE__ */ t("p", { className: S, children: x.reason }),
|
|
393
444
|
/* @__PURE__ */ t("div", { className: "mt-2 flex justify-end", children: /* @__PURE__ */ t(
|
|
394
445
|
"button",
|
|
395
446
|
{
|
|
396
447
|
type: "button",
|
|
397
|
-
disabled: !
|
|
448
|
+
disabled: !x.ok,
|
|
398
449
|
"data-rules-apply": "",
|
|
399
|
-
onClick: () =>
|
|
400
|
-
className:
|
|
401
|
-
children:
|
|
450
|
+
onClick: () => c(x),
|
|
451
|
+
className: q,
|
|
452
|
+
children: x.ok ? `Copy to ${x.ops.length}` : "Copy"
|
|
402
453
|
}
|
|
403
454
|
) })
|
|
404
455
|
] })
|
|
405
456
|
] });
|
|
406
457
|
}
|
|
407
458
|
export {
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
459
|
+
dt as ArrangeButton,
|
|
460
|
+
at as StructureActions,
|
|
461
|
+
ut as openStructureMenu,
|
|
462
|
+
Re as parseTargetKey,
|
|
463
|
+
it as usePinMarks
|
|
413
464
|
};
|