@netless/fastboard-ui 0.3.0-canary.2 → 0.3.0-canary.3
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/dist/index.d.ts +2 -2
- package/dist/index.js +24 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -14
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +24 -14
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Fastboard/Fastboard.svelte +2 -2
- package/src/components/Fastboard/Fastboard.svelte.ts +1 -1
- package/src/components/Fastboard/ReplayFastboard.svelte +2 -2
- package/src/components/Fastboard/ReplayFastboard.svelte.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9865,7 +9865,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9865
9865
|
let { player = null } = $$props;
|
|
9866
9866
|
let { theme = "light" } = $$props;
|
|
9867
9867
|
let { language = "en" } = $$props;
|
|
9868
|
-
let {
|
|
9868
|
+
let { containerRef = void 0 } = $$props;
|
|
9869
9869
|
let container;
|
|
9870
9870
|
function div0_binding($$value) {
|
|
9871
9871
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
@@ -9880,8 +9880,8 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9880
9880
|
$$invalidate(1, theme = $$props2.theme);
|
|
9881
9881
|
if ("language" in $$props2)
|
|
9882
9882
|
$$invalidate(2, language = $$props2.language);
|
|
9883
|
-
if ("
|
|
9884
|
-
$$invalidate(4,
|
|
9883
|
+
if ("containerRef" in $$props2)
|
|
9884
|
+
$$invalidate(4, containerRef = $$props2.containerRef);
|
|
9885
9885
|
};
|
|
9886
9886
|
$$self.$$.update = () => {
|
|
9887
9887
|
if ($$self.$$.dirty & 9) {
|
|
@@ -9891,16 +9891,21 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9891
9891
|
}
|
|
9892
9892
|
if ($$self.$$.dirty & 24) {
|
|
9893
9893
|
$:
|
|
9894
|
-
if (
|
|
9895
|
-
|
|
9894
|
+
if (containerRef)
|
|
9895
|
+
containerRef(container || null);
|
|
9896
9896
|
}
|
|
9897
9897
|
};
|
|
9898
|
-
return [player, theme, language, container,
|
|
9898
|
+
return [player, theme, language, container, containerRef, div0_binding];
|
|
9899
9899
|
}
|
|
9900
9900
|
var ReplayFastboard = class extends SvelteComponent {
|
|
9901
9901
|
constructor(options) {
|
|
9902
9902
|
super();
|
|
9903
|
-
init(this, options, instance57, create_fragment57, safe_not_equal, {
|
|
9903
|
+
init(this, options, instance57, create_fragment57, safe_not_equal, {
|
|
9904
|
+
player: 0,
|
|
9905
|
+
theme: 1,
|
|
9906
|
+
language: 2,
|
|
9907
|
+
containerRef: 4
|
|
9908
|
+
});
|
|
9904
9909
|
}
|
|
9905
9910
|
};
|
|
9906
9911
|
var ReplayFastboard_default = ReplayFastboard;
|
|
@@ -10062,7 +10067,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10062
10067
|
let { app = null } = $$props;
|
|
10063
10068
|
let { theme = "light" } = $$props;
|
|
10064
10069
|
let { language = "en" } = $$props;
|
|
10065
|
-
let {
|
|
10070
|
+
let { containerRef = void 0 } = $$props;
|
|
10066
10071
|
let container;
|
|
10067
10072
|
function div0_binding($$value) {
|
|
10068
10073
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
@@ -10077,8 +10082,8 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10077
10082
|
$$invalidate(1, theme = $$props2.theme);
|
|
10078
10083
|
if ("language" in $$props2)
|
|
10079
10084
|
$$invalidate(2, language = $$props2.language);
|
|
10080
|
-
if ("
|
|
10081
|
-
$$invalidate(4,
|
|
10085
|
+
if ("containerRef" in $$props2)
|
|
10086
|
+
$$invalidate(4, containerRef = $$props2.containerRef);
|
|
10082
10087
|
};
|
|
10083
10088
|
$$self.$$.update = () => {
|
|
10084
10089
|
if ($$self.$$.dirty & 9) {
|
|
@@ -10088,16 +10093,21 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10088
10093
|
}
|
|
10089
10094
|
if ($$self.$$.dirty & 24) {
|
|
10090
10095
|
$:
|
|
10091
|
-
if (
|
|
10092
|
-
|
|
10096
|
+
if (containerRef)
|
|
10097
|
+
containerRef(container || null);
|
|
10093
10098
|
}
|
|
10094
10099
|
};
|
|
10095
|
-
return [app, theme, language, container,
|
|
10100
|
+
return [app, theme, language, container, containerRef, div0_binding];
|
|
10096
10101
|
}
|
|
10097
10102
|
var Fastboard = class extends SvelteComponent {
|
|
10098
10103
|
constructor(options) {
|
|
10099
10104
|
super();
|
|
10100
|
-
init(this, options, instance58, create_fragment58, safe_not_equal, {
|
|
10105
|
+
init(this, options, instance58, create_fragment58, safe_not_equal, {
|
|
10106
|
+
app: 0,
|
|
10107
|
+
theme: 1,
|
|
10108
|
+
language: 2,
|
|
10109
|
+
containerRef: 4
|
|
10110
|
+
});
|
|
10101
10111
|
}
|
|
10102
10112
|
};
|
|
10103
10113
|
var Fastboard_default = Fastboard;
|