@bk2k/ui 0.7.0 → 0.7.1
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 +63 -0
- package/USAGE.md +20 -9
- package/custom-elements.json +1 -1
- package/dist/charts/frame.d.ts +2 -0
- package/dist/components/bk-alert.js +1 -1
- package/dist/components/bk-button.d.ts +5 -0
- package/dist/components/bk-button.js +15 -4
- package/dist/components/bk-card.d.ts +6 -3
- package/dist/components/bk-card.js +15 -9
- package/dist/components/bk-chart-area.d.ts +4 -0
- package/dist/components/bk-chart-line.d.ts +15 -0
- package/dist/components/bk-chart-line.js +16 -6
- package/dist/components/bk-chip.d.ts +2 -0
- package/dist/components/bk-chip.js +3 -1
- package/dist/components/bk-combobox.d.ts +2 -2
- package/dist/components/bk-combobox.js +7 -20
- package/dist/components/bk-footnotes-item.d.ts +2 -2
- package/dist/components/bk-image-compare.d.ts +36 -1
- package/dist/components/bk-image-compare.js +47 -11
- package/dist/components/bk-image-viewer.d.ts +74 -3
- package/dist/components/bk-image-viewer.js +115 -28
- package/dist/components/bk-input-color.d.ts +2 -5
- package/dist/components/bk-input-color.js +0 -14
- package/dist/components/bk-input-file.d.ts +17 -0
- package/dist/components/bk-input-file.js +18 -8
- package/dist/components/bk-input-tags.d.ts +219 -0
- package/dist/components/bk-input-tags.js +293 -0
- package/dist/components/bk-input-text.d.ts +9 -0
- package/dist/components/bk-input-text.js +18 -2
- package/dist/components/bk-lightbox.d.ts +25 -1
- package/dist/components/bk-lightbox.js +7 -0
- package/dist/components/bk-page-cta.d.ts +2 -0
- package/dist/components/bk-page-cta.js +8 -1
- package/dist/components/bk-split-grid.js +7 -2
- package/dist/components/bk-stat.d.ts +2 -0
- package/dist/components/bk-stat.js +1 -1
- package/dist/components/bk-table.d.ts +2 -0
- package/dist/components/bk-table.js +1 -1
- package/dist/components/bk-tabs.d.ts +2 -1
- package/dist/components/bk-tabs.js +15 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/internal/announcer.d.ts +6 -0
- package/dist/internal/announcer.js +7 -2
- package/dist/internal/cloak.js +1 -0
- package/dist/internal/define.d.ts +9 -0
- package/dist/internal/define.js +47 -1
- package/dist/internal/elements.d.ts +6 -0
- package/dist/internal/elements.js +5 -0
- package/dist/internal/hue.d.ts +8 -0
- package/dist/internal/hue.js +15 -4
- package/dist/internal/late/bk-tabs.d.ts +4 -0
- package/dist/internal/late/bk-tabs.js +8 -0
- package/dist/internal/late.js +3 -3
- package/dist/internal/tags.d.ts +15 -0
- package/dist/internal/tags.js +44 -0
- package/dist/internal/text-field.d.ts +2 -0
- package/dist/internal/text-field.js +8 -0
- package/dist/internal/toggle-control.js +3 -1
- package/dist/jsx.d.ts +85 -6
- package/dist/kit.d.ts +1 -0
- package/dist/kit.js +3 -0
- package/dist/reset.css +1 -1
- package/dist/standalone/all.js +106 -105
- package/dist/standalone/bk-accordion-item.js +3 -3
- package/dist/standalone/bk-accordion.js +1 -1
- package/dist/standalone/bk-action-bar.js +1 -1
- package/dist/standalone/bk-alert-offline.js +1 -1
- package/dist/standalone/bk-alert.js +7 -4
- package/dist/standalone/bk-app-state.js +1 -1
- package/dist/standalone/bk-attachment.js +2 -2
- package/dist/standalone/bk-avatar-group.js +1 -1
- package/dist/standalone/bk-avatar.js +3 -3
- package/dist/standalone/bk-badge.js +1 -1
- package/dist/standalone/bk-bar.js +1 -1
- package/dist/standalone/bk-brand.js +1 -1
- package/dist/standalone/bk-breadcrumbs.js +2 -2
- package/dist/standalone/bk-button-copy.js +4 -4
- package/dist/standalone/bk-button-group.js +2 -2
- package/dist/standalone/bk-button-share.js +4 -4
- package/dist/standalone/bk-button-top.js +1 -1
- package/dist/standalone/bk-button.js +14 -6
- package/dist/standalone/bk-calendar-event.js +1 -1
- package/dist/standalone/bk-calendar-week.js +1 -1
- package/dist/standalone/bk-calendar.js +2 -2
- package/dist/standalone/bk-card.js +17 -11
- package/dist/standalone/bk-carousel-controls.js +2 -2
- package/dist/standalone/bk-carousel-item.js +1 -1
- 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 +2 -2
- package/dist/standalone/bk-chart-bar.js +1 -1
- package/dist/standalone/bk-chart-bridge.js +1 -1
- package/dist/standalone/bk-chart-bullet.js +1 -1
- package/dist/standalone/bk-chart-calendar.js +1 -1
- package/dist/standalone/bk-chart-heatmap.js +1 -1
- package/dist/standalone/bk-chart-histogram.js +1 -1
- package/dist/standalone/bk-chart-legend.js +1 -1
- package/dist/standalone/bk-chart-line.js +16 -8
- package/dist/standalone/bk-chart-mark.js +1 -1
- package/dist/standalone/bk-chart-scatter.js +1 -1
- package/dist/standalone/bk-chart-sparkline.js +1 -1
- package/dist/standalone/bk-chart-stacked-bar.js +1 -1
- package/dist/standalone/bk-chart-tracker.js +1 -1
- package/dist/standalone/bk-chart-waterfall.js +2 -2
- package/dist/standalone/bk-checkbox-group.js +5 -5
- package/dist/standalone/bk-checkbox.js +3 -3
- package/dist/standalone/bk-chip-group.js +4 -4
- package/dist/standalone/bk-chip.js +5 -3
- package/dist/standalone/bk-cluster.js +1 -1
- package/dist/standalone/bk-code-diff.js +2 -2
- package/dist/standalone/bk-code-stack.js +1 -1
- package/dist/standalone/bk-code.js +1 -1
- package/dist/standalone/bk-color-panel.js +2 -2
- package/dist/standalone/bk-columns.js +1 -1
- package/dist/standalone/bk-combobox.js +21 -30
- package/dist/standalone/bk-command-menu.js +3 -3
- package/dist/standalone/bk-command-palette.js +4 -4
- package/dist/standalone/bk-composer.js +4 -4
- package/dist/standalone/bk-delta.js +1 -1
- package/dist/standalone/bk-diagram.js +1 -1
- package/dist/standalone/bk-dialog.js +1 -1
- package/dist/standalone/bk-disclosure.js +2 -2
- package/dist/standalone/bk-divider.js +4 -4
- package/dist/standalone/bk-drawer.js +2 -2
- package/dist/standalone/bk-drop-target.js +1 -1
- package/dist/standalone/bk-empty-state.js +2 -2
- package/dist/standalone/bk-error-summary.js +1 -1
- package/dist/standalone/bk-facts-item.js +1 -1
- package/dist/standalone/bk-facts.js +1 -1
- package/dist/standalone/bk-feature.js +2 -2
- package/dist/standalone/bk-fieldset.js +1 -1
- package/dist/standalone/bk-filter-bar.js +2 -2
- package/dist/standalone/bk-folder-browser.js +2 -2
- package/dist/standalone/bk-footnote.js +1 -1
- package/dist/standalone/bk-footnotes-item.js +2 -2
- package/dist/standalone/bk-footnotes.js +1 -1
- package/dist/standalone/bk-form-guard.js +1 -1
- package/dist/standalone/bk-form-steps.js +1 -1
- package/dist/standalone/bk-grid.js +1 -1
- package/dist/standalone/bk-icon-tile.js +2 -2
- package/dist/standalone/bk-icon.js +1 -1
- package/dist/standalone/bk-image-compare.js +55 -27
- package/dist/standalone/bk-image-crop.js +3 -3
- package/dist/standalone/bk-image-editor.js +1 -1
- package/dist/standalone/bk-image-viewer.js +127 -57
- package/dist/standalone/bk-input-code.js +2 -2
- package/dist/standalone/bk-input-color.js +3 -13
- 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 +20 -13
- package/dist/standalone/bk-input-group.js +2 -2
- package/dist/standalone/bk-input-inline.js +1 -1
- package/dist/standalone/bk-input-number.js +4 -4
- package/dist/standalone/bk-input-rating.js +4 -4
- package/dist/standalone/bk-input-rich.js +1 -1
- package/dist/standalone/bk-input-search.js +4 -4
- package/dist/standalone/bk-input-slider-range.js +2 -2
- package/dist/standalone/bk-input-slider.js +2 -2
- package/dist/standalone/bk-input-tags.js +224 -0
- 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 +4 -4
- package/dist/standalone/bk-item-group.js +2 -2
- package/dist/standalone/bk-item.js +2 -2
- package/dist/standalone/bk-kbd-shortcuts.js +1 -1
- package/dist/standalone/bk-kbd.js +1 -1
- package/dist/standalone/bk-lightbox.js +16 -3
- package/dist/standalone/bk-lines.js +1 -1
- package/dist/standalone/bk-link.js +2 -2
- 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 +5 -5
- package/dist/standalone/bk-listbox-transfer.js +4 -4
- package/dist/standalone/bk-listbox.js +5 -5
- package/dist/standalone/bk-logo-wall.js +1 -1
- package/dist/standalone/bk-logo.js +2 -2
- package/dist/standalone/bk-menu-bar.js +1 -1
- package/dist/standalone/bk-menu-context.js +1 -1
- package/dist/standalone/bk-menu-divider.js +1 -1
- package/dist/standalone/bk-menu-item.js +2 -2
- package/dist/standalone/bk-menu-label.js +1 -1
- package/dist/standalone/bk-menu-list.js +1 -1
- package/dist/standalone/bk-menu.js +4 -4
- package/dist/standalone/bk-message-approval.js +2 -2
- package/dist/standalone/bk-message-branches.js +1 -1
- package/dist/standalone/bk-message-citation.js +1 -1
- package/dist/standalone/bk-message-feedback.js +2 -2
- package/dist/standalone/bk-message-list.js +2 -2
- package/dist/standalone/bk-message-reasoning.js +3 -3
- package/dist/standalone/bk-message-source.js +1 -1
- package/dist/standalone/bk-message-tool-group.js +3 -3
- package/dist/standalone/bk-message-tool.js +3 -3
- package/dist/standalone/bk-message.js +2 -2
- package/dist/standalone/bk-meter.js +1 -1
- package/dist/standalone/bk-model-viewer.js +1 -1
- package/dist/standalone/bk-nav-divider.js +1 -1
- package/dist/standalone/bk-nav-group.js +5 -5
- package/dist/standalone/bk-nav-item.js +2 -2
- package/dist/standalone/bk-nav-toc.js +1 -1
- package/dist/standalone/bk-nav.js +1 -1
- package/dist/standalone/bk-overflow.js +1 -1
- package/dist/standalone/bk-page-cta.js +10 -3
- package/dist/standalone/bk-page-footer-column.js +1 -1
- package/dist/standalone/bk-page-footer.js +1 -1
- package/dist/standalone/bk-page-header.js +2 -2
- package/dist/standalone/bk-page-hero.js +2 -2
- package/dist/standalone/bk-page-pager.js +2 -2
- package/dist/standalone/bk-page-section.js +2 -2
- package/dist/standalone/bk-pagination.js +3 -3
- package/dist/standalone/bk-pane.js +2 -2
- package/dist/standalone/bk-panel.js +2 -2
- package/dist/standalone/bk-period-nav.js +2 -2
- package/dist/standalone/bk-picture.js +1 -175
- package/dist/standalone/bk-popover-help.js +1 -1
- package/dist/standalone/bk-popover.js +1 -1
- package/dist/standalone/bk-presence-cursor.js +2 -2
- package/dist/standalone/bk-preview.js +2 -2
- package/dist/standalone/bk-progress.js +1 -1
- package/dist/standalone/bk-prose.js +1 -1
- package/dist/standalone/bk-qr-code.js +1 -1
- package/dist/standalone/bk-radio-group.js +5 -5
- package/dist/standalone/bk-radio.js +2 -2
- package/dist/standalone/bk-rating.js +3 -3
- package/dist/standalone/bk-scroll.js +1 -1
- package/dist/standalone/bk-segmented-item.js +2 -2
- package/dist/standalone/bk-segmented.js +4 -4
- package/dist/standalone/bk-select-cascade.js +3 -3
- package/dist/standalone/bk-select-tree.js +4 -4
- package/dist/standalone/bk-select.js +4 -4
- package/dist/standalone/bk-shell-app.js +1 -1
- package/dist/standalone/bk-shell-centered.js +1 -1
- package/dist/standalone/bk-shell-sites.js +1 -1
- package/dist/standalone/bk-skeleton.js +1 -1
- package/dist/standalone/bk-sortable.js +2 -2
- package/dist/standalone/bk-spinner.js +1 -1
- package/dist/standalone/bk-split-grid.js +10 -7
- package/dist/standalone/bk-split.js +6 -6
- package/dist/standalone/bk-stack.js +1 -1
- package/dist/standalone/bk-stat-group.js +1 -1
- package/dist/standalone/bk-stat.js +3 -3
- package/dist/standalone/bk-status-dot.js +2 -2
- package/dist/standalone/bk-steps-item.js +2 -2
- package/dist/standalone/bk-steps.js +1 -1
- package/dist/standalone/bk-surface.js +1 -1
- package/dist/standalone/bk-swatch-group.js +6 -6
- package/dist/standalone/bk-swatch-palette.js +1 -1
- package/dist/standalone/bk-swatch.js +1 -1
- package/dist/standalone/bk-switch.js +2 -2
- package/dist/standalone/bk-table.js +1 -1
- package/dist/standalone/bk-tabs-item.js +2 -2
- package/dist/standalone/bk-tabs-panel.js +1 -1
- package/dist/standalone/bk-tabs.js +3 -414
- package/dist/standalone/bk-tasks-item.js +2 -2
- package/dist/standalone/bk-tasks.js +1 -1
- package/dist/standalone/bk-testimonial.js +2 -2
- package/dist/standalone/bk-text.js +3 -3
- package/dist/standalone/bk-time-countdown.js +2 -2
- package/dist/standalone/bk-time-relative.js +1 -1
- package/dist/standalone/bk-timeline-item.js +2 -2
- package/dist/standalone/bk-timeline.js +1 -1
- package/dist/standalone/bk-toast-group.js +1 -1
- package/dist/standalone/bk-toast.js +2 -2
- package/dist/standalone/bk-toolbar.js +1 -1
- package/dist/standalone/bk-tooltip.js +1 -1
- package/dist/standalone/bk-tree-item.js +3 -3
- package/dist/standalone/bk-tree.js +4 -4
- package/dist/standalone/bk-video.js +2 -2
- package/dist/standalone/bk-visually-hidden.js +1 -1
- package/dist/standalone/bk-zoom.js +3 -3
- package/dist/standalone/chunks/{announcer-D1zrRWwO.js → announcer-6tMlCOq1.js} +9 -4
- package/dist/standalone/chunks/{bk-alert-offline-Clw0ZSsH.js → bk-alert-offline-hCLuG-RM.js} +1 -1
- package/dist/standalone/chunks/{bk-carousel-Biz7t8sL.js → bk-carousel-_dudBMVq.js} +2 -2
- package/dist/standalone/chunks/{bk-diagram-D_fQf6SF.js → bk-diagram-BB2odomE.js} +2 -2
- package/dist/standalone/chunks/{bk-dialog-DwZyUUHh.js → bk-dialog-DcvwnOtN.js} +2 -2
- package/dist/standalone/chunks/{bk-icon-Bp_flKdv.js → bk-icon-D4kI4F18.js} +1 -1
- package/dist/standalone/chunks/{bk-image-editor-BADsoLRL.js → bk-image-editor-SRVkHI-4.js} +2 -2
- package/dist/standalone/chunks/{bk-input-date-range-DHcJ8-5g.js → bk-input-date-range-C0Vd-p0T.js} +2 -2
- package/dist/standalone/chunks/{bk-input-rich-CFhW6vRa.js → bk-input-rich-AmDv87E5.js} +3 -3
- package/dist/standalone/chunks/{bk-input-text-DviyLBqj.js → bk-input-text-2n89GDIT.js} +15 -5
- package/dist/standalone/chunks/{bk-model-viewer-w_Ah4Tvs.js → bk-model-viewer-BoNYBd6W.js} +2 -2
- package/dist/standalone/chunks/bk-picture-CA5gLxgZ.js +186 -0
- package/dist/standalone/chunks/{bk-qr-code-CYMovNVl.js → bk-qr-code-CSFfc8As.js} +1 -1
- package/dist/standalone/chunks/{bk-shell-app-B2lxHit8.js → bk-shell-app-BlCOG25y.js} +31 -30
- package/dist/standalone/chunks/{bk-surface-D7e0tErs.js → bk-surface-BULRdKam.js} +1 -1
- package/dist/standalone/chunks/{bk-swatch-palette-x13JgJQi.js → bk-swatch-palette-Cqj85tSW.js} +1 -1
- package/dist/standalone/chunks/{bk-table-CP8n_jy7.js → bk-table-DWlD7yoM.js} +72 -71
- package/dist/standalone/chunks/bk-tabs-STkr3-E1.js +422 -0
- package/dist/standalone/chunks/{bk-toast-group-CoL6W7uk.js → bk-toast-group-5nZg7BaJ.js} +2 -2
- package/dist/standalone/chunks/{busy-BUB22mGY.js → busy-eG3uHonz.js} +1 -1
- package/dist/standalone/chunks/{choice-field-poOTerh1.js → choice-field-B0oe_9fI.js} +4 -4
- package/dist/standalone/chunks/{date-field-B-fCXa2D.js → date-field-Dy1_qxNv.js} +2 -2
- package/dist/standalone/chunks/define-6OfuRn5c.js +60 -0
- package/dist/standalone/chunks/{form-control-CHpfKAKa.js → form-control-Bmk0SRDX.js} +1 -1
- package/dist/standalone/chunks/{handle-menu-BgYUbGO2.js → handle-menu-BAe9fPYJ.js} +10 -36
- package/dist/standalone/chunks/{heading-text-CgnCa_q2.js → heading-text-B2kF-b8p.js} +1 -1
- package/dist/standalone/chunks/hue-vLbNdAEl.js +20 -0
- package/dist/standalone/chunks/late-CPQ_RbU-.js +30 -0
- package/dist/standalone/chunks/{options-BdC8-KKM.js → options-ySaDL-dW.js} +1 -1
- package/dist/standalone/chunks/{stars-BgKEjDQx.js → stars-BAUc_LqI.js} +1 -1
- package/dist/standalone/chunks/tags-CMLAGsVw.js +37 -0
- package/dist/standalone/chunks/{text-field-CqhJSAwZ.js → text-field-CufOGdfr.js} +16 -10
- package/dist/standalone/chunks/{toggle-control-lvZbQtGW.js → toggle-control-Cgqp1jhf.js} +4 -2
- package/dist/standalone/chunks/{virtual-C_h6sHnm.js → virtual-D-qgACnE.js} +1 -1
- package/dist/standalone/confirm.js +2 -2
- package/dist/standalone/reset.css +1 -1
- package/dist/standalone/toast.js +1 -1
- package/dist/standalone/tokens.css +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +2 -2
- package/dist/standalone/chunks/define-DkVeu7e9.js +0 -30
- package/dist/standalone/chunks/hue-Jvb-141g.js +0 -14
- package/dist/standalone/chunks/keyed-CZ2AaouM.js +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/host-vars-DTKbhBPu.js";
|
|
4
|
-
import { n as a, t as o } from "./chunks/hue-
|
|
4
|
+
import { n as a, t as o } from "./chunks/hue-vLbNdAEl.js";
|
|
5
5
|
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
// dist/components/bk-presence-cursor.js
|
|
7
7
|
var c = class extends t {
|
|
@@ -1,10 +1,10 @@
|
|
|
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/if-defined-z_20pBRr.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as s } from "./chunks/host-vars-DTKbhBPu.js";
|
|
5
5
|
import { t as c } from "./chunks/i18n-DFfGgd3d.js";
|
|
6
6
|
import { t as l } from "./chunks/styles-CaeyhYDA.js";
|
|
7
|
-
import "./chunks/bk-icon-
|
|
7
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
8
8
|
import "./chunks/play-arrow-fill-BOqJdpPj.js";
|
|
9
9
|
// dist/components/bk-preview.js
|
|
10
10
|
var u = class extends n {
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { t as a } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as o } from "./chunks/host-vars-DTKbhBPu.js";
|
|
4
4
|
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { n as c, t as l } from "./chunks/bar-CqZCcU7-.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/prose-BiuJgiah.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
import "./bk-code.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BkQrCode } from "./chunks/bk-qr-code-
|
|
1
|
+
export { t as BkQrCode } from "./chunks/bk-qr-code-CSFfc8As.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { n, r, t as i } from "./chunks/define-
|
|
2
|
+
import { i as n, r, t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { o as a, r as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as s } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { n as c } from "./chunks/field-DkBkSgJI.js";
|
|
6
|
-
import { t as l } from "./chunks/form-control-
|
|
6
|
+
import { t as l } from "./chunks/form-control-Bmk0SRDX.js";
|
|
7
7
|
import { s as u, t as d } from "./chunks/styles-CaeyhYDA.js";
|
|
8
8
|
import { BkRadio as f } from "./bk-radio.js";
|
|
9
9
|
// dist/components/bk-radio-group.js
|
|
@@ -37,13 +37,13 @@ var p = class extends l {
|
|
|
37
37
|
};
|
|
38
38
|
defaultValue = "";
|
|
39
39
|
radios = [];
|
|
40
|
-
observer =
|
|
40
|
+
observer = n(() => this.requestUpdate());
|
|
41
41
|
constructor() {
|
|
42
42
|
super(), this.optional = !1, this.value = "", this.label = "", this.hint = "", this.error = "", this.orientation = "vertical", this.size = "md", this.variant = "default", this.readonly = !1, this.addEventListener("click", this.onClick), this.addEventListener("keydown", this.onKeydown);
|
|
43
43
|
}
|
|
44
44
|
connectedCallback() {
|
|
45
45
|
if (super.connectedCallback(), this.defaultValue ||= this.getAttribute("value") ?? this.value, !this.defaultValue) {
|
|
46
|
-
let e = [...
|
|
46
|
+
let e = [...r(this)?.children ?? []].find((e) => e.localName === "bk-radio" && e.hasAttribute("checked"));
|
|
47
47
|
e && (this.value = this.defaultValue = e.getAttribute("value") ?? "");
|
|
48
48
|
}
|
|
49
49
|
this.observer.observe(this, {
|
|
@@ -107,7 +107,7 @@ var p = class extends l {
|
|
|
107
107
|
(t && !t.disabled ? t : this.radios.find((e) => !e.disabled))?.focus(e);
|
|
108
108
|
}
|
|
109
109
|
willUpdate(e) {
|
|
110
|
-
super.willUpdate(e), this.radios = [...
|
|
110
|
+
super.willUpdate(e), this.radios = [...r(this)?.children ?? []].filter((e) => e instanceof f);
|
|
111
111
|
let t = this.internals;
|
|
112
112
|
t.role = "radiogroup", t.ariaLabel = this.label || null, t.ariaDescription = this.error || this.validationText || this.fieldHintText(this.hint) || null, t.ariaRequired = this.required ? "true" : null, t.ariaInvalid = this.invalid || this.error ? "true" : null, t.ariaDisabled = this.isDisabled ? "true" : null, t.ariaReadOnly = this.readonly ? "true" : null, t.ariaOrientation = this.orientation === "horizontal" ? "horizontal" : null;
|
|
113
113
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as i } from "./chunks/define-
|
|
2
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as a } from "./chunks/slots-BHTtBbPo.js";
|
|
4
4
|
import { t as o } from "./chunks/styles-CaeyhYDA.js";
|
|
5
|
-
import { n as s } from "./chunks/toggle-control-
|
|
5
|
+
import { n as s } from "./chunks/toggle-control-Cgqp1jhf.js";
|
|
6
6
|
// dist/components/bk-radio.js
|
|
7
7
|
var c = class extends n {
|
|
8
8
|
static properties = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
|
-
import { i as o, n as s, r as c, t as l } from "./chunks/stars-
|
|
6
|
-
import "./chunks/bk-icon-
|
|
5
|
+
import { i as o, n as s, r as c, t as l } from "./chunks/stars-BAUc_LqI.js";
|
|
6
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
7
7
|
import "./chunks/star-BV5ZdPSf.js";
|
|
8
8
|
// dist/components/bk-rating.js
|
|
9
9
|
var u = class extends t {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { i, t as a } from "./chunks/define-
|
|
2
|
+
import { a as i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-scroll.js
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as n } from "./chunks/define-
|
|
2
|
+
import { t as n } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as r } from "./chunks/if-defined-z_20pBRr.js";
|
|
4
4
|
import { n as i, t as a } from "./chunks/choice-item-Cx-nm1js.js";
|
|
5
5
|
import { n as o, w as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
-
import "./chunks/bk-icon-
|
|
6
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
7
7
|
import { t as c } from "./chunks/own-text-mpZVnMyX.js";
|
|
8
8
|
// dist/components/bk-segmented-item.js
|
|
9
9
|
var l = class extends a {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as n, i as r, r as i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { o, r as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as c } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { a as l } from "./chunks/link--YWr8exL.js";
|
|
6
6
|
import { n as u } from "./chunks/field-DkBkSgJI.js";
|
|
7
|
-
import { t as d } from "./chunks/form-control-
|
|
7
|
+
import { t as d } from "./chunks/form-control-Bmk0SRDX.js";
|
|
8
8
|
import { s as f, t as p } from "./chunks/styles-CaeyhYDA.js";
|
|
9
9
|
import { BkSegmentedItem as m } from "./bk-segmented-item.js";
|
|
10
10
|
// dist/components/bk-segmented.js
|
|
@@ -34,7 +34,7 @@ var h = class extends d {
|
|
|
34
34
|
defaultValue = "";
|
|
35
35
|
segments = [];
|
|
36
36
|
placed = !1;
|
|
37
|
-
observer =
|
|
37
|
+
observer = r((e) => {
|
|
38
38
|
e.some((e) => e.type === "childList" || e.target.parentElement === this) && this.requestUpdate();
|
|
39
39
|
});
|
|
40
40
|
resizer = n(() => this.placeThumb());
|
|
@@ -148,7 +148,7 @@ var h = class extends d {
|
|
|
148
148
|
(this.selected ?? this.segments.find((e) => !e.disabled))?.focus(e);
|
|
149
149
|
}
|
|
150
150
|
willUpdate(e) {
|
|
151
|
-
super.willUpdate(e), this.segments = [...
|
|
151
|
+
super.willUpdate(e), this.segments = [...i(this)?.children ?? []].filter((e) => e instanceof m);
|
|
152
152
|
for (let e of this.segments) this.resizer.observe(e);
|
|
153
153
|
let t = this.internals;
|
|
154
154
|
t.role = this.linkMode ? "navigation" : "radiogroup", t.ariaLabel = this.label || null, t.ariaDescription = this.validationText || this.fieldHintText(this.hint) || null, t.ariaRequired = this.required ? "true" : null, t.ariaInvalid = this.invalid ? "true" : null, t.ariaDisabled = this.isDisabled ? "true" : null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as n } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { n as r, t as i } from "./chunks/choice-field-
|
|
4
|
-
import {
|
|
3
|
+
import { n as r, t as i } from "./chunks/choice-field-B0oe_9fI.js";
|
|
4
|
+
import { r as a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { pathOf as s, readColumnItems as c } from "./bk-listbox-columns.js";
|
|
6
|
-
import "./chunks/bk-icon-
|
|
6
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
7
7
|
import "./bk-listbox-item.js";
|
|
8
8
|
import "./chunks/chevron-down-CpVEjEyi.js";
|
|
9
9
|
// dist/components/bk-select-cascade.js
|
|
@@ -2,10 +2,10 @@ import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
|
2
2
|
import { t as r } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
3
|
import { t as i } from "./chunks/live-CgLyfc6z.js";
|
|
4
4
|
import { t as a } from "./chunks/repeat-Dxf3qZZl.js";
|
|
5
|
-
import { n as o, t as s } from "./chunks/choice-field-
|
|
6
|
-
import {
|
|
7
|
-
import { r as u } from "./chunks/options-
|
|
8
|
-
import "./chunks/bk-icon-
|
|
5
|
+
import { n as o, t as s } from "./chunks/choice-field-B0oe_9fI.js";
|
|
6
|
+
import { r as c, t as l } from "./chunks/define-6OfuRn5c.js";
|
|
7
|
+
import { r as u } from "./chunks/options-ySaDL-dW.js";
|
|
8
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
9
9
|
import "./bk-tree.js";
|
|
10
10
|
import "./bk-tree-item.js";
|
|
11
11
|
import "./chunks/chevron-down-CpVEjEyi.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as r } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { n as i, t as a } from "./chunks/choice-field-
|
|
4
|
-
import { t as o } from "./chunks/define-
|
|
3
|
+
import { n as i, t as a } from "./chunks/choice-field-B0oe_9fI.js";
|
|
4
|
+
import { t as o } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { i as s } from "./chunks/events-DQ4e9cPN.js";
|
|
6
|
-
import { t as c } from "./chunks/options-
|
|
6
|
+
import { t as c } from "./chunks/options-ySaDL-dW.js";
|
|
7
7
|
import { t as l } from "./chunks/typeahead-CTUSPo-a.js";
|
|
8
8
|
import { n as u, w as d } from "./chunks/styles-CaeyhYDA.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import "./chunks/chevron-down-CpVEjEyi.js";
|
|
11
11
|
// dist/components/bk-select.js
|
|
12
12
|
var f = class extends a {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import "./bk-nav-item.js";
|
|
2
|
-
export { t as BkShellApp, n as ShellAppToggleEvent } from "./chunks/bk-shell-app-
|
|
2
|
+
export { t as BkShellApp, n as ShellAppToggleEvent } from "./chunks/bk-shell-app-BlCOG25y.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/slots-BHTtBbPo.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-shell-centered.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-shell-sites.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/loading-B37QBUkv.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-skeleton.js
|
|
@@ -1,10 +1,10 @@
|
|
|
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/i18n-DFfGgd3d.js";
|
|
3
3
|
import { c as a } from "./chunks/anchor-CNX3nt2F.js";
|
|
4
|
-
import { t as o } from "./chunks/define-
|
|
4
|
+
import { t as o } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { i as s, r as c } from "./chunks/drag-DT4__0t9.js";
|
|
6
6
|
import { n as l } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { i as u, n as d, t as f } from "./chunks/handle-menu-
|
|
7
|
+
import { i as u, n as d, t as f } from "./chunks/handle-menu-BAe9fPYJ.js";
|
|
8
8
|
import "./bk-menu-context.js";
|
|
9
9
|
import "./bk-menu-divider.js";
|
|
10
10
|
import "./bk-menu-item.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, s as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as i } from "./chunks/define-
|
|
2
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
4
4
|
// dist/components/bk-spinner.js
|
|
5
5
|
var o = t`<path class="track" d="M2 12h4l3-7 5 14 3-7h5"></path><path class="beat" d="M2 12h4l3-7 5 14 3-7h5"></path>`, s = class extends n {
|
|
@@ -1,10 +1,10 @@
|
|
|
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
3
|
import { t as a } from "./chunks/repeat-Dxf3qZZl.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as o, i as s, r as c, t as l } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { n as u } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { t as d } from "./chunks/i18n-DFfGgd3d.js";
|
|
7
|
-
import { t as f } from "./chunks/announcer-
|
|
7
|
+
import { t as f } from "./chunks/announcer-6tMlCOq1.js";
|
|
8
8
|
import { i as p, r as m } from "./chunks/drag-DT4__0t9.js";
|
|
9
9
|
import { t as h } from "./chunks/light-styles-CFbyUU7I.js";
|
|
10
10
|
import { t as g } from "./chunks/state-XYmTmnOw.js";
|
|
@@ -91,7 +91,7 @@ var y = () => matchMedia("(prefers-reduced-motion: reduce)").matches, b = 260, x
|
|
|
91
91
|
super(), this.min = 320, this.minRow = 160, this.cols = 0, this.rows = 0, this.stackBelow = 0, this.fit = 0, this.fr = [], this.rfr = [], this.scrolling = !1, this.addEventListener("pointerdown", this.onPaneDown), this.addEventListener("keydown", this.onPaneKey), this.addEventListener("focusin", this.onPaneFocusIn), this.addEventListener("focusout", this.onPaneFocusOut), this.addEventListener("dragstart", this.onNativeDrag);
|
|
92
92
|
}
|
|
93
93
|
get panes() {
|
|
94
|
-
return [...
|
|
94
|
+
return [...c(this)?.children ?? []].filter((e) => e instanceof HTMLElement && !e.hidden && ![
|
|
95
95
|
"TEMPLATE",
|
|
96
96
|
"SCRIPT",
|
|
97
97
|
"STYLE"
|
|
@@ -159,7 +159,7 @@ var y = () => matchMedia("(prefers-reduced-motion: reduce)").matches, b = 260, x
|
|
|
159
159
|
let t = e === "col" ? this.columnCount : this.rowCount, n = e === "col" ? this.defaultSizes : this.defaultRowSizes;
|
|
160
160
|
return D(n, t) ? O(n) : k(t);
|
|
161
161
|
}
|
|
162
|
-
mutations =
|
|
162
|
+
mutations = s(() => this.requestUpdate());
|
|
163
163
|
sizer = o(([e]) => {
|
|
164
164
|
this.width = e.contentRect.width;
|
|
165
165
|
let t = this.renderRoot.querySelector(".grid");
|
|
@@ -192,7 +192,7 @@ var y = () => matchMedia("(prefers-reduced-motion: reduce)").matches, b = 260, x
|
|
|
192
192
|
disconnectedCallback() {
|
|
193
193
|
super.disconnectedCallback(), this.endDrag(!1), this.mutations.disconnect(), this.paneObserver.disconnect(), this.sizer.disconnect(), this.gridSizer.disconnect();
|
|
194
194
|
}
|
|
195
|
-
paneObserver =
|
|
195
|
+
paneObserver = s(() => this.requestUpdate());
|
|
196
196
|
observePanes() {
|
|
197
197
|
this.paneObserver.disconnect();
|
|
198
198
|
for (let e of this.children) this.paneObserver.observe(e, {
|
|
@@ -344,7 +344,7 @@ var y = () => matchMedia("(prefers-reduced-motion: reduce)").matches, b = 260, x
|
|
|
344
344
|
let n = e.handle.getBoundingClientRect();
|
|
345
345
|
t.textContent = this.nameOf(e.pane, e.handle), t.style.inlineSize = `${Math.round(n.width)}px`, t.style.minBlockSize = `${Math.round(n.height)}px`, t.style.transform = `translate(${Math.round(n.left)}px, ${Math.round(n.top)}px)`, t.showPopover?.();
|
|
346
346
|
let r = t.getBoundingClientRect();
|
|
347
|
-
e.offX = Math.min(Math.max(e.x0 - n.left, 0), r.width), e.offY = Math.min(Math.max(e.y0 - n.top, 0), r.height);
|
|
347
|
+
e.offX = Math.min(Math.max(e.x0 - n.left, 0), r.width), e.offY = Math.min(Math.max(e.y0 - n.top, 0), r.height), e.ghostW = r.width, e.ghostH = r.height;
|
|
348
348
|
}
|
|
349
349
|
measureDrag(e) {
|
|
350
350
|
e.rects = [...this.renderRoot.querySelectorAll(".cell")].map((e) => e.hidden ? null : e.getBoundingClientRect()), e.box = (this.renderRoot.querySelector(".scroller") ?? this).getBoundingClientRect();
|
|
@@ -366,7 +366,10 @@ var y = () => matchMedia("(prefers-reduced-motion: reduce)").matches, b = 260, x
|
|
|
366
366
|
if (e.raf = 0, this.drag !== e) return;
|
|
367
367
|
e.rects || this.measureDrag(e);
|
|
368
368
|
let n = this.renderRoot.querySelector(".ghost");
|
|
369
|
-
|
|
369
|
+
if (n) {
|
|
370
|
+
let t = Math.min(Math.max(e.x - e.offX, 0), Math.max(0, window.innerWidth - (e.ghostW ?? 0))), r = Math.min(Math.max(e.y - e.offY, 0), Math.max(0, window.innerHeight - (e.ghostH ?? 0)));
|
|
371
|
+
n.style.transform = `translate(${Math.round(t)}px, ${Math.round(r)}px)`;
|
|
372
|
+
}
|
|
370
373
|
let r = e.box;
|
|
371
374
|
if (!(e.x >= r.left && e.x <= r.right && e.y >= r.top && e.y <= r.bottom)) {
|
|
372
375
|
this.setTarget(e, e.from), e.outside = !0, t || this.emitOutside("dragoutside", e, !1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { i,
|
|
2
|
+
import { a as i, i as a, r as o, t as s } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { n as c } from "./chunks/events-DQ4e9cPN.js";
|
|
4
|
-
import { i as l, n as u, t as d } from "./chunks/handle-menu-
|
|
4
|
+
import { i as l, n as u, t as d } from "./chunks/handle-menu-BAe9fPYJ.js";
|
|
5
5
|
import "./bk-menu-context.js";
|
|
6
6
|
import "./bk-menu-divider.js";
|
|
7
7
|
import "./bk-menu-item.js";
|
|
@@ -91,7 +91,7 @@ var k = class extends n {
|
|
|
91
91
|
this.authoredShow ??= this.show, this.show = e === "list" || e === "detail" ? e : this.authoredShow;
|
|
92
92
|
} });
|
|
93
93
|
storedPx = new m(this, () => this.persistKey && `split:${this.persistKey}:px`);
|
|
94
|
-
mutations =
|
|
94
|
+
mutations = a((e) => {
|
|
95
95
|
e.some((e) => e.type === "childList" || e.target.parentElement === this) && this.requestUpdate();
|
|
96
96
|
});
|
|
97
97
|
sizer = i(([e]) => {
|
|
@@ -253,13 +253,13 @@ var k = class extends n {
|
|
|
253
253
|
return this.hasAttribute("stacked");
|
|
254
254
|
}
|
|
255
255
|
willUpdate(e) {
|
|
256
|
-
super.willUpdate(e), this.panes = [...
|
|
256
|
+
super.willUpdate(e), this.panes = [...o(this)?.children ?? []].filter((e) => e instanceof HTMLElement && !_.has(e.tagName));
|
|
257
257
|
let t = this.panes.length, n = t !== this.fr.length, r = this.ownSizes;
|
|
258
258
|
if (this.ownSizes = !1, e.has("sizes") && !r && (this.authored = [...this.sizes ?? []]), !n && !e.has("persistKey") && (!e.has("sizes") || r)) return;
|
|
259
259
|
let i = this.authored.length === t ? D(this.authored) : [];
|
|
260
260
|
(!r || n) && (this.defaults = i.length ? i : C(t));
|
|
261
|
-
let
|
|
262
|
-
this.persistKey && (!this.loaded || n || e.has("persistKey")) && (
|
|
261
|
+
let a = i.length ? i : C(t);
|
|
262
|
+
this.persistKey && (!this.loaded || n || e.has("persistKey")) && (a = this.load(t) ?? a), this.loaded = !0, this.floating && (this.closeFloats(a), this.lastFloats = this.floats()), this.fr = this.fit(this.room > 0 ? this.keepSizes(a, 0) : a), T(this.sizes ?? [], this.fr) || (this.sizes = [...this.fr]);
|
|
263
263
|
}
|
|
264
264
|
updated(e) {
|
|
265
265
|
super.updated(e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
// dist/components/bk-stack.js
|
|
4
4
|
var i = class extends t {
|
|
5
5
|
static properties = { align: { reflect: !0 } };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/host-vars-DTKbhBPu.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-stat-group.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
|
-
import { t as i } from "./chunks/define-
|
|
2
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as a } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as o, x as s } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
import { t as c } from "./chunks/slots-BHTtBbPo.js";
|
|
6
6
|
import { r as l } from "./chunks/chart-tokens-DQ4hVSmn.js";
|
|
7
7
|
import { t as u } from "./chunks/i18n-DQAcbHkY.js";
|
|
8
8
|
import { i as d, n as f, r as p, t as m } from "./chunks/delta-C3KtTv5o.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import "./chunks/trending-down-CFdPp8Q2.js";
|
|
11
11
|
import "./chunks/trending-up-CJCof9CA.js";
|
|
12
12
|
// dist/components/bk-stat.js
|
|
@@ -70,7 +70,7 @@ var h = class extends n {
|
|
|
70
70
|
.start { display: flex; flex: none; }
|
|
71
71
|
/* A centred band (\`bk-page-section align="center"\`) centres the rows: the value, the label, the change and the note. */
|
|
72
72
|
.stat { flex: 1; align-self: stretch; display: flex; flex-direction: column; align-items: var(--_bk-page-section-items, stretch); gap: var(--bk-stat-gap, var(--bk-space-1)); min-width: 0; }
|
|
73
|
-
.label { font-size: var(--bk-stat-label-size, var(--bk-type-small)); color: var(--bk-stat-label-color, var(--bk-text-muted)); line-height: var(--bk-line-height-tight); }
|
|
73
|
+
.label { text-transform: var(--bk-stat-label-transform, none); letter-spacing: var(--bk-stat-label-tracking, normal); font-size: var(--bk-stat-label-size, var(--bk-type-small)); color: var(--bk-stat-label-color, var(--bk-text-muted)); line-height: var(--bk-line-height-tight); }
|
|
74
74
|
.figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--bk-space-1); min-width: 0; }
|
|
75
75
|
.value {
|
|
76
76
|
font-size: var(--_bk-stat-size); font-weight: var(--bk-stat-value-weight, var(--bk-weight-semibold));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as i } from "./chunks/define-
|
|
2
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
4
|
-
import "./chunks/bk-icon-
|
|
4
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
5
5
|
import "./chunks/info-DxwIeCXS.js";
|
|
6
6
|
import "./chunks/warning-BxRrPipZ.js";
|
|
7
7
|
// dist/components/bk-status-dot.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
|
-
import {
|
|
2
|
+
import { r as i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as o } from "./chunks/link--YWr8exL.js";
|
|
4
4
|
import { t as s } from "./chunks/if-defined-z_20pBRr.js";
|
|
5
5
|
import { t as c } from "./chunks/i18n-DFfGgd3d.js";
|
|
6
6
|
import { i as l, n as u } from "./chunks/events-DQ4e9cPN.js";
|
|
7
7
|
import { t as d } from "./chunks/slots-BHTtBbPo.js";
|
|
8
8
|
import { t as f, x as p } from "./chunks/styles-CaeyhYDA.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import "./bk-spinner.js";
|
|
11
11
|
import "./chunks/block-BnkC6tdx.js";
|
|
12
12
|
import "./chunks/check-BkWcIJJJ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/host-vars-DTKbhBPu.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
import "./bk-steps-item.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BkSurface } from "./chunks/bk-surface-
|
|
1
|
+
export { t as BkSurface } from "./chunks/bk-surface-BULRdKam.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { n, r, t as i } from "./chunks/define-
|
|
2
|
+
import { i as n, r, t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as a } from "./chunks/events-DQ4e9cPN.js";
|
|
4
4
|
import { n as o, t as s } from "./chunks/field-DkBkSgJI.js";
|
|
5
|
-
import { t as c } from "./chunks/form-control-
|
|
5
|
+
import { t as c } from "./chunks/form-control-Bmk0SRDX.js";
|
|
6
6
|
import { s as l, t as u, v as d } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
import { n as f, t as p } from "./chunks/swatches-CezBzmmK.js";
|
|
8
8
|
import { t as m } from "./chunks/i18n-DFfGgd3d.js";
|
|
@@ -35,7 +35,7 @@ var h = class extends c {
|
|
|
35
35
|
defaultValue = "";
|
|
36
36
|
i18n = new m(this);
|
|
37
37
|
items = [];
|
|
38
|
-
observer =
|
|
38
|
+
observer = n(() => this.requestUpdate());
|
|
39
39
|
constructor() {
|
|
40
40
|
super(), this.optional = !1, this.value = "", this.colors = [], this.label = "", this.hint = "", this.size = "md", this.shape = "square", this.clearable = !1, this.noneLabel = "";
|
|
41
41
|
}
|
|
@@ -90,20 +90,20 @@ var h = class extends c {
|
|
|
90
90
|
}
|
|
91
91
|
willUpdate(e) {
|
|
92
92
|
super.willUpdate(e);
|
|
93
|
-
let t = (e) => this.i18n.t("colorSwatch", { value: e }),
|
|
93
|
+
let t = (e) => this.i18n.t("colorSwatch", { value: e }), n = (this.colors.length ? this.colors.map((e) => typeof e == "string" ? {
|
|
94
94
|
color: e,
|
|
95
95
|
label: t(e)
|
|
96
96
|
} : {
|
|
97
97
|
color: e.color,
|
|
98
98
|
label: e.label || t(e.color)
|
|
99
|
-
}) : [...
|
|
99
|
+
}) : [...r(this)?.querySelectorAll("option") ?? []].map((e) => ({
|
|
100
100
|
color: e.value,
|
|
101
101
|
label: e.label || e.textContent?.trim() || t(e.value)
|
|
102
102
|
}))).filter((e) => e.color);
|
|
103
103
|
this.items = this.clearable ? [{
|
|
104
104
|
color: "",
|
|
105
105
|
label: this.noneLabel || this.i18n.t("noColor")
|
|
106
|
-
}, ...
|
|
106
|
+
}, ...n] : n;
|
|
107
107
|
}
|
|
108
108
|
pick(e) {
|
|
109
109
|
let t = this.items[e]?.color ?? "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BkSwatchPalette } from "./chunks/bk-swatch-palette-
|
|
1
|
+
export { t as BkSwatchPalette } from "./chunks/bk-swatch-palette-Cqj85tSW.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as r } from "./chunks/style-map-BMvn17E7.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-swatch.js
|
|
6
6
|
var o = class extends t {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
|
-
import { t as o } from "./chunks/toggle-control-
|
|
5
|
+
import { t as o } from "./chunks/toggle-control-Cgqp1jhf.js";
|
|
6
6
|
// dist/components/bk-switch.js
|
|
7
7
|
var s = class extends o {
|
|
8
8
|
static properties = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BkTable } from "./chunks/bk-table-
|
|
1
|
+
export { t as BkTable } from "./chunks/bk-table-DWlD7yoM.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
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/if-defined-z_20pBRr.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r as a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { n as s } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { t as c } from "./chunks/i18n-DFfGgd3d.js";
|
|
6
6
|
import { n as l, t as u } from "./chunks/choice-item-Cx-nm1js.js";
|
|
7
7
|
import { x as d } from "./chunks/styles-CaeyhYDA.js";
|
|
8
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
9
9
|
import "./chunks/close-CcDDKPf9.js";
|
|
10
10
|
// dist/components/bk-tabs-item.js
|
|
11
11
|
var f = class extends u {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/styles-CaeyhYDA.js";
|
|
4
4
|
// dist/components/bk-tabs-panel.js
|
|
5
5
|
var a = class extends t {
|