@revolist/ui 4.0.4-rc → 4.0.4
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 +36 -0
- package/OWNERSHIP.md +36 -36
- package/README.md +65 -392
- package/_button.scss +6 -2
- package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
- package/_chunks/calculator-CDWOuAcp.js +4 -0
- package/_chunks/{calendar-xpZ0v3xf.js → calendar-BQYQLu8Q.js} +23 -23
- package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
- package/_chunks/chart-frame-GprenwEg.js +145 -0
- package/_chunks/{chevron-right-sxHQMSkq.js → check-BwI7iCAm.js} +2 -2
- package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
- package/_chunks/choice-chips-C5OxD0GV.js +126 -0
- package/_chunks/{color-palette-D8vyPfld.js → color-palette-7siNch__.js} +22 -24
- package/_chunks/color-picker-Cfc9eqZb.js +143 -0
- package/_chunks/{component-C_T2VN5u.js → component-C3k_8uIq.js} +290 -275
- package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-DlVkpW3h.js} +1 -9
- package/_chunks/configurator-actions-vRnI54mO.js +155 -0
- package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
- package/_chunks/control-BRfF5DWQ.js +118 -0
- package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
- package/_chunks/controls-B3EgM_DS.js +650 -0
- package/_chunks/{date-control-DrVFX13g.js → date-control-87dcA5br.js} +5 -5
- package/_chunks/{date-time-qIhp5vaX.js → date-time-CfiFYodx.js} +332 -293
- package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
- package/_chunks/dialog.parts-NqEEVc9P.js +131 -0
- package/_chunks/{duration-CL68Em0o.js → duration-BGZ_qJ99.js} +10 -10
- package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
- package/_chunks/editor-popup-NNP9Fh9U.js +82 -0
- 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--RTLIqE-.js → framework-mount-D4I8HpVp.js} +2 -2
- package/_chunks/icon-toolbar-BAAdEvr9.js +134 -0
- package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
- package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
- package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
- package/_chunks/minus-BOAR3A1C.js +4 -0
- package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
- package/_chunks/mount-C8CnIW9k.js +267 -0
- package/_chunks/{native.view-ByyZ1CT5.js → native-CJm3eq3-.js} +1 -1
- package/_chunks/native-control-um1L1wgZ.js +649 -0
- package/_chunks/{number-input-BKwA5FnM.js → number-input-CKiA4d1N.js} +9 -9
- package/_chunks/{picker-h1P5RUgp.js → picker-igNshTRC.js} +5 -5
- package/_chunks/plus-CbGRkIGl.js +4 -0
- package/_chunks/{popup-CT2uD3go.js → popup-DECYM9FI.js} +116 -105
- package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-CepVfGUq.js} +2 -2
- package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
- package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-B4w3aARt.js} +2 -2
- package/_chunks/request-trail-B1zVRPEf.js +762 -0
- package/_chunks/rich-text-Ci4d6dHn.js +842 -0
- package/_chunks/rotate-left-BF6G883o.js +4 -0
- package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
- package/_chunks/title-tooltip-ncldbUwS.js +11 -0
- package/_chunks/tooltip-h-Z8yFBY.js +54 -0
- package/_chunks/tooltip-owner-BYho-vJl.js +19 -0
- package/_chunks/tooltip-session-CBtRMBPr.js +110 -0
- package/_chunks/tooltip-text-BN5WdGHn.js +12 -0
- package/_chunks/top-layer-popup-CKJ7VJOF.js +59 -0
- package/_dialog.scss +57 -22
- package/_form.scss +71 -21
- package/_legend.scss +25 -7
- package/_variables.scss +34 -32
- package/_view-switcher.scss +6 -0
- package/activity-message.d.ts +1 -1
- package/activity-message.js +1 -1
- package/ai/_chat.scss +35 -3
- package/ai/_style.scss +76 -16
- package/ai/chat.d.ts +3 -1
- package/ai/components.d.ts +16 -3
- package/ai/index.d.ts +1 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +30 -6
- package/ai/request-trail.d.ts +9 -3
- package/ai/results/_style.scss +83 -0
- package/ai/results/index.d.ts +11 -0
- package/ai/results/metrics.d.ts +5 -0
- package/ai/results/table.d.ts +5 -0
- package/ai/results/text.d.ts +5 -0
- package/ai/results/types.d.ts +29 -0
- package/ai/transcript.d.ts +2 -0
- package/ai/translations.d.ts +1 -1
- package/angular/angular.d.ts +1 -1
- package/angular/angular.js +13 -7
- package/assignee/assignee.scss +28 -6
- package/assignee/index.js +6 -6
- package/avatar/avatar.style.scss +23 -6
- package/avatar/index.d.ts +25 -2
- package/avatar/index.js +33 -32
- package/badge.d.ts +1 -1
- package/badge.js +1 -1
- package/badge.view.d.ts +8 -0
- package/brush-range/_brush-range.scss +55 -49
- package/brush-range/component.d.ts +1 -3
- package/brush-range/component.js +28 -28
- package/buttons/delete-button.js +1 -1
- package/buttons/delete-button.style.scss +6 -2
- package/buttons/remove-button.d.ts +1 -1
- package/buttons/remove-button.js +2 -2
- package/buttons/remove-button.style.scss +1 -1
- package/buttons/svg-button.d.ts +1 -1
- package/buttons/svg-button.js +17 -17
- package/calendar/_calendar.scss +21 -25
- 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 +6 -24
- package/checkbox/index.js +1 -1
- package/choice-chips/index.d.ts +3 -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/native.d.ts +15 -2
- 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/component-catalog.d.ts +9 -7
- package/configurator-actions.d.ts +67 -0
- package/configurator-actions.js +1 -0
- package/configurator-aggregation-list.d.ts +14 -0
- package/configurator-aggregation-list.js +63 -0
- package/configurator-drop-zone.d.ts +39 -0
- package/configurator-drop-zone.js +66 -0
- package/configurator-field-icon.d.ts +10 -0
- package/configurator-field-icon.js +1 -0
- package/configurator-focus.d.ts +4 -0
- package/configurator-focus.js +39 -0
- package/configurator-sections.d.ts +42 -0
- package/configurator-sections.js +71 -0
- package/control-attributes.js +1 -1
- package/control-presentation.d.ts +8 -2
- package/control-presentation.js +25 -20
- package/controls.d.ts +12 -2
- package/controls.js +4 -3
- package/core/anchored-popover.js +1 -1
- package/core/control-id.js +1 -1
- package/core/editor-popup-position.d.ts +6 -2
- package/core/editor-popup.d.ts +4 -0
- package/core/editor-popup.js +1 -1
- package/core/motion.js +1 -1
- package/core/popover-controller.d.ts +35 -0
- package/core/popover-controller.js +102 -0
- package/core/popup-ownership.d.ts +2 -0
- package/core/selection-list-tooltips.d.ts +2 -0
- package/core/title-tooltip.d.ts +2 -0
- package/core/tooltip-session.d.ts +29 -0
- package/core/tooltip-surface.d.ts +13 -0
- package/core/tooltip-text.d.ts +6 -0
- package/core/tooltip.d.ts +35 -0
- package/core/top-layer-popup.d.ts +4 -0
- package/core/top-layer-popup.js +1 -23
- package/date-time/attach.d.ts +1 -1
- package/date-time/date-control.d.ts +1 -1
- package/date-time/field.d.ts +4 -2
- package/date-time/index.js +1 -1
- package/date-time/style.scss +239 -36
- package/date-time/time-selection.d.ts +3 -1
- package/date-time/types.d.ts +5 -1
- package/dialog/dialog-action-footer.d.ts +17 -2
- package/dialog/dialog.dom.d.ts +15 -2
- package/dialog/dialog.dom.js +9 -9
- package/dialog/dialog.drag.js +1 -1
- package/dialog/dialog.parts.d.ts +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +1 -1
- package/distribution-chart/_distribution-chart.scss +113 -77
- 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.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 +19 -9
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.d.ts +5 -0
- package/dropdown/lookup-field.js +4 -3
- package/dropdown/popup.d.ts +2 -2
- 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 +39 -1
- package/field-configurator.js +4 -170
- package/field-expansion.d.ts +9 -0
- 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 +41 -33
- package/filter/filters/slider/component.js +1 -1
- package/filter/filters/slider/control.js +3 -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 +50 -23
- package/filter/filters/slider/single.js +2 -2
- package/filter-badge.js +2 -2
- package/filter-controls.d.ts +0 -1
- package/filter-controls.js +6 -7
- package/form-controls/index.d.ts +10 -2
- package/form-controls/index.js +7 -7
- package/form-controls/presentation.d.ts +1 -1
- package/form-controls/presentation.js +13 -13
- package/formatting/index.d.ts +1 -1
- package/formatting/index.js +26 -25
- package/formatting/styles.scss +14 -57
- package/framework.js +228 -225
- package/history-controls.js +27 -1
- package/html-controls.js +1 -1
- package/icon-toolbar.d.ts +62 -0
- package/icon-toolbar.js +1 -0
- 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.d.ts +1 -2
- package/native-control.js +1 -1
- package/native-controls.d.ts +54 -2
- package/native-styles.css +1 -1
- package/native-styles.scss +6 -2
- package/native.d.ts +3 -3
- package/native.js +48 -45
- package/number-input/index.d.ts +1 -1
- package/number-input/index.js +1 -1
- package/package.json +84 -1
- package/pagination.js +12 -12
- 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/pickers.d.ts +5 -1
- package/preact-mount.js +1 -1
- package/preact.d.ts +13 -10
- package/preact.js +109 -64
- 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.d.ts +2 -0
- package/react-control.js +3 -3
- package/react.d.ts +7 -8
- package/react.js +69 -68
- 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 +75 -73
- package/resource-picker/resource-picker.scss +62 -34
- package/resource-picker/resource-picker.utils.js +1 -1
- package/rich-text/engine.d.ts +1 -0
- package/rich-text/format-html.d.ts +2 -0
- package/rich-text/index.d.ts +4 -0
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +2 -0
- package/rich-text/style.scss +293 -44
- package/rich-text/syntax.d.ts +5 -0
- package/rich-text/toolbar.d.ts +1 -1
- package/rich-text/translations.d.ts +2 -0
- package/robots.txt +4 -0
- package/search-input/index.js +2 -2
- package/search-input/native.d.ts +21 -2
- package/segmented-switch/index.js +1 -1
- package/select.d.ts +3 -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 +5 -5
- 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 +5 -5
- 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 +78 -17
- package/styles/_cell-editor-frame.scss +11 -0
- package/styles/_compositions.scss +400 -80
- 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 -4
- package/styles/_field-configurator.scss +321 -23
- package/styles/_fields-grid.scss +49 -0
- 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/_palette.scss +0 -24
- package/styles/_primitives.scss +369 -110
- 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 +241 -0
- package/styles/pagination.css +213 -0
- package/styles/{legacy-rating.css → rating.css} +8 -3
- package/styles.css +1 -1
- package/styles.scss +3 -5
- package/surfaces.d.ts +38 -2
- package/surfaces.js +37 -134
- 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 +16 -15
- package/time-grid.d.ts +0 -1
- package/time-grid.js +39 -38
- 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 +29 -32
- package/vue.js +118 -123
- package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
- package/_chunks/choice-chips-CHQTUdLs.js +0 -110
- package/_chunks/color-picker-CudqPYZo.js +0 -138
- package/_chunks/control-AHKXD5Eu.js +0 -93
- package/_chunks/control-tooltip-uscKfAnV.js +0 -100
- package/_chunks/controls-DsNi8V8I.js +0 -630
- package/_chunks/dialog.parts-CKGkC5zP.js +0 -134
- package/_chunks/editor-popup-WDdtVDNA.js +0 -81
- package/_chunks/history-controls-B3u3INEK.js +0 -27
- package/_chunks/mount-DQ1cpppK.js +0 -257
- package/_chunks/native-control-C_yok8_-.js +0 -605
- package/_chunks/request-trail-DSlFix6i.js +0 -618
- package/_chunks/rich-text-CH7gIqOS.js +0 -636
- 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/avatar/index.view.d.ts +0 -25
- package/color-palette/native.view.d.ts +0 -15
- package/control-presentation.view.d.ts +0 -8
- package/dialog/dialog-action-footer.view.d.ts +0 -20
- package/dialog/dialog.dom.view.d.ts +0 -15
- package/form-controls/index.view.d.ts +0 -10
- package/formatting/control-tooltip.d.ts +0 -27
- package/native-controls.view.d.ts +0 -54
- package/search-input/native.view.d.ts +0 -21
- package/styles/legacy-pagination.css +0 -112
- package/surfaces.view.d.ts +0 -63
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/pickers.d.ts
CHANGED
|
@@ -14,12 +14,16 @@ export interface PopoverProps {
|
|
|
14
14
|
/** Optional mount scope for inherited theme tokens and text direction. */
|
|
15
15
|
appendTo?: HTMLElement;
|
|
16
16
|
onClose: () => void;
|
|
17
|
+
/** Close on pointer presses outside the anchor and content. Defaults to true. */
|
|
18
|
+
closeOnOutside?: boolean;
|
|
19
|
+
/** Close on Escape. Defaults to true. */
|
|
20
|
+
closeOnEscape?: boolean;
|
|
17
21
|
children?: ComponentChildren;
|
|
18
22
|
label?: string;
|
|
19
23
|
className?: string;
|
|
20
24
|
role?: 'dialog' | 'menu';
|
|
21
25
|
}
|
|
22
|
-
export declare function Popover({ open, anchor, appendTo, onClose, children, label, className, role, }: PopoverProps): h.JSX.Element;
|
|
26
|
+
export declare function Popover({ open, anchor, appendTo, closeOnOutside, closeOnEscape, onClose, children, label, className, role, }: PopoverProps): h.JSX.Element;
|
|
23
27
|
export declare function Tooltip({ text, children, }: {
|
|
24
28
|
text: string;
|
|
25
29
|
children: ComponentChildren;
|
package/preact-mount.js
CHANGED
package/preact.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './icons/icon';
|
|
2
2
|
export * from './ai/components';
|
|
3
|
+
export * from './ai/results';
|
|
3
4
|
export * from './ai/request-trail';
|
|
4
5
|
export * from './buttons/svg-button';
|
|
5
6
|
export * from './buttons/delete-button';
|
|
@@ -21,14 +22,8 @@ export * from './dialog/dialog.preact';
|
|
|
21
22
|
export * from './filter/filters/slider/preact';
|
|
22
23
|
export * from './filter/filters/slider/single';
|
|
23
24
|
export * from './controls';
|
|
24
|
-
export { SvgIcon as Icon } from './icons/icon';
|
|
25
|
-
export { FilterChip as RemovableChip } from './form-controls/presentation';
|
|
26
|
-
export { SingleValueSlider as Slider } from './filter/filters/slider/single';
|
|
27
|
-
export { PreactRangeSlider as RangeSlider } from './filter/filters/slider/preact';
|
|
28
|
-
export { SharedResourcePicker as ResourcePicker } from './resource-picker';
|
|
29
25
|
export * from './status-feedback';
|
|
30
26
|
export * from './pickers';
|
|
31
|
-
export { StatusFeedbackPanel as FeedbackPanel } from './status-feedback';
|
|
32
27
|
export * from './control-presentation';
|
|
33
28
|
export { Input } from './native-control';
|
|
34
29
|
export * from './distribution-chart';
|
|
@@ -36,6 +31,11 @@ export * from './brush-range/component';
|
|
|
36
31
|
export * from './filter-controls';
|
|
37
32
|
export * from './time-grid';
|
|
38
33
|
export * from './field-configurator';
|
|
34
|
+
export * from './configurator-actions';
|
|
35
|
+
export * from './configurator-aggregation-list';
|
|
36
|
+
export * from './configurator-drop-zone';
|
|
37
|
+
export * from './configurator-field-icon';
|
|
38
|
+
export * from './configurator-focus';
|
|
39
39
|
export * from './cell-visuals';
|
|
40
40
|
export * from './dialog/dialog.parts';
|
|
41
41
|
export * from './formatting';
|
|
@@ -44,12 +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
|
+
export * from './icon-toolbar';
|
|
57
|
+
export * from './legend';
|
|
58
|
+
export * from './view-switcher';
|
package/preact.js
CHANGED
|
@@ -1,64 +1,109 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
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
|
-
|
|
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";
|
|
10
|
+
import { RemoveButton as A } from "./buttons/remove-button.js";
|
|
11
|
+
import { controlAttributes as j, controlClassName as M } from "./control-attributes.js";
|
|
12
|
+
import { createControl as N, decorateIconAction as P, nativeControlTag as F, registerControl as I, renderControl as L } from "./control-presentation.js";
|
|
13
|
+
import { t as R } from "./_chunks/control-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";
|
|
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";
|
|
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;
|