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,106 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots } from '../../interfaces';
|
|
2
|
+
import type { TChartTreemapAlgorithm, TIntent } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* A single data item for the treemap's series.
|
|
5
|
+
*
|
|
6
|
+
* Extends the `{ name, value }` shape that the treemap reads from
|
|
7
|
+
* `series[0].data`. The optional `color` overrides the palette entry for
|
|
8
|
+
* this specific tile. `children` is reserved for a future nested /
|
|
9
|
+
* drilldown mode and is **ignored in v1** — all rendering is flat.
|
|
10
|
+
*/
|
|
11
|
+
export interface IChartTreemapDatum {
|
|
12
|
+
/** Tile display label. */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Numeric magnitude — drives tile area. Must be ≥ 0. */
|
|
15
|
+
value: number;
|
|
16
|
+
/**
|
|
17
|
+
* Optional per-tile colour override. Accepts a design-system intent
|
|
18
|
+
* token (`TIntent`) or any raw CSS colour string.
|
|
19
|
+
*/
|
|
20
|
+
color?: TIntent | string;
|
|
21
|
+
/**
|
|
22
|
+
* Reserved for future nested / drilldown support. Currently unused;
|
|
23
|
+
* v1 renders a flat single-level treemap only.
|
|
24
|
+
*/
|
|
25
|
+
children?: Array<IChartTreemapDatum>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Internal tile descriptor produced by the layout engine. All coordinates
|
|
29
|
+
* are in SVG-user-unit space (the fixed `600 × 400` viewport).
|
|
30
|
+
*/
|
|
31
|
+
export interface IChartTreemapTile {
|
|
32
|
+
/** Index in the original sorted data array. */
|
|
33
|
+
index: number;
|
|
34
|
+
/** Unique key derived from the datum name — used in `v-for :key`. */
|
|
35
|
+
key: string;
|
|
36
|
+
/** Display label. */
|
|
37
|
+
name: string;
|
|
38
|
+
/** Raw numeric value. */
|
|
39
|
+
value: number;
|
|
40
|
+
/** Pre-formatted value string (after applying `yAxisFormat` if present). */
|
|
41
|
+
formatted: string;
|
|
42
|
+
/** Resolved CSS colour string. */
|
|
43
|
+
color: string;
|
|
44
|
+
/** SVG x coordinate of the tile's top-left corner. */
|
|
45
|
+
x: number;
|
|
46
|
+
/** SVG y coordinate of the tile's top-left corner. */
|
|
47
|
+
y: number;
|
|
48
|
+
/** Tile width in SVG user units. */
|
|
49
|
+
width: number;
|
|
50
|
+
/** Tile height in SVG user units. */
|
|
51
|
+
height: number;
|
|
52
|
+
/** Whether the tile is currently visible (legend toggle). */
|
|
53
|
+
visible: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* `true` when the tile is large enough to show the `name + value`
|
|
56
|
+
* label inline (min 60 × 24 SVG px).
|
|
57
|
+
*/
|
|
58
|
+
labelFits: boolean;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Props for `<OrigamChartTreemap>`.
|
|
62
|
+
*
|
|
63
|
+
* The component consumes `series[0]` only. Each item in
|
|
64
|
+
* `series[0].data` becomes one tile, sized proportionally to its
|
|
65
|
+
* `value`. Additional series are silently ignored.
|
|
66
|
+
*
|
|
67
|
+
* v1 renders a **flat, single-level** treemap. Nested children are
|
|
68
|
+
* accepted in the data type for forward compatibility but are not
|
|
69
|
+
* rendered.
|
|
70
|
+
*/
|
|
71
|
+
export interface IChartTreemapProps extends IChartBaseProps {
|
|
72
|
+
/**
|
|
73
|
+
* Layout algorithm.
|
|
74
|
+
* - `'squarified'` — minimises tile aspect ratio (default).
|
|
75
|
+
* - `'slice-dice'` — alternates horizontal / vertical slicing.
|
|
76
|
+
* Default `'squarified'`.
|
|
77
|
+
*/
|
|
78
|
+
algorithm?: TChartTreemapAlgorithm;
|
|
79
|
+
/**
|
|
80
|
+
* Whether to render the `name` + `value` text inside each tile when
|
|
81
|
+
* the tile is at least 60 × 24 SVG-px. Default `true`.
|
|
82
|
+
*/
|
|
83
|
+
showLabel?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Formatter applied to the numeric value in tile labels and
|
|
86
|
+
* the tooltip. When absent the raw number is stringified.
|
|
87
|
+
*/
|
|
88
|
+
yAxisFormat?: (value: number) => string;
|
|
89
|
+
}
|
|
90
|
+
/** Emits surfaced by `<OrigamChartTreemap>`. Mirrors the base family. */
|
|
91
|
+
export type IChartTreemapEmits = IChartBaseEmits;
|
|
92
|
+
/** Slot signatures exposed by `<OrigamChartTreemap>`. */
|
|
93
|
+
export interface IChartTreemapSlots extends IChartBaseSlots {
|
|
94
|
+
/**
|
|
95
|
+
* Replace the label rendered inside each tile.
|
|
96
|
+
* Receives the tile descriptor for full customisation.
|
|
97
|
+
*/
|
|
98
|
+
'tile-label'?: (bindings: {
|
|
99
|
+
name: string;
|
|
100
|
+
value: number;
|
|
101
|
+
formatted: string;
|
|
102
|
+
color: string;
|
|
103
|
+
index: number;
|
|
104
|
+
visible: boolean;
|
|
105
|
+
}) => any;
|
|
106
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots, IChartPoint } from '../../interfaces';
|
|
2
|
+
import type { TIntent } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* A single datum in the variwide series.
|
|
5
|
+
*
|
|
6
|
+
* Encodes two dimensions simultaneously:
|
|
7
|
+
* - `value` → bar HEIGHT (primary metric, maps to Y axis)
|
|
8
|
+
* - `width` → bar WIDTH (secondary metric, proportional share of plot width)
|
|
9
|
+
*/
|
|
10
|
+
export interface IChartVariwideDatum {
|
|
11
|
+
/** Category label shown on the X axis tick and in the tooltip. */
|
|
12
|
+
category: string;
|
|
13
|
+
/**
|
|
14
|
+
* Primary value — drives the bar HEIGHT via the Y scale.
|
|
15
|
+
* e.g. GDP in trillions, revenue in M€, response time in ms.
|
|
16
|
+
*/
|
|
17
|
+
value: number;
|
|
18
|
+
/**
|
|
19
|
+
* Secondary value — drives the bar WIDTH proportionally
|
|
20
|
+
* (`barPixels = plotWidth * width / Σwidths`).
|
|
21
|
+
* e.g. population in M, number of requests, market share %.
|
|
22
|
+
*/
|
|
23
|
+
width: number;
|
|
24
|
+
/**
|
|
25
|
+
* Optional per-datum colour override. Accepts a `TIntent` token
|
|
26
|
+
* or any raw CSS colour string. When omitted the chart cycles
|
|
27
|
+
* through `colorScheme`.
|
|
28
|
+
*/
|
|
29
|
+
color?: TIntent | string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Pre-computed column descriptor produced by the variwide geometry
|
|
33
|
+
* engine. Consumed by the template to render a single `<rect>`.
|
|
34
|
+
*/
|
|
35
|
+
export interface IChartVariwideColumn {
|
|
36
|
+
/** Index in the original data array. */
|
|
37
|
+
index: number;
|
|
38
|
+
/** Category label from the datum. */
|
|
39
|
+
category: string;
|
|
40
|
+
/** Raw primary value. */
|
|
41
|
+
value: number;
|
|
42
|
+
/** Raw secondary (width) value. */
|
|
43
|
+
widthValue: number;
|
|
44
|
+
/** Pre-formatted value string (primary). */
|
|
45
|
+
formattedValue: string;
|
|
46
|
+
/** Pre-formatted width string (secondary). */
|
|
47
|
+
formattedWidth: string;
|
|
48
|
+
/** Resolved CSS colour string (for `fill`). */
|
|
49
|
+
color: string;
|
|
50
|
+
/** SVG X of the left edge of the bar. */
|
|
51
|
+
x: number;
|
|
52
|
+
/** SVG Y of the top edge of the bar. */
|
|
53
|
+
y: number;
|
|
54
|
+
/** Bar width in SVG pixels. */
|
|
55
|
+
w: number;
|
|
56
|
+
/** Bar height in SVG pixels. */
|
|
57
|
+
h: number;
|
|
58
|
+
/** X center — used for the X-axis tick label. */
|
|
59
|
+
cx: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Props for `<OrigamChartVariwide>`.
|
|
63
|
+
*
|
|
64
|
+
* A variwide chart encodes two metrics per category:
|
|
65
|
+
* - **height** represents the primary value (Y axis scale)
|
|
66
|
+
* - **width** represents the secondary value (proportional share of the plot width)
|
|
67
|
+
*
|
|
68
|
+
* Typical uses: GDP × population, revenue × market share,
|
|
69
|
+
* response time × request count.
|
|
70
|
+
*
|
|
71
|
+
* `series[0].data` must be an array of `IChartVariwideDatum`
|
|
72
|
+
* (plain `number` items are accepted for compatibility but carry
|
|
73
|
+
* no `width` information — they default to equal widths).
|
|
74
|
+
*/
|
|
75
|
+
export interface IChartVariwideProps extends IChartBaseProps {
|
|
76
|
+
/**
|
|
77
|
+
* Gap in SVG pixels between adjacent columns.
|
|
78
|
+
* Default `2`.
|
|
79
|
+
*/
|
|
80
|
+
barGap?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Show the value label above each column. Default `true`.
|
|
83
|
+
*/
|
|
84
|
+
showLabel?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Render X (category) and Y (value) axes. Default `true`.
|
|
87
|
+
*/
|
|
88
|
+
showAxis?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Render horizontal grid lines aligned with Y-axis ticks.
|
|
91
|
+
* Default `true`.
|
|
92
|
+
*/
|
|
93
|
+
showGrid?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Formatter applied to X-axis category tick labels.
|
|
96
|
+
* When omitted the category string is shown as-is.
|
|
97
|
+
*/
|
|
98
|
+
xAxisFormat?: (value: string | number) => string;
|
|
99
|
+
/**
|
|
100
|
+
* Formatter applied to Y-axis value tick labels and to the
|
|
101
|
+
* primary-value display in tooltip and above-bar label.
|
|
102
|
+
* When omitted the raw number is used.
|
|
103
|
+
*/
|
|
104
|
+
yAxisFormat?: (value: number) => string;
|
|
105
|
+
/**
|
|
106
|
+
* Override the auto-computed Y minimum.
|
|
107
|
+
* Useful when the data starts well above zero.
|
|
108
|
+
*/
|
|
109
|
+
yMin?: number;
|
|
110
|
+
/**
|
|
111
|
+
* Override the auto-computed Y maximum.
|
|
112
|
+
*/
|
|
113
|
+
yMax?: number;
|
|
114
|
+
}
|
|
115
|
+
/** Emits surfaced by `<OrigamChartVariwide>`. Mirrors the base family. */
|
|
116
|
+
export type IChartVariwideEmits = IChartBaseEmits;
|
|
117
|
+
/** Slot signatures exposed by `<OrigamChartVariwide>`. */
|
|
118
|
+
export interface IChartVariwideSlots extends IChartBaseSlots {
|
|
119
|
+
/**
|
|
120
|
+
* Custom tooltip content.
|
|
121
|
+
* Receives both encodings so consumers can format them freely.
|
|
122
|
+
*/
|
|
123
|
+
tooltip?: (bindings: {
|
|
124
|
+
point: IChartPoint;
|
|
125
|
+
category: string;
|
|
126
|
+
value: number;
|
|
127
|
+
widthValue: number;
|
|
128
|
+
formattedValue: string;
|
|
129
|
+
formattedWidth: string;
|
|
130
|
+
color: string;
|
|
131
|
+
}) => any;
|
|
132
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots } from '../../interfaces';
|
|
2
|
+
import type { TChartWordCloudRotation } from '../../types/Chart/chart-word-cloud-rotation.type';
|
|
3
|
+
/**
|
|
4
|
+
* A single processed word datum used by the layout engine.
|
|
5
|
+
* Computed from `IChartSeries.data` entries after sorting and font-size mapping.
|
|
6
|
+
*/
|
|
7
|
+
export interface IChartWordCloudDatum {
|
|
8
|
+
/** Display text of the word. */
|
|
9
|
+
text: string;
|
|
10
|
+
/** Raw numeric value driving the font size. */
|
|
11
|
+
value: number;
|
|
12
|
+
/** Resolved CSS color string for the fill. */
|
|
13
|
+
color: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Internal word descriptor after geometry placement.
|
|
17
|
+
* Extends `IChartWordCloudDatum` with layout coordinates.
|
|
18
|
+
*/
|
|
19
|
+
export interface IChartWordCloudWord extends IChartWordCloudDatum {
|
|
20
|
+
/** Computed font size in px. */
|
|
21
|
+
fontSize: number;
|
|
22
|
+
/** Horizontal centre of the word in SVG coordinates. */
|
|
23
|
+
x: number;
|
|
24
|
+
/** Vertical centre of the word in SVG coordinates. */
|
|
25
|
+
y: number;
|
|
26
|
+
/** Rotation angle in degrees. */
|
|
27
|
+
angle: number;
|
|
28
|
+
/** Original index in the sorted data array. */
|
|
29
|
+
index: number;
|
|
30
|
+
/** Estimated bounding box width (used for collision detection). */
|
|
31
|
+
width: number;
|
|
32
|
+
/** Estimated bounding box height (used for collision detection). */
|
|
33
|
+
height: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Props for `<OrigamChartWordCloud>`.
|
|
37
|
+
*
|
|
38
|
+
* Reads `series[0]`. Each datum in `series[0].data` must be either a
|
|
39
|
+
* `{ text, value, color? }` object or a plain number (ignored — use
|
|
40
|
+
* object form for word clouds).
|
|
41
|
+
*/
|
|
42
|
+
export interface IChartWordCloudProps extends IChartBaseProps {
|
|
43
|
+
/**
|
|
44
|
+
* Minimum font size in px applied to the word with the lowest value.
|
|
45
|
+
* Default `12`.
|
|
46
|
+
*/
|
|
47
|
+
minFontSize?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum font size in px applied to the word with the highest value.
|
|
50
|
+
* Default `64`.
|
|
51
|
+
*/
|
|
52
|
+
maxFontSize?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Word rotation strategy.
|
|
55
|
+
* - `'none'` — all words horizontal (default).
|
|
56
|
+
* - `'random'` — uniform random in [-30°, 30°].
|
|
57
|
+
* - `'orthogonal'` — 0° or 90° alternating by index parity.
|
|
58
|
+
*/
|
|
59
|
+
rotation?: TChartWordCloudRotation;
|
|
60
|
+
/**
|
|
61
|
+
* Font family applied to all words. Defaults to `'inherit'` so it
|
|
62
|
+
* picks up the host page's typeface.
|
|
63
|
+
*/
|
|
64
|
+
fontFamily?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Font weight applied to all words. Default `600`.
|
|
67
|
+
*/
|
|
68
|
+
fontWeight?: number | string;
|
|
69
|
+
/**
|
|
70
|
+
* X-axis / value formatter. Unused for word clouds; kept for API
|
|
71
|
+
* symmetry with other chart families.
|
|
72
|
+
*/
|
|
73
|
+
xAxisFormat?: (value: number | string) => string;
|
|
74
|
+
/**
|
|
75
|
+
* Y-axis formatter applied to the value shown in the tooltip.
|
|
76
|
+
* When omitted the raw number is displayed.
|
|
77
|
+
*/
|
|
78
|
+
yAxisFormat?: (value: number) => string;
|
|
79
|
+
}
|
|
80
|
+
/** Emits surfaced by `<OrigamChartWordCloud>`. Mirrors the base family. */
|
|
81
|
+
export type IChartWordCloudEmits = IChartBaseEmits;
|
|
82
|
+
/** Slot signatures exposed by `<OrigamChartWordCloud>`. */
|
|
83
|
+
export type IChartWordCloudSlots = IChartBaseSlots;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import type { IBgColorProps, IChartAnnotation, IChartPlotBand, IChartPlotLine, IChartPoint, IChartSecondaryYAxis, IChartSeries, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps } from '../../interfaces';
|
|
2
|
+
import type { TChartLegendPosition, TChartSmoothing, TChartStacking, TChartType, TIntent } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Props accepted by `<OrigamChart>`. Single component for eight
|
|
5
|
+
* visualisation primitives — the `type` prop selects the path
|
|
6
|
+
* generator inside `useChart`. Defaults are inlined in the SFC via
|
|
7
|
+
* `withDefaults(defineProps<IChartProps>(), { … })` per the
|
|
8
|
+
* project's "literals-only" rule.
|
|
9
|
+
*/
|
|
10
|
+
export interface IChartProps extends ICommonsComponentProps, IDimensionProps, IMarginProps, IPaddingProps, IRoundedProps, IElevationProps, IBgColorProps {
|
|
11
|
+
/** Visualisation primitive. Default `'line'`. */
|
|
12
|
+
type?: TChartType;
|
|
13
|
+
/** Data series — one or more. Empty array renders the `#empty` slot. */
|
|
14
|
+
series: Array<IChartSeries>;
|
|
15
|
+
/**
|
|
16
|
+
* X axis labels (for line/area/bar/column/radar). Length should
|
|
17
|
+
* match the longest series; missing entries fall back to the
|
|
18
|
+
* numeric index.
|
|
19
|
+
*/
|
|
20
|
+
categories?: Array<string>;
|
|
21
|
+
/** Optional title rendered above the plotting area. */
|
|
22
|
+
title?: string;
|
|
23
|
+
/** Optional subtitle rendered below the title. */
|
|
24
|
+
subtitle?: string;
|
|
25
|
+
/** Toggle the legend block. Default `true`. */
|
|
26
|
+
showLegend?: boolean;
|
|
27
|
+
/** Anchor of the legend block. Default `'bottom'`. */
|
|
28
|
+
legendPosition?: TChartLegendPosition;
|
|
29
|
+
/** Toggle the hover tooltip. Default `true`. */
|
|
30
|
+
showTooltip?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Render grid lines behind the plot. Ignored for pie/donut/radar.
|
|
33
|
+
* Default `true`.
|
|
34
|
+
*/
|
|
35
|
+
showGrid?: boolean;
|
|
36
|
+
/** Render X / Y axes + tick labels. Ignored for pie/donut. Default `true`. */
|
|
37
|
+
showAxis?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Animate paths / bars / slices on first paint and on data
|
|
40
|
+
* changes. Respects `prefers-reduced-motion`. Default `true`.
|
|
41
|
+
*/
|
|
42
|
+
animated?: boolean;
|
|
43
|
+
/** Animation duration in ms. Default `600`. */
|
|
44
|
+
animationDuration?: number;
|
|
45
|
+
/** Stack series on `bar` / `column`. Default `false`. */
|
|
46
|
+
stacked?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Stacking mode applied when `stacked=true`.
|
|
49
|
+
*
|
|
50
|
+
* - `'normal'` — raw absolute values (default, matches pre-v2
|
|
51
|
+
* `stacked=true` behaviour).
|
|
52
|
+
* - `'percent'` — every stack is normalised to 100 %; Y-axis
|
|
53
|
+
* fixed at `0 → 100`, tick labels use `${v}%`.
|
|
54
|
+
*/
|
|
55
|
+
stacking?: TChartStacking;
|
|
56
|
+
/**
|
|
57
|
+
* Inner-radius proportion for `donut`. `0` collapses to a pie,
|
|
58
|
+
* `1` to a ring of zero thickness. Default `0.6` when
|
|
59
|
+
* `type === 'donut'`, ignored otherwise.
|
|
60
|
+
*/
|
|
61
|
+
donutHoleSize?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Palette used when a series does not pin its own `color`.
|
|
64
|
+
* Pass intent strings (cycled in order) or raw CSS colours.
|
|
65
|
+
* Default cycles through the 8 origam intents.
|
|
66
|
+
*/
|
|
67
|
+
colorScheme?: Array<TIntent | string>;
|
|
68
|
+
/** Formatter applied to X-axis tick labels. */
|
|
69
|
+
xAxisFormat?: (value: string | number) => string;
|
|
70
|
+
/** Formatter applied to Y-axis tick labels. */
|
|
71
|
+
yAxisFormat?: (value: number) => string;
|
|
72
|
+
/**
|
|
73
|
+
* CSS `aspect-ratio` shortcut (`'16/9'`, `'4/3'`, `'1/1'`…). When
|
|
74
|
+
* set, overrides `height` and lets the chart breathe with the
|
|
75
|
+
* container width.
|
|
76
|
+
*/
|
|
77
|
+
aspectRatio?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Smoothing strategy for line/area. Default `'none'` —
|
|
80
|
+
* Cartesian segments between points. `'curve'` uses cubic
|
|
81
|
+
* Bezier with Catmull-Rom tangents.
|
|
82
|
+
*/
|
|
83
|
+
smoothing?: TChartSmoothing;
|
|
84
|
+
/**
|
|
85
|
+
* Override the auto-computed Y min. Useful when the data
|
|
86
|
+
* starts well above zero and you want the visual baseline.
|
|
87
|
+
*/
|
|
88
|
+
yMin?: number;
|
|
89
|
+
/** Override the auto-computed Y max. */
|
|
90
|
+
yMax?: number;
|
|
91
|
+
/**
|
|
92
|
+
* Lower bound of the gauge range. Ignored unless `type='gauge'`.
|
|
93
|
+
* Default `0`.
|
|
94
|
+
*/
|
|
95
|
+
gaugeMin?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Upper bound of the gauge range. Ignored unless `type='gauge'`.
|
|
98
|
+
* Default `100`.
|
|
99
|
+
*/
|
|
100
|
+
gaugeMax?: number;
|
|
101
|
+
/**
|
|
102
|
+
* Optional unit appended to the gauge centre label
|
|
103
|
+
* (e.g. `'%'`, `' km/h'`). Ignored unless `type='gauge'`.
|
|
104
|
+
*/
|
|
105
|
+
gaugeUnit?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Coloured rectangular zones drawn behind (or above) the chart
|
|
108
|
+
* data. Forwarded to `<OrigamChartCartesian>` only — ignored for
|
|
109
|
+
* polar / radar / gauge families.
|
|
110
|
+
*/
|
|
111
|
+
plotBands?: Array<IChartPlotBand>;
|
|
112
|
+
/**
|
|
113
|
+
* Threshold lines drawn at a fixed axis value. Forwarded to
|
|
114
|
+
* `<OrigamChartCartesian>` only — ignored for polar / radar / gauge.
|
|
115
|
+
*/
|
|
116
|
+
plotLines?: Array<IChartPlotLine>;
|
|
117
|
+
/**
|
|
118
|
+
* Overlay annotations drawn on top of the series layer. Forwarded to
|
|
119
|
+
* `<OrigamChartCartesian>` only — ignored for polar / radar / gauge /
|
|
120
|
+
* other non-cartesian families. Annotations are positioned in data
|
|
121
|
+
* coordinates. Four kinds: `'arrow'`, `'label'`, `'circle'`, `'bracket'`.
|
|
122
|
+
*/
|
|
123
|
+
annotations?: Array<IChartAnnotation>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Emits surfaced by `<OrigamChart>`. All payloads are plain
|
|
127
|
+
* serialisable data (no DOM refs), so callers can forward to a
|
|
128
|
+
* store / websocket / analytics layer without unwrapping.
|
|
129
|
+
*/
|
|
130
|
+
export interface IChartEmits {
|
|
131
|
+
/** Mouse / keyboard activation on a data point. */
|
|
132
|
+
(e: 'point-click', point: IChartPoint, originalEvent: MouseEvent | KeyboardEvent): void;
|
|
133
|
+
/** Click on a legend entry — pair with `series-toggle` for state. */
|
|
134
|
+
(e: 'legend-click', series: IChartSeries, index: number): void;
|
|
135
|
+
/** Resulting visibility flip after a legend click. */
|
|
136
|
+
(e: 'series-toggle', series: IChartSeries, visible: boolean): void;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Slot signatures. Replace the default tooltip card, legend
|
|
140
|
+
* entry, title block, or empty state without losing the rest of
|
|
141
|
+
* the chart chrome.
|
|
142
|
+
*/
|
|
143
|
+
export interface IChartSlots {
|
|
144
|
+
/** Replace the default tooltip body. */
|
|
145
|
+
tooltip?: (bindings: {
|
|
146
|
+
point: IChartPoint;
|
|
147
|
+
series: IChartSeries;
|
|
148
|
+
category: string | number;
|
|
149
|
+
}) => any;
|
|
150
|
+
/** Replace one legend entry. */
|
|
151
|
+
'legend-item'?: (bindings: {
|
|
152
|
+
series: IChartSeries;
|
|
153
|
+
index: number;
|
|
154
|
+
visible: boolean;
|
|
155
|
+
}) => any;
|
|
156
|
+
/** Replace the title block (title + subtitle). */
|
|
157
|
+
title?: () => any;
|
|
158
|
+
/** Render when `series` is empty / every series is hidden. */
|
|
159
|
+
empty?: () => any;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Single tick rendered along an axis. `position` is the SVG
|
|
163
|
+
* pixel coordinate, `label` the already-formatted string.
|
|
164
|
+
*/
|
|
165
|
+
export interface IChartTick {
|
|
166
|
+
position: number;
|
|
167
|
+
label: string;
|
|
168
|
+
value: number | string;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Pair of pixel-mapping functions. Pure — produced from the data
|
|
172
|
+
* range + viewBox size; safe to call from inside computeds.
|
|
173
|
+
*/
|
|
174
|
+
export interface IChartScales {
|
|
175
|
+
x: (value: number | string, dataIndex?: number, categoryCount?: number) => number;
|
|
176
|
+
y: (value: number) => number;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Output of `useChart` — one path descriptor per series (per
|
|
180
|
+
* data point for bar/column/scatter/pie). The component renders
|
|
181
|
+
* each entry inside a `<g>` according to `kind`.
|
|
182
|
+
*/
|
|
183
|
+
export interface IChartPath {
|
|
184
|
+
seriesIndex: number;
|
|
185
|
+
/**
|
|
186
|
+
* SVG element kind to emit. `path` for line/area/pie/donut/
|
|
187
|
+
* radar, `rect` for bar/column, `circle` for scatter +
|
|
188
|
+
* line/area markers.
|
|
189
|
+
*/
|
|
190
|
+
kind: 'path' | 'rect' | 'circle' | 'polygon';
|
|
191
|
+
/** Pre-computed `d` attribute for `kind === 'path' | 'polygon'`. */
|
|
192
|
+
d?: string;
|
|
193
|
+
/** Geometry for `kind === 'rect'`. */
|
|
194
|
+
rect?: {
|
|
195
|
+
x: number;
|
|
196
|
+
y: number;
|
|
197
|
+
width: number;
|
|
198
|
+
height: number;
|
|
199
|
+
};
|
|
200
|
+
/** Geometry for `kind === 'circle'`. */
|
|
201
|
+
circle?: {
|
|
202
|
+
cx: number;
|
|
203
|
+
cy: number;
|
|
204
|
+
r: number;
|
|
205
|
+
};
|
|
206
|
+
/** Resolved CSS colour string. */
|
|
207
|
+
color: string;
|
|
208
|
+
/** Original series reference (for tooltip / legend). */
|
|
209
|
+
series: IChartSeries;
|
|
210
|
+
/** Optional data index when the path represents a single point. */
|
|
211
|
+
dataIndex?: number;
|
|
212
|
+
/** Length of the path (used by stroke-dashoffset animation). */
|
|
213
|
+
pathLength?: number;
|
|
214
|
+
/**
|
|
215
|
+
* Sub-kind for `kind === 'path'`. Area charts emit two paths per
|
|
216
|
+
* series — the filled area down to the baseline (`variant: 'fill'`)
|
|
217
|
+
* and the overlaid stroke (`variant: 'stroke'`). The component reads
|
|
218
|
+
* the variant to decide whether to paint `fill` or `stroke`.
|
|
219
|
+
*/
|
|
220
|
+
variant?: 'fill' | 'stroke';
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Aggregated legend entry — one per series. Pre-resolved colour
|
|
224
|
+
* so the legend doesn't have to re-look-up the palette.
|
|
225
|
+
*/
|
|
226
|
+
export interface IChartLegendItem {
|
|
227
|
+
series: IChartSeries;
|
|
228
|
+
index: number;
|
|
229
|
+
color: string;
|
|
230
|
+
visible: boolean;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Strict, defaulted options consumed by `useChart`. The SFC
|
|
234
|
+
* derives this from props via thunks so the composable stays
|
|
235
|
+
* reactive without owning the prop reference.
|
|
236
|
+
*/
|
|
237
|
+
export interface IUseChartOptions {
|
|
238
|
+
type: () => TChartType;
|
|
239
|
+
series: () => Array<IChartSeries>;
|
|
240
|
+
categories: () => Array<string>;
|
|
241
|
+
stacked: () => boolean;
|
|
242
|
+
/**
|
|
243
|
+
* Stacking mode when `stacked()` is `true`. Optional — defaults
|
|
244
|
+
* to `'normal'` so callers that don't expose the prop yet are
|
|
245
|
+
* unaffected.
|
|
246
|
+
*/
|
|
247
|
+
stacking?: () => TChartStacking;
|
|
248
|
+
donutHoleSize: () => number;
|
|
249
|
+
colorScheme: () => Array<TIntent | string>;
|
|
250
|
+
smoothing: () => TChartSmoothing;
|
|
251
|
+
yMin: () => number | undefined;
|
|
252
|
+
yMax: () => number | undefined;
|
|
253
|
+
width: () => number;
|
|
254
|
+
height: () => number;
|
|
255
|
+
padding: () => {
|
|
256
|
+
top: number;
|
|
257
|
+
right: number;
|
|
258
|
+
bottom: number;
|
|
259
|
+
left: number;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Per-label hidden set. Used by the single-pie / donut path to
|
|
263
|
+
* skip slices whose category label was toggled OFF in the
|
|
264
|
+
* legend. Cartesian / radar / gauge / multi-pie use `series.visible`
|
|
265
|
+
* for the same purpose; this option exists for the pie/donut
|
|
266
|
+
* "category as slice" mode where there's no per-slice series to
|
|
267
|
+
* attach visibility to. Optional — defaults to an empty Set.
|
|
268
|
+
*/
|
|
269
|
+
hiddenLabels?: () => Set<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Secondary (right-hand) Y axis configuration. Optional — when
|
|
272
|
+
* absent the engine ignores `series.yAxis === 1` assignments and
|
|
273
|
+
* plots everything against the primary left axis.
|
|
274
|
+
*/
|
|
275
|
+
secondaryYAxis?: () => IChartSecondaryYAxis | undefined;
|
|
276
|
+
}
|
|
File without changes
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IGroupProps, IMarginProps, IPaddingProps, IRoundedProps, ISlideGroupProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IGroupProps, IMarginProps, IPaddingProps, IRoundedProps, ISlideGroupProps, ITagProps } from '../../interfaces';
|
|
2
2
|
export interface IChipGroupProps extends ICommonsComponentProps, ITagProps, IGroupProps, IColorProps, IBgColorProps, IMarginProps, IPaddingProps, IBorderProps, IRoundedProps, ISlideGroupProps {
|
|
3
3
|
column?: boolean;
|
|
4
4
|
filter?: boolean;
|
|
5
5
|
valueComparator?: (a: any, b: any) => boolean;
|
|
6
6
|
}
|
|
7
|
+
/** Emits fired by `<OrigamChipGroup>` — v-model on the active chip set. */
|
|
8
|
+
export interface IChipGroupEmits extends ICommonsComponentEmits {
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IActiveProps, IAdjacentProps, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IGroupItemProps, IHoverProps, ILinkProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IAdjacentEmits, IAdjacentProps, IBorderProps, IBgColorProps, IClickCloseEmits, IClickEmits, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IElevationProps, IGroupEmits, IGroupItemProps, IHoverProps, ILinkProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
3
|
export interface IChipProps extends ICommonsComponentProps, IAdjacentProps, ITagProps, IColorProps, IBgColorProps, IRippleProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps, IDensityProps, IGroupItemProps, ILinkProps, ISizeProps, IElevationProps, IActiveProps, IHoverProps {
|
|
4
4
|
closable?: boolean;
|
|
@@ -13,3 +13,7 @@ export interface IChipProps extends ICommonsComponentProps, IAdjacentProps, ITag
|
|
|
13
13
|
text?: string;
|
|
14
14
|
modelValue?: boolean;
|
|
15
15
|
}
|
|
16
|
+
/** Emits fired by `<OrigamChip>` — generic click, close button, group
|
|
17
|
+
* membership, prepend/append icons, and v-model on dismissal. */
|
|
18
|
+
export interface IChipEmits extends ICommonsComponentEmits, IClickEmits, IClickCloseEmits, IAdjacentEmits, IGroupEmits {
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|