@ultraviolet/ui 3.10.1 → 3.11.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.113.0 → _@oxc-project_runtime@0.114.0}/helpers/asyncToGenerator.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/typeof.js +1 -1
- package/dist/components/ActionBar/index.js +2 -2
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/Avatar/index.js +3 -3
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Banner/index.js +2 -2
- package/dist/components/BarChart/Tooltip.js +1 -1
- package/dist/components/BarChart/index.js +2 -2
- package/dist/components/BarStack/index.js +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Bullet/index.js +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/index.js +2 -2
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts +4 -0
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxIconContainer.js +38 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +9 -37
- package/dist/components/Checkbox/styles.css.d.ts +3 -3
- package/dist/components/Checkbox/styles.css.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css.js +17 -10
- package/dist/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.js +4 -3
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DateInput/components/CalendarContent.js +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +1 -1
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/Expandable/index.js +2 -2
- package/dist/components/ExpandableCard/index.js +2 -2
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/GlobalAlert/GlobalAlertLink.js +1 -1
- package/dist/components/GlobalAlert/index.js +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Key/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/LineChart/CustomLegend.js +2 -2
- package/dist/components/LineChart/index.js +2 -2
- package/dist/components/Link/index.js +4 -4
- package/dist/components/List/Cell.js +2 -2
- package/dist/components/List/HeaderCell.js +3 -3
- package/dist/components/List/HeaderRow.js +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/List/Row.js +5 -5
- package/dist/components/List/SelectBar.js +1 -1
- package/dist/components/List/SkeletonRows.js +2 -2
- package/dist/components/List/index.js +1 -1
- package/dist/components/List/styles.css.js +1 -0
- package/dist/components/Loader/index.js +2 -2
- package/dist/components/Menu/MenuContent.js +1 -1
- package/dist/components/Menu/components/Item.d.ts +1 -0
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.js +28 -8
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/components/Dialog.js +2 -2
- package/dist/components/Notice/index.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/Notification/NotificationContainer.js +1 -1
- package/dist/components/NumberInput/index.js +1 -1
- package/dist/components/Pagination/PaginationButtons.js +1 -1
- package/dist/components/PasswordCheck/index.js +1 -1
- package/dist/components/PieChart/index.js +2 -2
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Popup/index.js +2 -2
- package/dist/components/ProgressBar/index.js +1 -1
- package/dist/components/ProgressBar/styles.css.js +1 -0
- package/dist/components/ProgressBar/variables.css.js +0 -2
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/Radio/styles.css.js +1 -0
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Row/index.js +3 -3
- package/dist/components/SearchInput/index.js +1 -1
- package/dist/components/SelectInput/components/Dropdown.js +4 -4
- package/dist/components/SelectInput/components/SearchBarDropdown.js +3 -3
- package/dist/components/SelectInput/components/SelectBar.js +3 -3
- package/dist/components/SelectInput/index.js +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.d.ts +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.js +2 -2
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +2 -2
- package/dist/components/SelectableCardGroup/index.js +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Image.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +2 -2
- package/dist/components/Separator/index.js +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +2 -2
- package/dist/components/Slider/components/SingleSlider.js +3 -3
- package/dist/components/Snippet/index.js +2 -2
- package/dist/components/Stack/index.js +3 -3
- package/dist/components/Status/index.js +1 -1
- package/dist/components/StepList/index.js +1 -1
- package/dist/components/Stepper/Step.js +1 -1
- package/dist/components/Stepper/index.js +2 -2
- package/dist/components/SwitchButton/Option.js +1 -1
- package/dist/components/SwitchButton/index.js +1 -1
- package/dist/components/Table/Cell.js +2 -2
- package/dist/components/Table/HeaderCell.js +2 -2
- package/dist/components/Table/HeaderRow.js +1 -1
- package/dist/components/Table/Row.js +5 -5
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/Tab.js +3 -3
- package/dist/components/Tabs/TabMenu.js +3 -3
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Tabs/index.js +3 -3
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TagInput/index.js +2 -2
- package/dist/components/TagList/index.js +2 -2
- package/dist/components/Text/index.js +3 -3
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/TextInput/index.js +1 -1
- package/dist/components/TimeInput/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/ToasterContainer.js +1 -1
- package/dist/components/Toggle/index.js +1 -1
- package/dist/components/ToggleGroup/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/TreeMapChart/index.js +3 -3
- package/dist/components/UnitInput/index.js +2 -2
- package/dist/components/VerificationCode/index.js +1 -1
- package/dist/components/compositions/CodeEditor/index.d.ts +40 -0
- package/dist/components/compositions/CodeEditor/index.d.ts.map +1 -0
- package/dist/components/compositions/CodeEditor/index.js +129 -0
- package/dist/components/compositions/CodeEditor/styles.css.d.ts +19 -0
- package/dist/components/compositions/CodeEditor/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/CodeEditor/styles.css.js +30 -0
- package/dist/components/compositions/ContentCard/Content.d.ts +13 -0
- package/dist/components/compositions/ContentCard/Content.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/Content.js +65 -0
- package/dist/components/compositions/ContentCard/Skeleton.d.ts +6 -0
- package/dist/components/compositions/ContentCard/Skeleton.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/Skeleton.js +33 -0
- package/dist/components/compositions/ContentCard/index.d.ts +8 -0
- package/dist/components/compositions/ContentCard/index.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/index.js +80 -0
- package/dist/components/compositions/ContentCard/styles.css.d.ts +24 -0
- package/dist/components/compositions/ContentCard/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/styles.css.js +36 -0
- package/dist/components/compositions/ContentCard/type.d.ts +30 -0
- package/dist/components/compositions/ContentCard/type.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/Card.d.ts +15 -0
- package/dist/components/compositions/ContentCardGroup/Card.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/Card.js +58 -0
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts +2 -0
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.js +30 -0
- package/dist/components/compositions/ContentCardGroup/index.d.ts +21 -0
- package/dist/components/compositions/ContentCardGroup/index.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/index.js +21 -0
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts +8 -0
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/styles.css.js +13 -0
- package/dist/components/compositions/Conversation/index.d.ts +50 -0
- package/dist/components/compositions/Conversation/index.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/index.js +53 -0
- package/dist/components/compositions/Conversation/styles.css.d.ts +8 -0
- package/dist/components/compositions/Conversation/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/styles.css.js +22 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/index.d.ts +33 -0
- package/dist/components/compositions/CustomerSatisfaction/index.d.ts.map +1 -0
- package/dist/components/compositions/CustomerSatisfaction/index.js +89 -0
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts +19 -0
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/CustomerSatisfaction/styles.css.js +20 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts +16 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.js +38 -0
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts +12 -0
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.js +114 -0
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts +10 -0
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.js +41 -0
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts +118 -0
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Item.js +168 -0
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +75 -0
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.js +54 -0
- package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts +7 -0
- package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/LineThrough.js +18 -0
- package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts +11 -0
- package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/NumberInput.js +35 -0
- package/dist/components/compositions/EstimateCost/Components/Region.d.ts +23 -0
- package/dist/components/compositions/EstimateCost/Components/Region.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Region.js +38 -0
- package/dist/components/compositions/EstimateCost/Components/Regular.d.ts +11 -0
- package/dist/components/compositions/EstimateCost/Components/Regular.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Regular.js +23 -0
- package/dist/components/compositions/EstimateCost/Components/Strong.d.ts +10 -0
- package/dist/components/compositions/EstimateCost/Components/Strong.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Strong.js +16 -0
- package/dist/components/compositions/EstimateCost/Components/Unit.d.ts +11 -0
- package/dist/components/compositions/EstimateCost/Components/Unit.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Unit.js +50 -0
- package/dist/components/compositions/EstimateCost/Components/Zone.d.ts +23 -0
- package/dist/components/compositions/EstimateCost/Components/Zone.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Zone.js +37 -0
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts +78 -0
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/components.css.js +71 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.js +198 -0
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts +26 -0
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +33 -0
- package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts +27 -0
- package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/OverlayComponent.js +100 -0
- package/dist/components/compositions/EstimateCost/OverlayContext.d.ts +13 -0
- package/dist/components/compositions/EstimateCost/OverlayContext.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/OverlayContext.js +15 -0
- package/dist/components/compositions/EstimateCost/constants.d.ts +8 -0
- package/dist/components/compositions/EstimateCost/constants.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/constants.js +26 -0
- package/dist/components/compositions/EstimateCost/helper.d.ts +10 -0
- package/dist/components/compositions/EstimateCost/helper.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/helper.js +11 -0
- package/dist/components/compositions/EstimateCost/index.d.ts +177 -0
- package/dist/components/compositions/EstimateCost/index.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/index.js +97 -0
- package/dist/components/compositions/EstimateCost/locales/en.d.ts +23 -0
- package/dist/components/compositions/EstimateCost/locales/en.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/locales/en.js +25 -0
- package/dist/components/compositions/EstimateCost/styles.css.d.ts +86 -0
- package/dist/components/compositions/EstimateCost/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/styles.css.js +72 -0
- package/dist/components/compositions/EstimateCost/types.d.ts +226 -0
- package/dist/components/compositions/EstimateCost/types.d.ts.map +1 -0
- package/dist/components/compositions/FAQ/index.d.ts +14 -0
- package/dist/components/compositions/FAQ/index.d.ts.map +1 -0
- package/dist/components/compositions/FAQ/index.js +43 -0
- package/dist/components/compositions/FAQ/styles.css.d.ts +2 -0
- package/dist/components/compositions/FAQ/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/FAQ/styles.css.js +7 -0
- package/dist/components/compositions/InfoTable/Context.d.ts +4 -0
- package/dist/components/compositions/InfoTable/Context.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/Context.js +7 -0
- package/dist/components/compositions/InfoTable/components/Cell.d.ts +10 -0
- package/dist/components/compositions/InfoTable/components/Cell.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/components/Cell.js +39 -0
- package/dist/components/compositions/InfoTable/components/Row.d.ts +9 -0
- package/dist/components/compositions/InfoTable/components/Row.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/components/Row.js +23 -0
- package/dist/components/compositions/InfoTable/index.d.ts +25 -0
- package/dist/components/compositions/InfoTable/index.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/index.js +28 -0
- package/dist/components/compositions/InfoTable/styles.css.d.ts +8 -0
- package/dist/components/compositions/InfoTable/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/styles.css.js +13 -0
- package/dist/components/compositions/Navigation/Footer.d.ts +9 -0
- package/dist/components/compositions/Navigation/Footer.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/Footer.js +65 -0
- package/dist/components/compositions/Navigation/Header.d.ts +7 -0
- package/dist/components/compositions/Navigation/Header.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/Header.js +24 -0
- package/dist/components/compositions/Navigation/NavigationContent.d.ts +3 -0
- package/dist/components/compositions/Navigation/NavigationContent.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/NavigationContent.js +104 -0
- package/dist/components/compositions/Navigation/NavigationProvider.d.ts +94 -0
- package/dist/components/compositions/Navigation/NavigationProvider.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/NavigationProvider.js +121 -0
- package/dist/components/compositions/Navigation/animations.css.d.ts +7 -0
- package/dist/components/compositions/Navigation/animations.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts +65 -0
- package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Group.d.ts +10 -0
- package/dist/components/compositions/Navigation/components/Group.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Group.js +40 -0
- package/dist/components/compositions/Navigation/components/Item.d.ts +88 -0
- package/dist/components/compositions/Navigation/components/Item.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Item.js +200 -0
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts +3 -0
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemExpanded.js +214 -0
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts +6 -0
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemFragments.js +63 -0
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts +4 -0
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemMenu.js +135 -0
- package/dist/components/compositions/Navigation/components/ItemProvider.d.ts +8 -0
- package/dist/components/compositions/Navigation/components/ItemProvider.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemProvider.js +17 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts +24 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.js +105 -0
- package/dist/components/compositions/Navigation/components/Separator.d.ts +2 -0
- package/dist/components/compositions/Navigation/components/Separator.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Separator.js +11 -0
- package/dist/components/compositions/Navigation/components/ShowHide.d.ts +16 -0
- package/dist/components/compositions/Navigation/components/ShowHide.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ShowHide.js +54 -0
- package/dist/components/compositions/Navigation/components/items.css.d.ts +98 -0
- package/dist/components/compositions/Navigation/components/items.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/items.css.js +124 -0
- package/dist/components/compositions/Navigation/components/styles.css.d.ts +25 -0
- package/dist/components/compositions/Navigation/components/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/styles.css.js +29 -0
- package/dist/components/compositions/Navigation/constants.d.ts +10 -0
- package/dist/components/compositions/Navigation/constants.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/index.d.ts +65 -0
- package/dist/components/compositions/Navigation/index.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/index.js +35 -0
- package/dist/components/compositions/Navigation/locales/en.d.ts +11 -0
- package/dist/components/compositions/Navigation/locales/en.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/locales/en.js +13 -0
- package/dist/components/compositions/Navigation/styles.css.d.ts +34 -0
- package/dist/components/compositions/Navigation/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/styles.css.js +37 -0
- package/dist/components/compositions/Navigation/types.d.ts +43 -0
- package/dist/components/compositions/Navigation/types.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/variables.css.d.ts +2 -0
- package/dist/components/compositions/Navigation/variables.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/variables.css.js +5 -0
- package/dist/components/compositions/OfferList/components/Cell.js +1 -1
- package/dist/components/compositions/OfferList/components/Row.js +4 -4
- package/dist/components/compositions/OfferList/index.js +1 -1
- package/dist/components/compositions/OptionSelector/components/Selector.js +1 -1
- package/dist/components/compositions/OptionSelector/index.js +1 -1
- package/dist/components/compositions/OrderSummary/ScrollableContent.js +1 -1
- package/dist/components/compositions/OrderSummary/helpers.js +1 -1
- package/dist/components/compositions/OrderSummary/index.js +1 -1
- package/dist/components/compositions/OrderSummary/types.d.ts +1 -1
- package/dist/components/compositions/OrderSummary/types.d.ts.map +1 -1
- package/dist/components/compositions/Plans/PlanHeader.js +1 -1
- package/dist/components/compositions/SteppedListCard/styles.css.js +0 -1
- package/dist/components/compositions/index.d.ts +9 -0
- package/dist/components/compositions/index.d.ts.map +1 -1
- package/dist/components/compositions/index.js +12 -1
- package/dist/index.js +17 -17
- package/dist/theme/ThemeProvider.js +1 -1
- package/dist/ui.css +1 -1
- package/package.json +10 -6
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
|
+
import { estimateCostTr } from "./components.css.js";
|
|
5
|
+
import { maximumFractionDigits, maximumFractionDigitsLong, multiplier } from "../constants.js";
|
|
6
|
+
import { useEstimateCost } from "../EstimateCostProvider.js";
|
|
7
|
+
import { calculatePrice } from "../helper.js";
|
|
8
|
+
import { useOverlay } from "../OverlayContext.js";
|
|
9
|
+
import { estimateCostCell, estimateCostOverlayRow, estimateCostPriceCell, paddingLeftCell } from "../styles.css.js";
|
|
10
|
+
import { ItemLeftSide } from "./ItemLeftSide.js";
|
|
11
|
+
import { ItemPrice } from "./ItemPrice.js";
|
|
12
|
+
import { memo, useCallback, useEffect, useId, useMemo, useState } from "react";
|
|
13
|
+
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { cn } from "@ultraviolet/utils";
|
|
16
|
+
|
|
17
|
+
//#region src/components/compositions/EstimateCost/Components/Item.tsx
|
|
18
|
+
const Item = memo(({ discount = 0, priceText, discountText, label, tooltipInfo, subLabel = "", price: basePrice = 0, monthlyPrice = 0, unit: baseUnit, amount: currentAmount = 1, onAmountChange, amountFree = 0, maxAmount = 0, longFractionDigits = false, noIteration = false, noIterationText, noBorder, noPrice, isDefined = true, children = null, isFirstElement = false, isLastElement = false, isPrimaryBackground = false, productsCallback, iteration: receivedIteration, shouldBeHidden = false, hideFromOverlay = false, textNotDefined, animated = false, tabulation, labelTextVariant, labelTextProminence, notice, strikeThrough, style }) => {
|
|
19
|
+
const { locales } = useEstimateCost();
|
|
20
|
+
let iteration;
|
|
21
|
+
if (noIteration) iteration = _objectSpread2(_objectSpread2({}, receivedIteration !== null && receivedIteration !== void 0 ? receivedIteration : { value: 0 }), {}, { unit: "hours" });
|
|
22
|
+
else iteration = receivedIteration;
|
|
23
|
+
const price = useMemo(() => {
|
|
24
|
+
if (monthlyPrice && basePrice === 0) return monthlyPrice / multiplier.months;
|
|
25
|
+
return basePrice;
|
|
26
|
+
}, [basePrice, monthlyPrice]);
|
|
27
|
+
const unit = useMemo(() => {
|
|
28
|
+
if (!baseUnit) return locales["estimate.cost.units.gb.label"];
|
|
29
|
+
return baseUnit;
|
|
30
|
+
}, [baseUnit, locales]);
|
|
31
|
+
const { isOverlay } = useOverlay();
|
|
32
|
+
const Row = isOverlay ? "li" : "tr";
|
|
33
|
+
const Cell = isOverlay ? "div" : "td";
|
|
34
|
+
const [amount, setAmount] = useState(currentAmount);
|
|
35
|
+
const [isVariant, setIsVariant] = useState(false);
|
|
36
|
+
useEffect(() => setAmount(currentAmount), [setAmount, currentAmount]);
|
|
37
|
+
useEffect(() => onAmountChange === null || onAmountChange === void 0 ? void 0 : onAmountChange(amount), [onAmountChange, amount]);
|
|
38
|
+
const itemCallback = useCallback((localAmount, localIsVariant) => {
|
|
39
|
+
setAmount(localAmount);
|
|
40
|
+
setIsVariant(localIsVariant);
|
|
41
|
+
}, [setAmount, setIsVariant]);
|
|
42
|
+
const id = useId();
|
|
43
|
+
useEffect(() => () => productsCallback === null || productsCallback === void 0 ? void 0 : productsCallback.remove({ id }), [id, productsCallback]);
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (!isOverlay) productsCallback === null || productsCallback === void 0 || productsCallback.add({
|
|
46
|
+
amount,
|
|
47
|
+
amountFree,
|
|
48
|
+
discount,
|
|
49
|
+
id,
|
|
50
|
+
isVariant,
|
|
51
|
+
longFractionDigits,
|
|
52
|
+
maxAmount,
|
|
53
|
+
noIteration,
|
|
54
|
+
price
|
|
55
|
+
});
|
|
56
|
+
}, [
|
|
57
|
+
price,
|
|
58
|
+
discount,
|
|
59
|
+
amount,
|
|
60
|
+
id,
|
|
61
|
+
productsCallback,
|
|
62
|
+
maxAmount,
|
|
63
|
+
noIteration,
|
|
64
|
+
isVariant,
|
|
65
|
+
amountFree,
|
|
66
|
+
isOverlay,
|
|
67
|
+
longFractionDigits
|
|
68
|
+
]);
|
|
69
|
+
const computedItemPrice = useMemo(() => {
|
|
70
|
+
var _iteration$value;
|
|
71
|
+
var _iteration$unit;
|
|
72
|
+
return calculatePrice({
|
|
73
|
+
amount,
|
|
74
|
+
amountFree,
|
|
75
|
+
discount,
|
|
76
|
+
price,
|
|
77
|
+
timeAmount: noIteration ? 1 : (_iteration$value = iteration === null || iteration === void 0 ? void 0 : iteration.value) !== null && _iteration$value !== void 0 ? _iteration$value : 1,
|
|
78
|
+
timeUnit: noIteration ? "hours" : (_iteration$unit = iteration === null || iteration === void 0 ? void 0 : iteration.unit) !== null && _iteration$unit !== void 0 ? _iteration$unit : "hours"
|
|
79
|
+
});
|
|
80
|
+
}, [
|
|
81
|
+
price,
|
|
82
|
+
amount,
|
|
83
|
+
amountFree,
|
|
84
|
+
iteration,
|
|
85
|
+
noIteration,
|
|
86
|
+
discount
|
|
87
|
+
]);
|
|
88
|
+
const computedMaxItemPrice = useMemo(() => {
|
|
89
|
+
var _iteration$value2;
|
|
90
|
+
var _iteration$unit2;
|
|
91
|
+
return calculatePrice({
|
|
92
|
+
amount: maxAmount,
|
|
93
|
+
amountFree,
|
|
94
|
+
discount,
|
|
95
|
+
price,
|
|
96
|
+
timeAmount: noIteration ? 1 : (_iteration$value2 = iteration === null || iteration === void 0 ? void 0 : iteration.value) !== null && _iteration$value2 !== void 0 ? _iteration$value2 : 1,
|
|
97
|
+
timeUnit: noIteration ? "hours" : (_iteration$unit2 = iteration === null || iteration === void 0 ? void 0 : iteration.unit) !== null && _iteration$unit2 !== void 0 ? _iteration$unit2 : "hours"
|
|
98
|
+
});
|
|
99
|
+
}, [
|
|
100
|
+
price,
|
|
101
|
+
maxAmount,
|
|
102
|
+
amountFree,
|
|
103
|
+
iteration,
|
|
104
|
+
noIteration,
|
|
105
|
+
discount
|
|
106
|
+
]);
|
|
107
|
+
const formatMaximumFractionDigits = useMemo(() => {
|
|
108
|
+
if (!(iteration === null || iteration === void 0 ? void 0 : iteration.unit)) return;
|
|
109
|
+
return longFractionDigits ? maximumFractionDigitsLong[iteration === null || iteration === void 0 ? void 0 : iteration.unit] : maximumFractionDigits[iteration === null || iteration === void 0 ? void 0 : iteration.unit];
|
|
110
|
+
}, [iteration === null || iteration === void 0 ? void 0 : iteration.unit, longFractionDigits]);
|
|
111
|
+
return /* @__PURE__ */ jsxs(Row, {
|
|
112
|
+
className: isOverlay ? estimateCostOverlayRow({
|
|
113
|
+
hideFromOverlay,
|
|
114
|
+
isFirstElement,
|
|
115
|
+
shouldBeHidden
|
|
116
|
+
}) : estimateCostTr,
|
|
117
|
+
style,
|
|
118
|
+
children: [/* @__PURE__ */ jsx(Cell, {
|
|
119
|
+
className: estimateCostCell({ hasBorder: !(isLastElement || noBorder || isOverlay) }),
|
|
120
|
+
style: assignInlineVars({ [paddingLeftCell]: `${(tabulation !== null && tabulation !== void 0 ? tabulation : 0) * 8 + 16}px` }),
|
|
121
|
+
children: /* @__PURE__ */ jsx(ItemLeftSide, {
|
|
122
|
+
amount,
|
|
123
|
+
animated,
|
|
124
|
+
discount,
|
|
125
|
+
discountText,
|
|
126
|
+
isDefined,
|
|
127
|
+
itemCallback,
|
|
128
|
+
label,
|
|
129
|
+
labelTextProminence,
|
|
130
|
+
labelTextVariant,
|
|
131
|
+
maxAmount,
|
|
132
|
+
notice,
|
|
133
|
+
subLabel,
|
|
134
|
+
textNotDefined,
|
|
135
|
+
tooltipInfo,
|
|
136
|
+
unit,
|
|
137
|
+
children
|
|
138
|
+
})
|
|
139
|
+
}), isOverlay ? null : /* @__PURE__ */ jsx("td", {
|
|
140
|
+
className: cn(estimateCostCell({
|
|
141
|
+
hasBorder: !(isLastElement || noBorder),
|
|
142
|
+
primary: isPrimaryBackground
|
|
143
|
+
}), estimateCostPriceCell),
|
|
144
|
+
style: assignInlineVars({ [paddingLeftCell]: "16px" }),
|
|
145
|
+
children: noPrice ? null : /* @__PURE__ */ jsx(ItemPrice, {
|
|
146
|
+
amount,
|
|
147
|
+
amountFree,
|
|
148
|
+
computedItemPrice,
|
|
149
|
+
computedMaxItemPrice,
|
|
150
|
+
discount,
|
|
151
|
+
formatMaximumFractionDigits,
|
|
152
|
+
longFractionDigits,
|
|
153
|
+
maxAmount,
|
|
154
|
+
maximumFractionDigits,
|
|
155
|
+
maximumFractionDigitsLong,
|
|
156
|
+
noIteration,
|
|
157
|
+
noIterationText,
|
|
158
|
+
price,
|
|
159
|
+
priceText,
|
|
160
|
+
strikeThrough,
|
|
161
|
+
unit
|
|
162
|
+
})
|
|
163
|
+
})]
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
//#endregion
|
|
168
|
+
export { Item };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ItemLeftSideProps } from '../types';
|
|
2
|
+
export declare const ItemLeftSide: ({ label, tooltipInfo, subLabel, discount, discountText, notice, isDefined, animated, children, amount, itemCallback, maxAmount, unit, textNotDefined, labelTextVariant, labelTextProminence, }: ItemLeftSideProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ItemLeftSide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemLeftSide.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/ItemLeftSide.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAkBjD,eAAO,MAAM,YAAY,gQA8FxB,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Stack } from "../../../Stack/index.js";
|
|
3
|
+
import { Tooltip } from "../../../Tooltip/index.js";
|
|
4
|
+
import { Text } from "../../../Text/index.js";
|
|
5
|
+
import { Badge } from "../../../Badge/index.js";
|
|
6
|
+
import { estimateCostBadgeItem, estimateCostLeftSide, estimateCostMaxWidthText, estimateCostResourceName, estimateCostTextItem, estimateCostTooltip, styledDiv } from "./components.css.js";
|
|
7
|
+
import { useEstimateCost } from "../EstimateCostProvider.js";
|
|
8
|
+
import { useOverlay } from "../OverlayContext.js";
|
|
9
|
+
import { Children, cloneElement, isValidElement } from "react";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { HelpCircleOutlineIcon } from "@ultraviolet/icons/HelpCircleOutlineIcon";
|
|
12
|
+
|
|
13
|
+
//#region src/components/compositions/EstimateCost/Components/ItemLeftSide.tsx
|
|
14
|
+
const ItemLeftSide = ({ label, tooltipInfo, subLabel, discount, discountText, notice, isDefined, animated, children, amount, itemCallback, maxAmount, unit, textNotDefined, labelTextVariant, labelTextProminence }) => {
|
|
15
|
+
const LeftSide = "div";
|
|
16
|
+
const { isOverlay } = useOverlay();
|
|
17
|
+
const { locales } = useEstimateCost();
|
|
18
|
+
return /* @__PURE__ */ jsxs(LeftSide, {
|
|
19
|
+
className: isOverlay ? "" : estimateCostLeftSide,
|
|
20
|
+
children: [/* @__PURE__ */ jsxs(Stack, { children: [/* @__PURE__ */ jsxs(Stack, {
|
|
21
|
+
direction: "row",
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsx(Text, {
|
|
24
|
+
as: "p",
|
|
25
|
+
prominence: labelTextProminence !== null && labelTextProminence !== void 0 ? labelTextProminence : "default",
|
|
26
|
+
variant: labelTextVariant !== null && labelTextVariant !== void 0 ? labelTextVariant : "body",
|
|
27
|
+
children: label
|
|
28
|
+
}),
|
|
29
|
+
tooltipInfo ? /* @__PURE__ */ jsx("div", {
|
|
30
|
+
className: styledDiv,
|
|
31
|
+
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
32
|
+
className: estimateCostTooltip,
|
|
33
|
+
text: tooltipInfo,
|
|
34
|
+
children: /* @__PURE__ */ jsx(HelpCircleOutlineIcon, { size: "medium" })
|
|
35
|
+
})
|
|
36
|
+
}) : null,
|
|
37
|
+
subLabel && !isOverlay ? /* @__PURE__ */ jsx(Text, {
|
|
38
|
+
as: "p",
|
|
39
|
+
className: estimateCostTextItem,
|
|
40
|
+
italic: true,
|
|
41
|
+
sentiment: "primary",
|
|
42
|
+
variant: "body",
|
|
43
|
+
children: subLabel
|
|
44
|
+
}) : null,
|
|
45
|
+
discount > 0 && discountText ? /* @__PURE__ */ jsx(Badge, {
|
|
46
|
+
className: estimateCostBadgeItem,
|
|
47
|
+
prominence: "strong",
|
|
48
|
+
sentiment: "warning",
|
|
49
|
+
size: "small",
|
|
50
|
+
children: discountText
|
|
51
|
+
}) : null
|
|
52
|
+
]
|
|
53
|
+
}), notice ? /* @__PURE__ */ jsx(Text, {
|
|
54
|
+
as: "p",
|
|
55
|
+
className: estimateCostMaxWidthText,
|
|
56
|
+
prominence: "weak",
|
|
57
|
+
variant: "caption",
|
|
58
|
+
children: notice
|
|
59
|
+
}) : null] }), /* @__PURE__ */ jsx("div", {
|
|
60
|
+
className: estimateCostResourceName({
|
|
61
|
+
isAnimated: isOverlay && animated,
|
|
62
|
+
isOverlay
|
|
63
|
+
}),
|
|
64
|
+
children: isDefined ? Children.map(children, (child) => isValidElement(child) ? cloneElement(child, {
|
|
65
|
+
amount,
|
|
66
|
+
itemCallback,
|
|
67
|
+
maxAmount,
|
|
68
|
+
unit
|
|
69
|
+
}) : null) : textNotDefined || locales["estimate.cost.notDefined"]
|
|
70
|
+
})]
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
//#endregion
|
|
75
|
+
export { ItemLeftSide };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ItemPriceProps } from '../types';
|
|
2
|
+
export declare const ItemPrice: ({ computedItemPrice, computedMaxItemPrice, strikeThrough, noIterationText, priceText, formatMaximumFractionDigits, amount, amountFree, maxAmount, noIteration, discount, price, longFractionDigits, maximumFractionDigitsLong, maximumFractionDigits, unit, }: ItemPriceProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ItemPrice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemPrice.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/ItemPrice.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAS,MAAM,UAAU,CAAA;AAUrD,eAAO,MAAM,SAAS,4TAoFrB,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Text } from "../../../Text/index.js";
|
|
3
|
+
import { useEstimateCost } from "../EstimateCostProvider.js";
|
|
4
|
+
import { calculatePrice } from "../helper.js";
|
|
5
|
+
import { Fragment, jsxs } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/compositions/EstimateCost/Components/ItemPrice.tsx
|
|
8
|
+
const TIME_RELATED_UNIT = [
|
|
9
|
+
"seconds",
|
|
10
|
+
"minutes",
|
|
11
|
+
"hours",
|
|
12
|
+
"days",
|
|
13
|
+
"months"
|
|
14
|
+
];
|
|
15
|
+
const ItemPrice = ({ computedItemPrice, computedMaxItemPrice, strikeThrough, noIterationText, priceText, formatMaximumFractionDigits, amount, amountFree, maxAmount, noIteration, discount, price, longFractionDigits, maximumFractionDigitsLong, maximumFractionDigits, unit }) => {
|
|
16
|
+
const { locales, formatNumber } = useEstimateCost();
|
|
17
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Text, {
|
|
18
|
+
as: "p",
|
|
19
|
+
placement: "right",
|
|
20
|
+
prominence: computedItemPrice === 0 && computedMaxItemPrice === 0 ? "weak" : "default",
|
|
21
|
+
sentiment: computedItemPrice === 0 && computedMaxItemPrice === 0 ? "neutral" : "primary",
|
|
22
|
+
strikeThrough,
|
|
23
|
+
variant: noIterationText ? "headingSmall" : "bodyStrong",
|
|
24
|
+
children: [
|
|
25
|
+
priceText,
|
|
26
|
+
priceText ? null : formatNumber(computedItemPrice, { maximumFractionDigits: formatMaximumFractionDigits }),
|
|
27
|
+
noIterationText ? /* @__PURE__ */ jsxs(Text, {
|
|
28
|
+
as: "span",
|
|
29
|
+
sentiment: "primary",
|
|
30
|
+
variant: "bodySmall",
|
|
31
|
+
children: ["/", noIterationText]
|
|
32
|
+
}) : null,
|
|
33
|
+
!priceText && computedMaxItemPrice > 0 ? ` - ${formatNumber(computedMaxItemPrice, { maximumFractionDigits: formatMaximumFractionDigits })}` : null
|
|
34
|
+
]
|
|
35
|
+
}), amount - amountFree !== 1 && computedItemPrice > 0 || maxAmount > 0 && computedMaxItemPrice > 0 ? /* @__PURE__ */ jsxs(Text, {
|
|
36
|
+
as: "p",
|
|
37
|
+
placement: "right",
|
|
38
|
+
variant: "body",
|
|
39
|
+
children: [
|
|
40
|
+
formatNumber(calculatePrice({
|
|
41
|
+
amount: 1,
|
|
42
|
+
discount,
|
|
43
|
+
price,
|
|
44
|
+
timeAmount: 1,
|
|
45
|
+
timeUnit: "hours"
|
|
46
|
+
}), { maximumFractionDigits: longFractionDigits ? maximumFractionDigitsLong.hours : maximumFractionDigits.hours }),
|
|
47
|
+
TIME_RELATED_UNIT.includes(unit) ? locales[`estimate.cost.units.${unit}.label`].toLowerCase() : `/${unit}`,
|
|
48
|
+
noIteration ? null : `/${locales["estimate.cost.units.hours.label"].toLowerCase()}`
|
|
49
|
+
]
|
|
50
|
+
}) : null] });
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
export { ItemPrice };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
type LineThroughProps = ComponentProps<'span'> & {
|
|
3
|
+
isActive?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const LineThrough: ({ isActive, className, ...props }: LineThroughProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=LineThrough.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineThrough.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/LineThrough.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,KAAK,gBAAgB,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,kGAUvB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties } from "../../../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectWithoutProperties.js";
|
|
5
|
+
import { estimateCostLineThrough } from "./components.css.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { cn } from "@ultraviolet/utils";
|
|
8
|
+
|
|
9
|
+
//#region src/components/compositions/EstimateCost/Components/LineThrough.tsx
|
|
10
|
+
const _excluded = ["isActive", "className"];
|
|
11
|
+
const LineThrough = (_ref) => {
|
|
12
|
+
let { isActive, className } = _ref;
|
|
13
|
+
let props = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /* @__PURE__ */ jsx("span", _objectSpread2({ className: cn(className, isActive ? estimateCostLineThrough : "") }, props));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { LineThrough };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type NumberInputProps = {
|
|
2
|
+
amount?: number;
|
|
3
|
+
itemCallback?: (amount?: number | null, isVariant?: boolean) => void;
|
|
4
|
+
getAmountValue?: (amount?: number | null) => void;
|
|
5
|
+
minValue?: number;
|
|
6
|
+
maxValue?: number;
|
|
7
|
+
controls?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: NumberInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/NumberInput.tsx"],"names":[],"mappings":"AAQA,KAAK,gBAAgB,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IACpE,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,wIAiCvB,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { estimateCostItemResourceName } from "./components.css.js";
|
|
4
|
+
import { useOverlay } from "../OverlayContext.js";
|
|
5
|
+
import { NumberInput as NumberInput$1 } from "../../../NumberInput/index.js";
|
|
6
|
+
import { Regular } from "./Regular.js";
|
|
7
|
+
import { useEffect, useState } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
|
|
10
|
+
//#region src/components/compositions/EstimateCost/Components/NumberInput.tsx
|
|
11
|
+
const NumberInput = ({ amount, minValue = 0, maxValue = 100, getAmountValue, itemCallback, controls = true }) => {
|
|
12
|
+
const { isOverlay } = useOverlay();
|
|
13
|
+
const [value, setValue] = useState(amount);
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
getAmountValue === null || getAmountValue === void 0 || getAmountValue(amount);
|
|
16
|
+
}, [getAmountValue, amount]);
|
|
17
|
+
return isOverlay ? /* @__PURE__ */ jsx("div", {
|
|
18
|
+
className: estimateCostItemResourceName(),
|
|
19
|
+
children: /* @__PURE__ */ jsx(Regular, { children: amount })
|
|
20
|
+
}) : /* @__PURE__ */ jsx(NumberInput$1, {
|
|
21
|
+
controls,
|
|
22
|
+
max: maxValue,
|
|
23
|
+
min: minValue,
|
|
24
|
+
onChange: (newValue) => {
|
|
25
|
+
setValue(newValue);
|
|
26
|
+
itemCallback === null || itemCallback === void 0 || itemCallback(newValue, true);
|
|
27
|
+
getAmountValue === null || getAmountValue === void 0 || getAmountValue(newValue);
|
|
28
|
+
},
|
|
29
|
+
size: "small",
|
|
30
|
+
value
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { NumberInput };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { BareEstimateProduct, EstimateProduct, Iteration } from '../types';
|
|
3
|
+
import { Item } from './Item';
|
|
4
|
+
type RegionProps = {
|
|
5
|
+
shouldBeHidden?: boolean;
|
|
6
|
+
priceText?: ReactNode;
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
isFirstElement?: boolean;
|
|
9
|
+
isLastElement?: boolean;
|
|
10
|
+
productsCallback?: {
|
|
11
|
+
add: (product: EstimateProduct) => void;
|
|
12
|
+
remove: (product: BareEstimateProduct) => void;
|
|
13
|
+
};
|
|
14
|
+
iteration?: Iteration;
|
|
15
|
+
discount?: number;
|
|
16
|
+
label: string;
|
|
17
|
+
image: string;
|
|
18
|
+
noBorder?: boolean;
|
|
19
|
+
noPrice?: boolean;
|
|
20
|
+
} & Pick<ComponentProps<typeof Item>, 'hideFromOverlay' | 'style'>;
|
|
21
|
+
export declare const Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, style, }: RegionProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=Region.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Region.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/Region.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItD,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG7B,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE;QACjB,GAAG,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAA;QACvC,MAAM,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAA;KAC/C,CAAA;IACD,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,CAAA;AAElE,eAAO,MAAM,MAAM,wQAgDlB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { useEstimateCost } from "../EstimateCostProvider.js";
|
|
4
|
+
import { estimateCostImage } from "../styles.css.js";
|
|
5
|
+
import { Item } from "./Item.js";
|
|
6
|
+
import { Strong } from "./Strong.js";
|
|
7
|
+
import { memo } from "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
|
|
10
|
+
//#region src/components/compositions/EstimateCost/Components/Region.tsx
|
|
11
|
+
const Region = memo(({ label, image, shouldBeHidden = false, priceText, animated = false, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, style }) => {
|
|
12
|
+
const { locales } = useEstimateCost();
|
|
13
|
+
return /* @__PURE__ */ jsx(Item, {
|
|
14
|
+
animated,
|
|
15
|
+
discount,
|
|
16
|
+
hideFromOverlay,
|
|
17
|
+
isFirstElement,
|
|
18
|
+
isLastElement,
|
|
19
|
+
iteration,
|
|
20
|
+
label: locales["estimate.cost.region.label"],
|
|
21
|
+
noBorder,
|
|
22
|
+
noPrice,
|
|
23
|
+
priceText,
|
|
24
|
+
productsCallback,
|
|
25
|
+
shouldBeHidden,
|
|
26
|
+
style,
|
|
27
|
+
children: /* @__PURE__ */ jsxs(Strong, { children: [/* @__PURE__ */ jsx("img", {
|
|
28
|
+
alt: label,
|
|
29
|
+
className: estimateCostImage,
|
|
30
|
+
height: "auto",
|
|
31
|
+
src: image,
|
|
32
|
+
width: "auto"
|
|
33
|
+
}), label] })
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Region };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
type RegularProps = {
|
|
3
|
+
variant?: 'normal' | 'small' | 'big' | 'capitalized';
|
|
4
|
+
isDisabledOnOverlay?: boolean;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const Regular: import("react").MemoExoticComponent<({ variant, isDisabledOnOverlay, children, className, style, }: RegularProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Regular.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Regular.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/Regular.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,YAAY,GAAG;IAClB,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,CAAA;IACpD,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,OAAO,sKAmBnB,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { estimateCostRegular } from "./components.css.js";
|
|
4
|
+
import { useOverlay } from "../OverlayContext.js";
|
|
5
|
+
import { memo } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { cn } from "@ultraviolet/utils";
|
|
8
|
+
|
|
9
|
+
//#region src/components/compositions/EstimateCost/Components/Regular.tsx
|
|
10
|
+
const Regular = memo(({ variant = "normal", isDisabledOnOverlay = false, children = null, className, style }) => {
|
|
11
|
+
const { isOverlay } = useOverlay();
|
|
12
|
+
return isDisabledOnOverlay && isOverlay ? null : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
className: cn(className, estimateCostRegular({
|
|
14
|
+
isOverlay,
|
|
15
|
+
variant
|
|
16
|
+
})),
|
|
17
|
+
style,
|
|
18
|
+
children
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Regular };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
type StrongProps = {
|
|
3
|
+
variant?: 'normal' | 'small' | 'big' | 'capitalized';
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
isDisabledOnOverlay?: boolean;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
};
|
|
8
|
+
export declare const Strong: import("react").MemoExoticComponent<({ variant, children, style }: StrongProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Strong.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Strong.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/Strong.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIrD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,CAAA;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AACD,eAAO,MAAM,MAAM,6HAYlB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { estimateCostRegular, estimateCostStrong } from "./components.css.js";
|
|
4
|
+
import { memo } from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { cn } from "@ultraviolet/utils";
|
|
7
|
+
|
|
8
|
+
//#region src/components/compositions/EstimateCost/Components/Strong.tsx
|
|
9
|
+
const Strong = memo(({ variant = "normal", children = null, style }) => /* @__PURE__ */ jsx("div", {
|
|
10
|
+
className: cn(estimateCostRegular({ variant }), estimateCostStrong({ variant })),
|
|
11
|
+
style,
|
|
12
|
+
children
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Strong };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
type UnitProps = {
|
|
3
|
+
amount?: number;
|
|
4
|
+
itemCallback?: (amount?: number, isVariant?: boolean) => void;
|
|
5
|
+
getAmountValue?: (amount?: number) => void;
|
|
6
|
+
unit?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
};
|
|
9
|
+
export declare const Unit: ({ amount, itemCallback, getAmountValue, unit, style, }: UnitProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Unit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Unit.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/Unit.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAU1C,KAAK,SAAS,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7D,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,IAAI,gHAwChB,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
|
+
import { estimateCostItemResourceName, estimateCostNumberInput } from "./components.css.js";
|
|
5
|
+
import { useOverlay } from "../OverlayContext.js";
|
|
6
|
+
import { NumberInput } from "../../../NumberInput/index.js";
|
|
7
|
+
import { Regular } from "./Regular.js";
|
|
8
|
+
import { useEffect, useState } from "react";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
|
|
11
|
+
//#region src/components/compositions/EstimateCost/Components/Unit.tsx
|
|
12
|
+
const Unit = ({ amount, itemCallback, getAmountValue, unit, style }) => {
|
|
13
|
+
const { isOverlay } = useOverlay();
|
|
14
|
+
const [capacity, setCapacity] = useState(amount === 0 ? void 0 : amount);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
setCapacity(amount);
|
|
17
|
+
itemCallback === null || itemCallback === void 0 || itemCallback(amount, true);
|
|
18
|
+
getAmountValue === null || getAmountValue === void 0 || getAmountValue(amount);
|
|
19
|
+
}, [
|
|
20
|
+
getAmountValue,
|
|
21
|
+
itemCallback,
|
|
22
|
+
capacity,
|
|
23
|
+
amount
|
|
24
|
+
]);
|
|
25
|
+
return isOverlay ? /* @__PURE__ */ jsx("div", {
|
|
26
|
+
className: estimateCostItemResourceName(),
|
|
27
|
+
style,
|
|
28
|
+
children: /* @__PURE__ */ jsx(Regular, { children: capacity })
|
|
29
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
30
|
+
style: _objectSpread2({ width: "150px" }, style),
|
|
31
|
+
children: /* @__PURE__ */ jsx(NumberInput, {
|
|
32
|
+
className: estimateCostNumberInput,
|
|
33
|
+
controls: false,
|
|
34
|
+
name: "capacity",
|
|
35
|
+
onChange: (capacityText) => {
|
|
36
|
+
const newCapacity = Number(capacityText) < 0 ? 0 : Number(capacityText);
|
|
37
|
+
setCapacity(newCapacity);
|
|
38
|
+
itemCallback === null || itemCallback === void 0 || itemCallback(newCapacity, true);
|
|
39
|
+
getAmountValue === null || getAmountValue === void 0 || getAmountValue(capacity);
|
|
40
|
+
},
|
|
41
|
+
placeholder: "00",
|
|
42
|
+
size: "small",
|
|
43
|
+
unit,
|
|
44
|
+
value: capacity
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
export { Unit };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { BareEstimateProduct, EstimateProduct, Iteration } from '../types';
|
|
3
|
+
type RegionProps = {
|
|
4
|
+
shouldBeHidden?: boolean;
|
|
5
|
+
priceText?: string;
|
|
6
|
+
animated?: boolean;
|
|
7
|
+
isFirstElement?: boolean;
|
|
8
|
+
isLastElement?: boolean;
|
|
9
|
+
productsCallback?: {
|
|
10
|
+
add: (product: EstimateProduct) => void;
|
|
11
|
+
remove: (product: BareEstimateProduct) => void;
|
|
12
|
+
};
|
|
13
|
+
iteration?: Iteration;
|
|
14
|
+
discount?: number;
|
|
15
|
+
label: string;
|
|
16
|
+
image: string;
|
|
17
|
+
noBorder?: boolean;
|
|
18
|
+
noPrice?: boolean;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
};
|
|
21
|
+
export declare const Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, style, }: RegionProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=Zone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Zone.d.ts","sourceRoot":"","sources":["../../../../../src/components/compositions/EstimateCost/Components/Zone.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAI1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAI/E,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE;QACjB,GAAG,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAA;QACvC,MAAM,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAA;KAC/C,CAAA;IACD,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,IAAI,uPA8ChB,CAAA"}
|