@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.svelte.mjs
CHANGED
|
@@ -14198,19 +14198,19 @@ function create_if_block_32(ctx) {
|
|
|
14198
14198
|
props: {
|
|
14199
14199
|
app: (
|
|
14200
14200
|
/*app*/
|
|
14201
|
-
ctx[
|
|
14201
|
+
ctx[1]
|
|
14202
14202
|
),
|
|
14203
14203
|
theme: (
|
|
14204
14204
|
/*theme*/
|
|
14205
|
-
ctx[
|
|
14205
|
+
ctx[2]
|
|
14206
14206
|
),
|
|
14207
14207
|
language: (
|
|
14208
14208
|
/*language*/
|
|
14209
|
-
ctx[
|
|
14209
|
+
ctx[3]
|
|
14210
14210
|
),
|
|
14211
14211
|
config: (
|
|
14212
14212
|
/*config*/
|
|
14213
|
-
ctx[
|
|
14213
|
+
ctx[0].toolbar || {}
|
|
14214
14214
|
)
|
|
14215
14215
|
}
|
|
14216
14216
|
});
|
|
@@ -14225,21 +14225,21 @@ function create_if_block_32(ctx) {
|
|
|
14225
14225
|
p(ctx2, dirty) {
|
|
14226
14226
|
const toolbar_changes = {};
|
|
14227
14227
|
if (dirty & /*app*/
|
|
14228
|
-
|
|
14228
|
+
2)
|
|
14229
14229
|
toolbar_changes.app = /*app*/
|
|
14230
|
-
ctx2[
|
|
14230
|
+
ctx2[1];
|
|
14231
14231
|
if (dirty & /*theme*/
|
|
14232
|
-
|
|
14232
|
+
4)
|
|
14233
14233
|
toolbar_changes.theme = /*theme*/
|
|
14234
|
-
ctx2[
|
|
14234
|
+
ctx2[2];
|
|
14235
14235
|
if (dirty & /*language*/
|
|
14236
|
-
|
|
14236
|
+
8)
|
|
14237
14237
|
toolbar_changes.language = /*language*/
|
|
14238
|
-
ctx2[
|
|
14238
|
+
ctx2[3];
|
|
14239
14239
|
if (dirty & /*config*/
|
|
14240
|
-
|
|
14240
|
+
1)
|
|
14241
14241
|
toolbar_changes.config = /*config*/
|
|
14242
|
-
ctx2[
|
|
14242
|
+
ctx2[0].toolbar || {};
|
|
14243
14243
|
toolbar.$set(toolbar_changes);
|
|
14244
14244
|
},
|
|
14245
14245
|
i(local) {
|
|
@@ -14264,15 +14264,15 @@ function create_if_block_23(ctx) {
|
|
|
14264
14264
|
props: {
|
|
14265
14265
|
app: (
|
|
14266
14266
|
/*app*/
|
|
14267
|
-
ctx[
|
|
14267
|
+
ctx[1]
|
|
14268
14268
|
),
|
|
14269
14269
|
theme: (
|
|
14270
14270
|
/*theme*/
|
|
14271
|
-
ctx[
|
|
14271
|
+
ctx[2]
|
|
14272
14272
|
),
|
|
14273
14273
|
language: (
|
|
14274
14274
|
/*language*/
|
|
14275
|
-
ctx[
|
|
14275
|
+
ctx[3]
|
|
14276
14276
|
)
|
|
14277
14277
|
}
|
|
14278
14278
|
});
|
|
@@ -14287,17 +14287,17 @@ function create_if_block_23(ctx) {
|
|
|
14287
14287
|
p(ctx2, dirty) {
|
|
14288
14288
|
const redoundo_changes = {};
|
|
14289
14289
|
if (dirty & /*app*/
|
|
14290
|
-
|
|
14290
|
+
2)
|
|
14291
14291
|
redoundo_changes.app = /*app*/
|
|
14292
|
-
ctx2[
|
|
14292
|
+
ctx2[1];
|
|
14293
14293
|
if (dirty & /*theme*/
|
|
14294
|
-
|
|
14294
|
+
4)
|
|
14295
14295
|
redoundo_changes.theme = /*theme*/
|
|
14296
|
-
ctx2[
|
|
14296
|
+
ctx2[2];
|
|
14297
14297
|
if (dirty & /*language*/
|
|
14298
|
-
|
|
14298
|
+
8)
|
|
14299
14299
|
redoundo_changes.language = /*language*/
|
|
14300
|
-
ctx2[
|
|
14300
|
+
ctx2[3];
|
|
14301
14301
|
redoundo.$set(redoundo_changes);
|
|
14302
14302
|
},
|
|
14303
14303
|
i(local) {
|
|
@@ -14322,15 +14322,15 @@ function create_if_block_14(ctx) {
|
|
|
14322
14322
|
props: {
|
|
14323
14323
|
app: (
|
|
14324
14324
|
/*app*/
|
|
14325
|
-
ctx[
|
|
14325
|
+
ctx[1]
|
|
14326
14326
|
),
|
|
14327
14327
|
theme: (
|
|
14328
14328
|
/*theme*/
|
|
14329
|
-
ctx[
|
|
14329
|
+
ctx[2]
|
|
14330
14330
|
),
|
|
14331
14331
|
language: (
|
|
14332
14332
|
/*language*/
|
|
14333
|
-
ctx[
|
|
14333
|
+
ctx[3]
|
|
14334
14334
|
)
|
|
14335
14335
|
}
|
|
14336
14336
|
});
|
|
@@ -14345,17 +14345,17 @@ function create_if_block_14(ctx) {
|
|
|
14345
14345
|
p(ctx2, dirty) {
|
|
14346
14346
|
const zoomcontrol_changes = {};
|
|
14347
14347
|
if (dirty & /*app*/
|
|
14348
|
-
|
|
14348
|
+
2)
|
|
14349
14349
|
zoomcontrol_changes.app = /*app*/
|
|
14350
|
-
ctx2[
|
|
14350
|
+
ctx2[1];
|
|
14351
14351
|
if (dirty & /*theme*/
|
|
14352
|
-
|
|
14352
|
+
4)
|
|
14353
14353
|
zoomcontrol_changes.theme = /*theme*/
|
|
14354
|
-
ctx2[
|
|
14354
|
+
ctx2[2];
|
|
14355
14355
|
if (dirty & /*language*/
|
|
14356
|
-
|
|
14356
|
+
8)
|
|
14357
14357
|
zoomcontrol_changes.language = /*language*/
|
|
14358
|
-
ctx2[
|
|
14358
|
+
ctx2[3];
|
|
14359
14359
|
zoomcontrol.$set(zoomcontrol_changes);
|
|
14360
14360
|
},
|
|
14361
14361
|
i(local) {
|
|
@@ -14380,15 +14380,15 @@ function create_if_block18(ctx) {
|
|
|
14380
14380
|
props: {
|
|
14381
14381
|
app: (
|
|
14382
14382
|
/*app*/
|
|
14383
|
-
ctx[
|
|
14383
|
+
ctx[1]
|
|
14384
14384
|
),
|
|
14385
14385
|
theme: (
|
|
14386
14386
|
/*theme*/
|
|
14387
|
-
ctx[
|
|
14387
|
+
ctx[2]
|
|
14388
14388
|
),
|
|
14389
14389
|
language: (
|
|
14390
14390
|
/*language*/
|
|
14391
|
-
ctx[
|
|
14391
|
+
ctx[3]
|
|
14392
14392
|
)
|
|
14393
14393
|
}
|
|
14394
14394
|
});
|
|
@@ -14403,17 +14403,17 @@ function create_if_block18(ctx) {
|
|
|
14403
14403
|
p(ctx2, dirty) {
|
|
14404
14404
|
const pagecontrol_changes = {};
|
|
14405
14405
|
if (dirty & /*app*/
|
|
14406
|
-
|
|
14406
|
+
2)
|
|
14407
14407
|
pagecontrol_changes.app = /*app*/
|
|
14408
|
-
ctx2[
|
|
14408
|
+
ctx2[1];
|
|
14409
14409
|
if (dirty & /*theme*/
|
|
14410
|
-
|
|
14410
|
+
4)
|
|
14411
14411
|
pagecontrol_changes.theme = /*theme*/
|
|
14412
|
-
ctx2[
|
|
14412
|
+
ctx2[2];
|
|
14413
14413
|
if (dirty & /*language*/
|
|
14414
|
-
|
|
14414
|
+
8)
|
|
14415
14415
|
pagecontrol_changes.language = /*language*/
|
|
14416
|
-
ctx2[
|
|
14416
|
+
ctx2[3];
|
|
14417
14417
|
pagecontrol.$set(pagecontrol_changes);
|
|
14418
14418
|
},
|
|
14419
14419
|
i(local) {
|
|
@@ -14448,19 +14448,19 @@ function create_fragment71(ctx) {
|
|
|
14448
14448
|
let dispose;
|
|
14449
14449
|
let if_block0 = (
|
|
14450
14450
|
/*config*/
|
|
14451
|
-
((_a = ctx[
|
|
14451
|
+
((_a = ctx[0].toolbar) == null ? void 0 : _a.enable) !== false && create_if_block_32(ctx)
|
|
14452
14452
|
);
|
|
14453
14453
|
let if_block1 = (
|
|
14454
14454
|
/*config*/
|
|
14455
|
-
((_b = ctx[
|
|
14455
|
+
((_b = ctx[0].redo_undo) == null ? void 0 : _b.enable) !== false && create_if_block_23(ctx)
|
|
14456
14456
|
);
|
|
14457
14457
|
let if_block2 = (
|
|
14458
14458
|
/*config*/
|
|
14459
|
-
((_c = ctx[
|
|
14459
|
+
((_c = ctx[0].zoom_control) == null ? void 0 : _c.enable) !== false && create_if_block_14(ctx)
|
|
14460
14460
|
);
|
|
14461
14461
|
let if_block3 = (
|
|
14462
14462
|
/*config*/
|
|
14463
|
-
((_d = ctx[
|
|
14463
|
+
((_d = ctx[0].page_control) == null ? void 0 : _d.enable) !== false && create_if_block18(ctx)
|
|
14464
14464
|
);
|
|
14465
14465
|
return {
|
|
14466
14466
|
c() {
|
|
@@ -14484,7 +14484,7 @@ function create_fragment71(ctx) {
|
|
|
14484
14484
|
if_block3.c();
|
|
14485
14485
|
attr(div0, "class", name9 + "-view");
|
|
14486
14486
|
attr(div1, "class", div1_class_value = name9 + "-" + /*config*/
|
|
14487
|
-
(((_a2 = ctx[
|
|
14487
|
+
(((_a2 = ctx[0].toolbar) == null ? void 0 : _a2.placement) || "left"));
|
|
14488
14488
|
toggle_class(div1, "hidden", !/*toolbar_has_items*/
|
|
14489
14489
|
ctx[6] || !/*layout*/
|
|
14490
14490
|
(ctx[5] === "visible" || /*layout*/
|
|
@@ -14505,12 +14505,12 @@ function create_fragment71(ctx) {
|
|
|
14505
14505
|
);
|
|
14506
14506
|
attr(div4, "class", name9 + "-root");
|
|
14507
14507
|
toggle_class(div4, "loading", !/*app*/
|
|
14508
|
-
ctx[
|
|
14508
|
+
ctx[1]);
|
|
14509
14509
|
},
|
|
14510
14510
|
m(target, anchor) {
|
|
14511
14511
|
insert(target, div4, anchor);
|
|
14512
14512
|
append(div4, div0);
|
|
14513
|
-
ctx[
|
|
14513
|
+
ctx[19](div0);
|
|
14514
14514
|
append(div4, t0);
|
|
14515
14515
|
append(div4, div1);
|
|
14516
14516
|
if (if_block0)
|
|
@@ -14542,12 +14542,12 @@ function create_fragment71(ctx) {
|
|
|
14542
14542
|
var _a2, _b2, _c2, _d2, _e;
|
|
14543
14543
|
if (
|
|
14544
14544
|
/*config*/
|
|
14545
|
-
((_a2 = ctx2[
|
|
14545
|
+
((_a2 = ctx2[0].toolbar) == null ? void 0 : _a2.enable) !== false
|
|
14546
14546
|
) {
|
|
14547
14547
|
if (if_block0) {
|
|
14548
14548
|
if_block0.p(ctx2, dirty);
|
|
14549
14549
|
if (dirty & /*config*/
|
|
14550
|
-
|
|
14550
|
+
1) {
|
|
14551
14551
|
transition_in(if_block0, 1);
|
|
14552
14552
|
}
|
|
14553
14553
|
} else {
|
|
@@ -14564,12 +14564,12 @@ function create_fragment71(ctx) {
|
|
|
14564
14564
|
check_outros();
|
|
14565
14565
|
}
|
|
14566
14566
|
if (!current || dirty & /*config*/
|
|
14567
|
-
|
|
14568
|
-
(((_b2 = ctx2[
|
|
14567
|
+
1 && div1_class_value !== (div1_class_value = name9 + "-" + /*config*/
|
|
14568
|
+
(((_b2 = ctx2[0].toolbar) == null ? void 0 : _b2.placement) || "left"))) {
|
|
14569
14569
|
attr(div1, "class", div1_class_value);
|
|
14570
14570
|
}
|
|
14571
14571
|
if (!current || dirty & /*config, toolbar_has_items, layout*/
|
|
14572
|
-
|
|
14572
|
+
97) {
|
|
14573
14573
|
toggle_class(div1, "hidden", !/*toolbar_has_items*/
|
|
14574
14574
|
ctx2[6] || !/*layout*/
|
|
14575
14575
|
(ctx2[5] === "visible" || /*layout*/
|
|
@@ -14577,12 +14577,12 @@ function create_fragment71(ctx) {
|
|
|
14577
14577
|
}
|
|
14578
14578
|
if (
|
|
14579
14579
|
/*config*/
|
|
14580
|
-
((_c2 = ctx2[
|
|
14580
|
+
((_c2 = ctx2[0].redo_undo) == null ? void 0 : _c2.enable) !== false
|
|
14581
14581
|
) {
|
|
14582
14582
|
if (if_block1) {
|
|
14583
14583
|
if_block1.p(ctx2, dirty);
|
|
14584
14584
|
if (dirty & /*config*/
|
|
14585
|
-
|
|
14585
|
+
1) {
|
|
14586
14586
|
transition_in(if_block1, 1);
|
|
14587
14587
|
}
|
|
14588
14588
|
} else {
|
|
@@ -14600,12 +14600,12 @@ function create_fragment71(ctx) {
|
|
|
14600
14600
|
}
|
|
14601
14601
|
if (
|
|
14602
14602
|
/*config*/
|
|
14603
|
-
((_d2 = ctx2[
|
|
14603
|
+
((_d2 = ctx2[0].zoom_control) == null ? void 0 : _d2.enable) !== false
|
|
14604
14604
|
) {
|
|
14605
14605
|
if (if_block2) {
|
|
14606
14606
|
if_block2.p(ctx2, dirty);
|
|
14607
14607
|
if (dirty & /*config*/
|
|
14608
|
-
|
|
14608
|
+
1) {
|
|
14609
14609
|
transition_in(if_block2, 1);
|
|
14610
14610
|
}
|
|
14611
14611
|
} else {
|
|
@@ -14632,12 +14632,12 @@ function create_fragment71(ctx) {
|
|
|
14632
14632
|
}
|
|
14633
14633
|
if (
|
|
14634
14634
|
/*config*/
|
|
14635
|
-
((_e = ctx2[
|
|
14635
|
+
((_e = ctx2[0].page_control) == null ? void 0 : _e.enable) !== false
|
|
14636
14636
|
) {
|
|
14637
14637
|
if (if_block3) {
|
|
14638
14638
|
if_block3.p(ctx2, dirty);
|
|
14639
14639
|
if (dirty & /*config*/
|
|
14640
|
-
|
|
14640
|
+
1) {
|
|
14641
14641
|
transition_in(if_block3, 1);
|
|
14642
14642
|
}
|
|
14643
14643
|
} else {
|
|
@@ -14663,9 +14663,9 @@ function create_fragment71(ctx) {
|
|
|
14663
14663
|
);
|
|
14664
14664
|
}
|
|
14665
14665
|
if (!current || dirty & /*app*/
|
|
14666
|
-
|
|
14666
|
+
2) {
|
|
14667
14667
|
toggle_class(div4, "loading", !/*app*/
|
|
14668
|
-
ctx2[
|
|
14668
|
+
ctx2[1]);
|
|
14669
14669
|
}
|
|
14670
14670
|
},
|
|
14671
14671
|
i(local) {
|
|
@@ -14687,7 +14687,7 @@ function create_fragment71(ctx) {
|
|
|
14687
14687
|
d(detaching) {
|
|
14688
14688
|
if (detaching)
|
|
14689
14689
|
detach(div4);
|
|
14690
|
-
ctx[
|
|
14690
|
+
ctx[19](null);
|
|
14691
14691
|
if (if_block0)
|
|
14692
14692
|
if_block0.d();
|
|
14693
14693
|
if (if_block1)
|
|
@@ -14703,13 +14703,15 @@ function create_fragment71(ctx) {
|
|
|
14703
14703
|
}
|
|
14704
14704
|
var name9 = "fastboard";
|
|
14705
14705
|
function instance71($$self, $$props, $$invalidate) {
|
|
14706
|
+
let manager;
|
|
14707
|
+
let room;
|
|
14706
14708
|
let writable2;
|
|
14707
14709
|
let boxState;
|
|
14708
14710
|
let focusedApp;
|
|
14709
14711
|
let toolbar_has_items;
|
|
14710
|
-
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(
|
|
14711
|
-
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(
|
|
14712
|
-
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(
|
|
14712
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(16, $focusedApp = $$value)), focusedApp);
|
|
14713
|
+
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(17, $boxState = $$value)), boxState);
|
|
14714
|
+
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(18, $writable = $$value)), writable2);
|
|
14713
14715
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
14714
14716
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
14715
14717
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -14718,6 +14720,7 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
14718
14720
|
let { language = "en" } = $$props;
|
|
14719
14721
|
let { containerRef = void 0 } = $$props;
|
|
14720
14722
|
let { config = {} } = $$props;
|
|
14723
|
+
let { colors: colors2 = void 0 } = $$props;
|
|
14721
14724
|
const AppsShowToolbar = ["DocsViewer", "Slide"];
|
|
14722
14725
|
let container;
|
|
14723
14726
|
let layout = "hidden";
|
|
@@ -14744,31 +14747,58 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
14744
14747
|
}
|
|
14745
14748
|
$$self.$$set = ($$props2) => {
|
|
14746
14749
|
if ("app" in $$props2)
|
|
14747
|
-
$$invalidate(
|
|
14750
|
+
$$invalidate(1, app = $$props2.app);
|
|
14748
14751
|
if ("theme" in $$props2)
|
|
14749
|
-
$$invalidate(
|
|
14752
|
+
$$invalidate(2, theme = $$props2.theme);
|
|
14750
14753
|
if ("language" in $$props2)
|
|
14751
|
-
$$invalidate(
|
|
14754
|
+
$$invalidate(3, language = $$props2.language);
|
|
14752
14755
|
if ("containerRef" in $$props2)
|
|
14753
|
-
$$invalidate(
|
|
14756
|
+
$$invalidate(12, containerRef = $$props2.containerRef);
|
|
14754
14757
|
if ("config" in $$props2)
|
|
14755
|
-
$$invalidate(
|
|
14758
|
+
$$invalidate(0, config = $$props2.config);
|
|
14759
|
+
if ("colors" in $$props2)
|
|
14760
|
+
$$invalidate(11, colors2 = $$props2.colors);
|
|
14756
14761
|
};
|
|
14757
14762
|
$$self.$$.update = () => {
|
|
14758
14763
|
if ($$self.$$.dirty & /*app*/
|
|
14759
|
-
|
|
14764
|
+
2) {
|
|
14765
|
+
$$invalidate(15, manager = app == null ? void 0 : app.manager);
|
|
14766
|
+
}
|
|
14767
|
+
if ($$self.$$.dirty & /*app*/
|
|
14768
|
+
2) {
|
|
14769
|
+
$$invalidate(14, room = app == null ? void 0 : app.manager.room);
|
|
14770
|
+
}
|
|
14771
|
+
if ($$self.$$.dirty & /*manager, room, config, colors*/
|
|
14772
|
+
51201) {
|
|
14773
|
+
if (manager && room) {
|
|
14774
|
+
const floatBarOptions = room.floatBarOptions;
|
|
14775
|
+
if (floatBarOptions.colors) {
|
|
14776
|
+
$$invalidate(11, colors2 = floatBarOptions.colors);
|
|
14777
|
+
}
|
|
14778
|
+
if (config == null ? void 0 : config.toolbar) {
|
|
14779
|
+
const _colors = config.toolbar.colors;
|
|
14780
|
+
if (!_colors && colors2) {
|
|
14781
|
+
$$invalidate(0, config = __spreadProps(__spreadValues({}, config), {
|
|
14782
|
+
toolbar: __spreadProps(__spreadValues({}, config.toolbar), { colors: colors2 })
|
|
14783
|
+
}));
|
|
14784
|
+
}
|
|
14785
|
+
}
|
|
14786
|
+
}
|
|
14787
|
+
}
|
|
14788
|
+
if ($$self.$$.dirty & /*app*/
|
|
14789
|
+
2) {
|
|
14760
14790
|
$$subscribe_writable($$invalidate(9, writable2 = app == null ? void 0 : app.writable));
|
|
14761
14791
|
}
|
|
14762
14792
|
if ($$self.$$.dirty & /*app*/
|
|
14763
|
-
|
|
14793
|
+
2) {
|
|
14764
14794
|
$$subscribe_boxState($$invalidate(8, boxState = app == null ? void 0 : app.boxState));
|
|
14765
14795
|
}
|
|
14766
14796
|
if ($$self.$$.dirty & /*app*/
|
|
14767
|
-
|
|
14797
|
+
2) {
|
|
14768
14798
|
$$subscribe_focusedApp($$invalidate(7, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
14769
14799
|
}
|
|
14770
14800
|
if ($$self.$$.dirty & /*$writable, $boxState, $focusedApp*/
|
|
14771
|
-
|
|
14801
|
+
458752) {
|
|
14772
14802
|
if (!$writable) {
|
|
14773
14803
|
$$invalidate(5, layout = "hidden");
|
|
14774
14804
|
} else if ($boxState === "maximized") {
|
|
@@ -14782,15 +14812,15 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
14782
14812
|
}
|
|
14783
14813
|
}
|
|
14784
14814
|
if ($$self.$$.dirty & /*config*/
|
|
14785
|
-
|
|
14815
|
+
1) {
|
|
14786
14816
|
$$invalidate(6, toolbar_has_items = !config.toolbar || !config.toolbar.items || !config.toolbar.apps || config.toolbar.items.length > 0 || config.toolbar.apps.enable !== false);
|
|
14787
14817
|
}
|
|
14788
14818
|
if ($$self.$$.dirty & /*app, container*/
|
|
14789
|
-
|
|
14819
|
+
18) {
|
|
14790
14820
|
try {
|
|
14791
14821
|
if (app && container) {
|
|
14792
14822
|
app.bindContainer(container);
|
|
14793
|
-
$$invalidate(
|
|
14823
|
+
$$invalidate(13, mounted = true);
|
|
14794
14824
|
}
|
|
14795
14825
|
} catch (err) {
|
|
14796
14826
|
console.error("[fastboard] An error occurred while binding container");
|
|
@@ -14798,17 +14828,17 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
14798
14828
|
}
|
|
14799
14829
|
}
|
|
14800
14830
|
if ($$self.$$.dirty & /*app, theme, mounted*/
|
|
14801
|
-
|
|
14831
|
+
8198) {
|
|
14802
14832
|
if (app && theme && mounted) {
|
|
14803
14833
|
app.manager.setPrefersColorScheme(theme);
|
|
14804
14834
|
}
|
|
14805
14835
|
}
|
|
14806
14836
|
};
|
|
14807
14837
|
return [
|
|
14838
|
+
config,
|
|
14808
14839
|
app,
|
|
14809
14840
|
theme,
|
|
14810
14841
|
language,
|
|
14811
|
-
config,
|
|
14812
14842
|
container,
|
|
14813
14843
|
layout,
|
|
14814
14844
|
toolbar_has_items,
|
|
@@ -14816,8 +14846,11 @@ function instance71($$self, $$props, $$invalidate) {
|
|
|
14816
14846
|
boxState,
|
|
14817
14847
|
writable2,
|
|
14818
14848
|
focus_me,
|
|
14849
|
+
colors2,
|
|
14819
14850
|
containerRef,
|
|
14820
14851
|
mounted,
|
|
14852
|
+
room,
|
|
14853
|
+
manager,
|
|
14821
14854
|
$focusedApp,
|
|
14822
14855
|
$boxState,
|
|
14823
14856
|
$writable,
|
|
@@ -14828,11 +14861,12 @@ var Fastboard = class extends SvelteComponent {
|
|
|
14828
14861
|
constructor(options) {
|
|
14829
14862
|
super();
|
|
14830
14863
|
init(this, options, instance71, create_fragment71, not_equal, {
|
|
14831
|
-
app:
|
|
14832
|
-
theme:
|
|
14833
|
-
language:
|
|
14834
|
-
containerRef:
|
|
14835
|
-
config:
|
|
14864
|
+
app: 1,
|
|
14865
|
+
theme: 2,
|
|
14866
|
+
language: 3,
|
|
14867
|
+
containerRef: 12,
|
|
14868
|
+
config: 0,
|
|
14869
|
+
colors: 11
|
|
14836
14870
|
});
|
|
14837
14871
|
}
|
|
14838
14872
|
};
|