@revolist/ui 4.0.0 → 4.0.1
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/_chunks/{calendar-QWDyYzdo.js → calendar-DJqiFwFT.js} +1 -1
- package/_chunks/{choice-chips-A6WR-WJe.js → choice-chips-yr6Uzmof.js} +1 -1
- package/_chunks/{color-picker-BK4W1nd6.js → color-picker-CMWxQlWt.js} +1 -1
- package/_chunks/{component-B6Nmgis4.js → component-DyWiItBR.js} +4 -4
- package/_chunks/{configurator-actions-BKMtZrYv.js → configurator-actions-DCodxcUw.js} +2 -2
- package/_chunks/{control-mlH7l0Uq.js → control-CbOYUakE.js} +1 -1
- package/_chunks/{controls-DgCyx2dy.js → controls-DD1qvPfE.js} +2 -2
- package/_chunks/{date-control-Dup_P3w5.js → date-control-XI2cpKI_.js} +1 -1
- package/_chunks/{date-time-C_M6ptat.js → date-time-CGJdC1Qa.js} +4 -4
- package/_chunks/{dialog.parts-Bi7YbXqS.js → dialog.parts-CJ3FVxC9.js} +1 -1
- package/_chunks/{duration-D7oRjsmP.js → duration-CBJWK82T.js} +1 -1
- package/_chunks/{field-configurator-D3o7iF7X.js → field-configurator-B-qtIwx1.js} +2 -2
- package/_chunks/{mount-Bwyfc_I7.js → mount-C7i5gsKI.js} +2 -2
- package/_chunks/{native-control-pFMuHf3G.js → native-control-B9MNibfa.js} +132 -127
- package/_chunks/{number-input-BOdqbxKE.js → number-input-CgbZes5B.js} +2 -2
- package/_chunks/{picker-gEGTu1Ki.js → picker-DqpjDC90.js} +2 -2
- package/_chunks/{rating-choice-DbxdUJr-.js → rating-choice-WDrfiluf.js} +1 -1
- package/_chunks/{reorder-list-B0_13Sja.js → reorder-list-C4HSda4n.js} +1 -1
- package/_chunks/{request-trail-B5zIx2hM.js → request-trail-SHynDFdM.js} +2 -2
- package/_chunks/{rich-text-DicgJRoV.js → rich-text-CtjqRvv8.js} +2 -2
- package/_chunks/selection-list-tooltips-BtWjpP6M.js +41 -0
- package/ai/index.js +2 -2
- package/assignee/index.js +2 -2
- package/buttons/svg-button.js +1 -1
- package/calendar/calendar.js +1 -1
- package/calendar/index.js +2 -2
- package/cell-input.scss +3 -7
- package/choice-chips/index.js +1 -1
- package/color-palette/color-picker.js +1 -1
- package/configurator-actions.js +1 -1
- package/configurator-aggregation-list.js +18 -16
- package/configurator-drop-zone.js +1 -1
- package/controls.js +4 -3
- package/core/selection-list-tooltips.d.ts +2 -0
- package/date-time/index.js +1 -1
- package/dialog/dialog.dom.js +2 -2
- package/dialog/dialog.parts.js +1 -1
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/index.js +1 -1
- package/dropdown/lookup-field.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +1 -1
- package/editor-layout/index.js +39 -34
- package/field-configurator.js +1 -1
- 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 +2 -2
- package/formatting/index.js +1 -1
- package/framework.js +16 -16
- package/masked-input/index.js +1 -1
- package/native-control.js +1 -1
- package/native.js +5 -5
- package/number-input/index.js +1 -1
- package/package.json +1 -1
- package/pagination.js +1 -1
- package/pdf-viewer/index.js +1 -1
- package/preact.js +68 -67
- package/rating-choice.js +1 -1
- package/react.js +16 -16
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker.js +73 -71
- package/rich-text/index.js +1 -1
- package/select.js +1 -1
- package/selection-list.d.ts +1 -0
- package/selection-list.js +3 -1
- package/styles/_cell-editor-frame.scss +11 -0
- package/svelte.js +1 -1
- package/switch/index.js +1 -1
- package/time-grid.js +1 -1
- package/timeline-track/index.js +1 -1
- package/ui.css +1 -1
- package/vue.js +16 -16
package/preact.js
CHANGED
|
@@ -1,75 +1,76 @@
|
|
|
1
|
-
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, 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 ee, r as te, s as ne, t as re, u as ie, w as ae, x as oe, y as se } from "./_chunks/request-trail-
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, 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 ee, r as te, s as ne, t as re, u as ie, w as ae, x as oe, y as se } from "./_chunks/request-trail-SHynDFdM.js";
|
|
2
2
|
import { t as _ } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
3
|
import { getUiMotionDuration as ce, inheritUiMotion as le, isUiMotionEnabled as v } from "./core/motion.js";
|
|
4
|
-
import { n as y, t as b } from "./_chunks/rating-choice-
|
|
4
|
+
import { n as y, t as b } from "./_chunks/rating-choice-WDrfiluf.js";
|
|
5
5
|
import { SvgIcon as x } from "./icons/icon.js";
|
|
6
|
-
import { d as S, l as C, n as w, p as T, u as E } from "./_chunks/native-control-
|
|
6
|
+
import { d as S, l as C, n as w, p as T, u as E } from "./_chunks/native-control-B9MNibfa.js";
|
|
7
7
|
import { t as D } from "./_chunks/popup-C35Isk7p.js";
|
|
8
|
-
import { t as O } from "./_chunks/
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
8
|
+
import { t as O } from "./_chunks/selection-list-tooltips-BtWjpP6M.js";
|
|
9
|
+
import { t as k } from "./_chunks/delete-button-CW9vjLnk.js";
|
|
10
|
+
import { RemoveButton as A } from "./buttons/remove-button.js";
|
|
11
|
+
import { controlAttributes as j, controlClassName as M } from "./control-attributes.js";
|
|
12
|
+
import { createControl as N, decorateIconAction as P, nativeControlTag as F, registerControl as I, renderControl as L } from "./control-presentation.js";
|
|
13
|
+
import { t as R } from "./_chunks/control-CbOYUakE.js";
|
|
14
|
+
import { A as z, B, C as V, D as H, E as U, F as W, I as ue, L as de, M as fe, N as pe, O as me, P as he, R as ge, S as _e, T as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, g as Te, h as Ee, i as De, j as Oe, k as ke, l as Ae, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as G, u as Le, v as Re, w as ze, x as Be, y as Ve } from "./_chunks/controls-DD1qvPfE.js";
|
|
15
|
+
import { n as He, r as Ue, t as We } from "./_chunks/tooltip-D4xkio5G.js";
|
|
16
|
+
import { SvgButton as Ge } from "./buttons/svg-button.js";
|
|
17
|
+
import { SegmentedSwitch as K, renderSegmentedSwitch as Ke } from "./segmented-switch/index.js";
|
|
17
18
|
import { EditorList as q, EditorListGroup as J, EditorListItem as Y, EditorListItemContent as X, EditorPane as Z, EditorSplitLayout as Q } from "./editor-layout/index.js";
|
|
18
|
-
import { a as
|
|
19
|
-
import { badgeClassName as
|
|
20
|
-
import { HistoryControls as
|
|
21
|
-
import { renderStatusBadge as
|
|
22
|
-
import { n as
|
|
23
|
-
import { StatusFeedbackPopoverController as
|
|
24
|
-
import { createFormField as
|
|
25
|
-
import { a as
|
|
26
|
-
import { n as
|
|
27
|
-
import { DEFAULT_COLOR_PALETTE_OPTIONS as
|
|
28
|
-
import { t as
|
|
29
|
-
import { n as
|
|
30
|
-
import { FilterBadge as
|
|
31
|
-
import { ActivityMessage as
|
|
32
|
-
import { a as
|
|
33
|
-
import { Checkbox as
|
|
34
|
-
import { Switch as
|
|
35
|
-
import { SearchInput as
|
|
36
|
-
import { DisclosureSummary as
|
|
37
|
-
import { DEFAULT_CALENDAR_TRANSLATIONS as
|
|
38
|
-
import { a as
|
|
39
|
-
import { CalendarHeader as
|
|
40
|
-
import { t as
|
|
41
|
-
import { CalendarDay as
|
|
42
|
-
import { CalendarMonthGrid as
|
|
43
|
-
import { CalendarYearGrid as
|
|
44
|
-
import { t as
|
|
45
|
-
import { ResourcePickerAvatar as
|
|
46
|
-
import { SharedResourcePicker as
|
|
47
|
-
import { useDialogDrag as
|
|
48
|
-
import { PreactRangeSlider as
|
|
49
|
-
import { SingleValueSlider as
|
|
50
|
-
import { a as
|
|
51
|
-
import { BarChart as
|
|
52
|
-
import { LineChart as
|
|
53
|
-
import { AreaChart as
|
|
54
|
-
import { DistributionChart as
|
|
55
|
-
import { BrushRange as
|
|
56
|
-
import { HighlightedTextInput as
|
|
57
|
-
import { TimeGrid as
|
|
58
|
-
import { _ as
|
|
59
|
-
import { fieldDropIndex as
|
|
60
|
-
import { useFieldDropTarget as
|
|
61
|
-
import { a as
|
|
62
|
-
import { t as
|
|
63
|
-
import { ConfiguratorAggregationList as
|
|
64
|
-
import { ConfiguratorDropZone as
|
|
65
|
-
import { focusConfiguratorOrigin as
|
|
66
|
-
import { ComparisonPreview as
|
|
67
|
-
import { n as
|
|
68
|
-
import { eventOutsideRange as
|
|
69
|
-
import { TimelineTrack as
|
|
70
|
-
import { Legend as
|
|
19
|
+
import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./_chunks/dialog.parts-CJ3FVxC9.js";
|
|
20
|
+
import { badgeClassName as nt } from "./badge.js";
|
|
21
|
+
import { HistoryControls as rt } from "./history-controls.js";
|
|
22
|
+
import { renderStatusBadge as it } from "./status-feedback/badge.js";
|
|
23
|
+
import { n as at, r as ot, t as st } from "./_chunks/render-m5eMMwFR.js";
|
|
24
|
+
import { StatusFeedbackPopoverController as ct } from "./status-feedback/popover.js";
|
|
25
|
+
import { createFormField as lt, createTextControl as ut } from "./form-controls/index.js";
|
|
26
|
+
import { a as dt, c as ft, d as pt, f as mt, h as ht, i as gt, l as _t, m as vt, n as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt } from "./_chunks/cell-visuals-E-2oEKHg.js";
|
|
27
|
+
import { n as Et, t as Dt } from "./_chunks/color-palette-DMJUChWC.js";
|
|
28
|
+
import { DEFAULT_COLOR_PALETTE_OPTIONS as Ot } from "./color-palette/palette.js";
|
|
29
|
+
import { t as kt } from "./_chunks/color-picker-CMWxQlWt.js";
|
|
30
|
+
import { n as At, r as jt, t as Mt } from "./_chunks/choice-chips-yr6Uzmof.js";
|
|
31
|
+
import { FilterBadge as Nt, FilterBadgeInfoButton as Pt } from "./filter-badge.js";
|
|
32
|
+
import { ActivityMessage as Ft } from "./activity-message.js";
|
|
33
|
+
import { a as It, i as Lt, n as Rt, r as zt, t as Bt } from "./_chunks/icon-toolbar-DSjOdwM7.js";
|
|
34
|
+
import { Checkbox as Vt, SHARED_CHECKBOX_CLASS as Ht, renderCheckbox as Ut } from "./checkbox/index.js";
|
|
35
|
+
import { Switch as Wt } from "./switch/index.js";
|
|
36
|
+
import { SearchInput as Gt } from "./search-input/index.js";
|
|
37
|
+
import { DisclosureSummary as Kt, FilterChip as qt, FormField as Jt, renderFormFieldContent as Yt } from "./form-controls/presentation.js";
|
|
38
|
+
import { DEFAULT_CALENDAR_TRANSLATIONS as Xt } from "./calendar/translations.js";
|
|
39
|
+
import { a as Zt, i as Qt, n as $t, o as en, r as tn, t as nn } from "./_chunks/model-mPO2tG2f.js";
|
|
40
|
+
import { CalendarHeader as rn, CalendarWeekdays as an } from "./calendar/header.js";
|
|
41
|
+
import { t as on } from "./_chunks/calendar-DJqiFwFT.js";
|
|
42
|
+
import { CalendarDay as sn } from "./calendar/day.js";
|
|
43
|
+
import { CalendarMonthGrid as cn } from "./calendar/month-grid.js";
|
|
44
|
+
import { CalendarYearGrid as ln } from "./calendar/year-grid.js";
|
|
45
|
+
import { t as un } from "./_chunks/picker-DqpjDC90.js";
|
|
46
|
+
import { ResourcePickerAvatar as dn, getResourcePickerColor as fn, getResourcePickerForegroundColor as pn, getResourcePickerInitials as mn } from "./resource-picker/resource-picker-avatar.js";
|
|
47
|
+
import { SharedResourcePicker as hn } from "./resource-picker/resource-picker.js";
|
|
48
|
+
import { useDialogDrag as gn } from "./dialog/dialog.preact.js";
|
|
49
|
+
import { PreactRangeSlider as _n } from "./filter/filters/slider/preact.js";
|
|
50
|
+
import { SingleValueSlider as vn, SliderField as yn } from "./filter/filters/slider/single.js";
|
|
51
|
+
import { a as bn, c as xn, d as Sn, f as Cn, i as wn, l as Tn, m as En, o as Dn, p as On, r as kn, s as An, t as jn, u as Mn } from "./_chunks/component-DyWiItBR.js";
|
|
52
|
+
import { BarChart as Nn } from "./distribution-chart/bar-chart.js";
|
|
53
|
+
import { LineChart as Pn } from "./distribution-chart/line-chart.js";
|
|
54
|
+
import { AreaChart as Fn } from "./distribution-chart/area-chart.js";
|
|
55
|
+
import { DistributionChart as In } from "./distribution-chart/index.js";
|
|
56
|
+
import { BrushRange as Ln } from "./brush-range/component.js";
|
|
57
|
+
import { HighlightedTextInput as Rn, InlineFieldGroup as zn, OptionButton as Bn } from "./filter-controls.js";
|
|
58
|
+
import { TimeGrid as Vn, timeGridCellKey as Hn, useTimeGridInteraction as Un } from "./time-grid.js";
|
|
59
|
+
import { _ as Wn, a as Gn, b as Kn, c as qn, d as Jn, f as Yn, g as Xn, h as Zn, i as Qn, l as $n, m as er, n as tr, o as nr, p as rr, r as ir, s as ar, t as or, u as sr, v as cr, x as lr, y as ur } from "./_chunks/field-configurator-B-qtIwx1.js";
|
|
60
|
+
import { fieldDropIndex as dr, reorderFields as fr } from "./field-reorder.js";
|
|
61
|
+
import { useFieldDropTarget as pr, useFieldReorder as mr } from "./field-reorder.hook.js";
|
|
62
|
+
import { a as hr, c as gr, d as _r, f as vr, h as yr, i as br, l as xr, m as Sr, n as Cr, o as wr, p as Tr, r as Er, s as Dr, t as Or, u as kr } from "./_chunks/configurator-actions-DCodxcUw.js";
|
|
63
|
+
import { t as Ar } from "./_chunks/configurator-field-icon-CmcM_sPs.js";
|
|
64
|
+
import { ConfiguratorAggregationList as jr } from "./configurator-aggregation-list.js";
|
|
65
|
+
import { ConfiguratorDropZone as Mr } from "./configurator-drop-zone.js";
|
|
66
|
+
import { focusConfiguratorOrigin as $, useConfiguratorOriginFocus as Nr } from "./configurator-focus.js";
|
|
67
|
+
import { ComparisonPreview as Pr, IconChoiceGroup as Fr, IconToggleButton as Ir, InspectorSection as Lr, TypographyControls as Rr } from "./formatting/index.js";
|
|
68
|
+
import { n as zr, t as Br } from "./_chunks/reorder-list-C4HSda4n.js";
|
|
69
|
+
import { eventOutsideRange as Vr, moveTimelineEvent as Hr, niceTimelineStep as Ur, resizeTimelineEvent as Wr, timelineEventBackground as Gr, timelineGeometry as Kr } from "./timeline-track/model.js";
|
|
70
|
+
import { TimelineTrack as qr } from "./timeline-track/index.js";
|
|
71
|
+
import { Legend as Jr } from "./legend.js";
|
|
71
72
|
//#region src/view-switcher.tsx
|
|
72
|
-
function
|
|
73
|
+
function Yr({ translations: e, value: n, controlView: r, views: i, busy: a, canGoBack: o, onSelect: s, onBack: c, error: l, label: u = "Report view", backLabel: d = "Back", showViews: f = !0, dataLabel: p = "Data Grid" }) {
|
|
73
74
|
let m = (n) => t(n, e), h = i.find((e) => e.id === (r ?? (n === "grid" ? void 0 : n)));
|
|
74
75
|
if (!f && !h && !l) return null;
|
|
75
76
|
let g = f ? i : [{
|
|
@@ -105,4 +106,4 @@ function Jr({ translations: e, value: n, controlView: r, views: i, busy: a, canG
|
|
|
105
106
|
});
|
|
106
107
|
}
|
|
107
108
|
//#endregion
|
|
108
|
-
export { r as AI_UI_MESSAGES,
|
|
109
|
+
export { r as AI_UI_MESSAGES, Ft as ActivityMessage, l as AiActionStatus, ee as AiAssistant, m as AiChangePreview, h as AiChat, te as AiChatComposer, f as AiChatContent, a as AiChatEmptyState, g as AiMessage, ne as AiMessageActions, s as AiMessageContent, d as AiPromptInput, p as AiReasoning, re as AiRequestTrail, u as AiResult, oe as AiResultMetrics, n as AiResultTable, o as AiResultText, se as AiResultView, i as AiSuggestions, ie as AiTask, c as AiTaskItem, ae as AiTranslationProvider, ge as Alert, Fn as AreaChart, bn as Avatar, B as Badge, Nn as BarChart, Ln as BrushRange, G as Button, Me as ButtonGroup, Or as CONFIGURATOR_AREA_ICONS, on as Calendar, sn as CalendarDay, rn as CalendarHeader, cn as CalendarMonthGrid, un as CalendarPicker, an as CalendarWeekdays, ln as CalendarYearGrid, Vt as Checkbox, Fe as Chip, Mt as ChoiceChip, At as ChoiceChipInfoButton, jt as ChoiceChips, De as CircularProgress, or as CollapsibleSection, Dt as ColorPalette, kt as ColorPicker, Dn as Combobox, Pr as ComparisonPreview, Cr as ConfiguratorActionButton, Er as ConfiguratorActionGroup, br as ConfiguratorActionIcon, hr as ConfiguratorActionPanel, wr as ConfiguratorActionTrigger, jr as ConfiguratorAggregationList, Mr as ConfiguratorDropZone, Dr as ConfiguratorFieldCaption, gr as ConfiguratorFieldPicker, xr as ConfiguratorFieldSearch, kr as ConfiguratorFieldTypeIcon, _r as ConfiguratorFilterStatus, vr as ConfiguratorHint, tr as ConfiguratorPanel, Tr as ConfiguratorRemoveButton, Sr as ConfiguratorZoneActions, An as ConfirmDialog, We as ControlTooltip, be as CountBadge, Xt as DEFAULT_CALENDAR_TRANSLATIONS, Ot as DEFAULT_COLOR_PALETTE_OPTIONS, Ne as DateInput, xn as DatePicker, Tn as DateRangePicker, Ie as DateTimeInput, k as DeleteButton, Mn as Dialog, tt as DialogActionFooter, Ze as DialogActions, $e as DialogBody, Ye as DialogCloseButton, qe as DialogFooter, Qe as DialogForm, et as DialogHeader, Je as DialogTitleInput, Se as Disclosure, Kt as DisclosureSummary, In as DistributionChart, C as Dropdown, D as DropdownPopup, T as DropdownPopupContent, Xe as EditableDialogHeader, q as EditorList, q as Listbox, J as EditorListGroup, J as ListboxGroup, Y as EditorListItem, Y as ListboxOption, X as EditorListItemContent, X as ListboxOptionContent, Z as EditorPane, Z as Pane, Q as EditorSplitLayout, Q as SplitLayout, Ae as EmptyState, ir as FieldActions, Qn as FieldContent, Gn as FieldDropIndicator, Le as FieldError, nr as FieldGroup, ar as FieldGroupHeading, Ce as FieldHint, qn as FieldIcon, $n as FieldItem, sr as FieldLibrary, Jn as FieldLibraryList, Yn as FieldList, rr as FieldRemoveButton, er as FieldRemoveIcon, Zn as FieldRow, Xn as FieldStatusBadge, Wn as FieldSummary, Nt as FilterBadge, Pt as FilterBadgeInfoButton, qt as FilterChip, Jt as FormField, we as FormSection, Rn as HighlightedTextInput, rt as HistoryControls, Bt as ICON_TOOLBAR_ICONS, Pe as IconButton, Fr as IconChoiceGroup, Ir as IconToggleButton, Rt as IconToolbar, zn as InlineFieldGroup, w as Input, Lr as InspectorSection, Jr as Legend, Pn as LineChart, je as LoadingOverlay, Ee as Menu, Te as MenuItem, ye as MenuSeparator, Sn as MultiSelect, Re as NumberInput, Ve as NumberStepper, Bn as OptionButton, xe as Pagination, Be as Panel, _e as PanelResizeHandle, jn as PdfViewer, kn as PdfViewerToolbar, Cn as Popover, _n as PreactRangeSlider, On as ProgressBar, V as RadioGroup, ze as Rating, b as RatingChoice, y as RatingStar, A as RemoveButton, Br as ReorderHandle, zr as ReorderList, ve as ResizeHandle, dn as ResourcePickerAvatar, Ht as SHARED_CHECKBOX_CLASS, zt as SVG_TOOLBAR_BUTTON_STYLES, Gt as SearchInput, U as SegmentedControl, K as SegmentedSwitch, cr as SelectedField, hn as SharedResourcePicker, vn as SingleValueSlider, yn as SliderField, H as Spinner, st as StatusBadge, at as StatusFeedbackPanel, ct as StatusFeedbackPopoverController, me as Submenu, Ge as SvgButton, x as SvgIcon, Lt as SvgToolbarButton, It as SvgToolbarButtonView, Wt as Switch, ke as TabPanel, z as Tabs, Oe as TextInput, fe as Textarea, Vn as TimeGrid, pe as TimeInput, qr as TimelineTrack, he as ToggleButton, W as Toolbar, ue as ToolbarGroup, de as ToolbarSeparator, En as Tooltip, Rr as TypographyControls, Yr as ViewSwitcherControls, nt as badgeClassName, j as controlAttributes, M as controlClassName, nn as createCalendarMonth, N as createControl, R as createDropdownControl, ur as createFieldExpansion, lt as createFormField, ut as createTextControl, P as decorateIconAction, wn as defaultPdfViewerText, E as defineDropdown, S as destroyDropdown, Vr as eventOutsideRange, dr as fieldDropIndex, Kn as fieldExpansionIds, $ as focusConfiguratorOrigin, e as formatAiResultValue, yt as formatTimelineEvents, fn as getResourcePickerColor, pn as getResourcePickerForegroundColor, mn as getResourcePickerInitials, ce as getUiMotionDuration, le as inheritUiMotion, $t as isCalendarDateDisabled, tn as isCalendarMonthDisabled, Qt as isDateInCalendarRange, v as isUiMotionEnabled, Zt as moveCalendarFocus, Hr as moveTimelineEvent, F as nativeControlTag, Ur as niceTimelineStep, Et as normalizeHexColor, en as orderCalendarRange, lr as recordFieldExpansion, I as registerControl, Ct as renderAggregateSummary, ft as renderBadgeValue, _t as renderChange, Ut as renderCheckbox, yr as renderConfiguratorActionTrigger, L as renderControl, Yt as renderFormFieldContent, gt as renderHeatmap, Tt as renderLabelledIcon, dt as renderMiniBarChart, pt as renderPercentageSummary, wt as renderPie, mt as renderProgressLine, xt as renderProgressLineValue, Ke as renderSegmentedSwitch, bt as renderSparkline, it as renderStatusBadge, ot as renderStatusFeedbackPanel, vt as renderThumbs, St as renderTimeline, ht as renderTypeIcon, fr as reorderFields, Wr as resizeTimelineEvent, Ar as resolveConfiguratorFieldIcon, Hn as timeGridCellKey, Gr as timelineEventBackground, Kr as timelineGeometry, t as translateAiText, Nr as useConfiguratorOriginFocus, He as useControlTooltip, gn as useDialogDrag, pr as useFieldDropTarget, mr as useFieldReorder, O as useSelectionListTooltips, Un as useTimeGridInteraction, Ue as useTooltip };
|
package/rating-choice.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-
|
|
1
|
+
export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-WDrfiluf.js";
|
package/react.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as ee, l as te, m as ne, n as re, o as ie, p as ae, r as oe, s as se, t as ce, u as le, x as ue, y as de } from "./_chunks/request-trail-
|
|
2
|
-
import { n as l, t as u } from "./_chunks/rating-choice-
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as ee, l as te, m as ne, n as re, o as ie, p as ae, r as oe, s as se, t as ce, u as le, x as ue, y as de } from "./_chunks/request-trail-SHynDFdM.js";
|
|
2
|
+
import { n as l, t as u } from "./_chunks/rating-choice-WDrfiluf.js";
|
|
3
3
|
import { SvgIcon as d } from "./icons/icon.js";
|
|
4
|
-
import { l as f, n as p, p as m } from "./_chunks/native-control-
|
|
4
|
+
import { l as f, n as p, p as m } from "./_chunks/native-control-B9MNibfa.js";
|
|
5
5
|
import { t as h } from "./_chunks/popup-C35Isk7p.js";
|
|
6
6
|
import { t as g } from "./_chunks/delete-button-CW9vjLnk.js";
|
|
7
7
|
import { RemoveButton as _ } from "./buttons/remove-button.js";
|
|
8
|
-
import { A as v, B as y, C as b, D as x, E as S, F as C, I as w, L as T, M as E, N as D, O, P as k, R as A, T as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as fe, m as pe, n as me, o as he, p as ge, r as _e, s as ve, t as ye, u as be, v as xe, w as Se, x as Ce, y as we } from "./_chunks/controls-
|
|
8
|
+
import { A as v, B as y, C as b, D as x, E as S, F as C, I as w, L as T, M as E, N as D, O, P as k, R as A, T as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as fe, m as pe, n as me, o as he, p as ge, r as _e, s as ve, t as ye, u as be, v as xe, w as Se, x as Ce, y as we } from "./_chunks/controls-DD1qvPfE.js";
|
|
9
9
|
import { t as Te } from "./_chunks/tooltip-D4xkio5G.js";
|
|
10
10
|
import { SvgButton as Ee } from "./buttons/svg-button.js";
|
|
11
11
|
import { SegmentedSwitch as De } from "./segmented-switch/index.js";
|
|
12
12
|
import { EditorList as U, EditorListGroup as W, EditorListItem as G, EditorListItemContent as K, EditorPane as q, EditorSplitLayout as J } from "./editor-layout/index.js";
|
|
13
|
-
import { a as Oe, c as ke, i as Ae, l as je, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./_chunks/dialog.parts-
|
|
13
|
+
import { a as Oe, c as ke, i as Ae, l as je, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./_chunks/dialog.parts-CJ3FVxC9.js";
|
|
14
14
|
import { n as Le, t as Re } from "./_chunks/render-m5eMMwFR.js";
|
|
15
15
|
import { t as ze } from "./_chunks/color-palette-DMJUChWC.js";
|
|
16
|
-
import { t as Be } from "./_chunks/color-picker-
|
|
17
|
-
import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-
|
|
16
|
+
import { t as Be } from "./_chunks/color-picker-CMWxQlWt.js";
|
|
17
|
+
import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-yr6Uzmof.js";
|
|
18
18
|
import { FilterBadge as We, FilterBadgeInfoButton as Ge } from "./filter-badge.js";
|
|
19
19
|
import { ActivityMessage as Ke } from "./activity-message.js";
|
|
20
20
|
import { n as qe } from "./_chunks/icon-toolbar-DSjOdwM7.js";
|
|
@@ -22,19 +22,19 @@ import { Checkbox as Je } from "./checkbox/index.js";
|
|
|
22
22
|
import { Switch as Ye } from "./switch/index.js";
|
|
23
23
|
import { SearchInput as Xe } from "./search-input/index.js";
|
|
24
24
|
import { DisclosureSummary as Ze, FilterChip as Qe, FormField as $e } from "./form-controls/presentation.js";
|
|
25
|
-
import { a as et, i as tt, r as nt } from "./_chunks/date-time-
|
|
26
|
-
import { n as rt, t as it } from "./_chunks/duration-
|
|
25
|
+
import { a as et, i as tt, r as nt } from "./_chunks/date-time-CGJdC1Qa.js";
|
|
26
|
+
import { n as rt, t as it } from "./_chunks/duration-CBJWK82T.js";
|
|
27
27
|
import { CalendarHeader as at, CalendarWeekdays as ot } from "./calendar/header.js";
|
|
28
|
-
import { t as st } from "./_chunks/calendar-
|
|
28
|
+
import { t as st } from "./_chunks/calendar-DJqiFwFT.js";
|
|
29
29
|
import { CalendarDay as ct } from "./calendar/day.js";
|
|
30
30
|
import { CalendarMonthGrid as lt } from "./calendar/month-grid.js";
|
|
31
31
|
import { CalendarYearGrid as ut } from "./calendar/year-grid.js";
|
|
32
|
-
import { t as dt } from "./_chunks/picker-
|
|
32
|
+
import { t as dt } from "./_chunks/picker-DqpjDC90.js";
|
|
33
33
|
import { ResourcePickerAvatar as ft } from "./resource-picker/resource-picker-avatar.js";
|
|
34
34
|
import { SharedResourcePicker as pt } from "./resource-picker/resource-picker.js";
|
|
35
35
|
import { PreactRangeSlider as mt } from "./filter/filters/slider/preact.js";
|
|
36
36
|
import { SingleValueSlider as ht, SliderField as gt } from "./filter/filters/slider/single.js";
|
|
37
|
-
import { a as _t, c as vt, d as yt, f as bt, i as xt, l as St, m as Ct, o as wt, p as Tt, r as Et, s as Dt, t as Ot, u as kt } from "./_chunks/component-
|
|
37
|
+
import { a as _t, c as vt, d as yt, f as bt, i as xt, l as St, m as Ct, o as wt, p as Tt, r as Et, s as Dt, t as Ot, u as kt } from "./_chunks/component-DyWiItBR.js";
|
|
38
38
|
import { BarChart as At } from "./distribution-chart/bar-chart.js";
|
|
39
39
|
import { LineChart as jt } from "./distribution-chart/line-chart.js";
|
|
40
40
|
import { AreaChart as Mt } from "./distribution-chart/area-chart.js";
|
|
@@ -42,14 +42,14 @@ import { DistributionChart as Nt } from "./distribution-chart/index.js";
|
|
|
42
42
|
import { BrushRange as Pt } from "./brush-range/component.js";
|
|
43
43
|
import { HighlightedTextInput as Ft, InlineFieldGroup as It, OptionButton as Lt } from "./filter-controls.js";
|
|
44
44
|
import { TimeGrid as Rt } from "./time-grid.js";
|
|
45
|
-
import { _ as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, m as Jt, o as Yt, p as Xt, r as Zt, s as Qt, u as $t, v as en } from "./_chunks/field-configurator-
|
|
45
|
+
import { _ as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, m as Jt, o as Yt, p as Xt, r as Zt, s as Qt, u as $t, v as en } from "./_chunks/field-configurator-B-qtIwx1.js";
|
|
46
46
|
import { ComparisonPreview as tn, IconChoiceGroup as nn, IconToggleButton as rn, InspectorSection as an, TypographyControls as on } from "./formatting/index.js";
|
|
47
|
-
import { n as sn, t as cn } from "./_chunks/reorder-list-
|
|
47
|
+
import { n as sn, t as cn } from "./_chunks/reorder-list-C4HSda4n.js";
|
|
48
48
|
import { TimelineTrack as ln } from "./timeline-track/index.js";
|
|
49
49
|
import { Legend as un } from "./legend.js";
|
|
50
|
-
import { t as dn } from "./_chunks/number-input-
|
|
50
|
+
import { t as dn } from "./_chunks/number-input-CgbZes5B.js";
|
|
51
51
|
import { MaskedDraft as fn } from "./masked-input/index.js";
|
|
52
|
-
import { t as pn } from "./_chunks/rich-text-
|
|
52
|
+
import { t as pn } from "./_chunks/rich-text-CtjqRvv8.js";
|
|
53
53
|
import { AssigneeField as mn, AssigneePicker as hn, AssigneePickerLayout as gn } from "./assignee/index.js";
|
|
54
54
|
import { t as _n } from "./_chunks/framework-mount-Bk4O_T7T.js";
|
|
55
55
|
import { createElement as Y, forwardRef as vn, isValidElement as yn, useImperativeHandle as bn, useLayoutEffect as X, useRef as Z, useState as xn } from "react";
|
package/reorder-list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-
|
|
1
|
+
export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-C4HSda4n.js";
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { c as e, i as t, n, o as r, t as i } from "../_chunks/hooks.module-CG3gN83z.js";
|
|
2
2
|
import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
3
|
import { createControlId as o } from "../core/control-id.js";
|
|
4
|
-
import { t as s } from "../_chunks/
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
4
|
+
import { t as s } from "../_chunks/selection-list-tooltips-BtWjpP6M.js";
|
|
5
|
+
import { t as c } from "../_chunks/chevron-down-GbplLa6s.js";
|
|
6
|
+
import { t as l } from "../_chunks/xmark-DD_PBvZI.js";
|
|
7
|
+
import { SearchInput as u } from "../search-input/index.js";
|
|
8
|
+
import { resourcePickerClasses as d, resourcePickerDataAttribute as f, resourcePickerIdKey as p } from "./resource-picker.utils.js";
|
|
9
|
+
import { ResourcePickerAvatar as m } from "./resource-picker-avatar.js";
|
|
10
|
+
import { ResourcePickerOption as ee } from "./resource-picker-option.js";
|
|
11
|
+
import { ResourcePickerPopup as h } from "./resource-picker-popup.js";
|
|
11
12
|
//#region src/resource-picker/resource-picker.tsx
|
|
12
|
-
function
|
|
13
|
-
let j = i(null), M = i(null), N = i(null), P = i(null), F = i(!1), [I] = t(() => o("rv-resource-list")), L = `${I}-popup`, R =
|
|
13
|
+
function g({ resources: g, selectedResourceIds: y, text: b, onChange: x, classNames: S, disabled: C = !1, readOnly: w = !1, presentation: T = "inline", multiple: E = !0, preserveOrder: D = !1, unassigned: O, resourceDataAttribute: te, isResourceDisabled: k, getAvatarColor: A }) {
|
|
14
|
+
let j = i(null), M = i(null), N = i(null), P = i(null), ne = s(".rv-resource-picker__option"), F = i(!1), [I] = t(() => o("rv-resource-list")), L = `${I}-popup`, R = T === "dropdown", [z, B] = t(!1), [V, H] = t(""), [U, W] = t(0), G = r(() => {
|
|
14
15
|
B(!1), H("");
|
|
15
|
-
}, []), K = new Set(
|
|
16
|
+
}, []), K = new Set(y.map(p)), q = n(() => D ? [...g] : [...g].sort((e, t) => e.name.localeCompare(t.name, void 0, {
|
|
16
17
|
numeric: !0,
|
|
17
18
|
sensitivity: "base"
|
|
18
|
-
})), [
|
|
19
|
+
})), [D, g]), J = n(() => {
|
|
19
20
|
let e = V.trim().toLocaleLowerCase();
|
|
20
21
|
return e ? q.filter((t) => `${t.name} ${t.role ?? ""}`.toLocaleLowerCase().includes(e)) : q;
|
|
21
22
|
}, [V, q]), Y = n(() => {
|
|
22
|
-
let e = new Map(
|
|
23
|
-
return
|
|
24
|
-
}, [
|
|
23
|
+
let e = new Map(g.map((e) => [p(e.id), e]));
|
|
24
|
+
return y.map((t) => e.get(p(t))).filter((e) => !!e);
|
|
25
|
+
}, [g, y]), X = R && U >= 0 && U < J.length ? `${I}-option-${U}` : void 0;
|
|
25
26
|
e(() => {
|
|
26
27
|
if (!R || !z) return;
|
|
27
28
|
let e = (e) => {
|
|
@@ -49,72 +50,73 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
|
|
|
49
50
|
e && P.current.contains(e) && e.closest(".rv-resource-picker__option")?.scrollIntoView?.({ block: "nearest" });
|
|
50
51
|
}, [X, z]);
|
|
51
52
|
let Z = (e) => {
|
|
52
|
-
|
|
53
|
-
},
|
|
53
|
+
w || (x(e), !E && R && G());
|
|
54
|
+
}, re = () => {
|
|
54
55
|
let e = J[U];
|
|
55
56
|
if (!e) return;
|
|
56
|
-
let t =
|
|
57
|
-
(!k?.(e) || K.has(t)) && Z(K.has(t) ?
|
|
58
|
-
},
|
|
57
|
+
let t = p(e.id);
|
|
58
|
+
(!k?.(e) || K.has(t)) && Z(K.has(t) ? y.filter((e) => p(e) !== t) : E ? _([...y, e.id]) : [e.id]);
|
|
59
|
+
}, ie = (e) => {
|
|
59
60
|
if (e.key === "Escape") e.preventDefault(), e.stopPropagation(), G(), M.current?.focus();
|
|
60
61
|
else if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
61
62
|
if (e.preventDefault(), e.stopPropagation(), !J.length) return;
|
|
62
63
|
F.current = !0, W((t) => e.key === "ArrowDown" ? t >= J.length - 1 ? 0 : t + 1 : t <= 0 ? J.length - 1 : t - 1);
|
|
63
|
-
} else e.key === "Enter" && (e.preventDefault(), e.stopPropagation(),
|
|
64
|
+
} else e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), re());
|
|
64
65
|
}, Q = typeof document > "u" ? null : j.current?.closest("dialog, .rv-dialog-overlay") ?? document.body, $ = /* @__PURE__ */ a("div", {
|
|
66
|
+
ref: ne,
|
|
65
67
|
class: "rv-resource-picker__popover",
|
|
66
|
-
onKeyDown: R ?
|
|
67
|
-
children: [/* @__PURE__ */ a(
|
|
68
|
+
onKeyDown: R ? ie : void 0,
|
|
69
|
+
children: [/* @__PURE__ */ a(u, {
|
|
68
70
|
inputRef: N,
|
|
69
71
|
rootClassName: "rv-resource-picker__search-control",
|
|
70
|
-
inputClassName:
|
|
72
|
+
inputClassName: d("rv-resource-picker__search", S?.search),
|
|
71
73
|
value: V,
|
|
72
|
-
disabled:
|
|
73
|
-
placeholder:
|
|
74
|
-
"aria-label":
|
|
74
|
+
disabled: C,
|
|
75
|
+
placeholder: b.searchPlaceholder,
|
|
76
|
+
"aria-label": b.searchAriaLabel,
|
|
75
77
|
onValueChange: H
|
|
76
78
|
}), /* @__PURE__ */ a("div", {
|
|
77
79
|
ref: P,
|
|
78
|
-
class:
|
|
80
|
+
class: d("rv-resource-picker__list", S?.list),
|
|
79
81
|
role: R ? "listbox" : "group",
|
|
80
82
|
id: R ? I : void 0,
|
|
81
|
-
"aria-multiselectable": R ?
|
|
83
|
+
"aria-multiselectable": R ? E : void 0,
|
|
82
84
|
"aria-activedescendant": X,
|
|
83
|
-
"aria-label":
|
|
84
|
-
children: [
|
|
85
|
-
class:
|
|
85
|
+
"aria-label": b.groupAriaLabel,
|
|
86
|
+
children: [O && !w ? /* @__PURE__ */ a("label", {
|
|
87
|
+
class: d("rv-resource-picker__option rv-resource-picker__option--unassigned", S?.option),
|
|
86
88
|
children: [
|
|
87
89
|
/* @__PURE__ */ a("input", {
|
|
88
90
|
type: "checkbox",
|
|
89
|
-
checked:
|
|
90
|
-
disabled:
|
|
91
|
-
...
|
|
92
|
-
onChange: () =>
|
|
91
|
+
checked: y.length === 0,
|
|
92
|
+
disabled: C,
|
|
93
|
+
...f(O.dataAttribute, ""),
|
|
94
|
+
onChange: () => x([])
|
|
93
95
|
}),
|
|
94
96
|
/* @__PURE__ */ a("span", {
|
|
95
97
|
class: "rv-resource-picker__avatar-spacer",
|
|
96
98
|
"aria-hidden": "true"
|
|
97
99
|
}),
|
|
98
100
|
/* @__PURE__ */ a("span", {
|
|
99
|
-
class:
|
|
100
|
-
children: /* @__PURE__ */ a("strong", { children:
|
|
101
|
+
class: d("rv-resource-picker__details", S?.details),
|
|
102
|
+
children: /* @__PURE__ */ a("strong", { children: O.label })
|
|
101
103
|
})
|
|
102
104
|
]
|
|
103
|
-
}) : null,
|
|
104
|
-
className:
|
|
105
|
-
text:
|
|
106
|
-
}) : J.length === 0 ? /* @__PURE__ */ a(
|
|
107
|
-
className:
|
|
108
|
-
text:
|
|
109
|
-
}) : J.map((e, t) => /* @__PURE__ */ a(
|
|
105
|
+
}) : null, g.length === 0 ? /* @__PURE__ */ a(v, {
|
|
106
|
+
className: S?.muted,
|
|
107
|
+
text: b.emptyResources
|
|
108
|
+
}) : J.length === 0 ? /* @__PURE__ */ a(v, {
|
|
109
|
+
className: S?.muted,
|
|
110
|
+
text: b.emptySearch
|
|
111
|
+
}) : J.map((e, t) => /* @__PURE__ */ a(ee, {
|
|
110
112
|
resource: e,
|
|
111
|
-
selected: K.has(
|
|
112
|
-
selectedResourceIds:
|
|
113
|
-
disabled:
|
|
114
|
-
readOnly:
|
|
115
|
-
multiple:
|
|
116
|
-
resourceDataAttribute:
|
|
117
|
-
classNames:
|
|
113
|
+
selected: K.has(p(e.id)),
|
|
114
|
+
selectedResourceIds: y,
|
|
115
|
+
disabled: C,
|
|
116
|
+
readOnly: w,
|
|
117
|
+
multiple: E,
|
|
118
|
+
resourceDataAttribute: te,
|
|
119
|
+
classNames: S,
|
|
118
120
|
isResourceDisabled: k,
|
|
119
121
|
getAvatarColor: A,
|
|
120
122
|
optionId: R ? `${I}-option-${t}` : void 0,
|
|
@@ -123,12 +125,12 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
|
|
|
123
125
|
F.current = !1, W(t);
|
|
124
126
|
},
|
|
125
127
|
onChange: Z
|
|
126
|
-
},
|
|
128
|
+
}, p(e.id)))]
|
|
127
129
|
})]
|
|
128
130
|
});
|
|
129
131
|
return /* @__PURE__ */ a("div", {
|
|
130
132
|
ref: j,
|
|
131
|
-
class:
|
|
133
|
+
class: d("rv-resource-picker", R ? "rv-resource-picker--dropdown" : void 0, z ? "rv-resource-picker--open" : void 0, S?.root),
|
|
132
134
|
children: [R ? /* @__PURE__ */ a("div", {
|
|
133
135
|
ref: M,
|
|
134
136
|
class: "rv-resource-picker__control",
|
|
@@ -136,51 +138,51 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
|
|
|
136
138
|
"aria-expanded": z,
|
|
137
139
|
"aria-controls": I,
|
|
138
140
|
"aria-haspopup": "listbox",
|
|
139
|
-
"aria-label":
|
|
140
|
-
tabIndex:
|
|
141
|
+
"aria-label": b.groupAriaLabel,
|
|
142
|
+
tabIndex: C ? -1 : 0,
|
|
141
143
|
onClick: (e) => {
|
|
142
|
-
|
|
144
|
+
C || (e.preventDefault(), z ? G() : B(!0));
|
|
143
145
|
},
|
|
144
146
|
onKeyDown: (e) => {
|
|
145
|
-
|
|
147
|
+
C || e.target !== e.currentTarget || (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), B(!0));
|
|
146
148
|
},
|
|
147
149
|
children: [/* @__PURE__ */ a("div", {
|
|
148
150
|
class: "rv-resource-picker__chips",
|
|
149
151
|
children: Y.length ? Y.map((e) => /* @__PURE__ */ a("span", {
|
|
150
152
|
class: "rv-resource-picker__chip",
|
|
151
153
|
children: [
|
|
152
|
-
/* @__PURE__ */ a(
|
|
154
|
+
/* @__PURE__ */ a(m, {
|
|
153
155
|
resource: e,
|
|
154
|
-
className:
|
|
156
|
+
className: S?.avatar,
|
|
155
157
|
color: A?.(e)
|
|
156
158
|
}),
|
|
157
159
|
/* @__PURE__ */ a("span", {
|
|
158
160
|
class: "rv-resource-picker__chip-label",
|
|
159
161
|
children: e.name
|
|
160
162
|
}),
|
|
161
|
-
!
|
|
163
|
+
!C && !w ? /* @__PURE__ */ a("button", {
|
|
162
164
|
type: "button",
|
|
163
165
|
class: "rv-resource-picker__chip-remove",
|
|
164
166
|
"aria-label": `Remove ${e.name}`,
|
|
165
167
|
onClick: (t) => {
|
|
166
|
-
t.stopPropagation(),
|
|
168
|
+
t.stopPropagation(), x(y.filter((t) => p(t) !== p(e.id)));
|
|
167
169
|
},
|
|
168
170
|
children: /* @__PURE__ */ a("span", {
|
|
169
171
|
"aria-hidden": "true",
|
|
170
|
-
dangerouslySetInnerHTML: { __html:
|
|
172
|
+
dangerouslySetInnerHTML: { __html: l }
|
|
171
173
|
})
|
|
172
174
|
}) : null
|
|
173
175
|
]
|
|
174
|
-
},
|
|
176
|
+
}, p(e.id))) : /* @__PURE__ */ a("span", {
|
|
175
177
|
class: "rv-resource-picker__placeholder",
|
|
176
|
-
children:
|
|
178
|
+
children: b.searchPlaceholder
|
|
177
179
|
})
|
|
178
180
|
}), /* @__PURE__ */ a("span", {
|
|
179
181
|
class: "rv-resource-picker__chevron",
|
|
180
182
|
"aria-hidden": "true",
|
|
181
|
-
dangerouslySetInnerHTML: { __html:
|
|
183
|
+
dangerouslySetInnerHTML: { __html: c }
|
|
182
184
|
})]
|
|
183
|
-
}) : null, R ? z && Q ? /* @__PURE__ */ a(
|
|
185
|
+
}) : null, R ? z && Q ? /* @__PURE__ */ a(h, {
|
|
184
186
|
triggerRef: M,
|
|
185
187
|
portalTarget: Q,
|
|
186
188
|
popupId: L,
|
|
@@ -188,14 +190,14 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
|
|
|
188
190
|
}) : null : $]
|
|
189
191
|
});
|
|
190
192
|
}
|
|
191
|
-
function
|
|
192
|
-
return [...new Map(e.map((e) => [
|
|
193
|
+
function _(e) {
|
|
194
|
+
return [...new Map(e.map((e) => [p(e), e])).values()];
|
|
193
195
|
}
|
|
194
|
-
function
|
|
196
|
+
function v({ className: e, text: t }) {
|
|
195
197
|
return /* @__PURE__ */ a("span", {
|
|
196
|
-
class:
|
|
198
|
+
class: d("rv-resource-picker__empty", e),
|
|
197
199
|
children: t
|
|
198
200
|
});
|
|
199
201
|
}
|
|
200
202
|
//#endregion
|
|
201
|
-
export {
|
|
203
|
+
export { g as SharedResourcePicker };
|
package/rich-text/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as HtmlEditor, s as HtmlSyntax, r as defaultHtmlEditorText, i as formatRichTextHtml, n as htmlRenderNodes, a as isSafeRichTextLink, o as sanitizeRichTextHtml } from "../_chunks/rich-text-
|
|
1
|
+
export { t as HtmlEditor, s as HtmlSyntax, r as defaultHtmlEditorText, i as formatRichTextHtml, n as htmlRenderNodes, a as isSafeRichTextLink, o as sanitizeRichTextHtml } from "../_chunks/rich-text-CtjqRvv8.js";
|
package/select.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as Select, c as selectOptions } from "./_chunks/native-control-
|
|
1
|
+
export { s as Select, c as selectOptions } from "./_chunks/native-control-B9MNibfa.js";
|
package/selection-list.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
/** General-purpose selection lists; formatting editors reuse the same owner. */
|
|
2
2
|
export { EditorList as Listbox, EditorListItem as ListboxOption, EditorListGroup as ListboxGroup, EditorListItemContent as ListboxOptionContent, type EditorListProps as ListboxProps, type EditorListItemProps as ListboxOptionProps, type EditorListItemContentProps as ListboxOptionContentProps, } from './editor-layout';
|
|
3
|
+
export { useSelectionListTooltips } from './core/selection-list-tooltips';
|
package/selection-list.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as e } from "./_chunks/selection-list-tooltips-BtWjpP6M.js";
|
|
2
|
+
import { EditorList as t, EditorListGroup as n, EditorListItem as r, EditorListItemContent as i } from "./editor-layout/index.js";
|
|
3
|
+
export { t as Listbox, n as ListboxGroup, r as ListboxOption, i as ListboxOptionContent, e as useSelectionListTooltips };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Shared active-cell frame; inset so the grid viewport cannot clip it. */
|
|
2
|
+
@mixin cell-editor-frame {
|
|
3
|
+
border: 0;
|
|
4
|
+
border-radius: var(--rv-control-radius, 6px);
|
|
5
|
+
outline: 2px solid var(--rv-ui-accent, var(--rg-theme-primary, #2563eb));
|
|
6
|
+
outline-offset: -2px;
|
|
7
|
+
|
|
8
|
+
&[aria-invalid='true'] {
|
|
9
|
+
outline-color: var(--rv-ui-danger, #dc2626);
|
|
10
|
+
}
|
|
11
|
+
}
|
package/svelte.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./_chunks/component-
|
|
1
|
+
import { i as e } from "./_chunks/component-DyWiItBR.js";
|
|
2
2
|
import { t } from "./_chunks/component-metadata-BKd7U8OW.js";
|
|
3
3
|
import { n, t as r } from "./_chunks/framework-mount-Bk4O_T7T.js";
|
|
4
4
|
import { uiComponents as i } from "./framework.js";
|
package/switch/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
2
|
-
import { t } from "../_chunks/native-control-
|
|
2
|
+
import { t } from "../_chunks/native-control-B9MNibfa.js";
|
|
3
3
|
//#region src/switch/index.tsx
|
|
4
4
|
function n({ checked: n, onChange: r, label: i, ariaLabel: a, className: o = "", disabled: s = !1, labelPosition: c = "before", title: l, testId: u }) {
|
|
5
5
|
let d = /* @__PURE__ */ e("span", {
|
package/time-grid.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, t } from "./_chunks/hooks.module-CG3gN83z.js";
|
|
2
2
|
import { t as n } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
-
import { t as r } from "./_chunks/native-control-
|
|
3
|
+
import { t as r } from "./_chunks/native-control-B9MNibfa.js";
|
|
4
4
|
import { t as i } from "./_chunks/tooltip-text-BXsUEmBH.js";
|
|
5
5
|
//#region src/time-grid.tsx
|
|
6
6
|
var a = (e, t) => `${e}:${t}`;
|
package/timeline-track/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../_chunks/hooks.module-CG3gN83z.js";
|
|
2
2
|
import { t } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
-
import { t as n } from "../_chunks/native-control-
|
|
3
|
+
import { t as n } from "../_chunks/native-control-B9MNibfa.js";
|
|
4
4
|
import { n as r } from "../_chunks/tooltip-D4xkio5G.js";
|
|
5
5
|
import { eventOutsideRange as i, moveTimelineEvent as a, niceTimelineStep as o, resizeTimelineEvent as s, timelineEventBackground as c, timelineGeometry as l } from "./model.js";
|
|
6
6
|
//#region src/timeline-track/component.tsx
|