@revolist/ui 4.0.1-rc → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/MIGRATION.md +36 -0
- package/OWNERSHIP.md +32 -32
- package/README.md +405 -264
- package/_button.scss +6 -2
- package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
- package/_chunks/calculator-CDWOuAcp.js +4 -0
- package/_chunks/calendar-DJqiFwFT.js +258 -0
- package/_chunks/chart-frame-hcOlnQ1K.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-yr6Uzmof.js +126 -0
- package/_chunks/clock-BOhPNlW3.js +4 -0
- package/_chunks/color-palette-DMJUChWC.js +92 -0
- package/_chunks/{color-picker-BRv-__AM.js → color-picker-CMWxQlWt.js} +61 -56
- package/_chunks/component-DyWiItBR.js +878 -0
- package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BKd7U8OW.js} +0 -12
- package/_chunks/configurator-actions-DCodxcUw.js +155 -0
- package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
- package/_chunks/control-CbOYUakE.js +118 -0
- package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
- package/_chunks/controls-DD1qvPfE.js +650 -0
- package/_chunks/{date-control-CYCkb1aQ.js → date-control-XI2cpKI_.js} +21 -21
- package/_chunks/date-time-CGJdC1Qa.js +807 -0
- package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-CW9vjLnk.js} +7 -7
- package/_chunks/dialog.parts-CJ3FVxC9.js +131 -0
- package/_chunks/duration-CBJWK82T.js +272 -0
- package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
- package/_chunks/editor-popup-ByU7qiub.js +82 -0
- package/_chunks/field-configurator-B-qtIwx1.js +288 -0
- package/_chunks/field-context-D57PnBbH.js +5 -0
- package/_chunks/framework-mount-Bk4O_T7T.js +54 -0
- package/_chunks/hooks.module-CG3gN83z.js +157 -0
- package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
- package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
- package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
- package/_chunks/minus-BOAR3A1C.js +4 -0
- package/_chunks/mount-C7i5gsKI.js +267 -0
- package/_chunks/native-Blr3byjO.js +32 -0
- package/_chunks/native-control-B9MNibfa.js +649 -0
- package/_chunks/{number-input-NnH57J4j.js → number-input-CgbZes5B.js} +89 -89
- package/_chunks/picker-DqpjDC90.js +122 -0
- package/_chunks/plus-CbGRkIGl.js +4 -0
- package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
- package/_chunks/popup-C35Isk7p.js +378 -0
- package/_chunks/preact.module-BBM36DnO.js +290 -0
- package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-WDrfiluf.js} +10 -10
- package/_chunks/render-m5eMMwFR.js +83 -0
- package/_chunks/reorder-list-C4HSda4n.js +59 -0
- package/_chunks/request-trail-SHynDFdM.js +762 -0
- package/_chunks/rich-text-CtjqRvv8.js +842 -0
- package/_chunks/rotate-left-BF6G883o.js +4 -0
- package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
- package/_chunks/selection-list-tooltips-BtWjpP6M.js +41 -0
- package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
- package/_chunks/tooltip-D4xkio5G.js +54 -0
- package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
- package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
- package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
- package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
- package/_dialog.scss +55 -21
- package/_form.scss +71 -21
- package/_legend.scss +25 -7
- package/_shared/data-query/index.d.ts +2 -2
- package/_shared/data-query/load-options.d.ts +2 -2
- package/_variables.scss +34 -32
- package/_vendor/preact/LICENSE +21 -0
- package/_vendor/preact/compat/src/index.d.ts +353 -0
- package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
- package/_vendor/preact/compat/src/suspense.d.ts +19 -0
- package/_vendor/preact/hooks/src/index.d.ts +145 -0
- package/_vendor/preact/src/dom.d.ts +2548 -0
- package/_vendor/preact/src/index.d.ts +373 -0
- package/_vendor/preact/src/jsx.d.ts +2958 -0
- package/_view-switcher.scss +6 -0
- package/activity-message.d.ts +2 -2
- package/activity-message.js +16 -16
- package/ai/_chat.scss +227 -0
- package/ai/_style.scss +170 -39
- package/ai/chat.d.ts +65 -0
- package/ai/components.d.ts +35 -6
- package/ai/index.d.ts +3 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +59 -6
- package/ai/prompt-history.d.ts +13 -0
- 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 +27 -0
- package/ai/translation-context.d.ts +1 -1
- package/ai/translations.d.ts +1 -1
- package/alert.d.ts +2 -2
- package/angular/angular.d.ts +1 -1
- package/angular/angular.js +13 -10
- package/assignee/assignee.scss +28 -6
- package/assignee/field.d.ts +2 -2
- package/assignee/index.js +86 -87
- package/assignee/layout.d.ts +2 -2
- package/assignee/picker.d.ts +1 -1
- package/avatar/avatar.style.scss +23 -6
- package/avatar/index.d.ts +25 -2
- package/avatar/index.js +42 -41
- package/badge.d.ts +1 -1
- package/badge.view.d.ts +8 -0
- package/brush-range/_brush-range.scss +55 -49
- package/brush-range/component.d.ts +2 -4
- package/brush-range/component.js +19 -19
- package/buttons/delete-button.d.ts +2 -1
- package/buttons/delete-button.js +1 -1
- package/buttons/delete-button.style.scss +6 -2
- package/buttons/remove-button.d.ts +2 -2
- package/buttons/remove-button.js +3 -3
- package/buttons/remove-button.style.scss +1 -1
- package/buttons/svg-button.d.ts +3 -2
- package/buttons/svg-button.js +23 -23
- package/calendar/_calendar.scss +27 -26
- package/calendar/calendar.d.ts +1 -1
- package/calendar/calendar.js +1 -1
- package/calendar/caption.d.ts +1 -1
- package/calendar/day.d.ts +1 -1
- package/calendar/day.js +4 -4
- package/calendar/header.d.ts +1 -1
- package/calendar/header.js +34 -35
- package/calendar/index.js +2 -2
- package/calendar/month-grid.d.ts +1 -1
- package/calendar/month-grid.js +37 -37
- package/calendar/picker.d.ts +1 -1
- package/calendar/types.d.ts +1 -1
- package/calendar/year-grid.d.ts +1 -1
- package/calendar/year-grid.js +12 -12
- package/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/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.d.ts +2 -2
- package/checkbox/index.js +9 -9
- package/choice-chips/index.d.ts +4 -2
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.d.ts +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +88 -25
- package/color-palette/color-picker.d.ts +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 +1 -1
- package/color-palette/native.d.ts +15 -2
- package/component-catalog.d.ts +42 -29
- 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 +7 -7
- package/control-presentation.d.ts +8 -2
- package/control-presentation.js +31 -26
- package/controls.d.ts +23 -11
- package/controls.js +4 -3
- package/core/editor-commit.d.ts +1 -1
- package/core/editor-popup-position.d.ts +6 -2
- package/core/editor-popup.d.ts +5 -1
- package/core/editor-popup.js +1 -1
- package/core/popover-controller.d.ts +35 -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 +2 -2
- package/date-time/field.d.ts +4 -3
- package/date-time/index.js +1 -1
- package/date-time/picker.d.ts +1 -1
- package/date-time/style.scss +242 -39
- package/date-time/time-control.d.ts +1 -1
- package/date-time/time-selection.d.ts +3 -1
- package/date-time/types.d.ts +6 -2
- package/dialog/dialog-action-footer.d.ts +17 -2
- package/dialog/dialog.dom.d.ts +15 -2
- package/dialog/dialog.dom.js +53 -53
- package/dialog/dialog.parts.d.ts +18 -18
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.d.ts +1 -1
- package/dialog/dialog.preact.js +6 -6
- package/distribution-chart/_distribution-chart.scss +113 -77
- package/distribution-chart/area-chart.d.ts +1 -1
- package/distribution-chart/area-chart.js +25 -25
- package/distribution-chart/bar-chart.d.ts +6 -3
- package/distribution-chart/bar-chart.js +10 -6
- package/distribution-chart/chart-frame.d.ts +3 -2
- package/distribution-chart/index.d.ts +2 -2
- package/distribution-chart/index.js +6 -6
- package/distribution-chart/line-chart.d.ts +1 -1
- package/distribution-chart/line-chart.js +9 -9
- package/distribution-chart/types.d.ts +1 -1
- package/dropdown/content.d.ts +3 -2
- package/dropdown/content.js +1 -141
- package/dropdown/control.d.ts +14 -0
- package/dropdown/control.js +1 -0
- package/dropdown/control.view.d.ts +6 -0
- package/dropdown/dropdown.service.d.ts +1 -1
- package/dropdown/dropdown.service.js +9 -9
- package/dropdown/dropdown.types.d.ts +5 -1
- package/dropdown/editor-dropdown.style.scss +54 -16
- package/dropdown/index.d.ts +1 -1
- package/dropdown/index.js +3 -4
- package/dropdown/lookup-field.d.ts +6 -1
- package/dropdown/lookup-field.js +42 -41
- package/dropdown/popup.d.ts +2 -2
- package/dropdown/popup.js +1 -140
- package/duration/controls.d.ts +1 -1
- package/duration/index.d.ts +2 -2
- package/duration/index.js +1 -1
- package/duration/style.scss +1 -1
- package/editor-actions.d.ts +1 -1
- package/editor-actions.js +21 -20
- package/editor-layout/index.d.ts +5 -5
- package/editor-layout/index.js +43 -38
- package/editor-layout/style.scss +82 -18
- package/field-configurator.d.ts +40 -2
- package/field-configurator.js +4 -170
- package/field-expansion.d.ts +9 -0
- package/field-reorder.hook.js +32 -32
- package/fieldset.d.ts +3 -0
- package/filter/filters/slider/_single-slider.scss +57 -38
- package/filter/filters/slider/_slider.scss +41 -33
- package/filter/filters/slider/control.js +2 -0
- package/filter/filters/slider/preact.js +3 -3
- package/filter/filters/slider/runtime.js +49 -22
- package/filter/filters/slider/single.d.ts +1 -1
- package/filter/filters/slider/single.js +23 -23
- package/filter-badge.d.ts +1 -1
- package/filter-badge.js +23 -22
- package/filter-controls.d.ts +1 -2
- package/filter-controls.js +29 -30
- package/form-controls/field-context.d.ts +5 -0
- package/form-controls/index.d.ts +10 -2
- package/form-controls/index.js +17 -22
- package/form-controls/presentation.d.ts +2 -2
- package/form-controls/presentation.js +59 -51
- package/formatting/comparison-preview.d.ts +1 -1
- package/formatting/icon-controls.d.ts +1 -1
- package/formatting/index.d.ts +1 -1
- package/formatting/index.js +106 -100
- package/formatting/inspector-section.d.ts +1 -1
- package/formatting/styles.scss +14 -57
- package/formatting/typography-controls.d.ts +1 -1
- package/framework-mount.d.ts +1 -1
- package/framework.js +237 -226
- package/history-controls.d.ts +14 -0
- package/history-controls.js +27 -0
- package/icon-toolbar.d.ts +62 -0
- package/icon-toolbar.js +1 -0
- package/icons/icon.d.ts +2 -2
- package/icons/icon.js +1 -1
- package/legend.d.ts +2 -2
- package/legend.js +12 -12
- package/masked-input/index.d.ts +1 -1
- package/masked-input/index.js +109 -109
- package/native-control.d.ts +14 -13
- package/native-control.js +3 -26
- 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 +49 -45
- package/number-input/index.d.ts +2 -2
- package/number-input/index.js +1 -1
- package/package.json +88 -15
- package/pagination.d.ts +3 -0
- package/pagination.js +50 -40
- package/pdf-viewer/component.d.ts +1 -1
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/header.d.ts +2 -2
- package/pdf-viewer/index.d.ts +2 -2
- package/pdf-viewer/index.js +13 -13
- package/pdf-viewer/search-bar.d.ts +2 -2
- package/pdf-viewer/status.d.ts +2 -2
- package/pdf-viewer/style.scss +205 -45
- package/pdf-viewer/toolbar.d.ts +1 -1
- package/pickers.d.ts +6 -2
- package/preact-mount.d.ts +1 -1
- package/preact-mount.js +2 -2
- package/preact.d.ts +15 -10
- package/preact.js +109 -64
- package/progress/_bar.scss +9 -3
- package/progress/_circular.scss +2 -1
- package/rating-choice.d.ts +1 -1
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +5 -3
- package/react-control.d.ts +1 -0
- package/react.d.ts +20 -11
- package/react.js +72 -88
- package/reorder-list.d.ts +2 -2
- package/reorder-list.js +1 -1
- package/reorder-list.scss +59 -17
- package/resource-picker/resource-picker-avatar.d.ts +1 -1
- package/resource-picker/resource-picker-avatar.js +14 -14
- package/resource-picker/resource-picker-option.d.ts +1 -1
- package/resource-picker/resource-picker-option.js +28 -28
- package/resource-picker/resource-picker-popup.d.ts +1 -1
- package/resource-picker/resource-picker-popup.js +3 -3
- package/resource-picker/resource-picker.d.ts +1 -1
- package/resource-picker/resource-picker.js +68 -66
- package/resource-picker/resource-picker.scss +66 -35
- package/rich-text/engine.d.ts +17 -19
- package/rich-text/format-html.d.ts +2 -0
- package/rich-text/index.d.ts +11 -7
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +6 -3
- package/rich-text/render-model.d.ts +4 -5
- package/rich-text/style.scss +295 -55
- package/rich-text/syntax.d.ts +5 -2
- package/rich-text/toolbar.d.ts +7 -7
- package/rich-text/translations.d.ts +5 -15
- package/search-input/index.js +12 -12
- package/search-input/native.d.ts +21 -2
- package/segmented-switch/index.d.ts +1 -1
- package/segmented-switch/index.js +1 -1
- package/select.d.ts +22 -0
- package/select.js +1 -0
- package/selection-list.d.ts +1 -0
- package/selection-list.js +3 -1
- package/status-feedback/exit-snapshot.js +1 -1
- package/status-feedback/index.js +2 -2
- package/status-feedback/popover.js +9 -9
- package/status-feedback/render.d.ts +2 -2
- package/status-feedback/render.js +3 -44
- package/status-feedback/status-feedback.scss +130 -34
- package/status-feedback/types.d.ts +4 -0
- package/status-feedback/use-auto-dismiss.d.ts +3 -0
- 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 +404 -82
- package/styles/_control.scss +42 -12
- 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 +376 -116
- 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/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.server.js +1 -48
- package/svelte/UiComponent.svelte +44 -32
- package/svelte.d.ts +1 -1
- package/svelte.js +33 -68
- package/switch/index.js +3 -2
- package/time-grid.d.ts +1 -2
- package/time-grid.js +43 -42
- package/timeline-track/_style.scss +96 -24
- package/timeline-track/component.d.ts +5 -1
- package/timeline-track/index.js +91 -74
- package/timeline-track/model.d.ts +9 -0
- package/timeline-track/model.js +10 -1
- package/ui.css +1 -1
- package/view-switcher.d.ts +23 -0
- package/vue-adapter.d.ts +1 -1
- package/vue.d.ts +160 -144
- package/vue.js +149 -178
- package/_chunks/calendar-BsDxCYhI.js +0 -248
- package/_chunks/chart-frame-BvxbmEU9.js +0 -126
- package/_chunks/choice-chips-0HfOnK_4.js +0 -110
- package/_chunks/color-palette-BmZ7kH9R.js +0 -94
- package/_chunks/component-D4PH5UZT.js +0 -859
- package/_chunks/control-tooltip-BCNzQCXE.js +0 -100
- package/_chunks/controls-NEL5tDaz.js +0 -615
- package/_chunks/date-time-DjucJmbc.js +0 -769
- package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
- package/_chunks/dropdown-CkGQBm1Q.js +0 -357
- package/_chunks/duration-BCaktcvz.js +0 -270
- package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
- package/_chunks/editor-popup-B7fu_A_T.js +0 -81
- package/_chunks/framework-mount-BKIOsvY-.js +0 -54
- package/_chunks/mount-0-8opf1j.js +0 -90
- package/_chunks/native.view-8q_nwQ7x.js +0 -32
- package/_chunks/picker-oazJ7sO_.js +0 -121
- package/_chunks/reorder-list-BV3kZXso.js +0 -59
- package/_chunks/request-trail-D0oVzdRd.js +0 -347
- package/_chunks/rich-text-2Rla349o.js +0 -477
- 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 -12
- package/formatting/control-tooltip.d.ts +0 -27
- package/native-controls.view.d.ts +0 -54
- package/react-native-select.d.ts +0 -6
- package/search-input/native.view.d.ts +0 -21
- package/styles/legacy-pagination.css +0 -112
- package/surfaces.view.d.ts +0 -63
- package/vue-native-select.d.ts +0 -9
package/react.js
CHANGED
|
@@ -1,76 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import { SvgIcon as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { t as
|
|
27
|
-
import {
|
|
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 { t as
|
|
53
|
-
import {
|
|
54
|
-
import { t as
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import { createElement as q, forwardRef as J, isValidElement as an, useImperativeHandle as on, useLayoutEffect as Y, useRef as X, useState as sn } from "react";
|
|
58
|
-
import { createPortal as cn } from "react-dom";
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as ee, l as te, m as ne, n as re, o as ie, p as ae, r as oe, s as se, t as ce, u as le, x as ue, y as de } from "./_chunks/request-trail-SHynDFdM.js";
|
|
2
|
+
import { n as l, t as u } from "./_chunks/rating-choice-WDrfiluf.js";
|
|
3
|
+
import { SvgIcon as d } from "./icons/icon.js";
|
|
4
|
+
import { l as f, n as p, p as m } from "./_chunks/native-control-B9MNibfa.js";
|
|
5
|
+
import { t as h } from "./_chunks/popup-C35Isk7p.js";
|
|
6
|
+
import { t as g } from "./_chunks/delete-button-CW9vjLnk.js";
|
|
7
|
+
import { RemoveButton as _ } from "./buttons/remove-button.js";
|
|
8
|
+
import { A as v, B as y, C as b, D as x, E as S, F as C, I as w, L as T, M as E, N as D, O, P as k, R as A, T as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as fe, m as pe, n as me, o as he, p as ge, r as _e, s as ve, t as ye, u as be, v as xe, w as Se, x as Ce, y as we } from "./_chunks/controls-DD1qvPfE.js";
|
|
9
|
+
import { t as Te } from "./_chunks/tooltip-D4xkio5G.js";
|
|
10
|
+
import { SvgButton as Ee } from "./buttons/svg-button.js";
|
|
11
|
+
import { SegmentedSwitch as De } from "./segmented-switch/index.js";
|
|
12
|
+
import { EditorList as U, EditorListGroup as W, EditorListItem as G, EditorListItemContent as K, EditorPane as q, EditorSplitLayout as J } from "./editor-layout/index.js";
|
|
13
|
+
import { a as Oe, c as ke, i as Ae, l as je, n as Me, o as Ne, r as Pe, s as Fe, t as Ie } from "./_chunks/dialog.parts-CJ3FVxC9.js";
|
|
14
|
+
import { n as Le, t as Re } from "./_chunks/render-m5eMMwFR.js";
|
|
15
|
+
import { t as ze } from "./_chunks/color-palette-DMJUChWC.js";
|
|
16
|
+
import { t as Be } from "./_chunks/color-picker-CMWxQlWt.js";
|
|
17
|
+
import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-yr6Uzmof.js";
|
|
18
|
+
import { FilterBadge as We, FilterBadgeInfoButton as Ge } from "./filter-badge.js";
|
|
19
|
+
import { ActivityMessage as Ke } from "./activity-message.js";
|
|
20
|
+
import { n as qe } from "./_chunks/icon-toolbar-DSjOdwM7.js";
|
|
21
|
+
import { Checkbox as Je } from "./checkbox/index.js";
|
|
22
|
+
import { Switch as Ye } from "./switch/index.js";
|
|
23
|
+
import { SearchInput as Xe } from "./search-input/index.js";
|
|
24
|
+
import { DisclosureSummary as Ze, FilterChip as Qe, FormField as $e } from "./form-controls/presentation.js";
|
|
25
|
+
import { a as et, i as tt, r as nt } from "./_chunks/date-time-CGJdC1Qa.js";
|
|
26
|
+
import { n as rt, t as it } from "./_chunks/duration-CBJWK82T.js";
|
|
27
|
+
import { CalendarHeader as at, CalendarWeekdays as ot } from "./calendar/header.js";
|
|
28
|
+
import { t as st } from "./_chunks/calendar-DJqiFwFT.js";
|
|
29
|
+
import { CalendarDay as ct } from "./calendar/day.js";
|
|
30
|
+
import { CalendarMonthGrid as lt } from "./calendar/month-grid.js";
|
|
31
|
+
import { CalendarYearGrid as ut } from "./calendar/year-grid.js";
|
|
32
|
+
import { t as dt } from "./_chunks/picker-DqpjDC90.js";
|
|
33
|
+
import { ResourcePickerAvatar as ft } from "./resource-picker/resource-picker-avatar.js";
|
|
34
|
+
import { SharedResourcePicker as pt } from "./resource-picker/resource-picker.js";
|
|
35
|
+
import { PreactRangeSlider as mt } from "./filter/filters/slider/preact.js";
|
|
36
|
+
import { SingleValueSlider as ht, SliderField as gt } from "./filter/filters/slider/single.js";
|
|
37
|
+
import { a as _t, c as vt, d as yt, f as bt, i as xt, l as St, m as Ct, o as wt, p as Tt, r as Et, s as Dt, t as Ot, u as kt } from "./_chunks/component-DyWiItBR.js";
|
|
38
|
+
import { BarChart as At } from "./distribution-chart/bar-chart.js";
|
|
39
|
+
import { LineChart as jt } from "./distribution-chart/line-chart.js";
|
|
40
|
+
import { AreaChart as Mt } from "./distribution-chart/area-chart.js";
|
|
41
|
+
import { DistributionChart as Nt } from "./distribution-chart/index.js";
|
|
42
|
+
import { BrushRange as Pt } from "./brush-range/component.js";
|
|
43
|
+
import { HighlightedTextInput as Ft, InlineFieldGroup as It, OptionButton as Lt } from "./filter-controls.js";
|
|
44
|
+
import { TimeGrid as Rt } from "./time-grid.js";
|
|
45
|
+
import { _ as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, m as Jt, o as Yt, p as Xt, r as Zt, s as Qt, u as $t, v as en } from "./_chunks/field-configurator-B-qtIwx1.js";
|
|
46
|
+
import { ComparisonPreview as tn, IconChoiceGroup as nn, IconToggleButton as rn, InspectorSection as an, TypographyControls as on } from "./formatting/index.js";
|
|
47
|
+
import { n as sn, t as cn } from "./_chunks/reorder-list-C4HSda4n.js";
|
|
48
|
+
import { TimelineTrack as ln } from "./timeline-track/index.js";
|
|
49
|
+
import { Legend as un } from "./legend.js";
|
|
50
|
+
import { t as dn } from "./_chunks/number-input-CgbZes5B.js";
|
|
51
|
+
import { MaskedDraft as fn } from "./masked-input/index.js";
|
|
52
|
+
import { t as pn } from "./_chunks/rich-text-CtjqRvv8.js";
|
|
53
|
+
import { AssigneeField as mn, AssigneePicker as hn, AssigneePickerLayout as gn } from "./assignee/index.js";
|
|
54
|
+
import { t as _n } from "./_chunks/framework-mount-Bk4O_T7T.js";
|
|
55
|
+
import { createElement as Y, forwardRef as vn, isValidElement as yn, useImperativeHandle as bn, useLayoutEffect as X, useRef as Z, useState as xn } from "react";
|
|
56
|
+
import { createPortal as Sn } from "react-dom";
|
|
59
57
|
//#region src/react-adapter.ts
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
let r =
|
|
63
|
-
let a =
|
|
64
|
-
return
|
|
58
|
+
var Cn = /* @__PURE__ */ "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".split(".");
|
|
59
|
+
function Q(e, t, n = {}) {
|
|
60
|
+
let r = vn((r, i) => {
|
|
61
|
+
let a = Z(null), o = Z(null), [s, c] = xn([]);
|
|
62
|
+
return bn(i, () => ({ element: a.current }), []), X(() => (c([]), o.current = _n(a.current, c), () => {
|
|
65
63
|
o.current?.destroy(), o.current = null;
|
|
66
|
-
}), []),
|
|
64
|
+
}), []), X(() => {
|
|
67
65
|
o.current?.render(e, r, (e, t) => {
|
|
68
66
|
let r = /* @__PURE__ */ new Set([
|
|
69
|
-
...
|
|
67
|
+
...Cn,
|
|
70
68
|
"options",
|
|
71
69
|
"source"
|
|
72
70
|
]), i = (e) => {
|
|
73
|
-
if (
|
|
71
|
+
if (yn(e)) return t(e);
|
|
74
72
|
if (Array.isArray(e)) {
|
|
75
73
|
let t = e.map(i);
|
|
76
74
|
return t.some((t, n) => t !== e[n]) ? t : e;
|
|
@@ -86,54 +84,40 @@ function Z(e, t, n = {}) {
|
|
|
86
84
|
for (let [r, i] of Object.entries(e)) r.startsWith("render") && typeof i == "function" && (a[r] = (...e) => (n.factoryCallbacks?.includes(r) && (e = e.slice(1), (r === "renderPlaceholder" || r === "renderSelectedValue") && (e = e.slice(0, 1))), t(i(...e))));
|
|
87
85
|
return a;
|
|
88
86
|
});
|
|
89
|
-
}, [r]),
|
|
87
|
+
}, [r]), Y("div", { style: { display: "contents" } }, Y("div", {
|
|
90
88
|
ref: a,
|
|
91
89
|
style: { display: "contents" },
|
|
92
90
|
"data-rv-react-host": t
|
|
93
|
-
}), ...s.map((e) =>
|
|
91
|
+
}), ...s.map((e) => Sn(e.content, e.element, String(e.id))));
|
|
94
92
|
});
|
|
95
93
|
return r.displayName = `Rv${t}`, r;
|
|
96
94
|
}
|
|
97
95
|
//#endregion
|
|
98
|
-
//#region src/react-native-select.ts
|
|
99
|
-
var Q = J(({ onValueChange: e, onChange: t, ...n }, r) => {
|
|
100
|
-
let { class: i, ...a } = l("select", n);
|
|
101
|
-
return q("select", {
|
|
102
|
-
...a,
|
|
103
|
-
className: i,
|
|
104
|
-
ref: r,
|
|
105
|
-
onChange: (n) => {
|
|
106
|
-
t?.(n), n.defaultPrevented || e?.(n.currentTarget.value);
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
Q.displayName = "RvNativeSelect";
|
|
111
|
-
//#endregion
|
|
112
96
|
//#region src/react.ts
|
|
113
|
-
var
|
|
97
|
+
var wn = /* @__PURE__ */ Q(p, "Input"), Tn = /* @__PURE__ */ Q(d, "SvgIcon"), En = /* @__PURE__ */ Q(Ee, "SvgButton"), Dn = /* @__PURE__ */ Q(g, "DeleteButton"), On = /* @__PURE__ */ Q(_, "RemoveButton"), kn = /* @__PURE__ */ Q(Je, "Checkbox"), An = /* @__PURE__ */ Q(Ye, "Switch"), jn = /* @__PURE__ */ Q(De, "SegmentedSwitch"), Mn = /* @__PURE__ */ Q(He, "ChoiceChips"), Nn = /* @__PURE__ */ Q(Ve, "ChoiceChipInfoButton"), Pn = /* @__PURE__ */ Q(Ue, "ChoiceChip"), Fn = /* @__PURE__ */ Q(Xe, "SearchInput"), In = /* @__PURE__ */ Q(Qe, "FilterChip"), Ln = /* @__PURE__ */ Q($e, "FormField"), Rn = /* @__PURE__ */ Q(Ze, "DisclosureSummary"), zn = /* @__PURE__ */ Q(J, "EditorSplitLayout"), $ = /* @__PURE__ */ Q(q, "EditorPane"), Bn = /* @__PURE__ */ Q(U, "EditorList"), Vn = /* @__PURE__ */ Q(G, "EditorListItem"), Hn = /* @__PURE__ */ Q(K, "EditorListItemContent"), Un = /* @__PURE__ */ Q(W, "EditorListGroup"), Wn = /* @__PURE__ */ Q(st, "Calendar"), Gn = /* @__PURE__ */ Q(at, "CalendarHeader"), Kn = /* @__PURE__ */ Q(ot, "CalendarWeekdays"), qn = /* @__PURE__ */ Q(ct, "CalendarDay"), Jn = /* @__PURE__ */ Q(lt, "CalendarMonthGrid"), Yn = /* @__PURE__ */ Q(ut, "CalendarYearGrid"), Xn = /* @__PURE__ */ Q(dt, "CalendarPicker"), Zn = /* @__PURE__ */ Q(pt, "SharedResourcePicker"), Qn = /* @__PURE__ */ Q(ft, "ResourcePickerAvatar"), $n = /* @__PURE__ */ Q(ze, "ColorPalette"), er = /* @__PURE__ */ Q(Be, "ColorPicker"), tr = /* @__PURE__ */ Q(f, "Dropdown", { factoryCallbacks: [
|
|
114
98
|
"renderOption",
|
|
115
99
|
"renderValue",
|
|
116
100
|
"renderPlaceholder",
|
|
117
101
|
"renderSelectedValue",
|
|
118
102
|
"renderNoResults"
|
|
119
|
-
] }),
|
|
103
|
+
] }), nr = /* @__PURE__ */ Q(h, "DropdownPopup"), rr = /* @__PURE__ */ Q(m, "DropdownPopupContent", { factoryCallbacks: [
|
|
120
104
|
"renderOption",
|
|
121
105
|
"renderValue",
|
|
122
106
|
"renderPlaceholder",
|
|
123
107
|
"renderSelectedValue",
|
|
124
108
|
"renderNoResults"
|
|
125
|
-
] }),
|
|
109
|
+
] }), ir = /* @__PURE__ */ Q(mt, "PreactRangeSlider"), ar = /* @__PURE__ */ Q(ht, "SingleValueSlider"), or = /* @__PURE__ */ Q(gt, "SliderField"), sr = /* @__PURE__ */ Q(ge, "IconButton"), cr = /* @__PURE__ */ Q(k, "ToggleButton"), lr = /* @__PURE__ */ Q(me, "ButtonGroup"), ur = /* @__PURE__ */ Q(S, "SegmentedControl"), dr = /* @__PURE__ */ Q(v, "Tabs"), fr = /* @__PURE__ */ Q(H, "TabPanel"), pr = /* @__PURE__ */ Q(b, "RadioGroup"), mr = /* @__PURE__ */ Q(V, "TextInput"), hr = /* @__PURE__ */ Q(E, "Textarea"), gr = /* @__PURE__ */ Q(xe, "NumberInput"), _r = /* @__PURE__ */ Q(we, "NumberStepper"), vr = /* @__PURE__ */ Q(he, "DateInput"), yr = /* @__PURE__ */ Q(D, "TimeInput"), br = /* @__PURE__ */ Q(ve, "DateTimeInput"), xr = /* @__PURE__ */ Q(_e, "Chip"), Sr = /* @__PURE__ */ Q(I, "FieldHint"), Cr = /* @__PURE__ */ Q(be, "FieldError"), wr = /* @__PURE__ */ Q(L, "FormSection"), Tr = /* @__PURE__ */ Q(F, "Disclosure"), Er = /* @__PURE__ */ Q(Ce, "Panel"), Dr = /* @__PURE__ */ Q(C, "Toolbar"), Or = /* @__PURE__ */ Q(w, "ToolbarGroup"), kr = /* @__PURE__ */ Q(T, "ToolbarSeparator"), Ar = /* @__PURE__ */ Q(y, "Badge"), jr = /* @__PURE__ */ Q(N, "CountBadge"), Mr = /* @__PURE__ */ Q(x, "Spinner"), Nr = /* @__PURE__ */ Q(pe, "LoadingOverlay"), Pr = /* @__PURE__ */ Q(fe, "EmptyState"), Fr = /* @__PURE__ */ Q(z, "Menu"), Ir = /* @__PURE__ */ Q(R, "MenuItem"), Lr = /* @__PURE__ */ Q(M, "MenuSeparator"), Rr = /* @__PURE__ */ Q(O, "Submenu"), zr = /* @__PURE__ */ Q(j, "ResizeHandle"), Br = /* @__PURE__ */ Q(P, "Pagination"), Vr = /* @__PURE__ */ Q(B, "CircularProgress"), Hr = /* @__PURE__ */ Q(Se, "Rating"), Ur = /* @__PURE__ */ Q(ye, "Button"), Wr = /* @__PURE__ */ Q(q, "Pane"), Gr = /* @__PURE__ */ Q(J, "SplitLayout"), Kr = /* @__PURE__ */ Q(A, "Alert"), qr = /* @__PURE__ */ Q(U, "Listbox"), Jr = /* @__PURE__ */ Q(G, "ListboxOption"), Yr = /* @__PURE__ */ Q(W, "ListboxGroup"), Xr = /* @__PURE__ */ Q(K, "ListboxOptionContent"), Zr = /* @__PURE__ */ Q(Le, "StatusFeedbackPanel"), Qr = /* @__PURE__ */ Q(Re, "StatusBadge"), $r = /* @__PURE__ */ Q(wt, "Combobox", { factoryCallbacks: [
|
|
126
110
|
"renderOption",
|
|
127
111
|
"renderValue",
|
|
128
112
|
"renderPlaceholder",
|
|
129
113
|
"renderSelectedValue",
|
|
130
114
|
"renderNoResults"
|
|
131
|
-
] }),
|
|
115
|
+
] }), ei = /* @__PURE__ */ Q(yt, "MultiSelect", { factoryCallbacks: [
|
|
132
116
|
"renderOption",
|
|
133
117
|
"renderValue",
|
|
134
118
|
"renderPlaceholder",
|
|
135
119
|
"renderSelectedValue",
|
|
136
120
|
"renderNoResults"
|
|
137
|
-
] }),
|
|
121
|
+
] }), ti = /* @__PURE__ */ Q(_t, "Avatar"), ni = /* @__PURE__ */ Q(Tt, "ProgressBar"), ri = /* @__PURE__ */ Q(bt, "Popover"), ii = /* @__PURE__ */ Q(Ct, "Tooltip"), ai = /* @__PURE__ */ Q(kt, "Dialog"), oi = /* @__PURE__ */ Q(Dt, "ConfirmDialog"), si = /* @__PURE__ */ Q(vt, "DatePicker"), ci = /* @__PURE__ */ Q(St, "DateRangePicker"), li = /* @__PURE__ */ Q(Fe, "DialogHeader"), ui = /* @__PURE__ */ Q(Pe, "DialogBody"), di = /* @__PURE__ */ Q(Oe, "DialogFooter"), fi = /* @__PURE__ */ Q(Nt, "DistributionChart"), pi = /* @__PURE__ */ Q(At, "BarChart"), mi = /* @__PURE__ */ Q(jt, "LineChart"), hi = /* @__PURE__ */ Q(Mt, "AreaChart"), gi = /* @__PURE__ */ Q(Pt, "BrushRange"), _i = /* @__PURE__ */ Q(Lt, "OptionButton"), vi = /* @__PURE__ */ Q(Ft, "HighlightedTextInput"), yi = /* @__PURE__ */ Q(It, "InlineFieldGroup"), bi = /* @__PURE__ */ Q(un, "Legend"), xi = /* @__PURE__ */ Q(Rt, "TimeGrid"), Si = /* @__PURE__ */ Q(Vt, "FieldIcon"), Ci = /* @__PURE__ */ Q(zt, "FieldSummary"), wi = /* @__PURE__ */ Q($t, "FieldLibrary"), Ti = /* @__PURE__ */ Q(Qt, "FieldGroupHeading"), Ei = /* @__PURE__ */ Q(Yt, "FieldGroup"), Di = /* @__PURE__ */ Q(Ut, "FieldList"), Oi = /* @__PURE__ */ Q(Gt, "FieldRow"), ki = /* @__PURE__ */ Q(Kt, "FieldContent"), Ai = /* @__PURE__ */ Q(qt, "FieldItem"), ji = /* @__PURE__ */ Q(Ht, "FieldLibraryList"), Mi = /* @__PURE__ */ Q(en, "SelectedField"), Ni = /* @__PURE__ */ Q(Zt, "FieldActions"), Pi = /* @__PURE__ */ Q(Wt, "FieldStatusBadge"), Fi = /* @__PURE__ */ Q(Xt, "FieldRemoveButton"), Ii = /* @__PURE__ */ Q(Jt, "FieldRemoveIcon"), Li = /* @__PURE__ */ Q(Bt, "FieldDropIndicator"), Ri = /* @__PURE__ */ Q(Ne, "DialogForm"), zi = /* @__PURE__ */ Q(Ae, "DialogCloseButton"), Bi = /* @__PURE__ */ Q(Ie, "DialogActionFooter"), Vi = /* @__PURE__ */ Q(Me, "DialogActions"), Hi = /* @__PURE__ */ Q(ke, "DialogTitleInput"), Ui = /* @__PURE__ */ Q(je, "EditableDialogHeader"), Wi = /* @__PURE__ */ Q(Te, "ControlTooltip"), Gi = /* @__PURE__ */ Q(an, "InspectorSection"), Ki = /* @__PURE__ */ Q(nn, "IconChoiceGroup"), qi = /* @__PURE__ */ Q(rn, "IconToggleButton"), Ji = /* @__PURE__ */ Q(on, "TypographyControls"), Yi = /* @__PURE__ */ Q(tn, "ComparisonPreview"), Xi = /* @__PURE__ */ Q(Ge, "FilterBadgeInfoButton"), Zi = /* @__PURE__ */ Q(We, "FilterBadge"), Qi = /* @__PURE__ */ Q(l, "RatingStar"), $i = /* @__PURE__ */ Q(u, "RatingChoice"), ea = /* @__PURE__ */ Q(sn, "ReorderList"), ta = /* @__PURE__ */ Q(cn, "ReorderHandle"), na = /* @__PURE__ */ Q(ln, "TimelineTrack"), ra = /* @__PURE__ */ Q(Ke, "ActivityMessage"), ia = /* @__PURE__ */ Q(dn, "NumberDraft"), aa = /* @__PURE__ */ Q(fn, "MaskedDraft"), oa = /* @__PURE__ */ Q(rt, "DurationField"), sa = /* @__PURE__ */ Q(it, "DurationDraft"), ca = /* @__PURE__ */ Q(pn, "HtmlEditor"), la = /* @__PURE__ */ Q(et, "TemporalPicker"), ua = /* @__PURE__ */ Q(tt, "TemporalDraft"), da = /* @__PURE__ */ Q(nt, "DateTimeField"), fa = /* @__PURE__ */ Q(hn, "AssigneePicker"), pa = /* @__PURE__ */ Q(mn, "AssigneeField"), ma = /* @__PURE__ */ Q(gn, "AssigneePickerLayout"), ha = /* @__PURE__ */ Q(c, "AiPromptInput"), ga = /* @__PURE__ */ Q(t, "AiSuggestions"), _a = /* @__PURE__ */ Q(o, "AiActionStatus"), va = /* @__PURE__ */ Q(ne, "AiChangePreview"), ya = /* @__PURE__ */ Q(s, "AiResult"), ba = /* @__PURE__ */ Q(de, "AiResultView"), xa = /* @__PURE__ */ Q(e, "AiResultTable"), Sa = /* @__PURE__ */ Q(ue, "AiResultMetrics"), Ca = /* @__PURE__ */ Q(r, "AiResultText"), wa = /* @__PURE__ */ Q(ae, "AiAssistant"), Ta = /* @__PURE__ */ Q(ce, "AiRequestTrail"), Ea = /* @__PURE__ */ Q(Ot, "PdfViewer"), Da = /* @__PURE__ */ Q(Et, "PdfViewerToolbar"), Oa = /* @__PURE__ */ Q(re, "AiChat"), ka = /* @__PURE__ */ Q(ee, "AiChatContent"), Aa = /* @__PURE__ */ Q(oe, "AiChatComposer"), ja = /* @__PURE__ */ Q(n, "AiChatEmptyState"), Ma = /* @__PURE__ */ Q(ie, "AiMessage"), Na = /* @__PURE__ */ Q(i, "AiMessageContent"), Pa = /* @__PURE__ */ Q(se, "AiMessageActions"), Fa = /* @__PURE__ */ Q(te, "AiReasoning"), Ia = /* @__PURE__ */ Q(le, "AiTask"), La = /* @__PURE__ */ Q(a, "AiTaskItem"), Ra = /* @__PURE__ */ Q(qe, "IconToolbar");
|
|
138
122
|
//#endregion
|
|
139
|
-
export {
|
|
123
|
+
export { ra as ActivityMessage, _a as AiActionStatus, wa as AiAssistant, va as AiChangePreview, Oa as AiChat, Aa as AiChatComposer, ka as AiChatContent, ja as AiChatEmptyState, Ma as AiMessage, Pa as AiMessageActions, Na as AiMessageContent, ha as AiPromptInput, Fa as AiReasoning, Ta as AiRequestTrail, ya as AiResult, Sa as AiResultMetrics, xa as AiResultTable, Ca as AiResultText, ba as AiResultView, ga as AiSuggestions, Ia as AiTask, La as AiTaskItem, Kr as Alert, hi as AreaChart, pa as AssigneeField, fa as AssigneePicker, ma as AssigneePickerLayout, ti as Avatar, Ar as Badge, pi as BarChart, gi as BrushRange, Ur as Button, lr as ButtonGroup, Wn as Calendar, qn as CalendarDay, Gn as CalendarHeader, Jn as CalendarMonthGrid, Xn as CalendarPicker, Kn as CalendarWeekdays, Yn as CalendarYearGrid, kn as Checkbox, xr as Chip, Pn as ChoiceChip, Nn as ChoiceChipInfoButton, Mn as ChoiceChips, Vr as CircularProgress, $n as ColorPalette, er as ColorPicker, $r as Combobox, Yi as ComparisonPreview, oi as ConfirmDialog, Wi as ControlTooltip, jr as CountBadge, vr as DateInput, si as DatePicker, ci as DateRangePicker, da as DateTimeField, br as DateTimeInput, Dn as DeleteButton, ai as Dialog, Bi as DialogActionFooter, Vi as DialogActions, ui as DialogBody, zi as DialogCloseButton, di as DialogFooter, Ri as DialogForm, li as DialogHeader, Hi as DialogTitleInput, Tr as Disclosure, Rn as DisclosureSummary, fi as DistributionChart, tr as Dropdown, nr as DropdownPopup, rr as DropdownPopupContent, sa as DurationDraft, oa as DurationField, Ui as EditableDialogHeader, Bn as EditorList, Un as EditorListGroup, Vn as EditorListItem, Hn as EditorListItemContent, $ as EditorPane, zn as EditorSplitLayout, Pr as EmptyState, Ni as FieldActions, ki as FieldContent, Li as FieldDropIndicator, Cr as FieldError, Ei as FieldGroup, Ti as FieldGroupHeading, Sr as FieldHint, Si as FieldIcon, Ai as FieldItem, wi as FieldLibrary, ji as FieldLibraryList, Di as FieldList, Fi as FieldRemoveButton, Ii as FieldRemoveIcon, Oi as FieldRow, Pi as FieldStatusBadge, Ci as FieldSummary, Zi as FilterBadge, Xi as FilterBadgeInfoButton, In as FilterChip, Ln as FormField, wr as FormSection, vi as HighlightedTextInput, ca as HtmlEditor, sr as IconButton, Ki as IconChoiceGroup, qi as IconToggleButton, Ra as IconToolbar, yi as InlineFieldGroup, wn as Input, Gi as InspectorSection, bi as Legend, mi as LineChart, qr as Listbox, Yr as ListboxGroup, Jr as ListboxOption, Xr as ListboxOptionContent, Nr as LoadingOverlay, aa as MaskedDraft, Fr as Menu, Ir as MenuItem, Lr as MenuSeparator, ei as MultiSelect, ia as NumberDraft, gr as NumberInput, _r as NumberStepper, _i as OptionButton, Br as Pagination, Wr as Pane, Er as Panel, Ea as PdfViewer, Da as PdfViewerToolbar, ri as Popover, ir as PreactRangeSlider, ni as ProgressBar, pr as RadioGroup, Hr as Rating, $i as RatingChoice, Qi as RatingStar, On as RemoveButton, ta as ReorderHandle, ea as ReorderList, zr as ResizeHandle, Qn as ResourcePickerAvatar, Fn as SearchInput, ur as SegmentedControl, jn as SegmentedSwitch, Mi as SelectedField, Zn as SharedResourcePicker, ar as SingleValueSlider, or as SliderField, Mr as Spinner, Gr as SplitLayout, Qr as StatusBadge, Zr as StatusFeedbackPanel, Rr as Submenu, En as SvgButton, Tn as SvgIcon, An as Switch, fr as TabPanel, dr as Tabs, ua as TemporalDraft, la as TemporalPicker, mr as TextInput, hr as Textarea, xi as TimeGrid, yr as TimeInput, na as TimelineTrack, cr as ToggleButton, Dr as Toolbar, Or as ToolbarGroup, kr as ToolbarSeparator, ii as Tooltip, Ji as TypographyControls, Q as createReactAdapter, xt as defaultPdfViewerText };
|
package/reorder-list.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, ComponentChildren, JSX } from 'preact';
|
|
1
|
+
import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
|
|
2
2
|
export interface ReorderListProps<T> {
|
|
3
3
|
items: readonly T[];
|
|
4
4
|
itemKey(item: T): string | number;
|
|
@@ -15,6 +15,6 @@ export interface ReorderListProps<T> {
|
|
|
15
15
|
onDrop(event: DragEvent, boundary: number): void;
|
|
16
16
|
}
|
|
17
17
|
/** Shared list geometry, event routing and insertion markers. Consumers own move policy and data. */
|
|
18
|
-
export declare function ReorderList<T>({ items, itemKey, renderItem, renderHandle, itemAttributes, className, rowClassName, endClassName, draggedKey, dropIndex, empty, onDragOver, onDrop }: ReorderListProps<T>): h.JSX.Element;
|
|
18
|
+
export declare function ReorderList<T>({ items, itemKey, renderItem, renderHandle, itemAttributes, className, rowClassName, endClassName, draggedKey, dropIndex, empty, onDragOver, onDrop, }: ReorderListProps<T>): h.JSX.Element;
|
|
19
19
|
/** Native drag source; product adapters supply stable IDs, announcements and keyboard move policy. */
|
|
20
20
|
export declare function ReorderHandle({ className, children, ...props }: JSX.IntrinsicElements['button']): h.JSX.Element;
|
package/reorder-list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-
|
|
1
|
+
export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-C4HSda4n.js";
|
package/reorder-list.scss
CHANGED
|
@@ -1,29 +1,47 @@
|
|
|
1
1
|
@use './styles/motion';
|
|
2
|
-
.rv-reorder-list {
|
|
2
|
+
.rv-reorder-list {
|
|
3
|
+
position: relative;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
}
|
|
3
6
|
.rv-reorder-row {
|
|
4
7
|
position: relative;
|
|
5
8
|
min-width: 0;
|
|
6
9
|
&.dragging {
|
|
7
10
|
border-radius: 8px;
|
|
8
11
|
background: var(--rv-ui-selected-bg);
|
|
9
|
-
> :not(.rv-reorder-handle) {
|
|
12
|
+
> :not(.rv-reorder-handle) {
|
|
13
|
+
opacity: 0.3;
|
|
14
|
+
}
|
|
10
15
|
}
|
|
11
16
|
&.drop-before::after {
|
|
12
|
-
content: '';
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
content: '';
|
|
18
|
+
position: absolute;
|
|
19
|
+
z-index: 4;
|
|
20
|
+
top: -4px;
|
|
21
|
+
right: 0;
|
|
22
|
+
left: var(--rv-reorder-marker-inset, 30px);
|
|
23
|
+
height: 2px;
|
|
24
|
+
border-radius: 2px;
|
|
15
25
|
background: var(--rv-ui-accent);
|
|
16
|
-
box-shadow: 0 0 0 3px
|
|
26
|
+
box-shadow: 0 0 0 3px
|
|
27
|
+
color-mix(in srgb, var(--rv-ui-accent) 14%, transparent);
|
|
17
28
|
pointer-events: none;
|
|
18
29
|
}
|
|
19
30
|
}
|
|
20
31
|
.rv-reorder-drop-end {
|
|
21
|
-
position: relative;
|
|
32
|
+
position: relative;
|
|
33
|
+
height: 16px;
|
|
22
34
|
margin: 4px 0 0 var(--rv-reorder-marker-inset, 30px);
|
|
23
35
|
pointer-events: none;
|
|
24
36
|
&::after {
|
|
25
|
-
content: '';
|
|
26
|
-
|
|
37
|
+
content: '';
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 7px;
|
|
40
|
+
right: 0;
|
|
41
|
+
left: 0;
|
|
42
|
+
height: 2px;
|
|
43
|
+
border-radius: 2px;
|
|
44
|
+
background: transparent;
|
|
27
45
|
}
|
|
28
46
|
}
|
|
29
47
|
.rv-reorder-list.drop-at-end > .rv-reorder-drop-end::after {
|
|
@@ -31,12 +49,36 @@
|
|
|
31
49
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--rv-ui-accent) 14%, transparent);
|
|
32
50
|
}
|
|
33
51
|
.rv-reorder-handle.rv-btn {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
52
|
+
display: inline-flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
width: 24px;
|
|
56
|
+
height: 32px;
|
|
57
|
+
min-width: 24px;
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
border: 0;
|
|
61
|
+
background: transparent;
|
|
62
|
+
color: var(--rv-ui-field-muted);
|
|
63
|
+
cursor: grab;
|
|
64
|
+
opacity: 0.58;
|
|
65
|
+
transition:
|
|
66
|
+
opacity var(--rv-ui-motion-fast, 120ms)
|
|
67
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1)),
|
|
68
|
+
color var(--rv-ui-motion-fast, 120ms)
|
|
69
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
|
|
70
|
+
> span,
|
|
71
|
+
svg {
|
|
72
|
+
display: block;
|
|
73
|
+
width: 8px;
|
|
74
|
+
height: 11px;
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
}
|
|
77
|
+
&:hover,
|
|
78
|
+
&:focus-visible {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
&:active {
|
|
82
|
+
cursor: grabbing;
|
|
83
|
+
}
|
|
42
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from 'preact';
|
|
1
|
+
import { h } from '../_vendor/preact/src/index';
|
|
2
2
|
import { ResourcePickerId, ResourcePickerItem } from './resource-picker.types';
|
|
3
3
|
export interface ResourcePickerAvatarProps<Id extends ResourcePickerId> {
|
|
4
4
|
readonly resource: ResourcePickerItem<Id>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { i as e } from "../_chunks/hooks.module-CG3gN83z.js";
|
|
2
|
+
import { t } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
+
import { getAvatarInitials as n } from "../avatar/index.js";
|
|
4
|
+
import { resourcePickerClasses as r } from "./resource-picker.utils.js";
|
|
5
5
|
//#region src/resource-picker/resource-picker-avatar.tsx
|
|
6
6
|
var i = [
|
|
7
7
|
"#22d3ee",
|
|
@@ -13,8 +13,8 @@ var i = [
|
|
|
13
13
|
"#f97316",
|
|
14
14
|
"#2dd4bf"
|
|
15
15
|
];
|
|
16
|
-
function a(
|
|
17
|
-
return e
|
|
16
|
+
function a(e) {
|
|
17
|
+
return n(e) || "?";
|
|
18
18
|
}
|
|
19
19
|
function o(e) {
|
|
20
20
|
return i[[...String(e)].reduce((e, t) => e + t.charCodeAt(0), 0) % i.length];
|
|
@@ -33,10 +33,10 @@ function s(e) {
|
|
|
33
33
|
][n] ?? 0), 0);
|
|
34
34
|
return r <= .179 ? "#fff" : r < .25 ? "#000" : "#0f172a";
|
|
35
35
|
}
|
|
36
|
-
function c({ resource:
|
|
37
|
-
let [l, u] =
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
class:
|
|
36
|
+
function c({ resource: n, className: i, color: c }) {
|
|
37
|
+
let [l, u] = e(), d = n.name.trim() || "Unnamed resource", f = !!n.avatarUrl && l === n.avatarUrl, p = c ?? n.color ?? o(n.id);
|
|
38
|
+
return /* @__PURE__ */ t("span", {
|
|
39
|
+
class: r("avatar-cell rv-resource-picker__avatar", i),
|
|
40
40
|
style: {
|
|
41
41
|
"--avatar-cell-background": p,
|
|
42
42
|
"--avatar-cell-size": "30px",
|
|
@@ -44,12 +44,12 @@ function c({ resource: e, className: i, color: c }) {
|
|
|
44
44
|
},
|
|
45
45
|
role: "img",
|
|
46
46
|
"aria-label": d,
|
|
47
|
-
children:
|
|
47
|
+
children: n.avatarUrl && !f ? /* @__PURE__ */ t("img", {
|
|
48
48
|
class: "avatar-cell__image",
|
|
49
|
-
src:
|
|
49
|
+
src: n.avatarUrl,
|
|
50
50
|
alt: d,
|
|
51
|
-
onError: () => u(
|
|
52
|
-
}) : a(
|
|
51
|
+
onError: () => u(n.avatarUrl)
|
|
52
|
+
}) : a(n.name)
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h } from 'preact';
|
|
1
|
+
import { h } from '../_vendor/preact/src/index';
|
|
2
2
|
import { ResourcePickerClassNames, ResourcePickerId, ResourcePickerItem } from './resource-picker.types';
|
|
3
3
|
export interface ResourcePickerOptionProps<Id extends ResourcePickerId, Resource extends ResourcePickerItem<Id>> {
|
|
4
4
|
readonly resource: Resource;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
2
|
+
import { resourcePickerClasses as t, resourcePickerDataAttribute as n, resourcePickerIdKey as r, uniqueResourcePickerIds as i } from "./resource-picker.utils.js";
|
|
3
|
+
import { ResourcePickerAvatar as a } from "./resource-picker-avatar.js";
|
|
4
4
|
//#region src/resource-picker/resource-picker-option.tsx
|
|
5
|
-
function
|
|
6
|
-
let
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
class:
|
|
9
|
-
id:
|
|
10
|
-
role:
|
|
11
|
-
"aria-selected":
|
|
12
|
-
"data-selected":
|
|
13
|
-
onMouseEnter:
|
|
5
|
+
function o({ resource: o, selected: s, selectedResourceIds: c, disabled: l, readOnly: u = !1, multiple: d, resourceDataAttribute: f, classNames: p, isResourceDisabled: m, getAvatarColor: h, optionId: g, focused: _ = !1, onFocus: v, onChange: y }) {
|
|
6
|
+
let b = m?.(o) === !0;
|
|
7
|
+
return /* @__PURE__ */ e("label", {
|
|
8
|
+
class: t("rv-resource-picker__option", u ? "rv-resource-picker__option--readonly" : void 0, _ ? "rv-resource-picker__option--focused" : void 0, p?.option),
|
|
9
|
+
id: u ? g : void 0,
|
|
10
|
+
role: u && g ? "option" : void 0,
|
|
11
|
+
"aria-selected": u && g ? s : void 0,
|
|
12
|
+
"data-selected": s ? "true" : "false",
|
|
13
|
+
onMouseEnter: v,
|
|
14
14
|
children: [
|
|
15
|
-
!
|
|
15
|
+
!u && /* @__PURE__ */ e("input", {
|
|
16
16
|
type: "checkbox",
|
|
17
|
-
id:
|
|
18
|
-
role:
|
|
19
|
-
"aria-selected":
|
|
20
|
-
checked:
|
|
21
|
-
disabled:
|
|
22
|
-
...
|
|
17
|
+
id: g,
|
|
18
|
+
role: g ? "option" : void 0,
|
|
19
|
+
"aria-selected": g ? s : void 0,
|
|
20
|
+
checked: s,
|
|
21
|
+
disabled: l || b && !s,
|
|
22
|
+
...n(f, String(o.id)),
|
|
23
23
|
onChange: (e) => {
|
|
24
24
|
let t = e.currentTarget;
|
|
25
|
-
|
|
25
|
+
y(t.checked ? d ? i([...c, o.id]) : [o.id] : c.filter((e) => r(e) !== r(o.id)));
|
|
26
26
|
}
|
|
27
27
|
}),
|
|
28
|
-
/* @__PURE__ */ a
|
|
29
|
-
resource:
|
|
30
|
-
className:
|
|
31
|
-
color:
|
|
28
|
+
/* @__PURE__ */ e(a, {
|
|
29
|
+
resource: o,
|
|
30
|
+
className: p?.avatar,
|
|
31
|
+
color: h?.(o)
|
|
32
32
|
}),
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
class:
|
|
35
|
-
children: [/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ e("span", {
|
|
34
|
+
class: t("rv-resource-picker__details", p?.details),
|
|
35
|
+
children: [/* @__PURE__ */ e("strong", { children: o.name }), o.role ? /* @__PURE__ */ e("em", { children: o.role }) : null]
|
|
36
36
|
})
|
|
37
37
|
]
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
//#endregion
|
|
41
|
-
export {
|
|
41
|
+
export { o as ResourcePickerOption };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
|
|
2
|
+
import { t } from "../_chunks/popup-C35Isk7p.js";
|
|
3
3
|
//#region src/resource-picker/resource-picker-popup.tsx
|
|
4
4
|
function n({ triggerRef: n, portalTarget: r, popupId: i, children: a }) {
|
|
5
|
-
return /* @__PURE__ */ t
|
|
5
|
+
return /* @__PURE__ */ e(t, {
|
|
6
6
|
triggerRef: n,
|
|
7
7
|
portalTarget: r,
|
|
8
8
|
dropdownMenuId: i,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { h } from 'preact';
|
|
1
|
+
import { h } from '../_vendor/preact/src/index';
|
|
2
2
|
import { ResourcePickerId, ResourcePickerItem, SharedResourcePickerProps } from './resource-picker.types';
|
|
3
3
|
export declare function SharedResourcePicker<Id extends ResourcePickerId, Resource extends ResourcePickerItem<Id>>({ resources, selectedResourceIds, text, onChange, classNames, disabled, readOnly, presentation, multiple, preserveOrder, unassigned, resourceDataAttribute, isResourceDisabled, getAvatarColor, }: SharedResourcePickerProps<Id, Resource>): h.JSX.Element;
|