origam 2.14.1 → 2.16.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/CHANGELOG.md +233 -0
- package/dist/src/components/Alert/OrigamAlert.vue +14 -16
- package/dist/src/components/App/OrigamApp.vue +1 -0
- package/dist/src/components/App/OrigamAppBar.vue +6 -5
- package/dist/src/components/Audio/OrigamAudio.vue +7 -6
- package/dist/src/components/Avatar/OrigamAvatar.vue +6 -5
- package/dist/src/components/Avatar/OrigamAvatarGroup.vue +1 -0
- package/dist/src/components/Badge/OrigamBadge.vue +87 -58
- package/dist/src/components/Blockquote/OrigamBlockquote.vue +9 -8
- package/dist/src/components/BottomNav/OrigamBottomNav.vue +11 -8
- package/dist/src/components/Bracket/OrigamBracket.vue +13 -16
- package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +6 -6
- package/dist/src/components/Bracket/OrigamBracketMatch.vue +29 -9
- package/dist/src/components/Bracket/OrigamBracketRound.vue +7 -6
- package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +12 -8
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +1 -0
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +1 -0
- package/dist/src/components/Btn/OrigamBtn.vue +8 -7
- package/dist/src/components/Btn/OrigamBtnGroup.vue +1 -0
- package/dist/src/components/Btn/OrigamBtnToggle.vue +1 -0
- package/dist/src/components/Calendar/OrigamCalendar.vue +26 -39
- package/dist/src/components/Card/OrigamCard.vue +5 -4
- package/dist/src/components/Card/OrigamCardHeader.vue +22 -5
- package/dist/src/components/Card/OrigamCardText.vue +28 -6
- package/dist/src/components/Carousel/OrigamCarousel.vue +1 -0
- package/dist/src/components/Carousel/OrigamCarouselItem.vue +1 -0
- package/dist/src/components/Chart/OrigamChart.vue +54 -2
- package/dist/src/components/Chart/OrigamChartBoxPlot.vue +4 -3
- package/dist/src/components/Chart/OrigamChartBullet.vue +10 -8
- package/dist/src/components/Chart/OrigamChartCandlestick.vue +11 -10
- package/dist/src/components/Chart/OrigamChartCartesian.vue +6 -5
- package/dist/src/components/Chart/OrigamChartGauge.vue +4 -3
- package/dist/src/components/Chart/OrigamChartHeatmap.vue +15 -4
- package/dist/src/components/Chart/OrigamChartHoneycomb.vue +4 -3
- package/dist/src/components/Chart/OrigamChartLegend.vue +2 -1
- package/dist/src/components/Chart/OrigamChartMap.vue +7 -6
- package/dist/src/components/Chart/OrigamChartPareto.vue +13 -13
- package/dist/src/components/Chart/OrigamChartPictorial.vue +20 -19
- package/dist/src/components/Chart/OrigamChartPolar.vue +5 -4
- package/dist/src/components/Chart/OrigamChartPolarBar.vue +4 -3
- package/dist/src/components/Chart/OrigamChartPyramid.vue +4 -3
- package/dist/src/components/Chart/OrigamChartRadar.vue +4 -3
- package/dist/src/components/Chart/OrigamChartSankey.vue +4 -3
- package/dist/src/components/Chart/OrigamChartSparkline.vue +4 -3
- package/dist/src/components/Chart/OrigamChartStreamgraph.vue +5 -4
- package/dist/src/components/Chart/OrigamChartSunburst.vue +4 -3
- package/dist/src/components/Chart/OrigamChartTooltip.vue +1 -0
- package/dist/src/components/Chart/OrigamChartTreemap.vue +5 -4
- package/dist/src/components/Chart/OrigamChartVariwide.vue +11 -11
- package/dist/src/components/Chart/OrigamChartWordCloud.vue +3 -2
- package/dist/src/components/Checkbox/OrigamCheckbox.vue +5 -5
- package/dist/src/components/Chip/OrigamChip.vue +19 -7
- package/dist/src/components/Chip/OrigamChipGroup.vue +10 -7
- package/dist/src/components/ClientOnly/OrigamClientOnly.vue +1 -0
- package/dist/src/components/Clipboard/OrigamClipboard.vue +6 -5
- package/dist/src/components/Code/OrigamCode.vue +6 -5
- package/dist/src/components/ColorPicker/OrigamColorPicker.vue +7 -6
- package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +2 -2
- package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +6 -5
- package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +5 -5
- package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +5 -5
- package/dist/src/components/Counter/OrigamCounter.vue +43 -2
- package/dist/src/components/DataList/OrigamDataList.vue +7 -6
- package/dist/src/components/DataList/OrigamDataText.vue +1 -0
- package/dist/src/components/DataList/OrigamDataTitle.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTable.vue +8 -10
- package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableFooter.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +3 -2
- package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +5 -0
- package/dist/src/components/DataTable/OrigamDataTableRow.vue +4 -3
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +4 -2
- package/dist/src/components/DatePicker/OrigamDatePicker.vue +7 -6
- package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +1 -0
- package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +1 -0
- package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +1 -0
- package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +1 -0
- package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +6 -5
- package/dist/src/components/Dialog/OrigamDialog.vue +1 -0
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +2 -1
- package/dist/src/components/Drawer/OrigamDrawer.vue +1 -0
- package/dist/src/components/EmptyState/OrigamEmptyState.vue +9 -8
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +9 -8
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +3 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +6 -5
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +13 -8
- package/dist/src/components/Field/OrigamField.vue +7 -7
- package/dist/src/components/FileField/OrigamFileField.vue +12 -12
- package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +5 -5
- package/dist/src/components/FileField/OrigamFileFieldListItem.vue +5 -5
- package/dist/src/components/Form/OrigamForm.vue +6 -6
- package/dist/src/components/Grid/OrigamGrid.vue +9 -8
- package/dist/src/components/Grid/OrigamGridItem.vue +3 -2
- package/dist/src/components/Grids/OrigamCol.vue +1 -0
- package/dist/src/components/Grids/OrigamContainer.vue +1 -0
- package/dist/src/components/Grids/OrigamRow.vue +1 -0
- package/dist/src/components/Grids/OrigamSpacer.vue +1 -0
- package/dist/src/components/Icon/OrigamClassIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamComponentIcon.vue +29 -3
- package/dist/src/components/Icon/OrigamIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamSvgIcon.vue +28 -3
- package/dist/src/components/Img/OrigamImg.vue +1 -0
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +6 -5
- package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +6 -5
- package/dist/src/components/Input/OrigamInput.vue +25 -5
- package/dist/src/components/ItemGroup/OrigamItem.vue +5 -4
- package/dist/src/components/ItemGroup/OrigamItemGroup.vue +7 -3
- package/dist/src/components/Kbd/OrigamKbd.vue +9 -7
- package/dist/src/components/Label/OrigamLabel.vue +5 -5
- package/dist/src/components/Layout/OrigamLayout.vue +1 -0
- package/dist/src/components/Lazy/OrigamLazy.vue +1 -0
- package/dist/src/components/List/OrigamList.vue +10 -7
- package/dist/src/components/List/OrigamListChildren.vue +1 -0
- package/dist/src/components/List/OrigamListGroup.vue +8 -4
- package/dist/src/components/List/OrigamListGroupActivator.vue +1 -0
- package/dist/src/components/List/OrigamListItem.vue +6 -5
- package/dist/src/components/List/OrigamListSubheader.vue +6 -5
- package/dist/src/components/Loader/OrigamLoader.vue +1 -0
- package/dist/src/components/Main/OrigamMain.vue +1 -0
- package/dist/src/components/Masonry/OrigamMasonry.vue +9 -5
- package/dist/src/components/Media/OrigamMediaController.vue +0 -5
- package/dist/src/components/Media/OrigamMediaScrubber.vue +18 -14
- package/dist/src/components/Menu/OrigamMenu.vue +26 -12
- package/dist/src/components/Messages/OrigamMessages.vue +5 -5
- package/dist/src/components/NumberField/OrigamNumberField.vue +5 -5
- package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +8 -7
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +5 -5
- package/dist/src/components/Overlay/OrigamOverlay.vue +1 -0
- package/dist/src/components/Pagination/OrigamPagination.vue +34 -6
- package/dist/src/components/Parallax/OrigamParallax.vue +36 -8
- package/dist/src/components/Parallax/OrigamParallaxElement.vue +5 -4
- package/dist/src/components/Parallax/OrigamParallaxLayer.vue +1 -0
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +5 -5
- package/dist/src/components/Picker/OrigamPicker.vue +7 -6
- package/dist/src/components/Picker/OrigamPickerTitle.vue +6 -5
- package/dist/src/components/Progress/OrigamProgress.vue +1 -0
- package/dist/src/components/Progress/OrigamProgressCircular.vue +1 -0
- package/dist/src/components/Progress/OrigamProgressLinear.vue +1 -0
- package/dist/src/components/QrCode/OrigamQrCode.vue +1 -1
- package/dist/src/components/Radio/OrigamRadio.vue +6 -5
- package/dist/src/components/Radio/OrigamRadioBtn.vue +1 -0
- package/dist/src/components/Radio/OrigamRadioGroup.vue +16 -12
- package/dist/src/components/RatingField/OrigamRatingField.vue +6 -5
- package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -0
- package/dist/src/components/Responsive/OrigamResponsive.vue +1 -0
- package/dist/src/components/Select/OrigamSelect.vue +6 -5
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +4 -2
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +17 -15
- package/dist/src/components/Sheet/OrigamSheet.vue +3 -2
- package/dist/src/components/Skeleton/OrigamSkeleton.vue +2 -1
- package/dist/src/components/Slide/OrigamSlideGroup.vue +2 -1
- package/dist/src/components/SliderField/OrigamSliderField.vue +6 -5
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +2 -4
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +2 -0
- package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +11 -7
- package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +18 -11
- package/dist/src/components/Stepper/OrigamStepper.vue +4 -3
- package/dist/src/components/Stepper/OrigamStepperItem.vue +10 -10
- package/dist/src/components/Switch/OrigamSwitch.vue +12 -54
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +6 -5
- package/dist/src/components/Table/OrigamTable.vue +6 -5
- package/dist/src/components/Tabs/OrigamTab.vue +43 -15
- package/dist/src/components/Tabs/OrigamTabPanel.vue +1 -0
- package/dist/src/components/Tabs/OrigamTabPanels.vue +7 -3
- package/dist/src/components/Tabs/OrigamTabs.vue +10 -6
- package/dist/src/components/TextField/OrigamTextField.vue +5 -5
- package/dist/src/components/TextMask/OrigamTextMask.vue +8 -7
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +8 -6
- package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +3 -2
- package/dist/src/components/Timeline/OrigamTimeline.vue +9 -6
- package/dist/src/components/Timeline/OrigamTimelineItem.vue +13 -11
- package/dist/src/components/Title/OrigamTitle.vue +6 -5
- package/dist/src/components/Toolbar/OrigamToolbar.vue +6 -5
- package/dist/src/components/Tooltip/OrigamTooltip.vue +6 -5
- package/dist/src/components/Transition/OrigamExpandX.vue +1 -0
- package/dist/src/components/Transition/OrigamExpandY.vue +1 -0
- package/dist/src/components/Transition/OrigamFade.vue +1 -0
- package/dist/src/components/Transition/OrigamReverseTranslatePicker.vue +1 -0
- package/dist/src/components/Transition/OrigamScaleRotate.vue +1 -0
- package/dist/src/components/Transition/OrigamSlideX.vue +1 -0
- package/dist/src/components/Transition/OrigamSlideY.vue +1 -0
- package/dist/src/components/Transition/OrigamSnack.vue +1 -0
- package/dist/src/components/Transition/OrigamTransition.vue +1 -0
- package/dist/src/components/Transition/OrigamTranslateBottom.vue +1 -0
- package/dist/src/components/Transition/OrigamTranslatePicker.vue +1 -0
- package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowXReverseTranslate.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowXTranslate.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowYReverseTranslate.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowYTranslate.vue +1 -0
- package/dist/src/components/Treeview/OrigamTreeview.vue +8 -8
- package/dist/src/components/Treeview/OrigamTreeviewNode.vue +5 -4
- package/dist/src/components/Video/OrigamVideo.vue +10 -56
- package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -0
- package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -0
- package/dist/src/components/Watermark/OrigamWatermark.vue +1 -0
- package/dist/src/components/Window/OrigamWindow.vue +1 -0
- package/dist/src/components/Window/OrigamWindowItem.vue +1 -0
- package/dist/src/composables/Calendar/calendar.composable.cjs +11 -10
- package/dist/src/composables/Calendar/calendar.composable.d.ts +2 -26
- package/dist/src/composables/Calendar/calendar.composable.js +11 -10
- package/dist/src/composables/CommandPalette/command.composable.d.ts +2 -24
- package/dist/src/composables/Commons/border.composable.cjs +18 -0
- package/dist/src/composables/Commons/border.composable.d.ts +12 -8
- package/dist/src/composables/Commons/border.composable.js +16 -1
- package/dist/src/composables/Commons/defaults.composable.cjs +1 -0
- package/dist/src/composables/Commons/defaults.composable.d.ts +11 -0
- package/dist/src/composables/Commons/defaults.composable.js +1 -1
- package/dist/src/composables/Commons/loader.composable.cjs +2 -1
- package/dist/src/composables/Commons/loader.composable.d.ts +3 -24
- package/dist/src/composables/Commons/loader.composable.js +2 -1
- package/dist/src/composables/Commons/margin.composable.cjs +26 -12
- package/dist/src/composables/Commons/margin.composable.d.ts +37 -0
- package/dist/src/composables/Commons/margin.composable.js +22 -25
- package/dist/src/composables/Commons/nested.composable.cjs +3 -3
- package/dist/src/composables/Commons/nested.composable.d.ts +3 -2
- package/dist/src/composables/Commons/nested.composable.js +4 -4
- package/dist/src/composables/Commons/padding.composable.cjs +26 -12
- package/dist/src/composables/Commons/padding.composable.d.ts +26 -0
- package/dist/src/composables/Commons/padding.composable.js +22 -25
- package/dist/src/composables/Commons/props.composable.d.ts +45 -0
- package/dist/src/composables/Commons/rounded.composable.cjs +18 -23
- package/dist/src/composables/Commons/rounded.composable.d.ts +29 -11
- package/dist/src/composables/Commons/rounded.composable.js +27 -31
- package/dist/src/composables/Commons/stateEffect.composable.cjs +59 -1
- package/dist/src/composables/Commons/stateEffect.composable.d.ts +2 -6
- package/dist/src/composables/Commons/stateEffect.composable.js +71 -7
- package/dist/src/composables/Commons/theme-props-resolver.composable.cjs +82 -0
- package/dist/src/composables/Commons/theme-props-resolver.composable.d.ts +38 -0
- package/dist/src/composables/Commons/theme-props-resolver.composable.js +75 -0
- package/dist/src/composables/CssSupport/cssSupport.composable.d.ts +5 -43
- package/dist/src/composables/Mask/mask.composable.d.ts +3 -23
- package/dist/src/composables/Masonry/masonry.composable.d.ts +4 -58
- package/dist/src/composables/Parallax/parallax.composable.d.ts +2 -20
- package/dist/src/composables/PasswordField/passwordStrength.composable.cjs +3 -2
- package/dist/src/composables/PasswordField/passwordStrength.composable.js +6 -5
- package/dist/src/composables/Sheet/sheetSwipe.composable.cjs +4 -5
- package/dist/src/composables/Sheet/sheetSwipe.composable.d.ts +1 -1
- package/dist/src/composables/Sheet/sheetSwipe.composable.js +2 -3
- package/dist/src/composables/Snackbar/snackbar-group.composable.cjs +8 -3
- package/dist/src/composables/Snackbar/snackbar-group.composable.d.ts +3 -22
- package/dist/src/composables/Snackbar/snackbar-group.composable.js +8 -3
- package/dist/src/composables/Theme/theme.composable.d.ts +1 -1
- package/dist/src/composables/Transition/transition.composable.cjs +2 -2
- package/dist/src/composables/Transition/transition.composable.d.ts +3 -3
- package/dist/src/composables/Transition/transition.composable.js +2 -2
- package/dist/src/composables/index.cjs +12 -0
- package/dist/src/composables/index.d.ts +1 -0
- package/dist/src/composables/index.js +1 -0
- package/dist/src/consts/Blockquote/blockquote.const.cjs +3 -2
- package/dist/src/consts/Blockquote/blockquote.const.js +3 -14
- package/dist/src/consts/Bracket/bracket.const.cjs +3 -2
- package/dist/src/consts/Bracket/bracket.const.js +3 -11
- package/dist/src/consts/Chart/{world-geographic.const.cjs → chart-map.const.cjs} +75 -1
- package/dist/src/consts/Chart/{world-geographic.const.d.ts → chart-map.const.d.ts} +24 -0
- package/dist/src/consts/Chart/{world-geographic.const.js → chart-map.const.js} +74 -0
- package/dist/src/consts/ColorPicker/color-picker.const.cjs +7 -7
- package/dist/src/consts/ColorPicker/color-picker.const.js +1 -1
- package/dist/src/consts/Commons/border.const.cjs +8 -1
- package/dist/src/consts/Commons/border.const.d.ts +17 -0
- package/dist/src/consts/Commons/border.const.js +5 -1
- package/dist/src/consts/Commons/color.const.cjs +3 -2
- package/dist/src/consts/Commons/color.const.js +5 -19
- package/dist/src/consts/Commons/spacing.const.cjs +78 -0
- package/dist/src/consts/Commons/spacing.const.d.ts +102 -0
- package/dist/src/consts/Commons/spacing.const.js +56 -0
- package/dist/src/consts/DataTable/{select.const.cjs → data-table.const.cjs} +15 -2
- package/dist/src/consts/DataTable/data-table.const.d.ts +53 -0
- package/dist/src/consts/DataTable/{select.const.js → data-table.const.js} +7 -0
- package/dist/src/consts/EmptyState/empty-state.const.cjs +6 -6
- package/dist/src/consts/EmptyState/empty-state.const.js +7 -13
- package/dist/src/consts/Media/media.const.cjs +3 -2
- package/dist/src/consts/Media/media.const.d.ts +17 -0
- package/dist/src/consts/Media/media.const.js +1 -0
- package/dist/src/consts/PasswordField/password-field.const.cjs +18 -1
- package/dist/src/consts/PasswordField/password-field.const.d.ts +18 -0
- package/dist/src/consts/PasswordField/password-field.const.js +22 -0
- package/dist/src/consts/QrCode/qr-code.const.cjs +2 -1
- package/dist/src/consts/QrCode/qr-code.const.js +2 -1
- package/dist/src/consts/Sheet/{sheet-snap-points.const.cjs → sheet.const.cjs} +3 -2
- package/dist/src/consts/Sheet/{sheet-snap-points.const.d.ts → sheet.const.d.ts} +11 -0
- package/dist/src/consts/Sheet/{sheet-snap-points.const.js → sheet.const.js} +1 -0
- package/dist/src/consts/TextField/text-field.const.cjs +61 -2
- package/dist/src/consts/TextField/text-field.const.d.ts +20 -0
- package/dist/src/consts/TextField/text-field.const.js +60 -0
- package/dist/src/consts/index.cjs +36 -113
- package/dist/src/consts/index.d.ts +8 -15
- package/dist/src/consts/index.js +8 -15
- package/dist/src/enums/Audio/audio.enum.cjs +26 -0
- package/dist/src/enums/Audio/audio.enum.d.ts +56 -0
- package/dist/src/enums/Audio/audio.enum.js +15 -0
- package/dist/src/enums/Blockquote/{blockquote-variant.enum.cjs → blockquote.enum.cjs} +9 -1
- package/dist/src/enums/Blockquote/{blockquote-variant.enum.d.ts → blockquote.enum.d.ts} +7 -0
- package/dist/src/enums/Blockquote/{blockquote-variant.enum.js → blockquote.enum.js} +8 -0
- package/dist/src/enums/BottomNav/bottom-nav.enum.cjs +13 -0
- package/dist/src/enums/BottomNav/{bottom-nav-position.enum.d.ts → bottom-nav.enum.d.ts} +5 -0
- package/dist/src/enums/BottomNav/bottom-nav.enum.js +7 -0
- package/dist/src/enums/Bracket/bracket-round.enum.cjs +12 -0
- package/dist/src/enums/Bracket/bracket-round.enum.d.ts +10 -0
- package/dist/src/enums/Bracket/bracket-round.enum.js +6 -0
- package/dist/src/enums/Calendar/calendar.enum.cjs +24 -0
- package/dist/src/enums/Calendar/calendar.enum.d.ts +28 -0
- package/dist/src/enums/Calendar/calendar.enum.js +18 -0
- package/dist/src/enums/Chart/chart-honeycomb.enum.cjs +16 -0
- package/dist/src/enums/Chart/{chart-honeycomb-orientation.enum.d.ts → chart-honeycomb.enum.d.ts} +4 -0
- package/dist/src/enums/Chart/{chart-honeycomb-orientation.enum.js → chart-honeycomb.enum.js} +5 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.cjs +12 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.d.ts +12 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.js +6 -0
- package/dist/src/enums/Chart/chart.enum.cjs +13 -2
- package/dist/src/enums/Chart/chart.enum.d.ts +35 -0
- package/dist/src/enums/Chart/chart.enum.js +11 -0
- package/dist/src/enums/Code/{code-lang.enum.cjs → code.enum.cjs} +7 -0
- package/dist/src/enums/Code/{code-lang.enum.d.ts → code.enum.d.ts} +14 -0
- package/dist/src/enums/Code/{code-lang.enum.js → code.enum.js} +1 -0
- package/dist/src/enums/Commons/align.enum.cjs +8 -2
- package/dist/src/enums/Commons/align.enum.d.ts +14 -0
- package/dist/src/enums/Commons/align.enum.js +6 -0
- package/dist/src/enums/Commons/border.enum.cjs +7 -2
- package/dist/src/enums/Commons/border.enum.d.ts +9 -0
- package/dist/src/enums/Commons/border.enum.js +5 -0
- package/dist/src/enums/Commons/color.enum.cjs +13 -0
- package/dist/src/enums/Commons/color.enum.d.ts +17 -0
- package/dist/src/enums/Commons/color.enum.js +7 -0
- package/dist/src/enums/Commons/controls.enum.cjs +12 -0
- package/dist/src/enums/Commons/controls.enum.d.ts +18 -0
- package/dist/src/enums/Commons/controls.enum.js +6 -0
- package/dist/src/enums/Commons/font-family.enum.cjs +12 -0
- package/dist/src/enums/Commons/font-family.enum.d.ts +10 -0
- package/dist/src/enums/Commons/font-family.enum.js +6 -0
- package/dist/src/enums/Commons/font-size.enum.cjs +18 -0
- package/dist/src/enums/Commons/font-size.enum.d.ts +21 -0
- package/dist/src/enums/Commons/font-size.enum.js +12 -0
- package/dist/src/enums/Commons/font-weight.enum.cjs +15 -0
- package/dist/src/enums/Commons/font-weight.enum.d.ts +12 -0
- package/dist/src/enums/Commons/font-weight.enum.js +9 -0
- package/dist/src/enums/Commons/intent.enum.cjs +17 -0
- package/dist/src/enums/Commons/intent.enum.d.ts +22 -0
- package/dist/src/enums/Commons/intent.enum.js +11 -0
- package/dist/src/enums/Commons/letter-spacing.enum.cjs +14 -0
- package/dist/src/enums/Commons/letter-spacing.enum.d.ts +12 -0
- package/dist/src/enums/Commons/letter-spacing.enum.js +8 -0
- package/dist/src/enums/Commons/line-height.enum.cjs +15 -0
- package/dist/src/enums/Commons/line-height.enum.d.ts +12 -0
- package/dist/src/enums/Commons/line-height.enum.js +9 -0
- package/dist/src/enums/Commons/loader.enum.cjs +12 -0
- package/dist/src/enums/Commons/loader.enum.d.ts +14 -0
- package/dist/src/enums/Commons/loader.enum.js +6 -0
- package/dist/src/enums/Commons/theme.enum.cjs +12 -0
- package/dist/src/enums/Commons/theme.enum.d.ts +19 -0
- package/dist/src/enums/Commons/theme.enum.js +6 -0
- package/dist/src/enums/DataList/data-list.enum.cjs +11 -0
- package/dist/src/enums/DataList/data-list.enum.d.ts +15 -0
- package/dist/src/enums/DataList/data-list.enum.js +5 -0
- package/dist/src/enums/FileField/file-field.enum.cjs +12 -0
- package/dist/src/enums/FileField/file-field.enum.d.ts +9 -0
- package/dist/src/enums/FileField/file-field.enum.js +6 -0
- package/dist/src/enums/Grid/grid.enum.cjs +13 -0
- package/dist/src/enums/Grid/grid.enum.d.ts +15 -0
- package/dist/src/enums/Grid/grid.enum.js +7 -0
- package/dist/src/enums/Kbd/kbd.enum.cjs +12 -0
- package/dist/src/enums/Kbd/kbd.enum.d.ts +10 -0
- package/dist/src/enums/Kbd/kbd.enum.js +6 -0
- package/dist/src/enums/Masonry/masonry.enum.cjs +11 -0
- package/dist/src/enums/Masonry/masonry.enum.d.ts +10 -0
- package/dist/src/enums/Masonry/masonry.enum.js +5 -0
- package/dist/src/enums/NumberFormat/number-format.enum.cjs +55 -0
- package/dist/src/enums/NumberFormat/number-format.enum.d.ts +78 -0
- package/dist/src/enums/NumberFormat/number-format.enum.js +49 -0
- package/dist/src/enums/Parallax/parallax.enum.cjs +13 -1
- package/dist/src/enums/Parallax/parallax.enum.d.ts +10 -0
- package/dist/src/enums/Parallax/parallax.enum.js +12 -0
- package/dist/src/enums/PasswordField/password-field.enum.cjs +13 -0
- package/dist/src/enums/PasswordField/password-field.enum.d.ts +12 -0
- package/dist/src/enums/PasswordField/password-field.enum.js +7 -0
- package/dist/src/enums/QrCode/qr-code.enum.cjs +13 -0
- package/dist/src/enums/QrCode/qr-code.enum.d.ts +11 -0
- package/dist/src/enums/QrCode/qr-code.enum.js +7 -0
- package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.cjs → RichToolbar/rich-toolbar.enum.cjs} +8 -2
- package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.d.ts → RichToolbar/rich-toolbar.enum.d.ts} +10 -0
- package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.js → RichToolbar/rich-toolbar.enum.js} +6 -0
- package/dist/src/enums/Sheet/sheet.enum.cjs +13 -0
- package/dist/src/enums/Sheet/sheet.enum.d.ts +14 -0
- package/dist/src/enums/Sheet/sheet.enum.js +7 -0
- package/dist/src/enums/Skeleton/skeleton.enum.cjs +14 -0
- package/dist/src/enums/Skeleton/skeleton.enum.d.ts +11 -0
- package/dist/src/enums/Skeleton/skeleton.enum.js +8 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.cjs +22 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.d.ts +22 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.js +16 -0
- package/dist/src/enums/Stepper/stepper.enum.cjs +13 -0
- package/dist/src/enums/Stepper/stepper.enum.d.ts +11 -0
- package/dist/src/enums/Stepper/stepper.enum.js +7 -0
- package/dist/src/enums/TextField/text-field.enum.cjs +30 -1
- package/dist/src/enums/TextField/text-field.enum.d.ts +48 -0
- package/dist/src/enums/TextField/text-field.enum.js +29 -0
- package/dist/src/enums/TextMask/text-mask.enum.cjs +13 -0
- package/dist/src/enums/TextMask/text-mask.enum.d.ts +11 -0
- package/dist/src/enums/TextMask/text-mask.enum.js +7 -0
- package/dist/src/enums/TextareaField/textarea-field.enum.cjs +16 -0
- package/dist/src/enums/{Textarea/textarea-output.enum.d.ts → TextareaField/textarea-field.enum.d.ts} +13 -0
- package/dist/src/enums/{Textarea/textarea-output.enum.js → TextareaField/textarea-field.enum.js} +5 -0
- package/dist/src/enums/Timeline/timeline.enum.cjs +12 -0
- package/dist/src/enums/Timeline/timeline.enum.d.ts +10 -0
- package/dist/src/enums/Timeline/timeline.enum.js +6 -0
- package/dist/src/enums/Treeview/treeview.enum.cjs +17 -0
- package/dist/src/enums/Treeview/treeview.enum.d.ts +18 -0
- package/dist/src/enums/Treeview/treeview.enum.js +11 -0
- package/dist/src/enums/Video/video.enum.cjs +13 -0
- package/dist/src/enums/Video/video.enum.d.ts +12 -0
- package/dist/src/enums/Video/video.enum.js +7 -0
- package/dist/src/enums/index.cjs +375 -199
- package/dist/src/enums/index.d.ts +52 -36
- package/dist/src/enums/index.js +52 -36
- package/dist/src/interfaces/Alert/alert.interface.d.ts +10 -1
- package/dist/src/interfaces/App/app-bar.interface.d.ts +8 -0
- package/dist/src/interfaces/App/app.interface.d.ts +4 -0
- package/dist/src/interfaces/Audio/audio-player.interface.d.ts +11 -0
- package/dist/src/interfaces/Avatar/avatar-group.interface.d.ts +15 -0
- package/dist/src/interfaces/Avatar/avatar.interface.d.ts +9 -0
- package/dist/src/interfaces/Badge/badge.interface.d.ts +23 -2
- package/dist/src/interfaces/BottomNav/bottom-nav.interface.d.ts +13 -0
- package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +6 -1
- package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +22 -1
- package/dist/src/interfaces/Bracket/bracket-round-component.interface.d.ts +27 -0
- package/dist/src/interfaces/Bracket/bracket-surface.interface.d.ts +56 -0
- package/dist/src/interfaces/Bracket/bracket.interface.d.ts +31 -1
- package/dist/src/interfaces/Breadcrumb/breadcrumb-divider.interface.d.ts +4 -0
- package/dist/src/interfaces/Breadcrumb/breadcrumb-item.interface.d.ts +6 -1
- package/dist/src/interfaces/Breadcrumb/breadcrumb.interface.d.ts +22 -0
- package/dist/src/interfaces/Btn/btn-group.interface.d.ts +10 -0
- package/dist/src/interfaces/Btn/btn-toggle.interface.d.ts +15 -1
- package/dist/src/interfaces/Btn/btn.interface.d.ts +10 -1
- package/dist/src/interfaces/Calendar/calendar-drag.interface.d.ts +17 -0
- package/dist/src/interfaces/Calendar/calendar.interface.d.ts +25 -0
- package/dist/src/interfaces/Calendar/rrule.interface.d.ts +26 -0
- package/dist/src/interfaces/Card/card-header.interface.d.ts +13 -1
- package/dist/src/interfaces/Card/card-text.interface.d.ts +4 -0
- package/dist/src/interfaces/Card/card.interface.d.ts +17 -0
- package/dist/src/interfaces/Carousel/carousel-item.interface.d.ts +9 -0
- package/dist/src/interfaces/Carousel/carousel.interface.d.ts +42 -1
- package/dist/src/interfaces/Chart/chart-bullet.interface.d.ts +8 -2
- package/dist/src/interfaces/Chart/chart-gauge.interface.d.ts +13 -2
- package/dist/src/interfaces/Chart/chart-heatmap.interface.d.ts +9 -2
- package/dist/src/interfaces/Chart/chart-map.interface.d.ts +10 -3
- package/dist/src/interfaces/Chart/chart-pictorial.interface.d.ts +10 -2
- package/dist/src/interfaces/Chart/chart-radar.interface.d.ts +12 -1
- package/dist/src/interfaces/Chart/chart-range-selector.interface.d.ts +26 -0
- package/dist/src/interfaces/Chart/chart-sunburst.interface.d.ts +2 -8
- package/dist/src/interfaces/Chart/chart-treemap.interface.d.ts +13 -0
- package/dist/src/interfaces/Chart/chart-word-cloud.interface.d.ts +1 -1
- package/dist/src/interfaces/Chip/chip-group.interface.d.ts +8 -1
- package/dist/src/interfaces/Chip/chip.interface.d.ts +21 -1
- package/dist/src/interfaces/ClientOnly/client-only.interface.d.ts +6 -0
- package/dist/src/interfaces/Code/code.interface.d.ts +18 -0
- package/dist/src/interfaces/ColorPicker/color-picker.interface.d.ts +5 -1
- package/dist/src/interfaces/ColorPickerField/color-picker-field.interface.d.ts +9 -1
- package/dist/src/interfaces/CommandPalette/command-palette-rendered-group.interface.d.ts +11 -0
- package/dist/src/interfaces/CommandPalette/command.interface.d.ts +47 -0
- package/dist/src/interfaces/Commons/border.interface.d.ts +16 -0
- package/dist/src/interfaces/Commons/lazy.interface.d.ts +4 -0
- package/dist/src/interfaces/Commons/loader.interface.d.ts +28 -1
- package/dist/src/interfaces/Commons/margin.interface.d.ts +30 -0
- package/dist/src/interfaces/Commons/padding.interface.d.ts +29 -0
- package/dist/src/interfaces/Commons/rounded.interface.d.ts +24 -0
- package/dist/src/interfaces/Counter/counter.interface.d.ts +10 -0
- package/dist/src/interfaces/CssSupport/css-support.interface.d.ts +43 -0
- package/dist/src/interfaces/DataList/data-list.interface.d.ts +61 -15
- package/dist/src/interfaces/DataList/data-text.interface.d.ts +5 -1
- package/dist/src/interfaces/DataList/data-title.interface.d.ts +7 -1
- package/dist/src/interfaces/DataTable/column.interface.d.ts +6 -0
- package/dist/src/interfaces/DataTable/data-table.interface.d.ts +41 -4
- package/dist/src/interfaces/DataTable/footer.interface.d.ts +6 -1
- package/dist/src/interfaces/DataTable/group.interface.d.ts +25 -0
- package/dist/src/interfaces/DataTable/headers.interface.d.ts +62 -1
- package/dist/src/interfaces/DataTable/items.interface.d.ts +11 -5
- package/dist/src/interfaces/DataTable/row.interface.d.ts +31 -1
- package/dist/src/interfaces/DatePicker/date-picker-header.interface.d.ts +7 -1
- package/dist/src/interfaces/DatePicker/date-picker-month.interface.d.ts +14 -1
- package/dist/src/interfaces/DatePicker/date-picker-months.interface.d.ts +27 -0
- package/dist/src/interfaces/DatePicker/date-picker-years.interface.d.ts +32 -0
- package/dist/src/interfaces/DatePicker/date-picker.interface.d.ts +18 -1
- package/dist/src/interfaces/DatePickerField/date-picker-field.interface.d.ts +17 -1
- package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +10 -2
- package/dist/src/interfaces/Dialog/dialog.interface.d.ts +27 -0
- package/dist/src/interfaces/Drawer/drawer.interface.d.ts +7 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-content.interface.d.ts +5 -0
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-header.interface.d.ts +19 -0
- package/dist/src/interfaces/ExpensionPanel/expansion-panel.interface.d.ts +15 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panels.interface.d.ts +35 -1
- package/dist/src/interfaces/Form/form.interface.d.ts +9 -2
- package/dist/src/interfaces/Icon/icon.interface.d.ts +16 -1
- package/dist/src/interfaces/Img/img.interface.d.ts +6 -0
- package/dist/src/interfaces/InfiniteScroll/infinite-scroll.interface.d.ts +19 -1
- package/dist/src/interfaces/ItemGroup/item-group.interface.d.ts +21 -1
- package/dist/src/interfaces/Kbd/kbd.interface.d.ts +5 -0
- package/dist/src/interfaces/List/list-children.interface.d.ts +28 -0
- package/dist/src/interfaces/List/list-group.interface.d.ts +19 -0
- package/dist/src/interfaces/List/list-item.interface.d.ts +17 -1
- package/dist/src/interfaces/List/list-subheader.interface.d.ts +6 -0
- package/dist/src/interfaces/List/list.interface.d.ts +21 -1
- package/dist/src/interfaces/Mask/mask-options.interface.d.ts +23 -2
- package/dist/src/interfaces/Masonry/masonry.interface.d.ts +55 -0
- package/dist/src/interfaces/Media/media-config-menu-item.interface.d.ts +21 -0
- package/dist/src/interfaces/Media/media-controller.interface.d.ts +8 -0
- package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +25 -3
- package/dist/src/interfaces/Menu/menu.interface.d.ts +20 -2
- package/dist/src/interfaces/Overlay/overlay.interface.d.ts +12 -0
- package/dist/src/interfaces/Pagination/pagination.interface.d.ts +32 -0
- package/dist/src/interfaces/Parallax/parallax-element.interface.d.ts +4 -0
- package/dist/src/interfaces/Parallax/parallax-layer.interface.d.ts +4 -0
- package/dist/src/interfaces/Parallax/parallax.interface.d.ts +29 -0
- package/dist/src/interfaces/Picker/picker-title.interface.d.ts +5 -0
- package/dist/src/interfaces/Picker/picker.interface.d.ts +7 -0
- package/dist/src/interfaces/Progress/progress-circular.interface.d.ts +6 -0
- package/dist/src/interfaces/Progress/progress-linear.interface.d.ts +7 -0
- package/dist/src/interfaces/Progress/progress.interface.d.ts +4 -0
- package/dist/src/interfaces/QrCode/qr-code.interface.d.ts +15 -1
- package/dist/src/interfaces/Radio/radio-btn.interface.d.ts +14 -0
- package/dist/src/interfaces/Radio/radio-group.interface.d.ts +28 -1
- package/dist/src/interfaces/Radio/radio.interface.d.ts +35 -1
- package/dist/src/interfaces/RatingField/rating-field-item.interface.d.ts +9 -0
- package/dist/src/interfaces/RatingField/rating-field.interface.d.ts +27 -1
- package/dist/src/interfaces/Responsive/responsive.interface.d.ts +5 -0
- package/dist/src/interfaces/Select/select.interface.d.ts +27 -1
- package/dist/src/interfaces/Sheet/sheet-emits.interface.d.ts +11 -1
- package/dist/src/interfaces/Slide/slide-group.interface.d.ts +9 -1
- package/dist/src/interfaces/SliderField/slider-field-track.interface.d.ts +16 -0
- package/dist/src/interfaces/SliderField/slider-field.interface.d.ts +27 -1
- package/dist/src/interfaces/Snackbar/snackbar-group.interface.d.ts +62 -2
- package/dist/src/interfaces/Snackbar/snackbar-item.interface.d.ts +14 -0
- package/dist/src/interfaces/Snackbar/snackbar.interface.d.ts +17 -1
- package/dist/src/interfaces/Stepper/stepper.interface.d.ts +13 -0
- package/dist/src/interfaces/Switch/switch.interface.d.ts +10 -1
- package/dist/src/interfaces/Table/table.interface.d.ts +8 -0
- package/dist/src/interfaces/Tabs/tab-panel.interface.d.ts +4 -0
- package/dist/src/interfaces/Tabs/tab-panels.interface.d.ts +13 -1
- package/dist/src/interfaces/Tabs/tab.interface.d.ts +33 -6
- package/dist/src/interfaces/Tabs/tabs.interface.d.ts +12 -1
- package/dist/src/interfaces/Theme/origam-theme.interface.d.ts +16 -1
- package/dist/src/interfaces/ThemeProvider/theme-provider.interface.d.ts +31 -0
- package/dist/src/interfaces/Timeline/timeline.interface.d.ts +16 -4
- package/dist/src/interfaces/Title/title.interface.d.ts +5 -0
- package/dist/src/interfaces/Toolbar/toolbar.interface.d.ts +15 -0
- package/dist/src/interfaces/Tooltip/tooltip.interface.d.ts +12 -0
- package/dist/src/interfaces/Transition/transition.interface.d.ts +6 -0
- package/dist/src/interfaces/Treeview/treeview.interface.d.ts +8 -0
- package/dist/src/interfaces/Video/video.interface.d.ts +2 -2
- package/dist/src/interfaces/VirtualScroll/virtual-scroll-item.interface.d.ts +11 -0
- package/dist/src/interfaces/VirtualScroll/virtual-scroll.interface.d.ts +39 -0
- package/dist/src/interfaces/Watermark/watermark.interface.d.ts +19 -0
- package/dist/src/interfaces/Window/window-item.interface.d.ts +4 -0
- package/dist/src/interfaces/Window/window.interface.d.ts +31 -1
- package/dist/src/interfaces/index.cjs +55 -0
- package/dist/src/interfaces/index.d.ts +5 -0
- package/dist/src/interfaces/index.js +5 -0
- package/dist/src/origam.cjs +2 -0
- package/dist/src/origam.js +14 -1
- package/dist/src/types/Audio/audio.type.d.ts +37 -0
- package/dist/src/types/Blockquote/blockquote.type.d.ts +43 -0
- package/dist/src/types/BottomNav/bottom-nav.type.d.ts +5 -0
- package/dist/src/types/Bracket/bracket-competitor.type.d.ts +2 -0
- package/dist/src/types/Bracket/bracket-match.type.d.ts +4 -0
- package/dist/src/types/Bracket/{bracket-round-side.type.d.ts → bracket-round.type.d.ts} +4 -1
- package/dist/src/types/Bracket/bracket.type.d.ts +104 -0
- package/dist/src/types/Calendar/calendar.type.d.ts +26 -0
- package/dist/src/types/Chart/chart-axis.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-box-plot.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-bullet.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-candlestick.type.d.ts +2 -0
- package/dist/src/types/Chart/{chart-cartesian-kind.type.d.ts → chart-cartesian.type.d.ts} +4 -1
- package/dist/src/types/Chart/chart-gauge.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-heatmap.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-honeycomb.type.d.ts +5 -0
- package/dist/src/types/Chart/chart-legend.type.d.ts +12 -0
- package/dist/src/types/Chart/{chart-map-mode.type.d.ts → chart-map.type.d.ts} +3 -1
- package/dist/src/types/Chart/chart-pareto.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-pictorial.type.d.ts +4 -0
- package/dist/src/types/Chart/chart-polar-bar.type.d.ts +2 -0
- package/dist/src/types/Chart/{chart-polar-kind.type.d.ts → chart-polar.type.d.ts} +4 -1
- package/dist/src/types/Chart/{chart-pyramid-kind.type.d.ts → chart-pyramid.type.d.ts} +2 -0
- package/dist/src/types/Chart/chart-radar.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-range-selector.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-sankey.type.d.ts +21 -0
- package/dist/src/types/Chart/{chart-sparkline-kind.type.d.ts → chart-sparkline.type.d.ts} +2 -0
- package/dist/src/types/Chart/chart-streamgraph.type.d.ts +4 -0
- package/dist/src/types/Chart/chart-sunburst.type.d.ts +10 -0
- package/dist/src/types/Chart/chart-tooltip.type.d.ts +2 -0
- package/dist/src/types/Chart/{chart-treemap-algorithm.type.d.ts → chart-treemap.type.d.ts} +4 -1
- package/dist/src/types/Chart/chart-variwide.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-word-cloud.type.d.ts +21 -0
- package/dist/src/types/Chart/chart.type.d.ts +56 -0
- package/dist/src/types/ClientOnly/client-only.type.d.ts +2 -0
- package/dist/src/types/Clipboard/clipboard.type.d.ts +2 -0
- package/dist/src/types/Code/code.type.d.ts +24 -0
- package/dist/src/types/ColorPickerField/color-picker-field.type.d.ts +2 -0
- package/dist/src/types/CommandPalette/{command-palette-hotkey.type.d.ts → command-palette.type.d.ts} +2 -0
- package/dist/src/types/Commons/align.type.d.ts +6 -1
- package/dist/src/types/Commons/border.type.d.ts +11 -1
- package/dist/src/types/Commons/color.type.d.ts +2 -1
- package/dist/src/types/Commons/controls.type.d.ts +2 -0
- package/dist/src/types/Commons/css-support.type.d.ts +26 -0
- package/dist/src/types/Commons/font-family.type.d.ts +2 -1
- package/dist/src/types/Commons/font-size.type.d.ts +2 -1
- package/dist/src/types/Commons/font-weight.type.d.ts +2 -1
- package/dist/src/types/Commons/intent.type.d.ts +2 -1
- package/dist/src/types/Commons/letter-spacing.type.d.ts +2 -1
- package/dist/src/types/Commons/line-height.type.d.ts +2 -1
- package/dist/src/types/Commons/loader.type.d.ts +5 -4
- package/dist/src/types/Commons/rounded.type.d.ts +12 -0
- package/dist/src/types/Commons/state-effect.type.d.ts +30 -0
- package/dist/src/types/ConfirmWrapper/confirm-wrapper.type.d.ts +2 -0
- package/dist/src/types/DataList/data-list.type.d.ts +16 -0
- package/dist/src/types/DefaultsProvider/defaults-provider.type.d.ts +2 -0
- package/dist/src/types/EmptyState/empty-state.type.d.ts +46 -0
- package/dist/src/types/FileField/file-field-drag-n-drop-item.type.d.ts +2 -0
- package/dist/src/types/FileField/file-field-list-item.type.d.ts +2 -0
- package/dist/src/types/FileField/file-field.type.d.ts +2 -1
- package/dist/src/types/Grid/grid-item.type.d.ts +9 -0
- package/dist/src/types/Grid/grid.type.d.ts +50 -0
- package/dist/src/types/InlineEdit/inline-edit.type.d.ts +13 -0
- package/dist/src/types/ItemGroup/item-group.type.d.ts +2 -0
- package/dist/src/types/ItemGroup/item.type.d.ts +2 -0
- package/dist/src/types/Kbd/kbd.type.d.ts +2 -1
- package/dist/src/types/Masonry/{masonry-align.type.d.ts → masonry.type.d.ts} +4 -1
- package/dist/src/types/Media/index.cjs +30 -8
- package/dist/src/types/Media/index.d.ts +3 -1
- package/dist/src/types/Media/index.js +3 -1
- package/dist/src/types/Media/media-controller.type.d.ts +2 -0
- package/dist/src/types/Media/media-scrubber.type.d.ts +12 -0
- package/dist/src/types/Media/media-volume-control.type.cjs +1 -0
- package/dist/src/types/Media/media-volume-control.type.d.ts +2 -0
- package/dist/src/types/Media/media-volume-control.type.js +0 -0
- package/dist/src/types/Media/quality-option.type.d.ts +16 -5
- package/dist/src/types/NumberFormat/number-format.type.cjs +1 -0
- package/dist/src/types/NumberFormat/{number-format-format.type.d.ts → number-format.type.d.ts} +10 -7
- package/dist/src/types/NumberFormat/number-format.type.js +0 -0
- package/dist/src/types/Parallax/parallax-layer.type.cjs +1 -0
- package/dist/src/types/Parallax/parallax-layer.type.d.ts +2 -0
- package/dist/src/types/Parallax/parallax-layer.type.js +0 -0
- package/dist/src/types/Parallax/parallax.type.d.ts +3 -0
- package/dist/src/types/PasswordField/password-field.type.d.ts +16 -0
- package/dist/src/types/QrCode/qr-code.type.cjs +1 -0
- package/dist/src/types/QrCode/{qr-code-error-correction.type.d.ts → qr-code.type.d.ts} +4 -1
- package/dist/src/types/QrCode/qr-code.type.js +0 -0
- package/dist/src/types/RichToolbar/rich-toolbar.type.cjs +1 -0
- package/dist/src/types/RichToolbar/rich-toolbar.type.d.ts +5 -0
- package/dist/src/types/RichToolbar/rich-toolbar.type.js +0 -0
- package/dist/src/types/Section/section.type.cjs +1 -0
- package/dist/src/types/Section/section.type.d.ts +2 -0
- package/dist/src/types/Section/section.type.js +0 -0
- package/dist/src/types/Sheet/sheet.type.d.ts +23 -0
- package/dist/src/types/Skeleton/skeleton.type.d.ts +2 -1
- package/dist/src/types/SliderField/slider-field.type.d.ts +10 -0
- package/dist/src/types/Snackbar/snackbar-group.type.d.ts +21 -0
- package/dist/src/types/Snackbar/snackbar-item.type.cjs +1 -0
- package/dist/src/types/Snackbar/snackbar-item.type.d.ts +2 -0
- package/dist/src/types/Snackbar/snackbar-item.type.js +0 -0
- package/dist/src/types/Stepper/stepper.type.d.ts +9 -2
- package/dist/src/types/Tabs/tab.type.d.ts +2 -0
- package/dist/src/types/TextField/text-field.type.d.ts +41 -1
- package/dist/src/types/TextMask/text-mask.type.d.ts +17 -0
- package/dist/src/types/TextareaField/textarea-field.type.d.ts +3 -0
- package/dist/src/types/Theme/theme.type.d.ts +3 -2
- package/dist/src/types/ThemeProvider/theme-provider.type.cjs +1 -0
- package/dist/src/types/ThemeProvider/theme-provider.type.d.ts +2 -0
- package/dist/src/types/ThemeProvider/theme-provider.type.js +0 -0
- package/dist/src/types/Timeline/timeline.type.d.ts +9 -2
- package/dist/src/types/Transition/reverse-translate-picker.type.cjs +1 -0
- package/dist/src/types/Transition/reverse-translate-picker.type.d.ts +2 -0
- package/dist/src/types/Transition/reverse-translate-picker.type.js +0 -0
- package/dist/src/types/Transition/translate-picker.type.cjs +1 -0
- package/dist/src/types/Transition/translate-picker.type.d.ts +2 -0
- package/dist/src/types/Transition/translate-picker.type.js +0 -0
- package/dist/src/types/Treeview/treeview.type.d.ts +3 -2
- package/dist/src/types/Video/video.type.cjs +1 -0
- package/dist/src/types/Video/video.type.d.ts +36 -0
- package/dist/src/types/Video/video.type.js +0 -0
- package/dist/src/types/Watermark/watermark.type.cjs +1 -0
- package/dist/src/types/Watermark/watermark.type.d.ts +2 -0
- package/dist/src/types/Watermark/watermark.type.js +0 -0
- package/dist/src/types/index.cjs +369 -336
- package/dist/src/types/index.d.ts +64 -61
- package/dist/src/types/index.js +64 -61
- package/dist/src/types/tokens.type.d.ts +0 -2
- package/dist/src/utils/Bracket/bracket-surface.util.cjs +26 -0
- package/dist/src/utils/Bracket/bracket-surface.util.d.ts +3 -24
- package/dist/src/utils/Bracket/bracket-surface.util.js +16 -0
- package/dist/src/utils/Calendar/rrule.util.d.ts +2 -10
- package/dist/src/utils/Chart/path.util.d.ts +2 -2
- package/dist/src/utils/CommandPalette/fuzzy-match.util.d.ts +2 -10
- package/dist/src/utils/Commons/border.util.d.ts +14 -8
- package/dist/src/utils/Commons/color.util.cjs +2 -1
- package/dist/src/utils/Commons/color.util.js +2 -1
- package/dist/src/utils/Commons/nested.util.cjs +10 -9
- package/dist/src/utils/Commons/nested.util.js +10 -9
- package/dist/src/utils/Commons/spacing.util.cjs +34 -0
- package/dist/src/utils/Commons/spacing.util.d.ts +55 -0
- package/dist/src/utils/Commons/spacing.util.js +27 -0
- package/dist/src/utils/Mask/apply-mask.util.cjs +8 -7
- package/dist/src/utils/Mask/apply-mask.util.js +8 -7
- package/dist/src/utils/Parallax/parallax-element.util.cjs +4 -3
- package/dist/src/utils/Parallax/parallax-element.util.js +4 -3
- package/dist/src/utils/index.cjs +11 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.js +1 -0
- package/package.json +5 -3
- package/dist/src/consts/Chart/country-centroids.const.cjs +0 -43
- package/dist/src/consts/Chart/country-centroids.const.d.ts +0 -10
- package/dist/src/consts/Chart/country-centroids.const.js +0 -37
- package/dist/src/consts/Chart/world-map.const.cjs +0 -43
- package/dist/src/consts/Chart/world-map.const.d.ts +0 -14
- package/dist/src/consts/Chart/world-map.const.js +0 -37
- package/dist/src/consts/DataTable/expand.const.cjs +0 -7
- package/dist/src/consts/DataTable/expand.const.d.ts +0 -9
- package/dist/src/consts/DataTable/expand.const.js +0 -1
- package/dist/src/consts/DataTable/group.const.cjs +0 -7
- package/dist/src/consts/DataTable/group.const.d.ts +0 -10
- package/dist/src/consts/DataTable/group.const.js +0 -1
- package/dist/src/consts/DataTable/headers.const.cjs +0 -15
- package/dist/src/consts/DataTable/headers.const.d.ts +0 -15
- package/dist/src/consts/DataTable/headers.const.js +0 -3
- package/dist/src/consts/DataTable/pagination.const.cjs +0 -7
- package/dist/src/consts/DataTable/pagination.const.d.ts +0 -13
- package/dist/src/consts/DataTable/pagination.const.js +0 -1
- package/dist/src/consts/DataTable/select.const.d.ts +0 -8
- package/dist/src/consts/DataTable/sort.const.cjs +0 -7
- package/dist/src/consts/DataTable/sort.const.d.ts +0 -7
- package/dist/src/consts/DataTable/sort.const.js +0 -1
- package/dist/src/consts/Mask/built-in-patterns.const.cjs +0 -66
- package/dist/src/consts/Mask/built-in-patterns.const.d.ts +0 -20
- package/dist/src/consts/Mask/built-in-patterns.const.js +0 -60
- package/dist/src/consts/PasswordField/password-requirements.const.cjs +0 -23
- package/dist/src/consts/PasswordField/password-requirements.const.d.ts +0 -18
- package/dist/src/consts/PasswordField/password-requirements.const.js +0 -22
- package/dist/src/consts/Sheet/sheet-swipe.const.cjs +0 -7
- package/dist/src/consts/Sheet/sheet-swipe.const.d.ts +0 -11
- package/dist/src/consts/Sheet/sheet-swipe.const.js +0 -1
- package/dist/src/enums/Audio/audio-loop-mode.enum.cjs +0 -12
- package/dist/src/enums/Audio/audio-loop-mode.enum.d.ts +0 -17
- package/dist/src/enums/Audio/audio-loop-mode.enum.js +0 -6
- package/dist/src/enums/Audio/audio-variant.enum.cjs +0 -13
- package/dist/src/enums/Audio/audio-variant.enum.d.ts +0 -26
- package/dist/src/enums/Audio/audio-variant.enum.js +0 -7
- package/dist/src/enums/Audio/cover-position.enum.cjs +0 -11
- package/dist/src/enums/Audio/cover-position.enum.d.ts +0 -9
- package/dist/src/enums/Audio/cover-position.enum.js +0 -5
- package/dist/src/enums/Blockquote/blockquote-lang.enum.cjs +0 -14
- package/dist/src/enums/Blockquote/blockquote-lang.enum.d.ts +0 -7
- package/dist/src/enums/Blockquote/blockquote-lang.enum.js +0 -8
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.cjs +0 -12
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.js +0 -6
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.d.ts +0 -4
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.js +0 -5
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.d.ts +0 -4
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.js +0 -5
- package/dist/src/enums/Chart/chart-honeycomb-orientation.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.d.ts +0 -4
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.js +0 -5
- package/dist/src/enums/Chart/chart-stacking.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-stacking.enum.d.ts +0 -14
- package/dist/src/enums/Chart/chart-stacking.enum.js +0 -5
- package/dist/src/enums/Code/code-theme.enum.cjs +0 -12
- package/dist/src/enums/Code/code-theme.enum.d.ts +0 -12
- package/dist/src/enums/Code/code-theme.enum.js +0 -6
- package/dist/src/enums/Mask/mask.enum.cjs +0 -28
- package/dist/src/enums/Mask/mask.enum.d.ts +0 -36
- package/dist/src/enums/Mask/mask.enum.js +0 -22
- package/dist/src/enums/Parallax/parallax-direction.enum.cjs +0 -12
- package/dist/src/enums/Parallax/parallax-direction.enum.d.ts +0 -5
- package/dist/src/enums/Parallax/parallax-direction.enum.js +0 -6
- package/dist/src/enums/Parallax/parallax-easing.enum.cjs +0 -12
- package/dist/src/enums/Parallax/parallax-easing.enum.d.ts +0 -5
- package/dist/src/enums/Parallax/parallax-easing.enum.js +0 -6
- package/dist/src/enums/Textarea/textarea-mode.enum.cjs +0 -11
- package/dist/src/enums/Textarea/textarea-mode.enum.d.ts +0 -13
- package/dist/src/enums/Textarea/textarea-mode.enum.js +0 -5
- package/dist/src/enums/Textarea/textarea-output.enum.cjs +0 -11
- package/dist/src/enums/Textarea/textarea-toolbar-position.enum.cjs +0 -12
- package/dist/src/enums/Textarea/textarea-toolbar-position.enum.d.ts +0 -10
- package/dist/src/enums/Textarea/textarea-toolbar-position.enum.js +0 -6
- package/dist/src/types/Audio/audio-controls.type.d.ts +0 -12
- package/dist/src/types/Audio/audio-loop-mode.type.d.ts +0 -5
- package/dist/src/types/Audio/audio-variant.type.d.ts +0 -7
- package/dist/src/types/Audio/cover-position.type.d.ts +0 -6
- package/dist/src/types/Blockquote/blockquote-align.type.d.ts +0 -5
- package/dist/src/types/Blockquote/blockquote-lang.type.d.ts +0 -18
- package/dist/src/types/Blockquote/blockquote-variant.type.d.ts +0 -17
- package/dist/src/types/Bracket/bracket-direction.type.d.ts +0 -13
- package/dist/src/types/Bracket/bracket-match-status.type.d.ts +0 -2
- package/dist/src/types/Bracket/bracket-variant.type.d.ts +0 -2
- package/dist/src/types/Calendar/calendar-time-format.type.d.ts +0 -13
- package/dist/src/types/Calendar/calendar-view.type.d.ts +0 -10
- package/dist/src/types/Chart/chart-bullet-orientation.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-honeycomb-color-mode.type.d.ts +0 -2
- package/dist/src/types/Chart/chart-honeycomb-orientation.type.d.ts +0 -2
- package/dist/src/types/Chart/chart-item.type.d.ts +0 -9
- package/dist/src/types/Chart/chart-legend-position.type.d.ts +0 -6
- package/dist/src/types/Chart/chart-pictorial-direction.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-pictorial-mode.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-smoothing.type.d.ts +0 -17
- package/dist/src/types/Chart/chart-stacking.type.d.ts +0 -9
- package/dist/src/types/Chart/chart-streamgraph-offset.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-type.type.d.ts +0 -7
- package/dist/src/types/Chart/chart-word-cloud-rotation.type.d.ts +0 -8
- package/dist/src/types/Code/code-lang.type.d.ts +0 -2
- package/dist/src/types/Code/code-theme.type.d.ts +0 -2
- package/dist/src/types/EmptyState/empty-state-align.type.d.ts +0 -10
- package/dist/src/types/EmptyState/empty-state-preset.type.d.ts +0 -14
- package/dist/src/types/EmptyState/empty-state-size.type.d.ts +0 -9
- package/dist/src/types/Grid/grid-align.type.d.ts +0 -28
- package/dist/src/types/Grid/grid-flow.type.d.ts +0 -10
- package/dist/src/types/InlineEdit/inline-edit-input-type.type.d.ts +0 -7
- package/dist/src/types/Mask/built-in-pattern.type.d.ts +0 -7
- package/dist/src/types/Mask/mask.type.d.ts +0 -19
- package/dist/src/types/Mask/pattern-validator.type.d.ts +0 -16
- package/dist/src/types/Media/media-scrubber-orientation.type.d.ts +0 -6
- package/dist/src/types/Parallax/parallax-direction.type.d.ts +0 -2
- package/dist/src/types/Parallax/parallax-easing.type.d.ts +0 -2
- package/dist/src/types/PasswordField/password-strength.type.d.ts +0 -15
- package/dist/src/types/Sheet/sheet-snap-point.type.d.ts +0 -22
- package/dist/src/types/SliderField/slider-field-variant.type.d.ts +0 -10
- package/dist/src/types/Snackbar/snackbar-group-direction.type.d.ts +0 -11
- package/dist/src/types/Snackbar/snackbar-group-location.type.d.ts +0 -9
- package/dist/src/types/Tabs/tab-variant.type.d.ts +0 -2
- package/dist/src/types/TextMask/text-mask-animation.type.d.ts +0 -16
- package/dist/src/types/Textarea/textarea-mode.type.d.ts +0 -2
- package/dist/src/types/Textarea/textarea-output.type.d.ts +0 -2
- package/dist/src/types/Textarea/textarea-toolbar-command.type.d.ts +0 -2
- package/dist/src/types/Textarea/textarea-toolbar-position.type.d.ts +0 -2
- package/dist/src/types/Video/video-controls.type.d.ts +0 -17
- package/dist/src/types/Video/video-track-kind.type.d.ts +0 -11
- /package/dist/src/consts/Chart/{pictorial-icons.const.cjs → chart-pictorial.const.cjs} +0 -0
- /package/dist/src/consts/Chart/{pictorial-icons.const.d.ts → chart-pictorial.const.d.ts} +0 -0
- /package/dist/src/consts/Chart/{pictorial-icons.const.js → chart-pictorial.const.js} +0 -0
- /package/dist/src/consts/{Icon → Commons}/mdi.const.cjs +0 -0
- /package/dist/src/consts/{Icon → Commons}/mdi.const.d.ts +0 -0
- /package/dist/src/consts/{Icon → Commons}/mdi.const.js +0 -0
- /package/dist/src/consts/Parallax/{parallax-container.const.cjs → parallax.const.cjs} +0 -0
- /package/dist/src/consts/Parallax/{parallax-container.const.d.ts → parallax.const.d.ts} +0 -0
- /package/dist/src/consts/Parallax/{parallax-container.const.js → parallax.const.js} +0 -0
- /package/dist/src/consts/{Textarea/textarea.const.cjs → TextareaField/textarea-field.const.cjs} +0 -0
- /package/dist/src/consts/{Textarea/textarea.const.d.ts → TextareaField/textarea-field.const.d.ts} +0 -0
- /package/dist/src/consts/{Textarea/textarea.const.js → TextareaField/textarea-field.const.js} +0 -0
- /package/dist/src/enums/Bracket/{bracket-match-status.enum.cjs → bracket-match.enum.cjs} +0 -0
- /package/dist/src/enums/Bracket/{bracket-match-status.enum.d.ts → bracket-match.enum.d.ts} +0 -0
- /package/dist/src/enums/Bracket/{bracket-match-status.enum.js → bracket-match.enum.js} +0 -0
- /package/dist/src/enums/Bracket/{bracket-variant.enum.cjs → bracket.enum.cjs} +0 -0
- /package/dist/src/enums/Bracket/{bracket-variant.enum.d.ts → bracket.enum.d.ts} +0 -0
- /package/dist/src/enums/Bracket/{bracket-variant.enum.js → bracket.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.cjs → chart-cartesian.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.d.ts → chart-cartesian.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.js → chart-cartesian.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-map-mode.enum.cjs → chart-map.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-map-mode.enum.d.ts → chart-map.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-map-mode.enum.js → chart-map.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.cjs → chart-pictorial.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.d.ts → chart-pictorial.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.js → chart-pictorial.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-polar-kind.enum.cjs → chart-polar.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-polar-kind.enum.d.ts → chart-polar.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-polar-kind.enum.js → chart-polar.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.cjs → chart-pyramid.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.d.ts → chart-pyramid.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.js → chart-pyramid.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.cjs → chart-sparkline.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.d.ts → chart-sparkline.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.js → chart-sparkline.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.cjs → chart-streamgraph.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.d.ts → chart-streamgraph.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.js → chart-streamgraph.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.cjs → chart-treemap.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.d.ts → chart-treemap.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.js → chart-treemap.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.cjs → chart-word-cloud.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.d.ts → chart-word-cloud.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.js → chart-word-cloud.enum.js} +0 -0
- /package/dist/src/enums/{Icon → Commons}/mdi.enum.cjs +0 -0
- /package/dist/src/enums/{Icon → Commons}/mdi.enum.d.ts +0 -0
- /package/dist/src/enums/{Icon → Commons}/mdi.enum.js +0 -0
- /package/dist/src/enums/EmptyState/{empty-state-preset.enum.cjs → empty-state.enum.cjs} +0 -0
- /package/dist/src/enums/EmptyState/{empty-state-preset.enum.d.ts → empty-state.enum.d.ts} +0 -0
- /package/dist/src/enums/EmptyState/{empty-state-preset.enum.js → empty-state.enum.js} +0 -0
- /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.cjs → inline-edit.enum.cjs} +0 -0
- /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.d.ts → inline-edit.enum.d.ts} +0 -0
- /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.js → inline-edit.enum.js} +0 -0
- /package/dist/src/enums/SliderField/{slider-field-variant.enum.cjs → slider-field.enum.cjs} +0 -0
- /package/dist/src/enums/SliderField/{slider-field-variant.enum.d.ts → slider-field.enum.d.ts} +0 -0
- /package/dist/src/enums/SliderField/{slider-field-variant.enum.js → slider-field.enum.js} +0 -0
- /package/dist/src/enums/Tabs/{tab-variant.enum.cjs → tab.enum.cjs} +0 -0
- /package/dist/src/enums/Tabs/{tab-variant.enum.d.ts → tab.enum.d.ts} +0 -0
- /package/dist/src/enums/Tabs/{tab-variant.enum.js → tab.enum.js} +0 -0
- /package/dist/src/{types/Audio/audio-controls.type.cjs → interfaces/Bracket/bracket-surface.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/audio-controls.type.js → interfaces/Bracket/bracket-surface.interface.js} +0 -0
- /package/dist/src/{types/Audio/audio-loop-mode.type.cjs → interfaces/Calendar/calendar-drag.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/audio-loop-mode.type.js → interfaces/Calendar/calendar-drag.interface.js} +0 -0
- /package/dist/src/{types/Audio/audio-variant.type.cjs → interfaces/Calendar/rrule.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/audio-variant.type.js → interfaces/Calendar/rrule.interface.js} +0 -0
- /package/dist/src/{types/Audio/cover-position.type.cjs → interfaces/ClientOnly/client-only.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/cover-position.type.js → interfaces/ClientOnly/client-only.interface.js} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-align.type.cjs → interfaces/CommandPalette/command-palette-rendered-group.interface.cjs} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-align.type.js → interfaces/CommandPalette/command-palette-rendered-group.interface.js} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-lang.type.cjs → interfaces/CssSupport/css-support.interface.cjs} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-lang.type.js → interfaces/CssSupport/css-support.interface.js} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-variant.type.cjs → interfaces/Media/media-config-menu-item.interface.cjs} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-variant.type.js → interfaces/Media/media-config-menu-item.interface.js} +0 -0
- /package/dist/src/{types/Bracket/bracket-direction.type.cjs → interfaces/ThemeProvider/theme-provider.interface.cjs} +0 -0
- /package/dist/src/{types/Bracket/bracket-direction.type.js → interfaces/ThemeProvider/theme-provider.interface.js} +0 -0
- /package/dist/src/types/{Bracket/bracket-match-status.type.cjs → Audio/audio.type.cjs} +0 -0
- /package/dist/src/types/{Bracket/bracket-match-status.type.js → Audio/audio.type.js} +0 -0
- /package/dist/src/types/{Bracket/bracket-round-side.type.cjs → Blockquote/blockquote.type.cjs} +0 -0
- /package/dist/src/types/{Bracket/bracket-round-side.type.js → Blockquote/blockquote.type.js} +0 -0
- /package/dist/src/types/Bracket/{bracket-variant.type.cjs → bracket-competitor.type.cjs} +0 -0
- /package/dist/src/types/Bracket/{bracket-variant.type.js → bracket-competitor.type.js} +0 -0
- /package/dist/src/types/{Calendar/calendar-time-format.type.cjs → Bracket/bracket-match.type.cjs} +0 -0
- /package/dist/src/types/{Calendar/calendar-time-format.type.js → Bracket/bracket-match.type.js} +0 -0
- /package/dist/src/types/{Calendar/calendar-view.type.cjs → Bracket/bracket-round.type.cjs} +0 -0
- /package/dist/src/types/{Calendar/calendar-view.type.js → Bracket/bracket-round.type.js} +0 -0
- /package/dist/src/types/{Chart/chart-bullet-orientation.type.cjs → Bracket/bracket.type.cjs} +0 -0
- /package/dist/src/types/{Chart/chart-bullet-orientation.type.js → Bracket/bracket.type.js} +0 -0
- /package/dist/src/types/{Chart/chart-cartesian-kind.type.cjs → Calendar/calendar.type.cjs} +0 -0
- /package/dist/src/types/{Chart/chart-cartesian-kind.type.js → Calendar/calendar.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-color-mode.type.cjs → chart-axis.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-color-mode.type.js → chart-axis.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-orientation.type.cjs → chart-box-plot.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-orientation.type.js → chart-box-plot.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-item.type.cjs → chart-bullet.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-item.type.js → chart-bullet.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-legend-position.type.cjs → chart-candlestick.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-legend-position.type.js → chart-candlestick.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-map-mode.type.cjs → chart-cartesian.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-map-mode.type.js → chart-cartesian.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-direction.type.cjs → chart-gauge.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-direction.type.js → chart-gauge.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-mode.type.cjs → chart-heatmap.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-mode.type.js → chart-heatmap.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-polar-kind.type.cjs → chart-honeycomb.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-polar-kind.type.js → chart-honeycomb.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-pyramid-kind.type.cjs → chart-legend.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-pyramid-kind.type.js → chart-legend.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-smoothing.type.cjs → chart-map.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-smoothing.type.js → chart-map.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-sparkline-kind.type.cjs → chart-pareto.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-sparkline-kind.type.js → chart-pareto.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-stacking.type.cjs → chart-pictorial.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-stacking.type.js → chart-pictorial.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-streamgraph-offset.type.cjs → chart-polar-bar.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-streamgraph-offset.type.js → chart-polar-bar.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-treemap-algorithm.type.cjs → chart-polar.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-treemap-algorithm.type.js → chart-polar.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-type.type.cjs → chart-pyramid.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-type.type.js → chart-pyramid.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-word-cloud-rotation.type.cjs → chart-radar.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-word-cloud-rotation.type.js → chart-radar.type.js} +0 -0
- /package/dist/src/types/{Code/code-lang.type.cjs → Chart/chart-range-selector.type.cjs} +0 -0
- /package/dist/src/types/{Code/code-lang.type.js → Chart/chart-range-selector.type.js} +0 -0
- /package/dist/src/types/{Code/code-theme.type.cjs → Chart/chart-sankey.type.cjs} +0 -0
- /package/dist/src/types/{Code/code-theme.type.js → Chart/chart-sankey.type.js} +0 -0
- /package/dist/src/types/{CommandPalette/command-palette-hotkey.type.cjs → Chart/chart-sparkline.type.cjs} +0 -0
- /package/dist/src/types/{CommandPalette/command-palette-hotkey.type.js → Chart/chart-sparkline.type.js} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-align.type.cjs → Chart/chart-streamgraph.type.cjs} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-align.type.js → Chart/chart-streamgraph.type.js} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-preset.type.cjs → Chart/chart-sunburst.type.cjs} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-preset.type.js → Chart/chart-sunburst.type.js} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-size.type.cjs → Chart/chart-tooltip.type.cjs} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-size.type.js → Chart/chart-tooltip.type.js} +0 -0
- /package/dist/src/types/{Grid/grid-align.type.cjs → Chart/chart-treemap.type.cjs} +0 -0
- /package/dist/src/types/{Grid/grid-align.type.js → Chart/chart-treemap.type.js} +0 -0
- /package/dist/src/types/{Grid/grid-flow.type.cjs → Chart/chart-variwide.type.cjs} +0 -0
- /package/dist/src/types/{Grid/grid-flow.type.js → Chart/chart-variwide.type.js} +0 -0
- /package/dist/src/types/{InlineEdit/inline-edit-input-type.type.cjs → Chart/chart-word-cloud.type.cjs} +0 -0
- /package/dist/src/types/{InlineEdit/inline-edit-input-type.type.js → Chart/chart-word-cloud.type.js} +0 -0
- /package/dist/src/types/{Mask/built-in-pattern.type.cjs → Chart/chart.type.cjs} +0 -0
- /package/dist/src/types/{Mask/built-in-pattern.type.js → Chart/chart.type.js} +0 -0
- /package/dist/src/types/{Mask/mask.type.cjs → ClientOnly/client-only.type.cjs} +0 -0
- /package/dist/src/types/{Mask/mask.type.js → ClientOnly/client-only.type.js} +0 -0
- /package/dist/src/types/{Mask/pattern-validator.type.cjs → Clipboard/clipboard.type.cjs} +0 -0
- /package/dist/src/types/{Mask/pattern-validator.type.js → Clipboard/clipboard.type.js} +0 -0
- /package/dist/src/types/{Masonry/masonry-align.type.cjs → Code/code.type.cjs} +0 -0
- /package/dist/src/types/{Masonry/masonry-align.type.js → Code/code.type.js} +0 -0
- /package/dist/src/types/{Media/media-scrubber-orientation.type.cjs → ColorPickerField/color-picker-field.type.cjs} +0 -0
- /package/dist/src/types/{Media/media-scrubber-orientation.type.js → ColorPickerField/color-picker-field.type.js} +0 -0
- /package/dist/src/types/{NumberFormat/number-format-format.type.cjs → CommandPalette/command-palette.type.cjs} +0 -0
- /package/dist/src/types/{NumberFormat/number-format-format.type.js → CommandPalette/command-palette.type.js} +0 -0
- /package/dist/src/types/{Parallax/parallax-direction.type.cjs → Commons/controls.type.cjs} +0 -0
- /package/dist/src/types/{Parallax/parallax-direction.type.js → Commons/controls.type.js} +0 -0
- /package/dist/src/types/{Parallax/parallax-easing.type.cjs → Commons/css-support.type.cjs} +0 -0
- /package/dist/src/types/{Parallax/parallax-easing.type.js → Commons/css-support.type.js} +0 -0
- /package/dist/src/types/{PasswordField/password-strength.type.cjs → Commons/state-effect.type.cjs} +0 -0
- /package/dist/src/types/{PasswordField/password-strength.type.js → Commons/state-effect.type.js} +0 -0
- /package/dist/src/types/{QrCode/qr-code-error-correction.type.cjs → ConfirmWrapper/confirm-wrapper.type.cjs} +0 -0
- /package/dist/src/types/{QrCode/qr-code-error-correction.type.js → ConfirmWrapper/confirm-wrapper.type.js} +0 -0
- /package/dist/src/types/{Sheet/sheet-snap-point.type.cjs → DefaultsProvider/defaults-provider.type.cjs} +0 -0
- /package/dist/src/types/{Sheet/sheet-snap-point.type.js → DefaultsProvider/defaults-provider.type.js} +0 -0
- /package/dist/src/types/{SliderField/slider-field-variant.type.cjs → EmptyState/empty-state.type.cjs} +0 -0
- /package/dist/src/types/{SliderField/slider-field-variant.type.js → EmptyState/empty-state.type.js} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-direction.type.cjs → FileField/file-field-drag-n-drop-item.type.cjs} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-direction.type.js → FileField/file-field-drag-n-drop-item.type.js} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-location.type.cjs → FileField/file-field-list-item.type.cjs} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-location.type.js → FileField/file-field-list-item.type.js} +0 -0
- /package/dist/src/types/{Tabs/tab-variant.type.cjs → Grid/grid-item.type.cjs} +0 -0
- /package/dist/src/types/{Tabs/tab-variant.type.js → Grid/grid-item.type.js} +0 -0
- /package/dist/src/types/{TextMask/text-mask-animation.type.cjs → Grid/grid.type.cjs} +0 -0
- /package/dist/src/types/{TextMask/text-mask-animation.type.js → Grid/grid.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-mode.type.cjs → InlineEdit/inline-edit.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-mode.type.js → InlineEdit/inline-edit.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-output.type.cjs → ItemGroup/item-group.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-output.type.js → ItemGroup/item-group.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-command.type.cjs → ItemGroup/item.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-command.type.js → ItemGroup/item.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-position.type.cjs → Masonry/masonry.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-position.type.js → Masonry/masonry.type.js} +0 -0
- /package/dist/src/types/{Video/video-controls.type.cjs → Media/media-controller.type.cjs} +0 -0
- /package/dist/src/types/{Video/video-controls.type.js → Media/media-controller.type.js} +0 -0
- /package/dist/src/types/{Video/video-track-kind.type.cjs → Media/media-scrubber.type.cjs} +0 -0
- /package/dist/src/types/{Video/video-track-kind.type.js → Media/media-scrubber.type.js} +0 -0
|
@@ -47,20 +47,22 @@
|
|
|
47
47
|
<origam-list-item
|
|
48
48
|
v-if="!hasChilds(item)"
|
|
49
49
|
class="origam-menu__item"
|
|
50
|
-
v-bind="item"
|
|
50
|
+
v-bind="menuItemProps(item)"
|
|
51
|
+
@click="handleSelect(item)"
|
|
51
52
|
/>
|
|
52
53
|
<origam-menu
|
|
53
54
|
v-else
|
|
55
|
+
v-bind="{...menuItemProps(item), ...overlayProps}"
|
|
56
|
+
:items="childItems(item)"
|
|
54
57
|
:offset="[8,8]"
|
|
55
58
|
:open-on-context-menu="false"
|
|
56
59
|
open-on-click
|
|
57
|
-
v-bind="{...item, ...overlayProps}"
|
|
58
60
|
>
|
|
59
61
|
<template #activator="{props}">
|
|
60
62
|
<origam-list-item
|
|
61
63
|
:append-icon="MDI_ICONS.CHEVRON_RIGHT"
|
|
62
64
|
class="origam-menu__item"
|
|
63
|
-
v-bind="{...props, ...item}"
|
|
65
|
+
v-bind="{...props, ...menuItemProps(item)}"
|
|
64
66
|
/>
|
|
65
67
|
</template>
|
|
66
68
|
</origam-menu>
|
|
@@ -94,7 +96,7 @@ import {
|
|
|
94
96
|
} from "../../composables";
|
|
95
97
|
import { ORIGAM_MENU_KEY } from "../../consts";
|
|
96
98
|
import { INLINE, KEYBOARD_VALUES, LOCATION_STRATEGIES, MDI_ICONS, SCROLL_STRATEGIES } from "../../enums";
|
|
97
|
-
import { focusableChildren, focusChild, forwardRefs, getNextElement, getUid } from "../../utils";
|
|
99
|
+
import { focusableChildren, focusChild, forwardRefs, getNextElement, getPropertyFromItem, getUid, omit } from "../../utils";
|
|
98
100
|
const _props = defineProps({
|
|
99
101
|
id: { type: String, required: false },
|
|
100
102
|
absolute: { type: Boolean, required: false },
|
|
@@ -173,7 +175,7 @@ const _props = defineProps({
|
|
|
173
175
|
items: { type: Array, required: false },
|
|
174
176
|
itemTitle: { type: null, required: false },
|
|
175
177
|
itemValue: { type: null, required: false },
|
|
176
|
-
itemChildren: { type: null, required: false },
|
|
178
|
+
itemChildren: { type: null, required: false, default: "children" },
|
|
177
179
|
itemProps: { type: null, required: false },
|
|
178
180
|
returnObject: { type: Boolean, required: false },
|
|
179
181
|
valueComparator: { type: null, required: false },
|
|
@@ -208,14 +210,15 @@ const _props = defineProps({
|
|
|
208
210
|
prependAvatar: { type: String, required: false },
|
|
209
211
|
prependIcon: { type: null, required: false },
|
|
210
212
|
hover: { type: [Boolean, Object], required: false },
|
|
211
|
-
fontFamily: { type:
|
|
212
|
-
fontSize: { type:
|
|
213
|
-
fontWeight: { type:
|
|
214
|
-
lineHeight: { type:
|
|
215
|
-
letterSpacing: { type:
|
|
213
|
+
fontFamily: { type: null, required: false },
|
|
214
|
+
fontSize: { type: null, required: false },
|
|
215
|
+
fontWeight: { type: null, required: false },
|
|
216
|
+
lineHeight: { type: null, required: false },
|
|
217
|
+
letterSpacing: { type: null, required: false }
|
|
216
218
|
});
|
|
217
219
|
const props = useDefaults(_props);
|
|
218
|
-
defineEmits(["contextmenu", "update:modelValue"]);
|
|
220
|
+
const emit = defineEmits(["contextmenu", "select", "update:modelValue"]);
|
|
221
|
+
defineSlots();
|
|
219
222
|
const { filterProps } = useProps(props);
|
|
220
223
|
const { colorClasses, colorStyles } = useBothColor(toRef(props, "bgColor"), toRef(props, "color"));
|
|
221
224
|
const {
|
|
@@ -277,6 +280,10 @@ watch(isActive, (val) => {
|
|
|
277
280
|
const handleClickOutside = () => {
|
|
278
281
|
parent?.closeParents();
|
|
279
282
|
};
|
|
283
|
+
const handleSelect = (item) => {
|
|
284
|
+
if (props.disabled) return;
|
|
285
|
+
emit("select", item);
|
|
286
|
+
};
|
|
280
287
|
const handleKeydown = (e) => {
|
|
281
288
|
if (props.disabled) return;
|
|
282
289
|
if (e.key === KEYBOARD_VALUES.TAB) {
|
|
@@ -320,8 +327,15 @@ const activatorProps = computed(() => {
|
|
|
320
327
|
const overlayProps = computed(() => {
|
|
321
328
|
return origamOverlayRef.value?.filterProps(props, ["activatorProps", "id", "class", "style", "role", "modelValue", "absolute", "activator", "target", "openOnClick", "openOnContextMenu"]);
|
|
322
329
|
});
|
|
330
|
+
const childItems = (item) => {
|
|
331
|
+
const children = getPropertyFromItem(item, props.itemChildren);
|
|
332
|
+
return Array.isArray(children) ? children : [];
|
|
333
|
+
};
|
|
323
334
|
const hasChilds = (item) => {
|
|
324
|
-
return item
|
|
335
|
+
return childItems(item).length > 0;
|
|
336
|
+
};
|
|
337
|
+
const menuItemProps = (item) => {
|
|
338
|
+
return typeof props.itemChildren === "string" ? omit(item, [props.itemChildren]) : item;
|
|
325
339
|
};
|
|
326
340
|
const menuStyles = computed(() => {
|
|
327
341
|
return [
|
|
@@ -94,11 +94,11 @@ const _props = defineProps({
|
|
|
94
94
|
roundedBottomRight: { type: [Boolean, Number, String], required: false },
|
|
95
95
|
density: { type: null, required: false, default: DENSITY.DEFAULT },
|
|
96
96
|
elevation: { type: [Number, String], required: false },
|
|
97
|
-
fontFamily: { type:
|
|
98
|
-
fontSize: { type:
|
|
99
|
-
fontWeight: { type:
|
|
100
|
-
lineHeight: { type:
|
|
101
|
-
letterSpacing: { type:
|
|
97
|
+
fontFamily: { type: null, required: false },
|
|
98
|
+
fontSize: { type: null, required: false },
|
|
99
|
+
fontWeight: { type: null, required: false },
|
|
100
|
+
lineHeight: { type: null, required: false },
|
|
101
|
+
letterSpacing: { type: null, required: false }
|
|
102
102
|
});
|
|
103
103
|
const props = useDefaults(_props);
|
|
104
104
|
defineSlots();
|
|
@@ -358,11 +358,11 @@ const _props = defineProps({
|
|
|
358
358
|
roundedTopLeft: { type: [Boolean, Number, String], required: false },
|
|
359
359
|
roundedBottomLeft: { type: [Boolean, Number, String], required: false },
|
|
360
360
|
roundedBottomRight: { type: [Boolean, Number, String], required: false },
|
|
361
|
-
fontFamily: { type:
|
|
362
|
-
fontSize: { type:
|
|
363
|
-
fontWeight: { type:
|
|
364
|
-
lineHeight: { type:
|
|
365
|
-
letterSpacing: { type:
|
|
361
|
+
fontFamily: { type: null, required: false },
|
|
362
|
+
fontSize: { type: null, required: false },
|
|
363
|
+
fontWeight: { type: null, required: false },
|
|
364
|
+
lineHeight: { type: null, required: false },
|
|
365
|
+
letterSpacing: { type: null, required: false },
|
|
366
366
|
active: { type: [Boolean, Object], required: false },
|
|
367
367
|
activeClass: { type: String, required: false },
|
|
368
368
|
variant: { type: null, required: false },
|
|
@@ -22,25 +22,26 @@ import {
|
|
|
22
22
|
import { useNumberFormat } from "../../composables";
|
|
23
23
|
const props = defineProps({
|
|
24
24
|
value: { type: [Number, String], required: true },
|
|
25
|
-
format: { type:
|
|
25
|
+
format: { type: null, required: false, default: "decimal" },
|
|
26
26
|
locale: { type: [String, Array], required: false, default: "auto" },
|
|
27
27
|
currency: { type: String, required: false, default: void 0 },
|
|
28
|
-
currencyDisplay: { type:
|
|
28
|
+
currencyDisplay: { type: null, required: false, default: "symbol" },
|
|
29
29
|
unit: { type: String, required: false, default: void 0 },
|
|
30
|
-
unitDisplay: { type:
|
|
31
|
-
notation: { type:
|
|
32
|
-
compactDisplay: { type:
|
|
30
|
+
unitDisplay: { type: null, required: false, default: "short" },
|
|
31
|
+
notation: { type: null, required: false, default: void 0 },
|
|
32
|
+
compactDisplay: { type: null, required: false, default: "short" },
|
|
33
33
|
minimumFractionDigits: { type: Number, required: false, default: void 0 },
|
|
34
34
|
maximumFractionDigits: { type: Number, required: false, default: void 0 },
|
|
35
35
|
minimumSignificantDigits: { type: Number, required: false, default: void 0 },
|
|
36
36
|
maximumSignificantDigits: { type: Number, required: false, default: void 0 },
|
|
37
|
-
useGrouping: { type:
|
|
38
|
-
signDisplay: { type:
|
|
37
|
+
useGrouping: { type: Boolean, required: false, skipCheck: true, default: true },
|
|
38
|
+
signDisplay: { type: null, required: false, default: "auto" },
|
|
39
39
|
id: { type: String, required: false },
|
|
40
40
|
class: { type: [String, Array, Object], required: false },
|
|
41
41
|
style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true },
|
|
42
42
|
tag: { type: String, required: false, default: "span" }
|
|
43
43
|
});
|
|
44
|
+
defineSlots();
|
|
44
45
|
const resolvedOptions = computed(() => ({
|
|
45
46
|
format: props.format,
|
|
46
47
|
locale: props.locale,
|
|
@@ -223,11 +223,11 @@ const props = defineProps({
|
|
|
223
223
|
roundedTopLeft: { type: [Boolean, Number, String], required: false },
|
|
224
224
|
roundedBottomLeft: { type: [Boolean, Number, String], required: false },
|
|
225
225
|
roundedBottomRight: { type: [Boolean, Number, String], required: false },
|
|
226
|
-
fontFamily: { type:
|
|
227
|
-
fontSize: { type:
|
|
228
|
-
fontWeight: { type:
|
|
229
|
-
lineHeight: { type:
|
|
230
|
-
letterSpacing: { type:
|
|
226
|
+
fontFamily: { type: null, required: false },
|
|
227
|
+
fontSize: { type: null, required: false },
|
|
228
|
+
fontWeight: { type: null, required: false },
|
|
229
|
+
lineHeight: { type: null, required: false },
|
|
230
|
+
letterSpacing: { type: null, required: false },
|
|
231
231
|
active: { type: [Boolean, Object], required: false },
|
|
232
232
|
activeClass: { type: String, required: false },
|
|
233
233
|
variant: { type: null, required: false },
|
|
@@ -115,6 +115,7 @@ const props = defineProps({
|
|
|
115
115
|
scrim: { type: [Boolean, String], required: false, default: true }
|
|
116
116
|
});
|
|
117
117
|
const emits = defineEmits(["afterEnter", "afterLeave", "keydown", "update:modelValue", "click:outside"]);
|
|
118
|
+
defineSlots();
|
|
118
119
|
const { filterProps } = useProps(props);
|
|
119
120
|
const model = useVModel(props, "modelValue");
|
|
120
121
|
const isActive = computed({
|
|
@@ -177,7 +177,22 @@
|
|
|
177
177
|
<script lang="ts" setup>
|
|
178
178
|
import { ComponentPublicInstance, computed, nextTick, ref, shallowRef, StyleValue } from "vue";
|
|
179
179
|
import { OrigamBtn } from "../../components";
|
|
180
|
-
import {
|
|
180
|
+
import {
|
|
181
|
+
useBorder,
|
|
182
|
+
useDensity,
|
|
183
|
+
useDisplay,
|
|
184
|
+
useElevation,
|
|
185
|
+
useLocale,
|
|
186
|
+
useMargin,
|
|
187
|
+
usePadding,
|
|
188
|
+
useProps,
|
|
189
|
+
useRefs,
|
|
190
|
+
useResizeObserver,
|
|
191
|
+
useSize,
|
|
192
|
+
useStyle,
|
|
193
|
+
useTypography,
|
|
194
|
+
useVModel
|
|
195
|
+
} from "../../composables";
|
|
181
196
|
import { KEYBOARD_VALUES, MDI_ICONS, VARIANT } from "../../enums";
|
|
182
197
|
import { createRange, int } from "../../utils";
|
|
183
198
|
const props = defineProps({
|
|
@@ -249,13 +264,14 @@ const props = defineProps({
|
|
|
249
264
|
elevation: { type: [Number, String], required: false },
|
|
250
265
|
size: { type: null, required: false },
|
|
251
266
|
density: { type: null, required: false },
|
|
252
|
-
fontFamily: { type:
|
|
253
|
-
fontSize: { type:
|
|
254
|
-
fontWeight: { type:
|
|
255
|
-
lineHeight: { type:
|
|
256
|
-
letterSpacing: { type:
|
|
267
|
+
fontFamily: { type: null, required: false },
|
|
268
|
+
fontSize: { type: null, required: false },
|
|
269
|
+
fontWeight: { type: null, required: false },
|
|
270
|
+
lineHeight: { type: null, required: false },
|
|
271
|
+
letterSpacing: { type: null, required: false }
|
|
257
272
|
});
|
|
258
273
|
const emits = defineEmits(["first", "prev", "next", "last", "update:modelValue"]);
|
|
274
|
+
defineSlots();
|
|
259
275
|
const { filterProps } = useProps(props);
|
|
260
276
|
const { t } = useLocale();
|
|
261
277
|
const page = useVModel(props, "modelValue", props.start);
|
|
@@ -508,6 +524,10 @@ const isColored = computed(() => !!(props.color || props.bgColor));
|
|
|
508
524
|
const { sizeClasses } = useSize(props);
|
|
509
525
|
const { densityClasses } = useDensity(props);
|
|
510
526
|
const { typographyStyles } = useTypography(props, "pagination--info");
|
|
527
|
+
const { paddingClasses, paddingStyles } = usePadding(props);
|
|
528
|
+
const { marginClasses, marginStyles } = useMargin(props);
|
|
529
|
+
const { borderClasses, borderStyles } = useBorder(props);
|
|
530
|
+
const { elevationClasses, elevationStyles } = useElevation(props);
|
|
511
531
|
const paginationClasses = computed(() => {
|
|
512
532
|
return [
|
|
513
533
|
"origam-pagination",
|
|
@@ -518,11 +538,19 @@ const paginationClasses = computed(() => {
|
|
|
518
538
|
},
|
|
519
539
|
sizeClasses.value,
|
|
520
540
|
densityClasses.value,
|
|
541
|
+
borderClasses.value,
|
|
542
|
+
elevationClasses.value,
|
|
543
|
+
paddingClasses.value,
|
|
544
|
+
marginClasses.value,
|
|
521
545
|
props.class
|
|
522
546
|
];
|
|
523
547
|
});
|
|
524
548
|
const paginationStyles = computed(() => {
|
|
525
549
|
return [
|
|
550
|
+
borderStyles.value,
|
|
551
|
+
elevationStyles.value,
|
|
552
|
+
marginStyles.value,
|
|
553
|
+
paddingStyles.value,
|
|
526
554
|
props.style
|
|
527
555
|
];
|
|
528
556
|
});
|
|
@@ -115,7 +115,7 @@ const props = defineProps({
|
|
|
115
115
|
currentTrackIndex: { type: Number, required: false },
|
|
116
116
|
preload: { type: String, required: false },
|
|
117
117
|
crossorigin: { type: String, required: false },
|
|
118
|
-
controls: { type:
|
|
118
|
+
controls: { type: null, required: false },
|
|
119
119
|
playbackRates: { type: Array, required: false },
|
|
120
120
|
playbackRate: { type: Number, required: false },
|
|
121
121
|
allowRemotePlayback: { type: Boolean, required: false },
|
|
@@ -126,16 +126,17 @@ const props = defineProps({
|
|
|
126
126
|
bottom: { type: [Number, String], required: false },
|
|
127
127
|
left: { type: [Number, String], required: false },
|
|
128
128
|
right: { type: [Number, String], required: false },
|
|
129
|
-
fontFamily: { type:
|
|
130
|
-
fontSize: { type:
|
|
131
|
-
fontWeight: { type:
|
|
132
|
-
lineHeight: { type:
|
|
133
|
-
letterSpacing: { type:
|
|
129
|
+
fontFamily: { type: null, required: false },
|
|
130
|
+
fontSize: { type: null, required: false },
|
|
131
|
+
fontWeight: { type: null, required: false },
|
|
132
|
+
lineHeight: { type: null, required: false },
|
|
133
|
+
letterSpacing: { type: null, required: false },
|
|
134
134
|
audio: { type: String, required: false },
|
|
135
135
|
playAudio: { type: Boolean, required: false }
|
|
136
136
|
});
|
|
137
137
|
const emit = defineEmits(["enter", "leave", "scroll-progress"]);
|
|
138
138
|
const { filterProps } = useProps(props);
|
|
139
|
+
defineSlots();
|
|
139
140
|
const { audioRef, audioData, onStop: handleStop } = useAudio(props);
|
|
140
141
|
const { platform } = useDisplay();
|
|
141
142
|
const { dimensionStyles } = useDimension(props);
|
|
@@ -166,7 +167,16 @@ const eventActions = computed(() => {
|
|
|
166
167
|
},
|
|
167
168
|
orientation: {
|
|
168
169
|
action: orientationElement,
|
|
169
|
-
|
|
170
|
+
// `handleMovement` looks up `eventActions.value[props.event]` — when
|
|
171
|
+
// `props.event === 'orientation'` we are ALREADY in this branch, so
|
|
172
|
+
// gating on `props.event === 'move'` here can never be true. That
|
|
173
|
+
// left `<origam-parallax event="orientation">` permanently inert:
|
|
174
|
+
// the `deviceorientation` listener fired (registered via
|
|
175
|
+
// `eventMap.value.orientation`) but `condition` always evaluated to
|
|
176
|
+
// `false`, so `movement.value` never updated regardless of a real
|
|
177
|
+
// sensor being present. Mirrors the `scroll` branch's guard (a
|
|
178
|
+
// measured target box must exist before applying movement).
|
|
179
|
+
condition: props.event === "orientation" && !!shape.value?.height,
|
|
170
180
|
type: "deviceorientation"
|
|
171
181
|
}
|
|
172
182
|
};
|
|
@@ -208,6 +218,7 @@ const orientationElement = ({ event, target }) => {
|
|
|
208
218
|
return { x, y, target };
|
|
209
219
|
};
|
|
210
220
|
const handleMovement = useThrottleFn((event) => {
|
|
221
|
+
if (props.disabled) return;
|
|
211
222
|
if (!props.active && !root.value) return;
|
|
212
223
|
if (!isMoving.value && !leftOnce.value) {
|
|
213
224
|
handleMovementStart();
|
|
@@ -263,7 +274,24 @@ provide(ORIGAM_PARALLAX_KEY, {
|
|
|
263
274
|
audioData,
|
|
264
275
|
event: toRef(props, "event"),
|
|
265
276
|
eventData: data,
|
|
266
|
-
|
|
277
|
+
// ⛔ THIS is the `disabled` kill-switch for the legacy
|
|
278
|
+
// <OrigamParallaxElement> path — the only gate whose removal reddens a
|
|
279
|
+
// test (`disabled — flipping it mid-hover…`). Before it, `disabled`
|
|
280
|
+
// reached only `useParallaxRuntime` (the <OrigamParallaxLayer> path) and
|
|
281
|
+
// the `origam-parallax--disabled` class, whose SCSS neutralises
|
|
282
|
+
// `.origam-parallax__layer` and nothing else — so a
|
|
283
|
+
// `<origam-parallax disabled event="move">` kept translating under the
|
|
284
|
+
// mouse (measured: matrix(1,0,0,1,-1,-1) → matrix(1,0,0,1,-50.58,-50.62)).
|
|
285
|
+
//
|
|
286
|
+
// It has to live HERE rather than only in `handleMovement`: stopping
|
|
287
|
+
// future updates leaves `movement` at whatever value it held when
|
|
288
|
+
// `disabled` flipped on, freezing the element mid-travel (measured at
|
|
289
|
+
// -91,-91) instead of returning to offset 0 as `IParallaxProps.disabled`
|
|
290
|
+
// documents. `OrigamParallaxElement.transformCalculation` short-circuits
|
|
291
|
+
// to `{x: 0, y: 0}` as soon as this ref reads false, so gating it here is
|
|
292
|
+
// what makes "translate stays at 0" literally true, and it covers the
|
|
293
|
+
// `event="scroll"` branch of this same expression too.
|
|
294
|
+
isMoving: computed(() => !props.disabled && (isMoving.value || props.event === PARALLAX_EVENT.SCROLL)),
|
|
267
295
|
movement,
|
|
268
296
|
duration: resolvedDuration,
|
|
269
297
|
easing: toRef(props, "easing"),
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
useStyle
|
|
22
22
|
} from "../../composables";
|
|
23
23
|
import { ORIGAM_PARALLAX_KEY } from "../../consts";
|
|
24
|
-
import { AXIS, PARALLAX_ELEMENT_TYPE } from "../../enums";
|
|
24
|
+
import { AXIS, PARALLAX_ELEMENT_TYPE, PARALLAX_EVENT } from "../../enums";
|
|
25
25
|
import { cyclicMovement, elementMovement } from "../../utils";
|
|
26
26
|
const props = defineProps({
|
|
27
27
|
transformOrigin: { type: null, required: false, default: "center" },
|
|
@@ -75,6 +75,7 @@ const props = defineProps({
|
|
|
75
75
|
type: { type: null, required: false, default: PARALLAX_ELEMENT_TYPE.TRANSLATE }
|
|
76
76
|
});
|
|
77
77
|
const { filterProps } = useProps(props);
|
|
78
|
+
defineSlots();
|
|
78
79
|
const { borderClasses, borderStyles } = useBorder(props);
|
|
79
80
|
const { roundedClasses, roundedStyles } = useRounded(props);
|
|
80
81
|
const { elevationClasses } = useElevation(props);
|
|
@@ -132,16 +133,16 @@ const calculateMouseMovement = () => {
|
|
|
132
133
|
maxX: props.maxX,
|
|
133
134
|
maxY: props.maxY
|
|
134
135
|
}) : cyclicMovement({
|
|
135
|
-
referencePosition: parallax.event.value ===
|
|
136
|
+
referencePosition: parallax.event.value === PARALLAX_EVENT.SCROLL ? { x: 0, y: 0 } : parallax.eventData.value,
|
|
136
137
|
shape: parallax.shape.value,
|
|
137
138
|
event: parallax.event.value,
|
|
138
139
|
cycles: props.cycle,
|
|
139
140
|
strength: strength.value
|
|
140
141
|
});
|
|
141
|
-
if (parallax.event.value !==
|
|
142
|
+
if (parallax.event.value !== PARALLAX_EVENT.SCROLL) {
|
|
142
143
|
movementX = props.axis === AXIS.Y ? 0 : x;
|
|
143
144
|
movementY = props.axis === AXIS.X ? 0 : y;
|
|
144
|
-
} else if (parallax.event.value ===
|
|
145
|
+
} else if (parallax.event.value === PARALLAX_EVENT.SCROLL) {
|
|
145
146
|
movementX = props.axis === AXIS.X ? y : 0;
|
|
146
147
|
movementY = props.axis === AXIS.Y || !props.axis ? y : 0;
|
|
147
148
|
} else if (props.cycle > 0) {
|
|
@@ -24,6 +24,7 @@ const props = defineProps({
|
|
|
24
24
|
tag: { type: String, required: false, default: "div" }
|
|
25
25
|
});
|
|
26
26
|
const { filterProps } = useProps(props);
|
|
27
|
+
defineSlots();
|
|
27
28
|
const parallax = inject(ORIGAM_PARALLAX_LAYER_KEY);
|
|
28
29
|
if (!parallax) {
|
|
29
30
|
throw new Error("[Origam] OrigamParallaxLayer must be nested inside OrigamParallax (use direction/easing/disabled props on the host).");
|
|
@@ -431,11 +431,11 @@ const _props = defineProps({
|
|
|
431
431
|
roundedTopLeft: { type: [Boolean, Number, String], required: false },
|
|
432
432
|
roundedBottomLeft: { type: [Boolean, Number, String], required: false },
|
|
433
433
|
roundedBottomRight: { type: [Boolean, Number, String], required: false },
|
|
434
|
-
fontFamily: { type:
|
|
435
|
-
fontSize: { type:
|
|
436
|
-
fontWeight: { type:
|
|
437
|
-
lineHeight: { type:
|
|
438
|
-
letterSpacing: { type:
|
|
434
|
+
fontFamily: { type: null, required: false },
|
|
435
|
+
fontSize: { type: null, required: false },
|
|
436
|
+
fontWeight: { type: null, required: false },
|
|
437
|
+
lineHeight: { type: null, required: false },
|
|
438
|
+
letterSpacing: { type: null, required: false },
|
|
439
439
|
active: { type: [Boolean, Object], required: false },
|
|
440
440
|
activeClass: { type: String, required: false },
|
|
441
441
|
variant: { type: null, required: false },
|
|
@@ -53,7 +53,7 @@ const props = defineProps({
|
|
|
53
53
|
side: { type: null, required: false },
|
|
54
54
|
swipeable: { type: Boolean, required: false },
|
|
55
55
|
snapPoints: { type: Array, required: false },
|
|
56
|
-
defaultSnap: { type:
|
|
56
|
+
defaultSnap: { type: null, required: false },
|
|
57
57
|
open: { type: Boolean, required: false },
|
|
58
58
|
disabled: { type: Boolean, required: false },
|
|
59
59
|
persistent: { type: Boolean, required: false },
|
|
@@ -112,14 +112,15 @@ const props = defineProps({
|
|
|
112
112
|
activeClass: { type: String, required: false },
|
|
113
113
|
hover: { type: [Boolean, Object], required: false },
|
|
114
114
|
title: { type: String, required: false },
|
|
115
|
-
fontFamily: { type:
|
|
116
|
-
fontSize: { type:
|
|
117
|
-
fontWeight: { type:
|
|
118
|
-
lineHeight: { type:
|
|
119
|
-
letterSpacing: { type:
|
|
115
|
+
fontFamily: { type: null, required: false },
|
|
116
|
+
fontSize: { type: null, required: false },
|
|
117
|
+
fontWeight: { type: null, required: false },
|
|
118
|
+
lineHeight: { type: null, required: false },
|
|
119
|
+
letterSpacing: { type: null, required: false }
|
|
120
120
|
});
|
|
121
121
|
const slots = useSlots();
|
|
122
122
|
const { filterProps } = useProps(props);
|
|
123
|
+
defineSlots();
|
|
123
124
|
const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, "bgColor"));
|
|
124
125
|
const hasTitle = computed(() => {
|
|
125
126
|
return !!(props.title || slots.title);
|
|
@@ -21,13 +21,14 @@ const props = defineProps({
|
|
|
21
21
|
tag: { type: String, required: false, default: "div" },
|
|
22
22
|
color: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
|
|
23
23
|
bgColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
|
|
24
|
-
fontFamily: { type:
|
|
25
|
-
fontSize: { type:
|
|
26
|
-
fontWeight: { type:
|
|
27
|
-
lineHeight: { type:
|
|
28
|
-
letterSpacing: { type:
|
|
24
|
+
fontFamily: { type: null, required: false },
|
|
25
|
+
fontSize: { type: null, required: false },
|
|
26
|
+
fontWeight: { type: null, required: false },
|
|
27
|
+
lineHeight: { type: null, required: false },
|
|
28
|
+
letterSpacing: { type: null, required: false }
|
|
29
29
|
});
|
|
30
30
|
const { filterProps } = useProps(props);
|
|
31
|
+
defineSlots();
|
|
31
32
|
const { colorClasses, colorStyles } = useBothColor(toRef(props, "bgColor"), toRef(props, "color"));
|
|
32
33
|
const { typographyStyles } = useTypography(props, "picker-title");
|
|
33
34
|
const pickerTitleStyles = computed(() => {
|
|
@@ -76,6 +76,7 @@ const props = defineProps({
|
|
|
76
76
|
size: { type: null, required: false, default: SIZES.DEFAULT }
|
|
77
77
|
});
|
|
78
78
|
const { filterProps } = useProps(props);
|
|
79
|
+
defineSlots();
|
|
79
80
|
const origamProgressRef = ref();
|
|
80
81
|
const { sizeClasses, sizeStyles } = useSize(props);
|
|
81
82
|
const { normalizedValue, hasContent } = useProgress(props);
|
|
@@ -93,6 +93,7 @@ const props = defineProps({
|
|
|
93
93
|
marginInline: { type: [Boolean, Number, String], required: false },
|
|
94
94
|
size: { type: null, required: false, default: SIZES.DEFAULT }
|
|
95
95
|
});
|
|
96
|
+
defineSlots();
|
|
96
97
|
const { filterProps } = useProps(props);
|
|
97
98
|
const root = ref();
|
|
98
99
|
const { progressClasses, progressStyles, normalizedValue, thickness, hasContent } = useProgress(props);
|
|
@@ -103,6 +103,7 @@ const props = defineProps({
|
|
|
103
103
|
roundedBottomRight: { type: [Boolean, Number, String], required: false },
|
|
104
104
|
location: { type: null, required: false }
|
|
105
105
|
});
|
|
106
|
+
defineSlots();
|
|
106
107
|
const { filterProps } = useProps(props);
|
|
107
108
|
const { locationStyles } = useLocation(props);
|
|
108
109
|
const { progressClasses, progressStyles, normalizedValue, thickness, progress, max, hasContent } = useProgress(props);
|
|
@@ -68,7 +68,7 @@ const props = defineProps({
|
|
|
68
68
|
value: { type: String, required: true },
|
|
69
69
|
title: { type: String, required: false, default: void 0 },
|
|
70
70
|
qrCodeProps: { type: Object, required: false, default: void 0 },
|
|
71
|
-
errorCorrectionLevel: { type:
|
|
71
|
+
errorCorrectionLevel: { type: null, required: false, default: "M" },
|
|
72
72
|
quietZone: { type: Number, required: false, default: 4 },
|
|
73
73
|
icon: { type: null, required: false, default: void 0 },
|
|
74
74
|
image: { type: [String, Object], required: false, default: void 0 },
|
|
@@ -185,11 +185,11 @@ const _props = defineProps({
|
|
|
185
185
|
prependAvatar: { type: String, required: false },
|
|
186
186
|
prependIcon: { type: null, required: false },
|
|
187
187
|
size: { type: null, required: false },
|
|
188
|
-
fontFamily: { type:
|
|
189
|
-
fontSize: { type:
|
|
190
|
-
fontWeight: { type:
|
|
191
|
-
lineHeight: { type:
|
|
192
|
-
letterSpacing: { type:
|
|
188
|
+
fontFamily: { type: null, required: false },
|
|
189
|
+
fontSize: { type: null, required: false },
|
|
190
|
+
fontWeight: { type: null, required: false },
|
|
191
|
+
lineHeight: { type: null, required: false },
|
|
192
|
+
letterSpacing: { type: null, required: false },
|
|
193
193
|
trueValue: { type: null, required: false },
|
|
194
194
|
falseValue: { type: null, required: false },
|
|
195
195
|
value: { type: null, required: false },
|
|
@@ -209,6 +209,7 @@ const _props = defineProps({
|
|
|
209
209
|
});
|
|
210
210
|
const props = useDefaults(_props);
|
|
211
211
|
const emits = defineEmits(["update:modelValue", "update:focused", "click:label"]);
|
|
212
|
+
defineSlots();
|
|
212
213
|
const { isHover, hoverState } = useHover(props);
|
|
213
214
|
useStateEffect(props, isHover, void 0, hoverState, void 0);
|
|
214
215
|
const { filterProps } = useProps(props);
|
|
@@ -95,6 +95,7 @@ const props = defineProps({
|
|
|
95
95
|
elevation: { type: [Number, String], required: false }
|
|
96
96
|
});
|
|
97
97
|
const emits = defineEmits(["update:modelValue", "update:focused", "click:label"]);
|
|
98
|
+
defineSlots();
|
|
98
99
|
const { filterProps } = useProps(props);
|
|
99
100
|
const origamSelectionControlRef = ref();
|
|
100
101
|
const model = useVModel(props, "modelValue");
|
|
@@ -62,12 +62,13 @@
|
|
|
62
62
|
import { computed, ref, StyleValue, useAttrs } from "vue";
|
|
63
63
|
import { OrigamDefaultsProvider, OrigamInput, OrigamLabel, OrigamRadio, OrigamSelectionControlGroup } from "../../components";
|
|
64
64
|
import {
|
|
65
|
+
usePassedProps,
|
|
65
66
|
useProps,
|
|
66
67
|
useStyle,
|
|
67
68
|
useVModel
|
|
68
69
|
} from "../../composables";
|
|
69
70
|
import { DENSITY } from "../../enums";
|
|
70
|
-
import { filterInputAttrs, getUid } from "../../utils";
|
|
71
|
+
import { filterInputAttrs, getUid, omitUndefined } from "../../utils";
|
|
71
72
|
const props = defineProps({
|
|
72
73
|
id: { type: String, required: false },
|
|
73
74
|
class: { type: [String, Array, Object], required: false },
|
|
@@ -138,11 +139,11 @@ const props = defineProps({
|
|
|
138
139
|
prependAvatar: { type: String, required: false },
|
|
139
140
|
prependIcon: { type: null, required: false },
|
|
140
141
|
size: { type: null, required: false },
|
|
141
|
-
fontFamily: { type:
|
|
142
|
-
fontSize: { type:
|
|
143
|
-
fontWeight: { type:
|
|
144
|
-
lineHeight: { type:
|
|
145
|
-
letterSpacing: { type:
|
|
142
|
+
fontFamily: { type: null, required: false },
|
|
143
|
+
fontSize: { type: null, required: false },
|
|
144
|
+
fontWeight: { type: null, required: false },
|
|
145
|
+
lineHeight: { type: null, required: false },
|
|
146
|
+
letterSpacing: { type: null, required: false },
|
|
146
147
|
value: { type: null, required: false },
|
|
147
148
|
required: { type: Boolean, required: false },
|
|
148
149
|
activeColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
|
|
@@ -159,6 +160,8 @@ const props = defineProps({
|
|
|
159
160
|
hover: { type: [Boolean, Object], required: false },
|
|
160
161
|
items: { type: [Array, Object], required: false }
|
|
161
162
|
});
|
|
163
|
+
defineSlots();
|
|
164
|
+
defineEmits(["update:modelValue"]);
|
|
162
165
|
const { filterProps } = useProps(props);
|
|
163
166
|
const origamSelectionControlGroupRef = ref();
|
|
164
167
|
const origamInputRef = ref();
|
|
@@ -175,13 +178,14 @@ const inputProps = computed(() => {
|
|
|
175
178
|
const controlProps = computed(() => {
|
|
176
179
|
return origamSelectionControlGroupRef.value?.filterProps(props, ["modelValue", "id", "style", "class", "readonly", "disabled", "type", "multiple", "items"]);
|
|
177
180
|
});
|
|
181
|
+
const wasPropPassed = usePassedProps(props);
|
|
178
182
|
const radioDefaults = computed(() => ({
|
|
179
|
-
"origam-radio": {
|
|
180
|
-
color: props.color,
|
|
181
|
-
bgColor: props.bgColor,
|
|
182
|
-
density: props.density,
|
|
183
|
-
size: props.size
|
|
184
|
-
}
|
|
183
|
+
"origam-radio": omitUndefined({
|
|
184
|
+
color: wasPropPassed("color") ? props.color : void 0,
|
|
185
|
+
bgColor: wasPropPassed("bgColor") ? props.bgColor : void 0,
|
|
186
|
+
density: wasPropPassed("density") ? props.density : void 0,
|
|
187
|
+
size: wasPropPassed("size") ? props.size : void 0
|
|
188
|
+
})
|
|
185
189
|
}));
|
|
186
190
|
const items = computed(() => {
|
|
187
191
|
return props.items ?? [];
|
|
@@ -231,11 +231,11 @@ const props = defineProps({
|
|
|
231
231
|
prependAvatar: { type: String, required: false },
|
|
232
232
|
prependIcon: { type: null, required: false },
|
|
233
233
|
size: { type: null, required: false, default: SIZES.DEFAULT },
|
|
234
|
-
fontFamily: { type:
|
|
235
|
-
fontSize: { type:
|
|
236
|
-
fontWeight: { type:
|
|
237
|
-
lineHeight: { type:
|
|
238
|
-
letterSpacing: { type:
|
|
234
|
+
fontFamily: { type: null, required: false },
|
|
235
|
+
fontSize: { type: null, required: false },
|
|
236
|
+
fontWeight: { type: null, required: false },
|
|
237
|
+
lineHeight: { type: null, required: false },
|
|
238
|
+
letterSpacing: { type: null, required: false },
|
|
239
239
|
ripple: { type: [Boolean, Object], required: false },
|
|
240
240
|
tag: { type: String, required: false, default: "div" },
|
|
241
241
|
text: { type: String, required: false },
|
|
@@ -243,6 +243,7 @@ const props = defineProps({
|
|
|
243
243
|
required: { type: Boolean, required: false }
|
|
244
244
|
});
|
|
245
245
|
defineEmits(["update:modelValue"]);
|
|
246
|
+
defineSlots();
|
|
246
247
|
const { filterProps } = useProps(props);
|
|
247
248
|
const origamInputRef = ref();
|
|
248
249
|
const origamRatingFieldItemRef = ref();
|
|
@@ -100,6 +100,7 @@ const props = defineProps({
|
|
|
100
100
|
elevation: { type: [Number, String], required: false }
|
|
101
101
|
});
|
|
102
102
|
const emits = defineEmits(["mouseenter", "mouseleave", "click"]);
|
|
103
|
+
defineSlots();
|
|
103
104
|
const { filterProps } = useProps(props);
|
|
104
105
|
const { t } = useLocale();
|
|
105
106
|
const origamBtnRef = ref();
|
|
@@ -75,6 +75,7 @@ const props = defineProps({
|
|
|
75
75
|
roundedBottomLeft: { type: [Boolean, Number, String], required: false },
|
|
76
76
|
roundedBottomRight: { type: [Boolean, Number, String], required: false }
|
|
77
77
|
});
|
|
78
|
+
defineSlots();
|
|
78
79
|
const { filterProps } = useProps(props);
|
|
79
80
|
const { aspectStyles } = useAspectRatio(props);
|
|
80
81
|
const { dimensionStyles } = useDimension(props);
|