@ironsource/shared-ui 2.0.0-rc.2 → 2.0.0-test.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/appIcon/AppIcon.vue.js +6 -0
- package/components/appIcon/index.js +6 -0
- package/components/appTrigger/AppTrigger.vue.js +6 -0
- package/components/appTrigger/AppTrigger.vue2.js +121 -0
- package/components/appTrigger/index.js +6 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +6 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +119 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +6 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue2.js +79 -0
- package/components/autocompleteDropdown/GroupOption.vue.js +6 -0
- package/components/autocompleteDropdown/GroupOption.vue2.js +34 -0
- package/components/autocompleteDropdown/index.js +6 -0
- package/components/banner/Banner.vue.js +6 -0
- package/components/banner/Banner.vue2.js +58 -0
- package/components/banner/index.js +6 -0
- package/components/button/common/ButtonBase.vue2.js +6 -0
- package/components/button/common/ButtonBase.vue3.js +53 -0
- package/components/button/icon/LoaderCircleIcon.vue.js +33 -0
- package/components/button/icon/LoaderDotsIcon.vue.js +16 -0
- package/components/button/v3/Button.vue.js +6 -0
- package/components/button/v3/Button.vue2.js +90 -0
- package/components/button/v3/IconButton.vue.js +6 -0
- package/components/button/v3/IconButton.vue2.js +45 -0
- package/components/button/v3/ScrollButton.vue.js +6 -0
- package/components/button/v3/ScrollButton.vue2.js +43 -0
- package/components/button/v3/index.js +10 -0
- package/components/button/v4/ButtonV4.vue.js +6 -0
- package/components/button/v4/ButtonV4.vue2.js +84 -0
- package/components/button/v4/index.js +6 -0
- package/components/checkbox/Checkbox.vue.js +6 -0
- package/components/checkbox/Checkbox.vue2.js +91 -0
- package/components/checkbox/icons/checked.vue.js +27 -0
- package/components/checkbox/icons/indeterminate.vue.js +28 -0
- package/components/checkbox/icons/unchecked.vue.js +24 -0
- package/components/checkbox/index.js +6 -0
- package/components/chip/v3/Chip.vue.js +6 -0
- package/components/chip/v3/Chip.vue2.js +58 -0
- package/components/chip/v3/index.js +6 -0
- package/components/chip/v4/ChipV4.vue.js +6 -0
- package/components/chip/v4/ChipV4.vue2.js +67 -0
- package/components/chip/v4/index.js +6 -0
- package/components/cssBaseline/CssBaseline.vue.js +10 -0
- package/components/cssBaseline/index.js +6 -0
- package/components/datePicker/DatePicker.vue.js +6 -0
- package/components/datePicker/DatePicker.vue2.js +97 -0
- package/components/datePicker/DatePickerMonth.vue.js +6 -0
- package/components/datePicker/DatePickerMonth.vue2.js +85 -0
- package/components/datePicker/index.js +6 -0
- package/components/dateRange/CalendarMonth.vue.js +6 -0
- package/components/dateRange/CalendarMonth.vue2.js +243 -0
- package/components/dateRange/DateRange.vue.js +6 -0
- package/components/dateRange/DateRange.vue2.js +415 -0
- package/components/dateRange/index.js +6 -0
- package/components/dialog/Dialog.vue.js +6 -0
- package/components/dialog/Dialog.vue2.js +177 -0
- package/components/dialog/index.js +6 -0
- package/components/dropdown/common/Dropdown.common.js +299 -0
- package/components/dropdown/common/Label.vue.js +6 -0
- package/components/dropdown/common/Label.vue2.js +35 -0
- package/components/dropdown/common/Option.vue.js +6 -0
- package/components/dropdown/common/Option.vue2.js +101 -0
- package/components/dropdown/common/SearchInput.vue.js +6 -0
- package/components/dropdown/common/SearchInput.vue2.js +81 -0
- package/components/dropdown/v3/Dropdown.vue.js +6 -0
- package/components/dropdown/v3/Dropdown.vue2.js +372 -0
- package/components/dropdown/v3/index.js +12 -0
- package/components/dropdown/v4/DropdownV4.vue.js +6 -0
- package/components/dropdown/v4/DropdownV4.vue2.js +387 -0
- package/components/dropdown/v4/index.js +6 -0
- package/components/emptyState/EmptyState.vue.js +6 -0
- package/components/emptyState/EmptyState.vue2.js +89 -0
- package/components/emptyState/EmptyStateIcon.vue.js +35 -0
- package/components/emptyState/index.js +6 -0
- package/components/filterDropdown/AddFilterButton.vue.js +6 -0
- package/components/filterDropdown/AddFilterButton.vue2.js +50 -0
- package/components/filterDropdown/FilterDropdown.vue.js +6 -0
- package/components/filterDropdown/FilterDropdown.vue2.js +55 -0
- package/components/filterDropdown/index.js +8 -0
- package/components/filtersPanel/FilterSearchInput.vue.js +6 -0
- package/components/filtersPanel/FilterSearchInput.vue2.js +45 -0
- package/components/filtersPanel/FiltersPanel.vue.js +6 -0
- package/components/filtersPanel/index.js +14 -0
- package/components/floatingToolbar/FloatingToolbar.vue.js +6 -0
- package/components/floatingToolbar/FloatingToolbar.vue2.js +69 -0
- package/components/floatingToolbar/index.js +6 -0
- package/components/icon/Icon.vue.js +6 -0
- package/components/icon/Icon.vue2.js +38 -0
- package/components/icon/icons/A.vue.js +24 -0
- package/components/icon/icons/A2.vue.js +18 -0
- package/components/icon/icons/ABTest.vue.js +20 -0
- package/components/icon/icons/ABTest2.vue.js +15 -0
- package/components/icon/icons/ACircle.vue.js +20 -0
- package/components/icon/icons/AccountBalanceWallet.vue.js +22 -0
- package/components/icon/icons/AccountCircle.vue.js +20 -0
- package/components/icon/icons/AccountCircleOutline.vue.js +18 -0
- package/components/icon/icons/Add.vue.js +18 -0
- package/components/icon/icons/Adjust.vue.js +43 -0
- package/components/icon/icons/Analytics.vue.js +18 -0
- package/components/icon/icons/Android.vue.js +20 -0
- package/components/icon/icons/AngleDown.vue.js +20 -0
- package/components/icon/icons/AngleLeft.vue.js +20 -0
- package/components/icon/icons/AngleRight.vue.js +20 -0
- package/components/icon/icons/AngleUp.vue.js +20 -0
- package/components/icon/icons/AppStore.vue.js +21 -0
- package/components/icon/icons/AreaChart.vue.js +18 -0
- package/components/icon/icons/ArrowBack.vue.js +18 -0
- package/components/icon/icons/ArrowDownward.vue.js +18 -0
- package/components/icon/icons/ArrowForward.vue.js +18 -0
- package/components/icon/icons/ArrowLeft.vue.js +18 -0
- package/components/icon/icons/ArrowRight.vue.js +18 -0
- package/components/icon/icons/ArrowSort-Down.vue.js +20 -0
- package/components/icon/icons/ArrowSort-Up.vue.js +20 -0
- package/components/icon/icons/ArrowUpward.vue.js +18 -0
- package/components/icon/icons/AutoAwesome.vue.js +18 -0
- package/components/icon/icons/AutoMode.vue.js +20 -0
- package/components/icon/icons/Autorenew.vue.js +18 -0
- package/components/icon/icons/B.vue.js +24 -0
- package/components/icon/icons/B2.vue.js +18 -0
- package/components/icon/icons/BCircle.vue.js +20 -0
- package/components/icon/icons/Banner.vue.js +24 -0
- package/components/icon/icons/Bidding.vue.js +32 -0
- package/components/icon/icons/Bidding2.vue.js +32 -0
- package/components/icon/icons/Block.vue.js +18 -0
- package/components/icon/icons/BorderColor.vue.js +20 -0
- package/components/icon/icons/Bug.vue.js +20 -0
- package/components/icon/icons/Bullhorn.vue.js +18 -0
- package/components/icon/icons/BullseyeArrow.vue.js +23 -0
- package/components/icon/icons/Cached.vue.js +18 -0
- package/components/icon/icons/Calendar.vue.js +23 -0
- package/components/icon/icons/CalendarToday.vue.js +18 -0
- package/components/icon/icons/Cancel.vue.js +20 -0
- package/components/icon/icons/ChartBar.vue.js +20 -0
- package/components/icon/icons/ChartLine.vue.js +20 -0
- package/components/icon/icons/ChartMixed.vue.js +20 -0
- package/components/icon/icons/Check.vue.js +18 -0
- package/components/icon/icons/Check2.vue.js +21 -0
- package/components/icon/icons/CheckBold.vue.js +20 -0
- package/components/icon/icons/CheckCircle.vue.js +21 -0
- package/components/icon/icons/Close.vue.js +18 -0
- package/components/icon/icons/CloseBold.vue.js +18 -0
- package/components/icon/icons/ComputerMouse.vue.js +23 -0
- package/components/icon/icons/CopyTo-Clipboard.vue.js +20 -0
- package/components/icon/icons/CopyToClipboardFilled.vue.js +18 -0
- package/components/icon/icons/Create.vue.js +20 -0
- package/components/icon/icons/Creative.vue.js +20 -0
- package/components/icon/icons/Cross.vue.js +20 -0
- package/components/icon/icons/CrownFill.vue.js +18 -0
- package/components/icon/icons/Cube.vue.js +21 -0
- package/components/icon/icons/CubeBackground.vue.js +27 -0
- package/components/icon/icons/Cup.vue.js +18 -0
- package/components/icon/icons/CupA.vue.js +15 -0
- package/components/icon/icons/CupB.vue.js +15 -0
- package/components/icon/icons/Delete.vue.js +20 -0
- package/components/icon/icons/Diamond.vue.js +18 -0
- package/components/icon/icons/Dots.vue.js +20 -0
- package/components/icon/icons/Download.vue.js +20 -0
- package/components/icon/icons/Download2.vue.js +23 -0
- package/components/icon/icons/DownloadDone.vue.js +20 -0
- package/components/icon/icons/DragIndicator.vue.js +18 -0
- package/components/icon/icons/Ecpi.vue.js +31 -0
- package/components/icon/icons/Email.vue.js +20 -0
- package/components/icon/icons/EmailEnvelope.vue.js +18 -0
- package/components/icon/icons/Error.vue.js +20 -0
- package/components/icon/icons/Eye.vue.js +22 -0
- package/components/icon/icons/Eye2.vue.js +19 -0
- package/components/icon/icons/EyeSlash.vue.js +21 -0
- package/components/icon/icons/FavoriteBorder.vue.js +20 -0
- package/components/icon/icons/Filter.vue.js +20 -0
- package/components/icon/icons/FilterList.vue.js +18 -0
- package/components/icon/icons/Frame.vue.js +20 -0
- package/components/icon/icons/Fullscreen.vue.js +20 -0
- package/components/icon/icons/FullscreenExit.vue.js +20 -0
- package/components/icon/icons/Functions.vue.js +18 -0
- package/components/icon/icons/GamepadAlt.vue.js +20 -0
- package/components/icon/icons/Games.vue.js +20 -0
- package/components/icon/icons/Gavel.vue.js +20 -0
- package/components/icon/icons/Gift.vue.js +20 -0
- package/components/icon/icons/GitHub.vue.js +20 -0
- package/components/icon/icons/GlobeStand.vue.js +20 -0
- package/components/icon/icons/GooglePlay.vue.js +18 -0
- package/components/icon/icons/Group.vue.js +20 -0
- package/components/icon/icons/Hammer.vue.js +20 -0
- package/components/icon/icons/HandPointer.vue.js +22 -0
- package/components/icon/icons/Hands.vue.js +20 -0
- package/components/icon/icons/Heartbeat.vue.js +20 -0
- package/components/icon/icons/Help.vue.js +20 -0
- package/components/icon/icons/HelpOutline.vue.js +20 -0
- package/components/icon/icons/History.vue.js +18 -0
- package/components/icon/icons/IOS.vue.js +20 -0
- package/components/icon/icons/Image.vue.js +18 -0
- package/components/icon/icons/ImageNotSupported.vue.js +23 -0
- package/components/icon/icons/ImageSlash.vue.js +18 -0
- package/components/icon/icons/ImportExport.vue.js +18 -0
- package/components/icon/icons/ImportExport2.vue.js +18 -0
- package/components/icon/icons/Importent.vue.js +20 -0
- package/components/icon/icons/Info.vue.js +20 -0
- package/components/icon/icons/Info2.vue.js +21 -0
- package/components/icon/icons/InfoOutline.vue.js +20 -0
- package/components/icon/icons/Insights.vue.js +20 -0
- package/components/icon/icons/Interstitial.vue.js +24 -0
- package/components/icon/icons/Ios14.vue.js +20 -0
- package/components/icon/icons/Js.vue.js +20 -0
- package/components/icon/icons/Landscape.vue.js +18 -0
- package/components/icon/icons/Launch.vue.js +18 -0
- package/components/icon/icons/Levelplay.vue.js +32 -0
- package/components/icon/icons/LimitCircle.vue.js +23 -0
- package/components/icon/icons/LimitOctagon.vue.js +23 -0
- package/components/icon/icons/Link.vue.js +18 -0
- package/components/icon/icons/LoadingClean.vue.js +18 -0
- package/components/icon/icons/Lock.vue.js +18 -0
- package/components/icon/icons/LockOpen.vue.js +18 -0
- package/components/icon/icons/Login.vue.js +18 -0
- package/components/icon/icons/Logout.vue.js +18 -0
- package/components/icon/icons/Marketing.vue.js +23 -0
- package/components/icon/icons/MilitaryTech.vue.js +18 -0
- package/components/icon/icons/Mix.vue.js +20 -0
- package/components/icon/icons/Mix2.vue.js +24 -0
- package/components/icon/icons/MobileLandscape.vue.js +20 -0
- package/components/icon/icons/MobilePortrait.vue.js +20 -0
- package/components/icon/icons/MoneyCheck.vue.js +22 -0
- package/components/icon/icons/MoreHoriz.vue.js +20 -0
- package/components/icon/icons/MoreVert.vue.js +20 -0
- package/components/icon/icons/Mouse.vue.js +20 -0
- package/components/icon/icons/MousePointer.vue.js +20 -0
- package/components/icon/icons/MovingUp.vue.js +18 -0
- package/components/icon/icons/NativeAd.vue.js +15 -0
- package/components/icon/icons/NotificationsNone.vue.js +20 -0
- package/components/icon/icons/Offerwall.vue.js +24 -0
- package/components/icon/icons/Palyable.vue.js +18 -0
- package/components/icon/icons/PaperPlane-Off.vue.js +20 -0
- package/components/icon/icons/PaperPlane.vue.js +20 -0
- package/components/icon/icons/Pause.vue.js +20 -0
- package/components/icon/icons/PauseCircleFilled.vue.js +20 -0
- package/components/icon/icons/PauseCircleOutline.vue.js +20 -0
- package/components/icon/icons/PhoneIphone.vue.js +18 -0
- package/components/icon/icons/Photo.vue.js +23 -0
- package/components/icon/icons/Photo2.vue.js +20 -0
- package/components/icon/icons/PlayArrow.vue.js +18 -0
- package/components/icon/icons/PlayCircleFilledWhite.vue.js +20 -0
- package/components/icon/icons/PlayCircleOutline.vue.js +20 -0
- package/components/icon/icons/Qrcode.vue.js +20 -0
- package/components/icon/icons/Question.vue.js +21 -0
- package/components/icon/icons/QuickAB.vue.js +15 -0
- package/components/icon/icons/QuickAB2.vue.js +15 -0
- package/components/icon/icons/React.vue.js +20 -0
- package/components/icon/icons/Redo.vue.js +18 -0
- package/components/icon/icons/Refresh.vue.js +18 -0
- package/components/icon/icons/Remove.vue.js +18 -0
- package/components/icon/icons/Replay.vue.js +18 -0
- package/components/icon/icons/RewardedVideo.vue.js +24 -0
- package/components/icon/icons/RocketLaunch.vue.js +18 -0
- package/components/icon/icons/Rotate.vue.js +20 -0
- package/components/icon/icons/Route.vue.js +20 -0
- package/components/icon/icons/SackDollar.vue.js +23 -0
- package/components/icon/icons/Schedule.vue.js +18 -0
- package/components/icon/icons/Search.vue.js +18 -0
- package/components/icon/icons/SearchBold.vue.js +20 -0
- package/components/icon/icons/Share.vue.js +18 -0
- package/components/icon/icons/Slack.vue.js +18 -0
- package/components/icon/icons/SportsEsports.vue.js +18 -0
- package/components/icon/icons/Star.vue.js +20 -0
- package/components/icon/icons/StarFill.vue.js +20 -0
- package/components/icon/icons/StatusBanner.vue.js +26 -0
- package/components/icon/icons/StatusInterstitial.vue.js +26 -0
- package/components/icon/icons/StatusNativeAd.vue.js +15 -0
- package/components/icon/icons/StatusOfferwall.vue.js +26 -0
- package/components/icon/icons/StatusRewardedVideo.vue.js +26 -0
- package/components/icon/icons/StopCircleFilled.vue.js +18 -0
- package/components/icon/icons/StopCircleOutline.vue.js +18 -0
- package/components/icon/icons/Style.vue.js +22 -0
- package/components/icon/icons/Success.vue.js +20 -0
- package/components/icon/icons/SuccessFull.vue.js +20 -0
- package/components/icon/icons/Switch.vue.js +20 -0
- package/components/icon/icons/TableEdit.vue.js +18 -0
- package/components/icon/icons/TabletLandscape.vue.js +20 -0
- package/components/icon/icons/TabletMac.vue.js +18 -0
- package/components/icon/icons/TabletPortrait.vue.js +20 -0
- package/components/icon/icons/Texture.vue.js +20 -0
- package/components/icon/icons/ThemeDark.vue.js +18 -0
- package/components/icon/icons/ThemeLight.vue.js +18 -0
- package/components/icon/icons/Timelapse.vue.js +18 -0
- package/components/icon/icons/Timeline.vue.js +18 -0
- package/components/icon/icons/TrendingDown.vue.js +18 -0
- package/components/icon/icons/TrendingFlat.vue.js +18 -0
- package/components/icon/icons/TrendingUp.vue.js +18 -0
- package/components/icon/icons/Tune.vue.js +20 -0
- package/components/icon/icons/TwoToneBanner.vue.js +28 -0
- package/components/icon/icons/TwoToneInterstitial.vue.js +28 -0
- package/components/icon/icons/TwoToneNativeAd.vue.js +15 -0
- package/components/icon/icons/TwoToneOfferwall.vue.js +24 -0
- package/components/icon/icons/TwoToneRewardedVideo.vue.js +30 -0
- package/components/icon/icons/Undo.vue.js +18 -0
- package/components/icon/icons/UnfoldLess.vue.js +20 -0
- package/components/icon/icons/UnfoldMore.vue.js +20 -0
- package/components/icon/icons/VerticalAlignTop.vue.js +18 -0
- package/components/icon/icons/VerticalAlignTop2.vue.js +18 -0
- package/components/icon/icons/Vibration.vue.js +20 -0
- package/components/icon/icons/VideoRound.vue.js +20 -0
- package/components/icon/icons/ViewCarousel.vue.js +18 -0
- package/components/icon/icons/Visibility.vue.js +18 -0
- package/components/icon/icons/VisibilityOff.vue.js +18 -0
- package/components/icon/icons/VisibilityOffStrok.vue.js +18 -0
- package/components/icon/icons/VisibilityStrok.vue.js +18 -0
- package/components/icon/icons/VolumeOff.vue.js +20 -0
- package/components/icon/icons/VolumeUp.vue.js +20 -0
- package/components/icon/icons/Warning.vue.js +18 -0
- package/components/icon/icons/Warning2.vue.js +20 -0
- package/components/icon/icons/Warning3.vue.js +21 -0
- package/components/icon/icons/WarningCircle.vue.js +21 -0
- package/components/icon/icons/WarningOctagon.vue.js +21 -0
- package/components/icon/icons/WebApp.vue.js +18 -0
- package/components/icon/icons/Widget.vue.js +22 -0
- package/components/icon/icons/Widgets.vue.js +18 -0
- package/components/icon/icons/WidgetsFill.vue.js +18 -0
- package/components/icon/icons/WidgetsFlatSquares.vue.js +49 -0
- package/components/icon/icons/Widgetsz.vue.js +25 -0
- package/components/icon/icons/WifiProtectedSetup.vue.js +20 -0
- package/components/icon/index.js +8 -0
- package/components/includeExclude/IncludeExclude.vue.js +6 -0
- package/components/includeExclude/IncludeExclude.vue2.js +429 -0
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +6 -0
- package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +115 -0
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +6 -0
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +106 -0
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +6 -0
- package/components/includeExclude/IncludeExcludeChipFilter.vue2.js +147 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +6 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +464 -0
- package/components/includeExclude/IncludeExcludeOption.vue.js +6 -0
- package/components/includeExclude/IncludeExcludeOption.vue2.js +114 -0
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +6 -0
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +105 -0
- package/components/includeExclude/index.js +26 -0
- package/components/input/common/Input.common.js +40 -0
- package/components/input/v3/DollarInput.vue.js +6 -0
- package/components/input/v3/DollarInput.vue2.js +31 -0
- package/components/input/v3/Input.vue.js +6 -0
- package/components/input/v3/Input.vue2.js +208 -0
- package/components/input/v3/PasswordInput.vue.js +6 -0
- package/components/input/v3/PasswordInput.vue2.js +33 -0
- package/components/input/v3/PercentageInput.vue.js +6 -0
- package/components/input/v3/PercentageInput.vue2.js +31 -0
- package/components/input/v3/index.js +12 -0
- package/components/input/v4/TextField.vue.js +6 -0
- package/components/input/v4/TextField.vue2.js +209 -0
- package/components/input/v4/index.js +6 -0
- package/components/loader/v4/Loader.vue.js +6 -0
- package/components/menu/Menu.vue.js +6 -0
- package/components/menu/Menu.vue2.js +62 -0
- package/components/menu/index.js +6 -0
- package/components/menuItem/MenuItem.vue.js +25 -0
- package/components/menuItem/index.js +6 -0
- package/components/popover/Popover.vue3.js +4 -0
- package/components/popover/index.js +6 -0
- package/components/radioButton/RadioButton.vue.js +6 -0
- package/components/radioButton/RadioButton.vue2.js +82 -0
- package/components/radioButton/RadioGroup.vue.js +6 -0
- package/components/radioButton/RadioGroup.vue2.js +44 -0
- package/components/radioButton/index.js +8 -0
- package/components/search/v3/Search.vue.js +6 -0
- package/components/search/v3/Search.vue2.js +62 -0
- package/components/search/v3/index.js +6 -0
- package/components/search/v4/SearchV4.vue.js +6 -0
- package/components/search/v4/SearchV4.vue2.js +62 -0
- package/components/search/v4/index.js +6 -0
- package/components/shared/FieldHelpText.vue.js +6 -0
- package/components/shared/FieldHelpText.vue2.js +47 -0
- package/components/shared/FieldLabel.vue.js +6 -0
- package/components/shared/FieldLabel.vue2.js +64 -0
- package/components/skeleton/Skeleton.vue.js +6 -0
- package/components/skeleton/index.js +6 -0
- package/components/snackbar/Snackbar.vue.js +6 -0
- package/components/snackbar/Snackbar.vue2.js +149 -0
- package/components/snackbar/index.js +6 -0
- package/components/snackbar/notify.js +84 -0
- package/components/switch/v3/Switch.vue.js +6 -0
- package/components/switch/v3/Switch.vue2.js +69 -0
- package/components/switch/v3/index.js +6 -0
- package/components/switch/v4/SwitchV4.vue.js +6 -0
- package/components/switch/v4/SwitchV4.vue2.js +69 -0
- package/components/switch/v4/index.js +6 -0
- package/components/table/SortOrderIcon.vue.js +21 -0
- package/components/table/Table.vue.js +6 -0
- package/components/table/Table.vue2.js +295 -0
- package/components/table/TableHeaderSorter.vue.js +6 -0
- package/components/table/TableHeaderSorter.vue2.js +23 -0
- package/components/table/index.js +8 -0
- package/components/table-cells/Editable.vue.js +6 -0
- package/components/table-cells/Editable.vue2.js +66 -0
- package/components/table-cells/index.js +10 -0
- package/components/tabs/Tabs.vue.js +6 -0
- package/components/tabs/Tabs.vue2.js +95 -0
- package/components/tabs/index.js +6 -0
- package/components/textArea/TextArea.vue.js +6 -0
- package/components/textArea/TextArea.vue2.js +64 -0
- package/components/textArea/index.js +6 -0
- package/components/toggle/Toggle.vue.js +6 -0
- package/components/toggle/Toggle.vue2.js +94 -0
- package/components/toggle/index.js +6 -0
- package/components/tooltip/TextWithTitleContent.vue2.js +6 -0
- package/components/tooltip/TextWithTitleContent.vue3.js +45 -0
- package/components/tooltip/Tooltip.vue.js +83 -0
- package/components/tooltip/Tooltip.vue3.js +4 -0
- package/components/tooltip/index.js +6 -0
- package/components/typography/Heading.vue.js +6 -0
- package/components/typography/Heading.vue3.js +25 -0
- package/components/typography/Text.vue.js +6 -0
- package/components/typography/Text.vue2.js +23 -0
- package/components/typography/index.js +8 -0
- package/components/typography/v4/Typography.vue.js +6 -0
- package/components/typography/v4/index.js +6 -0
- package/index.js +185 -0
- package/package.json +1 -1
- package/utils/style.js +5 -0
- package/components/appIcon/AppIcon.vue.vue.js +0 -6
- package/components/appIcon/index.vue.js +0 -6
- package/components/appTrigger/AppTrigger.vue.vue.js +0 -6
- package/components/appTrigger/AppTrigger.vue.vue2.js +0 -121
- package/components/appTrigger/index.vue.js +0 -6
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.vue.js +0 -6
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.vue2.js +0 -119
- package/components/autocompleteDropdown/AutocompleteInput.vue.vue.js +0 -6
- package/components/autocompleteDropdown/AutocompleteInput.vue.vue2.js +0 -79
- package/components/autocompleteDropdown/GroupOption.vue.vue.js +0 -6
- package/components/autocompleteDropdown/GroupOption.vue.vue2.js +0 -34
- package/components/autocompleteDropdown/index.vue.js +0 -6
- package/components/banner/Banner.vue.vue.js +0 -6
- package/components/banner/Banner.vue.vue2.js +0 -58
- package/components/banner/index.vue.js +0 -6
- package/components/button/common/ButtonBase.vue.vue2.js +0 -6
- package/components/button/common/ButtonBase.vue.vue3.js +0 -53
- package/components/button/icon/LoaderCircleIcon.vue.vue.js +0 -33
- package/components/button/icon/LoaderDotsIcon.vue.vue.js +0 -16
- package/components/button/v3/Button.vue.vue.js +0 -6
- package/components/button/v3/Button.vue.vue2.js +0 -90
- package/components/button/v3/IconButton.vue.vue.js +0 -6
- package/components/button/v3/IconButton.vue.vue2.js +0 -45
- package/components/button/v3/ScrollButton.vue.vue.js +0 -6
- package/components/button/v3/ScrollButton.vue.vue2.js +0 -43
- package/components/button/v3/index.vue.js +0 -10
- package/components/button/v4/ButtonV4.vue.vue.js +0 -6
- package/components/button/v4/ButtonV4.vue.vue2.js +0 -84
- package/components/button/v4/index.vue.js +0 -6
- package/components/checkbox/Checkbox.vue.vue.js +0 -6
- package/components/checkbox/Checkbox.vue.vue2.js +0 -91
- package/components/checkbox/icons/checked.vue.vue.js +0 -27
- package/components/checkbox/icons/indeterminate.vue.vue.js +0 -28
- package/components/checkbox/icons/unchecked.vue.vue.js +0 -24
- package/components/checkbox/index.vue.js +0 -6
- package/components/chip/v3/Chip.vue.vue.js +0 -6
- package/components/chip/v3/Chip.vue.vue2.js +0 -58
- package/components/chip/v3/index.vue.js +0 -6
- package/components/chip/v4/ChipV4.vue.vue.js +0 -6
- package/components/chip/v4/ChipV4.vue.vue2.js +0 -67
- package/components/chip/v4/index.vue.js +0 -6
- package/components/cssBaseline/CssBaseline.vue.vue.js +0 -10
- package/components/cssBaseline/index.vue.js +0 -6
- package/components/datePicker/DatePicker.vue.vue.js +0 -6
- package/components/datePicker/DatePicker.vue.vue2.js +0 -97
- package/components/datePicker/DatePickerMonth.vue.vue.js +0 -6
- package/components/datePicker/DatePickerMonth.vue.vue2.js +0 -85
- package/components/datePicker/index.vue.js +0 -6
- package/components/dateRange/CalendarMonth.vue.vue.js +0 -6
- package/components/dateRange/CalendarMonth.vue.vue2.js +0 -243
- package/components/dateRange/DateRange.vue.vue.js +0 -6
- package/components/dateRange/DateRange.vue.vue2.js +0 -415
- package/components/dateRange/index.vue.js +0 -6
- package/components/dialog/Dialog.vue.vue.js +0 -6
- package/components/dialog/Dialog.vue.vue2.js +0 -177
- package/components/dialog/index.vue.js +0 -6
- package/components/dropdown/common/Dropdown.common.vue.js +0 -299
- package/components/dropdown/common/Label.vue.vue.js +0 -6
- package/components/dropdown/common/Label.vue.vue2.js +0 -35
- package/components/dropdown/common/Option.vue.vue.js +0 -6
- package/components/dropdown/common/Option.vue.vue2.js +0 -101
- package/components/dropdown/common/SearchInput.vue.vue.js +0 -6
- package/components/dropdown/common/SearchInput.vue.vue2.js +0 -81
- package/components/dropdown/v3/Dropdown.vue.vue.js +0 -6
- package/components/dropdown/v3/Dropdown.vue.vue2.js +0 -372
- package/components/dropdown/v3/index.vue.js +0 -12
- package/components/dropdown/v4/DropdownV4.vue.vue.js +0 -6
- package/components/dropdown/v4/DropdownV4.vue.vue2.js +0 -387
- package/components/dropdown/v4/index.vue.js +0 -6
- package/components/emptyState/EmptyState.vue.vue.js +0 -6
- package/components/emptyState/EmptyState.vue.vue2.js +0 -89
- package/components/emptyState/EmptyStateIcon.vue.vue2.js +0 -35
- package/components/emptyState/index.vue.js +0 -6
- package/components/filterDropdown/AddFilterButton.vue.vue.js +0 -6
- package/components/filterDropdown/AddFilterButton.vue.vue2.js +0 -50
- package/components/filterDropdown/FilterDropdown.vue.vue.js +0 -6
- package/components/filterDropdown/FilterDropdown.vue.vue2.js +0 -55
- package/components/filterDropdown/index.vue.js +0 -8
- package/components/filtersPanel/FilterSearchInput.vue.vue.js +0 -6
- package/components/filtersPanel/FilterSearchInput.vue.vue2.js +0 -45
- package/components/filtersPanel/FiltersPanel.vue.vue.js +0 -6
- package/components/filtersPanel/index.vue.js +0 -14
- package/components/floatingToolbar/FloatingToolbar.vue.vue.js +0 -6
- package/components/floatingToolbar/FloatingToolbar.vue.vue2.js +0 -69
- package/components/floatingToolbar/index.vue.js +0 -6
- package/components/icon/Icon.vue.vue.js +0 -6
- package/components/icon/Icon.vue.vue2.js +0 -38
- package/components/icon/icons/A.vue.vue.js +0 -24
- package/components/icon/icons/A2.vue.vue.js +0 -18
- package/components/icon/icons/ABTest.vue.vue.js +0 -20
- package/components/icon/icons/ABTest2.vue.vue.js +0 -15
- package/components/icon/icons/ACircle.vue.vue.js +0 -20
- package/components/icon/icons/AccountBalanceWallet.vue.vue.js +0 -22
- package/components/icon/icons/AccountCircle.vue.vue.js +0 -20
- package/components/icon/icons/AccountCircleOutline.vue.vue.js +0 -18
- package/components/icon/icons/Add.vue.vue.js +0 -18
- package/components/icon/icons/Adjust.vue.vue.js +0 -43
- package/components/icon/icons/Analytics.vue.vue.js +0 -18
- package/components/icon/icons/Android.vue.vue.js +0 -20
- package/components/icon/icons/AngleDown.vue.vue.js +0 -20
- package/components/icon/icons/AngleLeft.vue.vue.js +0 -20
- package/components/icon/icons/AngleRight.vue.vue.js +0 -20
- package/components/icon/icons/AngleUp.vue.vue.js +0 -20
- package/components/icon/icons/AppStore.vue.vue.js +0 -21
- package/components/icon/icons/AreaChart.vue.vue.js +0 -18
- package/components/icon/icons/ArrowBack.vue.vue.js +0 -18
- package/components/icon/icons/ArrowDownward.vue.vue.js +0 -18
- package/components/icon/icons/ArrowForward.vue.vue.js +0 -18
- package/components/icon/icons/ArrowLeft.vue.vue.js +0 -18
- package/components/icon/icons/ArrowRight.vue.vue.js +0 -18
- package/components/icon/icons/ArrowSort-Down.vue.vue.js +0 -20
- package/components/icon/icons/ArrowSort-Up.vue.vue.js +0 -20
- package/components/icon/icons/ArrowUpward.vue.vue.js +0 -18
- package/components/icon/icons/AutoAwesome.vue.vue.js +0 -18
- package/components/icon/icons/AutoMode.vue.vue.js +0 -20
- package/components/icon/icons/Autorenew.vue.vue.js +0 -18
- package/components/icon/icons/B.vue.vue.js +0 -24
- package/components/icon/icons/B2.vue.vue.js +0 -18
- package/components/icon/icons/BCircle.vue.vue.js +0 -20
- package/components/icon/icons/Banner.vue.vue.js +0 -24
- package/components/icon/icons/Bidding.vue.vue.js +0 -32
- package/components/icon/icons/Bidding2.vue.vue.js +0 -32
- package/components/icon/icons/Block.vue.vue.js +0 -18
- package/components/icon/icons/BorderColor.vue.vue.js +0 -20
- package/components/icon/icons/Bug.vue.vue.js +0 -20
- package/components/icon/icons/Bullhorn.vue.vue.js +0 -18
- package/components/icon/icons/BullseyeArrow.vue.vue.js +0 -23
- package/components/icon/icons/Cached.vue.vue.js +0 -18
- package/components/icon/icons/Calendar.vue.vue.js +0 -23
- package/components/icon/icons/CalendarToday.vue.vue.js +0 -18
- package/components/icon/icons/Cancel.vue.vue.js +0 -20
- package/components/icon/icons/ChartBar.vue.vue.js +0 -20
- package/components/icon/icons/ChartLine.vue.vue.js +0 -20
- package/components/icon/icons/ChartMixed.vue.vue.js +0 -20
- package/components/icon/icons/Check.vue.vue.js +0 -18
- package/components/icon/icons/Check2.vue.vue.js +0 -21
- package/components/icon/icons/CheckBold.vue.vue.js +0 -20
- package/components/icon/icons/CheckCircle.vue.vue.js +0 -21
- package/components/icon/icons/Close.vue.vue.js +0 -18
- package/components/icon/icons/CloseBold.vue.vue.js +0 -18
- package/components/icon/icons/ComputerMouse.vue.vue.js +0 -23
- package/components/icon/icons/CopyTo-Clipboard.vue.vue.js +0 -20
- package/components/icon/icons/CopyToClipboardFilled.vue.vue.js +0 -18
- package/components/icon/icons/Create.vue.vue.js +0 -20
- package/components/icon/icons/Creative.vue.vue.js +0 -20
- package/components/icon/icons/Cross.vue.vue.js +0 -20
- package/components/icon/icons/CrownFill.vue.vue.js +0 -18
- package/components/icon/icons/Cube.vue.vue.js +0 -21
- package/components/icon/icons/CubeBackground.vue.vue.js +0 -27
- package/components/icon/icons/Cup.vue.vue.js +0 -18
- package/components/icon/icons/CupA.vue.vue.js +0 -15
- package/components/icon/icons/CupB.vue.vue.js +0 -15
- package/components/icon/icons/Delete.vue.vue.js +0 -20
- package/components/icon/icons/Diamond.vue.vue.js +0 -18
- package/components/icon/icons/Dots.vue.vue.js +0 -20
- package/components/icon/icons/Download.vue.vue.js +0 -20
- package/components/icon/icons/Download2.vue.vue.js +0 -23
- package/components/icon/icons/DownloadDone.vue.vue.js +0 -20
- package/components/icon/icons/DragIndicator.vue.vue.js +0 -18
- package/components/icon/icons/Ecpi.vue.vue.js +0 -31
- package/components/icon/icons/Email.vue.vue.js +0 -20
- package/components/icon/icons/EmailEnvelope.vue.vue.js +0 -18
- package/components/icon/icons/Error.vue.vue.js +0 -20
- package/components/icon/icons/Eye.vue.vue.js +0 -22
- package/components/icon/icons/Eye2.vue.vue.js +0 -19
- package/components/icon/icons/EyeSlash.vue.vue.js +0 -21
- package/components/icon/icons/FavoriteBorder.vue.vue.js +0 -20
- package/components/icon/icons/Filter.vue.vue.js +0 -20
- package/components/icon/icons/FilterList.vue.vue.js +0 -18
- package/components/icon/icons/Frame.vue.vue.js +0 -20
- package/components/icon/icons/Fullscreen.vue.vue.js +0 -20
- package/components/icon/icons/FullscreenExit.vue.vue.js +0 -20
- package/components/icon/icons/Functions.vue.vue.js +0 -18
- package/components/icon/icons/GamepadAlt.vue.vue.js +0 -20
- package/components/icon/icons/Games.vue.vue.js +0 -20
- package/components/icon/icons/Gavel.vue.vue.js +0 -20
- package/components/icon/icons/Gift.vue.vue.js +0 -20
- package/components/icon/icons/GitHub.vue.vue.js +0 -20
- package/components/icon/icons/GlobeStand.vue.vue.js +0 -20
- package/components/icon/icons/GooglePlay.vue.vue.js +0 -18
- package/components/icon/icons/Group.vue.vue.js +0 -20
- package/components/icon/icons/Hammer.vue.vue.js +0 -20
- package/components/icon/icons/HandPointer.vue.vue.js +0 -22
- package/components/icon/icons/Hands.vue.vue.js +0 -20
- package/components/icon/icons/Heartbeat.vue.vue.js +0 -20
- package/components/icon/icons/Help.vue.vue.js +0 -20
- package/components/icon/icons/HelpOutline.vue.vue.js +0 -20
- package/components/icon/icons/History.vue.vue.js +0 -18
- package/components/icon/icons/IOS.vue.vue.js +0 -20
- package/components/icon/icons/Image.vue.vue.js +0 -18
- package/components/icon/icons/ImageNotSupported.vue.vue.js +0 -23
- package/components/icon/icons/ImageSlash.vue.vue.js +0 -18
- package/components/icon/icons/ImportExport.vue.vue.js +0 -18
- package/components/icon/icons/ImportExport2.vue.vue.js +0 -18
- package/components/icon/icons/Importent.vue.vue.js +0 -20
- package/components/icon/icons/Info.vue.vue.js +0 -20
- package/components/icon/icons/Info2.vue.vue.js +0 -21
- package/components/icon/icons/InfoOutline.vue.vue.js +0 -20
- package/components/icon/icons/Insights.vue.vue.js +0 -20
- package/components/icon/icons/Interstitial.vue.vue.js +0 -24
- package/components/icon/icons/Ios14.vue.vue.js +0 -20
- package/components/icon/icons/Js.vue.vue.js +0 -20
- package/components/icon/icons/Landscape.vue.vue.js +0 -18
- package/components/icon/icons/Launch.vue.vue.js +0 -18
- package/components/icon/icons/Levelplay.vue.vue.js +0 -32
- package/components/icon/icons/LimitCircle.vue.vue.js +0 -23
- package/components/icon/icons/LimitOctagon.vue.vue.js +0 -23
- package/components/icon/icons/Link.vue.vue.js +0 -18
- package/components/icon/icons/LoadingClean.vue.vue.js +0 -18
- package/components/icon/icons/Lock.vue.vue.js +0 -18
- package/components/icon/icons/LockOpen.vue.vue.js +0 -18
- package/components/icon/icons/Login.vue.vue.js +0 -18
- package/components/icon/icons/Logout.vue.vue.js +0 -18
- package/components/icon/icons/Marketing.vue.vue.js +0 -23
- package/components/icon/icons/MilitaryTech.vue.vue.js +0 -18
- package/components/icon/icons/Mix.vue.vue.js +0 -20
- package/components/icon/icons/Mix2.vue.vue.js +0 -24
- package/components/icon/icons/MobileLandscape.vue.vue.js +0 -20
- package/components/icon/icons/MobilePortrait.vue.vue.js +0 -20
- package/components/icon/icons/MoneyCheck.vue.vue.js +0 -22
- package/components/icon/icons/MoreHoriz.vue.vue.js +0 -20
- package/components/icon/icons/MoreVert.vue.vue.js +0 -20
- package/components/icon/icons/Mouse.vue.vue.js +0 -20
- package/components/icon/icons/MousePointer.vue.vue.js +0 -20
- package/components/icon/icons/MovingUp.vue.vue.js +0 -18
- package/components/icon/icons/NativeAd.vue.vue.js +0 -15
- package/components/icon/icons/NotificationsNone.vue.vue.js +0 -20
- package/components/icon/icons/Offerwall.vue.vue.js +0 -24
- package/components/icon/icons/Palyable.vue.vue.js +0 -18
- package/components/icon/icons/PaperPlane-Off.vue.vue.js +0 -20
- package/components/icon/icons/PaperPlane.vue.vue.js +0 -20
- package/components/icon/icons/Pause.vue.vue.js +0 -20
- package/components/icon/icons/PauseCircleFilled.vue.vue.js +0 -20
- package/components/icon/icons/PauseCircleOutline.vue.vue.js +0 -20
- package/components/icon/icons/PhoneIphone.vue.vue.js +0 -18
- package/components/icon/icons/Photo.vue.vue.js +0 -23
- package/components/icon/icons/Photo2.vue.vue.js +0 -20
- package/components/icon/icons/PlayArrow.vue.vue.js +0 -18
- package/components/icon/icons/PlayCircleFilledWhite.vue.vue.js +0 -20
- package/components/icon/icons/PlayCircleOutline.vue.vue.js +0 -20
- package/components/icon/icons/Qrcode.vue.vue.js +0 -20
- package/components/icon/icons/Question.vue.vue.js +0 -21
- package/components/icon/icons/QuickAB.vue.vue.js +0 -15
- package/components/icon/icons/QuickAB2.vue.vue.js +0 -15
- package/components/icon/icons/React.vue.vue.js +0 -20
- package/components/icon/icons/Redo.vue.vue.js +0 -18
- package/components/icon/icons/Refresh.vue.vue.js +0 -18
- package/components/icon/icons/Remove.vue.vue.js +0 -18
- package/components/icon/icons/Replay.vue.vue.js +0 -18
- package/components/icon/icons/RewardedVideo.vue.vue.js +0 -24
- package/components/icon/icons/RocketLaunch.vue.vue.js +0 -18
- package/components/icon/icons/Rotate.vue.vue.js +0 -20
- package/components/icon/icons/Route.vue.vue.js +0 -20
- package/components/icon/icons/SackDollar.vue.vue.js +0 -23
- package/components/icon/icons/Schedule.vue.vue.js +0 -18
- package/components/icon/icons/Search.vue.vue.js +0 -18
- package/components/icon/icons/SearchBold.vue.vue.js +0 -20
- package/components/icon/icons/Share.vue.vue.js +0 -18
- package/components/icon/icons/Slack.vue.vue.js +0 -18
- package/components/icon/icons/SportsEsports.vue.vue.js +0 -18
- package/components/icon/icons/Star.vue.vue.js +0 -20
- package/components/icon/icons/StarFill.vue.vue.js +0 -20
- package/components/icon/icons/StatusBanner.vue.vue.js +0 -26
- package/components/icon/icons/StatusInterstitial.vue.vue.js +0 -26
- package/components/icon/icons/StatusNativeAd.vue.vue.js +0 -15
- package/components/icon/icons/StatusOfferwall.vue.vue.js +0 -26
- package/components/icon/icons/StatusRewardedVideo.vue.vue.js +0 -26
- package/components/icon/icons/StopCircleFilled.vue.vue.js +0 -18
- package/components/icon/icons/StopCircleOutline.vue.vue.js +0 -18
- package/components/icon/icons/Style.vue.vue.js +0 -22
- package/components/icon/icons/Success.vue.vue.js +0 -20
- package/components/icon/icons/SuccessFull.vue.vue.js +0 -20
- package/components/icon/icons/Switch.vue.vue.js +0 -20
- package/components/icon/icons/TableEdit.vue.vue.js +0 -18
- package/components/icon/icons/TabletLandscape.vue.vue.js +0 -20
- package/components/icon/icons/TabletMac.vue.vue.js +0 -18
- package/components/icon/icons/TabletPortrait.vue.vue.js +0 -20
- package/components/icon/icons/Texture.vue.vue.js +0 -20
- package/components/icon/icons/ThemeDark.vue.vue.js +0 -18
- package/components/icon/icons/ThemeLight.vue.vue.js +0 -18
- package/components/icon/icons/Timelapse.vue.vue.js +0 -18
- package/components/icon/icons/Timeline.vue.vue.js +0 -18
- package/components/icon/icons/TrendingDown.vue.vue.js +0 -18
- package/components/icon/icons/TrendingFlat.vue.vue.js +0 -18
- package/components/icon/icons/TrendingUp.vue.vue.js +0 -18
- package/components/icon/icons/Tune.vue.vue.js +0 -20
- package/components/icon/icons/TwoToneBanner.vue.vue.js +0 -28
- package/components/icon/icons/TwoToneInterstitial.vue.vue.js +0 -28
- package/components/icon/icons/TwoToneNativeAd.vue.vue.js +0 -15
- package/components/icon/icons/TwoToneOfferwall.vue.vue.js +0 -24
- package/components/icon/icons/TwoToneRewardedVideo.vue.vue.js +0 -30
- package/components/icon/icons/Undo.vue.vue.js +0 -18
- package/components/icon/icons/UnfoldLess.vue.vue.js +0 -20
- package/components/icon/icons/UnfoldMore.vue.vue.js +0 -20
- package/components/icon/icons/VerticalAlignTop.vue.vue.js +0 -18
- package/components/icon/icons/VerticalAlignTop2.vue.vue.js +0 -18
- package/components/icon/icons/Vibration.vue.vue.js +0 -20
- package/components/icon/icons/VideoRound.vue.vue.js +0 -20
- package/components/icon/icons/ViewCarousel.vue.vue.js +0 -18
- package/components/icon/icons/Visibility.vue.vue.js +0 -18
- package/components/icon/icons/VisibilityOff.vue.vue.js +0 -18
- package/components/icon/icons/VisibilityOffStrok.vue.vue.js +0 -18
- package/components/icon/icons/VisibilityStrok.vue.vue.js +0 -18
- package/components/icon/icons/VolumeOff.vue.vue.js +0 -20
- package/components/icon/icons/VolumeUp.vue.vue.js +0 -20
- package/components/icon/icons/Warning.vue.vue.js +0 -18
- package/components/icon/icons/Warning2.vue.vue.js +0 -20
- package/components/icon/icons/Warning3.vue.vue.js +0 -21
- package/components/icon/icons/WarningCircle.vue.vue.js +0 -21
- package/components/icon/icons/WarningOctagon.vue.vue.js +0 -21
- package/components/icon/icons/WebApp.vue.vue.js +0 -18
- package/components/icon/icons/Widget.vue.vue.js +0 -22
- package/components/icon/icons/Widgets.vue.vue.js +0 -18
- package/components/icon/icons/WidgetsFill.vue.vue.js +0 -18
- package/components/icon/icons/WidgetsFlatSquares.vue.vue.js +0 -49
- package/components/icon/icons/Widgetsz.vue.vue.js +0 -25
- package/components/icon/icons/WifiProtectedSetup.vue.vue.js +0 -20
- package/components/icon/index.vue.js +0 -8
- package/components/includeExclude/IncludeExclude.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExclude.vue.vue2.js +0 -429
- package/components/includeExclude/IncludeExcludeAppHeader.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExcludeAppHeader.vue.vue2.js +0 -115
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.vue2.js +0 -106
- package/components/includeExclude/IncludeExcludeChipFilter.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExcludeChipFilter.vue.vue2.js +0 -147
- package/components/includeExclude/IncludeExcludeDragDrop.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExcludeDragDrop.vue.vue2.js +0 -464
- package/components/includeExclude/IncludeExcludeOption.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExcludeOption.vue.vue2.js +0 -114
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.vue.js +0 -6
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.vue2.js +0 -105
- package/components/includeExclude/index.vue.js +0 -26
- package/components/input/common/Input.common.vue.js +0 -40
- package/components/input/v3/DollarInput.vue.vue.js +0 -6
- package/components/input/v3/DollarInput.vue.vue2.js +0 -31
- package/components/input/v3/Input.vue.vue.js +0 -6
- package/components/input/v3/Input.vue.vue2.js +0 -208
- package/components/input/v3/PasswordInput.vue.vue.js +0 -6
- package/components/input/v3/PasswordInput.vue.vue2.js +0 -33
- package/components/input/v3/PercentageInput.vue.vue.js +0 -6
- package/components/input/v3/PercentageInput.vue.vue2.js +0 -31
- package/components/input/v3/index.vue.js +0 -12
- package/components/input/v4/TextField.vue.vue.js +0 -6
- package/components/input/v4/TextField.vue.vue2.js +0 -209
- package/components/input/v4/index.vue.js +0 -6
- package/components/loader/v4/Loader.vue.vue.js +0 -6
- package/components/menu/Menu.vue.vue.js +0 -6
- package/components/menu/Menu.vue.vue2.js +0 -62
- package/components/menu/index.vue.js +0 -6
- package/components/menuItem/MenuItem.vue.vue.js +0 -25
- package/components/menuItem/index.vue.js +0 -6
- package/components/popover/Popover.vue.vue3.js +0 -4
- package/components/popover/index.vue.js +0 -6
- package/components/radioButton/RadioButton.vue.vue.js +0 -6
- package/components/radioButton/RadioButton.vue.vue2.js +0 -82
- package/components/radioButton/RadioGroup.vue.vue.js +0 -6
- package/components/radioButton/RadioGroup.vue.vue2.js +0 -44
- package/components/radioButton/index.vue.js +0 -8
- package/components/search/v3/Search.vue.vue.js +0 -6
- package/components/search/v3/Search.vue.vue2.js +0 -62
- package/components/search/v3/index.vue.js +0 -6
- package/components/search/v4/SearchV4.vue.vue.js +0 -6
- package/components/search/v4/SearchV4.vue.vue2.js +0 -62
- package/components/search/v4/index.vue.js +0 -6
- package/components/shared/FieldHelpText.vue.vue.js +0 -6
- package/components/shared/FieldHelpText.vue.vue2.js +0 -47
- package/components/shared/FieldLabel.vue.vue.js +0 -6
- package/components/shared/FieldLabel.vue.vue2.js +0 -64
- package/components/skeleton/Skeleton.vue.vue.js +0 -6
- package/components/skeleton/index.vue.js +0 -6
- package/components/snackbar/Snackbar.vue.vue.js +0 -6
- package/components/snackbar/Snackbar.vue.vue2.js +0 -149
- package/components/snackbar/index.vue.js +0 -6
- package/components/snackbar/notify.vue.js +0 -84
- package/components/switch/v3/Switch.vue.vue.js +0 -6
- package/components/switch/v3/Switch.vue.vue2.js +0 -69
- package/components/switch/v3/index.vue.js +0 -6
- package/components/switch/v4/SwitchV4.vue.vue.js +0 -6
- package/components/switch/v4/SwitchV4.vue.vue2.js +0 -69
- package/components/switch/v4/index.vue.js +0 -6
- package/components/table/SortOrderIcon.vue.vue.js +0 -21
- package/components/table/Table.vue.vue.js +0 -6
- package/components/table/Table.vue.vue2.js +0 -295
- package/components/table/TableHeaderSorter.vue.vue.js +0 -6
- package/components/table/TableHeaderSorter.vue.vue2.js +0 -23
- package/components/table/index.vue.js +0 -8
- package/components/table-cells/Editable.vue.vue.js +0 -6
- package/components/table-cells/Editable.vue.vue2.js +0 -66
- package/components/table-cells/index.vue.js +0 -10
- package/components/tabs/Tabs.vue.vue.js +0 -6
- package/components/tabs/Tabs.vue.vue2.js +0 -95
- package/components/tabs/index.vue.js +0 -6
- package/components/textArea/TextArea.vue.vue.js +0 -6
- package/components/textArea/TextArea.vue.vue2.js +0 -64
- package/components/textArea/index.vue.js +0 -6
- package/components/toggle/Toggle.vue.vue.js +0 -6
- package/components/toggle/Toggle.vue.vue2.js +0 -94
- package/components/toggle/index.vue.js +0 -6
- package/components/tooltip/TextWithTitleContent.vue.vue2.js +0 -6
- package/components/tooltip/TextWithTitleContent.vue.vue3.js +0 -45
- package/components/tooltip/Tooltip.vue.vue.js +0 -83
- package/components/tooltip/Tooltip.vue.vue3.js +0 -4
- package/components/tooltip/index.vue.js +0 -6
- package/components/typography/Heading.vue.vue.js +0 -6
- package/components/typography/Heading.vue.vue3.js +0 -25
- package/components/typography/Text.vue.vue.js +0 -6
- package/components/typography/Text.vue.vue2.js +0 -23
- package/components/typography/index.vue.js +0 -8
- package/components/typography/v4/Typography.vue.vue.js +0 -6
- package/components/typography/v4/index.vue.js +0 -6
- package/index.vue.js +0 -185
- package/utils/style.vue.js +0 -5
- /package/_virtual/{_plugin-vue_export-helper.vue.js → _plugin-vue_export-helper.js} +0 -0
- /package/_virtual/{dynamic-import-helper.vue.js → dynamic-import-helper.js} +0 -0
- /package/components/appIcon/{AppIcon.vue.vue2.js → AppIcon.vue2.js} +0 -0
- /package/components/autocompleteDropdown/{consts.vue.js → consts.js} +0 -0
- /package/components/autocompleteDropdown/{useKeyboardNavigation.vue.js → useKeyboardNavigation.js} +0 -0
- /package/components/button/{consts.vue.js → consts.js} +0 -0
- /package/components/dateRange/{DateServices.vue.js → DateServices.js} +0 -0
- /package/components/dateRange/{consts.vue.js → consts.js} +0 -0
- /package/components/dialog/{Reason.vue.js → Reason.js} +0 -0
- /package/components/dropdown/common/{DropdownContext.vue.js → DropdownContext.js} +0 -0
- /package/components/filtersPanel/{FiltersPanel.vue.vue2.js → FiltersPanel.vue2.js} +0 -0
- /package/components/filtersPanel/{useHiddenFilter.vue.js → useHiddenFilter.js} +0 -0
- /package/components/icon/icons/{index.vue.js → index.js} +0 -0
- /package/components/includeExclude/{IncludeExcludeContext.vue.js → IncludeExcludeContext.js} +0 -0
- /package/components/loader/v4/{Loader.vue.vue2.js → Loader.vue2.js} +0 -0
- /package/components/popover/{Popover.vue.vue.js → Popover.vue.js} +0 -0
- /package/components/radioButton/{useRadio.vue.js → useRadio.js} +0 -0
- /package/components/search/common/{Search.common.vue.js → Search.common.js} +0 -0
- /package/components/skeleton/{Skeleton.vue.vue2.js → Skeleton.vue2.js} +0 -0
- /package/components/snackbar/{snackbar.types.vue.js → snackbar.types.js} +0 -0
- /package/components/table/{TableContext.vue.js → TableContext.js} +0 -0
- /package/components/table-cells/{EditableContext.vue.js → EditableContext.js} +0 -0
- /package/components/typography/v4/{Typography.vue.vue2.js → Typography.vue2.js} +0 -0
- /package/composables/{useId.vue.js → useId.js} +0 -0
- /package/composables/{useIsFocusVisible.vue.js → useIsFocusVisible.js} +0 -0
- /package/composables/{useSearch.vue.js → useSearch.js} +0 -0
- /package/composables/{useToggle.vue.js → useToggle.js} +0 -0
- /package/consts/{colors.vue.js → colors.js} +0 -0
- /package/consts/{regex.vue.js → regex.js} +0 -0
- /package/consts/{style.vue.js → style.js} +0 -0
- /package/testids/{index.vue.js → index.js} +0 -0
- /package/utils/{array.vue.js → array.js} +0 -0
- /package/utils/{object.vue.js → object.js} +0 -0
- /package/utils/{testIds.vue.js → testIds.js} +0 -0
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import { defineComponent as Pe, ref as r, computed as Y, onMounted as be, onBeforeMount as xe, onUnmounted as Oe, watch as de, openBlock as D, createElementBlock as C, unref as d, normalizeClass as P, createElementVNode as i, renderSlot as ue, toDisplayString as O, setBlockTracking as q, withDirectives as K, Fragment as J, renderList as Q, createVNode as N, withCtx as A, createTextVNode as B, createCommentVNode as ie, vShow as V, normalizeStyle as Ne } from "vue";
|
|
2
|
+
import { onClickOutside as Fe } from "@vueuse/core";
|
|
3
|
+
import { useToggle as Le } from "../../composables/useToggle.js";
|
|
4
|
+
import Ue from "./CalendarMonth.vue.js";
|
|
5
|
+
import h from "./DateServices.js";
|
|
6
|
+
import { typeToName as Re, messagePerType as We, presetsList as Ye, formatError as qe, mandatoryValuesError as Ae, navigatePrev as ce, navigateNext as fe } from "./consts.js";
|
|
7
|
+
import ve from "../button/v3/Button.vue.js";
|
|
8
|
+
/* empty css */import { DateRangeTestIdModifiers as E } from "../../testids/index.js";
|
|
9
|
+
/* empty css */import me from "../typography/Text.vue.js";
|
|
10
|
+
/* empty css *//* empty css *//* empty css */import "floating-vue";
|
|
11
|
+
/* empty css *//* empty css */import { min as Be, addDays as ze, format as ge } from "date-fns";
|
|
12
|
+
const He = ["id", "data-testid"], je = ["data-testid"], Ge = ["id", "data-testid"], Ke = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "type-picker"
|
|
15
|
+
}, Je = ["onClick"], Qe = ["data-testid"], Ve = ["id"], Xe = ["id"], Ze = ["onClick"], _e = { class: "dropdown-rightTriangle" }, et = ["data-testid"], tt = { class: "date-picker-calendar left-box" }, at = { class: "buttons-cover" }, nt = { class: "range" }, wt = /* @__PURE__ */ Pe({
|
|
16
|
+
__name: "DateRange",
|
|
17
|
+
props: {
|
|
18
|
+
range: null,
|
|
19
|
+
types: { default: () => ["date"] },
|
|
20
|
+
includeToday: { type: Boolean, default: !0 },
|
|
21
|
+
allowedDays: { default: null },
|
|
22
|
+
maxDaysInRange: { default: null },
|
|
23
|
+
datePresetList: { default: "date" },
|
|
24
|
+
regex: { default: () => /^(1[0-2]|0?[1-9])\/[\d]{1,2}\/[\d]{4}$/ },
|
|
25
|
+
dateFormat: { default: "mm/dd/yyyy" },
|
|
26
|
+
uniqueId: { default: Date.now() },
|
|
27
|
+
disabled: { type: Boolean, default: !1 },
|
|
28
|
+
initialType: { default: null },
|
|
29
|
+
openOnTop: { type: Boolean, default: !1 },
|
|
30
|
+
showPresets: { type: Boolean, default: !0 },
|
|
31
|
+
maxDate: { default: null },
|
|
32
|
+
testId: { default: "" }
|
|
33
|
+
},
|
|
34
|
+
emits: [
|
|
35
|
+
"rangeTypeChanged",
|
|
36
|
+
"currentDateChanged",
|
|
37
|
+
"rangeChanged",
|
|
38
|
+
"dateRangePresetNameChanged",
|
|
39
|
+
"opened",
|
|
40
|
+
"dismissed"
|
|
41
|
+
],
|
|
42
|
+
setup(s, { emit: M }) {
|
|
43
|
+
const o = s, X = r(null), y = r({ started: !1, date: null }), Z = r(!1), _ = 2, F = r({ from: null, to: null }), u = r({}), m = r([]), $ = r(null), f = r({}), L = r({}), b = r(!1), S = r(null), c = r(null), ee = r("left"), x = r(null), U = r(null), I = r([]), te = r(null), [k] = Le({ initialValue: !1 }), ae = r(null);
|
|
44
|
+
Fe(ae, () => {
|
|
45
|
+
k.value = !1;
|
|
46
|
+
});
|
|
47
|
+
const z = (e, t) => {
|
|
48
|
+
const a = {
|
|
49
|
+
weeks: [],
|
|
50
|
+
days: {},
|
|
51
|
+
month: e,
|
|
52
|
+
year: t
|
|
53
|
+
};
|
|
54
|
+
let n, l;
|
|
55
|
+
const g = new Date(t, e, 1).getDay();
|
|
56
|
+
let p = 1;
|
|
57
|
+
const v = /* @__PURE__ */ new Date();
|
|
58
|
+
v.setHours(0, 0, 0, 0);
|
|
59
|
+
const Ie = h.daysInMonth(e, t);
|
|
60
|
+
for (let j = 0; j < 6; j++) {
|
|
61
|
+
l = [];
|
|
62
|
+
for (let G = 0; G < 7; G++)
|
|
63
|
+
n = {}, j === 0 && g > 0 && G < g && (n.value = 0), p > Ie && (n.value = 0), !n.value && n.value !== 0 && (n.value = p, p += 1, a.days[n.value] = n, n.date = new Date(t, e, n.value), v < n.date ? n.isFuture = !0 : n.date.getTime() === v.getTime() && (n.isToday = !0, o.includeToday || (n.disabled = !0))), l.push(n);
|
|
64
|
+
a.weeks.push(l);
|
|
65
|
+
}
|
|
66
|
+
return a;
|
|
67
|
+
}, R = () => {
|
|
68
|
+
let e = h.getCurrentTimeUTC();
|
|
69
|
+
if (c.value && c.value.toEnd ? e = c.value.toEnd : o.range && o.range.to && (e = o.range.to), !u.value[`${e.getFullYear().toString()}_${e.getMonth().toString()}`]) {
|
|
70
|
+
u.value = {}, m.value = [];
|
|
71
|
+
for (let t = 0; t < _; t++) {
|
|
72
|
+
const a = new Date(e);
|
|
73
|
+
a.setDate(1), a.setMonth(e.getMonth() - t);
|
|
74
|
+
const n = `${a.getFullYear().toString()}_${a.getMonth().toString()}`;
|
|
75
|
+
u.value[n] = {
|
|
76
|
+
parsedMonth: z(a.getMonth(), a.getFullYear()),
|
|
77
|
+
order: t
|
|
78
|
+
}, m.value.unshift(n);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}, ne = (e, t) => {
|
|
82
|
+
S.value = e;
|
|
83
|
+
let a = e;
|
|
84
|
+
e === "date" && (a = o.datePresetList), I.value = Ye[a], t && (c.value = {
|
|
85
|
+
fromStart: null,
|
|
86
|
+
fromEnd: null,
|
|
87
|
+
toStart: null,
|
|
88
|
+
toEnd: null
|
|
89
|
+
}, F.value.from = "", F.value.to = "", y.value = { started: !1, date: null }, f.value = "custom"), M("rangeTypeChanged", S.value);
|
|
90
|
+
}, pe = (e) => {
|
|
91
|
+
f.value = e.id, T($.value[e.id].dates()), R();
|
|
92
|
+
}, T = (e, t = !1) => {
|
|
93
|
+
let a = e;
|
|
94
|
+
return (!e || !e.from && !e.to) && (a = $.value[I.value[0]]), o.maxDaysInRange && (te.value = t ? ze(a.from, o.maxDaysInRange) : null), b.value = !1, !a.from || !a.to || !(a.from instanceof Date) || !(a.to instanceof Date) ? (U.value = qe, b.value = !0, !1) : a.from > a.to ? (U.value = `"From" date can't be bigger than "To" date`, b.value = !0, !1) : (c.value = De(a), F.value.from = ge(
|
|
95
|
+
c.value.fromStart,
|
|
96
|
+
o.dateFormat
|
|
97
|
+
), F.value.to = ge(c.value.toEnd, o.dateFormat), !0);
|
|
98
|
+
}, H = () => {
|
|
99
|
+
f.value === "custom" ? x.value = h.getDateRangeString(c.value) : x.value = Ee.value, M("currentDateChanged", x.value);
|
|
100
|
+
}, he = () => {
|
|
101
|
+
if (c.value.fromStart == null || c.value.toEnd == null) {
|
|
102
|
+
b.value = !0, U.value = Ae;
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const e = h.getCurrentTimeUTC();
|
|
106
|
+
c.value.toEnd > e && (c.value.toEnd = e), H(), L.value = f.value, M("rangeChanged", {
|
|
107
|
+
from: c.value.fromStart,
|
|
108
|
+
to: c.value.toEnd,
|
|
109
|
+
preset: L.value
|
|
110
|
+
}), W(!1);
|
|
111
|
+
}, ye = (e, t) => e ? ce : t ? fe : null, ke = (e) => {
|
|
112
|
+
let t = null, a = null;
|
|
113
|
+
const n = _ - 1;
|
|
114
|
+
let l = "", w = null, g = null;
|
|
115
|
+
switch (e) {
|
|
116
|
+
case fe:
|
|
117
|
+
Object.keys(u.value).forEach((p) => {
|
|
118
|
+
const v = u.value[p];
|
|
119
|
+
v.order === 0 && (w = v), v.order === n ? (m.value.splice(
|
|
120
|
+
m.value.indexOf(p),
|
|
121
|
+
1
|
|
122
|
+
), delete u.value[p]) : v.order += 1;
|
|
123
|
+
}), t = w.parsedMonth.month + 1, a = w.parsedMonth.year, t > 11 && (t = 0, a += 1), l = `${a.toString()}_${t.toString()}`, u.value[l] = {
|
|
124
|
+
parsedMonth: z(t, a),
|
|
125
|
+
order: 0
|
|
126
|
+
}, m.value.push(l);
|
|
127
|
+
break;
|
|
128
|
+
case ce:
|
|
129
|
+
Object.keys(u.value).forEach((p) => {
|
|
130
|
+
const v = u.value[p];
|
|
131
|
+
v.order === n && (g = v), v.order === 0 ? (m.value.splice(
|
|
132
|
+
m.value.indexOf(p),
|
|
133
|
+
1
|
|
134
|
+
), delete u.value[p]) : v.order -= 1;
|
|
135
|
+
}), t = g.parsedMonth.month - 1, a = g.parsedMonth.year, t < 0 && (t = 11, a -= 1), l = `${a.toString()}_${t.toString()}`, u.value[l] = {
|
|
136
|
+
parsedMonth: z(t, a),
|
|
137
|
+
order: n
|
|
138
|
+
}, m.value.unshift(l);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}, De = (e) => {
|
|
142
|
+
let t;
|
|
143
|
+
switch (S.value) {
|
|
144
|
+
case "week":
|
|
145
|
+
t = {
|
|
146
|
+
fromStart: h.getFirstDayOfWeek(e.from),
|
|
147
|
+
fromEnd: h.getLastDayOfWeek(e.from),
|
|
148
|
+
toStart: h.getFirstDayOfWeek(e.to),
|
|
149
|
+
toEnd: h.getLastDayOfWeek(e.to)
|
|
150
|
+
};
|
|
151
|
+
break;
|
|
152
|
+
case "month":
|
|
153
|
+
t = {
|
|
154
|
+
fromStart: new Date(
|
|
155
|
+
e.from.getFullYear(),
|
|
156
|
+
e.from.getMonth(),
|
|
157
|
+
1
|
|
158
|
+
),
|
|
159
|
+
fromEnd: h.getLastDayOfMonth(e.from),
|
|
160
|
+
toStart: new Date(
|
|
161
|
+
e.to.getFullYear(),
|
|
162
|
+
e.to.getMonth(),
|
|
163
|
+
1
|
|
164
|
+
),
|
|
165
|
+
toEnd: h.getLastDayOfMonth(e.to)
|
|
166
|
+
};
|
|
167
|
+
break;
|
|
168
|
+
case "date":
|
|
169
|
+
default:
|
|
170
|
+
t = {
|
|
171
|
+
fromStart: e.from,
|
|
172
|
+
fromEnd: e.from,
|
|
173
|
+
toStart: e.to,
|
|
174
|
+
toEnd: e.to
|
|
175
|
+
};
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
return t;
|
|
179
|
+
}, le = (e, t) => e.getUTCFullYear() === t.getUTCFullYear() && e.getUTCMonth() === t.getUTCMonth() && e.getUTCDate() === t.getUTCDate(), se = (e) => {
|
|
180
|
+
let t = !1;
|
|
181
|
+
const a = {
|
|
182
|
+
from: new Date(e.from),
|
|
183
|
+
to: new Date(e.to)
|
|
184
|
+
};
|
|
185
|
+
a.from.setHours(0, 0, 0, 0), a.to.setHours(0, 0, 0, 0);
|
|
186
|
+
const n = I.value.map((l) => l.id);
|
|
187
|
+
if (Object.keys($.value).forEach((l) => {
|
|
188
|
+
const w = $.value[l];
|
|
189
|
+
if (l !== "custom" && !t && n.indexOf(l) !== -1) {
|
|
190
|
+
const g = w.dates();
|
|
191
|
+
g.from.setHours(0, 0, 0, 0), g.to.setHours(0, 0, 0, 0), le(g.from, a.from) && le(g.to, a.to) && (f.value = l, t = !0);
|
|
192
|
+
}
|
|
193
|
+
}), t) {
|
|
194
|
+
const l = I.value.find(
|
|
195
|
+
(w) => w.id === f.value
|
|
196
|
+
);
|
|
197
|
+
M("dateRangePresetNameChanged", l.name);
|
|
198
|
+
} else
|
|
199
|
+
M("dateRangePresetNameChanged", null), f.value = "custom";
|
|
200
|
+
L.value = f.value;
|
|
201
|
+
}, oe = (e, t, a) => {
|
|
202
|
+
if (!y.value.started)
|
|
203
|
+
f.value = "custom", y.value.started = !0, y.value.date = new Date(a, t, e.value), T(
|
|
204
|
+
{ from: y.value.date, to: y.value.date },
|
|
205
|
+
!0
|
|
206
|
+
);
|
|
207
|
+
else {
|
|
208
|
+
const n = new Date(a, t, e.value), l = y.value.date;
|
|
209
|
+
y.value.started = !1, y.value.date = null, n < l ? oe(e, t, a) : T({ from: l, to: n });
|
|
210
|
+
}
|
|
211
|
+
}, Ce = () => {
|
|
212
|
+
const e = X.value.offsetLeft;
|
|
213
|
+
return window.innerWidth - e > 930 ? "left" : "right";
|
|
214
|
+
}, W = (e = !0) => {
|
|
215
|
+
k.value = !k.value, k.value ? (ee.value = Ce(), T(o.range), R(), M("opened")) : (T(o.range), R(), f.value = L.value, e && M("dismissed"));
|
|
216
|
+
}, we = () => {
|
|
217
|
+
k.value && W();
|
|
218
|
+
}, Me = () => {
|
|
219
|
+
$.value = h.getPresetsFunctions(o.includeToday), $.value.custom = {
|
|
220
|
+
dates: () => o.range
|
|
221
|
+
};
|
|
222
|
+
}, Te = Y(() => (m.value || []).reduce((e, t) => {
|
|
223
|
+
const n = u.value[t].parsedMonth.weeks[u.value[t].parsedMonth.weeks.length - 1].filter(
|
|
224
|
+
(l) => l.value !== 0
|
|
225
|
+
).length;
|
|
226
|
+
return e && !n;
|
|
227
|
+
}, !0)), re = () => {
|
|
228
|
+
o.range && (Z.value = !0, ne(o.initialType || o.types[0]), Me(), se(o.range), T(o.range), R(), H());
|
|
229
|
+
};
|
|
230
|
+
be(() => {
|
|
231
|
+
re();
|
|
232
|
+
}), xe(() => {
|
|
233
|
+
const e = (t) => {
|
|
234
|
+
t.key === "Escape" && k.value && we();
|
|
235
|
+
};
|
|
236
|
+
document.addEventListener("keyup", e), Oe(() => {
|
|
237
|
+
document.removeEventListener("keyup", e);
|
|
238
|
+
});
|
|
239
|
+
}), de(
|
|
240
|
+
() => o.range,
|
|
241
|
+
(e, t) => {
|
|
242
|
+
e && e !== t && (Z.value ? (se(e), T(e), H()) : re());
|
|
243
|
+
}
|
|
244
|
+
), de(k, (e) => {
|
|
245
|
+
e || (y.value.started = !1);
|
|
246
|
+
});
|
|
247
|
+
const Ee = Y(() => {
|
|
248
|
+
const e = I.value.find(
|
|
249
|
+
(t) => t.id === f.value
|
|
250
|
+
);
|
|
251
|
+
return e ? e.name : "";
|
|
252
|
+
}), $e = Y(() => `datepicker${o.uniqueId}`), Se = Y(() => {
|
|
253
|
+
const e = [o.maxDate, te.value].filter((t) => t);
|
|
254
|
+
return e.length ? Be(e) : null;
|
|
255
|
+
});
|
|
256
|
+
return (e, t) => (D(), C("div", {
|
|
257
|
+
id: d($e),
|
|
258
|
+
ref_key: "datePicker",
|
|
259
|
+
ref: X,
|
|
260
|
+
class: P(["relative-wrap", { "date-range-disabled": s.disabled }]),
|
|
261
|
+
"data-testid": `${s.testId}-${d(E).WRAPPER}`
|
|
262
|
+
}, [
|
|
263
|
+
i("div", {
|
|
264
|
+
class: "date-range-field",
|
|
265
|
+
"data-testid": `${s.testId}-${d(E).TRIGGER}`,
|
|
266
|
+
onClick: t[1] || (t[1] = (a) => W())
|
|
267
|
+
}, [
|
|
268
|
+
ue(e.$slots, "field", {
|
|
269
|
+
currentDate: x.value,
|
|
270
|
+
isOpen: d(k)
|
|
271
|
+
}, () => [
|
|
272
|
+
i("span", null, O(x.value), 1),
|
|
273
|
+
t[0] || (q(-1), t[0] = i("div", { class: "small-triangle" }), q(1), t[0])
|
|
274
|
+
], !0)
|
|
275
|
+
], 8, je),
|
|
276
|
+
K(i("div", {
|
|
277
|
+
id: "datepickerPopup" + s.uniqueId,
|
|
278
|
+
ref_key: "popup",
|
|
279
|
+
ref: ae,
|
|
280
|
+
class: P(["pop-up", [
|
|
281
|
+
ee.value,
|
|
282
|
+
s.openOnTop ? "open-on-top" : "",
|
|
283
|
+
s.showPresets ? "" : "hide-presets"
|
|
284
|
+
]]),
|
|
285
|
+
"data-testid": `${s.testId}-${d(E).CONTAINER}`
|
|
286
|
+
}, [
|
|
287
|
+
s.types.length > 1 ? (D(), C("div", Ke, [
|
|
288
|
+
(D(!0), C(J, null, Q(s.types, (a) => (D(), C("span", {
|
|
289
|
+
key: a,
|
|
290
|
+
class: P(["range-type", { "selected-range-type": S.value === a }]),
|
|
291
|
+
onClick: (n) => ne(a, !0)
|
|
292
|
+
}, [
|
|
293
|
+
N(d(me), { size: "sm" }, {
|
|
294
|
+
default: A(() => [
|
|
295
|
+
B(O(d(Re)[a]), 1)
|
|
296
|
+
]),
|
|
297
|
+
_: 2
|
|
298
|
+
}, 1024)
|
|
299
|
+
], 10, Je))), 128))
|
|
300
|
+
])) : ie("", !0),
|
|
301
|
+
i("div", {
|
|
302
|
+
class: P(["flex", { "pop-up-content": s.types.length > 1 }])
|
|
303
|
+
}, [
|
|
304
|
+
s.showPresets ? (D(), C("div", {
|
|
305
|
+
key: 0,
|
|
306
|
+
class: "date-picker-menu",
|
|
307
|
+
"data-testid": `${s.testId}-${d(E).MENU}`
|
|
308
|
+
}, [
|
|
309
|
+
i("div", {
|
|
310
|
+
id: "presets" + s.uniqueId,
|
|
311
|
+
class: "preset-dropdown"
|
|
312
|
+
}, [
|
|
313
|
+
i("ul", {
|
|
314
|
+
id: "customDropDownList" + s.uniqueId
|
|
315
|
+
}, [
|
|
316
|
+
(D(!0), C(J, null, Q(I.value, (a) => (D(), C("li", {
|
|
317
|
+
key: a.id,
|
|
318
|
+
class: P({
|
|
319
|
+
"selected-preset-container": f.value === a.id
|
|
320
|
+
})
|
|
321
|
+
}, [
|
|
322
|
+
i("div", {
|
|
323
|
+
class: P([{ "selected-preset": f.value === a.id }, "preset-element"]),
|
|
324
|
+
onClick: (n) => pe(a)
|
|
325
|
+
}, [
|
|
326
|
+
N(d(me), { size: "sm" }, {
|
|
327
|
+
default: A(() => [
|
|
328
|
+
B(O(a.name), 1)
|
|
329
|
+
]),
|
|
330
|
+
_: 2
|
|
331
|
+
}, 1024)
|
|
332
|
+
], 10, Ze),
|
|
333
|
+
K(i("div", _e, null, 512), [
|
|
334
|
+
[V, a.id === "custom"]
|
|
335
|
+
])
|
|
336
|
+
], 2))), 128))
|
|
337
|
+
], 8, Xe)
|
|
338
|
+
], 8, Ve),
|
|
339
|
+
i("div", {
|
|
340
|
+
class: "type-message",
|
|
341
|
+
"data-testid": `${s.testId}-${d(E).MESSAGE}`
|
|
342
|
+
}, O(d(We)[S.value]), 9, et)
|
|
343
|
+
], 8, Qe)) : ie("", !0),
|
|
344
|
+
i("div", {
|
|
345
|
+
class: "calendar-wrap",
|
|
346
|
+
style: Ne({ height: d(Te) ? "336px" : "372px" })
|
|
347
|
+
}, [
|
|
348
|
+
i("div", tt, [
|
|
349
|
+
(D(!0), C(J, null, Q(m.value, (a, n) => (D(), C("div", { key: a }, [
|
|
350
|
+
N(Ue, {
|
|
351
|
+
id: s.uniqueId,
|
|
352
|
+
navigation: ye(
|
|
353
|
+
n === 0,
|
|
354
|
+
n === m.value.length - 1
|
|
355
|
+
),
|
|
356
|
+
year: u.value[a].parsedMonth.year,
|
|
357
|
+
days: u.value[a].parsedMonth.days,
|
|
358
|
+
weeks: u.value[a].parsedMonth.weeks,
|
|
359
|
+
month: u.value[a].parsedMonth.month,
|
|
360
|
+
range: c.value,
|
|
361
|
+
type: S.value,
|
|
362
|
+
"allowed-days": s.allowedDays,
|
|
363
|
+
"max-allowed-date": d(Se),
|
|
364
|
+
"test-id": `${s.testId}-${n}`,
|
|
365
|
+
onSelectionChanged: oe,
|
|
366
|
+
onNavigation: ke
|
|
367
|
+
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date", "test-id"])
|
|
368
|
+
]))), 128)),
|
|
369
|
+
i("div", at, [
|
|
370
|
+
i("div", nt, [
|
|
371
|
+
ue(e.$slots, "footer", {}, void 0, !0)
|
|
372
|
+
]),
|
|
373
|
+
K(i("div", { class: "error" }, O(U.value), 513), [
|
|
374
|
+
[V, b.value]
|
|
375
|
+
]),
|
|
376
|
+
t[2] || (q(-1), t[2] = i("div", { class: "buttons" }, [
|
|
377
|
+
N(d(ve), {
|
|
378
|
+
id: "button-ok" + s.uniqueId,
|
|
379
|
+
size: "sm",
|
|
380
|
+
class: "primary button small",
|
|
381
|
+
"data-testid": `${s.testId}-${d(E).ACTION_APPLY}`,
|
|
382
|
+
onClick: (a) => he()
|
|
383
|
+
}, {
|
|
384
|
+
default: A(() => [
|
|
385
|
+
B(" Apply ")
|
|
386
|
+
]),
|
|
387
|
+
_: 1
|
|
388
|
+
}, 8, ["id", "data-testid", "onClick"]),
|
|
389
|
+
N(d(ve), {
|
|
390
|
+
id: "button-cancel" + s.uniqueId,
|
|
391
|
+
size: "sm",
|
|
392
|
+
theme: "third",
|
|
393
|
+
class: "button small border third transparent",
|
|
394
|
+
"data-testid": `${s.testId}-${d(E).ACTION_CANCEL}`,
|
|
395
|
+
onClick: (a) => W()
|
|
396
|
+
}, {
|
|
397
|
+
default: A(() => [
|
|
398
|
+
B(" Cancel ")
|
|
399
|
+
]),
|
|
400
|
+
_: 1
|
|
401
|
+
}, 8, ["id", "data-testid", "onClick"])
|
|
402
|
+
]), q(1), t[2])
|
|
403
|
+
])
|
|
404
|
+
])
|
|
405
|
+
], 4)
|
|
406
|
+
], 2)
|
|
407
|
+
], 10, Ge), [
|
|
408
|
+
[V, d(k)]
|
|
409
|
+
])
|
|
410
|
+
], 10, He));
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
export {
|
|
414
|
+
wt as default
|
|
415
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { defineComponent as A, useCssVars as S, ref as P, computed as g, watch as z, openBlock as s, createBlock as v, Teleport as F, createVNode as m, Transition as K, withCtx as i, unref as o, normalizeClass as T, createElementVNode as u, normalizeStyle as H, withKeys as U, renderSlot as h, createTextVNode as w, toDisplayString as p, createCommentVNode as n, createElementBlock as k } from "vue";
|
|
2
|
+
import { UseFocusTrap as W } from "@vueuse/integrations/useFocusTrap/component";
|
|
3
|
+
import { useTimeoutFn as I } from "@vueuse/core";
|
|
4
|
+
import E from "../typography/Text.vue.js";
|
|
5
|
+
import { NOOP as N } from "@vue/shared";
|
|
6
|
+
import { Reason as y } from "./Reason.js";
|
|
7
|
+
import { DialogTestIdModifiers as l } from "../../testids/index.js";
|
|
8
|
+
/* empty css */import x from "../icon/Icon.vue.js";
|
|
9
|
+
/* empty css */import L from "../button/v3/IconButton.vue.js";
|
|
10
|
+
/* empty css */import "floating-vue";
|
|
11
|
+
/* empty css *//* empty css */const M = ["data-testid"], Y = ["data-testid"], j = ["data-testid"], q = ["data-testid"], G = { class: "placeholder" }, J = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "footer"
|
|
14
|
+
}, Q = ["data-testid"], X = ["data-testid"], me = /* @__PURE__ */ A({
|
|
15
|
+
__name: "Dialog",
|
|
16
|
+
props: {
|
|
17
|
+
appendToBody: { type: Boolean, default: !0 },
|
|
18
|
+
content: { default: null },
|
|
19
|
+
width: { default: "" },
|
|
20
|
+
closeDelay: { default: 0 },
|
|
21
|
+
openDelay: { default: 0 },
|
|
22
|
+
escapeToClose: { type: Boolean, default: !0 },
|
|
23
|
+
showBackdrop: { type: Boolean, default: !0 },
|
|
24
|
+
headerBorder: { type: Boolean, default: !0 },
|
|
25
|
+
closeOnClickOutside: { type: Boolean, default: !1 },
|
|
26
|
+
modelValue: { type: Boolean },
|
|
27
|
+
beforeClose: { type: Function, default: null },
|
|
28
|
+
title: { default: "" },
|
|
29
|
+
showCloseButton: { type: Boolean, default: !0 },
|
|
30
|
+
themeClass: { default: "" },
|
|
31
|
+
testId: { default: "" }
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:modelValue", "open", "close"],
|
|
34
|
+
setup(e, { emit: c }) {
|
|
35
|
+
const d = e;
|
|
36
|
+
S((t) => ({
|
|
37
|
+
"0024f728": e.width
|
|
38
|
+
}));
|
|
39
|
+
const r = P(!1);
|
|
40
|
+
let C, B;
|
|
41
|
+
const D = (t) => {
|
|
42
|
+
r.value = !1, c("close", t), c("update:modelValue", !1);
|
|
43
|
+
}, O = () => {
|
|
44
|
+
r.value = !0, c("open");
|
|
45
|
+
}, b = (t) => {
|
|
46
|
+
if (C?.(), B?.(), d.closeDelay && d.closeDelay > 0) {
|
|
47
|
+
({ stop: B } = I(
|
|
48
|
+
() => D(t),
|
|
49
|
+
d.closeDelay
|
|
50
|
+
));
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
D(t);
|
|
54
|
+
}, R = () => {
|
|
55
|
+
if (B?.(), C?.(), d.openDelay && d.openDelay > 0) {
|
|
56
|
+
({ stop: C } = I(() => O(), d.openDelay));
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
O();
|
|
60
|
+
}, V = g(() => d.width ? { width: d.width } : {});
|
|
61
|
+
z(
|
|
62
|
+
() => d.modelValue,
|
|
63
|
+
(t) => {
|
|
64
|
+
if (t) {
|
|
65
|
+
R();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
r.value && b(y.Other);
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
function $(t) {
|
|
72
|
+
function a(f) {
|
|
73
|
+
f || (c("close", t), r.value = !1);
|
|
74
|
+
}
|
|
75
|
+
if (d.beforeClose) {
|
|
76
|
+
d.beforeClose(a);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
b(t);
|
|
80
|
+
}
|
|
81
|
+
return (t, a) => (s(), v(F, {
|
|
82
|
+
to: "body",
|
|
83
|
+
disabled: !e.appendToBody
|
|
84
|
+
}, [
|
|
85
|
+
m(K, null, {
|
|
86
|
+
default: i(() => [
|
|
87
|
+
r.value ? (s(), v(o(W), {
|
|
88
|
+
key: 0,
|
|
89
|
+
class: T(["container", e.themeClass])
|
|
90
|
+
}, {
|
|
91
|
+
default: i(() => [
|
|
92
|
+
u("div", {
|
|
93
|
+
class: "modal",
|
|
94
|
+
style: H(o(V)),
|
|
95
|
+
"data-testid": `${e.testId}-${o(l).WRAPPER}`,
|
|
96
|
+
onKeydown: a[1] || (a[1] = U((f) => e.escapeToClose ? $(o(y).Escape) : o(N)(), ["esc"]))
|
|
97
|
+
}, [
|
|
98
|
+
u("header", {
|
|
99
|
+
class: T(["header", { "header--bordered": e.headerBorder }]),
|
|
100
|
+
"data-testid": `${e.testId}-${o(l).HEADER}`
|
|
101
|
+
}, [
|
|
102
|
+
e.headerBorder ? h(t.$slots, "header", { key: 0 }, () => [
|
|
103
|
+
m(E, { strong: "" }, {
|
|
104
|
+
default: i(() => [
|
|
105
|
+
w(p(e.title), 1)
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
})
|
|
109
|
+
], !0) : n("", !0),
|
|
110
|
+
e.showCloseButton ? (s(), v(o(L), {
|
|
111
|
+
key: 1,
|
|
112
|
+
class: "button close-button",
|
|
113
|
+
size: "md",
|
|
114
|
+
theme: "secondary",
|
|
115
|
+
variant: "colorized",
|
|
116
|
+
"icon-name": "close",
|
|
117
|
+
"data-testid": `${e.testId}-${o(l).ACTION_CLOSE}`,
|
|
118
|
+
onClick: a[0] || (a[0] = (f) => $(o(y).CloseButton))
|
|
119
|
+
}, {
|
|
120
|
+
default: i(() => [
|
|
121
|
+
m(x, {
|
|
122
|
+
"font-size": "md",
|
|
123
|
+
name: "close"
|
|
124
|
+
})
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["data-testid"])) : n("", !0)
|
|
128
|
+
], 10, Y),
|
|
129
|
+
e.headerBorder ? n("", !0) : (s(), k("div", {
|
|
130
|
+
key: 0,
|
|
131
|
+
class: "header--secondary",
|
|
132
|
+
"data-testid": `${e.testId}-${o(l).HEADER_SECONDARY}`
|
|
133
|
+
}, [
|
|
134
|
+
h(t.$slots, "header", {}, () => [
|
|
135
|
+
m(E, { strong: "" }, {
|
|
136
|
+
default: i(() => [
|
|
137
|
+
w(p(e.title), 1)
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
})
|
|
141
|
+
], !0)
|
|
142
|
+
], 8, j)),
|
|
143
|
+
u("div", {
|
|
144
|
+
class: T(["content", { "content--bordered": e.headerBorder }]),
|
|
145
|
+
"data-testid": `${e.testId}-${o(l).CONTENT}`
|
|
146
|
+
}, [
|
|
147
|
+
h(t.$slots, "default", {}, () => [
|
|
148
|
+
u("div", G, p(e.content), 1)
|
|
149
|
+
], !0)
|
|
150
|
+
], 10, q),
|
|
151
|
+
t.$slots.footer ? (s(), k("footer", J, [
|
|
152
|
+
u("div", {
|
|
153
|
+
class: "action-buttons",
|
|
154
|
+
"data-testid": `${e.testId}-${o(l).ACTION_BUTTONS_WRAPPER}`
|
|
155
|
+
}, [
|
|
156
|
+
h(t.$slots, "footer", {}, void 0, !0)
|
|
157
|
+
], 8, Q)
|
|
158
|
+
])) : n("", !0)
|
|
159
|
+
], 44, M),
|
|
160
|
+
e.showBackdrop ? (s(), k("div", {
|
|
161
|
+
key: 0,
|
|
162
|
+
class: "backdrop",
|
|
163
|
+
"data-testid": `${e.testId}-${o(l).BACKDROP}`,
|
|
164
|
+
onClick: a[2] || (a[2] = (f) => e.closeOnClickOutside ? $(o(y).Backdrop) : o(N)())
|
|
165
|
+
}, null, 8, X)) : n("", !0)
|
|
166
|
+
]),
|
|
167
|
+
_: 3
|
|
168
|
+
}, 8, ["class"])) : n("", !0)
|
|
169
|
+
]),
|
|
170
|
+
_: 3
|
|
171
|
+
})
|
|
172
|
+
], 8, ["disabled"]));
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
export {
|
|
176
|
+
me as default
|
|
177
|
+
};
|