@cube-dev/ui-kit 0.188.0 → 0.189.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 +4 -0
- package/dist/CHANGELOG.md +14 -0
- package/dist/README.md +4 -0
- package/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +3 -6
- package/dist/components/GlobalStyles.js.map +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.js +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +40 -19
- package/dist/components/actions/ButtonSplit/ButtonSplit.js.map +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +4 -7
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js.map +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuSection.js +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/styled.js +4 -6
- package/dist/components/actions/Menu/styled.js.map +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.js +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/Alert.js.map +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Badge/Badge.js.map +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +53 -78
- package/dist/components/content/Disclosure/Disclosure.js.map +1 -1
- package/dist/components/content/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.js +11 -10
- package/dist/components/content/Item/Item.js.map +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Paragraph.js +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +13 -22
- package/dist/components/content/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.d.ts +34 -4
- package/dist/components/content/Result/Result.js +199 -95
- package/dist/components/content/Result/Result.js.map +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +3 -5
- package/dist/components/content/Tag/Tag.js.map +1 -1
- package/dist/components/content/Text.d.ts +14 -14
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.d.ts +2 -0
- package/dist/components/content/Title.js +1 -1
- package/dist/components/content/Title.js.map +1 -1
- package/dist/components/content/Tree/Tree.js +1 -1
- package/dist/components/content/Tree/TreeNode.js +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/styled.js.map +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/data/DataTable/DataTable.js +3 -6
- package/dist/components/data/DataTable/DataTable.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTable.js +3 -6
- package/dist/components/data/ItemTable/ItemTable.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/data/TableBase/ColumnResizer.js +1 -1
- package/dist/components/data/TableBase/RowCollection.js +1 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/data/TableBase/TableRow.js +1 -1
- package/dist/components/data/TableBase/TableView.js +1 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-styles.js +1 -1
- package/dist/components/data/TableBase/column-tint.js +1 -1
- package/dist/components/data/TableBase/row-menu.js +1 -1
- package/dist/components/data/TableBase/styled.js +8 -10
- package/dist/components/data/TableBase/styled.js.map +1 -1
- package/dist/components/data/TableBase/table-tree.js +1 -1
- package/dist/components/data/TableBase/types.js +1 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-column-order.js +1 -1
- package/dist/components/data/TableBase/use-container-width.js +1 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/data/TableBase/use-scrollability.js +1 -1
- package/dist/components/data/TableBase/use-table-columns.js +1 -1
- package/dist/components/data/TableBase/use-table-search.js +1 -1
- package/dist/components/data/TableBase/use-table-selection.js +1 -1
- package/dist/components/data/TableBase/use-table-sort.js +1 -1
- package/dist/components/data/TableBase/use-table-sorts.js +1 -1
- package/dist/components/data/TableBase/use-table-storage.js +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.js +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/fields/ComboBox/ComboBox.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +3 -5
- package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePicker.js +119 -129
- package/dist/components/fields/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.js +128 -138
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +321 -331
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.js +163 -179
- package/dist/components/fields/DatePicker/PeriodPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js +5 -6
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/fields/Input/Input.js +1 -1
- package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
- package/dist/components/fields/ListBox/ListBox.js +1 -1
- package/dist/components/fields/ListBox/optionId.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/fields/Picker/Picker.js +5 -6
- package/dist/components/fields/Picker/Picker.js.map +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +1 -1
- package/dist/components/fields/Select/Select.js +68 -66
- package/dist/components/fields/Select/Select.js.map +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +33 -43
- package/dist/components/fields/Slider/HueSlider.js.map +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TagInput/TagInput.js +1 -1
- package/dist/components/fields/TagInput/TagList.js +1 -1
- package/dist/components/fields/TextArea/TextArea.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/fields/TriggerActions.js +1 -1
- package/dist/components/fields/color/ColorPanel.js +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/ModernFormRoot.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitError.js +1 -1
- package/dist/components/form/Form/backend.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/modern/actions.js +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/react.js +1 -1
- package/dist/components/form/Form/modern/store.js +1 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/reset-unbound-controls.js +1 -1
- package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +1 -1
- package/dist/components/form/Form/use-field/use-field.js +1 -1
- package/dist/components/form/Form/use-form.js +1 -1
- package/dist/components/form/Form/validation.js +1 -1
- package/dist/components/form/Label.js +1 -1
- package/dist/components/form/legacy-tooltip.js +1 -1
- package/dist/components/form/validation/ValidationIndicator.js +1 -1
- package/dist/components/form/validation/resolve-validation-props.js +1 -1
- package/dist/components/form/validation/use-validation-props.js +1 -1
- package/dist/components/form/wrapper.js +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/layout/Board/Board.js +2 -2
- package/dist/components/layout/Board/Board.js.map +1 -1
- package/dist/components/layout/Board/BoardProvider.js +1 -1
- package/dist/components/layout/Board/BoardResponsive.js +1 -1
- package/dist/components/layout/Board/Widget.js +1 -1
- package/dist/components/layout/Board/WidgetHost.js +4 -4
- package/dist/components/layout/Board/WidgetHost.js.map +1 -1
- package/dist/components/layout/Board/board-context.js +1 -1
- package/dist/components/layout/Board/board-store.js +1 -1
- package/dist/components/layout/Board/grid-core/calculate.js +1 -1
- package/dist/components/layout/Board/grid-core/collision-modes.js +1 -1
- package/dist/components/layout/Board/grid-core/collision.js +1 -1
- package/dist/components/layout/Board/grid-core/compactors.js +1 -1
- package/dist/components/layout/Board/grid-core/constraints.js +1 -1
- package/dist/components/layout/Board/grid-core/group-move.js +1 -1
- package/dist/components/layout/Board/grid-core/layout.js +1 -1
- package/dist/components/layout/Board/grid-core/placement.js +1 -1
- package/dist/components/layout/Board/grid-core/sort.js +1 -1
- package/dist/components/layout/Board/index.js +1 -1
- package/dist/components/layout/Board/responsive-utils.js +1 -1
- package/dist/components/layout/Board/use-board-layout.js +1 -1
- package/dist/components/layout/Board/use-board-registry.js +1 -1
- package/dist/components/layout/Board/use-board-select-modifier-key.js +1 -1
- package/dist/components/layout/Board/use-board-selection.js +1 -1
- package/dist/components/layout/Flex.js +1 -1
- package/dist/components/layout/Flow.js +1 -1
- package/dist/components/layout/Grid.js +1 -1
- package/dist/components/layout/Panel.js +1 -1
- package/dist/components/layout/Prefix.js +1 -1
- package/dist/components/layout/ResizablePanel.js +1 -1
- package/dist/components/layout/Space.js +1 -1
- package/dist/components/layout/Suffix.js +1 -1
- package/dist/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/components/navigation/Pagination/use-pagination.js +1 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js.map +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js.map +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js.map +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +57 -50
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +52 -48
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +99 -104
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +1 -1
- package/dist/components/overlays/AlertDialog/index.d.ts +2 -1
- package/dist/components/overlays/Dialog/Dialog.js +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/default-button-text.js +1 -1
- package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +2 -2
- package/dist/components/overlays/Modal/Popover.js.map +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Tray.js.map +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/overlays/Tooltip/split-trigger-props.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/portal/PortalProvider.js +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/shared/DraggableCollection.js +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.js +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +17 -1
- package/dist/eslint-plugin/defaults.generated.js.map +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +1 -1
- package/dist/i18n/locales/en-US/uikit.js +1 -1
- package/dist/i18n/locales/es-ES/uikit.js +1 -1
- package/dist/i18n/locales/es-MX/uikit.js +1 -1
- package/dist/i18n/locales/fr-FR/uikit.js +1 -1
- package/dist/i18n/locales/it-IT/uikit.js +1 -1
- package/dist/i18n/locales/ja-JP/uikit.js +1 -1
- package/dist/i18n/locales/nb-NO/uikit.js +1 -1
- package/dist/i18n/locales/pt-BR/uikit.js +1 -1
- package/dist/i18n/locales/pt-PT/uikit.js +1 -1
- package/dist/i18n/locales/sv-SE/uikit.js +1 -1
- package/dist/i18n/locales/vi-VN/uikit.js +1 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-theme.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/resolve.js +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/typography.js +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/react/RenderCache.js +1 -1
- package/dist/utils/react/Slots.js +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/disabledProps.js +1 -1
- package/dist/utils/react/escapePropagation.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.js +1 -1
- package/dist/utils/react/interactions.js +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.js +1 -1
- package/dist/utils/react/useCombinedRefs.js +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +1 -1
- package/dist/utils/react/useEventBus.js +1 -1
- package/dist/utils/react/useId.js +1 -1
- package/dist/utils/react/useIsDarwin.js +1 -1
- package/dist/utils/react/useKeySymbols.js +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLocalStorage.js +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useScheme.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/styles.js +51 -6
- package/dist/utils/styles.js.map +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/version.js +3 -3
- package/docs/components/content/Result.md +202 -12
- package/docs/components/content/Title.md +1 -0
- package/docs/components/overlays/AlertDialog.md +97 -0
- package/docs/tasty/dsl.md +28 -6
- package/docs/tasty/styles.md +20 -0
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
2
|
-
import { extractStyles } from "../../../utils/styles.js";
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.189.0 | Cube Dev Team */
|
|
2
|
+
import { extractStyles, mergeStyleLayers } from "../../../utils/styles.js";
|
|
3
3
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
4
4
|
import { useI18n } from "../../../i18n/useI18n.js";
|
|
5
5
|
import { Dialog } from "../../overlays/Dialog/Dialog.js";
|
|
@@ -32,7 +32,7 @@ const DateRangeDash = tasty({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
function DateRangeSeparatedPicker(props, ref) {
|
|
35
|
-
const $ = c(
|
|
35
|
+
const $ = c(139);
|
|
36
36
|
const { t } = useI18n();
|
|
37
37
|
let t0;
|
|
38
38
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -43,7 +43,7 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
43
43
|
let t1;
|
|
44
44
|
if ($[1] !== props) {
|
|
45
45
|
props = Object.assign({}, DEFAULT_DATE_PROPS, props);
|
|
46
|
-
t1 = extractStyles(props, CONTAINER_STYLES);
|
|
46
|
+
t1 = mergeStyleLayers(extractStyles(props, CONTAINER_STYLES), props.wrapperStyles);
|
|
47
47
|
$[1] = props;
|
|
48
48
|
$[2] = t1;
|
|
49
49
|
$[3] = props;
|
|
@@ -51,96 +51,86 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
51
51
|
t1 = $[2];
|
|
52
52
|
props = $[3];
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
if ($[4] !== props.wrapperStyles || $[5] !== t1) {
|
|
56
|
-
t2 = {
|
|
57
|
-
...t1,
|
|
58
|
-
...props.wrapperStyles
|
|
59
|
-
};
|
|
60
|
-
$[4] = props.wrapperStyles;
|
|
61
|
-
$[5] = t1;
|
|
62
|
-
$[6] = t2;
|
|
63
|
-
} else t2 = $[6];
|
|
64
|
-
const styles = t2;
|
|
54
|
+
const styles = t1;
|
|
65
55
|
const { qa, size, placeholderValue, isDisabled, isInvalid, isValid, useLocale: useLocaleProp, autoFocus } = props;
|
|
66
56
|
const targetRef = useRef(null);
|
|
67
|
-
let
|
|
68
|
-
if ($[
|
|
69
|
-
|
|
70
|
-
$[
|
|
71
|
-
$[
|
|
72
|
-
} else
|
|
73
|
-
const state = useDateRangePickerState(
|
|
74
|
-
const
|
|
75
|
-
let
|
|
76
|
-
if ($[
|
|
77
|
-
|
|
57
|
+
let t2;
|
|
58
|
+
if ($[4] !== props) {
|
|
59
|
+
t2 = { ...props };
|
|
60
|
+
$[4] = props;
|
|
61
|
+
$[5] = t2;
|
|
62
|
+
} else t2 = $[5];
|
|
63
|
+
const state = useDateRangePickerState(t2);
|
|
64
|
+
const t3 = state.value?.start;
|
|
65
|
+
let t4;
|
|
66
|
+
if ($[6] !== props || $[7] !== t3) {
|
|
67
|
+
t4 = {
|
|
78
68
|
...props,
|
|
79
69
|
onChange: null,
|
|
80
|
-
value:
|
|
70
|
+
value: t3
|
|
81
71
|
};
|
|
82
|
-
$[
|
|
83
|
-
$[
|
|
84
|
-
$[
|
|
85
|
-
} else
|
|
86
|
-
const startState = useDatePickerState(
|
|
87
|
-
const
|
|
88
|
-
let
|
|
89
|
-
if ($[
|
|
90
|
-
|
|
72
|
+
$[6] = props;
|
|
73
|
+
$[7] = t3;
|
|
74
|
+
$[8] = t4;
|
|
75
|
+
} else t4 = $[8];
|
|
76
|
+
const startState = useDatePickerState(t4);
|
|
77
|
+
const t5 = state.value?.end;
|
|
78
|
+
let t6;
|
|
79
|
+
if ($[9] !== props || $[10] !== t5) {
|
|
80
|
+
t6 = {
|
|
91
81
|
...props,
|
|
92
82
|
onChange: null,
|
|
93
|
-
value:
|
|
83
|
+
value: t5
|
|
94
84
|
};
|
|
95
|
-
$[
|
|
96
|
-
$[
|
|
97
|
-
$[
|
|
98
|
-
} else
|
|
99
|
-
const endState = useDatePickerState(
|
|
100
|
-
let
|
|
101
|
-
if ($[
|
|
102
|
-
|
|
85
|
+
$[9] = props;
|
|
86
|
+
$[10] = t5;
|
|
87
|
+
$[11] = t6;
|
|
88
|
+
} else t6 = $[11];
|
|
89
|
+
const endState = useDatePickerState(t6);
|
|
90
|
+
let t7;
|
|
91
|
+
if ($[12] !== autoFocus) {
|
|
92
|
+
t7 = {
|
|
103
93
|
within: true,
|
|
104
94
|
isTextInput: true,
|
|
105
95
|
autoFocus
|
|
106
96
|
};
|
|
107
|
-
$[
|
|
108
|
-
$[
|
|
109
|
-
} else
|
|
110
|
-
const startFocusRingProps = useFocusRing(
|
|
111
|
-
let
|
|
112
|
-
if ($[
|
|
113
|
-
|
|
97
|
+
$[12] = autoFocus;
|
|
98
|
+
$[13] = t7;
|
|
99
|
+
} else t7 = $[13];
|
|
100
|
+
const startFocusRingProps = useFocusRing(t7);
|
|
101
|
+
let t8;
|
|
102
|
+
if ($[14] !== autoFocus) {
|
|
103
|
+
t8 = {
|
|
114
104
|
within: false,
|
|
115
105
|
isTextInput: false,
|
|
116
106
|
autoFocus
|
|
117
107
|
};
|
|
118
|
-
$[
|
|
119
|
-
$[
|
|
120
|
-
} else
|
|
121
|
-
const startFocusProps = useFocusRing(
|
|
122
|
-
let
|
|
123
|
-
if ($[
|
|
124
|
-
|
|
108
|
+
$[14] = autoFocus;
|
|
109
|
+
$[15] = t8;
|
|
110
|
+
} else t8 = $[15];
|
|
111
|
+
const startFocusProps = useFocusRing(t8);
|
|
112
|
+
let t9;
|
|
113
|
+
if ($[16] !== autoFocus) {
|
|
114
|
+
t9 = {
|
|
125
115
|
within: true,
|
|
126
116
|
isTextInput: true,
|
|
127
117
|
autoFocus
|
|
128
118
|
};
|
|
129
|
-
$[
|
|
130
|
-
$[
|
|
131
|
-
} else
|
|
132
|
-
const endFocusRingProps = useFocusRing(
|
|
133
|
-
let
|
|
134
|
-
if ($[
|
|
135
|
-
|
|
119
|
+
$[16] = autoFocus;
|
|
120
|
+
$[17] = t9;
|
|
121
|
+
} else t9 = $[17];
|
|
122
|
+
const endFocusRingProps = useFocusRing(t9);
|
|
123
|
+
let t10;
|
|
124
|
+
if ($[18] !== autoFocus) {
|
|
125
|
+
t10 = {
|
|
136
126
|
within: false,
|
|
137
127
|
isTextInput: false,
|
|
138
128
|
autoFocus
|
|
139
129
|
};
|
|
140
|
-
$[
|
|
141
|
-
$[
|
|
142
|
-
} else
|
|
143
|
-
const endFocusProps = useFocusRing(
|
|
130
|
+
$[18] = autoFocus;
|
|
131
|
+
$[19] = t10;
|
|
132
|
+
} else t10 = $[19];
|
|
133
|
+
const endFocusProps = useFocusRing(t10);
|
|
144
134
|
const domRef = useFocusManagerRef(ref);
|
|
145
135
|
const { groupProps, labelProps, startFieldProps, endFieldProps } = useDateRangePicker(props, state, targetRef);
|
|
146
136
|
const startProps = useDatePicker(props, startState, targetRef);
|
|
@@ -151,9 +141,9 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
151
141
|
const timeMaxValue = props.maxValue && "hour" in props.maxValue ? props.maxValue : void 0;
|
|
152
142
|
const timeGranularity = state.granularity === "hour" || state.granularity === "minute" || state.granularity === "second" ? state.granularity : null;
|
|
153
143
|
const showTimeField = !!timeGranularity;
|
|
154
|
-
let
|
|
155
|
-
if ($[
|
|
156
|
-
|
|
144
|
+
let t11;
|
|
145
|
+
if ($[20] !== endProps.calendarProps || $[21] !== endState || $[22] !== startProps.calendarProps || $[23] !== startState || $[24] !== state) {
|
|
146
|
+
t11 = function onChange(value, type) {
|
|
157
147
|
if (type === "start") {
|
|
158
148
|
const newRange = {
|
|
159
149
|
...state.value,
|
|
@@ -174,66 +164,66 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
174
164
|
endState.setOpen(false);
|
|
175
165
|
}
|
|
176
166
|
};
|
|
177
|
-
$[
|
|
178
|
-
$[
|
|
179
|
-
$[
|
|
180
|
-
$[
|
|
181
|
-
$[
|
|
182
|
-
$[
|
|
183
|
-
} else
|
|
184
|
-
const onChange =
|
|
185
|
-
const
|
|
186
|
-
const
|
|
187
|
-
const
|
|
188
|
-
const
|
|
189
|
-
const
|
|
190
|
-
const
|
|
191
|
-
const
|
|
192
|
-
const
|
|
167
|
+
$[20] = endProps.calendarProps;
|
|
168
|
+
$[21] = endState;
|
|
169
|
+
$[22] = startProps.calendarProps;
|
|
170
|
+
$[23] = startState;
|
|
171
|
+
$[24] = state;
|
|
172
|
+
$[25] = t11;
|
|
173
|
+
} else t11 = $[25];
|
|
174
|
+
const onChange = t11;
|
|
175
|
+
const t12 = qa || "DateRangeSeparatedPicker";
|
|
176
|
+
const t13 = startFocusProps.isFocused;
|
|
177
|
+
const t14 = startFocusRingProps.focusProps;
|
|
178
|
+
const t15 = props.placement ?? "bottom right";
|
|
179
|
+
const t16 = props.targetRef ?? targetRef;
|
|
180
|
+
const t17 = startState.isOpen;
|
|
181
|
+
const t18 = props.shouldFlip;
|
|
182
|
+
const t19 = startState.setOpen;
|
|
183
|
+
let t20;
|
|
184
|
+
if ($[26] !== startFocusProps.focusProps || $[27] !== startProps.buttonProps) {
|
|
185
|
+
t20 = mergeProps$1(startProps.buttonProps, startFocusProps.focusProps);
|
|
186
|
+
$[26] = startFocusProps.focusProps;
|
|
187
|
+
$[27] = startProps.buttonProps;
|
|
188
|
+
$[28] = t20;
|
|
189
|
+
} else t20 = $[28];
|
|
193
190
|
let t21;
|
|
194
|
-
if ($[29] !==
|
|
195
|
-
t21 =
|
|
196
|
-
$[29] = startFocusProps.focusProps;
|
|
197
|
-
$[30] = startProps.buttonProps;
|
|
198
|
-
$[31] = t21;
|
|
199
|
-
} else t21 = $[31];
|
|
200
|
-
let t22;
|
|
201
|
-
if ($[32] !== isDisabled || $[33] !== size || $[34] !== t21) {
|
|
202
|
-
t22 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
191
|
+
if ($[29] !== isDisabled || $[30] !== size || $[31] !== t20) {
|
|
192
|
+
t21 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
203
193
|
size,
|
|
204
|
-
...
|
|
194
|
+
...t20,
|
|
205
195
|
isDisabled
|
|
206
196
|
});
|
|
207
|
-
$[
|
|
208
|
-
$[
|
|
209
|
-
$[
|
|
210
|
-
$[
|
|
211
|
-
} else
|
|
212
|
-
const
|
|
213
|
-
const
|
|
197
|
+
$[29] = isDisabled;
|
|
198
|
+
$[30] = size;
|
|
199
|
+
$[31] = t20;
|
|
200
|
+
$[32] = t21;
|
|
201
|
+
} else t21 = $[32];
|
|
202
|
+
const t22 = state.value?.start || state.value?.end || void 0;
|
|
203
|
+
const t23 = state.value?.start && state.value?.end ? state.value : void 0;
|
|
204
|
+
let t24;
|
|
205
|
+
if ($[33] !== onChange) {
|
|
206
|
+
t24 = (value_0) => onChange(value_0, "start");
|
|
207
|
+
$[33] = onChange;
|
|
208
|
+
$[34] = t24;
|
|
209
|
+
} else t24 = $[34];
|
|
214
210
|
let t25;
|
|
215
|
-
if ($[36] !==
|
|
216
|
-
t25 =
|
|
217
|
-
$[36] = onChange;
|
|
218
|
-
$[37] = t25;
|
|
219
|
-
} else t25 = $[37];
|
|
220
|
-
let t26;
|
|
221
|
-
if ($[38] !== startProps.calendarProps || $[39] !== t23 || $[40] !== t24 || $[41] !== t25) {
|
|
222
|
-
t26 = /* @__PURE__ */ jsx(_Calendar, {
|
|
211
|
+
if ($[35] !== startProps.calendarProps || $[36] !== t22 || $[37] !== t23 || $[38] !== t24) {
|
|
212
|
+
t25 = /* @__PURE__ */ jsx(_Calendar, {
|
|
223
213
|
...startProps.calendarProps,
|
|
224
|
-
defaultFocusedValue:
|
|
225
|
-
selectedRange:
|
|
226
|
-
onChange:
|
|
214
|
+
defaultFocusedValue: t22,
|
|
215
|
+
selectedRange: t23,
|
|
216
|
+
onChange: t24
|
|
227
217
|
});
|
|
228
|
-
$[
|
|
229
|
-
$[
|
|
230
|
-
$[
|
|
231
|
-
$[
|
|
232
|
-
$[
|
|
233
|
-
} else
|
|
234
|
-
let
|
|
235
|
-
if ($[
|
|
236
|
-
|
|
218
|
+
$[35] = startProps.calendarProps;
|
|
219
|
+
$[36] = t22;
|
|
220
|
+
$[37] = t23;
|
|
221
|
+
$[38] = t24;
|
|
222
|
+
$[39] = t25;
|
|
223
|
+
} else t25 = $[39];
|
|
224
|
+
let t26;
|
|
225
|
+
if ($[40] !== props.hideTimeZone || $[41] !== props.hourCycle || $[42] !== showTimeField || $[43] !== startState.setTimeValue || $[44] !== startState.timeValue || $[45] !== t || $[46] !== timeGranularity || $[47] !== timeMaxValue || $[48] !== timeMinValue || $[49] !== timePlaceholder) {
|
|
226
|
+
t26 = showTimeField && /* @__PURE__ */ jsx(_TimeInput, {
|
|
237
227
|
padding: "1x",
|
|
238
228
|
label: t("datePicker.time", "Time"),
|
|
239
229
|
value: startState.timeValue,
|
|
@@ -245,150 +235,150 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
245
235
|
hideTimeZone: props.hideTimeZone,
|
|
246
236
|
onChange: startState.setTimeValue
|
|
247
237
|
});
|
|
248
|
-
$[
|
|
249
|
-
$[
|
|
250
|
-
$[
|
|
251
|
-
$[
|
|
252
|
-
$[
|
|
253
|
-
$[
|
|
254
|
-
$[
|
|
255
|
-
$[
|
|
256
|
-
$[
|
|
257
|
-
$[
|
|
258
|
-
$[
|
|
259
|
-
} else
|
|
260
|
-
let
|
|
261
|
-
if ($[
|
|
262
|
-
|
|
238
|
+
$[40] = props.hideTimeZone;
|
|
239
|
+
$[41] = props.hourCycle;
|
|
240
|
+
$[42] = showTimeField;
|
|
241
|
+
$[43] = startState.setTimeValue;
|
|
242
|
+
$[44] = startState.timeValue;
|
|
243
|
+
$[45] = t;
|
|
244
|
+
$[46] = timeGranularity;
|
|
245
|
+
$[47] = timeMaxValue;
|
|
246
|
+
$[48] = timeMinValue;
|
|
247
|
+
$[49] = timePlaceholder;
|
|
248
|
+
$[50] = t26;
|
|
249
|
+
} else t26 = $[50];
|
|
250
|
+
let t27;
|
|
251
|
+
if ($[51] !== startProps.dialogProps || $[52] !== t25 || $[53] !== t26) {
|
|
252
|
+
t27 = /* @__PURE__ */ jsxs(Dialog, {
|
|
263
253
|
...startProps.dialogProps,
|
|
264
254
|
width: "max-content",
|
|
265
|
-
children: [
|
|
255
|
+
children: [t25, t26]
|
|
266
256
|
});
|
|
267
|
-
$[
|
|
268
|
-
$[
|
|
269
|
-
$[
|
|
270
|
-
$[
|
|
271
|
-
} else
|
|
272
|
-
let
|
|
273
|
-
if ($[
|
|
274
|
-
|
|
257
|
+
$[51] = startProps.dialogProps;
|
|
258
|
+
$[52] = t25;
|
|
259
|
+
$[53] = t26;
|
|
260
|
+
$[54] = t27;
|
|
261
|
+
} else t27 = $[54];
|
|
262
|
+
let t28;
|
|
263
|
+
if ($[55] !== props.shouldFlip || $[56] !== startState.isOpen || $[57] !== startState.setOpen || $[58] !== t15 || $[59] !== t16 || $[60] !== t21 || $[61] !== t27) {
|
|
264
|
+
t28 = /* @__PURE__ */ jsxs(DialogTrigger, {
|
|
275
265
|
hideArrow: true,
|
|
276
266
|
type: "popover",
|
|
277
267
|
mobileType: "tray",
|
|
278
|
-
placement:
|
|
279
|
-
targetRef:
|
|
280
|
-
isOpen:
|
|
281
|
-
shouldFlip:
|
|
282
|
-
onOpenChange:
|
|
283
|
-
children: [
|
|
268
|
+
placement: t15,
|
|
269
|
+
targetRef: t16,
|
|
270
|
+
isOpen: t17,
|
|
271
|
+
shouldFlip: t18,
|
|
272
|
+
onOpenChange: t19,
|
|
273
|
+
children: [t21, t27]
|
|
284
274
|
});
|
|
285
|
-
$[
|
|
286
|
-
$[
|
|
287
|
-
$[
|
|
288
|
-
$[
|
|
289
|
-
$[
|
|
290
|
-
$[
|
|
291
|
-
$[
|
|
292
|
-
$[
|
|
293
|
-
} else
|
|
294
|
-
let
|
|
295
|
-
if ($[
|
|
296
|
-
|
|
275
|
+
$[55] = props.shouldFlip;
|
|
276
|
+
$[56] = startState.isOpen;
|
|
277
|
+
$[57] = startState.setOpen;
|
|
278
|
+
$[58] = t15;
|
|
279
|
+
$[59] = t16;
|
|
280
|
+
$[60] = t21;
|
|
281
|
+
$[61] = t27;
|
|
282
|
+
$[62] = t28;
|
|
283
|
+
} else t28 = $[62];
|
|
284
|
+
let t29;
|
|
285
|
+
if ($[63] !== startFieldProps || $[64] !== useLocaleProp) {
|
|
286
|
+
t29 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
297
287
|
useLocale: useLocaleProp,
|
|
298
288
|
...startFieldProps
|
|
299
289
|
});
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
302
|
-
$[
|
|
303
|
-
} else
|
|
304
|
-
let
|
|
305
|
-
if ($[
|
|
306
|
-
|
|
307
|
-
disableFocusRing:
|
|
290
|
+
$[63] = startFieldProps;
|
|
291
|
+
$[64] = useLocaleProp;
|
|
292
|
+
$[65] = t29;
|
|
293
|
+
} else t29 = $[65];
|
|
294
|
+
let t30;
|
|
295
|
+
if ($[66] !== isDisabled || $[67] !== isInvalid || $[68] !== isValid || $[69] !== size || $[70] !== startFocusProps.isFocused || $[71] !== startFocusRingProps.focusProps || $[72] !== t28 || $[73] !== t29) {
|
|
296
|
+
t30 = /* @__PURE__ */ jsx(_DateInputBase, {
|
|
297
|
+
disableFocusRing: t13,
|
|
308
298
|
isDisabled,
|
|
309
299
|
isInvalid,
|
|
310
300
|
isValid,
|
|
311
301
|
size,
|
|
312
|
-
...
|
|
313
|
-
suffix:
|
|
314
|
-
children:
|
|
302
|
+
...t14,
|
|
303
|
+
suffix: t28,
|
|
304
|
+
children: t29
|
|
315
305
|
});
|
|
316
|
-
$[
|
|
317
|
-
$[
|
|
318
|
-
$[
|
|
319
|
-
$[
|
|
320
|
-
$[
|
|
321
|
-
$[
|
|
322
|
-
$[
|
|
323
|
-
$[
|
|
324
|
-
$[
|
|
325
|
-
} else
|
|
326
|
-
let
|
|
327
|
-
if ($[
|
|
328
|
-
|
|
329
|
-
$[
|
|
330
|
-
} else
|
|
331
|
-
const
|
|
332
|
-
const
|
|
333
|
-
const
|
|
334
|
-
const
|
|
335
|
-
const
|
|
336
|
-
const
|
|
337
|
-
const
|
|
306
|
+
$[66] = isDisabled;
|
|
307
|
+
$[67] = isInvalid;
|
|
308
|
+
$[68] = isValid;
|
|
309
|
+
$[69] = size;
|
|
310
|
+
$[70] = startFocusProps.isFocused;
|
|
311
|
+
$[71] = startFocusRingProps.focusProps;
|
|
312
|
+
$[72] = t28;
|
|
313
|
+
$[73] = t29;
|
|
314
|
+
$[74] = t30;
|
|
315
|
+
} else t30 = $[74];
|
|
316
|
+
let t31;
|
|
317
|
+
if ($[75] === Symbol.for("react.memo_cache_sentinel")) {
|
|
318
|
+
t31 = /* @__PURE__ */ jsx(DateRangeDash, {});
|
|
319
|
+
$[75] = t31;
|
|
320
|
+
} else t31 = $[75];
|
|
321
|
+
const t32 = endFocusProps.isFocused;
|
|
322
|
+
const t33 = endFocusRingProps.focusProps;
|
|
323
|
+
const t34 = props.placement ?? "bottom right";
|
|
324
|
+
const t35 = props.targetRef ?? targetRef;
|
|
325
|
+
const t36 = endState.isOpen;
|
|
326
|
+
const t37 = props.shouldFlip;
|
|
327
|
+
const t38 = endState.setOpen;
|
|
328
|
+
let t39;
|
|
329
|
+
if ($[76] !== t) {
|
|
330
|
+
t39 = t("datePicker.showEndCalendar", "Show calendar for the end date");
|
|
331
|
+
$[76] = t;
|
|
332
|
+
$[77] = t39;
|
|
333
|
+
} else t39 = $[77];
|
|
338
334
|
let t40;
|
|
339
|
-
if ($[79] !==
|
|
340
|
-
t40 =
|
|
341
|
-
$[
|
|
335
|
+
if ($[78] !== endFocusProps.focusProps || $[79] !== endProps.buttonProps) {
|
|
336
|
+
t40 = mergeProps$1(endFocusProps.focusProps, endProps.buttonProps);
|
|
337
|
+
$[78] = endFocusProps.focusProps;
|
|
338
|
+
$[79] = endProps.buttonProps;
|
|
342
339
|
$[80] = t40;
|
|
343
340
|
} else t40 = $[80];
|
|
344
341
|
let t41;
|
|
345
|
-
if ($[81] !==
|
|
346
|
-
t41 =
|
|
347
|
-
|
|
348
|
-
$[82] = endProps.buttonProps;
|
|
349
|
-
$[83] = t41;
|
|
350
|
-
} else t41 = $[83];
|
|
351
|
-
let t42;
|
|
352
|
-
if ($[84] !== isDisabled || $[85] !== size || $[86] !== t40 || $[87] !== t41) {
|
|
353
|
-
t42 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
354
|
-
"aria-label": t40,
|
|
342
|
+
if ($[81] !== isDisabled || $[82] !== size || $[83] !== t39 || $[84] !== t40) {
|
|
343
|
+
t41 = /* @__PURE__ */ jsx(DatePickerButton, {
|
|
344
|
+
"aria-label": t39,
|
|
355
345
|
size,
|
|
356
|
-
...
|
|
346
|
+
...t40,
|
|
357
347
|
isDisabled
|
|
358
348
|
});
|
|
359
|
-
$[
|
|
360
|
-
$[
|
|
361
|
-
$[
|
|
362
|
-
$[
|
|
363
|
-
$[
|
|
364
|
-
} else
|
|
365
|
-
const
|
|
366
|
-
const
|
|
367
|
-
let
|
|
368
|
-
if ($[
|
|
369
|
-
|
|
349
|
+
$[81] = isDisabled;
|
|
350
|
+
$[82] = size;
|
|
351
|
+
$[83] = t39;
|
|
352
|
+
$[84] = t40;
|
|
353
|
+
$[85] = t41;
|
|
354
|
+
} else t41 = $[85];
|
|
355
|
+
const t42 = state.value?.end || state.value?.start || void 0;
|
|
356
|
+
const t43 = state.value?.start && state.value?.end ? state.value : void 0;
|
|
357
|
+
let t44;
|
|
358
|
+
if ($[86] !== onChange) {
|
|
359
|
+
t44 = (value_1) => {
|
|
370
360
|
onChange(value_1, "end");
|
|
371
361
|
};
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
374
|
-
} else
|
|
375
|
-
let
|
|
376
|
-
if ($[
|
|
377
|
-
|
|
362
|
+
$[86] = onChange;
|
|
363
|
+
$[87] = t44;
|
|
364
|
+
} else t44 = $[87];
|
|
365
|
+
let t45;
|
|
366
|
+
if ($[88] !== endProps.calendarProps || $[89] !== t42 || $[90] !== t43 || $[91] !== t44) {
|
|
367
|
+
t45 = /* @__PURE__ */ jsx(_Calendar, {
|
|
378
368
|
...endProps.calendarProps,
|
|
379
|
-
defaultFocusedValue:
|
|
380
|
-
selectedRange:
|
|
381
|
-
onChange:
|
|
369
|
+
defaultFocusedValue: t42,
|
|
370
|
+
selectedRange: t43,
|
|
371
|
+
onChange: t44
|
|
382
372
|
});
|
|
383
|
-
$[
|
|
384
|
-
$[
|
|
385
|
-
$[
|
|
386
|
-
$[
|
|
387
|
-
$[
|
|
388
|
-
} else
|
|
389
|
-
let
|
|
390
|
-
if ($[
|
|
391
|
-
|
|
373
|
+
$[88] = endProps.calendarProps;
|
|
374
|
+
$[89] = t42;
|
|
375
|
+
$[90] = t43;
|
|
376
|
+
$[91] = t44;
|
|
377
|
+
$[92] = t45;
|
|
378
|
+
} else t45 = $[92];
|
|
379
|
+
let t46;
|
|
380
|
+
if ($[93] !== endState.setTimeValue || $[94] !== endState.timeValue || $[95] !== props.hideTimeZone || $[96] !== props.hourCycle || $[97] !== showTimeField || $[98] !== t || $[99] !== timeGranularity || $[100] !== timeMaxValue || $[101] !== timeMinValue || $[102] !== timePlaceholder) {
|
|
381
|
+
t46 = showTimeField && /* @__PURE__ */ jsx(_TimeInput, {
|
|
392
382
|
padding: "1x",
|
|
393
383
|
label: t("datePicker.time", "Time"),
|
|
394
384
|
value: endState.timeValue,
|
|
@@ -400,119 +390,119 @@ function DateRangeSeparatedPicker(props, ref) {
|
|
|
400
390
|
hideTimeZone: props.hideTimeZone,
|
|
401
391
|
onChange: endState.setTimeValue
|
|
402
392
|
});
|
|
403
|
-
$[
|
|
404
|
-
$[
|
|
405
|
-
$[
|
|
406
|
-
$[
|
|
407
|
-
$[
|
|
408
|
-
$[
|
|
409
|
-
$[
|
|
410
|
-
$[
|
|
411
|
-
$[
|
|
412
|
-
$[
|
|
413
|
-
$[
|
|
414
|
-
} else
|
|
415
|
-
let
|
|
416
|
-
if ($[
|
|
417
|
-
|
|
393
|
+
$[93] = endState.setTimeValue;
|
|
394
|
+
$[94] = endState.timeValue;
|
|
395
|
+
$[95] = props.hideTimeZone;
|
|
396
|
+
$[96] = props.hourCycle;
|
|
397
|
+
$[97] = showTimeField;
|
|
398
|
+
$[98] = t;
|
|
399
|
+
$[99] = timeGranularity;
|
|
400
|
+
$[100] = timeMaxValue;
|
|
401
|
+
$[101] = timeMinValue;
|
|
402
|
+
$[102] = timePlaceholder;
|
|
403
|
+
$[103] = t46;
|
|
404
|
+
} else t46 = $[103];
|
|
405
|
+
let t47;
|
|
406
|
+
if ($[104] !== endProps.dialogProps || $[105] !== t45 || $[106] !== t46) {
|
|
407
|
+
t47 = /* @__PURE__ */ jsxs(Dialog, {
|
|
418
408
|
...endProps.dialogProps,
|
|
419
409
|
width: "max-content",
|
|
420
|
-
children: [
|
|
410
|
+
children: [t45, t46]
|
|
421
411
|
});
|
|
422
|
-
$[
|
|
423
|
-
$[
|
|
424
|
-
$[
|
|
425
|
-
$[
|
|
426
|
-
} else
|
|
427
|
-
let
|
|
428
|
-
if ($[
|
|
429
|
-
|
|
412
|
+
$[104] = endProps.dialogProps;
|
|
413
|
+
$[105] = t45;
|
|
414
|
+
$[106] = t46;
|
|
415
|
+
$[107] = t47;
|
|
416
|
+
} else t47 = $[107];
|
|
417
|
+
let t48;
|
|
418
|
+
if ($[108] !== endState.isOpen || $[109] !== endState.setOpen || $[110] !== props.shouldFlip || $[111] !== t34 || $[112] !== t35 || $[113] !== t41 || $[114] !== t47) {
|
|
419
|
+
t48 = /* @__PURE__ */ jsxs(DialogTrigger, {
|
|
430
420
|
hideArrow: true,
|
|
431
421
|
type: "popover",
|
|
432
422
|
mobileType: "tray",
|
|
433
|
-
placement:
|
|
434
|
-
targetRef:
|
|
435
|
-
isOpen:
|
|
436
|
-
shouldFlip:
|
|
437
|
-
onOpenChange:
|
|
438
|
-
children: [
|
|
423
|
+
placement: t34,
|
|
424
|
+
targetRef: t35,
|
|
425
|
+
isOpen: t36,
|
|
426
|
+
shouldFlip: t37,
|
|
427
|
+
onOpenChange: t38,
|
|
428
|
+
children: [t41, t47]
|
|
439
429
|
});
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
} else
|
|
449
|
-
let
|
|
450
|
-
if ($[
|
|
451
|
-
|
|
430
|
+
$[108] = endState.isOpen;
|
|
431
|
+
$[109] = endState.setOpen;
|
|
432
|
+
$[110] = props.shouldFlip;
|
|
433
|
+
$[111] = t34;
|
|
434
|
+
$[112] = t35;
|
|
435
|
+
$[113] = t41;
|
|
436
|
+
$[114] = t47;
|
|
437
|
+
$[115] = t48;
|
|
438
|
+
} else t48 = $[115];
|
|
439
|
+
let t49;
|
|
440
|
+
if ($[116] !== endFieldProps || $[117] !== useLocaleProp) {
|
|
441
|
+
t49 = /* @__PURE__ */ jsx(DatePickerInput, {
|
|
452
442
|
useLocale: useLocaleProp,
|
|
453
443
|
...endFieldProps
|
|
454
444
|
});
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
} else
|
|
459
|
-
let
|
|
460
|
-
if ($[
|
|
461
|
-
|
|
462
|
-
disableFocusRing:
|
|
445
|
+
$[116] = endFieldProps;
|
|
446
|
+
$[117] = useLocaleProp;
|
|
447
|
+
$[118] = t49;
|
|
448
|
+
} else t49 = $[118];
|
|
449
|
+
let t50;
|
|
450
|
+
if ($[119] !== endFocusProps.isFocused || $[120] !== endFocusRingProps.focusProps || $[121] !== isDisabled || $[122] !== isInvalid || $[123] !== isValid || $[124] !== size || $[125] !== t48 || $[126] !== t49) {
|
|
451
|
+
t50 = /* @__PURE__ */ jsx(_DateInputBase, {
|
|
452
|
+
disableFocusRing: t32,
|
|
463
453
|
isDisabled,
|
|
464
454
|
isInvalid,
|
|
465
455
|
isValid,
|
|
466
456
|
size,
|
|
467
|
-
...
|
|
468
|
-
suffix:
|
|
469
|
-
children:
|
|
457
|
+
...t33,
|
|
458
|
+
suffix: t48,
|
|
459
|
+
children: t49
|
|
470
460
|
});
|
|
471
|
-
$[
|
|
472
|
-
$[
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
478
|
-
$[
|
|
479
|
-
$[
|
|
480
|
-
} else
|
|
481
|
-
let
|
|
482
|
-
if ($[
|
|
483
|
-
|
|
461
|
+
$[119] = endFocusProps.isFocused;
|
|
462
|
+
$[120] = endFocusRingProps.focusProps;
|
|
463
|
+
$[121] = isDisabled;
|
|
464
|
+
$[122] = isInvalid;
|
|
465
|
+
$[123] = isValid;
|
|
466
|
+
$[124] = size;
|
|
467
|
+
$[125] = t48;
|
|
468
|
+
$[126] = t49;
|
|
469
|
+
$[127] = t50;
|
|
470
|
+
} else t50 = $[127];
|
|
471
|
+
let t51;
|
|
472
|
+
if ($[128] !== groupProps || $[129] !== styles || $[130] !== t12 || $[131] !== t30 || $[132] !== t50) {
|
|
473
|
+
t51 = /* @__PURE__ */ jsxs(DatePickerElement, {
|
|
484
474
|
ref: targetRef,
|
|
485
475
|
...groupProps,
|
|
486
476
|
styles,
|
|
487
|
-
qa:
|
|
477
|
+
qa: t12,
|
|
488
478
|
"data-input-type": "daterangeseparatedpicker",
|
|
489
479
|
children: [
|
|
480
|
+
t30,
|
|
490
481
|
t31,
|
|
491
|
-
|
|
492
|
-
t51
|
|
482
|
+
t50
|
|
493
483
|
]
|
|
494
484
|
});
|
|
495
|
-
$[
|
|
496
|
-
$[
|
|
497
|
-
$[
|
|
498
|
-
$[
|
|
499
|
-
$[
|
|
500
|
-
$[
|
|
501
|
-
} else
|
|
502
|
-
const component =
|
|
503
|
-
let
|
|
504
|
-
if ($[
|
|
505
|
-
|
|
485
|
+
$[128] = groupProps;
|
|
486
|
+
$[129] = styles;
|
|
487
|
+
$[130] = t12;
|
|
488
|
+
$[131] = t30;
|
|
489
|
+
$[132] = t50;
|
|
490
|
+
$[133] = t51;
|
|
491
|
+
} else t51 = $[133];
|
|
492
|
+
const component = t51;
|
|
493
|
+
let t52;
|
|
494
|
+
if ($[134] !== component || $[135] !== domRef || $[136] !== labelProps || $[137] !== props) {
|
|
495
|
+
t52 = wrapWithField(component, domRef, {
|
|
506
496
|
...props,
|
|
507
497
|
labelProps: mergeProps$1(props.labelProps, labelProps)
|
|
508
498
|
});
|
|
509
|
-
$[
|
|
510
|
-
$[
|
|
511
|
-
$[
|
|
512
|
-
$[
|
|
513
|
-
$[
|
|
514
|
-
} else
|
|
515
|
-
return
|
|
499
|
+
$[134] = component;
|
|
500
|
+
$[135] = domRef;
|
|
501
|
+
$[136] = labelProps;
|
|
502
|
+
$[137] = props;
|
|
503
|
+
$[138] = t52;
|
|
504
|
+
} else t52 = $[138];
|
|
505
|
+
return t52;
|
|
516
506
|
}
|
|
517
507
|
const _DateRangeSeparatedPicker = forwardRef(DateRangeSeparatedPicker);
|
|
518
508
|
_DateRangeSeparatedPicker.displayName = "DateRangeSeparatedPicker";
|