@mintplayer/vue-bootstrap 3.27.0 → 3.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.mjs +45 -36
- package/accordion/src/BsAccordion.vue.d.ts +12 -5
- package/accordion/src/BsAccordionItem.vue.d.ts +9 -2
- package/accordion/src/accordion-context.d.ts +8 -0
- package/accordion/src/index.d.ts +1 -1
- package/calendar/index.mjs +99 -24
- package/calendar/src/generated/BsCalendar.generated.vue.d.ts +113 -0
- package/{charts/trend/src/BsTrendChart.vue.d.ts → calendar/src/generated/calendar.view.generated.vue.d.ts} +4 -5
- package/calendar/src/generated/index.d.ts +1 -0
- package/calendar/src/index.d.ts +2 -1
- package/card/index.mjs +39 -46
- package/card/src/BsCard.vue.d.ts +8 -1
- package/card/src/BsCardFooter.vue.d.ts +2 -1
- package/card/src/BsCardHeader.vue.d.ts +4 -8
- package/card/src/BsCardImg.vue.d.ts +2 -1
- package/carousel/index.mjs +149 -61
- package/carousel/src/carousel.vue.d.ts +2 -0
- package/carousel/src/generated/BsCarousel.generated.vue.d.ts +234 -0
- package/carousel/src/generated/BsCarouselItem.generated.vue.d.ts +122 -0
- package/{navbar/src/BsNavbarItem.vue.d.ts → carousel/src/generated/carousel-item.view.generated.vue.d.ts} +11 -14
- package/carousel/src/generated/carousel.view.generated.vue.d.ts +27 -0
- package/carousel/src/generated/index.d.ts +2 -0
- package/carousel/src/index.d.ts +2 -2
- package/charts/hierarchy/index.mjs +242 -41
- package/charts/hierarchy/src/generated/BsHierarchyChart.generated.vue.d.ts +292 -0
- package/charts/hierarchy/src/generated/hierarchy-chart.view.generated.vue.d.ts +8 -0
- package/charts/hierarchy/src/generated/index.d.ts +1 -0
- package/charts/hierarchy/src/index.d.ts +2 -2
- package/charts/sparkline/index.mjs +44 -18
- package/charts/sparkline/src/BsSparkline.vue.d.ts +14 -2
- package/charts/trend/index.mjs +133 -21
- package/charts/trend/src/generated/BsTrendChart.generated.vue.d.ts +136 -0
- package/charts/trend/src/generated/index.d.ts +1 -0
- package/charts/trend/src/generated/trend-chart.view.generated.vue.d.ts +8 -0
- package/charts/trend/src/index.d.ts +2 -2
- package/checkbox/index.mjs +1 -29
- package/checkbox/src/BsCheckbox.vue.d.ts +29 -5
- package/chunks/BsCheckbox-C8H1KT2D.mjs +96 -0
- package/chunks/BsDatatable.generated-CLyz-zYI.mjs +446 -0
- package/chunks/BsDatetimePicker.generated-DB9itVGP.mjs +191 -0
- package/chunks/BsSplitterPanel.generated-B84cMuMJ.mjs +97 -0
- package/chunks/BsTreeview.generated-Rf47miZv.mjs +124 -0
- package/chunks/radio-group-key-CnFhXLW0.mjs +4 -0
- package/code-snippet/index.mjs +123 -31
- package/code-snippet/src/generated/BsCodeSnippet.generated.vue.d.ts +132 -0
- package/code-snippet/src/generated/code-snippet.view.generated.vue.d.ts +8 -0
- package/code-snippet/src/generated/index.d.ts +1 -0
- package/code-snippet/src/index.d.ts +2 -1
- package/datatable/index.mjs +3 -86
- package/datatable/src/generated/BsDatatable.generated.vue.d.ts +544 -0
- package/datatable/src/generated/datatable.view.generated.vue.d.ts +59 -0
- package/datatable/src/generated/index.d.ts +1 -0
- package/datatable/src/index.d.ts +3 -1
- package/datepicker/index.mjs +155 -24
- package/datepicker/src/generated/BsDatepicker.generated.vue.d.ts +183 -0
- package/datepicker/src/generated/datepicker.view.generated.vue.d.ts +8 -0
- package/datepicker/src/generated/index.d.ts +1 -0
- package/datepicker/src/index.d.ts +3 -1
- package/datetime-picker/index.mjs +1 -29
- package/datetime-picker/src/generated/BsDatetimePicker.generated.vue.d.ts +216 -0
- package/datetime-picker/src/generated/datetime-picker.view.generated.vue.d.ts +8 -0
- package/datetime-picker/src/generated/index.d.ts +1 -0
- package/datetime-picker/src/index.d.ts +2 -1
- package/dock/index.mjs +122 -23
- package/dock/src/generated/BsDockManager.generated.vue.d.ts +174 -0
- package/dock/src/generated/dock-manager.view.generated.vue.d.ts +33 -0
- package/dock/src/generated/dock-node.view.generated.vue.d.ts +6 -0
- package/dock/src/generated/index.d.ts +1 -0
- package/dock/src/index.d.ts +3 -1
- package/dropdown-menu/index.mjs +33 -31
- package/dropdown-menu/src/BsDropdownItem.vue.d.ts +1 -1
- package/dropdown-menu/src/BsDropdownMenu.vue.d.ts +12 -5
- package/dropdown-menu/src/index.d.ts +1 -1
- package/file-manager/index.mjs +265 -17
- package/file-manager/src/generated/BsFileManager.generated.vue.d.ts +213 -0
- package/file-manager/src/generated/file-manager.view.generated.vue.d.ts +8 -0
- package/file-manager/src/generated/index.d.ts +1 -0
- package/file-manager/src/index.d.ts +3 -1
- package/input-group/index.mjs +15 -8
- package/input-group/src/BsInputGroup.vue.d.ts +7 -1
- package/machine/index.mjs +64 -1
- package/machine/src/content.d.ts +13 -0
- package/machine/src/core.d.ts +23 -0
- package/machine/src/core.spec.d.ts +1 -0
- package/machine/src/index.d.ts +2 -0
- package/multi-range/index.mjs +97 -22
- package/multi-range/src/generated/BsMultiRange.generated.vue.d.ts +132 -0
- package/multi-range/src/generated/index.d.ts +1 -0
- package/multi-range/src/generated/multi-range.view.generated.vue.d.ts +8 -0
- package/multi-range/src/index.d.ts +2 -1
- package/navbar/index.mjs +189 -57
- package/navbar/src/generated/BsNavbar.generated.vue.d.ts +196 -0
- package/navbar/src/generated/BsNavbarDropdown.generated.vue.d.ts +155 -0
- package/navbar/src/generated/BsNavbarItem.generated.vue.d.ts +144 -0
- package/navbar/src/generated/BsNavbarNav.generated.vue.d.ts +135 -0
- package/navbar/src/generated/index.d.ts +4 -0
- package/navbar/src/generated/navbar-dropdown.view.generated.vue.d.ts +34 -0
- package/navbar/src/generated/navbar-item.view.generated.vue.d.ts +27 -0
- package/navbar/src/generated/navbar-nav.view.generated.vue.d.ts +27 -0
- package/navbar/src/generated/navbar.view.generated.vue.d.ts +38 -0
- package/navbar/src/index.d.ts +2 -5
- package/otp-input/index.mjs +115 -21
- package/otp-input/src/generated/BsOtpInput.generated.vue.d.ts +134 -0
- package/otp-input/src/generated/index.d.ts +1 -0
- package/{theming/src/BsThemeToggle.vue.d.ts → otp-input/src/generated/otp-input.view.generated.vue.d.ts} +3 -3
- package/otp-input/src/index.d.ts +2 -1
- package/package.json +7 -5
- package/pagination/index.mjs +54 -20
- package/pagination/src/BsPagination.vue.d.ts +21 -4
- package/phone-input/index.mjs +151 -31
- package/phone-input/src/generated/BsPhoneInput.generated.vue.d.ts +174 -0
- package/phone-input/src/generated/index.d.ts +1 -0
- package/{file-manager/src/BsFileManager.vue.d.ts → phone-input/src/generated/phone-input.view.generated.vue.d.ts} +3 -3
- package/phone-input/src/index.d.ts +2 -1
- package/query-builder/index.mjs +259 -42
- package/query-builder/src/generated/BsQueryBuilder.generated.vue.d.ts +268 -0
- package/query-builder/src/generated/index.d.ts +1 -0
- package/query-builder/src/generated/query-builder-item.view.generated.vue.d.ts +30 -0
- package/query-builder/src/generated/query-builder.view.generated.vue.d.ts +33 -0
- package/query-builder/src/index.d.ts +3 -1
- package/radio/index.mjs +74 -21
- package/radio/src/BsRadio.vue.d.ts +28 -8
- package/radio/src/index.d.ts +1 -0
- package/radio/src/radio-group-key.d.ts +10 -0
- package/radio-group/index.mjs +37 -20
- package/radio-group/src/BsRadioGroup.vue.d.ts +13 -8
- package/ribbon/index.mjs +1223 -25
- package/ribbon/src/generated/BsQuickAccessToolbar.generated.vue.d.ts +135 -0
- package/ribbon/src/generated/BsRibbon.generated.vue.d.ts +219 -0
- package/ribbon/src/generated/BsRibbonButton.generated.vue.d.ts +199 -0
- package/ribbon/src/generated/BsRibbonCheckBox.generated.vue.d.ts +106 -0
- package/ribbon/src/generated/BsRibbonColorPicker.generated.vue.d.ts +106 -0
- package/ribbon/src/generated/BsRibbonComboBox.generated.vue.d.ts +117 -0
- package/ribbon/src/generated/BsRibbonContextualTabSet.generated.vue.d.ts +153 -0
- package/ribbon/src/generated/BsRibbonDropdownButton.generated.vue.d.ts +204 -0
- package/ribbon/src/generated/BsRibbonGallery.generated.vue.d.ts +210 -0
- package/ribbon/src/generated/BsRibbonGalleryItem.generated.vue.d.ts +175 -0
- package/ribbon/src/generated/BsRibbonGroup.generated.vue.d.ts +199 -0
- package/ribbon/src/generated/BsRibbonGroupButton.generated.vue.d.ts +117 -0
- package/ribbon/src/generated/BsRibbonMenuItem.generated.vue.d.ts +188 -0
- package/ribbon/src/generated/BsRibbonMenuSeparator.generated.vue.d.ts +17 -0
- package/ribbon/src/generated/BsRibbonSplitButton.generated.vue.d.ts +208 -0
- package/ribbon/src/generated/BsRibbonTab.generated.vue.d.ts +175 -0
- package/ribbon/src/generated/BsRibbonTemplateItem.generated.vue.d.ts +135 -0
- package/ribbon/src/generated/BsRibbonToggleButton.generated.vue.d.ts +210 -0
- package/ribbon/src/generated/index.d.ts +18 -0
- package/ribbon/src/generated/quick-access-toolbar.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-button.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-check-box.view.generated.vue.d.ts +8 -0
- package/ribbon/src/generated/ribbon-color-picker.view.generated.vue.d.ts +8 -0
- package/ribbon/src/generated/ribbon-combo-box.view.generated.vue.d.ts +9 -0
- package/ribbon/src/generated/ribbon-contextual-tab-set.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-dropdown-button.view.generated.vue.d.ts +29 -0
- package/ribbon/src/generated/ribbon-gallery-item.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-gallery.view.generated.vue.d.ts +28 -0
- package/ribbon/src/generated/ribbon-group-button.view.generated.vue.d.ts +9 -0
- package/ribbon/src/generated/ribbon-group.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-menu-item.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-menu-separator.view.generated.vue.d.ts +8 -0
- package/ribbon/src/generated/ribbon-split-button.view.generated.vue.d.ts +29 -0
- package/ribbon/src/generated/ribbon-tab.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-template-item.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon-toggle-button.view.generated.vue.d.ts +27 -0
- package/ribbon/src/generated/ribbon.view.generated.vue.d.ts +29 -0
- package/ribbon/src/index.d.ts +3 -2
- package/scheduler/index.mjs +457 -39
- package/scheduler/src/generated/BsScheduler.generated.vue.d.ts +202 -0
- package/scheduler/src/generated/index.d.ts +1 -0
- package/scheduler/src/generated/sched-editor.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-month.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-popover-event.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-popover.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-row-panel.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-time-grid.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-timeline.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/sched-year.view.generated.vue.d.ts +6 -0
- package/scheduler/src/generated/scheduler.view.generated.vue.d.ts +8 -0
- package/scheduler/src/index.d.ts +4 -2
- package/select/index.mjs +129 -30
- package/select/src/generated/BsSelect.generated.vue.d.ts +257 -0
- package/select/src/generated/index.d.ts +1 -0
- package/select/src/generated/select.view.generated.vue.d.ts +37 -0
- package/select/src/index.d.ts +2 -1
- package/shell/index.mjs +54 -27
- package/shell/src/BsShell.vue.d.ts +23 -11
- package/shell/src/index.d.ts +2 -1
- package/shell/src/shell-state-change.d.ts +4 -0
- package/signature-pad/index.mjs +101 -22
- package/signature-pad/src/generated/BsSignaturePad.generated.vue.d.ts +129 -0
- package/signature-pad/src/generated/index.d.ts +1 -0
- package/signature-pad/src/generated/signature-pad.view.generated.vue.d.ts +8 -0
- package/signature-pad/src/index.d.ts +2 -2
- package/splitter/index.mjs +1 -13
- package/splitter/src/generated/BsSplitter.generated.vue.d.ts +177 -0
- package/splitter/src/generated/BsSplitterPanel.generated.vue.d.ts +122 -0
- package/splitter/src/generated/index.d.ts +2 -0
- package/splitter/src/generated/splitter-panel.view.generated.vue.d.ts +27 -0
- package/splitter/src/generated/splitter.view.generated.vue.d.ts +27 -0
- package/splitter/src/index.d.ts +2 -2
- package/src/index.d.ts +4 -7
- package/tab-control/index.mjs +90 -21
- package/tab-control/src/BsTabControl.vue.d.ts +63 -28
- package/{timeline/src/BsTimelineItem.vue.d.ts → tab-control/src/BsTabPage.vue.d.ts} +8 -11
- package/tab-control/src/index.d.ts +2 -1
- package/theming/index.mjs +53 -31
- package/theming/src/generated/BsThemeToggle.generated.vue.d.ts +31 -0
- package/theming/src/generated/index.d.ts +1 -0
- package/theming/src/generated/theme-toggle.view.generated.vue.d.ts +8 -0
- package/theming/src/index.d.ts +2 -2
- package/theming/src/useBsTheme.d.ts +2 -2
- package/tile-manager/src/BsTileManager.vue.d.ts +3 -3
- package/timeline/index.mjs +224 -136
- package/timeline/src/generated/BsTimeline.generated.vue.d.ts +328 -0
- package/timeline/src/generated/BsTimelineItem.generated.vue.d.ts +209 -0
- package/timeline/src/generated/index.d.ts +2 -0
- package/timeline/src/generated/timeline-item.view.generated.vue.d.ts +45 -0
- package/timeline/src/generated/timeline.view.generated.vue.d.ts +89 -0
- package/timeline/src/index.d.ts +3 -4
- package/timepicker/index.mjs +195 -42
- package/timepicker/src/generated/BsTimeList.generated.vue.d.ts +94 -0
- package/timepicker/src/generated/BsTimepicker.generated.vue.d.ts +161 -0
- package/timepicker/src/generated/index.d.ts +2 -0
- package/timepicker/src/generated/time-list.view.generated.vue.d.ts +8 -0
- package/timepicker/src/generated/timepicker.view.generated.vue.d.ts +8 -0
- package/timepicker/src/index.d.ts +2 -2
- package/toggle-button/index.mjs +18 -19
- package/toggle-button/src/BsToggleButton.vue.d.ts +2 -6
- package/tree-select/index.mjs +240 -91
- package/tree-select/src/generated/BsTreeSelect.generated.vue.d.ts +323 -0
- package/tree-select/src/generated/index.d.ts +1 -0
- package/tree-select/src/generated/tree-select.view.generated.vue.d.ts +56 -0
- package/tree-select/src/index.d.ts +3 -3
- package/treeview/index.mjs +1 -58
- package/treeview/src/generated/BsTreeview.generated.vue.d.ts +240 -0
- package/treeview/src/generated/index.d.ts +1 -0
- package/treeview/src/generated/treeview.view.generated.vue.d.ts +36 -0
- package/treeview/src/index.d.ts +2 -1
- package/typeahead/index.mjs +71 -59
- package/typeahead/src/BsTypeahead.vue.d.ts +3 -3
- package/calendar/src/BsCalendar.vue.d.ts +0 -28
- package/carousel/src/BsCarousel.vue.d.ts +0 -53
- package/charts/hierarchy/src/BsHierarchyChart.vue.d.ts +0 -19
- package/code-snippet/src/BsCodeSnippet.vue.d.ts +0 -43
- package/datatable/src/BsDatatable.vue.d.ts +0 -89
- package/datepicker/src/BsDatepicker.vue.d.ts +0 -28
- package/datetime-picker/src/BsDatetimePicker.vue.d.ts +0 -28
- package/dock/src/BsDockManager.vue.d.ts +0 -29
- package/multi-range/src/BsMultiRange.vue.d.ts +0 -11
- package/navbar/src/BsNavbar.vue.d.ts +0 -38
- package/navbar/src/BsNavbarBrand.vue.d.ts +0 -21
- package/navbar/src/BsNavbarDropdown.vue.d.ts +0 -22
- package/otp-input/src/BsOtpInput.vue.d.ts +0 -11
- package/phone-input/src/BsPhoneInput.vue.d.ts +0 -16
- package/query-builder/src/BsQueryBuilder.vue.d.ts +0 -20
- package/ribbon/src/BsRibbon.vue.d.ts +0 -29
- package/scheduler/src/BsScheduler.vue.d.ts +0 -31
- package/select/src/BsSelect.vue.d.ts +0 -33
- package/signature-pad/src/BsSignaturePad.vue.d.ts +0 -12
- package/splitter/src/BsSplitter.vue.d.ts +0 -17
- package/timeline/src/BsTimeline.vue.d.ts +0 -58
- package/timepicker/src/BsTimeList.vue.d.ts +0 -28
- package/timepicker/src/BsTimepicker.vue.d.ts +0 -28
- package/tree-select/src/BsTreeSelect.vue.d.ts +0 -32
- package/treeview/src/BsTreeview.vue.d.ts +0 -27
- package/vue-bootstrap.css +0 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NavbarDropdownView } from '@mintplayer/ui-core/navbar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
view: NavbarDropdownView;
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
/** Rich trigger content; falls back to the `label` text. */
|
|
10
|
+
labelTemplate?: () => unknown;
|
|
11
|
+
/** The items and nested dropdowns. */
|
|
12
|
+
default?: () => unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
/** Rich trigger content; falls back to the `label` text. */
|
|
15
|
+
labelTemplate?: () => unknown;
|
|
16
|
+
/** The items and nested dropdowns. */
|
|
17
|
+
default?: () => unknown;
|
|
18
|
+
};
|
|
19
|
+
refs: {
|
|
20
|
+
root: HTMLDetailsElement;
|
|
21
|
+
};
|
|
22
|
+
rootEl: HTMLDetailsElement;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
root: HTMLDetailsElement;
|
|
27
|
+
}, HTMLDetailsElement>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NavbarBag } from '@mintplayer/ui-core/navbar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
bag: NavbarBag;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
root: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
root: HTMLDivElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NavbarBag } from '@mintplayer/ui-core/navbar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
bag: NavbarBag;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
root: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
root: HTMLDivElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NavbarBag, NavbarView } from '@mintplayer/ui-core/navbar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
view: NavbarView;
|
|
4
|
+
brand: NavbarBag;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
/** The brand, e.g. a home link. */
|
|
10
|
+
brand?: () => unknown;
|
|
11
|
+
/** A custom hamburger glyph; it must not be interactive, and reads `--mp-navbar-expanded: 0|1`. */
|
|
12
|
+
toggler?: () => unknown;
|
|
13
|
+
/** The nav groups. */
|
|
14
|
+
default?: () => unknown;
|
|
15
|
+
}> & {
|
|
16
|
+
/** The brand, e.g. a home link. */
|
|
17
|
+
brand?: () => unknown;
|
|
18
|
+
/** A custom hamburger glyph; it must not be interactive, and reads `--mp-navbar-expanded: 0|1`. */
|
|
19
|
+
toggler?: () => unknown;
|
|
20
|
+
/** The nav groups. */
|
|
21
|
+
default?: () => unknown;
|
|
22
|
+
};
|
|
23
|
+
refs: {
|
|
24
|
+
root: HTMLElement;
|
|
25
|
+
};
|
|
26
|
+
rootEl: HTMLElement;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
+
root: HTMLElement;
|
|
31
|
+
}, HTMLElement>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
package/navbar/src/index.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export { default as BsNavbarBrand } from './BsNavbarBrand.vue';
|
|
4
|
-
export { default as BsNavbarDropdown } from './BsNavbarDropdown.vue';
|
|
5
|
-
export type { NavbarBreakpoint, NavbarExpandedChangeEventDetail } from '@mintplayer/web-components/navbar';
|
|
1
|
+
export * from './generated';
|
|
2
|
+
export type { NavbarBreakpoint, NavbarExpandedChangeEventDetail, NavbarLabels } from '@mintplayer/ui-core/navbar';
|
package/otp-input/index.mjs
CHANGED
|
@@ -1,29 +1,123 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
1
|
+
import { useCore as e } from "../machine/index.mjs";
|
|
2
|
+
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeProps as s, openBlock as c, renderList as l, toDisplayString as u, unref as d, useTemplateRef as f } from "vue";
|
|
3
|
+
import { installLightStyles as p } from "@mintplayer/ui-core/scoped-styles";
|
|
4
|
+
import { otpInputCore as m, otpInputScopedStyles as h } from "@mintplayer/ui-core/otp-input";
|
|
3
5
|
//#endregion
|
|
4
|
-
//#region libs/mintplayer-vue-bootstrap/otp-input/src/
|
|
5
|
-
var
|
|
6
|
+
//#region libs/mintplayer-vue-bootstrap/otp-input/src/generated/otp-input.view.generated.vue
|
|
7
|
+
var g = /* @__PURE__ */ o({
|
|
6
8
|
inheritAttrs: !1,
|
|
7
|
-
__name: "
|
|
9
|
+
__name: "otp-input.view.generated",
|
|
10
|
+
props: { view: {} },
|
|
11
|
+
setup(e) {
|
|
12
|
+
return (n, o) => (c(), i("div", s({
|
|
13
|
+
class: n.$attrs.class,
|
|
14
|
+
style: n.$attrs.style,
|
|
15
|
+
"data-mps": "otp-input",
|
|
16
|
+
ref: "root"
|
|
17
|
+
}, e.view.root), [a("div", s({ "data-mps": "otp-input" }, e.view.container), [a("input", s({ "data-mps": "otp-input" }, {
|
|
18
|
+
...e.view.input,
|
|
19
|
+
...n.$attrs,
|
|
20
|
+
class: String(e.view.input.class ?? ""),
|
|
21
|
+
style: void 0,
|
|
22
|
+
role: String(e.view.input.role ?? n.$attrs.role ?? "") || void 0
|
|
23
|
+
}), null, 16), (c(!0), i(t, null, l(e.view.boxes, (t) => (c(), i("span", s({
|
|
24
|
+
"data-mps": "otp-input",
|
|
25
|
+
key: t.key
|
|
26
|
+
}, { ref_for: !0 }, t.bag), [a("span", s({ "data-mps": "otp-input" }, { ref_for: !0 }, e.view.spacer), u(t.spacer), 17), a("span", s({ "data-mps": "otp-input" }, { ref_for: !0 }, e.view.content), u(t.content), 17)], 16))), 128))], 16), e.view.showFeedback ? (c(), i("div", s({
|
|
27
|
+
key: 0,
|
|
28
|
+
"data-mps": "otp-input"
|
|
29
|
+
}, e.view.feedback.attrs), u(e.view.feedback.text), 17)) : r("", !0)], 16));
|
|
30
|
+
}
|
|
31
|
+
}), _ = /* @__PURE__ */ o({
|
|
32
|
+
name: "BsOtpInput",
|
|
33
|
+
__name: "BsOtpInput.generated",
|
|
8
34
|
props: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
35
|
+
groups: {
|
|
36
|
+
type: null,
|
|
37
|
+
default: [
|
|
38
|
+
1,
|
|
39
|
+
1,
|
|
40
|
+
1,
|
|
41
|
+
1,
|
|
42
|
+
1,
|
|
43
|
+
1
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
type: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "numeric"
|
|
49
|
+
},
|
|
50
|
+
letterCase: {
|
|
51
|
+
type: String,
|
|
52
|
+
default: "upper"
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: "md"
|
|
57
|
+
},
|
|
58
|
+
disabled: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !1
|
|
61
|
+
},
|
|
62
|
+
required: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: !1
|
|
65
|
+
},
|
|
66
|
+
invalid: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: !1
|
|
69
|
+
},
|
|
70
|
+
errorText: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: void 0
|
|
73
|
+
},
|
|
74
|
+
name: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: void 0
|
|
77
|
+
},
|
|
78
|
+
inputLabel: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: void 0
|
|
81
|
+
},
|
|
82
|
+
value: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: ""
|
|
21
85
|
}
|
|
22
|
-
|
|
23
|
-
|
|
86
|
+
},
|
|
87
|
+
emits: [
|
|
88
|
+
"valuechange",
|
|
89
|
+
"complete",
|
|
90
|
+
"update:value"
|
|
91
|
+
],
|
|
92
|
+
setup(t, { expose: r, emit: i }) {
|
|
93
|
+
let a = t, o = i;
|
|
94
|
+
p("otp-input", h);
|
|
95
|
+
let l = f("template"), u = e(m, () => ({
|
|
96
|
+
groups: a.groups,
|
|
97
|
+
type: a.type,
|
|
98
|
+
letterCase: a.letterCase,
|
|
99
|
+
size: a.size,
|
|
100
|
+
disabled: a.disabled,
|
|
101
|
+
required: a.required,
|
|
102
|
+
invalid: a.invalid,
|
|
103
|
+
errorText: a.errorText,
|
|
104
|
+
name: a.name,
|
|
105
|
+
inputLabel: a.inputLabel,
|
|
106
|
+
value: a.value
|
|
107
|
+
}), {
|
|
108
|
+
idPrefix: "bs-otp-input",
|
|
109
|
+
root: () => l.value?.$el,
|
|
110
|
+
emit: (e, t) => o(e.startsWith("update:") ? e : e.toLowerCase(), t),
|
|
111
|
+
models: ["value"]
|
|
112
|
+
}), _ = u.props;
|
|
113
|
+
return r({
|
|
114
|
+
clear: (...e) => u.call("clear", e),
|
|
115
|
+
focusInput: (...e) => u.call("focusInput", e)
|
|
116
|
+
}), (e, t) => (c(), n(g, s({
|
|
117
|
+
ref_key: "template",
|
|
24
118
|
ref: l
|
|
25
|
-
},
|
|
119
|
+
}, d(_)), null, 16));
|
|
26
120
|
}
|
|
27
121
|
});
|
|
28
122
|
//#endregion
|
|
29
|
-
export {
|
|
123
|
+
export { _ as BsOtpInput };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { OtpInputInputs, OtpInputMethods } from '@mintplayer/ui-core/otp-input';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
groups: {
|
|
5
|
+
type: PropType<OtpInputInputs["groups"]>;
|
|
6
|
+
default: number[];
|
|
7
|
+
};
|
|
8
|
+
type: {
|
|
9
|
+
type: PropType<OtpInputInputs["type"]>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
letterCase: {
|
|
13
|
+
type: PropType<OtpInputInputs["letterCase"]>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<OtpInputInputs["size"]>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: PropType<OtpInputInputs["disabled"]>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
required: {
|
|
25
|
+
type: PropType<OtpInputInputs["required"]>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
invalid: {
|
|
29
|
+
type: PropType<OtpInputInputs["invalid"]>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
errorText: {
|
|
33
|
+
type: PropType<OtpInputInputs["errorText"]>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
name: {
|
|
37
|
+
type: PropType<OtpInputInputs["name"]>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
inputLabel: {
|
|
41
|
+
type: PropType<OtpInputInputs["inputLabel"]>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
type: PropType<OtpInputInputs["value"]>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}>, {
|
|
49
|
+
/** Empties the code, and reports it. */
|
|
50
|
+
clear: () => ReturnType<OtpInputMethods["clear"]>;
|
|
51
|
+
/** Moves focus into the input. */
|
|
52
|
+
focusInput: (options?: FocusOptions | undefined) => ReturnType<OtpInputMethods["focusInput"]>;
|
|
53
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
+
valuechange: (detail: string) => any;
|
|
55
|
+
"update:value": (value: string) => any;
|
|
56
|
+
complete: (detail: string) => any;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
58
|
+
groups: {
|
|
59
|
+
type: PropType<OtpInputInputs["groups"]>;
|
|
60
|
+
default: number[];
|
|
61
|
+
};
|
|
62
|
+
type: {
|
|
63
|
+
type: PropType<OtpInputInputs["type"]>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
letterCase: {
|
|
67
|
+
type: PropType<OtpInputInputs["letterCase"]>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
size: {
|
|
71
|
+
type: PropType<OtpInputInputs["size"]>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
type: PropType<OtpInputInputs["disabled"]>;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
required: {
|
|
79
|
+
type: PropType<OtpInputInputs["required"]>;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
invalid: {
|
|
83
|
+
type: PropType<OtpInputInputs["invalid"]>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
errorText: {
|
|
87
|
+
type: PropType<OtpInputInputs["errorText"]>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
name: {
|
|
91
|
+
type: PropType<OtpInputInputs["name"]>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
inputLabel: {
|
|
95
|
+
type: PropType<OtpInputInputs["inputLabel"]>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
value: {
|
|
99
|
+
type: PropType<OtpInputInputs["value"]>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
}>> & Readonly<{
|
|
103
|
+
onValuechange?: ((detail: string) => any) | undefined;
|
|
104
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
105
|
+
onComplete?: ((detail: string) => any) | undefined;
|
|
106
|
+
}>, {
|
|
107
|
+
name: string | null | undefined;
|
|
108
|
+
disabled: boolean;
|
|
109
|
+
value: string;
|
|
110
|
+
size: import('@mintplayer/ui-core/otp-input').OtpInputSize;
|
|
111
|
+
type: import('@mintplayer/ui-core/otp-input').OtpInputType;
|
|
112
|
+
invalid: boolean;
|
|
113
|
+
inputLabel: string | null | undefined;
|
|
114
|
+
required: boolean;
|
|
115
|
+
errorText: string | null | undefined;
|
|
116
|
+
groups: number[];
|
|
117
|
+
letterCase: import('@mintplayer/ui-core/otp-input').OtpInputCase;
|
|
118
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
119
|
+
template: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
120
|
+
view: import('@mintplayer/ui-core/otp-input').OtpInputView;
|
|
121
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
122
|
+
root: HTMLDivElement;
|
|
123
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
124
|
+
P: {};
|
|
125
|
+
B: {};
|
|
126
|
+
D: {};
|
|
127
|
+
C: {};
|
|
128
|
+
M: {};
|
|
129
|
+
Defaults: {};
|
|
130
|
+
}, Readonly<{
|
|
131
|
+
view: import('@mintplayer/ui-core/otp-input').OtpInputView;
|
|
132
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
133
|
+
}, any>;
|
|
134
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsOtpInput } from './BsOtpInput.generated.vue';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OtpInputView } from '@mintplayer/ui-core/otp-input';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
view: OtpInputView;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
|
-
|
|
6
|
+
root: HTMLDivElement;
|
|
7
7
|
}, any>;
|
|
8
8
|
export default _default;
|
package/otp-input/src/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './generated';
|
|
2
|
+
export type { OtpInputCase, OtpInputSize, OtpInputType } from '@mintplayer/ui-core/otp-input';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/vue-bootstrap",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "Vue 3.5
|
|
3
|
+
"version": "3.29.0",
|
|
4
|
+
"description": "Vue 3.5 Bootstrap components. Each sub-entry renders its own template over a framework-neutral core from @mintplayer/ui-core, with v-model on every two-way input, so it server-renders real HTML and defines no custom elements.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -188,11 +188,13 @@
|
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
"peerDependencies": {
|
|
191
|
-
"@mintplayer/ui-core": "^1.
|
|
192
|
-
"vue": "^3.5.0"
|
|
193
|
-
"@mintplayer/web-components": "^3.0.0"
|
|
191
|
+
"@mintplayer/ui-core": "^1.2.0",
|
|
192
|
+
"vue": "^3.5.0"
|
|
194
193
|
},
|
|
195
194
|
"dependencies": {
|
|
196
195
|
"tslib": "^2.3.0"
|
|
196
|
+
},
|
|
197
|
+
"publishConfig": {
|
|
198
|
+
"tag": "latest"
|
|
197
199
|
}
|
|
198
200
|
}
|
package/pagination/index.mjs
CHANGED
|
@@ -1,29 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "@mintplayer/
|
|
3
|
-
//#
|
|
4
|
-
|
|
5
|
-
var c = /* @__PURE__ */ t({
|
|
1
|
+
import { Fragment as e, computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, guardReactiveProps as a, mergeModels as o, mergeProps as s, normalizeClass as c, normalizeProps as l, openBlock as u, renderList as d, toDisplayString as f, useModel as p } from "vue";
|
|
2
|
+
import { connectPagination as m, isPlainClick as h } from "@mintplayer/ui-core/pagination";
|
|
3
|
+
//#region libs/mintplayer-vue-bootstrap/pagination/src/BsPagination.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var g = ["href", "onClick"], _ = ["onClick"], v = /* @__PURE__ */ i({
|
|
6
5
|
inheritAttrs: !1,
|
|
7
6
|
__name: "BsPagination",
|
|
8
|
-
props: {
|
|
7
|
+
props: /*@__PURE__*/ o({
|
|
8
|
+
pageNumbers: { default: () => [] },
|
|
9
|
+
numberOfBoxes: { default: 0 },
|
|
10
|
+
showArrows: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !0
|
|
13
|
+
},
|
|
14
|
+
size: { default: "medium" },
|
|
15
|
+
labels: { default: null },
|
|
16
|
+
hrefFor: {
|
|
17
|
+
type: [Function, null],
|
|
18
|
+
default: null
|
|
19
|
+
}
|
|
20
|
+
}, {
|
|
9
21
|
modelValue: {},
|
|
10
22
|
modelModifiers: {}
|
|
11
|
-
},
|
|
23
|
+
}),
|
|
12
24
|
emits: ["update:modelValue"],
|
|
13
|
-
setup(
|
|
14
|
-
let
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
setup(i) {
|
|
26
|
+
let o = i, v = p(i, "modelValue"), y = t(() => m({
|
|
27
|
+
pageNumbers: o.pageNumbers,
|
|
28
|
+
selectedPageNumber: typeof v.value == "number" ? v.value : 1,
|
|
29
|
+
numberOfBoxes: o.numberOfBoxes,
|
|
30
|
+
showArrows: o.showArrows,
|
|
31
|
+
size: o.size,
|
|
32
|
+
labels: o.labels,
|
|
33
|
+
hrefFor: o.hrefFor
|
|
34
|
+
}));
|
|
35
|
+
function b(e) {
|
|
36
|
+
e !== null && (v.value = e);
|
|
37
|
+
}
|
|
38
|
+
function x(e, t) {
|
|
39
|
+
h(e) && (e.preventDefault(), b(t));
|
|
21
40
|
}
|
|
22
|
-
return (t,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
41
|
+
return (t, i) => (u(), n("nav", l(a({
|
|
42
|
+
...y.value.nav,
|
|
43
|
+
...t.$attrs
|
|
44
|
+
})), [r("ul", { class: c(y.value.listClass) }, [(u(!0), n(e, null, d(y.value.entries, (e) => (u(), n("li", {
|
|
45
|
+
key: e.key,
|
|
46
|
+
class: c(e.itemClass)
|
|
47
|
+
}, [e.kind === "gap" ? (u(), n("span", s({
|
|
48
|
+
key: 0,
|
|
49
|
+
ref_for: !0
|
|
50
|
+
}, e.attrs), f(e.text), 17)) : y.value.tag === "a" ? (u(), n("a", s({
|
|
51
|
+
key: 1,
|
|
52
|
+
ref_for: !0
|
|
53
|
+
}, e.attrs, {
|
|
54
|
+
href: e.href ?? void 0,
|
|
55
|
+
onClick: (t) => x(t, e.target)
|
|
56
|
+
}), f(e.text), 17, g)) : (u(), n("button", s({
|
|
57
|
+
key: 2,
|
|
58
|
+
ref_for: !0
|
|
59
|
+
}, e.attrs, { onClick: (t) => b(e.target) }), f(e.text), 17, _))], 2))), 128))], 2)], 16));
|
|
26
60
|
}
|
|
27
61
|
});
|
|
28
62
|
//#endregion
|
|
29
|
-
export {
|
|
63
|
+
export { v as BsPagination };
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
+
import { PaginationLabels, PaginationSize } from '@mintplayer/ui-core/pagination';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
pageNumbers?: number[];
|
|
4
|
+
/** Cap on visible boxes, arrows included (0 = uncapped). */
|
|
5
|
+
numberOfBoxes?: number;
|
|
6
|
+
showArrows?: boolean;
|
|
7
|
+
size?: PaginationSize;
|
|
8
|
+
/** Localized accessible names; missing keys fall back to English. */
|
|
9
|
+
labels?: Partial<PaginationLabels> | null;
|
|
10
|
+
/** Renders every page as a link to this URL, so it works without JavaScript. */
|
|
11
|
+
hrefFor?: ((page: number) => string) | null;
|
|
12
|
+
};
|
|
1
13
|
type __VLS_PublicProps = {
|
|
2
14
|
modelValue?: number | null;
|
|
3
|
-
};
|
|
15
|
+
} & __VLS_Props;
|
|
4
16
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
17
|
"update:modelValue": (value: number | null) => any;
|
|
6
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
19
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
8
|
-
}>, {
|
|
9
|
-
|
|
10
|
-
|
|
20
|
+
}>, {
|
|
21
|
+
size: PaginationSize;
|
|
22
|
+
labels: Partial<PaginationLabels> | null;
|
|
23
|
+
hrefFor: ((page: number) => string) | null;
|
|
24
|
+
pageNumbers: number[];
|
|
25
|
+
numberOfBoxes: number;
|
|
26
|
+
showArrows: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
28
|
export default _default;
|