@revolist/ui 4.0.2-rc → 4.0.4-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/LICENSE +21 -0
- package/README.md +345 -263
- package/_chunks/{calendar-CpaUK7w1.js → calendar-xpZ0v3xf.js} +39 -29
- package/_chunks/{chart-frame-BC99KjGa.js → chart-frame-Cmc7xU1i.js} +16 -13
- package/_chunks/{choice-chips-Cs4D-3nH.js → choice-chips-CHQTUdLs.js} +10 -10
- package/_chunks/clock-BOhPNlW3.js +4 -0
- package/_chunks/{color-palette-BBMFmUNA.js → color-palette-D8vyPfld.js} +1 -1
- package/_chunks/{color-picker-D90Jg-M8.js → color-picker-CudqPYZo.js} +10 -10
- package/_chunks/{component-YDcfoOLz.js → component-C_T2VN5u.js} +182 -178
- package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BMOOmqx5.js} +0 -4
- package/_chunks/control-AHKXD5Eu.js +93 -0
- package/_chunks/{control-tooltip-ztgmsG7H.js → control-tooltip-uscKfAnV.js} +15 -15
- package/_chunks/{controls-DIum-E66.js → controls-DsNi8V8I.js} +144 -129
- package/_chunks/{date-control-BJSzu79z.js → date-control-DrVFX13g.js} +1 -1
- package/_chunks/{date-time-BxPJusp9.js → date-time-qIhp5vaX.js} +143 -145
- package/_chunks/{delete-button-Bblyah10.js → delete-button-CW9vjLnk.js} +6 -6
- package/_chunks/{dialog.parts-DBqo3Qwb.js → dialog.parts-CKGkC5zP.js} +20 -20
- package/_chunks/{duration-87U2EoMS.js → duration-CL68Em0o.js} +16 -15
- package/_chunks/{editor-popup-D3JdS8l3.js → editor-popup-WDdtVDNA.js} +5 -5
- package/_chunks/field-context-D57PnBbH.js +5 -0
- package/_chunks/{framework-mount-C-Zwm44H.js → framework-mount--RTLIqE-.js} +1 -1
- package/_chunks/history-controls-B3u3INEK.js +27 -0
- package/_chunks/mount-DQ1cpppK.js +257 -0
- package/_chunks/native-control-C_yok8_-.js +605 -0
- package/_chunks/{number-input-BeIadZuL.js → number-input-BKwA5FnM.js} +2 -2
- package/_chunks/{picker-DpP7iQLA.js → picker-h1P5RUgp.js} +2 -2
- package/_chunks/popup-CT2uD3go.js +367 -0
- package/_chunks/{rating-choice-Ca8ZBty3.js → rating-choice-DZgmaic0.js} +1 -1
- package/_chunks/render-m5eMMwFR.js +83 -0
- package/_chunks/{reorder-list-Cc3KmfAN.js → reorder-list-CSlqAGHw.js} +1 -1
- package/_chunks/request-trail-DSlFix6i.js +618 -0
- package/_chunks/rich-text-CH7gIqOS.js +636 -0
- package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
- package/_form.scss +1 -1
- package/ai/_chat.scss +195 -0
- package/ai/_style.scss +105 -34
- package/ai/chat.d.ts +63 -0
- package/ai/components.d.ts +19 -3
- package/ai/index.d.ts +2 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +30 -1
- package/ai/prompt-history.d.ts +13 -0
- package/ai/transcript.d.ts +25 -0
- package/ai/translations.d.ts +1 -1
- package/angular/angular.js +0 -3
- package/assignee/index.js +34 -35
- package/buttons/delete-button.d.ts +2 -1
- package/buttons/delete-button.js +1 -1
- package/buttons/remove-button.js +1 -1
- package/buttons/svg-button.d.ts +1 -0
- package/buttons/svg-button.js +5 -5
- package/calendar/_calendar.scss +7 -2
- package/calendar/calendar.js +1 -1
- package/calendar/index.js +2 -2
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-picker.js +2 -2
- package/component-catalog.d.ts +16 -5
- package/control-attributes.js +7 -7
- package/controls.d.ts +8 -6
- package/controls.js +3 -3
- package/core/editor-popup.js +1 -1
- package/date-time/index.js +1 -1
- package/date-time/style.scss +4 -4
- package/dialog/dialog.dom.js +8 -8
- package/dialog/dialog.parts.js +1 -1
- package/distribution-chart/area-chart.js +1 -1
- package/distribution-chart/bar-chart.d.ts +5 -2
- package/distribution-chart/bar-chart.js +7 -3
- package/distribution-chart/chart-frame.d.ts +2 -1
- package/distribution-chart/line-chart.js +1 -1
- package/dropdown/content.d.ts +2 -1
- package/dropdown/content.js +1 -142
- package/dropdown/control.d.ts +14 -0
- package/dropdown/control.js +1 -0
- package/dropdown/control.view.d.ts +6 -0
- package/dropdown/dropdown.types.d.ts +4 -0
- package/dropdown/editor-dropdown.style.scss +37 -9
- package/dropdown/index.d.ts +1 -1
- package/dropdown/index.js +3 -4
- package/dropdown/lookup-field.js +1 -1
- package/dropdown/popup.js +1 -141
- package/duration/index.js +1 -1
- package/duration/style.scss +1 -1
- package/editor-actions.js +1 -1
- package/field-configurator.js +6 -6
- package/fieldset.d.ts +3 -0
- package/filter/filters/slider/single.js +1 -1
- package/filter-badge.js +1 -1
- package/filter-controls.js +7 -7
- package/form-controls/field-context.d.ts +5 -0
- package/form-controls/index.js +7 -12
- package/form-controls/index.view.d.ts +2 -4
- package/form-controls/presentation.js +51 -43
- package/formatting/index.js +25 -21
- package/framework.js +215 -207
- package/history-controls.d.ts +14 -0
- package/history-controls.js +1 -0
- package/masked-input/index.js +1 -1
- package/native-control.d.ts +6 -4
- package/native-control.js +3 -26
- package/native-styles.css +1 -1
- package/native.js +31 -30
- package/number-input/index.js +1 -1
- package/package.json +53 -14
- package/pagination.d.ts +3 -0
- package/pagination.js +43 -33
- package/pdf-viewer/index.js +1 -1
- package/pdf-viewer/style.scss +3 -4
- package/preact.d.ts +2 -0
- package/preact.js +62 -62
- package/rating-choice.js +1 -1
- package/react-control.d.ts +0 -1
- package/react-control.js +2 -2
- package/react.d.ts +13 -3
- package/react.js +71 -88
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-popup.js +1 -1
- package/resource-picker/resource-picker.js +4 -4
- package/resource-picker/resource-picker.scss +6 -3
- package/rich-text/engine.d.ts +16 -19
- package/rich-text/index.d.ts +7 -7
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +4 -3
- package/rich-text/render-model.d.ts +4 -5
- package/rich-text/style.scss +3 -12
- package/rich-text/toolbar.d.ts +6 -6
- package/rich-text/translations.d.ts +3 -15
- package/select.d.ts +20 -0
- package/select.js +1 -0
- package/status-feedback/exit-snapshot.js +4 -4
- package/status-feedback/index.js +2 -2
- package/status-feedback/popover.js +10 -10
- package/status-feedback/render.js +3 -44
- package/status-feedback/status-feedback.scss +7 -0
- package/status-feedback/types.d.ts +4 -0
- package/status-feedback/use-auto-dismiss.d.ts +3 -0
- package/styles/_compositions.scss +3 -1
- package/styles/_control.scss +12 -4
- package/styles/_primitives.scss +9 -8
- package/styles.css +1 -1
- package/surfaces.js +45 -45
- package/svelte/UiComponent.server.js +1 -48
- package/svelte/UiComponent.svelte +0 -21
- package/svelte.js +33 -68
- package/time-grid.js +1 -1
- package/timeline-track/component.d.ts +5 -1
- package/timeline-track/index.js +71 -54
- package/timeline-track/model.d.ts +9 -0
- package/timeline-track/model.js +10 -1
- package/ui.css +1 -1
- package/vue.d.ts +24 -5
- package/vue.js +140 -164
- package/_chunks/compat.module-DDB2pm9O.js +0 -229
- package/_chunks/dropdown-voWqmwAe.js +0 -357
- package/_chunks/mount-DZe_6VtR.js +0 -90
- package/_chunks/request-trail-IdNiFvKH.js +0 -347
- package/_chunks/rich-text-BzI1DyfF.js +0 -477
- package/react-native-select.d.ts +0 -6
- package/rich-text/syntax.d.ts +0 -2
- package/vue-native-select.d.ts +0 -9
package/framework.js
CHANGED
|
@@ -1,230 +1,238 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { n as ee, t as te } from "./_chunks/rating-choice-DZgmaic0.js";
|
|
2
|
+
import { SvgIcon as e } from "./icons/icon.js";
|
|
3
|
+
import { l as t, n, p as r } from "./_chunks/native-control-C_yok8_-.js";
|
|
4
|
+
import { t as i } from "./_chunks/popup-CT2uD3go.js";
|
|
5
|
+
import { t as a } from "./_chunks/delete-button-CW9vjLnk.js";
|
|
6
|
+
import { RemoveButton as ne } from "./buttons/remove-button.js";
|
|
7
|
+
import { A as re, C as ie, D as ae, E as oe, F as se, I as o, L as s, M as c, N as l, O as u, P as d, R as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, w as I, x as L, y as R } from "./_chunks/controls-DsNi8V8I.js";
|
|
8
|
+
import { t as z } from "./_chunks/control-tooltip-uscKfAnV.js";
|
|
7
9
|
import { SvgButton as B } from "./buttons/svg-button.js";
|
|
8
10
|
import { SegmentedSwitch as V } from "./segmented-switch/index.js";
|
|
9
11
|
import { EditorList as H, EditorListGroup as U, EditorListItem as W, EditorListItemContent as G, EditorPane as K, EditorSplitLayout as q } from "./editor-layout/index.js";
|
|
10
|
-
import { a as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { n as
|
|
16
|
-
import { FilterBadge as
|
|
17
|
-
import { ActivityMessage as
|
|
18
|
-
import { Checkbox as
|
|
19
|
-
import { Switch as
|
|
20
|
-
import { SearchInput as
|
|
21
|
-
import { DisclosureSummary as
|
|
22
|
-
import { a as
|
|
23
|
-
import { n as
|
|
24
|
-
import { CalendarHeader as
|
|
25
|
-
import { t as
|
|
26
|
-
import { CalendarDay as
|
|
27
|
-
import { CalendarMonthGrid as
|
|
28
|
-
import { CalendarYearGrid as
|
|
29
|
-
import { t as
|
|
30
|
-
import { ResourcePickerAvatar as
|
|
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 {
|
|
50
|
-
import {
|
|
51
|
-
import { t as
|
|
52
|
-
import {
|
|
53
|
-
import { t as Gt } from "./_chunks/rich-text-BzI1DyfF.js";
|
|
54
|
-
import { AssigneeField as Kt, AssigneePicker as qt, AssigneePickerLayout as Jt } from "./assignee/index.js";
|
|
55
|
-
import { i as Yt, n as Xt, r as Zt, t as Qt } from "./_chunks/component-metadata-BENbgTjU.js";
|
|
56
|
-
import { n as $t, t as en } from "./_chunks/framework-mount-C-Zwm44H.js";
|
|
12
|
+
import { a as ce, c as le, i as ue, l as de, n as fe, o as pe, r as me, s as he, t as ge } from "./_chunks/dialog.parts-CKGkC5zP.js";
|
|
13
|
+
import { _ as _e, a as ve, c as ye, d as be, f as xe, g as Se, h as Ce, i as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, s as je, t as Me, u as Ne } from "./_chunks/request-trail-DSlFix6i.js";
|
|
14
|
+
import { n as J, t as Pe } from "./_chunks/render-m5eMMwFR.js";
|
|
15
|
+
import { t as Fe } from "./_chunks/color-palette-D8vyPfld.js";
|
|
16
|
+
import { t as Ie } from "./_chunks/color-picker-CudqPYZo.js";
|
|
17
|
+
import { n as Le, r as Re, t as ze } from "./_chunks/choice-chips-CHQTUdLs.js";
|
|
18
|
+
import { FilterBadge as Be, FilterBadgeInfoButton as Ve } from "./filter-badge.js";
|
|
19
|
+
import { ActivityMessage as He } from "./activity-message.js";
|
|
20
|
+
import { Checkbox as Y } from "./checkbox/index.js";
|
|
21
|
+
import { Switch as Ue } from "./switch/index.js";
|
|
22
|
+
import { SearchInput as We } from "./search-input/index.js";
|
|
23
|
+
import { DisclosureSummary as Ge, FilterChip as X, FormField as Ke } from "./form-controls/presentation.js";
|
|
24
|
+
import { a as qe, i as Je, r as Ye } from "./_chunks/date-time-qIhp5vaX.js";
|
|
25
|
+
import { n as Xe, t as Ze } from "./_chunks/duration-CL68Em0o.js";
|
|
26
|
+
import { CalendarHeader as Qe, CalendarWeekdays as $e } from "./calendar/header.js";
|
|
27
|
+
import { t as et } from "./_chunks/calendar-xpZ0v3xf.js";
|
|
28
|
+
import { CalendarDay as tt } from "./calendar/day.js";
|
|
29
|
+
import { CalendarMonthGrid as nt } from "./calendar/month-grid.js";
|
|
30
|
+
import { CalendarYearGrid as rt } from "./calendar/year-grid.js";
|
|
31
|
+
import { t as it } from "./_chunks/picker-h1P5RUgp.js";
|
|
32
|
+
import { ResourcePickerAvatar as at } from "./resource-picker/resource-picker-avatar.js";
|
|
33
|
+
import { SharedResourcePicker as Z } from "./resource-picker/resource-picker.js";
|
|
34
|
+
import { PreactRangeSlider as Q } from "./filter/filters/slider/preact.js";
|
|
35
|
+
import { SingleValueSlider as $, SliderField as ot } from "./filter/filters/slider/single.js";
|
|
36
|
+
import { a as st, c as ct, d as lt, f as ut, l as dt, m as ft, o as pt, p as mt, r as ht, s as gt, t as _t, u as vt } from "./_chunks/component-C_T2VN5u.js";
|
|
37
|
+
import { BarChart as yt } from "./distribution-chart/bar-chart.js";
|
|
38
|
+
import { LineChart as bt } from "./distribution-chart/line-chart.js";
|
|
39
|
+
import { AreaChart as xt } from "./distribution-chart/area-chart.js";
|
|
40
|
+
import { DistributionChart as St } from "./distribution-chart/index.js";
|
|
41
|
+
import { BrushRange as Ct } from "./brush-range/component.js";
|
|
42
|
+
import { Legend as wt } from "./legend.js";
|
|
43
|
+
import { HighlightedTextInput as Tt, InlineFieldGroup as Et, OptionButton as Dt } from "./filter-controls.js";
|
|
44
|
+
import { TimeGrid as Ot } from "./time-grid.js";
|
|
45
|
+
import { FieldActions as kt, FieldContent as At, FieldDropIndicator as jt, FieldGroup as Mt, FieldGroupHeading as Nt, FieldIcon as Pt, FieldItem as Ft, FieldLibrary as It, FieldLibraryList as Lt, FieldList as Rt, FieldRemoveButton as zt, FieldRemoveIcon as Bt, FieldRow as Vt, FieldStatusBadge as Ht, FieldSummary as Ut, SelectedField as Wt } from "./field-configurator.js";
|
|
46
|
+
import { ComparisonPreview as Gt, IconChoiceGroup as Kt, IconToggleButton as qt, InspectorSection as Jt, TypographyControls as Yt } from "./formatting/index.js";
|
|
47
|
+
import { n as Xt, t as Zt } from "./_chunks/reorder-list-CSlqAGHw.js";
|
|
48
|
+
import { TimelineTrack as Qt } from "./timeline-track/index.js";
|
|
49
|
+
import { t as $t } from "./_chunks/number-input-BKwA5FnM.js";
|
|
50
|
+
import { MaskedDraft as en } from "./masked-input/index.js";
|
|
51
|
+
import { t as tn } from "./_chunks/rich-text-CH7gIqOS.js";
|
|
52
|
+
import { AssigneeField as nn, AssigneePicker as rn, AssigneePickerLayout as an } from "./assignee/index.js";
|
|
53
|
+
import { i as on, n as sn, r as cn, t as ln } from "./_chunks/component-metadata-BMOOmqx5.js";
|
|
54
|
+
import { n as un, t as dn } from "./_chunks/framework-mount--RTLIqE-.js";
|
|
57
55
|
//#region src/component-catalog.ts
|
|
58
|
-
var
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
56
|
+
var fn = {
|
|
57
|
+
AiChat: De,
|
|
58
|
+
AiChatContent: we,
|
|
59
|
+
AiChatComposer: Ae,
|
|
60
|
+
AiChatEmptyState: ve,
|
|
61
|
+
AiMessage: Oe,
|
|
62
|
+
AiMessageContent: ye,
|
|
63
|
+
AiMessageActions: je,
|
|
64
|
+
AiReasoning: Te,
|
|
65
|
+
AiTask: Ne,
|
|
66
|
+
AiTaskItem: be,
|
|
67
|
+
AiPromptInput: Ce,
|
|
68
|
+
AiSuggestions: _e,
|
|
69
|
+
AiActionStatus: xe,
|
|
70
|
+
AiResult: Se,
|
|
71
|
+
AiChangePreview: Ee,
|
|
72
|
+
AiAssistant: ke,
|
|
73
|
+
AiRequestTrail: Me,
|
|
74
|
+
Icon: e,
|
|
75
|
+
RemovableChip: X,
|
|
76
|
+
Slider: $,
|
|
77
|
+
RangeSlider: Q,
|
|
78
|
+
ResourcePicker: Z,
|
|
79
|
+
FeedbackPanel: J,
|
|
80
|
+
Input: n,
|
|
81
|
+
SvgIcon: e,
|
|
73
82
|
SvgButton: B,
|
|
74
|
-
DeleteButton:
|
|
75
|
-
RemoveButton:
|
|
76
|
-
Checkbox:
|
|
77
|
-
Switch:
|
|
83
|
+
DeleteButton: a,
|
|
84
|
+
RemoveButton: ne,
|
|
85
|
+
Checkbox: Y,
|
|
86
|
+
Switch: Ue,
|
|
78
87
|
SegmentedSwitch: V,
|
|
79
|
-
ChoiceChips:
|
|
80
|
-
ChoiceChipInfoButton:
|
|
81
|
-
ChoiceChip:
|
|
82
|
-
SearchInput:
|
|
83
|
-
FilterChip:
|
|
84
|
-
FormField:
|
|
85
|
-
DisclosureSummary:
|
|
88
|
+
ChoiceChips: Re,
|
|
89
|
+
ChoiceChipInfoButton: Le,
|
|
90
|
+
ChoiceChip: ze,
|
|
91
|
+
SearchInput: We,
|
|
92
|
+
FilterChip: X,
|
|
93
|
+
FormField: Ke,
|
|
94
|
+
DisclosureSummary: Ge,
|
|
86
95
|
EditorSplitLayout: q,
|
|
87
96
|
EditorPane: K,
|
|
88
97
|
EditorList: H,
|
|
89
98
|
EditorListItem: W,
|
|
90
99
|
EditorListItemContent: G,
|
|
91
100
|
EditorListGroup: U,
|
|
92
|
-
Calendar:
|
|
93
|
-
CalendarHeader:
|
|
94
|
-
CalendarWeekdays:
|
|
95
|
-
CalendarDay:
|
|
96
|
-
CalendarMonthGrid:
|
|
97
|
-
CalendarYearGrid:
|
|
98
|
-
CalendarPicker:
|
|
99
|
-
SharedResourcePicker:
|
|
100
|
-
ResourcePickerAvatar:
|
|
101
|
-
ColorPalette:
|
|
102
|
-
ColorPicker:
|
|
103
|
-
Dropdown:
|
|
104
|
-
DropdownPopup:
|
|
105
|
-
DropdownPopupContent:
|
|
106
|
-
PreactRangeSlider:
|
|
107
|
-
SingleValueSlider:
|
|
108
|
-
SliderField:
|
|
109
|
-
IconButton:
|
|
110
|
-
ToggleButton:
|
|
111
|
-
ButtonGroup:
|
|
112
|
-
SegmentedControl:
|
|
113
|
-
Tabs:
|
|
114
|
-
TabPanel:
|
|
115
|
-
RadioGroup:
|
|
116
|
-
TextInput:
|
|
101
|
+
Calendar: et,
|
|
102
|
+
CalendarHeader: Qe,
|
|
103
|
+
CalendarWeekdays: $e,
|
|
104
|
+
CalendarDay: tt,
|
|
105
|
+
CalendarMonthGrid: nt,
|
|
106
|
+
CalendarYearGrid: rt,
|
|
107
|
+
CalendarPicker: it,
|
|
108
|
+
SharedResourcePicker: Z,
|
|
109
|
+
ResourcePickerAvatar: at,
|
|
110
|
+
ColorPalette: Fe,
|
|
111
|
+
ColorPicker: Ie,
|
|
112
|
+
Dropdown: t,
|
|
113
|
+
DropdownPopup: i,
|
|
114
|
+
DropdownPopupContent: r,
|
|
115
|
+
PreactRangeSlider: Q,
|
|
116
|
+
SingleValueSlider: $,
|
|
117
|
+
SliderField: ot,
|
|
118
|
+
IconButton: D,
|
|
119
|
+
ToggleButton: d,
|
|
120
|
+
ButtonGroup: j,
|
|
121
|
+
SegmentedControl: oe,
|
|
122
|
+
Tabs: re,
|
|
123
|
+
TabPanel: T,
|
|
124
|
+
RadioGroup: ie,
|
|
125
|
+
TextInput: w,
|
|
117
126
|
Textarea: c,
|
|
118
|
-
NumberInput:
|
|
119
|
-
NumberStepper:
|
|
120
|
-
DateInput:
|
|
121
|
-
TimeInput:
|
|
122
|
-
DateTimeInput:
|
|
123
|
-
Chip:
|
|
124
|
-
FieldHint:
|
|
125
|
-
FieldError:
|
|
126
|
-
FormSection:
|
|
127
|
-
Disclosure:
|
|
128
|
-
Panel:
|
|
129
|
-
Toolbar:
|
|
127
|
+
NumberInput: R,
|
|
128
|
+
NumberStepper: _,
|
|
129
|
+
DateInput: M,
|
|
130
|
+
TimeInput: l,
|
|
131
|
+
DateTimeInput: v,
|
|
132
|
+
Chip: C,
|
|
133
|
+
FieldHint: b,
|
|
134
|
+
FieldError: y,
|
|
135
|
+
FormSection: A,
|
|
136
|
+
Disclosure: E,
|
|
137
|
+
Panel: p,
|
|
138
|
+
Toolbar: se,
|
|
130
139
|
ToolbarGroup: o,
|
|
131
|
-
ToolbarSeparator:
|
|
132
|
-
Badge:
|
|
133
|
-
CountBadge:
|
|
134
|
-
Spinner:
|
|
135
|
-
LoadingOverlay:
|
|
136
|
-
EmptyState:
|
|
137
|
-
Menu:
|
|
138
|
-
MenuItem:
|
|
139
|
-
MenuSeparator:
|
|
140
|
-
Submenu:
|
|
141
|
-
ResizeHandle:
|
|
142
|
-
Pagination:
|
|
143
|
-
CircularProgress:
|
|
144
|
-
Rating:
|
|
145
|
-
Button:
|
|
140
|
+
ToolbarSeparator: s,
|
|
141
|
+
Badge: N,
|
|
142
|
+
CountBadge: k,
|
|
143
|
+
Spinner: ae,
|
|
144
|
+
LoadingOverlay: S,
|
|
145
|
+
EmptyState: P,
|
|
146
|
+
Menu: x,
|
|
147
|
+
MenuItem: h,
|
|
148
|
+
MenuSeparator: F,
|
|
149
|
+
Submenu: u,
|
|
150
|
+
ResizeHandle: m,
|
|
151
|
+
Pagination: L,
|
|
152
|
+
CircularProgress: g,
|
|
153
|
+
Rating: I,
|
|
154
|
+
Button: O,
|
|
146
155
|
Pane: K,
|
|
147
156
|
SplitLayout: q,
|
|
148
|
-
Alert:
|
|
157
|
+
Alert: f,
|
|
149
158
|
Listbox: H,
|
|
150
159
|
ListboxOption: W,
|
|
151
160
|
ListboxGroup: U,
|
|
152
161
|
ListboxOptionContent: G,
|
|
153
|
-
StatusFeedbackPanel:
|
|
154
|
-
StatusBadge:
|
|
155
|
-
Combobox:
|
|
156
|
-
MultiSelect:
|
|
157
|
-
Avatar:
|
|
158
|
-
ProgressBar:
|
|
159
|
-
Popover:
|
|
160
|
-
Tooltip:
|
|
161
|
-
Dialog:
|
|
162
|
-
ConfirmDialog:
|
|
163
|
-
DatePicker:
|
|
164
|
-
DateRangePicker:
|
|
165
|
-
DialogHeader:
|
|
166
|
-
DialogBody:
|
|
167
|
-
DialogFooter:
|
|
168
|
-
DistributionChart:
|
|
169
|
-
BarChart:
|
|
170
|
-
LineChart:
|
|
171
|
-
AreaChart:
|
|
172
|
-
BrushRange:
|
|
173
|
-
OptionButton:
|
|
174
|
-
HighlightedTextInput:
|
|
175
|
-
InlineFieldGroup:
|
|
176
|
-
Legend:
|
|
177
|
-
TimeGrid:
|
|
178
|
-
FieldIcon:
|
|
179
|
-
FieldSummary:
|
|
180
|
-
FieldLibrary:
|
|
181
|
-
FieldGroupHeading:
|
|
182
|
-
FieldGroup:
|
|
183
|
-
FieldList:
|
|
184
|
-
FieldRow:
|
|
185
|
-
FieldContent:
|
|
186
|
-
FieldItem:
|
|
187
|
-
FieldLibraryList:
|
|
188
|
-
SelectedField:
|
|
189
|
-
FieldActions:
|
|
190
|
-
FieldStatusBadge:
|
|
191
|
-
FieldRemoveButton:
|
|
192
|
-
FieldRemoveIcon:
|
|
193
|
-
FieldDropIndicator:
|
|
194
|
-
DialogForm:
|
|
195
|
-
DialogCloseButton:
|
|
196
|
-
DialogActionFooter:
|
|
197
|
-
DialogActions:
|
|
198
|
-
DialogTitleInput:
|
|
199
|
-
EditableDialogHeader:
|
|
162
|
+
StatusFeedbackPanel: J,
|
|
163
|
+
StatusBadge: Pe,
|
|
164
|
+
Combobox: pt,
|
|
165
|
+
MultiSelect: lt,
|
|
166
|
+
Avatar: st,
|
|
167
|
+
ProgressBar: mt,
|
|
168
|
+
Popover: ut,
|
|
169
|
+
Tooltip: ft,
|
|
170
|
+
Dialog: vt,
|
|
171
|
+
ConfirmDialog: gt,
|
|
172
|
+
DatePicker: ct,
|
|
173
|
+
DateRangePicker: dt,
|
|
174
|
+
DialogHeader: he,
|
|
175
|
+
DialogBody: me,
|
|
176
|
+
DialogFooter: ce,
|
|
177
|
+
DistributionChart: St,
|
|
178
|
+
BarChart: yt,
|
|
179
|
+
LineChart: bt,
|
|
180
|
+
AreaChart: xt,
|
|
181
|
+
BrushRange: Ct,
|
|
182
|
+
OptionButton: Dt,
|
|
183
|
+
HighlightedTextInput: Tt,
|
|
184
|
+
InlineFieldGroup: Et,
|
|
185
|
+
Legend: wt,
|
|
186
|
+
TimeGrid: Ot,
|
|
187
|
+
FieldIcon: Pt,
|
|
188
|
+
FieldSummary: Ut,
|
|
189
|
+
FieldLibrary: It,
|
|
190
|
+
FieldGroupHeading: Nt,
|
|
191
|
+
FieldGroup: Mt,
|
|
192
|
+
FieldList: Rt,
|
|
193
|
+
FieldRow: Vt,
|
|
194
|
+
FieldContent: At,
|
|
195
|
+
FieldItem: Ft,
|
|
196
|
+
FieldLibraryList: Lt,
|
|
197
|
+
SelectedField: Wt,
|
|
198
|
+
FieldActions: kt,
|
|
199
|
+
FieldStatusBadge: Ht,
|
|
200
|
+
FieldRemoveButton: zt,
|
|
201
|
+
FieldRemoveIcon: Bt,
|
|
202
|
+
FieldDropIndicator: jt,
|
|
203
|
+
DialogForm: pe,
|
|
204
|
+
DialogCloseButton: ue,
|
|
205
|
+
DialogActionFooter: ge,
|
|
206
|
+
DialogActions: fe,
|
|
207
|
+
DialogTitleInput: le,
|
|
208
|
+
EditableDialogHeader: de,
|
|
200
209
|
ControlTooltip: z,
|
|
201
|
-
InspectorSection:
|
|
202
|
-
IconChoiceGroup:
|
|
203
|
-
IconToggleButton:
|
|
204
|
-
TypographyControls:
|
|
205
|
-
ComparisonPreview:
|
|
206
|
-
FilterBadgeInfoButton:
|
|
207
|
-
FilterBadge:
|
|
208
|
-
RatingStar:
|
|
209
|
-
RatingChoice:
|
|
210
|
-
ReorderList:
|
|
211
|
-
ReorderHandle:
|
|
212
|
-
TimelineTrack:
|
|
213
|
-
ActivityMessage:
|
|
214
|
-
PdfViewer:
|
|
215
|
-
PdfViewerToolbar:
|
|
216
|
-
NumberDraft:
|
|
217
|
-
MaskedDraft:
|
|
218
|
-
DurationField:
|
|
219
|
-
DurationDraft:
|
|
220
|
-
|
|
221
|
-
TemporalPicker:
|
|
222
|
-
TemporalDraft:
|
|
223
|
-
DateTimeField:
|
|
224
|
-
AssigneePicker:
|
|
225
|
-
AssigneeField:
|
|
226
|
-
AssigneePickerLayout:
|
|
227
|
-
NativeSelect: L
|
|
210
|
+
InspectorSection: Jt,
|
|
211
|
+
IconChoiceGroup: Kt,
|
|
212
|
+
IconToggleButton: qt,
|
|
213
|
+
TypographyControls: Yt,
|
|
214
|
+
ComparisonPreview: Gt,
|
|
215
|
+
FilterBadgeInfoButton: Ve,
|
|
216
|
+
FilterBadge: Be,
|
|
217
|
+
RatingStar: ee,
|
|
218
|
+
RatingChoice: te,
|
|
219
|
+
ReorderList: Xt,
|
|
220
|
+
ReorderHandle: Zt,
|
|
221
|
+
TimelineTrack: Qt,
|
|
222
|
+
ActivityMessage: He,
|
|
223
|
+
PdfViewer: _t,
|
|
224
|
+
PdfViewerToolbar: ht,
|
|
225
|
+
NumberDraft: $t,
|
|
226
|
+
MaskedDraft: en,
|
|
227
|
+
DurationField: Xe,
|
|
228
|
+
DurationDraft: Ze,
|
|
229
|
+
HtmlEditor: tn,
|
|
230
|
+
TemporalPicker: qe,
|
|
231
|
+
TemporalDraft: Je,
|
|
232
|
+
DateTimeField: Ye,
|
|
233
|
+
AssigneePicker: rn,
|
|
234
|
+
AssigneeField: nn,
|
|
235
|
+
AssigneePickerLayout: an
|
|
228
236
|
};
|
|
229
237
|
//#endregion
|
|
230
|
-
export {
|
|
238
|
+
export { ln as componentModels, sn as componentRenderSlots, dn as createFrameworkMount, cn as dropdownRenderSlots, on as pdfViewerRenderSlots, fn as uiComponents, un as withFrameworkContent };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { h } from './_vendor/preact/src/index';
|
|
2
|
+
export interface HistoryControlsProps {
|
|
3
|
+
onUndo?(): void;
|
|
4
|
+
onRedo?(): void;
|
|
5
|
+
canUndo: boolean;
|
|
6
|
+
canRedo: boolean;
|
|
7
|
+
undoLabel?: string;
|
|
8
|
+
redoLabel?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
undoCount?: number;
|
|
11
|
+
redoCount?: number;
|
|
12
|
+
}
|
|
13
|
+
/** Shared history presentation; the consumer retains ownership of replay and state. */
|
|
14
|
+
export declare function HistoryControls({ onUndo, onRedo, canUndo, canRedo, undoLabel, redoLabel, label, undoCount, redoCount, }: HistoryControlsProps): h.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as HistoryControls } from "./_chunks/history-controls-B3u3INEK.js";
|
package/masked-input/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, t as n } from "../_chunks/hooks.module-CG3gN83z.js";
|
|
2
2
|
import { t as r } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as i } from "../_chunks/native-control-C_yok8_-.js";
|
|
4
4
|
import { EditorActions as a } from "../editor-actions.js";
|
|
5
5
|
//#region src/masked-input/model.ts
|
|
6
6
|
function o(e) {
|
package/native-control.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Select as SharedSelect } from './select';
|
|
1
2
|
import { h, JSX } from './_vendor/preact/src/index';
|
|
2
3
|
type NativeAttributes<K extends keyof JSX.IntrinsicElements> = Omit<JSX.IntrinsicElements[K], 'class' | 'className' | 'ref'> & {
|
|
3
4
|
class?: JSX.IntrinsicElements[K]['class'] | Record<string, boolean | undefined>;
|
|
@@ -7,18 +8,16 @@ type NativeAttributes<K extends keyof JSX.IntrinsicElements> = Omit<JSX.Intrinsi
|
|
|
7
8
|
export declare const Input: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"input">> & {
|
|
8
9
|
ref?: import('./_vendor/preact/src/index').Ref<HTMLInputElement> | undefined;
|
|
9
10
|
}>;
|
|
10
|
-
export declare const Select: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"select">> & {
|
|
11
|
-
ref?: import('./_vendor/preact/src/index').Ref<HTMLSelectElement> | undefined;
|
|
12
|
-
}>;
|
|
13
11
|
export declare const TextArea: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"textarea">> & {
|
|
14
12
|
ref?: import('./_vendor/preact/src/index').Ref<HTMLTextAreaElement> | undefined;
|
|
15
13
|
}>;
|
|
16
|
-
export declare const ButtonControl: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<h.JSX.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "
|
|
14
|
+
export declare const ButtonControl: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<h.JSX.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "ref" | "class"> & {
|
|
17
15
|
class?: h.JSX.Signalish<string | undefined> | Record<string, boolean | undefined>;
|
|
18
16
|
className?: h.JSX.Signalish<string | undefined>;
|
|
19
17
|
} & {
|
|
20
18
|
unstyled?: boolean;
|
|
21
19
|
busy?: boolean;
|
|
20
|
+
rounded?: boolean;
|
|
22
21
|
}> & {
|
|
23
22
|
ref?: import('./_vendor/preact/src/index').Ref<HTMLButtonElement> | undefined;
|
|
24
23
|
}>;
|
|
@@ -26,3 +25,6 @@ export declare const Summary: import('./_vendor/preact/src/index').FunctionalCom
|
|
|
26
25
|
ref?: import('./_vendor/preact/src/index').Ref<HTMLElement> | undefined;
|
|
27
26
|
}>;
|
|
28
27
|
export { nativeControlTag } from './control-presentation';
|
|
28
|
+
/** Selection uses the shared Dropdown rather than browser-native UI. */
|
|
29
|
+
export declare const Select: typeof SharedSelect;
|
|
30
|
+
export { Fieldset } from './fieldset';
|
package/native-control.js
CHANGED
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
//#region src/native-control.tsx
|
|
5
|
-
function a(t, n, ...r) {
|
|
6
|
-
let { onChange: a, ...o } = n, s = i(e, t, o, ...r);
|
|
7
|
-
return a && !(t === "button" && n.busy) && Object.assign(s.props, { onChange: a }), s;
|
|
8
|
-
}
|
|
9
|
-
var o = r(t((e, t) => a("input", {
|
|
10
|
-
...e,
|
|
11
|
-
ref: t
|
|
12
|
-
})), "input"), s = r(t(({ children: e, ...t }, n) => a("select", {
|
|
13
|
-
...t,
|
|
14
|
-
ref: n
|
|
15
|
-
}, e)), "select"), c = r(t(({ children: e, ...t }, n) => a("textarea", {
|
|
16
|
-
...t,
|
|
17
|
-
ref: n
|
|
18
|
-
}, e)), "textarea"), l = r(t(({ children: e, ...t }, n) => a("button", {
|
|
19
|
-
...t,
|
|
20
|
-
ref: n
|
|
21
|
-
}, e)), "button"), u = r(t(({ children: e, ...t }, n) => a("summary", {
|
|
22
|
-
...t,
|
|
23
|
-
ref: n
|
|
24
|
-
}, e)), "summary");
|
|
25
|
-
//#endregion
|
|
26
|
-
export { l as ButtonControl, o as Input, s as Select, u as Summary, c as TextArea, n as nativeControlTag };
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./_chunks/native-control-C_yok8_-.js";
|
|
2
|
+
import { nativeControlTag as o } from "./control-presentation.js";
|
|
3
|
+
export { a as ButtonControl, r as Fieldset, n as Input, i as Select, t as Summary, e as TextArea, o as nativeControlTag };
|