@mintplayer/vue-bootstrap 3.4.0 → 3.4.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/vue-bootstrap",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Vue 3.5 SFC adapters around @mintplayer/web-components. Each sub-entry maps one-to-one with a WC sub-entry and exposes typed Vue components with v-model support for input WCs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/scheduler/index.mjs
CHANGED
|
@@ -1,23 +1,36 @@
|
|
|
1
|
-
import { MpScheduler as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
const
|
|
1
|
+
import { MpScheduler as k } from "@mintplayer/web-components/scheduler";
|
|
2
|
+
import { defineComponent as a, useModel as v, ref as f, onMounted as p, watch as u, openBlock as d, createElementBlock as m, mergeProps as w, mergeModels as h } from "vue";
|
|
3
|
+
const B = /* @__PURE__ */ a({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "BsScheduler",
|
|
6
|
-
props: {
|
|
6
|
+
props: /* @__PURE__ */ h({
|
|
7
7
|
events: {},
|
|
8
8
|
resources: {}
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
}, {
|
|
10
|
+
view: {},
|
|
11
|
+
viewModifiers: {}
|
|
12
|
+
}),
|
|
13
|
+
emits: ["update:view"],
|
|
14
|
+
setup(c) {
|
|
15
|
+
const e = c, r = v(c, "view"), s = f(null), t = () => {
|
|
16
|
+
s.value && (e.events && (s.value.events = e.events), e.resources && (s.value.resources = e.resources));
|
|
17
|
+
}, l = () => {
|
|
18
|
+
s.value && r.value && (s.value.view = r.value);
|
|
13
19
|
};
|
|
14
|
-
|
|
20
|
+
p(() => {
|
|
21
|
+
t(), l();
|
|
22
|
+
}), u(() => e.events, t), u(() => e.resources, t), u(r, l);
|
|
23
|
+
function i(n) {
|
|
24
|
+
const o = n.detail;
|
|
25
|
+
o && (r.value = o.view);
|
|
26
|
+
}
|
|
27
|
+
return (n, o) => (d(), m("mp-scheduler", w({
|
|
15
28
|
ref_key: "el",
|
|
16
|
-
ref:
|
|
17
|
-
},
|
|
29
|
+
ref: s
|
|
30
|
+
}, n.$attrs, { onViewChange: i }), null, 16));
|
|
18
31
|
}
|
|
19
32
|
});
|
|
20
33
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
34
|
+
B as BsScheduler,
|
|
35
|
+
k as MpScheduler
|
|
23
36
|
};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { MpScheduler } from '@mintplayer/web-components/scheduler';
|
|
2
|
-
import { SchedulerEvent, Resource } from '@mintplayer/web-components/scheduler-core';
|
|
2
|
+
import { SchedulerEvent, Resource, ViewType } from '@mintplayer/web-components/scheduler-core';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
events?: SchedulerEvent[];
|
|
5
5
|
resources?: Resource[];
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
'view'?: ViewType;
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:view": (value: ViewType) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:view"?: ((value: ViewType) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
15
|
el: MpScheduler | null;
|
|
9
16
|
}, any>;
|
|
10
17
|
export default _default;
|