@netless/fastboard-ui 0.3.22-beta.0 → 0.3.22-beta.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/dist/index.js +116 -82
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +116 -82
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +116 -82
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Fastboard/Fastboard.svelte +23 -1
package/dist/index.js
CHANGED
|
@@ -14944,19 +14944,19 @@ function create_if_block_32(ctx) {
|
|
|
14944
14944
|
props: {
|
|
14945
14945
|
app: (
|
|
14946
14946
|
/*app*/
|
|
14947
|
-
ctx[
|
|
14947
|
+
ctx[1]
|
|
14948
14948
|
),
|
|
14949
14949
|
theme: (
|
|
14950
14950
|
/*theme*/
|
|
14951
|
-
ctx[
|
|
14951
|
+
ctx[2]
|
|
14952
14952
|
),
|
|
14953
14953
|
language: (
|
|
14954
14954
|
/*language*/
|
|
14955
|
-
ctx[
|
|
14955
|
+
ctx[3]
|
|
14956
14956
|
),
|
|
14957
14957
|
config: (
|
|
14958
14958
|
/*config*/
|
|
14959
|
-
ctx[
|
|
14959
|
+
ctx[0].toolbar || {}
|
|
14960
14960
|
)
|
|
14961
14961
|
}
|
|
14962
14962
|
});
|
|
@@ -14971,21 +14971,21 @@ function create_if_block_32(ctx) {
|
|
|
14971
14971
|
p(ctx2, dirty) {
|
|
14972
14972
|
const toolbar_changes = {};
|
|
14973
14973
|
if (dirty & /*app*/
|
|
14974
|
-
|
|
14974
|
+
2)
|
|
14975
14975
|
toolbar_changes.app = /*app*/
|
|
14976
|
-
ctx2[
|
|
14976
|
+
ctx2[1];
|
|
14977
14977
|
if (dirty & /*theme*/
|
|
14978
|
-
|
|
14978
|
+
4)
|
|
14979
14979
|
toolbar_changes.theme = /*theme*/
|
|
14980
|
-
ctx2[
|
|
14980
|
+
ctx2[2];
|
|
14981
14981
|
if (dirty & /*language*/
|
|
14982
|
-
|
|
14982
|
+
8)
|
|
14983
14983
|
toolbar_changes.language = /*language*/
|
|
14984
|
-
ctx2[
|
|
14984
|
+
ctx2[3];
|
|
14985
14985
|
if (dirty & /*config*/
|
|
14986
|
-
|
|
14986
|
+
1)
|
|
14987
14987
|
toolbar_changes.config = /*config*/
|
|
14988
|
-
ctx2[
|
|
14988
|
+
ctx2[0].toolbar || {};
|
|
14989
14989
|
toolbar.$set(toolbar_changes);
|
|
14990
14990
|
},
|
|
14991
14991
|
i(local) {
|
|
@@ -15010,15 +15010,15 @@ function create_if_block_23(ctx) {
|
|
|
15010
15010
|
props: {
|
|
15011
15011
|
app: (
|
|
15012
15012
|
/*app*/
|
|
15013
|
-
ctx[
|
|
15013
|
+
ctx[1]
|
|
15014
15014
|
),
|
|
15015
15015
|
theme: (
|
|
15016
15016
|
/*theme*/
|
|
15017
|
-
ctx[
|
|
15017
|
+
ctx[2]
|
|
15018
15018
|
),
|
|
15019
15019
|
language: (
|
|
15020
15020
|
/*language*/
|
|
15021
|
-
ctx[
|
|
15021
|
+
ctx[3]
|
|
15022
15022
|
)
|
|
15023
15023
|
}
|
|
15024
15024
|
});
|
|
@@ -15033,17 +15033,17 @@ function create_if_block_23(ctx) {
|
|
|
15033
15033
|
p(ctx2, dirty) {
|
|
15034
15034
|
const redoundo_changes = {};
|
|
15035
15035
|
if (dirty & /*app*/
|
|
15036
|
-
|
|
15036
|
+
2)
|
|
15037
15037
|
redoundo_changes.app = /*app*/
|
|
15038
|
-
ctx2[
|
|
15038
|
+
ctx2[1];
|
|
15039
15039
|
if (dirty & /*theme*/
|
|
15040
|
-
|
|
15040
|
+
4)
|
|
15041
15041
|
redoundo_changes.theme = /*theme*/
|
|
15042
|
-
ctx2[
|
|
15042
|
+
ctx2[2];
|
|
15043
15043
|
if (dirty & /*language*/
|
|
15044
|
-
|
|
15044
|
+
8)
|
|
15045
15045
|
redoundo_changes.language = /*language*/
|
|
15046
|
-
ctx2[
|
|
15046
|
+
ctx2[3];
|
|
15047
15047
|
redoundo.$set(redoundo_changes);
|
|
15048
15048
|
},
|
|
15049
15049
|
i(local) {
|
|
@@ -15068,15 +15068,15 @@ function create_if_block_14(ctx) {
|
|
|
15068
15068
|
props: {
|
|
15069
15069
|
app: (
|
|
15070
15070
|
/*app*/
|
|
15071
|
-
ctx[
|
|
15071
|
+
ctx[1]
|
|
15072
15072
|
),
|
|
15073
15073
|
theme: (
|
|
15074
15074
|
/*theme*/
|
|
15075
|
-
ctx[
|
|
15075
|
+
ctx[2]
|
|
15076
15076
|
),
|
|
15077
15077
|
language: (
|
|
15078
15078
|
/*language*/
|
|
15079
|
-
ctx[
|
|
15079
|
+
ctx[3]
|
|
15080
15080
|
)
|
|
15081
15081
|
}
|
|
15082
15082
|
});
|
|
@@ -15091,17 +15091,17 @@ function create_if_block_14(ctx) {
|
|
|
15091
15091
|
p(ctx2, dirty) {
|
|
15092
15092
|
const zoomcontrol_changes = {};
|
|
15093
15093
|
if (dirty & /*app*/
|
|
15094
|
-
|
|
15094
|
+
2)
|
|
15095
15095
|
zoomcontrol_changes.app = /*app*/
|
|
15096
|
-
ctx2[
|
|
15096
|
+
ctx2[1];
|
|
15097
15097
|
if (dirty & /*theme*/
|
|
15098
|
-
|
|
15098
|
+
4)
|
|
15099
15099
|
zoomcontrol_changes.theme = /*theme*/
|
|
15100
|
-
ctx2[
|
|
15100
|
+
ctx2[2];
|
|
15101
15101
|
if (dirty & /*language*/
|
|
15102
|
-
|
|
15102
|
+
8)
|
|
15103
15103
|
zoomcontrol_changes.language = /*language*/
|
|
15104
|
-
ctx2[
|
|
15104
|
+
ctx2[3];
|
|
15105
15105
|
zoomcontrol.$set(zoomcontrol_changes);
|
|
15106
15106
|
},
|
|
15107
15107
|
i(local) {
|
|
@@ -15126,15 +15126,15 @@ function create_if_block18(ctx) {
|
|
|
15126
15126
|
props: {
|
|
15127
15127
|
app: (
|
|
15128
15128
|
/*app*/
|
|
15129
|
-
ctx[
|
|
15129
|
+
ctx[1]
|
|
15130
15130
|
),
|
|
15131
15131
|
theme: (
|
|
15132
15132
|
/*theme*/
|
|
15133
|
-
ctx[
|
|
15133
|
+
ctx[2]
|
|
15134
15134
|
),
|
|
15135
15135
|
language: (
|
|
15136
15136
|
/*language*/
|
|
15137
|
-
ctx[
|
|
15137
|
+
ctx[3]
|
|
15138
15138
|
)
|
|
15139
15139
|
}
|
|
15140
15140
|
});
|
|
@@ -15149,17 +15149,17 @@ function create_if_block18(ctx) {
|
|
|
15149
15149
|
p(ctx2, dirty) {
|
|
15150
15150
|
const pagecontrol_changes = {};
|
|
15151
15151
|
if (dirty & /*app*/
|
|
15152
|
-
|
|
15152
|
+
2)
|
|
15153
15153
|
pagecontrol_changes.app = /*app*/
|
|
15154
|
-
ctx2[
|
|
15154
|
+
ctx2[1];
|
|
15155
15155
|
if (dirty & /*theme*/
|
|
15156
|
-
|
|
15156
|
+
4)
|
|
15157
15157
|
pagecontrol_changes.theme = /*theme*/
|
|
15158
|
-
ctx2[
|
|
15158
|
+
ctx2[2];
|
|
15159
15159
|
if (dirty & /*language*/
|
|
15160
|
-
|
|
15160
|
+
8)
|
|
15161
15161
|
pagecontrol_changes.language = /*language*/
|
|
15162
|
-
ctx2[
|
|
15162
|
+
ctx2[3];
|
|
15163
15163
|
pagecontrol.$set(pagecontrol_changes);
|
|
15164
15164
|
},
|
|
15165
15165
|
i(local) {
|
|
@@ -15194,19 +15194,19 @@ function create_fragment71(ctx) {
|
|
|
15194
15194
|
let dispose;
|
|
15195
15195
|
let if_block0 = (
|
|
15196
15196
|
/*config*/
|
|
15197
|
-
((_a = ctx[
|
|
15197
|
+
((_a = ctx[0].toolbar) == null ? void 0 : _a.enable) !== false && create_if_block_32(ctx)
|
|
15198
15198
|
);
|
|
15199
15199
|
let if_block1 = (
|
|
15200
15200
|
/*config*/
|
|
15201
|
-
((_b = ctx[
|
|
15201
|
+
((_b = ctx[0].redo_undo) == null ? void 0 : _b.enable) !== false && create_if_block_23(ctx)
|
|
15202
15202
|
);
|
|
15203
15203
|
let if_block2 = (
|
|
15204
15204
|
/*config*/
|
|
15205
|
-
((_c = ctx[
|
|
15205
|
+
((_c = ctx[0].zoom_control) == null ? void 0 : _c.enable) !== false && create_if_block_14(ctx)
|
|
15206
15206
|
);
|
|
15207
15207
|
let if_block3 = (
|
|
15208
15208
|
/*config*/
|
|
15209
|
-
((_d = ctx[
|
|
15209
|
+
((_d = ctx[0].page_control) == null ? void 0 : _d.enable) !== false && create_if_block18(ctx)
|
|
15210
15210
|
);
|
|
15211
15211
|
return {
|
|
15212
15212
|
c() {
|
|
@@ -15230,7 +15230,7 @@ function create_fragment71(ctx) {
|
|
|
15230
15230
|
if_block3.c();
|
|
15231
15231
|
attr(div0, "class", name9 + "-view");
|
|
15232
15232
|
attr(div1, "class", div1_class_value = name9 + "-" + /*config*/
|
|
15233
|
-
(((_a2 = ctx[
|
|
15233
|
+
(((_a2 = ctx[0].toolbar) == null ? void 0 : _a2.placement) || "left"));
|
|
15234
15234
|
toggle_class(div1, "hidden", !/*toolbar_has_items*/
|
|
15235
15235
|
ctx[6] || !/*layout*/
|
|
15236
15236
|
(ctx[5] === "visible" || /*layout*/
|
|
@@ -15251,12 +15251,12 @@ function create_fragment71(ctx) {
|
|
|
15251
15251
|
);
|
|
15252
15252
|
attr(div4, "class", name9 + "-root");
|
|
15253
15253
|
toggle_class(div4, "loading", !/*app*/
|
|
15254
|
-
ctx[
|
|
15254
|
+
ctx[1]);
|
|
15255
15255
|
},
|
|
15256
15256
|
m(target, anchor) {
|
|
15257
15257
|
insert(target, div4, anchor);
|
|
15258
15258
|
append(div4, div0);
|
|
15259
|
-
ctx[
|
|
15259
|
+
ctx[19](div0);
|
|
15260
15260
|
append(div4, t0);
|
|
15261
15261
|
append(div4, div1);
|
|
15262
15262
|
if (if_block0)
|
|
@@ -15288,12 +15288,12 @@ function create_fragment71(ctx) {
|
|
|
15288
15288
|
var _a2, _b2, _c2, _d2, _e;
|
|
15289
15289
|
if (
|
|
15290
15290
|
/*config*/
|
|
15291
|
-
((_a2 = ctx2[
|
|
15291
|
+
((_a2 = ctx2[0].toolbar) == null ? void 0 : _a2.enable) !== false
|
|
15292
15292
|
) {
|
|
15293
15293
|
if (if_block0) {
|
|
15294
15294
|
if_block0.p(ctx2, dirty);
|
|
15295
15295
|
if (dirty & /*config*/
|
|
15296
|
-
|
|
15296
|
+
1) {
|
|
15297
15297
|
transition_in(if_block0, 1);
|
|
15298
15298
|
}
|
|
15299
15299
|
} else {
|
|
@@ -15310,12 +15310,12 @@ function create_fragment71(ctx) {
|
|
|
15310
15310
|
check_outros();
|
|
15311
15311
|
}
|
|
15312
15312
|
if (!current || dirty & /*config*/
|
|
15313
|
-
|
|
15314
|
-
(((_b2 = ctx2[
|
|
15313
|
+
1 && div1_class_value !== (div1_class_value = name9 + "-" + /*config*/
|
|
15314
|
+
(((_b2 = ctx2[0].toolbar) == null ? void 0 : _b2.placement) || "left"))) {
|
|
15315
15315
|
attr(div1, "class", div1_class_value);
|
|
15316
15316
|
}
|
|
15317
15317
|
if (!current || dirty & /*config, toolbar_has_items, layout*/
|
|
15318
|
-
|
|
15318
|
+
97) {
|
|
15319
15319
|
toggle_class(div1, "hidden", !/*toolbar_has_items*/
|
|
15320
15320
|
ctx2[6] || !/*layout*/
|
|
15321
15321
|
(ctx2[5] === "visible" || /*layout*/
|
|
@@ -15323,12 +15323,12 @@ function create_fragment71(ctx) {
|
|
|
15323
15323
|
}
|
|
15324
15324
|
if (
|
|
15325
15325
|
/*config*/
|
|
15326
|
-
((_c2 = ctx2[
|
|
15326
|
+
((_c2 = ctx2[0].redo_undo) == null ? void 0 : _c2.enable) !== false
|
|
15327
15327
|
) {
|
|
15328
15328
|
if (if_block1) {
|
|
15329
15329
|
if_block1.p(ctx2, dirty);
|
|
15330
15330
|
if (dirty & /*config*/
|
|
15331
|
-
|
|
15331
|
+
1) {
|
|
15332
15332
|
transition_in(if_block1, 1);
|
|
15333
15333
|
}
|
|
15334
15334
|
} else {
|
|
@@ -15346,12 +15346,12 @@ function create_fragment71(ctx) {
|
|
|
15346
15346
|
}
|
|
15347
15347
|
if (
|
|
15348
15348
|
/*config*/
|
|
15349
|
-
((_d2 = ctx2[
|
|
15349
|
+
((_d2 = ctx2[0].zoom_control) == null ? void 0 : _d2.enable) !== false
|
|
15350
15350
|
) {
|
|
15351
15351
|
if (if_block2) {
|
|
15352
15352
|
if_block2.p(ctx2, dirty);
|
|
15353
15353
|
if (dirty & /*config*/
|
|
15354
|
-
|
|
15354
|
+
1) {
|
|
15355
15355
|
transition_in(if_block2, 1);
|
|
15356
15356
|
}
|
|
15357
15357
|
} else {
|
|
@@ -15378,12 +15378,12 @@ function create_fragment71(ctx) {
|
|
|
15378
15378
|
}
|
|
15379
15379
|
if (
|
|
15380
15380
|
/*config*/
|
|
15381
|
-
((_e = ctx2[
|
|
15381
|
+
((_e = ctx2[0].page_control) == null ? void 0 : _e.enable) !== false
|
|
15382
15382
|
) {
|
|
15383
15383
|
if (if_block3) {
|
|
15384
15384
|
if_block3.p(ctx2, dirty);
|
|
15385
15385
|
if (dirty & /*config*/
|
|
15386
|
-
|
|
15386
|
+
1) {
|
|
15387
15387
|
transition_in(if_block3, 1);
|
|
15388
15388
|
}
|
|
15389
15389
|
} else {
|
|
@@ -15409,9 +15409,9 @@ function create_fragment71(ctx) {
|
|
|
15409
15409
|
);
|
|
15410
15410
|
}
|
|
15411
15411
|
if (!current || dirty & /*app*/
|
|
15412
|
-
|
|
15412
|
+
2) {
|
|
15413
15413
|
toggle_class(div4, "loading", !/*app*/
|
|
15414
|
-
ctx2[
|
|
15414
|
+
ctx2[1]);
|
|
15415
15415
|
}
|
|
15416
15416
|
},
|
|
15417
15417
|
i(local) {
|
|
@@ -15433,7 +15433,7 @@ function create_fragment71(ctx) {
|
|
|
15433
15433
|
d(detaching) {
|
|
15434
15434
|
if (detaching)
|
|
15435
15435
|
detach(div4);
|
|
15436
|
-
ctx[
|
|
15436
|
+
ctx[19](null);
|
|
15437
15437
|
if (if_block0)
|
|
15438
15438
|
if_block0.d();
|
|
15439
15439
|
if (if_block1)
|
|
@@ -15449,13 +15449,15 @@ function create_fragment71(ctx) {
|
|
|
15449
15449
|
}
|
|
15450
15450
|
var name9 = "fastboard";
|
|
15451
15451
|
function instance71($$self, $$props, $$invalidate) {
|
|
15452
|
+
let manager;
|
|
15453
|
+
let room;
|
|
15452
15454
|
let writable2;
|
|
15453
15455
|
let boxState;
|
|
15454
15456
|
let focusedApp;
|
|
15455
15457
|
let toolbar_has_items;
|
|
15456
|
-
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(
|
|
15457
|
-
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(
|
|
15458
|
-
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(
|
|
15458
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(16, $focusedApp = $$value)), focusedApp);
|
|
15459
|
+
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(17, $boxState = $$value)), boxState);
|
|
15460
|
+
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(18, $writable = $$value)), writable2);
|
|
15459
15461
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
15460
15462
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
15461
15463
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -15464,6 +15466,7 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
15464
15466
|
let { language = "en" } = $$props;
|
|
15465
15467
|
let { containerRef = void 0 } = $$props;
|
|
15466
15468
|
let { config = {} } = $$props;
|
|
15469
|
+
let { colors: colors2 = void 0 } = $$props;
|
|
15467
15470
|
const AppsShowToolbar = ["DocsViewer", "Slide"];
|
|
15468
15471
|
let container;
|
|
15469
15472
|
let layout = "hidden";
|
|
@@ -15490,31 +15493,58 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
15490
15493
|
}
|
|
15491
15494
|
$$self.$$set = ($$props2) => {
|
|
15492
15495
|
if ("app" in $$props2)
|
|
15493
|
-
$$invalidate(
|
|
15496
|
+
$$invalidate(1, app = $$props2.app);
|
|
15494
15497
|
if ("theme" in $$props2)
|
|
15495
|
-
$$invalidate(
|
|
15498
|
+
$$invalidate(2, theme = $$props2.theme);
|
|
15496
15499
|
if ("language" in $$props2)
|
|
15497
|
-
$$invalidate(
|
|
15500
|
+
$$invalidate(3, language = $$props2.language);
|
|
15498
15501
|
if ("containerRef" in $$props2)
|
|
15499
|
-
$$invalidate(
|
|
15502
|
+
$$invalidate(12, containerRef = $$props2.containerRef);
|
|
15500
15503
|
if ("config" in $$props2)
|
|
15501
|
-
$$invalidate(
|
|
15504
|
+
$$invalidate(0, config = $$props2.config);
|
|
15505
|
+
if ("colors" in $$props2)
|
|
15506
|
+
$$invalidate(11, colors2 = $$props2.colors);
|
|
15502
15507
|
};
|
|
15503
15508
|
$$self.$$.update = () => {
|
|
15504
15509
|
if ($$self.$$.dirty & /*app*/
|
|
15505
|
-
|
|
15510
|
+
2) {
|
|
15511
|
+
$$invalidate(15, manager = app == null ? void 0 : app.manager);
|
|
15512
|
+
}
|
|
15513
|
+
if ($$self.$$.dirty & /*app*/
|
|
15514
|
+
2) {
|
|
15515
|
+
$$invalidate(14, room = app == null ? void 0 : app.manager.room);
|
|
15516
|
+
}
|
|
15517
|
+
if ($$self.$$.dirty & /*manager, room, config, colors*/
|
|
15518
|
+
51201) {
|
|
15519
|
+
if (manager && room) {
|
|
15520
|
+
const floatBarOptions = room.floatBarOptions;
|
|
15521
|
+
if (floatBarOptions.colors) {
|
|
15522
|
+
$$invalidate(11, colors2 = floatBarOptions.colors);
|
|
15523
|
+
}
|
|
15524
|
+
if (config == null ? void 0 : config.toolbar) {
|
|
15525
|
+
const _colors = config.toolbar.colors;
|
|
15526
|
+
if (!_colors && colors2) {
|
|
15527
|
+
$$invalidate(0, config = __spreadProps(__spreadValues({}, config), {
|
|
15528
|
+
toolbar: __spreadProps(__spreadValues({}, config.toolbar), { colors: colors2 })
|
|
15529
|
+
}));
|
|
15530
|
+
}
|
|
15531
|
+
}
|
|
15532
|
+
}
|
|
15533
|
+
}
|
|
15534
|
+
if ($$self.$$.dirty & /*app*/
|
|
15535
|
+
2) {
|
|
15506
15536
|
$$subscribe_writable($$invalidate(9, writable2 = app == null ? void 0 : app.writable));
|
|
15507
15537
|
}
|
|
15508
15538
|
if ($$self.$$.dirty & /*app*/
|
|
15509
|
-
|
|
15539
|
+
2) {
|
|
15510
15540
|
$$subscribe_boxState($$invalidate(8, boxState = app == null ? void 0 : app.boxState));
|
|
15511
15541
|
}
|
|
15512
15542
|
if ($$self.$$.dirty & /*app*/
|
|
15513
|
-
|
|
15543
|
+
2) {
|
|
15514
15544
|
$$subscribe_focusedApp($$invalidate(7, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
15515
15545
|
}
|
|
15516
15546
|
if ($$self.$$.dirty & /*$writable, $boxState, $focusedApp*/
|
|
15517
|
-
|
|
15547
|
+
458752) {
|
|
15518
15548
|
if (!$writable) {
|
|
15519
15549
|
$$invalidate(5, layout = "hidden");
|
|
15520
15550
|
} else if ($boxState === "maximized") {
|
|
@@ -15528,15 +15558,15 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
15528
15558
|
}
|
|
15529
15559
|
}
|
|
15530
15560
|
if ($$self.$$.dirty & /*config*/
|
|
15531
|
-
|
|
15561
|
+
1) {
|
|
15532
15562
|
$$invalidate(6, toolbar_has_items = !config.toolbar || !config.toolbar.items || !config.toolbar.apps || config.toolbar.items.length > 0 || config.toolbar.apps.enable !== false);
|
|
15533
15563
|
}
|
|
15534
15564
|
if ($$self.$$.dirty & /*app, container*/
|
|
15535
|
-
|
|
15565
|
+
18) {
|
|
15536
15566
|
try {
|
|
15537
15567
|
if (app && container) {
|
|
15538
15568
|
app.bindContainer(container);
|
|
15539
|
-
$$invalidate(
|
|
15569
|
+
$$invalidate(13, mounted = true);
|
|
15540
15570
|
}
|
|
15541
15571
|
} catch (err) {
|
|
15542
15572
|
console.error("[fastboard] An error occurred while binding container");
|
|
@@ -15544,17 +15574,17 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
15544
15574
|
}
|
|
15545
15575
|
}
|
|
15546
15576
|
if ($$self.$$.dirty & /*app, theme, mounted*/
|
|
15547
|
-
|
|
15577
|
+
8198) {
|
|
15548
15578
|
if (app && theme && mounted) {
|
|
15549
15579
|
app.manager.setPrefersColorScheme(theme);
|
|
15550
15580
|
}
|
|
15551
15581
|
}
|
|
15552
15582
|
};
|
|
15553
15583
|
return [
|
|
15584
|
+
config,
|
|
15554
15585
|
app,
|
|
15555
15586
|
theme,
|
|
15556
15587
|
language,
|
|
15557
|
-
config,
|
|
15558
15588
|
container,
|
|
15559
15589
|
layout,
|
|
15560
15590
|
toolbar_has_items,
|
|
@@ -15562,8 +15592,11 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
15562
15592
|
boxState,
|
|
15563
15593
|
writable2,
|
|
15564
15594
|
focus_me,
|
|
15595
|
+
colors2,
|
|
15565
15596
|
containerRef,
|
|
15566
15597
|
mounted,
|
|
15598
|
+
room,
|
|
15599
|
+
manager,
|
|
15567
15600
|
$focusedApp,
|
|
15568
15601
|
$boxState,
|
|
15569
15602
|
$writable,
|
|
@@ -15574,11 +15607,12 @@ var Fastboard = class extends SvelteComponent {
|
|
|
15574
15607
|
constructor(options) {
|
|
15575
15608
|
super();
|
|
15576
15609
|
init(this, options, instance71, create_fragment71, not_equal, {
|
|
15577
|
-
app:
|
|
15578
|
-
theme:
|
|
15579
|
-
language:
|
|
15580
|
-
containerRef:
|
|
15581
|
-
config:
|
|
15610
|
+
app: 1,
|
|
15611
|
+
theme: 2,
|
|
15612
|
+
language: 3,
|
|
15613
|
+
containerRef: 12,
|
|
15614
|
+
config: 0,
|
|
15615
|
+
colors: 11
|
|
15582
15616
|
});
|
|
15583
15617
|
}
|
|
15584
15618
|
};
|