@mt-gloss/ui 0.1.133 → 0.1.135
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/{COMMITS-WBmqrmdI.js → COMMITS-B_qGBoy7.js} +171 -183
- package/{Expandable-D0vngX68.js → Expandable-DA4NFzCR.js} +2768 -2720
- package/catalog.js +2 -2
- package/composites-panels.js +451 -543
- package/index.js +1233 -1215
- package/lib/composites/forms/PasswordInput.d.ts +6 -1
- package/lib/composites/forms/PhoneInput.d.ts +6 -1
- package/lib/composites/forms/SearchInput.d.ts +6 -1
- package/lib/composites/forms/TagInput.d.ts +6 -1
- package/lib/composites/inputs/FilterChip.d.ts +6 -1
- package/lib/composites/overlay/SplitButton/SplitButton.d.ts +6 -1
- package/lib/composites/panels/coordinator/settingsBufferSchemas.d.ts +4 -9
- package/lib/composites/panels/index.d.ts +2 -0
- package/lib/composites/panels/shells/MetricInfoShell.d.ts +29 -0
- package/lib/composites/panels/shells/SettingsShell.d.ts +4 -13
- package/lib/composites/panels/shells/index.d.ts +2 -0
- package/lib/composites/panels/shells/settings/index.d.ts +3 -4
- package/lib/containers/ContainerDialog/ContainerDialog.d.ts +18 -3
- package/lib/containers/ContainerFormSection/ContainerFormSection.d.ts +6 -1
- package/lib/containers/ContainerPanel/ContainerPanel.d.ts +6 -1
- package/lib/containers/ContainerTable/ContainerTable.d.ts +6 -1
- package/lib/containers/ContainerToolbar/ContainerToolbar.d.ts +6 -1
- package/lib/primitives/dashboard/ResizePill/ResizePill.d.ts +7 -1
- package/lib/wrappers/Actionable/Actionable.d.ts +6 -1
- package/lib/wrappers/AsyncLoader/AsyncLoader.d.ts +6 -1
- package/lib/wrappers/ButtonGroup/ButtonGroup.d.ts +6 -1
- package/lib/wrappers/CheckboxGroup/CheckboxGroup.d.ts +6 -1
- package/lib/wrappers/Dismissible/Dismissible.d.ts +6 -1
- package/lib/wrappers/Expandable/Expandable.d.ts +6 -1
- package/lib/wrappers/InputGroup/InputGroup.d.ts +12 -2
- package/lib/wrappers/RadioGroup/RadioGroup.d.ts +6 -1
- package/lib/wrappers/Selectable/Selectable.d.ts +6 -1
- package/lib/wrappers/Sortable/Sortable.d.ts +6 -1
- package/package.json +1 -1
- package/ui.css +1 -1
- package/lib/composites/panels/shells/settings/ColorControls.d.ts +0 -13
- package/lib/composites/panels/shells/settings/ThresholdControls.d.ts +0 -10
package/composites-panels.js
CHANGED
|
@@ -1,82 +1,31 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { C as
|
|
3
|
-
import { jsx as a, jsxs as
|
|
4
|
-
import H, { useState as
|
|
5
|
-
import { useSensors as
|
|
1
|
+
import { u as D, g as X, h as z, f as we, S as Te, b as xe, j as Ee } from "./COMMITS-B_qGBoy7.js";
|
|
2
|
+
import { C as Rt, N as $t, n as Ft, o as zt, k as Ht, c as Bt, m as Ut, P as Yt, l as Vt, e as Kt, i as qt, r as Qt, d as Wt } from "./COMMITS-B_qGBoy7.js";
|
|
3
|
+
import { jsx as a, jsxs as b, Fragment as ue } from "react/jsx-runtime";
|
|
4
|
+
import H, { useState as x, useRef as Y, createContext as pe, useContext as me, useMemo as se, useEffect as F, useCallback as L, useLayoutEffect as Ae } from "react";
|
|
5
|
+
import { useSensors as De, useSensor as re, PointerSensor as ke, KeyboardSensor as Le, DndContext as Me, closestCenter as Oe } from "@dnd-kit/core";
|
|
6
6
|
import { sortableKeyboardCoordinates as Ie, SortableContext as Re, horizontalListSortingStrategy as $e, arrayMove as Fe, useSortable as ze } from "@dnd-kit/sortable";
|
|
7
7
|
import { CSS as He } from "@dnd-kit/utilities";
|
|
8
|
-
import { M as
|
|
9
|
-
function
|
|
10
|
-
const e =
|
|
8
|
+
import { M as oe } from "./MetricCard-DOPtBpek.js";
|
|
9
|
+
function _t() {
|
|
10
|
+
const e = D();
|
|
11
11
|
if (e?.state.activePanelId !== "settings") return null;
|
|
12
12
|
const t = e.state.activeTrigger;
|
|
13
13
|
return t?.kind === "card-overflow" ? t.cardId : null;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function he({ span: e, rotating: t = !0, children: r }) {
|
|
16
16
|
const l = ["clone-card", `span-${e}`, t ? "rotating" : ""].filter(Boolean).join(" "), n = r != null ? "full" : "fallback";
|
|
17
17
|
return /* @__PURE__ */ a("div", { className: l, "data-clone-fidelity": n, children: r });
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
return /* @__PURE__ */
|
|
19
|
+
function St({ primary: e, secondary: t }) {
|
|
20
|
+
return /* @__PURE__ */ b("div", { className: "gloss-panel-chrome-v2__footer-msg", children: [
|
|
21
21
|
/* @__PURE__ */ a("span", { className: "gloss-panel-chrome-v2__footer-msg-primary", children: e }),
|
|
22
22
|
t != null && /* @__PURE__ */ a("span", { className: "gloss-panel-chrome-v2__footer-msg-secondary", children: t })
|
|
23
23
|
] });
|
|
24
24
|
}
|
|
25
|
-
function Be({
|
|
26
|
-
|
|
27
|
-
onChange: t,
|
|
28
|
-
enabled: r = !1,
|
|
29
|
-
onToggleEnabled: l
|
|
30
|
-
}) {
|
|
31
|
-
const n = "settings-threshold-enabled";
|
|
32
|
-
return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--threshold", children: [
|
|
33
|
-
/* @__PURE__ */ f("div", { className: "settings-shell__toggle-row", children: [
|
|
34
|
-
/* @__PURE__ */ a("label", { htmlFor: n, className: "settings-shell__toggle-label", children: "Show threshold indicator" }),
|
|
35
|
-
/* @__PURE__ */ a(
|
|
36
|
-
"input",
|
|
37
|
-
{
|
|
38
|
-
id: n,
|
|
39
|
-
type: "checkbox",
|
|
40
|
-
role: "switch",
|
|
41
|
-
"aria-label": "Enable threshold indicator",
|
|
42
|
-
"aria-checked": r,
|
|
43
|
-
checked: r,
|
|
44
|
-
onChange: (i) => l?.(i.target.checked),
|
|
45
|
-
className: "settings-shell__toggle"
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
] }),
|
|
49
|
-
r ? /* @__PURE__ */ f(V, { children: [
|
|
50
|
-
/* @__PURE__ */ a("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Alert level (%)" }),
|
|
51
|
-
/* @__PURE__ */ f("div", { className: "settings-shell__slider-row", children: [
|
|
52
|
-
/* @__PURE__ */ a(
|
|
53
|
-
"input",
|
|
54
|
-
{
|
|
55
|
-
id: "settings-threshold-input",
|
|
56
|
-
type: "range",
|
|
57
|
-
min: 0,
|
|
58
|
-
max: 100,
|
|
59
|
-
value: e,
|
|
60
|
-
onChange: t,
|
|
61
|
-
"aria-label": "Threshold",
|
|
62
|
-
"aria-valuenow": e,
|
|
63
|
-
"aria-valuemin": 0,
|
|
64
|
-
"aria-valuemax": 100,
|
|
65
|
-
className: "settings-shell__slider"
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
/* @__PURE__ */ f("span", { className: "settings-shell__slider-value", "aria-live": "polite", children: [
|
|
69
|
-
e,
|
|
70
|
-
"%"
|
|
71
|
-
] })
|
|
72
|
-
] })
|
|
73
|
-
] }) : /* @__PURE__ */ a("p", { className: "settings-shell__help", "aria-live": "polite", children: "Off — the card uses its default styling. Turn on to tint values below the threshold." })
|
|
74
|
-
] });
|
|
75
|
-
}
|
|
76
|
-
function Ye({ value: e, onChange: t }) {
|
|
77
|
-
return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--timeframe", children: [
|
|
25
|
+
function Be({ value: e, onChange: t }) {
|
|
26
|
+
return /* @__PURE__ */ b("div", { className: "settings-shell__field settings-shell__field--timeframe", children: [
|
|
78
27
|
/* @__PURE__ */ a("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Rolling period (days)" }),
|
|
79
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ b("div", { className: "settings-shell__slider-row", children: [
|
|
80
29
|
/* @__PURE__ */ a(
|
|
81
30
|
"input",
|
|
82
31
|
{
|
|
@@ -93,20 +42,20 @@ function Ye({ value: e, onChange: t }) {
|
|
|
93
42
|
className: "settings-shell__slider"
|
|
94
43
|
}
|
|
95
44
|
),
|
|
96
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ b("span", { className: "settings-shell__slider-value", "aria-live": "polite", children: [
|
|
97
46
|
e,
|
|
98
47
|
" days"
|
|
99
48
|
] })
|
|
100
49
|
] })
|
|
101
50
|
] });
|
|
102
51
|
}
|
|
103
|
-
function
|
|
104
|
-
const { attributes: r, listeners: l, setNodeRef: n, transform:
|
|
105
|
-
transform: He.Transform.toString(
|
|
52
|
+
function Ue({ id: e, onRemove: t }) {
|
|
53
|
+
const { attributes: r, listeners: l, setNodeRef: n, transform: c, transition: u, isDragging: o } = ze({ id: e }), s = {
|
|
54
|
+
transform: He.Transform.toString(c),
|
|
106
55
|
transition: u,
|
|
107
56
|
opacity: o ? 0.6 : 1
|
|
108
57
|
};
|
|
109
|
-
return /* @__PURE__ */
|
|
58
|
+
return /* @__PURE__ */ b(
|
|
110
59
|
"li",
|
|
111
60
|
{
|
|
112
61
|
ref: n,
|
|
@@ -139,112 +88,59 @@ function Ve({ id: e, onRemove: t }) {
|
|
|
139
88
|
}
|
|
140
89
|
);
|
|
141
90
|
}
|
|
142
|
-
function
|
|
143
|
-
const r =
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
), l = H.useRef(!1), [n,
|
|
147
|
-
const { active:
|
|
148
|
-
if (!d ||
|
|
149
|
-
const m = e.findIndex((
|
|
91
|
+
function Ye({ value: e, onChange: t }) {
|
|
92
|
+
const r = De(
|
|
93
|
+
re(ke, { activationConstraint: { distance: 4 } }),
|
|
94
|
+
re(Le, { coordinateGetter: Ie })
|
|
95
|
+
), l = H.useRef(!1), [n, c] = H.useState(!1), u = (s) => {
|
|
96
|
+
const { active: i, over: d } = s;
|
|
97
|
+
if (!d || i.id === d.id) return;
|
|
98
|
+
const m = e.findIndex((g) => g === i.id), h = e.findIndex((g) => g === d.id);
|
|
150
99
|
m === -1 || h === -1 || t(Fe([...e], m, h));
|
|
151
100
|
}, o = (s) => {
|
|
152
|
-
l.current || (l.current = !0,
|
|
101
|
+
l.current || (l.current = !0, c(!0)), t(e.filter((i) => i !== s));
|
|
153
102
|
};
|
|
154
|
-
return /* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */ a(Me, { sensors: r, collisionDetection: Oe, onDragEnd: u, children: /* @__PURE__ */ a(Re, { items: [...e], strategy: $e, children: /* @__PURE__ */ a("ul", { className: "settings-shell__slots-list", role: "list", children: e.map((s) => /* @__PURE__ */ a(
|
|
103
|
+
return /* @__PURE__ */ b("div", { className: "settings-shell__field settings-shell__field--slots", "aria-label": "Stack slots", children: [
|
|
104
|
+
/* @__PURE__ */ a(Me, { sensors: r, collisionDetection: Oe, onDragEnd: u, children: /* @__PURE__ */ a(Re, { items: [...e], strategy: $e, children: /* @__PURE__ */ a("ul", { className: "settings-shell__slots-list", role: "list", children: e.map((s) => /* @__PURE__ */ a(Ue, { id: s, onRemove: () => o(s) }, s)) }) }) }),
|
|
156
105
|
e.length === 0 && n && /* @__PURE__ */ a("p", { className: "settings-shell__help", children: "All slots removed. Apply to commit, or Reset to restore." }),
|
|
157
106
|
/* @__PURE__ */ a("p", { className: "settings-shell__help settings-shell__help--small", children: "Drag to reorder · click × to remove" })
|
|
158
107
|
] });
|
|
159
108
|
}
|
|
160
|
-
const
|
|
161
|
-
function Qe({
|
|
162
|
-
value: e,
|
|
163
|
-
onSelect: t,
|
|
164
|
-
enabled: r = !1,
|
|
165
|
-
onToggleEnabled: l
|
|
166
|
-
}) {
|
|
167
|
-
const n = "settings-accent-enabled";
|
|
168
|
-
return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--color", role: "group", "aria-label": "Accent color", children: [
|
|
169
|
-
/* @__PURE__ */ f("div", { className: "settings-shell__toggle-row", children: [
|
|
170
|
-
/* @__PURE__ */ a("label", { htmlFor: n, className: "settings-shell__toggle-label", children: "Override default accent" }),
|
|
171
|
-
/* @__PURE__ */ a(
|
|
172
|
-
"input",
|
|
173
|
-
{
|
|
174
|
-
id: n,
|
|
175
|
-
type: "checkbox",
|
|
176
|
-
role: "switch",
|
|
177
|
-
"aria-label": "Enable accent override",
|
|
178
|
-
"aria-checked": r,
|
|
179
|
-
checked: r,
|
|
180
|
-
onChange: (i) => l?.(i.target.checked),
|
|
181
|
-
className: "settings-shell__toggle"
|
|
182
|
-
}
|
|
183
|
-
)
|
|
184
|
-
] }),
|
|
185
|
-
r ? /* @__PURE__ */ f(V, { children: [
|
|
186
|
-
/* @__PURE__ */ a("span", { className: "settings-shell__label", children: "Accent color" }),
|
|
187
|
-
/* @__PURE__ */ a("div", { className: "settings-shell__swatch-row", children: qe.map((i) => {
|
|
188
|
-
const u = e === i;
|
|
189
|
-
return /* @__PURE__ */ a(
|
|
190
|
-
"button",
|
|
191
|
-
{
|
|
192
|
-
type: "button",
|
|
193
|
-
"aria-pressed": u,
|
|
194
|
-
"aria-label": `Accent ${i}`,
|
|
195
|
-
className: `settings-shell__swatch${u ? " settings-shell__swatch--active" : ""}`,
|
|
196
|
-
style: { backgroundColor: i },
|
|
197
|
-
onClick: () => t(i)
|
|
198
|
-
},
|
|
199
|
-
i
|
|
200
|
-
);
|
|
201
|
-
}) })
|
|
202
|
-
] }) : /* @__PURE__ */ a("p", { className: "settings-shell__help", "aria-live": "polite", children: "Off — the card uses its default accent. Turn on to override." })
|
|
203
|
-
] });
|
|
204
|
-
}
|
|
205
|
-
const We = ["Orders", "Quota", "Unassigned"], Ge = ["threshold", "timeframe", "color"];
|
|
109
|
+
const Ve = ["Orders", "Quota", "Unassigned"], Ke = ["timeframe"];
|
|
206
110
|
function Pt({
|
|
207
111
|
isOpen: e,
|
|
208
112
|
cardSpan: t,
|
|
209
113
|
cardLabel: r = "Metric",
|
|
210
114
|
cardValue: l = "—",
|
|
211
115
|
previewSlot: n,
|
|
212
|
-
dimensions:
|
|
116
|
+
dimensions: c = Ke,
|
|
213
117
|
initialTab: u,
|
|
214
118
|
initialValues: o
|
|
215
119
|
}) {
|
|
216
|
-
const s =
|
|
120
|
+
const s = D(), i = s?.state.activeTrigger, d = i?.kind === "card-overflow" ? i.cardId : null, m = X(), h = i?.span, g = t ?? h ?? 1, p = c[0] ?? "timeframe", [v, w] = H.useState(u ?? p);
|
|
217
121
|
H.useEffect(() => {
|
|
218
|
-
|
|
219
|
-
}, [
|
|
220
|
-
const
|
|
221
|
-
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "
|
|
222
|
-
},
|
|
223
|
-
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "
|
|
224
|
-
},
|
|
225
|
-
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "accent", value: P });
|
|
226
|
-
}, W = (P) => {
|
|
227
|
-
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "slots", value: P });
|
|
228
|
-
}, G = (P) => {
|
|
229
|
-
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "thresholdEnabled", value: P });
|
|
230
|
-
}, g = (P) => {
|
|
231
|
-
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "accentEnabled", value: P });
|
|
232
|
-
}, C = s?.state.isDirty ?? !1, w = d;
|
|
122
|
+
c.includes(v) || w(p);
|
|
123
|
+
}, [c, v, p]);
|
|
124
|
+
const S = d != null ? s?.state?.bufferByCard?.[d]?.changes ?? {} : {}, C = typeof S.timeframe == "number" ? S.timeframe : typeof o?.timeframe == "number" ? o.timeframe : 30, O = Array.isArray(S.slots) ? S.slots : Array.isArray(o?.slots) ? o.slots : Ve, I = ($) => {
|
|
125
|
+
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "timeframe", value: Number($.target.value) });
|
|
126
|
+
}, R = ($) => {
|
|
127
|
+
d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "slots", value: $ });
|
|
128
|
+
}, N = s?.state.isDirty ?? !1, E = d;
|
|
233
129
|
return /* @__PURE__ */ a(
|
|
234
|
-
|
|
130
|
+
z,
|
|
235
131
|
{
|
|
236
132
|
variant: "with-stage",
|
|
237
133
|
onClose: () => s?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }),
|
|
238
|
-
stage: /* @__PURE__ */ a(
|
|
134
|
+
stage: /* @__PURE__ */ a(he, { span: g, rotating: !m, children: n ?? /* @__PURE__ */ b(ue, { children: [
|
|
239
135
|
/* @__PURE__ */ a("div", { style: { fontSize: 9, textTransform: "uppercase", letterSpacing: "0.06em", color: "#9ca3af", marginBottom: 6 }, children: r }),
|
|
240
136
|
/* @__PURE__ */ a("div", { style: { fontSize: 22, fontWeight: 700, color: "#111827", lineHeight: 1 }, children: l })
|
|
241
137
|
] }) }),
|
|
242
138
|
navigation: /* @__PURE__ */ a(
|
|
243
139
|
we,
|
|
244
140
|
{
|
|
245
|
-
dimensions:
|
|
246
|
-
activeTab:
|
|
247
|
-
onSelect:
|
|
141
|
+
dimensions: c,
|
|
142
|
+
activeTab: v,
|
|
143
|
+
onSelect: w,
|
|
248
144
|
reduced: m
|
|
249
145
|
}
|
|
250
146
|
),
|
|
@@ -255,9 +151,9 @@ function Pt({
|
|
|
255
151
|
id: "btn-reset",
|
|
256
152
|
type: "button",
|
|
257
153
|
className: "gloss-panel-chrome-v2__footer-btn",
|
|
258
|
-
disabled: !
|
|
154
|
+
disabled: !N,
|
|
259
155
|
onClick: () => {
|
|
260
|
-
|
|
156
|
+
E != null && s?.dispatch({ type: "CLEAR_BUFFER", cardId: E });
|
|
261
157
|
},
|
|
262
158
|
children: "Reset"
|
|
263
159
|
}
|
|
@@ -268,55 +164,66 @@ function Pt({
|
|
|
268
164
|
id: "settings-apply",
|
|
269
165
|
type: "button",
|
|
270
166
|
className: "gloss-panel-chrome-v2__footer-btn gloss-panel-chrome-v2__footer-btn--primary",
|
|
271
|
-
disabled: !
|
|
167
|
+
disabled: !N,
|
|
272
168
|
onClick: () => s?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }),
|
|
273
169
|
children: "Apply"
|
|
274
170
|
}
|
|
275
171
|
)
|
|
276
172
|
},
|
|
277
|
-
children: /* @__PURE__ */ a("div", { className: "settings-shell", "data-shell": "settings", "aria-hidden": !e, children: /* @__PURE__ */
|
|
173
|
+
children: /* @__PURE__ */ a("div", { className: "settings-shell", "data-shell": "settings", "aria-hidden": !e, children: /* @__PURE__ */ b(
|
|
278
174
|
"div",
|
|
279
175
|
{
|
|
280
176
|
role: "tabpanel",
|
|
281
|
-
id: `settings-tabpanel-${
|
|
177
|
+
id: `settings-tabpanel-${v}`,
|
|
282
178
|
"aria-label": "Settings dimension controls",
|
|
283
179
|
tabIndex: 0,
|
|
284
180
|
className: "settings-shell__tabpanel",
|
|
285
181
|
children: [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
{
|
|
289
|
-
value: N,
|
|
290
|
-
onChange: q,
|
|
291
|
-
enabled: S,
|
|
292
|
-
onToggleEnabled: G
|
|
293
|
-
}
|
|
294
|
-
),
|
|
295
|
-
_ === "timeframe" && /* @__PURE__ */ a(Ye, { value: I, onChange: Q }),
|
|
296
|
-
_ === "slots" && /* @__PURE__ */ a(Ke, { value: $, onChange: W }),
|
|
297
|
-
_ === "color" && /* @__PURE__ */ a(
|
|
298
|
-
Qe,
|
|
299
|
-
{
|
|
300
|
-
value: R,
|
|
301
|
-
onSelect: oe,
|
|
302
|
-
enabled: D,
|
|
303
|
-
onToggleEnabled: g
|
|
304
|
-
}
|
|
305
|
-
)
|
|
182
|
+
v === "timeframe" && /* @__PURE__ */ a(Be, { value: C, onChange: I }),
|
|
183
|
+
v === "slots" && /* @__PURE__ */ a(Ye, { value: O, onChange: R })
|
|
306
184
|
]
|
|
307
185
|
}
|
|
308
186
|
) })
|
|
309
187
|
}
|
|
310
188
|
);
|
|
311
189
|
}
|
|
312
|
-
|
|
190
|
+
function qe({
|
|
191
|
+
isOpen: e,
|
|
192
|
+
cardSpan: t,
|
|
193
|
+
previewSlot: r,
|
|
194
|
+
metricInfo: l
|
|
195
|
+
}) {
|
|
196
|
+
const n = D(), c = n?.state.activeTrigger, u = X(), o = c?.span;
|
|
197
|
+
return /* @__PURE__ */ a(
|
|
198
|
+
z,
|
|
199
|
+
{
|
|
200
|
+
variant: "with-stage",
|
|
201
|
+
onClose: () => n?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }),
|
|
202
|
+
stage: /* @__PURE__ */ a(he, { span: t ?? o ?? 1, rotating: !u, children: r }),
|
|
203
|
+
children: /* @__PURE__ */ b(
|
|
204
|
+
"div",
|
|
205
|
+
{
|
|
206
|
+
className: "metric-info-shell",
|
|
207
|
+
"data-shell": "metric-info",
|
|
208
|
+
"aria-hidden": !e,
|
|
209
|
+
children: [
|
|
210
|
+
/* @__PURE__ */ a("h2", { className: "metric-info-shell__title", children: l.title }),
|
|
211
|
+
/* @__PURE__ */ a("p", { className: "metric-info-shell__description", children: l.description })
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
)
|
|
215
|
+
}
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
qe.displayName = "MetricInfoShell";
|
|
219
|
+
const fe = [
|
|
313
220
|
"Revenue",
|
|
314
221
|
"Order flow",
|
|
315
222
|
"Rep performance",
|
|
316
223
|
"Brand portfolio",
|
|
317
224
|
"Account coverage",
|
|
318
225
|
"Commission"
|
|
319
|
-
],
|
|
226
|
+
], ge = "Revenue", ye = {
|
|
320
227
|
Revenue: {
|
|
321
228
|
headline: "Are we hitting our number?",
|
|
322
229
|
helper: "Top-line sales, growth, average order value, and pace-to-plan signals."
|
|
@@ -341,7 +248,7 @@ const be = [
|
|
|
341
248
|
headline: "What's our commission rate?",
|
|
342
249
|
helper: "Outstanding balances, aging buckets, and effective commission yield."
|
|
343
250
|
}
|
|
344
|
-
},
|
|
251
|
+
}, be = {
|
|
345
252
|
Revenue: {
|
|
346
253
|
primary: [
|
|
347
254
|
{
|
|
@@ -626,46 +533,46 @@ const be = [
|
|
|
626
533
|
]
|
|
627
534
|
}
|
|
628
535
|
};
|
|
629
|
-
function
|
|
536
|
+
function ve({
|
|
630
537
|
lenses: e,
|
|
631
538
|
activeLens: t,
|
|
632
539
|
onLensChange: r,
|
|
633
540
|
variant: l = "pills",
|
|
634
|
-
lensMeta: n =
|
|
541
|
+
lensMeta: n = ye
|
|
635
542
|
}) {
|
|
636
|
-
return l === "pills" ? /* @__PURE__ */ a("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ a("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((
|
|
637
|
-
const u =
|
|
638
|
-
return u && s.push("active"), /* @__PURE__ */
|
|
543
|
+
return l === "pills" ? /* @__PURE__ */ a("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ a("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((c) => {
|
|
544
|
+
const u = c === t, o = n[c], s = ["cat-pill"];
|
|
545
|
+
return u && s.push("active"), /* @__PURE__ */ b(
|
|
639
546
|
"button",
|
|
640
547
|
{
|
|
641
548
|
type: "button",
|
|
642
549
|
role: "tab",
|
|
643
550
|
"aria-selected": u,
|
|
644
551
|
className: s.join(" "),
|
|
645
|
-
"data-lens":
|
|
552
|
+
"data-lens": c,
|
|
646
553
|
onClick: () => {
|
|
647
|
-
u || r(
|
|
554
|
+
u || r(c);
|
|
648
555
|
},
|
|
649
556
|
children: [
|
|
650
|
-
|
|
557
|
+
c,
|
|
651
558
|
o?.beta && /* @__PURE__ */ a("span", { className: "cat-pill-beta", "aria-label": "Beta", children: "BETA" })
|
|
652
559
|
]
|
|
653
560
|
},
|
|
654
|
-
|
|
561
|
+
c
|
|
655
562
|
);
|
|
656
|
-
}) }) }) : /* @__PURE__ */ a(
|
|
563
|
+
}) }) }) : /* @__PURE__ */ a(Qe, { lenses: e, activeLens: t, onLensChange: r });
|
|
657
564
|
}
|
|
658
|
-
function
|
|
565
|
+
function Qe({
|
|
659
566
|
lenses: e,
|
|
660
567
|
activeLens: t,
|
|
661
568
|
onLensChange: r
|
|
662
569
|
}) {
|
|
663
|
-
const [l, n] =
|
|
664
|
-
|
|
570
|
+
const [l, n] = x(!1), c = Y(null), u = () => {
|
|
571
|
+
c.current != null && (window.clearTimeout(c.current), c.current = null);
|
|
665
572
|
}, o = () => {
|
|
666
|
-
u(),
|
|
667
|
-
}, s = e.filter((
|
|
668
|
-
return /* @__PURE__ */ a("div", { className: "cat-segmented-wrap", children: /* @__PURE__ */
|
|
573
|
+
u(), c.current = window.setTimeout(() => n(!1), 100);
|
|
574
|
+
}, s = e.filter((i) => i !== t);
|
|
575
|
+
return /* @__PURE__ */ a("div", { className: "cat-segmented-wrap", children: /* @__PURE__ */ b("div", { className: "cat-segmented", children: [
|
|
669
576
|
/* @__PURE__ */ a(
|
|
670
577
|
"button",
|
|
671
578
|
{
|
|
@@ -676,7 +583,7 @@ function je({
|
|
|
676
583
|
children: t
|
|
677
584
|
}
|
|
678
585
|
),
|
|
679
|
-
/* @__PURE__ */
|
|
586
|
+
/* @__PURE__ */ b(
|
|
680
587
|
"div",
|
|
681
588
|
{
|
|
682
589
|
className: "cat-seg-more",
|
|
@@ -693,18 +600,18 @@ function je({
|
|
|
693
600
|
role: "menu",
|
|
694
601
|
onMouseEnter: u,
|
|
695
602
|
onMouseLeave: o,
|
|
696
|
-
children: s.map((
|
|
603
|
+
children: s.map((i) => /* @__PURE__ */ a(
|
|
697
604
|
"button",
|
|
698
605
|
{
|
|
699
606
|
type: "button",
|
|
700
|
-
"data-lens":
|
|
607
|
+
"data-lens": i,
|
|
701
608
|
role: "menuitem",
|
|
702
609
|
onClick: () => {
|
|
703
|
-
r(
|
|
610
|
+
r(i), n(!1);
|
|
704
611
|
},
|
|
705
|
-
children:
|
|
612
|
+
children: i
|
|
706
613
|
},
|
|
707
|
-
|
|
614
|
+
i
|
|
708
615
|
))
|
|
709
616
|
}
|
|
710
617
|
)
|
|
@@ -713,14 +620,14 @@ function je({
|
|
|
713
620
|
)
|
|
714
621
|
] }) });
|
|
715
622
|
}
|
|
716
|
-
function
|
|
623
|
+
function j({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
|
|
717
624
|
return /* @__PURE__ */ a("div", { className: "cat-tiles", children: e.map((n) => {
|
|
718
|
-
const
|
|
625
|
+
const c = n.id === t, u = n.subStats != null && n.subStats.length > 0;
|
|
719
626
|
let o = null;
|
|
720
627
|
u ? n.subStats.length === 5 ? o = "span-5" : n.subStats.length === 3 ? o = "span-3" : o = "span-2" : n.stack === !0 && (o = "span-2");
|
|
721
628
|
const s = ["cat-tile"];
|
|
722
|
-
o && s.push(o),
|
|
723
|
-
const
|
|
629
|
+
o && s.push(o), c && s.push("selected"), n.isNew && s.push("is-new"), n.startHere && s.push("start-here"), n.donut && s.push("has-donut");
|
|
630
|
+
const i = 1;
|
|
724
631
|
let d = 0.7;
|
|
725
632
|
if (n.donut) {
|
|
726
633
|
const m = /([\d.]+)\s*%/.exec(n.value);
|
|
@@ -729,17 +636,17 @@ function te({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
|
|
|
729
636
|
Number.isFinite(h) && (d = Math.max(0, Math.min(1, h / 100)));
|
|
730
637
|
}
|
|
731
638
|
}
|
|
732
|
-
return /* @__PURE__ */
|
|
639
|
+
return /* @__PURE__ */ b(
|
|
733
640
|
"button",
|
|
734
641
|
{
|
|
735
642
|
type: "button",
|
|
736
643
|
className: s.join(" "),
|
|
737
644
|
"data-metric": n.id,
|
|
738
645
|
"data-desc": n.desc,
|
|
739
|
-
"data-col-span": String(
|
|
646
|
+
"data-col-span": String(i),
|
|
740
647
|
"data-donut": n.donut ? "true" : void 0,
|
|
741
648
|
"data-accent": n.accent,
|
|
742
|
-
"aria-pressed":
|
|
649
|
+
"aria-pressed": c,
|
|
743
650
|
onClick: () => r(n.id, n.desc),
|
|
744
651
|
style: n.accent ? { "--cat-tile-accent": n.accent } : void 0,
|
|
745
652
|
children: [
|
|
@@ -752,7 +659,7 @@ function te({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
|
|
|
752
659
|
style: { pointerEvents: "none", width: "100%", height: "100%" },
|
|
753
660
|
"aria-hidden": "true",
|
|
754
661
|
children: n.donut ? /* @__PURE__ */ a(
|
|
755
|
-
|
|
662
|
+
oe,
|
|
756
663
|
{
|
|
757
664
|
variant: "donut",
|
|
758
665
|
label: n.label,
|
|
@@ -760,15 +667,15 @@ function te({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
|
|
|
760
667
|
donutValue: d,
|
|
761
668
|
donutMax: 1,
|
|
762
669
|
accentColor: n.accent,
|
|
763
|
-
colSpan:
|
|
670
|
+
colSpan: i
|
|
764
671
|
}
|
|
765
672
|
) : /* @__PURE__ */ a(
|
|
766
|
-
|
|
673
|
+
oe,
|
|
767
674
|
{
|
|
768
675
|
variant: "standard",
|
|
769
676
|
label: n.label,
|
|
770
677
|
value: n.value,
|
|
771
|
-
colSpan:
|
|
678
|
+
colSpan: i
|
|
772
679
|
}
|
|
773
680
|
)
|
|
774
681
|
}
|
|
@@ -781,17 +688,17 @@ function te({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
|
|
|
781
688
|
);
|
|
782
689
|
}) });
|
|
783
690
|
}
|
|
784
|
-
const
|
|
785
|
-
function
|
|
786
|
-
return
|
|
691
|
+
const J = pe(null);
|
|
692
|
+
function ee() {
|
|
693
|
+
return me(J);
|
|
787
694
|
}
|
|
788
|
-
function
|
|
789
|
-
const r =
|
|
695
|
+
function wt({ mode: e, dispatch: t }) {
|
|
696
|
+
const r = ee();
|
|
790
697
|
if (r == null && e == null) return null;
|
|
791
|
-
const l = r?.mode ?? e ?? "add", n = r?.selectedTileId ?? null,
|
|
792
|
-
return /* @__PURE__ */
|
|
793
|
-
/* @__PURE__ */ a("div", { className: "cat-description", id: "cat-desc", children:
|
|
794
|
-
/* @__PURE__ */
|
|
698
|
+
const l = r?.mode ?? e ?? "add", n = r?.selectedTileId ?? null, c = r?.description ?? null, u = n == null;
|
|
699
|
+
return /* @__PURE__ */ b("div", { className: "panel-footer catalog", children: [
|
|
700
|
+
/* @__PURE__ */ a("div", { className: "cat-description", id: "cat-desc", children: c ?? /* @__PURE__ */ a("em", { children: "Tap a metric to see its description" }) }),
|
|
701
|
+
/* @__PURE__ */ b("div", { style: { display: "flex", padding: "10px 14px", gap: 8 }, children: [
|
|
795
702
|
/* @__PURE__ */ a("div", { className: "spacer", style: { flex: 1 } }),
|
|
796
703
|
/* @__PURE__ */ a(
|
|
797
704
|
"button",
|
|
@@ -828,7 +735,7 @@ function At({ mode: e, dispatch: t }) {
|
|
|
828
735
|
] })
|
|
829
736
|
] });
|
|
830
737
|
}
|
|
831
|
-
function
|
|
738
|
+
function le(e, t) {
|
|
832
739
|
if (t.length === 0) return !0;
|
|
833
740
|
const r = t.toLowerCase();
|
|
834
741
|
if (e.label.toLowerCase().includes(r) || e.value.toLowerCase().includes(r)) return !0;
|
|
@@ -838,53 +745,53 @@ function de(e, t) {
|
|
|
838
745
|
}
|
|
839
746
|
return !1;
|
|
840
747
|
}
|
|
841
|
-
function
|
|
842
|
-
const t =
|
|
748
|
+
function We() {
|
|
749
|
+
const t = ee()?.description ?? null;
|
|
843
750
|
return t == null ? /* @__PURE__ */ a("span", { style: { fontStyle: "italic" }, children: "Tap a metric to see its description" }) : /* @__PURE__ */ a("span", { children: t });
|
|
844
751
|
}
|
|
845
|
-
function
|
|
752
|
+
function Tt({
|
|
846
753
|
isOpen: e,
|
|
847
|
-
lenses: t =
|
|
848
|
-
defaultLens: r =
|
|
849
|
-
tilesByLens: l =
|
|
850
|
-
lensMeta: n =
|
|
851
|
-
renderTile:
|
|
754
|
+
lenses: t = fe,
|
|
755
|
+
defaultLens: r = ge,
|
|
756
|
+
tilesByLens: l = be,
|
|
757
|
+
lensMeta: n = ye,
|
|
758
|
+
renderTile: c,
|
|
852
759
|
onAdd: u
|
|
853
760
|
}) {
|
|
854
|
-
const o =
|
|
855
|
-
() =>
|
|
856
|
-
[
|
|
857
|
-
),
|
|
858
|
-
() => (
|
|
859
|
-
[
|
|
860
|
-
),
|
|
761
|
+
const o = D(), [s, i] = x(r), [d, m] = x(null), [h, g] = x(null), [p, v] = x(""), w = l[s] ?? { primary: [] }, _ = n[s], S = se(
|
|
762
|
+
() => w.primary.filter((N) => le(N, p)),
|
|
763
|
+
[w.primary, p]
|
|
764
|
+
), C = se(
|
|
765
|
+
() => (w.secondary ?? []).filter((N) => le(N, p)),
|
|
766
|
+
[w.secondary, p]
|
|
767
|
+
), O = () => {
|
|
861
768
|
d != null && u?.(d), o?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" });
|
|
862
|
-
},
|
|
769
|
+
}, I = () => o?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), R = d == null;
|
|
863
770
|
return /* @__PURE__ */ a(
|
|
864
|
-
|
|
771
|
+
J.Provider,
|
|
865
772
|
{
|
|
866
773
|
value: { mode: "add", selectedTileId: d, description: h },
|
|
867
774
|
children: /* @__PURE__ */ a(
|
|
868
|
-
|
|
775
|
+
z,
|
|
869
776
|
{
|
|
870
777
|
variant: "no-stage",
|
|
871
778
|
title: "Add a metric",
|
|
872
|
-
onClose:
|
|
779
|
+
onClose: I,
|
|
873
780
|
footer: {
|
|
874
|
-
left: /* @__PURE__ */ a(
|
|
781
|
+
left: /* @__PURE__ */ a(We, {}),
|
|
875
782
|
right: /* @__PURE__ */ a(
|
|
876
783
|
"button",
|
|
877
784
|
{
|
|
878
785
|
id: "btn-cat-add",
|
|
879
786
|
type: "button",
|
|
880
787
|
className: "gloss-panel-chrome-v2__footer-btn gloss-panel-chrome-v2__footer-btn--primary",
|
|
881
|
-
disabled:
|
|
882
|
-
onClick:
|
|
788
|
+
disabled: R,
|
|
789
|
+
onClick: O,
|
|
883
790
|
children: "Add metric"
|
|
884
791
|
}
|
|
885
792
|
)
|
|
886
793
|
},
|
|
887
|
-
children: /* @__PURE__ */
|
|
794
|
+
children: /* @__PURE__ */ b("div", { "data-shell": "catalog-add", "aria-hidden": !e, children: [
|
|
888
795
|
/* @__PURE__ */ a("div", { className: "cat-search", children: /* @__PURE__ */ a(
|
|
889
796
|
"input",
|
|
890
797
|
{
|
|
@@ -893,51 +800,51 @@ function xt({
|
|
|
893
800
|
placeholder: "Search metrics",
|
|
894
801
|
"aria-label": "Search metrics",
|
|
895
802
|
value: p,
|
|
896
|
-
onChange: (
|
|
803
|
+
onChange: (N) => v(N.target.value)
|
|
897
804
|
}
|
|
898
805
|
) }),
|
|
899
806
|
/* @__PURE__ */ a(
|
|
900
|
-
|
|
807
|
+
ve,
|
|
901
808
|
{
|
|
902
809
|
lenses: t,
|
|
903
810
|
activeLens: s,
|
|
904
811
|
lensMeta: n,
|
|
905
812
|
variant: "pills",
|
|
906
|
-
onLensChange: (
|
|
907
|
-
|
|
813
|
+
onLensChange: (N) => {
|
|
814
|
+
i(N), m(null), g(null), v("");
|
|
908
815
|
}
|
|
909
816
|
}
|
|
910
817
|
),
|
|
911
|
-
|
|
912
|
-
/* @__PURE__ */ a("h3", { className: "cat-lens-headline", children:
|
|
913
|
-
/* @__PURE__ */ a("p", { className: "cat-lens-helper", children:
|
|
818
|
+
_ && /* @__PURE__ */ b("div", { className: "cat-lens-meta", children: [
|
|
819
|
+
/* @__PURE__ */ a("h3", { className: "cat-lens-headline", children: _.headline }),
|
|
820
|
+
/* @__PURE__ */ a("p", { className: "cat-lens-helper", children: _.helper })
|
|
914
821
|
] }),
|
|
915
822
|
/* @__PURE__ */ a(
|
|
916
|
-
|
|
823
|
+
j,
|
|
917
824
|
{
|
|
918
|
-
tiles:
|
|
825
|
+
tiles: S,
|
|
919
826
|
selectedTileId: d,
|
|
920
|
-
onSelectTile: (
|
|
921
|
-
m(
|
|
827
|
+
onSelectTile: (N, E) => {
|
|
828
|
+
m(N), g(E);
|
|
922
829
|
},
|
|
923
|
-
renderTile:
|
|
830
|
+
renderTile: c
|
|
924
831
|
}
|
|
925
832
|
),
|
|
926
|
-
|
|
833
|
+
C.length > 0 && /* @__PURE__ */ b("div", { className: "cat-more-in-lens", children: [
|
|
927
834
|
/* @__PURE__ */ a("div", { className: "cat-more-in-lens__heading", children: "MORE IN THIS LENS" }),
|
|
928
835
|
/* @__PURE__ */ a(
|
|
929
|
-
|
|
836
|
+
j,
|
|
930
837
|
{
|
|
931
|
-
tiles:
|
|
838
|
+
tiles: C,
|
|
932
839
|
selectedTileId: d,
|
|
933
|
-
onSelectTile: (
|
|
934
|
-
m(
|
|
840
|
+
onSelectTile: (N, E) => {
|
|
841
|
+
m(N), g(E);
|
|
935
842
|
},
|
|
936
|
-
renderTile:
|
|
843
|
+
renderTile: c
|
|
937
844
|
}
|
|
938
845
|
)
|
|
939
846
|
] }),
|
|
940
|
-
|
|
847
|
+
S.length === 0 && C.length === 0 && p.length > 0 && /* @__PURE__ */ b("div", { className: "cat-empty", children: [
|
|
941
848
|
'No metrics match "',
|
|
942
849
|
p,
|
|
943
850
|
'".'
|
|
@@ -948,67 +855,67 @@ function xt({
|
|
|
948
855
|
}
|
|
949
856
|
);
|
|
950
857
|
}
|
|
951
|
-
function
|
|
952
|
-
const t =
|
|
953
|
-
return t == null ? /* @__PURE__ */ a("em", { children: "Tap a metric to see its description" }) : /* @__PURE__ */ a(
|
|
858
|
+
function Ge() {
|
|
859
|
+
const t = ee()?.description ?? null;
|
|
860
|
+
return t == null ? /* @__PURE__ */ a("em", { children: "Tap a metric to see its description" }) : /* @__PURE__ */ a(ue, { children: t });
|
|
954
861
|
}
|
|
955
|
-
function
|
|
862
|
+
function xt({
|
|
956
863
|
isOpen: e,
|
|
957
864
|
replacingLabel: t,
|
|
958
|
-
lenses: r =
|
|
959
|
-
defaultLens: l =
|
|
960
|
-
tilesByLens: n =
|
|
961
|
-
renderTile:
|
|
865
|
+
lenses: r = fe,
|
|
866
|
+
defaultLens: l = ge,
|
|
867
|
+
tilesByLens: n = be,
|
|
868
|
+
renderTile: c
|
|
962
869
|
}) {
|
|
963
|
-
const u =
|
|
870
|
+
const u = D(), [o, s] = x(l), [i, d] = x(null), [m, h] = x(null), g = n[o] ?? { primary: [] }, p = [...g.primary, ...g.secondary ?? []], v = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), w = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), _ = i == null;
|
|
964
871
|
return /* @__PURE__ */ a(
|
|
965
|
-
|
|
872
|
+
J.Provider,
|
|
966
873
|
{
|
|
967
|
-
value: { mode: "replace", selectedTileId:
|
|
874
|
+
value: { mode: "replace", selectedTileId: i, description: m },
|
|
968
875
|
children: /* @__PURE__ */ a(
|
|
969
|
-
|
|
876
|
+
z,
|
|
970
877
|
{
|
|
971
878
|
variant: "no-stage",
|
|
972
879
|
title: "Replace metric",
|
|
973
|
-
onClose:
|
|
880
|
+
onClose: w,
|
|
974
881
|
footer: {
|
|
975
|
-
left: /* @__PURE__ */ a(
|
|
882
|
+
left: /* @__PURE__ */ a(Ge, {}),
|
|
976
883
|
right: /* @__PURE__ */ a(
|
|
977
884
|
"button",
|
|
978
885
|
{
|
|
979
886
|
id: "btn-cat-replace",
|
|
980
887
|
type: "button",
|
|
981
888
|
className: "gloss-panel-chrome-v2__footer-btn gloss-panel-chrome-v2__footer-btn--primary",
|
|
982
|
-
disabled:
|
|
983
|
-
onClick:
|
|
889
|
+
disabled: _,
|
|
890
|
+
onClick: v,
|
|
984
891
|
children: "Replace metric"
|
|
985
892
|
}
|
|
986
893
|
)
|
|
987
894
|
},
|
|
988
|
-
children: /* @__PURE__ */
|
|
989
|
-
t && /* @__PURE__ */
|
|
895
|
+
children: /* @__PURE__ */ b("div", { "data-shell": "catalog-replace", "aria-hidden": !e, children: [
|
|
896
|
+
t && /* @__PURE__ */ b("p", { className: "cat-subtitle", children: [
|
|
990
897
|
"replacing ",
|
|
991
898
|
t
|
|
992
899
|
] }),
|
|
993
900
|
/* @__PURE__ */ a(
|
|
994
|
-
|
|
901
|
+
ve,
|
|
995
902
|
{
|
|
996
903
|
lenses: r,
|
|
997
904
|
activeLens: o,
|
|
998
|
-
onLensChange: (
|
|
999
|
-
s(
|
|
905
|
+
onLensChange: (S) => {
|
|
906
|
+
s(S), d(null), h(null);
|
|
1000
907
|
}
|
|
1001
908
|
}
|
|
1002
909
|
),
|
|
1003
910
|
/* @__PURE__ */ a(
|
|
1004
|
-
|
|
911
|
+
j,
|
|
1005
912
|
{
|
|
1006
913
|
tiles: p,
|
|
1007
|
-
selectedTileId:
|
|
1008
|
-
onSelectTile: (
|
|
1009
|
-
d(
|
|
914
|
+
selectedTileId: i,
|
|
915
|
+
onSelectTile: (S, C) => {
|
|
916
|
+
d(S), h(C);
|
|
1010
917
|
},
|
|
1011
|
-
renderTile:
|
|
918
|
+
renderTile: c
|
|
1012
919
|
}
|
|
1013
920
|
)
|
|
1014
921
|
] })
|
|
@@ -1017,13 +924,13 @@ function kt({
|
|
|
1017
924
|
}
|
|
1018
925
|
);
|
|
1019
926
|
}
|
|
1020
|
-
const
|
|
1021
|
-
function
|
|
1022
|
-
return
|
|
927
|
+
const Ce = pe(null);
|
|
928
|
+
function Ne() {
|
|
929
|
+
return me(Ce);
|
|
1023
930
|
}
|
|
1024
|
-
function
|
|
1025
|
-
const t =
|
|
1026
|
-
return /* @__PURE__ */
|
|
931
|
+
function je(e = {}) {
|
|
932
|
+
const t = Ne(), r = t?.createPage, l = t?.setPages;
|
|
933
|
+
return /* @__PURE__ */ b(
|
|
1027
934
|
"div",
|
|
1028
935
|
{
|
|
1029
936
|
className: "panel-footer pm",
|
|
@@ -1053,28 +960,28 @@ function Je(e = {}) {
|
|
|
1053
960
|
}
|
|
1054
961
|
);
|
|
1055
962
|
}
|
|
1056
|
-
function
|
|
1057
|
-
const
|
|
963
|
+
function ie({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: n }) {
|
|
964
|
+
const c = Ne(), [u, o] = x(!1), s = Y(null);
|
|
1058
965
|
F(() => {
|
|
1059
966
|
if (!u) return;
|
|
1060
|
-
const p = (
|
|
1061
|
-
s.current && (s.current.contains(
|
|
967
|
+
const p = (v) => {
|
|
968
|
+
s.current && (s.current.contains(v.target) || o(!1));
|
|
1062
969
|
};
|
|
1063
970
|
return document.addEventListener("mousedown", p, !0), () => document.removeEventListener("mousedown", p, !0);
|
|
1064
971
|
}, [u]);
|
|
1065
|
-
const
|
|
972
|
+
const i = () => {
|
|
1066
973
|
if (o(!1), t) return t(e.id);
|
|
1067
|
-
if (!
|
|
974
|
+
if (!c?.renamePage) return;
|
|
1068
975
|
const p = window.prompt("Rename page", e.name);
|
|
1069
|
-
p != null && p.trim().length > 0 &&
|
|
976
|
+
p != null && p.trim().length > 0 && c.renamePage(e.id, p.trim());
|
|
1070
977
|
}, d = () => {
|
|
1071
|
-
o(!1),
|
|
978
|
+
o(!1), c?.duplicatePage?.(e.id);
|
|
1072
979
|
}, m = () => {
|
|
1073
|
-
o(!1),
|
|
980
|
+
o(!1), c?.deletePage?.(e.id);
|
|
1074
981
|
}, h = (p) => {
|
|
1075
982
|
p.stopPropagation(), n && !e.active && n(e.id);
|
|
1076
|
-
},
|
|
1077
|
-
return e.active &&
|
|
983
|
+
}, g = ["pm-row"];
|
|
984
|
+
return e.active && g.push("active"), /* @__PURE__ */ b("div", { ref: s, className: g.join(" "), "data-page-id": e.id, role: "listitem", children: [
|
|
1078
985
|
/* @__PURE__ */ a(
|
|
1079
986
|
"div",
|
|
1080
987
|
{
|
|
@@ -1110,12 +1017,12 @@ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: n
|
|
|
1110
1017
|
onMouseDown: (p) => p.stopPropagation(),
|
|
1111
1018
|
onClick: (p) => {
|
|
1112
1019
|
if (p.stopPropagation(), r) return r(e.id);
|
|
1113
|
-
o((
|
|
1020
|
+
o((v) => !v);
|
|
1114
1021
|
},
|
|
1115
1022
|
children: "⋯"
|
|
1116
1023
|
}
|
|
1117
1024
|
),
|
|
1118
|
-
u && /* @__PURE__ */
|
|
1025
|
+
u && /* @__PURE__ */ b(
|
|
1119
1026
|
"div",
|
|
1120
1027
|
{
|
|
1121
1028
|
className: "pm-kebab-menu",
|
|
@@ -1124,7 +1031,7 @@ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: n
|
|
|
1124
1031
|
onPointerDown: (p) => p.stopPropagation(),
|
|
1125
1032
|
onMouseDown: (p) => p.stopPropagation(),
|
|
1126
1033
|
children: [
|
|
1127
|
-
/* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick:
|
|
1034
|
+
/* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: i, children: "Rename" }),
|
|
1128
1035
|
/* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: d, children: "Duplicate" }),
|
|
1129
1036
|
/* @__PURE__ */ a(
|
|
1130
1037
|
"button",
|
|
@@ -1141,121 +1048,121 @@ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: n
|
|
|
1141
1048
|
)
|
|
1142
1049
|
] });
|
|
1143
1050
|
}
|
|
1144
|
-
const
|
|
1051
|
+
const Ze = [
|
|
1145
1052
|
{ id: "p-pipeline", name: "My Pipeline", active: !0 },
|
|
1146
1053
|
{ id: "p-numbers", name: "My Numbers", active: !1 },
|
|
1147
1054
|
{ id: "p-morning", name: "My Morning", active: !1 },
|
|
1148
1055
|
{ id: "p-accounts", name: "My Accounts", active: !1 }
|
|
1149
1056
|
];
|
|
1150
|
-
function
|
|
1057
|
+
function Et({
|
|
1151
1058
|
isOpen: e,
|
|
1152
|
-
pages: t =
|
|
1059
|
+
pages: t = Ze,
|
|
1153
1060
|
externalPages: r,
|
|
1154
1061
|
activePageId: l,
|
|
1155
1062
|
onRename: n,
|
|
1156
|
-
onDuplicate:
|
|
1063
|
+
onDuplicate: c,
|
|
1157
1064
|
onDelete: u,
|
|
1158
1065
|
onReorder: o,
|
|
1159
1066
|
onCreatePage: s,
|
|
1160
|
-
onSwitchPage:
|
|
1067
|
+
onSwitchPage: i
|
|
1161
1068
|
}) {
|
|
1162
|
-
const d =
|
|
1163
|
-
h((
|
|
1164
|
-
}, []), p = L((
|
|
1165
|
-
h((
|
|
1166
|
-
const
|
|
1167
|
-
if (!
|
|
1168
|
-
const
|
|
1169
|
-
id: `${
|
|
1170
|
-
name: `${
|
|
1069
|
+
const d = D(), [m, h] = x(() => [...t]), g = L((f, P) => {
|
|
1070
|
+
h((T) => T.map((A) => A.id === f ? { ...A, name: P } : A));
|
|
1071
|
+
}, []), p = L((f) => {
|
|
1072
|
+
h((P) => {
|
|
1073
|
+
const T = P.find((V) => V.id === f);
|
|
1074
|
+
if (!T) return P;
|
|
1075
|
+
const A = {
|
|
1076
|
+
id: `${T.id}-copy-${Date.now()}`,
|
|
1077
|
+
name: `${T.name} copy`,
|
|
1171
1078
|
active: !1
|
|
1172
|
-
}, k =
|
|
1173
|
-
return [...
|
|
1079
|
+
}, k = P.findIndex((V) => V.id === f);
|
|
1080
|
+
return [...P.slice(0, k + 1), A, ...P.slice(k + 1)];
|
|
1174
1081
|
});
|
|
1175
|
-
}, []),
|
|
1176
|
-
h((
|
|
1177
|
-
}, []),
|
|
1178
|
-
h((
|
|
1179
|
-
const
|
|
1180
|
-
return
|
|
1082
|
+
}, []), v = L((f) => {
|
|
1083
|
+
h((P) => P.filter((T) => T.id !== f));
|
|
1084
|
+
}, []), w = L((f) => {
|
|
1085
|
+
h((P) => {
|
|
1086
|
+
const T = new Map(P.map((k) => [k.id, k])), A = f.map((k) => T.get(k)).filter(Boolean);
|
|
1087
|
+
return A.length === P.length ? A : P;
|
|
1181
1088
|
});
|
|
1182
|
-
}, []),
|
|
1183
|
-
(
|
|
1184
|
-
|
|
1089
|
+
}, []), _ = r != null, S = _ ? r : m, C = l != null ? S.map((f) => ({ ...f, active: f.id === l })) : [...S], O = n ?? (_ ? void 0 : g), I = c ?? (_ ? void 0 : p), R = u ?? (_ ? void 0 : v), N = o ?? (_ ? void 0 : w), E = L(
|
|
1090
|
+
(f) => {
|
|
1091
|
+
_ || h(f);
|
|
1185
1092
|
},
|
|
1186
|
-
[
|
|
1187
|
-
),
|
|
1188
|
-
(
|
|
1189
|
-
const
|
|
1190
|
-
|
|
1093
|
+
[_]
|
|
1094
|
+
), ne = L(
|
|
1095
|
+
(f) => {
|
|
1096
|
+
const P = f[0]?.items.map((T) => T.id) ?? [];
|
|
1097
|
+
P.length > 0 && N && N(P);
|
|
1191
1098
|
},
|
|
1192
|
-
[
|
|
1193
|
-
),
|
|
1099
|
+
[N]
|
|
1100
|
+
), ae = C.map((f) => `${f.id}:${f.name}`).join("|"), $ = N != null && C.length > 1 ? /* @__PURE__ */ a(
|
|
1194
1101
|
Te,
|
|
1195
1102
|
{
|
|
1196
1103
|
zones: [
|
|
1197
1104
|
{
|
|
1198
1105
|
zoneKey: "pm-pages",
|
|
1199
|
-
items:
|
|
1106
|
+
items: C.map((f) => ({ ...f, id: f.id }))
|
|
1200
1107
|
}
|
|
1201
1108
|
],
|
|
1202
|
-
onZoneChange:
|
|
1203
|
-
renderZone: (
|
|
1204
|
-
renderItem: (
|
|
1205
|
-
|
|
1109
|
+
onZoneChange: ne,
|
|
1110
|
+
renderZone: (f, P, T) => /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children: T }),
|
|
1111
|
+
renderItem: (f) => /* @__PURE__ */ a(
|
|
1112
|
+
ie,
|
|
1206
1113
|
{
|
|
1207
|
-
page:
|
|
1208
|
-
onSwitchPage:
|
|
1114
|
+
page: f,
|
|
1115
|
+
onSwitchPage: i
|
|
1209
1116
|
},
|
|
1210
|
-
|
|
1117
|
+
f.id
|
|
1211
1118
|
)
|
|
1212
1119
|
},
|
|
1213
|
-
|
|
1214
|
-
) : /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children:
|
|
1215
|
-
|
|
1120
|
+
ae
|
|
1121
|
+
) : /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children: C.map((f) => /* @__PURE__ */ a(
|
|
1122
|
+
ie,
|
|
1216
1123
|
{
|
|
1217
|
-
page:
|
|
1218
|
-
onSwitchPage:
|
|
1124
|
+
page: f,
|
|
1125
|
+
onSwitchPage: i
|
|
1219
1126
|
},
|
|
1220
|
-
|
|
1221
|
-
)) }),
|
|
1127
|
+
f.id
|
|
1128
|
+
)) }), Pe = () => d?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" });
|
|
1222
1129
|
return /* @__PURE__ */ a(
|
|
1223
|
-
|
|
1130
|
+
Ce.Provider,
|
|
1224
1131
|
{
|
|
1225
1132
|
value: {
|
|
1226
|
-
pages:
|
|
1227
|
-
setPages:
|
|
1228
|
-
renamePage:
|
|
1229
|
-
duplicatePage:
|
|
1230
|
-
deletePage:
|
|
1133
|
+
pages: C,
|
|
1134
|
+
setPages: E,
|
|
1135
|
+
renamePage: O,
|
|
1136
|
+
duplicatePage: I,
|
|
1137
|
+
deletePage: R,
|
|
1231
1138
|
// Sprint 2026-05-20 — propagate live create binding for footer.
|
|
1232
1139
|
createPage: s
|
|
1233
1140
|
},
|
|
1234
1141
|
children: /* @__PURE__ */ a(
|
|
1235
|
-
|
|
1142
|
+
z,
|
|
1236
1143
|
{
|
|
1237
1144
|
variant: "no-stage",
|
|
1238
1145
|
title: "Manage pages",
|
|
1239
|
-
onClose:
|
|
1240
|
-
footer: { right: /* @__PURE__ */ a(
|
|
1241
|
-
children: /* @__PURE__ */ a("div", { "data-shell": "page-management", "aria-hidden": !e, children:
|
|
1146
|
+
onClose: Pe,
|
|
1147
|
+
footer: { right: /* @__PURE__ */ a(je, {}) },
|
|
1148
|
+
children: /* @__PURE__ */ a("div", { "data-shell": "page-management", "aria-hidden": !e, children: $ })
|
|
1242
1149
|
}
|
|
1243
1150
|
)
|
|
1244
1151
|
}
|
|
1245
1152
|
);
|
|
1246
1153
|
}
|
|
1247
|
-
const
|
|
1154
|
+
const At = {
|
|
1248
1155
|
SETTINGS: "settings",
|
|
1249
1156
|
CATALOG_ADD: "catalog-add",
|
|
1250
1157
|
CATALOG_REPLACE: "catalog-replace",
|
|
1251
1158
|
PAGE_MGMT: "page-management",
|
|
1252
1159
|
NOTIFICATION_CENTER: "notification-center"
|
|
1253
|
-
},
|
|
1160
|
+
}, Xe = {
|
|
1254
1161
|
position: "fixed",
|
|
1255
1162
|
inset: 0,
|
|
1256
1163
|
pointerEvents: "none",
|
|
1257
1164
|
zIndex: 55
|
|
1258
|
-
},
|
|
1165
|
+
}, Je = {
|
|
1259
1166
|
position: "absolute",
|
|
1260
1167
|
inset: 0,
|
|
1261
1168
|
zIndex: 1,
|
|
@@ -1264,17 +1171,17 @@ const Lt = {
|
|
|
1264
1171
|
pointerEvents: "none",
|
|
1265
1172
|
background: "rgba(0, 0, 0, 0.04)"
|
|
1266
1173
|
};
|
|
1267
|
-
function
|
|
1268
|
-
const { state: e, dispatch: t, getCloseLog: r } =
|
|
1174
|
+
function Dt() {
|
|
1175
|
+
const { state: e, dispatch: t, getCloseLog: r } = xe();
|
|
1269
1176
|
F(() => {
|
|
1270
1177
|
if (e.activePanelId == null) return;
|
|
1271
|
-
function n(
|
|
1272
|
-
|
|
1178
|
+
function n(c) {
|
|
1179
|
+
c.key === "Escape" && t({ type: "CLOSE_PANEL", reason: "escape-key" });
|
|
1273
1180
|
}
|
|
1274
1181
|
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
1275
1182
|
}, [e.activePanelId, t]);
|
|
1276
|
-
const l =
|
|
1277
|
-
return
|
|
1183
|
+
const l = Y(e);
|
|
1184
|
+
return Ae(() => {
|
|
1278
1185
|
l.current = e;
|
|
1279
1186
|
}), F(() => {
|
|
1280
1187
|
if (process.env.NODE_ENV === "production") return;
|
|
@@ -1286,17 +1193,17 @@ function Mt() {
|
|
|
1286
1193
|
}, () => {
|
|
1287
1194
|
n.__panelsHostHandle?.dispatch === t && delete window.__panelsHostHandle;
|
|
1288
1195
|
};
|
|
1289
|
-
}, [t, r]), /* @__PURE__ */ a("div", { "data-panel-host": "true", style:
|
|
1196
|
+
}, [t, r]), /* @__PURE__ */ a("div", { "data-panel-host": "true", style: Xe, children: e.activePanelId != null && /* @__PURE__ */ a(
|
|
1290
1197
|
"div",
|
|
1291
1198
|
{
|
|
1292
1199
|
"data-panel-scrim": "true",
|
|
1293
|
-
style:
|
|
1200
|
+
style: Je
|
|
1294
1201
|
}
|
|
1295
1202
|
) });
|
|
1296
1203
|
}
|
|
1297
|
-
const
|
|
1298
|
-
function
|
|
1299
|
-
const [r, l] =
|
|
1204
|
+
const et = 700;
|
|
1205
|
+
function tt(e, t) {
|
|
1206
|
+
const [r, l] = x(null), n = Y(null);
|
|
1300
1207
|
return F(() => {
|
|
1301
1208
|
if (e != null) {
|
|
1302
1209
|
n.current != null && (clearTimeout(n.current), n.current = null), l(null);
|
|
@@ -1308,43 +1215,43 @@ function st(e, t) {
|
|
|
1308
1215
|
}
|
|
1309
1216
|
return n.current = setTimeout(() => {
|
|
1310
1217
|
l(null), n.current = null;
|
|
1311
|
-
},
|
|
1218
|
+
}, et), () => {
|
|
1312
1219
|
n.current != null && (clearTimeout(n.current), n.current = null);
|
|
1313
1220
|
};
|
|
1314
1221
|
}, [e, t]), F(() => {
|
|
1315
1222
|
e != null && l(e);
|
|
1316
1223
|
}, [e]), e != null ? { panelId: e, isOpen: !0 } : r != null ? { panelId: r, isOpen: !1 } : { panelId: null, isOpen: !1 };
|
|
1317
1224
|
}
|
|
1318
|
-
function
|
|
1319
|
-
const r =
|
|
1225
|
+
function kt({ panelComponents: e, children: t }) {
|
|
1226
|
+
const r = D(), l = r?.state.lastClose?.reason === "section-hidden", n = tt(r?.state.activePanelId ?? null, l);
|
|
1320
1227
|
if (r == null || n.panelId == null) return null;
|
|
1321
|
-
const
|
|
1228
|
+
const c = n.panelId, u = n.isOpen, o = e?.[c];
|
|
1322
1229
|
return o == null && t == null ? (process.env.NODE_ENV !== "production" && console.error(
|
|
1323
1230
|
"[panels] No panel component registered for activePanelId:",
|
|
1324
|
-
|
|
1325
|
-
), null) : /* @__PURE__ */ a(
|
|
1231
|
+
c
|
|
1232
|
+
), null) : /* @__PURE__ */ a(Ee, { isOpen: u, children: o != null ? /* @__PURE__ */ a(o, { isOpen: u }) : t });
|
|
1326
1233
|
}
|
|
1327
|
-
function
|
|
1234
|
+
function ce(e) {
|
|
1328
1235
|
return e === null ? null : e.kind === "manage-pages-action" ? `global-${e.align ?? "left"}` : e.kind === "card-overflow" || e.kind === "empty-cell" ? `section-${e.sectionIndex}` : null;
|
|
1329
1236
|
}
|
|
1330
|
-
const
|
|
1331
|
-
function
|
|
1237
|
+
const nt = 685, de = 627, at = "cubic-bezier(0.22, 1, 0.36, 1)", st = 200;
|
|
1238
|
+
function _e(e, t) {
|
|
1332
1239
|
if (typeof window > "u") return t;
|
|
1333
1240
|
const r = window.getComputedStyle(document.documentElement).getPropertyValue(e).trim();
|
|
1334
1241
|
if (!r) return t;
|
|
1335
1242
|
const l = parseFloat(r);
|
|
1336
1243
|
return Number.isNaN(l) ? t : r.endsWith("s") && !r.endsWith("ms") ? l * 1e3 : l;
|
|
1337
1244
|
}
|
|
1338
|
-
function
|
|
1245
|
+
function rt(e, t) {
|
|
1339
1246
|
return typeof window > "u" ? t : window.getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
|
|
1340
1247
|
}
|
|
1341
|
-
function
|
|
1248
|
+
function B(e) {
|
|
1342
1249
|
e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger });
|
|
1343
1250
|
}
|
|
1344
|
-
function
|
|
1251
|
+
function ot(e) {
|
|
1345
1252
|
const { mountEl: t, chromeEl: r, reducedMotion: l, onAssert: n } = e;
|
|
1346
1253
|
if (t == null || r == null) {
|
|
1347
|
-
|
|
1254
|
+
B(e), n?.({ branch: "slide-fallback-no-dom", timestamp: Date.now() });
|
|
1348
1255
|
return;
|
|
1349
1256
|
}
|
|
1350
1257
|
if (l) {
|
|
@@ -1352,95 +1259,95 @@ function ct(e) {
|
|
|
1352
1259
|
return;
|
|
1353
1260
|
}
|
|
1354
1261
|
if (typeof r.animate != "function") {
|
|
1355
|
-
|
|
1262
|
+
B(e), n?.({ branch: "slide-no-waapi", timestamp: Date.now() });
|
|
1356
1263
|
return;
|
|
1357
1264
|
}
|
|
1358
|
-
const
|
|
1359
|
-
|
|
1360
|
-
const u =
|
|
1265
|
+
const c = r.cloneNode(!0);
|
|
1266
|
+
c.id = "panel-chrome-frozen", c.style.cssText = "position:absolute;left:8px;right:8px;top:8px;z-index:1;pointer-events:none;", t.appendChild(c), r.style.zIndex = "2", e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger });
|
|
1267
|
+
const u = _e("--panel-open-dur", nt), o = rt("--panel-easing", at), s = r.animate(
|
|
1361
1268
|
[{ transform: "translateY(100%)" }, { transform: "translateY(0)" }],
|
|
1362
1269
|
{ duration: u, easing: o, fill: "forwards" }
|
|
1363
1270
|
);
|
|
1364
1271
|
s.addEventListener(
|
|
1365
1272
|
"finish",
|
|
1366
1273
|
() => {
|
|
1367
|
-
|
|
1274
|
+
c.remove(), r.style.zIndex = "", s.cancel(), n?.({ branch: "slide-complete", frozen: "cleaned", timestamp: Date.now() });
|
|
1368
1275
|
},
|
|
1369
1276
|
{ once: !0 }
|
|
1370
1277
|
);
|
|
1371
1278
|
}
|
|
1372
|
-
function
|
|
1279
|
+
function lt(e) {
|
|
1373
1280
|
const { mountEl: t, onAssert: r } = e;
|
|
1374
1281
|
if (t == null) {
|
|
1375
|
-
e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), setTimeout(() =>
|
|
1282
|
+
e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), setTimeout(() => B(e), de), r?.({ branch: "handoff-fallback-no-mount", timestamp: Date.now() });
|
|
1376
1283
|
return;
|
|
1377
1284
|
}
|
|
1378
|
-
const l =
|
|
1379
|
-
let n = !1,
|
|
1285
|
+
const l = _e("--panel-close-dur", de);
|
|
1286
|
+
let n = !1, c = null;
|
|
1380
1287
|
const u = (s) => {
|
|
1381
|
-
s.target !== t || s.propertyName !== "max-height" || n || (n = !0,
|
|
1288
|
+
s.target !== t || s.propertyName !== "max-height" || n || (n = !0, c != null && clearTimeout(c), t.removeEventListener("transitionend", u), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "handoff-complete", timestamp: Date.now() }));
|
|
1382
1289
|
}, o = () => {
|
|
1383
1290
|
n || (n = !0, t.removeEventListener("transitionend", u), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "handoff-forced", timestamp: Date.now() }));
|
|
1384
1291
|
};
|
|
1385
|
-
t.addEventListener("transitionend", u), e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }),
|
|
1292
|
+
t.addEventListener("transitionend", u), e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), c = setTimeout(o, l + st);
|
|
1386
1293
|
}
|
|
1387
|
-
function
|
|
1294
|
+
function it(e) {
|
|
1388
1295
|
const { state: t, onAssert: r } = e;
|
|
1389
1296
|
if (t.activePanelId && t.isDirty) {
|
|
1390
1297
|
e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "blocked-dirty", timestamp: Date.now() });
|
|
1391
1298
|
return;
|
|
1392
1299
|
}
|
|
1393
|
-
const l =
|
|
1300
|
+
const l = ce(t.activeTrigger), n = ce(e.trigger);
|
|
1394
1301
|
if (!!t.activePanelId && l != null && l === n) {
|
|
1395
|
-
|
|
1302
|
+
ot(e);
|
|
1396
1303
|
return;
|
|
1397
1304
|
}
|
|
1398
1305
|
if (t.activePanelId) {
|
|
1399
|
-
|
|
1306
|
+
lt(e);
|
|
1400
1307
|
return;
|
|
1401
1308
|
}
|
|
1402
|
-
|
|
1309
|
+
B(e), r?.({ branch: "fresh-open", timestamp: Date.now() });
|
|
1403
1310
|
}
|
|
1404
|
-
function
|
|
1311
|
+
function ct() {
|
|
1405
1312
|
if (!(typeof window > "u"))
|
|
1406
1313
|
return window.__panelsAsserter;
|
|
1407
1314
|
}
|
|
1408
|
-
function
|
|
1409
|
-
const e =
|
|
1315
|
+
function Lt() {
|
|
1316
|
+
const e = D(), t = X();
|
|
1410
1317
|
return L(
|
|
1411
1318
|
(r, l) => {
|
|
1412
1319
|
if (!e)
|
|
1413
1320
|
return;
|
|
1414
|
-
const n = typeof document < "u" ? document.querySelector('[data-mount="panel"]') : null,
|
|
1321
|
+
const n = typeof document < "u" ? document.querySelector('[data-mount="panel"]') : null, c = typeof document < "u" ? document.querySelector('[data-chrome="panel"]') : null, u = {
|
|
1415
1322
|
panelId: r,
|
|
1416
1323
|
trigger: l,
|
|
1417
1324
|
state: e.state,
|
|
1418
1325
|
dispatch: e.dispatch,
|
|
1419
1326
|
mountEl: n,
|
|
1420
|
-
chromeEl:
|
|
1327
|
+
chromeEl: c,
|
|
1421
1328
|
reducedMotion: t,
|
|
1422
1329
|
onAssert: (o) => {
|
|
1423
|
-
|
|
1330
|
+
ct()?.recordTransition?.(o);
|
|
1424
1331
|
}
|
|
1425
1332
|
};
|
|
1426
|
-
|
|
1333
|
+
it(u);
|
|
1427
1334
|
},
|
|
1428
1335
|
[e, t]
|
|
1429
1336
|
);
|
|
1430
1337
|
}
|
|
1431
|
-
function
|
|
1338
|
+
function Mt({ children: e }) {
|
|
1432
1339
|
return /* @__PURE__ */ a("div", { className: "clone-stage", children: e });
|
|
1433
1340
|
}
|
|
1434
|
-
let
|
|
1435
|
-
function
|
|
1341
|
+
let U = !1, K = null;
|
|
1342
|
+
function Z() {
|
|
1436
1343
|
const e = [];
|
|
1437
1344
|
let t = "cleaned";
|
|
1438
1345
|
document.querySelectorAll("#panel-chrome-frozen").length > 0 && (e.push("#panel-chrome-frozen"), t = "lingering");
|
|
1439
1346
|
const l = document.querySelectorAll(".gloss-panel-mount");
|
|
1440
1347
|
l.length > 1 && e.push(`mount-count=${l.length}`);
|
|
1441
|
-
const n = l[0] ?? null,
|
|
1442
|
-
|
|
1443
|
-
const u =
|
|
1348
|
+
const n = l[0] ?? null, c = n ? n.querySelectorAll(".gloss-panel-chrome") : [];
|
|
1349
|
+
c.length > 1 && e.push(`chrome-count=${c.length}`);
|
|
1350
|
+
const u = c[0] ?? null;
|
|
1444
1351
|
if (u) {
|
|
1445
1352
|
const d = u.style.zIndex;
|
|
1446
1353
|
d !== "" && d !== "2" && e.push(`chrome-zindex=${d}`);
|
|
@@ -1455,55 +1362,55 @@ function ne() {
|
|
|
1455
1362
|
timestamp: Date.now()
|
|
1456
1363
|
};
|
|
1457
1364
|
}
|
|
1458
|
-
const
|
|
1459
|
-
function
|
|
1365
|
+
const q = "8px 8px 0px", Q = "64px", W = "inset(0px 0px 60px 0px)", G = "inset(0px -40px -40px -40px)";
|
|
1366
|
+
function y(e, t, r, l, n) {
|
|
1460
1367
|
return { id: e, constraint: t, expected: r, actual: l, pass: n };
|
|
1461
1368
|
}
|
|
1462
|
-
function
|
|
1369
|
+
function M(e) {
|
|
1463
1370
|
const t = parseInt(e, 10);
|
|
1464
1371
|
return Number.isFinite(t) ? t : NaN;
|
|
1465
1372
|
}
|
|
1466
|
-
function
|
|
1467
|
-
const e = [], t = document.querySelector(".gloss-panel-mount"), r = t?.querySelector(".gloss-panel-chrome") ?? null, l = document.querySelector(".gloss-panel-coordinator") ?? document.querySelector("[data-panel-coordinator]"), n = document.querySelector(".bell-cutout"),
|
|
1373
|
+
function te() {
|
|
1374
|
+
const e = [], t = document.querySelector(".gloss-panel-mount"), r = t?.querySelector(".gloss-panel-chrome") ?? null, l = document.querySelector(".gloss-panel-coordinator") ?? document.querySelector("[data-panel-coordinator]"), n = document.querySelector(".bell-cutout"), c = document.querySelector(".bell-popover"), u = document.querySelector(".gloss-bottom-toolbar");
|
|
1468
1375
|
if (!t)
|
|
1469
|
-
e.push(
|
|
1376
|
+
e.push(y("C1", "mount --reveal-y matches clip-path inset-bottom Npx", "mount present", "absent", !1));
|
|
1470
1377
|
else {
|
|
1471
|
-
const o = getComputedStyle(t), s = o.getPropertyValue("--reveal-y").trim() || t.style.getPropertyValue("--reveal-y").trim(),
|
|
1378
|
+
const o = getComputedStyle(t), s = o.getPropertyValue("--reveal-y").trim() || t.style.getPropertyValue("--reveal-y").trim(), i = o.clipPath || t.style.clipPath || "", d = i.match(/inset\(\s*0(?:px)?\s+0(?:px)?\s+(\d+)px\s+0(?:px)?\s*\)/), m = d ? parseInt(d[1], 10) : NaN, h = M(s), g = Number.isFinite(m) && Number.isFinite(h) && m === h;
|
|
1472
1379
|
e.push(
|
|
1473
|
-
|
|
1380
|
+
y(
|
|
1474
1381
|
"C1",
|
|
1475
1382
|
"mount --reveal-y matches clip-path inset-bottom Npx",
|
|
1476
1383
|
`inset(0 0 ${h}px 0) === --reveal-y(${h}px)`,
|
|
1477
|
-
`--reveal-y=${s || "n/a"} clip-path=${
|
|
1478
|
-
|
|
1384
|
+
`--reveal-y=${s || "n/a"} clip-path=${i || "n/a"}`,
|
|
1385
|
+
g
|
|
1479
1386
|
)
|
|
1480
1387
|
);
|
|
1481
1388
|
}
|
|
1482
1389
|
if (!t)
|
|
1483
|
-
e.push(
|
|
1390
|
+
e.push(y("C2", "mount padding constant", q, "absent", !1));
|
|
1484
1391
|
else {
|
|
1485
|
-
const o = t.style.padding, s = getComputedStyle(t),
|
|
1486
|
-
e.push(
|
|
1392
|
+
const o = t.style.padding, s = getComputedStyle(t), i = o || s.padding || "", d = i === q || i === "8px 8px 0px 8px";
|
|
1393
|
+
e.push(y("C2", "mount padding constant", q, i || "n/a", d));
|
|
1487
1394
|
}
|
|
1488
1395
|
if (!t)
|
|
1489
|
-
e.push(
|
|
1396
|
+
e.push(y("C3", "mount.bottom resolves to var(--tb-h)=64px", Q, "absent", !1));
|
|
1490
1397
|
else {
|
|
1491
|
-
const s = getComputedStyle(t).bottom || t.style.bottom || "",
|
|
1492
|
-
e.push(
|
|
1398
|
+
const s = getComputedStyle(t).bottom || t.style.bottom || "", i = s === Q;
|
|
1399
|
+
e.push(y("C3", "mount.bottom resolves to var(--tb-h)=64px", Q, s || "n/a", i));
|
|
1493
1400
|
}
|
|
1494
1401
|
if (!r)
|
|
1495
|
-
e.push(
|
|
1402
|
+
e.push(y("C4", "panel-chrome height formula = (row-h*3)+(row-gap*3)-8px", "formula match", "absent", !1));
|
|
1496
1403
|
else {
|
|
1497
|
-
const o = getComputedStyle(r), s =
|
|
1404
|
+
const o = getComputedStyle(r), s = M(
|
|
1498
1405
|
o.getPropertyValue("--row-h").trim() || r.style.getPropertyValue("--row-h").trim() || "0"
|
|
1499
|
-
),
|
|
1406
|
+
), i = M(
|
|
1500
1407
|
o.getPropertyValue("--row-gap").trim() || r.style.getPropertyValue("--row-gap").trim() || "0"
|
|
1501
|
-
), d = s * 3 +
|
|
1408
|
+
), d = s * 3 + i * 3 - 8, m = M(o.height || r.style.height || ""), h = Number.isFinite(s) && Number.isFinite(i) && Number.isFinite(m) && Number.isFinite(d) && m === d;
|
|
1502
1409
|
e.push(
|
|
1503
|
-
|
|
1410
|
+
y(
|
|
1504
1411
|
"C4",
|
|
1505
1412
|
"panel-chrome height formula = (row-h*3)+(row-gap*3)-8px",
|
|
1506
|
-
`${d}px (rh=${s} rg=${
|
|
1413
|
+
`${d}px (rh=${s} rg=${i})`,
|
|
1507
1414
|
`${m}px`,
|
|
1508
1415
|
h
|
|
1509
1416
|
)
|
|
@@ -1511,7 +1418,7 @@ function re() {
|
|
|
1511
1418
|
}
|
|
1512
1419
|
if (!l || !r)
|
|
1513
1420
|
e.push(
|
|
1514
|
-
|
|
1421
|
+
y(
|
|
1515
1422
|
"C5",
|
|
1516
1423
|
'coordinator perspective + origin "center bottom"; chrome perspective-style flat',
|
|
1517
1424
|
"present",
|
|
@@ -1520,31 +1427,31 @@ function re() {
|
|
|
1520
1427
|
)
|
|
1521
1428
|
);
|
|
1522
1429
|
else {
|
|
1523
|
-
const o = getComputedStyle(l), s = getComputedStyle(r),
|
|
1430
|
+
const o = getComputedStyle(l), s = getComputedStyle(r), i = o.perspective || l.style.perspective || "", d = (o.perspectiveOrigin || l.style.perspectiveOrigin || "").trim(), m = s.perspectiveStyle || r.style.perspectiveStyle || "", v = i !== "" && i !== "none" && (d === "center bottom" || d === "50% 100%") && m === "flat";
|
|
1524
1431
|
e.push(
|
|
1525
|
-
|
|
1432
|
+
y(
|
|
1526
1433
|
"C5",
|
|
1527
1434
|
'coordinator perspective + origin "center bottom"; chrome perspective-style flat',
|
|
1528
1435
|
"perspective:not-none, origin:center bottom, chrome-style:flat",
|
|
1529
|
-
`perspective=${
|
|
1530
|
-
|
|
1436
|
+
`perspective=${i} origin=${d} chrome-style=${m}`,
|
|
1437
|
+
v
|
|
1531
1438
|
)
|
|
1532
1439
|
);
|
|
1533
1440
|
}
|
|
1534
1441
|
{
|
|
1535
1442
|
let o = !1, s = "absent";
|
|
1536
1443
|
try {
|
|
1537
|
-
for (const
|
|
1444
|
+
for (const i of Array.from(document.styleSheets)) {
|
|
1538
1445
|
let d = [];
|
|
1539
1446
|
try {
|
|
1540
|
-
d = Array.from(
|
|
1447
|
+
d = Array.from(i.cssRules ?? []);
|
|
1541
1448
|
} catch {
|
|
1542
1449
|
continue;
|
|
1543
1450
|
}
|
|
1544
1451
|
for (const m of d)
|
|
1545
1452
|
if (m.name === "stage-spin") {
|
|
1546
|
-
const
|
|
1547
|
-
o =
|
|
1453
|
+
const g = Array.from(m.cssRules), p = g.find((C) => C.keyText === "0%" || C.keyText === "from"), v = g.find((C) => C.keyText === "100%" || C.keyText === "to"), w = p?.style.transform ?? "", _ = v?.style.transform ?? "", S = /rotateY\(\s*0(?:deg)?\s*\)/;
|
|
1454
|
+
o = S.test(w) && S.test(_), s = `0%=${w || "n/a"} 100%=${_ || "n/a"}`;
|
|
1548
1455
|
break;
|
|
1549
1456
|
}
|
|
1550
1457
|
if (s !== "absent") break;
|
|
@@ -1553,7 +1460,7 @@ function re() {
|
|
|
1553
1460
|
s = "inspection-error";
|
|
1554
1461
|
}
|
|
1555
1462
|
e.push(
|
|
1556
|
-
|
|
1463
|
+
y(
|
|
1557
1464
|
"C6",
|
|
1558
1465
|
"@keyframes stage-spin 0% AND 100% anchor at rotateY(0)",
|
|
1559
1466
|
"both frames rotateY(0)",
|
|
@@ -1563,37 +1470,37 @@ function re() {
|
|
|
1563
1470
|
);
|
|
1564
1471
|
}
|
|
1565
1472
|
{
|
|
1566
|
-
const o = document.documentElement, s = getComputedStyle(o),
|
|
1473
|
+
const o = document.documentElement, s = getComputedStyle(o), i = s.getPropertyValue("--panel-open-dur").trim() || o.style.getPropertyValue("--panel-open-dur").trim(), d = s.getPropertyValue("--panel-close-dur").trim() || o.style.getPropertyValue("--panel-close-dur").trim(), m = M(i) || parseFloat(i) * (i.endsWith("s") && !i.endsWith("ms") ? 1e3 : 1), h = M(d) || parseFloat(d) * (d.endsWith("s") && !d.endsWith("ms") ? 1e3 : 1), g = Number.isFinite(m) && Number.isFinite(h) && m > h;
|
|
1567
1474
|
e.push(
|
|
1568
|
-
|
|
1475
|
+
y("C7", "--panel-open-dur > --panel-close-dur", "open > close", `open=${i || "n/a"} close=${d || "n/a"}`, g)
|
|
1569
1476
|
);
|
|
1570
1477
|
}
|
|
1571
1478
|
if (!n)
|
|
1572
|
-
e.push(
|
|
1479
|
+
e.push(y("C8", "BellCutout zero computed animation/transition", "no inline timing", "absent", !1));
|
|
1573
1480
|
else {
|
|
1574
|
-
const o = getComputedStyle(n), s = o.animationName || "",
|
|
1481
|
+
const o = getComputedStyle(n), s = o.animationName || "", i = o.transitionProperty || "", d = (s === "" || s === "none") && (i === "" || i === "none" || i === "all");
|
|
1575
1482
|
e.push(
|
|
1576
|
-
|
|
1483
|
+
y(
|
|
1577
1484
|
"C8",
|
|
1578
1485
|
"BellCutout zero computed animation/transition",
|
|
1579
1486
|
"animation:none AND transition:none",
|
|
1580
|
-
`animation=${s || "n/a"} transition=${
|
|
1487
|
+
`animation=${s || "n/a"} transition=${i || "n/a"}`,
|
|
1581
1488
|
d
|
|
1582
1489
|
)
|
|
1583
1490
|
);
|
|
1584
1491
|
}
|
|
1585
1492
|
if (!t)
|
|
1586
|
-
e.push(
|
|
1493
|
+
e.push(y("C9", "mount closed-state clipPath", W, "absent", !1));
|
|
1587
1494
|
else {
|
|
1588
|
-
const o = t.style.clipPath, s = getComputedStyle(t),
|
|
1589
|
-
e.push(
|
|
1495
|
+
const o = t.style.clipPath, s = getComputedStyle(t), i = o || s.clipPath || "", d = i === W;
|
|
1496
|
+
e.push(y("C9", "mount closed-state clipPath", W, i || "n/a", d));
|
|
1590
1497
|
}
|
|
1591
|
-
if (!
|
|
1592
|
-
e.push(
|
|
1498
|
+
if (!c)
|
|
1499
|
+
e.push(y("C10", "bell-popover parentElement === document.body (open)", "body", "absent", !1));
|
|
1593
1500
|
else {
|
|
1594
|
-
const o =
|
|
1501
|
+
const o = c.parentElement, s = o === document.body;
|
|
1595
1502
|
e.push(
|
|
1596
|
-
|
|
1503
|
+
y(
|
|
1597
1504
|
"C10",
|
|
1598
1505
|
"bell-popover parentElement === document.body (open)",
|
|
1599
1506
|
"body",
|
|
@@ -1603,19 +1510,19 @@ function re() {
|
|
|
1603
1510
|
);
|
|
1604
1511
|
}
|
|
1605
1512
|
if (!l)
|
|
1606
|
-
e.push(
|
|
1513
|
+
e.push(y("C11", "coordinator overflow === visible", "visible", "absent", !1));
|
|
1607
1514
|
else {
|
|
1608
|
-
const s = getComputedStyle(l).overflow || l.style.overflow || "",
|
|
1609
|
-
e.push(
|
|
1515
|
+
const s = getComputedStyle(l).overflow || l.style.overflow || "", i = s === "visible";
|
|
1516
|
+
e.push(y("C11", "coordinator overflow === visible", "visible", s || "n/a", i));
|
|
1610
1517
|
}
|
|
1611
1518
|
if (!u)
|
|
1612
|
-
e.push(
|
|
1519
|
+
e.push(y("C12", "toolbar clipPath = inset(0 -40 -40 -40)", G, "absent", !1));
|
|
1613
1520
|
else {
|
|
1614
|
-
const o = u.style.clipPath, s = getComputedStyle(u),
|
|
1615
|
-
e.push(
|
|
1521
|
+
const o = u.style.clipPath, s = getComputedStyle(u), i = o || s.clipPath || "", d = i === G;
|
|
1522
|
+
e.push(y("C12", "toolbar clipPath = inset(0 -40 -40 -40)", G, i || "n/a", d));
|
|
1616
1523
|
}
|
|
1617
1524
|
return e.push(
|
|
1618
|
-
|
|
1525
|
+
y(
|
|
1619
1526
|
"C13",
|
|
1620
1527
|
"same-position slide via WAAPI (mid-transition getAnimations().length > 0)",
|
|
1621
1528
|
"WAAPI driver wired in orchestrator (source-proof)",
|
|
@@ -1623,7 +1530,7 @@ function re() {
|
|
|
1623
1530
|
"wiring_only"
|
|
1624
1531
|
)
|
|
1625
1532
|
), e.push(
|
|
1626
|
-
|
|
1533
|
+
y(
|
|
1627
1534
|
"C14",
|
|
1628
1535
|
'cross-position handoff transitionend filtered by propertyName="max-height"',
|
|
1629
1536
|
"transitionend filter wired in orchestrator (source-proof)",
|
|
@@ -1632,11 +1539,11 @@ function re() {
|
|
|
1632
1539
|
)
|
|
1633
1540
|
), e;
|
|
1634
1541
|
}
|
|
1635
|
-
function
|
|
1636
|
-
return
|
|
1542
|
+
function dt(e) {
|
|
1543
|
+
return te().find((t) => t.id === e);
|
|
1637
1544
|
}
|
|
1638
|
-
function
|
|
1639
|
-
const e =
|
|
1545
|
+
function ut() {
|
|
1546
|
+
const e = Z();
|
|
1640
1547
|
return { q12: [
|
|
1641
1548
|
{
|
|
1642
1549
|
id: "Q12-12",
|
|
@@ -1645,83 +1552,84 @@ function ht() {
|
|
|
1645
1552
|
actual: `valid=${e.valid} mount=${e.mount} chrome=${e.chrome} frozen=${e.frozen} orphans=[${e.orphans.join(",")}]`,
|
|
1646
1553
|
pass: e.valid
|
|
1647
1554
|
}
|
|
1648
|
-
], cc:
|
|
1555
|
+
], cc: te() };
|
|
1649
1556
|
}
|
|
1650
|
-
function
|
|
1557
|
+
function pt() {
|
|
1651
1558
|
return {
|
|
1652
|
-
enable:
|
|
1653
|
-
disable:
|
|
1654
|
-
isEnabled: () =>
|
|
1655
|
-
getLastReport: () =>
|
|
1559
|
+
enable: mt,
|
|
1560
|
+
disable: ht,
|
|
1561
|
+
isEnabled: () => U,
|
|
1562
|
+
getLastReport: () => K,
|
|
1656
1563
|
recordTransition: (e) => {
|
|
1657
|
-
|
|
1564
|
+
U && (K = { ...e, ...Z() });
|
|
1658
1565
|
},
|
|
1659
1566
|
assertOnce: () => {
|
|
1660
|
-
const e =
|
|
1661
|
-
return
|
|
1567
|
+
const e = Z();
|
|
1568
|
+
return K = e, e;
|
|
1662
1569
|
},
|
|
1663
|
-
assertCcOnly:
|
|
1664
|
-
getCcRowById:
|
|
1665
|
-
assertPanelTruths:
|
|
1570
|
+
assertCcOnly: te,
|
|
1571
|
+
getCcRowById: dt,
|
|
1572
|
+
assertPanelTruths: ut
|
|
1666
1573
|
};
|
|
1667
1574
|
}
|
|
1668
|
-
function
|
|
1669
|
-
if (
|
|
1670
|
-
window.__panelsAsserter || (window.__panelsAsserter =
|
|
1575
|
+
function mt() {
|
|
1576
|
+
if (U = !0, typeof window > "u") return;
|
|
1577
|
+
window.__panelsAsserter || (window.__panelsAsserter = pt(), console.info(
|
|
1671
1578
|
"[panels] asserter enabled (P3b Q12-12 + P6 W5 cc:C1..C14). Inspect via window.__panelsAsserter."
|
|
1672
1579
|
));
|
|
1673
1580
|
}
|
|
1674
|
-
function
|
|
1675
|
-
|
|
1581
|
+
function ht() {
|
|
1582
|
+
U = !1;
|
|
1676
1583
|
}
|
|
1677
1584
|
export {
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1585
|
+
Rt as COMMITS,
|
|
1586
|
+
Tt as CatalogAddShell,
|
|
1587
|
+
wt as CatalogFooter,
|
|
1588
|
+
xt as CatalogReplaceShell,
|
|
1589
|
+
J as CatalogStateContext,
|
|
1590
|
+
he as CloneCard,
|
|
1591
|
+
Mt as CloneStage,
|
|
1592
|
+
ge as MOCK_DEFAULT_LENS,
|
|
1593
|
+
fe as MOCK_LENSES,
|
|
1594
|
+
ye as MOCK_LENS_META,
|
|
1595
|
+
Ze as MOCK_PAGES,
|
|
1596
|
+
be as MOCK_TILES_BY_LENS,
|
|
1597
|
+
qe as MetricInfoShell,
|
|
1598
|
+
$t as NotificationCenterShell,
|
|
1599
|
+
At as PANEL_IDS,
|
|
1600
|
+
je as PageMgmtFooter,
|
|
1601
|
+
Et as PageMgmtShell,
|
|
1602
|
+
Ce as PageMgmtStateContext,
|
|
1603
|
+
Ft as PanelBody,
|
|
1604
|
+
z as PanelChromeV2,
|
|
1605
|
+
zt as PanelFooter,
|
|
1606
|
+
St as PanelFooterMessage,
|
|
1607
|
+
Ht as PanelHeader,
|
|
1608
|
+
Bt as PanelHost,
|
|
1609
|
+
Dt as PanelHostShell,
|
|
1610
|
+
Ee as PanelMount,
|
|
1611
|
+
Ut as PanelNavigation,
|
|
1612
|
+
Yt as PanelProvider,
|
|
1613
|
+
kt as PanelSlot,
|
|
1614
|
+
Vt as PanelStage,
|
|
1707
1615
|
Pt as SettingsShell,
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1616
|
+
te as assertCcOnly,
|
|
1617
|
+
Z as assertPanelDomShape,
|
|
1618
|
+
ut as assertPanelTruths,
|
|
1619
|
+
Kt as deriveSurfaceState,
|
|
1620
|
+
ht as disablePanelAsserter,
|
|
1621
|
+
mt as enablePanelAsserter,
|
|
1622
|
+
dt as getCcRowById,
|
|
1623
|
+
qt as initialState,
|
|
1624
|
+
ce as positionKey,
|
|
1625
|
+
Qt as reducer,
|
|
1626
|
+
it as transitionToPanel,
|
|
1627
|
+
ee as useCatalogState,
|
|
1628
|
+
_t as useEditingCardId,
|
|
1629
|
+
Ne as usePageMgmtState,
|
|
1630
|
+
xe as usePanelContext,
|
|
1631
|
+
D as usePanelContextOptional,
|
|
1632
|
+
Wt as usePanelCoordinator,
|
|
1633
|
+
X as useReducedMotionPanel,
|
|
1634
|
+
Lt as useTransitionToPanel
|
|
1727
1635
|
};
|