@revolist/ui 4.0.1-rc → 4.0.2-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/README.md +6 -5
- package/_chunks/calendar-CpaUK7w1.js +248 -0
- package/_chunks/chart-frame-BC99KjGa.js +127 -0
- package/_chunks/choice-chips-Cs4D-3nH.js +110 -0
- package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-BBMFmUNA.js} +41 -41
- package/_chunks/color-picker-D90Jg-M8.js +138 -0
- package/_chunks/compat.module-DDB2pm9O.js +229 -0
- package/_chunks/component-YDcfoOLz.js +859 -0
- package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-ztgmsG7H.js} +29 -29
- package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
- package/_chunks/{controls-NEL5tDaz.js → controls-DIum-E66.js} +192 -192
- package/_chunks/{date-control-CYCkb1aQ.js → date-control-BJSzu79z.js} +21 -21
- package/_chunks/date-time-BxPJusp9.js +770 -0
- package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-Bblyah10.js} +1 -1
- package/_chunks/dialog.parts-DBqo3Qwb.js +134 -0
- package/_chunks/{dropdown-CkGQBm1Q.js → dropdown-voWqmwAe.js} +102 -102
- package/_chunks/duration-87U2EoMS.js +271 -0
- package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
- package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-D3JdS8l3.js} +8 -8
- package/_chunks/framework-mount-C-Zwm44H.js +54 -0
- package/_chunks/hooks.module-CG3gN83z.js +157 -0
- package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
- package/_chunks/mount-DZe_6VtR.js +90 -0
- package/_chunks/native.view-ByyZ1CT5.js +32 -0
- package/_chunks/{number-input-NnH57J4j.js → number-input-BeIadZuL.js} +89 -89
- package/_chunks/picker-DpP7iQLA.js +122 -0
- package/_chunks/preact.module-BBM36DnO.js +290 -0
- package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-Ca8ZBty3.js} +10 -10
- package/_chunks/reorder-list-Cc3KmfAN.js +59 -0
- package/_chunks/request-trail-IdNiFvKH.js +347 -0
- package/_chunks/{rich-text-2Rla349o.js → rich-text-BzI1DyfF.js} +167 -167
- package/_vendor/preact/LICENSE +21 -0
- package/_vendor/preact/compat/src/index.d.ts +353 -0
- package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
- package/_vendor/preact/compat/src/suspense.d.ts +19 -0
- package/_vendor/preact/hooks/src/index.d.ts +145 -0
- package/_vendor/preact/src/dom.d.ts +2548 -0
- package/_vendor/preact/src/index.d.ts +373 -0
- package/_vendor/preact/src/jsx.d.ts +2958 -0
- package/activity-message.d.ts +1 -1
- package/activity-message.js +16 -16
- package/ai/components.d.ts +1 -1
- package/ai/index.js +2 -2
- package/ai/request-trail.d.ts +1 -1
- package/ai/translation-context.d.ts +1 -1
- package/alert.d.ts +2 -2
- package/assignee/field.d.ts +2 -2
- package/assignee/index.js +87 -87
- package/assignee/layout.d.ts +2 -2
- package/assignee/picker.d.ts +1 -1
- package/avatar/index.js +25 -25
- package/avatar/index.view.d.ts +1 -1
- package/brush-range/component.d.ts +1 -1
- package/brush-range/component.js +30 -30
- package/buttons/delete-button.js +1 -1
- package/buttons/remove-button.d.ts +1 -1
- package/buttons/remove-button.js +3 -3
- package/buttons/svg-button.d.ts +1 -1
- package/buttons/svg-button.js +35 -35
- package/calendar/calendar.d.ts +1 -1
- package/calendar/calendar.js +1 -1
- package/calendar/caption.d.ts +1 -1
- package/calendar/day.d.ts +1 -1
- package/calendar/day.js +4 -4
- package/calendar/header.d.ts +1 -1
- package/calendar/header.js +35 -35
- package/calendar/index.js +2 -2
- package/calendar/month-grid.d.ts +1 -1
- package/calendar/month-grid.js +37 -37
- package/calendar/picker.d.ts +1 -1
- package/calendar/types.d.ts +1 -1
- package/calendar/year-grid.d.ts +1 -1
- package/calendar/year-grid.js +12 -12
- package/checkbox/index.d.ts +2 -2
- package/checkbox/index.js +9 -9
- package/choice-chips/index.d.ts +1 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.d.ts +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-picker.d.ts +1 -1
- package/color-palette/color-picker.js +2 -2
- package/component-catalog.d.ts +19 -19
- package/control-presentation.js +18 -18
- package/controls.d.ts +4 -4
- package/controls.js +1 -1
- package/core/editor-commit.d.ts +1 -1
- package/core/editor-popup.d.ts +1 -1
- package/core/editor-popup.js +1 -1
- package/date-time/date-control.d.ts +1 -1
- package/date-time/field.d.ts +2 -2
- package/date-time/index.js +1 -1
- package/date-time/picker.d.ts +1 -1
- package/date-time/time-control.d.ts +1 -1
- package/date-time/time-selection.d.ts +1 -1
- package/date-time/types.d.ts +1 -1
- package/dialog/dialog-action-footer.view.d.ts +1 -1
- package/dialog/dialog.dom.js +52 -52
- package/dialog/dialog.parts.d.ts +18 -18
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.d.ts +1 -1
- package/dialog/dialog.preact.js +6 -6
- package/distribution-chart/area-chart.d.ts +1 -1
- package/distribution-chart/area-chart.js +25 -25
- package/distribution-chart/bar-chart.d.ts +1 -1
- package/distribution-chart/bar-chart.js +6 -6
- package/distribution-chart/chart-frame.d.ts +1 -1
- package/distribution-chart/index.d.ts +1 -1
- package/distribution-chart/index.js +6 -6
- package/distribution-chart/line-chart.d.ts +1 -1
- package/distribution-chart/line-chart.js +9 -9
- package/distribution-chart/types.d.ts +1 -1
- package/dropdown/content.d.ts +1 -1
- package/dropdown/content.js +83 -82
- package/dropdown/dropdown.service.d.ts +1 -1
- package/dropdown/dropdown.service.js +9 -9
- package/dropdown/index.js +1 -1
- package/dropdown/lookup-field.d.ts +1 -1
- package/dropdown/lookup-field.js +41 -41
- package/dropdown/popup.d.ts +1 -1
- package/dropdown/popup.js +17 -16
- package/duration/controls.d.ts +1 -1
- package/duration/index.d.ts +2 -2
- package/duration/index.js +1 -1
- package/editor-actions.d.ts +1 -1
- package/editor-actions.js +21 -20
- package/editor-layout/index.d.ts +1 -1
- package/editor-layout/index.js +27 -27
- package/field-configurator.d.ts +1 -1
- package/field-configurator.js +93 -93
- package/field-reorder.hook.js +32 -32
- package/filter/filters/slider/preact.js +3 -3
- package/filter/filters/slider/single.d.ts +1 -1
- package/filter/filters/slider/single.js +23 -23
- package/filter-badge.d.ts +1 -1
- package/filter-badge.js +23 -22
- package/filter-controls.d.ts +1 -1
- package/filter-controls.js +31 -31
- package/form-controls/index.js +20 -20
- package/form-controls/presentation.d.ts +1 -1
- package/form-controls/presentation.js +44 -44
- package/formatting/comparison-preview.d.ts +1 -1
- package/formatting/control-tooltip.d.ts +1 -1
- package/formatting/icon-controls.d.ts +1 -1
- package/formatting/index.js +99 -98
- package/formatting/inspector-section.d.ts +1 -1
- package/formatting/typography-controls.d.ts +1 -1
- package/framework-mount.d.ts +1 -1
- package/framework.js +19 -19
- package/icons/icon.d.ts +1 -1
- package/icons/icon.js +1 -1
- package/legend.d.ts +1 -1
- package/legend.js +12 -12
- package/masked-input/index.d.ts +1 -1
- package/masked-input/index.js +109 -109
- package/native-control.d.ts +11 -11
- package/native-control.js +12 -12
- package/native.js +39 -39
- package/number-input/index.d.ts +1 -1
- package/number-input/index.js +1 -1
- package/package.json +1 -2
- package/pdf-viewer/component.d.ts +1 -1
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/header.d.ts +1 -1
- package/pdf-viewer/index.js +13 -13
- package/pdf-viewer/search-bar.d.ts +1 -1
- package/pdf-viewer/status.d.ts +1 -1
- package/pdf-viewer/toolbar.d.ts +1 -1
- package/pickers.d.ts +1 -1
- package/preact-mount.d.ts +1 -1
- package/preact-mount.js +1 -1
- package/preact.js +14 -14
- package/rating-choice.d.ts +1 -1
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +1 -1
- package/react.js +19 -19
- package/reorder-list.d.ts +1 -1
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-avatar.d.ts +1 -1
- package/resource-picker/resource-picker-avatar.js +14 -14
- package/resource-picker/resource-picker-option.d.ts +1 -1
- package/resource-picker/resource-picker-option.js +28 -28
- package/resource-picker/resource-picker-popup.d.ts +1 -1
- package/resource-picker/resource-picker-popup.js +3 -3
- package/resource-picker/resource-picker.d.ts +1 -1
- package/resource-picker/resource-picker.js +88 -88
- package/rich-text/index.d.ts +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/toolbar.d.ts +1 -1
- package/search-input/index.js +12 -12
- package/segmented-switch/index.d.ts +1 -1
- package/segmented-switch/index.js +1 -1
- package/status-feedback/render.d.ts +2 -2
- package/status-feedback/render.js +13 -13
- package/surfaces.js +34 -34
- package/svelte.js +2 -2
- package/switch/index.js +15 -15
- package/time-grid.d.ts +1 -1
- package/time-grid.js +58 -58
- package/timeline-track/component.d.ts +1 -1
- package/timeline-track/index.js +75 -75
- package/vue-adapter.d.ts +1 -1
- package/vue.d.ts +116 -116
- package/vue.js +121 -121
- package/_chunks/calendar-BsDxCYhI.js +0 -248
- package/_chunks/chart-frame-BvxbmEU9.js +0 -126
- package/_chunks/choice-chips-0HfOnK_4.js +0 -110
- package/_chunks/color-picker-BRv-__AM.js +0 -138
- package/_chunks/component-D4PH5UZT.js +0 -859
- package/_chunks/date-time-DjucJmbc.js +0 -769
- package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
- package/_chunks/duration-BCaktcvz.js +0 -270
- package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
- package/_chunks/framework-mount-BKIOsvY-.js +0 -54
- package/_chunks/mount-0-8opf1j.js +0 -90
- package/_chunks/native.view-8q_nwQ7x.js +0 -32
- package/_chunks/picker-oazJ7sO_.js +0 -121
- package/_chunks/reorder-list-BV3kZXso.js +0 -59
- package/_chunks/request-trail-D0oVzdRd.js +0 -347
package/formatting/index.js
CHANGED
|
@@ -1,83 +1,84 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { i as e } from "../_chunks/preact.module-BBM36DnO.js";
|
|
2
|
+
import { i as t } from "../_chunks/hooks.module-CG3gN83z.js";
|
|
3
|
+
import { t as n } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
4
|
+
import { SvgIcon as r } from "../icons/icon.js";
|
|
5
|
+
import { ButtonControl as i, Input as a, Select as o, Summary as s } from "../native-control.js";
|
|
6
|
+
import { t as c } from "../_chunks/chevron-down-GbplLa6s.js";
|
|
7
|
+
import { n as l, t as u } from "../_chunks/control-tooltip-ztgmsG7H.js";
|
|
7
8
|
//#region src/formatting/inspector-section.tsx
|
|
8
|
-
function
|
|
9
|
-
let [
|
|
10
|
-
return /* @__PURE__ */
|
|
9
|
+
function d({ title: e, icon: i, expandLabel: a, collapseLabel: o, open: u = !1, children: d }) {
|
|
10
|
+
let [f, p] = t(u), m = f ? o : a, h = l(m);
|
|
11
|
+
return /* @__PURE__ */ n("details", {
|
|
11
12
|
class: "rv-format-inspector-section",
|
|
12
|
-
open:
|
|
13
|
-
onToggle: (e) =>
|
|
14
|
-
children: [/* @__PURE__ */
|
|
13
|
+
open: f,
|
|
14
|
+
onToggle: (e) => p(e.currentTarget.open),
|
|
15
|
+
children: [/* @__PURE__ */ n(s, {
|
|
15
16
|
class: "rv-format-inspector-section__summary",
|
|
16
|
-
"aria-label":
|
|
17
|
-
"aria-expanded":
|
|
18
|
-
...
|
|
17
|
+
"aria-label": m,
|
|
18
|
+
"aria-expanded": f,
|
|
19
|
+
...h.triggerProps,
|
|
19
20
|
children: [
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ n("span", {
|
|
21
22
|
class: "rv-format-inspector-section__title",
|
|
22
|
-
children: [/* @__PURE__ */
|
|
23
|
-
svg:
|
|
23
|
+
children: [/* @__PURE__ */ n(r, {
|
|
24
|
+
svg: i,
|
|
24
25
|
className: "rv-format-icon"
|
|
25
|
-
}),
|
|
26
|
+
}), e]
|
|
26
27
|
}),
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
svg:
|
|
28
|
+
/* @__PURE__ */ n(r, {
|
|
29
|
+
svg: c,
|
|
29
30
|
className: "rv-format-icon rv-format-inspector-section__chevron"
|
|
30
31
|
}),
|
|
31
|
-
|
|
32
|
+
h.tooltip
|
|
32
33
|
]
|
|
33
|
-
}), /* @__PURE__ */
|
|
34
|
+
}), /* @__PURE__ */ n("div", {
|
|
34
35
|
class: "rv-format-inspector-section__content",
|
|
35
|
-
children:
|
|
36
|
+
children: d
|
|
36
37
|
})]
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
40
|
//#endregion
|
|
40
41
|
//#region src/formatting/icon-controls.tsx
|
|
41
|
-
var
|
|
42
|
-
svg:
|
|
42
|
+
var f = ({ icon: e }) => /* @__PURE__ */ n(r, {
|
|
43
|
+
svg: e,
|
|
43
44
|
className: "rv-format-icon"
|
|
44
45
|
});
|
|
45
|
-
function
|
|
46
|
-
return /* @__PURE__ */
|
|
46
|
+
function p({ value: e, options: t, ariaLabel: r, onChange: i }) {
|
|
47
|
+
return /* @__PURE__ */ n("div", {
|
|
47
48
|
class: "rv-format-segmented",
|
|
48
49
|
role: "group",
|
|
49
|
-
"aria-label":
|
|
50
|
-
children: t.map((t) => /* @__PURE__ */
|
|
50
|
+
"aria-label": r,
|
|
51
|
+
children: t.map((t) => /* @__PURE__ */ n(h, {
|
|
51
52
|
selected: t.value === e,
|
|
52
53
|
label: t.label,
|
|
53
54
|
icon: t.icon,
|
|
54
|
-
onClick: () =>
|
|
55
|
+
onClick: () => i(t.value)
|
|
55
56
|
}, t.value))
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
function m({ value: e, label: t, icon: r, onChange: i }) {
|
|
60
|
+
return /* @__PURE__ */ n(h, {
|
|
60
61
|
selected: e,
|
|
61
62
|
label: t,
|
|
62
|
-
icon:
|
|
63
|
-
onClick: () =>
|
|
63
|
+
icon: r,
|
|
64
|
+
onClick: () => i(!e)
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
let
|
|
68
|
-
return /* @__PURE__ */
|
|
67
|
+
function h({ selected: e, label: t, icon: r, onClick: a }) {
|
|
68
|
+
let o = l(t);
|
|
69
|
+
return /* @__PURE__ */ n(i, {
|
|
69
70
|
type: "button",
|
|
70
71
|
class: `rv-format-segmented__button${e ? " rv-format-segmented__button--selected" : ""}`,
|
|
71
|
-
"aria-label":
|
|
72
|
+
"aria-label": t,
|
|
72
73
|
"aria-pressed": e,
|
|
73
|
-
onClick:
|
|
74
|
-
...
|
|
75
|
-
children: [/* @__PURE__ */
|
|
74
|
+
onClick: a,
|
|
75
|
+
...o.triggerProps,
|
|
76
|
+
children: [/* @__PURE__ */ n(f, { icon: r }), o.tooltip]
|
|
76
77
|
});
|
|
77
78
|
}
|
|
78
79
|
//#endregion
|
|
79
80
|
//#region src/formatting/typography-controls.tsx
|
|
80
|
-
var
|
|
81
|
+
var g = [
|
|
81
82
|
"Inter",
|
|
82
83
|
"Arial",
|
|
83
84
|
"Helvetica",
|
|
@@ -85,128 +86,128 @@ var _ = [
|
|
|
85
86
|
"Times New Roman",
|
|
86
87
|
"Courier New"
|
|
87
88
|
];
|
|
88
|
-
function
|
|
89
|
-
return /* @__PURE__ */
|
|
89
|
+
function _({ value: t, fonts: r = g, labels: i, icons: s, onChange: c }) {
|
|
90
|
+
return /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ n("div", {
|
|
90
91
|
class: "rv-form-grid",
|
|
91
|
-
children: [/* @__PURE__ */
|
|
92
|
+
children: [/* @__PURE__ */ n("label", {
|
|
92
93
|
class: "rv-field",
|
|
93
|
-
children: [/* @__PURE__ */
|
|
94
|
+
children: [/* @__PURE__ */ n("span", {
|
|
94
95
|
class: "rv-field__label",
|
|
95
96
|
children: i.fontFamily
|
|
96
|
-
}), /* @__PURE__ */
|
|
97
|
+
}), /* @__PURE__ */ n(o, {
|
|
97
98
|
class: "rv-control",
|
|
98
|
-
value:
|
|
99
|
-
onChange: (e) =>
|
|
100
|
-
children: [/* @__PURE__ */
|
|
99
|
+
value: t.fontFamily ?? "",
|
|
100
|
+
onChange: (e) => c({ fontFamily: e.currentTarget.value || void 0 }),
|
|
101
|
+
children: [/* @__PURE__ */ n("option", {
|
|
101
102
|
value: "",
|
|
102
103
|
children: i.defaultFont
|
|
103
|
-
}),
|
|
104
|
+
}), r.map((e) => /* @__PURE__ */ n("option", {
|
|
104
105
|
value: e,
|
|
105
106
|
children: e
|
|
106
107
|
}, e))]
|
|
107
108
|
})]
|
|
108
|
-
}), /* @__PURE__ */
|
|
109
|
+
}), /* @__PURE__ */ n("label", {
|
|
109
110
|
class: "rv-field",
|
|
110
|
-
children: [/* @__PURE__ */
|
|
111
|
+
children: [/* @__PURE__ */ n("span", {
|
|
111
112
|
class: "rv-field__label",
|
|
112
113
|
children: i.fontSize
|
|
113
|
-
}), /* @__PURE__ */
|
|
114
|
+
}), /* @__PURE__ */ n(a, {
|
|
114
115
|
type: "number",
|
|
115
116
|
class: "rv-control",
|
|
116
117
|
min: 8,
|
|
117
118
|
max: 72,
|
|
118
|
-
value:
|
|
119
|
-
onInput: (e) =>
|
|
119
|
+
value: t.fontSize ?? "",
|
|
120
|
+
onInput: (e) => c({ fontSize: Number.isFinite(e.currentTarget.valueAsNumber) ? e.currentTarget.valueAsNumber : void 0 })
|
|
120
121
|
})]
|
|
121
122
|
})]
|
|
122
|
-
}), /* @__PURE__ */
|
|
123
|
+
}), /* @__PURE__ */ n("div", {
|
|
123
124
|
class: "rv-format-segmented rv-format-typography-toolbar",
|
|
124
125
|
role: "group",
|
|
125
126
|
"aria-label": i.typographySection,
|
|
126
127
|
children: [
|
|
127
|
-
/* @__PURE__ */
|
|
128
|
-
value:
|
|
128
|
+
/* @__PURE__ */ n(m, {
|
|
129
|
+
value: t.bold ?? !1,
|
|
129
130
|
label: i.bold,
|
|
130
|
-
icon:
|
|
131
|
-
onChange: (e) =>
|
|
131
|
+
icon: s.bold,
|
|
132
|
+
onChange: (e) => c({ bold: e })
|
|
132
133
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
value:
|
|
134
|
+
/* @__PURE__ */ n(m, {
|
|
135
|
+
value: t.italic ?? !1,
|
|
135
136
|
label: i.italic,
|
|
136
|
-
icon:
|
|
137
|
-
onChange: (e) =>
|
|
137
|
+
icon: s.italic,
|
|
138
|
+
onChange: (e) => c({ italic: e })
|
|
138
139
|
}),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
value:
|
|
140
|
+
/* @__PURE__ */ n(m, {
|
|
141
|
+
value: t.underline ?? !1,
|
|
141
142
|
label: i.underline,
|
|
142
|
-
icon:
|
|
143
|
-
onChange: (e) =>
|
|
143
|
+
icon: s.underline,
|
|
144
|
+
onChange: (e) => c({ underline: e })
|
|
144
145
|
}),
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
value:
|
|
146
|
+
/* @__PURE__ */ n(m, {
|
|
147
|
+
value: t.strike ?? !1,
|
|
147
148
|
label: i.strike,
|
|
148
|
-
icon:
|
|
149
|
-
onChange: (e) =>
|
|
149
|
+
icon: s.strike,
|
|
150
|
+
onChange: (e) => c({ strike: e })
|
|
150
151
|
})
|
|
151
152
|
]
|
|
152
153
|
})] });
|
|
153
154
|
}
|
|
154
155
|
//#endregion
|
|
155
156
|
//#region src/formatting/comparison-preview.tsx
|
|
156
|
-
function
|
|
157
|
-
return /* @__PURE__ */
|
|
158
|
-
class: `rv-format-preview${
|
|
157
|
+
function v({ originalValue: e, formatted: t, formattedStyle: r, visual: i = !1, formattedClassName: a = "", labels: o }) {
|
|
158
|
+
return /* @__PURE__ */ n("section", {
|
|
159
|
+
class: `rv-format-preview${i ? " rv-format-preview--visual" : ""}`,
|
|
159
160
|
children: [
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ n("h3", {
|
|
161
162
|
class: "rv-format-pane-title",
|
|
162
|
-
children:
|
|
163
|
+
children: o.title
|
|
163
164
|
}),
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
+
/* @__PURE__ */ n("div", {
|
|
165
166
|
class: "rv-format-preview__grid",
|
|
166
167
|
role: "table",
|
|
167
|
-
"aria-label":
|
|
168
|
-
children: [/* @__PURE__ */
|
|
168
|
+
"aria-label": o.title,
|
|
169
|
+
children: [/* @__PURE__ */ n("div", {
|
|
169
170
|
class: "rv-format-preview__row",
|
|
170
171
|
role: "row",
|
|
171
172
|
children: [
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ n("span", {
|
|
173
174
|
class: "rv-format-preview__corner",
|
|
174
175
|
role: "cell"
|
|
175
176
|
}),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ n("span", {
|
|
177
178
|
class: "rv-format-preview__columnheader",
|
|
178
179
|
role: "columnheader",
|
|
179
|
-
children:
|
|
180
|
+
children: o.original
|
|
180
181
|
}),
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ n("span", {
|
|
182
183
|
class: "rv-format-preview__columnheader",
|
|
183
184
|
role: "columnheader",
|
|
184
|
-
children:
|
|
185
|
+
children: o.formatted
|
|
185
186
|
})
|
|
186
187
|
]
|
|
187
|
-
}), /* @__PURE__ */
|
|
188
|
+
}), /* @__PURE__ */ n("div", {
|
|
188
189
|
class: "rv-format-preview__row",
|
|
189
190
|
role: "row",
|
|
190
191
|
children: [
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ n("span", {
|
|
192
193
|
class: "rv-format-preview__rowheader",
|
|
193
194
|
role: "rowheader",
|
|
194
195
|
children: "1"
|
|
195
196
|
}),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ n("span", {
|
|
197
198
|
class: "rv-format-preview__gridcell",
|
|
198
199
|
role: "cell",
|
|
199
200
|
title: e,
|
|
200
|
-
children: /* @__PURE__ */
|
|
201
|
+
children: /* @__PURE__ */ n("span", {
|
|
201
202
|
class: "rv-format-preview__original-value",
|
|
202
203
|
children: e
|
|
203
204
|
})
|
|
204
205
|
}),
|
|
205
|
-
/* @__PURE__ */
|
|
206
|
-
class: `rv-format-preview__gridcell rv-format-preview__formatted ${
|
|
206
|
+
/* @__PURE__ */ n("span", {
|
|
207
|
+
class: `rv-format-preview__gridcell rv-format-preview__formatted ${a}`,
|
|
207
208
|
role: "cell",
|
|
208
|
-
style:
|
|
209
|
-
children: /* @__PURE__ */
|
|
209
|
+
style: r,
|
|
210
|
+
children: /* @__PURE__ */ n("span", {
|
|
210
211
|
role: "status",
|
|
211
212
|
"aria-live": "polite",
|
|
212
213
|
children: t
|
|
@@ -215,12 +216,12 @@ function y({ originalValue: e, formatted: t, formattedStyle: n, visual: r = !1,
|
|
|
215
216
|
]
|
|
216
217
|
})]
|
|
217
218
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ n("p", {
|
|
219
220
|
class: "rv-format-preview__hint",
|
|
220
|
-
children:
|
|
221
|
+
children: o.hint
|
|
221
222
|
})
|
|
222
223
|
]
|
|
223
224
|
});
|
|
224
225
|
}
|
|
225
226
|
//#endregion
|
|
226
|
-
export {
|
|
227
|
+
export { v as ComparisonPreview, u as ControlTooltip, p as IconChoiceGroup, m as IconToggleButton, d as InspectorSection, _ as TypographyControls, l as useControlTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, ComponentChildren } from 'preact';
|
|
1
|
+
import { h, ComponentChildren } from '../_vendor/preact/src/index';
|
|
2
2
|
export declare function InspectorSection({ title, icon, expandLabel, collapseLabel, open, children, }: {
|
|
3
3
|
readonly title: string;
|
|
4
4
|
readonly icon: string;
|
package/framework-mount.d.ts
CHANGED
package/framework.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { a as ee, i as te, n as ne, o as e, r as t, t as n } from "./_chunks/request-trail-
|
|
2
|
-
import { n as re, t as ie } from "./_chunks/rating-choice-
|
|
1
|
+
import { a as ee, i as te, n as ne, o as e, r as t, t as n } from "./_chunks/request-trail-IdNiFvKH.js";
|
|
2
|
+
import { n as re, t as ie } from "./_chunks/rating-choice-Ca8ZBty3.js";
|
|
3
3
|
import { SvgIcon as r } from "./icons/icon.js";
|
|
4
4
|
import { Input as ae } from "./native-control.js";
|
|
5
|
-
import { A as oe, C as se, D as ce, E as le, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-
|
|
6
|
-
import { t as z } from "./_chunks/control-tooltip-
|
|
5
|
+
import { A as oe, C as se, D as ce, E as le, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-DIum-E66.js";
|
|
6
|
+
import { t as z } from "./_chunks/control-tooltip-ztgmsG7H.js";
|
|
7
7
|
import { SvgButton as B } from "./buttons/svg-button.js";
|
|
8
8
|
import { SegmentedSwitch as V } from "./segmented-switch/index.js";
|
|
9
9
|
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 ue, c as de, i as fe, l as pe, n as me, o as he, r as ge, s as _e, t as ve } from "./_chunks/dialog.parts-
|
|
11
|
-
import { t as ye } from "./_chunks/delete-button-
|
|
10
|
+
import { a as ue, c as de, i as fe, l as pe, n as me, o as he, r as ge, s as _e, t as ve } from "./_chunks/dialog.parts-DBqo3Qwb.js";
|
|
11
|
+
import { t as ye } from "./_chunks/delete-button-Bblyah10.js";
|
|
12
12
|
import { RemoveButton as be } from "./buttons/remove-button.js";
|
|
13
|
-
import { t as xe } from "./_chunks/color-palette-
|
|
14
|
-
import { t as Se } from "./_chunks/color-picker-
|
|
15
|
-
import { n as Ce, r as we, t as Te } from "./_chunks/choice-chips-
|
|
13
|
+
import { t as xe } from "./_chunks/color-palette-BBMFmUNA.js";
|
|
14
|
+
import { t as Se } from "./_chunks/color-picker-D90Jg-M8.js";
|
|
15
|
+
import { n as Ce, r as we, t as Te } from "./_chunks/choice-chips-Cs4D-3nH.js";
|
|
16
16
|
import { FilterBadge as Ee, FilterBadgeInfoButton as De } from "./filter-badge.js";
|
|
17
17
|
import { ActivityMessage as Oe } from "./activity-message.js";
|
|
18
18
|
import { Checkbox as ke } from "./checkbox/index.js";
|
|
19
19
|
import { Switch as Ae } from "./switch/index.js";
|
|
20
20
|
import { SearchInput as je } from "./search-input/index.js";
|
|
21
21
|
import { DisclosureSummary as Me, FilterChip as J, FormField as Ne } from "./form-controls/presentation.js";
|
|
22
|
-
import { a as Pe, i as Fe, r as Ie } from "./_chunks/date-time-
|
|
23
|
-
import { n as Le, t as Re } from "./_chunks/duration-
|
|
22
|
+
import { a as Pe, i as Fe, r as Ie } from "./_chunks/date-time-BxPJusp9.js";
|
|
23
|
+
import { n as Le, t as Re } from "./_chunks/duration-87U2EoMS.js";
|
|
24
24
|
import { CalendarHeader as Y, CalendarWeekdays as ze } from "./calendar/header.js";
|
|
25
|
-
import { t as Be } from "./_chunks/calendar-
|
|
25
|
+
import { t as Be } from "./_chunks/calendar-CpaUK7w1.js";
|
|
26
26
|
import { CalendarDay as Ve } from "./calendar/day.js";
|
|
27
27
|
import { CalendarMonthGrid as He } from "./calendar/month-grid.js";
|
|
28
28
|
import { CalendarYearGrid as Ue } from "./calendar/year-grid.js";
|
|
29
|
-
import { t as We } from "./_chunks/picker-
|
|
29
|
+
import { t as We } from "./_chunks/picker-DpP7iQLA.js";
|
|
30
30
|
import { ResourcePickerAvatar as Ge } from "./resource-picker/resource-picker-avatar.js";
|
|
31
31
|
import { DropdownPopup as Ke } from "./dropdown/popup.js";
|
|
32
32
|
import { SharedResourcePicker as X } from "./resource-picker/resource-picker.js";
|
|
33
|
-
import { t as qe } from "./_chunks/dropdown-
|
|
33
|
+
import { t as qe } from "./_chunks/dropdown-voWqmwAe.js";
|
|
34
34
|
import { DropdownPopupContent as Je } from "./dropdown/content.js";
|
|
35
35
|
import { PreactRangeSlider as Z } from "./filter/filters/slider/preact.js";
|
|
36
36
|
import { SingleValueSlider as Q, SliderField as Ye } from "./filter/filters/slider/single.js";
|
|
37
37
|
import { StatusBadge as Xe, StatusFeedbackPanel as $ } from "./status-feedback/render.js";
|
|
38
|
-
import { a as Ze, c as Qe, d as $e, f as et, l as tt, m as nt, o as rt, p as it, r as at, s as ot, t as st, u as ct } from "./_chunks/component-
|
|
38
|
+
import { a as Ze, c as Qe, d as $e, f as et, l as tt, m as nt, o as rt, p as it, r as at, s as ot, t as st, u as ct } from "./_chunks/component-YDcfoOLz.js";
|
|
39
39
|
import { BarChart as lt } from "./distribution-chart/bar-chart.js";
|
|
40
40
|
import { LineChart as ut } from "./distribution-chart/line-chart.js";
|
|
41
41
|
import { AreaChart as dt } from "./distribution-chart/area-chart.js";
|
|
@@ -46,14 +46,14 @@ import { HighlightedTextInput as ht, InlineFieldGroup as gt, OptionButton as _t
|
|
|
46
46
|
import { TimeGrid as vt } from "./time-grid.js";
|
|
47
47
|
import { FieldActions as yt, FieldContent as bt, FieldDropIndicator as xt, FieldGroup as St, FieldGroupHeading as Ct, FieldIcon as wt, FieldItem as Tt, FieldLibrary as Et, FieldLibraryList as Dt, FieldList as Ot, FieldRemoveButton as kt, FieldRemoveIcon as At, FieldRow as jt, FieldStatusBadge as Mt, FieldSummary as Nt, SelectedField as Pt } from "./field-configurator.js";
|
|
48
48
|
import { ComparisonPreview as Ft, IconChoiceGroup as It, IconToggleButton as Lt, InspectorSection as Rt, TypographyControls as zt } from "./formatting/index.js";
|
|
49
|
-
import { n as Bt, t as Vt } from "./_chunks/reorder-list-
|
|
49
|
+
import { n as Bt, t as Vt } from "./_chunks/reorder-list-Cc3KmfAN.js";
|
|
50
50
|
import { TimelineTrack as Ht } from "./timeline-track/index.js";
|
|
51
|
-
import { t as Ut } from "./_chunks/number-input-
|
|
51
|
+
import { t as Ut } from "./_chunks/number-input-BeIadZuL.js";
|
|
52
52
|
import { MaskedDraft as Wt } from "./masked-input/index.js";
|
|
53
|
-
import { t as Gt } from "./_chunks/rich-text-
|
|
53
|
+
import { t as Gt } from "./_chunks/rich-text-BzI1DyfF.js";
|
|
54
54
|
import { AssigneeField as Kt, AssigneePicker as qt, AssigneePickerLayout as Jt } from "./assignee/index.js";
|
|
55
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-
|
|
56
|
+
import { n as $t, t as en } from "./_chunks/framework-mount-C-Zwm44H.js";
|
|
57
57
|
//#region src/component-catalog.ts
|
|
58
58
|
var tn = {
|
|
59
59
|
AiPromptInput: te,
|
package/icons/icon.d.ts
CHANGED
package/icons/icon.js
CHANGED
package/legend.d.ts
CHANGED
package/legend.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
2
2
|
//#region src/legend.tsx
|
|
3
|
-
function
|
|
3
|
+
function t({ label: t, items: n, className: r = "", itemClassName: i = "" }) {
|
|
4
4
|
return /* @__PURE__ */ e("div", {
|
|
5
|
-
class: `rv-legend ${
|
|
5
|
+
class: `rv-legend ${r}`,
|
|
6
6
|
role: "list",
|
|
7
|
-
"aria-label":
|
|
8
|
-
children:
|
|
7
|
+
"aria-label": t,
|
|
8
|
+
children: n.map((t) => /* @__PURE__ */ e("span", {
|
|
9
9
|
role: "listitem",
|
|
10
|
-
class: `rv-legend__item ${
|
|
11
|
-
"data-tone":
|
|
12
|
-
style:
|
|
10
|
+
class: `rv-legend__item ${i} ${t.className ?? ""}`,
|
|
11
|
+
"data-tone": t.tone ?? "muted",
|
|
12
|
+
style: t.color ? { "--rv-legend-marker-color": t.color } : void 0,
|
|
13
13
|
children: [/* @__PURE__ */ e("i", {
|
|
14
14
|
"aria-hidden": "true",
|
|
15
|
-
"data-marker":
|
|
15
|
+
"data-marker": t.marker ?? "solid"
|
|
16
16
|
}), /* @__PURE__ */ e("span", {
|
|
17
17
|
class: "rv-legend__label",
|
|
18
|
-
children:
|
|
18
|
+
children: t.label
|
|
19
19
|
})]
|
|
20
|
-
},
|
|
20
|
+
}, t.id))
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export { t as Legend };
|
package/masked-input/index.d.ts
CHANGED