bitboss-ui 3.0.0-beta.69 → 3.0.0-beta.71
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/README.md +20 -11
- package/bin/bitboss-ui-mcp.mjs +7 -4
- package/bin/bitboss-ui.mjs +0 -0
- package/bin/cli.mjs +47 -28
- package/dist/ai/BbBaseButton.md +4 -4
- package/dist/ai/BbBreadcrumbs.md +3 -0
- package/dist/ai/BbCarousel.md +32 -29
- package/dist/ai/BbCheckbox.md +5 -6
- package/dist/ai/BbCheckboxGroup.md +28 -26
- package/dist/ai/BbColorInput.md +9 -14
- package/dist/ai/BbDatePickerInput.md +3 -4
- package/dist/ai/BbDropdown.md +35 -1
- package/dist/ai/BbDropdownButton.md +4 -3
- package/dist/ai/BbDropzone.md +3 -3
- package/dist/ai/BbGallery.md +2034 -0
- package/dist/ai/BbNumberInput.md +3 -4
- package/dist/ai/BbPopover.md +12 -6
- package/dist/ai/BbRadio.md +5 -6
- package/dist/ai/BbRadioGroup.md +28 -31
- package/dist/ai/BbRating.md +6 -16
- package/dist/ai/BbSelect.md +10 -11
- package/dist/ai/BbSlider.md +3 -9
- package/dist/ai/BbSwitch.md +6 -6
- package/dist/ai/BbSwitchGroup.md +4 -7
- package/dist/ai/BbTag.md +3 -4
- package/dist/ai/BbTextInput.md +19 -19
- package/dist/ai/BbTextarea.md +8 -8
- package/dist/ai/BbTimePickerInput.md +3 -4
- package/dist/ai/BbTooltip.md +17 -13
- package/dist/ai/CommonField.md +2 -10
- package/dist/ai/OptionsContainer.md +7 -12
- package/dist/ai/changelog.json +119 -4
- package/dist/ai/components.json +37 -32
- package/dist/ai/guides/ai-router.md +3 -2
- package/dist/ai/guides/component-picker.md +1 -0
- package/dist/ai/guides/eslint-rules.md +3 -3
- package/dist/ai/guides/installation-and-plugin-setup.md +5 -5
- package/dist/ai/guides/migration/v2-to-v3.md +53 -1
- package/dist/ai/guides/migration/v3-beta-tooling.md +25 -15
- package/dist/ai/guides/passthrough.md +2 -1
- package/dist/ai/guides/preset-components.md +53 -19
- package/dist/ai/helpers/definePreset.json +8 -1
- package/dist/ai/helpers/definePreset.ts +42 -13
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/index.md +2 -1
- package/dist/ai/manifest/common.json +2 -2
- package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
- package/dist/ai/manifest/components/BbCarousel.json +3 -2
- package/dist/ai/manifest/components/BbCarousel.tree.json +7 -0
- package/dist/ai/manifest/components/BbCheckbox.json +2 -2
- package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +10 -18
- package/dist/ai/manifest/components/BbColorInput.json +2 -2
- package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbConfigScope.json +1 -1
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdown.json +2 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +2 -2
- package/dist/ai/manifest/components/BbGallery.json +54 -0
- package/dist/ai/manifest/components/BbGallery.tree.json +139 -0
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +9 -17
- package/dist/ai/manifest/components/BbRating.removed.json +1 -1
- package/dist/ai/manifest/components/BbRating.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelect.json +15 -15
- package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
- package/dist/ai/manifest/components/BbSlider.json +1 -1
- package/dist/ai/manifest/components/BbSlider.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -2
- package/dist/ai/manifest/components/BbTabs.removed.json +4 -4
- package/dist/ai/manifest/components/BbTabsList.removed.json +4 -4
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
- package/dist/ai/manifest/components/CommonField.tree.json +5 -10
- package/dist/ai/manifest/components/OptionsContainer.tree.json +7 -12
- package/dist/ai/manifest/index.json +4 -3
- package/dist/ai/manifest/meta.json +5 -1
- package/dist/ai/manifest/types.advanced.json +4 -2
- package/dist/ai/manifest/types.api.json +3 -3
- package/dist/ai/manifest/types.wrapper.json +1 -0
- package/dist/ai/recipes/inertia/onboarding.md +5 -8
- package/dist/ai/recipes/inertia/record-form.md +33 -12
- package/dist/ai/recipes/nuxt/onboarding.md +5 -8
- package/dist/ai/recipes/nuxt/record-form.md +27 -11
- package/dist/ai/recipes/vue/onboarding.md +5 -8
- package/dist/ai/recipes/vue/record-form.md +25 -11
- package/dist/ai/source/BbBreadcrumbs.md +31 -12
- package/dist/ai/source/BbCalendar.md +2 -0
- package/dist/ai/source/BbCarousel.md +135 -32
- package/dist/ai/source/BbCheckbox.md +36 -42
- package/dist/ai/source/BbCheckboxGroup.md +2 -4
- package/dist/ai/source/BbColorInput.md +2 -4
- package/dist/ai/source/BbDatePickerInput.md +2 -4
- package/dist/ai/source/BbDropdown.md +13 -2
- package/dist/ai/source/BbDropdownButton.md +4 -1
- package/dist/ai/source/BbDropdownGroup.md +11 -2
- package/dist/ai/source/BbGallery.md +2027 -0
- package/dist/ai/source/BbNumberInput.md +2 -4
- package/dist/ai/source/BbRadio.md +36 -42
- package/dist/ai/source/BbRadioGroup.md +4 -6
- package/dist/ai/source/BbRating.md +2 -14
- package/dist/ai/source/BbSelect.md +30 -13
- package/dist/ai/source/BbSelectPopover.md +1 -0
- package/dist/ai/source/BbSlider.md +2 -4
- package/dist/ai/source/BbSwitch.md +34 -38
- package/dist/ai/source/BbSwitchGroup.md +1 -0
- package/dist/ai/source/BbTable.md +15 -8
- package/dist/ai/source/BbTag.md +2 -4
- package/dist/ai/source/BbTextInput.md +2 -4
- package/dist/ai/source/BbTextarea.md +2 -4
- package/dist/ai/source/BbTimePickerInput.md +2 -4
- package/dist/ai/source/BbTooltip.md +9 -3
- package/dist/ai/source/BbTree.md +7 -3
- package/dist/ai/source/CommonField.md +17 -106
- package/dist/ai/source/CommonPopover.md +13 -3
- package/dist/ai/source/FlatListBox.md +3 -3
- package/dist/ai/source/GroupedListBox.md +3 -3
- package/dist/ai/source/GuidesComponent.md +3 -0
- package/dist/ai/source/ListBox.md +4 -4
- package/dist/ai/source/OptionsContainer.md +4 -4
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +106 -106
- package/dist/components/BbBreadcrumbs/types.d.ts +6 -0
- package/dist/components/BbCalendar/useDayjsLocale.js +5 -3
- package/dist/components/BbCarousel/BbCarousel.vue.d.ts +1 -1
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +506 -481
- package/dist/components/BbCarousel/dragRelease.js +14 -0
- package/dist/components/BbCarousel/ptKeys.generated.d.ts +4 -0
- package/dist/components/BbCarousel/types.d.ts +11 -6
- package/dist/components/BbCarousel/types.js +1 -0
- package/dist/components/BbCheckbox/types.d.ts +2 -4
- package/dist/components/BbCheckboxGroup/types.d.ts +2 -4
- package/dist/components/BbColorInput/types.d.ts +2 -4
- package/dist/components/BbDatePickerInput/types.d.ts +2 -4
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +121 -120
- package/dist/components/BbDropdown/normalizeGroups.js +37 -33
- package/dist/components/BbDropdown/types.d.ts +9 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +95 -94
- package/dist/components/BbGallery/BbGallery.vue.d.ts +50 -0
- package/dist/components/BbGallery/BbGallery.vue.js +5 -0
- package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +587 -0
- package/dist/components/BbGallery/findItem.js +41 -0
- package/dist/components/BbGallery/ptKeys.generated.d.ts +112 -0
- package/dist/components/BbGallery/types.d.ts +177 -0
- package/dist/components/BbGallery/types.js +29 -0
- package/dist/components/BbNumberInput/types.d.ts +2 -4
- package/dist/components/BbOffCanvas/sheetSnap.d.ts +2 -0
- package/dist/components/BbOffCanvas/sheetSnap.js +5 -5
- package/dist/components/BbRadio/types.d.ts +2 -4
- package/dist/components/BbRadioGroup/types.d.ts +4 -6
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +116 -118
- package/dist/components/BbRating/types.d.ts +2 -4
- package/dist/components/BbSelect/BbSelect.vue.d.ts +10 -4
- package/dist/components/BbSelect/types.d.ts +4 -6
- package/dist/components/BbSlider/types.d.ts +2 -4
- package/dist/components/BbTable/types.d.ts +8 -8
- package/dist/components/BbTag/types.d.ts +2 -4
- package/dist/components/BbTextInput/types.d.ts +2 -4
- package/dist/components/BbTextarea/types.d.ts +2 -4
- package/dist/components/BbTimePickerInput/types.d.ts +2 -4
- package/dist/components/BbTooltip/ptKeys.generated.d.ts +4 -4
- package/dist/components/BbTooltip/types.d.ts +3 -1
- package/dist/components/BbTree/types.d.ts +3 -3
- package/dist/components/CommonField/types.d.ts +2 -4
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +28 -26
- package/dist/composables/overlayRegistry.d.ts +17 -0
- package/dist/composables/overlayRegistry.js +16 -9
- package/dist/composables/useChoiceIndicator.js +66 -63
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.js +1 -1
- package/dist/directives/bbGallery.d.ts +64 -0
- package/dist/directives/bbGallery.js +38 -0
- package/dist/i18n/locales/ar.json +3 -1
- package/dist/i18n/locales/cs.json +3 -1
- package/dist/i18n/locales/da.json +3 -1
- package/dist/i18n/locales/de-CH.json +3 -1
- package/dist/i18n/locales/de.json +3 -1
- package/dist/i18n/locales/el.json +3 -1
- package/dist/i18n/locales/en-GB.json +3 -1
- package/dist/i18n/locales/en.json +3 -1
- package/dist/i18n/locales/es-MX.json +3 -1
- package/dist/i18n/locales/es.json +3 -1
- package/dist/i18n/locales/fa.json +3 -1
- package/dist/i18n/locales/fi.json +3 -1
- package/dist/i18n/locales/fr.json +3 -1
- package/dist/i18n/locales/he.json +3 -1
- package/dist/i18n/locales/hu.json +3 -1
- package/dist/i18n/locales/it.json +3 -1
- package/dist/i18n/locales/ja.json +3 -1
- package/dist/i18n/locales/ko.json +3 -1
- package/dist/i18n/locales/nb.json +3 -1
- package/dist/i18n/locales/nl.json +3 -1
- package/dist/i18n/locales/pl.json +3 -1
- package/dist/i18n/locales/pt-BR.json +3 -1
- package/dist/i18n/locales/pt-PT.json +3 -1
- package/dist/i18n/locales/ro.json +3 -1
- package/dist/i18n/locales/ru.json +3 -1
- package/dist/i18n/locales/sv.json +3 -1
- package/dist/i18n/locales/tr.json +3 -1
- package/dist/i18n/locales/uk.json +3 -1
- package/dist/i18n/locales/zh-CN.json +3 -1
- package/dist/i18n/locales/zh-HK.json +3 -1
- package/dist/i18n/locales/zh-TW.json +3 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +38 -36
- package/dist/llms-full.txt +2534 -346
- package/dist/llms-medium.txt +10 -7
- package/dist/llms.txt +1 -1
- package/dist/locale-blueprint.json +3 -1
- package/dist/nuxt-auto-imports.js +1 -1
- package/dist/plugin.js +18 -17
- package/dist/project-dts.js +17 -16
- package/dist/runtime/nuxt-plugin.js +22 -21
- package/dist/scripts/lib/atomic-write.js +42 -0
- package/dist/styles.css +2 -2
- package/dist/types/FieldLayout.d.ts +4 -1
- package/dist/types/ItemAccessor.d.ts +3 -1
- package/dist/types/ItemPath.d.ts +33 -0
- package/dist/types/passthrough.d.ts +2 -2
- package/dist/types/ptComponentMap.d.ts +2 -1
- package/dist/utilities/calendar/canonicalParts.js +10 -2
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite.js +361 -331
- package/llms.txt +2 -2
- package/package.json +7 -4
- package/scripts/README.md +31 -29
- package/scripts/lib/agent-refresh.mjs +15 -9
- package/scripts/lib/agent-setup.mjs +46 -15
- package/scripts/lib/atomic-write.d.mts +6 -0
- package/scripts/lib/atomic-write.mjs +85 -0
- package/scripts/lib/define-preset-copy.mjs +24 -4
- package/scripts/lib/eslint-plugin.mjs +74 -36
- package/scripts/lib/hand-imported-styles.mjs +44 -99
- package/scripts/lib/helpers-add.mjs +3 -1
- package/scripts/lib/linked-target.mjs +1 -1
- package/scripts/lib/locale-check.mjs +41 -25
- package/scripts/lib/mcp-config.mjs +250 -133
- package/scripts/lib/mcp-sdk.mjs +24 -0
- package/scripts/lib/plugin-options-check.mjs +22 -15
- package/scripts/lib/pnp.mjs +1 -1
- package/scripts/lib/project-variant-dts.mjs +80 -136
- package/scripts/lib/release-results.mjs +331 -0
- package/scripts/lib/setup.mjs +61 -3
- package/scripts/lib/toolchain-check.mjs +134 -14
- package/scripts/lib/tooling-options.mjs +357 -38
- package/scripts/lib/validate-bb-markup.mjs +1 -1
- package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +0 -15
- package/dist/components/BbBadge/badgeButtonContext.d.ts +0 -55
- package/dist/components/BbBaseButton/RouterComponent.vue.d.ts +0 -18
- package/dist/components/BbBaseButton/useLinkState.d.ts +0 -43
- package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.d.ts +0 -18
- package/dist/components/BbButton/toggleRoving.d.ts +0 -6
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.d.ts +0 -5
- package/dist/components/BbCalendar/CalendarYearPanel.vue.d.ts +0 -5
- package/dist/components/BbCalendar/calendarHost.d.ts +0 -29
- package/dist/components/BbCalendar/calendarMath.d.ts +0 -102
- package/dist/components/BbCalendar/useCalendarContext.d.ts +0 -116
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +0 -411
- package/dist/components/BbCalendar/useDayGrid.d.ts +0 -122
- package/dist/components/BbCalendar/useDayjsLocale.d.ts +0 -93
- package/dist/components/BbCalendar/useToday.d.ts +0 -25
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +0 -4
- package/dist/components/BbConfirm/BbConfirmHost.d.ts +0 -10
- package/dist/components/BbConfirm/confirmEntry.d.ts +0 -4
- package/dist/components/BbDatePickerInput/calendarFields.d.ts +0 -91
- package/dist/components/BbDatePickerInput/dateFieldLayout.d.ts +0 -29
- package/dist/components/BbDialog/useDialogStack.d.ts +0 -19
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +0 -26
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +0 -38
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.d.ts +0 -16
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +0 -41
- package/dist/components/BbDropdown/normalizeGroups.d.ts +0 -39
- package/dist/components/BbDropdown/pointerTrail.d.ts +0 -5
- package/dist/components/BbDropdown/useDropdownContext.d.ts +0 -131
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +0 -170
- package/dist/components/BbForm/BbFormCustomField.d.ts +0 -14
- package/dist/components/BbForm/bindFormField.d.ts +0 -56
- package/dist/components/BbForm/formFields.d.ts +0 -77
- package/dist/components/BbHost/BbHostOpening.d.ts +0 -27
- package/dist/components/BbHoverCard/hoverCardFocus.d.ts +0 -29
- package/dist/components/BbIcon/iconCache.d.ts +0 -63
- package/dist/components/BbNumberInput/numberDisplay.d.ts +0 -255
- package/dist/components/BbNumberInput/platform.d.ts +0 -7
- package/dist/components/BbOffCanvas/hostCloseLabel.d.ts +0 -3
- package/dist/components/BbOffCanvas/sheetAttrs.d.ts +0 -9
- package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +0 -37
- package/dist/components/BbPagination/paginationFit.d.ts +0 -38
- package/dist/components/BbSelectPopover/knownItems.d.ts +0 -65
- package/dist/components/BbSelectPopover/reclickClears.d.ts +0 -17
- package/dist/components/BbSelectPopover/sheetChipAttrs.d.ts +0 -18
- package/dist/components/BbTable/BbTableDataRow.d.ts +0 -204
- package/dist/components/BbTable/BbTableEdgeRow.d.ts +0 -112
- package/dist/components/BbTable/BbTableExpandRow.d.ts +0 -84
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +0 -128
- package/dist/components/BbTable/estimatedFloors.golden.d.ts +0 -25
- package/dist/components/BbTable/gridWidgets.d.ts +0 -30
- package/dist/components/BbTable/measuredFloors.d.ts +0 -46
- package/dist/components/BbTable/measuredFloorsTestKit.d.ts +0 -27
- package/dist/components/BbTable/textRuler.d.ts +0 -73
- package/dist/components/BbTable/useRowReorder.d.ts +0 -60
- package/dist/components/BbTable/utils.d.ts +0 -375
- package/dist/components/BbTabs/tablistName.d.ts +0 -4
- package/dist/components/BbToast/BbToast.vue.d.ts +0 -5
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +0 -22
- package/dist/components/BbToast/BbToastRegion.vue.d.ts +0 -15
- package/dist/components/BbTooltip/tooltipWarmup.d.ts +0 -23
- package/dist/components/BbTree/BbTreeLevel.vue.d.ts +0 -19
- package/dist/components/BbTree/context.d.ts +0 -25
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +0 -21
- package/dist/components/ChipsBox/types.d.ts +0 -28
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +0 -6
- package/dist/components/ClearableButton/types.d.ts +0 -9
- package/dist/components/CloseIcon/CloseButton.vue.d.ts +0 -7
- package/dist/components/CloseIcon/types.d.ts +0 -2
- package/dist/components/CommaBox/CommaBox.vue.d.ts +0 -21
- package/dist/components/CommaBox/types.d.ts +0 -20
- package/dist/components/CommonField/CommonField.vue.d.ts +0 -20
- package/dist/components/CommonField/messageHeightMatrix.d.ts +0 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +0 -22
- package/dist/components/CommonFieldInput/boxBorderMatrix.d.ts +0 -10
- package/dist/components/CommonFieldInput/types.d.ts +0 -114
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +0 -42
- package/dist/components/CommonPopover/resolvePlacement.d.ts +0 -9
- package/dist/components/CommonPopover/types.d.ts +0 -120
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.d.ts +0 -48
- package/dist/components/CommonTimeSelector/useMeridiem.d.ts +0 -19
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +0 -7
- package/dist/components/ErrorIcon/types.d.ts +0 -3
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +0 -39
- package/dist/components/FlatListBox/types.d.ts +0 -140
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +0 -39
- package/dist/components/GroupedListBox/types.d.ts +0 -163
- package/dist/components/ListBox/ListBox.vue.d.ts +0 -39
- package/dist/components/ListBox/types.d.ts +0 -180
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +0 -20
- package/dist/components/OptionsContainer/types.d.ts +0 -168
- package/dist/components/Transitions/ScaleFade.vue.d.ts +0 -28
- package/dist/components/Transitions/Slide.vue.d.ts +0 -39
- package/dist/components/WarningIcon/WarningIcon.vue.d.ts +0 -7
- package/dist/components/WarningIcon/types.d.ts +0 -3
- package/dist/composables/__testResets.d.ts +0 -1
- package/dist/composables/autoHost.d.ts +0 -22
- package/dist/composables/formSubmitLock.d.ts +0 -48
- package/dist/composables/hostOpenings.d.ts +0 -88
- package/dist/composables/hostRegistry.d.ts +0 -47
- package/dist/composables/ssrMarker.d.ts +0 -15
- package/dist/composables/useActiveInactiveState.d.ts +0 -4
- package/dist/composables/useArray.d.ts +0 -7
- package/dist/composables/useBaseOptions.d.ts +0 -51
- package/dist/composables/useBodyScrollLock.d.ts +0 -4
- package/dist/composables/useBreakpoint.d.ts +0 -13
- package/dist/composables/useCancelableFunction.d.ts +0 -17
- package/dist/composables/useChoiceIndicator.d.ts +0 -58
- package/dist/composables/useClosingInert.d.ts +0 -28
- package/dist/composables/useCoarsePointer.d.ts +0 -9
- package/dist/composables/useCoherence.d.ts +0 -21
- package/dist/composables/useConfig.d.ts +0 -59
- package/dist/composables/useConfigDefaults.d.ts +0 -54
- package/dist/composables/useDirection.d.ts +0 -43
- package/dist/composables/useEscapeStackEntry.d.ts +0 -13
- package/dist/composables/useFrameworkDetection.d.ts +0 -12
- package/dist/composables/useHashedWatcher.d.ts +0 -19
- package/dist/composables/useHydrated.d.ts +0 -37
- package/dist/composables/useImeDismissBlur.d.ts +0 -103
- package/dist/composables/useIndexById.d.ts +0 -11
- package/dist/composables/useInertiaPage.d.ts +0 -10
- package/dist/composables/useItemText.d.ts +0 -17
- package/dist/composables/useItemValue.d.ts +0 -7
- package/dist/composables/useItemsGetter.d.ts +0 -83
- package/dist/composables/useKeyboardInset.d.ts +0 -28
- package/dist/composables/useListboxFocus.d.ts +0 -21
- package/dist/composables/useLocale.d.ts +0 -5
- package/dist/composables/useLogger.d.ts +0 -5
- package/dist/composables/useMinimalQueue.d.ts +0 -9
- package/dist/composables/useOnFalsy.d.ts +0 -2
- package/dist/composables/useOnTruthy.d.ts +0 -7
- package/dist/composables/useOverlayNavigation.d.ts +0 -37
- package/dist/composables/useOverlayYield.d.ts +0 -23
- package/dist/composables/usePrefill.d.ts +0 -44
- package/dist/composables/useQuery.d.ts +0 -39
- package/dist/composables/useRefusedCloseAnnouncement.d.ts +0 -13
- package/dist/composables/useRoute.d.ts +0 -3
- package/dist/composables/useRouter.d.ts +0 -2
- package/dist/composables/useSegmentedFields.d.ts +0 -129
- package/dist/composables/useServerPrefetch.d.ts +0 -28
- package/dist/composables/useSheetSurface.d.ts +0 -39
- package/dist/composables/useSsrState.d.ts +0 -28
- package/dist/composables/useTableWidthContext.d.ts +0 -73
- package/dist/composables/useToggleInput.d.ts +0 -44
- package/dist/composables/useTopLayer.d.ts +0 -9
- package/dist/composables/useTypeahead.d.ts +0 -112
- package/dist/composables/useUntil.d.ts +0 -7
- package/dist/composables/useUrlQueryParam.d.ts +0 -21
- package/dist/composables/useViewportWidth.d.ts +0 -14
- package/dist/deprecation/ai-deprecations.json.d.ts +0 -2984
- package/dist/deprecation/removedProps.d.ts +0 -3
- package/dist/directives/createPopoverDirective.d.ts +0 -111
- package/dist/directives/renderingInstance.d.ts +0 -2
- package/dist/i18n/eraNames.d.ts +0 -2
- package/dist/i18n/regionHints.d.ts +0 -16
- package/dist/icons-whitelist.d.ts +0 -9
- package/dist/reset.d.ts +0 -0
- package/dist/runtime/nuxt-plugin.d.ts +0 -2
- package/dist/styles.d.ts +0 -0
- package/dist/types/ExtractGenericFromComputedRef.d.ts +0 -2
- package/dist/types/ExtractGenericFromRef.d.ts +0 -2
- package/dist/types/NestedKeyOf.d.ts +0 -3
- package/dist/types/PrefixWith.d.ts +0 -1
- package/dist/types/ShapeErased.d.ts +0 -15
- package/dist/types/Simplify.d.ts +0 -6
- package/dist/utilities/calendar/canonicalParts.d.ts +0 -29
- package/dist/utilities/calendar/digits.d.ts +0 -18
- package/dist/utilities/calendar/gregorian.d.ts +0 -2
- package/dist/utilities/calendar/index.d.ts +0 -3
- package/dist/utilities/calendar/international.d.ts +0 -19
- package/dist/utilities/calendar/resolve.d.ts +0 -32
- package/dist/utilities/calendar/runtime.d.ts +0 -49
- package/dist/utilities/functions/animationsSettled.d.ts +0 -7
- package/dist/utilities/functions/bytesToUnit.d.ts +0 -2
- package/dist/utilities/functions/chunk.d.ts +0 -1
- package/dist/utilities/functions/clamp.d.ts +0 -9
- package/dist/utilities/functions/clampPrecision.d.ts +0 -1
- package/dist/utilities/functions/convertDateValue.d.ts +0 -57
- package/dist/utilities/functions/curry.d.ts +0 -6
- package/dist/utilities/functions/deburr.d.ts +0 -1
- package/dist/utilities/functions/elementLabel.d.ts +0 -8
- package/dist/utilities/functions/empty.d.ts +0 -1
- package/dist/utilities/functions/extractDomContainer.d.ts +0 -20
- package/dist/utilities/functions/findInTree.d.ts +0 -4
- package/dist/utilities/functions/flattenTree.d.ts +0 -1
- package/dist/utilities/functions/get.d.ts +0 -3
- package/dist/utilities/functions/hasVnodeListener.d.ts +0 -16
- package/dist/utilities/functions/hash.d.ts +0 -1
- package/dist/utilities/functions/head.d.ts +0 -2
- package/dist/utilities/functions/identity.d.ts +0 -1
- package/dist/utilities/functions/indexBy.d.ts +0 -11
- package/dist/utilities/functions/isDateDisabled.d.ts +0 -25
- package/dist/utilities/functions/isEqual.d.ts +0 -1
- package/dist/utilities/functions/isHex.d.ts +0 -1
- package/dist/utilities/functions/isImeComposing.d.ts +0 -7
- package/dist/utilities/functions/isNil.d.ts +0 -6
- package/dist/utilities/functions/isNotEmpty.d.ts +0 -1
- package/dist/utilities/functions/isNotNil.d.ts +0 -6
- package/dist/utilities/functions/isTextEntry.d.ts +0 -5
- package/dist/utilities/functions/isoWeek.d.ts +0 -36
- package/dist/utilities/functions/itemProps.d.ts +0 -46
- package/dist/utilities/functions/last.d.ts +0 -2
- package/dist/utilities/functions/negative.d.ts +0 -1
- package/dist/utilities/functions/noop.d.ts +0 -1
- package/dist/utilities/functions/normalizeDateBound.d.ts +0 -69
- package/dist/utilities/functions/parsePaginationNumber.d.ts +0 -22
- package/dist/utilities/functions/parseSize.d.ts +0 -3
- package/dist/utilities/functions/parseWidthString.d.ts +0 -6
- package/dist/utilities/functions/percentage.d.ts +0 -26
- package/dist/utilities/functions/pickBy.d.ts +0 -1
- package/dist/utilities/functions/range.d.ts +0 -1
- package/dist/utilities/functions/readableValue.d.ts +0 -6
- package/dist/utilities/functions/reject.d.ts +0 -25
- package/dist/utilities/functions/resolveEnumProp.d.ts +0 -19
- package/dist/utilities/functions/responsiveDefault.d.ts +0 -7
- package/dist/utilities/functions/searchRank.d.ts +0 -19
- package/dist/utilities/functions/settlesVisible.d.ts +0 -20
- package/dist/utilities/functions/snapToStep.d.ts +0 -1
- package/dist/utilities/functions/sort.d.ts +0 -6
- package/dist/utilities/functions/throttle.d.ts +0 -1
- package/dist/utilities/functions/toggleInput.d.ts +0 -114
- package/dist/utilities/functions/transpose.d.ts +0 -1
- package/dist/utilities/functions/validateDateFormat.d.ts +0 -8
- package/dist/utilities/functions/wait.d.ts +0 -2
- package/dist/utilities/functions/waitFor.d.ts +0 -9
- package/dist/utilities/functions/warnRemovedAttrs.d.ts +0 -49
- package/dist/utilities/functions/when.d.ts +0 -9
- package/dist/utilities/misc/autofocus.d.ts +0 -20
- package/dist/utilities/misc/iconsInjectionKey.d.ts +0 -15
- package/dist/utilities/misc/listboxMetrics.d.ts +0 -47
- package/dist/utilities/misc/maskaDataOptions.d.ts +0 -12
- package/dist/utilities/misc/pageText.d.ts +0 -16
- package/dist/utilities/misc/ssrValue.d.ts +0 -20
- package/dist/utilities/misc/transitions.d.ts +0 -5
- package/dist/utils/configDefaults.d.ts +0 -43
- package/dist/utils/configScope.d.ts +0 -43
- package/dist/utils/copyData.d.ts +0 -13
- package/dist/utils/focusVisibility.d.ts +0 -15
- package/dist/utils/injectLibraryStyles.d.ts +0 -8
- package/dist/utils/overlayEscapeStack.d.ts +0 -52
- package/dist/utils/overlaySurfaceIsolation.d.ts +0 -1
- package/dist/utils/passthroughDeduper.d.ts +0 -16
- package/dist/utils/releasedActivator.d.ts +0 -20
- package/dist/utils/versionCheck.d.ts +0 -19
|
@@ -7,27 +7,27 @@ import a from "../BbBaseButton/BbBaseButton.vue.js";
|
|
|
7
7
|
import o from "../BbDropdown/BbDropdown.vue.js";
|
|
8
8
|
import { estimateBreadcrumbItemWidth as s, estimateEllipsisWidth as c } from "./estimateBreadcrumbItemWidth.js";
|
|
9
9
|
import l from "../../assets/svgs/chevron_right.svg_raw.js";
|
|
10
|
-
import { BB_BREADCRUMBS_PT as
|
|
11
|
-
import { usePassthrough as
|
|
12
|
-
import
|
|
13
|
-
import { Fragment as
|
|
14
|
-
import { useResizeObserver as
|
|
10
|
+
import { BB_BREADCRUMBS_PT as ee } from "./types.js";
|
|
11
|
+
import { usePassthrough as te } from "../../composables/usePassthrough.js";
|
|
12
|
+
import u from "../BbIcon/BbIcon.vue.js";
|
|
13
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as ne, createTextVNode as re, createVNode as _, defineComponent as v, guardReactiveProps as y, mergeProps as b, normalizeProps as x, onBeforeUnmount as ie, openBlock as S, ref as C, renderList as ae, renderSlot as w, toDisplayString as oe, unref as T, useAttrs as se, useSlots as ce, watch as le, withCtx as E } from "vue";
|
|
14
|
+
import { useResizeObserver as ue } from "@vueuse/core";
|
|
15
15
|
// src/components/BbBreadcrumbs/BbBreadcrumbs.vue?vue&type=script&setup=true&lang.ts
|
|
16
|
-
var
|
|
16
|
+
var de = ["aria-label"], fe = { class: "bb-breadcrumbs__container" }, pe = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
|
|
19
|
-
},
|
|
19
|
+
}, me = { class: "bb-breadcrumbs__list" }, he = ["aria-label", "disabled"], ge = {
|
|
20
20
|
key: 0,
|
|
21
21
|
"aria-hidden": "true",
|
|
22
22
|
class: "bb-breadcrumbs__divider"
|
|
23
|
-
},
|
|
23
|
+
}, _e = ["title"], ve = {
|
|
24
24
|
key: 0,
|
|
25
25
|
"aria-hidden": "true",
|
|
26
26
|
class: "bb-breadcrumbs__divider"
|
|
27
|
-
},
|
|
27
|
+
}, ye = {
|
|
28
28
|
key: 1,
|
|
29
29
|
class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--append"
|
|
30
|
-
},
|
|
30
|
+
}, D = 20, be = 1, O = 8.5, xe = .5, Se = 8, Ce = 200, k = /*@__PURE__*/ v({
|
|
31
31
|
inheritAttrs: !1,
|
|
32
32
|
__name: "BbBreadcrumbs",
|
|
33
33
|
props: {
|
|
@@ -51,30 +51,30 @@ var ue = ["aria-label"], de = { class: "bb-breadcrumbs__container" }, fe = {
|
|
|
51
51
|
estimationBias: { default: 1.12 },
|
|
52
52
|
ellipsisWidth: {}
|
|
53
53
|
},
|
|
54
|
-
setup(
|
|
55
|
-
let A =
|
|
56
|
-
process.env.NODE_ENV !== "production" && i("BbBreadcrumbs", r("BbBreadcrumbs"), { slotKeys: () =>
|
|
57
|
-
let j =
|
|
54
|
+
setup(v) {
|
|
55
|
+
let k = v, A = f(() => k.items.filter((e) => !e.hidden));
|
|
56
|
+
process.env.NODE_ENV !== "production" && i("BbBreadcrumbs", r("BbBreadcrumbs"), { slotKeys: () => k.items.map((e) => e.value) });
|
|
57
|
+
let j = te({
|
|
58
58
|
component: "BbBreadcrumbs",
|
|
59
|
-
attrs:
|
|
60
|
-
props:
|
|
61
|
-
parts:
|
|
62
|
-
states:
|
|
63
|
-
active: { disabled: () => !!
|
|
59
|
+
attrs: se(),
|
|
60
|
+
props: k,
|
|
61
|
+
parts: ee.parts,
|
|
62
|
+
states: ee.states,
|
|
63
|
+
active: { disabled: () => !!k.disabled }
|
|
64
64
|
}), { t: M } = e();
|
|
65
65
|
t();
|
|
66
|
-
let N =
|
|
66
|
+
let N = ce(), we = /* @__PURE__ */ new Set([
|
|
67
67
|
"prepend",
|
|
68
68
|
"append",
|
|
69
69
|
"ellipsis",
|
|
70
70
|
"divider",
|
|
71
71
|
"activator"
|
|
72
|
-
]), P = (e) => e.value == null || e.value === "" ? ":keyless" : n(String(e.value)), F = (e, t) => t === A.
|
|
73
|
-
let { "prepend:icon": n, "append:icon": r, value: i, label: a,
|
|
72
|
+
]), P = (e) => e.value == null || e.value === "" ? ":keyless" : n(String(e.value)), F = (e, t) => t === A.value.length - 1 && !e.href && !e.to && !e.onClick, Te = (e, t) => {
|
|
73
|
+
let { "prepend:icon": n, "append:icon": r, value: i, label: a, hidden: o, ...s } = e;
|
|
74
74
|
return F(e, t) ? {
|
|
75
|
-
...
|
|
75
|
+
...s,
|
|
76
76
|
"aria-current": "page"
|
|
77
|
-
} :
|
|
77
|
+
} : s;
|
|
78
78
|
}, I = (e, t) => {
|
|
79
79
|
let n = `${P(e)}:${t}`;
|
|
80
80
|
return N[n] ? {
|
|
@@ -87,35 +87,35 @@ var ue = ["aria-label"], de = { class: "bb-breadcrumbs__container" }, fe = {
|
|
|
87
87
|
name: n,
|
|
88
88
|
exists: !1
|
|
89
89
|
};
|
|
90
|
-
},
|
|
90
|
+
}, Ee = f(() => Object.keys(N).filter((e) => !we.has(e))), L = C(null), R = C(0), z = f(() => k.gapWidth), B = f(() => Math.max(0, k.offsetWidth)), De = f(() => k.estimationBias), V = f(() => k.ellipsisWidth ?? c(O)), Oe = f(() => M("breadcrumbs.label").value), ke = f(() => M("breadcrumbs.openHiddenLabelCount", R.value).value), H = (e) => {
|
|
91
91
|
let t = e.label ?? "";
|
|
92
92
|
return s(t, {
|
|
93
|
-
estimationBias:
|
|
94
|
-
fontWidth:
|
|
93
|
+
estimationBias: De.value,
|
|
94
|
+
fontWidth: O
|
|
95
95
|
});
|
|
96
|
-
},
|
|
97
|
-
let e = A.
|
|
96
|
+
}, Ae = f(() => {
|
|
97
|
+
let e = A.value.length;
|
|
98
98
|
if (e === 0) return 0;
|
|
99
|
-
let t =
|
|
100
|
-
return A.
|
|
101
|
-
}), U = C(!1),
|
|
99
|
+
let t = k.dividerWidth, n = z.value;
|
|
100
|
+
return A.value.map(H).reduce((e, t) => e + t, 0) + (e > 1 ? (e - 1) * (t + 2 * n) : 0) + B.value + D + 12;
|
|
101
|
+
}), U = C(!1), je = () => {
|
|
102
102
|
let e = L.value?.parentElement;
|
|
103
103
|
if (!e) return;
|
|
104
104
|
let t = getComputedStyle(e);
|
|
105
105
|
U.value = t.display.includes("flex") && t.flexDirection.startsWith("column");
|
|
106
|
-
},
|
|
107
|
-
"--flex-basis": U.value ? "auto" : `${Math.ceil(
|
|
106
|
+
}, Me = f(() => ({
|
|
107
|
+
"--flex-basis": U.value ? "auto" : `${Math.ceil(Ae.value)}px`,
|
|
108
108
|
"--flex-grow": R.value > 0 ? "1" : "0",
|
|
109
109
|
"--gap": `${z.value}px`
|
|
110
|
-
})),
|
|
111
|
-
let t = A.
|
|
110
|
+
})), Ne = (e) => {
|
|
111
|
+
let t = A.value.length;
|
|
112
112
|
if (t === 0) {
|
|
113
113
|
R.value = 0;
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
|
-
let n = Math.max(0, e -
|
|
116
|
+
let n = Math.max(0, e - be - B.value - D), r = k.dividerWidth, i = V.value, a = z.value, o = A.value.map(H), s = Array.from({ length: t + 1 }, () => 0);
|
|
117
117
|
for (let e = t - 1; e >= 0; e--) s[e] = s[e + 1] + o[e];
|
|
118
|
-
let c = (e) => n - e <=
|
|
118
|
+
let c = (e) => n - e <= D / 2, l = s[0] + (t > 1 ? (t - 1) * (r + 2 * a) : 0);
|
|
119
119
|
if (l <= n) {
|
|
120
120
|
if (t > 1 && c(l)) {
|
|
121
121
|
R.value = 1;
|
|
@@ -136,135 +136,135 @@ var ue = ["aria-label"], de = { class: "bb-breadcrumbs__container" }, fe = {
|
|
|
136
136
|
}
|
|
137
137
|
R.value = t - 1;
|
|
138
138
|
}
|
|
139
|
-
},
|
|
139
|
+
}, W = f(() => L.value), Pe = f(() => A.value.map((e) => `${String(e.value)}::${e.label ?? ""}`).join("|")), G = null, K = null, q = null, J = null, Y = 0, X = null, Z = (e, t) => Math.abs(e - t) <= xe, Q = () => {
|
|
140
140
|
X != null && clearTimeout(X), X = setTimeout(() => {
|
|
141
141
|
X = null, Y = 0;
|
|
142
|
-
},
|
|
143
|
-
},
|
|
142
|
+
}, Ce);
|
|
143
|
+
}, Fe = () => {
|
|
144
144
|
if (K = null, G == null) return;
|
|
145
145
|
let e = G;
|
|
146
|
-
G = null, q != null && Z(e, q) ? Q() : (Y = J != null && q != null && Z(e, J) && !Z(e, q) ? Y + 1 : 0, Y >=
|
|
146
|
+
G = null, q != null && Z(e, q) ? Q() : (Y = J != null && q != null && Z(e, J) && !Z(e, q) ? Y + 1 : 0, Y >= Se ? (J = q, q = e, Q()) : (J = q, q = e, Ne(e), Q()));
|
|
147
147
|
}, $ = (e) => {
|
|
148
|
-
G = e, K ??= requestAnimationFrame(
|
|
148
|
+
G = e, K ??= requestAnimationFrame(Fe);
|
|
149
149
|
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}),
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
() =>
|
|
156
|
-
() =>
|
|
157
|
-
() =>
|
|
158
|
-
() =>
|
|
159
|
-
() =>
|
|
150
|
+
ue(W, ([e]) => {
|
|
151
|
+
je(), $(e.contentRect.width);
|
|
152
|
+
}), le([
|
|
153
|
+
W,
|
|
154
|
+
Pe,
|
|
155
|
+
() => k.dividerWidth,
|
|
156
|
+
() => k.gapWidth,
|
|
157
|
+
() => k.offsetWidth,
|
|
158
|
+
() => k.estimationBias,
|
|
159
|
+
() => k.ellipsisWidth
|
|
160
160
|
], ([e]) => {
|
|
161
|
-
e && (
|
|
161
|
+
e && (je(), $(e.clientWidth));
|
|
162
162
|
}, { immediate: !0 }), ie(() => {
|
|
163
163
|
K != null && cancelAnimationFrame(K), X != null && clearTimeout(X);
|
|
164
164
|
});
|
|
165
|
-
let
|
|
165
|
+
let Ie = f(() => A.value.slice(0, R.value).map((e) => ({
|
|
166
166
|
...e,
|
|
167
167
|
label: e.label ?? ""
|
|
168
168
|
})));
|
|
169
|
-
return (e, t) => (S(),
|
|
169
|
+
return (e, t) => (S(), h("nav", b({
|
|
170
170
|
ref_key: "navRef",
|
|
171
171
|
ref: L,
|
|
172
|
-
"aria-label":
|
|
172
|
+
"aria-label": Oe.value,
|
|
173
173
|
class: "bb-breadcrumbs",
|
|
174
|
-
style:
|
|
175
|
-
},
|
|
176
|
-
e.$slots.prepend ? (S(),
|
|
177
|
-
|
|
174
|
+
style: Me.value
|
|
175
|
+
}, T(j).rootAttrs), [g("div", fe, [
|
|
176
|
+
e.$slots.prepend ? (S(), h("div", pe, [w(e.$slots, "prepend", { disabled: v.disabled })])) : m("", !0),
|
|
177
|
+
g("ol", me, [R.value > 0 ? (S(), h("li", b({
|
|
178
178
|
key: 0,
|
|
179
179
|
class: "bb-breadcrumbs__item"
|
|
180
|
-
},
|
|
181
|
-
items:
|
|
180
|
+
}, T(j).part("item", { disabled: v.disabled || void 0 })), [_(o, {
|
|
181
|
+
items: Ie.value,
|
|
182
182
|
padding: 0,
|
|
183
183
|
placement: "bottom-start"
|
|
184
|
-
},
|
|
185
|
-
activator:
|
|
186
|
-
"aria-label":
|
|
184
|
+
}, ne({
|
|
185
|
+
activator: E(({ props: n }) => [g("button", b(n, {
|
|
186
|
+
"aria-label": ke.value,
|
|
187
187
|
class: "bb-breadcrumbs__ellipsis",
|
|
188
|
-
disabled:
|
|
188
|
+
disabled: v.disabled,
|
|
189
189
|
type: "button"
|
|
190
|
-
}), [
|
|
190
|
+
}), [w(e.$slots, "ellipsis", x(y({
|
|
191
191
|
props: n,
|
|
192
|
-
disabled:
|
|
192
|
+
disabled: v.disabled,
|
|
193
193
|
overflowCount: R.value,
|
|
194
194
|
ellipsisWidth: V.value
|
|
195
|
-
})), () => [t[0] ||=
|
|
195
|
+
})), () => [t[0] ||= re(" … ", -1)])], 16, he)]),
|
|
196
196
|
_: 2
|
|
197
|
-
}, [
|
|
197
|
+
}, [ae(Ee.value, (t) => ({
|
|
198
198
|
name: t,
|
|
199
|
-
fn:
|
|
200
|
-
}))]), 1032, ["items"]), R.value <
|
|
201
|
-
icon:
|
|
199
|
+
fn: E((n) => [w(e.$slots, t, x(y(n)))])
|
|
200
|
+
}))]), 1032, ["items"]), R.value < A.value.length ? (S(), h("span", ge, [w(e.$slots, "divider", {}, () => [_(u, {
|
|
201
|
+
icon: T(l),
|
|
202
202
|
size: "14"
|
|
203
|
-
}, null, 8, ["icon"])])])) :
|
|
203
|
+
}, null, 8, ["icon"])])])) : m("", !0)], 16)) : m("", !0), (S(!0), h(d, null, ae(A.value, (t, n) => (S(), h(d, { key: t.value ?? `:keyless-${n}` }, [n >= R.value ? (S(), h("li", b({
|
|
204
204
|
key: 0,
|
|
205
205
|
class: ["bb-breadcrumbs__item", {
|
|
206
206
|
"bb-breadcrumbs__item--active": F(t, n),
|
|
207
|
-
"bb-breadcrumbs__item--compressed":
|
|
207
|
+
"bb-breadcrumbs__item--compressed": A.value.length > 1 && R.value === A.value.length - 1
|
|
208
208
|
}]
|
|
209
|
-
}, { ref_for: !0 },
|
|
209
|
+
}, { ref_for: !0 }, T(j).part("item", {
|
|
210
210
|
active: F(t, n),
|
|
211
|
-
disabled: t.disabled ||
|
|
212
|
-
})), [
|
|
211
|
+
disabled: t.disabled || v.disabled || void 0
|
|
212
|
+
})), [_(a, b({ ref_for: !0 }, Te(t, n), {
|
|
213
213
|
class: "bb-breadcrumbs__breadcrumb",
|
|
214
|
-
disabled: t.disabled ||
|
|
214
|
+
disabled: t.disabled || v.disabled,
|
|
215
215
|
tag: F(t, n) ? "span" : void 0
|
|
216
216
|
}), {
|
|
217
|
-
default:
|
|
218
|
-
|
|
219
|
-
disabled: !!(t.disabled ||
|
|
217
|
+
default: E(() => [
|
|
218
|
+
w(e.$slots, I(t, "prepend").name, {
|
|
219
|
+
disabled: !!(t.disabled || v.disabled),
|
|
220
220
|
index: n,
|
|
221
221
|
item: t,
|
|
222
222
|
label: t.label
|
|
223
223
|
}),
|
|
224
|
-
!I(t, "prepend").exists && t["prepend:icon"] ? (S(),
|
|
224
|
+
!I(t, "prepend").exists && t["prepend:icon"] ? (S(), p(u, b({
|
|
225
225
|
key: 0,
|
|
226
226
|
class: "bb-breadcrumbs__item-icon bb-breadcrumbs__item-icon--prepend",
|
|
227
227
|
icon: t["prepend:icon"],
|
|
228
228
|
size: "14"
|
|
229
|
-
}, { ref_for: !0 },
|
|
229
|
+
}, { ref_for: !0 }, T(j).part("icon", {
|
|
230
230
|
active: F(t, n),
|
|
231
|
-
disabled: t.disabled ||
|
|
232
|
-
})), null, 16, ["icon"])) :
|
|
233
|
-
|
|
231
|
+
disabled: t.disabled || v.disabled || void 0
|
|
232
|
+
})), null, 16, ["icon"])) : m("", !0),
|
|
233
|
+
g("span", b({
|
|
234
234
|
class: "bb-breadcrumbs__text",
|
|
235
|
-
title:
|
|
236
|
-
}, { ref_for: !0 },
|
|
235
|
+
title: A.value.length > 1 && R.value === A.value.length - 1 ? t.label : void 0
|
|
236
|
+
}, { ref_for: !0 }, T(j).part("text", {
|
|
237
237
|
active: F(t, n),
|
|
238
|
-
disabled: t.disabled ||
|
|
239
|
-
})), [
|
|
240
|
-
disabled: !!(t.disabled ||
|
|
238
|
+
disabled: t.disabled || v.disabled || void 0
|
|
239
|
+
})), [w(e.$slots, P(t), {
|
|
240
|
+
disabled: !!(t.disabled || v.disabled),
|
|
241
241
|
index: n,
|
|
242
242
|
item: t,
|
|
243
243
|
label: t.label
|
|
244
|
-
}, () => [
|
|
245
|
-
|
|
246
|
-
disabled: !!(t.disabled ||
|
|
244
|
+
}, () => [re(oe(t.label), 1)])], 16, _e),
|
|
245
|
+
w(e.$slots, I(t, "append").name, {
|
|
246
|
+
disabled: !!(t.disabled || v.disabled),
|
|
247
247
|
index: n,
|
|
248
248
|
item: t,
|
|
249
249
|
label: t.label
|
|
250
250
|
}),
|
|
251
|
-
!I(t, "append").exists && t["append:icon"] ? (S(),
|
|
251
|
+
!I(t, "append").exists && t["append:icon"] ? (S(), p(u, b({
|
|
252
252
|
key: 1,
|
|
253
253
|
class: "bb-breadcrumbs__item-icon bb-breadcrumbs__item-icon--append",
|
|
254
254
|
icon: t["append:icon"],
|
|
255
255
|
size: "14"
|
|
256
|
-
}, { ref_for: !0 },
|
|
256
|
+
}, { ref_for: !0 }, T(j).part("icon", {
|
|
257
257
|
active: F(t, n),
|
|
258
|
-
disabled: t.disabled ||
|
|
259
|
-
})), null, 16, ["icon"])) :
|
|
258
|
+
disabled: t.disabled || v.disabled || void 0
|
|
259
|
+
})), null, 16, ["icon"])) : m("", !0)
|
|
260
260
|
]),
|
|
261
261
|
_: 2
|
|
262
|
-
}, 1040, ["disabled", "tag"]), n <
|
|
263
|
-
icon:
|
|
262
|
+
}, 1040, ["disabled", "tag"]), n < A.value.length - 1 ? (S(), h("span", ve, [w(e.$slots, "divider", {}, () => [_(u, {
|
|
263
|
+
icon: T(l),
|
|
264
264
|
size: "14"
|
|
265
|
-
}, null, 8, ["icon"])])])) :
|
|
266
|
-
e.$slots.append ? (S(),
|
|
267
|
-
])], 16,
|
|
265
|
+
}, null, 8, ["icon"])])])) : m("", !0)], 16)) : m("", !0)], 64))), 128))]),
|
|
266
|
+
e.$slots.append ? (S(), h("div", ye, [w(e.$slots, "append", { disabled: v.disabled })])) : m("", !0)
|
|
267
|
+
])], 16, de));
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
|
-
export {
|
|
270
|
+
export { k as default };
|
|
@@ -18,6 +18,12 @@ export type Item = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> &
|
|
|
18
18
|
* the same `label` and `value`.
|
|
19
19
|
*/
|
|
20
20
|
value?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Leaves the crumb out entirely: not in the trail, not in the overflow
|
|
23
|
+
* menu, and never the current page — the same `hidden` a dropdown row
|
|
24
|
+
* takes (an overflowed crumb is one).
|
|
25
|
+
*/
|
|
26
|
+
hidden?: boolean;
|
|
21
27
|
/** Crumbs have no `key` (that is `value`). Guards against the old shape. */
|
|
22
28
|
key?: never;
|
|
23
29
|
/** Crumbs have no `text` (that is `label`). Guards against the old shape. */
|
|
@@ -41,13 +41,15 @@ var l = (e) => {
|
|
|
41
41
|
month: "long",
|
|
42
42
|
day: "numeric"
|
|
43
43
|
}, y = (e, t) => h(e, t, { dateStyle: "full" }), b = (e, t) => {
|
|
44
|
-
let n = e.toDate(),
|
|
44
|
+
let n = e.toDate(), i = e.add(6, "day").toDate();
|
|
45
45
|
if (Number.isNaN(n.getTime())) return "";
|
|
46
|
-
let
|
|
46
|
+
let a = {
|
|
47
47
|
year: "numeric",
|
|
48
48
|
month: "long",
|
|
49
49
|
day: "numeric"
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
if (o) return m(o(n, t, a, i));
|
|
52
|
+
let c = s(t);
|
|
53
|
+
return m(r(new Intl.DateTimeFormat(c, a).formatRangeToParts(n, i), c));
|
|
52
54
|
};
|
|
53
55
|
export { d as dayjsLocaleOf, h as formatDateOf, s as intlLocaleOf, y as longDateOf, m as plainSpaces, v as spokenDateOptionsOf, _ as spokenTimeOf, g as timeFieldsOf, u as useDayjsLocale, b as weekSpanOf, f as weekStartOf };
|
|
@@ -7,7 +7,7 @@ declare const __VLS_export: <T = number>(__VLS_props: NonNullable<Awaited<typeof
|
|
|
7
7
|
[x: `pt:${string}&${string}`]: unknown;
|
|
8
8
|
} & {
|
|
9
9
|
pt?: import('../../types/passthrough.js').PtCompoundOf<"", {
|
|
10
|
-
readonly parts: readonly ["root", "slide", "image", "overlay", "prev", "next", "dots", "dot", "pause"];
|
|
10
|
+
readonly parts: readonly ["root", "slide", "image", "thumb", "overlay", "prev", "next", "dots", "dot", "pause"];
|
|
11
11
|
readonly states: readonly ["current", "disabled", "active"];
|
|
12
12
|
readonly wide: readonly [];
|
|
13
13
|
readonly node: {
|