@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.svelte.mjs
CHANGED
|
@@ -10101,7 +10101,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10101
10101
|
let { player = null } = $$props;
|
|
10102
10102
|
let { theme = "light" } = $$props;
|
|
10103
10103
|
let { language = "en" } = $$props;
|
|
10104
|
-
let {
|
|
10104
|
+
let { containerRef = void 0 } = $$props;
|
|
10105
10105
|
let container;
|
|
10106
10106
|
function div0_binding($$value) {
|
|
10107
10107
|
binding_callbacks3[$$value ? "unshift" : "push"](() => {
|
|
@@ -10116,8 +10116,8 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10116
10116
|
$$invalidate(1, theme = $$props2.theme);
|
|
10117
10117
|
if ("language" in $$props2)
|
|
10118
10118
|
$$invalidate(2, language = $$props2.language);
|
|
10119
|
-
if ("
|
|
10120
|
-
$$invalidate(4,
|
|
10119
|
+
if ("containerRef" in $$props2)
|
|
10120
|
+
$$invalidate(4, containerRef = $$props2.containerRef);
|
|
10121
10121
|
};
|
|
10122
10122
|
$$self.$$.update = () => {
|
|
10123
10123
|
if ($$self.$$.dirty & 9) {
|
|
@@ -10127,16 +10127,21 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10127
10127
|
}
|
|
10128
10128
|
if ($$self.$$.dirty & 24) {
|
|
10129
10129
|
$:
|
|
10130
|
-
if (
|
|
10131
|
-
|
|
10130
|
+
if (containerRef)
|
|
10131
|
+
containerRef(container || null);
|
|
10132
10132
|
}
|
|
10133
10133
|
};
|
|
10134
|
-
return [player, theme, language, container,
|
|
10134
|
+
return [player, theme, language, container, containerRef, div0_binding];
|
|
10135
10135
|
}
|
|
10136
10136
|
var ReplayFastboard = class extends SvelteComponent57 {
|
|
10137
10137
|
constructor(options) {
|
|
10138
10138
|
super();
|
|
10139
|
-
init57(this, options, instance57, create_fragment57, safe_not_equal57, {
|
|
10139
|
+
init57(this, options, instance57, create_fragment57, safe_not_equal57, {
|
|
10140
|
+
player: 0,
|
|
10141
|
+
theme: 1,
|
|
10142
|
+
language: 2,
|
|
10143
|
+
containerRef: 4
|
|
10144
|
+
});
|
|
10140
10145
|
}
|
|
10141
10146
|
};
|
|
10142
10147
|
var ReplayFastboard_default = ReplayFastboard;
|
|
@@ -10316,7 +10321,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10316
10321
|
let { app = null } = $$props;
|
|
10317
10322
|
let { theme = "light" } = $$props;
|
|
10318
10323
|
let { language = "en" } = $$props;
|
|
10319
|
-
let {
|
|
10324
|
+
let { containerRef = void 0 } = $$props;
|
|
10320
10325
|
let container;
|
|
10321
10326
|
function div0_binding($$value) {
|
|
10322
10327
|
binding_callbacks4[$$value ? "unshift" : "push"](() => {
|
|
@@ -10331,8 +10336,8 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10331
10336
|
$$invalidate(1, theme = $$props2.theme);
|
|
10332
10337
|
if ("language" in $$props2)
|
|
10333
10338
|
$$invalidate(2, language = $$props2.language);
|
|
10334
|
-
if ("
|
|
10335
|
-
$$invalidate(4,
|
|
10339
|
+
if ("containerRef" in $$props2)
|
|
10340
|
+
$$invalidate(4, containerRef = $$props2.containerRef);
|
|
10336
10341
|
};
|
|
10337
10342
|
$$self.$$.update = () => {
|
|
10338
10343
|
if ($$self.$$.dirty & 9) {
|
|
@@ -10342,16 +10347,21 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10342
10347
|
}
|
|
10343
10348
|
if ($$self.$$.dirty & 24) {
|
|
10344
10349
|
$:
|
|
10345
|
-
if (
|
|
10346
|
-
|
|
10350
|
+
if (containerRef)
|
|
10351
|
+
containerRef(container || null);
|
|
10347
10352
|
}
|
|
10348
10353
|
};
|
|
10349
|
-
return [app, theme, language, container,
|
|
10354
|
+
return [app, theme, language, container, containerRef, div0_binding];
|
|
10350
10355
|
}
|
|
10351
10356
|
var Fastboard = class extends SvelteComponent58 {
|
|
10352
10357
|
constructor(options) {
|
|
10353
10358
|
super();
|
|
10354
|
-
init58(this, options, instance58, create_fragment58, safe_not_equal58, {
|
|
10359
|
+
init58(this, options, instance58, create_fragment58, safe_not_equal58, {
|
|
10360
|
+
app: 0,
|
|
10361
|
+
theme: 1,
|
|
10362
|
+
language: 2,
|
|
10363
|
+
containerRef: 4
|
|
10364
|
+
});
|
|
10355
10365
|
}
|
|
10356
10366
|
};
|
|
10357
10367
|
var Fastboard_default = Fastboard;
|