@mintplayer/vue-bootstrap 3.34.0 → 3.35.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/chunks/{BsSplitterPanel.generated-n5gUjpbH.mjs → BsSplitterPanel.generated-DffC6j_Z.mjs} +24 -6
- package/dock/index.mjs +106 -26
- package/dock/src/generated/BsDockManager.generated.vue.d.ts +46 -1
- package/dock/src/generated/dock-manager.view.generated.vue.d.ts +20 -2
- package/dock/src/generated/dock-tray.view.generated.vue.d.ts +6 -0
- package/dock/src/index.d.ts +2 -2
- package/file-manager/index.mjs +1 -1
- package/package.json +2 -5
- package/splitter/index.mjs +1 -1
- package/splitter/src/generated/BsSplitterPanel.generated.vue.d.ts +33 -2
package/chunks/{BsSplitterPanel.generated-n5gUjpbH.mjs → BsSplitterPanel.generated-DffC6j_Z.mjs}
RENAMED
|
@@ -91,23 +91,41 @@ var h = /* @__PURE__ */ i({
|
|
|
91
91
|
}, {
|
|
92
92
|
class: [e.view.root.class, t.$attrs.class],
|
|
93
93
|
style: t.$attrs.style
|
|
94
|
-
}), [r("div", a({ "data-mps": "splitter" }, e.view.divider), null, 16), r("div", a({ "data-mps": "splitter" }, e.view.pane), [s(t.$slots, "default")], 16)], 16));
|
|
94
|
+
}), [r("div", a({ "data-mps": "splitter" }, e.view.divider), null, 16), r("div", a({ "data-mps": "splitter" }, e.view.pane, { style: e.view.paneStyle }), [s(t.$slots, "default")], 16)], 16));
|
|
95
95
|
}
|
|
96
96
|
}), v = /* @__PURE__ */ i({
|
|
97
97
|
name: "BsSplitterPanel",
|
|
98
98
|
__name: "BsSplitterPanel.generated",
|
|
99
|
-
props: {
|
|
99
|
+
props: {
|
|
100
|
+
size: {
|
|
101
|
+
type: null,
|
|
102
|
+
default: null
|
|
103
|
+
},
|
|
104
|
+
minSize: {
|
|
105
|
+
type: Number,
|
|
106
|
+
default: null
|
|
107
|
+
},
|
|
108
|
+
maxSize: {
|
|
109
|
+
type: Number,
|
|
110
|
+
default: null
|
|
111
|
+
}
|
|
112
|
+
},
|
|
100
113
|
setup(n) {
|
|
114
|
+
let r = n;
|
|
101
115
|
d("splitter", m);
|
|
102
|
-
let
|
|
116
|
+
let i = l("template"), f = e(p, () => ({
|
|
117
|
+
size: r.size,
|
|
118
|
+
minSize: r.minSize,
|
|
119
|
+
maxSize: r.maxSize
|
|
120
|
+
}), {
|
|
103
121
|
idPrefix: "bs-splitter-panel",
|
|
104
|
-
root: () =>
|
|
122
|
+
root: () => i.value?.$el,
|
|
105
123
|
emit: () => void 0
|
|
106
124
|
}).props;
|
|
107
125
|
return (e, n) => (o(), t(_, a({
|
|
108
126
|
ref_key: "template",
|
|
109
|
-
ref:
|
|
110
|
-
}, c(
|
|
127
|
+
ref: i
|
|
128
|
+
}, c(f)), {
|
|
111
129
|
default: u(() => [s(e.$slots, "default")]),
|
|
112
130
|
_: 3
|
|
113
131
|
}, 16));
|
package/dock/index.mjs
CHANGED
|
@@ -1,39 +1,74 @@
|
|
|
1
1
|
import { useCore as e } from "../machine/index.mjs";
|
|
2
|
-
import { n as t, t as n } from "../chunks/BsSplitterPanel.generated-
|
|
2
|
+
import { n as t, t as n } from "../chunks/BsSplitterPanel.generated-DffC6j_Z.mjs";
|
|
3
3
|
import { Fragment as r, Teleport as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeProps as m, openBlock as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useTemplateRef as b, withCtx as x } from "vue";
|
|
4
4
|
import { installLightStyles as S } from "@mintplayer/ui-core/scoped-styles";
|
|
5
|
-
import { DOCK_LABELS as C, EMPTY_DOCK_LAYOUT as w,
|
|
5
|
+
import { DOCK_LABELS as C, EMPTY_DOCK_LAYOUT as w, closeDockPane as T, closeDockPanes as E, dockCore as D, dockOpenPanes as O, dockScopedStyles as k, isDockPaneOpen as A, mergeDockLabels as j, openDockPane as M } from "@mintplayer/ui-core/dock";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region libs/mintplayer-vue-bootstrap/dock/src/generated/dock-node.view.generated.vue
|
|
8
|
-
var
|
|
8
|
+
var N = /* @__PURE__ */ d({
|
|
9
9
|
__name: "dock-node.view.generated",
|
|
10
10
|
props: { node: {} },
|
|
11
11
|
setup(e) {
|
|
12
12
|
return (i, l) => (h(), s("div", p({ "data-mps": "dock" }, e.node.bag), [e.node.split ? (h(), a(y(t), {
|
|
13
13
|
key: 0,
|
|
14
14
|
orientation: e.node.direction,
|
|
15
|
-
minPanelSize:
|
|
15
|
+
minPanelSize: e.node.minPaneSize,
|
|
16
16
|
onResizeEnd: e.node.onResizeEnd,
|
|
17
17
|
onResizing: e.node.onResizing
|
|
18
18
|
}, {
|
|
19
|
-
default: x(() => [(h(!0), s(r, null, g(e.node.children, (e) => (h(), a(y(n), {
|
|
20
|
-
|
|
19
|
+
default: x(() => [(h(!0), s(r, null, g(e.node.children, (e) => (h(), a(y(n), {
|
|
20
|
+
key: e.key,
|
|
21
|
+
size: e.size,
|
|
22
|
+
minSize: e.minSize,
|
|
23
|
+
maxSize: e.maxSize
|
|
24
|
+
}, {
|
|
25
|
+
default: x(() => [u(N, { node: e.node }, null, 8, ["node"])]),
|
|
21
26
|
_: 2
|
|
22
|
-
},
|
|
27
|
+
}, 1032, [
|
|
28
|
+
"size",
|
|
29
|
+
"minSize",
|
|
30
|
+
"maxSize"
|
|
31
|
+
]))), 128))]),
|
|
23
32
|
_: 1
|
|
24
33
|
}, 8, [
|
|
25
34
|
"orientation",
|
|
35
|
+
"minPanelSize",
|
|
26
36
|
"onResizeEnd",
|
|
27
37
|
"onResizing"
|
|
28
|
-
])) : o("", !0), e.node.stack ? (h(), s(r, { key: 1 }, [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
])) : o("", !0), e.node.stack ? (h(), s(r, { key: 1 }, [
|
|
39
|
+
e.node.stack.caption ? (h(), s("div", p({
|
|
40
|
+
key: 0,
|
|
41
|
+
"data-mps": "dock"
|
|
42
|
+
}, e.node.stack.caption.bag), [c("button", p({ "data-mps": "dock" }, e.node.stack.caption.title), v(e.node.stack.caption.titleText), 17), e.node.stack.caption.close ? (h(), s("button", p({
|
|
43
|
+
key: 0,
|
|
44
|
+
"data-mps": "dock"
|
|
45
|
+
}, e.node.stack.caption.close), "×", 16)) : o("", !0)], 16)) : o("", !0),
|
|
46
|
+
e.node.stack.tabbed ? (h(), s("div", p({
|
|
47
|
+
key: 1,
|
|
48
|
+
"data-mps": "dock"
|
|
49
|
+
}, e.node.stack.strip), [(h(!0), s(r, null, g(e.node.stack.tabs, (e) => (h(), s(r, { key: e.key }, [e.placeholder ? (h(), s("span", p({
|
|
50
|
+
key: 0,
|
|
51
|
+
"data-mps": "dock"
|
|
52
|
+
}, { ref_for: !0 }, e.bag, { style: e.style }), v(e.title), 17)) : (h(), s("button", p({
|
|
53
|
+
key: 1,
|
|
54
|
+
"data-mps": "dock"
|
|
55
|
+
}, { ref_for: !0 }, e.bag), v(e.title), 17))], 64))), 128))], 16)) : o("", !0),
|
|
56
|
+
c("div", p({ "data-mps": "dock" }, e.node.stack.body), v(e.node.stack.empty), 17)
|
|
57
|
+
], 64)) : o("", !0)], 16));
|
|
35
58
|
}
|
|
36
|
-
}),
|
|
59
|
+
}), P = /* @__PURE__ */ d({
|
|
60
|
+
__name: "dock-tray.view.generated",
|
|
61
|
+
props: { tray: {} },
|
|
62
|
+
setup(e) {
|
|
63
|
+
return (t, n) => (h(), s("div", p({ "data-mps": "dock" }, e.tray.bag), [(h(!0), s(r, null, g(e.tray.rows, (e) => (h(), s("div", p({
|
|
64
|
+
"data-mps": "dock",
|
|
65
|
+
key: e.key
|
|
66
|
+
}, { ref_for: !0 }, e.bag), [(h(!0), s(r, null, g(e.toolbars, (e) => (h(), s("div", p({
|
|
67
|
+
"data-mps": "dock",
|
|
68
|
+
key: e.key
|
|
69
|
+
}, { ref_for: !0 }, e.bag, { style: e.style }), [c("button", p({ "data-mps": "dock" }, { ref_for: !0 }, e.thumb), null, 16), c("div", p({ "data-mps": "dock" }, { ref_for: !0 }, e.body), null, 16)], 16))), 128))], 16))), 128))], 16));
|
|
70
|
+
}
|
|
71
|
+
}), F = /* @__PURE__ */ d({
|
|
37
72
|
inheritAttrs: !1,
|
|
38
73
|
__name: "dock-manager.view.generated",
|
|
39
74
|
props: { view: {} },
|
|
@@ -51,24 +86,48 @@ var O = /* @__PURE__ */ d({
|
|
|
51
86
|
class: [e.view.root.class, t.$attrs.class],
|
|
52
87
|
style: t.$attrs.style
|
|
53
88
|
}), [
|
|
54
|
-
|
|
89
|
+
(h(!0), s(r, null, g(e.view.traysBefore, (e) => (h(), a(P, {
|
|
90
|
+
key: e.key,
|
|
91
|
+
tray: e
|
|
92
|
+
}, null, 8, ["tray"]))), 128)),
|
|
93
|
+
c("div", p({ "data-mps": "dock" }, e.view.docked), [e.view.dockedNode ? (h(), a(N, {
|
|
55
94
|
key: 0,
|
|
56
95
|
node: e.view.dockedNode
|
|
57
96
|
}, null, 8, ["node"])) : o("", !0)], 16),
|
|
97
|
+
(h(!0), s(r, null, g(e.view.traysAfter, (e) => (h(), a(P, {
|
|
98
|
+
key: e.key,
|
|
99
|
+
tray: e
|
|
100
|
+
}, null, 8, ["tray"]))), 128)),
|
|
58
101
|
c("div", p({ "data-mps": "dock" }, e.view.floatingLayer), [(h(!0), s(r, null, g(e.view.floating, (e) => (h(), s("div", p({
|
|
59
102
|
"data-mps": "dock",
|
|
60
103
|
key: e.key
|
|
61
104
|
}, { ref_for: !0 }, e.bag, { style: e.style }), [
|
|
62
|
-
c("div", p({ "data-mps": "dock" }, { ref_for: !0 }, e.chrome), [
|
|
63
|
-
|
|
105
|
+
c("div", p({ "data-mps": "dock" }, { ref_for: !0 }, e.chrome), [e.titleButton ? (h(), s("button", p({
|
|
106
|
+
key: 0,
|
|
107
|
+
"data-mps": "dock"
|
|
108
|
+
}, { ref_for: !0 }, e.title), v(e.titleText), 17)) : (h(), s("div", p({
|
|
109
|
+
key: 1,
|
|
110
|
+
"data-mps": "dock"
|
|
111
|
+
}, { ref_for: !0 }, e.title), v(e.titleText), 17)), e.close ? (h(), s("button", p({
|
|
112
|
+
key: 2,
|
|
113
|
+
"data-mps": "dock"
|
|
114
|
+
}, { ref_for: !0 }, e.close), "×", 16)) : o("", !0)], 16),
|
|
115
|
+
c("div", p({ "data-mps": "dock" }, { ref_for: !0 }, e.content), [e.node ? (h(), a(N, {
|
|
64
116
|
key: 0,
|
|
65
117
|
node: e.node
|
|
66
|
-
}, null, 8, ["node"])) : o("", !0)
|
|
118
|
+
}, null, 8, ["node"])) : o("", !0), e.toolbar ? (h(), s("div", p({
|
|
119
|
+
key: 1,
|
|
120
|
+
"data-mps": "dock"
|
|
121
|
+
}, { ref_for: !0 }, e.toolbar.bag, { style: e.toolbar.style }), [c("button", p({ "data-mps": "dock" }, { ref_for: !0 }, e.toolbar.thumb), null, 16), c("div", p({ "data-mps": "dock" }, { ref_for: !0 }, e.toolbar.body), null, 16)], 16)) : o("", !0)], 16),
|
|
67
122
|
(h(!0), s(r, null, g(e.resizers, (e) => (h(), s("div", p({
|
|
68
123
|
"data-mps": "dock",
|
|
69
124
|
key: e.key
|
|
70
125
|
}, { ref_for: !0 }, e.bag), null, 16))), 128))
|
|
71
126
|
], 16))), 128))], 16),
|
|
127
|
+
c("div", p({ "data-mps": "dock" }, e.view.edgeLayer), [(h(!0), s(r, null, g(e.view.edgeGuides, (e) => (h(), s("button", p({
|
|
128
|
+
"data-mps": "dock",
|
|
129
|
+
key: e.key
|
|
130
|
+
}, { ref_for: !0 }, e.bag), v(e.glyph), 17))), 128))], 16),
|
|
72
131
|
c("div", p({ "data-mps": "dock" }, e.view.intersectionLayer), [(h(!0), s(r, null, g(e.view.intersections, (e) => (h(), s("div", p({
|
|
73
132
|
"data-mps": "dock",
|
|
74
133
|
key: e.key
|
|
@@ -86,10 +145,17 @@ var O = /* @__PURE__ */ d({
|
|
|
86
145
|
(h(!0), s(r, null, g(e.view.panes, (e) => (h(), s(r, { key: e.name }, [e.host ? (h(), a(i, {
|
|
87
146
|
key: 0,
|
|
88
147
|
to: e.host
|
|
89
|
-
}, [_(t.$slots, "pane", {
|
|
148
|
+
}, [_(t.$slots, "pane", {
|
|
149
|
+
pane: e.name,
|
|
150
|
+
kind: e.kind,
|
|
151
|
+
floating: e.floating,
|
|
152
|
+
active: e.active,
|
|
153
|
+
orientation: e.orientation,
|
|
154
|
+
overflowing: e.overflowing
|
|
155
|
+
})], 8, ["to"])) : o("", !0)], 64))), 128))
|
|
90
156
|
], 16));
|
|
91
157
|
}
|
|
92
|
-
}),
|
|
158
|
+
}), I = /* @__PURE__ */ d({
|
|
93
159
|
name: "BsDockManager",
|
|
94
160
|
__name: "BsDockManager.generated",
|
|
95
161
|
props: {
|
|
@@ -97,6 +163,14 @@ var O = /* @__PURE__ */ d({
|
|
|
97
163
|
type: null,
|
|
98
164
|
default: null
|
|
99
165
|
},
|
|
166
|
+
panes: {
|
|
167
|
+
type: null,
|
|
168
|
+
default: null
|
|
169
|
+
},
|
|
170
|
+
minPaneSize: {
|
|
171
|
+
type: Number,
|
|
172
|
+
default: 48
|
|
173
|
+
},
|
|
100
174
|
debugLayoutIntegrity: {
|
|
101
175
|
type: Boolean,
|
|
102
176
|
default: !1
|
|
@@ -106,12 +180,18 @@ var O = /* @__PURE__ */ d({
|
|
|
106
180
|
default: null
|
|
107
181
|
}
|
|
108
182
|
},
|
|
109
|
-
emits: [
|
|
183
|
+
emits: [
|
|
184
|
+
"paneActivated",
|
|
185
|
+
"panesClosed",
|
|
186
|
+
"update:layout"
|
|
187
|
+
],
|
|
110
188
|
setup(t, { expose: n, emit: r }) {
|
|
111
189
|
let i = t, o = r;
|
|
112
|
-
S("dock",
|
|
113
|
-
let s = b("template"), c = e(
|
|
190
|
+
S("dock", k);
|
|
191
|
+
let s = b("template"), c = e(D, () => ({
|
|
114
192
|
layout: i.layout,
|
|
193
|
+
panes: i.panes,
|
|
194
|
+
minPaneSize: i.minPaneSize,
|
|
115
195
|
debugLayoutIntegrity: i.debugLayoutIntegrity,
|
|
116
196
|
labels: i.labels
|
|
117
197
|
}), {
|
|
@@ -120,7 +200,7 @@ var O = /* @__PURE__ */ d({
|
|
|
120
200
|
emit: (e, t) => o(e, t),
|
|
121
201
|
models: ["layout"]
|
|
122
202
|
}), u = c.props;
|
|
123
|
-
return n({ captureLayout: (...e) => c.call("captureLayout", e) }), (e, t) => (h(), a(
|
|
203
|
+
return n({ captureLayout: (...e) => c.call("captureLayout", e) }), (e, t) => (h(), a(F, p({
|
|
124
204
|
ref_key: "template",
|
|
125
205
|
ref: s
|
|
126
206
|
}, y(u)), l({ _: 2 }, [e.$slots.pane ? {
|
|
@@ -131,4 +211,4 @@ var O = /* @__PURE__ */ d({
|
|
|
131
211
|
}
|
|
132
212
|
});
|
|
133
213
|
//#endregion
|
|
134
|
-
export {
|
|
214
|
+
export { I as BsDockManager, C as DOCK_LABELS, w as EMPTY_DOCK_LAYOUT, T as closeDockPane, E as closeDockPanes, O as dockOpenPanes, A as isDockPaneOpen, j as mergeDockLabels, M as openDockPane };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ComponentPublicInstance, PropType } from 'vue';
|
|
2
|
-
import { DockInputs, DockMethods, DockPaneActivatedEventDetail } from '@mintplayer/ui-core/dock';
|
|
2
|
+
import { DockInputs, DockMethods, DockPaneActivatedEventDetail, DockPanesClosedEventDetail } from '@mintplayer/ui-core/dock';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: {
|
|
6
6
|
pane?(_: {
|
|
7
7
|
pane: string;
|
|
8
|
+
kind: "document" | "tool" | "toolbar";
|
|
9
|
+
floating: boolean;
|
|
10
|
+
active: boolean;
|
|
11
|
+
orientation: "horizontal" | "vertical";
|
|
12
|
+
overflowing: boolean;
|
|
8
13
|
}): any;
|
|
9
14
|
};
|
|
10
15
|
refs: {
|
|
@@ -56,10 +61,20 @@ declare function __VLS_template(): {
|
|
|
56
61
|
$slots: Readonly<{
|
|
57
62
|
pane?: (args: {
|
|
58
63
|
pane: string;
|
|
64
|
+
kind: "document" | "tool" | "toolbar";
|
|
65
|
+
floating: boolean;
|
|
66
|
+
active: boolean;
|
|
67
|
+
orientation: "horizontal" | "vertical";
|
|
68
|
+
overflowing: boolean;
|
|
59
69
|
}) => unknown;
|
|
60
70
|
}> & {
|
|
61
71
|
pane?: (args: {
|
|
62
72
|
pane: string;
|
|
73
|
+
kind: "document" | "tool" | "toolbar";
|
|
74
|
+
floating: boolean;
|
|
75
|
+
active: boolean;
|
|
76
|
+
orientation: "horizontal" | "vertical";
|
|
77
|
+
overflowing: boolean;
|
|
63
78
|
}) => unknown;
|
|
64
79
|
};
|
|
65
80
|
}) | null;
|
|
@@ -72,6 +87,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
72
87
|
type: PropType<unknown extends DockInputs["layout"] ? any : DockInputs["layout"]>;
|
|
73
88
|
default: null;
|
|
74
89
|
};
|
|
90
|
+
panes: {
|
|
91
|
+
type: PropType<unknown extends DockInputs["panes"] ? any : DockInputs["panes"]>;
|
|
92
|
+
default: null;
|
|
93
|
+
};
|
|
94
|
+
minPaneSize: {
|
|
95
|
+
type: PropType<DockInputs["minPaneSize"]>;
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
75
98
|
debugLayoutIntegrity: {
|
|
76
99
|
type: PropType<DockInputs["debugLayoutIntegrity"]>;
|
|
77
100
|
default: boolean;
|
|
@@ -84,6 +107,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
84
107
|
/** A copy of the current layout snapshot. */
|
|
85
108
|
captureLayout: () => ReturnType<DockMethods["captureLayout"]>;
|
|
86
109
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
110
|
+
panesClosed: (detail: DockPanesClosedEventDetail) => any;
|
|
87
111
|
paneActivated: (detail: DockPaneActivatedEventDetail) => any;
|
|
88
112
|
"update:layout": (value: import('@mintplayer/ui-core/dock').DockLayoutInput) => any;
|
|
89
113
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -91,6 +115,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
91
115
|
type: PropType<unknown extends DockInputs["layout"] ? any : DockInputs["layout"]>;
|
|
92
116
|
default: null;
|
|
93
117
|
};
|
|
118
|
+
panes: {
|
|
119
|
+
type: PropType<unknown extends DockInputs["panes"] ? any : DockInputs["panes"]>;
|
|
120
|
+
default: null;
|
|
121
|
+
};
|
|
122
|
+
minPaneSize: {
|
|
123
|
+
type: PropType<DockInputs["minPaneSize"]>;
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
94
126
|
debugLayoutIntegrity: {
|
|
95
127
|
type: PropType<DockInputs["debugLayoutIntegrity"]>;
|
|
96
128
|
default: boolean;
|
|
@@ -100,11 +132,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
100
132
|
default: null;
|
|
101
133
|
};
|
|
102
134
|
}>> & Readonly<{
|
|
135
|
+
onPanesClosed?: ((detail: DockPanesClosedEventDetail) => any) | undefined;
|
|
103
136
|
onPaneActivated?: ((detail: DockPaneActivatedEventDetail) => any) | undefined;
|
|
104
137
|
"onUpdate:layout"?: ((value: import('@mintplayer/ui-core/dock').DockLayoutInput) => any) | undefined;
|
|
105
138
|
}>, {
|
|
106
139
|
labels: Partial<import('@mintplayer/ui-core/dock').DockLabels> | null;
|
|
107
140
|
layout: import('@mintplayer/ui-core/dock').DockLayoutInput;
|
|
141
|
+
panes: import('@mintplayer/ui-core/dock').DockPanesOptions | null;
|
|
142
|
+
minPaneSize: number;
|
|
108
143
|
debugLayoutIntegrity: boolean;
|
|
109
144
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
110
145
|
template: ({
|
|
@@ -155,10 +190,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
155
190
|
$slots: Readonly<{
|
|
156
191
|
pane?: (args: {
|
|
157
192
|
pane: string;
|
|
193
|
+
kind: "document" | "tool" | "toolbar";
|
|
194
|
+
floating: boolean;
|
|
195
|
+
active: boolean;
|
|
196
|
+
orientation: "horizontal" | "vertical";
|
|
197
|
+
overflowing: boolean;
|
|
158
198
|
}) => unknown;
|
|
159
199
|
}> & {
|
|
160
200
|
pane?: (args: {
|
|
161
201
|
pane: string;
|
|
202
|
+
kind: "document" | "tool" | "toolbar";
|
|
203
|
+
floating: boolean;
|
|
204
|
+
active: boolean;
|
|
205
|
+
orientation: "horizontal" | "vertical";
|
|
206
|
+
overflowing: boolean;
|
|
162
207
|
}) => unknown;
|
|
163
208
|
};
|
|
164
209
|
}) | null;
|
|
@@ -5,14 +5,32 @@ type __VLS_Props = {
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
attrs: Partial<{}>;
|
|
7
7
|
slots: Readonly<{
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* One pane's content, by the pane name the layout uses (#474 D18): its kind,
|
|
10
|
+
* whether it floats, whether it is shown, the orientation to lay it out in,
|
|
11
|
+
* and whether a toolbar is shrunk in a full row.
|
|
12
|
+
*/
|
|
9
13
|
pane?: (args: {
|
|
10
14
|
pane: string;
|
|
15
|
+
kind: "document" | "tool" | "toolbar";
|
|
16
|
+
floating: boolean;
|
|
17
|
+
active: boolean;
|
|
18
|
+
orientation: "horizontal" | "vertical";
|
|
19
|
+
overflowing: boolean;
|
|
11
20
|
}) => unknown;
|
|
12
21
|
}> & {
|
|
13
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* One pane's content, by the pane name the layout uses (#474 D18): its kind,
|
|
24
|
+
* whether it floats, whether it is shown, the orientation to lay it out in,
|
|
25
|
+
* and whether a toolbar is shrunk in a full row.
|
|
26
|
+
*/
|
|
14
27
|
pane?: (args: {
|
|
15
28
|
pane: string;
|
|
29
|
+
kind: "document" | "tool" | "toolbar";
|
|
30
|
+
floating: boolean;
|
|
31
|
+
active: boolean;
|
|
32
|
+
orientation: "horizontal" | "vertical";
|
|
33
|
+
overflowing: boolean;
|
|
16
34
|
}) => unknown;
|
|
17
35
|
};
|
|
18
36
|
refs: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DockTrayView } from '@mintplayer/ui-core/dock';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tray: DockTrayView;
|
|
4
|
+
};
|
|
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, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
package/dock/src/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './generated';
|
|
2
|
-
export { DOCK_LABELS, EMPTY_DOCK_LAYOUT, mergeDockLabels } from '@mintplayer/ui-core/dock';
|
|
3
|
-
export type { DockFloatingPaneBounds, DockFloatingStackLayout, DockLabels, DockLayout, DockLayoutInput, DockLayoutNode, DockLayoutSnapshot, DockPaneActivatedEventDetail, DockSplitNode, DockStackNode, } from '@mintplayer/ui-core/dock';
|
|
2
|
+
export { DOCK_LABELS, EMPTY_DOCK_LAYOUT, closeDockPane, closeDockPanes, dockOpenPanes, isDockPaneOpen, mergeDockLabels, openDockPane, } from '@mintplayer/ui-core/dock';
|
|
3
|
+
export type { DockClosedPane, DockFloatingPaneBounds, DockFloatingStackLayout, DockLabels, DockLayout, DockLayoutInput, DockLayoutNode, DockLayoutSnapshot, DockPaneActivatedEventDetail, DockPaneAnchor, DockPaneKind, DockPaneOptions, DockPanesClosedEventDetail, DockPanesOptions, DockSplitNode, DockStackNode, DockToolbarRow, DockToolbarTrays, DockTraySide, DockTraySlot, } from '@mintplayer/ui-core/dock';
|
package/file-manager/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCore as e } from "../machine/index.mjs";
|
|
2
2
|
import { t } from "../chunks/BsDatatable.generated-DnehCtC2.mjs";
|
|
3
|
-
import { n, t as r } from "../chunks/BsSplitterPanel.generated-
|
|
3
|
+
import { n, t as r } from "../chunks/BsSplitterPanel.generated-DffC6j_Z.mjs";
|
|
4
4
|
import { t as i } from "../chunks/BsTreeview.generated-sAPvo7JN.mjs";
|
|
5
5
|
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, openBlock as m, renderList as h, toDisplayString as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
|
|
6
6
|
import { installLightStyles as b } from "@mintplayer/ui-core/scoped-styles";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/vue-bootstrap",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.35.0",
|
|
4
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": {
|
|
@@ -308,13 +308,10 @@
|
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
310
|
"peerDependencies": {
|
|
311
|
-
"@mintplayer/ui-core": "^1.
|
|
311
|
+
"@mintplayer/ui-core": "^1.11.0",
|
|
312
312
|
"vue": "^3.5.0"
|
|
313
313
|
},
|
|
314
314
|
"dependencies": {
|
|
315
315
|
"tslib": "^2.3.0"
|
|
316
|
-
},
|
|
317
|
-
"publishConfig": {
|
|
318
|
-
"tag": "latest"
|
|
319
316
|
}
|
|
320
317
|
}
|
package/splitter/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as BsSplitter, t as BsSplitterPanel } from "../chunks/BsSplitterPanel.generated-
|
|
1
|
+
export { n as BsSplitter, t as BsSplitterPanel } from "../chunks/BsSplitterPanel.generated-DffC6j_Z.mjs";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from 'vue';
|
|
1
|
+
import { ComponentPublicInstance, PropType } from 'vue';
|
|
2
|
+
import { SplitterPanelInputs } from '@mintplayer/ui-core/splitter';
|
|
2
3
|
declare function __VLS_template(): {
|
|
3
4
|
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
@@ -60,7 +61,37 @@ declare function __VLS_template(): {
|
|
|
60
61
|
rootEl: any;
|
|
61
62
|
};
|
|
62
63
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
63
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
64
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
65
|
+
size: {
|
|
66
|
+
type: PropType<unknown extends SplitterPanelInputs["size"] ? any : SplitterPanelInputs["size"]>;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
69
|
+
minSize: {
|
|
70
|
+
type: PropType<SplitterPanelInputs["minSize"]>;
|
|
71
|
+
default: null;
|
|
72
|
+
};
|
|
73
|
+
maxSize: {
|
|
74
|
+
type: PropType<SplitterPanelInputs["maxSize"]>;
|
|
75
|
+
default: null;
|
|
76
|
+
};
|
|
77
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
78
|
+
size: {
|
|
79
|
+
type: PropType<unknown extends SplitterPanelInputs["size"] ? any : SplitterPanelInputs["size"]>;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
82
|
+
minSize: {
|
|
83
|
+
type: PropType<SplitterPanelInputs["minSize"]>;
|
|
84
|
+
default: null;
|
|
85
|
+
};
|
|
86
|
+
maxSize: {
|
|
87
|
+
type: PropType<SplitterPanelInputs["maxSize"]>;
|
|
88
|
+
default: null;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{}>, {
|
|
91
|
+
size: import('@mintplayer/ui-core/splitter').SplitterPanelSize;
|
|
92
|
+
minSize: number | null;
|
|
93
|
+
maxSize: number | null;
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
64
95
|
template: ({
|
|
65
96
|
$: import('vue').ComponentInternalInstance;
|
|
66
97
|
$data: {};
|