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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
:style="treeviewStyles"
|
|
6
6
|
role="tree"
|
|
7
7
|
:aria-label="ariaLabel || 'File tree'"
|
|
8
|
-
:aria-multiselectable="selectMode ===
|
|
8
|
+
:aria-multiselectable="selectMode === TREEVIEW_SELECT_MODE.MULTIPLE || undefined"
|
|
9
9
|
@keydown="handleKeydown"
|
|
10
10
|
>
|
|
11
11
|
<origam-treeview-node
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
import { computed, provide, ref, watch } from "vue";
|
|
23
23
|
import { OrigamTreeviewNode } from "../../components";
|
|
24
24
|
import { ORIGAM_TREEVIEW_KEY } from "../../consts";
|
|
25
|
-
import { DENSITY, SIZES } from "../../enums";
|
|
25
|
+
import { DENSITY, SIZES, TREEVIEW_SELECT_MODE, TREEVIEW_SELECTABLE_NODES } from "../../enums";
|
|
26
26
|
import {
|
|
27
27
|
useDensity,
|
|
28
28
|
useProps,
|
|
@@ -34,8 +34,8 @@ const props = defineProps({
|
|
|
34
34
|
items: { type: Array, required: true },
|
|
35
35
|
modelValue: { type: [Array, String], required: false },
|
|
36
36
|
expandedValue: { type: Array, required: false },
|
|
37
|
-
selectMode: { type:
|
|
38
|
-
selectableNodes: { type:
|
|
37
|
+
selectMode: { type: null, required: false, default: "none" },
|
|
38
|
+
selectableNodes: { type: null, required: false, default: "leaf" },
|
|
39
39
|
showLines: { type: Boolean, required: false, default: true },
|
|
40
40
|
expandOnClick: { type: Boolean, required: false, default: false },
|
|
41
41
|
id: { type: String, required: false },
|
|
@@ -84,9 +84,9 @@ const toggleExpanded = (id2) => {
|
|
|
84
84
|
};
|
|
85
85
|
const toggleSelected = (id2) => {
|
|
86
86
|
const mode = props.selectMode;
|
|
87
|
-
if (mode ===
|
|
87
|
+
if (mode === TREEVIEW_SELECT_MODE.NONE) return;
|
|
88
88
|
const next = new Set(selectedSet.value);
|
|
89
|
-
if (mode ===
|
|
89
|
+
if (mode === TREEVIEW_SELECT_MODE.SINGLE) {
|
|
90
90
|
if (next.has(id2)) {
|
|
91
91
|
next.clear();
|
|
92
92
|
} else {
|
|
@@ -113,8 +113,8 @@ provide(ORIGAM_TREEVIEW_KEY, {
|
|
|
113
113
|
toggleSelected,
|
|
114
114
|
isExpanded,
|
|
115
115
|
isSelected,
|
|
116
|
-
selectMode: computed(() => props.selectMode ??
|
|
117
|
-
selectableNodes: computed(() => props.selectableNodes ??
|
|
116
|
+
selectMode: computed(() => props.selectMode ?? TREEVIEW_SELECT_MODE.NONE),
|
|
117
|
+
selectableNodes: computed(() => props.selectableNodes ?? TREEVIEW_SELECTABLE_NODES.LEAF),
|
|
118
118
|
showLines: computed(() => props.showLines !== false),
|
|
119
119
|
expandOnClick: computed(() => props.expandOnClick === true),
|
|
120
120
|
color: computed(() => {
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
<script lang="ts" setup>
|
|
94
94
|
import { computed, inject, useSlots } from "vue";
|
|
95
95
|
import { ORIGAM_TREEVIEW_KEY } from "../../consts";
|
|
96
|
+
import { TREEVIEW_SELECT_MODE, TREEVIEW_SELECTABLE_NODES } from "../../enums";
|
|
96
97
|
import {
|
|
97
98
|
useProps,
|
|
98
99
|
useStyle
|
|
@@ -117,10 +118,10 @@ const hasChildren = computed(() => {
|
|
|
117
118
|
const isLeaf = computed(() => !hasChildren.value);
|
|
118
119
|
const isSelectable = computed(() => {
|
|
119
120
|
if (props.node.disabled) return false;
|
|
120
|
-
const mode = treeview?.selectMode.value ??
|
|
121
|
-
if (mode ===
|
|
122
|
-
const selectableNodes = treeview?.selectableNodes.value ??
|
|
123
|
-
if (selectableNodes ===
|
|
121
|
+
const mode = treeview?.selectMode.value ?? TREEVIEW_SELECT_MODE.NONE;
|
|
122
|
+
if (mode === TREEVIEW_SELECT_MODE.NONE) return false;
|
|
123
|
+
const selectableNodes = treeview?.selectableNodes.value ?? TREEVIEW_SELECTABLE_NODES.LEAF;
|
|
124
|
+
if (selectableNodes === TREEVIEW_SELECTABLE_NODES.LEAF) return isLeaf.value;
|
|
124
125
|
return true;
|
|
125
126
|
});
|
|
126
127
|
const isNodeExpanded = computed(() => treeview?.isExpanded(props.node.id) ?? false);
|
|
@@ -230,7 +230,7 @@ import { OrigamIcon } from "../Icon";
|
|
|
230
230
|
import { OrigamMediaController } from "../Media";
|
|
231
231
|
import { OrigamResponsive } from "../Responsive";
|
|
232
232
|
import { shouldSuppressAutoplay, useBorder, useColorEffect, useDimension, useElevation, useLocale, useMargin, usePadding, useRounded, useTypography, useVideoPlayer } from "../../composables";
|
|
233
|
-
import { MDI_ICONS } from "../../enums";
|
|
233
|
+
import { MDI_ICONS, VIDEO_TRACK_KIND } from "../../enums";
|
|
234
234
|
const { t } = useLocale();
|
|
235
235
|
const props = defineProps({
|
|
236
236
|
src: { type: [String, Array], required: true },
|
|
@@ -239,11 +239,11 @@ const props = defineProps({
|
|
|
239
239
|
autoplay: { type: Boolean, required: false, default: false },
|
|
240
240
|
muted: { type: Boolean, required: false, default: false },
|
|
241
241
|
loop: { type: Boolean, required: false, default: false },
|
|
242
|
-
controls: { type:
|
|
242
|
+
controls: { type: null, required: false, default: "custom" },
|
|
243
243
|
playsInline: { type: Boolean, required: false, default: true },
|
|
244
244
|
preload: { type: String, required: false, default: "metadata" },
|
|
245
245
|
aspectRatio: { type: String, required: false, default: "16/9" },
|
|
246
|
-
crossorigin: { type:
|
|
246
|
+
crossorigin: { type: null, required: false, default: void 0 },
|
|
247
247
|
disablePictureInPicture: { type: Boolean, required: false, default: false },
|
|
248
248
|
skipSeconds: { type: Number, required: false, default: 30 },
|
|
249
249
|
showCenterControls: { type: Boolean, required: false, default: true },
|
|
@@ -298,13 +298,14 @@ const props = defineProps({
|
|
|
298
298
|
paddingBlock: { type: [Boolean, Number, String], required: false },
|
|
299
299
|
paddingInline: { type: [Boolean, Number, String], required: false },
|
|
300
300
|
elevation: { type: [Number, String], required: false },
|
|
301
|
-
fontFamily: { type:
|
|
302
|
-
fontSize: { type:
|
|
303
|
-
fontWeight: { type:
|
|
304
|
-
lineHeight: { type:
|
|
305
|
-
letterSpacing: { type:
|
|
301
|
+
fontFamily: { type: null, required: false },
|
|
302
|
+
fontSize: { type: null, required: false },
|
|
303
|
+
fontWeight: { type: null, required: false },
|
|
304
|
+
lineHeight: { type: null, required: false },
|
|
305
|
+
letterSpacing: { type: null, required: false }
|
|
306
306
|
});
|
|
307
307
|
const emit = defineEmits(["enterfullscreen", "exitfullscreen", "enterpip", "exitpip", "skip", "quality-change", "download", "play", "pause", "ended", "timeupdate", "volumechange", "loadedmetadata", "error", "update:playbackRate"]);
|
|
308
|
+
defineSlots();
|
|
308
309
|
const ICONS = {
|
|
309
310
|
PLAY: MDI_ICONS.PLAY,
|
|
310
311
|
PAUSE: MDI_ICONS.PAUSE,
|
|
@@ -533,7 +534,7 @@ async function togglePipBtn() {
|
|
|
533
534
|
}
|
|
534
535
|
const captionsEnabled = ref(false);
|
|
535
536
|
const hasCaptions = computed(() => props.tracks.some((track) => {
|
|
536
|
-
return track.kind ===
|
|
537
|
+
return track.kind === VIDEO_TRACK_KIND.CAPTIONS || track.kind === VIDEO_TRACK_KIND.SUBTITLES;
|
|
537
538
|
}));
|
|
538
539
|
function toggleCaptions() {
|
|
539
540
|
const el = videoRef.value;
|
|
@@ -668,31 +669,9 @@ defineExpose({
|
|
|
668
669
|
overflow: hidden;
|
|
669
670
|
border-radius: var(--origam-video---border-radius, 0);
|
|
670
671
|
|
|
671
|
-
/*
|
|
672
|
-
* Force the chrome (MediaController play / volume / cog,
|
|
673
|
-
* native `<button>`-based MediaVolumeControl) to white by
|
|
674
|
-
* default — the controller's own SCSS reads `color:
|
|
675
|
-
* var(--origam-media-controller---color, inherit)` which
|
|
676
|
-
* defaults to the `#171717` text-primary token. On the dark
|
|
677
|
-
* video overlay that produces near-invisible icons (the
|
|
678
|
-
* user-reported "icons all black" symptom).
|
|
679
|
-
*
|
|
680
|
-
* The variable is overridden to `inherit` further down when
|
|
681
|
-
* the consumer passes `color` / `bgColor`, so `useColorEffect`
|
|
682
|
-
* gets to drive the tint through.
|
|
683
|
-
*/
|
|
684
672
|
--origam-media-controller---color: #ffffff;
|
|
685
673
|
}
|
|
686
674
|
|
|
687
|
-
/*
|
|
688
|
-
* Tint propagation when the consumer passes `color` or `bgColor`:
|
|
689
|
-
* the MediaController + the white-by-default `.origam-video__btn`
|
|
690
|
-
* icons need to inherit the host colour so the scrubber's
|
|
691
|
-
* `currentColor` (set by `scrubberColorStyle`) AND the icons
|
|
692
|
-
* track the user's intent. Without these overrides the
|
|
693
|
-
* MediaController's own scoped `color: var(--origam-media-controller---color, inherit)`
|
|
694
|
-
* pins the chrome back to the dark text-primary token.
|
|
695
|
-
*/
|
|
696
675
|
.origam-video--has-color,
|
|
697
676
|
.origam-video--has-bg-color {
|
|
698
677
|
--origam-media-controller---color: inherit;
|
|
@@ -706,30 +685,10 @@ defineExpose({
|
|
|
706
685
|
}
|
|
707
686
|
}
|
|
708
687
|
|
|
709
|
-
/*
|
|
710
|
-
* Native `<button class="origam-media-volume-control__btn">` lives
|
|
711
|
-
* inside OrigamMediaVolumeControl with its own scoped CSS that
|
|
712
|
-
* doesn't honour `--origam-media-controller---color`. Force it
|
|
713
|
-
* to inherit from the controller (which is now white by default)
|
|
714
|
-
* so the volume icon matches the rest of the chrome.
|
|
715
|
-
*/
|
|
716
688
|
:deep(.origam-media-volume-control__btn) {
|
|
717
689
|
color: inherit;
|
|
718
690
|
}
|
|
719
691
|
|
|
720
|
-
/*
|
|
721
|
-
* Scrubber track / buffer background — overrides the MediaController
|
|
722
|
-
* defaults so the dark, semi-translucent track doesn't let the
|
|
723
|
-
* video frame underneath bleed through with whatever hue the
|
|
724
|
-
* picture has at the playhead position (the user-reported "pink
|
|
725
|
-
* scrubber" symptom on a pastel-toned video frame). White-tinted
|
|
726
|
-
* translucent backgrounds give a uniform light-grey track on
|
|
727
|
-
* every video regardless of content.
|
|
728
|
-
*
|
|
729
|
-
* The :deep(.) reaches into the OrigamMediaScrubber scope to set
|
|
730
|
-
* its internal slots; the consumer can still override per-instance
|
|
731
|
-
* via `--origam-media-scrubber---track-background-color`.
|
|
732
|
-
*/
|
|
733
692
|
:deep(.origam-media-controller__scrubber) {
|
|
734
693
|
--origam-media-scrubber---track-background-color: rgba(255, 255, 255, 0.28);
|
|
735
694
|
--origam-media-scrubber---buffer-background-color: rgba(255, 255, 255, 0.42);
|
|
@@ -825,11 +784,6 @@ defineExpose({
|
|
|
825
784
|
font-size: var(--origam-video--error---icon-font-size, 32px);
|
|
826
785
|
}
|
|
827
786
|
|
|
828
|
-
/* State pulse — YouTube-style brief icon flash at the centre of
|
|
829
|
-
* the video when play/pause toggles. PURELY cosmetic, never
|
|
830
|
-
* absorbs clicks (pointer-events: none) so the underlying video
|
|
831
|
-
* surface stays interactive. Fades in + scales up over ~600 ms
|
|
832
|
-
* then disappears. */
|
|
833
787
|
.origam-video__state-pulse {
|
|
834
788
|
position: absolute;
|
|
835
789
|
top: 50%;
|
|
@@ -104,6 +104,7 @@ const props = defineProps({
|
|
|
104
104
|
scrollDuration: { type: Number, required: false },
|
|
105
105
|
scrollEasing: { type: String, required: false }
|
|
106
106
|
});
|
|
107
|
+
defineSlots();
|
|
107
108
|
const { filterProps } = useProps(props);
|
|
108
109
|
const vm = getCurrentInstance("OrigamVirtualScroll");
|
|
109
110
|
const { dimensionStyles } = useDimension(props);
|
|
@@ -31,6 +31,7 @@ const props = defineProps({
|
|
|
31
31
|
style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true }
|
|
32
32
|
});
|
|
33
33
|
const emits = defineEmits(["update:height"]);
|
|
34
|
+
defineSlots();
|
|
34
35
|
const { filterProps } = useProps(props);
|
|
35
36
|
const attrs = useAttrs();
|
|
36
37
|
const { resizeRef, contentRect } = useResizeObserver(void 0, "border");
|
|
@@ -133,6 +133,7 @@ const props = defineProps({
|
|
|
133
133
|
activeClass: { type: String, required: false }
|
|
134
134
|
});
|
|
135
135
|
defineEmits(["update:modelValue"]);
|
|
136
|
+
defineSlots();
|
|
136
137
|
const { filterProps } = useProps(props);
|
|
137
138
|
const { t } = useLocale();
|
|
138
139
|
const group = useGroup(props, ORIGAM_WINDOW_GROUP_KEY);
|
|
@@ -42,6 +42,7 @@ const props = defineProps({
|
|
|
42
42
|
selectedClass: { type: String, required: false }
|
|
43
43
|
});
|
|
44
44
|
defineEmits(["group:selected"]);
|
|
45
|
+
defineSlots();
|
|
45
46
|
const { filterProps } = useProps(props);
|
|
46
47
|
const window = inject(ORIGAM_WINDOW_KEY);
|
|
47
48
|
const groupItem = useGroupItem(props, ORIGAM_WINDOW_GROUP_KEY);
|
|
@@ -5,13 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useCalendar = useCalendar;
|
|
7
7
|
var _vue = require("vue");
|
|
8
|
+
var _enums = require("../../enums/index.cjs");
|
|
8
9
|
var _date = require("../../utils/Calendar/date.util.cjs");
|
|
9
10
|
var _rrule = require("../../utils/Calendar/rrule.util.cjs");
|
|
10
11
|
const NAVIGATION_STEP = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
[_enums.CALENDAR_VIEW.MONTH]: (date, direction) => (0, _date.addMonths)(date, direction),
|
|
13
|
+
[_enums.CALENDAR_VIEW.WEEK]: (date, direction) => (0, _date.addWeeks)(date, direction),
|
|
14
|
+
[_enums.CALENDAR_VIEW.DAY]: (date, direction) => (0, _date.addDays)(date, direction),
|
|
15
|
+
[_enums.CALENDAR_VIEW.AGENDA]: (date, direction) => (0, _date.addMonths)(date, direction)
|
|
15
16
|
};
|
|
16
17
|
function useCalendar(options, setView, setCurrentDate) {
|
|
17
18
|
const visibleDateRange = (0, _vue.computed)(() => {
|
|
@@ -19,8 +20,8 @@ function useCalendar(options, setView, setCurrentDate) {
|
|
|
19
20
|
const date = options.currentDate();
|
|
20
21
|
const firstDayOfWeek = options.firstDayOfWeek();
|
|
21
22
|
switch (view) {
|
|
22
|
-
case
|
|
23
|
-
case
|
|
23
|
+
case _enums.CALENDAR_VIEW.MONTH:
|
|
24
|
+
case _enums.CALENDAR_VIEW.AGENDA:
|
|
24
25
|
{
|
|
25
26
|
const monthStart = (0, _date.startOfMonth)(date);
|
|
26
27
|
const gridStart = (0, _date.startOfWeekFixed)(monthStart, firstDayOfWeek);
|
|
@@ -30,12 +31,12 @@ function useCalendar(options, setView, setCurrentDate) {
|
|
|
30
31
|
end: gridEnd
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
|
-
case
|
|
34
|
+
case _enums.CALENDAR_VIEW.WEEK:
|
|
34
35
|
return {
|
|
35
36
|
start: (0, _date.startOfWeekFixed)(date, firstDayOfWeek),
|
|
36
37
|
end: (0, _date.endOfWeekFixed)(date, firstDayOfWeek)
|
|
37
38
|
};
|
|
38
|
-
case
|
|
39
|
+
case _enums.CALENDAR_VIEW.DAY:
|
|
39
40
|
default:
|
|
40
41
|
{
|
|
41
42
|
const start = (0, _date.startOfDay)(date);
|
|
@@ -69,10 +70,10 @@ function useCalendar(options, setView, setCurrentDate) {
|
|
|
69
70
|
const view = options.view();
|
|
70
71
|
const current = options.currentDate();
|
|
71
72
|
let next;
|
|
72
|
-
if (direction ===
|
|
73
|
+
if (direction === _enums.CALENDAR_NAVIGATE.TODAY) {
|
|
73
74
|
next = /* @__PURE__ */new Date();
|
|
74
75
|
} else {
|
|
75
|
-
const step = direction ===
|
|
76
|
+
const step = direction === _enums.CALENDAR_NAVIGATE.NEXT ? 1 : -1;
|
|
76
77
|
next = NAVIGATION_STEP[view](current, step);
|
|
77
78
|
}
|
|
78
79
|
const min = options.minDate?.() ?? null;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
|
-
import type { IEvent, IUseCalendarOptions } from '../../interfaces';
|
|
2
|
+
import type { ICalendarAgendaEntry, ICalendarTimeSlot, IEvent, IUseCalendarOptions } from '../../interfaces';
|
|
3
3
|
import type { TCalendarNavigate, TCalendarView } from '../../types';
|
|
4
4
|
import { addDays, addMonths, addWeeks, diffMinutes, endOfMonth, isSameDay, isSameMonth, startOfDay, startOfMonth, toDate } from '../../utils/Calendar/date.util';
|
|
5
|
-
|
|
6
|
-
* Time-slot descriptor returned by `buildDayGrid` / `buildWeekGrid`.
|
|
7
|
-
*
|
|
8
|
-
* The grid is **not** event-aware — events are positioned absolutely
|
|
9
|
-
* on top of the timeline using `diffMinutes(dayStart, event.start)`.
|
|
10
|
-
* Decoupling the grid from the events lets us re-use the grid output
|
|
11
|
-
* for the drag-select overlay without re-computing.
|
|
12
|
-
*/
|
|
13
|
-
export interface ICalendarTimeSlot {
|
|
14
|
-
/** Top-of-slot Date (e.g. 09:30). */
|
|
15
|
-
date: Date;
|
|
16
|
-
/** Slot duration in minutes (mirror of `options.slotDuration`). */
|
|
17
|
-
durationMin: number;
|
|
18
|
-
/** True when the slot's hour mark falls on the hour. */
|
|
19
|
-
isHourMark: boolean;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Agenda entry — one per day that has at least one event in the
|
|
23
|
-
* visible window. Agenda view skips empty days; the `#empty` slot
|
|
24
|
-
* fires when *no* event is in range.
|
|
25
|
-
*/
|
|
26
|
-
export interface ICalendarAgendaEntry {
|
|
27
|
-
date: Date;
|
|
28
|
-
events: Array<IEvent>;
|
|
29
|
-
}
|
|
5
|
+
export type { ICalendarAgendaEntry, ICalendarTimeSlot } from '../../interfaces';
|
|
30
6
|
/**
|
|
31
7
|
* Public composable. Stateless over the inputs (every getter is a
|
|
32
8
|
* `() => …` thunk), so `<OrigamCalendar>` can drive it from props or
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
+
import { CALENDAR_NAVIGATE, CALENDAR_VIEW } from "../../enums/index.js";
|
|
2
3
|
import {
|
|
3
4
|
addDays,
|
|
4
5
|
addMonths,
|
|
@@ -18,10 +19,10 @@ import {
|
|
|
18
19
|
} from "../../utils/Calendar/date.util.js";
|
|
19
20
|
import { expandRecurrence } from "../../utils/Calendar/rrule.util.js";
|
|
20
21
|
const NAVIGATION_STEP = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
[CALENDAR_VIEW.MONTH]: (date, direction) => addMonths(date, direction),
|
|
23
|
+
[CALENDAR_VIEW.WEEK]: (date, direction) => addWeeks(date, direction),
|
|
24
|
+
[CALENDAR_VIEW.DAY]: (date, direction) => addDays(date, direction),
|
|
25
|
+
[CALENDAR_VIEW.AGENDA]: (date, direction) => addMonths(date, direction)
|
|
25
26
|
};
|
|
26
27
|
export function useCalendar(options, setView, setCurrentDate) {
|
|
27
28
|
const visibleDateRange = computed(() => {
|
|
@@ -29,19 +30,19 @@ export function useCalendar(options, setView, setCurrentDate) {
|
|
|
29
30
|
const date = options.currentDate();
|
|
30
31
|
const firstDayOfWeek = options.firstDayOfWeek();
|
|
31
32
|
switch (view) {
|
|
32
|
-
case
|
|
33
|
-
case
|
|
33
|
+
case CALENDAR_VIEW.MONTH:
|
|
34
|
+
case CALENDAR_VIEW.AGENDA: {
|
|
34
35
|
const monthStart = startOfMonth(date);
|
|
35
36
|
const gridStart = startOfWeekFixed(monthStart, firstDayOfWeek);
|
|
36
37
|
const gridEnd = addDays(gridStart, 6 * 7 - 1);
|
|
37
38
|
return { start: gridStart, end: gridEnd };
|
|
38
39
|
}
|
|
39
|
-
case
|
|
40
|
+
case CALENDAR_VIEW.WEEK:
|
|
40
41
|
return {
|
|
41
42
|
start: startOfWeekFixed(date, firstDayOfWeek),
|
|
42
43
|
end: endOfWeekFixed(date, firstDayOfWeek)
|
|
43
44
|
};
|
|
44
|
-
case
|
|
45
|
+
case CALENDAR_VIEW.DAY:
|
|
45
46
|
default: {
|
|
46
47
|
const start = startOfDay(date);
|
|
47
48
|
const end = new Date(start);
|
|
@@ -71,10 +72,10 @@ export function useCalendar(options, setView, setCurrentDate) {
|
|
|
71
72
|
const view = options.view();
|
|
72
73
|
const current = options.currentDate();
|
|
73
74
|
let next;
|
|
74
|
-
if (direction ===
|
|
75
|
+
if (direction === CALENDAR_NAVIGATE.TODAY) {
|
|
75
76
|
next = /* @__PURE__ */ new Date();
|
|
76
77
|
} else {
|
|
77
|
-
const step = direction ===
|
|
78
|
+
const step = direction === CALENDAR_NAVIGATE.NEXT ? 1 : -1;
|
|
78
79
|
next = NAVIGATION_STEP[view](current, step);
|
|
79
80
|
}
|
|
80
81
|
const min = options.minDate?.() ?? null;
|
|
@@ -1,30 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import type { IUseCommandReturn } from '../../interfaces';
|
|
2
|
+
export type { IUseCommandReturn } from '../../interfaces';
|
|
3
3
|
/*********************************************************
|
|
4
4
|
* useCommand
|
|
5
5
|
********************************************************/
|
|
6
|
-
export interface IUseCommandReturn {
|
|
7
|
-
/**
|
|
8
|
-
* Register a command. Returns an `unregister()` closure so callers
|
|
9
|
-
* can drop the entry imperatively. When called from inside a Vue
|
|
10
|
-
* effect scope, the entry is auto-unregistered on scope dispose
|
|
11
|
-
* (component unmount, route leave, …) via `tryOnScopeDispose`.
|
|
12
|
-
*/
|
|
13
|
-
register: (cmd: ICommand) => () => void;
|
|
14
|
-
/** Drop the entry with the matching `id`. No-op if unknown. */
|
|
15
|
-
unregister: (id: string) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Reactive read-only view of every registered command, deduplicated
|
|
18
|
-
* by id.
|
|
19
|
-
*/
|
|
20
|
-
commands: ComputedRef<ReadonlyArray<ICommand>>;
|
|
21
|
-
/** Open the global palette singleton. */
|
|
22
|
-
open: () => void;
|
|
23
|
-
/** Close the global palette singleton. */
|
|
24
|
-
close: () => void;
|
|
25
|
-
/** Reactive open/close state of the global palette singleton. */
|
|
26
|
-
isOpen: Ref<boolean>;
|
|
27
|
-
}
|
|
28
6
|
export declare function useCommand(): IUseCommandReturn;
|
|
29
7
|
/*********************************************************
|
|
30
8
|
* Test helper
|
|
@@ -53,6 +53,24 @@ function useBorder(props, name = (0, _utils.getCurrentInstanceName)()) {
|
|
|
53
53
|
} = props;
|
|
54
54
|
if (!(0, _utils.isEmpty)(borderColor)) styles.push(`border-color: ${borderColor}`);
|
|
55
55
|
if (!(0, _utils.isEmpty)(borderStyle)) styles.push(`border-style: ${borderStyle}`);
|
|
56
|
+
_consts.BORDER_LOGICAL_AXIS_MAP.forEach(({
|
|
57
|
+
axis,
|
|
58
|
+
widthProp
|
|
59
|
+
}) => {
|
|
60
|
+
const axisValue = props[widthProp];
|
|
61
|
+
if (typeof axisValue === "number") {
|
|
62
|
+
styles.push(`border-${axis}-width: ${(0, _utils.convertToUnit)(axisValue)}`);
|
|
63
|
+
styles.push(`border-${axis}-style: solid`);
|
|
64
|
+
styles.push(`border-${axis}-color: currentColor`);
|
|
65
|
+
} else if (axisValue === true) {
|
|
66
|
+
styles.push(`border-${axis}-width: var(--origam-border__width---thin)`);
|
|
67
|
+
styles.push(`border-${axis}-style: solid`);
|
|
68
|
+
styles.push(`border-${axis}-color: currentColor`);
|
|
69
|
+
} else if (typeof axisValue === "string" && axisValue !== "") {
|
|
70
|
+
const parsed = (0, _utils.parseBorderPositionValue)(axisValue);
|
|
71
|
+
if (parsed) styles.push(...(0, _utils.formatBorderPositionStylesVar)(axis, parsed));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
56
74
|
_consts.BORDER_POSITION_MAP.forEach(({
|
|
57
75
|
side,
|
|
58
76
|
widthProp,
|
|
@@ -12,16 +12,20 @@ import { TDirectionBoth } from "../../types";
|
|
|
12
12
|
*
|
|
13
13
|
* 1. global `border` shorthand (1/2/4-value, logical properties)
|
|
14
14
|
* 2. global standalone `borderColor` / `borderStyle`
|
|
15
|
-
* 3.
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* 3. logical-axis `borderBlock` / `borderInline` (width, and
|
|
16
|
+
* style/color when a full string like `"2px dashed red"` is given)
|
|
17
|
+
* 4. per-side `borderTop` / `borderRight` / `borderBottom` / `borderLeft`
|
|
18
|
+
* (physical properties — more specific than the axis rung above:
|
|
19
|
+
* `borderTop` overrides whatever `borderBlock` set for the top edge)
|
|
20
|
+
* 5. per-side `borderTopColor` / `borderRightColor` /
|
|
19
21
|
* `borderBottomColor` / `borderLeftColor`
|
|
20
22
|
*
|
|
21
|
-
* So `
|
|
22
|
-
* beats both
|
|
23
|
-
* `
|
|
24
|
-
*
|
|
23
|
+
* So `borderBlock` beats `border` for the top+bottom edges, `borderTop`
|
|
24
|
+
* beats both `border` and `borderBlock` for the top side specifically,
|
|
25
|
+
* and `borderTopColor` beats the color embedded in `borderTop`, the
|
|
26
|
+
* axis-level color, and the global `borderColor` — each rung only
|
|
27
|
+
* overrides the side(s)/axis it actually targets, everything else keeps
|
|
28
|
+
* cascading from the rung below.
|
|
25
29
|
********************************************************/
|
|
26
30
|
export declare function useBorder(props: IBorderProps | Ref<boolean | number | string | TDirectionBoth | Array<TDirectionBoth> | null | undefined>, name?: string): {
|
|
27
31
|
borderClasses: import("vue").ComputedRef<string[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, isRef } from "vue";
|
|
2
|
-
import { BORDER_POSITION_MAP, BORDER_REGEX, DIRECTION_ARRAY } from "../../consts/index.js";
|
|
2
|
+
import { BORDER_LOGICAL_AXIS_MAP, BORDER_POSITION_MAP, BORDER_REGEX, DIRECTION_ARRAY } from "../../consts/index.js";
|
|
3
3
|
import {
|
|
4
4
|
convertToUnit,
|
|
5
5
|
formatBorderPositionStylesVar,
|
|
@@ -56,6 +56,21 @@ export function useBorder(props, name = getCurrentInstanceName()) {
|
|
|
56
56
|
const { borderColor, borderStyle } = props;
|
|
57
57
|
if (!isEmpty(borderColor)) styles.push(`border-color: ${borderColor}`);
|
|
58
58
|
if (!isEmpty(borderStyle)) styles.push(`border-style: ${borderStyle}`);
|
|
59
|
+
BORDER_LOGICAL_AXIS_MAP.forEach(({ axis, widthProp }) => {
|
|
60
|
+
const axisValue = props[widthProp];
|
|
61
|
+
if (typeof axisValue === "number") {
|
|
62
|
+
styles.push(`border-${axis}-width: ${convertToUnit(axisValue)}`);
|
|
63
|
+
styles.push(`border-${axis}-style: solid`);
|
|
64
|
+
styles.push(`border-${axis}-color: currentColor`);
|
|
65
|
+
} else if (axisValue === true) {
|
|
66
|
+
styles.push(`border-${axis}-width: var(--origam-border__width---thin)`);
|
|
67
|
+
styles.push(`border-${axis}-style: solid`);
|
|
68
|
+
styles.push(`border-${axis}-color: currentColor`);
|
|
69
|
+
} else if (typeof axisValue === "string" && axisValue !== "") {
|
|
70
|
+
const parsed = parseBorderPositionValue(axisValue);
|
|
71
|
+
if (parsed) styles.push(...formatBorderPositionStylesVar(axis, parsed));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
59
74
|
BORDER_POSITION_MAP.forEach(({ side, widthProp, colorProp }) => {
|
|
60
75
|
const sideValue = props[widthProp];
|
|
61
76
|
const sideColor = props[colorProp];
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import type { IDefault } from '../../interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* `kebab-case` → `camelCase`. Used to recognise prop names that were passed
|
|
5
|
+
* as kebab-case attributes on the parent vnode.
|
|
6
|
+
*
|
|
7
|
+
* Exported (not just used internally by `usePassedProps`/`useDefaults`) so
|
|
8
|
+
* `theme-props-resolver.composable.ts` can match `vnode.props` keys against
|
|
9
|
+
* declared prop names with the EXACT same rule — see ADR-005. Two independent
|
|
10
|
+
* implementations of this matching rule is exactly the kind of drift the
|
|
11
|
+
* "reuse before writing" policy exists to prevent.
|
|
12
|
+
*/
|
|
13
|
+
export declare function camelize(str: string): string;
|
|
3
14
|
/**
|
|
4
15
|
* Was-prop-passed factory.
|
|
5
16
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, inject, provide, ref } from "vue";
|
|
2
2
|
import { ORIGAM_DEFAULTS_KEY } from "../../consts/index.js";
|
|
3
3
|
import { getCurrentInstance, getCurrentInstanceName, mergeDeep } from "../../utils/index.js";
|
|
4
|
-
function camelize(str) {
|
|
4
|
+
export function camelize(str) {
|
|
5
5
|
return str.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
6
6
|
}
|
|
7
7
|
export function usePassedProps(_props, instanceLabel = "usePassedProps") {
|
|
@@ -5,8 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useLoader = useLoader;
|
|
7
7
|
var _vue = require("vue");
|
|
8
|
+
var _enums = require("../../enums/index.cjs");
|
|
8
9
|
var _utils = require("../../utils/index.cjs");
|
|
9
|
-
function useLoader(props, defaultKind =
|
|
10
|
+
function useLoader(props, defaultKind = _enums.LOADER_KIND.CIRCULAR, name = (0, _utils.getCurrentInstanceName)()) {
|
|
10
11
|
const isLoading = (0, _vue.computed)(() => {
|
|
11
12
|
const v = props.loading;
|
|
12
13
|
if (v === false || v === void 0 || v === null) return false;
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
|
-
import type { ILoaderProps } from '../../interfaces';
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
* Resolved loader state — what each consumer component reads to decide
|
|
6
|
-
* which renderer to mount and with which props.
|
|
7
|
-
*
|
|
8
|
-
* @remarks
|
|
9
|
-
* `overrides` is intentionally typed as `Omit<TLoaderConfig, 'type'>`. After
|
|
10
|
-
* the discriminant `type` is destructured at runtime, TypeScript can no
|
|
11
|
-
* longer narrow the union. Consumer components must access optional fields
|
|
12
|
-
* defensively (e.g. `(overrides as { modelValue?: number }).modelValue`).
|
|
13
|
-
*/
|
|
14
|
-
export interface IResolvedLoader {
|
|
15
|
-
/** Whether ANY loading state is active. */
|
|
16
|
-
isActive: boolean;
|
|
17
|
-
/** Which renderer to use ('line' / 'circular' / 'skeleton'). */
|
|
18
|
-
kind: TLoaderKind;
|
|
19
|
-
/** Determinate progress value (0..100) when the user passed a number; else undefined. */
|
|
20
|
-
modelValue: number | undefined;
|
|
21
|
-
/** Indeterminate when `true`, determinate when a number was passed. */
|
|
22
|
-
indeterminate: boolean;
|
|
23
|
-
/** Per-kind override props the consumer should v-bind on the renderer. */
|
|
24
|
-
overrides: Omit<TLoaderConfig, 'type'>;
|
|
25
|
-
}
|
|
2
|
+
import type { ILoaderProps, IResolvedLoader } from '../../interfaces';
|
|
3
|
+
import type { TLoaderKind } from '../../types';
|
|
4
|
+
export type { IResolvedLoader } from '../../interfaces';
|
|
26
5
|
/**
|
|
27
6
|
* Resolve the polymorphic `loading` prop into a normalised descriptor.
|
|
28
7
|
*
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
+
import { LOADER_KIND } from "../../enums/index.js";
|
|
2
3
|
import { getCurrentInstanceName } from "../../utils/index.js";
|
|
3
|
-
export function useLoader(props, defaultKind =
|
|
4
|
+
export function useLoader(props, defaultKind = LOADER_KIND.CIRCULAR, name = getCurrentInstanceName()) {
|
|
4
5
|
const isLoading = computed(() => {
|
|
5
6
|
const v = props.loading;
|
|
6
7
|
if (v === false || v === void 0 || v === null) return false;
|