@bk2k/ui 0.6.8 → 0.7.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/BUILDING.md +56 -2
- package/CHANGELOG.md +136 -0
- package/USAGE.md +89 -26
- package/custom-elements.json +1 -1
- package/dist/charts/chart-tokens.js +1 -1
- package/dist/charts/fields.d.ts +20 -0
- package/dist/charts/fields.js +27 -0
- package/dist/charts/frame.js +2 -1
- package/dist/clipboard.js +1 -0
- package/dist/components/bk-alert.js +2 -1
- package/dist/components/bk-avatar-group.js +4 -6
- package/dist/components/bk-avatar.d.ts +10 -0
- package/dist/components/bk-avatar.js +17 -0
- package/dist/components/bk-bar.js +2 -0
- package/dist/components/bk-button-group.js +1 -1
- package/dist/components/bk-button-top.js +2 -1
- package/dist/components/bk-button.d.ts +37 -14
- package/dist/components/bk-button.js +52 -16
- package/dist/components/bk-card.d.ts +4 -0
- package/dist/components/bk-card.js +15 -2
- package/dist/components/bk-carousel-controls.d.ts +2 -0
- package/dist/components/bk-carousel-controls.js +4 -2
- package/dist/components/bk-chart-area.d.ts +6 -0
- package/dist/components/bk-chart-bar.d.ts +17 -0
- package/dist/components/bk-chart-bar.js +25 -4
- package/dist/components/bk-chart-line.d.ts +13 -0
- package/dist/components/bk-chart-line.js +11 -1
- package/dist/components/bk-chip-group.d.ts +2 -2
- package/dist/components/bk-chip-group.js +4 -0
- package/dist/components/bk-chip.d.ts +53 -8
- package/dist/components/bk-chip.js +43 -7
- package/dist/components/bk-code.js +6 -2
- package/dist/components/bk-columns.d.ts +11 -0
- package/dist/components/bk-columns.js +8 -1
- package/dist/components/bk-combobox.d.ts +1 -1
- package/dist/components/bk-combobox.js +2 -1
- package/dist/components/bk-delta.d.ts +10 -0
- package/dist/components/bk-delta.js +8 -6
- package/dist/components/bk-dialog.d.ts +12 -5
- package/dist/components/bk-dialog.js +14 -6
- package/dist/components/bk-disclosure.js +4 -2
- package/dist/components/bk-drop-target.d.ts +7 -1
- package/dist/components/bk-drop-target.js +20 -4
- package/dist/components/bk-error-summary.d.ts +5 -0
- package/dist/components/bk-error-summary.js +13 -4
- package/dist/components/bk-facts.js +3 -2
- package/dist/components/bk-footnote.d.ts +73 -0
- package/dist/components/bk-footnote.js +97 -0
- package/dist/components/bk-footnotes-item.d.ts +92 -0
- package/dist/components/bk-footnotes-item.js +139 -0
- package/dist/components/bk-footnotes.d.ts +51 -0
- package/dist/components/bk-footnotes.js +43 -0
- package/dist/components/bk-icon.js +2 -2
- package/dist/components/bk-image-compare.d.ts +33 -5
- package/dist/components/bk-image-compare.js +72 -24
- package/dist/components/bk-image-crop.d.ts +3 -3
- package/dist/components/bk-image-editor.d.ts +1 -1
- package/dist/components/bk-image-viewer.d.ts +107 -11
- package/dist/components/bk-image-viewer.js +205 -34
- package/dist/components/bk-input-inline.d.ts +15 -6
- package/dist/components/bk-input-inline.js +22 -6
- package/dist/components/bk-input-number.js +2 -1
- package/dist/components/bk-input-search.d.ts +1 -1
- package/dist/components/bk-input-search.js +2 -1
- package/dist/components/bk-input-text.d.ts +11 -0
- package/dist/components/bk-input-text.js +17 -3
- package/dist/components/bk-input-time.js +2 -1
- package/dist/components/bk-item.js +2 -1
- package/dist/components/bk-lightbox.d.ts +12 -3
- package/dist/components/bk-lightbox.js +6 -3
- package/dist/components/bk-link.d.ts +9 -1
- package/dist/components/bk-link.js +14 -4
- package/dist/components/bk-menu-item.d.ts +40 -0
- package/dist/components/bk-menu-item.js +57 -9
- package/dist/components/bk-menu-label.js +2 -1
- package/dist/components/bk-menu-list.d.ts +1 -0
- package/dist/components/bk-menu-list.js +10 -0
- package/dist/components/bk-menu.d.ts +8 -1
- package/dist/components/bk-menu.js +16 -5
- package/dist/components/bk-message-feedback.d.ts +4 -3
- package/dist/components/bk-message-feedback.js +7 -5
- package/dist/components/bk-message-list.js +2 -1
- package/dist/components/bk-message-source.d.ts +1 -2
- package/dist/components/bk-message-source.js +3 -11
- package/dist/components/bk-message.js +2 -0
- package/dist/components/bk-nav-group.js +1 -1
- package/dist/components/bk-nav-item.d.ts +18 -0
- package/dist/components/bk-nav-item.js +18 -5
- package/dist/components/bk-nav.d.ts +1 -1
- package/dist/components/bk-page-cta.js +2 -0
- package/dist/components/bk-page-section.d.ts +1 -1
- package/dist/components/bk-page-section.js +3 -9
- package/dist/components/bk-pane.d.ts +1 -0
- package/dist/components/bk-pane.js +7 -5
- package/dist/components/bk-panel.d.ts +1 -1
- package/dist/components/bk-panel.js +6 -5
- package/dist/components/bk-picture.d.ts +17 -4
- package/dist/components/bk-picture.js +8 -1
- package/dist/components/bk-segmented-item.d.ts +24 -4
- package/dist/components/bk-segmented-item.js +37 -5
- package/dist/components/bk-segmented.js +2 -13
- package/dist/components/bk-select-cascade.d.ts +1 -1
- package/dist/components/bk-select-tree.d.ts +1 -1
- package/dist/components/bk-select.d.ts +1 -1
- package/dist/components/bk-shell-app.d.ts +10 -4
- package/dist/components/bk-shell-app.js +32 -9
- package/dist/components/bk-shell-sites.d.ts +2 -1
- package/dist/components/bk-shell-sites.js +3 -5
- package/dist/components/bk-sortable.js +7 -17
- package/dist/components/bk-split-grid.d.ts +104 -3
- package/dist/components/bk-split-grid.js +425 -2
- package/dist/components/bk-stat-group.js +2 -1
- package/dist/components/bk-stat.d.ts +17 -0
- package/dist/components/bk-stat.js +7 -3
- package/dist/components/bk-steps.js +2 -1
- package/dist/components/bk-surface.d.ts +2 -0
- package/dist/components/bk-surface.js +6 -3
- package/dist/components/bk-table.d.ts +1 -1
- package/dist/components/bk-table.js +9 -12
- package/dist/components/bk-tabs-item.d.ts +45 -7
- package/dist/components/bk-tabs-item.js +51 -20
- package/dist/components/bk-tabs-panel.d.ts +6 -3
- package/dist/components/bk-tabs-panel.js +6 -0
- package/dist/components/bk-tabs.d.ts +50 -7
- package/dist/components/bk-tabs.js +168 -96
- package/dist/components/bk-text.js +2 -1
- package/dist/components/bk-toast-group.d.ts +3 -1
- package/dist/components/bk-toast-group.js +11 -1
- package/dist/components/bk-tooltip.d.ts +3 -1
- package/dist/components/bk-tooltip.js +2 -1
- package/dist/components/bk-video.js +2 -2
- package/dist/components/bk-zoom.d.ts +3 -1
- package/dist/components/confirm.d.ts +15 -0
- package/dist/components/confirm.js +27 -4
- package/dist/i18n/de.js +12 -1
- package/dist/i18n/en.d.ts +2 -0
- package/dist/i18n/en.js +3 -0
- package/dist/i18n.d.ts +16 -2
- package/dist/i18n.js +28 -4
- package/dist/icons/brands-static.d.ts +3 -0
- package/dist/icons/brands-static.js +5 -0
- package/dist/icons/core.d.ts +1 -0
- package/dist/icons/core.js +2 -0
- package/dist/icons/load-static.d.ts +3 -0
- package/dist/icons/load-static.js +5 -0
- package/dist/icons/load.js +1 -0
- package/dist/icons/registry.js +1 -1
- package/dist/icons/set/save-as.d.ts +3 -0
- package/dist/icons/set/save-as.js +7 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/internal/announcer.d.ts +8 -1
- package/dist/internal/announcer.js +26 -10
- package/dist/internal/backdrop.d.ts +19 -0
- package/dist/internal/backdrop.js +29 -0
- package/dist/internal/busy.d.ts +3 -2
- package/dist/internal/busy.js +4 -5
- package/dist/internal/choice-field.js +1 -1
- package/dist/internal/choice-item.d.ts +17 -6
- package/dist/internal/choice-item.js +20 -9
- package/dist/internal/cloak.js +3 -0
- package/dist/internal/crop-frame.d.ts +1 -1
- package/dist/internal/crop-frame.js +2 -7
- package/dist/internal/date-field.js +2 -1
- package/dist/internal/drag.d.ts +11 -0
- package/dist/internal/drag.js +23 -0
- package/dist/internal/english-static.d.ts +3 -0
- package/dist/internal/english-static.js +5 -0
- package/dist/internal/english.d.ts +8 -0
- package/dist/internal/english.js +6 -0
- package/dist/internal/footnotes.d.ts +56 -0
- package/dist/internal/footnotes.js +143 -0
- package/dist/internal/handle-menu.js +2 -5
- package/dist/internal/late/bk-shell-app.d.ts +4 -0
- package/dist/internal/late/bk-shell-app.js +7 -0
- package/dist/internal/late/bk-table.d.ts +4 -0
- package/dist/internal/late/bk-table.js +17 -0
- package/dist/internal/late/handle-menu.d.ts +4 -0
- package/dist/internal/late/handle-menu.js +9 -0
- package/dist/internal/late/static.d.ts +7 -0
- package/dist/internal/late/static.js +5 -0
- package/dist/internal/late.d.ts +8 -3
- package/dist/internal/late.js +19 -4
- package/dist/internal/link.d.ts +2 -0
- package/dist/internal/link.js +11 -1
- package/dist/internal/own-text.d.ts +8 -0
- package/dist/internal/own-text.js +7 -0
- package/dist/internal/scope.js +1 -1
- package/dist/internal/scroll-lock.d.ts +4 -1
- package/dist/internal/scroll-lock.js +17 -4
- package/dist/internal/slider.js +2 -1
- package/dist/internal/styles.js +3 -0
- package/dist/internal/submit.d.ts +23 -0
- package/dist/internal/submit.js +57 -0
- package/dist/jsx.d.ts +141 -52
- package/dist/reset.css +10 -0
- package/dist/standalone/all.js +226 -222
- package/dist/standalone/appearance.js +1 -1
- package/dist/standalone/bk-accordion-item.js +4 -4
- package/dist/standalone/bk-accordion.js +2 -2
- package/dist/standalone/bk-action-bar.js +3 -3
- package/dist/standalone/bk-alert-offline.js +1 -2
- package/dist/standalone/bk-alert.js +13 -12
- package/dist/standalone/bk-app-state.js +1 -1
- package/dist/standalone/bk-attachment.js +4 -4
- package/dist/standalone/bk-avatar-group.js +12 -10
- package/dist/standalone/bk-avatar.js +14 -4
- package/dist/standalone/bk-badge.js +2 -2
- package/dist/standalone/bk-bar.js +3 -1
- package/dist/standalone/bk-brand.js +3 -3
- package/dist/standalone/bk-breadcrumbs.js +5 -5
- package/dist/standalone/bk-button-copy.js +5 -5
- package/dist/standalone/bk-button-group.js +5 -5
- package/dist/standalone/bk-button-share.js +5 -5
- package/dist/standalone/bk-button-top.js +9 -8
- package/dist/standalone/bk-button.js +62 -30
- package/dist/standalone/bk-calendar-event.js +1 -1
- package/dist/standalone/bk-calendar-week.js +3 -3
- package/dist/standalone/bk-calendar.js +4 -4
- package/dist/standalone/bk-card.js +20 -7
- package/dist/standalone/bk-carousel-controls.js +7 -6
- package/dist/standalone/bk-carousel-item.js +2 -2
- package/dist/standalone/bk-carousel.js +1 -1
- package/dist/standalone/bk-chart-area.js +1 -1
- package/dist/standalone/bk-chart-bar-list.js +8 -8
- package/dist/standalone/bk-chart-bar.js +145 -117
- package/dist/standalone/bk-chart-bridge.js +7 -7
- package/dist/standalone/bk-chart-bullet.js +6 -6
- package/dist/standalone/bk-chart-calendar.js +7 -7
- package/dist/standalone/bk-chart-heatmap.js +7 -7
- package/dist/standalone/bk-chart-histogram.js +5 -5
- package/dist/standalone/bk-chart-legend.js +6 -6
- package/dist/standalone/bk-chart-line.js +116 -103
- package/dist/standalone/bk-chart-mark.js +1 -1
- package/dist/standalone/bk-chart-scatter.js +6 -6
- package/dist/standalone/bk-chart-sparkline.js +6 -6
- package/dist/standalone/bk-chart-stacked-bar.js +7 -7
- package/dist/standalone/bk-chart-tracker.js +6 -6
- package/dist/standalone/bk-chart-waterfall.js +6 -6
- package/dist/standalone/bk-checkbox-group.js +4 -4
- package/dist/standalone/bk-checkbox.js +4 -4
- package/dist/standalone/bk-chip-group.js +9 -5
- package/dist/standalone/bk-chip.js +56 -17
- package/dist/standalone/bk-cluster.js +1 -1
- package/dist/standalone/bk-code-diff.js +4 -4
- package/dist/standalone/bk-code-stack.js +4 -4
- package/dist/standalone/bk-code.js +10 -6
- package/dist/standalone/bk-color-panel.js +5 -5
- package/dist/standalone/bk-columns.js +13 -5
- package/dist/standalone/bk-combobox.js +9 -8
- package/dist/standalone/bk-command-menu.js +6 -6
- package/dist/standalone/bk-command-palette.js +6 -5
- package/dist/standalone/bk-composer.js +6 -6
- package/dist/standalone/bk-delta.js +11 -10
- package/dist/standalone/bk-diagram.js +1 -1
- package/dist/standalone/bk-dialog.js +1 -1
- package/dist/standalone/bk-disclosure.js +7 -5
- package/dist/standalone/bk-divider.js +2 -2
- package/dist/standalone/bk-drawer.js +3 -3
- package/dist/standalone/bk-drop-target.js +12 -6
- package/dist/standalone/bk-empty-state.js +3 -3
- package/dist/standalone/bk-error-summary.js +9 -6
- package/dist/standalone/bk-facts-item.js +2 -2
- package/dist/standalone/bk-facts.js +9 -8
- package/dist/standalone/bk-feature.js +3 -3
- package/dist/standalone/bk-fieldset.js +3 -3
- package/dist/standalone/bk-filter-bar.js +4 -4
- package/dist/standalone/bk-folder-browser.js +4 -4
- package/dist/standalone/bk-footnote.js +82 -0
- package/dist/standalone/bk-footnotes-item.js +122 -0
- package/dist/standalone/bk-footnotes.js +37 -0
- package/dist/standalone/bk-form-guard.js +2 -2
- package/dist/standalone/bk-form-steps.js +3 -3
- package/dist/standalone/bk-grid.js +1 -1
- package/dist/standalone/bk-icon-tile.js +3 -3
- package/dist/standalone/bk-icon.js +1 -1
- package/dist/standalone/bk-image-compare.js +88 -47
- package/dist/standalone/bk-image-crop.js +6 -6
- package/dist/standalone/bk-image-editor.js +1 -1
- package/dist/standalone/bk-image-viewer.js +180 -59
- package/dist/standalone/bk-input-code.js +4 -4
- package/dist/standalone/bk-input-color.js +4 -4
- package/dist/standalone/bk-input-date-range.js +2 -2
- package/dist/standalone/bk-input-date.js +2 -2
- package/dist/standalone/bk-input-file.js +5 -5
- package/dist/standalone/bk-input-group.js +4 -4
- package/dist/standalone/bk-input-inline.js +17 -10
- package/dist/standalone/bk-input-number.js +9 -8
- package/dist/standalone/bk-input-rating.js +6 -6
- package/dist/standalone/bk-input-rich.js +1 -1
- package/dist/standalone/bk-input-search.js +23 -22
- package/dist/standalone/bk-input-slider-range.js +5 -5
- package/dist/standalone/bk-input-slider.js +5 -5
- package/dist/standalone/bk-input-text.js +1 -1
- package/dist/standalone/bk-input-time-zone.js +1 -1
- package/dist/standalone/bk-input-time.js +29 -28
- package/dist/standalone/bk-item-group.js +3 -3
- package/dist/standalone/bk-item.js +12 -11
- package/dist/standalone/bk-kbd-shortcuts.js +4 -3
- package/dist/standalone/bk-kbd.js +68 -1
- package/dist/standalone/bk-lightbox.js +11 -7
- package/dist/standalone/bk-lines.js +1 -1
- package/dist/standalone/bk-link.js +33 -19
- package/dist/standalone/bk-listbox-columns.js +6 -6
- package/dist/standalone/bk-listbox-item.js +1 -1
- package/dist/standalone/bk-listbox-search.js +7 -7
- package/dist/standalone/bk-listbox-transfer.js +6 -6
- package/dist/standalone/bk-listbox.js +7 -7
- package/dist/standalone/bk-logo-wall.js +2 -2
- package/dist/standalone/bk-logo.js +3 -3
- package/dist/standalone/bk-menu-bar.js +3 -3
- package/dist/standalone/bk-menu-context.js +1 -1
- package/dist/standalone/bk-menu-divider.js +2 -2
- package/dist/standalone/bk-menu-item.js +73 -29
- package/dist/standalone/bk-menu-label.js +7 -6
- package/dist/standalone/bk-menu-list.js +10 -4
- package/dist/standalone/bk-menu.js +19 -10
- package/dist/standalone/bk-message-approval.js +4 -4
- package/dist/standalone/bk-message-branches.js +3 -3
- package/dist/standalone/bk-message-citation.js +10 -10
- package/dist/standalone/bk-message-feedback.js +10 -6
- package/dist/standalone/bk-message-list.js +6 -5
- package/dist/standalone/bk-message-reasoning.js +5 -5
- package/dist/standalone/bk-message-source.js +13 -21
- package/dist/standalone/bk-message-tool-group.js +5 -5
- package/dist/standalone/bk-message-tool.js +5 -5
- package/dist/standalone/bk-message.js +6 -4
- package/dist/standalone/bk-meter.js +3 -3
- package/dist/standalone/bk-model-viewer.js +1 -1
- package/dist/standalone/bk-nav-divider.js +2 -2
- package/dist/standalone/bk-nav-group.js +6 -6
- package/dist/standalone/bk-nav-item.js +31 -23
- package/dist/standalone/bk-nav-toc.js +3 -3
- package/dist/standalone/bk-nav.js +3 -3
- package/dist/standalone/bk-overflow.js +3 -3
- package/dist/standalone/bk-page-cta.js +5 -3
- package/dist/standalone/bk-page-footer-column.js +2 -2
- package/dist/standalone/bk-page-footer.js +3 -3
- package/dist/standalone/bk-page-header.js +3 -3
- package/dist/standalone/bk-page-hero.js +3 -3
- package/dist/standalone/bk-page-pager.js +5 -5
- package/dist/standalone/bk-page-section.js +6 -6
- package/dist/standalone/bk-pagination.js +6 -6
- package/dist/standalone/bk-pane.js +10 -9
- package/dist/standalone/bk-panel.js +9 -10
- package/dist/standalone/bk-period-nav.js +4 -4
- package/dist/standalone/bk-picture.js +24 -15
- package/dist/standalone/bk-popover-help.js +3 -3
- package/dist/standalone/bk-popover.js +2 -2
- package/dist/standalone/bk-presence-cursor.js +2 -2
- package/dist/standalone/bk-preview.js +4 -4
- package/dist/standalone/bk-progress.js +3 -3
- package/dist/standalone/bk-prose.js +3 -3
- package/dist/standalone/bk-qr-code.js +1 -1
- package/dist/standalone/bk-radio-group.js +4 -4
- package/dist/standalone/bk-radio.js +3 -3
- package/dist/standalone/bk-rating.js +5 -5
- package/dist/standalone/bk-scroll.js +3 -3
- package/dist/standalone/bk-segmented-item.js +40 -16
- package/dist/standalone/bk-segmented.js +15 -13
- package/dist/standalone/bk-select-cascade.js +3 -3
- package/dist/standalone/bk-select-tree.js +4 -4
- package/dist/standalone/bk-select.js +5 -5
- package/dist/standalone/bk-shell-app.js +1 -1221
- package/dist/standalone/bk-shell-centered.js +2 -2
- package/dist/standalone/bk-shell-sites.js +5 -7
- package/dist/standalone/bk-skeleton.js +2 -2
- package/dist/standalone/bk-sortable.js +55 -60
- package/dist/standalone/bk-spinner.js +2 -2
- package/dist/standalone/bk-split-grid.js +318 -41
- package/dist/standalone/bk-split.js +4 -4
- package/dist/standalone/bk-stack.js +1 -1
- package/dist/standalone/bk-stat-group.js +8 -7
- package/dist/standalone/bk-stat.js +11 -8
- package/dist/standalone/bk-status-dot.js +3 -3
- package/dist/standalone/bk-steps-item.js +5 -5
- package/dist/standalone/bk-steps.js +8 -7
- package/dist/standalone/bk-surface.js +1 -1
- package/dist/standalone/bk-swatch-group.js +4 -4
- package/dist/standalone/bk-swatch-palette.js +1 -1
- package/dist/standalone/bk-swatch.js +2 -2
- package/dist/standalone/bk-switch.js +4 -4
- package/dist/standalone/bk-table.js +1 -1937
- package/dist/standalone/bk-tabs-item.js +58 -35
- package/dist/standalone/bk-tabs-panel.js +7 -3
- package/dist/standalone/bk-tabs.js +160 -98
- package/dist/standalone/bk-tasks-item.js +4 -4
- package/dist/standalone/bk-tasks.js +2 -2
- package/dist/standalone/bk-testimonial.js +3 -3
- package/dist/standalone/bk-text.js +19 -18
- package/dist/standalone/bk-time-countdown.js +4 -4
- package/dist/standalone/bk-time-relative.js +3 -3
- package/dist/standalone/bk-timeline-item.js +4 -4
- package/dist/standalone/bk-timeline.js +2 -2
- package/dist/standalone/bk-toast-group.js +1 -1
- package/dist/standalone/bk-toast.js +4 -4
- package/dist/standalone/bk-toolbar.js +2 -2
- package/dist/standalone/bk-tooltip.js +8 -7
- package/dist/standalone/bk-tree-item.js +6 -6
- package/dist/standalone/bk-tree.js +3 -3
- package/dist/standalone/bk-video.js +6 -6
- package/dist/standalone/bk-visually-hidden.js +2 -2
- package/dist/standalone/bk-zoom.js +5 -5
- package/dist/standalone/chunks/announcer-D1zrRWwO.js +36 -0
- package/dist/standalone/chunks/{appearance-waHnV0kk.js → appearance-CBOJXbmC.js} +1 -1
- package/dist/standalone/chunks/{bk-alert-offline-B1bQxOZp.js → bk-alert-offline-Clw0ZSsH.js} +3 -3
- package/dist/standalone/chunks/{bk-carousel-BCwIQhG5.js → bk-carousel-Biz7t8sL.js} +4 -4
- package/dist/standalone/chunks/{bk-diagram-DWK8CvRZ.js → bk-diagram-D_fQf6SF.js} +5 -5
- package/dist/standalone/chunks/{bk-dialog-DX0cPJ1o.js → bk-dialog-DwZyUUHh.js} +59 -25
- package/dist/standalone/chunks/{bk-icon-DssFsNuB.js → bk-icon-Bp_flKdv.js} +4 -3
- package/dist/standalone/chunks/{bk-image-editor-DXEj9gCu.js → bk-image-editor-BADsoLRL.js} +5 -5
- package/dist/standalone/chunks/{bk-input-date-range-Cbx_lpf0.js → bk-input-date-range-DHcJ8-5g.js} +2 -2
- package/dist/standalone/chunks/{bk-input-rich-ZB68vziu.js → bk-input-rich-CFhW6vRa.js} +6 -6
- package/dist/standalone/chunks/{bk-input-text-DD32uWNO.js → bk-input-text-DviyLBqj.js} +63 -54
- package/dist/standalone/chunks/{bk-model-viewer-Dr81ahVv.js → bk-model-viewer-w_Ah4Tvs.js} +4 -4
- package/dist/standalone/chunks/{bk-qr-code-QaYvZwOR.js → bk-qr-code-CYMovNVl.js} +3 -3
- package/dist/standalone/chunks/bk-shell-app-B2lxHit8.js +1235 -0
- package/dist/standalone/chunks/{bk-surface-DkIhrWMt.js → bk-surface-D7e0tErs.js} +9 -7
- package/dist/standalone/chunks/{bk-swatch-palette-BNNXTP3w.js → bk-swatch-palette-x13JgJQi.js} +6 -6
- package/dist/standalone/chunks/bk-table-CP8n_jy7.js +1944 -0
- package/dist/standalone/chunks/{bk-toast-group-BSeO_rPs.js → bk-toast-group-CoL6W7uk.js} +27 -24
- package/dist/standalone/chunks/{brush-Bn3lPdHN.js → brush-DALmXSru.js} +18 -2
- package/dist/standalone/chunks/{busy-B7Mxemwm.js → busy-BUB22mGY.js} +5 -4
- package/dist/standalone/chunks/{chart-tokens-D1Exf7BW.js → chart-tokens-DQ4hVSmn.js} +2 -2
- package/dist/standalone/chunks/{choice-field-CGvE4tyb.js → choice-field-poOTerh1.js} +6 -6
- package/dist/standalone/chunks/{choice-item-B6-9ZRlf.js → choice-item-Cx-nm1js.js} +17 -8
- package/dist/standalone/chunks/{clipboard-Crzt1Sh9.js → clipboard-RqIeP9Uz.js} +1 -1
- package/dist/standalone/chunks/{clipboard-BKlrP5rj.js → clipboard-UVLSkL4C.js} +1 -1
- package/dist/standalone/chunks/{crop-frame-poLCGrBG.js → crop-frame-Z9N0QML4.js} +1 -11
- package/dist/standalone/chunks/{date-field-BlI6grfT.js → date-field-B-fCXa2D.js} +48 -47
- package/dist/standalone/chunks/{define-CzVPD4Zi.js → define-DkVeu7e9.js} +1 -1
- package/dist/standalone/chunks/drag-DT4__0t9.js +12 -0
- package/dist/standalone/chunks/footnotes-BeisMxLk.js +94 -0
- package/dist/standalone/chunks/{form-control-CyXQIJ2x.js → form-control-CHpfKAKa.js} +2 -2
- package/dist/standalone/chunks/{frame-abXBnl8a.js → frame-xIMVEUCi.js} +5 -4
- package/dist/standalone/chunks/{handle-menu-ZVR_msk2.js → handle-menu-BgYUbGO2.js} +26 -19
- package/dist/standalone/chunks/{heading-text-CV5gBf7k.js → heading-text-CgnCa_q2.js} +1 -1
- package/dist/standalone/chunks/{i18n-B6Al9xCK.js → i18n-DFfGgd3d.js} +49 -34
- package/dist/standalone/chunks/{i18n-BI16HQmm.js → i18n-DQAcbHkY.js} +1 -1
- package/dist/standalone/chunks/link--YWr8exL.js +69 -0
- package/dist/standalone/chunks/{marks-0kbeB4n8.js → marks-pOUDNUf1.js} +2 -2
- package/dist/standalone/chunks/{options-DMEc8rQt.js → options-BdC8-KKM.js} +2 -2
- package/dist/standalone/chunks/own-text-mpZVnMyX.js +5 -0
- package/dist/standalone/chunks/{palettes-CKLHSIPx.js → palettes-J4bQ21ks.js} +2 -2
- package/dist/standalone/chunks/{popover-base-ac49G87f.js → popover-base-hxo-Vh6E.js} +2 -2
- package/dist/standalone/chunks/{prose-BG4oQH-i.js → prose-BiuJgiah.js} +1 -1
- package/dist/standalone/chunks/{ramp-ggoyjMvC.js → ramp-CGDOcqBZ.js} +1 -1
- package/dist/standalone/chunks/save-as-DBGZjczB.js +6 -0
- package/dist/standalone/chunks/shortcuts-DPxCSO4M.js +210 -0
- package/dist/standalone/chunks/{slider-BWT8Fmwz.js → slider-jp3d-Ld-.js} +15 -14
- package/dist/standalone/chunks/{stars-BN9M_9Q1.js → stars-BgKEjDQx.js} +1 -1
- package/dist/standalone/chunks/{styles-DwSR-9a3.js → styles-CaeyhYDA.js} +3 -0
- package/dist/standalone/chunks/submit-BjBGB8OW.js +42 -0
- package/dist/standalone/chunks/{summary-BK-B4m5A.js → summary-W5s0TFqV.js} +1 -1
- package/dist/standalone/chunks/{text-field-4IUUpRHE.js → text-field-CqhJSAwZ.js} +4 -4
- package/dist/standalone/chunks/{toggle-control-ioV2jhNY.js → toggle-control-lvZbQtGW.js} +2 -2
- package/dist/standalone/chunks/{tokens-BuahF1lF.js → tokens-C_ul7pL9.js} +4 -3
- package/dist/standalone/chunks/{virtual-B-1oN14Y.js → virtual-C_h6sHnm.js} +1 -1
- package/dist/standalone/confirm.js +27 -14
- package/dist/standalone/i18n-de.js +13 -2
- package/dist/standalone/icons.js +100 -98
- package/dist/standalone/links.js +1 -1
- package/dist/standalone/reset.css +10 -0
- package/dist/standalone/toast.js +1 -1
- package/dist/standalone/tokens.css +6 -5
- package/dist/tokens.css +6 -5
- package/dist/tokens.js +4 -3
- package/package.json +25 -2
- package/dist/standalone/chunks/announcer-haFcvqbe.js +0 -25
- package/dist/standalone/chunks/bk-kbd-B_TlKzWj.js +0 -275
- package/dist/standalone/chunks/link-CWSMsx04.js +0 -60
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as a } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/i18n-
|
|
5
|
-
import { t as c } from "./chunks/styles-
|
|
6
|
-
import { r as l } from "./chunks/chart-tokens-
|
|
7
|
-
import { t as u } from "./chunks/i18n-
|
|
3
|
+
import { t as o } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
+
import { r as l } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
7
|
+
import { t as u } from "./chunks/i18n-DQAcbHkY.js";
|
|
8
8
|
import { a as d, i as f } from "./chunks/format-DEwvmPPd.js";
|
|
9
|
-
import { n as p, r as m, t as h } from "./chunks/ramp-
|
|
10
|
-
import { c as g, l as _, o as v, r as y, s as b, t as x } from "./chunks/frame-
|
|
9
|
+
import { n as p, r as m, t as h } from "./chunks/ramp-CGDOcqBZ.js";
|
|
10
|
+
import { c as g, l as _, o as v, r as y, s as b, t as x } from "./chunks/frame-xIMVEUCi.js";
|
|
11
11
|
// dist/components/bk-chart-calendar.js
|
|
12
12
|
l();
|
|
13
13
|
var S = (e) => String(e).padStart(2, "0"), C = (e) => `${e.getFullYear()}-${S(e.getMonth() + 1)}-${S(e.getDate())}`, w = (e, t, n) => new Date(e, t, n, 12);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as a } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/i18n-
|
|
5
|
-
import { t as c } from "./chunks/styles-
|
|
6
|
-
import { r as l } from "./chunks/chart-tokens-
|
|
7
|
-
import { t as u } from "./chunks/i18n-
|
|
3
|
+
import { t as o } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
+
import { r as l } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
7
|
+
import { t as u } from "./chunks/i18n-DQAcbHkY.js";
|
|
8
8
|
import { a as d } from "./chunks/format-DEwvmPPd.js";
|
|
9
|
-
import { n as f, r as p, t as m } from "./chunks/ramp-
|
|
10
|
-
import { c as h, i as g, l as _, o as v, r as y, s as b, t as x } from "./chunks/frame-
|
|
9
|
+
import { n as f, r as p, t as m } from "./chunks/ramp-CGDOcqBZ.js";
|
|
10
|
+
import { c as h, i as g, l as _, o as v, r as y, s as b, t as x } from "./chunks/frame-xIMVEUCi.js";
|
|
11
11
|
// dist/components/bk-chart-heatmap.js
|
|
12
12
|
l();
|
|
13
13
|
var S = class extends r {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
3
|
-
import { t as i } from "./chunks/i18n-
|
|
4
|
-
import { t as a } from "./chunks/styles-
|
|
5
|
-
import { r as o } from "./chunks/chart-tokens-
|
|
6
|
-
import { t as s } from "./chunks/i18n-
|
|
2
|
+
import { t as r } from "./chunks/define-DkVeu7e9.js";
|
|
3
|
+
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
+
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
|
+
import { r as o } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
6
|
+
import { t as s } from "./chunks/i18n-DQAcbHkY.js";
|
|
7
7
|
import { a as c } from "./chunks/format-DEwvmPPd.js";
|
|
8
8
|
import { i as l } from "./chunks/scale-BcW5wHaU.js";
|
|
9
9
|
import "./bk-chart-bar.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as i } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
5
|
-
import { t as s, v as c } from "./chunks/styles-
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as s, v as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
import { n as l } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { r as u } from "./chunks/chart-tokens-
|
|
8
|
-
import { t as d } from "./chunks/i18n-
|
|
9
|
-
import { d as f } from "./chunks/frame-
|
|
7
|
+
import { r as u } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
8
|
+
import { t as d } from "./chunks/i18n-DQAcbHkY.js";
|
|
9
|
+
import { d as f } from "./chunks/frame-xIMVEUCi.js";
|
|
10
10
|
// dist/components/bk-chart-legend.js
|
|
11
11
|
u();
|
|
12
12
|
var p = class extends n {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as a } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/i18n-
|
|
5
|
-
import { t as c } from "./chunks/styles-
|
|
3
|
+
import { t as o } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
import { n as l } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { r as u } from "./chunks/chart-tokens-
|
|
8
|
-
import { t as d } from "./chunks/i18n-
|
|
9
|
-
import { a as f, i as p, n as m,
|
|
10
|
-
import { a as _,
|
|
11
|
-
import {
|
|
12
|
-
import { a as
|
|
13
|
-
import { i as
|
|
14
|
-
import { a as
|
|
7
|
+
import { r as u } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
8
|
+
import { t as d } from "./chunks/i18n-DQAcbHkY.js";
|
|
9
|
+
import { a as f, i as p, n as m, r as h, t as g } from "./chunks/brush-DALmXSru.js";
|
|
10
|
+
import { a as _, i as v, n as y, s as b, t as x } from "./chunks/format-DEwvmPPd.js";
|
|
11
|
+
import { a as S, n as C, o as w, r as T, s as E } from "./chunks/scale-BcW5wHaU.js";
|
|
12
|
+
import { a as D, i as O, n as k, o as A, r as j, t as M } from "./chunks/marks-pOUDNUf1.js";
|
|
13
|
+
import { i as N, n as P, r as F } from "./chunks/summary-W5s0TFqV.js";
|
|
14
|
+
import { a as I, c as L, d as R, f as z, l as B, o as V, p as H, r as U, s as W, t as G } from "./chunks/frame-xIMVEUCi.js";
|
|
15
15
|
import "./bk-chart-legend.js";
|
|
16
|
-
import { t as
|
|
16
|
+
import { t as K } from "./chunks/state-XYmTmnOw.js";
|
|
17
17
|
import "./chunks/compare-DGPeqUw7.js";
|
|
18
18
|
import "./chunks/grid-BV0_DQ5v.js";
|
|
19
19
|
// dist/components/bk-chart-line.js
|
|
20
20
|
u();
|
|
21
|
-
function
|
|
21
|
+
function q(e) {
|
|
22
22
|
return e instanceof Date ? e.getTime() : typeof e == "number" ? e : typeof e == "string" ? Date.parse(e) : NaN;
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var J = class extends r {
|
|
25
25
|
static properties = {
|
|
26
26
|
data: { attribute: !1 },
|
|
27
27
|
series: { attribute: !1 },
|
|
@@ -77,6 +77,10 @@ var W = class extends r {
|
|
|
77
77
|
attribute: "value-format",
|
|
78
78
|
type: Object
|
|
79
79
|
},
|
|
80
|
+
tooltipFields: {
|
|
81
|
+
attribute: "tooltip-fields",
|
|
82
|
+
converter: f
|
|
83
|
+
},
|
|
80
84
|
yDirection: {
|
|
81
85
|
attribute: "y-direction",
|
|
82
86
|
reflect: !0,
|
|
@@ -90,7 +94,7 @@ var W = class extends r {
|
|
|
90
94
|
persistKey: { attribute: "persist-key" }
|
|
91
95
|
};
|
|
92
96
|
i18n = new s(this);
|
|
93
|
-
chart = new
|
|
97
|
+
chart = new G(this);
|
|
94
98
|
hot = -1;
|
|
95
99
|
active = 0;
|
|
96
100
|
ring = !1;
|
|
@@ -99,7 +103,7 @@ var W = class extends r {
|
|
|
99
103
|
viewStart = 0;
|
|
100
104
|
cmpOrder = [];
|
|
101
105
|
sub = !1;
|
|
102
|
-
brush = new
|
|
106
|
+
brush = new g((e, t) => this.applyRange(e, t));
|
|
103
107
|
markPoints = [];
|
|
104
108
|
hotMark = null;
|
|
105
109
|
markFocus = 0;
|
|
@@ -111,7 +115,7 @@ var W = class extends r {
|
|
|
111
115
|
super(), this.data = [], this.series = [], this.x = "date", this.variant = this.defaultVariant, this.zero = !1, this.labels = !1, this.seriesLabels = "auto", this.table = !1, this.bare = !1, this.selectable = !1, this.showSummary = !1, this.range = null, this.yDirection = "up", this.toggleable = !1;
|
|
112
116
|
}
|
|
113
117
|
shown = null;
|
|
114
|
-
stored = new
|
|
118
|
+
stored = new K(this, () => this.toggleable && this.persistKey && `chart-series:${this.persistKey}`, { onChange: (e) => {
|
|
115
119
|
this.shown = Array.isArray(e) ? e : null;
|
|
116
120
|
} });
|
|
117
121
|
get down() {
|
|
@@ -157,7 +161,7 @@ var W = class extends r {
|
|
|
157
161
|
}
|
|
158
162
|
static styles = [
|
|
159
163
|
c,
|
|
160
|
-
...
|
|
164
|
+
...U,
|
|
161
165
|
i`
|
|
162
166
|
.plot { height: var(--bk-chart-height); }
|
|
163
167
|
.line { fill: none; stroke: var(--_bk-chart-c); stroke-width: var(--bk-chart-line-width); stroke-linejoin: round; stroke-linecap: round; }
|
|
@@ -188,10 +192,10 @@ var W = class extends r {
|
|
|
188
192
|
.crosshair, .reference { stroke: GrayText; } .focus, .mark-hit:focus-visible { stroke: Highlight; }
|
|
189
193
|
}
|
|
190
194
|
`,
|
|
191
|
-
|
|
195
|
+
j
|
|
192
196
|
];
|
|
193
197
|
get effectiveSeries() {
|
|
194
|
-
return
|
|
198
|
+
return I(this.series, this.data, this.x);
|
|
195
199
|
}
|
|
196
200
|
get effectiveXType() {
|
|
197
201
|
if (this.xType) return this.xType;
|
|
@@ -199,11 +203,11 @@ var W = class extends r {
|
|
|
199
203
|
return e instanceof Date ? "time" : typeof e == "string" ? /^\d{4}-\d{2}(-\d{2})?([T ][\d:.]+)?(Z|[+-][\d:]+)?$/.test(e) && !Number.isNaN(Date.parse(e)) ? "time" : "category" : typeof e == "number" ? "linear" : "category";
|
|
200
204
|
}
|
|
201
205
|
xValue(e, t, n) {
|
|
202
|
-
return n === "category" ? t : n === "time" ?
|
|
206
|
+
return n === "category" ? t : n === "time" ? q(e[this.x]) : W(e[this.x]) ?? NaN;
|
|
203
207
|
}
|
|
204
208
|
computeSubDay() {
|
|
205
209
|
if (this.effectiveXType !== "time") return !1;
|
|
206
|
-
let e = (this.data ?? []).map((e) =>
|
|
210
|
+
let e = (this.data ?? []).map((e) => q(e[this.x])).filter(Number.isFinite).sort((e, t) => e - t);
|
|
207
211
|
for (let t = 1; t < e.length; t++) if (e[t] - e[t - 1] < 864e5 && e[t] !== e[t - 1]) return !0;
|
|
208
212
|
return e.some((e) => {
|
|
209
213
|
let t = new Date(e);
|
|
@@ -212,10 +216,10 @@ var W = class extends r {
|
|
|
212
216
|
}
|
|
213
217
|
xText(e) {
|
|
214
218
|
let t = this.effectiveXType, n = e?.[this.x];
|
|
215
|
-
return t === "time" ?
|
|
219
|
+
return t === "time" ? v(this.i18n.locale, q(n), this.xFormat, this.sub) : t === "linear" ? _(this.i18n.locale, W(n)) : n == null ? "" : String(n);
|
|
216
220
|
}
|
|
217
221
|
fmt(e) {
|
|
218
|
-
return
|
|
222
|
+
return _(this.i18n.locale, e, this.valueFormat);
|
|
219
223
|
}
|
|
220
224
|
willUpdate(e) {
|
|
221
225
|
let t = e.has("data") || e.has("x") || e.has("xType");
|
|
@@ -231,84 +235,84 @@ var W = class extends r {
|
|
|
231
235
|
}
|
|
232
236
|
compareAt(e, t) {
|
|
233
237
|
let n = this.compare?.[this.cmpOrder[this.viewStart + t]], r = this.effectiveSeries[e];
|
|
234
|
-
return n && r ?
|
|
238
|
+
return n && r ? W(n[r.key]) : null;
|
|
235
239
|
}
|
|
236
240
|
layout() {
|
|
237
|
-
let e = this.chart.width, t = this.chart.height, n = this.chart.specs, r = n.labelSize, i = n.font, a = this.i18n.locale, o = this.effectiveSeries, s = this.data ?? [], c = this.effectiveXType, l = this.view, u = this.stackMode, d = l.map((e) => this.xValue(s[e], e, c)), f = new Set(this.visibleKeys), p = o.map((e) => f.has(e.key)), m = o.map((e, t) => l.map((n) => p[t] ?
|
|
241
|
+
let e = this.chart.width, t = this.chart.height, n = this.chart.specs, r = n.labelSize, i = n.font, a = this.i18n.locale, o = this.effectiveSeries, s = this.data ?? [], c = this.effectiveXType, l = this.view, u = this.stackMode, d = l.map((e) => this.xValue(s[e], e, c)), f = new Set(this.visibleKeys), p = o.map((e) => f.has(e.key)), m = o.map((e, t) => l.map((n) => p[t] ? W(s[n][e.key]) : null)), h = this.compare?.length ? o.map((e, t) => l.map((e, n) => p[t] ? this.compareAt(t, n) : null)) : null, g = l.map((e, t) => m.reduce((e, n) => e + Math.max(0, n[t] ?? 0), 0)), _ = m;
|
|
238
242
|
if (u !== "none") {
|
|
239
243
|
let e = l.map(() => 0);
|
|
240
|
-
|
|
244
|
+
_ = m.map((t) => t.map((t, n) => (e[n] += Math.max(0, t ?? 0), u === "percent" ? g[n] ? e[n] / g[n] : 0 : e[n])));
|
|
241
245
|
}
|
|
242
|
-
let
|
|
243
|
-
for (let e of
|
|
244
|
-
for (let e of
|
|
245
|
-
let
|
|
246
|
-
|
|
247
|
-
let A = r / 2 + 2, j = t - (r + 10 + n.clear), M = Math.max(2, Math.round((j - A) / 48)), N = u !== "percent" && [...m, ...
|
|
248
|
-
Number.isFinite(F) && (
|
|
249
|
-
let I = u === "percent" ?
|
|
246
|
+
let v = 1e400, y = -1e400;
|
|
247
|
+
for (let e of _) for (let t of e) t !== null && (v = Math.min(v, t), y = Math.max(y, t));
|
|
248
|
+
for (let e of h ?? []) for (let t of e) t !== null && (v = Math.min(v, t), y = Math.max(y, t));
|
|
249
|
+
let T = D(this), O = k(T);
|
|
250
|
+
O && (v = Math.min(v, O[0]), y = Math.max(y, O[1])), Number.isFinite(v) || (v = 0, y = 1);
|
|
251
|
+
let A = r / 2 + 2, j = t - (r + 10 + n.clear), M = Math.max(2, Math.round((j - A) / 48)), N = u !== "percent" && [...m, ...h ?? []].every((e) => e.every((e) => e === null || Number.isInteger(e))), P = this.down, F = Number.isFinite(this.min) ? Math.min(v, this.min) : P && N ? v : NaN;
|
|
252
|
+
Number.isFinite(F) && (v = F);
|
|
253
|
+
let I = u === "percent" ? S(0, 1, Math.min(M, 5)) : S(v, y, M, this.zero || this.filled && !P || u !== "none", N), L = u === "none" && Number.isFinite(F) && F >= I.min && !this.zero ? w(I, F) : I, R = x(a, L.ticks, u === "percent" ? { style: "percent" } : this.valueFormat), z = Math.ceil(Math.max(...L.ticks.map((e) => V(R(e), r, i))) + 8), B = p.filter(Boolean).length, H = _.map((e, t) => {
|
|
250
254
|
if (!p[t]) return -1;
|
|
251
255
|
for (let t = e.length - 1; t >= 0; t--) if (e[t] !== null) return t;
|
|
252
256
|
return -1;
|
|
253
|
-
}),
|
|
257
|
+
}), U = o.map((e, t) => {
|
|
254
258
|
let n = [];
|
|
255
|
-
return
|
|
256
|
-
}), G =
|
|
257
|
-
let t =
|
|
258
|
-
return t < 0 ? NaN : G(u === "none" ?
|
|
259
|
-
},
|
|
259
|
+
return B >= 2 && B <= 4 && this.seriesLabels !== "none" && n.push(e.label), this.labels && H[t] >= 0 && n.push(this.fmt(m[t][H[t]])), n.join(" ");
|
|
260
|
+
}), G = C([L.min, L.max], P ? [A, j] : [j, A]), K = (e) => {
|
|
261
|
+
let t = H[e];
|
|
262
|
+
return t < 0 ? NaN : G(u === "none" ? _[e][t] : (_[e][t] + (e ? _[e - 1][t] : 0)) / 2);
|
|
263
|
+
}, q = o.map((e, t) => ({
|
|
260
264
|
j: t,
|
|
261
|
-
y:
|
|
262
|
-
text:
|
|
263
|
-
i:
|
|
264
|
-
})).filter((e) => e.text && Number.isFinite(e.y)),
|
|
265
|
-
|
|
266
|
-
let
|
|
267
|
-
Y -
|
|
268
|
-
let X = d[0] ?? 0, Z = d[d.length - 1] ?? 1, Q =
|
|
265
|
+
y: K(t),
|
|
266
|
+
text: U[t],
|
|
267
|
+
i: H[t]
|
|
268
|
+
})).filter((e) => e.text && Number.isFinite(e.y)), J = q.map((e) => e.y).sort((e, t) => e - t);
|
|
269
|
+
J.some((e, t) => t && e - J[t - 1] < r + 2) && (q = []);
|
|
270
|
+
let ee = Math.max(0, ...q.map((e) => V(e.text, r, i))), Y = e - Math.max(8, ee ? ee + 12 : 0);
|
|
271
|
+
Y - z < 160 && (Y = e - 8, q = []);
|
|
272
|
+
let X = d[0] ?? 0, Z = d[d.length - 1] ?? 1, Q = C(X === Z ? [X - 1, Z + 1] : [X, Z], [z, Y]), $ = [], te = Math.max(2, Math.floor((Y - z) / 90));
|
|
269
273
|
if (c === "time") {
|
|
270
|
-
let e =
|
|
274
|
+
let e = E(X, Z, te), t = b(a, e.unit);
|
|
271
275
|
$ = e.ticks.map((e, n) => ({
|
|
272
276
|
x: Q(e),
|
|
273
277
|
text: t(e, n)
|
|
274
278
|
}));
|
|
275
279
|
} else if (c === "linear") {
|
|
276
|
-
let e =
|
|
280
|
+
let e = S(X, Z, te, !1), t = x(a, e.ticks);
|
|
277
281
|
$ = e.ticks.filter((e) => e >= X && e <= Z).map((e) => ({
|
|
278
282
|
x: Q(e),
|
|
279
283
|
text: t(e)
|
|
280
284
|
}));
|
|
281
285
|
} else {
|
|
282
|
-
let e = l.map((e) => this.xText(s[e])), t = Math.max(0, ...e.map((e) =>
|
|
286
|
+
let e = l.map((e) => this.xText(s[e])), t = Math.max(0, ...e.map((e) => V(e, r, i))), n = l.length > 1 ? (Y - z) / (l.length - 1) : Y - z, a = Math.max(1, Math.ceil((t + 12) / Math.max(1, n)));
|
|
283
287
|
$ = e.map((e, t) => ({
|
|
284
288
|
x: Q(t),
|
|
285
289
|
text: e
|
|
286
290
|
})).filter((e, t) => t % a === 0);
|
|
287
291
|
}
|
|
288
292
|
$ = $.filter((t) => {
|
|
289
|
-
let n =
|
|
293
|
+
let n = V(t.text, r, i) / 2;
|
|
290
294
|
return t.x - n >= 0 && t.x + n <= e;
|
|
291
295
|
});
|
|
292
|
-
let ne =
|
|
296
|
+
let ne = q.map((e) => ({
|
|
293
297
|
...e,
|
|
294
298
|
x: Q(d[e.i])
|
|
295
299
|
}));
|
|
296
300
|
return {
|
|
297
301
|
W: e,
|
|
298
302
|
H: t,
|
|
299
|
-
x0:
|
|
303
|
+
x0: z,
|
|
300
304
|
x1: Y,
|
|
301
305
|
y0: A,
|
|
302
306
|
y1: j,
|
|
303
307
|
xs: d,
|
|
304
|
-
vals:
|
|
308
|
+
vals: _,
|
|
305
309
|
raw: m,
|
|
306
|
-
cmp:
|
|
307
|
-
totals:
|
|
308
|
-
marks:
|
|
310
|
+
cmp: h,
|
|
311
|
+
totals: g,
|
|
312
|
+
marks: T,
|
|
309
313
|
stack: u,
|
|
310
|
-
ticks:
|
|
311
|
-
fmtTick:
|
|
314
|
+
ticks: L,
|
|
315
|
+
fmtTick: R,
|
|
312
316
|
yScale: G,
|
|
313
317
|
xScale: Q,
|
|
314
318
|
xTicks: $,
|
|
@@ -324,12 +328,12 @@ var W = class extends r {
|
|
|
324
328
|
let e = this.i18n.locale, t = new Set(this.visibleKeys), n = this.effectiveSeries.filter((e) => t.has(e.key)), r = this.view;
|
|
325
329
|
if (!r.length || !n.length) return "";
|
|
326
330
|
let i = this.data, a = r.map((e) => this.xText(i[e])), o = (e) => this.fmt(e), s = [];
|
|
327
|
-
if (this.stackMode === "none") n.slice(0, 4).forEach((t) => s.push(
|
|
331
|
+
if (this.stackMode === "none") n.slice(0, 4).forEach((t) => s.push(N(e, t.label, r.map((e, n) => ({
|
|
328
332
|
at: a[n],
|
|
329
|
-
value:
|
|
333
|
+
value: W(i[e][t.key])
|
|
330
334
|
})), o, this.down ? "down" : "up")));
|
|
331
335
|
else {
|
|
332
|
-
let t = r.map((e) => n.reduce((t, n) => t + Math.max(0,
|
|
336
|
+
let t = r.map((e) => n.reduce((t, n) => t + Math.max(0, W(i[e][n.key]) ?? 0), 0)), a = n.map((e) => r.reduce((t, n) => t + Math.max(0, W(i[n][e.key]) ?? 0), 0)), c = a.reduce((e, t) => e + t, 0), l = a.indexOf(Math.max(...a));
|
|
333
337
|
s.push(d(e, "chartSummaryLayers", {
|
|
334
338
|
label: this.heading || d(e, "chartData"),
|
|
335
339
|
count: n.length,
|
|
@@ -343,36 +347,36 @@ var W = class extends r {
|
|
|
343
347
|
}));
|
|
344
348
|
}
|
|
345
349
|
if (this.compare?.length && this.stackMode === "none") {
|
|
346
|
-
let t = this.effectiveSeries.indexOf(n[0]), a = r.reduce((e, t) => e + (
|
|
350
|
+
let t = this.effectiveSeries.indexOf(n[0]), a = r.reduce((e, t) => e + (W(i[t][n[0].key]) ?? 0), 0), c = r.reduce((e, n, r) => e + (this.compareAt(t, r) ?? 0), 0), l = this.down ? F(e, a / r.length, c / r.length, o) : P(e, a, c, o);
|
|
347
351
|
s.push(d(e, "chartSummaryCompare", {
|
|
348
352
|
previous: this.compareLabel || d(e, "chartPrevious"),
|
|
349
353
|
change: l
|
|
350
354
|
}));
|
|
351
355
|
}
|
|
352
356
|
let c = this.sub;
|
|
353
|
-
return s.push(
|
|
357
|
+
return s.push(O(e, D(this), (e) => this.fmt(e), (t) => this.effectiveXType === "time" ? v(e, q(t), this.xFormat, c) : String(t))), s.filter(Boolean).join(" ");
|
|
354
358
|
}
|
|
355
359
|
pointLabel(e) {
|
|
356
|
-
let t = this.data[this.view[e]], n = new Set(this.visibleKeys), r = this.effectiveSeries.filter((e) => n.has(e.key)).map((e) => `${e.label} ${this.fmt(
|
|
357
|
-
return `${this.xText(t)}: ${r.join(", ")}`;
|
|
360
|
+
let t = this.data[this.view[e]], n = new Set(this.visibleKeys), r = this.effectiveSeries.filter((e) => n.has(e.key)).map((e) => `${e.label} ${this.fmt(W(t[e.key]))}`), i = p(this.tooltipFields).map((e) => `${m(e)} ${h(this.i18n.locale, t, e)}`);
|
|
361
|
+
return `${this.xText(t)}: ${r.concat(i).join(", ")}`;
|
|
358
362
|
}
|
|
359
363
|
tooltipAt(e, t) {
|
|
360
|
-
let n = this.i18n.locale, r = this.data[this.view[e]], i = this.effectiveSeries, a = [], o = (e, r) => (t.down ?
|
|
361
|
-
|
|
364
|
+
let n = this.i18n.locale, r = this.data[this.view[e]], i = this.effectiveSeries, a = [], o = (e, r) => (t.down ? F : P)(n, e, r, (e) => this.fmt(e));
|
|
365
|
+
i.forEach((s, c) => {
|
|
362
366
|
if (!t.on[c]) return;
|
|
363
|
-
let l =
|
|
367
|
+
let l = R(s, c, i.length), u = W(r[s.key]), f = t.stack === "percent" && u !== null && t.totals[e] ? ` · ${y(n, Math.max(0, u) / t.totals[e], 1)}` : "", p = t.down && !t.cmp && e > 0 ? t.raw[c][e - 1] : null, m = u !== null && p !== null ? ` (${o(u, p)})` : "";
|
|
364
368
|
a.push({
|
|
365
369
|
label: s.label,
|
|
366
|
-
value: this.fmt(u) + f +
|
|
370
|
+
value: this.fmt(u) + f + m,
|
|
367
371
|
color: l,
|
|
368
372
|
marker: t.stack === "none" ? "line" : "rect"
|
|
369
373
|
});
|
|
370
|
-
let
|
|
371
|
-
if (t.cmp &&
|
|
372
|
-
let e = u !== null &&
|
|
374
|
+
let h = t.cmp?.[c][e];
|
|
375
|
+
if (t.cmp && h !== void 0) {
|
|
376
|
+
let e = u !== null && h !== null ? ` (${o(u, h)})` : "";
|
|
373
377
|
a.push({
|
|
374
378
|
label: `${i.length > 1 ? `${s.label} · ` : ""}${this.compareLabel || d(n, "chartPrevious")}`,
|
|
375
|
-
value: this.fmt(
|
|
379
|
+
value: this.fmt(h) + e,
|
|
376
380
|
color: l,
|
|
377
381
|
marker: "line"
|
|
378
382
|
});
|
|
@@ -380,7 +384,12 @@ var W = class extends r {
|
|
|
380
384
|
}), t.stack !== "none" && i.length > 1 && a.push({
|
|
381
385
|
label: d(n, "chartTotal"),
|
|
382
386
|
value: this.fmt(t.totals[e])
|
|
383
|
-
})
|
|
387
|
+
});
|
|
388
|
+
for (let e of p(this.tooltipFields)) a.push({
|
|
389
|
+
label: m(e),
|
|
390
|
+
value: h(n, r, e)
|
|
391
|
+
});
|
|
392
|
+
return {
|
|
384
393
|
title: this.xText(r),
|
|
385
394
|
rows: a,
|
|
386
395
|
x: t.xScale(t.xs[e]),
|
|
@@ -392,7 +401,7 @@ var W = class extends r {
|
|
|
392
401
|
let t = this.layoutCache;
|
|
393
402
|
if (!t || !t.xs.length) return -1;
|
|
394
403
|
let n = e.clientX - e.currentTarget.getBoundingClientRect().left;
|
|
395
|
-
return
|
|
404
|
+
return T(t.xs, t.xScale.invert(n));
|
|
396
405
|
}
|
|
397
406
|
onMove(e) {
|
|
398
407
|
if (e.target.classList?.contains("mark-hit")) return;
|
|
@@ -456,7 +465,7 @@ var W = class extends r {
|
|
|
456
465
|
}
|
|
457
466
|
markAt(e) {
|
|
458
467
|
let t = e.spec.value;
|
|
459
|
-
return this.effectiveXType === "time" ?
|
|
468
|
+
return this.effectiveXType === "time" ? v(this.i18n.locale, q(t), this.xFormat, this.sub) : String(t);
|
|
460
469
|
}
|
|
461
470
|
fireMark(e, t) {
|
|
462
471
|
let n = t.spec.el;
|
|
@@ -483,7 +492,7 @@ var W = class extends r {
|
|
|
483
492
|
rows: [{
|
|
484
493
|
label: n.spec.label,
|
|
485
494
|
value: n.spec.short,
|
|
486
|
-
color:
|
|
495
|
+
color: M(n.spec.tone)
|
|
487
496
|
}]
|
|
488
497
|
}), this.fireMark("enter", n);
|
|
489
498
|
}
|
|
@@ -542,26 +551,30 @@ var W = class extends r {
|
|
|
542
551
|
let e = this.i18n.locale, t = this.effectiveSeries, n = this.stackMode !== "none" && t.length > 1, r = this.compareLabel || d(e, "chartPrevious"), i = !!this.compare?.length, a = [this.xLabel || d(e, "chartCategory")];
|
|
543
552
|
for (let n of t) a.push(n.label), i && a.push(`${n.label} · ${r}`, `${n.label} · ${d(e, "chartChange")}`);
|
|
544
553
|
n && a.push(d(e, "chartTotal"));
|
|
545
|
-
let o = this.
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
554
|
+
let o = p(this.tooltipFields);
|
|
555
|
+
for (let e of o) a.push(m(e));
|
|
556
|
+
let s = this.order.map((r, a) => {
|
|
557
|
+
let s = [this.xText(this.data[r])];
|
|
558
|
+
t.forEach((t, n) => {
|
|
559
|
+
let o = W(this.data[r][t.key]);
|
|
560
|
+
if (s.push(this.fmt(o)), i) {
|
|
550
561
|
let t = this.compareAt(n, a - this.viewStart);
|
|
551
|
-
|
|
562
|
+
s.push(this.fmt(t), o !== null && t !== null ? (this.down ? F : P)(e, o, t, (e) => this.fmt(e)) : "–");
|
|
552
563
|
}
|
|
553
|
-
}), n &&
|
|
564
|
+
}), n && s.push(this.fmt(t.reduce((e, t) => e + Math.max(0, W(this.data[r][t.key]) ?? 0), 0)));
|
|
565
|
+
for (let t of o) s.push(h(e, this.data[r], t));
|
|
566
|
+
return s;
|
|
554
567
|
});
|
|
555
568
|
return {
|
|
556
569
|
caption: this.heading || d(e, "chartData"),
|
|
557
570
|
columns: a,
|
|
558
|
-
rows:
|
|
571
|
+
rows: s
|
|
559
572
|
};
|
|
560
573
|
}
|
|
561
574
|
renderPlot() {
|
|
562
575
|
if (!this.chart.width || !this.chart.height) return e`<div class="plot" part="plot"></div>`;
|
|
563
576
|
let r = this.i18n.locale, i = this.chart.specs, o = i.labelSize, s = i.font;
|
|
564
|
-
if (!this.view.length || !this.effectiveSeries.length) return this.layoutCache = null,
|
|
577
|
+
if (!this.view.length || !this.effectiveSeries.length) return this.layoutCache = null, L(r, this.chart.width, this.chart.height);
|
|
565
578
|
let c = this.layout();
|
|
566
579
|
this.layoutCache = c;
|
|
567
580
|
let { xScale: l, yScale: u } = c, f = c.down ? c.y1 : u(Math.max(c.ticks.min, Math.min(0, c.ticks.max))), p = c.ticks.ticks.map((e) => n`<line class=${e === 0 && !c.down ? "axis" : "grid"} x1=${c.x0} x2=${c.x1} y1=${Math.round(u(e)) + .5} y2=${Math.round(u(e)) + .5}></line>
|
|
@@ -572,7 +585,7 @@ var W = class extends r {
|
|
|
572
585
|
}), n.length && t.push(n), t;
|
|
573
586
|
}, v = c.series.map((e, r) => {
|
|
574
587
|
if (!c.on[r]) return t;
|
|
575
|
-
let o = { "--_bk-chart-c":
|
|
588
|
+
let o = { "--_bk-chart-c": R(e, r, c.series.length) }, s = z(e, r);
|
|
576
589
|
if (c.stack !== "none") {
|
|
577
590
|
let e = c.xs.map((e, t) => [l(e), u(c.vals[r][t])]), t = c.xs.map((e, t) => [l(e), r ? u(c.vals[r - 1][t]) : f]).reverse();
|
|
578
591
|
return n`<g style=${a(o)}><path class="layer" data-slot=${s} d=${`M${g(e)}L${g(t)}Z`}></path></g>`;
|
|
@@ -582,7 +595,7 @@ var W = class extends r {
|
|
|
582
595
|
}), y = c.type, b = y === "category" ? this.view.map((e) => this.xText(this.data[e])) : [], x = this.hotMark ? c.marks.map((e) => e.el === this.hotMark ? {
|
|
583
596
|
...e,
|
|
584
597
|
active: !0
|
|
585
|
-
} : e) : c.marks, S =
|
|
598
|
+
} : e) : c.marks, S = A(x, {
|
|
586
599
|
vertical: !0,
|
|
587
600
|
inset: i.clear,
|
|
588
601
|
x0: c.x0,
|
|
@@ -595,24 +608,24 @@ var W = class extends r {
|
|
|
595
608
|
fmt: (e) => this.fmt(e),
|
|
596
609
|
span: (e) => {
|
|
597
610
|
let t;
|
|
598
|
-
if (t = y === "category" ? b.indexOf(String(e)) : y === "time" ?
|
|
611
|
+
if (t = y === "category" ? b.indexOf(String(e)) : y === "time" ? q(e) : W(e) ?? NaN, !Number.isFinite(t) || t < 0) return null;
|
|
599
612
|
let n = l(t);
|
|
600
613
|
return [n, n];
|
|
601
614
|
}
|
|
602
|
-
}, r), C = c.ends.map((e) => n`<text x=${e.x + 8} y=${e.y} dy="0.32em">${e.text}</text>`), w = this.brush.span, T = w && this.selectable ? n`<rect class="selection" x=${l(c.xs[w[0]])} y=${c.y0} width=${Math.max(1, l(c.xs[w[1]]) - l(c.xs[w[0]]))} height=${c.y1 - c.y0}></rect>` : t,
|
|
603
|
-
${c.series.map((e, r) => !c.on[r] || c.vals[r][
|
|
604
|
-
cx=${l(c.xs[
|
|
605
|
-
let r = t ? (l(c.xs[t - 1]) + l(e)) / 2 : c.x0, i = t <
|
|
615
|
+
}, r), C = c.ends.map((e) => n`<text x=${e.x + 8} y=${e.y} dy="0.32em">${e.text}</text>`), w = this.brush.span, T = w && this.selectable ? n`<rect class="selection" x=${l(c.xs[w[0]])} y=${c.y0} width=${Math.max(1, l(c.xs[w[1]]) - l(c.xs[w[0]]))} height=${c.y1 - c.y0}></rect>` : t, E = this.hot, D = E >= 0 && E < c.xs.length ? n`<line class=${this.ring ? "focus" : "crosshair"} x1=${Math.round(l(c.xs[E])) + .5} x2=${Math.round(l(c.xs[E])) + .5} y1=${c.y0} y2=${c.y1}></line>
|
|
616
|
+
${c.series.map((e, r) => !c.on[r] || c.vals[r][E] === null ? t : n`<circle class="dot" style=${a({ "--_bk-chart-c": R(e, r, c.series.length) })}
|
|
617
|
+
cx=${l(c.xs[E])} cy=${u(c.vals[r][E])} r=${i.marker / 2 + i.ring / 2}></circle>`)}` : t, O = c.xs.length, k = c.xs.map((e, t) => {
|
|
618
|
+
let r = t ? (l(c.xs[t - 1]) + l(e)) / 2 : c.x0, i = t < O - 1 ? (l(e) + l(c.xs[t + 1])) / 2 : c.x1;
|
|
606
619
|
return n`<rect class="band" data-i=${t} role="img" aria-label=${this.pointLabel(t)} tabindex=${t === this.active ? 0 : -1}
|
|
607
620
|
x=${r} y=${c.y0} width=${Math.max(1, i - r)} height=${c.y1 - c.y0} @focus=${(e) => this.onFocus(e, t)} @blur=${this.onBlur}></rect>`;
|
|
608
621
|
});
|
|
609
622
|
return e`<div class="plot" part="plot">
|
|
610
623
|
<svg width=${c.W} height=${c.H} role="group" aria-label=${this.heading || d(r, "chartData")}
|
|
611
624
|
@pointermove=${this.onMove} @pointerleave=${this.onLeave} @pointerdown=${this.onDown} @pointerup=${this.onUp} @keydown=${this.onKey}>
|
|
612
|
-
${c.stack === "none" ? t :
|
|
625
|
+
${c.stack === "none" ? t : H()}
|
|
613
626
|
<g aria-hidden="true">${p}${h}${m}</g>
|
|
614
|
-
<g aria-hidden="true">${S.back}${T}${v}${S.front}${C}${
|
|
615
|
-
<g>${
|
|
627
|
+
<g aria-hidden="true">${S.back}${T}${v}${S.front}${C}${D}</g>
|
|
628
|
+
<g>${k}</g>
|
|
616
629
|
<g>${this.renderMarkHits(S.points)}</g>
|
|
617
630
|
</svg>
|
|
618
631
|
</div>`;
|
|
@@ -631,7 +644,7 @@ var W = class extends r {
|
|
|
631
644
|
render() {
|
|
632
645
|
let n = this.i18n.locale, r = this.effectiveSeries, i = !!this.compare?.length && this.stackMode === "none", a = this.toggleable ? new Set(this.visibleKeys) : null, o = r.map((e, t) => ({
|
|
633
646
|
label: e.label,
|
|
634
|
-
color:
|
|
647
|
+
color: R(e, t, r.length),
|
|
635
648
|
pressed: a ? a.has(e.key) : void 0
|
|
636
649
|
}));
|
|
637
650
|
i && o.push({
|
|
@@ -640,7 +653,7 @@ var W = class extends r {
|
|
|
640
653
|
pattern: "dashed"
|
|
641
654
|
});
|
|
642
655
|
let s = o.length >= 2 ? e`<bk-chart-legend marker=${this.stackMode === "none" ? "line" : "rect"} .items=${o} @change=${this.onLegend}></bk-chart-legend>` : t, c = this.range ? e`<div class="tools"><button type="button" class="toggle interactive" part="reset" @click=${() => this.reset()}>${d(n, "chartResetZoom")}</button></div>` : t;
|
|
643
|
-
return
|
|
656
|
+
return B({
|
|
644
657
|
locale: n,
|
|
645
658
|
heading: this.heading,
|
|
646
659
|
level: this.level,
|
|
@@ -662,5 +675,5 @@ var W = class extends r {
|
|
|
662
675
|
});
|
|
663
676
|
}
|
|
664
677
|
};
|
|
665
|
-
o("bk-chart-line",
|
|
666
|
-
export {
|
|
678
|
+
o("bk-chart-line", J);
|
|
679
|
+
export { J as BkChartLine };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as a } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/i18n-
|
|
5
|
-
import { t as c } from "./chunks/styles-
|
|
6
|
-
import { r as l } from "./chunks/chart-tokens-
|
|
7
|
-
import { t as u } from "./chunks/i18n-
|
|
3
|
+
import { t as o } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
+
import { r as l } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
7
|
+
import { t as u } from "./chunks/i18n-DQAcbHkY.js";
|
|
8
8
|
import { a as d, t as f } from "./chunks/format-DEwvmPPd.js";
|
|
9
9
|
import { a as p, n as m } from "./chunks/scale-BcW5wHaU.js";
|
|
10
|
-
import { c as h, d as g, f as _, l as v, o as y, p as b, r as x, s as S, t as C } from "./chunks/frame-
|
|
10
|
+
import { c as h, d as g, f as _, l as v, o as y, p as b, r as x, s as S, t as C } from "./chunks/frame-xIMVEUCi.js";
|
|
11
11
|
import "./bk-chart-legend.js";
|
|
12
12
|
import "./chunks/grid-BV0_DQ5v.js";
|
|
13
13
|
// dist/components/bk-chart-scatter.js
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as a } from "./chunks/define-
|
|
3
|
-
import { t as o } from "./chunks/i18n-
|
|
4
|
-
import { t as s } from "./chunks/styles-
|
|
5
|
-
import { r as c } from "./chunks/chart-tokens-
|
|
6
|
-
import { t as l } from "./chunks/i18n-
|
|
2
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
3
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
5
|
+
import { r as c } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
6
|
+
import { t as l } from "./chunks/i18n-DQAcbHkY.js";
|
|
7
7
|
import { a as u } from "./chunks/format-DEwvmPPd.js";
|
|
8
8
|
import { n as d } from "./chunks/scale-BcW5wHaU.js";
|
|
9
|
-
import { n as f, t as p } from "./chunks/frame-
|
|
9
|
+
import { n as f, t as p } from "./chunks/frame-xIMVEUCi.js";
|
|
10
10
|
// dist/components/bk-chart-sparkline.js
|
|
11
11
|
c();
|
|
12
12
|
var m = (e) => (e ?? "").split(/[\s,;]+/).filter(Boolean).map(Number).filter(Number.isFinite), h = class extends r {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as a } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/i18n-
|
|
5
|
-
import { t as c } from "./chunks/styles-
|
|
6
|
-
import { r as l } from "./chunks/chart-tokens-
|
|
7
|
-
import { t as u } from "./chunks/i18n-
|
|
3
|
+
import { t as o } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
+
import { r as l } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
7
|
+
import { t as u } from "./chunks/i18n-DQAcbHkY.js";
|
|
8
8
|
import { a as d, n as f, r as p } from "./chunks/format-DEwvmPPd.js";
|
|
9
|
-
import { t as m } from "./chunks/summary-
|
|
10
|
-
import { d as h, f as g, l as _, o as v, p as y, r as b, t as x, u as S } from "./chunks/frame-
|
|
9
|
+
import { t as m } from "./chunks/summary-W5s0TFqV.js";
|
|
10
|
+
import { d as h, f as g, l as _, o as v, p as y, r as b, t as x, u as S } from "./chunks/frame-xIMVEUCi.js";
|
|
11
11
|
import "./bk-chart-legend.js";
|
|
12
12
|
// dist/components/bk-chart-stacked-bar.js
|
|
13
13
|
l();
|