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,130 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots } from '../../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* Props for `<OrigamChartGauge>` — solid gauge (radial progress
|
|
4
|
+
* indicator). Mirrors Highcharts' "Solid Gauge" demo: a 270-degree
|
|
5
|
+
* track with a filled arc indicating the current value, an
|
|
6
|
+
* optional centre label, and optional min / max endpoint labels.
|
|
7
|
+
*
|
|
8
|
+
* Reads the first datum of the first series as the value. Extra
|
|
9
|
+
* series are ignored (gauges are single-value visualisations).
|
|
10
|
+
*/
|
|
11
|
+
export interface IChartGaugeProps extends IChartBaseProps {
|
|
12
|
+
/**
|
|
13
|
+
* Lower bound of the gauge range. Default `0`.
|
|
14
|
+
*/
|
|
15
|
+
gaugeMin?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Upper bound of the gauge range. Default `100`.
|
|
18
|
+
*/
|
|
19
|
+
gaugeMax?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Optional unit appended to the centre label (e.g. `'%'`,
|
|
22
|
+
* `' km/h'`). Default `''`.
|
|
23
|
+
*/
|
|
24
|
+
gaugeUnit?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Arc thickness in SVG pixels. Default `18`.
|
|
27
|
+
*/
|
|
28
|
+
gaugeThickness?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Arc start angle in radians. Defaults to `-3pi/4` (bottom-left
|
|
31
|
+
* of a 270deg arc centred on the bottom).
|
|
32
|
+
*/
|
|
33
|
+
gaugeStartAngle?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Arc end angle in radians. Defaults to `+3pi/4` (bottom-right).
|
|
36
|
+
*/
|
|
37
|
+
gaugeEndAngle?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Whether to render `gaugeMin` / `gaugeMax` labels at the arc
|
|
40
|
+
* endpoints. Default `true`.
|
|
41
|
+
*/
|
|
42
|
+
gaugeShowEndpoints?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Whether to render the centre value label. Default `true`.
|
|
45
|
+
*/
|
|
46
|
+
gaugeShowValue?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/** Emits surfaced by `<OrigamChartGauge>`. Mirrors the base family. */
|
|
49
|
+
export type IChartGaugeEmits = IChartBaseEmits;
|
|
50
|
+
/** Slot signatures exposed by `<OrigamChartGauge>`. */
|
|
51
|
+
export interface IChartGaugeSlots extends IChartBaseSlots {
|
|
52
|
+
/**
|
|
53
|
+
* Replace the centre value label. Receives the formatted value
|
|
54
|
+
* + raw datum + ratio (0..1) for custom rendering.
|
|
55
|
+
*/
|
|
56
|
+
'gauge-value'?: (bindings: {
|
|
57
|
+
value: number;
|
|
58
|
+
ratio: number;
|
|
59
|
+
formatted: string;
|
|
60
|
+
unit: string;
|
|
61
|
+
}) => any;
|
|
62
|
+
/** Replace the min label at the start of the arc. */
|
|
63
|
+
'gauge-min'?: (bindings: {
|
|
64
|
+
value: number;
|
|
65
|
+
}) => any;
|
|
66
|
+
/** Replace the max label at the end of the arc. */
|
|
67
|
+
'gauge-max'?: (bindings: {
|
|
68
|
+
value: number;
|
|
69
|
+
}) => any;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Output of `useChartGauge` — geometry descriptors for the arc
|
|
73
|
+
* track, the indicator arc, and the label anchor points. All
|
|
74
|
+
* fields are pre-formatted so the SFC just renders without
|
|
75
|
+
* computing anything itself.
|
|
76
|
+
*/
|
|
77
|
+
export interface IChartGaugeGeometry {
|
|
78
|
+
/** SVG `d` attribute for the full empty track arc. */
|
|
79
|
+
trackPath: string;
|
|
80
|
+
/** SVG `d` attribute for the filled value arc (empty when value === min). */
|
|
81
|
+
valuePath: string;
|
|
82
|
+
/** Radian angle where the value arc ends. Useful for needles. */
|
|
83
|
+
valueAngle: number;
|
|
84
|
+
/** Radian angle where the gauge arc starts. */
|
|
85
|
+
startAngle: number;
|
|
86
|
+
/** Radian angle where the gauge arc ends. */
|
|
87
|
+
endAngle: number;
|
|
88
|
+
/** Outer arc radius in SVG pixels. */
|
|
89
|
+
outerRadius: number;
|
|
90
|
+
/** Inner arc radius in SVG pixels (outerRadius - thickness). */
|
|
91
|
+
innerRadius: number;
|
|
92
|
+
/** SVG pixel coordinate of the arc centre (X). */
|
|
93
|
+
centerX: number;
|
|
94
|
+
/** SVG pixel coordinate of the arc centre (Y). */
|
|
95
|
+
centerY: number;
|
|
96
|
+
/** Normalised value in `[0..1]`. */
|
|
97
|
+
ratio: number;
|
|
98
|
+
/** Clamped value in `[min..max]`. */
|
|
99
|
+
clampedValue: number;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Strict options consumed by `useChartGauge`. All getters are
|
|
103
|
+
* thunks so the composable can be reactively driven by props,
|
|
104
|
+
* a store, or computed sources without re-instantiation.
|
|
105
|
+
*/
|
|
106
|
+
export interface IUseChartGaugeOptions {
|
|
107
|
+
/** Current value (un-clamped — the engine clamps to [min..max]). */
|
|
108
|
+
value: () => number;
|
|
109
|
+
/** Lower bound of the gauge range. */
|
|
110
|
+
min: () => number;
|
|
111
|
+
/** Upper bound of the gauge range. */
|
|
112
|
+
max: () => number;
|
|
113
|
+
/** SVG viewBox width. */
|
|
114
|
+
width: () => number;
|
|
115
|
+
/** SVG viewBox height. */
|
|
116
|
+
height: () => number;
|
|
117
|
+
/** SVG inner padding (frees room for endpoint labels). */
|
|
118
|
+
padding: () => {
|
|
119
|
+
top: number;
|
|
120
|
+
right: number;
|
|
121
|
+
bottom: number;
|
|
122
|
+
left: number;
|
|
123
|
+
};
|
|
124
|
+
/** Optional override for the arc thickness. */
|
|
125
|
+
thickness?: () => number;
|
|
126
|
+
/** Optional override for the arc start angle (radians). */
|
|
127
|
+
startAngle?: () => number;
|
|
128
|
+
/** Optional override for the arc end angle (radians). */
|
|
129
|
+
endAngle?: () => number;
|
|
130
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots, IChartPoint } from '../../interfaces';
|
|
2
|
+
import type { TChartLegendPosition, TIntent } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for `<OrigamChartHeatmap>` — the rectangular heatmap family.
|
|
5
|
+
*
|
|
6
|
+
* Renders a grid of `<rect>` cells where each cell is coloured by
|
|
7
|
+
* its `value` relative to the min/max of the dataset. Common uses:
|
|
8
|
+
* GitHub-style activity grids, correlation matrices, weekday × hour
|
|
9
|
+
* patterns.
|
|
10
|
+
*
|
|
11
|
+
* `series[0]` is the only consumed series. Each datum must supply
|
|
12
|
+
* `x` (column key), `y` (row key) and a numeric `value`.
|
|
13
|
+
*/
|
|
14
|
+
export interface IChartHeatmapProps extends IChartBaseProps {
|
|
15
|
+
/**
|
|
16
|
+
* Explicit X-axis category ordering. When omitted, unique `x`
|
|
17
|
+
* values from the dataset are sorted alphabetically / numerically.
|
|
18
|
+
*/
|
|
19
|
+
xCategories?: Array<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Explicit Y-axis category ordering. When omitted, unique `y`
|
|
22
|
+
* values from the dataset are sorted alphabetically / numerically.
|
|
23
|
+
*/
|
|
24
|
+
yCategories?: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Two-stop colour range used to interpolate cell colour.
|
|
27
|
+
* First entry = min value colour, second = max value colour.
|
|
28
|
+
* Accepts intent tokens or raw CSS colour strings.
|
|
29
|
+
* Default `['info', 'danger']`.
|
|
30
|
+
*/
|
|
31
|
+
colorRange?: [TIntent | string, TIntent | string];
|
|
32
|
+
/**
|
|
33
|
+
* Gap between cells in SVG user units. Default `2`.
|
|
34
|
+
*/
|
|
35
|
+
cellGap?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Render the numeric value centred inside each cell when the
|
|
38
|
+
* cell is wide/tall enough to accommodate it. Default `true`.
|
|
39
|
+
*/
|
|
40
|
+
showLabel?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Render X and Y axis category labels along the grid edges.
|
|
43
|
+
* Default `true`.
|
|
44
|
+
*/
|
|
45
|
+
showAxis?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Gradient legend bar with min / max labels.
|
|
48
|
+
* Default `true`.
|
|
49
|
+
*/
|
|
50
|
+
showGradientLegend?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Anchor of the gradient legend. Default `'bottom'`.
|
|
53
|
+
*/
|
|
54
|
+
legendPosition?: TChartLegendPosition;
|
|
55
|
+
/**
|
|
56
|
+
* X-axis category label formatter. Applied to each column label.
|
|
57
|
+
* When omitted, the raw string / number is displayed.
|
|
58
|
+
*/
|
|
59
|
+
xAxisFormat?: (value: string | number) => string;
|
|
60
|
+
/**
|
|
61
|
+
* Y-axis / value formatter. Applied to row labels AND to
|
|
62
|
+
* the min/max labels on the gradient legend.
|
|
63
|
+
* When omitted, the raw number is displayed.
|
|
64
|
+
*/
|
|
65
|
+
yAxisFormat?: (value: number) => string;
|
|
66
|
+
}
|
|
67
|
+
/** Emits surfaced by `<OrigamChartHeatmap>`. Mirrors the base family. */
|
|
68
|
+
export type IChartHeatmapEmits = IChartBaseEmits;
|
|
69
|
+
/** Slot signatures exposed by `<OrigamChartHeatmap>`. */
|
|
70
|
+
export interface IChartHeatmapSlots extends IChartBaseSlots {
|
|
71
|
+
/**
|
|
72
|
+
* Replace the tooltip body for a hovered cell.
|
|
73
|
+
* Receives the hovered point, its resolved colour, and
|
|
74
|
+
* the formatted x / y / value strings.
|
|
75
|
+
*/
|
|
76
|
+
tooltip?: (bindings: {
|
|
77
|
+
point: IChartPoint;
|
|
78
|
+
color: string;
|
|
79
|
+
xLabel: string;
|
|
80
|
+
yLabel: string;
|
|
81
|
+
value: number;
|
|
82
|
+
}) => any;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Single datum shape consumed from `series[0].data`.
|
|
86
|
+
* Each entry represents one cell in the heatmap grid.
|
|
87
|
+
*/
|
|
88
|
+
export interface IChartHeatmapDatum {
|
|
89
|
+
/** Column key — maps to an X-axis category. */
|
|
90
|
+
x: number | string;
|
|
91
|
+
/** Row key — maps to a Y-axis category. */
|
|
92
|
+
y: number | string;
|
|
93
|
+
/** Numeric value driving the cell colour. */
|
|
94
|
+
value: number;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Pre-computed cell descriptor produced by the heatmap geometry engine.
|
|
98
|
+
* Contains every pre-computed value needed to render one `<rect>`,
|
|
99
|
+
* its label, and tooltip / accessibility content.
|
|
100
|
+
*/
|
|
101
|
+
export interface IChartHeatmapCell {
|
|
102
|
+
/** Original index of the datum in `series[0].data`. */
|
|
103
|
+
index: number;
|
|
104
|
+
/** Column category string. */
|
|
105
|
+
xCat: string;
|
|
106
|
+
/** Row category string. */
|
|
107
|
+
yCat: string;
|
|
108
|
+
/** Raw numeric value. */
|
|
109
|
+
value: number;
|
|
110
|
+
/** Resolved CSS colour string for the cell fill. */
|
|
111
|
+
color: string;
|
|
112
|
+
/** SVG x position (left edge of the rect). */
|
|
113
|
+
rx: number;
|
|
114
|
+
/** SVG y position (top edge of the rect). */
|
|
115
|
+
ry: number;
|
|
116
|
+
/** Cell width in SVG user units. */
|
|
117
|
+
rw: number;
|
|
118
|
+
/** Cell height in SVG user units. */
|
|
119
|
+
rh: number;
|
|
120
|
+
/** Centre X for the value label text. */
|
|
121
|
+
labelX: number;
|
|
122
|
+
/** Centre Y for the value label text. */
|
|
123
|
+
labelY: number;
|
|
124
|
+
/** `true` when the cell is tall / wide enough to show the label. */
|
|
125
|
+
labelFits: boolean;
|
|
126
|
+
/** Whether this cell is currently visible. */
|
|
127
|
+
visible: boolean;
|
|
128
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots, IChartPoint } from '../../interfaces';
|
|
2
|
+
import type { TChartHoneycombColorMode, TChartHoneycombOrientation, TIntent } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for `<OrigamChartHoneycomb>` — the hexagonal tile-map family.
|
|
5
|
+
*
|
|
6
|
+
* Renders a grid of hexagonal tiles positioned by column (`x`) and
|
|
7
|
+
* row (`y`) index. Useful for categorical tile-maps (US states, periodic
|
|
8
|
+
* table), heatmaps, or any data where spatial arrangement matters more
|
|
9
|
+
* than a continuous axis.
|
|
10
|
+
*/
|
|
11
|
+
export interface IChartHoneycombProps extends IChartBaseProps {
|
|
12
|
+
/**
|
|
13
|
+
* Hex vertex orientation.
|
|
14
|
+
* `'pointy-top'` — vertex at the top (default).
|
|
15
|
+
* `'flat-top'` — flat edge at the top, vertex on the side.
|
|
16
|
+
*/
|
|
17
|
+
orientation?: TChartHoneycombOrientation;
|
|
18
|
+
/**
|
|
19
|
+
* Colour-mapping strategy.
|
|
20
|
+
* `'categorical'` — each tile gets a colour from `colorScheme` or the intent cycle.
|
|
21
|
+
* `'heatmap'` — `value` drives a gradient between `heatmapColorRange` endpoints.
|
|
22
|
+
*/
|
|
23
|
+
colorMode?: TChartHoneycombColorMode;
|
|
24
|
+
/**
|
|
25
|
+
* Two-stop colour range for `colorMode='heatmap'`.
|
|
26
|
+
* First entry = min value colour, second = max value colour.
|
|
27
|
+
* Accepts intent tokens or raw CSS colours.
|
|
28
|
+
* Default `['info', 'danger']`.
|
|
29
|
+
*/
|
|
30
|
+
heatmapColorRange?: [TIntent | string, TIntent | string];
|
|
31
|
+
/**
|
|
32
|
+
* Hex side-length in SVG user units. Controls tile size.
|
|
33
|
+
* Default `30`.
|
|
34
|
+
*/
|
|
35
|
+
tileSize?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Gap between adjacent tiles in SVG user units. Default `2`.
|
|
38
|
+
*/
|
|
39
|
+
tileGap?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Render the tile's `name` (or `value` when `name` is absent)
|
|
42
|
+
* as text centred in the tile. Default `true`.
|
|
43
|
+
*/
|
|
44
|
+
showLabel?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* X-axis / column formatter. Applied to the numeric `x` index
|
|
47
|
+
* in tooltip / axis text. When omitted the raw number is used.
|
|
48
|
+
*/
|
|
49
|
+
xAxisFormat?: (value: number | string) => string;
|
|
50
|
+
/**
|
|
51
|
+
* Y-axis / row formatter. Applied to the numeric `y` index.
|
|
52
|
+
* When omitted the raw number is used.
|
|
53
|
+
*/
|
|
54
|
+
yAxisFormat?: (value: number) => string;
|
|
55
|
+
}
|
|
56
|
+
/** Emits surfaced by `<OrigamChartHoneycomb>`. Mirrors the base family. */
|
|
57
|
+
export type IChartHoneycombEmits = IChartBaseEmits;
|
|
58
|
+
/** Slot signatures exposed by `<OrigamChartHoneycomb>`. */
|
|
59
|
+
export interface IChartHoneycombSlots extends IChartBaseSlots {
|
|
60
|
+
/**
|
|
61
|
+
* Replace the label rendered inside each tile.
|
|
62
|
+
* Receives the tile's `name`, `value`, resolved `color`, and grid position.
|
|
63
|
+
*/
|
|
64
|
+
'tile-label'?: (bindings: {
|
|
65
|
+
name: string;
|
|
66
|
+
value: number | undefined;
|
|
67
|
+
color: string;
|
|
68
|
+
x: number;
|
|
69
|
+
y: number;
|
|
70
|
+
index: number;
|
|
71
|
+
}) => any;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Internal tile descriptor produced by the honeycomb geometry engine.
|
|
75
|
+
* Contains every pre-computed value needed to render one `<polygon>`,
|
|
76
|
+
* its label, and tooltip / accessibility content.
|
|
77
|
+
*/
|
|
78
|
+
export interface IChartHoneycombTile {
|
|
79
|
+
/** Original index of the data point in `series[0].data`. */
|
|
80
|
+
index: number;
|
|
81
|
+
/** Column index from `data[i].x`. */
|
|
82
|
+
gridX: number;
|
|
83
|
+
/** Row index from `data[i].y`. */
|
|
84
|
+
gridY: number;
|
|
85
|
+
/** SVG `points` attribute string for the `<polygon>`. */
|
|
86
|
+
points: string;
|
|
87
|
+
/** Resolved CSS colour string. */
|
|
88
|
+
color: string;
|
|
89
|
+
/** Tile label (name or formatted value). */
|
|
90
|
+
label: string;
|
|
91
|
+
/** Raw `name` string from the data point. */
|
|
92
|
+
name: string;
|
|
93
|
+
/** Raw `value` from the data point. */
|
|
94
|
+
value: number | undefined;
|
|
95
|
+
/** Centre X in SVG user units. */
|
|
96
|
+
cx: number;
|
|
97
|
+
/** Centre Y in SVG user units. */
|
|
98
|
+
cy: number;
|
|
99
|
+
/** Whether this tile is currently visible (legend toggle). */
|
|
100
|
+
visible: boolean;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Payload passed to `IChartPoint` for a hovered / clicked tile.
|
|
104
|
+
* Exposes `x` = gridX, `y` = gridY for downstream consumers.
|
|
105
|
+
*/
|
|
106
|
+
export interface IChartHoneycombPoint extends IChartPoint {
|
|
107
|
+
tileName: string;
|
|
108
|
+
tileValue: number | undefined;
|
|
109
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { IChartLegendItem, IChartSeries } from '../../interfaces';
|
|
2
|
+
import type { TChartLegendPosition } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for `<OrigamChartLegend>` — the series-name + colour-swatch
|
|
5
|
+
* + visibility-toggle list that sits on one side of the chart.
|
|
6
|
+
* Extracted from the legacy `<OrigamChart>` so every family
|
|
7
|
+
* (cartesian / polar / radar / gauge) can share the same rendering.
|
|
8
|
+
*
|
|
9
|
+
* The legend is a pure renderer: it expects the pre-resolved
|
|
10
|
+
* `IChartLegendItem[]` array from `useChart().legend.value` and
|
|
11
|
+
* emits clicks back upward.
|
|
12
|
+
*/
|
|
13
|
+
export interface IChartLegendProps {
|
|
14
|
+
/**
|
|
15
|
+
* Pre-resolved legend entries (series + index + colour + visibility).
|
|
16
|
+
* Comes verbatim from `useChart().legend.value`.
|
|
17
|
+
*/
|
|
18
|
+
items: Array<IChartLegendItem>;
|
|
19
|
+
/**
|
|
20
|
+
* Anchor of the legend block. Drives the wrapping behaviour
|
|
21
|
+
* (`row` on top/bottom, `column` on left/right).
|
|
22
|
+
*/
|
|
23
|
+
position?: TChartLegendPosition;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Emits surfaced by `<OrigamChartLegend>`. The parent chart wires
|
|
27
|
+
* these into its own `legend-click` + `series-toggle` emits so
|
|
28
|
+
* consumers don't need to know about the extracted component.
|
|
29
|
+
*/
|
|
30
|
+
export interface IChartLegendEmits {
|
|
31
|
+
/** Click on a legend entry — pair with `series-toggle` for state. */
|
|
32
|
+
(e: 'legend-click', series: IChartSeries, index: number): void;
|
|
33
|
+
/** Resulting visibility flip after a legend click. */
|
|
34
|
+
(e: 'series-toggle', series: IChartSeries, visible: boolean): void;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Slot signatures exposed by `<OrigamChartLegend>`. Currently
|
|
38
|
+
* just `legend-item` so a consumer can replace one entry with a
|
|
39
|
+
* custom render (chip, icon, …).
|
|
40
|
+
*/
|
|
41
|
+
export interface IChartLegendSlots {
|
|
42
|
+
/** Replace one legend entry. */
|
|
43
|
+
'legend-item'?: (bindings: {
|
|
44
|
+
series: IChartSeries;
|
|
45
|
+
index: number;
|
|
46
|
+
visible: boolean;
|
|
47
|
+
}) => any;
|
|
48
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { IChartBaseEmits, IChartBaseProps, IChartBaseSlots, IChartPoint, IChartSeries } from '../../interfaces';
|
|
2
|
+
import type { TChartMapMode } from '../../types/Chart/chart-map-mode.type';
|
|
3
|
+
import type { TIntent } from '../../types';
|
|
4
|
+
/**
|
|
5
|
+
* A single choropleth data point keyed by ISO-3166-1 alpha-2 code.
|
|
6
|
+
*/
|
|
7
|
+
export interface IChartMapChoroplethDatum {
|
|
8
|
+
/** ISO-3166-1 alpha-2 country code (e.g. `'FR'`, `'US'`). */
|
|
9
|
+
code: string;
|
|
10
|
+
/** Numeric value used to drive the colour interpolation. */
|
|
11
|
+
value: number;
|
|
12
|
+
/** Human-readable label. Defaults to `code` when omitted. */
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A single flight-route datum connecting two country centroids.
|
|
17
|
+
*/
|
|
18
|
+
export interface IChartMapRouteDatum {
|
|
19
|
+
/** ISO-3166-1 alpha-2 code for the route origin. */
|
|
20
|
+
from: string;
|
|
21
|
+
/** ISO-3166-1 alpha-2 code for the route destination. */
|
|
22
|
+
to: string;
|
|
23
|
+
/** Optional flow weight — drives the stroke width via `Math.log(value + 1) * 1.5`. */
|
|
24
|
+
value?: number;
|
|
25
|
+
/** Overrides `lineColor` for this route specifically. */
|
|
26
|
+
color?: TIntent | string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Internal country descriptor produced by the map geometry engine.
|
|
30
|
+
* Holds the pre-resolved fill colour and ARIA metadata.
|
|
31
|
+
*/
|
|
32
|
+
export interface IChartMapCountry {
|
|
33
|
+
/** ISO-3166-1 alpha-2 code. */
|
|
34
|
+
code: string;
|
|
35
|
+
/** SVG `<path d="…">` string from `WORLD_MAP_PATHS`. */
|
|
36
|
+
d: string;
|
|
37
|
+
/** Resolved CSS fill colour string. */
|
|
38
|
+
fill: string;
|
|
39
|
+
/** Raw numeric value (undefined for countries not in the dataset). */
|
|
40
|
+
value: number | undefined;
|
|
41
|
+
/** Display name (from datum or code fallback). */
|
|
42
|
+
name: string;
|
|
43
|
+
/** Whether this country has data in the current series. */
|
|
44
|
+
hasData: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Internal route descriptor produced by the map geometry engine.
|
|
48
|
+
*/
|
|
49
|
+
export interface IChartMapRoute {
|
|
50
|
+
/** Zero-based index in the series data array. */
|
|
51
|
+
index: number;
|
|
52
|
+
/** SVG quadratic Bezier path string: `M x1,y1 Q cx,cy x2,y2`. */
|
|
53
|
+
d: string;
|
|
54
|
+
/** Resolved CSS stroke colour. */
|
|
55
|
+
stroke: string;
|
|
56
|
+
/** Stroke width in SVG pixels. */
|
|
57
|
+
strokeWidth: number;
|
|
58
|
+
/** Centroid [x, y] of the origin country. */
|
|
59
|
+
fromPoint: [number, number];
|
|
60
|
+
/** Centroid [x, y] of the destination country. */
|
|
61
|
+
toPoint: [number, number];
|
|
62
|
+
/** Origin country code. */
|
|
63
|
+
from: string;
|
|
64
|
+
/** Destination country code. */
|
|
65
|
+
to: string;
|
|
66
|
+
/** Optional flow value. */
|
|
67
|
+
value: number | undefined;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Props for `<OrigamChartMap>`.
|
|
71
|
+
*
|
|
72
|
+
* Supports two rendering modes:
|
|
73
|
+
* - `'choropleth'` — country shapes coloured by a continuous value
|
|
74
|
+
* interpolated between two intent / CSS colour endpoints.
|
|
75
|
+
* - `'flight-routes'` — curved arcs between pairs of country centroids
|
|
76
|
+
* drawn over a neutral map backdrop.
|
|
77
|
+
*/
|
|
78
|
+
export interface IChartMapProps extends IChartBaseProps {
|
|
79
|
+
/**
|
|
80
|
+
* Rendering mode. Default `'choropleth'`.
|
|
81
|
+
*/
|
|
82
|
+
mode?: TChartMapMode;
|
|
83
|
+
/**
|
|
84
|
+
* Colour gradient endpoints for choropleth mode.
|
|
85
|
+
* First colour = min value; second colour = max value.
|
|
86
|
+
* Supports intent names and raw CSS strings.
|
|
87
|
+
* Default `['info', 'danger']`.
|
|
88
|
+
*/
|
|
89
|
+
colorRange?: [TIntent | string, TIntent | string];
|
|
90
|
+
/**
|
|
91
|
+
* Fill colour for countries that have no value in the dataset.
|
|
92
|
+
* Default `'rgba(0,0,0,0.08)'`.
|
|
93
|
+
*/
|
|
94
|
+
defaultCountryFill?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Stroke colour applied to all country path outlines.
|
|
97
|
+
* Default `'rgba(0,0,0,0.2)'`.
|
|
98
|
+
*/
|
|
99
|
+
borderColor?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Default stroke colour for flight-route arcs.
|
|
102
|
+
* Overridden per route via `IChartMapRouteDatum.color`.
|
|
103
|
+
* Default `'primary'`.
|
|
104
|
+
*/
|
|
105
|
+
lineColor?: TIntent | string;
|
|
106
|
+
/**
|
|
107
|
+
* Radius in SVG pixels of the endpoint circles on each route.
|
|
108
|
+
* Default `4`.
|
|
109
|
+
*/
|
|
110
|
+
nodeRadius?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Bezier control-point offset as a fraction of the chord length [0..1].
|
|
113
|
+
* `0` = straight line; `0.3` = gentle arc (default); `0.5` = visible arc.
|
|
114
|
+
*/
|
|
115
|
+
routeCurvature?: number;
|
|
116
|
+
/**
|
|
117
|
+
* Y-axis value formatter used in tooltips and the choropleth legend.
|
|
118
|
+
* When omitted, values are displayed as-is.
|
|
119
|
+
*/
|
|
120
|
+
yAxisFormat?: (value: number) => string;
|
|
121
|
+
}
|
|
122
|
+
/** Emits surfaced by `<OrigamChartMap>`. Mirrors the base family. */
|
|
123
|
+
export type IChartMapEmits = IChartBaseEmits;
|
|
124
|
+
/** Slot signatures exposed by `<OrigamChartMap>`. */
|
|
125
|
+
export interface IChartMapSlots extends IChartBaseSlots {
|
|
126
|
+
/**
|
|
127
|
+
* Replace the default tooltip body.
|
|
128
|
+
* Receives the hovered point, series, and category label.
|
|
129
|
+
*/
|
|
130
|
+
tooltip?: (bindings: {
|
|
131
|
+
point: IChartPoint;
|
|
132
|
+
series: IChartSeries;
|
|
133
|
+
category: string | number;
|
|
134
|
+
}) => any;
|
|
135
|
+
/** Render when `series` is empty or has no renderable data. */
|
|
136
|
+
empty?: () => any;
|
|
137
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|