origam 2.15.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/dist/src/components/Alert/OrigamAlert.vue +13 -16
- package/dist/src/components/App/OrigamAppBar.vue +5 -5
- package/dist/src/components/Audio/OrigamAudio.vue +5 -5
- package/dist/src/components/Avatar/OrigamAvatar.vue +5 -5
- package/dist/src/components/Badge/OrigamBadge.vue +5 -5
- package/dist/src/components/Blockquote/OrigamBlockquote.vue +8 -8
- package/dist/src/components/BottomNav/OrigamBottomNav.vue +10 -8
- package/dist/src/components/Bracket/OrigamBracket.vue +12 -16
- package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +6 -6
- package/dist/src/components/Bracket/OrigamBracketMatch.vue +24 -6
- package/dist/src/components/Bracket/OrigamBracketRound.vue +5 -5
- package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +11 -8
- package/dist/src/components/Btn/OrigamBtn.vue +7 -7
- package/dist/src/components/Calendar/OrigamCalendar.vue +25 -39
- package/dist/src/components/Card/OrigamCard.vue +4 -4
- package/dist/src/components/Card/OrigamCardHeader.vue +21 -5
- package/dist/src/components/Card/OrigamCardText.vue +27 -6
- package/dist/src/components/Chart/OrigamChart.vue +54 -2
- package/dist/src/components/Chart/OrigamChartBoxPlot.vue +3 -3
- package/dist/src/components/Chart/OrigamChartBullet.vue +3 -3
- package/dist/src/components/Chart/OrigamChartCandlestick.vue +3 -3
- package/dist/src/components/Chart/OrigamChartCartesian.vue +5 -5
- package/dist/src/components/Chart/OrigamChartGauge.vue +3 -3
- package/dist/src/components/Chart/OrigamChartHeatmap.vue +3 -3
- package/dist/src/components/Chart/OrigamChartHoneycomb.vue +3 -3
- package/dist/src/components/Chart/OrigamChartLegend.vue +1 -1
- package/dist/src/components/Chart/OrigamChartMap.vue +3 -3
- package/dist/src/components/Chart/OrigamChartPareto.vue +3 -3
- package/dist/src/components/Chart/OrigamChartPictorial.vue +4 -4
- package/dist/src/components/Chart/OrigamChartPolar.vue +4 -4
- package/dist/src/components/Chart/OrigamChartPolarBar.vue +3 -3
- package/dist/src/components/Chart/OrigamChartPyramid.vue +3 -3
- package/dist/src/components/Chart/OrigamChartRadar.vue +3 -3
- package/dist/src/components/Chart/OrigamChartSankey.vue +3 -3
- package/dist/src/components/Chart/OrigamChartSparkline.vue +2 -2
- package/dist/src/components/Chart/OrigamChartStreamgraph.vue +4 -4
- package/dist/src/components/Chart/OrigamChartSunburst.vue +3 -3
- package/dist/src/components/Chart/OrigamChartTreemap.vue +4 -4
- package/dist/src/components/Chart/OrigamChartVariwide.vue +3 -3
- package/dist/src/components/Chart/OrigamChartWordCloud.vue +2 -2
- package/dist/src/components/Checkbox/OrigamCheckbox.vue +5 -5
- package/dist/src/components/Chip/OrigamChip.vue +18 -7
- package/dist/src/components/Chip/OrigamChipGroup.vue +9 -7
- package/dist/src/components/Clipboard/OrigamClipboard.vue +5 -5
- package/dist/src/components/Code/OrigamCode.vue +5 -5
- package/dist/src/components/ColorPicker/OrigamColorPicker.vue +6 -6
- package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +2 -2
- package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +5 -5
- package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +5 -5
- package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +5 -5
- package/dist/src/components/Counter/OrigamCounter.vue +42 -2
- package/dist/src/components/DataList/OrigamDataList.vue +6 -6
- package/dist/src/components/DataTable/OrigamDataTable.vue +5 -5
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +2 -2
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +2 -1
- package/dist/src/components/DatePicker/OrigamDatePicker.vue +6 -6
- package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +5 -5
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +1 -1
- package/dist/src/components/EmptyState/OrigamEmptyState.vue +7 -7
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +8 -8
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +2 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +5 -5
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +12 -8
- package/dist/src/components/Field/OrigamField.vue +7 -7
- package/dist/src/components/FileField/OrigamFileField.vue +12 -12
- package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +5 -5
- package/dist/src/components/FileField/OrigamFileFieldListItem.vue +5 -5
- package/dist/src/components/Form/OrigamForm.vue +6 -6
- package/dist/src/components/Grid/OrigamGrid.vue +5 -5
- package/dist/src/components/Grid/OrigamGridItem.vue +2 -2
- package/dist/src/components/Icon/OrigamClassIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamComponentIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamIcon.vue +0 -1
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamSvgIcon.vue +28 -3
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +5 -5
- package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +5 -5
- package/dist/src/components/Input/OrigamInput.vue +25 -5
- package/dist/src/components/ItemGroup/OrigamItemGroup.vue +6 -3
- package/dist/src/components/Kbd/OrigamKbd.vue +8 -7
- package/dist/src/components/Label/OrigamLabel.vue +5 -5
- package/dist/src/components/List/OrigamList.vue +9 -7
- package/dist/src/components/List/OrigamListGroup.vue +7 -4
- package/dist/src/components/List/OrigamListItem.vue +5 -5
- package/dist/src/components/List/OrigamListSubheader.vue +5 -5
- package/dist/src/components/Masonry/OrigamMasonry.vue +7 -4
- package/dist/src/components/Media/OrigamMediaController.vue +0 -5
- package/dist/src/components/Media/OrigamMediaScrubber.vue +17 -13
- package/dist/src/components/Menu/OrigamMenu.vue +25 -12
- package/dist/src/components/Messages/OrigamMessages.vue +5 -5
- package/dist/src/components/NumberField/OrigamNumberField.vue +5 -5
- package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +7 -7
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +5 -5
- package/dist/src/components/Pagination/OrigamPagination.vue +33 -6
- package/dist/src/components/Parallax/OrigamParallax.vue +24 -6
- package/dist/src/components/Parallax/OrigamParallaxElement.vue +4 -4
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +5 -5
- package/dist/src/components/Picker/OrigamPicker.vue +6 -6
- package/dist/src/components/Picker/OrigamPickerTitle.vue +5 -5
- package/dist/src/components/QrCode/OrigamQrCode.vue +1 -1
- package/dist/src/components/Radio/OrigamRadio.vue +5 -5
- package/dist/src/components/Radio/OrigamRadioGroup.vue +15 -12
- package/dist/src/components/RatingField/OrigamRatingField.vue +5 -5
- package/dist/src/components/Select/OrigamSelect.vue +5 -5
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +4 -2
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +17 -15
- package/dist/src/components/Sheet/OrigamSheet.vue +2 -2
- package/dist/src/components/Skeleton/OrigamSkeleton.vue +1 -1
- package/dist/src/components/Slide/OrigamSlideGroup.vue +1 -1
- package/dist/src/components/SliderField/OrigamSliderField.vue +5 -5
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +1 -4
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +1 -0
- package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +11 -7
- package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +16 -10
- package/dist/src/components/Stepper/OrigamStepper.vue +3 -3
- package/dist/src/components/Stepper/OrigamStepperItem.vue +10 -10
- package/dist/src/components/Switch/OrigamSwitch.vue +11 -54
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +5 -5
- package/dist/src/components/Table/OrigamTable.vue +5 -5
- package/dist/src/components/Tabs/OrigamTab.vue +5 -5
- package/dist/src/components/Tabs/OrigamTabPanels.vue +6 -3
- package/dist/src/components/Tabs/OrigamTabs.vue +9 -6
- package/dist/src/components/TextField/OrigamTextField.vue +5 -5
- package/dist/src/components/TextMask/OrigamTextMask.vue +7 -7
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +8 -6
- package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +2 -2
- package/dist/src/components/Timeline/OrigamTimeline.vue +7 -5
- package/dist/src/components/Timeline/OrigamTimelineItem.vue +10 -9
- package/dist/src/components/Title/OrigamTitle.vue +5 -5
- package/dist/src/components/Toolbar/OrigamToolbar.vue +5 -5
- package/dist/src/components/Tooltip/OrigamTooltip.vue +5 -5
- package/dist/src/components/Treeview/OrigamTreeview.vue +8 -8
- package/dist/src/components/Treeview/OrigamTreeviewNode.vue +5 -4
- package/dist/src/components/Video/OrigamVideo.vue +8 -55
- package/dist/src/composables/Calendar/calendar.composable.cjs +11 -10
- package/dist/src/composables/Calendar/calendar.composable.d.ts +2 -26
- package/dist/src/composables/Calendar/calendar.composable.js +11 -10
- package/dist/src/composables/CommandPalette/command.composable.d.ts +2 -24
- package/dist/src/composables/Commons/defaults.composable.cjs +1 -0
- package/dist/src/composables/Commons/defaults.composable.d.ts +11 -0
- package/dist/src/composables/Commons/defaults.composable.js +1 -1
- package/dist/src/composables/Commons/loader.composable.cjs +2 -1
- package/dist/src/composables/Commons/loader.composable.d.ts +3 -24
- package/dist/src/composables/Commons/loader.composable.js +2 -1
- package/dist/src/composables/Commons/margin.composable.cjs +26 -12
- package/dist/src/composables/Commons/margin.composable.d.ts +37 -0
- package/dist/src/composables/Commons/margin.composable.js +22 -25
- package/dist/src/composables/Commons/padding.composable.cjs +26 -12
- package/dist/src/composables/Commons/padding.composable.d.ts +26 -0
- package/dist/src/composables/Commons/padding.composable.js +22 -25
- package/dist/src/composables/Commons/props.composable.d.ts +45 -0
- package/dist/src/composables/Commons/rounded.composable.cjs +18 -23
- package/dist/src/composables/Commons/rounded.composable.d.ts +29 -11
- package/dist/src/composables/Commons/rounded.composable.js +27 -31
- package/dist/src/composables/Commons/stateEffect.composable.cjs +53 -1
- package/dist/src/composables/Commons/stateEffect.composable.d.ts +2 -6
- package/dist/src/composables/Commons/stateEffect.composable.js +65 -7
- package/dist/src/composables/Commons/theme-props-resolver.composable.cjs +82 -0
- package/dist/src/composables/Commons/theme-props-resolver.composable.d.ts +38 -0
- package/dist/src/composables/Commons/theme-props-resolver.composable.js +75 -0
- package/dist/src/composables/CssSupport/cssSupport.composable.d.ts +5 -43
- package/dist/src/composables/Mask/mask.composable.d.ts +3 -23
- package/dist/src/composables/Masonry/masonry.composable.d.ts +4 -58
- package/dist/src/composables/Parallax/parallax.composable.d.ts +2 -20
- package/dist/src/composables/PasswordField/passwordStrength.composable.cjs +3 -2
- package/dist/src/composables/PasswordField/passwordStrength.composable.js +6 -5
- package/dist/src/composables/Snackbar/snackbar-group.composable.cjs +8 -3
- package/dist/src/composables/Snackbar/snackbar-group.composable.d.ts +3 -22
- package/dist/src/composables/Snackbar/snackbar-group.composable.js +8 -3
- package/dist/src/composables/Theme/theme.composable.d.ts +1 -1
- package/dist/src/composables/Transition/transition.composable.cjs +2 -2
- package/dist/src/composables/Transition/transition.composable.d.ts +3 -3
- package/dist/src/composables/Transition/transition.composable.js +2 -2
- package/dist/src/composables/index.cjs +12 -0
- package/dist/src/composables/index.d.ts +1 -0
- package/dist/src/composables/index.js +1 -0
- package/dist/src/consts/Blockquote/blockquote.const.cjs +3 -2
- package/dist/src/consts/Blockquote/blockquote.const.js +3 -14
- package/dist/src/consts/Bracket/bracket.const.cjs +3 -2
- package/dist/src/consts/Bracket/bracket.const.js +3 -11
- package/dist/src/consts/ColorPicker/color-picker.const.cjs +7 -7
- package/dist/src/consts/ColorPicker/color-picker.const.js +1 -1
- package/dist/src/consts/Commons/border.const.cjs +2 -2
- package/dist/src/consts/Commons/border.const.js +3 -3
- package/dist/src/consts/Commons/spacing.const.cjs +78 -0
- package/dist/src/consts/Commons/spacing.const.d.ts +102 -0
- package/dist/src/consts/Commons/spacing.const.js +56 -0
- package/dist/src/consts/EmptyState/empty-state.const.cjs +6 -6
- package/dist/src/consts/EmptyState/empty-state.const.js +7 -13
- package/dist/src/consts/Media/media.const.cjs +3 -2
- package/dist/src/consts/Media/media.const.d.ts +17 -0
- package/dist/src/consts/Media/media.const.js +1 -0
- package/dist/src/consts/QrCode/qr-code.const.cjs +2 -1
- package/dist/src/consts/QrCode/qr-code.const.js +2 -1
- package/dist/src/consts/index.cjs +11 -0
- package/dist/src/consts/index.d.ts +1 -0
- package/dist/src/consts/index.js +1 -0
- package/dist/src/enums/Bracket/bracket-round.enum.cjs +12 -0
- package/dist/src/enums/Bracket/bracket-round.enum.d.ts +10 -0
- package/dist/src/enums/Bracket/bracket-round.enum.js +6 -0
- package/dist/src/enums/Calendar/calendar.enum.cjs +24 -0
- package/dist/src/enums/Calendar/calendar.enum.d.ts +28 -0
- package/dist/src/enums/Calendar/calendar.enum.js +18 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.cjs +12 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.d.ts +12 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.js +6 -0
- package/dist/src/enums/Chart/chart.enum.cjs +8 -2
- package/dist/src/enums/Chart/chart.enum.d.ts +21 -0
- package/dist/src/enums/Chart/chart.enum.js +6 -0
- package/dist/src/enums/Code/code.enum.cjs +9 -8
- package/dist/src/enums/Code/code.enum.d.ts +7 -5
- package/dist/src/enums/Code/code.enum.js +1 -6
- package/dist/src/enums/Commons/align.enum.cjs +8 -2
- package/dist/src/enums/Commons/align.enum.d.ts +14 -0
- package/dist/src/enums/Commons/align.enum.js +6 -0
- package/dist/src/enums/Commons/border.enum.cjs +7 -2
- package/dist/src/enums/Commons/border.enum.d.ts +9 -0
- package/dist/src/enums/Commons/border.enum.js +5 -0
- package/dist/src/enums/Commons/color.enum.cjs +13 -0
- package/dist/src/enums/Commons/color.enum.d.ts +17 -0
- package/dist/src/enums/Commons/color.enum.js +7 -0
- package/dist/src/enums/Commons/font-family.enum.cjs +12 -0
- package/dist/src/enums/Commons/font-family.enum.d.ts +10 -0
- package/dist/src/enums/Commons/font-family.enum.js +6 -0
- package/dist/src/enums/Commons/font-size.enum.cjs +18 -0
- package/dist/src/enums/Commons/font-size.enum.d.ts +21 -0
- package/dist/src/enums/Commons/font-size.enum.js +12 -0
- package/dist/src/enums/Commons/font-weight.enum.cjs +15 -0
- package/dist/src/enums/Commons/font-weight.enum.d.ts +12 -0
- package/dist/src/enums/Commons/font-weight.enum.js +9 -0
- package/dist/src/enums/Commons/letter-spacing.enum.cjs +14 -0
- package/dist/src/enums/Commons/letter-spacing.enum.d.ts +12 -0
- package/dist/src/enums/Commons/letter-spacing.enum.js +8 -0
- package/dist/src/enums/Commons/line-height.enum.cjs +15 -0
- package/dist/src/enums/Commons/line-height.enum.d.ts +12 -0
- package/dist/src/enums/Commons/line-height.enum.js +9 -0
- package/dist/src/enums/Commons/loader.enum.cjs +12 -0
- package/dist/src/enums/Commons/loader.enum.d.ts +14 -0
- package/dist/src/enums/Commons/loader.enum.js +6 -0
- package/dist/src/enums/Commons/theme.enum.cjs +12 -0
- package/dist/src/enums/Commons/theme.enum.d.ts +19 -0
- package/dist/src/enums/Commons/theme.enum.js +6 -0
- package/dist/src/enums/DataList/data-list.enum.cjs +11 -0
- package/dist/src/enums/DataList/data-list.enum.d.ts +15 -0
- package/dist/src/enums/DataList/data-list.enum.js +5 -0
- package/dist/src/enums/FileField/file-field.enum.cjs +12 -0
- package/dist/src/enums/FileField/file-field.enum.d.ts +9 -0
- package/dist/src/enums/FileField/file-field.enum.js +6 -0
- package/dist/src/enums/Grid/grid.enum.cjs +13 -0
- package/dist/src/enums/Grid/grid.enum.d.ts +15 -0
- package/dist/src/enums/Grid/grid.enum.js +7 -0
- package/dist/src/enums/Kbd/kbd.enum.cjs +12 -0
- package/dist/src/enums/Kbd/kbd.enum.d.ts +10 -0
- package/dist/src/enums/Kbd/kbd.enum.js +6 -0
- package/dist/src/enums/Masonry/masonry.enum.cjs +11 -0
- package/dist/src/enums/Masonry/masonry.enum.d.ts +10 -0
- package/dist/src/enums/Masonry/masonry.enum.js +5 -0
- package/dist/src/enums/NumberFormat/number-format.enum.cjs +55 -0
- package/dist/src/enums/NumberFormat/number-format.enum.d.ts +78 -0
- package/dist/src/enums/NumberFormat/number-format.enum.js +49 -0
- package/dist/src/enums/PasswordField/password-field.enum.cjs +13 -0
- package/dist/src/enums/PasswordField/password-field.enum.d.ts +12 -0
- package/dist/src/enums/PasswordField/password-field.enum.js +7 -0
- package/dist/src/enums/QrCode/qr-code.enum.cjs +13 -0
- package/dist/src/enums/QrCode/qr-code.enum.d.ts +11 -0
- package/dist/src/enums/QrCode/qr-code.enum.js +7 -0
- package/dist/src/enums/Sheet/sheet.enum.cjs +13 -0
- package/dist/src/enums/Sheet/sheet.enum.d.ts +14 -0
- package/dist/src/enums/Sheet/sheet.enum.js +7 -0
- package/dist/src/enums/Skeleton/skeleton.enum.cjs +14 -0
- package/dist/src/enums/Skeleton/skeleton.enum.d.ts +11 -0
- package/dist/src/enums/Skeleton/skeleton.enum.js +8 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.cjs +22 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.d.ts +22 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.js +16 -0
- package/dist/src/enums/Stepper/stepper.enum.cjs +13 -0
- package/dist/src/enums/Stepper/stepper.enum.d.ts +11 -0
- package/dist/src/enums/Stepper/stepper.enum.js +7 -0
- package/dist/src/enums/TextField/text-field.enum.cjs +8 -1
- package/dist/src/enums/TextField/text-field.enum.d.ts +12 -0
- package/dist/src/enums/TextField/text-field.enum.js +7 -0
- package/dist/src/enums/TextMask/text-mask.enum.cjs +13 -0
- package/dist/src/enums/TextMask/text-mask.enum.d.ts +11 -0
- package/dist/src/enums/TextMask/text-mask.enum.js +7 -0
- package/dist/src/enums/Timeline/timeline.enum.cjs +12 -0
- package/dist/src/enums/Timeline/timeline.enum.d.ts +10 -0
- package/dist/src/enums/Timeline/timeline.enum.js +6 -0
- package/dist/src/enums/Treeview/treeview.enum.cjs +17 -0
- package/dist/src/enums/Treeview/treeview.enum.d.ts +18 -0
- package/dist/src/enums/Treeview/treeview.enum.js +11 -0
- package/dist/src/enums/Video/video.enum.cjs +13 -0
- package/dist/src/enums/Video/video.enum.d.ts +12 -0
- package/dist/src/enums/Video/video.enum.js +7 -0
- package/dist/src/enums/index.cjs +297 -0
- package/dist/src/enums/index.d.ts +27 -0
- package/dist/src/enums/index.js +27 -0
- package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +2 -2
- package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +2 -2
- package/dist/src/interfaces/Bracket/bracket-surface.interface.cjs +1 -0
- package/dist/src/interfaces/Bracket/bracket-surface.interface.d.ts +56 -0
- package/dist/src/interfaces/Bracket/bracket-surface.interface.js +0 -0
- package/dist/src/interfaces/Calendar/calendar.interface.d.ts +25 -0
- package/dist/src/interfaces/Calendar/rrule.interface.cjs +1 -0
- package/dist/src/interfaces/Calendar/rrule.interface.d.ts +26 -0
- package/dist/src/interfaces/Calendar/rrule.interface.js +0 -0
- package/dist/src/interfaces/Chart/chart-sunburst.interface.d.ts +2 -8
- package/dist/src/interfaces/CommandPalette/command-palette-rendered-group.interface.d.ts +1 -2
- package/dist/src/interfaces/CommandPalette/command.interface.d.ts +47 -0
- package/dist/src/interfaces/Commons/loader.interface.d.ts +23 -1
- package/dist/src/interfaces/Commons/margin.interface.d.ts +30 -0
- package/dist/src/interfaces/Commons/padding.interface.d.ts +29 -0
- package/dist/src/interfaces/Commons/rounded.interface.d.ts +24 -0
- package/dist/src/interfaces/CssSupport/css-support.interface.cjs +1 -0
- package/dist/src/interfaces/CssSupport/css-support.interface.d.ts +43 -0
- package/dist/src/interfaces/CssSupport/css-support.interface.js +0 -0
- package/dist/src/interfaces/DataList/data-list.interface.d.ts +2 -15
- package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +2 -2
- package/dist/src/interfaces/Form/form.interface.d.ts +9 -2
- package/dist/src/interfaces/Icon/icon.interface.d.ts +11 -1
- package/dist/src/interfaces/Mask/mask-options.interface.d.ts +23 -2
- package/dist/src/interfaces/Masonry/masonry.interface.d.ts +55 -0
- package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +25 -3
- package/dist/src/interfaces/Menu/menu.interface.d.ts +10 -2
- package/dist/src/interfaces/Parallax/parallax.interface.d.ts +18 -0
- package/dist/src/interfaces/QrCode/qr-code.interface.d.ts +15 -1
- package/dist/src/interfaces/Radio/radio-group.interface.d.ts +4 -1
- package/dist/src/interfaces/Sheet/sheet-emits.interface.d.ts +7 -1
- package/dist/src/interfaces/Snackbar/snackbar-group.interface.d.ts +62 -2
- package/dist/src/interfaces/Snackbar/snackbar.interface.d.ts +4 -1
- package/dist/src/interfaces/Theme/origam-theme.interface.d.ts +16 -1
- package/dist/src/interfaces/Timeline/timeline.interface.d.ts +4 -4
- package/dist/src/interfaces/Video/video.interface.d.ts +2 -2
- package/dist/src/interfaces/Watermark/watermark.interface.d.ts +19 -0
- package/dist/src/interfaces/index.cjs +33 -0
- package/dist/src/interfaces/index.d.ts +3 -0
- package/dist/src/interfaces/index.js +3 -0
- package/dist/src/origam.cjs +2 -0
- package/dist/src/origam.js +14 -1
- package/dist/src/types/Blockquote/blockquote.type.d.ts +4 -3
- package/dist/src/types/Bracket/bracket-round.type.d.ts +2 -1
- package/dist/src/types/Bracket/bracket.type.d.ts +50 -0
- package/dist/src/types/Calendar/calendar.type.d.ts +4 -3
- package/dist/src/types/Chart/chart-cartesian.type.d.ts +2 -1
- package/dist/src/types/Chart/chart-legend.type.d.ts +5 -1
- package/dist/src/types/Chart/chart-pictorial.type.d.ts +2 -1
- package/dist/src/types/Chart/chart-polar.type.d.ts +2 -1
- package/dist/src/types/Chart/chart-streamgraph.type.d.ts +2 -1
- package/dist/src/types/Chart/chart-sunburst.type.d.ts +8 -0
- package/dist/src/types/Chart/chart-treemap.type.d.ts +2 -1
- package/dist/src/types/Chart/chart.type.d.ts +14 -2
- package/dist/src/types/Code/code.type.d.ts +19 -0
- package/dist/src/types/Commons/align.type.d.ts +6 -1
- package/dist/src/types/Commons/border.type.d.ts +2 -2
- package/dist/src/types/Commons/color.type.d.ts +2 -1
- package/dist/src/types/Commons/css-support.type.cjs +1 -0
- package/dist/src/types/Commons/css-support.type.d.ts +26 -0
- package/dist/src/types/Commons/css-support.type.js +0 -0
- package/dist/src/types/Commons/font-family.type.d.ts +2 -1
- package/dist/src/types/Commons/font-size.type.d.ts +2 -1
- package/dist/src/types/Commons/font-weight.type.d.ts +2 -1
- package/dist/src/types/Commons/letter-spacing.type.d.ts +2 -1
- package/dist/src/types/Commons/line-height.type.d.ts +2 -1
- package/dist/src/types/Commons/loader.type.d.ts +5 -4
- package/dist/src/types/Commons/state-effect.type.cjs +1 -0
- package/dist/src/types/Commons/state-effect.type.d.ts +30 -0
- package/dist/src/types/Commons/state-effect.type.js +0 -0
- package/dist/src/types/DataList/data-list.type.d.ts +16 -0
- package/dist/src/types/EmptyState/empty-state.type.d.ts +8 -2
- package/dist/src/types/FileField/file-field.type.d.ts +2 -1
- package/dist/src/types/Grid/grid-item.type.d.ts +4 -2
- package/dist/src/types/Grid/grid.type.d.ts +13 -4
- package/dist/src/types/InlineEdit/inline-edit.type.d.ts +5 -1
- package/dist/src/types/Kbd/kbd.type.d.ts +2 -1
- package/dist/src/types/Masonry/masonry.type.d.ts +2 -1
- package/dist/src/types/NumberFormat/number-format.type.d.ts +8 -7
- package/dist/src/types/PasswordField/password-field.type.d.ts +2 -1
- package/dist/src/types/QrCode/qr-code.type.d.ts +2 -1
- package/dist/src/types/Sheet/sheet.type.d.ts +2 -1
- package/dist/src/types/Skeleton/skeleton.type.d.ts +2 -1
- package/dist/src/types/Snackbar/snackbar-group.type.d.ts +3 -2
- package/dist/src/types/Stepper/stepper.type.d.ts +2 -1
- package/dist/src/types/TextField/text-field.type.d.ts +2 -2
- package/dist/src/types/TextMask/text-mask.type.d.ts +2 -1
- package/dist/src/types/Theme/theme.type.d.ts +3 -2
- package/dist/src/types/Timeline/timeline.type.d.ts +2 -1
- package/dist/src/types/Treeview/treeview.type.d.ts +3 -2
- package/dist/src/types/Video/video.type.d.ts +2 -1
- package/dist/src/types/index.cjs +22 -0
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.js +2 -0
- package/dist/src/utils/Bracket/bracket-surface.util.cjs +26 -0
- package/dist/src/utils/Bracket/bracket-surface.util.d.ts +3 -24
- package/dist/src/utils/Bracket/bracket-surface.util.js +16 -0
- package/dist/src/utils/Calendar/rrule.util.d.ts +2 -10
- package/dist/src/utils/Chart/path.util.d.ts +2 -2
- package/dist/src/utils/CommandPalette/fuzzy-match.util.d.ts +2 -10
- package/dist/src/utils/Commons/color.util.cjs +2 -1
- package/dist/src/utils/Commons/color.util.js +2 -1
- package/dist/src/utils/Commons/spacing.util.cjs +34 -0
- package/dist/src/utils/Commons/spacing.util.d.ts +55 -0
- package/dist/src/utils/Commons/spacing.util.js +27 -0
- package/dist/src/utils/Mask/apply-mask.util.cjs +8 -7
- package/dist/src/utils/Mask/apply-mask.util.js +8 -7
- package/dist/src/utils/index.cjs +11 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.js +1 -0
- package/package.json +5 -3
|
@@ -121,3 +121,21 @@ export interface IParallaxLayerProvide {
|
|
|
121
121
|
register: (layer: IParallaxLayerRegistry) => void;
|
|
122
122
|
unregister: (id: symbol) => void;
|
|
123
123
|
}
|
|
124
|
+
/*********************************************************
|
|
125
|
+
* Options consumed by `useParallaxRuntime`.
|
|
126
|
+
********************************************************/
|
|
127
|
+
export interface IUseParallaxRuntimeOptions {
|
|
128
|
+
target: Ref<HTMLElement | undefined>;
|
|
129
|
+
direction: Ref<TParallaxDirection>;
|
|
130
|
+
easing: Ref<TParallaxEasing | string>;
|
|
131
|
+
threshold: Ref<number>;
|
|
132
|
+
disabled: Ref<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* Fallback speed used when `slot=default` carries raw content (no
|
|
135
|
+
* `<OrigamParallaxLayer>`). Mirrors `IParallaxProps.speed`.
|
|
136
|
+
*/
|
|
137
|
+
speed: Ref<number>;
|
|
138
|
+
onEnter?: () => void;
|
|
139
|
+
onLeave?: () => void;
|
|
140
|
+
onProgress?: (progress: number) => void;
|
|
141
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, ISrcObject, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, ISrcObject, IQrCodeLogo, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon, TQrCodeErrorCorrectionLevel } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Per-matrix overrides — applied INSIDE the SVG (modules + quiet
|
|
@@ -150,3 +150,17 @@ export interface IQrCodeSlots {
|
|
|
150
150
|
size: number;
|
|
151
151
|
}) => any;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* `useQrCode`'s option bag AFTER defaulting — every field resolved to a
|
|
155
|
+
* concrete value, so the SVG builders downstream never re-apply a
|
|
156
|
+
* fallback. Distinct from `IUseQrCodeOptions`, which is the loose,
|
|
157
|
+
* all-optional shape a caller passes in.
|
|
158
|
+
*/
|
|
159
|
+
export interface IQrCodeResolvedOptions {
|
|
160
|
+
errorCorrectionLevel: TQrCodeErrorCorrectionLevel;
|
|
161
|
+
foreground: string;
|
|
162
|
+
background: string;
|
|
163
|
+
margin: number;
|
|
164
|
+
cornerRadius: number;
|
|
165
|
+
logo?: IQrCodeLogo;
|
|
166
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { IBorderProps, ICommonsComponentProps, IElevationProps, IInputProps, IMarginProps, IPaddingProps, IRadioProps, IRoundedProps, ISelectionControlGroupProps } from '../../interfaces';
|
|
1
|
+
import type { IBorderProps, ICommonsComponentEmits, ICommonsComponentProps, IElevationProps, IInputProps, IMarginProps, IPaddingProps, IRadioProps, IRoundedProps, ISelectionControlGroupProps } from '../../interfaces';
|
|
2
2
|
export interface IRadioGroupProps extends ICommonsComponentProps, Partial<Omit<IRadioProps, 'trueValue' | 'falseValue'>>, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps, IElevationProps, IInputProps, Partial<Omit<ISelectionControlGroupProps, 'multiple'>> {
|
|
3
3
|
}
|
|
4
|
+
/** Emits fired by `<OrigamRadioGroup>` — v-model de la valeur choisie. */
|
|
5
|
+
export interface IRadioGroupEmits extends ICommonsComponentEmits {
|
|
6
|
+
}
|
|
4
7
|
/** Slot signatures for `<OrigamRadioGroup>`. `item` reuses the same
|
|
5
8
|
* `{id, messagesId, isDisabled, isReadonly, isValid}` scope as
|
|
6
9
|
* `default` (NOT the individual `item` being rendered — the template
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IActiveEmits } from '../../interfaces';
|
|
1
2
|
import type { TSheetSnapId } from '../../types';
|
|
2
3
|
/**
|
|
3
4
|
* Emit signature for `<OrigamSheet>`.
|
|
@@ -8,8 +9,13 @@ import type { TSheetSnapId } from '../../types';
|
|
|
8
9
|
* - `update:open` is the v-model:open companion — emitted on the
|
|
9
10
|
* closed/non-closed boundary so two-way binding stays consistent
|
|
10
11
|
* when the user dismisses via swipe-down.
|
|
12
|
+
* - `update:active` vient de `useActive(props)` : `onActive()` est câblé
|
|
13
|
+
* sur le clic ET sur `keydown.enter` / `keydown.space` du template, et
|
|
14
|
+
* écrit dans le v-model `active`. L'émission partait sans être
|
|
15
|
+
* déclarée. Prouvé au runtime dans
|
|
16
|
+
* `packages/tests/TU/origam/relay-emits-declaration.spec.ts`.
|
|
11
17
|
*/
|
|
12
|
-
export interface ISheetEmits {
|
|
18
|
+
export interface ISheetEmits extends IActiveEmits {
|
|
13
19
|
(e: 'update:snap', id: TSheetSnapId): void;
|
|
14
20
|
(e: 'update:open', value: boolean): void;
|
|
15
21
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { ICommonsComponentProps, ISnackbarGroupItem, ISnackbarGroupItemOptions, ITagProps } from '../../interfaces';
|
|
2
3
|
import type { TSnackbarGroupDirection, TSnackbarGroupLocation } from '../../types';
|
|
3
4
|
/**
|
|
4
5
|
* Props for `<OrigamSnackbarGroup>` — a multi-toast container that
|
|
@@ -39,7 +40,11 @@ export interface ISnackbarGroupProps extends ICommonsComponentProps, ITagProps {
|
|
|
39
40
|
/**
|
|
40
41
|
* Default auto-dismiss timeout (ms) applied to items that do not
|
|
41
42
|
* supply their own `duration`. Pass `0` to make all items sticky
|
|
42
|
-
* by default.
|
|
43
|
+
* by default. Registered into the shared stack store on mount (and
|
|
44
|
+
* kept in sync reactively), so it applies to `notify()` calls from
|
|
45
|
+
* ANY `useSnackbarGroup({ id })` instance targeting this stack —
|
|
46
|
+
* not only calls that repeat `defaultDuration` as a composable
|
|
47
|
+
* option.
|
|
43
48
|
*
|
|
44
49
|
* @default 5000
|
|
45
50
|
*/
|
|
@@ -58,3 +63,58 @@ export interface ISnackbarGroupProps extends ICommonsComponentProps, ITagProps {
|
|
|
58
63
|
*/
|
|
59
64
|
direction?: TSnackbarGroupDirection;
|
|
60
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Per-`id` singleton store backing `useSnackbarGroup`.
|
|
68
|
+
*
|
|
69
|
+
* One entry per stack `id`, held in a module-level map for the lifetime
|
|
70
|
+
* of the module, so any number of components / composables addressing
|
|
71
|
+
* the same `id` share state (notify here, dismiss there).
|
|
72
|
+
*/
|
|
73
|
+
export interface ISnackbarGroupState {
|
|
74
|
+
items: Ref<Array<ISnackbarGroupItem>>;
|
|
75
|
+
timers: Map<string, number>;
|
|
76
|
+
counter: {
|
|
77
|
+
current: number;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Fallback `duration` (ms) for this stack, registered by the
|
|
81
|
+
* mounted `<OrigamSnackbarGroup defaultDuration="…">` instance (see
|
|
82
|
+
* `useSnackbarGroupInternal`'s `registerDefaultDuration`). Lets
|
|
83
|
+
* `notify()` — called from ANYWHERE, independent of which
|
|
84
|
+
* `useSnackbarGroup({ id })` call site fired it — honour the
|
|
85
|
+
* component's declared default without requiring every caller to
|
|
86
|
+
* repeat `defaultDuration` as a composable option. See #snackbar-
|
|
87
|
+
* group-default-duration-bug: before this, the component's prop and
|
|
88
|
+
* the composable's `notify()` never met, so `defaultDuration` on
|
|
89
|
+
* `<OrigamSnackbarGroup>` was purely decorative.
|
|
90
|
+
*/
|
|
91
|
+
defaultDuration: Ref<number>;
|
|
92
|
+
}
|
|
93
|
+
/** Options accepted by `useSnackbarGroup`. */
|
|
94
|
+
export interface IUseSnackbarGroupOptions {
|
|
95
|
+
id?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Maximum number of items kept in the stack. When `notify` would
|
|
98
|
+
* push past this number, the oldest item is evicted FIFO. When
|
|
99
|
+
* undefined, the stack is unbounded (the rendering component
|
|
100
|
+
* still caps the visible count via its `max` prop).
|
|
101
|
+
*/
|
|
102
|
+
max?: number;
|
|
103
|
+
/**
|
|
104
|
+
* Fallback `duration` applied to items that omit their own.
|
|
105
|
+
* Defaults to `SNACKBAR_GROUP_DEFAULT_DURATION` (5 000 ms).
|
|
106
|
+
*/
|
|
107
|
+
defaultDuration?: number;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Public API returned by `useSnackbarGroup`. The `items` ref is the
|
|
111
|
+
* same reactive reference shared with the matching
|
|
112
|
+
* `<OrigamSnackbarGroup id="…">` instance, so direct mutation outside
|
|
113
|
+
* of `notify` / `dismiss` is discouraged.
|
|
114
|
+
*/
|
|
115
|
+
export interface IUseSnackbarGroupReturn {
|
|
116
|
+
items: Readonly<Ref<ReadonlyArray<ISnackbarGroupItem>>>;
|
|
117
|
+
notify: (opts: ISnackbarGroupItemOptions) => string;
|
|
118
|
+
dismiss: (itemId: string) => void;
|
|
119
|
+
dismissAll: () => void;
|
|
120
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IElevationProps, IHoverProps, ILocationProps, IMarginProps, IOverlayProps, IPaddingProps, IPositionProps, IRoundedProps, IStatusProps, ITagProps, ITransitionComponentProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IElevationProps, IHoverProps, ILocationProps, IMarginProps, IOverlayProps, IPaddingProps, IPositionProps, IRoundedProps, IStatusProps, ITagProps, ITransitionComponentProps } from '../../interfaces';
|
|
2
2
|
export interface ISnackbarProps extends ICommonsComponentProps, ITagProps, IStatusProps, IColorProps, IBgColorProps, IOverlayProps, IPositionProps, ILocationProps, IRoundedProps, IBorderProps, IPaddingProps, IMarginProps, IElevationProps, ITransitionComponentProps, IActiveProps, IHoverProps {
|
|
3
3
|
multiLine?: boolean;
|
|
4
4
|
text?: string;
|
|
@@ -6,6 +6,9 @@ export interface ISnackbarProps extends ICommonsComponentProps, ITagProps, IStat
|
|
|
6
6
|
timeout?: number | string;
|
|
7
7
|
vertical?: boolean;
|
|
8
8
|
}
|
|
9
|
+
/** Emits fired by `<OrigamSnackbar>` — fermeture auto ou par geste. */
|
|
10
|
+
export interface ISnackbarEmits extends ICommonsComponentEmits {
|
|
11
|
+
}
|
|
9
12
|
/** Slot signatures for `<OrigamSnackbar>` — the nested
|
|
10
13
|
* `<OrigamSnackbarItem>`'s `prepend` / `title` / `message` chrome,
|
|
11
14
|
* plus the unscoped `default` and the `action` slot. */
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { IThemeVars, TThemeVars } from '../../types';
|
|
2
|
-
import type { TMode } from '../../types/Theme/theme.type';
|
|
3
|
+
import type { TMode, TTheme } from '../../types/Theme/theme.type';
|
|
3
4
|
import type { IDefault } from '../DefaultProvider/default-provider.interface';
|
|
5
|
+
/**
|
|
6
|
+
* Shape of the `useTheme()` singleton state.
|
|
7
|
+
*
|
|
8
|
+
* Held on `globalThis` in the browser (so duplicated module instances
|
|
9
|
+
* within the same JS realm share it) and as a plain module-level object
|
|
10
|
+
* on the server (so per-request theme state cannot leak across
|
|
11
|
+
* concurrent requests). See `theme.composable.ts` for the full rationale.
|
|
12
|
+
*/
|
|
13
|
+
export interface IOrigamThemeSingletonState {
|
|
14
|
+
theme: Ref<TTheme> | null;
|
|
15
|
+
mode: Ref<TMode> | null;
|
|
16
|
+
systemPrefersDark: Ref<boolean> | null;
|
|
17
|
+
mediaInitDone: boolean;
|
|
18
|
+
}
|
|
4
19
|
/**
|
|
5
20
|
* Runtime theme object ingested by `createOrigam({ themes })`. At install time
|
|
6
21
|
* the DS resolves it to a block of `--origam-*` CSS variables injected into
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IColorProps, ICommonsComponentProps, IDensityProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
2
|
-
import type { TIcon, TIntent, TTimelineOrientation } from '../../types';
|
|
2
|
+
import type { TIcon, TIntent, TTimelineOrientation, TTimelineSide } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Shape of the context object provided by OrigamTimeline to its
|
|
5
5
|
* nested OrigamTimelineItem children. Used via inject so each item
|
|
@@ -10,7 +10,7 @@ import type { TIcon, TIntent, TTimelineOrientation } from '../../types';
|
|
|
10
10
|
* `src/consts/Timeline/timeline.const.ts` (TIMELINE_CONTEXT_KEY).
|
|
11
11
|
*/
|
|
12
12
|
export interface ITimelineContext {
|
|
13
|
-
side:
|
|
13
|
+
side: TTimelineSide;
|
|
14
14
|
truncateLine: boolean;
|
|
15
15
|
orientation: TTimelineOrientation;
|
|
16
16
|
color?: string;
|
|
@@ -33,7 +33,7 @@ export interface ITimelineProps extends ICommonsComponentProps, ITagProps, IColo
|
|
|
33
33
|
* Content (title/subtitle/body) renders BELOW each dot.
|
|
34
34
|
*/
|
|
35
35
|
orientation?: TTimelineOrientation;
|
|
36
|
-
side?:
|
|
36
|
+
side?: TTimelineSide;
|
|
37
37
|
truncateLine?: boolean;
|
|
38
38
|
ariaLabel?: string;
|
|
39
39
|
}
|
|
@@ -44,7 +44,7 @@ export interface ITimelineItemProps extends ICommonsComponentProps, IColorProps,
|
|
|
44
44
|
intent?: TIntent;
|
|
45
45
|
isLast?: boolean;
|
|
46
46
|
truncateLine?: boolean;
|
|
47
|
-
side?:
|
|
47
|
+
side?: TTimelineSide;
|
|
48
48
|
/**
|
|
49
49
|
* Layout direction forwarded by the parent OrigamTimeline. When unset
|
|
50
50
|
* the item assumes vertical layout. Items rarely set this directly —
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IMediaPlayerEmits, IMediaPlayerMethods, IMediaPlayerState, IPaddingProps, IRoundedProps, ITypographyProps, IUseMediaPlayerOptions, IVideoSource, IVideoTrack } from '../../interfaces';
|
|
3
|
-
import type { TVideoControls } from '../../types';
|
|
3
|
+
import type { TCrossOrigin, TVideoControls } from '../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Bindings passed to the `#controls` scoped slot of `<OrigamVideo>`.
|
|
6
6
|
*
|
|
@@ -160,7 +160,7 @@ export interface IVideoProps extends ICommonsComponentProps, IColorProps, IBgCol
|
|
|
160
160
|
* the consumer needs canvas / WebAudio access to the decoded
|
|
161
161
|
* frames. Affects how cookies are sent on the request.
|
|
162
162
|
*/
|
|
163
|
-
crossorigin?:
|
|
163
|
+
crossorigin?: TCrossOrigin;
|
|
164
164
|
/**
|
|
165
165
|
* Disables the picture-in-picture button (and the matching
|
|
166
166
|
* keyboard shortcut). Useful for content where PIP would defeat
|
|
@@ -161,3 +161,22 @@ export interface IUseWatermarkOptions {
|
|
|
161
161
|
/** Same semantics as `IWatermarkProps.zIndex`. */
|
|
162
162
|
zIndex?: number;
|
|
163
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* `useWatermark`'s options AFTER defaulting — every field resolved to a
|
|
166
|
+
* concrete value so the SVG data-URL builder never re-applies a
|
|
167
|
+
* fallback. Counterpart of `IUseWatermarkOptions`, which is the loose,
|
|
168
|
+
* all-optional shape a caller passes in.
|
|
169
|
+
*/
|
|
170
|
+
export interface IWatermarkResolvedOptions {
|
|
171
|
+
text: string;
|
|
172
|
+
image: string;
|
|
173
|
+
opacity: number;
|
|
174
|
+
angle: number;
|
|
175
|
+
gap: number;
|
|
176
|
+
fontSize: number;
|
|
177
|
+
fontFamily: string;
|
|
178
|
+
color: string;
|
|
179
|
+
fontWeight: number | string;
|
|
180
|
+
pointerEvents: 'none' | 'auto';
|
|
181
|
+
zIndex: number;
|
|
182
|
+
}
|
|
@@ -168,6 +168,17 @@ Object.keys(_bracketRoundComponent).forEach(function (key) {
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
});
|
|
171
|
+
var _bracketSurface = require("./Bracket/bracket-surface.interface.cjs");
|
|
172
|
+
Object.keys(_bracketSurface).forEach(function (key) {
|
|
173
|
+
if (key === "default" || key === "__esModule") return;
|
|
174
|
+
if (key in exports && exports[key] === _bracketSurface[key]) return;
|
|
175
|
+
Object.defineProperty(exports, key, {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () {
|
|
178
|
+
return _bracketSurface[key];
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
});
|
|
171
182
|
var _breadcrumb = require("./Breadcrumb/breadcrumb.interface.cjs");
|
|
172
183
|
Object.keys(_breadcrumb).forEach(function (key) {
|
|
173
184
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2610,6 +2621,28 @@ Object.keys(_calendar2).forEach(function (key) {
|
|
|
2610
2621
|
}
|
|
2611
2622
|
});
|
|
2612
2623
|
});
|
|
2624
|
+
var _rrule = require("./Calendar/rrule.interface.cjs");
|
|
2625
|
+
Object.keys(_rrule).forEach(function (key) {
|
|
2626
|
+
if (key === "default" || key === "__esModule") return;
|
|
2627
|
+
if (key in exports && exports[key] === _rrule[key]) return;
|
|
2628
|
+
Object.defineProperty(exports, key, {
|
|
2629
|
+
enumerable: true,
|
|
2630
|
+
get: function () {
|
|
2631
|
+
return _rrule[key];
|
|
2632
|
+
}
|
|
2633
|
+
});
|
|
2634
|
+
});
|
|
2635
|
+
var _cssSupport = require("./CssSupport/css-support.interface.cjs");
|
|
2636
|
+
Object.keys(_cssSupport).forEach(function (key) {
|
|
2637
|
+
if (key === "default" || key === "__esModule") return;
|
|
2638
|
+
if (key in exports && exports[key] === _cssSupport[key]) return;
|
|
2639
|
+
Object.defineProperty(exports, key, {
|
|
2640
|
+
enumerable: true,
|
|
2641
|
+
get: function () {
|
|
2642
|
+
return _cssSupport[key];
|
|
2643
|
+
}
|
|
2644
|
+
});
|
|
2645
|
+
});
|
|
2613
2646
|
var _chartSeries = require("./Chart/chart-series.interface.cjs");
|
|
2614
2647
|
Object.keys(_chartSeries).forEach(function (key) {
|
|
2615
2648
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -13,6 +13,7 @@ export * from './Bracket/bracket-round.interface';
|
|
|
13
13
|
export * from './Bracket/bracket-match-component.interface';
|
|
14
14
|
export * from './Bracket/bracket-competitor-component.interface';
|
|
15
15
|
export * from './Bracket/bracket-round-component.interface';
|
|
16
|
+
export * from './Bracket/bracket-surface.interface';
|
|
16
17
|
export * from './Breadcrumb/breadcrumb.interface';
|
|
17
18
|
export * from './Breadcrumb/breadcrumb-item.interface';
|
|
18
19
|
export * from './Breadcrumb/breadcrumb-divider.interface';
|
|
@@ -235,6 +236,8 @@ export * from './Video/video.interface';
|
|
|
235
236
|
export * from './Video/video-track.interface';
|
|
236
237
|
export * from './Calendar/event.interface';
|
|
237
238
|
export * from './Calendar/calendar.interface';
|
|
239
|
+
export * from './Calendar/rrule.interface';
|
|
240
|
+
export * from './CssSupport/css-support.interface';
|
|
238
241
|
export * from './Chart/chart-series.interface';
|
|
239
242
|
export * from './Chart/chart-point.interface';
|
|
240
243
|
export * from './Chart/chart-drilldown.interface';
|
|
@@ -13,6 +13,7 @@ export * from "./Bracket/bracket-round.interface.js";
|
|
|
13
13
|
export * from "./Bracket/bracket-match-component.interface.js";
|
|
14
14
|
export * from "./Bracket/bracket-competitor-component.interface.js";
|
|
15
15
|
export * from "./Bracket/bracket-round-component.interface.js";
|
|
16
|
+
export * from "./Bracket/bracket-surface.interface.js";
|
|
16
17
|
export * from "./Breadcrumb/breadcrumb.interface.js";
|
|
17
18
|
export * from "./Breadcrumb/breadcrumb-item.interface.js";
|
|
18
19
|
export * from "./Breadcrumb/breadcrumb-divider.interface.js";
|
|
@@ -235,6 +236,8 @@ export * from "./Video/video.interface.js";
|
|
|
235
236
|
export * from "./Video/video-track.interface.js";
|
|
236
237
|
export * from "./Calendar/event.interface.js";
|
|
237
238
|
export * from "./Calendar/calendar.interface.js";
|
|
239
|
+
export * from "./Calendar/rrule.interface.js";
|
|
240
|
+
export * from "./CssSupport/css-support.interface.js";
|
|
238
241
|
export * from "./Chart/chart-series.interface.js";
|
|
239
242
|
export * from "./Chart/chart-point.interface.js";
|
|
240
243
|
export * from "./Chart/chart-drilldown.interface.js";
|
package/dist/src/origam.cjs
CHANGED
|
@@ -32,6 +32,7 @@ function createOrigam(origam = {}) {
|
|
|
32
32
|
const installedThemes = (0, _utils.installedThemesFromList)(allThemes);
|
|
33
33
|
const defaultsRef = (0, _composables.createDefaults)({});
|
|
34
34
|
defaultsRef.value = activeDefaultsFor(allThemes, allThemes[0]?.name ?? "", void 0);
|
|
35
|
+
const themedKeysUnion = (0, _composables.themedPropKeysUnion)(allThemes.map(theme => theme.components).filter(components2 => !!components2));
|
|
35
36
|
const scope = (0, _vue.effectScope)();
|
|
36
37
|
return scope.run(() => {
|
|
37
38
|
const icons = (0, _composables.createIcons)(options.icons);
|
|
@@ -67,6 +68,7 @@ function createOrigam(origam = {}) {
|
|
|
67
68
|
app.provide(_consts.ORIGAM_GO_TO_KEY, goTo);
|
|
68
69
|
app.provide(_consts.ORIGAM_THEMES_KEY, installedThemes);
|
|
69
70
|
app.provide(_consts.ORIGAM_DEFAULTS_KEY, defaultsRef);
|
|
71
|
+
(0, _composables.installThemePropsResolver)(app, themedKeysUnion);
|
|
70
72
|
app.provide(_consts.ORIGAM_THEME_DEFAULTS_KEY, (brand, mode) => activeDefaultsFor(allThemes, brand, mode));
|
|
71
73
|
if (_consts.IN_BROWSER && options.ssr) {
|
|
72
74
|
const nuxt = app.$nuxt;
|
package/dist/src/origam.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import * as origamComponents from "./components/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
createDate,
|
|
4
|
+
createDefaults,
|
|
5
|
+
createDisplay,
|
|
6
|
+
createGoTo,
|
|
7
|
+
createIcons,
|
|
8
|
+
createLocale,
|
|
9
|
+
installThemePropsResolver,
|
|
10
|
+
themedPropKeysUnion
|
|
11
|
+
} from "./composables/index.js";
|
|
3
12
|
import {
|
|
4
13
|
IN_BROWSER,
|
|
5
14
|
ORIGAM_DATE_ADAPTER_KEY,
|
|
@@ -34,6 +43,9 @@ export function createOrigam(origam = {}) {
|
|
|
34
43
|
const installedThemes = installedThemesFromList(allThemes);
|
|
35
44
|
const defaultsRef = createDefaults({});
|
|
36
45
|
defaultsRef.value = activeDefaultsFor(allThemes, allThemes[0]?.name ?? "", void 0);
|
|
46
|
+
const themedKeysUnion = themedPropKeysUnion(
|
|
47
|
+
allThemes.map((theme) => theme.components).filter((components2) => !!components2)
|
|
48
|
+
);
|
|
37
49
|
const scope = effectScope();
|
|
38
50
|
return scope.run(() => {
|
|
39
51
|
const icons = createIcons(options.icons);
|
|
@@ -69,6 +81,7 @@ export function createOrigam(origam = {}) {
|
|
|
69
81
|
app.provide(ORIGAM_GO_TO_KEY, goTo);
|
|
70
82
|
app.provide(ORIGAM_THEMES_KEY, installedThemes);
|
|
71
83
|
app.provide(ORIGAM_DEFAULTS_KEY, defaultsRef);
|
|
84
|
+
installThemePropsResolver(app, themedKeysUnion);
|
|
72
85
|
app.provide(ORIGAM_THEME_DEFAULTS_KEY, (brand, mode) => activeDefaultsFor(allThemes, brand, mode));
|
|
73
86
|
if (IN_BROWSER && options.ssr) {
|
|
74
87
|
const nuxt = app.$nuxt;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OrigamBlockquote } from '../../components';
|
|
2
|
+
import { BLOCKQUOTE_LANG, BLOCKQUOTE_VARIANT, TEXT_ALIGN } from '../../enums';
|
|
2
3
|
export type TOrigamBlockquote = InstanceType<typeof OrigamBlockquote>;
|
|
3
4
|
/**
|
|
4
5
|
* Horizontal alignment of the citation body. `pull` variant defaults to
|
|
5
6
|
* `'center'`; every other variant defaults to `'left'`.
|
|
6
7
|
*/
|
|
7
|
-
export type TBlockquoteAlign =
|
|
8
|
+
export type TBlockquoteAlign = `${TEXT_ALIGN}`;
|
|
8
9
|
/**
|
|
9
10
|
* Locale hint for `<OrigamBlockquote>` decorative quote marks. Only
|
|
10
11
|
* relevant for `variant="quoted"` — the other variants ignore the prop.
|
|
@@ -22,7 +23,7 @@ export type TBlockquoteAlign = 'left' | 'center' | 'right';
|
|
|
22
23
|
* Resolution lives in `src/consts/Blockquote/blockquote.const.ts`
|
|
23
24
|
* (`QUOTE_MARKS_BY_LANG`).
|
|
24
25
|
*/
|
|
25
|
-
export type TBlockquoteLang =
|
|
26
|
+
export type TBlockquoteLang = `${BLOCKQUOTE_LANG}`;
|
|
26
27
|
/**
|
|
27
28
|
* Visual variants for `<OrigamBlockquote>`. Each variant is a self
|
|
28
29
|
* contained typographic treatment; consumers do not mix them — pick the
|
|
@@ -39,4 +40,4 @@ export type TBlockquoteLang = 'fr' | 'en' | 'es' | 'de' | 'auto';
|
|
|
39
40
|
* - `pull` — pull quote: large body type, centred, extracted out of
|
|
40
41
|
* the flow. Use sparingly — one per article max.
|
|
41
42
|
*/
|
|
42
|
-
export type TBlockquoteVariant =
|
|
43
|
+
export type TBlockquoteVariant = `${BLOCKQUOTE_VARIANT}`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OrigamBracketRound } from '../../components';
|
|
2
|
+
import { BRACKET_ROUND_SIDE } from '../../enums';
|
|
2
3
|
/**
|
|
3
4
|
* Optional side marker for double-elimination tournaments.
|
|
4
5
|
*
|
|
@@ -10,5 +11,5 @@ import { OrigamBracketRound } from '../../components';
|
|
|
10
11
|
* Single-elimination tournaments do not need to set this — leave it
|
|
11
12
|
* `undefined`.
|
|
12
13
|
*/
|
|
13
|
-
export type TBracketRoundSide =
|
|
14
|
+
export type TBracketRoundSide = `${BRACKET_ROUND_SIDE}`;
|
|
14
15
|
export type TOrigamBracketRound = InstanceType<typeof OrigamBracketRound>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { IBracketMatch, IBracketRound } from '../../interfaces';
|
|
2
|
+
import type { IBorderProps } from '../../interfaces/Commons/border.interface';
|
|
3
|
+
import type { IRoundedProps } from '../../interfaces/Commons/rounded.interface';
|
|
4
|
+
import type { TColor } from '../Commons/color.type';
|
|
2
5
|
import type { TDirection } from '../Commons/direction.type';
|
|
6
|
+
import type { TElevation } from '../Commons/elevation.type';
|
|
3
7
|
import { BRACKET_VARIANT } from '../../enums';
|
|
4
8
|
import { OrigamBracket } from '../../components';
|
|
5
9
|
/**
|
|
@@ -52,3 +56,49 @@ export type TBracketDoubleSection = {
|
|
|
52
56
|
};
|
|
53
57
|
export type TBracketVariant = `${BRACKET_VARIANT}`;
|
|
54
58
|
export type TOrigamBracket = InstanceType<typeof OrigamBracket>;
|
|
59
|
+
/**
|
|
60
|
+
* Input vocabularies accepted by the `resolveBracket*` helpers in
|
|
61
|
+
* `src/utils/Bracket/bracket-surface.util.ts`.
|
|
62
|
+
*
|
|
63
|
+
* Each one is DERIVED from the matching Commons surface rather than
|
|
64
|
+
* restated as a literal union. The four started life as four hand-typed
|
|
65
|
+
* unions — three of which (`rounded`, `elevation`, `border`) had
|
|
66
|
+
* collapsed to the byte-identical `string | number | boolean | null |
|
|
67
|
+
* undefined`, so nothing in the type system stopped them drifting apart
|
|
68
|
+
* from the props they are fed by, nor from each other. Deriving them
|
|
69
|
+
* means a widening of `IRoundedProps['rounded']` (or of `TElevation`)
|
|
70
|
+
* reaches the resolver's signature on its own.
|
|
71
|
+
*
|
|
72
|
+
* They are LOOSER than the props they mirror on one axis: the resolvers
|
|
73
|
+
* are called with raw prop bags through a cast (see
|
|
74
|
+
* `bracketSurfaceVars(props as IBracketSurfaceInput)` in
|
|
75
|
+
* `OrigamBracket.vue`), so `null` and a bare `true` opt-in both have to
|
|
76
|
+
* be accepted and are handled explicitly at runtime.
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Colour input — the string half of {@link TColor}. The bracket
|
|
80
|
+
* resolvers deliberately do NOT accept `IGradient`: they emit
|
|
81
|
+
* `--origam-bracket-match---*` custom properties that feed
|
|
82
|
+
* `background-color` / `border-color`, and neither CSS property has a
|
|
83
|
+
* gradient form.
|
|
84
|
+
*/
|
|
85
|
+
export type TBracketColor = Extract<TColor, string> | null | undefined;
|
|
86
|
+
/** Corner-radius input — the exact vocabulary of `IRoundedProps['rounded']`. */
|
|
87
|
+
export type TBracketRounded = IRoundedProps['rounded'];
|
|
88
|
+
/**
|
|
89
|
+
* Elevation input — {@link TElevation} plus the boolean opt-in
|
|
90
|
+
* (`true` → the default `md` rung) and the falsy opt-out.
|
|
91
|
+
*/
|
|
92
|
+
export type TBracketElevation = TElevation | boolean | null | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Border-width input — the per-side vocabulary of
|
|
95
|
+
* `IBorderProps['borderTop']`, plus the falsy opt-out.
|
|
96
|
+
*
|
|
97
|
+
* The per-SIDE prop is the right reference here, not the global
|
|
98
|
+
* `IBorderProps['border']`: the latter also accepts a
|
|
99
|
+
* `TDirectionBoth[]` ("border on these edges only"), which is an edge
|
|
100
|
+
* SELECTOR, not a width. `resolveBracketBorderWidth` resolves a width
|
|
101
|
+
* for one already-chosen edge, so the array form has no meaning at this
|
|
102
|
+
* layer.
|
|
103
|
+
*/
|
|
104
|
+
export type TBracketBorder = IBorderProps['borderTop'] | null | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OrigamCalendar } from '../../components';
|
|
2
|
+
import { CALENDAR_NAVIGATE, CALENDAR_TIME_FORMAT, CALENDAR_VIEW } from '../../enums';
|
|
2
3
|
export type TOrigamCalendar = InstanceType<typeof OrigamCalendar>;
|
|
3
4
|
/**
|
|
4
5
|
* Clock format for time labels in week / day / agenda views.
|
|
@@ -6,13 +7,13 @@ export type TOrigamCalendar = InstanceType<typeof OrigamCalendar>;
|
|
|
6
7
|
* `'24h'` — 00:00 → 23:59. Default for everywhere except en-US.
|
|
7
8
|
* `'12h'` — 12:00 AM → 11:59 PM. Honours locale-specific AM/PM.
|
|
8
9
|
*/
|
|
9
|
-
export type TCalendarTimeFormat =
|
|
10
|
+
export type TCalendarTimeFormat = `${CALENDAR_TIME_FORMAT}`;
|
|
10
11
|
/**
|
|
11
12
|
* Navigation direction passed to `useCalendar().navigate(...)` and
|
|
12
13
|
* the `navigate` event. `'today'` jumps to "now" regardless of the
|
|
13
14
|
* current view.
|
|
14
15
|
*/
|
|
15
|
-
export type TCalendarNavigate =
|
|
16
|
+
export type TCalendarNavigate = `${CALENDAR_NAVIGATE}`;
|
|
16
17
|
/**
|
|
17
18
|
* Top-level view modes supported by `<OrigamCalendar>`.
|
|
18
19
|
*
|
|
@@ -22,4 +23,4 @@ export type TCalendarNavigate = 'prev' | 'next' | 'today';
|
|
|
22
23
|
* - `'agenda'`— flat list grouped by day, useful for screen readers
|
|
23
24
|
* and dense schedules.
|
|
24
25
|
*/
|
|
25
|
-
export type TCalendarView =
|
|
26
|
+
export type TCalendarView = `${CALENDAR_VIEW}`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OrigamChartCartesian } from '../../components';
|
|
2
|
+
import { CHART_CARTESIAN_KIND } from '../../enums';
|
|
2
3
|
/**
|
|
3
4
|
* Cartesian chart topology — the subset of `TChartType` that
|
|
4
5
|
* `<OrigamChartCartesian>` knows how to render. Each value implies
|
|
@@ -16,5 +17,5 @@ import { OrigamChartCartesian } from '../../components';
|
|
|
16
17
|
* `TChartType` because the family-level component only accepts
|
|
17
18
|
* this narrower subset — the SFC's `defineProps` enforces it.
|
|
18
19
|
*/
|
|
19
|
-
export type TChartCartesianKind =
|
|
20
|
+
export type TChartCartesianKind = `${CHART_CARTESIAN_KIND}`;
|
|
20
21
|
export type TOrigamChartCartesian = InstanceType<typeof OrigamChartCartesian>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { OrigamChartLegend } from '../../components';
|
|
2
|
+
import type { TDirectionBoth } from '../Commons/anchor.type';
|
|
2
3
|
/**
|
|
3
4
|
* Anchor position of the legend block inside `<OrigamChart>`. The
|
|
4
5
|
* SVG plotting area shrinks or grows depending on the value — the
|
|
5
6
|
* flex layout in the SCSS handles the box arithmetic.
|
|
7
|
+
*
|
|
8
|
+
* Aliases the Commons physical-side vocabulary (`BLOCK` + `INLINE` =
|
|
9
|
+
* top/bottom/left/right) rather than redeclaring its four literals.
|
|
6
10
|
*/
|
|
7
|
-
export type TChartLegendPosition =
|
|
11
|
+
export type TChartLegendPosition = TDirectionBoth;
|
|
8
12
|
export type TOrigamChartLegend = InstanceType<typeof OrigamChartLegend>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { OrigamChartPictorial } from '../../components';
|
|
2
|
-
|
|
2
|
+
import { CHART_PICTORIAL_MODE } from '../../enums';
|
|
3
|
+
export type TChartPictorialMode = `${CHART_PICTORIAL_MODE}`;
|
|
3
4
|
export type TOrigamChartPictorial = InstanceType<typeof OrigamChartPictorial>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OrigamChartPolar } from '../../components';
|
|
2
|
+
import { CHART_POLAR_KIND } from '../../enums';
|
|
2
3
|
/**
|
|
3
4
|
* Polar chart topology — the subset of `TChartType` that
|
|
4
5
|
* `<OrigamChartPolar>` knows how to render. Two values, two arc
|
|
@@ -12,5 +13,5 @@ import { OrigamChartPolar } from '../../components';
|
|
|
12
13
|
* reason (the legacy `<OrigamChart>` shell painted axis lines
|
|
13
14
|
* behind pie/donut slices, which is the user's primary complaint).
|
|
14
15
|
*/
|
|
15
|
-
export type TChartPolarKind =
|
|
16
|
+
export type TChartPolarKind = `${CHART_POLAR_KIND}`;
|
|
16
17
|
export type TOrigamChartPolar = InstanceType<typeof OrigamChartPolar>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { OrigamChartStreamgraph } from '../../components';
|
|
2
|
-
|
|
2
|
+
import { CHART_STREAMGRAPH_OFFSET } from '../../enums';
|
|
3
|
+
export type TChartStreamgraphOffset = `${CHART_STREAMGRAPH_OFFSET}`;
|
|
3
4
|
export type TOrigamChartStreamgraph = InstanceType<typeof OrigamChartStreamgraph>;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import { OrigamChartSunburst } from '../../components';
|
|
2
|
+
import { CHART_SUNBURST_LABEL_MODE } from '../../enums';
|
|
2
3
|
export type TOrigamChartSunburst = InstanceType<typeof OrigamChartSunburst>;
|
|
4
|
+
/**
|
|
5
|
+
* How the label for a node is rendered.
|
|
6
|
+
* - `'inline'` — centred horizontally inside the arc (wide arcs).
|
|
7
|
+
* - `'rotated'` — rotated tangentially along the arc midpoint (narrow arcs).
|
|
8
|
+
* - `'leader'` — placed outside the chart with a leader line (very narrow arcs).
|
|
9
|
+
*/
|
|
10
|
+
export type TChartSunburstLabelMode = `${CHART_SUNBURST_LABEL_MODE}`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OrigamChartTreemap } from '../../components';
|
|
2
|
+
import { CHART_TREEMAP_ALGORITHM } from '../../enums';
|
|
2
3
|
/**
|
|
3
4
|
* Treemap layout algorithm selector.
|
|
4
5
|
*
|
|
@@ -10,5 +11,5 @@ import { OrigamChartTreemap } from '../../components';
|
|
|
10
11
|
* each recursion level (slice at even depth, dice at odd depth).
|
|
11
12
|
* Tiles tend to be long and thin but preserve data order.
|
|
12
13
|
*/
|
|
13
|
-
export type TChartTreemapAlgorithm =
|
|
14
|
+
export type TChartTreemapAlgorithm = `${CHART_TREEMAP_ALGORITHM}`;
|
|
14
15
|
export type TOrigamChartTreemap = InstanceType<typeof OrigamChartTreemap>;
|