impact-nova 2.6.0-alpha.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -27
- package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +3 -28
- package/dist/components/data/ag-grid-react/cell-renderers/date-display-renderer.d.ts +3 -0
- package/dist/components/data/ag-grid-react/cell-renderers/date-display-renderer.js +38 -31
- package/dist/components/data/ag-grid-react/cell-renderers/input-display-renderer.d.ts +1 -1
- package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +65 -75
- package/dist/components/data/ag-grid-react/headers/advanced-filter/column-filter-section.d.ts +1 -1
- package/dist/components/data/ag-grid-react/headers/advanced-filter/column-filter-section.js +54 -54
- package/dist/components/data/ag-grid-react/headers/components/date-filter-picker.d.ts +1 -1
- package/dist/components/data/ag-grid-react/headers/components/header-info.d.ts +9 -3
- package/dist/components/data/ag-grid-react/headers/components/header-info.js +69 -61
- package/dist/components/data/ag-grid-react/headers/components/info-modal.js +8 -8
- package/dist/components/data/ag-grid-react/headers/header-search-input.js +119 -122
- package/dist/components/data/ag-grid-react/headers/utils/date-utils.d.ts +1 -2
- package/dist/components/data/ag-grid-react/headers/utils/date-utils.js +20 -25
- package/dist/components/data/ag-grid-react/headers/utils/filter-utils.d.ts +1 -1
- package/dist/components/data/ag-grid-react/index.d.ts +1 -1
- package/dist/components/data/ag-grid-react/index.js +254 -481
- package/dist/components/data/ag-grid-react/theme.js +2 -6
- package/dist/components/data/ag-grid-react/value-formatter.types.d.ts +0 -4
- package/dist/components/data/ag-grid-react/value-formatters.d.ts +19 -0
- package/dist/components/data/ag-grid-react/value-formatters.js +90 -88
- package/dist/components/data/data-table/build-column-tree-from-grid.d.ts +2 -0
- package/dist/components/data/data-table/build-column-tree-from-grid.js +64 -58
- package/dist/components/data/data-table/column-picker-authority.d.ts +35 -0
- package/dist/components/data/data-table/column-picker-authority.js +118 -0
- package/dist/components/data/data-table/column-picker-drop-validation.d.ts +7 -0
- package/dist/components/data/data-table/column-picker-drop-validation.js +37 -0
- package/dist/components/data/data-table/column-savability.d.ts +3 -0
- package/dist/components/data/data-table/column-savability.js +10 -0
- package/dist/components/data/data-table/data-table-column-apply.d.ts +2 -0
- package/dist/components/data/data-table/data-table-column-apply.js +84 -73
- package/dist/components/data/data-table/data-table-column-def-pin.js +31 -34
- package/dist/components/data/data-table/data-table-column-list-tree-apply.d.ts +10 -0
- package/dist/components/data/data-table/data-table-column-list-tree-apply.js +79 -0
- package/dist/components/data/data-table/data-table-column-list.js +122 -64
- package/dist/components/data/data-table/data-table-column-tree-cache.d.ts +12 -6
- package/dist/components/data/data-table/data-table-column-tree-cache.js +250 -131
- package/dist/components/data/data-table/data-table-context.js +5 -5
- package/dist/components/data/data-table/data-table-flat-column-virtual-rows.d.ts +27 -0
- package/dist/components/data/data-table/data-table-flat-column-virtual-rows.js +196 -0
- package/dist/components/data/data-table/data-table-picker-column-eligibility.d.ts +1 -0
- package/dist/components/data/data-table/data-table-picker-column-eligibility.js +7 -0
- package/dist/components/data/data-table/data-table-sheet-context.js +1 -1
- package/dist/components/data/data-table/data-table-sheet.js +1 -2
- package/dist/components/data/data-table/index.d.ts +2 -0
- package/dist/components/data/data-table/index.js +32 -28
- package/dist/components/data/data-table/patch-column-tree-indicators-from-grid.d.ts +5 -0
- package/dist/components/data/data-table/patch-column-tree-indicators-from-grid.js +28 -10
- package/dist/components/data/data-table/reconcile-column-tree-from-grid.d.ts +12 -0
- package/dist/components/data/data-table/reconcile-column-tree-from-grid.js +12 -0
- package/dist/components/data/data-table/use-data-table-column-list-sync.d.ts +10 -0
- package/dist/components/data/data-table/use-data-table-column-list-sync.js +250 -196
- package/dist/components/data/nested-list/components/NestedListContent.d.ts +10 -2
- package/dist/components/data/nested-list/components/NestedListContent.js +253 -138
- package/dist/components/data/nested-list/components/SortableItem.d.ts +2 -1
- package/dist/components/data/nested-list/components/SortableItem.js +62 -60
- package/dist/components/data/nested-list/hooks/useNestedListDragDrop.d.ts +10 -20
- package/dist/components/data/nested-list/hooks/useNestedListDragDrop.js +44 -233
- package/dist/components/data/nested-list/hooks/useVirtualNestedListDrag.d.ts +24 -0
- package/dist/components/data/nested-list/hooks/useVirtualNestedListDrag.js +128 -0
- package/dist/components/data/nested-list/nested-list-constants.d.ts +4 -1
- package/dist/components/data/nested-list/nested-list-constants.js +10 -4
- package/dist/components/data/nested-list/nested-list-display-utils.d.ts +11 -0
- package/dist/components/data/nested-list/nested-list-display-utils.js +74 -0
- package/dist/components/data/nested-list/nested-list-drop-engine.d.ts +31 -0
- package/dist/components/data/nested-list/nested-list-drop-engine.js +209 -0
- package/dist/components/data/nested-list/nested-list-flat-virtual-handlers.d.ts +26 -0
- package/dist/components/data/nested-list/nested-list-flat-virtual-handlers.js +67 -0
- package/dist/components/data/nested-list/nested-list-item-tree-mutations.d.ts +4 -0
- package/dist/components/data/nested-list/nested-list-item-tree-mutations.js +43 -0
- package/dist/components/data/nested-list/nested-list-lazy-flat-rows.d.ts +3 -0
- package/dist/components/data/nested-list/nested-list-lazy-flat-rows.js +34 -0
- package/dist/components/data/nested-list/nested-list-row-estimates.d.ts +9 -0
- package/dist/components/data/nested-list/nested-list-row-estimates.js +14 -0
- package/dist/components/data/nested-list/nested-list-scroll-anchor.d.ts +36 -0
- package/dist/components/data/nested-list/nested-list-scroll-anchor.js +47 -0
- package/dist/components/data/nested-list/nested-list-virtual-drop.d.ts +59 -0
- package/dist/components/data/nested-list/nested-list-virtual-drop.js +341 -0
- package/dist/components/data/nested-list/nested-list.js +322 -336
- package/dist/components/data/nested-list/nested-list.types.d.ts +17 -0
- package/dist/components/data-display/calendar/calendar-available-view.d.ts +6 -2
- package/dist/components/data-display/calendar/calendar-available-view.js +18 -19
- package/dist/components/data-display/calendar/calendar-config.js +21 -22
- package/dist/components/data-display/calendar/calendar-day-button.js +21 -21
- package/dist/components/data-display/calendar/calendar-day-picker-view.js +35 -36
- package/dist/components/data-display/calendar/calendar-fiscal-labels.d.ts +3 -3
- package/dist/components/data-display/calendar/calendar-fiscal-labels.js +62 -50
- package/dist/components/data-display/calendar/calendar-quarter-utils.js +12 -12
- package/dist/components/data-display/calendar/calendar-week-utils.d.ts +6 -0
- package/dist/components/data-display/calendar/calendar-week-utils.js +33 -33
- package/dist/components/data-display/calendar/calendar-year-panes.js +68 -58
- package/dist/components/data-display/calendar/calendar-year-utils.d.ts +13 -0
- package/dist/components/data-display/calendar/calendar-year-utils.js +59 -50
- package/dist/components/data-display/calendar/calendar.js +156 -153
- package/dist/components/data-display/calendar/fiscal-period-caption-select.js +22 -23
- package/dist/components/data-display/calendar/use-calendar-i18n.d.ts +0 -1
- package/dist/components/data-display/calendar/use-calendar-i18n.js +9 -10
- package/dist/components/data-display/chart/chart.js +72 -72
- package/dist/components/data-display/chart/chart.utils.d.ts +1 -1
- package/dist/components/data-display/chart/chart.utils.js +31 -40
- package/dist/components/feedback/sheet/sheet.js +1 -1
- package/dist/components/feedback/toast/toast.d.ts +1 -1
- package/dist/components/feedback/toast/toast.variants.d.ts +1 -1
- package/dist/components/flows/filter-panel/filter-panel.d.ts +1 -1
- package/dist/components/flows/filter-panel/filter-panel.js +64 -65
- package/dist/components/flows/filter-panel/filter-panel.types.d.ts +0 -1
- package/dist/components/flows/guidance/guidance-layer.js +34 -31
- package/dist/components/flows/guidance/hooks/useGuidanceOverlayGeometry.js +29 -20
- package/dist/components/flows/guidance/renderers/announcement-renderer.d.ts +1 -1
- package/dist/components/flows/guidance/renderers/announcement-renderer.js +74 -28
- package/dist/components/flows/guidance/renderers/guidance-action-tap-icon.d.ts +5 -0
- package/dist/components/flows/guidance/renderers/guidance-action-tap-icon.js +68 -0
- package/dist/components/flows/guidance/renderers/guidance-announcement-surface.d.ts +5 -0
- package/dist/components/flows/guidance/renderers/guidance-announcement-surface.js +76 -0
- package/dist/components/flows/guidance/renderers/guidance-card-shared.d.ts +43 -2
- package/dist/components/flows/guidance/renderers/guidance-card-shared.js +322 -99
- package/dist/components/flows/guidance/renderers/guidance-renderer-shared.d.ts +3 -0
- package/dist/components/flows/guidance/renderers/guidance-renderer-shared.js +189 -148
- package/dist/components/flows/guidance/renderers/guidance-shortcut-display.d.ts +9 -0
- package/dist/components/flows/guidance/renderers/guidance-shortcut-display.js +36 -0
- package/dist/components/flows/guidance/renderers/guidance-tour-overlay.d.ts +2 -1
- package/dist/components/flows/guidance/renderers/guidance-tour-overlay.js +152 -89
- package/dist/components/forms/date-picker/date-picker.js +126 -125
- package/dist/components/forms/date-picker/date-range-picker.js +192 -191
- package/dist/components/forms/date-picker/fiscal-pass-through.d.ts +6 -6
- package/dist/components/forms/date-picker/fiscal-pass-through.js +7 -3
- package/dist/components/forms/date-picker/multi-date-picker.js +67 -66
- package/dist/components/forms/date-picker/multi-quarter-picker.js +87 -87
- package/dist/components/forms/date-picker/multi-week-picker.js +83 -82
- package/dist/components/forms/date-picker/multi-year-picker.js +81 -81
- package/dist/components/forms/date-picker/quarter-range-picker.js +84 -84
- package/dist/components/forms/date-picker/week-picker.js +175 -174
- package/dist/components/forms/date-picker/week-range-picker.js +214 -213
- package/dist/components/forms/date-picker/year-range-picker.js +79 -79
- package/dist/components/ui/local-raster-icons/rasterIcons.d.ts +0 -1
- package/dist/components/ui/local-raster-icons/rasterIcons.js +25 -27
- package/dist/form-react/Fields/ChipsField.js +49 -48
- package/dist/form-react/Fields/DateRangeField.js +25 -25
- package/dist/form-react/Fields/MonthRangeField.js +57 -57
- package/dist/form-react/Fields/MultiMonthPickerField.js +28 -26
- package/dist/form-react/Fields/MultiWeekPickerField.js +41 -38
- package/dist/form-react/Fields/MultiYearPickerField.js +45 -45
- package/dist/form-react/Fields/SelectField.js +24 -26
- package/dist/form-react/Fields/TextFieldWithBackendValidation.js +27 -26
- package/dist/form-react/Fields/WeekRangePicker.js +18 -16
- package/dist/form-react/Fields/YearPickerField.js +27 -27
- package/dist/form-react/Fields/YearRangePickerField.js +29 -29
- package/dist/form-react/fields.d.ts +3 -0
- package/dist/form-react/fields.js +35 -29
- package/dist/form-react/types/fields.types.d.ts +39 -0
- package/dist/form-react/utils/date.utils.d.ts +52 -2
- package/dist/form-react/utils/date.utils.js +198 -62
- package/dist/i18n/defaultMessages.d.ts +5 -143
- package/dist/i18n/defaultMessages.js +25 -163
- package/dist/i18n/getDateFnsLocale.d.ts +4 -5
- package/dist/i18n/getDateFnsLocale.js +16 -46
- package/dist/i18n/i18n.types.d.ts +0 -13
- package/dist/i18n/impact-nova-i18n-context.d.ts +1 -1
- package/dist/i18n/impact-nova-i18n-context.js +25 -33
- package/dist/i18n/impact-nova-i18n-defaults.js +6 -8
- package/dist/i18n/index.d.ts +1 -4
- package/dist/i18n/index.js +16 -41
- package/dist/i18n/locales/de.js +3 -141
- package/dist/i18n/locales/es.js +3 -141
- package/dist/i18n/locales/hi.js +3 -141
- package/dist/i18n/locales/kn.js +3 -141
- package/dist/impact-nova-components.css +0 -249
- package/dist/impact-nova-tokens.scss +22 -6
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +603 -622
- package/dist/lib/fiscal-calendar/index.d.ts +2 -2
- package/dist/lib/fiscal-calendar/index.js +26 -24
- package/dist/lib/fiscal-calendar/week-selection.d.ts +5 -0
- package/dist/lib/fiscal-calendar/week-selection.js +56 -49
- package/dist/lib/guidance/engine/guidance-engine.d.ts +9 -0
- package/dist/lib/guidance/engine/guidance-engine.js +127 -65
- package/dist/lib/guidance/engine/manifest-validator.js +37 -30
- package/dist/lib/guidance/targets/target-resolver.d.ts +1 -1
- package/dist/lib/guidance/targets/target-resolver.js +32 -30
- package/dist/lib/guidance/types/guidance.types.d.ts +41 -0
- package/dist/lib/hash/fnv1a128.d.ts +16 -0
- package/dist/lib/hash/fnv1a128.js +21 -0
- package/dist/llms/index.js +2 -26
- package/dist/llms/rules/ag-grid.js +1 -1
- package/dist/llms/rules/best-practices.js +1 -1
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/migration.js +1 -1
- package/dist/llms/rules/real-world-patterns.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/dist/llms/rules/troubleshooting.js +1 -1
- package/dist/providers/app-providers.d.ts +1 -3
- package/dist/providers/app-providers.js +11 -22
- package/package.json +2 -13
- package/dist/components/data/ag-grid-react/chat/chat-capabilities.d.ts +0 -9
- package/dist/components/data/ag-grid-react/chat/chat-capabilities.js +0 -22
- package/dist/components/data/ag-grid-react/chat/chat-column.d.ts +0 -20
- package/dist/components/data/ag-grid-react/chat/chat-column.js +0 -81
- package/dist/components/data/ag-grid-react/chat/chat-composer.d.ts +0 -10
- package/dist/components/data/ag-grid-react/chat/chat-composer.js +0 -352
- package/dist/components/data/ag-grid-react/chat/chat-constants.d.ts +0 -17
- package/dist/components/data/ag-grid-react/chat/chat-constants.js +0 -22
- package/dist/components/data/ag-grid-react/chat/chat-format.d.ts +0 -41
- package/dist/components/data/ag-grid-react/chat/chat-format.js +0 -94
- package/dist/components/data/ag-grid-react/chat/chat-host.d.ts +0 -10
- package/dist/components/data/ag-grid-react/chat/chat-host.js +0 -651
- package/dist/components/data/ag-grid-react/chat/chat-host.types.d.ts +0 -13
- package/dist/components/data/ag-grid-react/chat/chat-html.d.ts +0 -2
- package/dist/components/data/ag-grid-react/chat/chat-html.js +0 -40
- package/dist/components/data/ag-grid-react/chat/chat-identity.d.ts +0 -13
- package/dist/components/data/ag-grid-react/chat/chat-identity.js +0 -24
- package/dist/components/data/ag-grid-react/chat/chat-menu.d.ts +0 -13
- package/dist/components/data/ag-grid-react/chat/chat-menu.js +0 -15
- package/dist/components/data/ag-grid-react/chat/chat-notify.d.ts +0 -17
- package/dist/components/data/ag-grid-react/chat/chat-notify.js +0 -124
- package/dist/components/data/ag-grid-react/chat/chat-persist.d.ts +0 -13
- package/dist/components/data/ag-grid-react/chat/chat-persist.js +0 -34
- package/dist/components/data/ag-grid-react/chat/chat-priority.d.ts +0 -13
- package/dist/components/data/ag-grid-react/chat/chat-priority.js +0 -79
- package/dist/components/data/ag-grid-react/chat/chat-summaries.d.ts +0 -2
- package/dist/components/data/ag-grid-react/chat/chat-summaries.js +0 -24
- package/dist/components/data/ag-grid-react/chat/chat-thread-ui.d.ts +0 -72
- package/dist/components/data/ag-grid-react/chat/chat-thread-ui.js +0 -713
- package/dist/components/data/ag-grid-react/chat/chat-toggle.d.ts +0 -6
- package/dist/components/data/ag-grid-react/chat/chat-toggle.js +0 -25
- package/dist/components/data/ag-grid-react/chat/chat-ui-actions.d.ts +0 -13
- package/dist/components/data/ag-grid-react/chat/chat-ui-actions.js +0 -26
- package/dist/components/data/ag-grid-react/chat/chat-window.d.ts +0 -14
- package/dist/components/data/ag-grid-react/chat/chat-window.js +0 -82
- package/dist/components/data/ag-grid-react/chat/chat-workspace.d.ts +0 -91
- package/dist/components/data/ag-grid-react/chat/chat-workspace.js +0 -555
- package/dist/components/data/ag-grid-react/chat/chat.types.d.ts +0 -319
- package/dist/components/data/ag-grid-react/chat/index.d.ts +0 -6
- package/dist/components/data/ag-grid-react/chat/index.js +0 -24
- package/dist/components/data/ag-grid-react/chat.story-data.d.ts +0 -34
- package/dist/components/data/ag-grid-react/chat.story-sources.d.ts +0 -4
- package/dist/components/data/ag-grid-react/comments/assets/comments-no-results.png.js +0 -4
- package/dist/components/data/ag-grid-react/comments/comment-mode-toggle.d.ts +0 -6
- package/dist/components/data/ag-grid-react/comments/comment-mode-toggle.js +0 -29
- package/dist/components/data/ag-grid-react/comments/comments-actions-menu.d.ts +0 -8
- package/dist/components/data/ag-grid-react/comments/comments-actions-menu.js +0 -18
- package/dist/components/data/ag-grid-react/comments/comments-ag-grid-presence.d.ts +0 -18
- package/dist/components/data/ag-grid-react/comments/comments-ag-grid-presence.js +0 -16
- package/dist/components/data/ag-grid-react/comments/comments-capabilities.d.ts +0 -11
- package/dist/components/data/ag-grid-react/comments/comments-capabilities.js +0 -26
- package/dist/components/data/ag-grid-react/comments/comments-constants.d.ts +0 -12
- package/dist/components/data/ag-grid-react/comments/comments-constants.js +0 -21
- package/dist/components/data/ag-grid-react/comments/comments-format.d.ts +0 -20
- package/dist/components/data/ag-grid-react/comments/comments-format.js +0 -49
- package/dist/components/data/ag-grid-react/comments/comments-generation.d.ts +0 -14
- package/dist/components/data/ag-grid-react/comments/comments-generation.js +0 -18
- package/dist/components/data/ag-grid-react/comments/comments-host.d.ts +0 -10
- package/dist/components/data/ag-grid-react/comments/comments-host.js +0 -343
- package/dist/components/data/ag-grid-react/comments/comments-host.types.d.ts +0 -18
- package/dist/components/data/ag-grid-react/comments/comments-identity.d.ts +0 -7
- package/dist/components/data/ag-grid-react/comments/comments-identity.js +0 -20
- package/dist/components/data/ag-grid-react/comments/comments-menu.d.ts +0 -29
- package/dist/components/data/ag-grid-react/comments/comments-menu.js +0 -35
- package/dist/components/data/ag-grid-react/comments/comments-overlay-anchor.d.ts +0 -22
- package/dist/components/data/ag-grid-react/comments/comments-overlay-anchor.js +0 -98
- package/dist/components/data/ag-grid-react/comments/comments-overlay.d.ts +0 -21
- package/dist/components/data/ag-grid-react/comments/comments-overlay.js +0 -406
- package/dist/components/data/ag-grid-react/comments/comments-panel.d.ts +0 -9
- package/dist/components/data/ag-grid-react/comments/comments-panel.js +0 -272
- package/dist/components/data/ag-grid-react/comments/comments-persist.d.ts +0 -11
- package/dist/components/data/ag-grid-react/comments/comments-persist.js +0 -19
- package/dist/components/data/ag-grid-react/comments/comments-reveal.d.ts +0 -11
- package/dist/components/data/ag-grid-react/comments/comments-reveal.js +0 -31
- package/dist/components/data/ag-grid-react/comments/comments-ui-actions.d.ts +0 -18
- package/dist/components/data/ag-grid-react/comments/comments-ui-actions.js +0 -22
- package/dist/components/data/ag-grid-react/comments/comments-window.d.ts +0 -10
- package/dist/components/data/ag-grid-react/comments/comments-window.js +0 -62
- package/dist/components/data/ag-grid-react/comments/comments.types.d.ts +0 -178
- package/dist/components/data/ag-grid-react/comments/index.d.ts +0 -5
- package/dist/components/data/ag-grid-react/comments/index.js +0 -15
- package/dist/components/data/ag-grid-react/comments-cell-renderers-showcase.d.ts +0 -25
- package/dist/components/data/ag-grid-react/comments.story-data.d.ts +0 -37
- package/dist/components/data/ag-grid-react/comments.story-sources.d.ts +0 -11
- package/dist/components/data/ag-grid-react/grid-cell-address.d.ts +0 -21
- package/dist/components/data/ag-grid-react/grid-cell-address.js +0 -21
- package/dist/components/data/ag-grid-react/grid-row-reveal.d.ts +0 -34
- package/dist/components/data/ag-grid-react/grid-row-reveal.js +0 -33
- package/dist/components/data/ag-grid-react/notes/index.d.ts +0 -2
- package/dist/components/data/ag-grid-react/notes/index.js +0 -1
- package/dist/components/data/ag-grid-react/notes/notes-ag-grid-adapter.d.ts +0 -25
- package/dist/components/data/ag-grid-react/notes/notes-ag-grid-adapter.js +0 -32
- package/dist/components/data/ag-grid-react/notes/notes-constants.d.ts +0 -2
- package/dist/components/data/ag-grid-react/notes/notes-constants.js +0 -4
- package/dist/components/data/ag-grid-react/notes/notes.types.d.ts +0 -12
- package/dist/components/data/ag-grid-react/notes.story-sources.d.ts +0 -7
- package/dist/components/data/ag-grid-react/nova-system-column.d.ts +0 -7
- package/dist/components/data/ag-grid-react/nova-system-column.js +0 -18
- package/dist/components/forms/date-picker/use-picker-i18n.d.ts +0 -6
- package/dist/components/forms/date-picker/use-picker-i18n.js +0 -11
- package/dist/components/ui/local-raster-icons/message3d.webp.js +0 -4
- package/dist/i18n/format/collator.d.ts +0 -1
- package/dist/i18n/format/collator.js +0 -7
- package/dist/i18n/format/date-pattern.d.ts +0 -5
- package/dist/i18n/format/date-pattern.js +0 -20
- package/dist/i18n/format/format-date.d.ts +0 -9
- package/dist/i18n/format/format-date.js +0 -56
- package/dist/i18n/format/format-number.d.ts +0 -20
- package/dist/i18n/format/format-number.js +0 -68
- package/dist/i18n/format/formatter-cache.d.ts +0 -9
- package/dist/i18n/format/formatter-cache.js +0 -66
- package/dist/i18n/format/index.d.ts +0 -6
- package/dist/i18n/format/parse-number.d.ts +0 -6
- package/dist/i18n/format/parse-number.js +0 -53
- package/dist/i18n/locale-config.d.ts +0 -28
- package/dist/i18n/locale-config.js +0 -32
- package/dist/i18n/week-start.d.ts +0 -6
- package/dist/i18n/week-start.js +0 -30
- package/dist/llms/rules/data-table-chat.js +0 -1
- package/dist/llms/rules/data-table-comments.js +0 -1
- package/dist/llms/rules/data-table-notes.js +0 -1
|
@@ -3,127 +3,128 @@ import * as a from "react";
|
|
|
3
3
|
import { Cross as _, CalendarMonth as ee } from "impact-nova-icons";
|
|
4
4
|
import { format as te } from "date-fns";
|
|
5
5
|
import { cn as re } from "../../../lib/utils.js";
|
|
6
|
-
import { Input as
|
|
7
|
-
import { Popover as
|
|
8
|
-
import { Calendar as
|
|
9
|
-
import { Tooltip as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
6
|
+
import { Input as oe } from "../input/input.js";
|
|
7
|
+
import { Popover as ne, PopoverAnchor as ae, PopoverContent as se } from "../../feedback/popover/popover.js";
|
|
8
|
+
import { Calendar as ie } from "../../data-display/calendar/calendar.js";
|
|
9
|
+
import { Tooltip as P, TooltipTrigger as C, TooltipContent as k } from "../../feedback/tooltip/tooltip.js";
|
|
10
|
+
import { useImpactNovaI18n as ce } from "../../../i18n/use-impact-nova-i18n.js";
|
|
11
|
+
import { getDateFnsLocale as le } from "../../../i18n/getDateFnsLocale.js";
|
|
12
|
+
import { coerceDateArrayApply as pe, coerceDateArray as de } from "./calendar-selection-adapters.js";
|
|
13
|
+
import { usePickerDismissActionsRef as fe, usePickerFooterDismissNudge as me, handlePickerSurfacePointerDown as ue } from "./date-input-behavior.js";
|
|
14
|
+
import { buildDateBoundsMatcher as he } from "../../../lib/date-bounds-matcher.js";
|
|
15
|
+
import { fiscalCalendarPassThrough as ye } from "./fiscal-pass-through.js";
|
|
15
16
|
const ge = a.forwardRef(
|
|
16
17
|
({
|
|
17
18
|
value: t,
|
|
18
19
|
onChange: m,
|
|
19
|
-
format:
|
|
20
|
-
placeholder:
|
|
20
|
+
format: x = "MM/dd/yyyy",
|
|
21
|
+
placeholder: M,
|
|
21
22
|
minDate: A,
|
|
22
|
-
maxDate:
|
|
23
|
-
startMonth:
|
|
23
|
+
maxDate: N,
|
|
24
|
+
startMonth: b,
|
|
24
25
|
endMonth: T,
|
|
25
26
|
showFooter: l = !0,
|
|
26
|
-
disabled:
|
|
27
|
-
className:
|
|
28
|
-
calendarKind:
|
|
29
|
-
fiscalMode:
|
|
30
|
-
granularity:
|
|
31
|
-
fiscalMonthPattern:
|
|
32
|
-
fiscalYearStartMonth:
|
|
27
|
+
disabled: o,
|
|
28
|
+
className: R,
|
|
29
|
+
calendarKind: S,
|
|
30
|
+
fiscalMode: F,
|
|
31
|
+
granularity: I,
|
|
32
|
+
fiscalMonthPattern: L,
|
|
33
|
+
fiscalYearStartMonth: j,
|
|
33
34
|
fiscalConfig: O,
|
|
34
35
|
showPresets: w,
|
|
35
36
|
showPeriodBoundaries: E,
|
|
36
|
-
autoNavigateToAvailable:
|
|
37
|
+
autoNavigateToAvailable: v,
|
|
37
38
|
comparison: z,
|
|
38
39
|
onComparisonChange: K,
|
|
39
40
|
...q
|
|
40
|
-
},
|
|
41
|
-
const {
|
|
41
|
+
}, B) => {
|
|
42
|
+
const { locale: h, t: s } = ce(), H = a.useMemo(() => le(h), [h]), V = M ?? s("datePicker.selectMultipleDates"), [i, n] = a.useState(!1), u = a.useRef(null), y = fe(), { footerFlashKey: $, footerFlashTarget: G, popoverHandlers: J } = me(l, i, y, u), [p, d] = a.useState(t);
|
|
42
43
|
a.useEffect(() => {
|
|
43
44
|
d(t);
|
|
44
|
-
}, [
|
|
45
|
+
}, [i, t]);
|
|
45
46
|
const Q = (e) => {
|
|
46
|
-
const c =
|
|
47
|
+
const c = de(e);
|
|
47
48
|
d(c), l || m?.(c);
|
|
48
49
|
}, U = (e) => {
|
|
49
|
-
const c =
|
|
50
|
-
m?.(c),
|
|
50
|
+
const c = pe(e, p);
|
|
51
|
+
m?.(c), n(!1);
|
|
51
52
|
}, g = () => {
|
|
52
|
-
d(t),
|
|
53
|
-
},
|
|
54
|
-
d(void 0), m?.(void 0), l ||
|
|
55
|
-
}, W = t && t.length > 0 ? t.length === 1 ? te(t[0],
|
|
53
|
+
d(t), n(!1);
|
|
54
|
+
}, D = () => {
|
|
55
|
+
d(void 0), m?.(void 0), l || n(!1);
|
|
56
|
+
}, W = t && t.length > 0 ? t.length === 1 ? te(t[0], x, { locale: H }) : `${t.length} dates selected` : "", X = a.useCallback(() => {
|
|
56
57
|
const e = p?.length ?? 0, c = t?.length ?? 0;
|
|
57
58
|
return e === c && (p ?? []).every(
|
|
58
59
|
(Y, Z) => Y.getTime() === t?.[Z]?.getTime()
|
|
59
60
|
) ? "dismiss" : e > 0 ? "apply" : "cancel";
|
|
60
61
|
}, [p, t]);
|
|
61
62
|
return a.useLayoutEffect(() => {
|
|
62
|
-
|
|
63
|
+
y.current = {
|
|
63
64
|
onDismiss: g,
|
|
64
65
|
resolveFlash: X
|
|
65
66
|
};
|
|
66
|
-
}), /* @__PURE__ */ f(
|
|
67
|
-
|
|
67
|
+
}), /* @__PURE__ */ f(ne, { open: o ? !1 : i, onOpenChange: (e) => {
|
|
68
|
+
o || !e && l || n(e);
|
|
68
69
|
}, children: [
|
|
69
70
|
/* @__PURE__ */ r(ae, { asChild: !0, children: /* @__PURE__ */ r(
|
|
70
71
|
"div",
|
|
71
72
|
{
|
|
72
73
|
ref: u,
|
|
73
|
-
onPointerDown: (e) =>
|
|
74
|
-
disabled:
|
|
74
|
+
onPointerDown: (e) => ue({
|
|
75
|
+
disabled: o,
|
|
75
76
|
event: e,
|
|
76
|
-
onOpen: () =>
|
|
77
|
+
onOpen: () => n(!0),
|
|
77
78
|
focusField: () => u.current?.querySelector("input")?.focus()
|
|
78
79
|
}),
|
|
79
80
|
children: /* @__PURE__ */ r(
|
|
80
|
-
|
|
81
|
+
oe,
|
|
81
82
|
{
|
|
82
|
-
ref:
|
|
83
|
+
ref: B,
|
|
83
84
|
value: W,
|
|
84
85
|
placeholder: V,
|
|
85
86
|
readOnly: !0,
|
|
86
|
-
disabled:
|
|
87
|
+
disabled: o,
|
|
87
88
|
onClick: () => {
|
|
88
|
-
!
|
|
89
|
+
!o && !i && n(!0);
|
|
89
90
|
},
|
|
90
|
-
className: re("cursor-pointer",
|
|
91
|
+
className: re("cursor-pointer", R),
|
|
91
92
|
suffix: /* @__PURE__ */ f("div", { className: "flex items-center gap-1", children: [
|
|
92
|
-
t && t.length > 0 && !
|
|
93
|
-
/* @__PURE__ */ r(
|
|
93
|
+
t && t.length > 0 && !o && /* @__PURE__ */ f(P, { children: [
|
|
94
|
+
/* @__PURE__ */ r(C, { asChild: !0, children: /* @__PURE__ */ r(
|
|
94
95
|
"button",
|
|
95
96
|
{
|
|
96
97
|
type: "button",
|
|
97
98
|
tabIndex: 0,
|
|
98
|
-
"aria-label":
|
|
99
|
+
"aria-label": s("calendar.clear"),
|
|
99
100
|
onClick: (e) => {
|
|
100
|
-
e.stopPropagation(),
|
|
101
|
+
e.stopPropagation(), D();
|
|
101
102
|
},
|
|
102
103
|
className: "inline-flex size-4 items-center justify-center bg-transparent border-none p-0 cursor-pointer",
|
|
103
104
|
children: /* @__PURE__ */ r(_, { className: "size-3 hover:text-content" })
|
|
104
105
|
}
|
|
105
106
|
) }),
|
|
106
|
-
/* @__PURE__ */ r(
|
|
107
|
+
/* @__PURE__ */ r(k, { variant: "tertiary", side: "top", children: s("calendar.clear") })
|
|
107
108
|
] }),
|
|
108
|
-
/* @__PURE__ */ f(
|
|
109
|
-
/* @__PURE__ */ r(
|
|
109
|
+
/* @__PURE__ */ f(P, { children: [
|
|
110
|
+
/* @__PURE__ */ r(C, { asChild: !0, children: /* @__PURE__ */ r(
|
|
110
111
|
"button",
|
|
111
112
|
{
|
|
112
113
|
type: "button",
|
|
113
114
|
tabIndex: 0,
|
|
114
115
|
"data-component": "calendar-trigger",
|
|
115
|
-
"aria-label":
|
|
116
|
+
"aria-label": s("datePicker.selectMultipleDates"),
|
|
116
117
|
onPointerDown: (e) => {
|
|
117
|
-
e.preventDefault(), e.stopPropagation(),
|
|
118
|
+
e.preventDefault(), e.stopPropagation(), o || n(!i);
|
|
118
119
|
},
|
|
119
120
|
onKeyDown: (e) => {
|
|
120
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(),
|
|
121
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), o || n(!i));
|
|
121
122
|
},
|
|
122
123
|
className: "inline-flex items-center justify-center bg-transparent border-none p-0 cursor-pointer",
|
|
123
124
|
children: /* @__PURE__ */ r(ee, { className: "h-4 w-4 text-secondary-foreground" })
|
|
124
125
|
}
|
|
125
126
|
) }),
|
|
126
|
-
/* @__PURE__ */ r(
|
|
127
|
+
/* @__PURE__ */ r(k, { variant: "tertiary", side: "top", children: s("datePicker.selectMultipleDates") })
|
|
127
128
|
] })
|
|
128
129
|
] }),
|
|
129
130
|
...q
|
|
@@ -132,39 +133,39 @@ const ge = a.forwardRef(
|
|
|
132
133
|
}
|
|
133
134
|
) }),
|
|
134
135
|
/* @__PURE__ */ r(
|
|
135
|
-
|
|
136
|
+
se,
|
|
136
137
|
{
|
|
137
138
|
className: "w-auto p-0",
|
|
138
139
|
align: "start",
|
|
139
|
-
"aria-label":
|
|
140
|
+
"aria-label": s("datePicker.selectMultipleDates"),
|
|
140
141
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
141
142
|
...J,
|
|
142
143
|
children: /* @__PURE__ */ r(
|
|
143
|
-
|
|
144
|
+
ie,
|
|
144
145
|
{
|
|
145
146
|
mode: "multiple",
|
|
146
147
|
selected: p,
|
|
147
148
|
footerFlashKey: $,
|
|
148
149
|
footerFlashTarget: G,
|
|
149
150
|
onSelect: Q,
|
|
150
|
-
disabled:
|
|
151
|
-
startMonth:
|
|
151
|
+
disabled: he(A, N),
|
|
152
|
+
startMonth: b,
|
|
152
153
|
endMonth: T,
|
|
153
154
|
showFooter: l,
|
|
154
155
|
onApply: U,
|
|
155
156
|
onCancel: g,
|
|
156
|
-
onClear:
|
|
157
|
+
onClear: D,
|
|
157
158
|
captionLayout: "dropdown",
|
|
158
|
-
...
|
|
159
|
-
calendarKind:
|
|
160
|
-
fiscalMode:
|
|
161
|
-
granularity:
|
|
162
|
-
fiscalMonthPattern:
|
|
163
|
-
fiscalYearStartMonth:
|
|
159
|
+
...ye({
|
|
160
|
+
calendarKind: S,
|
|
161
|
+
fiscalMode: F,
|
|
162
|
+
granularity: I,
|
|
163
|
+
fiscalMonthPattern: L,
|
|
164
|
+
fiscalYearStartMonth: j,
|
|
164
165
|
fiscalConfig: O,
|
|
165
166
|
showPresets: w,
|
|
166
167
|
showPeriodBoundaries: E,
|
|
167
|
-
autoNavigateToAvailable:
|
|
168
|
+
autoNavigateToAvailable: v,
|
|
168
169
|
comparison: z,
|
|
169
170
|
onComparisonChange: K
|
|
170
171
|
})
|
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import { Cross as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { Input as
|
|
6
|
-
import { Calendar as
|
|
3
|
+
import { Cross as $, CalendarMonth as ee } from "impact-nova-icons";
|
|
4
|
+
import { cn as te } from "../../../lib/utils.js";
|
|
5
|
+
import { Input as re } from "../input/input.js";
|
|
6
|
+
import { Calendar as ne } from "../../data-display/calendar/calendar.js";
|
|
7
7
|
import { Tooltip as M, TooltipTrigger as x, TooltipContent as b } from "../../feedback/tooltip/tooltip.js";
|
|
8
|
-
import { useImpactNovaI18n as
|
|
9
|
-
import { buildDateBoundsMatcher as
|
|
10
|
-
import { fiscalCalendarPassThrough as
|
|
11
|
-
import { DatePickerShell as
|
|
12
|
-
import { usePickerDismissActionsRef as ce, usePickerFooterDismissNudge as se, handleReadonlyPickerKeyDown as
|
|
13
|
-
import { formatQuarterInput as
|
|
8
|
+
import { useImpactNovaI18n as oe } from "../../../i18n/use-impact-nova-i18n.js";
|
|
9
|
+
import { buildDateBoundsMatcher as ae } from "../../../lib/date-bounds-matcher.js";
|
|
10
|
+
import { fiscalCalendarPassThrough as ie } from "./fiscal-pass-through.js";
|
|
11
|
+
import { DatePickerShell as le } from "./date-picker-shell.js";
|
|
12
|
+
import { usePickerDismissActionsRef as ce, usePickerFooterDismissNudge as se, handleReadonlyPickerKeyDown as ue, handlePickerSurfacePointerDown as pe } from "./date-input-behavior.js";
|
|
13
|
+
import { formatQuarterInput as de } from "../../data-display/calendar/calendar-fiscal-labels.js";
|
|
14
14
|
import { viewMonthFromQuarter as fe } from "../../data-display/calendar/calendar-quarter-utils.js";
|
|
15
|
-
const
|
|
15
|
+
const me = n.forwardRef(
|
|
16
16
|
({
|
|
17
|
-
value:
|
|
18
|
-
onChange:
|
|
19
|
-
placeholder:
|
|
20
|
-
minDate:
|
|
21
|
-
maxDate:
|
|
22
|
-
startMonth:
|
|
23
|
-
endMonth:
|
|
24
|
-
showFooter:
|
|
17
|
+
value: g,
|
|
18
|
+
onChange: p,
|
|
19
|
+
placeholder: Q,
|
|
20
|
+
minDate: R,
|
|
21
|
+
maxDate: D,
|
|
22
|
+
startMonth: A,
|
|
23
|
+
endMonth: N,
|
|
24
|
+
showFooter: c = !0,
|
|
25
25
|
disabled: o,
|
|
26
|
-
className:
|
|
26
|
+
className: S,
|
|
27
27
|
calendarKind: I,
|
|
28
28
|
fiscalMode: O,
|
|
29
29
|
granularity: T,
|
|
30
30
|
fiscalMonthPattern: w,
|
|
31
|
-
fiscalYearStartMonth:
|
|
32
|
-
fiscalConfig:
|
|
33
|
-
weekStartsOn:
|
|
34
|
-
showPresets:
|
|
35
|
-
showPeriodBoundaries:
|
|
36
|
-
autoNavigateToAvailable:
|
|
37
|
-
...
|
|
38
|
-
},
|
|
39
|
-
const { t: a } =
|
|
40
|
-
n.useImperativeHandle(
|
|
41
|
-
const [i,
|
|
31
|
+
fiscalYearStartMonth: K,
|
|
32
|
+
fiscalConfig: j,
|
|
33
|
+
weekStartsOn: F,
|
|
34
|
+
showPresets: z,
|
|
35
|
+
showPeriodBoundaries: E,
|
|
36
|
+
autoNavigateToAvailable: H,
|
|
37
|
+
...L
|
|
38
|
+
}, V) => {
|
|
39
|
+
const { t: a } = oe(), q = Q ?? a("datePicker.selectMultipleQuarters"), d = n.useRef(null), k = n.useRef(null);
|
|
40
|
+
n.useImperativeHandle(V, () => d.current);
|
|
41
|
+
const [i, l] = n.useState(!1), f = n.useRef(!1), P = ce(), { footerFlashKey: B, footerFlashTarget: G, popoverHandlers: J } = se(c, i, P, k), t = Array.isArray(g) ? g : void 0, [v, s] = n.useState(t), [U, W] = n.useState(fe(t?.[0]));
|
|
42
42
|
n.useEffect(() => {
|
|
43
|
-
i ||
|
|
43
|
+
i || s(t);
|
|
44
44
|
}, [i, t]);
|
|
45
|
-
const m = n.useCallback(() =>
|
|
45
|
+
const m = n.useCallback(() => l(!1), []), X = ie({
|
|
46
46
|
calendarKind: I,
|
|
47
47
|
fiscalMode: O,
|
|
48
48
|
granularity: T,
|
|
49
49
|
fiscalMonthPattern: w,
|
|
50
|
-
fiscalYearStartMonth:
|
|
51
|
-
fiscalConfig:
|
|
52
|
-
weekStartsOn:
|
|
53
|
-
showPresets:
|
|
54
|
-
showPeriodBoundaries:
|
|
55
|
-
autoNavigateToAvailable:
|
|
56
|
-
}),
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
50
|
+
fiscalYearStartMonth: K,
|
|
51
|
+
fiscalConfig: j,
|
|
52
|
+
weekStartsOn: F,
|
|
53
|
+
showPresets: z,
|
|
54
|
+
showPeriodBoundaries: E,
|
|
55
|
+
autoNavigateToAvailable: H
|
|
56
|
+
}), Y = (e) => {
|
|
57
|
+
const u = Array.isArray(e) && e.length > 0 ? e : void 0;
|
|
58
|
+
s(u), c || p?.(u);
|
|
59
|
+
}, Z = () => {
|
|
60
|
+
p?.(v), m();
|
|
61
61
|
}, h = () => {
|
|
62
|
-
|
|
62
|
+
s(t), m();
|
|
63
63
|
}, C = () => {
|
|
64
|
-
|
|
64
|
+
s(void 0), p?.(void 0), c || m();
|
|
65
65
|
};
|
|
66
66
|
n.useLayoutEffect(() => {
|
|
67
|
-
|
|
67
|
+
P.current = { onDismiss: h, resolveFlash: () => "cancel" };
|
|
68
68
|
});
|
|
69
|
-
const
|
|
69
|
+
const _ = t && t.length > 0 ? t.length === 1 ? de(t[0]) : a("datePicker.quartersSelected", { count: t.length }) : "";
|
|
70
70
|
return /* @__PURE__ */ r(
|
|
71
|
-
|
|
71
|
+
le,
|
|
72
72
|
{
|
|
73
73
|
open: i,
|
|
74
74
|
disabled: o,
|
|
75
75
|
ariaLabel: a("datePicker.selectMultipleQuarters"),
|
|
76
76
|
onOpenChange: (e) => {
|
|
77
|
-
o ||
|
|
77
|
+
o || l(e);
|
|
78
78
|
},
|
|
79
79
|
onOpenAutoFocus: (e) => {
|
|
80
|
-
|
|
80
|
+
f.current || e.preventDefault(), f.current = !1;
|
|
81
81
|
},
|
|
82
|
-
popoverHandlers:
|
|
82
|
+
popoverHandlers: J,
|
|
83
83
|
trigger: /* @__PURE__ */ r(
|
|
84
84
|
"div",
|
|
85
85
|
{
|
|
86
|
-
ref:
|
|
86
|
+
ref: k,
|
|
87
87
|
"data-component": "multi-quarter-picker",
|
|
88
88
|
"data-state": i ? "open" : "closed",
|
|
89
89
|
onPointerDown: (e) => pe({
|
|
90
90
|
disabled: o,
|
|
91
91
|
event: e,
|
|
92
|
-
onOpen: () =>
|
|
93
|
-
focusField: () =>
|
|
92
|
+
onOpen: () => l(!0),
|
|
93
|
+
focusField: () => d.current?.focus()
|
|
94
94
|
}),
|
|
95
95
|
children: /* @__PURE__ */ r(
|
|
96
|
-
|
|
96
|
+
re,
|
|
97
97
|
{
|
|
98
|
-
ref:
|
|
99
|
-
value:
|
|
98
|
+
ref: d,
|
|
99
|
+
value: _,
|
|
100
100
|
readOnly: !0,
|
|
101
|
-
onKeyDown: (e) =>
|
|
101
|
+
onKeyDown: (e) => ue(e, {
|
|
102
102
|
disabled: o,
|
|
103
103
|
open: i,
|
|
104
|
-
onOpen: () =>
|
|
104
|
+
onOpen: () => l(!0),
|
|
105
105
|
onCancel: h,
|
|
106
106
|
onKeyboardOpen: () => {
|
|
107
|
-
|
|
107
|
+
f.current = !0;
|
|
108
108
|
}
|
|
109
109
|
}),
|
|
110
|
-
onClick: () => !o &&
|
|
111
|
-
placeholder:
|
|
110
|
+
onClick: () => !o && l(!0),
|
|
111
|
+
placeholder: q,
|
|
112
112
|
disabled: o,
|
|
113
113
|
"data-form-control": "input",
|
|
114
|
-
className:
|
|
115
|
-
suffix: /* @__PURE__ */
|
|
116
|
-
t && t.length > 0 && !o ? /* @__PURE__ */
|
|
114
|
+
className: te("cursor-pointer", S),
|
|
115
|
+
suffix: /* @__PURE__ */ y("div", { className: "flex items-center gap-1", children: [
|
|
116
|
+
t && t.length > 0 && !o ? /* @__PURE__ */ y(M, { children: [
|
|
117
117
|
/* @__PURE__ */ r(x, { asChild: !0, children: /* @__PURE__ */ r(
|
|
118
118
|
"button",
|
|
119
119
|
{
|
|
@@ -124,12 +124,12 @@ const de = n.forwardRef(
|
|
|
124
124
|
e.stopPropagation(), C();
|
|
125
125
|
},
|
|
126
126
|
className: "inline-flex size-4 items-center justify-center border-none bg-transparent p-0",
|
|
127
|
-
children: /* @__PURE__ */ r(
|
|
127
|
+
children: /* @__PURE__ */ r($, { className: "size-3 hover:text-content" })
|
|
128
128
|
}
|
|
129
129
|
) }),
|
|
130
130
|
/* @__PURE__ */ r(b, { variant: "tertiary", side: "top", children: a("calendar.clear") })
|
|
131
131
|
] }) : null,
|
|
132
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ y(M, { children: [
|
|
133
133
|
/* @__PURE__ */ r(x, { asChild: !0, children: /* @__PURE__ */ r(
|
|
134
134
|
"button",
|
|
135
135
|
{
|
|
@@ -138,46 +138,46 @@ const de = n.forwardRef(
|
|
|
138
138
|
"data-component": "calendar-trigger",
|
|
139
139
|
"aria-label": a("datePicker.selectMultipleQuarters"),
|
|
140
140
|
onClick: (e) => {
|
|
141
|
-
e.stopPropagation(), o ||
|
|
141
|
+
e.stopPropagation(), o || l((u) => !u);
|
|
142
142
|
},
|
|
143
143
|
className: "inline-flex items-center justify-center border-none bg-transparent p-0",
|
|
144
|
-
children: /* @__PURE__ */ r(
|
|
144
|
+
children: /* @__PURE__ */ r(ee, { className: "h-4 w-4 text-secondary-foreground" })
|
|
145
145
|
}
|
|
146
146
|
) }),
|
|
147
147
|
/* @__PURE__ */ r(b, { variant: "tertiary", side: "top", children: a("datePicker.selectMultipleQuarters") })
|
|
148
148
|
] })
|
|
149
149
|
] }),
|
|
150
|
-
...
|
|
150
|
+
...L
|
|
151
151
|
}
|
|
152
152
|
)
|
|
153
153
|
}
|
|
154
154
|
),
|
|
155
155
|
children: /* @__PURE__ */ r(
|
|
156
|
-
|
|
156
|
+
ne,
|
|
157
157
|
{
|
|
158
158
|
pickerType: "quarter",
|
|
159
159
|
monthMode: "multiple",
|
|
160
|
-
selectedQuarters:
|
|
161
|
-
footerFlashKey:
|
|
162
|
-
footerFlashTarget:
|
|
163
|
-
onQuarterSelect:
|
|
164
|
-
month:
|
|
165
|
-
onMonthChange:
|
|
166
|
-
disabled:
|
|
167
|
-
startMonth:
|
|
168
|
-
endMonth:
|
|
169
|
-
showFooter:
|
|
170
|
-
onApply:
|
|
160
|
+
selectedQuarters: v,
|
|
161
|
+
footerFlashKey: B,
|
|
162
|
+
footerFlashTarget: G,
|
|
163
|
+
onQuarterSelect: Y,
|
|
164
|
+
month: U,
|
|
165
|
+
onMonthChange: W,
|
|
166
|
+
disabled: ae(R, D),
|
|
167
|
+
startMonth: A,
|
|
168
|
+
endMonth: N,
|
|
169
|
+
showFooter: c,
|
|
170
|
+
onApply: Z,
|
|
171
171
|
onCancel: h,
|
|
172
172
|
onClear: C,
|
|
173
|
-
...
|
|
173
|
+
...X
|
|
174
174
|
}
|
|
175
175
|
)
|
|
176
176
|
}
|
|
177
177
|
);
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
|
-
|
|
180
|
+
me.displayName = "MultiQuarterPicker";
|
|
181
181
|
export {
|
|
182
|
-
|
|
182
|
+
me as MultiQuarterPicker
|
|
183
183
|
};
|