@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
package/vue.js
CHANGED
|
@@ -1,63 +1,64 @@
|
|
|
1
|
-
import { c as e, r as t } from "./_chunks/preact.module-
|
|
2
|
-
import { r as n, t as r } from "./_chunks/hooks.module-
|
|
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-
|
|
4
|
-
import { n as oe, t as se } from "./_chunks/rating-choice-
|
|
1
|
+
import { c as e, r as t } from "./_chunks/preact.module-DzTStiZX.js";
|
|
2
|
+
import { r as n, t as r } from "./_chunks/hooks.module-CXpO2xq6.js";
|
|
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-D5PKrBlC.js";
|
|
4
|
+
import { n as oe, t as se } from "./_chunks/rating-choice-CtrABPp-.js";
|
|
5
5
|
import { SvgIcon as ce } from "./icons/icon.js";
|
|
6
|
-
import { l as le, n as ue, p as de } from "./_chunks/native-control-
|
|
7
|
-
import { t as y } from "./_chunks/popup-
|
|
8
|
-
import { t as b } from "./_chunks/delete-button-
|
|
6
|
+
import { l as le, n as ue, p as de } from "./_chunks/native-control-DjJ8Na3T.js";
|
|
7
|
+
import { t as y } from "./_chunks/popup-HEUnOeq-.js";
|
|
8
|
+
import { t as b } from "./_chunks/delete-button-DQSK6G-4.js";
|
|
9
9
|
import { RemoveButton as x } from "./buttons/remove-button.js";
|
|
10
|
-
import { A as S, B as C, C as w, D as T, E, F as D, I as O, L as k, M as A, N as j, O as M, P as N, R as P, T as F, _ as I, a as L, b as R, c as z, d as B, f as V, g as H, h as fe, i as pe, j as me, k as he, l as ge, m as _e, n as ve, o as ye, p as be, r as xe, s as Se, t as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./_chunks/controls-
|
|
11
|
-
import { t as ke } from "./_chunks/tooltip-
|
|
10
|
+
import { A as S, B as C, C as w, D as T, E, F as D, I as O, L as k, M as A, N as j, O as M, P as N, R as P, T as F, _ as I, a as L, b as R, c as z, d as B, f as V, g as H, h as fe, i as pe, j as me, k as he, l as ge, m as _e, n as ve, o as ye, p as be, r as xe, s as Se, t as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./_chunks/controls-Ip2E6jIu.js";
|
|
11
|
+
import { t as ke } from "./_chunks/tooltip-BkuH0JdW.js";
|
|
12
12
|
import { SvgButton as Ae } from "./buttons/svg-button.js";
|
|
13
13
|
import { SegmentedSwitch as je } from "./segmented-switch/index.js";
|
|
14
14
|
import { EditorList as U, EditorListGroup as W, EditorListItem as G, EditorListItemContent as K, EditorPane as q, EditorSplitLayout as J } from "./editor-layout/index.js";
|
|
15
|
-
import { a as Me, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, r as Re, s as ze, t as Be } from "./_chunks/dialog.parts-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { n as Ze } from "./_chunks/
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { n as dn, t as fn } from "./_chunks/reorder-list-B4w3aARt.js";
|
|
15
|
+
import { a as Me, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, r as Re, s as ze, t as Be } from "./_chunks/dialog.parts-CpMwNhTM.js";
|
|
16
|
+
import { TooltipGroup as Ve, createTooltipGroup as He } from "./core/tooltip-options.js";
|
|
17
|
+
import { n as Ue, t as We } from "./_chunks/render-C6PFWlqh.js";
|
|
18
|
+
import { t as Ge } from "./_chunks/color-palette-DL0f3igd.js";
|
|
19
|
+
import { t as Ke } from "./_chunks/color-picker-BWBM9GE1.js";
|
|
20
|
+
import { Checkbox as qe } from "./checkbox/index.js";
|
|
21
|
+
import { Switch as Je } from "./switch/index.js";
|
|
22
|
+
import { n as Ye, r as Xe, t as Ze } from "./_chunks/choice-chips-BIGT7gjO.js";
|
|
23
|
+
import { SearchInput as Qe } from "./search-input/index.js";
|
|
24
|
+
import { DisclosureSummary as $e, FilterChip as et, FormField as tt } from "./form-controls/presentation.js";
|
|
25
|
+
import { a as nt, i as rt, r as it } from "./_chunks/date-time-B9YGqree.js";
|
|
26
|
+
import { n as at, t as ot } from "./_chunks/duration-BrsE4QgL.js";
|
|
27
|
+
import { CalendarHeader as st, CalendarWeekdays as ct } from "./calendar/header.js";
|
|
28
|
+
import { t as lt } from "./_chunks/calendar-CQHVwHLW.js";
|
|
29
|
+
import { CalendarDay as ut } from "./calendar/day.js";
|
|
30
|
+
import { CalendarMonthGrid as dt } from "./calendar/month-grid.js";
|
|
31
|
+
import { CalendarYearGrid as ft } from "./calendar/year-grid.js";
|
|
32
|
+
import { t as pt } from "./_chunks/picker-DDUmhT93.js";
|
|
33
|
+
import { ResourcePickerAvatar as mt } from "./resource-picker/resource-picker-avatar.js";
|
|
34
|
+
import { SharedResourcePicker as ht } from "./resource-picker/resource-picker.js";
|
|
35
|
+
import { PreactRangeSlider as gt } from "./filter/filters/slider/preact.js";
|
|
36
|
+
import { SingleValueSlider as _t, SliderField as vt } from "./filter/filters/slider/single.js";
|
|
37
|
+
import { a as yt, c as bt, d as xt, f as St, i as Ct, l as wt, m as Tt, o as Et, p as Dt, r as Ot, s as kt, t as At, u as jt } from "./_chunks/component-B22CtP21.js";
|
|
38
|
+
import { BarChart as Mt } from "./distribution-chart/bar-chart.js";
|
|
39
|
+
import { LineChart as Nt } from "./distribution-chart/line-chart.js";
|
|
40
|
+
import { AreaChart as Pt } from "./distribution-chart/area-chart.js";
|
|
41
|
+
import { DistributionChart as Ft } from "./distribution-chart/index.js";
|
|
42
|
+
import { BrushRange as It } from "./brush-range/component.js";
|
|
43
|
+
import { HighlightedTextInput as Lt, InlineFieldGroup as Rt, OptionButton as zt } from "./filter-controls.js";
|
|
44
|
+
import { TimeGrid as Bt } from "./time-grid.js";
|
|
45
|
+
import { _ as Vt, a as Ht, c as Ut, d as Wt, f as Gt, g as Kt, h as qt, i as Jt, l as Yt, m as Xt, o as Zt, p as Qt, r as $t, s as en, u as tn, v as nn } from "./_chunks/field-configurator-BMQnmWNd.js";
|
|
46
|
+
import { ComparisonPreview as rn, IconChoiceGroup as an, IconToggleButton as on, InspectorSection as sn, TypographyControls as cn } from "./formatting/index.js";
|
|
47
|
+
import { FilterBadge as ln, FilterBadgeInfoButton as un } from "./filter-badge.js";
|
|
48
|
+
import { n as dn, t as fn } from "./_chunks/reorder-list-DvwZcFPH.js";
|
|
50
49
|
import { TimelineTrack as pn } from "./timeline-track/index.js";
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import { t as _n } from "./_chunks/
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
50
|
+
import { ActivityMessage as mn } from "./activity-message.js";
|
|
51
|
+
import { n as hn } from "./_chunks/icon-toolbar-C4J_Wqph.js";
|
|
52
|
+
import { Legend as gn } from "./legend.js";
|
|
53
|
+
import { t as _n } from "./_chunks/number-input-Bb5guKP4.js";
|
|
54
|
+
import { MaskedDraft as vn } from "./masked-input/index.js";
|
|
55
|
+
import { t as yn } from "./_chunks/rich-text-DW1vcBAY.js";
|
|
56
|
+
import { AssigneeField as bn, AssigneePicker as xn, AssigneePickerLayout as Sn } from "./assignee/index.js";
|
|
57
|
+
import { i as Cn } from "./_chunks/component-metadata-B_hLjtM0.js";
|
|
58
|
+
import { Teleport as wn, defineComponent as Tn, h as Y, onBeforeUnmount as En, onUpdated as Dn, shallowRef as X, watchPostEffect as On } from "vue";
|
|
58
59
|
//#region package/vue-adapter.ts
|
|
59
60
|
function Z(i, a, o = {}) {
|
|
60
|
-
return
|
|
61
|
+
return Tn({
|
|
61
62
|
name: `Rv${a}`,
|
|
62
63
|
inheritAttrs: !1,
|
|
63
64
|
setup(ee, { attrs: s, slots: c, expose: l }) {
|
|
@@ -134,16 +135,16 @@ function Z(i, a, o = {}) {
|
|
|
134
135
|
}
|
|
135
136
|
t(e(i, n), u.value);
|
|
136
137
|
}
|
|
137
|
-
return
|
|
138
|
+
return On(v), Dn(() => {
|
|
138
139
|
let e = g();
|
|
139
140
|
(e.length !== h.size || e.some(([e, t]) => h.get(e) !== t)) && v();
|
|
140
|
-
}),
|
|
141
|
+
}), En(() => {
|
|
141
142
|
p = !0, u.value && t(null, u.value), d.clear();
|
|
142
143
|
}), l({ element: u }), () => [Y("div", {
|
|
143
144
|
ref: u,
|
|
144
145
|
style: { display: "contents" },
|
|
145
146
|
"data-rv-vue-host": a
|
|
146
|
-
}), ...f.value.map((e) => Y(
|
|
147
|
+
}), ...f.value.map((e) => Y(wn, {
|
|
147
148
|
key: e.id,
|
|
148
149
|
to: e.element
|
|
149
150
|
}, e.slot(e.scope)))];
|
|
@@ -172,97 +173,100 @@ var Q = {
|
|
|
172
173
|
args: [],
|
|
173
174
|
skipFactory: !0
|
|
174
175
|
}
|
|
175
|
-
},
|
|
176
|
+
}, kn = /* @__PURE__ */ Z(ue, "Input"), An = /* @__PURE__ */ Z(ce, "SvgIcon"), jn = /* @__PURE__ */ Z(Ae, "SvgButton"), Mn = /* @__PURE__ */ Z(b, "DeleteButton"), Nn = /* @__PURE__ */ Z(x, "RemoveButton"), Pn = /* @__PURE__ */ Z(qe, "Checkbox", { model: {
|
|
176
177
|
prop: "checked",
|
|
177
178
|
callback: "onChange"
|
|
178
|
-
} }),
|
|
179
|
+
} }), Fn = /* @__PURE__ */ Z(Je, "Switch", { model: {
|
|
179
180
|
prop: "checked",
|
|
180
181
|
callback: "onChange"
|
|
181
|
-
} }),
|
|
182
|
+
} }), In = /* @__PURE__ */ Z(je, "SegmentedSwitch", { model: {
|
|
182
183
|
prop: "value",
|
|
183
184
|
callback: "onChange"
|
|
184
|
-
} }),
|
|
185
|
+
} }), Ln = /* @__PURE__ */ Z(Xe, "ChoiceChips", { model: {
|
|
185
186
|
prop: "value",
|
|
186
187
|
callback: "onChange"
|
|
187
|
-
} }),
|
|
188
|
+
} }), Rn = /* @__PURE__ */ Z(Ye, "ChoiceChipInfoButton"), zn = /* @__PURE__ */ Z(Ze, "ChoiceChip"), $ = /* @__PURE__ */ Z(Qe, "SearchInput", { model: {
|
|
188
189
|
prop: "value",
|
|
189
190
|
callback: "onValueChange"
|
|
190
|
-
} }),
|
|
191
|
+
} }), Bn = /* @__PURE__ */ Z(et, "FilterChip"), Vn = /* @__PURE__ */ Z(tt, "FormField"), Hn = /* @__PURE__ */ Z($e, "DisclosureSummary"), Un = /* @__PURE__ */ Z(J, "EditorSplitLayout"), Wn = /* @__PURE__ */ Z(q, "EditorPane"), Gn = /* @__PURE__ */ Z(U, "EditorList"), Kn = /* @__PURE__ */ Z(G, "EditorListItem"), qn = /* @__PURE__ */ Z(K, "EditorListItemContent"), Jn = /* @__PURE__ */ Z(W, "EditorListGroup"), Yn = /* @__PURE__ */ Z(lt, "Calendar"), Xn = /* @__PURE__ */ Z(st, "CalendarHeader"), Zn = /* @__PURE__ */ Z(ct, "CalendarWeekdays"), Qn = /* @__PURE__ */ Z(ut, "CalendarDay"), $n = /* @__PURE__ */ Z(dt, "CalendarMonthGrid"), er = /* @__PURE__ */ Z(ft, "CalendarYearGrid"), tr = /* @__PURE__ */ Z(pt, "CalendarPicker", { model: {
|
|
191
192
|
prop: "selected",
|
|
192
193
|
callback: "onSelectionChange"
|
|
193
|
-
} }),
|
|
194
|
+
} }), nr = /* @__PURE__ */ Z(ht, "SharedResourcePicker", { model: {
|
|
194
195
|
prop: "selectedResourceIds",
|
|
195
196
|
callback: "onChange"
|
|
196
|
-
} }),
|
|
197
|
+
} }), rr = /* @__PURE__ */ Z(mt, "ResourcePickerAvatar"), ir = /* @__PURE__ */ Z(Ge, "ColorPalette", { model: {
|
|
197
198
|
prop: "value",
|
|
198
199
|
callback: "onChange"
|
|
199
|
-
} }),
|
|
200
|
+
} }), ar = /* @__PURE__ */ Z(Ke, "ColorPicker", { model: {
|
|
200
201
|
prop: "value",
|
|
201
202
|
callback: "onChange"
|
|
202
|
-
} }),
|
|
203
|
+
} }), or = /* @__PURE__ */ Z(le, "Dropdown", {
|
|
203
204
|
model: {
|
|
204
205
|
prop: "value",
|
|
205
206
|
callback: "onChange"
|
|
206
207
|
},
|
|
207
208
|
renderSlots: Q
|
|
208
|
-
}),
|
|
209
|
+
}), sr = /* @__PURE__ */ Z(y, "DropdownPopup"), cr = /* @__PURE__ */ Z(de, "DropdownPopupContent"), lr = /* @__PURE__ */ Z(gt, "PreactRangeSlider"), ur = /* @__PURE__ */ Z(_t, "SingleValueSlider", { model: {
|
|
209
210
|
prop: "value",
|
|
210
211
|
callback: "onChange"
|
|
211
|
-
} }),
|
|
212
|
+
} }), dr = /* @__PURE__ */ Z(vt, "SliderField"), fr = /* @__PURE__ */ Z(be, "IconButton"), pr = /* @__PURE__ */ Z(N, "ToggleButton", { model: {
|
|
212
213
|
prop: "pressed",
|
|
213
214
|
callback: "onPressedChange"
|
|
214
|
-
} }),
|
|
215
|
+
} }), mr = /* @__PURE__ */ Z(ve, "ButtonGroup"), hr = /* @__PURE__ */ Z(E, "SegmentedControl", { model: {
|
|
215
216
|
prop: "value",
|
|
216
217
|
callback: "onChange"
|
|
217
|
-
} }),
|
|
218
|
+
} }), gr = /* @__PURE__ */ Z(S, "Tabs", { model: {
|
|
218
219
|
prop: "value",
|
|
219
220
|
callback: "onChange"
|
|
220
|
-
} }),
|
|
221
|
+
} }), _r = /* @__PURE__ */ Z(he, "TabPanel"), vr = /* @__PURE__ */ Z(w, "RadioGroup", { model: {
|
|
221
222
|
prop: "value",
|
|
222
223
|
callback: "onChange"
|
|
223
|
-
} }),
|
|
224
|
+
} }), yr = /* @__PURE__ */ Z(me, "TextInput", { model: {
|
|
224
225
|
prop: "value",
|
|
225
226
|
callback: "onValueChange"
|
|
226
|
-
} }),
|
|
227
|
+
} }), br = /* @__PURE__ */ Z(A, "Textarea", { model: {
|
|
227
228
|
prop: "value",
|
|
228
229
|
callback: "onValueChange"
|
|
229
|
-
} }),
|
|
230
|
+
} }), xr = /* @__PURE__ */ Z(Te, "NumberInput", { model: {
|
|
230
231
|
prop: "value",
|
|
231
232
|
callback: "onValueChange"
|
|
232
|
-
} }),
|
|
233
|
+
} }), Sr = /* @__PURE__ */ Z(Oe, "NumberStepper", { model: {
|
|
233
234
|
prop: "value",
|
|
234
235
|
callback: "onChange"
|
|
235
|
-
} }),
|
|
236
|
+
} }), Cr = /* @__PURE__ */ Z(ye, "DateInput", { model: {
|
|
236
237
|
prop: "value",
|
|
237
238
|
callback: "onValueChange"
|
|
238
|
-
} }),
|
|
239
|
+
} }), wr = /* @__PURE__ */ Z(j, "TimeInput", { model: {
|
|
239
240
|
prop: "value",
|
|
240
241
|
callback: "onValueChange"
|
|
241
|
-
} }),
|
|
242
|
+
} }), Tr = /* @__PURE__ */ Z(Se, "DateTimeInput", { model: {
|
|
242
243
|
prop: "value",
|
|
243
244
|
callback: "onValueChange"
|
|
244
|
-
} }),
|
|
245
|
+
} }), Er = /* @__PURE__ */ Z(xe, "Chip"), Dr = /* @__PURE__ */ Z(B, "FieldHint"), Or = /* @__PURE__ */ Z(we, "FieldError"), kr = /* @__PURE__ */ Z(V, "FormSection"), Ar = /* @__PURE__ */ Z(z, "Disclosure"), jr = /* @__PURE__ */ Z(De, "Panel"), Mr = /* @__PURE__ */ Z(D, "Toolbar"), Nr = /* @__PURE__ */ Z(O, "ToolbarGroup"), Pr = /* @__PURE__ */ Z(k, "ToolbarSeparator"), Fr = /* @__PURE__ */ Z(C, "Badge"), Ir = /* @__PURE__ */ Z(L, "CountBadge"), Lr = /* @__PURE__ */ Z(T, "Spinner"), Rr = /* @__PURE__ */ Z(_e, "LoadingOverlay"), zr = /* @__PURE__ */ Z(ge, "EmptyState"), Br = /* @__PURE__ */ Z(fe, "Menu"), Vr = /* @__PURE__ */ Z(H, "MenuItem"), Hr = /* @__PURE__ */ Z(I, "MenuSeparator"), Ur = /* @__PURE__ */ Z(M, "Submenu"), Wr = /* @__PURE__ */ Z(F, "ResizeHandle"), Gr = /* @__PURE__ */ Z(R, "Pagination"), Kr = /* @__PURE__ */ Z(pe, "CircularProgress"), qr = /* @__PURE__ */ Z(Ee, "Rating", { model: {
|
|
245
246
|
prop: "value",
|
|
246
247
|
callback: "onChange"
|
|
247
|
-
} }),
|
|
248
|
+
} }), Jr = /* @__PURE__ */ Z(Ce, "Button"), Yr = /* @__PURE__ */ Z(q, "Pane"), Xr = /* @__PURE__ */ Z(J, "SplitLayout"), Zr = /* @__PURE__ */ Z(P, "Alert"), Qr = /* @__PURE__ */ Z(U, "Listbox"), $r = /* @__PURE__ */ Z(G, "ListboxOption"), ei = /* @__PURE__ */ Z(W, "ListboxGroup"), ti = /* @__PURE__ */ Z(K, "ListboxOptionContent"), ni = /* @__PURE__ */ Z(Ue, "StatusFeedbackPanel"), ri = /* @__PURE__ */ Z(We, "StatusBadge"), ii = /* @__PURE__ */ Z(Et, "Combobox", {
|
|
248
249
|
model: {
|
|
249
250
|
prop: "value",
|
|
250
251
|
callback: "onChange"
|
|
251
252
|
},
|
|
252
253
|
renderSlots: Q
|
|
253
|
-
}),
|
|
254
|
+
}), ai = /* @__PURE__ */ Z(xt, "MultiSelect", {
|
|
254
255
|
model: {
|
|
255
256
|
prop: "value",
|
|
256
257
|
callback: "onChange"
|
|
257
258
|
},
|
|
258
259
|
renderSlots: Q
|
|
259
|
-
}),
|
|
260
|
+
}), oi = /* @__PURE__ */ Z(yt, "Avatar"), si = /* @__PURE__ */ Z(Dt, "ProgressBar"), ci = /* @__PURE__ */ Z(St, "Popover"), li = /* @__PURE__ */ Z(Tt, "Tooltip", { renderSlots: { content: {
|
|
261
|
+
prop: "renderContent",
|
|
262
|
+
args: ["context"]
|
|
263
|
+
} } }), ui = /* @__PURE__ */ Z(jt, "Dialog"), di = /* @__PURE__ */ Z(kt, "ConfirmDialog"), fi = /* @__PURE__ */ Z(bt, "DatePicker", { model: {
|
|
260
264
|
prop: "value",
|
|
261
265
|
callback: "onChange"
|
|
262
|
-
} }),
|
|
266
|
+
} }), pi = /* @__PURE__ */ Z(wt, "DateRangePicker", { model: {
|
|
263
267
|
prop: "value",
|
|
264
268
|
callback: "onChange"
|
|
265
|
-
} }),
|
|
269
|
+
} }), mi = /* @__PURE__ */ Z(ze, "DialogHeader"), hi = /* @__PURE__ */ Z(Re, "DialogBody"), gi = /* @__PURE__ */ Z(Me, "DialogFooter"), _i = /* @__PURE__ */ Z(Ft, "DistributionChart"), vi = /* @__PURE__ */ Z(Mt, "BarChart"), yi = /* @__PURE__ */ Z(Nt, "LineChart"), bi = /* @__PURE__ */ Z(Pt, "AreaChart"), xi = /* @__PURE__ */ Z(It, "BrushRange"), Si = /* @__PURE__ */ Z(zt, "OptionButton"), Ci = /* @__PURE__ */ Z(Lt, "HighlightedTextInput"), wi = /* @__PURE__ */ Z(Rt, "InlineFieldGroup"), Ti = /* @__PURE__ */ Z(gn, "Legend"), Ei = /* @__PURE__ */ Z(Bt, "TimeGrid"), Di = /* @__PURE__ */ Z(Ut, "FieldIcon"), Oi = /* @__PURE__ */ Z(Vt, "FieldSummary"), ki = /* @__PURE__ */ Z(tn, "FieldLibrary"), Ai = /* @__PURE__ */ Z(en, "FieldGroupHeading"), ji = /* @__PURE__ */ Z(Zt, "FieldGroup"), Mi = /* @__PURE__ */ Z(Gt, "FieldList"), Ni = /* @__PURE__ */ Z(qt, "FieldRow"), Pi = /* @__PURE__ */ Z(Jt, "FieldContent"), Fi = /* @__PURE__ */ Z(Yt, "FieldItem"), Ii = /* @__PURE__ */ Z(Wt, "FieldLibraryList"), Li = /* @__PURE__ */ Z(nn, "SelectedField"), Ri = /* @__PURE__ */ Z($t, "FieldActions"), zi = /* @__PURE__ */ Z(Kt, "FieldStatusBadge"), Bi = /* @__PURE__ */ Z(Qt, "FieldRemoveButton"), Vi = /* @__PURE__ */ Z(Xt, "FieldRemoveIcon"), Hi = /* @__PURE__ */ Z(Ht, "FieldDropIndicator"), Ui = /* @__PURE__ */ Z(Le, "DialogForm"), Wi = /* @__PURE__ */ Z(Pe, "DialogCloseButton"), Gi = /* @__PURE__ */ Z(Be, "DialogActionFooter"), Ki = /* @__PURE__ */ Z(Ie, "DialogActions"), qi = /* @__PURE__ */ Z(Ne, "DialogTitleInput"), Ji = /* @__PURE__ */ Z(Fe, "EditableDialogHeader"), Yi = /* @__PURE__ */ Z(ke, "ControlTooltip"), Xi = /* @__PURE__ */ Z(sn, "InspectorSection"), Zi = /* @__PURE__ */ Z(an, "IconChoiceGroup"), Qi = /* @__PURE__ */ Z(on, "IconToggleButton"), $i = /* @__PURE__ */ Z(cn, "TypographyControls"), ea = /* @__PURE__ */ Z(rn, "ComparisonPreview"), ta = /* @__PURE__ */ Z(un, "FilterBadgeInfoButton"), na = /* @__PURE__ */ Z(ln, "FilterBadge"), ra = /* @__PURE__ */ Z(oe, "RatingStar"), ia = /* @__PURE__ */ Z(se, "RatingChoice"), aa = /* @__PURE__ */ Z(dn, "ReorderList", { renderSlots: {
|
|
266
270
|
item: {
|
|
267
271
|
prop: "renderItem",
|
|
268
272
|
args: ["item", "index"]
|
|
@@ -271,21 +275,21 @@ var Q = {
|
|
|
271
275
|
prop: "renderHandle",
|
|
272
276
|
args: ["item", "index"]
|
|
273
277
|
}
|
|
274
|
-
} }),
|
|
278
|
+
} }), oa = /* @__PURE__ */ Z(fn, "ReorderHandle"), sa = /* @__PURE__ */ Z(pn, "TimelineTrack"), ca = /* @__PURE__ */ Z(mn, "ActivityMessage"), la = /* @__PURE__ */ Z(_n, "NumberDraft"), ua = /* @__PURE__ */ Z(vn, "MaskedDraft"), da = /* @__PURE__ */ Z(at, "DurationField", { model: {
|
|
275
279
|
prop: "value",
|
|
276
280
|
callback: "onChange"
|
|
277
|
-
} }),
|
|
281
|
+
} }), fa = /* @__PURE__ */ Z(ot, "DurationDraft"), pa = /* @__PURE__ */ Z(yn, "HtmlEditor"), ma = /* @__PURE__ */ Z(nt, "TemporalPicker", { model: {
|
|
278
282
|
prop: "value",
|
|
279
283
|
callback: "onChange"
|
|
280
|
-
} }),
|
|
284
|
+
} }), ha = /* @__PURE__ */ Z(rt, "TemporalDraft"), ga = /* @__PURE__ */ Z(it, "DateTimeField", { model: {
|
|
281
285
|
prop: "value",
|
|
282
286
|
callback: "onValueChange"
|
|
283
|
-
} }),
|
|
287
|
+
} }), _a = /* @__PURE__ */ Z(xn, "AssigneePicker"), va = /* @__PURE__ */ Z(bn, "AssigneeField"), ya = /* @__PURE__ */ Z(Sn, "AssigneePickerLayout"), ba = /* @__PURE__ */ Z(d, "AiPromptInput", { model: {
|
|
284
288
|
prop: "value",
|
|
285
289
|
callback: "onValueChange"
|
|
286
|
-
} }),
|
|
290
|
+
} }), xa = /* @__PURE__ */ Z(a, "AiSuggestions"), Sa = /* @__PURE__ */ Z(l, "AiActionStatus"), Ca = /* @__PURE__ */ Z(m, "AiChangePreview"), wa = /* @__PURE__ */ Z(u, "AiResult"), Ta = /* @__PURE__ */ Z(ae, "AiResultView"), Ea = /* @__PURE__ */ Z(i, "AiResultTable"), Da = /* @__PURE__ */ Z(ie, "AiResultMetrics"), Oa = /* @__PURE__ */ Z(ee, "AiResultText"), ka = /* @__PURE__ */ Z(_, "AiAssistant"), Aa = /* @__PURE__ */ Z(ne, "AiRequestTrail"), ja = /* @__PURE__ */ Z(At, "PdfViewer", { renderSlots: Cn }), Ma = /* @__PURE__ */ Z(Ot, "PdfViewerToolbar"), Na = /* @__PURE__ */ Z(h, "AiChat"), Pa = /* @__PURE__ */ Z(f, "AiChatContent"), Fa = /* @__PURE__ */ Z(v, "AiChatComposer", { model: {
|
|
287
291
|
prop: "value",
|
|
288
292
|
callback: "onValueChange"
|
|
289
|
-
} }),
|
|
293
|
+
} }), Ia = /* @__PURE__ */ Z(o, "AiChatEmptyState"), La = /* @__PURE__ */ Z(g, "AiMessage"), Ra = /* @__PURE__ */ Z(s, "AiMessageContent"), za = /* @__PURE__ */ Z(te, "AiMessageActions"), Ba = /* @__PURE__ */ Z(p, "AiReasoning"), Va = /* @__PURE__ */ Z(re, "AiTask"), Ha = /* @__PURE__ */ Z(c, "AiTaskItem"), Ua = /* @__PURE__ */ Z(hn, "IconToolbar");
|
|
290
294
|
//#endregion
|
|
291
|
-
export {
|
|
295
|
+
export { ca as ActivityMessage, Sa as AiActionStatus, ka as AiAssistant, Ca as AiChangePreview, Na as AiChat, Fa as AiChatComposer, Pa as AiChatContent, Ia as AiChatEmptyState, La as AiMessage, za as AiMessageActions, Ra as AiMessageContent, ba as AiPromptInput, Ba as AiReasoning, Aa as AiRequestTrail, wa as AiResult, Da as AiResultMetrics, Ea as AiResultTable, Oa as AiResultText, Ta as AiResultView, xa as AiSuggestions, Va as AiTask, Ha as AiTaskItem, Zr as Alert, bi as AreaChart, va as AssigneeField, _a as AssigneePicker, ya as AssigneePickerLayout, oi as Avatar, Fr as Badge, vi as BarChart, xi as BrushRange, Jr as Button, mr as ButtonGroup, Yn as Calendar, Qn as CalendarDay, Xn as CalendarHeader, $n as CalendarMonthGrid, tr as CalendarPicker, Zn as CalendarWeekdays, er as CalendarYearGrid, Pn as Checkbox, Er as Chip, zn as ChoiceChip, Rn as ChoiceChipInfoButton, Ln as ChoiceChips, Kr as CircularProgress, ir as ColorPalette, ar as ColorPicker, ii as Combobox, ea as ComparisonPreview, di as ConfirmDialog, Yi as ControlTooltip, Ir as CountBadge, Cr as DateInput, fi as DatePicker, pi as DateRangePicker, ga as DateTimeField, Tr as DateTimeInput, Mn as DeleteButton, ui as Dialog, Gi as DialogActionFooter, Ki as DialogActions, hi as DialogBody, Wi as DialogCloseButton, gi as DialogFooter, Ui as DialogForm, mi as DialogHeader, qi as DialogTitleInput, Ar as Disclosure, Hn as DisclosureSummary, _i as DistributionChart, or as Dropdown, sr as DropdownPopup, cr as DropdownPopupContent, fa as DurationDraft, da as DurationField, Ji as EditableDialogHeader, Gn as EditorList, Jn as EditorListGroup, Kn as EditorListItem, qn as EditorListItemContent, Wn as EditorPane, Un as EditorSplitLayout, zr as EmptyState, Ri as FieldActions, Pi as FieldContent, Hi as FieldDropIndicator, Or as FieldError, ji as FieldGroup, Ai as FieldGroupHeading, Dr as FieldHint, Di as FieldIcon, Fi as FieldItem, ki as FieldLibrary, Ii as FieldLibraryList, Mi as FieldList, Bi as FieldRemoveButton, Vi as FieldRemoveIcon, Ni as FieldRow, zi as FieldStatusBadge, Oi as FieldSummary, na as FilterBadge, ta as FilterBadgeInfoButton, Bn as FilterChip, Vn as FormField, kr as FormSection, Ci as HighlightedTextInput, pa as HtmlEditor, fr as IconButton, Zi as IconChoiceGroup, Qi as IconToggleButton, Ua as IconToolbar, wi as InlineFieldGroup, kn as Input, Xi as InspectorSection, Ti as Legend, yi as LineChart, Qr as Listbox, ei as ListboxGroup, $r as ListboxOption, ti as ListboxOptionContent, Rr as LoadingOverlay, ua as MaskedDraft, Br as Menu, Vr as MenuItem, Hr as MenuSeparator, ai as MultiSelect, la as NumberDraft, xr as NumberInput, Sr as NumberStepper, Si as OptionButton, Gr as Pagination, Yr as Pane, jr as Panel, ja as PdfViewer, Ma as PdfViewerToolbar, ci as Popover, lr as PreactRangeSlider, si as ProgressBar, vr as RadioGroup, qr as Rating, ia as RatingChoice, ra as RatingStar, Nn as RemoveButton, oa as ReorderHandle, aa as ReorderList, Wr as ResizeHandle, rr as ResourcePickerAvatar, $ as SearchInput, hr as SegmentedControl, In as SegmentedSwitch, Li as SelectedField, nr as SharedResourcePicker, ur as SingleValueSlider, dr as SliderField, Lr as Spinner, Xr as SplitLayout, ri as StatusBadge, ni as StatusFeedbackPanel, Ur as Submenu, jn as SvgButton, An as SvgIcon, Fn as Switch, _r as TabPanel, gr as Tabs, ha as TemporalDraft, ma as TemporalPicker, yr as TextInput, br as Textarea, Ei as TimeGrid, wr as TimeInput, sa as TimelineTrack, pr as ToggleButton, Mr as Toolbar, Nr as ToolbarGroup, Pr as ToolbarSeparator, li as Tooltip, Ve as TooltipGroup, $i as TypographyControls, He as createTooltipGroup, Z as createVueAdapter, Ct as defaultPdfViewerText };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { i as e, o as t, r as n } from "./hooks.module-CG3gN83z.js";
|
|
2
|
-
import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
-
import { t as i } from "./tooltip-session-CBtRMBPr.js";
|
|
4
|
-
import { createControlId as a } from "../core/control-id.js";
|
|
5
|
-
//#region package/core/tooltip.tsx
|
|
6
|
-
function o(o, s = !0, c) {
|
|
7
|
-
let [l] = e(() => a("rv-format-control-tooltip")), [u] = e(() => new i());
|
|
8
|
-
u.delay = c?.delay ?? 0;
|
|
9
|
-
let d = t(() => u.hide(), [u]), f = t((e) => {
|
|
10
|
-
e || u.hide(), u.setSurface(e);
|
|
11
|
-
}, [u]);
|
|
12
|
-
return n(() => {
|
|
13
|
-
u.hide();
|
|
14
|
-
}, [o, c?.delay]), n(() => () => u.destroy(), [u]), {
|
|
15
|
-
id: l,
|
|
16
|
-
hide: d,
|
|
17
|
-
triggerProps: {
|
|
18
|
-
"aria-describedby": l,
|
|
19
|
-
onFocus: (e) => u.focus(e.currentTarget),
|
|
20
|
-
onBlur: () => u.blur(),
|
|
21
|
-
onMouseEnter: (e) => u.show(e.currentTarget),
|
|
22
|
-
onMouseLeave: (e) => u.leave(e?.currentTarget),
|
|
23
|
-
onPointerDown: (e) => u.pointerDown(),
|
|
24
|
-
onPointerCancel: () => u.hide(),
|
|
25
|
-
onKeyDown: (e) => u.keyDown(e)
|
|
26
|
-
},
|
|
27
|
-
tooltip: /* @__PURE__ */ r("span", {
|
|
28
|
-
ref: f,
|
|
29
|
-
id: l,
|
|
30
|
-
class: `rv-tooltip ${c?.className ?? "rv-format-control-tooltip"}`,
|
|
31
|
-
role: "tooltip",
|
|
32
|
-
"data-visible": "false",
|
|
33
|
-
hidden: !0,
|
|
34
|
-
children: c?.content ?? o
|
|
35
|
-
})
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
function s({ id: a, text: o, content: s, visible: c, anchor: l = null, className: u = "rv-format-control-tooltip" }) {
|
|
39
|
-
let [d] = e(() => new i()), f = t((e) => {
|
|
40
|
-
e || d.hide(), d.setSurface(e);
|
|
41
|
-
}, [d]);
|
|
42
|
-
return n(() => (c && l ? d.show(l) : d.hide(), () => d.hide()), [c, l]), n(() => () => d.destroy(), [d]), /* @__PURE__ */ r("span", {
|
|
43
|
-
ref: f,
|
|
44
|
-
id: a,
|
|
45
|
-
class: `rv-tooltip ${u}`,
|
|
46
|
-
role: "tooltip",
|
|
47
|
-
"data-visible": c,
|
|
48
|
-
hidden: !c,
|
|
49
|
-
children: s ?? o
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
var c = o;
|
|
53
|
-
//#endregion
|
|
54
|
-
export { o as n, c as r, s as t };
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { c as e, o as t, r as n, t as r } from "./top-layer-popup-CKJ7VJOF.js";
|
|
2
|
-
import { n as i, t as a } from "./tooltip-owner-BYho-vJl.js";
|
|
3
|
-
//#region package/core/tooltip-session.ts
|
|
4
|
-
var o = class {
|
|
5
|
-
anchor;
|
|
6
|
-
surface;
|
|
7
|
-
timer;
|
|
8
|
-
mode;
|
|
9
|
-
cleanup;
|
|
10
|
-
mounted = !1;
|
|
11
|
-
pointerFocus = !1;
|
|
12
|
-
open = !1;
|
|
13
|
-
addedDescription = !1;
|
|
14
|
-
onHide;
|
|
15
|
-
onEscape;
|
|
16
|
-
delay = 0;
|
|
17
|
-
get isOpen() {
|
|
18
|
-
return this.open;
|
|
19
|
-
}
|
|
20
|
-
get isPending() {
|
|
21
|
-
return this.timer !== void 0;
|
|
22
|
-
}
|
|
23
|
-
setSurface(e) {
|
|
24
|
-
this.surface = e ?? void 0;
|
|
25
|
-
}
|
|
26
|
-
show(e) {
|
|
27
|
-
this.anchor === e && this.open || (this.hide(), this.anchor = e, this.listen(e), this.delay > 0 ? this.timer = setTimeout(() => {
|
|
28
|
-
this.timer = void 0, this.present();
|
|
29
|
-
}, this.delay) : this.present());
|
|
30
|
-
}
|
|
31
|
-
present() {
|
|
32
|
-
let r = this.anchor, i = this.surface;
|
|
33
|
-
if (!r || !i || !r.isConnected) {
|
|
34
|
-
this.hide();
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
a(r.ownerDocument, this, () => this.hide()), e(i), this.mounted = !i.isConnected, this.mounted && r.ownerDocument.body.append(i), i.hidden = !1, i.dataset.visible = "true", Object.assign(i.style, {
|
|
38
|
-
position: "fixed",
|
|
39
|
-
inset: "auto",
|
|
40
|
-
margin: "0",
|
|
41
|
-
transform: "none",
|
|
42
|
-
visibility: "visible",
|
|
43
|
-
positionAnchor: "auto",
|
|
44
|
-
positionArea: "none"
|
|
45
|
-
}), this.mode = n(i, "block");
|
|
46
|
-
let o = r.ownerDocument.defaultView, s = t(r.getBoundingClientRect(), i.getBoundingClientRect(), {
|
|
47
|
-
width: o?.innerWidth ?? 0,
|
|
48
|
-
height: o?.innerHeight ?? 0
|
|
49
|
-
});
|
|
50
|
-
Object.assign(i.style, {
|
|
51
|
-
left: `${s.left}px`,
|
|
52
|
-
top: `${s.top}px`
|
|
53
|
-
});
|
|
54
|
-
let c = new Set((r.getAttribute("aria-describedby") ?? "").split(/\s+/).filter(Boolean));
|
|
55
|
-
this.addedDescription = !c.has(i.id), c.add(i.id), r.setAttribute("aria-describedby", [...c].join(" ")), this.open = !0;
|
|
56
|
-
}
|
|
57
|
-
hide() {
|
|
58
|
-
clearTimeout(this.timer), this.timer = void 0, this.cleanup?.(), this.cleanup = void 0;
|
|
59
|
-
let e = this.anchor, t = this.surface;
|
|
60
|
-
if (e && i(e.ownerDocument, this), t && this.open) {
|
|
61
|
-
if (r(t, this.mode), t.hidden = !0, t.dataset.visible = "false", e && this.addedDescription) {
|
|
62
|
-
let n = (e.getAttribute("aria-describedby") ?? "").split(/\s+/).filter((e) => e && e !== t.id);
|
|
63
|
-
n.length ? e.setAttribute("aria-describedby", n.join(" ")) : e.removeAttribute("aria-describedby");
|
|
64
|
-
}
|
|
65
|
-
this.mounted && t.remove();
|
|
66
|
-
}
|
|
67
|
-
let n = this.open;
|
|
68
|
-
this.open = !1, n && this.onHide?.(), this.mode = void 0, this.mounted = !1;
|
|
69
|
-
}
|
|
70
|
-
focus(e) {
|
|
71
|
-
this.show(e);
|
|
72
|
-
}
|
|
73
|
-
blur() {
|
|
74
|
-
this.pointerFocus = !1, this.hide();
|
|
75
|
-
}
|
|
76
|
-
pointerDown() {
|
|
77
|
-
this.pointerFocus = !0;
|
|
78
|
-
}
|
|
79
|
-
leave(e) {
|
|
80
|
-
(!e || this.pointerFocus || e.ownerDocument.activeElement !== e) && this.hide();
|
|
81
|
-
}
|
|
82
|
-
keyDown(e) {
|
|
83
|
-
e.key === "Escape" && (this.open || this.isPending) && !e.defaultPrevented ? (e.preventDefault(), e.stopPropagation(), this.hide(), this.onEscape?.()) : (e.key === "Enter" || e.key === " ") && this.hide();
|
|
84
|
-
}
|
|
85
|
-
destroy() {
|
|
86
|
-
this.hide(), this.surface = void 0, this.anchor = void 0;
|
|
87
|
-
}
|
|
88
|
-
listen(e) {
|
|
89
|
-
let t = e.ownerDocument, n = t.defaultView, r = e.closest("[popover]"), i = () => this.hide(), a = (t) => {
|
|
90
|
-
t.composedPath().includes(e) || this.hide();
|
|
91
|
-
}, o = (n) => {
|
|
92
|
-
let r = n.target;
|
|
93
|
-
(r === t || r?.contains?.(e)) && this.hide();
|
|
94
|
-
}, s = () => {
|
|
95
|
-
r?.matches(":popover-open") || this.hide();
|
|
96
|
-
}, c = (e) => {
|
|
97
|
-
e.key === "Escape" && this.keyDown(e);
|
|
98
|
-
}, l = n?.MutationObserver, u = l ? new l(() => {
|
|
99
|
-
e.isConnected || this.hide();
|
|
100
|
-
}) : void 0;
|
|
101
|
-
u?.observe(t, {
|
|
102
|
-
childList: !0,
|
|
103
|
-
subtree: !0
|
|
104
|
-
}), t.addEventListener("keydown", c, !0), t.addEventListener("pointerdown", a, !0), t.addEventListener("scroll", o, !0), t.addEventListener("visibilitychange", i), n?.addEventListener("resize", i), n?.addEventListener("blur", i), r?.addEventListener("toggle", s), this.cleanup = () => {
|
|
105
|
-
u?.disconnect(), t.removeEventListener("keydown", c, !0), t.removeEventListener("pointerdown", a, !0), t.removeEventListener("scroll", o, !0), t.removeEventListener("visibilitychange", i), n?.removeEventListener("resize", i), n?.removeEventListener("blur", i), r?.removeEventListener("toggle", s);
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
//#endregion
|
|
110
|
-
export { o as t };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { calculateAnchoredPopoverPosition as e } from "../core/anchored-popover.js";
|
|
2
|
-
import { c as t } from "./preact.module-BBM36DnO.js";
|
|
3
|
-
import { createPreactElement as n } from "../preact-mount.js";
|
|
4
|
-
//#region package/core/tooltip-surface.ts
|
|
5
|
-
var r = "\n.rv-tooltip.rv-tooltip {\n box-sizing: border-box;\n position: fixed;\n z-index: 100000;\n margin: 0;\n inset: auto;\n transform: none;\n opacity: 1;\n visibility: visible;\n padding: 6px 10px;\n border: 0;\n border-radius: 6px;\n background: var(--rv-tooltip-bg, #191919);\n color: var(--rv-tooltip-fg, #fff);\n box-shadow: 0 4px 14px var(--rv-ui-shadow, rgb(0 0 0 / 18%));\n font: 12px/1.4 var(--rv-ui-font-family, Inter, ui-sans-serif, system-ui, sans-serif);\n font-weight: 400;\n text-align: start;\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n max-width: min(360px, calc(100vw - 16px));\n max-height: calc(100dvh - 16px);\n overflow: auto;\n pointer-events: none;\n}\n.rv-tooltip[hidden], .rv-tooltip[data-visible=\"false\"] { display: none; }\n.rv-tooltip[data-overflow] { pointer-events: auto; }\n@media (forced-colors: active) {\n .rv-tooltip.rv-tooltip { color: CanvasText; background: Canvas; border: 1px solid CanvasText; }\n}\n";
|
|
6
|
-
function i(e) {
|
|
7
|
-
if (e.querySelector("style[data-rv-tooltip-styles]")) return;
|
|
8
|
-
let i = e.nodeType === 9 ? e : e.ownerDocument, a = n(i, t("style", { "data-rv-tooltip-styles": "" }, r));
|
|
9
|
-
e.nodeType === 9 ? i.head.append(a) : e.append(a);
|
|
10
|
-
}
|
|
11
|
-
function a(e) {
|
|
12
|
-
e.classList.add("rv-tooltip"), e.setAttribute("role", "tooltip");
|
|
13
|
-
let t = e.getRootNode();
|
|
14
|
-
i(t.nodeType === 11 && "host" in t ? t : e.ownerDocument);
|
|
15
|
-
}
|
|
16
|
-
function o(t, n, r) {
|
|
17
|
-
let i = e(t, n, r), a = t.top - n.height - 8;
|
|
18
|
-
return a >= 8 ? {
|
|
19
|
-
left: Math.max(8, Math.min(t.left + (t.width - n.width) / 2, r.width - n.width - 8)),
|
|
20
|
-
top: a
|
|
21
|
-
} : i;
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region package/core/popup-ownership.ts
|
|
25
|
-
function s(e, t) {
|
|
26
|
-
if (!e || !t) return !1;
|
|
27
|
-
let n = /* @__PURE__ */ new Set(), r = (e) => !n.has(e) && (n.add(e), e.contains(t) ? !0 : [...e.querySelectorAll("[aria-controls]")].some((t) => (t.getAttribute("aria-controls") ?? "").split(/\s+/).some((t) => {
|
|
28
|
-
let n = e.ownerDocument.getElementById(t);
|
|
29
|
-
return !!n && r(n);
|
|
30
|
-
})));
|
|
31
|
-
return r(e);
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region package/core/top-layer-popup.ts
|
|
35
|
-
var c = /* @__PURE__ */ new WeakMap();
|
|
36
|
-
function l(e, t = "flex") {
|
|
37
|
-
if (c.has(e) || c.set(e, e.getAttribute("data-rv-ui-surface")), e.setAttribute("data-rv-ui-surface", ""), e.style.display = t, typeof e.showPopover == "function") {
|
|
38
|
-
e.setAttribute("popover", "manual");
|
|
39
|
-
try {
|
|
40
|
-
return e.showPopover(), "popover";
|
|
41
|
-
} catch {
|
|
42
|
-
e.removeAttribute("popover");
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return e.style.display = t, "fallback";
|
|
46
|
-
}
|
|
47
|
-
function u(e, t) {
|
|
48
|
-
let n = c.get(e);
|
|
49
|
-
if (n !== void 0 && (n === null ? e.removeAttribute("data-rv-ui-surface") : e.setAttribute("data-rv-ui-surface", n), c.delete(e)), t === "popover" && typeof e.hidePopover == "function") try {
|
|
50
|
-
e.hidePopover(), e.style.removeProperty("display");
|
|
51
|
-
return;
|
|
52
|
-
} catch {}
|
|
53
|
-
e.style.display = "none";
|
|
54
|
-
}
|
|
55
|
-
function d(e, t) {
|
|
56
|
-
return t ? e.contains(t) ? !0 : [...e.querySelectorAll("[aria-controls]")].some((n) => n.getAttribute("aria-controls")?.split(/\s+/).some((n) => e.ownerDocument.getElementById(n)?.contains(t))) : !1;
|
|
57
|
-
}
|
|
58
|
-
//#endregion
|
|
59
|
-
export { r as a, a as c, s as i, d as n, o, l as r, i as s, u as t };
|