@revolist/ui 4.0.4-rc → 4.0.5-rc
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/OWNERSHIP.md +1 -1
- package/README.md +16 -0
- package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
- package/_chunks/badge.view-D30pMUfi.js +14 -0
- package/_chunks/calculator-CDWOuAcp.js +4 -0
- package/_chunks/{calendar-xpZ0v3xf.js → calendar-DsXIhybL.js} +19 -19
- package/_chunks/chart-frame-CuZABXVI.js +141 -0
- package/_chunks/check-BwI7iCAm.js +4 -0
- package/_chunks/choice-chips-BhP8MZjs.js +126 -0
- package/_chunks/{color-palette-D8vyPfld.js → color-palette-DMJUChWC.js} +20 -22
- package/_chunks/color-picker-B4TQvxxB.js +143 -0
- package/_chunks/{component-C_T2VN5u.js → component-qKctqdzk.js} +281 -265
- package/_chunks/configurator-actions-C19O1rda.js +155 -0
- package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
- package/_chunks/{control-AHKXD5Eu.js → control-BkWukVt9.js} +13 -13
- package/_chunks/{controls-DsNi8V8I.js → controls-BLQnWEd7.js} +147 -155
- package/_chunks/{date-control-DrVFX13g.js → date-control-Cgw5PwlZ.js} +1 -1
- package/_chunks/date-time-B8rK5gpC.js +784 -0
- package/_chunks/{dialog.parts-CKGkC5zP.js → dialog.parts-BSbvnEwX.js} +21 -21
- package/_chunks/{duration-CL68Em0o.js → duration-DwFXonEV.js} +1 -4
- package/_chunks/editor-popup-BaaxL89T.js +81 -0
- package/_chunks/field-configurator-1eQP0tKy.js +223 -0
- package/_chunks/icon-toolbar-xbqa0hu9.js +128 -0
- package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
- package/_chunks/minus-BOAR3A1C.js +4 -0
- package/_chunks/mount-D1i5DLRn.js +266 -0
- package/_chunks/native-control-DO0d1kgx.js +636 -0
- package/_chunks/{number-input-BKwA5FnM.js → number-input-s9ddPwX6.js} +7 -7
- package/_chunks/{picker-h1P5RUgp.js → picker-AY05b41W.js} +2 -2
- package/_chunks/plus-CbGRkIGl.js +4 -0
- package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
- package/_chunks/{popup-CT2uD3go.js → popup-UXGCiv3n.js} +97 -97
- package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-BEs_QFZC.js} +1 -1
- package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-A49l172e.js} +1 -1
- package/_chunks/request-trail-DCOfa5zw.js +753 -0
- package/_chunks/rich-text-xfMWadGi.js +842 -0
- package/_chunks/rotate-left-BF6G883o.js +4 -0
- package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
- package/_chunks/tooltip-D4xkio5G.js +54 -0
- package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
- package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
- package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
- package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
- package/ai/_chat.scss +28 -3
- package/ai/_style.scss +55 -2
- package/ai/chat.d.ts +3 -1
- package/ai/components.d.ts +13 -2
- package/ai/index.d.ts +1 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +17 -1
- package/ai/results/_style.scss +80 -0
- package/ai/results/index.d.ts +11 -0
- package/ai/results/metrics.d.ts +5 -0
- package/ai/results/table.d.ts +5 -0
- package/ai/results/text.d.ts +5 -0
- package/ai/results/types.d.ts +29 -0
- package/ai/transcript.d.ts +2 -0
- package/ai/translations.d.ts +1 -1
- package/assignee/index.js +2 -2
- package/avatar/index.js +32 -31
- package/badge.view.d.ts +8 -0
- package/brush-range/component.js +28 -27
- package/buttons/svg-button.d.ts +1 -1
- package/buttons/svg-button.js +16 -16
- package/calendar/_calendar.scss +2 -2
- package/calendar/calendar.js +1 -1
- package/calendar/index.js +2 -2
- package/choice-chips/index.d.ts +3 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +1 -1
- package/color-palette/color-picker.js +2 -2
- package/component-catalog.d.ts +6 -1
- package/configurator-actions.d.ts +67 -0
- package/configurator-actions.js +1 -0
- package/configurator-aggregation-list.d.ts +14 -0
- package/configurator-aggregation-list.js +61 -0
- package/configurator-drop-zone.d.ts +38 -0
- package/configurator-drop-zone.js +64 -0
- package/configurator-field-icon.d.ts +10 -0
- package/configurator-field-icon.js +1 -0
- package/configurator-focus.d.ts +4 -0
- package/configurator-focus.js +39 -0
- package/configurator-sections.d.ts +42 -0
- package/configurator-sections.js +71 -0
- package/control-presentation.js +24 -19
- package/controls.d.ts +1 -2
- package/controls.js +4 -3
- package/core/editor-popup.js +1 -1
- package/core/popover-controller.d.ts +35 -0
- package/core/popup-ownership.d.ts +2 -0
- package/core/title-tooltip.d.ts +2 -0
- package/core/tooltip-session.d.ts +29 -0
- package/core/tooltip-surface.d.ts +13 -0
- package/core/tooltip-text.d.ts +6 -0
- package/core/tooltip.d.ts +35 -0
- package/core/top-layer-popup.d.ts +4 -0
- package/core/top-layer-popup.js +1 -23
- package/date-time/index.js +1 -1
- package/date-time/style.scss +50 -7
- package/date-time/time-selection.d.ts +3 -1
- package/dialog/dialog.dom.js +8 -8
- package/dialog/dialog.parts.js +1 -1
- package/distribution-chart/_distribution-chart.scss +1 -57
- package/distribution-chart/area-chart.js +1 -1
- package/distribution-chart/bar-chart.js +1 -1
- package/distribution-chart/line-chart.js +1 -1
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +2 -1
- package/dropdown/popup.d.ts +2 -2
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +1 -1
- package/field-configurator.d.ts +19 -0
- package/field-configurator.js +4 -170
- package/field-expansion.d.ts +9 -0
- package/filter/filters/slider/_slider.scss +0 -17
- package/filter/filters/slider/control.js +2 -0
- package/filter/filters/slider/runtime.js +49 -22
- package/filter/filters/slider/single.js +1 -1
- package/filter-badge.js +1 -1
- package/filter-controls.js +1 -1
- package/form-controls/index.js +6 -6
- package/form-controls/presentation.js +12 -12
- package/formatting/control-tooltip.d.ts +2 -27
- package/formatting/index.js +22 -21
- package/formatting/styles.scss +2 -47
- package/framework.js +215 -208
- package/history-controls.js +27 -1
- package/icon-toolbar.d.ts +58 -0
- package/icon-toolbar.js +1 -0
- package/masked-input/index.js +1 -1
- package/native-control.d.ts +1 -2
- package/native-control.js +1 -1
- package/native-styles.css +1 -1
- package/native.js +45 -42
- package/number-input/index.js +1 -1
- package/package.json +36 -1
- package/pagination.js +1 -1
- package/pdf-viewer/index.js +1 -1
- package/pickers.d.ts +5 -1
- package/preact-mount.js +1 -1
- package/preact.d.ts +7 -0
- package/preact.js +68 -61
- package/rating-choice.js +1 -1
- package/react.d.ts +5 -0
- package/react.js +67 -65
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-popup.js +1 -1
- package/resource-picker/resource-picker.js +4 -4
- package/rich-text/engine.d.ts +1 -0
- package/rich-text/format-html.d.ts +2 -0
- package/rich-text/index.d.ts +4 -0
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +2 -0
- package/rich-text/style.scss +165 -70
- package/rich-text/syntax.d.ts +5 -0
- package/rich-text/translations.d.ts +2 -0
- package/select.d.ts +3 -1
- package/select.js +1 -1
- package/status-feedback/exit-snapshot.js +4 -4
- package/status-feedback/popover.js +4 -4
- package/styles/_compositions.scss +3 -3
- package/styles/_field-configurator.scss +146 -0
- package/styles/_fields-grid.scss +35 -0
- package/styles/_primitives.scss +25 -18
- package/styles/configurator-actions.scss +141 -0
- package/styles/legacy-pagination.css +19 -2
- package/styles.css +1 -1
- package/surfaces.d.ts +3 -0
- package/surfaces.js +34 -131
- package/surfaces.view.d.ts +4 -34
- package/svelte.js +1 -1
- package/switch/index.js +15 -14
- package/time-grid.js +37 -36
- package/timeline-track/index.js +2 -2
- package/ui.css +1 -1
- package/vue.d.ts +24 -9
- package/vue.js +118 -116
- package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
- package/_chunks/choice-chips-CHQTUdLs.js +0 -110
- package/_chunks/color-picker-CudqPYZo.js +0 -138
- package/_chunks/control-tooltip-uscKfAnV.js +0 -100
- package/_chunks/date-time-qIhp5vaX.js +0 -768
- package/_chunks/editor-popup-WDdtVDNA.js +0 -81
- package/_chunks/history-controls-B3u3INEK.js +0 -27
- package/_chunks/mount-DQ1cpppK.js +0 -257
- package/_chunks/native-control-C_yok8_-.js +0 -605
- package/_chunks/request-trail-DSlFix6i.js +0 -618
- package/_chunks/rich-text-CH7gIqOS.js +0 -636
package/vue.js
CHANGED
|
@@ -1,81 +1,83 @@
|
|
|
1
1
|
import { c as e, r as t } from "./_chunks/preact.module-BBM36DnO.js";
|
|
2
2
|
import { r as n, t as r } from "./_chunks/hooks.module-CG3gN83z.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
3
|
+
import { S as i, _ as a, a as o, b as ee, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as te, t as ne, u as re, x as ie, y as ae } from "./_chunks/request-trail-DCOfa5zw.js";
|
|
4
|
+
import { n as oe, t as se } from "./_chunks/rating-choice-BEs_QFZC.js";
|
|
5
|
+
import { SvgIcon as y } from "./icons/icon.js";
|
|
6
|
+
import { l as ce, n as le, p as ue } from "./_chunks/native-control-DO0d1kgx.js";
|
|
7
|
+
import { t as de } from "./_chunks/popup-UXGCiv3n.js";
|
|
8
|
+
import { t as fe } from "./_chunks/delete-button-CW9vjLnk.js";
|
|
9
|
+
import { RemoveButton as pe } from "./buttons/remove-button.js";
|
|
10
|
+
import { A as me, C as he, D as ge, E as b, F as x, I as S, L as C, M as w, N as T, O as E, P as D, S as O, T as k, _ as A, a as j, b as M, c as N, d as P, f as F, g as I, h as L, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, u as Oe, v as ke, w as Ae, x as je, y as Me } from "./_chunks/controls-BLQnWEd7.js";
|
|
11
|
+
import { t as Ne } from "./_chunks/tooltip-D4xkio5G.js";
|
|
12
|
+
import { SvgButton as Pe } from "./buttons/svg-button.js";
|
|
13
|
+
import { SegmentedSwitch as Fe } from "./segmented-switch/index.js";
|
|
13
14
|
import { EditorList as R, EditorListGroup as z, EditorListItem as B, EditorListItemContent as V, EditorPane as H, EditorSplitLayout as U } from "./editor-layout/index.js";
|
|
14
|
-
import { a as
|
|
15
|
-
import {
|
|
16
|
-
import { n as W, t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { n as
|
|
20
|
-
import { FilterBadge as
|
|
21
|
-
import { ActivityMessage as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
15
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./_chunks/dialog.parts-BSbvnEwX.js";
|
|
16
|
+
import { t as Ge } from "./_chunks/badge.view-D30pMUfi.js";
|
|
17
|
+
import { n as W, t as Ke } from "./_chunks/render-m5eMMwFR.js";
|
|
18
|
+
import { t as qe } from "./_chunks/color-palette-DMJUChWC.js";
|
|
19
|
+
import { t as Je } from "./_chunks/color-picker-B4TQvxxB.js";
|
|
20
|
+
import { n as Ye, r as Xe, t as Ze } from "./_chunks/choice-chips-BhP8MZjs.js";
|
|
21
|
+
import { FilterBadge as Qe, FilterBadgeInfoButton as $e } from "./filter-badge.js";
|
|
22
|
+
import { ActivityMessage as et } from "./activity-message.js";
|
|
23
|
+
import { n as tt } from "./_chunks/icon-toolbar-xbqa0hu9.js";
|
|
24
|
+
import { Checkbox as nt } from "./checkbox/index.js";
|
|
25
|
+
import { Switch as rt } from "./switch/index.js";
|
|
26
|
+
import { SearchInput as it } from "./search-input/index.js";
|
|
27
|
+
import { DisclosureSummary as at, FilterChip as G, FormField as ot } from "./form-controls/presentation.js";
|
|
28
|
+
import { a as st, i as ct, r as lt } from "./_chunks/date-time-B8rK5gpC.js";
|
|
29
|
+
import { n as ut, t as dt } from "./_chunks/duration-DwFXonEV.js";
|
|
30
|
+
import { CalendarHeader as ft, CalendarWeekdays as pt } from "./calendar/header.js";
|
|
31
|
+
import { t as mt } from "./_chunks/calendar-DsXIhybL.js";
|
|
32
|
+
import { CalendarDay as ht } from "./calendar/day.js";
|
|
33
|
+
import { CalendarMonthGrid as gt } from "./calendar/month-grid.js";
|
|
34
|
+
import { CalendarYearGrid as _t } from "./calendar/year-grid.js";
|
|
35
|
+
import { t as vt } from "./_chunks/picker-AY05b41W.js";
|
|
36
|
+
import { ResourcePickerAvatar as yt } from "./resource-picker/resource-picker-avatar.js";
|
|
35
37
|
import { SharedResourcePicker as K } from "./resource-picker/resource-picker.js";
|
|
36
38
|
import { PreactRangeSlider as q } from "./filter/filters/slider/preact.js";
|
|
37
|
-
import { SingleValueSlider as J, SliderField as
|
|
38
|
-
import { a as
|
|
39
|
-
import { BarChart as
|
|
40
|
-
import { LineChart as
|
|
41
|
-
import { AreaChart as
|
|
42
|
-
import { DistributionChart as
|
|
43
|
-
import { BrushRange as
|
|
44
|
-
import { Legend as
|
|
45
|
-
import { HighlightedTextInput as
|
|
46
|
-
import { TimeGrid as
|
|
47
|
-
import {
|
|
48
|
-
import { ComparisonPreview as
|
|
49
|
-
import { n as
|
|
50
|
-
import { TimelineTrack as
|
|
51
|
-
import { t as
|
|
52
|
-
import { MaskedDraft as
|
|
53
|
-
import { t as
|
|
54
|
-
import { AssigneeField as
|
|
55
|
-
import { i as
|
|
56
|
-
import { Teleport as
|
|
39
|
+
import { SingleValueSlider as J, SliderField as bt } from "./filter/filters/slider/single.js";
|
|
40
|
+
import { a as xt, c as St, d as Ct, f as wt, i as Tt, l as Et, m as Dt, o as Ot, p as kt, r as At, s as jt, t as Mt, u as Nt } from "./_chunks/component-qKctqdzk.js";
|
|
41
|
+
import { BarChart as Pt } from "./distribution-chart/bar-chart.js";
|
|
42
|
+
import { LineChart as Ft } from "./distribution-chart/line-chart.js";
|
|
43
|
+
import { AreaChart as It } from "./distribution-chart/area-chart.js";
|
|
44
|
+
import { DistributionChart as Lt } from "./distribution-chart/index.js";
|
|
45
|
+
import { BrushRange as Rt } from "./brush-range/component.js";
|
|
46
|
+
import { Legend as zt } from "./legend.js";
|
|
47
|
+
import { HighlightedTextInput as Bt, InlineFieldGroup as Vt, OptionButton as Ht } from "./filter-controls.js";
|
|
48
|
+
import { TimeGrid as Ut } from "./time-grid.js";
|
|
49
|
+
import { _ as Wt, a as Gt, c as Kt, d as qt, f as Jt, g as Yt, h as Xt, i as Zt, l as Qt, m as $t, o as en, p as tn, r as nn, s as rn, u as an, v as on } from "./_chunks/field-configurator-1eQP0tKy.js";
|
|
50
|
+
import { ComparisonPreview as sn, IconChoiceGroup as cn, IconToggleButton as ln, InspectorSection as un, TypographyControls as dn } from "./formatting/index.js";
|
|
51
|
+
import { n as fn, t as pn } from "./_chunks/reorder-list-A49l172e.js";
|
|
52
|
+
import { TimelineTrack as mn } from "./timeline-track/index.js";
|
|
53
|
+
import { t as hn } from "./_chunks/number-input-s9ddPwX6.js";
|
|
54
|
+
import { MaskedDraft as gn } from "./masked-input/index.js";
|
|
55
|
+
import { t as _n } from "./_chunks/rich-text-xfMWadGi.js";
|
|
56
|
+
import { AssigneeField as vn, AssigneePicker as yn, AssigneePickerLayout as bn } from "./assignee/index.js";
|
|
57
|
+
import { i as xn } from "./_chunks/component-metadata-BMOOmqx5.js";
|
|
58
|
+
import { Teleport as Sn, defineComponent as Cn, h as Y, onBeforeUnmount as wn, onUpdated as Tn, shallowRef as X, watchPostEffect as En } from "vue";
|
|
57
59
|
//#region src/vue-adapter.ts
|
|
58
60
|
function Z(i, a, o = {}) {
|
|
59
|
-
return
|
|
61
|
+
return Cn({
|
|
60
62
|
name: `Rv${a}`,
|
|
61
63
|
inheritAttrs: !1,
|
|
62
|
-
setup(
|
|
63
|
-
let
|
|
64
|
-
function
|
|
64
|
+
setup(ee, { attrs: s, slots: c, expose: l }) {
|
|
65
|
+
let u = X(null), d = /* @__PURE__ */ new Map(), f = X([]), p = !1, m = 0, h = /* @__PURE__ */ new Map(), g = () => Object.entries(c).filter((e) => typeof e[1] == "function");
|
|
66
|
+
function _({ slot: t, scope: i }) {
|
|
65
67
|
let a = r(null);
|
|
66
68
|
return n(() => {
|
|
67
|
-
if (!a.current ||
|
|
68
|
-
let e = a.current, n =
|
|
69
|
-
|
|
69
|
+
if (!a.current || p) return;
|
|
70
|
+
let e = a.current, n = d.get(e)?.id ?? m++;
|
|
71
|
+
d.set(e, {
|
|
70
72
|
element: e,
|
|
71
73
|
slot: t,
|
|
72
74
|
scope: i,
|
|
73
75
|
id: n
|
|
74
|
-
}),
|
|
76
|
+
}), f.value = [...d.values()];
|
|
75
77
|
}, [t, i]), n(() => {
|
|
76
78
|
let e = a.current;
|
|
77
79
|
return () => {
|
|
78
|
-
e &&
|
|
80
|
+
e && d.delete(e), p || (f.value = [...d.values()]);
|
|
79
81
|
};
|
|
80
82
|
}, []), e("span", {
|
|
81
83
|
ref: a,
|
|
@@ -83,10 +85,10 @@ function Z(i, a, o = {}) {
|
|
|
83
85
|
"data-rv-vue-slot": ""
|
|
84
86
|
});
|
|
85
87
|
}
|
|
86
|
-
function
|
|
87
|
-
if (!
|
|
88
|
+
function v() {
|
|
89
|
+
if (!u.value || p) return;
|
|
88
90
|
let n = {};
|
|
89
|
-
for (let [e, t] of Object.entries(
|
|
91
|
+
for (let [e, t] of Object.entries(s)) {
|
|
90
92
|
if (e === "modelValue" || e === "onUpdate:modelValue") continue;
|
|
91
93
|
let r = /^(aria-|data-)/.test(e) ? e : e.replace(/-([a-z])/g, (e, t) => t.toUpperCase()), i = [
|
|
92
94
|
"disabled",
|
|
@@ -104,45 +106,45 @@ function Z(i, a, o = {}) {
|
|
|
104
106
|
].includes(r);
|
|
105
107
|
n[r === "class" ? "className" : r] = i && t === "" ? !0 : t;
|
|
106
108
|
}
|
|
107
|
-
if (o.model && ("modelValue" in
|
|
109
|
+
if (o.model && ("modelValue" in s || "onUpdate:modelValue" in s)) {
|
|
108
110
|
let { prop: e, callback: t } = o.model;
|
|
109
|
-
"modelValue" in
|
|
111
|
+
"modelValue" in s && (n[e] = s.modelValue);
|
|
110
112
|
let r = n[t];
|
|
111
113
|
n[t] = (e, ...t) => {
|
|
112
114
|
r?.(e, ...t);
|
|
113
|
-
let n =
|
|
115
|
+
let n = s["onUpdate:modelValue"];
|
|
114
116
|
for (let t of Array.isArray(n) ? n : [n]) typeof t == "function" && t(e);
|
|
115
117
|
};
|
|
116
118
|
}
|
|
117
|
-
let r =
|
|
118
|
-
|
|
119
|
+
let r = g();
|
|
120
|
+
h = new Map(r);
|
|
119
121
|
for (let [t, i] of r) {
|
|
120
122
|
if (!i) continue;
|
|
121
123
|
let r = o.renderSlots?.[t];
|
|
122
124
|
r ? n[r.prop] = (...t) => {
|
|
123
125
|
r.skipFactory && (t = t.slice(1));
|
|
124
126
|
let n = Object.fromEntries(r.args.map((e, n) => [e, t[n]]));
|
|
125
|
-
return e(
|
|
127
|
+
return e(_, {
|
|
126
128
|
slot: i,
|
|
127
129
|
scope: n
|
|
128
130
|
});
|
|
129
|
-
} : n[t === "default" ? "children" : t] = e(
|
|
131
|
+
} : n[t === "default" ? "children" : t] = e(_, {
|
|
130
132
|
slot: i,
|
|
131
133
|
scope: {}
|
|
132
134
|
});
|
|
133
135
|
}
|
|
134
|
-
t(e(i, n),
|
|
136
|
+
t(e(i, n), u.value);
|
|
135
137
|
}
|
|
136
|
-
return
|
|
137
|
-
let e =
|
|
138
|
-
(e.length !==
|
|
139
|
-
}),
|
|
140
|
-
|
|
141
|
-
}),
|
|
142
|
-
ref:
|
|
138
|
+
return En(v), Tn(() => {
|
|
139
|
+
let e = g();
|
|
140
|
+
(e.length !== h.size || e.some(([e, t]) => h.get(e) !== t)) && v();
|
|
141
|
+
}), wn(() => {
|
|
142
|
+
p = !0, u.value && t(null, u.value), d.clear();
|
|
143
|
+
}), l({ element: u }), () => [Y("div", {
|
|
144
|
+
ref: u,
|
|
143
145
|
style: { display: "contents" },
|
|
144
146
|
"data-rv-vue-host": a
|
|
145
|
-
}), ...
|
|
147
|
+
}), ...f.value.map((e) => Y(Sn, {
|
|
146
148
|
key: e.id,
|
|
147
149
|
to: e.element
|
|
148
150
|
}, e.slot(e.scope)))];
|
|
@@ -171,103 +173,103 @@ var Q = {
|
|
|
171
173
|
args: [],
|
|
172
174
|
skipFactory: !0
|
|
173
175
|
}
|
|
174
|
-
},
|
|
176
|
+
}, Dn = /* @__PURE__ */ Z(y, "Icon"), On = /* @__PURE__ */ Z(G, "RemovableChip"), kn = /* @__PURE__ */ Z(J, "Slider", { model: {
|
|
175
177
|
prop: "value",
|
|
176
178
|
callback: "onChange"
|
|
177
|
-
} }),
|
|
179
|
+
} }), An = /* @__PURE__ */ Z(q, "RangeSlider"), jn = /* @__PURE__ */ Z(K, "ResourcePicker", { model: {
|
|
178
180
|
prop: "selectedResourceIds",
|
|
179
181
|
callback: "onChange"
|
|
180
|
-
} }),
|
|
182
|
+
} }), Mn = /* @__PURE__ */ Z(W, "FeedbackPanel"), Nn = /* @__PURE__ */ Z(le, "Input"), Pn = /* @__PURE__ */ Z(y, "SvgIcon"), Fn = /* @__PURE__ */ Z(Pe, "SvgButton"), In = /* @__PURE__ */ Z(fe, "DeleteButton"), Ln = /* @__PURE__ */ Z(pe, "RemoveButton"), Rn = /* @__PURE__ */ Z(nt, "Checkbox", { model: {
|
|
181
183
|
prop: "checked",
|
|
182
184
|
callback: "onChange"
|
|
183
|
-
} }),
|
|
185
|
+
} }), zn = /* @__PURE__ */ Z(rt, "Switch", { model: {
|
|
184
186
|
prop: "checked",
|
|
185
187
|
callback: "onChange"
|
|
186
|
-
} }),
|
|
188
|
+
} }), Bn = /* @__PURE__ */ Z(Fe, "SegmentedSwitch", { model: {
|
|
187
189
|
prop: "value",
|
|
188
190
|
callback: "onChange"
|
|
189
|
-
} }),
|
|
191
|
+
} }), Vn = /* @__PURE__ */ Z(Xe, "ChoiceChips", { model: {
|
|
190
192
|
prop: "value",
|
|
191
193
|
callback: "onChange"
|
|
192
|
-
} }),
|
|
194
|
+
} }), Hn = /* @__PURE__ */ Z(Ye, "ChoiceChipInfoButton"), Un = /* @__PURE__ */ Z(Ze, "ChoiceChip"), $ = /* @__PURE__ */ Z(it, "SearchInput", { model: {
|
|
193
195
|
prop: "value",
|
|
194
196
|
callback: "onValueChange"
|
|
195
|
-
} }),
|
|
197
|
+
} }), Wn = /* @__PURE__ */ Z(G, "FilterChip"), Gn = /* @__PURE__ */ Z(ot, "FormField"), Kn = /* @__PURE__ */ Z(at, "DisclosureSummary"), qn = /* @__PURE__ */ Z(U, "EditorSplitLayout"), Jn = /* @__PURE__ */ Z(H, "EditorPane"), Yn = /* @__PURE__ */ Z(R, "EditorList"), Xn = /* @__PURE__ */ Z(B, "EditorListItem"), Zn = /* @__PURE__ */ Z(V, "EditorListItemContent"), Qn = /* @__PURE__ */ Z(z, "EditorListGroup"), $n = /* @__PURE__ */ Z(mt, "Calendar"), er = /* @__PURE__ */ Z(ft, "CalendarHeader"), tr = /* @__PURE__ */ Z(pt, "CalendarWeekdays"), nr = /* @__PURE__ */ Z(ht, "CalendarDay"), rr = /* @__PURE__ */ Z(gt, "CalendarMonthGrid"), ir = /* @__PURE__ */ Z(_t, "CalendarYearGrid"), ar = /* @__PURE__ */ Z(vt, "CalendarPicker", { model: {
|
|
196
198
|
prop: "selected",
|
|
197
199
|
callback: "onSelectionChange"
|
|
198
|
-
} }),
|
|
200
|
+
} }), or = /* @__PURE__ */ Z(K, "SharedResourcePicker", { model: {
|
|
199
201
|
prop: "selectedResourceIds",
|
|
200
202
|
callback: "onChange"
|
|
201
|
-
} }),
|
|
203
|
+
} }), sr = /* @__PURE__ */ Z(yt, "ResourcePickerAvatar"), cr = /* @__PURE__ */ Z(qe, "ColorPalette", { model: {
|
|
202
204
|
prop: "value",
|
|
203
205
|
callback: "onChange"
|
|
204
|
-
} }),
|
|
206
|
+
} }), lr = /* @__PURE__ */ Z(Je, "ColorPicker", { model: {
|
|
205
207
|
prop: "value",
|
|
206
208
|
callback: "onChange"
|
|
207
|
-
} }),
|
|
209
|
+
} }), ur = /* @__PURE__ */ Z(ce, "Dropdown", {
|
|
208
210
|
model: {
|
|
209
211
|
prop: "value",
|
|
210
212
|
callback: "onChange"
|
|
211
213
|
},
|
|
212
214
|
renderSlots: Q
|
|
213
|
-
}),
|
|
215
|
+
}), dr = /* @__PURE__ */ Z(de, "DropdownPopup"), fr = /* @__PURE__ */ Z(ue, "DropdownPopupContent"), pr = /* @__PURE__ */ Z(q, "PreactRangeSlider"), mr = /* @__PURE__ */ Z(J, "SingleValueSlider", { model: {
|
|
214
216
|
prop: "value",
|
|
215
217
|
callback: "onChange"
|
|
216
|
-
} }),
|
|
218
|
+
} }), hr = /* @__PURE__ */ Z(bt, "SliderField"), gr = /* @__PURE__ */ Z(we, "IconButton"), _r = /* @__PURE__ */ Z(T, "ToggleButton", { model: {
|
|
217
219
|
prop: "pressed",
|
|
218
220
|
callback: "onPressedChange"
|
|
219
|
-
} }),
|
|
221
|
+
} }), vr = /* @__PURE__ */ Z(Se, "ButtonGroup"), yr = /* @__PURE__ */ Z(k, "SegmentedControl", { model: {
|
|
220
222
|
prop: "value",
|
|
221
223
|
callback: "onChange"
|
|
222
|
-
} }),
|
|
224
|
+
} }), br = /* @__PURE__ */ Z(ye, "Tabs", { model: {
|
|
223
225
|
prop: "value",
|
|
224
226
|
callback: "onChange"
|
|
225
|
-
} }),
|
|
227
|
+
} }), xr = /* @__PURE__ */ Z(E, "TabPanel"), Sr = /* @__PURE__ */ Z(O, "RadioGroup", { model: {
|
|
226
228
|
prop: "value",
|
|
227
229
|
callback: "onChange"
|
|
228
|
-
} }),
|
|
230
|
+
} }), Cr = /* @__PURE__ */ Z(me, "TextInput", { model: {
|
|
229
231
|
prop: "value",
|
|
230
232
|
callback: "onValueChange"
|
|
231
|
-
} }),
|
|
233
|
+
} }), wr = /* @__PURE__ */ Z(ve, "Textarea", { model: {
|
|
232
234
|
prop: "value",
|
|
233
235
|
callback: "onValueChange"
|
|
234
|
-
} }),
|
|
236
|
+
} }), Tr = /* @__PURE__ */ Z(ke, "NumberInput", { model: {
|
|
235
237
|
prop: "value",
|
|
236
238
|
callback: "onValueChange"
|
|
237
|
-
} }),
|
|
239
|
+
} }), Er = /* @__PURE__ */ Z(Me, "NumberStepper", { model: {
|
|
238
240
|
prop: "value",
|
|
239
241
|
callback: "onChange"
|
|
240
|
-
} }),
|
|
242
|
+
} }), Dr = /* @__PURE__ */ Z(Ce, "DateInput", { model: {
|
|
241
243
|
prop: "value",
|
|
242
244
|
callback: "onValueChange"
|
|
243
|
-
} }),
|
|
245
|
+
} }), Or = /* @__PURE__ */ Z(w, "TimeInput", { model: {
|
|
244
246
|
prop: "value",
|
|
245
247
|
callback: "onValueChange"
|
|
246
|
-
} }),
|
|
248
|
+
} }), kr = /* @__PURE__ */ Z(Ee, "DateTimeInput", { model: {
|
|
247
249
|
prop: "value",
|
|
248
250
|
callback: "onValueChange"
|
|
249
|
-
} }),
|
|
251
|
+
} }), Ar = /* @__PURE__ */ Z(Te, "Chip"), jr = /* @__PURE__ */ Z(P, "FieldHint"), Mr = /* @__PURE__ */ Z(Oe, "FieldError"), Nr = /* @__PURE__ */ Z(F, "FormSection"), Pr = /* @__PURE__ */ Z(N, "Disclosure"), Fr = /* @__PURE__ */ Z(je, "Panel"), Ir = /* @__PURE__ */ Z(D, "Toolbar"), Lr = /* @__PURE__ */ Z(x, "ToolbarGroup"), Rr = /* @__PURE__ */ Z(S, "ToolbarSeparator"), zr = /* @__PURE__ */ Z(Ge, "Badge"), Br = /* @__PURE__ */ Z(j, "CountBadge"), Vr = /* @__PURE__ */ Z(b, "Spinner"), Hr = /* @__PURE__ */ Z(xe, "LoadingOverlay"), Ur = /* @__PURE__ */ Z(be, "EmptyState"), Wr = /* @__PURE__ */ Z(L, "Menu"), Gr = /* @__PURE__ */ Z(I, "MenuItem"), Kr = /* @__PURE__ */ Z(A, "MenuSeparator"), qr = /* @__PURE__ */ Z(ge, "Submenu"), Jr = /* @__PURE__ */ Z(Ae, "ResizeHandle"), Yr = /* @__PURE__ */ Z(M, "Pagination"), Xr = /* @__PURE__ */ Z(_e, "CircularProgress"), Zr = /* @__PURE__ */ Z(he, "Rating", { model: {
|
|
250
252
|
prop: "value",
|
|
251
253
|
callback: "onChange"
|
|
252
|
-
} }),
|
|
254
|
+
} }), Qr = /* @__PURE__ */ Z(De, "Button"), $r = /* @__PURE__ */ Z(H, "Pane"), ei = /* @__PURE__ */ Z(U, "SplitLayout"), ti = /* @__PURE__ */ Z(C, "Alert"), ni = /* @__PURE__ */ Z(R, "Listbox"), ri = /* @__PURE__ */ Z(B, "ListboxOption"), ii = /* @__PURE__ */ Z(z, "ListboxGroup"), ai = /* @__PURE__ */ Z(V, "ListboxOptionContent"), oi = /* @__PURE__ */ Z(W, "StatusFeedbackPanel"), si = /* @__PURE__ */ Z(Ke, "StatusBadge"), ci = /* @__PURE__ */ Z(Ot, "Combobox", {
|
|
253
255
|
model: {
|
|
254
256
|
prop: "value",
|
|
255
257
|
callback: "onChange"
|
|
256
258
|
},
|
|
257
259
|
renderSlots: Q
|
|
258
|
-
}),
|
|
260
|
+
}), li = /* @__PURE__ */ Z(Ct, "MultiSelect", {
|
|
259
261
|
model: {
|
|
260
262
|
prop: "value",
|
|
261
263
|
callback: "onChange"
|
|
262
264
|
},
|
|
263
265
|
renderSlots: Q
|
|
264
|
-
}),
|
|
266
|
+
}), ui = /* @__PURE__ */ Z(xt, "Avatar"), di = /* @__PURE__ */ Z(kt, "ProgressBar"), fi = /* @__PURE__ */ Z(wt, "Popover"), pi = /* @__PURE__ */ Z(Dt, "Tooltip"), mi = /* @__PURE__ */ Z(Nt, "Dialog"), hi = /* @__PURE__ */ Z(jt, "ConfirmDialog"), gi = /* @__PURE__ */ Z(St, "DatePicker", { model: {
|
|
265
267
|
prop: "value",
|
|
266
268
|
callback: "onChange"
|
|
267
|
-
} }),
|
|
269
|
+
} }), _i = /* @__PURE__ */ Z(Et, "DateRangePicker", { model: {
|
|
268
270
|
prop: "value",
|
|
269
271
|
callback: "onChange"
|
|
270
|
-
} }),
|
|
272
|
+
} }), vi = /* @__PURE__ */ Z(Ue, "DialogHeader"), yi = /* @__PURE__ */ Z(He, "DialogBody"), bi = /* @__PURE__ */ Z(Ie, "DialogFooter"), xi = /* @__PURE__ */ Z(Lt, "DistributionChart"), Si = /* @__PURE__ */ Z(Pt, "BarChart"), Ci = /* @__PURE__ */ Z(Ft, "LineChart"), wi = /* @__PURE__ */ Z(It, "AreaChart"), Ti = /* @__PURE__ */ Z(Rt, "BrushRange"), Ei = /* @__PURE__ */ Z(Ht, "OptionButton"), Di = /* @__PURE__ */ Z(Bt, "HighlightedTextInput"), Oi = /* @__PURE__ */ Z(Vt, "InlineFieldGroup"), ki = /* @__PURE__ */ Z(zt, "Legend"), Ai = /* @__PURE__ */ Z(Ut, "TimeGrid"), ji = /* @__PURE__ */ Z(Kt, "FieldIcon"), Mi = /* @__PURE__ */ Z(Wt, "FieldSummary"), Ni = /* @__PURE__ */ Z(an, "FieldLibrary"), Pi = /* @__PURE__ */ Z(rn, "FieldGroupHeading"), Fi = /* @__PURE__ */ Z(en, "FieldGroup"), Ii = /* @__PURE__ */ Z(Jt, "FieldList"), Li = /* @__PURE__ */ Z(Xt, "FieldRow"), Ri = /* @__PURE__ */ Z(Zt, "FieldContent"), zi = /* @__PURE__ */ Z(Qt, "FieldItem"), Bi = /* @__PURE__ */ Z(qt, "FieldLibraryList"), Vi = /* @__PURE__ */ Z(on, "SelectedField"), Hi = /* @__PURE__ */ Z(nn, "FieldActions"), Ui = /* @__PURE__ */ Z(Yt, "FieldStatusBadge"), Wi = /* @__PURE__ */ Z(tn, "FieldRemoveButton"), Gi = /* @__PURE__ */ Z($t, "FieldRemoveIcon"), Ki = /* @__PURE__ */ Z(Gt, "FieldDropIndicator"), qi = /* @__PURE__ */ Z(Ve, "DialogForm"), Ji = /* @__PURE__ */ Z(Re, "DialogCloseButton"), Yi = /* @__PURE__ */ Z(We, "DialogActionFooter"), Xi = /* @__PURE__ */ Z(Be, "DialogActions"), Zi = /* @__PURE__ */ Z(Le, "DialogTitleInput"), Qi = /* @__PURE__ */ Z(ze, "EditableDialogHeader"), $i = /* @__PURE__ */ Z(Ne, "ControlTooltip"), ea = /* @__PURE__ */ Z(un, "InspectorSection"), ta = /* @__PURE__ */ Z(cn, "IconChoiceGroup"), na = /* @__PURE__ */ Z(ln, "IconToggleButton"), ra = /* @__PURE__ */ Z(dn, "TypographyControls"), ia = /* @__PURE__ */ Z(sn, "ComparisonPreview"), aa = /* @__PURE__ */ Z($e, "FilterBadgeInfoButton"), oa = /* @__PURE__ */ Z(Qe, "FilterBadge"), sa = /* @__PURE__ */ Z(oe, "RatingStar"), ca = /* @__PURE__ */ Z(se, "RatingChoice"), la = /* @__PURE__ */ Z(fn, "ReorderList", { renderSlots: {
|
|
271
273
|
item: {
|
|
272
274
|
prop: "renderItem",
|
|
273
275
|
args: ["item", "index"]
|
|
@@ -276,21 +278,21 @@ var Q = {
|
|
|
276
278
|
prop: "renderHandle",
|
|
277
279
|
args: ["item", "index"]
|
|
278
280
|
}
|
|
279
|
-
} }),
|
|
281
|
+
} }), ua = /* @__PURE__ */ Z(pn, "ReorderHandle"), da = /* @__PURE__ */ Z(mn, "TimelineTrack"), fa = /* @__PURE__ */ Z(et, "ActivityMessage"), pa = /* @__PURE__ */ Z(hn, "NumberDraft"), ma = /* @__PURE__ */ Z(gn, "MaskedDraft"), ha = /* @__PURE__ */ Z(ut, "DurationField", { model: {
|
|
280
282
|
prop: "value",
|
|
281
283
|
callback: "onChange"
|
|
282
|
-
} }),
|
|
284
|
+
} }), ga = /* @__PURE__ */ Z(dt, "DurationDraft"), _a = /* @__PURE__ */ Z(_n, "HtmlEditor"), va = /* @__PURE__ */ Z(st, "TemporalPicker", { model: {
|
|
283
285
|
prop: "value",
|
|
284
286
|
callback: "onChange"
|
|
285
|
-
} }),
|
|
287
|
+
} }), ya = /* @__PURE__ */ Z(ct, "TemporalDraft"), ba = /* @__PURE__ */ Z(lt, "DateTimeField", { model: {
|
|
286
288
|
prop: "value",
|
|
287
289
|
callback: "onValueChange"
|
|
288
|
-
} }),
|
|
290
|
+
} }), xa = /* @__PURE__ */ Z(yn, "AssigneePicker"), Sa = /* @__PURE__ */ Z(vn, "AssigneeField"), Ca = /* @__PURE__ */ Z(bn, "AssigneePickerLayout"), wa = /* @__PURE__ */ Z(d, "AiPromptInput", { model: {
|
|
289
291
|
prop: "value",
|
|
290
292
|
callback: "onValueChange"
|
|
291
|
-
} }),
|
|
293
|
+
} }), Ta = /* @__PURE__ */ Z(a, "AiSuggestions"), Ea = /* @__PURE__ */ Z(l, "AiActionStatus"), Da = /* @__PURE__ */ Z(m, "AiChangePreview"), Oa = /* @__PURE__ */ Z(u, "AiResult"), ka = /* @__PURE__ */ Z(ae, "AiResultView"), Aa = /* @__PURE__ */ Z(i, "AiResultTable"), ja = /* @__PURE__ */ Z(ie, "AiResultMetrics"), Ma = /* @__PURE__ */ Z(ee, "AiResultText"), Na = /* @__PURE__ */ Z(_, "AiAssistant"), Pa = /* @__PURE__ */ Z(ne, "AiRequestTrail"), Fa = /* @__PURE__ */ Z(Mt, "PdfViewer", { renderSlots: xn }), Ia = /* @__PURE__ */ Z(At, "PdfViewerToolbar"), La = /* @__PURE__ */ Z(h, "AiChat"), Ra = /* @__PURE__ */ Z(f, "AiChatContent"), za = /* @__PURE__ */ Z(v, "AiChatComposer", { model: {
|
|
292
294
|
prop: "value",
|
|
293
295
|
callback: "onValueChange"
|
|
294
|
-
} }),
|
|
296
|
+
} }), Ba = /* @__PURE__ */ Z(o, "AiChatEmptyState"), Va = /* @__PURE__ */ Z(g, "AiMessage"), Ha = /* @__PURE__ */ Z(s, "AiMessageContent"), Ua = /* @__PURE__ */ Z(te, "AiMessageActions"), Wa = /* @__PURE__ */ Z(p, "AiReasoning"), Ga = /* @__PURE__ */ Z(re, "AiTask"), Ka = /* @__PURE__ */ Z(c, "AiTaskItem"), qa = /* @__PURE__ */ Z(tt, "IconToolbar");
|
|
295
297
|
//#endregion
|
|
296
|
-
export {
|
|
298
|
+
export { fa as ActivityMessage, Ea as AiActionStatus, Na as AiAssistant, Da as AiChangePreview, La as AiChat, za as AiChatComposer, Ra as AiChatContent, Ba as AiChatEmptyState, Va as AiMessage, Ua as AiMessageActions, Ha as AiMessageContent, wa as AiPromptInput, Wa as AiReasoning, Pa as AiRequestTrail, Oa as AiResult, ja as AiResultMetrics, Aa as AiResultTable, Ma as AiResultText, ka as AiResultView, Ta as AiSuggestions, Ga as AiTask, Ka as AiTaskItem, ti as Alert, wi as AreaChart, Sa as AssigneeField, xa as AssigneePicker, Ca as AssigneePickerLayout, ui as Avatar, zr as Badge, Si as BarChart, Ti as BrushRange, Qr as Button, vr as ButtonGroup, $n as Calendar, nr as CalendarDay, er as CalendarHeader, rr as CalendarMonthGrid, ar as CalendarPicker, tr as CalendarWeekdays, ir as CalendarYearGrid, Rn as Checkbox, Ar as Chip, Un as ChoiceChip, Hn as ChoiceChipInfoButton, Vn as ChoiceChips, Xr as CircularProgress, cr as ColorPalette, lr as ColorPicker, ci as Combobox, ia as ComparisonPreview, hi as ConfirmDialog, $i as ControlTooltip, Br as CountBadge, Dr as DateInput, gi as DatePicker, _i as DateRangePicker, ba as DateTimeField, kr as DateTimeInput, In as DeleteButton, mi as Dialog, Yi as DialogActionFooter, Xi as DialogActions, yi as DialogBody, Ji as DialogCloseButton, bi as DialogFooter, qi as DialogForm, vi as DialogHeader, Zi as DialogTitleInput, Pr as Disclosure, Kn as DisclosureSummary, xi as DistributionChart, ur as Dropdown, dr as DropdownPopup, fr as DropdownPopupContent, ga as DurationDraft, ha as DurationField, Qi as EditableDialogHeader, Yn as EditorList, Qn as EditorListGroup, Xn as EditorListItem, Zn as EditorListItemContent, Jn as EditorPane, qn as EditorSplitLayout, Ur as EmptyState, Mn as FeedbackPanel, Hi as FieldActions, Ri as FieldContent, Ki as FieldDropIndicator, Mr as FieldError, Fi as FieldGroup, Pi as FieldGroupHeading, jr as FieldHint, ji as FieldIcon, zi as FieldItem, Ni as FieldLibrary, Bi as FieldLibraryList, Ii as FieldList, Wi as FieldRemoveButton, Gi as FieldRemoveIcon, Li as FieldRow, Ui as FieldStatusBadge, Mi as FieldSummary, oa as FilterBadge, aa as FilterBadgeInfoButton, Wn as FilterChip, Gn as FormField, Nr as FormSection, Di as HighlightedTextInput, _a as HtmlEditor, Dn as Icon, gr as IconButton, ta as IconChoiceGroup, na as IconToggleButton, qa as IconToolbar, Oi as InlineFieldGroup, Nn as Input, ea as InspectorSection, ki as Legend, Ci as LineChart, ni as Listbox, ii as ListboxGroup, ri as ListboxOption, ai as ListboxOptionContent, Hr as LoadingOverlay, ma as MaskedDraft, Wr as Menu, Gr as MenuItem, Kr as MenuSeparator, li as MultiSelect, pa as NumberDraft, Tr as NumberInput, Er as NumberStepper, Ei as OptionButton, Yr as Pagination, $r as Pane, Fr as Panel, Fa as PdfViewer, Ia as PdfViewerToolbar, fi as Popover, pr as PreactRangeSlider, di as ProgressBar, Sr as RadioGroup, An as RangeSlider, Zr as Rating, ca as RatingChoice, sa as RatingStar, On as RemovableChip, Ln as RemoveButton, ua as ReorderHandle, la as ReorderList, Jr as ResizeHandle, jn as ResourcePicker, sr as ResourcePickerAvatar, $ as SearchInput, yr as SegmentedControl, Bn as SegmentedSwitch, Vi as SelectedField, or as SharedResourcePicker, mr as SingleValueSlider, kn as Slider, hr as SliderField, Vr as Spinner, ei as SplitLayout, si as StatusBadge, oi as StatusFeedbackPanel, qr as Submenu, Fn as SvgButton, Pn as SvgIcon, zn as Switch, xr as TabPanel, br as Tabs, ya as TemporalDraft, va as TemporalPicker, Cr as TextInput, wr as Textarea, Ai as TimeGrid, Or as TimeInput, da as TimelineTrack, _r as ToggleButton, Ir as Toolbar, Lr as ToolbarGroup, Rr as ToolbarSeparator, pi as Tooltip, ra as TypographyControls, Z as createVueAdapter, Tt as defaultPdfViewerText };
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { i as e } from "./preact.module-BBM36DnO.js";
|
|
2
|
-
import { i as t, t as n } from "./hooks.module-CG3gN83z.js";
|
|
3
|
-
import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
|
-
//#region src/distribution-chart/geometry.ts
|
|
5
|
-
function i(e) {
|
|
6
|
-
let t = e.map(({ value: e }) => Number.isFinite(e) ? Math.max(0, e) : 0), n = Math.max(1, ...t);
|
|
7
|
-
return {
|
|
8
|
-
values: t,
|
|
9
|
-
max: n,
|
|
10
|
-
points: t.map((t, r) => ({
|
|
11
|
-
x: e.length <= 1 ? 50 : r / (e.length - 1) * 100,
|
|
12
|
-
y: 96 - t / n * 88
|
|
13
|
-
}))
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function a(e, t) {
|
|
17
|
-
return t === "step" ? `H ${e.x} V ${e.y}` : `L ${e.x} ${e.y}`;
|
|
18
|
-
}
|
|
19
|
-
function o(e, t, n = "linear") {
|
|
20
|
-
return `M ${e.x} ${e.y} ${a(t, n)}`;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region src/distribution-chart/chart-frame.tsx
|
|
24
|
-
function s({ title: e, details: t = [] }) {
|
|
25
|
-
return [e, ...t].filter(Boolean).join(". ");
|
|
26
|
-
}
|
|
27
|
-
function c({ title: t, details: n = [] }) {
|
|
28
|
-
return /* @__PURE__ */ r(e, { children: [/* @__PURE__ */ r("strong", { children: t }), n.map((e) => /* @__PURE__ */ r("span", { children: e }, e))] });
|
|
29
|
-
}
|
|
30
|
-
function l({ data: e, ariaLabel: a, variant: o, height: l = 72, className: u = "", showGrid: d = !1, showLabels: f = !1, showValues: p = !1, legend: m, formatValue: h = String, tooltip: g = !0, tooltipIndicator: _ = "none", renderTooltip: v, positions: y, datumColors: b, renderDatum: x, children: S }) {
|
|
31
|
-
let { values: C, max: w } = i(e), [T, E] = t(0), D = n([]), O = Math.min(T, Math.max(0, e.length - 1)), k = (t) => {
|
|
32
|
-
if (!e.length) return;
|
|
33
|
-
let n = Math.max(0, Math.min(t, e.length - 1));
|
|
34
|
-
E(n), D.current[n]?.focus();
|
|
35
|
-
};
|
|
36
|
-
return /* @__PURE__ */ r("div", {
|
|
37
|
-
class: `rv-distribution-chart rv-distribution-chart--${o} ${u}`.trim(),
|
|
38
|
-
role: "group",
|
|
39
|
-
"aria-label": a,
|
|
40
|
-
"data-empty": e.length ? void 0 : "true",
|
|
41
|
-
children: [
|
|
42
|
-
/* @__PURE__ */ r("div", {
|
|
43
|
-
class: "rv-distribution-chart__region",
|
|
44
|
-
style: { height: `${Math.max(40, Math.min(240, l))}px` },
|
|
45
|
-
children: [
|
|
46
|
-
d && /* @__PURE__ */ r("div", {
|
|
47
|
-
class: "rv-distribution-chart__grid",
|
|
48
|
-
"aria-hidden": "true",
|
|
49
|
-
children: [
|
|
50
|
-
0,
|
|
51
|
-
1,
|
|
52
|
-
2,
|
|
53
|
-
3,
|
|
54
|
-
4
|
|
55
|
-
].map((e) => /* @__PURE__ */ r("span", {}, e))
|
|
56
|
-
}),
|
|
57
|
-
S,
|
|
58
|
-
/* @__PURE__ */ r("div", {
|
|
59
|
-
class: "rv-distribution-chart__data",
|
|
60
|
-
role: "list",
|
|
61
|
-
children: e.map((t, n) => {
|
|
62
|
-
let i = y?.[n], a = !i;
|
|
63
|
-
return /* @__PURE__ */ r("span", {
|
|
64
|
-
ref: (e) => {
|
|
65
|
-
D.current[n] = e;
|
|
66
|
-
},
|
|
67
|
-
class: `rv-distribution-chart__datum${t.selected ? " is-selected" : ""}${a ? " is-bar" : " is-point"}`,
|
|
68
|
-
role: "listitem",
|
|
69
|
-
tabIndex: n === O ? 0 : -1,
|
|
70
|
-
"aria-label": s(t.tooltip),
|
|
71
|
-
style: {
|
|
72
|
-
"--rv-distribution-accent": b?.[n],
|
|
73
|
-
...a ? {} : {
|
|
74
|
-
left: `${i.x}%`,
|
|
75
|
-
top: `${i.y}%`
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
onFocus: () => E(n),
|
|
79
|
-
onKeyDown: (t) => {
|
|
80
|
-
t.key === "ArrowRight" || t.key === "ArrowDown" ? (t.preventDefault(), k(n + 1)) : t.key === "ArrowLeft" || t.key === "ArrowUp" ? (t.preventDefault(), k(n - 1)) : t.key === "Home" ? (t.preventDefault(), k(0)) : t.key === "End" && (t.preventDefault(), k(e.length - 1));
|
|
81
|
-
},
|
|
82
|
-
children: [
|
|
83
|
-
x(t, n),
|
|
84
|
-
p && /* @__PURE__ */ r("span", {
|
|
85
|
-
class: "rv-distribution-chart__value",
|
|
86
|
-
style: a ? {
|
|
87
|
-
top: `${100 - Math.max(3, C[n] / w * 100)}%`,
|
|
88
|
-
transform: "translate(-50%, -100%)"
|
|
89
|
-
} : void 0,
|
|
90
|
-
"aria-hidden": "true",
|
|
91
|
-
children: h(t.value)
|
|
92
|
-
}),
|
|
93
|
-
g && /* @__PURE__ */ r("span", {
|
|
94
|
-
class: `rv-distribution-chart__tooltip rv-distribution-chart__tooltip--${_}`,
|
|
95
|
-
role: "tooltip",
|
|
96
|
-
children: [_ !== "none" && /* @__PURE__ */ r("i", { "aria-hidden": "true" }), v ? v(t, n) : c(t.tooltip)]
|
|
97
|
-
})
|
|
98
|
-
]
|
|
99
|
-
}, t.key);
|
|
100
|
-
})
|
|
101
|
-
})
|
|
102
|
-
]
|
|
103
|
-
}),
|
|
104
|
-
f && /* @__PURE__ */ r("div", {
|
|
105
|
-
class: `rv-distribution-chart__labels${o === "bar" ? " is-bar" : ""}`,
|
|
106
|
-
"aria-hidden": "true",
|
|
107
|
-
children: e.map((e) => /* @__PURE__ */ r("span", {
|
|
108
|
-
title: e.tooltip.title,
|
|
109
|
-
children: e.tooltip.title
|
|
110
|
-
}, e.key))
|
|
111
|
-
}),
|
|
112
|
-
m && /* @__PURE__ */ r("div", {
|
|
113
|
-
class: "rv-distribution-chart__legend",
|
|
114
|
-
children: [/* @__PURE__ */ r("i", { "aria-hidden": "true" }), m]
|
|
115
|
-
})
|
|
116
|
-
]
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function u({ children: e }) {
|
|
120
|
-
return /* @__PURE__ */ r("svg", {
|
|
121
|
-
class: "rv-distribution-chart__plot",
|
|
122
|
-
viewBox: "0 0 100 100",
|
|
123
|
-
preserveAspectRatio: "none",
|
|
124
|
-
"aria-hidden": "true",
|
|
125
|
-
focusable: "false",
|
|
126
|
-
children: e
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
export { o as i, u as n, i as r, l as t };
|