@ultraviolet/ui 3.12.3 → 3.13.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/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.120.0 → _@oxc-project_runtime@0.122.0}/helpers/typeof.js +1 -1
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/Avatar/constants.d.ts +15 -15
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Avatar/styles.css.js +0 -2
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Carousel/Item.d.ts +9 -0
- package/dist/components/Carousel/Item.d.ts.map +1 -0
- package/dist/components/Carousel/Item.js +22 -0
- package/dist/components/Carousel/index.d.ts +6 -8
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Carousel/index.js +4 -11
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +13 -12
- package/dist/components/Checkbox/styles.css.js +0 -4
- package/dist/components/CheckboxGroup/Context.d.ts +9 -0
- package/dist/components/CheckboxGroup/Context.d.ts.map +1 -0
- package/dist/components/CheckboxGroup/Context.js +13 -0
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts +8 -0
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts.map +1 -0
- package/dist/components/CheckboxGroup/SingleCheckbox.js +46 -0
- package/dist/components/CheckboxGroup/index.d.ts +25 -9
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.js +7 -32
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/CopyButton/index.js +4 -3
- package/dist/components/DateInput/components/CalendarDaily.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarDaily.js +5 -4
- package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +5 -4
- package/dist/components/DateInput/helpers.d.ts +5 -1
- package/dist/components/DateInput/helpers.d.ts.map +1 -1
- package/dist/components/DateInput/helpers.js +18 -9
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/DateInput/styles.css.d.ts.map +1 -1
- package/dist/components/Expandable/AnimatedExpandable.d.ts +3 -0
- package/dist/components/Expandable/AnimatedExpandable.d.ts.map +1 -0
- package/dist/components/Expandable/AnimatedExpandable.js +95 -0
- package/dist/components/Expandable/NonAnimatedExpandable.d.ts +3 -0
- package/dist/components/Expandable/NonAnimatedExpandable.d.ts.map +1 -0
- package/dist/components/Expandable/NonAnimatedExpandable.js +22 -0
- package/dist/components/Expandable/constant.d.ts +2 -0
- package/dist/components/Expandable/constant.d.ts.map +1 -0
- package/dist/components/Expandable/constant.js +8 -0
- package/dist/components/Expandable/index.d.ts +1 -24
- package/dist/components/Expandable/index.d.ts.map +1 -1
- package/dist/components/Expandable/index.js +8 -94
- package/dist/components/Expandable/types.d.ts +23 -0
- package/dist/components/Expandable/types.d.ts.map +1 -0
- package/dist/components/ExpandableCard/index.d.ts.map +1 -1
- package/dist/components/FileInput/DropzoneContent.d.ts +9 -0
- package/dist/components/FileInput/DropzoneContent.d.ts.map +1 -0
- package/dist/components/FileInput/DropzoneContent.js +30 -0
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/FileInput/components/List.d.ts.map +1 -1
- package/dist/components/FileInput/components/List.js +11 -9
- package/dist/components/FileInput/helpers.d.ts.map +1 -1
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +40 -66
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Label/LabelContent.d.ts +3 -0
- package/dist/components/Label/LabelContent.d.ts.map +1 -0
- package/dist/components/Label/LabelContent.js +61 -0
- package/dist/components/Label/index.d.ts +1 -19
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/index.js +3 -47
- package/dist/components/Label/type.d.ts +19 -0
- package/dist/components/Label/type.d.ts.map +1 -0
- package/dist/components/LineChart/CustomLegend.d.ts.map +1 -1
- package/dist/components/LineChart/CustomLegend.js +4 -9
- package/dist/components/LineChart/LegendCell.d.ts +10 -0
- package/dist/components/LineChart/LegendCell.d.ts.map +1 -0
- package/dist/components/LineChart/LegendCell.js +23 -0
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/ExpandButtonCell.d.ts +9 -0
- package/dist/components/List/ExpandButtonCell.d.ts.map +1 -0
- package/dist/components/List/ExpandButtonCell.js +44 -0
- package/dist/components/List/HeaderCell.d.ts.map +1 -1
- package/dist/components/List/HeaderCell.js +4 -8
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/List/Row.d.ts.map +1 -1
- package/dist/components/List/Row.js +21 -50
- package/dist/components/List/SelectRowCell.d.ts +8 -0
- package/dist/components/List/SelectRowCell.d.ts.map +1 -0
- package/dist/components/List/SelectRowCell.js +49 -0
- package/dist/components/List/SortIcon.d.ts +4 -0
- package/dist/components/List/SortIcon.d.ts.map +1 -0
- package/dist/components/List/SortIcon.js +19 -0
- package/dist/components/List/TableContainer.d.ts +5 -0
- package/dist/components/List/TableContainer.d.ts.map +1 -0
- package/dist/components/List/TableContainer.js +31 -0
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +4 -16
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuContent.d.ts.map +1 -1
- package/dist/components/Menu/MenuContent.js +28 -22
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.js +8 -6
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.js +4 -4
- package/dist/components/Modal/components/Dialog.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.js +14 -12
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/NumberInput/components/Controls.d.ts +12 -0
- package/dist/components/NumberInput/components/Controls.d.ts.map +1 -0
- package/dist/components/NumberInput/components/Controls.js +78 -0
- package/dist/components/NumberInput/components/Unit.d.ts +8 -0
- package/dist/components/NumberInput/components/Unit.d.ts.map +1 -0
- package/dist/components/NumberInput/components/Unit.js +28 -0
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/NumberInput/index.js +33 -86
- package/dist/components/Pagination/PaginationButton.d.ts +11 -0
- package/dist/components/Pagination/PaginationButton.d.ts.map +1 -0
- package/dist/components/Pagination/PaginationButton.js +39 -0
- package/dist/components/Pagination/PaginationButtons.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButtons.js +4 -25
- package/dist/components/PieChart/index.d.ts.map +1 -1
- package/dist/components/PieChart/index.js +1 -1
- package/dist/components/Popover/ContentWrapper.d.ts +3 -0
- package/dist/components/Popover/ContentWrapper.d.ts.map +1 -0
- package/dist/components/Popover/ContentWrapper.js +49 -0
- package/dist/components/Popover/index.d.ts +6 -12
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +4 -37
- package/dist/components/Popover/types.d.ts +26 -0
- package/dist/components/Popover/types.d.ts.map +1 -0
- package/dist/components/Popup/helpers.d.ts.map +1 -1
- package/dist/components/Popup/helpers.js +124 -123
- package/dist/components/Popup/index.d.ts.map +1 -1
- package/dist/components/Popup/index.js +3 -2
- package/dist/components/Popup/styles.css.d.ts.map +1 -1
- package/dist/components/Popup/styles.css.js +3 -3
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.js +63 -60
- package/dist/components/ProgressBar/styles.css.js +0 -2
- package/dist/components/Radio/MarkedIcon.d.ts +2 -0
- package/dist/components/Radio/MarkedIcon.d.ts.map +1 -0
- package/dist/components/Radio/MarkedIcon.js +33 -0
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +3 -21
- package/dist/components/Radio/styles.css.js +3 -3
- package/dist/components/RadioGroup/Context.d.ts +9 -0
- package/dist/components/RadioGroup/Context.d.ts.map +1 -0
- package/dist/components/RadioGroup/Context.js +12 -0
- package/dist/components/RadioGroup/SingleRadio.d.ts +6 -0
- package/dist/components/RadioGroup/SingleRadio.d.ts.map +1 -0
- package/dist/components/RadioGroup/SingleRadio.js +40 -0
- package/dist/components/RadioGroup/index.d.ts +2 -4
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +6 -28
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Row/styles.css.js +2 -2
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputProvider.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputProvider.js +8 -63
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts +12 -0
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/AddOption.js +48 -0
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts +20 -0
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Content.js +217 -0
- package/dist/components/SelectInput/components/{Dropdown.d.ts → Dropdown/Dropdown.d.ts} +1 -17
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +218 -0
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts +5 -0
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Group.js +79 -0
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts +13 -0
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Item.js +87 -0
- package/dist/components/SelectInput/components/{DropdownOption.d.ts → Dropdown/Option.d.ts} +2 -2
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Option.js +139 -0
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts +10 -0
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts.map +1 -0
- package/dist/components/SelectInput/components/{SearchBarDropdown.js → Dropdown/SearchBar.js} +20 -24
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +4 -0
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/SelectAll.js +84 -0
- package/dist/components/SelectInput/components/{dropdown.css.d.ts → Dropdown/dropdown.css.d.ts} +4 -2
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts.map +1 -0
- package/dist/components/SelectInput/components/{dropdown.css.js → Dropdown/dropdown.css.js} +15 -13
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/components/Dropdown/index.d.ts +2 -0
- package/dist/components/SelectInput/components/Dropdown/index.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/index.js +11 -0
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -0
- package/dist/components/SelectInput/components/{SelectBar.js → SelectBar/SelectBar.js} +24 -125
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts +20 -0
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -0
- package/dist/components/SelectInput/components/SelectBar/Values.js +93 -0
- package/dist/components/SelectInput/components/SelectBar/index.d.ts +2 -0
- package/dist/components/SelectInput/components/SelectBar/index.d.ts.map +1 -0
- package/dist/components/SelectInput/components/SelectBar/index.js +11 -0
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.d.ts.map +1 -0
- package/dist/components/SelectInput/components/{selectBar.css.js → SelectBar/selectBar.css.js} +19 -19
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/components/helpers.d.ts +30 -0
- package/dist/components/SelectInput/components/helpers.d.ts.map +1 -0
- package/dist/components/SelectInput/components/helpers.js +77 -0
- package/dist/components/SelectInput/components/index.d.ts +3 -0
- package/dist/components/SelectInput/components/index.d.ts.map +1 -0
- package/dist/components/SelectInput/components/index.js +15 -0
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/index.js +4 -4
- package/dist/components/SelectInput/reducerFonctions.d.ts +28 -0
- package/dist/components/SelectInput/reducerFonctions.d.ts.map +1 -0
- package/dist/components/SelectInput/reducerFonctions.js +76 -0
- package/dist/components/SelectInput/styles.css.d.ts +4 -2
- package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.js +52 -50
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +5 -4
- package/dist/components/SelectableCardGroup/Context.d.ts +11 -0
- package/dist/components/SelectableCardGroup/Context.d.ts.map +1 -0
- package/dist/components/SelectableCardGroup/Context.js +13 -0
- package/dist/components/SelectableCardGroup/SingleCard.d.ts +5 -0
- package/dist/components/SelectableCardGroup/SingleCard.d.ts.map +1 -0
- package/dist/components/SelectableCardGroup/SingleCard.js +42 -0
- package/dist/components/SelectableCardGroup/index.d.ts +2 -4
- package/dist/components/SelectableCardGroup/index.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/index.js +6 -30
- package/dist/components/SelectableCardOptionGroup/components/Option.js +1 -1
- package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
- package/dist/components/Skeleton/List.d.ts.map +1 -1
- package/dist/components/Skeleton/List.js +8 -9
- package/dist/components/Skeleton/Slider.d.ts.map +1 -1
- package/dist/components/Skeleton/index.js +1 -2
- package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.js +1 -1
- package/dist/components/Snippet/CodeContent.d.ts +14 -0
- package/dist/components/Snippet/CodeContent.d.ts.map +1 -0
- package/dist/components/Snippet/CodeContent.js +36 -0
- package/dist/components/Snippet/index.d.ts +1 -1
- package/dist/components/Snippet/index.d.ts.map +1 -1
- package/dist/components/Snippet/index.js +6 -22
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Stack/styles.css.js +2 -2
- package/dist/components/StepList/Item.d.ts +17 -0
- package/dist/components/StepList/Item.d.ts.map +1 -0
- package/dist/components/StepList/Item.js +32 -0
- package/dist/components/StepList/index.d.ts +12 -15
- package/dist/components/StepList/index.d.ts.map +1 -1
- package/dist/components/StepList/index.js +4 -19
- package/dist/components/Stepper/Bullet.d.ts +7 -0
- package/dist/components/Stepper/Bullet.d.ts.map +1 -0
- package/dist/components/Stepper/Bullet.js +42 -0
- package/dist/components/Stepper/Step.d.ts.map +1 -1
- package/dist/components/Stepper/Step.js +8 -24
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/Cell.js +1 -1
- package/dist/components/Table/HeaderCell.d.ts.map +1 -1
- package/dist/components/Table/HeaderCell.js +6 -12
- package/dist/components/Table/SortIcon.d.ts +4 -0
- package/dist/components/Table/SortIcon.d.ts.map +1 -0
- package/dist/components/Table/SortIcon.js +19 -0
- package/dist/components/Table/TableContainer.d.ts +5 -0
- package/dist/components/Table/TableContainer.d.ts.map +1 -0
- package/dist/components/Table/TableContainer.js +31 -0
- package/dist/components/Table/TableContext.d.ts.map +1 -1
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/index.d.ts +6 -6
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +6 -22
- package/dist/components/Table/styles.css.js +0 -2
- package/dist/components/Tabs/Tab.js +2 -2
- package/dist/components/Tabs/TabMenu.js +2 -2
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/Tag/TagInner.d.ts +5 -0
- package/dist/components/Tag/TagInner.d.ts.map +1 -0
- package/dist/components/Tag/TagInner.js +48 -0
- package/dist/components/Tag/index.d.ts +1 -31
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +7 -40
- package/dist/components/Tag/type.d.ts +31 -0
- package/dist/components/Tag/type.d.ts.map +1 -0
- package/dist/components/TagInput/index.js +1 -1
- package/dist/components/TagList/constant.d.ts +2 -0
- package/dist/components/TagList/constant.d.ts.map +1 -1
- package/dist/components/TagList/constant.js +3 -2
- package/dist/components/TagList/index.d.ts +1 -1
- package/dist/components/TagList/index.d.ts.map +1 -1
- package/dist/components/TagList/index.js +33 -27
- package/dist/components/TagList/styles.css.d.ts.map +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Text/style.css.js +0 -2
- package/dist/components/TextArea/Icon.d.ts +5 -0
- package/dist/components/TextArea/Icon.d.ts.map +1 -0
- package/dist/components/TextArea/Icon.js +19 -0
- package/dist/components/TextArea/Notice.d.ts +11 -0
- package/dist/components/TextArea/Notice.d.ts.map +1 -0
- package/dist/components/TextArea/Notice.js +41 -0
- package/dist/components/TextArea/constant.d.ts +2 -0
- package/dist/components/TextArea/constant.d.ts.map +1 -0
- package/dist/components/TextArea/constant.js +11 -0
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +29 -48
- package/dist/components/TextInput/BottomText.d.ts +3 -0
- package/dist/components/TextInput/BottomText.d.ts.map +1 -0
- package/dist/components/TextInput/BottomText.js +29 -0
- package/dist/components/TextInput/PrefixSuffix.d.ts +7 -0
- package/dist/components/TextInput/PrefixSuffix.d.ts.map +1 -0
- package/dist/components/TextInput/PrefixSuffix.js +30 -0
- package/dist/components/TextInput/RightIcon.d.ts +10 -0
- package/dist/components/TextInput/RightIcon.d.ts.map +1 -0
- package/dist/components/TextInput/RightIcon.js +62 -0
- package/dist/components/TextInput/ShowHidePassword.d.ts +7 -0
- package/dist/components/TextInput/ShowHidePassword.d.ts.map +1 -0
- package/dist/components/TextInput/ShowHidePassword.js +36 -0
- package/dist/components/TextInput/index.d.ts +5 -6
- package/dist/components/TextInput/index.d.ts.map +1 -1
- package/dist/components/TextInput/index.js +46 -106
- package/dist/components/TextInput/type.d.ts +25 -0
- package/dist/components/TextInput/type.d.ts.map +1 -0
- package/dist/components/TimeInput/RightIcon.d.ts +9 -0
- package/dist/components/TimeInput/RightIcon.d.ts.map +1 -0
- package/dist/components/TimeInput/RightIcon.js +36 -0
- package/dist/components/TimeInput/index.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +17 -29
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/ToggleGroup/Context.d.ts +9 -0
- package/dist/components/ToggleGroup/Context.d.ts.map +1 -0
- package/dist/components/ToggleGroup/Context.js +13 -0
- package/dist/components/ToggleGroup/SingleToggle.d.ts +11 -0
- package/dist/components/ToggleGroup/SingleToggle.d.ts.map +1 -0
- package/dist/components/ToggleGroup/SingleToggle.js +37 -0
- package/dist/components/ToggleGroup/index.d.ts +2 -9
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +6 -25
- package/dist/components/TreeMapChart/index.js +1 -1
- package/dist/components/VerificationCode/index.js +2 -3
- package/dist/components/compositions/CodeEditor/components/CopyButton.d.ts +5 -0
- package/dist/components/compositions/CodeEditor/components/CopyButton.d.ts.map +1 -0
- package/dist/components/compositions/CodeEditor/components/CopyButton.js +24 -0
- package/dist/components/compositions/CodeEditor/components/Expandable.d.ts +8 -0
- package/dist/components/compositions/CodeEditor/components/Expandable.d.ts.map +1 -0
- package/dist/components/compositions/CodeEditor/components/Expandable.js +37 -0
- package/dist/components/compositions/CodeEditor/index.d.ts +4 -38
- package/dist/components/compositions/CodeEditor/index.d.ts.map +1 -1
- package/dist/components/compositions/CodeEditor/index.js +6 -33
- package/dist/components/compositions/CodeEditor/styles.css.js +2 -0
- package/dist/components/compositions/CodeEditor/type.d.ts +38 -0
- package/dist/components/compositions/CodeEditor/type.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/Content.d.ts +0 -10
- package/dist/components/compositions/ContentCard/Content.d.ts.map +1 -1
- package/dist/components/compositions/ContentCard/Content.js +2 -30
- package/dist/components/compositions/ContentCard/ImageContent.d.ts +7 -0
- package/dist/components/compositions/ContentCard/ImageContent.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/ImageContent.js +23 -0
- package/dist/components/compositions/ContentCard/LinkContent.d.ts +5 -0
- package/dist/components/compositions/ContentCard/LinkContent.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/LinkContent.js +30 -0
- package/dist/components/compositions/ContentCard/index.d.ts.map +1 -1
- package/dist/components/compositions/ContentCard/index.js +5 -1
- package/dist/components/compositions/ContentCardGroup/index.d.ts.map +1 -1
- package/dist/components/compositions/Conversation/components/Date.d.ts +6 -0
- package/dist/components/compositions/Conversation/components/Date.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/components/Date.js +23 -0
- package/dist/components/compositions/Conversation/components/Message.d.ts +11 -0
- package/dist/components/compositions/Conversation/components/Message.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/components/Message.js +28 -0
- package/dist/components/compositions/Conversation/components/MessageInfos.d.ts +7 -0
- package/dist/components/compositions/Conversation/components/MessageInfos.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/components/MessageInfos.js +18 -0
- package/dist/components/compositions/Conversation/components/MessageTag.d.ts +6 -0
- package/dist/components/compositions/Conversation/components/MessageTag.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/components/MessageTag.js +20 -0
- package/dist/components/compositions/Conversation/index.d.ts +7 -22
- package/dist/components/compositions/Conversation/index.d.ts.map +1 -1
- package/dist/components/compositions/Conversation/index.js +10 -41
- package/dist/components/compositions/EstimateCost/Components/Children.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/Components/Children.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Children.js +52 -0
- package/dist/components/compositions/EstimateCost/Components/{ContentComponents.d.ts → Description.d.ts} +2 -8
- package/dist/components/compositions/EstimateCost/Components/Description.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Description.js +19 -0
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/Item.js +1 -1
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +1 -1
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/LineThrough.js +2 -2
- package/dist/components/compositions/EstimateCost/Components/Title.d.ts +5 -0
- package/dist/components/compositions/EstimateCost/Components/Title.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Title.js +23 -0
- package/dist/components/compositions/EstimateCost/Components/Total.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/Components/Total.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/{ContentComponents.js → Total.js} +6 -54
- package/dist/components/compositions/EstimateCost/Components/Unit.js +1 -1
- package/dist/components/compositions/EstimateCost/Components/components.css.js +2 -3
- package/dist/components/compositions/EstimateCost/Ellipsis.d.ts +7 -0
- package/dist/components/compositions/EstimateCost/Ellipsis.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Ellipsis.js +37 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/EstimateCostContent.js +8 -4
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +1 -1
- package/dist/components/compositions/EstimateCost/Image.d.ts +2 -0
- package/dist/components/compositions/EstimateCost/Image.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Image.js +21 -0
- package/dist/components/compositions/EstimateCost/index.d.ts +10 -11
- package/dist/components/compositions/EstimateCost/index.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/index.js +5 -35
- package/dist/components/compositions/EstimateCost/types.d.ts +1 -1
- package/dist/components/compositions/EstimateCost/types.d.ts.map +1 -1
- package/dist/components/compositions/InfoTable/components/Cell.d.ts.map +1 -1
- package/dist/components/compositions/InfoTable/components/Cell.js +2 -1
- package/dist/components/compositions/InfoTable/components/Row.js +1 -1
- package/dist/components/compositions/InfoTable/styles.css.d.ts +1 -0
- package/dist/components/compositions/InfoTable/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/InfoTable/styles.css.js +2 -3
- package/dist/components/compositions/Navigation/NavigationProvider.js +1 -1
- package/dist/components/compositions/Navigation/components/Group.js +1 -1
- package/dist/components/compositions/Navigation/components/Item/Badge.d.ts +5 -0
- package/dist/components/compositions/Navigation/components/Item/Badge.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Item/Badge.js +23 -0
- package/dist/components/compositions/Navigation/components/Item/Children.d.ts +5 -0
- package/dist/components/compositions/Navigation/components/Item/Children.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Item/Children.js +39 -0
- package/dist/components/compositions/Navigation/components/Item/Content.d.ts +3 -0
- package/dist/components/compositions/Navigation/components/Item/Content.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Item/Content.js +80 -0
- package/dist/components/compositions/Navigation/components/{Item.d.ts → Item/Item.d.ts} +2 -2
- package/dist/components/compositions/Navigation/components/Item/Item.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/{Item.js → Item/Item.js} +35 -8
- package/dist/components/compositions/Navigation/components/{ItemExpanded.d.ts → Item/ItemExpanded.d.ts} +1 -1
- package/dist/components/compositions/Navigation/components/Item/ItemExpanded.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/{ItemExpanded.js → Item/ItemExpanded.js} +16 -92
- package/dist/components/compositions/Navigation/components/Item/ItemProvider.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/{ItemProvider.js → Item/ItemProvider.js} +2 -2
- package/dist/components/compositions/Navigation/components/{ItemFragments.d.ts → Item/PinnedButton.d.ts} +2 -5
- package/dist/components/compositions/Navigation/components/Item/PinnedButton.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/{ItemFragments.js → Item/PinnedButton.js} +9 -19
- package/dist/components/compositions/Navigation/components/Menu/Menu.d.ts +3 -0
- package/dist/components/compositions/Navigation/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Menu/Menu.js +73 -0
- package/dist/components/compositions/Navigation/components/{ItemMenu.d.ts → Menu/MenuItem.d.ts} +2 -3
- package/dist/components/compositions/Navigation/components/Menu/MenuItem.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/{ItemMenu.js → Menu/MenuItem.js} +16 -65
- package/dist/components/compositions/Navigation/components/Menu/NestedMenu.d.ts +3 -0
- package/dist/components/compositions/Navigation/components/Menu/NestedMenu.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Menu/NestedMenu.js +51 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/PinnedItems.js +2 -2
- package/dist/components/compositions/Navigation/components/ShowHide.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/index.js +1 -1
- package/dist/components/compositions/OfferList/components/Row.d.ts +1 -1
- package/dist/components/compositions/OfferList/components/Row.d.ts.map +1 -1
- package/dist/components/compositions/OfferList/components/Row.js +13 -47
- package/dist/components/compositions/OfferList/components/SelectableCell.d.ts +21 -0
- package/dist/components/compositions/OfferList/components/SelectableCell.d.ts.map +1 -0
- package/dist/components/compositions/OfferList/components/SelectableCell.js +71 -0
- package/dist/components/compositions/OfferList/index.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/styles.css.js +178 -2
- package/dist/components/compositions/OrderSummary/ScrollableContent.d.ts.map +1 -1
- package/dist/components/compositions/OrderSummary/ScrollableContent.js +6 -221
- package/dist/components/compositions/OrderSummary/components/Category.d.ts +5 -0
- package/dist/components/compositions/OrderSummary/components/Category.d.ts.map +1 -0
- package/dist/components/compositions/OrderSummary/components/Category.js +125 -0
- package/dist/components/compositions/OrderSummary/components/SubCategory.d.ts +5 -0
- package/dist/components/compositions/OrderSummary/components/SubCategory.d.ts.map +1 -0
- package/dist/components/compositions/OrderSummary/components/SubCategory.js +104 -0
- package/dist/components/compositions/OrderSummary/components/SubCategoryPrice.d.ts +5 -0
- package/dist/components/compositions/OrderSummary/components/SubCategoryPrice.d.ts.map +1 -0
- package/dist/components/compositions/OrderSummary/components/SubCategoryPrice.js +50 -0
- package/dist/components/compositions/OrderSummary/helpers.js +1 -1
- package/dist/components/compositions/OrderSummary/index.d.ts +4 -0
- package/dist/components/compositions/OrderSummary/index.d.ts.map +1 -1
- package/dist/components/compositions/Plans/index.d.ts +3 -0
- package/dist/components/compositions/Plans/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -4
- package/dist/components/styles.js +20 -20
- package/dist/helpers/legend.d.ts +15 -15
- package/dist/helpers/nivoTheme.d.ts +15 -15
- package/dist/helpers/treeMap.d.ts +15 -15
- package/dist/index.js +9 -8
- package/dist/theme/ThemeProvider.d.ts +15 -15
- package/dist/theme/index.d.ts +42 -42
- package/dist/ui.css +1 -1
- package/package.json +12 -6
- package/dist/components/SelectInput/components/Dropdown.d.ts.map +0 -1
- package/dist/components/SelectInput/components/Dropdown.js +0 -741
- package/dist/components/SelectInput/components/DropdownOption.d.ts.map +0 -1
- package/dist/components/SelectInput/components/DropdownOption.js +0 -163
- package/dist/components/SelectInput/components/SearchBarDropdown.d.ts +0 -10
- package/dist/components/SelectInput/components/SearchBarDropdown.d.ts.map +0 -1
- package/dist/components/SelectInput/components/SelectBar.d.ts.map +0 -1
- package/dist/components/SelectInput/components/dropdown.css.d.ts.map +0 -1
- package/dist/components/SelectInput/components/dropdown.css.ts.vanilla.js +0 -8
- package/dist/components/SelectInput/components/selectBar.css.d.ts.map +0 -1
- package/dist/components/SelectInput/components/selectBar.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/Item.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemProvider.d.ts.map +0 -1
- /package/dist/components/SelectInput/components/{SelectBar.d.ts → SelectBar/SelectBar.d.ts} +0 -0
- /package/dist/components/SelectInput/components/{selectBar.css.d.ts → SelectBar/selectBar.css.d.ts} +0 -0
- /package/dist/components/compositions/Navigation/components/{ItemProvider.d.ts → Item/ItemProvider.d.ts} +0 -0
|
@@ -1,13 +1,189 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { init_styles_css_ts_vanilla } from "
|
|
2
|
+
import { init_variables_css_ts_vanilla } from "../../Stack/variables.css.ts.vanilla.js";
|
|
3
|
+
import { init_styles_css_ts_vanilla } from "../../Stack/styles.css.ts.vanilla.js";
|
|
4
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$1 } from "../../TagList/styles.css.ts.vanilla.js";
|
|
5
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$2 } from "../../Popup/styles.css.ts.vanilla.js";
|
|
6
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$3 } from "../../Tooltip/styles.css.ts.vanilla.js";
|
|
7
|
+
import { init_style_css_ts_vanilla } from "../../Text/style.css.ts.vanilla.js";
|
|
8
|
+
import { init_animationsVanillaExtract_css_ts_vanilla } from "../../../utils/animations/animationsVanillaExtract.css.ts.vanilla.js";
|
|
9
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$4 } from "../../Loader/styles.css.ts.vanilla.js";
|
|
10
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$5 } from "../../Button/styles.css.ts.vanilla.js";
|
|
11
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$6 } from "../../Menu/styles.css.ts.vanilla.js";
|
|
12
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$7 } from "../../Label/styles.css.ts.vanilla.js";
|
|
13
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$8 } from "../../SearchInput/styles.css.ts.vanilla.js";
|
|
14
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$9 } from "../../TextInput/styles.css.ts.vanilla.js";
|
|
15
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$10 } from "../../Key/styles.css.ts.vanilla.js";
|
|
16
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$11 } from "../../Badge/styles.css.ts.vanilla.js";
|
|
17
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$12 } from "../../Expandable/styles.css.ts.vanilla.js";
|
|
18
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$13 } from "../../Drawer/styles.css.ts.vanilla.js";
|
|
19
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$14 } from "../../Separator/styles.css.ts.vanilla.js";
|
|
20
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$1 } from "../../Row/variables.css.ts.vanilla.js";
|
|
21
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$15 } from "../../Row/styles.css.ts.vanilla.js";
|
|
22
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$16 } from "../../NumberInput/styles.css.ts.vanilla.js";
|
|
23
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$17 } from "../../Alert/styles.css.ts.vanilla.js";
|
|
24
|
+
import { init_dropdown_css_ts_vanilla } from "../../SelectInput/components/Dropdown/dropdown.css.ts.vanilla.js";
|
|
25
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$18 } from "../../SelectableCardOptionGroup/styles.css.ts.vanilla.js";
|
|
26
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$19 } from "../../UnitInput/styles.css.ts.vanilla.js";
|
|
27
|
+
import { init_selectBar_css_ts_vanilla } from "../../SelectInput/components/SelectBar/selectBar.css.ts.vanilla.js";
|
|
28
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$20 } from "../../SelectInput/styles.css.ts.vanilla.js";
|
|
29
|
+
import { init_stylesVariants_css_ts_vanilla } from "../../Skeleton/stylesVariants.css.ts.vanilla.js";
|
|
30
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$21 } from "../../Skeleton/styles.css.ts.vanilla.js";
|
|
31
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$22 } from "../../CheckboxGroup/styles.css.ts.vanilla.js";
|
|
32
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$23 } from "../../List/styles.css.ts.vanilla.js";
|
|
33
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$24 } from "../../SelectableCard/styles.css.ts.vanilla.js";
|
|
34
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$25 } from "../../Checkbox/styles.css.ts.vanilla.js";
|
|
35
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$26 } from "../../Tag/styles.css.ts.vanilla.js";
|
|
36
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$27 } from "../../Bullet/styles.css.ts.vanilla.js";
|
|
37
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$28 } from "../../Card/styles.css.ts.vanilla.js";
|
|
38
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$29 } from "../../ActionBar/styles.css.ts.vanilla.js";
|
|
39
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$30 } from "../../SwitchButton/styles.css.ts.vanilla.js";
|
|
40
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$31 } from "../../Radio/styles.css.ts.vanilla.js";
|
|
41
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$2 } from "../../Avatar/variables.css.ts.vanilla.js";
|
|
42
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$32 } from "../../Avatar/styles.css.ts.vanilla.js";
|
|
43
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$33 } from "../../Banner/styles.css.ts.vanilla.js";
|
|
44
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$34 } from "../../BarChart/styles.css.ts.vanilla.js";
|
|
45
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$35 } from "../../BarStack/styles.css.ts.vanilla.js";
|
|
46
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$36 } from "../../Breadcrumbs/components/styles.css.ts.vanilla.js";
|
|
47
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$37 } from "../../Breadcrumbs/styles.css.ts.vanilla.js";
|
|
48
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$38 } from "../../Carousel/styles.css.ts.vanilla.js";
|
|
49
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$3 } from "../../List/variables.css.ts.vanilla.js";
|
|
50
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$4 } from "../../SelectableCard/variables.css.ts.vanilla.js";
|
|
51
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$39 } from "../../Chip/styles.css.ts.vanilla.js";
|
|
52
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$40 } from "../../DateInput/components/styles.css.ts.vanilla.js";
|
|
53
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$41 } from "../../DateInput/styles.css.ts.vanilla.js";
|
|
54
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$42 } from "../../Dialog/styles.css.ts.vanilla.js";
|
|
55
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$43 } from "../../EmptyState/styles.css.ts.vanilla.js";
|
|
56
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$44 } from "../../ExpandableCard/styles.css.ts.vanilla.js";
|
|
57
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$45 } from "../../FileInput/styles.css.ts.vanilla.js";
|
|
58
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$46 } from "../../GlobalAlert/styles.css.ts.vanilla.js";
|
|
59
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$47 } from "../../LineChart/styles.css.ts.vanilla.js";
|
|
60
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$48 } from "../../Link/styles.css.ts.vanilla.js";
|
|
61
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$49 } from "../../Meter/styles.css.ts.vanilla.js";
|
|
62
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$50 } from "../../Modal/styles.css.ts.vanilla.js";
|
|
63
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$51 } from "../../Notice/styles.css.ts.vanilla.js";
|
|
64
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$52 } from "../../Notification/styles.css.ts.vanilla.js";
|
|
65
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$53 } from "../../Pagination/styles.css.ts.vanilla.js";
|
|
66
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$54 } from "../../PasswordCheck/styles.css.ts.vanilla.js";
|
|
67
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$55 } from "../../PieChart/styles.css.ts.vanilla.js";
|
|
68
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$56 } from "../../Popover/styles.css.ts.vanilla.js";
|
|
69
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$5 } from "../../Popup/variables.css.ts.vanilla.js";
|
|
70
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$6 } from "../../ProgressBar/variables.css.ts.vanilla.js";
|
|
71
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$57 } from "../../ProgressBar/styles.css.ts.vanilla.js";
|
|
72
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$58 } from "../../RadioGroup/styles.css.ts.vanilla.js";
|
|
73
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$59 } from "../../SelectableCardGroup/styles.css.ts.vanilla.js";
|
|
74
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$60 } from "../../Slider/styles.css.ts.vanilla.js";
|
|
75
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$61 } from "../../Snippet/styles.css.ts.vanilla.js";
|
|
76
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$62 } from "../../Status/styles.css.ts.vanilla.js";
|
|
77
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$63 } from "../../StepList/styles.css.ts.vanilla.js";
|
|
78
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$64 } from "../../Stepper/styles.css.ts.vanilla.js";
|
|
79
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$7 } from "../../Table/variables.css.ts.vanilla.js";
|
|
80
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$65 } from "../../Table/styles.css.ts.vanilla.js";
|
|
81
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$66 } from "../../Tabs/styles.css.ts.vanilla.js";
|
|
82
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$67 } from "../../TagInput/styles.css.ts.vanilla.js";
|
|
83
|
+
import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$8 } from "../../Text/variables.css.ts.vanilla.js";
|
|
84
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$68 } from "../../TextArea/styles.css.ts.vanilla.js";
|
|
85
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$69 } from "../../TimeInput/styles.css.ts.vanilla.js";
|
|
86
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$70 } from "../../Toaster/styles.css.ts.vanilla.js";
|
|
87
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$71 } from "../../Toggle/styles.css.ts.vanilla.js";
|
|
88
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$72 } from "../../ToggleGroup/styles.css.ts.vanilla.js";
|
|
89
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$73 } from "../../TreeMapChart/styles.css.ts.vanilla.js";
|
|
90
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$74 } from "../../VerificationCode/styles.css.ts.vanilla.js";
|
|
91
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$75 } from "./styles.css.ts.vanilla.js";
|
|
4
92
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
5
93
|
|
|
6
94
|
//#region src/components/compositions/OptionSelector/styles.css.ts
|
|
7
95
|
var optionSelectorStyle;
|
|
8
96
|
var init_styles_css = __esmMin(() => {
|
|
97
|
+
init_animationsVanillaExtract_css_ts_vanilla();
|
|
98
|
+
init_styles_css_ts_vanilla$29();
|
|
99
|
+
init_styles_css_ts_vanilla$17();
|
|
100
|
+
init_variables_css_ts_vanilla$2();
|
|
101
|
+
init_styles_css_ts_vanilla$32();
|
|
102
|
+
init_styles_css_ts_vanilla$11();
|
|
103
|
+
init_styles_css_ts_vanilla$33();
|
|
104
|
+
init_styles_css_ts_vanilla$34();
|
|
105
|
+
init_styles_css_ts_vanilla$35();
|
|
106
|
+
init_styles_css_ts_vanilla$36();
|
|
107
|
+
init_styles_css_ts_vanilla$37();
|
|
108
|
+
init_styles_css_ts_vanilla$27();
|
|
109
|
+
init_styles_css_ts_vanilla$5();
|
|
110
|
+
init_styles_css_ts_vanilla$28();
|
|
111
|
+
init_styles_css_ts_vanilla$38();
|
|
112
|
+
init_styles_css_ts_vanilla$22();
|
|
113
|
+
init_variables_css_ts_vanilla$3();
|
|
114
|
+
init_styles_css_ts_vanilla$23();
|
|
115
|
+
init_variables_css_ts_vanilla$4();
|
|
116
|
+
init_styles_css_ts_vanilla$24();
|
|
117
|
+
init_styles_css_ts_vanilla$25();
|
|
118
|
+
init_styles_css_ts_vanilla$39();
|
|
119
|
+
init_styles_css_ts_vanilla$40();
|
|
120
|
+
init_styles_css_ts_vanilla$41();
|
|
121
|
+
init_styles_css_ts_vanilla$42();
|
|
122
|
+
init_styles_css_ts_vanilla$13();
|
|
123
|
+
init_styles_css_ts_vanilla$43();
|
|
124
|
+
init_styles_css_ts_vanilla$12();
|
|
125
|
+
init_styles_css_ts_vanilla$44();
|
|
126
|
+
init_styles_css_ts_vanilla$45();
|
|
127
|
+
init_styles_css_ts_vanilla$46();
|
|
128
|
+
init_styles_css_ts_vanilla$10();
|
|
129
|
+
init_styles_css_ts_vanilla$7();
|
|
130
|
+
init_styles_css_ts_vanilla$47();
|
|
131
|
+
init_styles_css_ts_vanilla$48();
|
|
132
|
+
init_styles_css_ts_vanilla$4();
|
|
133
|
+
init_styles_css_ts_vanilla$6();
|
|
134
|
+
init_styles_css_ts_vanilla$49();
|
|
135
|
+
init_styles_css_ts_vanilla$50();
|
|
136
|
+
init_styles_css_ts_vanilla$51();
|
|
137
|
+
init_styles_css_ts_vanilla$52();
|
|
138
|
+
init_styles_css_ts_vanilla$16();
|
|
139
|
+
init_styles_css_ts_vanilla$53();
|
|
140
|
+
init_styles_css_ts_vanilla$54();
|
|
141
|
+
init_styles_css_ts_vanilla$55();
|
|
142
|
+
init_styles_css_ts_vanilla$56();
|
|
143
|
+
init_styles_css_ts_vanilla$1();
|
|
144
|
+
init_variables_css_ts_vanilla$5();
|
|
145
|
+
init_styles_css_ts_vanilla$2();
|
|
146
|
+
init_variables_css_ts_vanilla$6();
|
|
147
|
+
init_styles_css_ts_vanilla$57();
|
|
148
|
+
init_styles_css_ts_vanilla$18();
|
|
149
|
+
init_styles_css_ts_vanilla$30();
|
|
150
|
+
init_styles_css_ts_vanilla$31();
|
|
151
|
+
init_styles_css_ts_vanilla$58();
|
|
152
|
+
init_variables_css_ts_vanilla$1();
|
|
153
|
+
init_styles_css_ts_vanilla$15();
|
|
154
|
+
init_styles_css_ts_vanilla$8();
|
|
155
|
+
init_styles_css_ts_vanilla$59();
|
|
9
156
|
init_dropdown_css_ts_vanilla();
|
|
157
|
+
init_styles_css_ts_vanilla$19();
|
|
158
|
+
init_selectBar_css_ts_vanilla();
|
|
159
|
+
init_styles_css_ts_vanilla$20();
|
|
160
|
+
init_styles_css_ts_vanilla$14();
|
|
161
|
+
init_stylesVariants_css_ts_vanilla();
|
|
162
|
+
init_styles_css_ts_vanilla$21();
|
|
163
|
+
init_styles_css_ts_vanilla$60();
|
|
164
|
+
init_styles_css_ts_vanilla$61();
|
|
165
|
+
init_variables_css_ts_vanilla();
|
|
10
166
|
init_styles_css_ts_vanilla();
|
|
167
|
+
init_styles_css_ts_vanilla$62();
|
|
168
|
+
init_styles_css_ts_vanilla$63();
|
|
169
|
+
init_styles_css_ts_vanilla$64();
|
|
170
|
+
init_variables_css_ts_vanilla$7();
|
|
171
|
+
init_styles_css_ts_vanilla$65();
|
|
172
|
+
init_styles_css_ts_vanilla$66();
|
|
173
|
+
init_styles_css_ts_vanilla$26();
|
|
174
|
+
init_styles_css_ts_vanilla$67();
|
|
175
|
+
init_variables_css_ts_vanilla$8();
|
|
176
|
+
init_style_css_ts_vanilla();
|
|
177
|
+
init_styles_css_ts_vanilla$68();
|
|
178
|
+
init_styles_css_ts_vanilla$9();
|
|
179
|
+
init_styles_css_ts_vanilla$69();
|
|
180
|
+
init_styles_css_ts_vanilla$70();
|
|
181
|
+
init_styles_css_ts_vanilla$71();
|
|
182
|
+
init_styles_css_ts_vanilla$72();
|
|
183
|
+
init_styles_css_ts_vanilla$3();
|
|
184
|
+
init_styles_css_ts_vanilla$73();
|
|
185
|
+
init_styles_css_ts_vanilla$74();
|
|
186
|
+
init_styles_css_ts_vanilla$75();
|
|
11
187
|
optionSelectorStyle = {
|
|
12
188
|
arrow: {
|
|
13
189
|
horizontal: "uv_12opk3la",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,iBAAiB,+CAqC7B,CAAA"}
|
|
@@ -1,235 +1,20 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { Stack, init_Stack } from "../../Stack/index.js";
|
|
3
|
-
import { Text, init_Text } from "../../Text/index.js";
|
|
4
|
-
import { NumberInput, init_NumberInput } from "../../NumberInput/index.js";
|
|
5
3
|
import { OrderSummaryContext, init_Provider } from "./Provider.js";
|
|
6
|
-
import { DisplayPrice, calculateSubCategoryPrice, formatNumber, init_helpers } from "./helpers.js";
|
|
7
4
|
import { init_styles_css, orderSummaryStyle } from "./styles.css.js";
|
|
5
|
+
import { CategoryName, init_Category } from "./components/Category.js";
|
|
6
|
+
import { SubCategory, init_SubCategory } from "./components/SubCategory.js";
|
|
8
7
|
import { useContext } from "react";
|
|
9
|
-
import {
|
|
10
|
-
import { AttachIcon } from "@ultraviolet/icons/AttachIcon";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
9
|
|
|
12
10
|
//#region src/components/compositions/OrderSummary/ScrollableContent.tsx
|
|
13
|
-
var
|
|
11
|
+
var ScrollableContent;
|
|
14
12
|
var init_ScrollableContent = __esmMin(() => {
|
|
15
|
-
init_NumberInput();
|
|
16
13
|
init_Stack();
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
init_Category();
|
|
15
|
+
init_SubCategory();
|
|
19
16
|
init_Provider();
|
|
20
17
|
init_styles_css();
|
|
21
|
-
SubCategoryPrice = ({ subCategory }) => {
|
|
22
|
-
const { currency, localeFormat, hideTimeUnit, timePeriodAmount, timePeriodUnit, fractionDigits } = useContext(OrderSummaryContext);
|
|
23
|
-
const subCategoryPrice = calculateSubCategoryPrice(subCategory, hideTimeUnit, timePeriodAmount, timePeriodUnit);
|
|
24
|
-
const getCorrectPrice = (variant, index) => subCategory.priceUnit ? subCategory.price : subCategoryPrice[variant][index];
|
|
25
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [subCategory.price !== void 0 && !subCategory.hidePrice && subCategoryPrice.default[0] === subCategoryPrice.discounted[0] && subCategoryPrice.default[1] === subCategoryPrice.discounted[1] ? /* @__PURE__ */ jsxs(Text, {
|
|
26
|
-
as: "span",
|
|
27
|
-
prominence: "strong",
|
|
28
|
-
sentiment: "neutral",
|
|
29
|
-
variant: "bodySmallStrong",
|
|
30
|
-
children: [subCategoryPrice.discounted[0] === subCategoryPrice.discounted[1] || subCategory.priceUnit ? formatNumber(getCorrectPrice("discounted", 0), localeFormat, currency, fractionDigits) : `${formatNumber(subCategoryPrice.discounted[0], localeFormat, currency, fractionDigits)} - ${formatNumber(subCategoryPrice.discounted[1], localeFormat, currency, fractionDigits)}`, subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""]
|
|
31
|
-
}) : null, subCategory.price !== void 0 && !subCategory.hidePrice && (subCategoryPrice.default[0] !== subCategoryPrice.discounted[0] || subCategoryPrice.default[1] !== subCategoryPrice.discounted[1]) ? /* @__PURE__ */ jsxs(Stack, {
|
|
32
|
-
alignItems: "center",
|
|
33
|
-
direction: "row",
|
|
34
|
-
gap: 1,
|
|
35
|
-
children: [/* @__PURE__ */ jsxs(Text, {
|
|
36
|
-
as: "span",
|
|
37
|
-
prominence: "weak",
|
|
38
|
-
sentiment: "neutral",
|
|
39
|
-
strikeThrough: true,
|
|
40
|
-
variant: "bodySmallStrong",
|
|
41
|
-
children: [subCategoryPrice.default[0] === subCategoryPrice.default[1] || subCategory.priceUnit ? formatNumber(getCorrectPrice("default", 0), localeFormat, currency, fractionDigits) : `${formatNumber(subCategoryPrice.default[0], localeFormat, currency, fractionDigits)} - ${formatNumber(subCategoryPrice.default[1], localeFormat, currency, fractionDigits)}`, subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""]
|
|
42
|
-
}), /* @__PURE__ */ jsxs(Text, {
|
|
43
|
-
as: "span",
|
|
44
|
-
prominence: "strong",
|
|
45
|
-
sentiment: "neutral",
|
|
46
|
-
variant: "bodySmallStrong",
|
|
47
|
-
children: [subCategoryPrice.discounted[0] === subCategoryPrice.discounted[1] || subCategory.priceUnit ? formatNumber(getCorrectPrice("discounted", 0), localeFormat, currency, fractionDigits) : `${formatNumber(subCategoryPrice.discounted[0], localeFormat, currency, fractionDigits)} - ${formatNumber(subCategoryPrice.discounted[1], localeFormat, currency, fractionDigits)}`, subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""]
|
|
48
|
-
})]
|
|
49
|
-
}) : null] });
|
|
50
|
-
};
|
|
51
|
-
CategoryName = ({ category }) => {
|
|
52
|
-
var _categoriesPrice$cate;
|
|
53
|
-
const { categoriesPrice } = useContext(OrderSummaryContext);
|
|
54
|
-
const categoryPrice = (_categoriesPrice$cate = categoriesPrice[category.category]) !== null && _categoriesPrice$cate !== void 0 ? _categoriesPrice$cate : {
|
|
55
|
-
maxPrice: 0,
|
|
56
|
-
maxPriceWithDiscount: 0,
|
|
57
|
-
timeUnit: "hours",
|
|
58
|
-
totalPrice: 0,
|
|
59
|
-
totalPriceWithDiscount: 0
|
|
60
|
-
};
|
|
61
|
-
return category.category ? /* @__PURE__ */ jsxs(Stack, {
|
|
62
|
-
alignItems: "center",
|
|
63
|
-
direction: "row",
|
|
64
|
-
justifyContent: "space-between",
|
|
65
|
-
children: [
|
|
66
|
-
category.additionalInfo ? /* @__PURE__ */ jsxs(Stack, {
|
|
67
|
-
alignItems: "center",
|
|
68
|
-
direction: "row",
|
|
69
|
-
gap: 1,
|
|
70
|
-
children: [/* @__PURE__ */ jsx(Text, {
|
|
71
|
-
as: "span",
|
|
72
|
-
prominence: "strong",
|
|
73
|
-
sentiment: "neutral",
|
|
74
|
-
variant: "bodyStrong",
|
|
75
|
-
children: category.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
76
|
-
className: orderSummaryStyle.anchor,
|
|
77
|
-
href: category.anchor,
|
|
78
|
-
children: [/* @__PURE__ */ jsx(AttachIcon, {
|
|
79
|
-
className: orderSummaryStyle.anchorIcon({ size: "medium" }),
|
|
80
|
-
sentiment: "info"
|
|
81
|
-
}), category.category]
|
|
82
|
-
}) : category.category
|
|
83
|
-
}), /* @__PURE__ */ jsx(Text, {
|
|
84
|
-
as: "span",
|
|
85
|
-
italic: true,
|
|
86
|
-
sentiment: "primary",
|
|
87
|
-
variant: "bodySmall",
|
|
88
|
-
children: category.additionalInfo
|
|
89
|
-
})]
|
|
90
|
-
}) : /* @__PURE__ */ jsx(Text, {
|
|
91
|
-
as: "span",
|
|
92
|
-
prominence: "strong",
|
|
93
|
-
sentiment: "neutral",
|
|
94
|
-
variant: "bodyStrong",
|
|
95
|
-
children: category.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
96
|
-
className: orderSummaryStyle.anchor,
|
|
97
|
-
href: category.anchor,
|
|
98
|
-
children: [/* @__PURE__ */ jsx(AttachIcon, {
|
|
99
|
-
className: orderSummaryStyle.anchorIcon({ size: "medium" }),
|
|
100
|
-
sentiment: "info"
|
|
101
|
-
}), category.category]
|
|
102
|
-
}) : category.category
|
|
103
|
-
}),
|
|
104
|
-
category.customContent,
|
|
105
|
-
category.numberInput ? /* @__PURE__ */ jsx(NumberInput, {
|
|
106
|
-
className: orderSummaryStyle.numberInput,
|
|
107
|
-
controls: category.numberInputControls,
|
|
108
|
-
onChange: category.onChangeInput,
|
|
109
|
-
size: "small",
|
|
110
|
-
unit: category.numberInputUnit,
|
|
111
|
-
value: category.numberInputValue
|
|
112
|
-
}) : null,
|
|
113
|
-
!(category.customContent || category.numberInput) && categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsx(Text, {
|
|
114
|
-
as: "span",
|
|
115
|
-
prominence: "strong",
|
|
116
|
-
sentiment: "neutral",
|
|
117
|
-
variant: "bodyStrong",
|
|
118
|
-
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
119
|
-
beforeOrAfter: "after",
|
|
120
|
-
price: categoryPrice
|
|
121
|
-
})
|
|
122
|
-
}) : null,
|
|
123
|
-
!(category.customContent || category.numberInput) && categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsxs(Stack, {
|
|
124
|
-
alignItems: "center",
|
|
125
|
-
direction: "row",
|
|
126
|
-
gap: 1,
|
|
127
|
-
children: [/* @__PURE__ */ jsx(Text, {
|
|
128
|
-
as: "span",
|
|
129
|
-
prominence: "weak",
|
|
130
|
-
sentiment: "neutral",
|
|
131
|
-
strikeThrough: true,
|
|
132
|
-
variant: "bodySmallStrong",
|
|
133
|
-
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
134
|
-
beforeOrAfter: "before",
|
|
135
|
-
price: categoryPrice
|
|
136
|
-
})
|
|
137
|
-
}), /* @__PURE__ */ jsx(Text, {
|
|
138
|
-
as: "span",
|
|
139
|
-
prominence: "strong",
|
|
140
|
-
sentiment: "neutral",
|
|
141
|
-
variant: "bodyStrong",
|
|
142
|
-
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
143
|
-
beforeOrAfter: "after",
|
|
144
|
-
price: categoryPrice
|
|
145
|
-
})
|
|
146
|
-
})]
|
|
147
|
-
}) : null
|
|
148
|
-
]
|
|
149
|
-
}) : null;
|
|
150
|
-
};
|
|
151
|
-
SubCategory = ({ subCategory }) => {
|
|
152
|
-
var _subCategory$details;
|
|
153
|
-
return /* @__PURE__ */ jsxs(Stack, {
|
|
154
|
-
direction: "column",
|
|
155
|
-
gap: 1,
|
|
156
|
-
children: [/* @__PURE__ */ jsxs(Stack, {
|
|
157
|
-
alignItems: "center",
|
|
158
|
-
direction: "row",
|
|
159
|
-
justifyContent: "space-between",
|
|
160
|
-
children: [
|
|
161
|
-
subCategory.additionalInfo || subCategory.icon ? /* @__PURE__ */ jsxs(Stack, {
|
|
162
|
-
alignItems: "center",
|
|
163
|
-
direction: "row",
|
|
164
|
-
gap: 1,
|
|
165
|
-
children: [
|
|
166
|
-
subCategory.icon,
|
|
167
|
-
/* @__PURE__ */ jsx(Text, {
|
|
168
|
-
as: "span",
|
|
169
|
-
prominence: "strong",
|
|
170
|
-
sentiment: "neutral",
|
|
171
|
-
variant: "bodySmallStrong",
|
|
172
|
-
children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
173
|
-
className: orderSummaryStyle.anchor,
|
|
174
|
-
href: subCategory.anchor,
|
|
175
|
-
children: [/* @__PURE__ */ jsx(AttachIcon, {
|
|
176
|
-
className: orderSummaryStyle.anchorIcon({ size: "small" }),
|
|
177
|
-
sentiment: "info"
|
|
178
|
-
}), subCategory.title]
|
|
179
|
-
}) : subCategory.title
|
|
180
|
-
}),
|
|
181
|
-
/* @__PURE__ */ jsx(Text, {
|
|
182
|
-
as: "span",
|
|
183
|
-
italic: true,
|
|
184
|
-
sentiment: "primary",
|
|
185
|
-
variant: "bodySmall",
|
|
186
|
-
children: subCategory.additionalInfo
|
|
187
|
-
})
|
|
188
|
-
]
|
|
189
|
-
}) : /* @__PURE__ */ jsx(Text, {
|
|
190
|
-
as: "span",
|
|
191
|
-
prominence: "strong",
|
|
192
|
-
sentiment: "neutral",
|
|
193
|
-
variant: "bodySmallStrong",
|
|
194
|
-
children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
195
|
-
className: orderSummaryStyle.anchor,
|
|
196
|
-
href: subCategory.anchor,
|
|
197
|
-
children: [/* @__PURE__ */ jsx(AttachIcon, {
|
|
198
|
-
className: orderSummaryStyle.anchorIcon({ size: "small" }),
|
|
199
|
-
sentiment: "info"
|
|
200
|
-
}), subCategory.title]
|
|
201
|
-
}) : subCategory.title
|
|
202
|
-
}),
|
|
203
|
-
subCategory.customContent ? /* @__PURE__ */ jsx(Text, {
|
|
204
|
-
as: "span",
|
|
205
|
-
prominence: "strong",
|
|
206
|
-
sentiment: "neutral",
|
|
207
|
-
variant: "bodySmallStrong",
|
|
208
|
-
children: subCategory.customContent
|
|
209
|
-
}) : null,
|
|
210
|
-
subCategory.numberInput ? /* @__PURE__ */ jsx(NumberInput, {
|
|
211
|
-
className: orderSummaryStyle.numberInput,
|
|
212
|
-
controls: subCategory.numberInputControls,
|
|
213
|
-
onChange: subCategory.onChangeInput,
|
|
214
|
-
size: "small",
|
|
215
|
-
unit: subCategory.numberInputUnit,
|
|
216
|
-
value: subCategory.numberInputValue
|
|
217
|
-
}) : null,
|
|
218
|
-
/* @__PURE__ */ jsx(SubCategoryPrice, { subCategory })
|
|
219
|
-
]
|
|
220
|
-
}), /* @__PURE__ */ jsx(Stack, {
|
|
221
|
-
className: orderSummaryStyle.details,
|
|
222
|
-
direction: "column",
|
|
223
|
-
gap: .5,
|
|
224
|
-
children: (_subCategory$details = subCategory.details) === null || _subCategory$details === void 0 ? void 0 : _subCategory$details.map((detail, index) => detail ? /* @__PURE__ */ jsx(Text, {
|
|
225
|
-
as: "span",
|
|
226
|
-
sentiment: "neutral",
|
|
227
|
-
variant: "bodySmall",
|
|
228
|
-
children: detail
|
|
229
|
-
}, `${subCategory.title}-${index}`) : null)
|
|
230
|
-
})]
|
|
231
|
-
});
|
|
232
|
-
};
|
|
233
18
|
ScrollableContent = () => {
|
|
234
19
|
const { items } = useContext(OrderSummaryContext);
|
|
235
20
|
return /* @__PURE__ */ jsx(Stack, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/OrderSummary/components/Category.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,YAAY;;oDAwGxB,CAAA"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Stack, init_Stack } from "../../../Stack/index.js";
|
|
3
|
+
import { Text, init_Text } from "../../../Text/index.js";
|
|
4
|
+
import { NumberInput, init_NumberInput } from "../../../NumberInput/index.js";
|
|
5
|
+
import { OrderSummaryContext, init_Provider } from "../Provider.js";
|
|
6
|
+
import { DisplayPrice, init_helpers } from "../helpers.js";
|
|
7
|
+
import { init_styles_css, orderSummaryStyle } from "../styles.css.js";
|
|
8
|
+
import { useContext } from "react";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { AttachIcon } from "@ultraviolet/icons/AttachIcon";
|
|
11
|
+
|
|
12
|
+
//#region src/components/compositions/OrderSummary/components/Category.tsx
|
|
13
|
+
var CategoryName;
|
|
14
|
+
var init_Category = __esmMin(() => {
|
|
15
|
+
init_NumberInput();
|
|
16
|
+
init_Stack();
|
|
17
|
+
init_Text();
|
|
18
|
+
init_helpers();
|
|
19
|
+
init_Provider();
|
|
20
|
+
init_styles_css();
|
|
21
|
+
CategoryName = ({ category }) => {
|
|
22
|
+
var _categoriesPrice$cate;
|
|
23
|
+
const { categoriesPrice } = useContext(OrderSummaryContext);
|
|
24
|
+
const categoryPrice = (_categoriesPrice$cate = categoriesPrice[category.category]) !== null && _categoriesPrice$cate !== void 0 ? _categoriesPrice$cate : {
|
|
25
|
+
maxPrice: 0,
|
|
26
|
+
maxPriceWithDiscount: 0,
|
|
27
|
+
timeUnit: "hours",
|
|
28
|
+
totalPrice: 0,
|
|
29
|
+
totalPriceWithDiscount: 0
|
|
30
|
+
};
|
|
31
|
+
return category.category ? /* @__PURE__ */ jsxs(Stack, {
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
direction: "row",
|
|
34
|
+
justifyContent: "space-between",
|
|
35
|
+
children: [
|
|
36
|
+
category.additionalInfo ? /* @__PURE__ */ jsxs(Stack, {
|
|
37
|
+
alignItems: "center",
|
|
38
|
+
direction: "row",
|
|
39
|
+
gap: 1,
|
|
40
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
41
|
+
as: "span",
|
|
42
|
+
prominence: "strong",
|
|
43
|
+
sentiment: "neutral",
|
|
44
|
+
variant: "bodyStrong",
|
|
45
|
+
children: category.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
46
|
+
className: orderSummaryStyle.anchor,
|
|
47
|
+
href: category.anchor,
|
|
48
|
+
children: [/* @__PURE__ */ jsx(AttachIcon, {
|
|
49
|
+
className: orderSummaryStyle.anchorIcon({ size: "medium" }),
|
|
50
|
+
sentiment: "info"
|
|
51
|
+
}), category.category]
|
|
52
|
+
}) : category.category
|
|
53
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
54
|
+
as: "span",
|
|
55
|
+
italic: true,
|
|
56
|
+
sentiment: "primary",
|
|
57
|
+
variant: "bodySmall",
|
|
58
|
+
children: category.additionalInfo
|
|
59
|
+
})]
|
|
60
|
+
}) : /* @__PURE__ */ jsx(Text, {
|
|
61
|
+
as: "span",
|
|
62
|
+
prominence: "strong",
|
|
63
|
+
sentiment: "neutral",
|
|
64
|
+
variant: "bodyStrong",
|
|
65
|
+
children: category.anchor ? /* @__PURE__ */ jsxs("a", {
|
|
66
|
+
className: orderSummaryStyle.anchor,
|
|
67
|
+
href: category.anchor,
|
|
68
|
+
children: [/* @__PURE__ */ jsx(AttachIcon, {
|
|
69
|
+
className: orderSummaryStyle.anchorIcon({ size: "medium" }),
|
|
70
|
+
sentiment: "info"
|
|
71
|
+
}), category.category]
|
|
72
|
+
}) : category.category
|
|
73
|
+
}),
|
|
74
|
+
category.customContent,
|
|
75
|
+
category.numberInput ? /* @__PURE__ */ jsx(NumberInput, {
|
|
76
|
+
className: orderSummaryStyle.numberInput,
|
|
77
|
+
controls: category.numberInputControls,
|
|
78
|
+
onChange: category.onChangeInput,
|
|
79
|
+
size: "small",
|
|
80
|
+
unit: category.numberInputUnit,
|
|
81
|
+
value: category.numberInputValue
|
|
82
|
+
}) : null,
|
|
83
|
+
!(category.customContent || category.numberInput) && categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsx(Text, {
|
|
84
|
+
as: "span",
|
|
85
|
+
prominence: "strong",
|
|
86
|
+
sentiment: "neutral",
|
|
87
|
+
variant: "bodyStrong",
|
|
88
|
+
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
89
|
+
beforeOrAfter: "after",
|
|
90
|
+
price: categoryPrice
|
|
91
|
+
})
|
|
92
|
+
}) : null,
|
|
93
|
+
!(category.customContent || category.numberInput) && categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsxs(Stack, {
|
|
94
|
+
alignItems: "center",
|
|
95
|
+
direction: "row",
|
|
96
|
+
gap: 1,
|
|
97
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
98
|
+
as: "span",
|
|
99
|
+
prominence: "weak",
|
|
100
|
+
sentiment: "neutral",
|
|
101
|
+
strikeThrough: true,
|
|
102
|
+
variant: "bodySmallStrong",
|
|
103
|
+
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
104
|
+
beforeOrAfter: "before",
|
|
105
|
+
price: categoryPrice
|
|
106
|
+
})
|
|
107
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
108
|
+
as: "span",
|
|
109
|
+
prominence: "strong",
|
|
110
|
+
sentiment: "neutral",
|
|
111
|
+
variant: "bodyStrong",
|
|
112
|
+
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
113
|
+
beforeOrAfter: "after",
|
|
114
|
+
price: categoryPrice
|
|
115
|
+
})
|
|
116
|
+
})]
|
|
117
|
+
}) : null
|
|
118
|
+
]
|
|
119
|
+
}) : null;
|
|
120
|
+
};
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
//#endregion
|
|
124
|
+
init_Category();
|
|
125
|
+
export { CategoryName, init_Category };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubCategory.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/OrderSummary/components/SubCategory.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,eAAO,MAAM,WAAW;;6CA0FvB,CAAA"}
|