origam 2.3.0 → 2.5.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 +158 -1
- package/dist/src/assets/css/tokens/dark.css +424 -58
- package/dist/src/assets/css/tokens/light.css +212 -29
- package/dist/src/assets/locales/en.json +36 -0
- package/dist/src/assets/locales/fr.json +33 -0
- package/dist/src/assets/locales/index.js +2 -2
- package/dist/src/assets/scss/tokens/_dark.scss +212 -29
- package/dist/src/assets/scss/tokens/_light.scss +212 -29
- package/dist/src/components/Alert/OrigamAlert.vue +5 -4
- package/dist/src/components/App/OrigamApp.vue +38 -1
- package/dist/src/components/App/OrigamAppBar.vue +2 -2
- package/dist/src/components/Audio/OrigamAudio.vue +1465 -0
- package/dist/src/components/Audio/index.cjs +13 -0
- package/dist/src/components/Audio/index.d.ts +1 -0
- package/dist/src/components/Audio/index.js +1 -0
- package/dist/src/components/Avatar/OrigamAvatar.vue +3 -3
- package/dist/src/components/Avatar/OrigamAvatarGroup.vue +2 -2
- package/dist/src/components/Badge/OrigamBadge.vue +2 -2
- package/dist/src/components/Blockquote/OrigamBlockquote.vue +291 -0
- package/dist/src/components/Blockquote/index.cjs +13 -0
- package/dist/src/components/Blockquote/index.d.ts +1 -0
- package/dist/src/components/Blockquote/index.js +1 -0
- package/dist/src/components/BottomNav/OrigamBottomNav.vue +3 -2
- package/dist/src/components/Bracket/OrigamBracket.vue +64 -9
- package/dist/src/components/Bracket/OrigamBracketRound.vue +2 -0
- package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +5 -3
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +1 -1
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +3 -3
- package/dist/src/components/Btn/OrigamBtn.vue +14 -4
- package/dist/src/components/Btn/OrigamBtnGroup.vue +3 -2
- package/dist/src/components/Btn/OrigamBtnToggle.vue +2 -2
- package/dist/src/components/Calendar/OrigamCalendar.vue +1175 -0
- package/dist/src/components/Calendar/index.cjs +13 -0
- package/dist/src/components/Calendar/index.d.ts +1 -0
- package/dist/src/components/Calendar/index.js +1 -0
- package/dist/src/components/Card/OrigamCard.vue +2 -2
- package/dist/src/components/Card/OrigamCardHeader.vue +1 -1
- package/dist/src/components/Carousel/OrigamCarousel.vue +6 -1
- package/dist/src/components/Carousel/OrigamCarouselItem.vue +2 -2
- package/dist/src/components/Chart/OrigamChart.vue +882 -0
- package/dist/src/components/Chart/OrigamChartAxis.vue +141 -0
- package/dist/src/components/Chart/OrigamChartBoxPlot.vue +894 -0
- package/dist/src/components/Chart/OrigamChartBullet.vue +836 -0
- package/dist/src/components/Chart/OrigamChartCandlestick.vue +745 -0
- package/dist/src/components/Chart/OrigamChartCartesian.vue +1450 -0
- package/dist/src/components/Chart/OrigamChartGauge.vue +402 -0
- package/dist/src/components/Chart/OrigamChartHeatmap.vue +697 -0
- package/dist/src/components/Chart/OrigamChartHoneycomb.vue +723 -0
- package/dist/src/components/Chart/OrigamChartLegend.vue +59 -0
- package/dist/src/components/Chart/OrigamChartMap.vue +738 -0
- package/dist/src/components/Chart/OrigamChartPareto.vue +949 -0
- package/dist/src/components/Chart/OrigamChartPictorial.vue +1024 -0
- package/dist/src/components/Chart/OrigamChartPolar.vue +735 -0
- package/dist/src/components/Chart/OrigamChartPolarBar.vue +719 -0
- package/dist/src/components/Chart/OrigamChartPyramid.vue +706 -0
- package/dist/src/components/Chart/OrigamChartRadar.vue +504 -0
- package/dist/src/components/Chart/OrigamChartRangeSelector.vue +122 -0
- package/dist/src/components/Chart/OrigamChartSankey.vue +943 -0
- package/dist/src/components/Chart/OrigamChartSparkline.vue +474 -0
- package/dist/src/components/Chart/OrigamChartStreamgraph.vue +872 -0
- package/dist/src/components/Chart/OrigamChartSunburst.vue +865 -0
- package/dist/src/components/Chart/OrigamChartTooltip.vue +55 -0
- package/dist/src/components/Chart/OrigamChartTreemap.vue +744 -0
- package/dist/src/components/Chart/OrigamChartVariwide.vue +815 -0
- package/dist/src/components/Chart/OrigamChartWordCloud.vue +671 -0
- package/dist/src/components/Chart/index.cjs +188 -0
- package/dist/src/components/Chart/index.d.ts +26 -0
- package/dist/src/components/Chart/index.js +26 -0
- package/dist/src/components/Checkbox/OrigamCheckbox.vue +2 -2
- package/dist/src/components/Checkbox/OrigamCheckboxBtn.vue +2 -2
- package/dist/src/components/Chip/OrigamChip.vue +9 -7
- package/dist/src/components/Chip/OrigamChipGroup.vue +15 -3
- package/dist/src/components/Clipboard/OrigamClipboard.vue +195 -0
- package/dist/src/components/Clipboard/index.cjs +13 -0
- package/dist/src/components/Clipboard/index.d.ts +1 -0
- package/dist/src/components/Clipboard/index.js +1 -0
- package/dist/src/components/Code/OrigamCode.vue +79 -69
- package/dist/src/components/ColorPicker/OrigamColorPicker.vue +3 -2
- package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +75 -1
- package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +2 -2
- package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +22 -16
- package/dist/src/components/ConfirmWrapper/OrigamConfirmWrapper.vue +1 -1
- package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +2 -2
- package/dist/src/components/Counter/OrigamCounter.vue +1 -1
- package/dist/src/components/DataList/OrigamDataList.vue +2 -2
- package/dist/src/components/DataList/OrigamDataText.vue +2 -2
- package/dist/src/components/DataList/OrigamDataTitle.vue +2 -2
- package/dist/src/components/DataTable/OrigamDataTable.vue +9 -3
- package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableFooter.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +2 -1
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableHeadersCell.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +2 -2
- package/dist/src/components/DataTable/OrigamDataTableRow.vue +6 -1
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +5 -3
- package/dist/src/components/DatePicker/OrigamDatePicker.vue +22 -12
- package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +1 -1
- package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +20 -15
- package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +1 -1
- package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +1 -1
- package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +5 -5
- package/dist/src/components/Dialog/OrigamDialog.vue +12 -4
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +2 -2
- package/dist/src/components/Divider/OrigamDivider.vue +2 -2
- package/dist/src/components/Drawer/OrigamDrawer.vue +10 -2
- package/dist/src/components/EmptyState/OrigamEmptyState.vue +231 -0
- package/dist/src/components/EmptyState/index.cjs +13 -0
- package/dist/src/components/EmptyState/index.d.ts +1 -0
- package/dist/src/components/EmptyState/index.js +1 -0
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +2 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +5 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +4 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +2 -2
- package/dist/src/components/Field/OrigamField.vue +2 -2
- package/dist/src/components/FileField/OrigamFileField.vue +2 -2
- package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +2 -2
- package/dist/src/components/FileField/OrigamFileFieldListItem.vue +2 -2
- package/dist/src/components/Grid/OrigamGrid.vue +197 -0
- package/dist/src/components/Grid/OrigamGridItem.vue +69 -0
- package/dist/src/components/Grid/index.cjs +20 -0
- package/dist/src/components/Grid/index.d.ts +2 -0
- package/dist/src/components/Grid/index.js +2 -0
- package/dist/src/components/Grids/OrigamCol.vue +2 -2
- package/dist/src/components/Grids/OrigamRow.vue +1 -1
- package/dist/src/components/Icon/OrigamClassIcon.vue +14 -2
- package/dist/src/components/Icon/OrigamComponentIcon.vue +14 -2
- package/dist/src/components/Icon/OrigamIcon.vue +21 -2
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +14 -2
- package/dist/src/components/Icon/OrigamSvgIcon.vue +15 -3
- package/dist/src/components/Img/OrigamImg.vue +2 -2
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +4 -4
- package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +477 -0
- package/dist/src/components/InlineEdit/index.cjs +13 -0
- package/dist/src/components/InlineEdit/index.d.ts +1 -0
- package/dist/src/components/InlineEdit/index.js +1 -0
- package/dist/src/components/Input/OrigamInput.vue +2 -2
- package/dist/src/components/Kbd/OrigamKbd.vue +2 -2
- package/dist/src/components/Label/OrigamLabel.vue +2 -2
- package/dist/src/components/Layout/OrigamLayout.vue +73 -4
- package/dist/src/components/Lazy/OrigamLazy.vue +1 -0
- package/dist/src/components/List/OrigamList.vue +3 -2
- package/dist/src/components/List/OrigamListGroup.vue +2 -2
- package/dist/src/components/List/OrigamListItem.vue +3 -2
- package/dist/src/components/List/OrigamListSubheader.vue +2 -2
- package/dist/src/components/Loader/OrigamLoader.vue +3 -1
- package/dist/src/components/Main/OrigamMain.vue +12 -2
- package/dist/src/components/Masonry/OrigamMasonry.vue +277 -0
- package/dist/src/components/Masonry/index.cjs +13 -0
- package/dist/src/components/Masonry/index.d.ts +1 -0
- package/dist/src/components/Masonry/index.js +1 -0
- package/dist/src/components/Media/OrigamMediaController.vue +529 -0
- package/dist/src/components/Media/OrigamMediaScrubber.vue +441 -0
- package/dist/src/components/Media/OrigamMediaVolumeControl.vue +151 -0
- package/dist/src/components/Media/index.cjs +27 -0
- package/dist/src/components/Media/index.d.ts +3 -0
- package/dist/src/components/Media/index.js +3 -0
- package/dist/src/components/Menu/OrigamMenu.vue +23 -5
- package/dist/src/components/Messages/OrigamMessages.vue +2 -2
- package/dist/src/components/NumberField/OrigamNumberField.vue +6 -6
- package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +97 -0
- package/dist/src/components/NumberFormat/index.cjs +13 -0
- package/dist/src/components/NumberFormat/index.d.ts +1 -0
- package/dist/src/components/NumberFormat/index.js +1 -0
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +12 -12
- package/dist/src/components/Overlay/OrigamOverlay.vue +1 -1
- package/dist/src/components/Overlay/OrigamOverlayScrim.vue +2 -1
- package/dist/src/components/Pagination/OrigamPagination.vue +4 -10
- package/dist/src/components/Parallax/OrigamParallax.vue +32 -4
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +6 -6
- package/dist/src/components/Picker/OrigamPicker.vue +5 -5
- package/dist/src/components/Picker/OrigamPickerTitle.vue +2 -2
- package/dist/src/components/Progress/OrigamProgress.vue +3 -1
- package/dist/src/components/Progress/OrigamProgressCircular.vue +8 -1
- package/dist/src/components/Progress/OrigamProgressLinear.vue +13 -1
- package/dist/src/components/QRCode/OrigamQrCode.vue +246 -0
- package/dist/src/components/QRCode/index.cjs +13 -0
- package/dist/src/components/QRCode/index.js +1 -0
- package/dist/src/components/Radio/OrigamRadio.vue +2 -2
- package/dist/src/components/Radio/OrigamRadioBtn.vue +2 -2
- package/dist/src/components/Radio/OrigamRadioGroup.vue +2 -2
- package/dist/src/components/RatingField/OrigamRatingField.vue +20 -20
- package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -1
- package/dist/src/components/Select/OrigamSelect.vue +46 -12
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +6 -2
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +2 -1
- package/dist/src/components/Sheet/OrigamSheet.vue +3 -3
- package/dist/src/components/Skeleton/OrigamSkeleton.vue +9 -2
- package/dist/src/components/SliderField/OrigamSliderField.vue +1065 -330
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +33 -45
- package/dist/src/components/SliderField/index.cjs +0 -7
- package/dist/src/components/SliderField/index.d.ts +0 -1
- package/dist/src/components/SliderField/index.js +0 -1
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +255 -265
- package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +238 -0
- package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +270 -0
- package/dist/src/components/Snackbar/index.cjs +14 -0
- package/dist/src/components/Snackbar/index.d.ts +2 -0
- package/dist/src/components/Snackbar/index.js +2 -0
- package/dist/src/components/Stepper/OrigamStepper.vue +66 -7
- package/dist/src/components/Switch/OrigamSwitch.vue +128 -11
- package/dist/src/components/Switch/OrigamSwitchTrack.vue +13 -2
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +2 -2
- package/dist/src/components/Table/OrigamTable.vue +34 -1
- package/dist/src/components/Tabs/OrigamTabs.vue +2 -2
- package/dist/src/components/TextField/OrigamTextField.vue +4 -2
- package/dist/src/components/TextMask/OrigamTextMask.vue +157 -0
- package/dist/src/components/TextMask/index.cjs +13 -0
- package/dist/src/components/TextMask/index.d.ts +1 -0
- package/dist/src/components/TextMask/index.js +1 -0
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +4 -2
- package/dist/src/components/Timeline/OrigamTimeline.vue +1 -1
- package/dist/src/components/Timeline/OrigamTimelineItem.vue +1 -1
- package/dist/src/components/Title/OrigamTitle.vue +2 -2
- package/dist/src/components/Toolbar/OrigamToolbar.vue +2 -2
- package/dist/src/components/Tooltip/OrigamTooltip.vue +2 -2
- package/dist/src/components/Treeview/OrigamTreeview.vue +2 -4
- package/dist/src/components/Video/OrigamVideo.vue +1087 -0
- package/dist/src/components/Video/index.cjs +13 -0
- package/dist/src/components/Video/index.d.ts +1 -0
- package/dist/src/components/Video/index.js +1 -0
- package/dist/src/components/Watermark/OrigamWatermark.vue +187 -0
- package/dist/src/components/Watermark/index.cjs +13 -0
- package/dist/src/components/Watermark/index.d.ts +1 -0
- package/dist/src/components/Watermark/index.js +1 -0
- package/dist/src/components/index.cjs +165 -11
- package/dist/src/components/index.d.ts +15 -1
- package/dist/src/components/index.js +15 -1
- package/dist/src/composables/Audio/use-audio-player.composable.cjs +26 -0
- package/dist/src/composables/Audio/use-audio-player.composable.d.ts +29 -0
- package/dist/src/composables/Audio/use-audio-player.composable.js +17 -0
- package/dist/src/composables/Audio/use-waveform.composable.cjs +91 -0
- package/dist/src/composables/Audio/use-waveform.composable.d.ts +32 -0
- package/dist/src/composables/Audio/use-waveform.composable.js +81 -0
- package/dist/src/composables/Calendar/calendar.composable.cjs +184 -0
- package/dist/src/composables/Calendar/calendar.composable.d.ts +72 -0
- package/dist/src/composables/Calendar/calendar.composable.js +182 -0
- package/dist/src/composables/Chart/chart-gauge.composable.cjs +54 -0
- package/dist/src/composables/Chart/chart-gauge.composable.d.ts +21 -0
- package/dist/src/composables/Chart/chart-gauge.composable.js +47 -0
- package/dist/src/composables/Chart/chart-zoom.composable.cjs +93 -0
- package/dist/src/composables/Chart/chart-zoom.composable.d.ts +34 -0
- package/dist/src/composables/Chart/chart-zoom.composable.js +87 -0
- package/dist/src/composables/Chart/chart.composable.cjs +893 -0
- package/dist/src/composables/Chart/chart.composable.d.ts +97 -0
- package/dist/src/composables/Chart/chart.composable.js +829 -0
- package/dist/src/composables/Clipboard/clipboard.composable.cjs +78 -0
- package/dist/src/composables/Clipboard/clipboard.composable.d.ts +21 -0
- package/dist/src/composables/Clipboard/clipboard.composable.js +79 -0
- package/dist/src/composables/Code/code.composable.cjs +21 -17
- package/dist/src/composables/Code/code.composable.js +13 -9
- package/dist/src/composables/Commons/audio.composable.d.ts +2 -2
- package/dist/src/composables/Commons/color.composable.cjs +47 -12
- package/dist/src/composables/Commons/color.composable.js +47 -12
- package/dist/src/composables/Commons/{calendar.composable.cjs → date-picker-calendar.composable.cjs} +2 -2
- package/dist/src/composables/Commons/{calendar.composable.d.ts → date-picker-calendar.composable.d.ts} +2 -2
- package/dist/src/composables/Commons/{calendar.composable.js → date-picker-calendar.composable.js} +1 -1
- package/dist/src/composables/Commons/elevation.composable.cjs +4 -5
- package/dist/src/composables/Commons/elevation.composable.js +1 -18
- package/dist/src/composables/CssSupport/cssSupport.composable.cjs +5 -26
- package/dist/src/composables/CssSupport/cssSupport.composable.d.ts +1 -23
- package/dist/src/composables/CssSupport/cssSupport.composable.js +1 -22
- package/dist/src/composables/DataTable/headers.composable.d.ts +28 -28
- package/dist/src/composables/InlineEdit/inline-edit.composable.cjs +87 -0
- package/dist/src/composables/InlineEdit/inline-edit.composable.d.ts +36 -0
- package/dist/src/composables/InlineEdit/inline-edit.composable.js +86 -0
- package/dist/src/composables/Masonry/masonry.composable.cjs +160 -0
- package/dist/src/composables/Masonry/masonry.composable.d.ts +132 -0
- package/dist/src/composables/Masonry/masonry.composable.js +160 -0
- package/dist/src/composables/Media/use-media-player.composable.cjs +286 -0
- package/dist/src/composables/Media/use-media-player.composable.d.ts +43 -0
- package/dist/src/composables/Media/use-media-player.composable.js +289 -0
- package/dist/src/composables/NumberFormat/number-format.composable.cjs +165 -0
- package/dist/src/composables/NumberFormat/number-format.composable.d.ts +33 -0
- package/dist/src/composables/NumberFormat/number-format.composable.js +146 -0
- package/dist/src/composables/QrCode/qr-code.composable.cjs +111 -0
- package/dist/src/composables/QrCode/qr-code.composable.d.ts +31 -0
- package/dist/src/composables/QrCode/qr-code.composable.js +120 -0
- package/dist/src/composables/Sheet/sheetSwipe.composable.cjs +5 -5
- package/dist/src/composables/Sheet/sheetSwipe.composable.d.ts +1 -1
- package/dist/src/composables/Sheet/sheetSwipe.composable.js +3 -3
- package/dist/src/composables/SliderField/slider-field.composable.cjs +0 -213
- package/dist/src/composables/SliderField/slider-field.composable.d.ts +11 -5
- package/dist/src/composables/SliderField/slider-field.composable.js +2 -191
- package/dist/src/composables/{SnackbarStack/snackbar-stack.composable.cjs → Snackbar/snackbar-group.composable.cjs} +10 -10
- package/dist/src/composables/{SnackbarStack/snackbar-stack.composable.d.ts → Snackbar/snackbar-group.composable.d.ts} +14 -14
- package/dist/src/composables/{SnackbarStack/snackbar-stack.composable.js → Snackbar/snackbar-group.composable.js} +9 -9
- package/dist/src/composables/Theme/theme.composable.cjs +5 -6
- package/dist/src/composables/Theme/theme.composable.js +1 -2
- package/dist/src/composables/Video/video-player.composable.cjs +129 -0
- package/dist/src/composables/Video/video-player.composable.d.ts +44 -0
- package/dist/src/composables/Video/video-player.composable.js +128 -0
- package/dist/src/composables/Watermark/watermark.composable.cjs +147 -0
- package/dist/src/composables/Watermark/watermark.composable.d.ts +28 -0
- package/dist/src/composables/Watermark/watermark.composable.js +158 -0
- package/dist/src/composables/index.cjs +237 -8
- package/dist/src/composables/index.d.ts +14 -2
- package/dist/src/composables/index.js +14 -2
- package/dist/src/consts/Audio/audio.const.cjs +25 -0
- package/dist/src/consts/Audio/audio.const.d.ts +30 -0
- package/dist/src/consts/Audio/audio.const.js +19 -0
- package/dist/src/consts/Blockquote/blockquote.const.cjs +32 -0
- package/dist/src/consts/Blockquote/blockquote.const.d.ts +37 -0
- package/dist/src/consts/Blockquote/blockquote.const.js +30 -0
- package/dist/src/consts/Chart/chart.const.cjs +26 -0
- package/dist/src/consts/Chart/chart.const.d.ts +32 -0
- package/dist/src/consts/Chart/chart.const.js +9 -0
- package/dist/src/consts/Chart/country-centroids.const.cjs +43 -0
- package/dist/src/consts/Chart/country-centroids.const.d.ts +10 -0
- package/dist/src/consts/Chart/country-centroids.const.js +37 -0
- package/dist/src/consts/Chart/pictorial-icons.const.cjs +12 -0
- package/dist/src/consts/Chart/pictorial-icons.const.d.ts +18 -0
- package/dist/src/consts/Chart/pictorial-icons.const.js +6 -0
- package/dist/src/consts/Chart/world-geographic.const.cjs +152 -0
- package/dist/src/consts/Chart/world-geographic.const.d.ts +22 -0
- package/dist/src/consts/Chart/world-geographic.const.js +1722 -0
- package/dist/src/consts/Chart/world-map.const.cjs +43 -0
- package/dist/src/consts/Chart/world-map.const.d.ts +14 -0
- package/dist/src/consts/Chart/world-map.const.js +37 -0
- package/dist/src/consts/Clipboard/clipboard.const.cjs +7 -0
- package/dist/src/consts/Clipboard/clipboard.const.d.ts +6 -0
- package/dist/src/consts/Clipboard/clipboard.const.js +1 -0
- package/dist/src/consts/Code/code.const.cjs +3 -6
- package/dist/src/consts/Code/code.const.d.ts +8 -12
- package/dist/src/consts/Code/code.const.js +3 -6
- package/dist/src/consts/Commons/elevation.const.cjs +8 -0
- package/dist/src/consts/Commons/elevation.const.d.ts +17 -0
- package/dist/src/consts/Commons/elevation.const.js +18 -0
- package/dist/src/consts/CssSupport/css-support.const.cjs +29 -0
- package/dist/src/consts/CssSupport/css-support.const.d.ts +40 -0
- package/dist/src/consts/CssSupport/css-support.const.js +23 -0
- package/dist/src/consts/DataTable/select.const.cjs +2 -1
- package/dist/src/consts/DataTable/select.const.d.ts +2 -1
- package/dist/src/consts/DataTable/select.const.js +1 -0
- package/dist/src/consts/EmptyState/empty-state.const.cjs +32 -0
- package/dist/src/consts/EmptyState/empty-state.const.d.ts +29 -0
- package/dist/src/consts/EmptyState/empty-state.const.js +39 -0
- package/dist/src/consts/Grid/grid.const.cjs +28 -0
- package/dist/src/consts/Grid/grid.const.d.ts +49 -0
- package/dist/src/consts/Grid/grid.const.js +46 -0
- package/dist/src/consts/Masonry/masonry.const.cjs +14 -0
- package/dist/src/consts/Masonry/masonry.const.d.ts +27 -0
- package/dist/src/consts/Masonry/masonry.const.js +11 -0
- package/dist/src/consts/Media/media.const.cjs +8 -0
- package/dist/src/consts/Media/media.const.d.ts +14 -0
- package/dist/src/consts/Media/media.const.js +2 -0
- package/dist/src/consts/NumberFormat/number-format.const.cjs +9 -0
- package/dist/src/consts/NumberFormat/number-format.const.d.ts +19 -0
- package/dist/src/consts/NumberFormat/number-format.const.js +3 -0
- package/dist/src/consts/QrCode/qr-code.const.cjs +12 -0
- package/dist/src/consts/QrCode/qr-code.const.d.ts +33 -0
- package/dist/src/consts/QrCode/qr-code.const.js +6 -0
- package/dist/src/consts/Sheet/sheet-swipe.const.cjs +7 -0
- package/dist/src/consts/Sheet/sheet-swipe.const.d.ts +11 -0
- package/dist/src/consts/Sheet/sheet-swipe.const.js +1 -0
- package/dist/src/consts/Snackbar/snackbar-group.const.cjs +12 -0
- package/dist/src/consts/Snackbar/snackbar-group.const.d.ts +33 -0
- package/dist/src/consts/Snackbar/snackbar-group.const.js +18 -0
- package/dist/src/consts/Video/video.const.cjs +7 -0
- package/dist/src/consts/Video/video.const.d.ts +7 -0
- package/dist/src/consts/Video/video.const.js +1 -0
- package/dist/src/consts/Watermark/watermark.const.cjs +16 -0
- package/dist/src/consts/Watermark/watermark.const.d.ts +27 -0
- package/dist/src/consts/Watermark/watermark.const.js +10 -0
- package/dist/src/consts/index.cjs +188 -12
- package/dist/src/consts/index.d.ts +18 -2
- package/dist/src/consts/index.js +18 -2
- package/dist/src/enums/Audio/audio-loop-mode.enum.cjs +12 -0
- package/dist/src/enums/Audio/audio-loop-mode.enum.d.ts +17 -0
- package/dist/src/enums/Audio/audio-loop-mode.enum.js +6 -0
- package/dist/src/enums/Audio/audio-variant.enum.cjs +13 -0
- package/dist/src/enums/Audio/audio-variant.enum.d.ts +26 -0
- package/dist/src/enums/Audio/audio-variant.enum.js +7 -0
- package/dist/src/enums/Audio/cover-position.enum.cjs +11 -0
- package/dist/src/enums/Audio/cover-position.enum.d.ts +9 -0
- package/dist/src/enums/Audio/cover-position.enum.js +5 -0
- package/dist/src/enums/Blockquote/blockquote-lang.enum.cjs +14 -0
- package/dist/src/enums/Blockquote/blockquote-lang.enum.d.ts +7 -0
- package/dist/src/enums/Blockquote/blockquote-lang.enum.js +8 -0
- package/dist/src/enums/Blockquote/blockquote-variant.enum.cjs +14 -0
- package/dist/src/enums/Blockquote/blockquote-variant.enum.d.ts +7 -0
- package/dist/src/enums/Blockquote/blockquote-variant.enum.js +8 -0
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.js +5 -0
- package/dist/src/enums/Chart/chart-cartesian-kind.enum.cjs +16 -0
- package/dist/src/enums/Chart/chart-cartesian-kind.enum.d.ts +14 -0
- package/dist/src/enums/Chart/chart-cartesian-kind.enum.js +10 -0
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.js +5 -0
- package/dist/src/enums/Chart/chart-honeycomb-orientation.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-honeycomb-orientation.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-honeycomb-orientation.enum.js +5 -0
- package/dist/src/enums/Chart/chart-map-mode.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-map-mode.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-map-mode.enum.js +5 -0
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.js +5 -0
- package/dist/src/enums/Chart/chart-pictorial-mode.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-pictorial-mode.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-pictorial-mode.enum.js +5 -0
- package/dist/src/enums/Chart/chart-polar-kind.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-polar-kind.enum.d.ts +8 -0
- package/dist/src/enums/Chart/chart-polar-kind.enum.js +5 -0
- package/dist/src/enums/Chart/chart-pyramid-kind.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-pyramid-kind.enum.d.ts +4 -0
- package/dist/src/enums/Chart/chart-pyramid-kind.enum.js +5 -0
- package/dist/src/enums/Chart/chart-sparkline-kind.enum.cjs +13 -0
- package/dist/src/enums/Chart/chart-sparkline-kind.enum.d.ts +6 -0
- package/dist/src/enums/Chart/chart-sparkline-kind.enum.js +7 -0
- package/dist/src/enums/Chart/chart-stacking.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-stacking.enum.d.ts +14 -0
- package/dist/src/enums/Chart/chart-stacking.enum.js +5 -0
- package/dist/src/enums/Chart/chart-streamgraph-offset.enum.cjs +13 -0
- package/dist/src/enums/Chart/chart-streamgraph-offset.enum.d.ts +6 -0
- package/dist/src/enums/Chart/chart-streamgraph-offset.enum.js +7 -0
- package/dist/src/enums/Chart/chart-treemap-algorithm.enum.cjs +11 -0
- package/dist/src/enums/Chart/chart-treemap-algorithm.enum.d.ts +9 -0
- package/dist/src/enums/Chart/chart-treemap-algorithm.enum.js +5 -0
- package/dist/src/enums/Chart/chart-word-cloud-rotation.enum.cjs +12 -0
- package/dist/src/enums/Chart/chart-word-cloud-rotation.enum.d.ts +5 -0
- package/dist/src/enums/Chart/chart-word-cloud-rotation.enum.js +6 -0
- package/dist/src/enums/Chart/chart.enum.cjs +38 -0
- package/dist/src/enums/Chart/chart.enum.d.ts +31 -0
- package/dist/src/enums/Chart/chart.enum.js +32 -0
- package/dist/src/enums/EmptyState/empty-state-preset.enum.cjs +14 -0
- package/dist/src/enums/EmptyState/empty-state-preset.enum.d.ts +16 -0
- package/dist/src/enums/EmptyState/empty-state-preset.enum.js +8 -0
- package/dist/src/enums/InlineEdit/inline-edit-action.enum.cjs +12 -0
- package/dist/src/enums/InlineEdit/inline-edit-action.enum.d.ts +10 -0
- package/dist/src/enums/InlineEdit/inline-edit-action.enum.js +6 -0
- package/dist/src/enums/SliderField/slider-field-variant.enum.cjs +12 -0
- package/dist/src/enums/SliderField/slider-field-variant.enum.d.ts +21 -0
- package/dist/src/enums/SliderField/slider-field-variant.enum.js +6 -0
- package/dist/src/enums/index.cjs +240 -9
- package/dist/src/enums/index.d.ts +23 -2
- package/dist/src/enums/index.js +23 -2
- package/dist/src/interfaces/Alert/alert.interface.d.ts +5 -1
- package/dist/src/interfaces/App/app-bar.interface.d.ts +4 -1
- package/dist/src/interfaces/Audio/audio-player.interface.d.ts +406 -0
- package/dist/src/interfaces/Avatar/avatar-group.interface.d.ts +5 -1
- package/dist/src/interfaces/Avatar/avatar.interface.d.ts +4 -1
- package/dist/src/interfaces/Blockquote/blockquote.interface.d.ts +84 -0
- package/dist/src/interfaces/BottomNav/bottom-nav.interface.d.ts +5 -1
- package/dist/src/interfaces/Bracket/bracket.interface.d.ts +3 -10
- package/dist/src/interfaces/Breadcrumb/breadcrumb-item.interface.d.ts +4 -1
- package/dist/src/interfaces/Btn/btn-toggle.interface.d.ts +4 -1
- package/dist/src/interfaces/Btn/btn.interface.d.ts +5 -1
- package/dist/src/interfaces/Calendar/calendar.interface.d.ts +159 -0
- package/dist/src/interfaces/Calendar/event.interface.d.ts +54 -0
- package/dist/src/interfaces/Card/card-header.interface.d.ts +4 -1
- package/dist/src/interfaces/Card/card.interface.d.ts +5 -1
- package/dist/src/interfaces/Carousel/carousel.interface.d.ts +4 -1
- package/dist/src/interfaces/Chart/chart-annotation.interface.d.ts +99 -0
- package/dist/src/interfaces/Chart/chart-axis.interface.d.ts +78 -0
- package/dist/src/interfaces/Chart/chart-base.interface.d.ts +87 -0
- package/dist/src/interfaces/Chart/chart-box-plot.interface.d.ts +203 -0
- package/dist/src/interfaces/Chart/chart-bullet.interface.d.ts +140 -0
- package/dist/src/interfaces/Chart/chart-candlestick.interface.d.ts +131 -0
- package/dist/src/interfaces/Chart/chart-cartesian.interface.d.ts +124 -0
- package/dist/src/interfaces/Chart/chart-cartesian.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-drilldown.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-drilldown.interface.d.ts +60 -0
- package/dist/src/interfaces/Chart/chart-drilldown.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-gauge.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-gauge.interface.d.ts +130 -0
- package/dist/src/interfaces/Chart/chart-gauge.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-heatmap.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-heatmap.interface.d.ts +128 -0
- package/dist/src/interfaces/Chart/chart-heatmap.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-honeycomb.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-honeycomb.interface.d.ts +109 -0
- package/dist/src/interfaces/Chart/chart-honeycomb.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-legend.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-legend.interface.d.ts +48 -0
- package/dist/src/interfaces/Chart/chart-legend.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-map.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-map.interface.d.ts +137 -0
- package/dist/src/interfaces/Chart/chart-map.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-pareto.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-pareto.interface.d.ts +124 -0
- package/dist/src/interfaces/Chart/chart-pareto.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-pictorial.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-pictorial.interface.d.ts +114 -0
- package/dist/src/interfaces/Chart/chart-pictorial.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-plot-band.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-plot-band.interface.d.ts +34 -0
- package/dist/src/interfaces/Chart/chart-plot-band.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-plot-line.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-plot-line.interface.d.ts +39 -0
- package/dist/src/interfaces/Chart/chart-plot-line.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-point.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-point.interface.d.ts +20 -0
- package/dist/src/interfaces/Chart/chart-point.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-polar-bar.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-polar-bar.interface.d.ts +118 -0
- package/dist/src/interfaces/Chart/chart-polar-bar.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-polar.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-polar.interface.d.ts +43 -0
- package/dist/src/interfaces/Chart/chart-polar.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-pyramid.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-pyramid.interface.d.ts +96 -0
- package/dist/src/interfaces/Chart/chart-pyramid.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-radar.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-radar.interface.d.ts +10 -0
- package/dist/src/interfaces/Chart/chart-radar.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-range-selector.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-range-selector.interface.d.ts +38 -0
- package/dist/src/interfaces/Chart/chart-range-selector.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-sankey.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-sankey.interface.d.ts +124 -0
- package/dist/src/interfaces/Chart/chart-sankey.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-series.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-series.interface.d.ts +80 -0
- package/dist/src/interfaces/Chart/chart-series.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-sparkline.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-sparkline.interface.d.ts +108 -0
- package/dist/src/interfaces/Chart/chart-sparkline.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-streamgraph.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-streamgraph.interface.d.ts +82 -0
- package/dist/src/interfaces/Chart/chart-streamgraph.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-sunburst.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-sunburst.interface.d.ts +100 -0
- package/dist/src/interfaces/Chart/chart-sunburst.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-tooltip.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-tooltip.interface.d.ts +55 -0
- package/dist/src/interfaces/Chart/chart-tooltip.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-treemap.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-treemap.interface.d.ts +106 -0
- package/dist/src/interfaces/Chart/chart-treemap.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-variwide.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-variwide.interface.d.ts +132 -0
- package/dist/src/interfaces/Chart/chart-variwide.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-word-cloud.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart-word-cloud.interface.d.ts +83 -0
- package/dist/src/interfaces/Chart/chart-word-cloud.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart.interface.cjs +1 -0
- package/dist/src/interfaces/Chart/chart.interface.d.ts +276 -0
- package/dist/src/interfaces/Chart/chart.interface.js +0 -0
- package/dist/src/interfaces/Chip/chip-group.interface.d.ts +4 -1
- package/dist/src/interfaces/Chip/chip.interface.d.ts +5 -1
- package/dist/src/interfaces/Clipboard/clipboard.interface.cjs +1 -0
- package/dist/src/interfaces/Clipboard/clipboard.interface.d.ts +106 -0
- package/dist/src/interfaces/Clipboard/clipboard.interface.js +0 -0
- package/dist/src/interfaces/Code/code.interface.d.ts +4 -14
- package/dist/src/interfaces/ColorPicker/color-picker-canvas.interface.d.ts +5 -1
- package/dist/src/interfaces/ColorPicker/color-picker-edit.interface.d.ts +5 -1
- package/dist/src/interfaces/ColorPicker/color-picker-preview.interface.d.ts +4 -1
- package/dist/src/interfaces/ColorPicker/color-picker-swatches.interface.d.ts +5 -1
- package/dist/src/interfaces/ColorPicker/color-picker.interface.d.ts +18 -2
- package/dist/src/interfaces/Commons/audio.interface.d.ts +7 -1
- package/dist/src/interfaces/Commons/clickOutside.interface.d.ts +5 -0
- package/dist/src/interfaces/Commons/commons.interface.d.ts +18 -0
- package/dist/src/interfaces/Commons/gradient.interface.cjs +1 -0
- package/dist/src/interfaces/Commons/gradient.interface.d.ts +39 -0
- package/dist/src/interfaces/Commons/gradient.interface.js +0 -0
- package/dist/src/interfaces/Commons/group.interface.d.ts +6 -0
- package/dist/src/interfaces/Commons/hover.interface.d.ts +4 -0
- package/dist/src/interfaces/Commons/layout.interface.d.ts +2 -2
- package/dist/src/interfaces/Commons/lazy.interface.d.ts +5 -1
- package/dist/src/interfaces/DataTable/data-table.interface.d.ts +12 -1
- package/dist/src/interfaces/DataTable/headers.interface.d.ts +6 -1
- package/dist/src/interfaces/DataTable/row.interface.d.ts +11 -0
- package/dist/src/interfaces/DatePicker/date-picker-controls.interface.d.ts +9 -0
- package/dist/src/interfaces/DatePicker/date-picker-header.interface.d.ts +4 -1
- package/dist/src/interfaces/DatePicker/date-picker-months.interface.d.ts +4 -0
- package/dist/src/interfaces/DatePicker/date-picker-years.interface.d.ts +4 -0
- package/dist/src/interfaces/DatePicker/date-picker.interface.d.ts +9 -1
- package/dist/src/interfaces/DatePickerField/date-picker-field.interface.d.ts +2 -2
- package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +5 -0
- package/dist/src/interfaces/Dialog/dialog.interface.d.ts +8 -1
- package/dist/src/interfaces/Drawer/drawer.interface.d.ts +4 -0
- package/dist/src/interfaces/EmptyState/empty-state.interface.cjs +1 -0
- package/dist/src/interfaces/EmptyState/empty-state.interface.d.ts +100 -0
- package/dist/src/interfaces/EmptyState/empty-state.interface.js +0 -0
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-header.interface.d.ts +4 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panel.interface.d.ts +4 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panels.interface.d.ts +4 -1
- package/dist/src/interfaces/FileField/file-field-dragndrop-item.interface.d.ts +2 -3
- package/dist/src/interfaces/FileField/file-field-list-item.interface.d.ts +2 -3
- package/dist/src/interfaces/Grid/grid-item.interface.cjs +1 -0
- package/dist/src/interfaces/Grid/grid-item.interface.d.ts +55 -0
- package/dist/src/interfaces/Grid/grid-item.interface.js +0 -0
- package/dist/src/interfaces/Grid/grid.interface.cjs +1 -0
- package/dist/src/interfaces/Grid/grid.interface.d.ts +121 -0
- package/dist/src/interfaces/Grid/grid.interface.js +0 -0
- package/dist/src/interfaces/Icon/icon.interface.d.ts +2 -2
- package/dist/src/interfaces/Img/img.interface.d.ts +14 -0
- package/dist/src/interfaces/InfiniteScroll/infinite-scroll.interface.d.ts +16 -0
- package/dist/src/interfaces/InlineEdit/inline-edit.interface.cjs +1 -0
- package/dist/src/interfaces/InlineEdit/inline-edit.interface.d.ts +241 -0
- package/dist/src/interfaces/InlineEdit/inline-edit.interface.js +0 -0
- package/dist/src/interfaces/ItemGroup/item-group.interface.d.ts +4 -1
- package/dist/src/interfaces/List/list-group.interface.d.ts +5 -0
- package/dist/src/interfaces/List/list-item.interface.d.ts +4 -1
- package/dist/src/interfaces/List/list.interface.d.ts +16 -0
- package/dist/src/interfaces/Main/main.interface.d.ts +2 -2
- package/dist/src/interfaces/Masonry/masonry.interface.cjs +1 -0
- package/dist/src/interfaces/Masonry/masonry.interface.d.ts +80 -0
- package/dist/src/interfaces/Masonry/masonry.interface.js +0 -0
- package/dist/src/interfaces/Media/index.cjs +49 -0
- package/dist/src/interfaces/Media/index.d.ts +4 -0
- package/dist/src/interfaces/Media/index.js +4 -0
- package/dist/src/interfaces/Media/media-controller.interface.cjs +1 -0
- package/dist/src/interfaces/Media/media-controller.interface.d.ts +159 -0
- package/dist/src/interfaces/Media/media-controller.interface.js +0 -0
- package/dist/src/interfaces/Media/media-player.interface.cjs +1 -0
- package/dist/src/interfaces/Media/media-player.interface.d.ts +121 -0
- package/dist/src/interfaces/Media/media-player.interface.js +0 -0
- package/dist/src/interfaces/Media/media-scrubber.interface.cjs +1 -0
- package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +129 -0
- package/dist/src/interfaces/Media/media-scrubber.interface.js +0 -0
- package/dist/src/interfaces/Media/media-volume-control.interface.cjs +1 -0
- package/dist/src/interfaces/Media/media-volume-control.interface.d.ts +68 -0
- package/dist/src/interfaces/Media/media-volume-control.interface.js +0 -0
- package/dist/src/interfaces/Menu/menu.interface.d.ts +7 -1
- package/dist/src/interfaces/NumberField/number-field.interface.d.ts +2 -2
- package/dist/src/interfaces/NumberFormat/number-format.interface.cjs +1 -0
- package/dist/src/interfaces/NumberFormat/number-format.interface.d.ts +161 -0
- package/dist/src/interfaces/NumberFormat/number-format.interface.js +0 -0
- package/dist/src/interfaces/OtpInputField/otp-input-field.interface.d.ts +2 -2
- package/dist/src/interfaces/Overlay/overlay-scrim.interface.d.ts +8 -1
- package/dist/src/interfaces/Overlay/overlay.interface.d.ts +8 -1
- package/dist/src/interfaces/Pagination/pagination.interface.d.ts +9 -1
- package/dist/src/interfaces/PasswordField/password-field.interface.d.ts +2 -2
- package/dist/src/interfaces/Picker/picker.interface.d.ts +2 -2
- package/dist/src/interfaces/QrCode/qr-code-logo.interface.cjs +1 -0
- package/dist/src/interfaces/QrCode/qr-code-logo.interface.d.ts +47 -0
- package/dist/src/interfaces/QrCode/qr-code-logo.interface.js +0 -0
- package/dist/src/interfaces/QrCode/qr-code.interface.cjs +1 -0
- package/dist/src/interfaces/QrCode/qr-code.interface.d.ts +152 -0
- package/dist/src/interfaces/QrCode/qr-code.interface.js +0 -0
- package/dist/src/interfaces/Radio/radio-btn.interface.d.ts +4 -1
- package/dist/src/interfaces/Radio/radio.interface.d.ts +4 -1
- package/dist/src/interfaces/RatingField/rating-field-item.interface.d.ts +7 -1
- package/dist/src/interfaces/RatingField/rating-field.interface.d.ts +5 -2
- package/dist/src/interfaces/Select/select.interface.d.ts +9 -1
- package/dist/src/interfaces/Slide/slide-group.interface.d.ts +4 -1
- package/dist/src/interfaces/SliderField/slider-field-track.interface.d.ts +17 -0
- package/dist/src/interfaces/SliderField/slider-field.interface.d.ts +77 -59
- package/dist/src/interfaces/Snackbar/snackbar-group-item.interface.cjs +1 -0
- package/dist/src/interfaces/{SnackbarStack/snackbar-stack-item.interface.d.ts → Snackbar/snackbar-group-item.interface.d.ts} +5 -5
- package/dist/src/interfaces/Snackbar/snackbar-group-item.interface.js +0 -0
- package/dist/src/interfaces/Snackbar/snackbar-group.interface.cjs +1 -0
- package/dist/src/interfaces/{SnackbarStack/snackbar-stack.interface.d.ts → Snackbar/snackbar-group.interface.d.ts} +7 -7
- package/dist/src/interfaces/Snackbar/snackbar-group.interface.js +0 -0
- package/dist/src/interfaces/Snackbar/snackbar-item.interface.cjs +1 -0
- package/dist/src/interfaces/Snackbar/snackbar-item.interface.d.ts +79 -0
- package/dist/src/interfaces/Snackbar/snackbar-item.interface.js +0 -0
- package/dist/src/interfaces/Stepper/stepper.interface.d.ts +2 -2
- package/dist/src/interfaces/Switch/switch-track.interface.d.ts +8 -0
- package/dist/src/interfaces/Switch/switch.interface.d.ts +5 -1
- package/dist/src/interfaces/Table/table.interface.d.ts +3 -0
- package/dist/src/interfaces/Tabs/tab-panels.interface.d.ts +4 -1
- package/dist/src/interfaces/Tabs/tabs.interface.d.ts +4 -1
- package/dist/src/interfaces/TextMask/text-mask.interface.cjs +1 -0
- package/dist/src/interfaces/TextMask/text-mask.interface.d.ts +112 -0
- package/dist/src/interfaces/TextMask/text-mask.interface.js +0 -0
- package/dist/src/interfaces/Tooltip/tooltip.interface.d.ts +4 -1
- package/dist/src/interfaces/Video/video-track.interface.cjs +1 -0
- package/dist/src/interfaces/Video/video-track.interface.d.ts +76 -0
- package/dist/src/interfaces/Video/video-track.interface.js +0 -0
- package/dist/src/interfaces/Video/video.interface.cjs +1 -0
- package/dist/src/interfaces/Video/video.interface.d.ts +317 -0
- package/dist/src/interfaces/Video/video.interface.js +0 -0
- package/dist/src/interfaces/VirtualScroll/virtual-scroll-item.interface.d.ts +6 -0
- package/dist/src/interfaces/Watermark/watermark.interface.cjs +1 -0
- package/dist/src/interfaces/Watermark/watermark.interface.d.ts +163 -0
- package/dist/src/interfaces/Watermark/watermark.interface.js +0 -0
- package/dist/src/interfaces/Window/window-item.interface.d.ts +4 -1
- package/dist/src/interfaces/Window/window.interface.d.ts +4 -1
- package/dist/src/interfaces/index.cjs +588 -49
- package/dist/src/interfaces/index.d.ts +55 -6
- package/dist/src/interfaces/index.js +55 -6
- package/dist/src/types/Audio/audio-controls.type.cjs +1 -0
- package/dist/src/types/Audio/audio-controls.type.d.ts +12 -0
- package/dist/src/types/Audio/audio-controls.type.js +0 -0
- package/dist/src/types/Audio/audio-loop-mode.type.cjs +1 -0
- package/dist/src/types/Audio/audio-loop-mode.type.d.ts +5 -0
- package/dist/src/types/Audio/audio-loop-mode.type.js +0 -0
- package/dist/src/types/Audio/audio-variant.type.cjs +1 -0
- package/dist/src/types/Audio/audio-variant.type.d.ts +7 -0
- package/dist/src/types/Audio/audio-variant.type.js +0 -0
- package/dist/src/types/Audio/cover-position.type.cjs +1 -0
- package/dist/src/types/Audio/cover-position.type.d.ts +6 -0
- package/dist/src/types/Audio/cover-position.type.js +0 -0
- package/dist/src/types/Blockquote/blockquote-align.type.cjs +1 -0
- package/dist/src/types/Blockquote/blockquote-align.type.d.ts +5 -0
- package/dist/src/types/Blockquote/blockquote-align.type.js +0 -0
- package/dist/src/types/Blockquote/blockquote-lang.type.cjs +1 -0
- package/dist/src/types/Blockquote/blockquote-lang.type.d.ts +18 -0
- package/dist/src/types/Blockquote/blockquote-lang.type.js +0 -0
- package/dist/src/types/Blockquote/blockquote-variant.type.cjs +1 -0
- package/dist/src/types/Blockquote/blockquote-variant.type.d.ts +17 -0
- package/dist/src/types/Blockquote/blockquote-variant.type.js +0 -0
- package/dist/src/types/Calendar/calendar-time-format.type.cjs +1 -0
- package/dist/src/types/Calendar/calendar-time-format.type.d.ts +13 -0
- package/dist/src/types/Calendar/calendar-time-format.type.js +0 -0
- package/dist/src/types/Calendar/calendar-view.type.cjs +1 -0
- package/dist/src/types/Calendar/calendar-view.type.d.ts +10 -0
- package/dist/src/types/Calendar/calendar-view.type.js +0 -0
- package/dist/src/types/Chart/chart-bullet-orientation.type.cjs +1 -0
- package/dist/src/types/Chart/chart-bullet-orientation.type.d.ts +1 -0
- package/dist/src/types/Chart/chart-bullet-orientation.type.js +0 -0
- package/dist/src/types/Chart/chart-cartesian-kind.type.cjs +1 -0
- package/dist/src/types/Chart/chart-cartesian-kind.type.d.ts +18 -0
- package/dist/src/types/Chart/chart-cartesian-kind.type.js +0 -0
- package/dist/src/types/Chart/chart-honeycomb-color-mode.type.cjs +1 -0
- package/dist/src/types/Chart/chart-honeycomb-color-mode.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-honeycomb-color-mode.type.js +0 -0
- package/dist/src/types/Chart/chart-honeycomb-orientation.type.cjs +1 -0
- package/dist/src/types/Chart/chart-honeycomb-orientation.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-honeycomb-orientation.type.js +0 -0
- package/dist/src/types/Chart/chart-item.type.cjs +1 -0
- package/dist/src/types/Chart/chart-item.type.d.ts +9 -0
- package/dist/src/types/Chart/chart-item.type.js +0 -0
- package/dist/src/types/Chart/chart-legend-position.type.cjs +1 -0
- package/dist/src/types/Chart/chart-legend-position.type.d.ts +6 -0
- package/dist/src/types/Chart/chart-legend-position.type.js +0 -0
- package/dist/src/types/Chart/chart-map-mode.type.cjs +1 -0
- package/dist/src/types/Chart/chart-map-mode.type.d.ts +8 -0
- package/dist/src/types/Chart/chart-map-mode.type.js +0 -0
- package/dist/src/types/Chart/chart-pictorial-direction.type.cjs +1 -0
- package/dist/src/types/Chart/chart-pictorial-direction.type.d.ts +1 -0
- package/dist/src/types/Chart/chart-pictorial-direction.type.js +0 -0
- package/dist/src/types/Chart/chart-pictorial-mode.type.cjs +1 -0
- package/dist/src/types/Chart/chart-pictorial-mode.type.d.ts +1 -0
- package/dist/src/types/Chart/chart-pictorial-mode.type.js +0 -0
- package/dist/src/types/Chart/chart-polar-kind.type.cjs +1 -0
- package/dist/src/types/Chart/chart-polar-kind.type.d.ts +14 -0
- package/dist/src/types/Chart/chart-polar-kind.type.js +0 -0
- package/dist/src/types/Chart/chart-pyramid-kind.type.cjs +1 -0
- package/dist/src/types/Chart/chart-pyramid-kind.type.d.ts +9 -0
- package/dist/src/types/Chart/chart-pyramid-kind.type.js +0 -0
- package/dist/src/types/Chart/chart-smoothing.type.cjs +1 -0
- package/dist/src/types/Chart/chart-smoothing.type.d.ts +17 -0
- package/dist/src/types/Chart/chart-smoothing.type.js +0 -0
- package/dist/src/types/Chart/chart-sparkline-kind.type.cjs +1 -0
- package/dist/src/types/Chart/chart-sparkline-kind.type.d.ts +10 -0
- package/dist/src/types/Chart/chart-sparkline-kind.type.js +0 -0
- package/dist/src/types/Chart/chart-stacking.type.cjs +1 -0
- package/dist/src/types/Chart/chart-stacking.type.d.ts +9 -0
- package/dist/src/types/Chart/chart-stacking.type.js +0 -0
- package/dist/src/types/Chart/chart-streamgraph-offset.type.cjs +1 -0
- package/dist/src/types/Chart/chart-streamgraph-offset.type.d.ts +1 -0
- package/dist/src/types/Chart/chart-streamgraph-offset.type.js +0 -0
- package/dist/src/types/Chart/chart-treemap-algorithm.type.cjs +1 -0
- package/dist/src/types/Chart/chart-treemap-algorithm.type.d.ts +12 -0
- package/dist/src/types/Chart/chart-treemap-algorithm.type.js +0 -0
- package/dist/src/types/Chart/chart-type.type.cjs +1 -0
- package/dist/src/types/Chart/chart-type.type.d.ts +7 -0
- package/dist/src/types/Chart/chart-type.type.js +0 -0
- package/dist/src/types/Chart/chart-word-cloud-rotation.type.cjs +1 -0
- package/dist/src/types/Chart/chart-word-cloud-rotation.type.d.ts +8 -0
- package/dist/src/types/Chart/chart-word-cloud-rotation.type.js +0 -0
- package/dist/src/types/Commons/color.type.d.ts +18 -1
- package/dist/src/types/EmptyState/empty-state-align.type.cjs +1 -0
- package/dist/src/types/EmptyState/empty-state-align.type.d.ts +10 -0
- package/dist/src/types/EmptyState/empty-state-align.type.js +0 -0
- package/dist/src/types/EmptyState/empty-state-preset.type.cjs +1 -0
- package/dist/src/types/EmptyState/empty-state-preset.type.d.ts +14 -0
- package/dist/src/types/EmptyState/empty-state-preset.type.js +0 -0
- package/dist/src/types/EmptyState/empty-state-size.type.cjs +1 -0
- package/dist/src/types/EmptyState/empty-state-size.type.d.ts +9 -0
- package/dist/src/types/EmptyState/empty-state-size.type.js +0 -0
- package/dist/src/types/Grid/grid-align.type.cjs +1 -0
- package/dist/src/types/Grid/grid-align.type.d.ts +28 -0
- package/dist/src/types/Grid/grid-align.type.js +0 -0
- package/dist/src/types/Grid/grid-flow.type.cjs +1 -0
- package/dist/src/types/Grid/grid-flow.type.d.ts +10 -0
- package/dist/src/types/Grid/grid-flow.type.js +0 -0
- package/dist/src/types/InlineEdit/inline-edit-input-type.type.cjs +1 -0
- package/dist/src/types/InlineEdit/inline-edit-input-type.type.d.ts +7 -0
- package/dist/src/types/InlineEdit/inline-edit-input-type.type.js +0 -0
- package/dist/src/types/Masonry/masonry-align.type.cjs +1 -0
- package/dist/src/types/Masonry/masonry-align.type.d.ts +16 -0
- package/dist/src/types/Masonry/masonry-align.type.js +0 -0
- package/dist/src/types/Media/index.cjs +27 -0
- package/dist/src/types/Media/index.d.ts +2 -0
- package/dist/src/types/Media/index.js +2 -0
- package/dist/src/types/Media/media-scrubber-orientation.type.cjs +1 -0
- package/dist/src/types/Media/media-scrubber-orientation.type.d.ts +6 -0
- package/dist/src/types/Media/media-scrubber-orientation.type.js +0 -0
- package/dist/src/types/Media/quality-option.type.cjs +1 -0
- package/dist/src/types/Media/quality-option.type.d.ts +25 -0
- package/dist/src/types/Media/quality-option.type.js +0 -0
- package/dist/src/types/NumberFormat/number-format-format.type.cjs +1 -0
- package/dist/src/types/NumberFormat/number-format-format.type.d.ts +56 -0
- package/dist/src/types/NumberFormat/number-format-format.type.js +0 -0
- package/dist/src/types/QrCode/qr-code-error-correction.type.cjs +1 -0
- package/dist/src/types/QrCode/qr-code-error-correction.type.d.ts +22 -0
- package/dist/src/types/QrCode/qr-code-error-correction.type.js +0 -0
- package/dist/src/types/SliderField/slider-field-variant.type.cjs +1 -0
- package/dist/src/types/SliderField/slider-field-variant.type.d.ts +10 -0
- package/dist/src/types/SliderField/slider-field-variant.type.js +0 -0
- package/dist/src/types/Snackbar/snackbar-group-direction.type.cjs +1 -0
- package/dist/src/types/{SnackbarStack/snackbar-stack-direction.type.d.ts → Snackbar/snackbar-group-direction.type.d.ts} +2 -2
- package/dist/src/types/Snackbar/snackbar-group-direction.type.js +0 -0
- package/dist/src/types/Snackbar/snackbar-group-location.type.cjs +1 -0
- package/dist/src/types/{SnackbarStack/snackbar-stack-location.type.d.ts → Snackbar/snackbar-group-location.type.d.ts} +2 -2
- package/dist/src/types/Snackbar/snackbar-group-location.type.js +0 -0
- package/dist/src/types/Snackbar/snackbar-group.type.cjs +1 -0
- package/dist/src/types/Snackbar/snackbar-group.type.d.ts +2 -0
- package/dist/src/types/Snackbar/snackbar-group.type.js +0 -0
- package/dist/src/types/TextMask/text-mask-animation.type.cjs +1 -0
- package/dist/src/types/TextMask/text-mask-animation.type.d.ts +16 -0
- package/dist/src/types/TextMask/text-mask-animation.type.js +0 -0
- package/dist/src/types/TextMask/text-mask.type.cjs +1 -0
- package/dist/src/types/TextMask/text-mask.type.d.ts +2 -0
- package/dist/src/types/TextMask/text-mask.type.js +0 -0
- package/dist/src/types/Video/video-controls.type.cjs +1 -0
- package/dist/src/types/Video/video-controls.type.d.ts +17 -0
- package/dist/src/types/Video/video-controls.type.js +0 -0
- package/dist/src/types/Video/video-track-kind.type.cjs +1 -0
- package/dist/src/types/Video/video-track-kind.type.d.ts +11 -0
- package/dist/src/types/Video/video-track-kind.type.js +0 -0
- package/dist/src/types/index.cjs +467 -38
- package/dist/src/types/index.d.ts +45 -6
- package/dist/src/types/index.js +45 -6
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/dist/src/utils/Calendar/date.util.cjs +181 -0
- package/dist/src/utils/Calendar/date.util.d.ts +96 -0
- package/dist/src/utils/Calendar/date.util.js +114 -0
- package/dist/src/utils/Calendar/rrule.util.cjs +105 -0
- package/dist/src/utils/Calendar/rrule.util.d.ts +49 -0
- package/dist/src/utils/Calendar/rrule.util.js +92 -0
- package/dist/src/utils/Chart/box-plot.util.cjs +62 -0
- package/dist/src/utils/Chart/box-plot.util.d.ts +32 -0
- package/dist/src/utils/Chart/box-plot.util.js +47 -0
- package/dist/src/utils/Chart/mercator.util.cjs +53 -0
- package/dist/src/utils/Chart/mercator.util.d.ts +51 -0
- package/dist/src/utils/Chart/mercator.util.js +44 -0
- package/dist/src/utils/Chart/path.util.cjs +150 -0
- package/dist/src/utils/Chart/path.util.d.ts +116 -0
- package/dist/src/utils/Chart/path.util.js +143 -0
- package/dist/src/utils/Commons/gradient.util.cjs +74 -0
- package/dist/src/utils/Commons/gradient.util.d.ts +36 -0
- package/dist/src/utils/Commons/gradient.util.js +66 -0
- package/dist/src/utils/Media/format-time.util.cjs +16 -0
- package/dist/src/utils/Media/format-time.util.d.ts +16 -0
- package/dist/src/utils/Media/format-time.util.js +10 -0
- package/dist/src/utils/QrCode/qr-code-adapters.util.cjs +34 -0
- package/dist/src/utils/QrCode/qr-code-adapters.util.d.ts +49 -0
- package/dist/src/utils/QrCode/qr-code-adapters.util.js +27 -0
- package/dist/src/utils/index.cjs +55 -22
- package/dist/src/utils/index.d.ts +5 -2
- package/dist/src/utils/index.js +5 -2
- package/package.json +10 -3
- package/dist/src/components/SliderField/OrigamSliderFieldThumb.vue +0 -384
- package/dist/src/components/SnackbarStack/OrigamSnackbarStack.vue +0 -457
- package/dist/src/components/SnackbarStack/index.cjs +0 -13
- package/dist/src/components/SnackbarStack/index.d.ts +0 -1
- package/dist/src/components/SnackbarStack/index.js +0 -1
- package/dist/src/consts/SliderField/slider-field.const.cjs +0 -7
- package/dist/src/consts/SliderField/slider-field.const.d.ts +0 -3
- package/dist/src/consts/SliderField/slider-field.const.js +0 -1
- package/dist/src/consts/SnackbarStack/snackbar-stack.const.cjs +0 -12
- package/dist/src/consts/SnackbarStack/snackbar-stack.const.d.ts +0 -33
- package/dist/src/consts/SnackbarStack/snackbar-stack.const.js +0 -18
- package/dist/src/enums/Charts/chart.enum.cjs +0 -12
- package/dist/src/enums/Charts/chart.enum.d.ts +0 -5
- package/dist/src/enums/Charts/chart.enum.js +0 -6
- package/dist/src/interfaces/Charts/chart-bar.interface.d.ts +0 -4
- package/dist/src/interfaces/Charts/chart-line.interface.d.ts +0 -15
- package/dist/src/interfaces/Charts/chart.interface.d.ts +0 -21
- package/dist/src/interfaces/SliderField/slider-field-thumb.interface.d.ts +0 -12
- package/dist/src/types/Charts/chart.type.d.ts +0 -5
- package/dist/src/types/SliderField/slider-field-thumb.type.d.ts +0 -2
- package/dist/src/types/SnackbarStack/snackbar-stack.type.d.ts +0 -2
- package/dist/src/utils/Charts/chart.util.cjs +0 -50
- package/dist/src/utils/Charts/chart.util.d.ts +0 -30
- package/dist/src/utils/Charts/chart.util.js +0 -40
- package/dist/src/utils/SliderField/slider-field.util.cjs +0 -12
- package/dist/src/utils/SliderField/slider-field.util.d.ts +0 -8
- package/dist/src/utils/SliderField/slider-field.util.js +0 -6
- /package/dist/src/{interfaces/Charts/chart-bar.interface.js → components/QRCode/index.d.ts} +0 -0
- /package/dist/src/interfaces/{Charts/chart-bar.interface.cjs → Audio/audio-player.interface.cjs} +0 -0
- /package/dist/src/interfaces/{Charts/chart-line.interface.js → Audio/audio-player.interface.js} +0 -0
- /package/dist/src/interfaces/{Charts/chart-line.interface.cjs → Blockquote/blockquote.interface.cjs} +0 -0
- /package/dist/src/interfaces/{Charts/chart.interface.js → Blockquote/blockquote.interface.js} +0 -0
- /package/dist/src/interfaces/{Charts/chart.interface.cjs → Calendar/calendar.interface.cjs} +0 -0
- /package/dist/src/interfaces/{SliderField/slider-field-thumb.interface.js → Calendar/calendar.interface.js} +0 -0
- /package/dist/src/interfaces/{SliderField/slider-field-thumb.interface.cjs → Calendar/event.interface.cjs} +0 -0
- /package/dist/src/interfaces/{SnackbarStack/snackbar-stack-item.interface.js → Calendar/event.interface.js} +0 -0
- /package/dist/src/interfaces/{SnackbarStack/snackbar-stack-item.interface.cjs → Chart/chart-annotation.interface.cjs} +0 -0
- /package/dist/src/interfaces/{SnackbarStack/snackbar-stack.interface.js → Chart/chart-annotation.interface.js} +0 -0
- /package/dist/src/interfaces/{SnackbarStack/snackbar-stack.interface.cjs → Chart/chart-axis.interface.cjs} +0 -0
- /package/dist/src/{types/Charts/chart.type.js → interfaces/Chart/chart-axis.interface.js} +0 -0
- /package/dist/src/{types/Charts/chart.type.cjs → interfaces/Chart/chart-base.interface.cjs} +0 -0
- /package/dist/src/{types/SliderField/slider-field-thumb.type.js → interfaces/Chart/chart-base.interface.js} +0 -0
- /package/dist/src/{types/SliderField/slider-field-thumb.type.cjs → interfaces/Chart/chart-box-plot.interface.cjs} +0 -0
- /package/dist/src/{types/SnackbarStack/snackbar-stack-direction.type.js → interfaces/Chart/chart-box-plot.interface.js} +0 -0
- /package/dist/src/{types/SnackbarStack/snackbar-stack-direction.type.cjs → interfaces/Chart/chart-bullet.interface.cjs} +0 -0
- /package/dist/src/{types/SnackbarStack/snackbar-stack-location.type.js → interfaces/Chart/chart-bullet.interface.js} +0 -0
- /package/dist/src/{types/SnackbarStack/snackbar-stack-location.type.cjs → interfaces/Chart/chart-candlestick.interface.cjs} +0 -0
- /package/dist/src/{types/SnackbarStack/snackbar-stack.type.js → interfaces/Chart/chart-candlestick.interface.js} +0 -0
- /package/dist/src/{types/SnackbarStack/snackbar-stack.type.cjs → interfaces/Chart/chart-cartesian.interface.cjs} +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
|
|
2
|
+
import type { TEmptyStateAlign, TEmptyStatePreset, TEmptyStateSize, TIcon, TIntent } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for `<OrigamEmptyState>` — placeholder shown when a list, table
|
|
5
|
+
* or collection has nothing to render.
|
|
6
|
+
*
|
|
7
|
+
* Five visual presets (`no-data`, `no-results`, `error`, `offline`,
|
|
8
|
+
* `locked`) cover the most common cases: each preset bundles an icon
|
|
9
|
+
* and an intent so callers do not have to wire those by hand. Both
|
|
10
|
+
* sides can be overridden via the `icon` and `iconColor` props for the
|
|
11
|
+
* 5% case. Slots are provided to replace the icon (with an SVG / img),
|
|
12
|
+
* title, description, or the entire layout for custom illustrations.
|
|
13
|
+
*/
|
|
14
|
+
export interface IEmptyStateProps extends ICommonsComponentProps, ITagProps {
|
|
15
|
+
/**
|
|
16
|
+
* Visual preset. Bundles a default icon and intent — see
|
|
17
|
+
* `EMPTY_STATE_PRESET_CONFIG`. The preset is the starting point;
|
|
18
|
+
* `icon` and `iconColor` win when both are passed.
|
|
19
|
+
*
|
|
20
|
+
* @default 'no-data'
|
|
21
|
+
*/
|
|
22
|
+
preset?: TEmptyStatePreset;
|
|
23
|
+
/**
|
|
24
|
+
* Primary heading. Rendered as a `<h2>`-equivalent element with
|
|
25
|
+
* the chosen `size`. Override entirely via the `#title` slot when
|
|
26
|
+
* richer markup is needed (a link, an icon-prefix, …).
|
|
27
|
+
*/
|
|
28
|
+
title?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional sub-heading rendered below the title. Multiple lines
|
|
31
|
+
* supported; the SCSS layer clamps the readable width via the
|
|
32
|
+
* `--origam-empty-state---max-width` token.
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Override the preset icon. Accepts the same `TIcon` shape as
|
|
37
|
+
* `<OrigamIcon>`: a MDI / iconify string, an array of SVG path
|
|
38
|
+
* tuples, or a Vue `Component`. Use the `#icon` slot for full
|
|
39
|
+
* SVG / `<img>` illustrations.
|
|
40
|
+
*/
|
|
41
|
+
icon?: TIcon;
|
|
42
|
+
/**
|
|
43
|
+
* Override the preset's icon color (the semantic intent that maps
|
|
44
|
+
* to `--origam-color__action--{intent}---bg` /
|
|
45
|
+
* `--origam-color__feedback--{intent}---bg`).
|
|
46
|
+
*/
|
|
47
|
+
iconColor?: TIntent;
|
|
48
|
+
/**
|
|
49
|
+
* Vertical density. Drives icon size, title / description font
|
|
50
|
+
* sizes, padding and gap.
|
|
51
|
+
*
|
|
52
|
+
* @default 'md'
|
|
53
|
+
*/
|
|
54
|
+
size?: TEmptyStateSize;
|
|
55
|
+
/**
|
|
56
|
+
* Horizontal alignment of the icon / title / description / actions
|
|
57
|
+
* stack.
|
|
58
|
+
*
|
|
59
|
+
* @default 'center'
|
|
60
|
+
*/
|
|
61
|
+
align?: TEmptyStateAlign;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Slot signatures for `<OrigamEmptyState>`. All slots are optional.
|
|
65
|
+
* When the `default` slot is provided, it replaces the entire built-in
|
|
66
|
+
* layout — the parent regains full control over the placeholder
|
|
67
|
+
* markup. Use the targeted slots (`icon`, `title`, `description`,
|
|
68
|
+
* `actions`) to swap one piece at a time.
|
|
69
|
+
*/
|
|
70
|
+
export interface IEmptyStateSlots {
|
|
71
|
+
/**
|
|
72
|
+
* Replaces the entire built-in layout (icon + title + description
|
|
73
|
+
* + actions). Use this for a fully bespoke layout — e.g. a hero
|
|
74
|
+
* empty page with a custom illustration and a multi-column CTA
|
|
75
|
+
* grid.
|
|
76
|
+
*/
|
|
77
|
+
default?: () => any;
|
|
78
|
+
/**
|
|
79
|
+
* Replaces the default `<OrigamIcon>` rendering. Use for SVG /
|
|
80
|
+
* `<img>` illustrations. Mark the surface `aria-hidden="true"`
|
|
81
|
+
* when it is purely decorative.
|
|
82
|
+
*/
|
|
83
|
+
icon?: () => any;
|
|
84
|
+
/**
|
|
85
|
+
* Replaces the rendered title element. Slot wins over the `title`
|
|
86
|
+
* prop when both are provided.
|
|
87
|
+
*/
|
|
88
|
+
title?: () => any;
|
|
89
|
+
/**
|
|
90
|
+
* Replaces the rendered description element. Slot wins over the
|
|
91
|
+
* `description` prop when both are provided.
|
|
92
|
+
*/
|
|
93
|
+
description?: () => any;
|
|
94
|
+
/**
|
|
95
|
+
* Actions row rendered below the description (or the title when
|
|
96
|
+
* `description` is absent). Typically holds 1–2 buttons (Create,
|
|
97
|
+
* Retry, Switch to offline mode, Sign in).
|
|
98
|
+
*/
|
|
99
|
+
actions?: () => any;
|
|
100
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IActiveProps, IAdjacentProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IHoverProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IAdjacentEmits, IAdjacentProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IHoverProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
3
|
export interface IExpansionPanelHeaderProps extends IColorProps, IBgColorProps, ITagProps, ICommonsComponentProps, IDensityProps, IRoundedProps, IBorderProps, IPaddingProps, IMarginProps, IAdjacentProps, IRippleProps, IActiveProps, IHoverProps {
|
|
4
4
|
expandIcon?: TIcon;
|
|
@@ -9,3 +9,6 @@ export interface IExpansionPanelHeaderProps extends IColorProps, IBgColorProps,
|
|
|
9
9
|
readonly?: boolean;
|
|
10
10
|
title?: string;
|
|
11
11
|
}
|
|
12
|
+
/** Emits fired by `<OrigamExpansionPanelHeader>` — prepend/append icon clicks. */
|
|
13
|
+
export interface IExpansionPanelHeaderEmits extends IAdjacentEmits {
|
|
14
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IExpansionPanelContentProps, IExpansionPanelHeaderProps, IGroupItemProps, IHoverProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IExpansionPanelContentProps, IExpansionPanelHeaderProps, IGroupEmits, IGroupItemProps, IHoverProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
2
|
export interface IExpansionPanelProps extends ITagProps, ICommonsComponentProps, IDensityProps, IColorProps, IBgColorProps, IBorderProps, IPaddingProps, IMarginProps, IElevationProps, IRoundedProps, IGroupItemProps, IExpansionPanelHeaderProps, IExpansionPanelContentProps, ILazyProps, ILoaderProps, IActiveProps, IHoverProps {
|
|
3
3
|
}
|
|
4
|
+
/** Emits fired by `<OrigamExpansionPanel>` — group membership lifecycle. */
|
|
5
|
+
export interface IExpansionPanelEmits extends IGroupEmits {
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IExpansionPanelProps, IGroupProps, IHoverProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IElevationProps, IExpansionPanelProps, IGroupProps, IHoverProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
3
|
export interface IExpansionPanelsProps extends IColorProps, IBgColorProps, ITagProps, ICommonsComponentProps, IGroupProps, IDensityProps, IRoundedProps, IBorderProps, IPaddingProps, IMarginProps, ILazyProps, ILoaderProps, IElevationProps, IActiveProps, IHoverProps {
|
|
4
4
|
flat?: boolean;
|
|
@@ -10,3 +10,6 @@ export interface IExpansionPanelsProps extends IColorProps, IBgColorProps, ITagP
|
|
|
10
10
|
collapseIcon?: TIcon;
|
|
11
11
|
hideActions?: boolean;
|
|
12
12
|
}
|
|
13
|
+
/** Emits fired by `<OrigamExpansionPanels>` — v-model on the active panel set. */
|
|
14
|
+
export interface IExpansionPanelsEmits extends ICommonsComponentEmits {
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IColorProps, ICommonsComponentProps } from '../../interfaces';
|
|
2
|
-
export interface IFileFieldDragNDropItemProps extends ICommonsComponentProps {
|
|
1
|
+
import type { IColorProps, ICommonsComponentProps } from '../../interfaces';
|
|
2
|
+
export interface IFileFieldDragNDropItemProps extends ICommonsComponentProps, IColorProps {
|
|
3
3
|
file: File;
|
|
4
4
|
index: number;
|
|
5
5
|
progress?: number;
|
|
@@ -7,7 +7,6 @@ export interface IFileFieldDragNDropItemProps extends ICommonsComponentProps {
|
|
|
7
7
|
removeIcon?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
readonly?: boolean;
|
|
10
|
-
color?: IColorProps['color'];
|
|
11
10
|
showSize?: boolean | 1000 | 1024;
|
|
12
11
|
}
|
|
13
12
|
export interface IFileFieldDragNDropItemEmits {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IColorProps, ICommonsComponentProps } from '../../interfaces';
|
|
2
|
-
export interface IFileFieldListItemProps extends ICommonsComponentProps {
|
|
1
|
+
import type { IColorProps, ICommonsComponentProps } from '../../interfaces';
|
|
2
|
+
export interface IFileFieldListItemProps extends ICommonsComponentProps, IColorProps {
|
|
3
3
|
file: File;
|
|
4
4
|
index: number;
|
|
5
5
|
progress?: number;
|
|
@@ -7,7 +7,6 @@ export interface IFileFieldListItemProps extends ICommonsComponentProps {
|
|
|
7
7
|
removeIcon?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
readonly?: boolean;
|
|
10
|
-
color?: IColorProps['color'];
|
|
11
10
|
showSize?: boolean | 1000 | 1024;
|
|
12
11
|
}
|
|
13
12
|
export interface IFileFieldListItemEmits {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
|
|
2
|
+
import type { TGridPlaceSelf } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Object syntax for a grid line spec. The same shape is used for
|
|
5
|
+
* `column` and `row`. Either pass `start` + `end`, or `start` + `span`,
|
|
6
|
+
* or any subset (defaults are `auto`).
|
|
7
|
+
*
|
|
8
|
+
* `span` is mutually exclusive with `end` — when both are passed, `span`
|
|
9
|
+
* wins (it's the more common ergonomic case).
|
|
10
|
+
*/
|
|
11
|
+
export interface IGridLineSpec {
|
|
12
|
+
/** Inclusive starting grid line. Accepts a number or a named line. */
|
|
13
|
+
start?: number | string;
|
|
14
|
+
/** Exclusive ending grid line. Accepts a number or a named line. */
|
|
15
|
+
end?: number | string;
|
|
16
|
+
/** Span N tracks from `start`. Wins over `end` when both are set. */
|
|
17
|
+
span?: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Props for `<OrigamGridItem>` — a thin wrapper that emits the per-item
|
|
21
|
+
* CSS Grid placement properties. The component is optional: anyone can
|
|
22
|
+
* achieve the same result by setting `style="grid-area: …"` on a plain
|
|
23
|
+
* `<div>`. The wrapper exists to (a) avoid forcing consumers to remember
|
|
24
|
+
* the verbose CSS syntax, and (b) accept an ergonomic object syntax.
|
|
25
|
+
*/
|
|
26
|
+
export interface IGridItemProps extends ICommonsComponentProps, ITagProps {
|
|
27
|
+
/**
|
|
28
|
+
* Inline-axis placement (`grid-column`). Two accepted shapes:
|
|
29
|
+
*
|
|
30
|
+
* - object: `{ start: 1, end: 5 }` or `{ start: 1, span: 4 }` —
|
|
31
|
+
* the component serialises to the right CSS.
|
|
32
|
+
* - string: `'1 / 5'`, `'span 2'`, `'main-start / main-end'` —
|
|
33
|
+
* passed verbatim.
|
|
34
|
+
*/
|
|
35
|
+
column?: IGridLineSpec | string | number;
|
|
36
|
+
/**
|
|
37
|
+
* Block-axis placement (`grid-row`). Same accepted shapes as `column`.
|
|
38
|
+
*/
|
|
39
|
+
row?: IGridLineSpec | string | number;
|
|
40
|
+
/**
|
|
41
|
+
* `grid-area` name. When set, overrides `column` / `row` (CSS rule).
|
|
42
|
+
* Use this in conjunction with the parent grid's `areas` prop.
|
|
43
|
+
*/
|
|
44
|
+
area?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Per-item `align-self` override. Falls back to the parent grid's
|
|
47
|
+
* `alignItems` when unset.
|
|
48
|
+
*/
|
|
49
|
+
alignSelf?: TGridPlaceSelf;
|
|
50
|
+
/**
|
|
51
|
+
* Per-item `justify-self` override. Falls back to the parent grid's
|
|
52
|
+
* `justifyItems` when unset.
|
|
53
|
+
*/
|
|
54
|
+
justifySelf?: TGridPlaceSelf;
|
|
55
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
|
+
import type { TGridAutoFlow, TGridGapSize, TGridPlaceContent, TGridPlaceItems } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tracks definition accepted by `columns` / `rows` / `autoColumns` /
|
|
5
|
+
* `autoRows`. The three accepted shapes are intentionally permissive
|
|
6
|
+
* because CSS `grid-template-*` is itself extremely permissive:
|
|
7
|
+
*
|
|
8
|
+
* - `number` → `repeat(N, 1fr)` — the 90 % case ("just give me 12 columns").
|
|
9
|
+
* - `string` → passed verbatim — escape hatch for `repeat(auto-fill, minmax(200px, 1fr))`,
|
|
10
|
+
* named lines, custom track lists, …
|
|
11
|
+
* - `string[]` → joined with a single space — useful when the consumer
|
|
12
|
+
* wants per-track sizing without nested-string awkwardness
|
|
13
|
+
* (`['200px', '1fr', '200px']`).
|
|
14
|
+
*/
|
|
15
|
+
export type TGridTracks = number | string | ReadonlyArray<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Props for `<OrigamGrid>` — a declarative CSS Grid container.
|
|
18
|
+
*
|
|
19
|
+
* The component is intentionally thin: it forwards every CSS Grid
|
|
20
|
+
* property through inline custom properties on the root element.
|
|
21
|
+
* No track measurement, no JS resize observation — modern browsers
|
|
22
|
+
* have shipped Grid since 2017 and we lean on that.
|
|
23
|
+
*/
|
|
24
|
+
export interface IGridProps extends ICommonsComponentProps, ITagProps, IDimensionProps, IMarginProps, IPaddingProps, IRoundedProps, IElevationProps, IBgColorProps, IColorProps, IBorderProps {
|
|
25
|
+
/**
|
|
26
|
+
* Track template for the inline axis (`grid-template-columns`).
|
|
27
|
+
*
|
|
28
|
+
* - `number` (e.g. `12`) — sugar for `repeat(N, 1fr)`.
|
|
29
|
+
* - `string` (e.g. `'1fr 2fr 1fr'` or `'repeat(auto-fill, minmax(200px, 1fr))'`)
|
|
30
|
+
* — passed verbatim.
|
|
31
|
+
* - `string[]` (e.g. `['200px', '1fr', '200px']`) — joined with single space.
|
|
32
|
+
*
|
|
33
|
+
* @default 'auto'
|
|
34
|
+
*/
|
|
35
|
+
columns?: TGridTracks;
|
|
36
|
+
/**
|
|
37
|
+
* Track template for the block axis (`grid-template-rows`).
|
|
38
|
+
* Same accepted shapes as `columns`.
|
|
39
|
+
*
|
|
40
|
+
* @default 'auto'
|
|
41
|
+
*/
|
|
42
|
+
rows?: TGridTracks;
|
|
43
|
+
/**
|
|
44
|
+
* Both-axis gap. Accepts:
|
|
45
|
+
*
|
|
46
|
+
* - one of the size tokens `'xs' | 'sm' | 'md' | 'lg' | 'xl'`
|
|
47
|
+
* (resolved via `tokens/component/grid.json`).
|
|
48
|
+
* - any CSS length string (`'24px'`, `'1rem'`, `'1rem 2rem'`).
|
|
49
|
+
* - a plain `number` interpreted as pixels.
|
|
50
|
+
*
|
|
51
|
+
* `columnGap` / `rowGap` take precedence on their respective axis.
|
|
52
|
+
*
|
|
53
|
+
* @default 'md'
|
|
54
|
+
*/
|
|
55
|
+
gap?: TGridGapSize | string | number;
|
|
56
|
+
/**
|
|
57
|
+
* Inline-axis-only gap override. Same accepted shapes as `gap`.
|
|
58
|
+
*/
|
|
59
|
+
columnGap?: TGridGapSize | string | number;
|
|
60
|
+
/**
|
|
61
|
+
* Block-axis-only gap override. Same accepted shapes as `gap`.
|
|
62
|
+
*/
|
|
63
|
+
rowGap?: TGridGapSize | string | number;
|
|
64
|
+
/**
|
|
65
|
+
* `grid-template-areas`. Two accepted shapes:
|
|
66
|
+
*
|
|
67
|
+
* - `string[]` — every entry is one row of the template
|
|
68
|
+
* (`['header header', 'sidebar main']`). Each entry is wrapped in
|
|
69
|
+
* quotes by the component, so the consumer doesn't have to.
|
|
70
|
+
* - `string` — raw CSS, passed verbatim. Use it when you want to
|
|
71
|
+
* inline `". header ."` style escape hatches with multiple double-
|
|
72
|
+
* quoted rows yourself.
|
|
73
|
+
*/
|
|
74
|
+
areas?: string | ReadonlyArray<string>;
|
|
75
|
+
/**
|
|
76
|
+
* `grid-auto-flow`. Controls how implicit tracks are filled when
|
|
77
|
+
* items don't declare an explicit area.
|
|
78
|
+
*
|
|
79
|
+
* @default 'row'
|
|
80
|
+
*/
|
|
81
|
+
autoFlow?: TGridAutoFlow;
|
|
82
|
+
/**
|
|
83
|
+
* `grid-auto-columns` — sizes for implicit columns. Free-form CSS.
|
|
84
|
+
*/
|
|
85
|
+
autoColumns?: string;
|
|
86
|
+
/**
|
|
87
|
+
* `grid-auto-rows` — sizes for implicit rows. Free-form CSS.
|
|
88
|
+
*/
|
|
89
|
+
autoRows?: string;
|
|
90
|
+
/**
|
|
91
|
+
* `align-items` — block-axis alignment of grid items inside their cells.
|
|
92
|
+
*
|
|
93
|
+
* @default 'stretch'
|
|
94
|
+
*/
|
|
95
|
+
alignItems?: TGridPlaceItems;
|
|
96
|
+
/**
|
|
97
|
+
* `justify-items` — inline-axis alignment of grid items inside their cells.
|
|
98
|
+
*
|
|
99
|
+
* @default 'stretch'
|
|
100
|
+
*/
|
|
101
|
+
justifyItems?: TGridPlaceItems;
|
|
102
|
+
/**
|
|
103
|
+
* `align-content` — block-axis alignment of the whole grid inside
|
|
104
|
+
* its container (only relevant when the grid is smaller than its
|
|
105
|
+
* container on that axis).
|
|
106
|
+
*/
|
|
107
|
+
alignContent?: TGridPlaceContent;
|
|
108
|
+
/**
|
|
109
|
+
* `justify-content` — inline-axis alignment of the whole grid
|
|
110
|
+
* inside its container.
|
|
111
|
+
*/
|
|
112
|
+
justifyContent?: TGridPlaceContent;
|
|
113
|
+
/**
|
|
114
|
+
* Toggles `display: inline-grid` instead of `display: grid`. Useful
|
|
115
|
+
* for inline-flow layouts (e.g. a label + tag pill where you want
|
|
116
|
+
* the grid to size to its content).
|
|
117
|
+
*
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
inline?: boolean;
|
|
121
|
+
}
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { IBorderProps, IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDimensionProps, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon, TIconComponent } from '../../types';
|
|
3
3
|
export interface IIconProps {
|
|
4
4
|
icon?: TIcon;
|
|
5
5
|
}
|
|
6
|
-
export interface IIconComponentProps extends IIconProps, IColorProps, ICommonsComponentProps, ITagProps, ISizeProps, IPaddingProps, IMarginProps, IBorderProps {
|
|
6
|
+
export interface IIconComponentProps extends IIconProps, IColorProps, IBgColorProps, ICommonsComponentProps, ITagProps, ISizeProps, IPaddingProps, IMarginProps, IBorderProps, IDimensionProps, IRoundedProps {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export interface IIconAliases {
|
|
@@ -21,3 +21,17 @@ export interface ISrcObject {
|
|
|
21
21
|
aspectRatio: number;
|
|
22
22
|
alt?: string;
|
|
23
23
|
}
|
|
24
|
+
/** Emits fired by `<OrigamImg>` — native <img> lifecycle (loadstart fires
|
|
25
|
+
* before the network request, load when the resource is fully decoded,
|
|
26
|
+
* error when the browser gives up). */
|
|
27
|
+
export interface IImgEmits {
|
|
28
|
+
(e: 'loadstart', value: {
|
|
29
|
+
src: string;
|
|
30
|
+
}): void;
|
|
31
|
+
(e: 'load', value: {
|
|
32
|
+
src: string;
|
|
33
|
+
}): void;
|
|
34
|
+
(e: 'error', value: {
|
|
35
|
+
src: string;
|
|
36
|
+
}): void;
|
|
37
|
+
}
|
|
@@ -12,3 +12,19 @@ export interface IInfiniteScrollIntersectProps extends ICommonsComponentProps {
|
|
|
12
12
|
rootRef: HTMLElement;
|
|
13
13
|
margin?: string;
|
|
14
14
|
}
|
|
15
|
+
/** Emits fired by `<OrigamInfiniteScroll>` — `load` fires when the sentinel
|
|
16
|
+
* enters the viewport and the parent should fetch the next page. */
|
|
17
|
+
export interface IInfiniteScrollEmits {
|
|
18
|
+
(e: 'load', value: {
|
|
19
|
+
side: TInfiniteScrollSide;
|
|
20
|
+
done: (status: 'ok' | 'empty' | 'error') => void;
|
|
21
|
+
}): void;
|
|
22
|
+
}
|
|
23
|
+
/** Emits fired by `<OrigamInfiniteScrollIntersect>` — the lower-level
|
|
24
|
+
* sentinel that just bubbles its IntersectionObserver entries. */
|
|
25
|
+
export interface IInfiniteScrollIntersectEmits {
|
|
26
|
+
(e: 'intersect', value: {
|
|
27
|
+
isIntersecting: boolean;
|
|
28
|
+
side: TInfiniteScrollSide;
|
|
29
|
+
}): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
|
|
2
|
+
import type { TInlineEditInputType } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Signature of a validator passed to `<OrigamInlineEdit>` (and to the
|
|
5
|
+
* `useInlineEdit` composable). Returns `true` when the draft value is
|
|
6
|
+
* acceptable, or an error message (`string`) that the component will
|
|
7
|
+
* surface via `role="alert"`.
|
|
8
|
+
*
|
|
9
|
+
* Async validators are supported — return a `Promise` and the component
|
|
10
|
+
* will keep the editor open (and expose `isPending = true`) until it
|
|
11
|
+
* resolves.
|
|
12
|
+
*/
|
|
13
|
+
export type TInlineEditValidator = (value: string) => true | string | Promise<true | string>;
|
|
14
|
+
/**
|
|
15
|
+
* Props for `<OrigamInlineEdit>` — edit-in-place pattern.
|
|
16
|
+
*
|
|
17
|
+
* The component is intentionally headless on the display side: by
|
|
18
|
+
* default it renders a button-styled span with the current value (or
|
|
19
|
+
* the placeholder when the value is empty); consumers can fully
|
|
20
|
+
* override the affordance via the scoped `#display` slot. In edit
|
|
21
|
+
* mode it renders a native `<input>` (or `<textarea>` when `multiline`
|
|
22
|
+
* is true) — wrapping a heavier component (TextField, …) is not
|
|
23
|
+
* needed and would defeat the keyboard-driven UX.
|
|
24
|
+
*/
|
|
25
|
+
export interface IInlineEditProps extends ICommonsComponentProps, ITagProps {
|
|
26
|
+
/**
|
|
27
|
+
* Current value (v-model target). Accepts both `string` and
|
|
28
|
+
* `number` for ergonomics — the internal draft is normalised to a
|
|
29
|
+
* string, then `update:modelValue` re-emits with the same shape as
|
|
30
|
+
* the original (number stays number, string stays string).
|
|
31
|
+
*/
|
|
32
|
+
modelValue: string | number;
|
|
33
|
+
/**
|
|
34
|
+
* Placeholder shown on the input AND surfaced inside the default
|
|
35
|
+
* `#display` slot when `modelValue` is empty. Consumers wrap with
|
|
36
|
+
* `t()` if they need i18n.
|
|
37
|
+
*/
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Validation callback. Returns `true` (or `Promise<true>`) when
|
|
41
|
+
* the draft is acceptable, or an error message string that will
|
|
42
|
+
* be surfaced in a `role="alert"` element near the input.
|
|
43
|
+
*
|
|
44
|
+
* Sync validators run on every Enter / blur. Async validators
|
|
45
|
+
* keep the editor open until the returned Promise settles.
|
|
46
|
+
*/
|
|
47
|
+
validate?: TInlineEditValidator;
|
|
48
|
+
/**
|
|
49
|
+
* Auto-focus the input when entering edit mode. Setting this to
|
|
50
|
+
* false is useful for forms where keyboard focus is managed by a
|
|
51
|
+
* parent (e.g. a wizard that steps focus through siblings).
|
|
52
|
+
*
|
|
53
|
+
* @default true
|
|
54
|
+
*/
|
|
55
|
+
autoFocus?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Select all the input's text when it gains focus on edit entry.
|
|
58
|
+
* Common for "click title to rename" patterns — the user can
|
|
59
|
+
* immediately type a replacement without selecting first.
|
|
60
|
+
*
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
selectOnFocus?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Confirm the draft when the input loses focus. When false, the
|
|
66
|
+
* editor stays open on blur and the user must explicitly Enter
|
|
67
|
+
* to confirm or Escape to cancel.
|
|
68
|
+
*
|
|
69
|
+
* @default true
|
|
70
|
+
*/
|
|
71
|
+
confirmOnBlur?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Confirm on `Enter`. Disable when the edit zone is a multiline
|
|
74
|
+
* textarea and Enter should produce a newline (Cmd/Ctrl+Enter to
|
|
75
|
+
* confirm is the convention — apps wire this manually).
|
|
76
|
+
*
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
confirmOnEnter?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Cancel (revert the draft) on `Escape`.
|
|
82
|
+
*
|
|
83
|
+
* @default true
|
|
84
|
+
*/
|
|
85
|
+
cancelOnEscape?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Disables the component — the display affordance becomes
|
|
88
|
+
* non-interactive (button `disabled`, span `aria-disabled`), the
|
|
89
|
+
* `edit()` method short-circuits, and any in-flight edit is
|
|
90
|
+
* cancelled (draft discarded).
|
|
91
|
+
*
|
|
92
|
+
* @default false
|
|
93
|
+
*/
|
|
94
|
+
disabled?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Render a `<textarea>` instead of a `<input>` in edit mode.
|
|
97
|
+
* When true, `confirmOnEnter` should generally be disabled by the
|
|
98
|
+
* consumer so newlines are not swallowed.
|
|
99
|
+
*
|
|
100
|
+
* @default false
|
|
101
|
+
*/
|
|
102
|
+
multiline?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Strip surrounding whitespace before emitting `update:modelValue`
|
|
105
|
+
* AND before running the validator. Disable for fields where
|
|
106
|
+
* trailing spaces are significant (passwords, …).
|
|
107
|
+
*
|
|
108
|
+
* @default true
|
|
109
|
+
*/
|
|
110
|
+
trim?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Native HTML input type when not in multiline mode.
|
|
113
|
+
*
|
|
114
|
+
* @default 'text'
|
|
115
|
+
*/
|
|
116
|
+
inputType?: TInlineEditInputType;
|
|
117
|
+
/**
|
|
118
|
+
* Surface a loading affordance (CSS class hook) on the root while
|
|
119
|
+
* an async `validate` Promise is in flight. The component sets
|
|
120
|
+
* `aria-busy="true"` regardless — this prop only controls the
|
|
121
|
+
* visual hook.
|
|
122
|
+
*
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
loadingOnConfirm?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Render built-in action buttons (Edit / Confirm / Cancel) next to
|
|
128
|
+
* the component.
|
|
129
|
+
*
|
|
130
|
+
* When `false` (default), only keyboard shortcuts are available:
|
|
131
|
+
* Enter to confirm, Escape to cancel, click on the display to edit.
|
|
132
|
+
*
|
|
133
|
+
* When `true`, three icon buttons are rendered:
|
|
134
|
+
* - **Edit** — visible in display mode, enters edit mode on click.
|
|
135
|
+
* - **Confirm** — visible in edit mode, commits the draft on click.
|
|
136
|
+
* - **Cancel** — visible in edit mode, discards the draft on click.
|
|
137
|
+
*
|
|
138
|
+
* The `disabled` prop also disables all three buttons.
|
|
139
|
+
*
|
|
140
|
+
* @default false
|
|
141
|
+
*/
|
|
142
|
+
showActions?: boolean;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Emits for `<OrigamInlineEdit>`.
|
|
146
|
+
*/
|
|
147
|
+
export interface IInlineEditEmits {
|
|
148
|
+
/** Final value after successful validation. Same shape as input. */
|
|
149
|
+
(e: 'update:modelValue', value: string | number): void;
|
|
150
|
+
/** Editor entered edit mode (display → input transition). */
|
|
151
|
+
(e: 'edit'): void;
|
|
152
|
+
/** Editor exited via cancel — the draft was discarded. */
|
|
153
|
+
(e: 'cancel'): void;
|
|
154
|
+
/**
|
|
155
|
+
* Confirmation attempt — fires AFTER validation passes, BEFORE
|
|
156
|
+
* `update:modelValue`. Consumers can intercept the value for
|
|
157
|
+
* server-side persistence; the v-model is updated regardless.
|
|
158
|
+
*/
|
|
159
|
+
(e: 'confirm', value: string | number): void;
|
|
160
|
+
/** Validator returned an error message (sync or async). */
|
|
161
|
+
(e: 'validate-error', message: string): void;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Bindings exposed by the scoped `#display` slot. Consumers use these
|
|
165
|
+
* to drive any custom affordance (heading, badge, …) into edit mode.
|
|
166
|
+
*/
|
|
167
|
+
export interface IInlineEditDisplaySlotBindings {
|
|
168
|
+
/** Current value (already coerced to string). */
|
|
169
|
+
value: string;
|
|
170
|
+
/** Switches the component into edit mode. */
|
|
171
|
+
edit: () => void;
|
|
172
|
+
/** True when the value is empty / nullish — drives placeholder styling. */
|
|
173
|
+
isEmpty: boolean;
|
|
174
|
+
/** Resolved placeholder string (with sane fallback). */
|
|
175
|
+
placeholder: string;
|
|
176
|
+
/** Mirrors the `disabled` prop, for visual handling. */
|
|
177
|
+
disabled: boolean;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Bindings exposed by the scoped `#edit` slot. Consumers use these to
|
|
181
|
+
* render a fully custom input layout while keeping the same state
|
|
182
|
+
* machine.
|
|
183
|
+
*/
|
|
184
|
+
export interface IInlineEditEditSlotBindings {
|
|
185
|
+
/** Draft value (two-way; mutate to feed the validator). */
|
|
186
|
+
value: string;
|
|
187
|
+
/** Update the draft from the slot. */
|
|
188
|
+
setValue: (next: string) => void;
|
|
189
|
+
/** Run the validator and, if it passes, commit the draft. */
|
|
190
|
+
confirm: () => void;
|
|
191
|
+
/** Discard the draft and return to display mode. */
|
|
192
|
+
cancel: () => void;
|
|
193
|
+
/** Current validation error (null when no error). */
|
|
194
|
+
error: string | null;
|
|
195
|
+
/** True while an async validator is in flight. */
|
|
196
|
+
isPending: boolean;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Bindings exposed by the scoped `#actions` slot — typically used to
|
|
200
|
+
* render visible confirm / cancel buttons (X / ✓).
|
|
201
|
+
*/
|
|
202
|
+
export interface IInlineEditActionsSlotBindings {
|
|
203
|
+
/** Run the validator and commit if it passes. */
|
|
204
|
+
confirm: () => void;
|
|
205
|
+
/** Discard the draft and return to display mode. */
|
|
206
|
+
cancel: () => void;
|
|
207
|
+
/** True while an async validator is in flight. */
|
|
208
|
+
isPending: boolean;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Slot signatures for `<OrigamInlineEdit>`.
|
|
212
|
+
*/
|
|
213
|
+
export interface IInlineEditSlots {
|
|
214
|
+
display?: (bindings: IInlineEditDisplaySlotBindings) => any;
|
|
215
|
+
edit?: (bindings: IInlineEditEditSlotBindings) => any;
|
|
216
|
+
actions?: (bindings: IInlineEditActionsSlotBindings) => any;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Options for the `useInlineEdit` composable.
|
|
220
|
+
*/
|
|
221
|
+
export interface IUseInlineEditOptions {
|
|
222
|
+
/** Sync or async validator — see `TInlineEditValidator`. */
|
|
223
|
+
validate?: TInlineEditValidator;
|
|
224
|
+
/**
|
|
225
|
+
* Strip surrounding whitespace before running the validator and
|
|
226
|
+
* emitting the new value.
|
|
227
|
+
*
|
|
228
|
+
* @default true
|
|
229
|
+
*/
|
|
230
|
+
trim?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Called when the draft is committed. Use this when the composable
|
|
233
|
+
* is consumed outside the SFC's emit pipeline (e.g. inside a
|
|
234
|
+
* unit-test harness or a wrapper composable).
|
|
235
|
+
*/
|
|
236
|
+
onConfirm?: (value: string) => void;
|
|
237
|
+
/** Called when the draft is discarded. */
|
|
238
|
+
onCancel?: () => void;
|
|
239
|
+
/** Called when a validator returns an error message. */
|
|
240
|
+
onError?: (message: string) => void;
|
|
241
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ICommonsComponentProps, IGroupItemProps, IGroupProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { ICommonsComponentEmits, ICommonsComponentProps, IGroupItemProps, IGroupProps, ITagProps } from '../../interfaces';
|
|
2
2
|
/**
|
|
3
3
|
* Props for `<OrigamItemGroup>` — the renderless selection container.
|
|
4
4
|
* Mirrors `IBtnToggleProps` minus the visual mixins (this group has
|
|
@@ -24,3 +24,6 @@ export interface IItemGroupProps extends ICommonsComponentProps, ITagProps, IGro
|
|
|
24
24
|
export interface IItemGroupItemProps extends ICommonsComponentProps, ITagProps, IGroupItemProps {
|
|
25
25
|
tag?: string;
|
|
26
26
|
}
|
|
27
|
+
/** Emits fired by `<OrigamItemGroup>` — v-model on the active item set. */
|
|
28
|
+
export interface IItemGroupEmits extends ICommonsComponentEmits {
|
|
29
|
+
}
|