@revolist/ui 4.0.6-rc → 4.0.6
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/MIGRATION.md +7 -7
- package/OWNERSHIP.md +33 -33
- package/README.md +65 -410
- package/_button.scss +6 -2
- package/_chunks/{calendar-QWDyYzdo.js → calendar-BQYQLu8Q.js} +5 -5
- package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
- package/_chunks/{chart-frame-hcOlnQ1K.js → chart-frame-GprenwEg.js} +4 -4
- package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
- package/_chunks/{choice-chips-A6WR-WJe.js → choice-chips-C5OxD0GV.js} +3 -3
- package/_chunks/{color-palette-DMJUChWC.js → color-palette-7siNch__.js} +3 -3
- package/_chunks/{color-picker-BK4W1nd6.js → color-picker-Cfc9eqZb.js} +4 -4
- package/_chunks/{component-CMkF17YZ.js → component-C3k_8uIq.js} +44 -45
- package/_chunks/{component-metadata-BKd7U8OW.js → component-metadata-DlVkpW3h.js} +1 -1
- package/_chunks/{configurator-actions-By8WSL2m.js → configurator-actions-vRnI54mO.js} +3 -3
- package/_chunks/{control-mlH7l0Uq.js → control-BRfF5DWQ.js} +3 -3
- package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
- package/_chunks/{controls-FUU-MUKC.js → controls-B3EgM_DS.js} +137 -102
- package/_chunks/{date-control-Dup_P3w5.js → date-control-87dcA5br.js} +5 -5
- package/_chunks/{date-time-9z6pAG5T.js → date-time-CfiFYodx.js} +20 -20
- package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
- package/_chunks/{dialog.parts-Bi7YbXqS.js → dialog.parts-NqEEVc9P.js} +4 -4
- package/_chunks/{duration-D7oRjsmP.js → duration-BGZ_qJ99.js} +6 -6
- package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
- package/_chunks/{editor-popup-ByU7qiub.js → editor-popup-NNP9Fh9U.js} +4 -4
- package/_chunks/field-configurator-DPulsY3l.js +288 -0
- package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
- package/_chunks/{framework-mount-Bk4O_T7T.js → framework-mount-D4I8HpVp.js} +2 -2
- package/_chunks/{icon-toolbar-DSjOdwM7.js → icon-toolbar-BAAdEvr9.js} +2 -2
- package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
- package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
- package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
- package/_chunks/mount-C8CnIW9k.js +267 -0
- package/_chunks/{native-Blr3byjO.js → native-CJm3eq3-.js} +1 -1
- package/_chunks/{native-control-pFMuHf3G.js → native-control-um1L1wgZ.js} +143 -138
- package/_chunks/{number-input-DqXV6vgP.js → number-input-CKiA4d1N.js} +4 -4
- package/_chunks/{picker-gEGTu1Ki.js → picker-igNshTRC.js} +5 -5
- package/_chunks/{popup-C35Isk7p.js → popup-DECYM9FI.js} +2 -2
- package/_chunks/{rating-choice-DbxdUJr-.js → rating-choice-CepVfGUq.js} +2 -2
- package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
- package/_chunks/{reorder-list-B0_13Sja.js → reorder-list-B4w3aARt.js} +2 -2
- package/_chunks/{request-trail-CCSK6TJA.js → request-trail-B1zVRPEf.js} +151 -142
- package/_chunks/{rich-text-5rnc8lpI.js → rich-text-Ci4d6dHn.js} +11 -11
- package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
- package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-ncldbUwS.js} +2 -2
- package/_chunks/{tooltip-D4xkio5G.js → tooltip-h-Z8yFBY.js} +2 -2
- package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
- package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-CBtRMBPr.js} +3 -3
- package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-BN5WdGHn.js} +2 -2
- package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-CKJ7VJOF.js} +3 -3
- package/_dialog.scss +57 -22
- package/_form.scss +71 -21
- package/_legend.scss +25 -7
- package/_variables.scss +2 -1
- package/_view-switcher.scss +6 -0
- package/activity-message.d.ts +1 -1
- package/activity-message.js +1 -1
- package/ai/_chat.scss +7 -0
- package/ai/_style.scss +27 -20
- package/ai/components.d.ts +3 -1
- package/ai/index.js +2 -2
- package/ai/mount.d.ts +15 -7
- package/ai/request-trail.d.ts +9 -3
- package/ai/results/index.d.ts +1 -1
- package/ai/translations.d.ts +1 -1
- package/angular/angular.d.ts +1 -1
- package/angular/angular.js +13 -7
- package/assignee/assignee.scss +24 -6
- package/assignee/index.js +6 -6
- package/avatar/avatar.style.scss +23 -6
- package/avatar/index.d.ts +1 -1
- package/avatar/index.js +2 -2
- package/badge.d.ts +1 -1
- package/badge.js +1 -1
- package/badge.view.d.ts +1 -1
- package/brush-range/_brush-range.scss +55 -49
- package/brush-range/component.js +2 -2
- package/buttons/delete-button.js +1 -1
- package/buttons/delete-button.style.scss +6 -2
- package/buttons/remove-button.js +2 -2
- package/buttons/svg-button.js +3 -3
- package/calendar/_calendar.scss +19 -23
- package/calendar/calendar.js +1 -1
- package/calendar/day.js +2 -2
- package/calendar/header.js +2 -3
- package/calendar/index.js +3 -3
- package/calendar/model.js +1 -1
- package/calendar/month-grid.js +2 -2
- package/calendar/translations.js +1 -1
- package/calendar/year-grid.js +2 -2
- package/cell-input.js +1 -1
- package/cell-input.scss +3 -7
- package/cell-visuals/badge.style.scss +6 -3
- package/cell-visuals/bar-chart.style.scss +2 -1
- package/cell-visuals/column-type.style.css +12 -0
- package/cell-visuals/index.js +1 -1
- package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
- package/cell-visuals/progress-line.style.scss +1 -4
- package/cell-visuals/sparkline.style.scss +2 -1
- package/cell-visuals/timeline.style.css +4 -2
- package/checkbox/checkbox.scss +5 -2
- package/checkbox/index.js +1 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/built-in-palettes.js +1 -1
- package/color-palette/chart-palettes.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +88 -25
- package/color-palette/color-picker.constants.js +1 -1
- package/color-palette/color-picker.js +2 -2
- package/color-palette/color-picker.style.scss +23 -10
- package/color-palette/common-palettes.d.ts +1 -1
- package/color-palette/common-palettes.js +2 -2
- package/color-palette/gantt-palettes.js +1 -1
- package/color-palette/palette.js +1 -1
- package/color-palette/pivot-palettes.js +1 -1
- package/color-palette/platform-palettes.js +1 -1
- package/color-palette/pro-palettes.js +1 -1
- package/color-palette/scheduler-palettes.js +1 -1
- package/configurator-actions.d.ts +6 -6
- package/configurator-actions.js +1 -1
- package/configurator-aggregation-list.d.ts +1 -1
- package/configurator-aggregation-list.js +19 -17
- package/configurator-drop-zone.d.ts +2 -1
- package/configurator-drop-zone.js +34 -32
- package/configurator-focus.js +1 -1
- package/configurator-sections.d.ts +3 -3
- package/configurator-sections.js +1 -1
- package/control-attributes.js +1 -1
- package/control-presentation.js +2 -2
- package/controls.d.ts +11 -0
- package/controls.js +4 -4
- package/core/anchored-popover.js +1 -1
- package/core/control-id.js +1 -1
- package/core/editor-popup.js +1 -1
- package/core/motion.js +1 -1
- package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
- package/core/selection-list-tooltips.d.ts +2 -0
- package/core/tooltip.d.ts +1 -1
- package/core/top-layer-popup.d.ts +1 -1
- package/core/top-layer-popup.js +1 -1
- package/date-time/date-control.d.ts +1 -1
- package/date-time/field.d.ts +1 -0
- package/date-time/index.js +1 -1
- package/date-time/style.scss +192 -46
- package/date-time/time-selection.d.ts +1 -1
- package/dialog/dialog.dom.js +3 -3
- package/dialog/dialog.drag.js +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +1 -1
- package/distribution-chart/_distribution-chart.scss +106 -28
- package/distribution-chart/area-chart.js +2 -2
- package/distribution-chart/bar-chart.js +2 -2
- package/distribution-chart/chart-frame.d.ts +1 -1
- package/distribution-chart/index.js +1 -1
- package/distribution-chart/line-chart.js +2 -2
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/dropdown.service.js +1 -1
- package/dropdown/dropdown.types.d.ts +1 -1
- package/dropdown/editor-dropdown.style.scss +14 -9
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +3 -3
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +2 -2
- package/editor-layout/index.d.ts +4 -4
- package/editor-layout/index.js +40 -35
- package/editor-layout/style.scss +82 -18
- package/favicon.svg +9 -0
- package/field-configurator.d.ts +14 -3
- package/field-configurator.js +1 -1
- package/field-reorder.hook.js +1 -1
- package/field-reorder.js +1 -1
- package/filter/filters/slider/_single-slider.scss +57 -38
- package/filter/filters/slider/_slider.scss +35 -10
- package/filter/filters/slider/component.js +1 -1
- package/filter/filters/slider/control.js +1 -1
- package/filter/filters/slider/inputs.js +1 -1
- package/filter/filters/slider/logic.js +1 -1
- package/filter/filters/slider/preact.js +1 -1
- package/filter/filters/slider/runtime.js +3 -3
- package/filter/filters/slider/single.js +2 -2
- package/filter-badge.js +2 -2
- package/filter-controls.js +2 -2
- package/form-controls/index.js +3 -3
- package/form-controls/presentation.d.ts +1 -1
- package/form-controls/presentation.js +2 -2
- package/formatting/index.js +7 -7
- package/formatting/styles.scss +13 -11
- package/framework.js +76 -77
- package/history-controls.js +1 -1
- package/html-controls.js +1 -1
- package/icon-toolbar.d.ts +1 -1
- package/icon-toolbar.js +1 -1
- package/icons/icon.d.ts +1 -1
- package/icons/icon.js +1 -1
- package/legend.d.ts +1 -1
- package/legend.js +1 -1
- package/masked-input/index.js +4 -4
- package/native-control.js +1 -1
- package/native-styles.css +1 -1
- package/native-styles.scss +6 -2
- package/native.d.ts +3 -3
- package/native.js +16 -16
- package/number-input/index.d.ts +1 -1
- package/number-input/index.js +1 -1
- package/package.json +49 -1
- package/pagination.js +2 -2
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/header.d.ts +1 -1
- package/pdf-viewer/index.d.ts +2 -2
- package/pdf-viewer/index.js +3 -3
- package/pdf-viewer/search-bar.d.ts +1 -1
- package/pdf-viewer/status.d.ts +1 -1
- package/pdf-viewer/style.scss +203 -42
- package/preact-mount.js +1 -1
- package/preact.d.ts +5 -4
- package/preact.js +105 -67
- package/progress/_bar.scss +9 -3
- package/progress/_circular.scss +2 -1
- package/progress/bar.js +1 -1
- package/progress/circular.js +1 -1
- package/progress/range.js +1 -1
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +4 -2
- package/react-control.js +1 -1
- package/react.d.ts +2 -2
- package/react.js +30 -31
- package/reorder-list.d.ts +1 -1
- package/reorder-list.js +1 -1
- package/reorder-list.scss +59 -17
- package/resource-picker/resource-picker-avatar.js +1 -1
- package/resource-picker/resource-picker-option.js +1 -1
- package/resource-picker/resource-picker-popup.js +2 -2
- package/resource-picker/resource-picker.js +74 -72
- package/resource-picker/resource-picker.scss +62 -34
- package/resource-picker/resource-picker.utils.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/style.scss +203 -49
- package/rich-text/toolbar.d.ts +1 -1
- package/robots.txt +4 -0
- package/search-input/index.js +2 -2
- package/segmented-switch/index.js +1 -1
- package/select.js +1 -1
- package/selection-list.d.ts +1 -0
- package/selection-list.js +3 -1
- package/status-feedback/badge.js +2 -2
- package/status-feedback/exit-snapshot.js +2 -2
- package/status-feedback/header.js +2 -2
- package/status-feedback/icons.js +1 -1
- package/status-feedback/index.js +1 -1
- package/status-feedback/item.js +2 -2
- package/status-feedback/motion.js +1 -1
- package/status-feedback/placement.js +1 -1
- package/status-feedback/popover.js +2 -2
- package/status-feedback/render.js +1 -1
- package/status-feedback/status-feedback.scss +124 -35
- package/styles/_activity-message.scss +24 -7
- package/styles/_alert.scss +61 -14
- package/styles/_cell-editor-frame.scss +11 -0
- package/styles/_compositions.scss +399 -79
- package/styles/_control.scss +30 -8
- package/styles/_disclosure.scss +15 -5
- package/styles/_editor-counter.scss +16 -6
- package/styles/_editor-slider.scss +8 -2
- package/styles/_field-configurator.scss +192 -41
- package/styles/_fields-grid.scss +16 -4
- package/styles/_filter-controls.scss +10 -2
- package/styles/_icon-action.scss +48 -15
- package/styles/_loading.scss +12 -3
- package/styles/_motion.scss +32 -9
- package/styles/_primitives.scss +346 -96
- package/styles/_theme.scss +130 -86
- package/styles/_thresholds.scss +28 -25
- package/styles/_time-grid.scss +8 -3
- package/styles/_tokens.scss +6 -1
- package/styles/color-roles.js +1 -1
- package/styles/configurator-actions.scss +126 -26
- package/styles/pagination.css +114 -30
- package/styles/rating.css +8 -3
- package/styles.css +1 -1
- package/styles.scss +1 -3
- package/surfaces.d.ts +4 -2
- package/surfaces.js +8 -8
- package/svelte/UiComponent.svelte +44 -11
- package/svelte-control.js +1 -1
- package/svelte.d.ts +1 -1
- package/svelte.js +5 -5
- package/switch/index.js +2 -2
- package/time-grid.js +3 -3
- package/timeline-track/_style.scss +96 -24
- package/timeline-track/index.js +3 -3
- package/timeline-track/model.js +1 -1
- package/ui.css +1 -1
- package/view-switcher.d.ts +23 -0
- package/vue-badge.js +1 -1
- package/vue-control.js +1 -1
- package/vue-segmented-switch.js +1 -1
- package/vue.d.ts +3 -2
- package/vue.js +43 -44
- package/_chunks/badge.view-D30pMUfi.js +0 -14
- package/_chunks/chevron-right-sxHQMSkq.js +0 -4
- package/_chunks/field-configurator-BCINdXpU.js +0 -223
- package/_chunks/mount-Cw2zk58T.js +0 -266
- package/_shared/data-query/binding.d.ts +0 -30
- package/_shared/data-query/blocks.d.ts +0 -30
- package/_shared/data-query/commands.d.ts +0 -47
- package/_shared/data-query/contracts.d.ts +0 -106
- package/_shared/data-query/cursor-reader.d.ts +0 -25
- package/_shared/data-query/direct-binding.d.ts +0 -3
- package/_shared/data-query/index.d.ts +0 -23
- package/_shared/data-query/infinite-binding.d.ts +0 -18
- package/_shared/data-query/keys.d.ts +0 -9
- package/_shared/data-query/limiter.d.ts +0 -12
- package/_shared/data-query/load-options.d.ts +0 -25
- package/_shared/data-query/materialize.d.ts +0 -2
- package/_shared/data-query/policy.d.ts +0 -14
- package/_shared/data-query/provider-queries.d.ts +0 -22
- package/_shared/data-query/reader.d.ts +0 -23
- package/_shared/data-query/remote-load.d.ts +0 -7
- package/_shared/data-query/source.d.ts +0 -40
package/pdf-viewer/style.scss
CHANGED
|
@@ -13,11 +13,33 @@
|
|
|
13
13
|
color: var(--rv-ui-text);
|
|
14
14
|
font: inherit;
|
|
15
15
|
font-size: 13px;
|
|
16
|
-
&__header {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
&__header {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: 10px;
|
|
20
|
+
min-width: 0;
|
|
21
|
+
padding: 12px 16px;
|
|
22
|
+
border-bottom: 1px solid var(--rv-ui-border);
|
|
23
|
+
}
|
|
24
|
+
&__document-icon {
|
|
25
|
+
flex: 0 0 auto;
|
|
26
|
+
color: var(--rv-ui-accent-text);
|
|
27
|
+
}
|
|
28
|
+
&__filename {
|
|
29
|
+
min-width: 0;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
}
|
|
35
|
+
&__summary {
|
|
36
|
+
margin-inline-start: auto;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
color: var(--rv-ui-text-muted);
|
|
39
|
+
font-variant-numeric: tabular-nums;
|
|
40
|
+
}
|
|
41
|
+
&__toolbar.rv-toolbar,
|
|
42
|
+
&__search {
|
|
21
43
|
--rv-icon-size: 14px;
|
|
22
44
|
--rv-icon-button-size: 32px;
|
|
23
45
|
--rv-control-height: 32px;
|
|
@@ -33,47 +55,186 @@
|
|
|
33
55
|
line-height: 18px;
|
|
34
56
|
}
|
|
35
57
|
}
|
|
36
|
-
&__toolbar.rv-toolbar {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
&
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
&
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
&
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
&__toolbar.rv-toolbar {
|
|
59
|
+
width: 100%;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
box-shadow: none;
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-wrap: wrap;
|
|
64
|
+
gap: 4px 8px;
|
|
65
|
+
padding: 8px 12px;
|
|
66
|
+
border: 0;
|
|
67
|
+
border-bottom: 1px solid var(--rv-ui-border);
|
|
68
|
+
border-radius: 0;
|
|
69
|
+
}
|
|
70
|
+
&__toolbar.rv-toolbar .rv-toolbar-group {
|
|
71
|
+
align-items: center;
|
|
72
|
+
flex-wrap: nowrap;
|
|
73
|
+
gap: 4px;
|
|
74
|
+
padding-block: 0;
|
|
75
|
+
}
|
|
76
|
+
&__toolbar .rv-pagination {
|
|
77
|
+
font-size: inherit;
|
|
78
|
+
flex-wrap: nowrap;
|
|
79
|
+
}
|
|
80
|
+
&__zoom-select {
|
|
81
|
+
position: relative;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
width: 112px;
|
|
85
|
+
height: 32px;
|
|
86
|
+
}
|
|
87
|
+
&__toolbar &__zoom-select .dropdown-container {
|
|
88
|
+
width: 100%;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
background-image: none;
|
|
91
|
+
}
|
|
92
|
+
&__toolbar .rv-pdf-viewer__page-input {
|
|
93
|
+
width: 54px;
|
|
94
|
+
min-width: 0;
|
|
95
|
+
text-align: center;
|
|
96
|
+
font-variant-numeric: tabular-nums;
|
|
97
|
+
}
|
|
98
|
+
&__page-count {
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
color: var(--rv-ui-text-muted);
|
|
101
|
+
font-variant-numeric: tabular-nums;
|
|
102
|
+
}
|
|
103
|
+
&__actions {
|
|
104
|
+
margin-inline-start: auto;
|
|
105
|
+
}
|
|
106
|
+
&__toolbar .rv-pdf-viewer__more {
|
|
107
|
+
display: none;
|
|
108
|
+
}
|
|
109
|
+
&__menu {
|
|
110
|
+
display: grid;
|
|
111
|
+
gap: 2px;
|
|
112
|
+
}
|
|
113
|
+
&__menu .rv-svg-icon {
|
|
114
|
+
flex: 0 0 auto;
|
|
115
|
+
}
|
|
116
|
+
&__search {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-wrap: wrap;
|
|
119
|
+
align-items: center;
|
|
120
|
+
gap: 6px;
|
|
121
|
+
padding: 8px 12px;
|
|
122
|
+
border-bottom: 1px solid var(--rv-ui-border);
|
|
123
|
+
}
|
|
124
|
+
&__search .rv-search-input {
|
|
125
|
+
flex: 1 1 180px;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
}
|
|
128
|
+
&__find-controls {
|
|
129
|
+
display: flex;
|
|
130
|
+
flex: 0 0 auto;
|
|
131
|
+
align-items: center;
|
|
132
|
+
gap: 4px;
|
|
133
|
+
}
|
|
134
|
+
&__search .rv-control {
|
|
135
|
+
min-width: 0;
|
|
136
|
+
width: 100%;
|
|
137
|
+
}
|
|
138
|
+
&__matches {
|
|
139
|
+
color: var(--rv-ui-text-muted);
|
|
140
|
+
min-width: 64px;
|
|
141
|
+
margin-inline-end: auto;
|
|
142
|
+
font-size: 12px;
|
|
143
|
+
}
|
|
144
|
+
&__body {
|
|
145
|
+
position: relative;
|
|
146
|
+
flex: 1;
|
|
147
|
+
min-height: 0;
|
|
148
|
+
background: var(--rv-ui-canvas);
|
|
149
|
+
}
|
|
150
|
+
&__viewport {
|
|
151
|
+
position: absolute;
|
|
152
|
+
inset: 0;
|
|
153
|
+
overflow: auto;
|
|
154
|
+
overscroll-behavior: contain;
|
|
155
|
+
}
|
|
156
|
+
&__viewport:focus-visible {
|
|
157
|
+
outline: 2px solid var(--rv-ui-accent);
|
|
158
|
+
outline-offset: -2px;
|
|
159
|
+
}
|
|
160
|
+
&__viewport .pdfViewer {
|
|
161
|
+
padding-block: 16px;
|
|
162
|
+
}
|
|
163
|
+
&__viewport .pdfViewer .page {
|
|
164
|
+
background: white;
|
|
165
|
+
}
|
|
166
|
+
&__status {
|
|
167
|
+
position: absolute;
|
|
168
|
+
inset: 0;
|
|
169
|
+
display: flex;
|
|
170
|
+
flex-direction: column;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
gap: 12px;
|
|
174
|
+
padding: 24px;
|
|
175
|
+
text-align: center;
|
|
176
|
+
color: var(--rv-ui-text-muted);
|
|
177
|
+
overflow: auto;
|
|
178
|
+
}
|
|
179
|
+
&__status .rv-empty-state {
|
|
180
|
+
border: 0;
|
|
181
|
+
background: none;
|
|
182
|
+
}
|
|
183
|
+
&__status .rv-empty-state p {
|
|
184
|
+
margin: 10px 0 16px;
|
|
185
|
+
}
|
|
186
|
+
&__status .rv-alert {
|
|
187
|
+
max-width: 100%;
|
|
188
|
+
text-align: start;
|
|
189
|
+
overflow-wrap: anywhere;
|
|
190
|
+
}
|
|
191
|
+
&__status strong {
|
|
192
|
+
color: var(--rv-ui-text);
|
|
193
|
+
font-size: 16px;
|
|
194
|
+
font-weight: 500;
|
|
195
|
+
}
|
|
196
|
+
&__error {
|
|
197
|
+
padding: 8px 12px;
|
|
198
|
+
color: var(--rv-ui-danger);
|
|
199
|
+
background: var(--rv-ui-danger-surface);
|
|
200
|
+
}
|
|
63
201
|
@container (max-width: 560px) {
|
|
64
|
-
&__toolbar .rv-pdf-viewer__desktop-actions {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
&
|
|
68
|
-
|
|
69
|
-
|
|
202
|
+
&__toolbar .rv-pdf-viewer__desktop-actions {
|
|
203
|
+
display: none;
|
|
204
|
+
}
|
|
205
|
+
&__toolbar .rv-pdf-viewer__more {
|
|
206
|
+
display: flex;
|
|
207
|
+
margin-inline-start: auto;
|
|
208
|
+
}
|
|
209
|
+
&__search .rv-search-input {
|
|
210
|
+
flex-basis: 100%;
|
|
211
|
+
}
|
|
212
|
+
&__find-controls {
|
|
213
|
+
width: 100%;
|
|
214
|
+
}
|
|
215
|
+
&__status .rv-alert--with-actions {
|
|
216
|
+
grid-template-columns: minmax(0, 1fr);
|
|
217
|
+
row-gap: 12px;
|
|
218
|
+
}
|
|
219
|
+
&__status .rv-alert__actions {
|
|
220
|
+
flex-wrap: wrap;
|
|
221
|
+
}
|
|
70
222
|
}
|
|
71
223
|
@container (max-width: 360px) {
|
|
72
|
-
&__open-label {
|
|
224
|
+
&__open-label {
|
|
225
|
+
display: none;
|
|
226
|
+
}
|
|
73
227
|
}
|
|
74
228
|
@container (max-width: 480px) {
|
|
75
|
-
&__toolbar.rv-toolbar {
|
|
76
|
-
|
|
77
|
-
|
|
229
|
+
&__toolbar.rv-toolbar {
|
|
230
|
+
padding: 6px;
|
|
231
|
+
gap: 4px;
|
|
232
|
+
}
|
|
233
|
+
&__header {
|
|
234
|
+
padding: 10px;
|
|
235
|
+
}
|
|
236
|
+
&__summary {
|
|
237
|
+
font-size: 11px;
|
|
238
|
+
}
|
|
78
239
|
}
|
|
79
240
|
}
|
package/preact-mount.js
CHANGED
package/preact.d.ts
CHANGED
|
@@ -44,14 +44,15 @@ export * from './rating-choice';
|
|
|
44
44
|
export * from './reorder-list';
|
|
45
45
|
export * from './timeline-track';
|
|
46
46
|
export * from './activity-message';
|
|
47
|
-
export { isUiMotionEnabled, getUiMotionDuration, inheritUiMotion, type UiMotionTiming } from './core/motion';
|
|
47
|
+
export { isUiMotionEnabled, getUiMotionDuration, inheritUiMotion, type UiMotionTiming, } from './core/motion';
|
|
48
48
|
export { badgeClassName, type BadgeOptions } from './badge';
|
|
49
49
|
export { AiTranslationProvider } from './ai/translation-context';
|
|
50
50
|
export * from './ai/translations';
|
|
51
|
-
export { PdfViewer, type PdfViewerProps, type PdfViewerText, defaultPdfViewerText } from './pdf-viewer/component';
|
|
52
|
-
export { PdfViewerToolbar, type PdfViewerToolbarProps } from './pdf-viewer/toolbar';
|
|
53
|
-
export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig } from './pdf-viewer/toolbar-options';
|
|
51
|
+
export { PdfViewer, type PdfViewerProps, type PdfViewerText, defaultPdfViewerText, } from './pdf-viewer/component';
|
|
52
|
+
export { PdfViewerToolbar, type PdfViewerToolbarProps, } from './pdf-viewer/toolbar';
|
|
53
|
+
export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig, } from './pdf-viewer/toolbar-options';
|
|
54
54
|
export * from './history-controls';
|
|
55
55
|
export * from './ai/chat';
|
|
56
56
|
export * from './icon-toolbar';
|
|
57
57
|
export * from './legend';
|
|
58
|
+
export * from './view-switcher';
|
package/preact.js
CHANGED
|
@@ -1,71 +1,109 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
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-B1zVRPEf.js";
|
|
2
|
+
import { t as _ } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
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-CepVfGUq.js";
|
|
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-um1L1wgZ.js";
|
|
7
|
+
import { t as D } from "./_chunks/popup-DECYM9FI.js";
|
|
8
|
+
import { t as O } from "./_chunks/selection-list-tooltips-m00U3L6z.js";
|
|
9
|
+
import { t as k } from "./_chunks/delete-button-jneO24wa.js";
|
|
8
10
|
import { RemoveButton as A } from "./buttons/remove-button.js";
|
|
9
11
|
import { controlAttributes as j, controlClassName as M } from "./control-attributes.js";
|
|
10
12
|
import { createControl as N, decorateIconAction as P, nativeControlTag as F, registerControl as I, renderControl as L } from "./control-presentation.js";
|
|
11
|
-
import { t as R } from "./_chunks/control-
|
|
12
|
-
import { A as z, C as
|
|
13
|
-
import { n as
|
|
14
|
-
import { SvgButton as
|
|
15
|
-
import { SegmentedSwitch as
|
|
13
|
+
import { t as R } from "./_chunks/control-BRfF5DWQ.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-B3EgM_DS.js";
|
|
15
|
+
import { n as He, r as Ue, t as We } from "./_chunks/tooltip-h-Z8yFBY.js";
|
|
16
|
+
import { SvgButton as Ge } from "./buttons/svg-button.js";
|
|
17
|
+
import { SegmentedSwitch as K, renderSegmentedSwitch as Ke } from "./segmented-switch/index.js";
|
|
16
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";
|
|
17
|
-
import { a as
|
|
18
|
-
import { badgeClassName as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
|
|
71
|
-
|
|
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-NqEEVc9P.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-bTk3curw.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-r6DOOhGh.js";
|
|
27
|
+
import { n as Et, t as Dt } from "./_chunks/color-palette-7siNch__.js";
|
|
28
|
+
import { DEFAULT_COLOR_PALETTE_OPTIONS as Ot } from "./color-palette/palette.js";
|
|
29
|
+
import { t as kt } from "./_chunks/color-picker-Cfc9eqZb.js";
|
|
30
|
+
import { n as At, r as jt, t as Mt } from "./_chunks/choice-chips-C5OxD0GV.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-BAAdEvr9.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-CFrBgRHm.js";
|
|
40
|
+
import { CalendarHeader as rn, CalendarWeekdays as an } from "./calendar/header.js";
|
|
41
|
+
import { t as on } from "./_chunks/calendar-BQYQLu8Q.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-igNshTRC.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-C3k_8uIq.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-DPulsY3l.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-vRnI54mO.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-B4w3aARt.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";
|
|
72
|
+
//#region package/view-switcher.tsx
|
|
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" }) {
|
|
74
|
+
let m = (n) => t(n, e), h = i.find((e) => e.id === (r ?? (n === "grid" ? void 0 : n)));
|
|
75
|
+
if (!f && !h && !l) return null;
|
|
76
|
+
let g = f ? i : [{
|
|
77
|
+
id: "grid",
|
|
78
|
+
label: p
|
|
79
|
+
}, ...h ? [h] : []];
|
|
80
|
+
return /* @__PURE__ */ _("div", {
|
|
81
|
+
class: "rv-view-switcher-controls",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ _(K, {
|
|
84
|
+
role: "radiogroup",
|
|
85
|
+
value: n,
|
|
86
|
+
ariaLabel: m(u),
|
|
87
|
+
disabled: a,
|
|
88
|
+
options: g.map((e) => ({
|
|
89
|
+
value: e.id,
|
|
90
|
+
label: m(e.label)
|
|
91
|
+
})),
|
|
92
|
+
onChange: s
|
|
93
|
+
}),
|
|
94
|
+
f && /* @__PURE__ */ _(G, {
|
|
95
|
+
size: "compact",
|
|
96
|
+
variant: "ghost",
|
|
97
|
+
disabled: a || !o,
|
|
98
|
+
onClick: c,
|
|
99
|
+
children: m(d)
|
|
100
|
+
}),
|
|
101
|
+
l && /* @__PURE__ */ _("span", {
|
|
102
|
+
role: "alert",
|
|
103
|
+
children: m(l)
|
|
104
|
+
})
|
|
105
|
+
]
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
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/progress/_bar.scss
CHANGED
|
@@ -31,11 +31,17 @@
|
|
|
31
31
|
display: block;
|
|
32
32
|
height: 100%;
|
|
33
33
|
border-radius: inherit;
|
|
34
|
-
background: var(
|
|
34
|
+
background: var(
|
|
35
|
+
--rv-progress-bar-fill,
|
|
36
|
+
var(--rv-filter-active-icon-color, var(--rv-ui-accent))
|
|
37
|
+
);
|
|
35
38
|
// Values update immediately; only a semantic color change is eased.
|
|
36
|
-
transition: background-color var(--rv-ui-motion-normal, 160ms)
|
|
39
|
+
transition: background-color var(--rv-ui-motion-normal, 160ms)
|
|
40
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
@media (prefers-reduced-motion: reduce) {
|
|
40
|
-
.rv-progress-bar__fill {
|
|
44
|
+
.rv-progress-bar__fill {
|
|
45
|
+
transition: none;
|
|
46
|
+
}
|
|
41
47
|
}
|
package/progress/_circular.scss
CHANGED
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
stroke-width: $stroke-width;
|
|
40
40
|
stroke-linecap: round;
|
|
41
41
|
// Keep the value and visible arc in sync.
|
|
42
|
-
transition: stroke var(--rv-ui-motion-normal, 160ms)
|
|
42
|
+
transition: stroke var(--rv-ui-motion-normal, 160ms)
|
|
43
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
.circular-progress-value {
|
package/progress/bar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeProgressRange as e } from "./range.js";
|
|
2
|
-
//#region
|
|
2
|
+
//#region package/progress/bar.ts
|
|
3
3
|
function t(e) {
|
|
4
4
|
return typeof e == "string" ? `rv-progress-bar__fill ${e}` : ["rv-progress-bar__fill", ...Object.entries(e ?? {}).filter(([, e]) => e).map(([e]) => e)].join(" ");
|
|
5
5
|
}
|
package/progress/circular.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { controlClassName as e } from "../control-attributes.js";
|
|
2
|
-
//#region
|
|
2
|
+
//#region package/progress/circular.ts
|
|
3
3
|
function t(t, n) {
|
|
4
4
|
return t("div", { class: "circular-progress-container" }, [t("div", { class: "circular-progress" }, [t("svg", {
|
|
5
5
|
class: "circular-progress-svg",
|
package/progress/range.js
CHANGED
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-CepVfGUq.js";
|
package/react-adapter.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export interface UiReactHandle {
|
|
|
4
4
|
element: HTMLDivElement | null;
|
|
5
5
|
}
|
|
6
6
|
declare const contentProps: readonly ["children", "footer", "label", "description", "icon", "summary", "start", "end", "empty", "highlight", "actions", "heading", "placeholder", "indicator", "avatar", "timestamp", "header", "details", "formatted", "hint", "iconContent", "content", "caption", "count", "detail", "leading", "trailing", "shortcut", "info"];
|
|
7
|
-
type ContentKey = typeof contentProps[number];
|
|
8
|
-
type ReactContent<T> = [
|
|
7
|
+
type ContentKey = (typeof contentProps)[number];
|
|
8
|
+
type ReactContent<T> = [
|
|
9
|
+
Extract<T, VNode<any> | readonly ComponentChildren[]>
|
|
10
|
+
] extends [never] ? T : ReactNode;
|
|
9
11
|
type Tail<A extends unknown[]> = A extends [unknown, ...infer Rest] ? Rest : A;
|
|
10
12
|
type RenderArgs<A extends unknown[], K, Factories> = K extends Factories ? K extends 'renderPlaceholder' | 'renderSelectedValue' ? Tail<A> extends [infer Value, ...unknown[]] ? [value: Value] : [] : Tail<A> : A;
|
|
11
13
|
type RenderProp<F, K, Factories> = NonNullable<F> extends (...args: infer A) => unknown ? (...args: RenderArgs<A, K, Factories>) => ReactNode : F;
|
package/react-control.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { controlAttributes as e } from "./control-attributes.js";
|
|
2
2
|
import { createElement as t, forwardRef as n } from "react";
|
|
3
|
-
//#region
|
|
3
|
+
//#region package/react-control.ts
|
|
4
4
|
function r(r) {
|
|
5
5
|
let i = n((n, i) => {
|
|
6
6
|
let { class: a, ...o } = e(r, n);
|
package/react.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { HtmlEditor as PreactHtmlEditor } from './rich-text/index';
|
|
|
6
6
|
import { TemporalPicker as PreactTemporalPicker, TemporalDraft as PreactTemporalDraft, DateTimeField as PreactDateTimeField } from './date-time/index';
|
|
7
7
|
import { AssigneePicker as PreactAssigneePicker, AssigneeField as PreactAssigneeField, AssigneePickerLayout as PreactAssigneePickerLayout } from './assignee/index';
|
|
8
8
|
import * as ui from './preact';
|
|
9
|
-
export { createReactAdapter, type ReactUiProps, type UiReactHandle } from './react-adapter';
|
|
9
|
+
export { createReactAdapter, type ReactUiProps, type UiReactHandle, } from './react-adapter';
|
|
10
10
|
export declare const Input: ReactUiComponent<typeof ui.Input>;
|
|
11
11
|
export declare const SvgIcon: ReactUiComponent<typeof ui.SvgIcon>;
|
|
12
12
|
export declare const SvgButton: ReactUiComponent<typeof ui.SvgButton>;
|
|
@@ -175,7 +175,7 @@ export declare const AiRequestTrail: ReactUiComponent<typeof ui.AiRequestTrail>;
|
|
|
175
175
|
export declare const PdfViewer: ReactUiComponent<typeof ui.PdfViewer>;
|
|
176
176
|
export declare const PdfViewerToolbar: ReactUiComponent<typeof ui.PdfViewerToolbar, never>;
|
|
177
177
|
export type { PdfViewerToolbarProps } from './pdf-viewer/toolbar';
|
|
178
|
-
export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig } from './pdf-viewer/toolbar-options';
|
|
178
|
+
export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig, } from './pdf-viewer/toolbar-options';
|
|
179
179
|
export type { PdfViewerProps, PdfViewerText } from './pdf-viewer/component';
|
|
180
180
|
export { defaultPdfViewerText } from './pdf-viewer/translations';
|
|
181
181
|
export declare const AiChat: ReactUiComponent<typeof ui.AiChat>;
|