@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,12 +1,12 @@
|
|
|
1
1
|
import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { o as r, r as i, t as a } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
3
|
+
import { t as o } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as s } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { n as c, t as l } from "./chunks/field-DkBkSgJI.js";
|
|
6
|
-
import { t as u } from "./chunks/form-control-
|
|
6
|
+
import { t as u } from "./chunks/form-control-Bmk0SRDX.js";
|
|
7
7
|
import { c as d, s as f, t as p } from "./chunks/styles-CaeyhYDA.js";
|
|
8
|
-
import { i as m, n as h, r as g, t as _ } from "./chunks/stars-
|
|
9
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import { i as m, n as h, r as g, t as _ } from "./chunks/stars-BAUc_LqI.js";
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import "./chunks/star-BV5ZdPSf.js";
|
|
11
11
|
// dist/components/bk-input-rating.js
|
|
12
12
|
var v = class extends u {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./bk-divider.js";
|
|
2
|
-
export { t as BkInputRich, i as isSafeHref, n as markdownToRichHtml, a as normalizeHref, r as richHtmlToMarkdown, o as sanitizeRichText } from "./chunks/bk-input-rich-
|
|
2
|
+
export { t as BkInputRich, i as isSafeHref, n as markdownToRichHtml, a as normalizeHref, r as richHtmlToMarkdown, o as sanitizeRichText } from "./chunks/bk-input-rich-AmDv87E5.js";
|
|
3
3
|
import "./bk-select.js";
|
|
4
4
|
import "./bk-toolbar.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
3
|
import { t as i } from "./chunks/live-CgLyfc6z.js";
|
|
4
|
-
import { n as a, t as o } from "./chunks/choice-field-
|
|
5
|
-
import { t as s } from "./chunks/define-
|
|
4
|
+
import { n as a, t as o } from "./chunks/choice-field-B0oe_9fI.js";
|
|
5
|
+
import { t as s } from "./chunks/define-6OfuRn5c.js";
|
|
6
6
|
import { n as c, t as l } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { r as u, t as d } from "./chunks/options-
|
|
7
|
+
import { r as u, t as d } from "./chunks/options-ySaDL-dW.js";
|
|
8
8
|
import "./bk-chip.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import "./bk-spinner.js";
|
|
11
11
|
import { r as f } from "./chunks/submit-BjBGB8OW.js";
|
|
12
12
|
import "./chunks/search-Cm9mOqRy.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, n as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as n } from "./chunks/style-map-BMvn17E7.js";
|
|
3
3
|
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
-
import { t as i } from "./chunks/define-
|
|
4
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { t as a } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { n as o, t as s } from "./chunks/field-DkBkSgJI.js";
|
|
7
|
-
import { a as c, r as l, t as u } from "./chunks/form-control-
|
|
7
|
+
import { a as c, r as l, t as u } from "./chunks/form-control-Bmk0SRDX.js";
|
|
8
8
|
import { a as d, c as f, d as p, f as m, i as h, l as g, n as _, o as v, r as y, s as b, t as x, u as S } from "./chunks/slider-jp3d-Ld-.js";
|
|
9
9
|
import { t as C } from "./chunks/slots-BHTtBbPo.js";
|
|
10
10
|
import { c as w, i as T, s as E, t as D } from "./chunks/styles-CaeyhYDA.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, n as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as n } from "./chunks/style-map-BMvn17E7.js";
|
|
3
3
|
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
-
import { t as i } from "./chunks/define-
|
|
4
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { t as a } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { n as o, t as s } from "./chunks/field-DkBkSgJI.js";
|
|
7
|
-
import { a as c, r as l, t as u } from "./chunks/form-control-
|
|
7
|
+
import { a as c, r as l, t as u } from "./chunks/form-control-Bmk0SRDX.js";
|
|
8
8
|
import { a as d, c as f, d as p, f as m, i as h, l as g, n as _, o as v, r as y, s as b, t as x, u as S } from "./chunks/slider-jp3d-Ld-.js";
|
|
9
9
|
import { t as C } from "./chunks/slots-BHTtBbPo.js";
|
|
10
10
|
import { c as w, i as T, s as E, t as D } from "./chunks/styles-CaeyhYDA.js";
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
+
import { t as r } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
+
import { t as i } from "./chunks/live-CgLyfc6z.js";
|
|
4
|
+
import { i as a, r as o, t as s } from "./chunks/define-6OfuRn5c.js";
|
|
5
|
+
import { n as c, t as l } from "./chunks/events-DQ4e9cPN.js";
|
|
6
|
+
import { r as u } from "./chunks/submit-BjBGB8OW.js";
|
|
7
|
+
import { n as d, t as f } from "./chunks/tags-CMLAGsVw.js";
|
|
8
|
+
import { t as p } from "./chunks/text-field-CufOGdfr.js";
|
|
9
|
+
import "./bk-chip.js";
|
|
10
|
+
// dist/components/bk-input-tags.js
|
|
11
|
+
function m(e) {
|
|
12
|
+
return [...e.childNodes].filter((e) => !(e instanceof Element && e.slot)).map((e) => e.textContent ?? "").join("").trim();
|
|
13
|
+
}
|
|
14
|
+
var h = /* @__PURE__ */ new Map();
|
|
15
|
+
function g(e) {
|
|
16
|
+
let t = h.get(e);
|
|
17
|
+
return t || h.set(e, t = new Intl.ListFormat(e, {
|
|
18
|
+
type: "unit",
|
|
19
|
+
style: "short"
|
|
20
|
+
})), t;
|
|
21
|
+
}
|
|
22
|
+
var _ = class extends p {
|
|
23
|
+
static properties = {
|
|
24
|
+
...p.properties,
|
|
25
|
+
values: {
|
|
26
|
+
attribute: !1,
|
|
27
|
+
noAccessor: !0
|
|
28
|
+
},
|
|
29
|
+
placeholder: {},
|
|
30
|
+
readonly: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
reflect: !0
|
|
33
|
+
},
|
|
34
|
+
enterKeyHint: { attribute: "enterkeyhint" },
|
|
35
|
+
text: { state: !0 }
|
|
36
|
+
};
|
|
37
|
+
static styles = [
|
|
38
|
+
p.styles,
|
|
39
|
+
d("input-tags"),
|
|
40
|
+
n`
|
|
41
|
+
:host { --_bk-text-field-font-size: var(--bk-input-tags-font-size); }
|
|
42
|
+
`
|
|
43
|
+
];
|
|
44
|
+
own = [];
|
|
45
|
+
defaultValues = [];
|
|
46
|
+
connectedOnce = !1;
|
|
47
|
+
observer = a(() => this.requestUpdate());
|
|
48
|
+
constructor() {
|
|
49
|
+
super(), this.readonly = !1, this.enterKeyHint = "", this.text = "";
|
|
50
|
+
}
|
|
51
|
+
get chips() {
|
|
52
|
+
let e = o(this);
|
|
53
|
+
return e ? [...e.children].filter((e) => e.localName === "bk-chip" && !e.slot) : [];
|
|
54
|
+
}
|
|
55
|
+
get controlled() {
|
|
56
|
+
return this.chips.length > 0;
|
|
57
|
+
}
|
|
58
|
+
get values() {
|
|
59
|
+
let e = this.chips;
|
|
60
|
+
return e.length ? e.filter((e) => !e.hasAttribute("removed")).map(m) : [...this.own];
|
|
61
|
+
}
|
|
62
|
+
set values(e) {
|
|
63
|
+
let t = this.values;
|
|
64
|
+
this.own = [...new Set((e ?? []).map(String).filter(Boolean))], this.requestUpdate("values", t);
|
|
65
|
+
}
|
|
66
|
+
connectedCallback() {
|
|
67
|
+
super.connectedCallback(), this.connectedOnce || (this.connectedOnce = !0, this.defaultValues.length || (this.defaultValues = [...this.own])), this.observer.observe(this, {
|
|
68
|
+
childList: !0,
|
|
69
|
+
subtree: !0,
|
|
70
|
+
characterData: !0,
|
|
71
|
+
attributes: !0,
|
|
72
|
+
attributeFilter: ["removed", "slot"]
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
disconnectedCallback() {
|
|
76
|
+
super.disconnectedCallback(), this.observer.disconnect();
|
|
77
|
+
}
|
|
78
|
+
get control() {
|
|
79
|
+
return this.renderRoot?.querySelector("input") ?? null;
|
|
80
|
+
}
|
|
81
|
+
focus(e) {
|
|
82
|
+
this.control?.focus(e);
|
|
83
|
+
}
|
|
84
|
+
blur() {
|
|
85
|
+
this.control?.blur();
|
|
86
|
+
}
|
|
87
|
+
get changeable() {
|
|
88
|
+
return super.changeable && !this.readonly;
|
|
89
|
+
}
|
|
90
|
+
formValue() {
|
|
91
|
+
let e = this.values;
|
|
92
|
+
if (!this.name || !e.length) return null;
|
|
93
|
+
let t = new FormData();
|
|
94
|
+
for (let n of e) t.append(this.name, n);
|
|
95
|
+
return t;
|
|
96
|
+
}
|
|
97
|
+
formState() {
|
|
98
|
+
return JSON.stringify(this.values);
|
|
99
|
+
}
|
|
100
|
+
resetValue() {
|
|
101
|
+
this.values = [...this.defaultValues], this.text = "";
|
|
102
|
+
}
|
|
103
|
+
restoreValue(e) {
|
|
104
|
+
try {
|
|
105
|
+
let t = JSON.parse(e);
|
|
106
|
+
Array.isArray(t) && (this.values = t);
|
|
107
|
+
} catch {}
|
|
108
|
+
}
|
|
109
|
+
computeValidity() {
|
|
110
|
+
return this.required && !this.values.length ? {
|
|
111
|
+
flags: { valueMissing: !0 },
|
|
112
|
+
message: this.i18n.t("valueRequired")
|
|
113
|
+
} : {
|
|
114
|
+
flags: {},
|
|
115
|
+
message: ""
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
get filled() {
|
|
119
|
+
return !!this.text || !this.controlled && this.own.length > 0;
|
|
120
|
+
}
|
|
121
|
+
emptyValue() {
|
|
122
|
+
if (this.text = "", this.controlled || !this.own.length) return !1;
|
|
123
|
+
this.values = [];
|
|
124
|
+
}
|
|
125
|
+
commit(e) {
|
|
126
|
+
let t = this.own;
|
|
127
|
+
e.join("\0") !== t.join("\0") && (this.own = e, this.requestUpdate("values", t), l(this, "input"), l(this, "change"));
|
|
128
|
+
}
|
|
129
|
+
addValues(e) {
|
|
130
|
+
let t = [], n = this.own;
|
|
131
|
+
for (let r of e) (this.controlled ? this.values : n).includes(r) || (c(this, "add", { value: r }, !0) ? this.controlled || (n = [...n, r]) : t.push(r));
|
|
132
|
+
return this.controlled || this.commit(n), t;
|
|
133
|
+
}
|
|
134
|
+
addTyped() {
|
|
135
|
+
let e = this.text.trim();
|
|
136
|
+
e && this.addValues([e]).length || (this.text = "");
|
|
137
|
+
}
|
|
138
|
+
removeValue(e, t) {
|
|
139
|
+
c(this, "remove", {
|
|
140
|
+
value: e,
|
|
141
|
+
chip: t
|
|
142
|
+
}, !0) && !this.controlled && this.commit(this.own.filter((t) => t !== e));
|
|
143
|
+
}
|
|
144
|
+
get lastTag() {
|
|
145
|
+
if (!this.controlled) return this.own.length ? { value: this.own[this.own.length - 1] } : void 0;
|
|
146
|
+
let e = this.chips.filter((e) => !e.hasAttribute("removed")).pop();
|
|
147
|
+
return e ? {
|
|
148
|
+
value: m(e),
|
|
149
|
+
chip: e
|
|
150
|
+
} : void 0;
|
|
151
|
+
}
|
|
152
|
+
onInput(e) {
|
|
153
|
+
e.stopPropagation(), this.text = e.target.value;
|
|
154
|
+
}
|
|
155
|
+
onKeydown(e) {
|
|
156
|
+
if (this.changeable && !e.isComposing) switch (e.key) {
|
|
157
|
+
case "Enter": {
|
|
158
|
+
if (this.text.trim()) {
|
|
159
|
+
e.preventDefault(), this.addTyped();
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
let t = this.internals.form;
|
|
163
|
+
t && setTimeout(() => u(t));
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
case ",":
|
|
167
|
+
e.preventDefault(), this.addTyped();
|
|
168
|
+
return;
|
|
169
|
+
case "Backspace": {
|
|
170
|
+
let t = this.text ? void 0 : this.lastTag;
|
|
171
|
+
if (!t) return;
|
|
172
|
+
e.preventDefault(), this.removeValue(t.value, t.chip);
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
onPaste(e) {
|
|
178
|
+
if (!this.changeable) return;
|
|
179
|
+
let t = f(e, this.text);
|
|
180
|
+
t && (this.text = this.addValues(t).join(", "));
|
|
181
|
+
}
|
|
182
|
+
onFocusOut(e) {
|
|
183
|
+
let t = e.relatedTarget;
|
|
184
|
+
t && (this.renderRoot.contains(t) || this.contains(t)) || this.changeable && this.text.trim() && this.addTyped();
|
|
185
|
+
}
|
|
186
|
+
onBoxClick(e) {
|
|
187
|
+
this.isDisabled || e.composedPath().some((e) => e instanceof Element && (e.localName === "bk-chip" || e.classList.contains("clear") || e.parentElement === this && e.slot === "end")) || this.control?.focus();
|
|
188
|
+
}
|
|
189
|
+
onSlottedRemove(e) {
|
|
190
|
+
let t = e.target;
|
|
191
|
+
t.localName === "bk-chip" && t.parentElement === this && (e.stopPropagation(), this.changeable && this.removeValue(m(t), t));
|
|
192
|
+
}
|
|
193
|
+
onTagRemove(e, t) {
|
|
194
|
+
e.stopPropagation(), this.changeable && (this.removeValue(t), this.control?.focus());
|
|
195
|
+
}
|
|
196
|
+
willUpdate(e) {
|
|
197
|
+
super.willUpdate(e), (e.has("readonly") || e.has("disabled")) && !this.changeable && (this.text = "");
|
|
198
|
+
}
|
|
199
|
+
render() {
|
|
200
|
+
let n = this.controlled, a = this.values, o = n || a.length > 0, s = this.descriptionIds(a.length ? "tags-text" : void 0), c = this.changeable, l = this.showInvalid;
|
|
201
|
+
return e`<div @focusout=${this.onFocusOut}>
|
|
202
|
+
${this.renderField(e`<div class="${this.boxClass}${o ? " has-tags" : ""}${o && !this.hasLead ? " tags-first" : ""}" part="box" @click=${this.onBoxClick}>
|
|
203
|
+
${this.renderStart()}
|
|
204
|
+
${this.renderPrefix()}
|
|
205
|
+
<div class="values">
|
|
206
|
+
<span class="tags">${n ? t : this.own.map((t) => e`<bk-chip part="tag" size=${this.size} ?removable=${c}
|
|
207
|
+
@remove=${(e) => this.onTagRemove(e, t)}>${t}</bk-chip>`)}<slot @remove=${this.onSlottedRemove}></slot></span>
|
|
208
|
+
<input part="input" id="control" type="text" autocomplete="off" autocapitalize="off" spellcheck="false"
|
|
209
|
+
enterkeyhint=${r(this.enterKeyHint || void 0)} .value=${i(this.text)}
|
|
210
|
+
placeholder=${r(o ? void 0 : this.placeholder)} ?disabled=${this.isDisabled} ?readonly=${this.readonly}
|
|
211
|
+
aria-label=${r(this.label ? void 0 : this.forwardedName)} aria-describedby=${r(s)}
|
|
212
|
+
aria-required=${this.required ? "true" : "false"} aria-invalid=${l ? "true" : "false"}
|
|
213
|
+
@input=${this.onInput} @paste=${this.onPaste} @change=${(e) => e.stopPropagation()} @keydown=${this.onKeydown} />
|
|
214
|
+
${a.length ? e`<span class="sr-only" id="tags-text">${g(this.i18n.locale).format(a)}</span>` : t}
|
|
215
|
+
</div>
|
|
216
|
+
${this.renderSuffix()}
|
|
217
|
+
${this.renderClear()}
|
|
218
|
+
${this.renderEnd()}
|
|
219
|
+
</div>`)}
|
|
220
|
+
</div>`;
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
s("bk-input-tags", _);
|
|
224
|
+
export { _ as BkInputTags };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BkInputText } from "./chunks/bk-input-text-
|
|
1
|
+
export { t as BkInputText } from "./chunks/bk-input-text-2n89GDIT.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as e } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t } from "./chunks/define-
|
|
2
|
+
import { t } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { BkCombobox as n } from "./bk-combobox.js";
|
|
4
4
|
// dist/components/bk-input-time-zone.js
|
|
5
5
|
var r = /* @__PURE__ */ new WeakMap();
|
|
@@ -2,11 +2,11 @@ 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
3
|
import { t as r } from "./chunks/live-CgLyfc6z.js";
|
|
4
4
|
import { o as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
-
import { t as a } from "./chunks/define-
|
|
5
|
+
import { t as a } from "./chunks/define-6OfuRn5c.js";
|
|
6
6
|
import { t as o } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { n as s } from "./chunks/date-field-
|
|
8
|
-
import { t as c } from "./chunks/text-field-
|
|
9
|
-
import "./chunks/bk-icon-
|
|
7
|
+
import { n as s } from "./chunks/date-field-Dy1_qxNv.js";
|
|
8
|
+
import { t as c } from "./chunks/text-field-CufOGdfr.js";
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import { r as l } from "./chunks/submit-BjBGB8OW.js";
|
|
11
11
|
// dist/components/bk-input-time.js
|
|
12
12
|
var u = /* @__PURE__ */ new Map();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/announcer-
|
|
3
|
-
import {
|
|
2
|
+
import { t as r } from "./chunks/announcer-6tMlCOq1.js";
|
|
3
|
+
import { i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { n as o } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { t as s } from "./chunks/light-styles-CFbyUU7I.js";
|
|
6
6
|
import { p as c } from "./chunks/styles-CaeyhYDA.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
3
|
import { t as a } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
-
import { t as o } from "./chunks/define-
|
|
4
|
+
import { t as o } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { t as s } from "./chunks/link--YWr8exL.js";
|
|
6
6
|
import { t as c } from "./chunks/slots-BHTtBbPo.js";
|
|
7
7
|
import { t as l, x as u } from "./chunks/styles-CaeyhYDA.js";
|
|
8
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
9
9
|
import { t as d } from "./chunks/own-text-mpZVnMyX.js";
|
|
10
10
|
import "./chunks/check-BkWcIJJJ.js";
|
|
11
11
|
import "./chunks/description-DXoJ8atg.js";
|
|
@@ -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 { 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
|
import { g as o, o as s } from "./chunks/shortcuts-DPxCSO4M.js";
|
|
5
5
|
import "./bk-kbd.js";
|
|
@@ -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 { 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 { a as c, g as l, n as u, r as d } from "./chunks/shortcuts-DPxCSO4M.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { i as r } from "./chunks/anchor-CNX3nt2F.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/i18n-DFfGgd3d.js";
|
|
5
5
|
import { r as o } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
7
|
-
import "./chunks/bk-dialog-
|
|
7
|
+
import "./chunks/bk-dialog-DcvwnOtN.js";
|
|
8
8
|
import "./bk-button.js";
|
|
9
9
|
import "./bk-image-viewer.js";
|
|
10
10
|
import "./chunks/close-CcDDKPf9.js";
|
|
@@ -26,6 +26,18 @@ var c = class extends t {
|
|
|
26
26
|
type: Boolean,
|
|
27
27
|
reflect: !0
|
|
28
28
|
},
|
|
29
|
+
pageable: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
reflect: !0
|
|
32
|
+
},
|
|
33
|
+
first: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
reflect: !0
|
|
36
|
+
},
|
|
37
|
+
last: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
reflect: !0
|
|
40
|
+
},
|
|
29
41
|
variant: {
|
|
30
42
|
reflect: !0,
|
|
31
43
|
useDefault: !0
|
|
@@ -44,7 +56,7 @@ var c = class extends t {
|
|
|
44
56
|
opener = null;
|
|
45
57
|
i18n = new a(this);
|
|
46
58
|
constructor() {
|
|
47
|
-
super(), this.open = !1, this.index = 0, this.items = [], this.filmstrip = !1, this.loop = !1, this.variant = "grid", this.label = "", this.closeLabel = "", this.prevLabel = "", this.nextLabel = "", this.zoomInLabel = "", this.zoomOutLabel = "", this.fitLabel = "", this.actualSizeLabel = "", this.errorLabel = "", this.view = [], this.addEventListener("click", this.onGalleryClick), this.addEventListener("keydown", this.onGalleryKey);
|
|
59
|
+
super(), this.open = !1, this.index = 0, this.items = [], this.filmstrip = !1, this.loop = !1, this.pageable = !1, this.first = !1, this.last = !1, this.variant = "grid", this.label = "", this.closeLabel = "", this.prevLabel = "", this.nextLabel = "", this.zoomInLabel = "", this.zoomOutLabel = "", this.fitLabel = "", this.actualSizeLabel = "", this.errorLabel = "", this.view = [], this.addEventListener("click", this.onGalleryClick), this.addEventListener("keydown", this.onGalleryKey);
|
|
48
60
|
}
|
|
49
61
|
static styles = [s, n`
|
|
50
62
|
:host { display: block; }
|
|
@@ -219,6 +231,7 @@ var c = class extends t {
|
|
|
219
231
|
<bk-dialog bare exportparts="dialog" heading=${this.label || this.i18n.t("imageViewer")} .open=${this.open}
|
|
220
232
|
@open=${this.onDialogOpen} @close=${this.onDialogClose}>
|
|
221
233
|
<bk-image-viewer part="viewer" autofocus immersive .items=${this.view} .index=${this.index} ?filmstrip=${this.filmstrip} ?loop=${this.loop}
|
|
234
|
+
?pageable=${this.pageable} ?first=${this.first} ?last=${this.last}
|
|
222
235
|
label=${this.label || this.i18n.t("imageViewer")} prev-label=${this.prevLabel} next-label=${this.nextLabel}
|
|
223
236
|
zoom-in-label=${this.zoomInLabel} zoom-out-label=${this.zoomOutLabel} fit-label=${this.fitLabel}
|
|
224
237
|
actual-size-label=${this.actualSizeLabel} error-label=${this.errorLabel}
|
|
@@ -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-lines.js
|
|
4
4
|
var i = class extends t {
|
|
5
5
|
static properties = { align: { reflect: !0 } };
|
|
@@ -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
3
|
import { r 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 { t as s } from "./chunks/link--YWr8exL.js";
|
|
6
6
|
import { t as c, x as l } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
import { t as u } from "./chunks/i18n-DFfGgd3d.js";
|
|
8
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
9
9
|
import "./chunks/external-AspOV3Hn.js";
|
|
10
10
|
// dist/components/bk-link.js
|
|
11
11
|
var d = class extends n {
|
|
@@ -1,15 +1,15 @@
|
|
|
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
3
|
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
-
import {
|
|
4
|
+
import { i as a, r as o, t as s } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { t as c } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { n as l, t as u } from "./chunks/field-DkBkSgJI.js";
|
|
7
|
-
import { t as d } from "./chunks/form-control-
|
|
8
|
-
import { a as f } from "./chunks/options-
|
|
7
|
+
import { t as d } from "./chunks/form-control-Bmk0SRDX.js";
|
|
8
|
+
import { a as f } from "./chunks/options-ySaDL-dW.js";
|
|
9
9
|
import { t as p } from "./chunks/scroll-CB6-StUs.js";
|
|
10
10
|
import { s as m, t as h } from "./chunks/styles-CaeyhYDA.js";
|
|
11
11
|
import { t as g } from "./chunks/typeahead-CTUSPo-a.js";
|
|
12
|
-
import "./chunks/bk-icon-
|
|
12
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
13
13
|
import "./bk-listbox-item.js";
|
|
14
14
|
import "./chunks/check-BkWcIJJJ.js";
|
|
15
15
|
import "./chunks/chevron-left-BHF34JzQ.js";
|
|
@@ -64,7 +64,7 @@ var y = 0, b = class extends d {
|
|
|
64
64
|
defaultValue = "";
|
|
65
65
|
_value = "";
|
|
66
66
|
key = `bk-listbox-columns-${++y}`;
|
|
67
|
-
observer =
|
|
67
|
+
observer = a(() => this.childItems = _(o(this)));
|
|
68
68
|
typeahead = new g();
|
|
69
69
|
i18n = new i(this);
|
|
70
70
|
focusPending = !1;
|
|
@@ -94,7 +94,7 @@ var y = 0, b = class extends d {
|
|
|
94
94
|
return e;
|
|
95
95
|
}
|
|
96
96
|
connectedCallback() {
|
|
97
|
-
if (super.connectedCallback(), this.childItems = _(
|
|
97
|
+
if (super.connectedCallback(), this.childItems = _(o(this)), !this._value) {
|
|
98
98
|
let e = this.querySelector("bk-listbox-item[selected]");
|
|
99
99
|
e && (this._value = e.getAttribute("value") ?? e.getAttribute("label") ?? "");
|
|
100
100
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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/announcer-
|
|
4
|
-
import { t as a } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/announcer-6tMlCOq1.js";
|
|
4
|
+
import { t as a } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { t as o } from "./chunks/events-DQ4e9cPN.js";
|
|
6
|
-
import { t as s } from "./chunks/form-control-
|
|
7
|
-
import { n as c, o as l } from "./chunks/options-
|
|
6
|
+
import { t as s } from "./chunks/form-control-Bmk0SRDX.js";
|
|
7
|
+
import { n as c, o as l } from "./chunks/options-ySaDL-dW.js";
|
|
8
8
|
import { t as u } from "./chunks/styles-CaeyhYDA.js";
|
|
9
9
|
import "./bk-button.js";
|
|
10
|
-
import "./chunks/bk-input-text-
|
|
10
|
+
import "./chunks/bk-input-text-2n89GDIT.js";
|
|
11
11
|
import "./bk-listbox.js";
|
|
12
12
|
// dist/components/bk-listbox-search.js
|
|
13
13
|
var d = class extends s {
|
|
@@ -1,14 +1,14 @@
|
|
|
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
3
|
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
-
import {
|
|
4
|
+
import { i as a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
5
5
|
import { t as s } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { n as c, t as l } from "./chunks/field-DkBkSgJI.js";
|
|
7
|
-
import { t as u } from "./chunks/form-control-
|
|
8
|
-
import { o as d, r as f } from "./chunks/options-
|
|
7
|
+
import { t as u } from "./chunks/form-control-Bmk0SRDX.js";
|
|
8
|
+
import { o as d, r as f } from "./chunks/options-ySaDL-dW.js";
|
|
9
9
|
import { s as p, t as m, x as h } from "./chunks/styles-CaeyhYDA.js";
|
|
10
10
|
import "./bk-button.js";
|
|
11
|
-
import "./chunks/bk-input-text-
|
|
11
|
+
import "./chunks/bk-input-text-2n89GDIT.js";
|
|
12
12
|
import "./bk-listbox.js";
|
|
13
13
|
import "./chunks/arrow-down-yAm1AGV7.js";
|
|
14
14
|
import "./chunks/arrow-up-BfHTuP3c.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
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 {
|
|
3
|
+
import { i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { t as s } from "./chunks/events-DQ4e9cPN.js";
|
|
6
6
|
import { n as c, t as l } from "./chunks/field-DkBkSgJI.js";
|
|
7
|
-
import { t as u } from "./chunks/form-control-
|
|
8
|
-
import { a as d, c as f, d as p, i as m, l as h, o as g, s as _, t as v } from "./chunks/options-
|
|
7
|
+
import { t as u } from "./chunks/form-control-Bmk0SRDX.js";
|
|
8
|
+
import { a as d, c as f, d as p, i as m, l as h, o as g, s as _, t as v } from "./chunks/options-ySaDL-dW.js";
|
|
9
9
|
import { s as y, t as b } from "./chunks/styles-CaeyhYDA.js";
|
|
10
10
|
import { t as x } from "./chunks/typeahead-CTUSPo-a.js";
|
|
11
|
-
import { n as S, t as C } from "./chunks/virtual-
|
|
12
|
-
import "./chunks/bk-icon-
|
|
11
|
+
import { n as S, t as C } from "./chunks/virtual-D-qgACnE.js";
|
|
12
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
13
13
|
import { t as w } from "./chunks/scroll-CB6-StUs.js";
|
|
14
14
|
// dist/components/bk-listbox.js
|
|
15
15
|
var T = 0, E = 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-logo-wall.js
|
|
5
5
|
var a = class extends t {
|
|
@@ -1,9 +1,9 @@
|
|
|
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/host-vars-DTKbhBPu.js";
|
|
4
4
|
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
-
import { n as c, t as l } from "./chunks/hue-
|
|
6
|
+
import { n as c, t as l } from "./chunks/hue-vLbNdAEl.js";
|
|
7
7
|
// dist/components/bk-logo.js
|
|
8
8
|
var u = /* @__PURE__ */ new Map();
|
|
9
9
|
function d(e) {
|
|
@@ -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/i18n-DFfGgd3d.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as o } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
import "./bk-menu.js";
|
|
6
6
|
// dist/components/bk-menu-bar.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { i as n, n as r } from "./chunks/anchor-CNX3nt2F.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { BkMenu as a } from "./bk-menu.js";
|
|
5
5
|
import "./chunks/keyboard-Cq9klEyN.js";
|
|
6
6
|
// dist/components/bk-menu-context.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t 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/styles-CaeyhYDA.js";
|
|
4
4
|
// dist/components/bk-menu-divider.js
|
|
5
5
|
var i = class extends e {
|
|
@@ -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/if-defined-z_20pBRr.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r as a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as s } from "./chunks/link--YWr8exL.js";
|
|
5
5
|
import { o as c, t as l } from "./chunks/anchor-CNX3nt2F.js";
|
|
6
6
|
import { t as u } from "./chunks/slots-BHTtBbPo.js";
|
|
7
7
|
import { b as d, t as f, x as p, y as m } from "./chunks/styles-CaeyhYDA.js";
|
|
8
8
|
import { l as h, t as g } from "./chunks/shortcuts-DPxCSO4M.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
10
10
|
import "./bk-kbd.js";
|
|
11
11
|
import { t as _ } from "./chunks/own-text-mpZVnMyX.js";
|
|
12
12
|
import { n as v } from "./chunks/events-DQ4e9cPN.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 { p as i, t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
4
4
|
import { t as o } from "./chunks/own-text-mpZVnMyX.js";
|
|
5
5
|
// dist/components/bk-menu-label.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 { n as i } from "./chunks/events-DQ4e9cPN.js";
|
|
4
4
|
import { t as a } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { t as o } from "./chunks/styles-CaeyhYDA.js";
|