@mintplayer/vue-bootstrap 3.31.0 → 3.32.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/README.md +12 -11
- package/accordion/index.mjs +26 -24
- package/card/index.mjs +65 -29
- package/carousel/index.mjs +15 -14
- package/checkbox/index.mjs +1 -1
- package/checkbox/src/BsCheckbox.vue.d.ts +1 -1
- package/chunks/BsCheckbox-D7eBD_nx.mjs +109 -0
- package/chunks/{BsDatatable.generated-87kABKmn.mjs → BsDatatable.generated-Dy-c1OTA.mjs} +16 -14
- package/chunks/{BsDatetimePicker.generated-DB9itVGP.mjs → BsDatetimePicker.generated-C7_hr0cg.mjs} +11 -10
- package/datatable/index.mjs +1 -1
- package/datatable/src/generated/BsDatatable.generated.vue.d.ts +1 -1
- package/datepicker/index.mjs +11 -10
- package/datepicker/src/generated/BsDatepicker.generated.vue.d.ts +1 -1
- package/datetime-picker/index.mjs +1 -1
- package/datetime-picker/src/generated/BsDatetimePicker.generated.vue.d.ts +1 -1
- package/dropdown-menu/index.mjs +25 -18
- package/file-manager/index.mjs +10 -9
- package/input-group/index.mjs +12 -10
- package/machine/index.mjs +55 -44
- package/machine/src/index.d.ts +1 -0
- package/machine/src/mark-links.d.ts +10 -0
- package/nav/index.mjs +92 -0
- package/nav/src/generated/BsNav.generated.vue.d.ts +162 -0
- package/nav/src/generated/BsNavItem.generated.vue.d.ts +122 -0
- package/nav/src/generated/index.d.ts +2 -0
- package/nav/src/generated/nav-item.view.generated.vue.d.ts +27 -0
- package/nav/src/generated/nav.view.generated.vue.d.ts +27 -0
- package/nav/src/index.d.ts +1 -0
- package/nav/src/nav-item.vue.d.ts +2 -0
- package/navbar/index.mjs +81 -72
- package/navbar/src/navbar-item.vue.d.ts +2 -0
- package/otp-input/index.mjs +10 -9
- package/otp-input/src/generated/BsOtpInput.generated.vue.d.ts +1 -1
- package/package.json +10 -2
- package/pagination/index.mjs +27 -20
- package/phone-input/index.mjs +12 -11
- package/query-builder/index.mjs +12 -10
- package/radio/index.mjs +46 -33
- package/radio/src/BsRadio.vue.d.ts +1 -1
- package/ribbon/src/generated/BsRibbonCheckBox.generated.vue.d.ts +1 -1
- package/ribbon/src/generated/BsRibbonColorPicker.generated.vue.d.ts +1 -1
- package/scheduler/index.mjs +35 -34
- package/select/index.mjs +10 -9
- package/signature-pad/index.mjs +15 -14
- package/spinner/index.mjs +63 -0
- package/spinner/src/generated/BsSpinner.generated.vue.d.ts +60 -0
- package/spinner/src/generated/index.d.ts +1 -0
- package/spinner/src/generated/spinner.view.generated.vue.d.ts +9 -0
- package/spinner/src/index.d.ts +1 -0
- package/tab-control/index.mjs +29 -27
- package/timepicker/index.mjs +17 -16
- package/timepicker/src/generated/BsTimepicker.generated.vue.d.ts +1 -1
- package/toggle-button/index.mjs +1 -1
- package/tree-select/src/generated/BsTreeSelect.generated.vue.d.ts +1 -1
- package/typeahead/index.mjs +62 -59
- package/typeahead/src/BsTypeahead.vue.d.ts +1 -1
- package/chunks/BsCheckbox-C8H1KT2D.mjs +0 -96
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { ComponentPublicInstance, PropType } from 'vue';
|
|
2
|
+
import { NavInputs } from '@mintplayer/ui-core/nav';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
template: ({
|
|
10
|
+
$: import('vue').ComponentInternalInstance;
|
|
11
|
+
$data: {};
|
|
12
|
+
$props: {
|
|
13
|
+
readonly root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
14
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
15
|
+
$attrs: import('vue').Attrs;
|
|
16
|
+
$refs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
} & {
|
|
19
|
+
root: HTMLUListElement;
|
|
20
|
+
};
|
|
21
|
+
$slots: Readonly<{
|
|
22
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
$root: ComponentPublicInstance | null;
|
|
25
|
+
$parent: ComponentPublicInstance | null;
|
|
26
|
+
$host: Element | null;
|
|
27
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
28
|
+
$el: HTMLUListElement;
|
|
29
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
30
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
31
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
32
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
33
|
+
created?: (() => void) | (() => void)[];
|
|
34
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
35
|
+
mounted?: (() => void) | (() => void)[];
|
|
36
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
37
|
+
updated?: (() => void) | (() => void)[];
|
|
38
|
+
activated?: (() => void) | (() => void)[];
|
|
39
|
+
deactivated?: (() => void) | (() => void)[];
|
|
40
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
41
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
42
|
+
destroyed?: (() => void) | (() => void)[];
|
|
43
|
+
unmounted?: (() => void) | (() => void)[];
|
|
44
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
45
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
46
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
47
|
+
};
|
|
48
|
+
$forceUpdate: () => void;
|
|
49
|
+
$nextTick: typeof import('vue').nextTick;
|
|
50
|
+
$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;
|
|
51
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
52
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
53
|
+
}> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
54
|
+
$slots: Readonly<{
|
|
55
|
+
default?: () => unknown;
|
|
56
|
+
}> & {
|
|
57
|
+
default?: () => unknown;
|
|
58
|
+
};
|
|
59
|
+
}) | null;
|
|
60
|
+
};
|
|
61
|
+
rootEl: HTMLUListElement;
|
|
62
|
+
};
|
|
63
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
64
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
65
|
+
variant: {
|
|
66
|
+
type: PropType<NavInputs["variant"]>;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
69
|
+
fill: {
|
|
70
|
+
type: PropType<NavInputs["fill"]>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
justified: {
|
|
74
|
+
type: PropType<NavInputs["justified"]>;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
cardHeader: {
|
|
78
|
+
type: PropType<NavInputs["cardHeader"]>;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
+
variant: {
|
|
83
|
+
type: PropType<NavInputs["variant"]>;
|
|
84
|
+
default: null;
|
|
85
|
+
};
|
|
86
|
+
fill: {
|
|
87
|
+
type: PropType<NavInputs["fill"]>;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
justified: {
|
|
91
|
+
type: PropType<NavInputs["justified"]>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
cardHeader: {
|
|
95
|
+
type: PropType<NavInputs["cardHeader"]>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
}>> & Readonly<{}>, {
|
|
99
|
+
fill: boolean;
|
|
100
|
+
variant: import('@mintplayer/ui-core/nav').NavVariant | null;
|
|
101
|
+
justified: boolean;
|
|
102
|
+
cardHeader: boolean;
|
|
103
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
104
|
+
template: ({
|
|
105
|
+
$: import('vue').ComponentInternalInstance;
|
|
106
|
+
$data: {};
|
|
107
|
+
$props: {
|
|
108
|
+
readonly root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
110
|
+
$attrs: import('vue').Attrs;
|
|
111
|
+
$refs: {
|
|
112
|
+
[x: string]: unknown;
|
|
113
|
+
} & {
|
|
114
|
+
root: HTMLUListElement;
|
|
115
|
+
};
|
|
116
|
+
$slots: Readonly<{
|
|
117
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
118
|
+
}>;
|
|
119
|
+
$root: ComponentPublicInstance | null;
|
|
120
|
+
$parent: ComponentPublicInstance | null;
|
|
121
|
+
$host: Element | null;
|
|
122
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
123
|
+
$el: HTMLUListElement;
|
|
124
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
125
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
126
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
127
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
128
|
+
created?: (() => void) | (() => void)[];
|
|
129
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
130
|
+
mounted?: (() => void) | (() => void)[];
|
|
131
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
132
|
+
updated?: (() => void) | (() => void)[];
|
|
133
|
+
activated?: (() => void) | (() => void)[];
|
|
134
|
+
deactivated?: (() => void) | (() => void)[];
|
|
135
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
136
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
137
|
+
destroyed?: (() => void) | (() => void)[];
|
|
138
|
+
unmounted?: (() => void) | (() => void)[];
|
|
139
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
140
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
141
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
142
|
+
};
|
|
143
|
+
$forceUpdate: () => void;
|
|
144
|
+
$nextTick: typeof import('vue').nextTick;
|
|
145
|
+
$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;
|
|
146
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
147
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
148
|
+
}> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
149
|
+
$slots: Readonly<{
|
|
150
|
+
default?: () => unknown;
|
|
151
|
+
}> & {
|
|
152
|
+
default?: () => unknown;
|
|
153
|
+
};
|
|
154
|
+
}) | null;
|
|
155
|
+
}, HTMLUListElement>;
|
|
156
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
157
|
+
export default _default;
|
|
158
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
159
|
+
new (): {
|
|
160
|
+
$slots: S;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
template: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
13
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
14
|
+
$attrs: import('vue').Attrs;
|
|
15
|
+
$refs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} & {
|
|
18
|
+
root: HTMLLIElement;
|
|
19
|
+
};
|
|
20
|
+
$slots: Readonly<{
|
|
21
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
$root: ComponentPublicInstance | null;
|
|
24
|
+
$parent: ComponentPublicInstance | null;
|
|
25
|
+
$host: Element | null;
|
|
26
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
27
|
+
$el: HTMLLIElement;
|
|
28
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
29
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
30
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
31
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
32
|
+
created?: (() => void) | (() => void)[];
|
|
33
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
34
|
+
mounted?: (() => void) | (() => void)[];
|
|
35
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
36
|
+
updated?: (() => void) | (() => void)[];
|
|
37
|
+
activated?: (() => void) | (() => void)[];
|
|
38
|
+
deactivated?: (() => void) | (() => void)[];
|
|
39
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
40
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
41
|
+
destroyed?: (() => void) | (() => void)[];
|
|
42
|
+
unmounted?: (() => void) | (() => void)[];
|
|
43
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
44
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
45
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
46
|
+
};
|
|
47
|
+
$forceUpdate: () => void;
|
|
48
|
+
$nextTick: typeof import('vue').nextTick;
|
|
49
|
+
$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;
|
|
50
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
51
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
52
|
+
}> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
53
|
+
$slots: Readonly<{
|
|
54
|
+
default?: () => unknown;
|
|
55
|
+
}> & {
|
|
56
|
+
default?: () => unknown;
|
|
57
|
+
};
|
|
58
|
+
}) | null;
|
|
59
|
+
};
|
|
60
|
+
rootEl: HTMLLIElement;
|
|
61
|
+
};
|
|
62
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
63
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
64
|
+
template: ({
|
|
65
|
+
$: import('vue').ComponentInternalInstance;
|
|
66
|
+
$data: {};
|
|
67
|
+
$props: {
|
|
68
|
+
readonly root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
69
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
70
|
+
$attrs: import('vue').Attrs;
|
|
71
|
+
$refs: {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
} & {
|
|
74
|
+
root: HTMLLIElement;
|
|
75
|
+
};
|
|
76
|
+
$slots: Readonly<{
|
|
77
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
78
|
+
}>;
|
|
79
|
+
$root: ComponentPublicInstance | null;
|
|
80
|
+
$parent: ComponentPublicInstance | null;
|
|
81
|
+
$host: Element | null;
|
|
82
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
83
|
+
$el: HTMLLIElement;
|
|
84
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
85
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
86
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
87
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
88
|
+
created?: (() => void) | (() => void)[];
|
|
89
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
90
|
+
mounted?: (() => void) | (() => void)[];
|
|
91
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
92
|
+
updated?: (() => void) | (() => void)[];
|
|
93
|
+
activated?: (() => void) | (() => void)[];
|
|
94
|
+
deactivated?: (() => void) | (() => void)[];
|
|
95
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
96
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
97
|
+
destroyed?: (() => void) | (() => void)[];
|
|
98
|
+
unmounted?: (() => void) | (() => void)[];
|
|
99
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
100
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
101
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
102
|
+
};
|
|
103
|
+
$forceUpdate: () => void;
|
|
104
|
+
$nextTick: typeof import('vue').nextTick;
|
|
105
|
+
$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;
|
|
106
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
107
|
+
root: import('@mintplayer/ui-core/nav').NavProps["root"];
|
|
108
|
+
}> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
109
|
+
$slots: Readonly<{
|
|
110
|
+
default?: () => unknown;
|
|
111
|
+
}> & {
|
|
112
|
+
default?: () => unknown;
|
|
113
|
+
};
|
|
114
|
+
}) | null;
|
|
115
|
+
}, HTMLLIElement>;
|
|
116
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
117
|
+
export default _default;
|
|
118
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
119
|
+
new (): {
|
|
120
|
+
$slots: S;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NavProps } from '@mintplayer/ui-core/nav';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
root: NavProps['root'];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
root: HTMLLIElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLLIElement;
|
|
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: HTMLLIElement;
|
|
20
|
+
}, HTMLLIElement>;
|
|
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 { NavProps } from '@mintplayer/ui-core/nav';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
root: NavProps['root'];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
root: HTMLUListElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLUListElement;
|
|
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: HTMLUListElement;
|
|
20
|
+
}, HTMLUListElement>;
|
|
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 @@
|
|
|
1
|
+
export * from './generated';
|
package/navbar/index.mjs
CHANGED
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createBlock as
|
|
3
|
-
import { installLightStyles as
|
|
4
|
-
import {
|
|
1
|
+
import { markLinks as e, useCore as t, vueCoreContextKey as n } from "../machine/index.mjs";
|
|
2
|
+
import { createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, inject as d, mergeProps as f, openBlock as p, renderSlot as m, toDisplayString as h, unref as g, useTemplateRef as _, withCtx as v } from "vue";
|
|
3
|
+
import { installLightStyles as y } from "@mintplayer/ui-core/scoped-styles";
|
|
4
|
+
import { bootstrapDropdown as b } from "@mintplayer/ui-core/bootstrap/dropdown";
|
|
5
|
+
import { bootstrapNav as x } from "@mintplayer/ui-core/bootstrap/nav";
|
|
6
|
+
import { NAVBAR_NESTING as S, navbarCore as C, navbarDropdownCore as w, navbarItemCore as T, navbarNavCore as E, navbarScopedStyles as D } from "@mintplayer/ui-core/navbar";
|
|
7
|
+
import { bootstrapNavbar as O } from "@mintplayer/ui-core/bootstrap/navbar";
|
|
5
8
|
//#endregion
|
|
6
9
|
//#region libs/mintplayer-vue-bootstrap/navbar/src/generated/navbar.view.generated.vue
|
|
7
|
-
var
|
|
10
|
+
var k = /* @__PURE__ */ u({
|
|
8
11
|
__name: "navbar.view.generated",
|
|
9
12
|
props: {
|
|
10
13
|
view: {},
|
|
11
14
|
brand: {}
|
|
12
15
|
},
|
|
13
16
|
setup(e) {
|
|
14
|
-
return (t,
|
|
17
|
+
return (t, n) => (p(), a("nav", f({
|
|
15
18
|
"data-mps": "navbar",
|
|
16
19
|
ref: "root"
|
|
17
20
|
}, e.view.root), [
|
|
18
|
-
t.$slots.brand ? (
|
|
21
|
+
t.$slots.brand ? (p(), a("div", f({
|
|
19
22
|
key: 0,
|
|
20
23
|
"data-mps": "navbar"
|
|
21
|
-
}, e.brand), [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
}, e.brand), [m(t.$slots, "brand")], 16)) : i("", !0),
|
|
25
|
+
o("input", f({ "data-mps": "navbar" }, e.view.toggle), null, 16),
|
|
26
|
+
o("label", f({ "data-mps": "navbar" }, e.view.toggler), [m(t.$slots, "toggler", {}, () => [
|
|
27
|
+
o("span", f({ "data-mps": "navbar" }, e.view.bar), null, 16),
|
|
28
|
+
o("span", f({ "data-mps": "navbar" }, e.view.bar), null, 16),
|
|
29
|
+
o("span", f({ "data-mps": "navbar" }, e.view.bar), null, 16)
|
|
27
30
|
])], 16),
|
|
28
|
-
|
|
31
|
+
o("div", f({ "data-mps": "navbar" }, e.view.collapse), [o("div", f({ "data-mps": "navbar" }, e.view.inner), [m(t.$slots, "default")], 16)], 16)
|
|
29
32
|
], 16));
|
|
30
33
|
}
|
|
31
|
-
}),
|
|
34
|
+
}), A = /* @__PURE__ */ u({
|
|
32
35
|
name: "BsNavbar",
|
|
33
36
|
__name: "BsNavbar.generated",
|
|
34
37
|
props: {
|
|
@@ -54,79 +57,82 @@ var x = /* @__PURE__ */ s({
|
|
|
54
57
|
}
|
|
55
58
|
},
|
|
56
59
|
emits: ["expandedchange", "update:expanded"],
|
|
57
|
-
setup(
|
|
58
|
-
let
|
|
59
|
-
|
|
60
|
-
let
|
|
61
|
-
breakpoint:
|
|
62
|
-
color:
|
|
63
|
-
expanded:
|
|
64
|
-
positioning:
|
|
65
|
-
labels:
|
|
60
|
+
setup(e, { expose: n, emit: i }) {
|
|
61
|
+
let a = e, o = i;
|
|
62
|
+
y(b.key, b.css, { order: b.order }), y(x.key, x.css, { order: x.order }), y(O.key, O.css, { order: O.order }), y("navbar", D);
|
|
63
|
+
let c = _("template"), l = t(C, () => ({
|
|
64
|
+
breakpoint: a.breakpoint,
|
|
65
|
+
color: a.color,
|
|
66
|
+
expanded: a.expanded,
|
|
67
|
+
positioning: a.positioning,
|
|
68
|
+
labels: a.labels
|
|
66
69
|
}), {
|
|
67
70
|
idPrefix: "bs-navbar",
|
|
68
|
-
root: () =>
|
|
69
|
-
emit: (e, t) =>
|
|
71
|
+
root: () => c.value?.$el,
|
|
72
|
+
emit: (e, t) => o(e.startsWith("update:") ? e : e.toLowerCase(), t),
|
|
70
73
|
models: ["expanded"]
|
|
71
|
-
}),
|
|
72
|
-
return
|
|
74
|
+
}), u = l.props;
|
|
75
|
+
return n({ toggle: (...e) => l.call("toggle", e) }), (e, t) => (p(), r(k, f({
|
|
73
76
|
ref_key: "template",
|
|
74
|
-
ref:
|
|
75
|
-
},
|
|
76
|
-
default:
|
|
77
|
+
ref: c
|
|
78
|
+
}, g(u)), s({
|
|
79
|
+
default: v(() => [m(e.$slots, "default")]),
|
|
77
80
|
_: 2
|
|
78
81
|
}, [e.$slots.brand ? {
|
|
79
82
|
name: "brand",
|
|
80
|
-
fn:
|
|
83
|
+
fn: v(() => [m(e.$slots, "brand")]),
|
|
81
84
|
key: "0"
|
|
82
85
|
} : void 0, e.$slots.toggler ? {
|
|
83
86
|
name: "toggler",
|
|
84
|
-
fn:
|
|
87
|
+
fn: v(() => [m(e.$slots, "toggler")]),
|
|
85
88
|
key: "1"
|
|
86
89
|
} : void 0]), 1040));
|
|
87
90
|
}
|
|
88
|
-
}),
|
|
91
|
+
}), j = /* @__PURE__ */ u({
|
|
89
92
|
__name: "navbar-nav.view.generated",
|
|
90
93
|
props: { bag: {} },
|
|
91
94
|
setup(e) {
|
|
92
|
-
return (t, n) => (
|
|
95
|
+
return (t, n) => (p(), a("div", f({
|
|
93
96
|
"data-mps": "navbar",
|
|
94
97
|
ref: "root"
|
|
95
|
-
}, e.bag), [
|
|
98
|
+
}, e.bag), [m(t.$slots, "default")], 16));
|
|
96
99
|
}
|
|
97
|
-
}),
|
|
100
|
+
}), M = /* @__PURE__ */ u({
|
|
98
101
|
name: "BsNavbarNav",
|
|
99
102
|
__name: "BsNavbarNav.generated",
|
|
100
103
|
props: { align: {
|
|
101
104
|
type: String,
|
|
102
105
|
default: "start"
|
|
103
106
|
} },
|
|
104
|
-
setup(
|
|
105
|
-
let
|
|
106
|
-
|
|
107
|
-
let i =
|
|
107
|
+
setup(e) {
|
|
108
|
+
let n = e;
|
|
109
|
+
y(b.key, b.css, { order: b.order }), y(x.key, x.css, { order: x.order }), y(O.key, O.css, { order: O.order }), y("navbar", D);
|
|
110
|
+
let i = _("template"), a = t(E, () => ({ align: n.align }), {
|
|
108
111
|
idPrefix: "bs-navbar-nav",
|
|
109
112
|
root: () => i.value?.$el,
|
|
110
113
|
emit: () => void 0
|
|
111
114
|
}).props;
|
|
112
|
-
return (e,
|
|
115
|
+
return (e, t) => (p(), r(j, f({
|
|
113
116
|
ref_key: "template",
|
|
114
117
|
ref: i
|
|
115
|
-
},
|
|
116
|
-
default:
|
|
118
|
+
}, g(a)), {
|
|
119
|
+
default: v(() => [m(e.$slots, "default")]),
|
|
117
120
|
_: 3
|
|
118
121
|
}, 16));
|
|
119
122
|
}
|
|
120
|
-
}),
|
|
123
|
+
}), N = /* @__PURE__ */ u({
|
|
121
124
|
__name: "navbar-item.view.generated",
|
|
122
125
|
props: { bag: {} },
|
|
123
126
|
setup(e) {
|
|
124
|
-
return (t, n) => (
|
|
127
|
+
return (t, n) => (p(), a("div", f({
|
|
125
128
|
"data-mps": "navbar",
|
|
126
129
|
ref: "root"
|
|
127
|
-
}, e.bag), [
|
|
130
|
+
}, e.bag), [m(t.$slots, "default")], 16));
|
|
128
131
|
}
|
|
129
|
-
}),
|
|
132
|
+
}), P = (t, { slots: r }) => {
|
|
133
|
+
let i = (d(n(S), null)?.value.depth ?? -1) >= 0, a = r.default?.();
|
|
134
|
+
return i ? a : e(a, "nav-link", "navbar");
|
|
135
|
+
}, F = /* @__PURE__ */ u({
|
|
130
136
|
name: "BsNavbarItem",
|
|
131
137
|
__name: "BsNavbarItem.generated",
|
|
132
138
|
props: {
|
|
@@ -139,38 +145,41 @@ var x = /* @__PURE__ */ s({
|
|
|
139
145
|
default: !1
|
|
140
146
|
}
|
|
141
147
|
},
|
|
142
|
-
setup(
|
|
143
|
-
let
|
|
144
|
-
|
|
145
|
-
let i =
|
|
146
|
-
active:
|
|
147
|
-
disabled:
|
|
148
|
+
setup(e) {
|
|
149
|
+
let n = e;
|
|
150
|
+
y(b.key, b.css, { order: b.order }), y(x.key, x.css, { order: x.order }), y(O.key, O.css, { order: O.order }), y("navbar", D);
|
|
151
|
+
let i = _("template"), a = t(T, () => ({
|
|
152
|
+
active: n.active,
|
|
153
|
+
disabled: n.disabled
|
|
148
154
|
}), {
|
|
149
155
|
idPrefix: "bs-navbar-item",
|
|
150
156
|
root: () => i.value?.$el,
|
|
151
157
|
emit: () => void 0
|
|
152
158
|
}).props;
|
|
153
|
-
return (e,
|
|
159
|
+
return (e, t) => (p(), r(N, f({
|
|
154
160
|
ref_key: "template",
|
|
155
161
|
ref: i
|
|
156
|
-
},
|
|
157
|
-
default:
|
|
162
|
+
}, g(a)), {
|
|
163
|
+
default: v(() => [l(g(P), null, {
|
|
164
|
+
default: v(() => [m(e.$slots, "default")]),
|
|
165
|
+
_: 3
|
|
166
|
+
})]),
|
|
158
167
|
_: 3
|
|
159
168
|
}, 16));
|
|
160
169
|
}
|
|
161
|
-
}),
|
|
170
|
+
}), I = /* @__PURE__ */ u({
|
|
162
171
|
__name: "navbar-dropdown.view.generated",
|
|
163
172
|
props: {
|
|
164
173
|
view: {},
|
|
165
174
|
label: {}
|
|
166
175
|
},
|
|
167
176
|
setup(e) {
|
|
168
|
-
return (t, n) => (
|
|
177
|
+
return (t, n) => (p(), a("details", f({
|
|
169
178
|
"data-mps": "navbar",
|
|
170
179
|
ref: "root"
|
|
171
|
-
}, e.view.details), [
|
|
180
|
+
}, e.view.details), [o("summary", f({ "data-mps": "navbar" }, e.view.summary), [m(t.$slots, "labelTemplate", {}, () => [c(h(e.label), 1)])], 16), o("div", f({ "data-mps": "navbar" }, e.view.panel), [m(t.$slots, "default")], 16)], 16));
|
|
172
181
|
}
|
|
173
|
-
}),
|
|
182
|
+
}), L = /* @__PURE__ */ u({
|
|
174
183
|
name: "BsNavbarDropdown",
|
|
175
184
|
__name: "BsNavbarDropdown.generated",
|
|
176
185
|
props: {
|
|
@@ -183,29 +192,29 @@ var x = /* @__PURE__ */ s({
|
|
|
183
192
|
default: !1
|
|
184
193
|
}
|
|
185
194
|
},
|
|
186
|
-
setup(
|
|
187
|
-
let
|
|
188
|
-
|
|
189
|
-
let i =
|
|
190
|
-
label:
|
|
191
|
-
active:
|
|
195
|
+
setup(e) {
|
|
196
|
+
let n = e;
|
|
197
|
+
y(b.key, b.css, { order: b.order }), y(x.key, x.css, { order: x.order }), y(O.key, O.css, { order: O.order }), y("navbar", D);
|
|
198
|
+
let i = _("template"), a = t(w, () => ({
|
|
199
|
+
label: n.label,
|
|
200
|
+
active: n.active
|
|
192
201
|
}), {
|
|
193
202
|
idPrefix: "bs-navbar-dropdown",
|
|
194
203
|
root: () => i.value?.$el,
|
|
195
204
|
emit: () => void 0
|
|
196
205
|
}).props;
|
|
197
|
-
return (e,
|
|
206
|
+
return (e, t) => (p(), r(I, f({
|
|
198
207
|
ref_key: "template",
|
|
199
208
|
ref: i
|
|
200
|
-
},
|
|
201
|
-
default:
|
|
209
|
+
}, g(a)), s({
|
|
210
|
+
default: v(() => [m(e.$slots, "default")]),
|
|
202
211
|
_: 2
|
|
203
212
|
}, [e.$slots.labelTemplate ? {
|
|
204
213
|
name: "labelTemplate",
|
|
205
|
-
fn:
|
|
214
|
+
fn: v(() => [m(e.$slots, "labelTemplate")]),
|
|
206
215
|
key: "0"
|
|
207
216
|
} : void 0]), 1040));
|
|
208
217
|
}
|
|
209
218
|
});
|
|
210
219
|
//#endregion
|
|
211
|
-
export {
|
|
220
|
+
export { A as BsNavbar, L as BsNavbarDropdown, F as BsNavbarItem, M as BsNavbarNav };
|