@revolist/ui 4.0.6 → 4.0.10
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/README.md +37 -1
- package/_chunks/{arrow-up-Cw8hW9vp.js → arrow-up-BSYhTAus.js} +1 -1
- package/_chunks/{calculator-CDWOuAcp.js → calculator-BG0Xd_Uw.js} +1 -1
- package/_chunks/{calendar-BQYQLu8Q.js → calendar-CQHVwHLW.js} +3 -3
- package/_chunks/{chart-frame-GprenwEg.js → chart-frame-pj5EQxXr.js} +5 -5
- package/_chunks/{check-BwI7iCAm.js → check-BFIC9pge.js} +1 -1
- package/_chunks/{chevron-down-GbplLa6s.js → chevron-down-BkrpxJYD.js} +1 -1
- package/_chunks/{chevron-right-CM3ljziP.js → chevron-right-DZ79RmYV.js} +1 -1
- package/_chunks/{chevron-up-BLuNMPDn.js → chevron-up-Dt846uIR.js} +1 -1
- package/_chunks/{choice-chips-C5OxD0GV.js → choice-chips-BIGT7gjO.js} +4 -4
- package/_chunks/{clock-BOhPNlW3.js → clock-DTfr4p2S.js} +1 -1
- package/_chunks/{color-palette-7siNch__.js → color-palette-DL0f3igd.js} +3 -3
- package/_chunks/{color-picker-Cfc9eqZb.js → color-picker-BWBM9GE1.js} +7 -7
- package/_chunks/{component-C3k_8uIq.js → component-B22CtP21.js} +58 -43
- package/_chunks/{component-metadata-DlVkpW3h.js → component-metadata-B_hLjtM0.js} +4 -1
- package/_chunks/{configurator-actions-vRnI54mO.js → configurator-actions-BhIk4oM_.js} +18 -18
- package/_chunks/{configurator-field-icon-CmcM_sPs.js → configurator-field-icon-B0S_208W.js} +2 -2
- package/_chunks/{control-BRfF5DWQ.js → control-zCLB1tGz.js} +2 -2
- package/_chunks/{controller-BbiQuRt-.js → controller-ChkqiANQ.js} +1 -1
- package/_chunks/{controls-B3EgM_DS.js → controls-Ip2E6jIu.js} +10 -9
- package/_chunks/{date-control-87dcA5br.js → date-control-UmJvxQ5C.js} +4 -4
- package/_chunks/{date-time-CfiFYodx.js → date-time-B9YGqree.js} +57 -57
- package/_chunks/{delete-button-jneO24wa.js → delete-button-DQSK6G-4.js} +1 -1
- package/_chunks/{dialog.parts-NqEEVc9P.js → dialog.parts-CpMwNhTM.js} +5 -5
- package/_chunks/{duration-BGZ_qJ99.js → duration-BrsE4QgL.js} +15 -15
- package/_chunks/{editor-commit-Dyo-FMgD.js → editor-commit-BXIUX0As.js} +2 -2
- package/_chunks/{editor-popup-NNP9Fh9U.js → editor-popup-Ds0GPAcn.js} +3 -3
- package/_chunks/{field-configurator-DPulsY3l.js → field-configurator-BMQnmWNd.js} +10 -9
- package/_chunks/{field-context-C4_WrO2z.js → field-context-0oUi-w-G.js} +1 -1
- package/_chunks/{framework-mount-D4I8HpVp.js → framework-mount-CX0oj05W.js} +3 -3
- package/_chunks/{hooks.module-CG3gN83z.js → hooks.module-CXpO2xq6.js} +2 -2
- package/_chunks/{icon-toolbar-BAAdEvr9.js → icon-toolbar-C4J_Wqph.js} +6 -6
- package/_chunks/{jsxRuntime.module-F6UFnpT-.js → jsxRuntime.module-ksX_VSbv.js} +2 -2
- package/_chunks/{magnifying-glass-CvrTDSkB.js → magnifying-glass-BFZrFs8M.js} +1 -1
- package/_chunks/{minus-BOAR3A1C.js → minus-DE8NPK_D.js} +1 -1
- package/_chunks/{mount-C8CnIW9k.js → mount-BgI_QV2H.js} +7 -7
- package/_chunks/native-C9tJWAXF.js +52 -0
- package/_chunks/{native-CJm3eq3-.js → native-RudS9C_q.js} +2 -2
- package/_chunks/{native-control-um1L1wgZ.js → native-control-DjJ8Na3T.js} +49 -44
- package/_chunks/{number-input-CKiA4d1N.js → number-input-Bb5guKP4.js} +4 -4
- package/_chunks/{picker-igNshTRC.js → picker-DDUmhT93.js} +5 -5
- package/_chunks/{plus-CbGRkIGl.js → plus-BaXticu7.js} +1 -1
- package/_chunks/{popup-DECYM9FI.js → popup-HEUnOeq-.js} +5 -5
- package/_chunks/{preact.module-BBM36DnO.js → preact.module-DzTStiZX.js} +1 -1
- package/_chunks/{rating-choice-CepVfGUq.js → rating-choice-CtrABPp-.js} +3 -3
- package/_chunks/{render-bTk3curw.js → render-C6PFWlqh.js} +2 -2
- package/_chunks/{reorder-list-B4w3aARt.js → reorder-list-DvwZcFPH.js} +4 -4
- package/_chunks/{request-trail-B1zVRPEf.js → request-trail-D5PKrBlC.js} +11 -11
- package/_chunks/{rich-text-Ci4d6dHn.js → rich-text-DW1vcBAY.js} +31 -31
- package/_chunks/{rotate-left-BF6G883o.js → rotate-left-CTHmcGBP.js} +1 -1
- package/_chunks/{rotate-right-Iha5ScJ1.js → rotate-right-BIfKgVun.js} +1 -1
- package/_chunks/{selection-list-tooltips-m00U3L6z.js → selection-list-tooltips-j84Wufjj.js} +8 -4
- package/_chunks/{title-tooltip-ncldbUwS.js → title-tooltip-DKiWhsL7.js} +1 -1
- package/_chunks/tooltip-BkuH0JdW.js +93 -0
- package/_chunks/tooltip-session-BBKkwhLZ.js +244 -0
- package/_chunks/{tooltip-text-BN5WdGHn.js → tooltip-text-CH_c2J-J.js} +2 -2
- package/_chunks/top-layer-popup-DU1r_2v5.js +107 -0
- package/_chunks/{xmark-DD_PBvZI.js → xmark-DQRQfXZI.js} +1 -1
- package/activity-message.js +1 -1
- package/ai/index.js +2 -2
- package/angular/angular.d.ts +2 -0
- package/angular/angular.js +1 -0
- package/assignee/index.js +28 -28
- package/avatar/index.js +3 -3
- package/browser/favicon.svg +9 -0
- package/browser/pdf-viewer.css +2 -0
- package/browser/pdf.worker.min.mjs +28 -0
- package/browser/pdfjs-LICENSE +177 -0
- package/browser/revo-ui.global.js +671 -0
- package/browser/revo-ui.js +35538 -0
- package/browser/robots.txt +4 -0
- package/browser.d.ts +3 -0
- package/browser.js +34 -0
- package/brush-range/component.js +2 -2
- package/buttons/delete-button.js +1 -1
- package/buttons/remove-button.js +2 -2
- package/buttons/svg-button.js +4 -4
- package/calendar/_calendar.scss +12 -4
- package/calendar/calendar.js +1 -1
- package/calendar/day.js +1 -1
- package/calendar/header.js +2 -2
- package/calendar/index.js +2 -2
- package/calendar/month-grid.js +1 -1
- package/calendar/year-grid.js +1 -1
- package/checkbox/index.js +1 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-picker.js +2 -2
- package/configurator-actions.js +1 -1
- package/configurator-aggregation-list.js +6 -6
- package/configurator-drop-zone.js +3 -3
- package/configurator-field-icon.js +1 -1
- package/configurator-focus.js +1 -1
- package/configurator-sections.js +3 -3
- package/control-presentation.js +2 -2
- package/controls.js +2 -2
- package/core/editor-popup.js +1 -1
- package/core/popover-controller.d.ts +31 -6
- package/core/popover-controller.js +171 -46
- package/core/popup-ownership.d.ts +1 -1
- package/core/tooltip-options.d.ts +143 -0
- package/core/tooltip-options.js +20 -0
- package/core/tooltip-session.d.ts +32 -8
- package/core/tooltip-surface.d.ts +14 -3
- package/core/tooltip.d.ts +20 -19
- package/core/top-layer-popup.d.ts +2 -1
- package/core/top-layer-popup.js +1 -1
- package/date-time/index.js +1 -1
- package/dialog/dialog.dom.js +3 -3
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +1 -1
- package/distribution-chart/area-chart.js +3 -3
- package/distribution-chart/bar-chart.js +2 -2
- package/distribution-chart/index.js +1 -1
- package/distribution-chart/line-chart.js +2 -2
- package/dropdown/content.d.ts +3 -1
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/dropdown.service.js +56 -56
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +7 -7
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +3 -3
- package/editor-layout/index.js +3 -3
- package/field-configurator.js +1 -1
- package/field-reorder.hook.js +1 -1
- package/filter/filters/slider/preact.js +1 -1
- package/filter/filters/slider/runtime.js +1 -1
- package/filter/filters/slider/single.js +2 -2
- package/filter-badge.js +4 -4
- package/filter-controls.js +3 -3
- package/form-controls/index.js +3 -3
- package/form-controls/presentation.js +4 -4
- package/formatting/index.js +7 -7
- package/framework.js +135 -135
- package/history-controls.js +3 -3
- package/icon-toolbar.js +1 -1
- package/icons/icon.js +1 -1
- package/legend.js +1 -1
- package/masked-input/index.js +3 -3
- package/native-control.js +1 -1
- package/native.js +29 -79
- package/number-input/index.js +1 -1
- package/package.json +21 -1
- package/pagination.js +1 -1
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/index.js +3 -3
- package/pickers.d.ts +11 -4
- package/preact-mount.js +1 -1
- package/preact.d.ts +2 -0
- package/preact.js +66 -65
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +1 -1
- package/react.d.ts +2 -0
- package/react.js +64 -63
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-avatar.js +2 -2
- package/resource-picker/resource-picker-option.js +1 -1
- package/resource-picker/resource-picker-popup.js +2 -2
- package/resource-picker/resource-picker.js +5 -5
- package/rich-text/index.js +1 -1
- package/search-input/index.js +3 -3
- package/segmented-switch/index.js +1 -1
- package/select.js +1 -1
- package/selection-list.js +1 -1
- package/status-feedback/exit-snapshot.js +1 -1
- package/status-feedback/header.js +3 -3
- package/status-feedback/index.js +1 -1
- package/status-feedback/popover.js +1 -1
- package/status-feedback/render.js +1 -1
- package/styles.css +1 -1
- package/surfaces.d.ts +1 -0
- package/surfaces.js +25 -24
- package/svelte.d.ts +2 -0
- package/svelte.js +30 -29
- package/switch/index.js +2 -2
- package/time-grid.js +4 -4
- package/timeline-track/_style.scss +33 -2
- package/timeline-track/component.d.ts +10 -1
- package/timeline-track/index.js +136 -74
- package/ui.css +1 -1
- package/vue.d.ts +11 -13
- package/vue.js +94 -90
- package/_chunks/tooltip-h-Z8yFBY.js +0 -54
- package/_chunks/tooltip-session-CBtRMBPr.js +0 -110
- package/_chunks/top-layer-popup-CKJ7VJOF.js +0 -59
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as e, i as t, u as n } from "./preact.module-
|
|
2
|
-
import { c as r, i, n as a, o, r as s, s as c, t as l } from "./hooks.module-
|
|
3
|
-
import { t as u } from "./jsxRuntime.module-
|
|
1
|
+
import { c as e, i as t, u as n } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { c as r, i, n as a, o, r as s, s as c, t as l } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as u } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
4
|
import { renderPreactInto as d } from "../preact-mount.js";
|
|
5
|
-
import { i as f } from "./top-layer-popup-
|
|
6
|
-
import { t as p } from "./title-tooltip-
|
|
7
|
-
import { t as m } from "./field-context-
|
|
8
|
-
import { r as h, t as g } from "./popup-
|
|
9
|
-
import { t as _ } from "./selection-list-tooltips-
|
|
5
|
+
import { i as f } from "./top-layer-popup-DU1r_2v5.js";
|
|
6
|
+
import { t as p } from "./title-tooltip-DKiWhsL7.js";
|
|
7
|
+
import { t as m } from "./field-context-0oUi-w-G.js";
|
|
8
|
+
import { r as h, t as g } from "./popup-HEUnOeq-.js";
|
|
9
|
+
import { t as _ } from "./selection-list-tooltips-j84Wufjj.js";
|
|
10
10
|
import { useDropdownService as v } from "../dropdown/dropdown.service.js";
|
|
11
11
|
import { RemoveButton as y } from "../buttons/remove-button.js";
|
|
12
|
-
import { t as b } from "./chevron-down-
|
|
12
|
+
import { t as b } from "./chevron-down-BkrpxJYD.js";
|
|
13
13
|
import { registerControl as x, renderControl as S } from "../control-presentation.js";
|
|
14
14
|
//#region package/dropdown/remote.ts
|
|
15
15
|
var C = {
|
|
@@ -124,16 +124,16 @@ function T(e) {
|
|
|
124
124
|
let t = a(() => ({
|
|
125
125
|
...C,
|
|
126
126
|
...e.remoteText
|
|
127
|
-
}), [e.remoteText]), [n,
|
|
127
|
+
}), [e.remoteText]), [n, r] = i({
|
|
128
128
|
items: [],
|
|
129
129
|
selected: [],
|
|
130
130
|
loading: !1,
|
|
131
131
|
error: !1,
|
|
132
132
|
hasMore: !1
|
|
133
|
-
}),
|
|
133
|
+
}), o = l(), c = e.value === null || e.value === void 0 ? [] : Array.isArray(e.value) ? e.value : [e.value], u = JSON.stringify(c);
|
|
134
134
|
return s(() => {
|
|
135
135
|
if (!e.dataSource || e.disabled) {
|
|
136
|
-
|
|
136
|
+
r({
|
|
137
137
|
items: [],
|
|
138
138
|
selected: [],
|
|
139
139
|
loading: !1,
|
|
@@ -142,9 +142,9 @@ function T(e) {
|
|
|
142
142
|
});
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
|
-
let n = new w(e.dataSource, e.dataContext,
|
|
146
|
-
return
|
|
147
|
-
n.destroy(),
|
|
145
|
+
let n = new w(e.dataSource, e.dataContext, r, t);
|
|
146
|
+
return o.current = n, () => {
|
|
147
|
+
n.destroy(), o.current === n && (o.current = void 0);
|
|
148
148
|
};
|
|
149
149
|
}, [
|
|
150
150
|
e.dataSource,
|
|
@@ -152,16 +152,16 @@ function T(e) {
|
|
|
152
152
|
e.disabled,
|
|
153
153
|
t
|
|
154
154
|
]), s(() => {
|
|
155
|
-
|
|
155
|
+
o.current?.setSelected(c, e.source);
|
|
156
156
|
}, [
|
|
157
|
-
|
|
157
|
+
u,
|
|
158
158
|
e.source,
|
|
159
159
|
e.dataSource,
|
|
160
160
|
e.dataContext,
|
|
161
161
|
e.disabled,
|
|
162
162
|
t
|
|
163
|
-
]),
|
|
164
|
-
e.open ?
|
|
163
|
+
]), s(() => {
|
|
164
|
+
e.open ? o.current?.search(e.initialQuery, !0) : o.current?.close();
|
|
165
165
|
}, [
|
|
166
166
|
e.open,
|
|
167
167
|
e.dataSource,
|
|
@@ -172,9 +172,9 @@ function T(e) {
|
|
|
172
172
|
]), {
|
|
173
173
|
...n,
|
|
174
174
|
text: t,
|
|
175
|
-
search: (e) =>
|
|
176
|
-
loadMore: () =>
|
|
177
|
-
retry: () =>
|
|
175
|
+
search: (e) => o.current?.search(e),
|
|
176
|
+
loadMore: () => o.current?.loadMore(),
|
|
177
|
+
retry: () => o.current?.retry()
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
//#endregion
|
|
@@ -199,7 +199,7 @@ function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
|
|
|
199
199
|
return r(() => {
|
|
200
200
|
if (!c.autoFocus) return;
|
|
201
201
|
let e = () => {
|
|
202
|
-
f && C.current ? C.current.focus({ preventScroll: !0 }) :
|
|
202
|
+
f && C.current ? C.current.focus({ preventScroll: !0 }) : T.current?.focus({ preventScroll: !0 });
|
|
203
203
|
}, t = w.current?.ownerDocument.defaultView ?? (typeof window < "u" ? window : void 0);
|
|
204
204
|
if (!t) return;
|
|
205
205
|
e();
|
|
@@ -211,12 +211,6 @@ function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
|
|
|
211
211
|
ref: L,
|
|
212
212
|
className: "dropdown-listbox",
|
|
213
213
|
"data-theme": S ?? "default",
|
|
214
|
-
role: "listbox",
|
|
215
|
-
id: m,
|
|
216
|
-
"aria-multiselectable": d,
|
|
217
|
-
"aria-activedescendant": F,
|
|
218
|
-
tabIndex: -1,
|
|
219
|
-
"aria-busy": n?.loading,
|
|
220
214
|
onScrollCapture: (e) => {
|
|
221
215
|
let t = e.target;
|
|
222
216
|
n && t.scrollHeight - t.scrollTop - t.clientHeight < 48 && n.loadMore();
|
|
@@ -244,7 +238,9 @@ function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
|
|
|
244
238
|
value: ee,
|
|
245
239
|
onChange: N,
|
|
246
240
|
onInput: N,
|
|
247
|
-
"aria-label": c.searchAriaLabel ?? "Search options"
|
|
241
|
+
"aria-label": c.searchAriaLabel ?? "Search options",
|
|
242
|
+
"aria-controls": m,
|
|
243
|
+
"aria-activedescendant": F
|
|
248
244
|
})
|
|
249
245
|
}),
|
|
250
246
|
n?.loading && /* @__PURE__ */ u("div", {
|
|
@@ -275,7 +271,9 @@ function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
|
|
|
275
271
|
renderNoResults: n ? () => n.loading || n.error ? null : n.text.empty : y,
|
|
276
272
|
dropdownListRef: T,
|
|
277
273
|
theme: S,
|
|
278
|
-
optionIdPrefix: m
|
|
274
|
+
optionIdPrefix: m,
|
|
275
|
+
listboxLabel: c.ariaLabel ?? c.searchAriaLabel ?? "Options",
|
|
276
|
+
loading: n?.loading
|
|
279
277
|
}),
|
|
280
278
|
n?.hasMore && /* @__PURE__ */ u(H, {
|
|
281
279
|
disabled: n.loading,
|
|
@@ -285,9 +283,9 @@ function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
|
|
|
285
283
|
]
|
|
286
284
|
});
|
|
287
285
|
}
|
|
288
|
-
function D({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, selectedOptions: s, onKeyDown: c, onSelect: l, onFocusChange: d, renderOption: f, renderNoResults: p, dropdownListRef: m, theme: h, optionIdPrefix: g }) {
|
|
289
|
-
let
|
|
290
|
-
let r =
|
|
286
|
+
function D({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, selectedOptions: s, onKeyDown: c, onSelect: l, onFocusChange: d, renderOption: f, renderNoResults: p, dropdownListRef: m, theme: h, optionIdPrefix: g, listboxLabel: _, loading: v }) {
|
|
287
|
+
let y = o((e) => s.some((t) => JSON.stringify(t.value) === JSON.stringify(e.value)), [s]), b = o((t, n) => {
|
|
288
|
+
let r = y(t), o = a === n;
|
|
291
289
|
return /* @__PURE__ */ u("li", {
|
|
292
290
|
id: `${g}-option-${n}`,
|
|
293
291
|
role: "option",
|
|
@@ -315,22 +313,28 @@ function D({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, se
|
|
|
315
313
|
}, [
|
|
316
314
|
a,
|
|
317
315
|
l,
|
|
318
|
-
|
|
316
|
+
y,
|
|
319
317
|
i,
|
|
320
318
|
f,
|
|
321
319
|
d,
|
|
322
320
|
h
|
|
323
321
|
]);
|
|
324
|
-
return /* @__PURE__ */ u(t, { children: /* @__PURE__ */ u("ul", {
|
|
322
|
+
return /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u("ul", {
|
|
325
323
|
ref: m,
|
|
326
324
|
className: "dropdown-options",
|
|
327
|
-
role: "
|
|
325
|
+
role: "listbox",
|
|
326
|
+
id: g,
|
|
327
|
+
"aria-label": _,
|
|
328
|
+
"aria-multiselectable": i,
|
|
329
|
+
"aria-activedescendant": a >= 0 ? `${g}-option-${a}` : void 0,
|
|
330
|
+
"aria-busy": v,
|
|
328
331
|
tabIndex: -1,
|
|
329
|
-
children: r.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
children: r.map(b)
|
|
333
|
+
}), !r.length && /* @__PURE__ */ u("div", {
|
|
334
|
+
className: "no-results",
|
|
335
|
+
role: "status",
|
|
336
|
+
children: p ? p(e) : /* @__PURE__ */ u("span", { children: "No results found" })
|
|
337
|
+
})] });
|
|
334
338
|
}
|
|
335
339
|
//#endregion
|
|
336
340
|
//#region package/dropdown/index.tsx
|
|
@@ -501,8 +505,9 @@ function j({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
|
|
|
501
505
|
"aria-haspopup": C ? "dialog" : "listbox",
|
|
502
506
|
"aria-expanded": J && !_,
|
|
503
507
|
"aria-disabled": _,
|
|
504
|
-
"aria-owns": K,
|
|
505
|
-
"aria-controls": K,
|
|
508
|
+
"aria-owns": J && !_ ? K : void 0,
|
|
509
|
+
"aria-controls": J && !_ ? K : void 0,
|
|
510
|
+
"data-rv-popup-controls": q,
|
|
506
511
|
"aria-label": te,
|
|
507
512
|
"aria-labelledby": ne,
|
|
508
513
|
"aria-describedby": re,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as e, i as t, t as n } from "./hooks.module-
|
|
2
|
-
import { t as r } from "./jsxRuntime.module-
|
|
1
|
+
import { c as e, i as t, t as n } from "./hooks.module-CXpO2xq6.js";
|
|
2
|
+
import { t as r } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
3
3
|
import { createControlId as i } from "../core/control-id.js";
|
|
4
|
-
import { n as a } from "./native-control-
|
|
5
|
-
import { t as o } from "./controls-
|
|
4
|
+
import { n as a } from "./native-control-DjJ8Na3T.js";
|
|
5
|
+
import { t as o } from "./controls-Ip2E6jIu.js";
|
|
6
6
|
import { EditorActions as s } from "../editor-actions.js";
|
|
7
7
|
//#region package/number-input/model.ts
|
|
8
8
|
var c = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as e } from "./preact.module-
|
|
2
|
-
import { i as t } from "./hooks.module-
|
|
3
|
-
import { t as n } from "./jsxRuntime.module-
|
|
4
|
-
import { t as r } from "./native-control-
|
|
1
|
+
import { i as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { i as t } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as n } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
|
+
import { t as r } from "./native-control-DjJ8Na3T.js";
|
|
5
5
|
import { DEFAULT_CALENDAR_TRANSLATIONS as i } from "../calendar/translations.js";
|
|
6
6
|
import { n as a } from "./iso-CJQl2kmq.js";
|
|
7
7
|
import { f as o, h as s, m as c, o as l, p as u } from "./model-CFrBgRHm.js";
|
|
8
|
-
import { t as d } from "./calendar-
|
|
8
|
+
import { t as d } from "./calendar-CQHVwHLW.js";
|
|
9
9
|
//#region package/calendar/picker.tsx
|
|
10
10
|
function f(f) {
|
|
11
11
|
let { selected: p, onSelectionChange: ee, presets: m, mode: h = "single", min: g = 0, max: _ = Infinity, required: v = !1, excludeDisabled: y = !1, month: b, defaultMonth: x, onMonthChange: S, ...C } = f, w = typeof p == "string" ? p : Array.isArray(p) ? p[0] : p?.from, [T, E] = t(x ?? w ?? f.referenceDate ?? s()), [D, O] = t(w ?? T), [k, A] = t(), [j, M] = t(), N = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/plus.svg?raw
|
|
2
2
|
var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z\"/></svg>";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as e, i as t, l as n, n as r, r as i, t as a } from "./preact.module-
|
|
2
|
-
import { c as o, i as s, r as c, t as l } from "./hooks.module-
|
|
3
|
-
import { t as u } from "./jsxRuntime.module-
|
|
4
|
-
import { i as d, r as f, t as p } from "./top-layer-popup-
|
|
1
|
+
import { c as e, i as t, l as n, n as r, r as i, t as a } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { c as o, i as s, r as c, t as l } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as u } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
|
+
import { i as d, r as f, t as p } from "./top-layer-popup-DU1r_2v5.js";
|
|
5
5
|
import { inheritUiMotion as m } from "../core/motion.js";
|
|
6
|
-
//#region
|
|
6
|
+
//#region node_modules/.pnpm/preact@10.29.1/node_modules/preact/compat/dist/compat.module.js
|
|
7
7
|
function h(e, t) {
|
|
8
8
|
for (var n in t) e[n] = t[n];
|
|
9
9
|
return e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region node_modules/.pnpm/preact@10.29.1/node_modules/preact/dist/preact.module.js
|
|
2
2
|
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g = {}, _ = [], v = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y = Array.isArray;
|
|
3
3
|
function b(e, t) {
|
|
4
4
|
for (var n in t) e[n] = t[n];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./jsxRuntime.module-
|
|
1
|
+
import { t as e } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
2
2
|
import { SvgIcon as t } from "../icons/icon.js";
|
|
3
|
-
import { t as n } from "./native-control-
|
|
4
|
-
//#region
|
|
3
|
+
import { t as n } from "./native-control-DjJ8Na3T.js";
|
|
4
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/star.svg?raw
|
|
5
5
|
var r = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z\"/></svg>", i = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M288.1-32c9 0 17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1zm0 76.8L230.3 158c-3.5 6.8-10 11.6-17.6 12.8l-125.5 20 89.8 89.9c5.4 5.4 7.9 13.1 6.7 20.7l-19.8 125.5 113.3-57.6c6.8-3.5 14.9-3.5 21.8 0l113.3 57.6-19.8-125.5c-1.2-7.6 1.3-15.3 6.7-20.7l89.8-89.9-125.5-20c-7.6-1.2-14.1-6-17.6-12.8L288.1 44.8z\"/></svg>";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region package/rating-choice.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e } from "./preact.module-
|
|
2
|
-
import { c as t, i as n, t as r } from "./hooks.module-
|
|
1
|
+
import { c as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { c as t, i as n, t as r } from "./hooks.module-CXpO2xq6.js";
|
|
3
3
|
import { renderHeader as i } from "../status-feedback/header.js";
|
|
4
4
|
import { renderItem as a } from "../status-feedback/item.js";
|
|
5
5
|
import { renderStatusBadge as o } from "../status-feedback/badge.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as e } from "./preact.module-
|
|
2
|
-
import { t } from "./jsxRuntime.module-
|
|
3
|
-
import { t as n } from "./native-control-
|
|
1
|
+
import { c as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { t } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
3
|
+
import { t as n } from "./native-control-DjJ8Na3T.js";
|
|
4
4
|
import { fieldDropIndex as r, fieldListDropIndex as i } from "../field-reorder.js";
|
|
5
|
-
//#region
|
|
5
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/grip-vertical.svg?raw
|
|
6
6
|
var a = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M128 40c0-22.1-17.9-40-40-40L40 0C17.9 0 0 17.9 0 40L0 88c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM0 424l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 40c0-22.1-17.9-40-40-40L232 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM192 232l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 424c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z\"/></svg>";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region package/reorder-list.tsx
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { i as e, n as t, s as n } from "./preact.module-
|
|
2
|
-
import { c as r, i, r as a, s as o, t as s } from "./hooks.module-
|
|
3
|
-
import { t as c } from "./jsxRuntime.module-
|
|
1
|
+
import { i as e, n as t, s as n } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { c as r, i, r as a, s as o, t as s } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as c } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
4
|
import { createControlId as l } from "../core/control-id.js";
|
|
5
5
|
import { PopoverController as u } from "../core/popover-controller.js";
|
|
6
6
|
import { SvgIcon as d } from "../icons/icon.js";
|
|
7
|
-
import { l as f } from "./native-control-
|
|
7
|
+
import { l as f } from "./native-control-DjJ8Na3T.js";
|
|
8
8
|
import { RemoveButton as p } from "../buttons/remove-button.js";
|
|
9
|
-
import "./chevron-down-
|
|
10
|
-
import { D as m, M as h, c as g, p as _, t as v } from "./controls-
|
|
11
|
-
import { t as y } from "./tooltip-text-
|
|
12
|
-
import { t as b } from "./clock-
|
|
13
|
-
import { t as x } from "./arrow-up-
|
|
9
|
+
import "./chevron-down-BkrpxJYD.js";
|
|
10
|
+
import { D as m, M as h, c as g, p as _, t as v } from "./controls-Ip2E6jIu.js";
|
|
11
|
+
import { t as y } from "./tooltip-text-CH_c2J-J.js";
|
|
12
|
+
import { t as b } from "./clock-DTfr4p2S.js";
|
|
13
|
+
import { t as x } from "./arrow-up-BSYhTAus.js";
|
|
14
14
|
//#region package/ai/translations.ts
|
|
15
15
|
var S = /* @__PURE__ */ "AI chat,No results,Clear chat,Restart conversation,New conversation,Request history,Clear chart,Conversation messages,Jump to latest,You,Assistant,System,Message actions,Start a conversation,Ask a question to get started.,Message,Type a message…,Working…,Reasoning summary,Pending,Running,Completed,Failed,Cancelled,{seconds}s,Data history,Review changes,Proposed changes,Change,Current,Proposed,Apply changes,Cancel changes,Undo data change,Redo data change,Ask AI to change this view,Filter or sort your data…,Send,Stop,Enter to send · Shift+Enter for a new line,Suggested requests,More,Search requests,Activity,Collapse activity,Expand activity,AI view assistant,View steps,Clear all,Restore the starting view,Restore previous view,Reset view,The view changed manually. Start a new request to continue.,Remove request: {label},{count} step,{count} steps,{count} applied request,{count} applied requests,{count} matching rows".split(",");
|
|
16
16
|
function C(e, t = {}, n = {}) {
|
|
@@ -115,7 +115,7 @@ function j({ result: e, renderTable: t }) {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
//#endregion
|
|
118
|
-
//#region
|
|
118
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/circle-check.svg?raw
|
|
119
119
|
var M = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z\"/></svg>", N = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z\"/></svg>", P = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM192 160l128 0c17.7 0 32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32l0-128c0-17.7 14.3-32 32-32z\"/></svg>";
|
|
120
120
|
//#endregion
|
|
121
121
|
//#region package/ai/prompt-history.ts
|
|
@@ -604,7 +604,7 @@ function ne({ title: e, isStreaming: t = !1, duration: n, children: r, translati
|
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
//#endregion
|
|
607
|
-
//#region
|
|
607
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/clock-rotate-left.svg?raw
|
|
608
608
|
var re = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M288 64c106 0 192 86 192 192S394 448 288 448c-65.2 0-122.9-32.5-157.6-82.3-10.1-14.5-30.1-18-44.6-7.9s-18 30.1-7.9 44.6C124.1 468.6 201 512 288 512 429.4 512 544 397.4 544 256S429.4 0 288 0C202.3 0 126.5 42.1 80 106.7L80 80c0-17.7-14.3-32-32-32S16 62.3 16 80l0 112c0 17.7 14.3 32 32 32l24.6 0c.5 0 1 0 1.5 0l86 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-38.3 0C154.9 102.6 217 64 288 64zm24 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1z\"/></svg>";
|
|
609
609
|
//#endregion
|
|
610
610
|
//#region package/ai/request-trail.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { i as e } from "./preact.module-
|
|
2
|
-
import { c as t, i as n, n as r, r as i, t as a } from "./hooks.module-
|
|
3
|
-
import { t as o } from "./jsxRuntime.module-
|
|
1
|
+
import { i as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { c as t, i as n, n as r, r as i, t as a } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as o } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
4
|
import { createControlId as s } from "../core/control-id.js";
|
|
5
|
-
import { n as c } from "./native-control-
|
|
6
|
-
import { t as l } from "./controls-
|
|
5
|
+
import { n as c } from "./native-control-DjJ8Na3T.js";
|
|
6
|
+
import { t as l } from "./controls-Ip2E6jIu.js";
|
|
7
7
|
import { SegmentedSwitch as u } from "../segmented-switch/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { EditorActions as d } from "../editor-actions.js";
|
|
9
|
+
import { n as f } from "./editor-commit-BXIUX0As.js";
|
|
10
|
+
import { HighlightedTextInput as p } from "../filter-controls.js";
|
|
11
|
+
import { n as m } from "./icon-toolbar-C4J_Wqph.js";
|
|
12
12
|
//#region package/rich-text/syntax.tsx
|
|
13
13
|
function h({ code: e }) {
|
|
14
14
|
let t = [], n = /<!--[\s\S]*?(?:-->|$)|<\/?[A-Za-z][\w:-]*(?:[^"'<>]|"[^"]*"|'[^']*')*>?/g, r = 0;
|
|
@@ -537,27 +537,27 @@ function D(e, t, n, r = () => {}) {
|
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
539
|
//#endregion
|
|
540
|
-
//#region
|
|
540
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/bold.svg?raw
|
|
541
541
|
var O = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l32 0 0 320-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c70.7 0 128-57.3 128-128 0-46.5-24.8-87.3-62-109.7 18.7-22.3 30-51 30-82.3 0-70.7-57.3-128-128-128L32 32zM288 160c0 35.3-28.7 64-64 64l-96 0 0-128 96 0c35.3 0 64 28.7 64 64zM128 416l0-128 128 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-128 0z\"/></svg>", k = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M128 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-58.7 0-133.3 320 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l58.7 0 133.3-320-64 0c-17.7 0-32-14.3-32-32z\"/></svg>", A = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M96 157.5C96 88.2 152.2 32 221.5 32L368 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L221.5 96c-34 0-61.5 27.5-61.5 61.5 0 31 23.1 57.2 53.9 61l44.1 5.5 222 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l83.1 0C103 204.6 96 181.8 96 157.5zM349.2 336l65.5 0c.9 6.1 1.4 12.2 1.4 18.5 0 69.3-56.2 125.5-125.5 125.5L144 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l146.5 0c34 0 61.5-27.5 61.5-61.5 0-6.4-1-12.7-2.8-18.5z\"/></svg>", j = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z\"/></svg>", M = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 64C0 46.3 14.3 32 32 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 112 224 0 0-112-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 320 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-144-224 0 0 144 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-320-16 0C14.3 96 0 81.7 0 64z\"/></svg>", N = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l64 0 0 320-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-352c0-17.7-14.3-32-32-32L32 32z\"/></svg>", P = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M48 64c0-17.7 14.3-32 32-32l171 0c60.2 0 109 48.8 109 109 0 43.8-26.2 83.3-66.4 100.4l-139.1 59C119 315.4 96 350.2 96 388.7l0 27.3 224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-59.3c0-64.2 38.4-122.2 97.5-147.3l139.1-59c16.6-7.1 27.4-23.4 27.4-41.4 0-24.9-20.2-45-45-45L80 96C62.3 96 48 81.7 48 64z\"/></svg>", F = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M48 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM48 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM96 256a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z\"/></svg>", I = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 72C0 58.8 10.7 48 24 48l48 0c13.3 0 24 10.7 24 24l0 104 24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-96 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-80-24 0C10.7 96 0 85.3 0 72zM30.4 301.2C41.8 292.6 55.7 288 70 288l4.9 0c33.7 0 61.1 27.4 61.1 61.1 0 19.6-9.4 37.9-25.2 49.4l-24 17.5 33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-90.7 0C13.1 464 0 450.9 0 434.7 0 425.3 4.5 416.5 12.1 411l70.5-51.3c3.4-2.5 5.4-6.4 5.4-10.6 0-7.2-5.9-13.1-13.1-13.1L70 336c-3.9 0-7.7 1.3-10.8 3.6L38.4 355.2c-10.6 8-25.6 5.8-33.6-4.8S-1 324.8 9.6 316.8l20.8-15.6zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z\"/></svg>", L = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 216C0 149.7 53.7 96 120 96l8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-8 0c-30.9 0-56 25.1-56 56l0 8 64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64L0 216zm256 0c0-66.3 53.7-120 120-120l8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-8 0c-30.9 0-56 25.1-56 56l0 8 64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-136z\"/></svg>", R = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM154.2 295.6c8.6-10.1 7.5-25.2-2.6-33.8s-25.2-7.5-33.8 2.6l-48 56c-7.7 9-7.7 22.2 0 31.2l48 56c8.6 10.1 23.8 11.2 33.8 2.6s11.2-23.8 2.6-33.8l-34.6-40.4 34.6-40.4zm112-31.2c-8.6-10.1-23.8-11.2-33.8-2.6s-11.2 23.8-2.6 33.8l34.6 40.4-34.6 40.4c-8.6 10.1-7.5 25.2 2.6 33.8s25.2 7.5 33.8-2.6l48-56c7.7-9 7.7-22.2 0-31.2l-48-56z\"/></svg>", z = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z\"/></svg>";
|
|
542
542
|
//#endregion
|
|
543
543
|
//#region package/rich-text/toolbar.tsx
|
|
544
544
|
function B({ engine: e, selection: t, text: n, showLink: r, onLink: s }) {
|
|
545
|
-
let c = a(null), l = a(null), u = () => [...c.current?.querySelectorAll("[role=\"button\"]:not([aria-disabled=\"true\"])") ?? []],
|
|
545
|
+
let c = a(null), l = a(null), u = () => [...c.current?.querySelectorAll("[role=\"button\"]:not([aria-disabled=\"true\"])") ?? []], d = (e) => {
|
|
546
546
|
l.current = e.getAttribute("aria-label");
|
|
547
547
|
for (let t of u()) t.setAttribute("tabindex", t === e ? "0" : "-1");
|
|
548
548
|
};
|
|
549
549
|
i(() => {
|
|
550
550
|
let e = u(), t = e.find((e) => e.getAttribute("aria-label") === l.current) ?? e[0];
|
|
551
|
-
t &&
|
|
551
|
+
t && d(t);
|
|
552
552
|
});
|
|
553
|
-
let
|
|
553
|
+
let f = (n, r, i) => ({
|
|
554
554
|
id: n,
|
|
555
555
|
label: r,
|
|
556
556
|
icon: i,
|
|
557
557
|
pressed: t.formats.includes(n),
|
|
558
558
|
disabled: t.block === "code",
|
|
559
559
|
run: () => e()?.format(n)
|
|
560
|
-
}),
|
|
560
|
+
}), p = (n, r, i, a) => ({
|
|
561
561
|
id: n,
|
|
562
562
|
label: r,
|
|
563
563
|
icon: i,
|
|
@@ -568,23 +568,23 @@ function B({ engine: e, selection: t, text: n, showLink: r, onLink: s }) {
|
|
|
568
568
|
{
|
|
569
569
|
label: n.inlineFormatting,
|
|
570
570
|
actions: [
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
571
|
+
f("bold", n.bold, O),
|
|
572
|
+
f("italic", n.italic, k),
|
|
573
|
+
f("strikethrough", n.strike, A),
|
|
574
|
+
f("code", n.code, j)
|
|
575
575
|
]
|
|
576
576
|
},
|
|
577
577
|
{
|
|
578
578
|
label: n.headings,
|
|
579
|
-
actions: [
|
|
579
|
+
actions: [p("h1", n.heading1, M, N), p("h2", n.heading2, M, P)]
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
582
|
label: n.structure,
|
|
583
583
|
actions: [
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
584
|
+
p("bullet", n.bullets, F),
|
|
585
|
+
p("ordered", n.numberedList, I),
|
|
586
|
+
p("quote", n.quote, L),
|
|
587
|
+
p("code", n.codeBlock, R)
|
|
588
588
|
]
|
|
589
589
|
},
|
|
590
590
|
{
|
|
@@ -608,7 +608,7 @@ function B({ engine: e, selection: t, text: n, showLink: r, onLink: s }) {
|
|
|
608
608
|
e.target.closest("[role=\"button\"]") && e.preventDefault();
|
|
609
609
|
},
|
|
610
610
|
onFocusCapture: (e) => {
|
|
611
|
-
e.target instanceof SVGElement && e.target.matches("[role=\"button\"]") &&
|
|
611
|
+
e.target instanceof SVGElement && e.target.matches("[role=\"button\"]") && d(e.target);
|
|
612
612
|
},
|
|
613
613
|
onKeyDown: (t) => {
|
|
614
614
|
if (t.key === "Escape") {
|
|
@@ -627,7 +627,7 @@ function B({ engine: e, selection: t, text: n, showLink: r, onLink: s }) {
|
|
|
627
627
|
let i = getComputedStyle(c.current).direction === "rtl", a = t.key === "ArrowRight" === i ? -1 : 1;
|
|
628
628
|
(t.key === "Home" ? n[0] : t.key === "End" ? n.at(-1) : n[(r + a + n.length) % n.length]).focus();
|
|
629
629
|
},
|
|
630
|
-
children: h.map((t) => /* @__PURE__ */ o(
|
|
630
|
+
children: h.map((t) => /* @__PURE__ */ o(m, {
|
|
631
631
|
label: t.label,
|
|
632
632
|
actions: t.actions,
|
|
633
633
|
onEscape: () => e()?.focus(),
|
|
@@ -720,7 +720,7 @@ function W(e) {
|
|
|
720
720
|
//#endregion
|
|
721
721
|
//#region package/rich-text/index.tsx
|
|
722
722
|
function G(i) {
|
|
723
|
-
let [
|
|
723
|
+
let [m] = n(() => s("rv-rich-text-help")), g = a(i.value), _ = {
|
|
724
724
|
...H,
|
|
725
725
|
...i.text
|
|
726
726
|
}, v = r(() => C(i.value), [i.value]), [y, b] = n(v), x = r(() => C(y), [y]), [S, T] = n("visual"), [E, O] = n(""), [k, A] = n(w), [j, M] = n(""), [N, P] = n(!1), F = a(!1), I = a(null), L = a(), R = a(y);
|
|
@@ -737,7 +737,7 @@ function G(i) {
|
|
|
737
737
|
let e = C(R.current), t = z(e);
|
|
738
738
|
return t ? (O(_[t]), !1) : (i.onApply(e), !0);
|
|
739
739
|
};
|
|
740
|
-
|
|
740
|
+
f(() => !F.current || R.current === v || U(), i.autoApply !== !1);
|
|
741
741
|
let W = !!z(x);
|
|
742
742
|
return /* @__PURE__ */ o("div", {
|
|
743
743
|
class: "rv-rich-text-editor",
|
|
@@ -797,7 +797,7 @@ function G(i) {
|
|
|
797
797
|
role: "textbox",
|
|
798
798
|
"aria-label": _.label,
|
|
799
799
|
"aria-multiline": "true",
|
|
800
|
-
"aria-describedby":
|
|
800
|
+
"aria-describedby": m,
|
|
801
801
|
"aria-invalid": W || void 0,
|
|
802
802
|
contentEditable: !0,
|
|
803
803
|
onClick: (e) => {
|
|
@@ -805,11 +805,11 @@ function G(i) {
|
|
|
805
805
|
}
|
|
806
806
|
}),
|
|
807
807
|
S === "visual" && /* @__PURE__ */ o("p", {
|
|
808
|
-
id:
|
|
808
|
+
id: m,
|
|
809
809
|
class: "rv-rich-text-editor__help",
|
|
810
810
|
children: k.block === "code" ? _.codeHelp : _.keyboardHelp
|
|
811
811
|
}),
|
|
812
|
-
S === "source" && /* @__PURE__ */ o(
|
|
812
|
+
S === "source" && /* @__PURE__ */ o(p, {
|
|
813
813
|
className: "rv-rich-text-editor__source",
|
|
814
814
|
"aria-label": _.source,
|
|
815
815
|
"aria-invalid": W || void 0,
|
|
@@ -825,7 +825,7 @@ function G(i) {
|
|
|
825
825
|
role: "alert",
|
|
826
826
|
children: E
|
|
827
827
|
}),
|
|
828
|
-
/* @__PURE__ */ o(
|
|
828
|
+
/* @__PURE__ */ o(d, {
|
|
829
829
|
showConfirm: i.showActions ?? i.autoApply === !1,
|
|
830
830
|
text: i.actions,
|
|
831
831
|
disabled: W,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/rotate-left.svg?raw
|
|
2
2
|
var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z\"/></svg>";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/rotate-right.svg?raw
|
|
2
2
|
var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z\"/></svg>";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as e, t } from "./hooks.module-
|
|
1
|
+
import { o as e, t } from "./hooks.module-CXpO2xq6.js";
|
|
2
2
|
import { releasePreactElement as n } from "../preact-mount.js";
|
|
3
|
-
import { t as r } from "./tooltip-session-
|
|
3
|
+
import { t as r } from "./tooltip-session-BBKkwhLZ.js";
|
|
4
4
|
import { createTooltipElement as i } from "../core/popover-controller.js";
|
|
5
5
|
//#region package/core/selection-list-tooltips.ts
|
|
6
6
|
function a(a = "[role=\"option\"]") {
|
|
@@ -9,7 +9,11 @@ function a(a = "[role=\"option\"]") {
|
|
|
9
9
|
if (o.current?.(), o.current = void 0, !e) return;
|
|
10
10
|
let t = new r(), s = i(e.ownerDocument, "rv-tooltip");
|
|
11
11
|
t.setSurface(s);
|
|
12
|
-
let c
|
|
12
|
+
let c;
|
|
13
|
+
t.onHide = () => {
|
|
14
|
+
c = void 0;
|
|
15
|
+
};
|
|
16
|
+
let l = (t) => {
|
|
13
17
|
let n = t?.closest?.(a);
|
|
14
18
|
return n && e.contains(n) ? n : void 0;
|
|
15
19
|
}, u = () => {
|
|
@@ -22,7 +26,7 @@ function a(a = "[role=\"option\"]") {
|
|
|
22
26
|
let n = [e, ...e.querySelectorAll("*")].filter((e) => e.textContent?.trim() && e.scrollWidth > e.clientWidth), r = n.filter((e) => !n.some((t) => t !== e && e.contains(t))).map((e) => e.textContent.trim()).join("\n");
|
|
23
27
|
r ? c === e && s.textContent === r && t.isOpen || (u(), c = e, s.textContent = r, t.show(e)) : u();
|
|
24
28
|
}, f = (e) => d(l(e.target)), p = (e) => {
|
|
25
|
-
l(e.relatedTarget) !== c && u();
|
|
29
|
+
l(e.relatedTarget) !== c && (e.type === "pointerout" ? t.leave(c, e) : u());
|
|
26
30
|
}, m = (t) => {
|
|
27
31
|
if (![
|
|
28
32
|
"ArrowUp",
|