@mintplayer/vue-bootstrap 3.28.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,240 @@
|
|
|
1
|
+
import { ComponentPublicInstance, PropType } from 'vue';
|
|
2
|
+
import { TreeNodeCollapseEventDetail, TreeNodeExpandEventDetail, TreeNodeLoadErrorEventDetail, TreeNodeSelectEventDetail, TreeviewIds, TreeviewInputs } from '@mintplayer/ui-core/treeview';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
node?(_: {
|
|
7
|
+
node: import('@mintplayer/ui-core/tree').TreeNode;
|
|
8
|
+
ctx: import('@mintplayer/ui-core/treeview').TreeNodeRenderContext;
|
|
9
|
+
}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
template: ({
|
|
13
|
+
$: import('vue').ComponentInternalInstance;
|
|
14
|
+
$data: {};
|
|
15
|
+
$props: {
|
|
16
|
+
readonly view: import('@mintplayer/ui-core/treeview').TreeviewView;
|
|
17
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
18
|
+
$attrs: import('vue').Attrs;
|
|
19
|
+
$refs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
} & {
|
|
22
|
+
root: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
$slots: Readonly<{
|
|
25
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
$root: ComponentPublicInstance | null;
|
|
28
|
+
$parent: ComponentPublicInstance | null;
|
|
29
|
+
$host: Element | null;
|
|
30
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
31
|
+
$el: any;
|
|
32
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
33
|
+
view: import('@mintplayer/ui-core/treeview').TreeviewView;
|
|
34
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
35
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
36
|
+
created?: (() => void) | (() => void)[];
|
|
37
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
38
|
+
mounted?: (() => void) | (() => void)[];
|
|
39
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
40
|
+
updated?: (() => void) | (() => void)[];
|
|
41
|
+
activated?: (() => void) | (() => void)[];
|
|
42
|
+
deactivated?: (() => void) | (() => void)[];
|
|
43
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
44
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
45
|
+
destroyed?: (() => void) | (() => void)[];
|
|
46
|
+
unmounted?: (() => void) | (() => void)[];
|
|
47
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
48
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
49
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
50
|
+
};
|
|
51
|
+
$forceUpdate: () => void;
|
|
52
|
+
$nextTick: typeof import('vue').nextTick;
|
|
53
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
54
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
55
|
+
view: import('@mintplayer/ui-core/treeview').TreeviewView;
|
|
56
|
+
}> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
57
|
+
$slots: Readonly<{
|
|
58
|
+
node?: (args: {
|
|
59
|
+
node: import('@mintplayer/ui-core/tree').TreeNode;
|
|
60
|
+
ctx: import('@mintplayer/ui-core/treeview').TreeNodeRenderContext;
|
|
61
|
+
}) => unknown;
|
|
62
|
+
}> & {
|
|
63
|
+
node?: (args: {
|
|
64
|
+
node: import('@mintplayer/ui-core/tree').TreeNode;
|
|
65
|
+
ctx: import('@mintplayer/ui-core/treeview').TreeNodeRenderContext;
|
|
66
|
+
}) => unknown;
|
|
67
|
+
};
|
|
68
|
+
}) | null;
|
|
69
|
+
};
|
|
70
|
+
rootEl: any;
|
|
71
|
+
};
|
|
72
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
73
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
74
|
+
items: {
|
|
75
|
+
type: PropType<TreeviewInputs["items"]>;
|
|
76
|
+
default: never[];
|
|
77
|
+
};
|
|
78
|
+
expandedIds: {
|
|
79
|
+
type: PropType<TreeviewInputs["expandedIds"]>;
|
|
80
|
+
default: never[];
|
|
81
|
+
};
|
|
82
|
+
selectedIds: {
|
|
83
|
+
type: PropType<TreeviewInputs["selectedIds"]>;
|
|
84
|
+
default: never[];
|
|
85
|
+
};
|
|
86
|
+
selectionMode: {
|
|
87
|
+
type: PropType<TreeviewInputs["selectionMode"]>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
hideBorders: {
|
|
91
|
+
type: PropType<TreeviewInputs["hideBorders"]>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
iconResolver: {
|
|
95
|
+
type: PropType<TreeviewInputs["iconResolver"]>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
loadChildren: {
|
|
99
|
+
type: PropType<TreeviewInputs["loadChildren"]>;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
inputLabel: {
|
|
103
|
+
type: PropType<TreeviewInputs["inputLabel"]>;
|
|
104
|
+
default: null;
|
|
105
|
+
};
|
|
106
|
+
labels: {
|
|
107
|
+
type: PropType<TreeviewInputs["labels"]>;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
|
+
nodeselect: (detail: TreeNodeSelectEventDetail) => any;
|
|
112
|
+
nodeloaderror: (detail: TreeNodeLoadErrorEventDetail) => any;
|
|
113
|
+
selectedidschange: (detail: TreeviewIds) => any;
|
|
114
|
+
expandedidschange: (detail: TreeviewIds) => any;
|
|
115
|
+
"update:selectedIds": (value: readonly string[]) => any;
|
|
116
|
+
"update:expandedIds": (value: readonly string[]) => any;
|
|
117
|
+
nodeexpand: (detail: TreeNodeExpandEventDetail) => any;
|
|
118
|
+
nodecollapse: (detail: TreeNodeCollapseEventDetail) => any;
|
|
119
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
120
|
+
items: {
|
|
121
|
+
type: PropType<TreeviewInputs["items"]>;
|
|
122
|
+
default: never[];
|
|
123
|
+
};
|
|
124
|
+
expandedIds: {
|
|
125
|
+
type: PropType<TreeviewInputs["expandedIds"]>;
|
|
126
|
+
default: never[];
|
|
127
|
+
};
|
|
128
|
+
selectedIds: {
|
|
129
|
+
type: PropType<TreeviewInputs["selectedIds"]>;
|
|
130
|
+
default: never[];
|
|
131
|
+
};
|
|
132
|
+
selectionMode: {
|
|
133
|
+
type: PropType<TreeviewInputs["selectionMode"]>;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
hideBorders: {
|
|
137
|
+
type: PropType<TreeviewInputs["hideBorders"]>;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
iconResolver: {
|
|
141
|
+
type: PropType<TreeviewInputs["iconResolver"]>;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
loadChildren: {
|
|
145
|
+
type: PropType<TreeviewInputs["loadChildren"]>;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
inputLabel: {
|
|
149
|
+
type: PropType<TreeviewInputs["inputLabel"]>;
|
|
150
|
+
default: null;
|
|
151
|
+
};
|
|
152
|
+
labels: {
|
|
153
|
+
type: PropType<TreeviewInputs["labels"]>;
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
}>> & Readonly<{
|
|
157
|
+
onNodeselect?: ((detail: TreeNodeSelectEventDetail) => any) | undefined;
|
|
158
|
+
onNodeloaderror?: ((detail: TreeNodeLoadErrorEventDetail) => any) | undefined;
|
|
159
|
+
onSelectedidschange?: ((detail: TreeviewIds) => any) | undefined;
|
|
160
|
+
onExpandedidschange?: ((detail: TreeviewIds) => any) | undefined;
|
|
161
|
+
"onUpdate:selectedIds"?: ((value: readonly string[]) => any) | undefined;
|
|
162
|
+
"onUpdate:expandedIds"?: ((value: readonly string[]) => any) | undefined;
|
|
163
|
+
onNodeexpand?: ((detail: TreeNodeExpandEventDetail) => any) | undefined;
|
|
164
|
+
onNodecollapse?: ((detail: TreeNodeCollapseEventDetail) => any) | undefined;
|
|
165
|
+
}>, {
|
|
166
|
+
labels: Partial<import('@mintplayer/ui-core/treeview').TreeviewLabels> | null | undefined;
|
|
167
|
+
inputLabel: string | null;
|
|
168
|
+
loadChildren: import('@mintplayer/ui-core/treeview').TreeChildrenLoader | null | undefined;
|
|
169
|
+
selectionMode: import('@mintplayer/ui-core/treeview').TreeviewSelectionMode;
|
|
170
|
+
selectedIds: readonly string[];
|
|
171
|
+
expandedIds: readonly string[];
|
|
172
|
+
items: readonly import('@mintplayer/ui-core/tree').TreeNode[];
|
|
173
|
+
hideBorders: boolean;
|
|
174
|
+
iconResolver: import('@mintplayer/ui-core/treeview').IconResolver | null | undefined;
|
|
175
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
176
|
+
template: ({
|
|
177
|
+
$: import('vue').ComponentInternalInstance;
|
|
178
|
+
$data: {};
|
|
179
|
+
$props: {
|
|
180
|
+
readonly view: import('@mintplayer/ui-core/treeview').TreeviewView;
|
|
181
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
182
|
+
$attrs: import('vue').Attrs;
|
|
183
|
+
$refs: {
|
|
184
|
+
[x: string]: unknown;
|
|
185
|
+
} & {
|
|
186
|
+
root: HTMLDivElement;
|
|
187
|
+
};
|
|
188
|
+
$slots: Readonly<{
|
|
189
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
190
|
+
}>;
|
|
191
|
+
$root: ComponentPublicInstance | null;
|
|
192
|
+
$parent: ComponentPublicInstance | null;
|
|
193
|
+
$host: Element | null;
|
|
194
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
195
|
+
$el: any;
|
|
196
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
197
|
+
view: import('@mintplayer/ui-core/treeview').TreeviewView;
|
|
198
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
199
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
200
|
+
created?: (() => void) | (() => void)[];
|
|
201
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
202
|
+
mounted?: (() => void) | (() => void)[];
|
|
203
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
204
|
+
updated?: (() => void) | (() => void)[];
|
|
205
|
+
activated?: (() => void) | (() => void)[];
|
|
206
|
+
deactivated?: (() => void) | (() => void)[];
|
|
207
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
208
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
209
|
+
destroyed?: (() => void) | (() => void)[];
|
|
210
|
+
unmounted?: (() => void) | (() => void)[];
|
|
211
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
212
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
213
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
214
|
+
};
|
|
215
|
+
$forceUpdate: () => void;
|
|
216
|
+
$nextTick: typeof import('vue').nextTick;
|
|
217
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
218
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
219
|
+
view: import('@mintplayer/ui-core/treeview').TreeviewView;
|
|
220
|
+
}> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
221
|
+
$slots: Readonly<{
|
|
222
|
+
node?: (args: {
|
|
223
|
+
node: import('@mintplayer/ui-core/tree').TreeNode;
|
|
224
|
+
ctx: import('@mintplayer/ui-core/treeview').TreeNodeRenderContext;
|
|
225
|
+
}) => unknown;
|
|
226
|
+
}> & {
|
|
227
|
+
node?: (args: {
|
|
228
|
+
node: import('@mintplayer/ui-core/tree').TreeNode;
|
|
229
|
+
ctx: import('@mintplayer/ui-core/treeview').TreeNodeRenderContext;
|
|
230
|
+
}) => unknown;
|
|
231
|
+
};
|
|
232
|
+
}) | null;
|
|
233
|
+
}, any>;
|
|
234
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
235
|
+
export default _default;
|
|
236
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
237
|
+
new (): {
|
|
238
|
+
$slots: S;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsTreeview } from './BsTreeview.generated.vue';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TreeNode } from '@mintplayer/ui-core/tree';
|
|
2
|
+
import { TreeNodeRenderContext, TreeviewView } from '@mintplayer/ui-core/treeview';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
view: TreeviewView;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
/** A node's body; the default is its icon and label. The chevron stays. */
|
|
10
|
+
node?: (args: {
|
|
11
|
+
node: TreeNode;
|
|
12
|
+
ctx: TreeNodeRenderContext;
|
|
13
|
+
}) => unknown;
|
|
14
|
+
}> & {
|
|
15
|
+
/** A node's body; the default is its icon and label. The chevron stays. */
|
|
16
|
+
node?: (args: {
|
|
17
|
+
node: TreeNode;
|
|
18
|
+
ctx: TreeNodeRenderContext;
|
|
19
|
+
}) => unknown;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
root: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
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, {
|
|
28
|
+
root: HTMLDivElement;
|
|
29
|
+
}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
package/treeview/src/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './generated';
|
|
2
|
+
export type { IconResolver, TreeChildrenLoader, TreeNode, TreeNodeCollapseEventDetail, TreeNodeExpandEventDetail, TreeNodeLoadErrorEventDetail, TreeNodeRenderContext, TreeNodeSelectEventDetail, TreeviewIds, TreeviewLabels, TreeviewSelectionMode, } from '@mintplayer/ui-core/treeview';
|
package/typeahead/index.mjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { t as e } from "../chunks/useMachine-DLZ7g_H3.mjs";
|
|
2
|
-
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s,
|
|
3
|
-
import { installLightStyles as
|
|
4
|
-
import {
|
|
2
|
+
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, mergeModels as c, mergeProps as l, onBeforeUnmount as u, onMounted as d, openBlock as f, renderList as p, renderSlot as m, shallowRef as h, toDisplayString as g, unref as _, useAttrs as v, useId as y, useModel as b, useTemplateRef as x, watch as S, withModifiers as C } from "vue";
|
|
3
|
+
import { installLightStyles as w } from "@mintplayer/ui-core/scoped-styles";
|
|
4
|
+
import { trackOpenSide as T } from "@mintplayer/ui-core/overlay";
|
|
5
|
+
import { TYPEAHEAD_SCOPE as E, TypeaheadMachine as D, connect as O, inMemoryTypeaheadProvider as k, typeaheadScopedStyles as A } from "@mintplayer/ui-core/typeahead";
|
|
5
6
|
//#region libs/mintplayer-vue-bootstrap/typeahead/src/BsTypeahead.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
7
|
+
var j = ["value"], M = ["onClick"], N = /* @__PURE__ */ s({
|
|
7
8
|
inheritAttrs: !1,
|
|
8
9
|
__name: "BsTypeahead",
|
|
9
|
-
props: /*@__PURE__*/
|
|
10
|
+
props: /*@__PURE__*/ c({
|
|
10
11
|
provider: {
|
|
11
12
|
type: [Function, null],
|
|
12
13
|
default: null
|
|
@@ -29,91 +30,102 @@ var E = ["value"], D = ["onClick"], O = /* @__PURE__ */ s({
|
|
|
29
30
|
modelValue: { default: "" },
|
|
30
31
|
modelModifiers: {}
|
|
31
32
|
}),
|
|
32
|
-
emits: /*@__PURE__*/
|
|
33
|
+
emits: /*@__PURE__*/ c([
|
|
33
34
|
"select",
|
|
34
35
|
"submit",
|
|
35
36
|
"open",
|
|
36
37
|
"close",
|
|
37
38
|
"loadError"
|
|
38
39
|
], ["update:modelValue"]),
|
|
39
|
-
setup(s, { emit:
|
|
40
|
-
let
|
|
41
|
-
id:
|
|
42
|
-
value:
|
|
40
|
+
setup(s, { emit: c }) {
|
|
41
|
+
let k = s, N = b(s, "modelValue"), P = c, F = `bs-typeahead-${y()}`, [I, L] = e(() => new D({
|
|
42
|
+
id: F,
|
|
43
|
+
value: N.value,
|
|
43
44
|
onChange: (e) => {
|
|
44
|
-
|
|
45
|
+
N.value = e;
|
|
45
46
|
},
|
|
46
|
-
onSelect: (e, t) =>
|
|
47
|
-
onSubmit: (e) =>
|
|
48
|
-
onOpen: () =>
|
|
49
|
-
onClose: () =>
|
|
50
|
-
onError: (e) =>
|
|
47
|
+
onSelect: (e, t) => P("select", e, t),
|
|
48
|
+
onSubmit: (e) => P("submit", e),
|
|
49
|
+
onOpen: () => P("open"),
|
|
50
|
+
onClose: () => P("close"),
|
|
51
|
+
onError: (e) => P("loadError", e)
|
|
51
52
|
}));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, { immediate: !0 }),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
w(E, A), S(() => k.provider, (e) => I.provider = e, { immediate: !0 }), S(() => k.debounceMs, (e) => I.debounceMs = e, { immediate: !0 }), S(() => k.minLength, (e) => I.minLength = e, { immediate: !0 }), S(() => [k.itemText, k.itemKey], ([e, t]) => {
|
|
54
|
+
I.itemText = e, I.itemKey = t;
|
|
55
|
+
}, { immediate: !0 }), S(() => k.disabled, (e) => I.setDisabled(e), { immediate: !0 }), S(() => k.errorText, (e) => I.setErrorText(e), { immediate: !0 }), S(() => [
|
|
56
|
+
k.inputLabel,
|
|
57
|
+
k.loadingLabel,
|
|
58
|
+
k.noResultsLabel,
|
|
59
|
+
k.resultsLabel
|
|
59
60
|
], ([e, t, n, r]) => {
|
|
60
61
|
let i = { input: e ?? null };
|
|
61
|
-
t !== void 0 && (i.loading = t), n !== void 0 && (i.noResults = n), r !== void 0 && (i.results = r),
|
|
62
|
-
}, { immediate: !0 }),
|
|
63
|
-
e !==
|
|
62
|
+
t !== void 0 && (i.loading = t), n !== void 0 && (i.noResults = n), r !== void 0 && (i.results = r), I.setLabels(i);
|
|
63
|
+
}, { immediate: !0 }), S(N, (e) => {
|
|
64
|
+
e !== I.snapshot.term && I.setValue(e);
|
|
64
65
|
});
|
|
65
|
-
let
|
|
66
|
-
|
|
66
|
+
let R = x("input"), z = x("listbox"), B = () => void 0, V = h(!1);
|
|
67
|
+
d(() => {
|
|
68
|
+
B = T(I, () => R.value, () => z.value), V.value = !0;
|
|
69
|
+
}), u(() => B());
|
|
70
|
+
let H = n(() => O(L.value, F, {
|
|
71
|
+
name: k.name,
|
|
72
|
+
hydrated: V.value
|
|
73
|
+
})), U = n(() => {
|
|
74
|
+
let { value: e, ...t } = H.value.input;
|
|
67
75
|
return t;
|
|
68
76
|
});
|
|
69
|
-
function
|
|
70
|
-
return
|
|
77
|
+
function W(e, t) {
|
|
78
|
+
return k.itemKey ? k.itemKey(e) : I.itemTextOf(e) || t;
|
|
71
79
|
}
|
|
72
|
-
function
|
|
73
|
-
|
|
80
|
+
function G(e) {
|
|
81
|
+
I.setTerm(e.target.value);
|
|
74
82
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
83
|
+
function K(e) {
|
|
84
|
+
I.keydown(e.key, e) && e.preventDefault();
|
|
77
85
|
}
|
|
78
|
-
let
|
|
79
|
-
function
|
|
80
|
-
let { role: e, ...t } =
|
|
86
|
+
let q = v();
|
|
87
|
+
function J() {
|
|
88
|
+
let { role: e, ...t } = q;
|
|
81
89
|
return t;
|
|
82
90
|
}
|
|
83
|
-
return (e, n) => (
|
|
84
|
-
a("input",
|
|
91
|
+
return (e, n) => (f(), i("div", l({ class: "mp-typeahead" }, H.value.root), [
|
|
92
|
+
a("input", l({
|
|
93
|
+
ref: "input",
|
|
85
94
|
class: "form-control",
|
|
86
95
|
type: "text"
|
|
87
96
|
}, {
|
|
88
|
-
...
|
|
89
|
-
...
|
|
97
|
+
...U.value,
|
|
98
|
+
...J()
|
|
90
99
|
}, {
|
|
91
100
|
role: "combobox",
|
|
92
|
-
value:
|
|
93
|
-
onInput:
|
|
94
|
-
onKeydown:
|
|
95
|
-
onBlur: n[0] ||= (e) =>
|
|
96
|
-
}), null, 16,
|
|
97
|
-
a("ul",
|
|
101
|
+
value: _(L).term,
|
|
102
|
+
onInput: G,
|
|
103
|
+
onKeydown: K,
|
|
104
|
+
onBlur: n[0] ||= (e) => _(I).blur()
|
|
105
|
+
}), null, 16, j),
|
|
106
|
+
a("ul", l({
|
|
107
|
+
ref: "listbox",
|
|
108
|
+
class: "dropdown-menu"
|
|
109
|
+
}, H.value.listbox), [H.value.status ? (f(), i("li", l({
|
|
98
110
|
key: 0,
|
|
99
111
|
class: "ta-status"
|
|
100
|
-
},
|
|
101
|
-
key:
|
|
112
|
+
}, H.value.status.attrs), g(H.value.status.text), 17)) : r("", !0), (f(!0), i(t, null, p(_(L).items, (t, r) => (f(), i("li", l({
|
|
113
|
+
key: W(t, r),
|
|
102
114
|
class: "dropdown-item"
|
|
103
|
-
}, { ref_for: !0 },
|
|
104
|
-
onMousedown: n[1] ||=
|
|
105
|
-
onClick: (e) =>
|
|
106
|
-
}), [
|
|
115
|
+
}, { ref_for: !0 }, H.value.option(r), {
|
|
116
|
+
onMousedown: n[1] ||= C(() => {}, ["prevent"]),
|
|
117
|
+
onClick: (e) => _(I).pick(r)
|
|
118
|
+
}), [m(e.$slots, "item", {
|
|
107
119
|
item: t,
|
|
108
|
-
term:
|
|
109
|
-
}, () => [o(
|
|
110
|
-
a("span",
|
|
111
|
-
|
|
120
|
+
term: _(L).term
|
|
121
|
+
}, () => [o(g(_(I).itemTextOf(t)), 1)])], 16, M))), 128))], 16),
|
|
122
|
+
a("span", l({ class: "visually-hidden" }, H.value.live.attrs), g(H.value.live.text), 17),
|
|
123
|
+
H.value.error ? (f(), i("div", l({
|
|
112
124
|
key: 0,
|
|
113
125
|
class: "ta-error"
|
|
114
|
-
},
|
|
126
|
+
}, H.value.error.attrs), g(H.value.error.text), 17)) : r("", !0)
|
|
115
127
|
], 16));
|
|
116
128
|
}
|
|
117
129
|
});
|
|
118
130
|
//#endregion
|
|
119
|
-
export {
|
|
131
|
+
export { N as BsTypeahead, k as inMemoryTypeaheadProvider };
|
|
@@ -2,10 +2,10 @@ import { TypeaheadProvider } from '@mintplayer/ui-core/typeahead';
|
|
|
2
2
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly onSelect?: ((item: T, value: string) => any) | undefined;
|
|
5
|
-
readonly onOpen?: (() => any) | undefined;
|
|
6
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
5
|
readonly onClose?: (() => any) | undefined;
|
|
6
|
+
readonly onOpen?: (() => any) | undefined;
|
|
8
7
|
readonly onSubmit?: ((value: string) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
9
|
readonly onLoadError?: ((error: unknown) => any) | undefined;
|
|
10
10
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSubmit" | "onSelect" | "onUpdate:modelValue" | "onClose" | "onOpen" | "onLoadError"> & ({
|
|
11
11
|
modelValue?: string;
|
|
@@ -36,7 +36,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
36
36
|
term: string;
|
|
37
37
|
}): unknown;
|
|
38
38
|
};
|
|
39
|
-
emit: (((evt: "select", item: T, value: string) => void) & ((evt: "
|
|
39
|
+
emit: (((evt: "select", item: T, value: string) => void) & ((evt: "close") => void) & ((evt: "open") => void) & ((evt: "submit", value: string) => void) & ((evt: "loadError", error: unknown) => void)) & ((evt: "update:modelValue", value: string) => void);
|
|
40
40
|
}>) => import('vue').VNode & {
|
|
41
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
42
|
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
type __VLS_PublicProps = {
|
|
2
|
-
modelValue?: Date | null;
|
|
3
|
-
};
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
|
-
slots: {
|
|
7
|
-
default?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {
|
|
10
|
-
el: unknown;
|
|
11
|
-
};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (value: Date | null) => any;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
-
el: unknown;
|
|
21
|
-
}, any>;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { CarouselAnimation, CarouselOrientation, CarouselSlideChangeEventDetail } from '@mintplayer/web-components/carousel';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
animation?: CarouselAnimation;
|
|
4
|
-
orientation?: CarouselOrientation;
|
|
5
|
-
/** Show the indicator dots. */
|
|
6
|
-
indicators?: boolean;
|
|
7
|
-
/** Auto-advance interval in ms; omit for no autoplay. */
|
|
8
|
-
interval?: number;
|
|
9
|
-
/** Wrap around at the ends. */
|
|
10
|
-
wrap?: boolean;
|
|
11
|
-
/** Arrow/Home/End navigation on the focused viewport. */
|
|
12
|
-
keyboardEvents?: boolean;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_PublicProps = {
|
|
15
|
-
'paused'?: boolean;
|
|
16
|
-
} & __VLS_Props;
|
|
17
|
-
declare function __VLS_template(): {
|
|
18
|
-
attrs: Partial<{}>;
|
|
19
|
-
slots: {
|
|
20
|
-
default?(_: {}): any;
|
|
21
|
-
'play-pause'?(_: {}): any;
|
|
22
|
-
};
|
|
23
|
-
refs: {
|
|
24
|
-
el: unknown;
|
|
25
|
-
};
|
|
26
|
-
rootEl: any;
|
|
27
|
-
};
|
|
28
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
-
slideChange: (detail: CarouselSlideChangeEventDetail) => any;
|
|
31
|
-
animationStart: () => any;
|
|
32
|
-
animationEnd: () => any;
|
|
33
|
-
"update:paused": (value: boolean) => any;
|
|
34
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
35
|
-
onSlideChange?: ((detail: CarouselSlideChangeEventDetail) => any) | undefined;
|
|
36
|
-
onAnimationStart?: (() => any) | undefined;
|
|
37
|
-
onAnimationEnd?: (() => any) | undefined;
|
|
38
|
-
"onUpdate:paused"?: ((value: boolean) => any) | undefined;
|
|
39
|
-
}>, {
|
|
40
|
-
orientation: CarouselOrientation;
|
|
41
|
-
wrap: boolean;
|
|
42
|
-
animation: CarouselAnimation;
|
|
43
|
-
keyboardEvents: boolean;
|
|
44
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
45
|
-
el: unknown;
|
|
46
|
-
}, any>;
|
|
47
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
|
-
export default _default;
|
|
49
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
-
new (): {
|
|
51
|
-
$slots: S;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HierarchyChartLayout, HierarchyChildrenLoader, HierarchyNode, HierarchyNodeFormatter } from '@mintplayer/web-components/charts/hierarchy';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
data?: HierarchyNode;
|
|
4
|
-
layout?: HierarchyChartLayout;
|
|
5
|
-
loadChildren?: HierarchyChildrenLoader;
|
|
6
|
-
tooltipFormatter?: HierarchyNodeFormatter;
|
|
7
|
-
labelFormatter?: HierarchyNodeFormatter;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_PublicProps = {
|
|
10
|
-
'rootId'?: string | undefined;
|
|
11
|
-
} & __VLS_Props;
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
"update:rootId": (value: string | undefined) => any;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:rootId"?: ((value: string | undefined) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
-
el: unknown;
|
|
18
|
-
}, any>;
|
|
19
|
-
export default _default;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CodeLineAnnotation, MpCodeSnippet } from '@mintplayer/web-components/code-snippet';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
/** Sparse per-line markers. */
|
|
4
|
-
annotations?: CodeLineAnnotation[];
|
|
5
|
-
/** Turns each line number into a real link. */
|
|
6
|
-
lineHref?: ((line: number) => string) | null;
|
|
7
|
-
};
|
|
8
|
-
/** Scroll a line into view; delegated so re-requesting the current line still scrolls. */
|
|
9
|
-
declare function scrollToLine(line: number): void;
|
|
10
|
-
declare function __VLS_template(): {
|
|
11
|
-
attrs: Partial<{}>;
|
|
12
|
-
slots: {
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
};
|
|
15
|
-
refs: {
|
|
16
|
-
element: unknown;
|
|
17
|
-
};
|
|
18
|
-
rootEl: any;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
22
|
-
scrollToLine: typeof scrollToLine;
|
|
23
|
-
element: import('vue').Ref<MpCodeSnippet | null, MpCodeSnippet | null>;
|
|
24
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
-
"language-detected": (language: string) => any;
|
|
26
|
-
"line-activate": (event: CustomEvent<{
|
|
27
|
-
line: number;
|
|
28
|
-
}>) => any;
|
|
29
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
-
"onLanguage-detected"?: ((language: string) => any) | undefined;
|
|
31
|
-
"onLine-activate"?: ((event: CustomEvent<{
|
|
32
|
-
line: number;
|
|
33
|
-
}>) => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
|
-
element: unknown;
|
|
36
|
-
}, any>;
|
|
37
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
-
export default _default;
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
-
new (): {
|
|
41
|
-
$slots: S;
|
|
42
|
-
};
|
|
43
|
-
};
|